sam-astro / Astro8-Computer

Custom 16-bit homebrew CPU, emulator, renderer, circuit, and language
MIT License
754 stars 82 forks source link

Armstrong compiler issue #38

Open sam-astro opened 2 years ago

sam-astro commented 2 years ago

Describe the bug Pointers used directly in an arithmetic operation fail to compile properly.

Doesn't work:

mult *$memoryLocationA,64 -> $tmp

Works:

mult $variable,64 -> $tmp