Skip to content

Commit b938920

Browse files
authored
Fixed outdated terminology
1 parent c451760 commit b938920

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,28 +83,28 @@ HLT
8383
```
8484
Addition in Hades:
8585
```nasm
86-
WRT [1] ; write 1 to RAM ;
86+
WRT [1] ; write 1 to Tape ;
8787
INCP ; move ptr to the right
88-
WRT [2] ; write 2 to RAM ;
88+
WRT [2] ; write 2 to Tape ;
8989
LOOP [ ; start a loop ;
9090
DECP ; move ptr to the left ;
91-
RDV ; read value from RAM ;
91+
RDV ; read value from Tape ;
9292
INCV ; increment ptr value ;
93-
WTV ; write ptr value to RAM ;
93+
WTV ; write ptr value to Tape ;
9494
INCP ; move ptr to the right ;
95-
RDV ; read value from RAM ;
95+
RDV ; read value from Tape ;
9696
DECV ; decrement ptr value ;
97-
WTV ; write ptr value to RAM ;
97+
WTV ; write ptr value to Tape ;
9898
]
9999
DECP ; move ptr to the left ;
100-
RDV ; read value from RAM ;
100+
RDV ; read value from Tape ;
101101
; end program ;
102102
HLT
103103
```
104104
Using labels in Hades:
105105
```nasm
106106
CLB [foo] ; create label called "foo" ;
107-
MOV [5] ; move ptr to position 5 of RAM ;
107+
MOV [5] ; move ptr to position 5 of Tape ;
108108
CLB [bar] ; create label called "bar" ;
109109
JLB [foo] ; jump to foo label ;
110110
WRT [1] ; write 1 to foo ;

0 commit comments

Comments
 (0)