News for hackers. Stuff that matters.
Re:Microsoft GW-Basic Interpreter Source Code by WalterBright on Monday March 07, 2022 @05:02PM (#30593902)
https://pastraiser.com/cpu/i8080/i8080_opcodes.html

As a pragmatic manner, I don't regard having the register and/or addressing mode encoded into the opcode as a separate opcode.

Emulating a modern 64 bit processor would be a major chunk of work, but the old 8 bit ones are simple.

Re:Microsoft GW-Basic Interpreter Source Code by phkahler on Monday March 07, 2022 @08:16PM (#30595391)
If we exclude addressing mode then I think there are less than 26 instructions. Our mnemonic format was one letter (verb/op), one for source (a,b,c,d,e,h,l,w,x,y) and one for destination. I dont recall the letter for immediate, probably i but MIA for move immediate to a doesnt ring a bell for me. :-)