blob: ada9be176d4982bf629df0753c3c386a2c473e28 [file] [log] [blame]
[bits 16]
push 0 ; 6A 00 - equivalent to push byte 0
push byte 0 ; 6A 00
push word 0 ; 6A 00 - optimized
push dword 0 ; 66 6A 00 - optimized
push strict byte 0 ; 6A 00
push strict word 0 ; 68 0000
push strict dword 0 ; 66 68 00000000
push 128 ; 68 8000 - doesn't fit in byte, equivalent to push word 128
push byte 128 ; 6A 80 - warning (signed overflow)
push word 128 ; 68 8000
push dword 128 ; 66 68 80000000
push strict byte 128 ; 6A 80 - warning (signed overflow)
push strict word 128 ; 68 8000
push strict dword 128 ; 66 68 80000000
[bits 32]
push 0 ; 6A 00 - equivalent to push byte 0
push byte 0 ; 6A 00
push word 0 ; 66 6A 00 - optimized
push dword 0 ; 6A 00 - optimized
push strict byte 0 ; 6A 00
push strict word 0 ; 66 68 0000
push strict dword 0 ; 68 00000000
push 128 ; 68 80000000 - doesn't fit in byte -> push dword 128
push byte 128 ; 6A 80 - warning (signed overflow)
push word 128 ; 66 6A 8000
push dword 128 ; 6A 80000000
push strict byte 128 ; 6A 80 - warning (signed overflow)
push strict word 128 ; 66 6A 8000
push strict dword 128 ; 6A 80000000
[bits 64]
push 0 ; same as bits 32 output
push byte 0 ; 6A 00; 64 bits pushed onto stack
push word 0 ; 66 6A 00 - 66h prefix, optimized to byte
push dword 0 ; 6A 00 - optimized to byte; note 64 bits pushed onto stack
push strict byte 0 ; 6A 00; 64 bits pushed onto stack
push strict word 0 ; 66 68 0000
push strict dword 0 ; 68 00000000; note 64 bits pushed onto stack
push 128
push byte 128 ; warning
push word 128
push dword 128
push strict byte 128 ; warning
push strict word 128
push strict dword 128