8086asm: first steps

This commit is contained in:
Virgil Dupras 2020-06-12 10:49:27 -04:00
parent 1871c46614
commit 405444d630
7 changed files with 28 additions and 1 deletions

View File

@ -9,7 +9,7 @@ MASTER INDEX
490 TRS-80 Recipe 520 Fonts
550 TI-84+ Recipe 580 RC2014 Recipe
620 Sega Master System Recipe
650 AVR assembler
650 AVR assembler 730 8086 assembler

16
blk/730 Normal file
View File

@ -0,0 +1,16 @@
8086 assembler
Work in progress. Load with "750 LOAD".
Test code at B731

2
blk/731 Normal file
View File

@ -0,0 +1,2 @@
AH 0x42 MOVri,
8 H@ 2 - DUMP

1
blk/750 Normal file
View File

@ -0,0 +1 @@
1 3 LOADR+

5
blk/751 Normal file
View File

@ -0,0 +1,5 @@
VARIABLE ORG
: AL 0 ; : CL 1 ; : DL 2 ; : BL 3 ;
: AH 4 ; : CH 5 ; : DH 6 ; : BH 7 ;
: AX 8 ; : CX 9 ; : DX 10 ; : BX 11 ;
: SP 12 ; : BP 13 ; : SI 14 ; : DI 15 ;

2
blk/752 Normal file
View File

@ -0,0 +1,2 @@
: PC H@ ORG @ - ;
: A, C, ;

1
blk/753 Normal file
View File

@ -0,0 +1 @@
: MOVri, SWAP 0xb0 OR A, A, ;