News for hackers. Stuff that matters.
Re:How did Woz write the Apple 1 BASIC before building the c... by totallymike on Saturday November 14, 2026 @09:18PM (#50503335)
$nn was a common way to write numeric literals in assembly languages, to differentiate from memory addresses or other uses for values
Re:How did Woz write the Apple 1 BASIC before building the c... by valeena on Saturday November 14, 2026 @10:12PM (#50503633)
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
Re:How did Woz write the Apple 1 BASIC before building the c... by fweimer on Sunday November 15, 2026 @03:19PM (#50510284)
$ 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.