summaryrefslogtreecommitdiff
path: root/assembly/rrxing2/rrxing2.S
diff options
context:
space:
mode:
Diffstat (limited to 'assembly/rrxing2/rrxing2.S')
-rw-r--r--assembly/rrxing2/rrxing2.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/assembly/rrxing2/rrxing2.S b/assembly/rrxing2/rrxing2.S
index ba8dac9..6f0ce33 100644
--- a/assembly/rrxing2/rrxing2.S
+++ b/assembly/rrxing2/rrxing2.S
@@ -87,11 +87,11 @@ ecall # Read the next digilines message
la t0,channelbuf
ld t1,0(t0)
li t3,0x65746564 # 'dete'
-bne t1,t3,1f # not the detector
+bne t1,t3,3f # not the detector
li t3,0x00ffffff
and t2,t2,t3
li t3,0x00007463 # 'ct\0\0'
-bne t2,t3,1f # not the detector
+bne t2,t3,3f # not the detector
la t0,traincounter
lw t1,0(t0)
@@ -146,7 +146,7 @@ lw t0,0(t0) # Load the pointer
jalr ra,t0,0 # And call that function
1:
-li a7,133
+3: li a7,133
ecall # Check if there are more messages to process
bnez a0,handler_digilines
j handler_epilogue