3 ms·
Having to do the opcode translation to hex manually sounds like torture! I started with the 6502 on the C64, the Z80 came much later when i wrote some trainer
by Tepix 4y ago
Having to do the opcode translation to hex manually sounds like torture!
I started with the 6502 on the C64, the Z80 came much later when i wrote some trainer patches for Gameboy ROMs.
- flohofwoe 4y agoAfter a little while you know the most common opcodes without having to look them up, I still have some burned into my brain forever: LD HL,nnnn: 21 nn nn LDIR: ED B0 JMP nnnn: C3 nn nn CALL nnnn: CD nn nn RET: C9 ...etc..., and probably dozens more after getting back into the groove :)
- Tepix 4y agoI only remember NOP from x86 assembler: $90
- deleted 4y ago[deleted]
- rwmj 4y agoThe ZX81 & Spectrum manuals had a big table of opcodes in the back so it wasn't too bad. Most of them you memorized after a while. See page 94 here: http://www.retro8bitcomputers.co.uk/Content/downloads/manuals/zx81-basic-manual.pdf http://www.retro8bitcomputers.co.uk/Content/downloads/manual... Other Z80 computers did have pretty capable assemblers, even with simple macros as I recall.
- mrspuratic 4y agoThis was the tersest possible listing of opcode mnemonics :/ I cobbled together a basic understanding from various machine code listings (Toni Baker, Your Sinclair IIRC), and my "assembler" was paper, pencil and a FOR/INPUT/POKE loop... My uncle loaned me a Sharp MZ700 one summer, its manual had a detailed breakdown of Z80 opcodes (in mere 4 pages) which was a revelation to me, and an annotated monitor in assembler. https://archive.org/details/sharpmz700ownersmanual https://archive.org/details/sharpmz700ownersmanual (p160-)