
Z80 Registers: A, F, BC, DE, HL, IX, IY and the Shadow Set
Learn the Z80 register set: the accumulator and flags, the BC, DE and HL pairs, IX and IY, SP, the I and R registers and the shadow set swapped by EXX.
x86-64, ARM, AArch64 and RISC-V assembly, calling conventions, SIMD, pipelines, caches and memory ordering, and reading the disassembly your compiler wrote.

Learn the Z80 register set: the accumulator and flags, the BC, DE and HL pairs, IX and IY, SP, the I and R registers and the shadow set swapped by EXX.

Compare character fields with CLC and CLI, read the condition code, and branch with BC, BRC and the extended mnemonics like BE, JNE and JL in HLASM programs.

Write counted loops on the 6502 with DEX and BNE: count down to zero, avoid the 256-iteration trap, nest loops for counts above 255 and work out the cycle cost.

Learn the HLASM instructions that move data between registers and storage, L, ST, LR, LA, STM and LM, with a traced example showing every register value.

Learn the 6502 addressing modes: immediate, zero page, absolute, indexed with X and Y, indirect indexed and indexed indirect, with traced examples.

Write assembler programs that call and return the standard z/OS way, with registers on entry, an 18-word save area chain and a return code in register 15.

Write, assemble and step through your first 6502 program in the Easy 6502 browser simulator, from a single pixel to a loop that fills a whole row.

Understand why HLASM needs a base register, how USING and DROP tell the assembler which register addresses which storage, and how to fix ASMA307E errors.

Learn every 6502 register and status flag: what A, X, Y, SP, PC and the N V B D I Z C bits do, which instructions change them, and how to trace them.

Learn the z/Architecture registers, the program status word and the main instruction formats, with a hand-decoded example of how an HLASM line becomes bytes.

A 1975 processor with 56 instructions still teaches what every modern CPU builds on: flags, addressing modes, the stack, memory-mapped I/O and interrupts.

Write a minimal High Level Assembler program that prints a console message, then assemble it with ASMA90, link-edit it with the binder and run it as a job step.
We send one email when a new post is published. No spam.