1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-21 09:16:34 +00:00

Preprocessor: add #use A=B and if(i,t,e)

This commit is contained in:
Karol Stasiak
2019-06-14 12:00:45 +02:00
parent 3852b2dbe9
commit 51a6ec9d73
4 changed files with 41 additions and 11 deletions
@@ -195,14 +195,17 @@ class BasicSymonTest extends FunSuite with Matchers {
| #use ARCH_6502
| #use ARCH_I80
|
| #use HORSE = ARCH_6502
| #use COW = ARCH_I80
|
| #if 1
| asm void main () {
| #if ARCH_6502
| lda #ARCH_6502
| lda #HORSE
| sta output
| rts
| #elseif ARCH_I80
| ld a,ARCH_I80
| ld a,COW
| ld (output),a
| ret
| #else