Tuesday, December 23, 2008
RST 16 modifies the accumulator...

Aargh - it's taken me a depressing amount of time to realise that the RST16 call to print the contents of the accumulator on the ZX Spectrum has the side effect of modifying the contents of the accumulator. That'll explain why I was getting an "INVALID INK COLOUR" error message in BASIC...
Click on the images for larger versions - they're very exciting...
![]() | ![]() | ![]() |
Labels: assembly language, RST 10, RST 16, Sinclair ZX Spectrum, Z80




