Home | History | Annotate | Download | only in tests
      1 [bits 16]
      2 push 0		; 6A 00 - equivalent to push byte 0
      3 push byte 0	; 6A 00
      4 push word 0	; 6A 00 - optimized
      5 push dword 0	; 66 6A 00 - optimized
      6 push strict byte 0	; 6A 00
      7 push strict word 0	; 68 0000
      8 push strict dword 0	; 66 68 00000000
      9 push 128	; 68 8000 - doesn't fit in byte, equivalent to push word 128
     10 push byte 128	; 6A 80 - warning (signed overflow)
     11 push word 128	; 68 8000
     12 push dword 128	; 66 68 80000000
     13 push strict byte 128	; 6A 80 - warning (signed overflow)
     14 push strict word 128	; 68 8000
     15 push strict dword 128	; 66 68 80000000
     16 
     17 [bits 32]
     18 push 0		; 6A 00 - equivalent to push byte 0
     19 push byte 0	; 6A 00
     20 push word 0	; 66 6A 00 - optimized
     21 push dword 0	; 6A 00 - optimized
     22 push strict byte 0	; 6A 00
     23 push strict word 0	; 66 68 0000
     24 push strict dword 0	; 68 00000000
     25 push 128	; 68 80000000 - doesn't fit in byte -> push dword 128
     26 push byte 128	; 6A 80 - warning (signed overflow)
     27 push word 128	; 66 6A 8000
     28 push dword 128	; 6A 80000000
     29 push strict byte 128	; 6A 80 - warning (signed overflow)
     30 push strict word 128	; 66 6A 8000
     31 push strict dword 128	; 6A 80000000
     32 
     33 [bits 64]
     34 push 0		; same as bits 32 output
     35 push byte 0	; 6A 00; 64 bits pushed onto stack
     36 push word 0	; 66 6A 00 - 66h prefix, optimized to byte
     37 push dword 0	; 6A 00 - optimized to byte; note 64 bits pushed onto stack
     38 push strict byte 0	; 6A 00; 64 bits pushed onto stack
     39 push strict word 0	; 66 68 0000
     40 push strict dword 0	; 68 00000000; note 64 bits pushed onto stack
     41 push 128
     42 push byte 128	; warning
     43 push word 128
     44 push dword 128
     45 push strict byte 128	; warning
     46 push strict word 128
     47 push strict dword 128
     48