updated assembler output
This commit is contained in:
parent
b8d32dddbd
commit
52f38d7eac
|
@ -276,14 +276,14 @@ $ ./bin/uxnasm hello.tal bin/hello.rom && ./bin/uxnemu bin/hello.rom
|
|||
we will see an output that looks like the following:
|
||||
|
||||
```
|
||||
Assembled bin/hello.rom in 0.00kb(0.40% used), 0 labels, 0 macros.
|
||||
Assembled tmp/test.rom in 5 bytes(0.40% used), 0 labels, 0 macros.
|
||||
Loaded hello.rom
|
||||
h
|
||||
```
|
||||
|
||||
the last 'h' we see is the output of our program. change the 68 to, for example, 65, and now you'll see an 'e'.
|
||||
|
||||
so what is going on?
|
||||
so what is happening?
|
||||
|
||||
## one instruction at a time
|
||||
|
||||
|
@ -334,7 +334,9 @@ in uxntal we can only write numbers that are 2 or 4 hexadecimal digits long. if,
|
|||
|
||||
## assembled rom
|
||||
|
||||
we can see that the our assembled program is 5 bytes in size:
|
||||
when we assembled our program, we saw that it was 5 bytes in size.
|
||||
|
||||
we can confirm it using the wc (word count) program:
|
||||
|
||||
```
|
||||
$ wc --bytes bin/hello.rom
|
||||
|
|
Loading…
Reference in New Issue