Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add character values to Assembler v2 #3

Open
gilkeidar opened this issue Nov 21, 2024 · 0 comments
Open

Add character values to Assembler v2 #3

gilkeidar opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gilkeidar
Copy link
Owner

Problem Description: Add character values to assembler (which are translated to their corresponding immediate values).

Example: Currently, to print a character to the display, one must know its exact character set value; for instance:

OUT #0x41, A    //    Print 'A' to the screen

This can be partially mended using Preprocessor constants:

.define 1 _A    0x41
OUT _A, A    //    Print 'A' to the screen

However, this requires one to define many constants if one wants to write arbitrary characters; instead, this should be a built-in feature of the Assembler, like so:

OUT 'A', A    //    Print 'A' to the screen

This should cover the entire character set of the ByteFrost display.

@gilkeidar gilkeidar added the enhancement New feature or request label Nov 21, 2024
@gilkeidar gilkeidar self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant