From 405444d630c1ad97288c11bccda07527a9a1cfb1 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 12 Jun 2020 10:49:27 -0400 Subject: [PATCH] 8086asm: first steps --- blk/001 | 2 +- blk/730 | 16 ++++++++++++++++ blk/731 | 2 ++ blk/750 | 1 + blk/751 | 5 +++++ blk/752 | 2 ++ blk/753 | 1 + 7 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 blk/730 create mode 100644 blk/731 create mode 100644 blk/750 create mode 100644 blk/751 create mode 100644 blk/752 create mode 100644 blk/753 diff --git a/blk/001 b/blk/001 index 76590ba..3fef1e6 100644 --- a/blk/001 +++ b/blk/001 @@ -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 diff --git a/blk/730 b/blk/730 new file mode 100644 index 0000000..efa9c2b --- /dev/null +++ b/blk/730 @@ -0,0 +1,16 @@ +8086 assembler + +Work in progress. Load with "750 LOAD". + +Test code at B731 + + + + + + + + + + + diff --git a/blk/731 b/blk/731 new file mode 100644 index 0000000..ae1b9e7 --- /dev/null +++ b/blk/731 @@ -0,0 +1,2 @@ +AH 0x42 MOVri, +8 H@ 2 - DUMP diff --git a/blk/750 b/blk/750 new file mode 100644 index 0000000..2a492bf --- /dev/null +++ b/blk/750 @@ -0,0 +1 @@ +1 3 LOADR+ diff --git a/blk/751 b/blk/751 new file mode 100644 index 0000000..398e07d --- /dev/null +++ b/blk/751 @@ -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 ; diff --git a/blk/752 b/blk/752 new file mode 100644 index 0000000..9632cf1 --- /dev/null +++ b/blk/752 @@ -0,0 +1,2 @@ +: PC H@ ORG @ - ; +: A, C, ; diff --git a/blk/753 b/blk/753 new file mode 100644 index 0000000..d13ca69 --- /dev/null +++ b/blk/753 @@ -0,0 +1 @@ +: MOVri, SWAP 0xb0 OR A, A, ;