7 ms·
8-bit CPUs like the 6502 and Z80 are much better for teaching assembly language than something monstrous like the x86. ARM and MIPS are probably okay too.
by Dwedit 3y ago
8-bit CPUs like the 6502 and Z80 are much better for teaching assembly language than something monstrous like the x86. ARM and MIPS are probably okay too.
- toast0 3y agoTI made assembly officially available for a while (starting on the ti-86, I think), but they've walked it back and current calculators need help to get to it.
- Dwedit 3y agoTI83 had a hidden "asm(" command, it was "Send(9prgmXXXXXXXX", which takes in a hex file then packs it to address 9327. But because it kept two copies of the program in memory (one double size, one half size), people went on to make assembly shells to relocate the program to 9327 without the need for a double-size program. The final assembly shell Venus manged to be absolutely tiny, and did not need to "install" itself (by intentionally creating a memory leak).
- nuc1e0n 3y agoTools exist that can reassemble 8080 assembly language code to run on the 8086 or later x86 CPUs. The opcodes aren't quite the same, but they're close enough feature wise. Indeed it was one of the original design criteria for the 8086 to be source compatible with 8080 code.