Hacker News

Favorites Setup
Comment by jsrcout | original | How did Woz write the Apple 1 BASIC before building the computer?
[−]jsrcout · 2026-11-15 Sun 07:22 UTC · link
There was also a mini-assembler [0] that let you enter assembly code directly into memory. It was dead simple to use, and since it printed an assembly listing after you entered each instruction, it was conducive to learning the hex codes by heart.

The mini-assembler didn't understand symbols (other than the opcodes themselves), but it did understand the addressing modes. This saved you from, for instance, hand calculating branch offsets.

Not all Apple II models included it, but I can't find a reference right now. Ours had it.

[0] https://www.callapple.org/vintage-apple-computers/apple-ii/a... (1978)

[−]sehugg · 2026-11-15 Sun 11:14 UTC · link
It was removed in the II+ to make room for AppleSoft BASIC. But there was a relocated version you can run out of RAM: https://savagetaylor.com/TIL/TIL00005.pdf
[−]tmoertel · 2026-11-15 Sun 13:07 UTC · link
Guess what? Apple brought back the mini-assembler when it released the "enhanced" version of the Apple //e in in 1985:

Monitor changes also included a return of the mini-assembler, absent since the days of Integer BASIC. It was activated by entering a “!” command in the Monitor, instead of a jump to a memory location as in the older Apple II. Features also added included the ability to enter ASCII characters directly into memory, and an “S” command to make it possible to search memory for a byte sequence. Interrupt handling was also improved. However, the “L” command to disassemble 6502 code still did not handle the new 65c02 opcodes as did the IIc disassembler.

Source: https://www.apple2history.org/history/ah07/#07:~:text=Monito...