Re:The Worst Programming Environment in the World?
by Lagged2Death on Tuesday September 03, 2013 @02:51PM
(#6322895)
It was not that unusual to "hand assemble" programs, as it was not that unusual to remember the codes.
Yeah, I grew up with 6502s, too.
You'll think I'm weaseling out here, but "hand assembly" isn't what I was talking about.
I feel the original comment implies that some people, intending to write significant machine code, sat down with BASIC and started typing in DATA statements. And I don't think that happened to any significant degree.
As in the case of the "programming environment" under discussion, machine language routines force-fed into BASIC DATA statements were the output of another tool or process -- whether assembled by hand or by machine -- and were an intermediate form that was never intended to be editable.
I'd be careful about that claim.
It was not that unusual to "hand assemble" programs, as it was not that unusual to remember the codes. The 6502 has less than 60 documented opcodes (and quite a few undocumented ones with various weird but in some cases somewhat usable behaviour) and only a few addressing modes, and all opcodes are single byte, so knowing most or even all of them doesn't take that much exposure.
Some of those values are so ingrained that I still remember the decimal values, despite the fact that the moment I started using tools to work with assembly on the C64, it was all hex
e.g. 169 decimal is "load accumulator immediate" (LDA #[8 bit operand) on the 6502. (or A9 in hex)