Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know my way around m68k assembler, so in "theory" 6502 should be easy, but damn it's actually quite tricky.

* way fewer registers to play with (understatement)

* You want to mul/div? lol...

* Logical Shift Left? Why do you want to do that?

that's all I've come up against after a couple of hours last night, I'm sure there are a load more "problems" I'll face.



True. Ppl nostalgize aboutbthe 6502 but it's a PITA. Still i believe the answer toyour question is use a Macro Assembler. To collect dozens of library routines like sort, copies, fills, yoyos, etc. And work at that slightly higher level. I wish did that at the beginning of my career :) but nowadays theyre easy to find.


You know 68k, but 6502 is hard? I always figured it would be the other way around... doesn't the 68k have various MMU/"protected mode"-like stuff? Edit: i could also be confusing it with PPC.


My 68k knowledge is from Amiga 500 days, no MMU to worry about there.


Logical shift left is covered by ASL.


Ah, thanks, had missed that somehow!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: