4 ms·
There’s a story about someone watching Woz entering hex into the computer directly to write a program, and every now and then he’d pause for a little. They aske
by jdswain 4y ago
There’s a story about someone watching Woz entering hex into the computer directly to write a program, and every now and then he’d pause for a little. They asked him why and he said he was calculating the offset for a forward branch, which would mean he’d have to think of all the code up until the branch destination and count the bytes. Then he could carry on and enter those bytes.
- jacquesm 4y agoThat's pretty amazing. I would do something similar but easier: invert the branch do a jmp [word] and then continue as though nothing changed. Then, afer you know the destination address fill it into [word]. That way you don't end up running out of memory (your own, not the computer's). But Woz's trick is far more impressive.