Elektrine lite

← Feed

@dirtycommo@anticapitalist.party

2026-10-16 22:16 UTC

The code I have been following is a mixture of 8080 assembly, and 8080 assembly transposed onto Arduino assembly with macros. And for the largest part of the code, it works. Given the ATmega chips allow so many addressing modes for the 32 general purpose registers a chip has, you can just define r24 to be an 8080 accumulator and have it work. Macros are really useful in assembly language. Don't every forget to leverage the C preprocessor for Arduino assembly. Highly suggest at least looking.

Replies (1)

  • I any case, I am thinking of scrapping the idea of using an intermediate language such as the one in the People's Computer Company/Dobbs Journal. I read quite a bit of the Atari 6502 BASIC manual, and was impressed. Lines, ordered by number, two data types, strings and numbers. Immediate mode and run mode. I think I will have to consult a few different approaches: MS 8K, BBC, ECMA-55, GW-BASIC... I think my Arduino assembly has levelled up enough to try and take more training wheels off.

    Open ##5077003