ndisasm: simple compare for conditional opcodes, no loop
commit0ab96a17d59fa59cc23f05c989a5e0d569d7f328
authorH. Peter Anvin <hpa@zytor.com>
Wed, 21 May 2008 00:07:57 +0000 (20 17:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 21 May 2008 00:07:57 +0000 (20 17:07 -0700)
tree8802c9d5614d82c3fb7c0dc60173f9155c921e94
parentf99359c03ac96c1feb27e6e84cf8872892c8ca16
ndisasm: simple compare for conditional opcodes, no loop

We had a completely unnecessary loop to test for conditional opcodes.
Since we always put the conditional opcodes at the end, we might as
well just remember where that list starts and compare against it.
disasm.c
insns.pl