Browse Source

zasm: can now assemble zasm/expr.asm!

pull/10/head
Virgil Dupras 5 years ago
parent
commit
78d9764005
2 changed files with 2 additions and 4 deletions
  1. +1
    -1
      apps/zasm/expr.asm
  2. +1
    -3
      tools/tests/zasm/test7.asm

+ 1
- 1
apps/zasm/expr.asm View File

@@ -53,7 +53,7 @@ _resolveLeftAndRight:
; Now we have parsed everything to the left and we have its result in
; IX. What we need to do now is the same thing on (DE) and then apply
; the + operator. Let's save IX somewhere and parse this.
ex hl, de ; right expr now in HL
ex de, hl ; right expr now in HL
push ix
pop de ; numeric left expr result in DE
jp parseExpr


+ 1
- 3
tools/tests/zasm/test7.asm View File

@@ -25,6 +25,7 @@
.equ DIREC_RAMSTART TOK_RAMEND
#include "zasm/directive.asm"
#include "zasm/instr.asm"
#include "zasm/expr.asm"

zasmIsFirstPass:
nop
@@ -32,6 +33,3 @@ zasmIsFirstPass:
zasmIsLocalPass:
nop

parseExpr:
nop


Loading…
Cancel
Save