Skip to content
Permalink
Browse files

Add files via upload

  • Loading branch information...
jorack18 committed Mar 18, 2019
1 parent f385dd5 commit 3abbd8b9449117fbb74750e76ce93a9ff8c54d2f
Showing with 4 additions and 4 deletions.
  1. +2 −2 356lab3demo.hera
  2. +2 −2 356lab3demo.hera.lcode
@@ -82,7 +82,7 @@ BZ(done_getting)
STORE(R1, 0, R5)

SET(R8, 32)
XOR(R1, R1, R2) //NEED TO MAKE THIS ONLY GO LOWER TO UPPER
XOR(R1, R1, R8) //NEED TO MAKE THIS ONLY GO LOWER TO UPPER
STORE(R1, 0, R7)

INC(R5, 1)
@@ -94,7 +94,7 @@ LABEL(done_getting)


LABEL(print_loop) //loop thru string to print all of it
LOAD(R1, 0, R4) //Load next char to print
LOAD(R1, 0, R3) //Load next char to print
ADD(R0,R1,R0) //set flags
BZ(after_print) //if next char empty, done printing
MOVE(FP_alt, SP) //prep for call to our function
@@ -85,14 +85,14 @@ fb00
6105
e820
f800
d112
d118
6107
3580
3780
eb48
fb00
100b
4104
4103
a010
eb6c
fb00

0 comments on commit 3abbd8b

Please sign in to comment.
You can’t perform that action at this time.