started working on parser

This commit is contained in:
2025-01-21 01:17:30 +05:00
parent 5c9197436f
commit 83e28c9022
11 changed files with 201 additions and 24 deletions

View File

@@ -2,9 +2,11 @@
"hello world" program in my assembly language
*/
// named data array
c8 msg "Hello, World :3\0"
.data:
// named array of 8-bit values
const8 msg "Hello, World :3\0"
.main:
push ax 1; // sys_write
push bx 1; // stdout
push cx @msg; // address of msg data