You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for target-specific custom enums in disassembler
This adds robust support for custom enums, allowing users to replace raw numeric values (immediate operands, data bytes, and data words) with semantic names across all supported assemblers (64tass, KickAssembler, ca65, and ACME) in a target-specific way.
- 64tass formats enums using named dictionaries (e.g., Colors.BLACK)
- KickAssembler formats enums inside .enum blocks (e.g., Colors.BLACK)
- ca65 formats enums inside .enum blocks and double-colon scopes (e.g., Colors::BLACK)
- ACME formats enums using flat underscore namespaces (e.g., Colors_BLACK)
Precedence models shadow local > global > built-in, and enums are cloned and embedded permanently on use to guarantee portable, self-contained saves.
Fixes#22
TAG=agy
BUG=#22
CONV=168d6e0d-4484-483b-b051-42b81fefbdaf
0 commit comments