dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
6 stars 0 forks source link

Generate (or modify existing asm) asm for the gnu 8085 simulator #238

Closed dplassgit closed 1 year ago

dplassgit commented 1 year ago
  1. no "org" statement
  2. labels must have an instruction
  3. labels cannot start with underscore
  4. hex constants are ABh instead of 0xAB
dplassgit commented 1 year ago
  1. Hex constants over 9f seem to be disallowed; need to use decimal.

./scripts/tognu.sed does 1-4, above.