0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

optimization.asm: more sbyte tests

A few more sbyte optimization tests.
This commit is contained in:
H. Peter Anvin
2009-02-26 16:37:55 -08:00
parent e8ab891a65
commit ae2597b116

View File

@@ -88,5 +88,17 @@ add ecx,onetwentynine ; not sbyte (backward)
onetwentyseven equ 127
onetwentyeight equ 128
; Simple
add eax, holug2-holug1
holug1:
times 127 nop
holug2:
; Must start short
ialog1:
add eax, ialog2-ialog1
times 127 - 3 nop
ialog2:
; Do not confuse forward references and segmentless addresses!
jmp 12345