Refactoring

This commit is contained in:
romych committed 2026-10-24 18:32:46 +03:00
1 parent 067cf877f1
commit 0ccdac1df6
2 files changed
+70 -72

No files matched your search

+17 -18
View File
@@ -18,22 +18,21 @@ ASCII_FF EQU 0x0C ; Set cursor to top left positi
ASCII_CR EQU 0x0D ; 13 - CR, move cursor to first column
ASCII_CAN EQU 0x18 ; Move cursor right
ASCII_EOM EQU 0x19 ; Move cursor up
ASCII_ESC EQU 0x1B ; Escape
ASCII_SP EQU 0x20 ; Space
ASCII_SUB EQU 0x1A ; Move cursor down
ASCII_US EQU 0x1F ; Clear screen and move cursor to top left position
ASCII_DEL EQU 0x7F ; Inverser output
ASCII_ESC EQU 0x1B ; AP2 key
ASCII_SP EQU 0x20 ; Space
INVERSE EQU 0x7F ; Inverser output
ASCII_CUR EQU 0x24 ; $
ASCII_SQ EQU 0x27 ; '
ASCII_BKSL EQU 0x5C ; \
AP2_KEY EQU 0x1B ; AP2 key
CTRL_C EQU 0x03
CURS_LEFT EQU 0x19
CURS_RIGHT EQU 0x18
CURS_UP EQU 0x19
KEY_LEFT EQU 0x19
KEY_RIGHT EQU 0x18
KEY_UP EQU 0x19
@@ -97,22 +96,22 @@ _NOT EQU 0xAC
_STEP EQU 0xAD
; Simple operation tokens
_PLUSTK EQU 0xAE
_MINUTK EQU 0xAF
_MULTK EQU 0xB0
_DIVTK EQU 0xB1
_EXPTK EQU 0xB2
PLUSTK EQU 0xAE ; +
MINUTK EQU 0xAF ; -
MULTK EQU 0xB0 ; *
DIVTK EQU 0xB1 ; /
EXPTK EQU 0xB2 ; ^
; Other tokens
_AND EQU 0xB3
_OR EQU 0xB4
_GREATK EQU 0xB5
_EQUTK EQU 0xB6 ; +1
_LESSTK EQU 0xB7 ; +2
GREATK EQU 0xB5 ; >
EQUTK EQU 0xB6 ; =
LESSTK EQU 0xB7 ; <
NMREL EQU _LESSTK - _GREATK + 1
ONEFUN EQU 0xB8 ; first function number
NMREL EQU LESSTK - GREATK + 1
ONEFUN EQU 0xB8 ; first function number
; Function tokens
_SGN EQU 0xB8