0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00

Fix the handling of the \313 code.

\313 indicates a fixed 64-bit address size.  It was incorrectly
documented and incorrectly implemented in the assembler, and was
unimplemented in the disassembler.
This commit is contained in:
H. Peter Anvin
2007-05-30 22:21:11 +00:00
parent 021993cf64
commit ce2b397f1e
2 changed files with 7 additions and 3 deletions

View File

@@ -505,6 +505,11 @@ static int matches(struct itemplate *t, uint8_t *data, int asize,
return FALSE;
else
a_used = TRUE;
} else if (c == 0313) {
if (asize != 64)
return FALSE;
else
a_used = TRUE;
} else if (c == 0320) {
if (osize != 16)
return FALSE;