Update sample microcode file

This commit is contained in:
Gabriel Tofvesson 2019-04-07 13:53:52 +02:00
parent e900daa435
commit c2dc8dec0d

13
test.uc
View File

@ -1,10 +1,11 @@
# Move value in GR to HR and increment PCL
lcset 16 lcset 16
const 0 # Set AR to 0
$LOOP $NEXT
bls @END
incpc; declc incpc; declc
bls @END # Branch to micro-address 0 if L-flag is set add pc
bra @LOOP bra @NEXT
$END $END
HALT halt