6bc1738bfd
8086 asm is a lot terser than z80... Those indirect memory operations are very handy.
11 lines
216 B
Plaintext
11 lines
216 B
Plaintext
CODE >R
|
|
BP INCx, BP INCx, [BP] 0 POP[w]+,
|
|
;CODE NOP, NOP, NOP,
|
|
CODE R>
|
|
[BP] 0 PUSH[w]+, BP DECx, BP DECx,
|
|
;CODE
|
|
CODE 2R>
|
|
[BP] -2 PUSH[w]+, [BP] 0 PUSH[w]+, BP 4 SUBxi,
|
|
;CODE
|
|
CODE I [BP] 0 PUSH[w]+, ;CODE
|