Post AxFNH7osKYfg37cflQ by foone@digipres.club
 (DIR) More posts by foone@digipres.club
 (DIR) Post #AxFMs26oQSTH6A31hA by foone@digipres.club
       2025-08-17T02:33:09Z
       
       0 likes, 0 repeats
       
       huh, the z80 can set two registers at once?ld bc, $000fthere's no "BC" register, but there are B and C registers.
       
 (DIR) Post #AxFMvDfhtMRBpQtAw4 by foone@digipres.club
       2025-08-17T02:33:43Z
       
       1 likes, 0 repeats
       
       adding z80 to my list of "architectures I never wanted to learn the assembly for but unfortunately I'm a reverse engineer"
       
 (DIR) Post #AxFN1hfbGvDIbVvla4 by foone@digipres.club
       2025-08-17T02:34:58Z
       
       0 likes, 0 repeats
       
       this list also includes:* 6502* 65C816 * ARM* 16-bit x86* 64-bit x86* PowerPC68k isn't on there yet but I'm sure it'll be there before too long
       
 (DIR) Post #AxFN5ZEGb3x9aEzKIS by foone@digipres.club
       2025-08-17T02:35:37Z
       
       1 likes, 0 repeats
       
       technically MIPS isn't on there because I learned it back in college for my systems architecture class. I just didn't know that one day I'd need it again to hack PS1 games
       
 (DIR) Post #AxFNACj1h25XEkaRaS by foone@digipres.club
       2025-08-17T02:36:32Z
       
       0 likes, 0 repeats
       
       thankfully no one is writing 90s games in RISC-V or I'd have to learn that too
       
 (DIR) Post #AxFNDfwxUbywkDl6eW by lukeshu@social.coop
       2025-08-17T02:37:07Z
       
       0 likes, 0 repeats
       
       @foone fascinated that 16 and 64 bit x86 are there but 32 bit isn't
       
 (DIR) Post #AxFNH7osKYfg37cflQ by foone@digipres.club
       2025-08-17T02:37:45Z
       
       0 likes, 0 repeats
       
       @lukeshu no I needed that one for other reasons. although technically they were reverse engineering reasons, so I guess it should be on there
       
 (DIR) Post #AxFNdl17HB6JzN8l84 by foone@digipres.club
       2025-08-17T02:41:47Z
       
       0 likes, 0 repeats
       
       on second thought, 32bit x86 is on there too. I just learned it back in the early 2010s (for a project from the 90s), rather than later, so it doesn't feel like it counts
       
 (DIR) Post #AxFNmWc6CIKBvJcSf2 by NovaSquirrel@chitter.xyz
       2025-08-17T02:43:20Z
       
       0 likes, 0 repeats
       
       @foone In my code, when a routine needs multiple 8-bit inputs I'll put them in a register pair when I can, so I get to use these instructions as an optimization. I use a macro that lets me specify the two parts separately too, instead of having to do a "ld bc, (value1 << 8) | value2" construction.
       
 (DIR) Post #AxFOBAD6d2F9gHg4qO by foone@digipres.club
       2025-08-17T02:47:50Z
       
       0 likes, 0 repeats
       
       @glitzersachen not really. I'm someone who can read and sometimes write assembly, not someone who wants to ever have to do that
       
 (DIR) Post #AxFOOLr4e4f3Ypf24O by foone@digipres.club
       2025-08-17T02:50:17Z
       
       1 likes, 0 repeats
       
       arguably 16bit-x86 shouldn't be on there, because I tried to learn it at like age 10, but failed miserably. it was one of those book-club things where you get some books free and then have to pay Xty$ a month for more "free" books. I didn't understand and just got the books for free, then when they asked for money my mom called them and said "a minor can't sign up for this, you idiots" and they were like "oh well. keep the books"
       
 (DIR) Post #AxFOUxZBLdxqG4RX6W by zarchasmpgmr@infosec.exchange
       2025-08-17T02:51:24Z
       
       0 likes, 0 repeats
       
       @foone I love z80 which is 8080 with the instructions it should have had
       
 (DIR) Post #AxFOYDJZFlUzy8guoK by stepheneb@ruby.social
       2025-08-17T02:51:29Z
       
       0 likes, 0 repeats
       
       @foone I wrote so much 6502 assembly code and loved it — it seemed really simple and I liked that almost all operations only took one or two clock cycles.
       
 (DIR) Post #AxFOjB5DtE4KEZD3rM by foone@digipres.club
       2025-08-17T02:53:59Z
       
       0 likes, 0 repeats
       
       @stepheneb yeah, it's an easy assembly to understand. no surprises.
       
 (DIR) Post #AxFOou93mJ4ZRGjdcu by StumpyTheMutt@social.linux.pizza
       2025-08-17T02:55:00Z
       
       0 likes, 0 repeats
       
       @foone So far I've written assembly for;65028086 16 and 32 bit680008085Z80Motorola 56KTMS320PICAVRMSP430RCA 180268008051Damn, I'm oooooold
       
 (DIR) Post #AxFOwm3bjUfkffwAsa by foone@digipres.club
       2025-08-17T02:56:26Z
       
       0 likes, 0 repeats
       
       @StumpyTheMutt ooh, RCA 1802, that's a fun one!
       
 (DIR) Post #AxFPQ4NEi9PPsR5UbA by StumpyTheMutt@social.linux.pizza
       2025-08-17T03:01:26Z
       
       0 likes, 0 repeats
       
       @foone And very radiation hardened due to its simple architecture and manufacturing process. A lot of these were used in satellites in the late 70's to 80's as management processors.
       
 (DIR) Post #AxFPdRFQyckGaIoT20 by monotonehell@aus.social
       2025-08-17T03:04:10Z
       
       0 likes, 0 repeats
       
       @foone I was about to ask where 68k was 🤣
       
 (DIR) Post #AxFPumtJlEOWdIjzwe by foone@digipres.club
       2025-08-17T03:07:18Z
       
       0 likes, 0 repeats
       
       @monotonehell it's inevitable that I'll need to learn it, but so far I've not tried to reverse engineer any games that are 68k-based.
       
 (DIR) Post #AxFQ5hJEr2nQVS4FCS by RueNahcMohr@infosec.exchange
       2025-08-17T03:09:16Z
       
       0 likes, 0 repeats
       
       @foone AF, BC, DE, HL can be pairs for some instructions, I think IX and IY are always 16 bit (less the secret opcodes)
       
 (DIR) Post #AxFQLdScvnMHCg3h0C by lanodan@queer.hacktivis.me
       2025-08-17T03:12:31.488978Z
       
       0 likes, 0 repeats
       
       @foone I don't think I truly know any instead of like generic assembly + ABI usage of registers + some arch-specific instructions names here and there but the ones I had to deal with so far have been 6502; x86_{16,32,64}; arm{32,64}; sparc64And the ones I've managed to dodge so far but have hardware for: AVR, PPC, MIPS, Xtensa, risc-v
       
 (DIR) Post #AxFVqiGlbO34ri9JxI by provuejim@techhub.social
       2025-08-17T04:13:48Z
       
       0 likes, 0 repeats
       
       @foone I had Z80 computers back when they were new. I programmed them in assembler, but for compatibility only used the 8080 subset (many CP/M customers had 8080s). So I never learned the z80 extensions.
       
 (DIR) Post #AxFXmKt8n3CZ6H8gMq by poundquerydotinfo@forum.virctuary.com
       2025-08-17T04:35:17Z
       
       0 likes, 0 repeats
       
       @foone The Z80 (and I believe 8080, which it's a superset of functionality wise) combines several 8 bit register pairs for a limited set of 16 bit operations, BC, DE, and HL. For the most part, these are used as address/index registers.It's an efficient use of what's there as it's rare anyone needs seven accumulators, and needing two or even three index registers is something people frequently do.It does make sense as long as you remember it's more "The Z80 allows you to use each of the BC, DE, and HL index registers as two eight bit arithmetic registers each" than vice versa. Overall the Z80 was VERY nice to program, not as clean as the 6809, but a huge improvement on that other popular 8 bitter. Alas it wasn't as performant so people liked the latter more.
       
 (DIR) Post #AxFo4i4muotPUlN13A by cdamian@rls.social
       2025-08-17T07:37:55Z
       
       0 likes, 0 repeats
       
       @foone68k is the only assembler that I actually enjoyed.TMS9900 was not too bad either.
       
 (DIR) Post #AxFvIsiupEwiFZqPGC by gunstick@mastodon.opencloud.lu
       2025-08-17T08:58:25Z
       
       0 likes, 0 repeats
       
       @foone apparently risc-v is assembler which makes you want to code in it. Like 68k. At least that's what I get from this "elegant instruction set" comment.https://youtu.be/KhhLoVBpg48
       
 (DIR) Post #AxFyZIYupDwAspgd3A by foone@digipres.club
       2025-08-17T09:35:33Z
       
       0 likes, 0 repeats
       
       @malcolm sorry, I don't recall, this was two decades ago
       
 (DIR) Post #AxG6WfDyuTdlvy9Kjo by techokami@woof.tech
       2025-08-17T11:04:39Z
       
       0 likes, 0 repeats
       
       @foone wait what's wrong with 68k assembly? :(
       
 (DIR) Post #AxG9UMMcMWh2iomXtA by foone@digipres.club
       2025-08-17T11:37:56Z
       
       0 likes, 0 repeats
       
       @domi yes!
       
 (DIR) Post #AxGAArrZdg7sZsWyTA by AMS@infosec.exchange
       2025-08-17T11:45:30Z
       
       0 likes, 0 repeats
       
       @foone Lots of millenial folk learned on Z80 due to TI calculators.
       
 (DIR) Post #AxHFBjia6LX8XDWBZg by rugk@chaos.social
       2025-08-18T00:16:21Z
       
       0 likes, 0 repeats
       
       @fooneSaw this post out of context and thought it's about (bike) helmets 😅🫣 #Mips #mipsistpflicht
       
 (DIR) Post #AxMydKKDZZ11cFS6O8 by Nekoplanet@paquita.masto.host
       2025-08-20T18:39:13Z
       
       0 likes, 0 repeats
       
       @foone it's been a long time but if I recall correctly they can work as a single 16bit register or two 8bit ones, hence why...