Blogger

Delete comment from: Ken Shirriff's blog

Anonymous said...

We used BCPL back in the 90s, on a 3B2 UNIX computer, cross-compiling to an embedded 6809 target. I remember using "$(" and "$)" as the block delimiters rather the square brackets. We also had augmented "a!b"-style indexing with "a!%b", "a%!b", and "a%%b" since we needed a lot of byte handling as well. They were word base address, byte offset (byte at byte address a*2+b), byte base address, word offset (byte at byte address a+2*b), and byte base address, byte offset (byte at byte address a+b). The "normal" a!b was the two bytes at byte address (a+b)*2. Loved that language for its simplicity. And, from memory, it was used to develop the original Amiga OS (Tripos?) though I'm old enough that my memory could be wildly off :-)

Jan 2, 2025, 2:59:08 AM


Posted to "Hello world" in the BCPL language on the Xerox Alto simulator

Google apps
Main menu