ksherlock / qasm

Merlin 8/16/16+ Compatible 6502/65816 assembler/linker suite in C++ for linux
Other
1 stars 0 forks source link

pls macro #6

Closed ksherlock closed 4 years ago

ksherlock commented 4 years ago
PLS MAC
 do ]0
 LUP ]1
 PLA
 else
 PLA
 fin
 --^
 <<<

PLS : error (with do ]0) PLS 0: error PLS 1: generates 1 PLA PLS 2: generates 3 PLAs

PLS x: generate 2x -1 PLAs (??)

ksherlock commented 4 years ago

the macro seems a bit questionable. why are the else/fin within the loop?

ksherlock commented 4 years ago

reported to marinetti project