4 ms·
...Really? I'm a teenager now. I'm actually learning z80 assembler. And GBZ80, which is actually closer to 8080. I don't know if I'll ever manage it, but that'
by qwertyuiop924 10y ago
...Really? I'm a teenager now. I'm actually learning z80 assembler. And GBZ80, which is actually closer to 8080.
I don't know if I'll ever manage it, but that's not because it's too hard, it's because I famously never finish projects.
- rbanffy 10y agoModern x86 assembly would probably fill a dozen thousand-page tomes...
- qwertyuiop924 10y ago...Which is why nobody actually knows x86. Yet another reason it sucks. Also the reason I'm not trying to write x86 code. I mean, seriously Intel. Memory Segmentation? Yuck. And that's just the tip of the iceberg.
- zincsandwich 10y agoIf you think x86 sucks (and I agree), how about learning ARM or MIPS or SPARC instead of Z80? Or if you want to stick with oldschool, maybe m68k.
- qwertyuiop924 10y agoSeveral reasons. -Simplicity: The Z80's instruction set is dead simple, and thus easy to wrap your head around. -Availability: Z80 chips are dirt cheap (and if you want to build a computer around it, designs are readily available). -Ease: As a new assembler programmer, Z80 assembler is considerably more high level than, say, 6502 assembler. -Other Factors: GBZ80 is hugely useful, especially to me, because I've got a Gameboy. Some of those other architectures are on my list as well. Like m68k (and its cousin, the 6809): if only I could still buy the chips. 6502 isn't on your list, but it's on mine. Also, ARMv4T, for the ARM7TDMI: GBA hacking could be fun.
- zincsandwich 10y agoReasonable enough. Good luck. I think your efforts will be rewarded.
- Zardoz84 10y agoSick.... sadly my TR3200 go nowhere. Example code : https://github.com/Zardoz89/trillek-firmware/blob/develop/boot_info.asm https://github.com/Zardoz89/trillek-firmware/blob/develop/bo... CPU : https://github.com/Zardoz89/trillek-computer/blob/master/cpu/TR3200.md https://github.com/Zardoz89/trillek-computer/blob/master/cpu...
- qwertyuiop924 10y agoWhat, what machine is this? Trillek? oh my god, they're still working on it! Well, this is very exciting.
- pjmlp 10y agoWell, you could just make use of the ARM chip on your mobile phone and besides some boilerplate code to start your own Assembly code, do some ARM demos. :) But yeah, GBA coding is also cool.
- qwertyuiop924 10y agoMy phone runs Android. I shudder to think of the boilerplate involved.
- pjmlp 10y agoYou can start here http://shervinemami.info/armAssembly.html http://shervinemami.info/armAssembly.html
- qwertyuiop924 10y agoThanks! But it wasn't the prospect of the assembly that scared me: Android's Java API is a disgusting mess that I would happily never touch again for as long as I live.
- Zardoz84 10y agoClassic x86 (16 bit) not was hard to understand. The most problematic is the segmentation system. But beyond of it, it's very straightforward. I got some knowledge from one of the Norton's book.
- qwertyuiop924 10y agoWell, yeah. Classic x86 was a well known instruction set. Not so for modern x86. Segmentation still sucks, though.