-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello! Thanks for asm80, it's a brilliant assembler!
I'm having some difficulty trying to gleem the syntax for the IX/IY bit operations (DD/FD CB shift tables on the Z80) which store the result as well as performing the bit op. For example: $FDCB0300 (rlc (iy+NN) store in b) rolls (iy+$03) left and incorporates the carry flag, performing the write to iy+$03 and additionally storing the result in register b. Zilog never standardised on a syntax so the documented mnemonic is still rlc (iy+NN) with a note regarding storing in b. clrhome.org's Z80 tables use the suffix ", b" to denote that the product is stored in b; the FUSE emulator's source uses the syntax ld b, rlc (iy+NN). asm80 supports neither syntax, understandably since the official instruction has no significant syntax.
I've tried to read the source but it's minified; the gitbook does not go into cpu asm syntax specifics either so I'm stumped.
Does asm80 support this syntax? If not, is my best bet to use .db? Right now I'm testing a piece of code with .db $fd, $cb, $00, $10 😬
Thanks!