started working on parser
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user