863a42d3 ^
b8cfbdc8 ^
2b51cba6 ^
013d9526 ^
a49bc413 ^
de21899c ^
ed0e64a9 ^
1
2
3
4 5 6
7 8 9
10
11
12 13 14 15
16
17
## first program: same as https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html # Just return 42. # # To run (from the subx directory): # $ subx translate examples/ex1.2.subx -o examples/ex1 # $ subx run examples/ex1 # Expected result: # $ echo $? # 42 == code bb/copy-to-EBX 2a/imm32 # exit(EBX) b8/copy-to-EAX 1/imm32 cd/syscall 0x80/imm8 # vim:nowrap:textwidth=0