summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-12 11:13:41 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-12 11:13:41 -0700
commitaaa088fbf3627052683abd8afdf20141b6b560e2 (patch)
tree7608cb40abd19f5e443fa7acdd2cd985887fc6aa /disasm.c
parent3720f7beaeaefeb1e6bbf1bb8416ef78d4abe6e6 (diff)
downloadnasm-aaa088fbf3627052683abd8afdf20141b6b560e2.tar.gz
Remove special hacks to avoid zero bytecodes
We can now have zero bytecodes with impunity, so remove any special hacks we had to avoid zeroes in the bytecode.
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/disasm.c b/disasm.c
index 36eaf3ac..6afc88e3 100644
--- a/disasm.c
+++ b/disasm.c
@@ -638,11 +638,6 @@ static int matches(const struct itemplate *t, uint8_t *data,
ins->drexdst = c & 3;
break;
- case 0170:
- if (*data++)
- return false;
- break;
-
case 0171:
data = do_drex(data, ins);
if (!data)