Browse Source

8086asm: first steps

pull/117/head
Virgil Dupras 4 years ago
parent
commit
405444d630
7 changed files with 28 additions and 1 deletions
  1. +1
    -1
      blk/001
  2. +16
    -0
      blk/730
  3. +2
    -0
      blk/731
  4. +1
    -0
      blk/750
  5. +5
    -0
      blk/751
  6. +2
    -0
      blk/752
  7. +1
    -0
      blk/753

+ 1
- 1
blk/001 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
- 0
blk/730 View File

@@ -0,0 +1,16 @@
8086 assembler

Work in progress. Load with "750 LOAD".

Test code at B731












+ 2
- 0
blk/731 View File

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

+ 1
- 0
blk/750 View File

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

+ 5
- 0
blk/751 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
- 0
blk/752 View File

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

+ 1
- 0
blk/753 View File

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

Loading…
Cancel
Save