$XX was a form of hex code notation, used by the 6502 and Motorola processors assembly language. But not universal: in 8080 or Z80 assembly, hex values were denoted by a `H` suffix (this required adding a `0` at the front if the leading digit was in the A-F range to distinguish them from idenitifiers).
Thanks for the answer! Wow, the Assembly from back then seems very different from today's - I'm learning it In uni currently. I'll have to ask my teacher
I've sent it to my teacher along with the the link to the thread!! I know he had a C64 as first computer and from my quick search it wasn't that long after your Motorola... Bet he'll like that!!
While the C64 (1982) came out a two years after my Coco (1980), the CPU inside the C64 was a variant of the MOS 6502 (1976), launched 3 years earlier than the Motorola 6809 (1979) in my Coco and was used in the Apple II (1977).
The 6502 was a feature reduced and much cheaper pin-compatible competitor inspired by the 6809's predecessor, the Motorola 6800 (1974). While the 6809 was 2x-3x more expensive than the 6502, it was (and still is) widely considered the most advanced of all the late-70s / 80s-era 8-bit CPUs with an especially elegant, orthogonal ISA supporting position independent, re-entrant, multitasking code with dual system/user stacks, layered interrupts and powerful indirect addressing modes.
One little known bit of history is the 6809 was powerful enough that Jef Raskin's team at Apple used the 6809 for the initial Macintosh prototypes before Steve Jobs managed to cut a steep discount deal with Motorola on the workstation-priced 68000 CPU. The 6809 ISA can be considered almost a "68000 Jr", and the 680x0 family went on to power the Mac, Amiga, Atari ST and Sun, Apollo, and HP workstations throughout the 80s and early 90s. Had I known how inferior the Coco was in gaming, as it had no graphics hardware like sprites, tiles or scrolling, I wouldn't have chosen it. Fortunately, it was also the only widely available home computer (in the US) with a CPU ISA that would prepare me for the multitasking future.
Since I was entirely self-taught on that first computer with zero prior education and no books other than the included manuals and a 6809 CPU reference card a very kind sales rep at Motorola mailed to me for free, I learned hex representation that way. It actually still seems a bit weird when I see other hex notations. :-)
I believe it's not the first time I've read someone saying that a Motorola sales rep mailed them something like this!
Also, nowadays you wouldn't associate Motorola to something computer related... I can remember Motorola phones being more popular before the smart phone era but something related to computer, nope
> nowadays you wouldn't associate Motorola to something computer related...
You kids are making me feel old! :-) The next CPU Motorola launched after the 8/16 bit 6809 was the first member of their 16/32 bit family, the legendary 68000. For over 15 years the 680x0 CPU family powered the: Macintosh, Amiga, Atari ST, and Sun, Apollo & HP workstations. Motorola wasn't just a footnote, they were #2 to Intel for decades and almost beat them more than once. Today, as far as computing devices go, it's "If the CPU isn't Intel x86, it's an ARM" but for decades it was "If the CPU isn't Intel, it's a Motorola."
By the mid-90s, in a last push to beat Intel's forthcoming new 32-bit Pentium, Motorola, IBM and Apple all joined to create a single new 32-bit CPU, the PowerPC. The battle was close but Intel's x86 momentum, singular focus and superior fabs finally beat Motorola. By the late 90s, as Intel was engaged in mortal combat to beat Motorola, they missed the rise of ARM, their next mortal enemy.
$nn was a common way to write numeric literals (specifically in hexadecimal, if memory serves) in assembly languages, to differentiate from memory addresses or other uses for values
$ is still used today for AT&T syntax x86-64 assembly. It just means that a constant follows. If it's in hexadecimal, it will still need the 0x prefix.
I think Turbo Pascal used $ as a prefix for hexadecimal literals.
Ah ok, it does make sense now! Super interesting to read about the devices from back then and the difference from the then-Assembly and the one we use nowadays