B SETOP(R1)
SETOP LR R1,R7
BR RE
LR R1,R5
BR RE
LR R7,R5
BR 0
LA RC,CHKTWIN
LR R1,R7
BYOP EQU *
LH R0,16(R4)
SETOP LR R1,R7
BR RE
LR R1,R5
BR RE
LR R7,R5
BR 0
LA RC,CHKTWIN
LR R1,R7
BYOP EQU *
LH R0,16(R4)
Does B SETOP(R1) mean branch to the address of SETOP + the number of bytes in R1.
So if R1 is 0 then branch to SETOP LR R1,R7
If R1 is 4 then branch to SETOP LR R1,R5
If R1 is 8 then branch to SETOP LR R7,R5
If R1 is 12 then branch to SETOP LA RC,CHKTWIN ? Since the instructions in between takes 4 bytes.Is my understanding correct?
Also why do we have
BYOP EQU *
BYOP LH R0,16(R4)