Introduce simple character literal

This commit is contained in:
2020-08-28 20:00:49 +02:00
parent d396628310
commit 593506a907
4 changed files with 102 additions and 14 deletions

View File

@@ -24,9 +24,9 @@ jmp count_loop;
#DEFINE PRINT_CHAR $0
# Hello world
seti %A $72; # H
seti %A 'H'; # H
int PRINT_CHAR;
seti %A $101; # e
seti %A 'e'; # e
int PRINT_CHAR;
seti %A $108; # l
int PRINT_CHAR;