Special r0 Rules List for Broadway
#1
Special r0 Rules List for Broadway

This thread will contain multiple lists of instructions of Broadway that have special rules regarding the usage of r0. I also included some non-related lists that could be useful for someone.



List of instructions where r0 as a source register is treated as literal 0~
addi
addis
eciwx
ecowx
lbz
lbzx
lfd
lfdx
lfs
lfsx
lha
lhax
lhbrx
lhz
lhzx
lmw
lswi
lswx
lwarx
lwbrx
lwz
lwzx
psq_l
psq_lx
psq_st
psq_stx
stb
stbx
stfd
stfdx
stfiwx
stfs
stfsx
sth
sthbrx
sthx
stmw
stswi
stswx
stw
stwbrx
stwcx.
stwx



List of instructions where r0 as the destination register is treated as literal 0~
dcbf
dcbi
dcbst
dcbt
dcbtst
dcbz
dcbz_l
icbi



List of instructions where if r0 is used as a source register, the instruction is invalid
lbzu
lbzux
lfdu
lfdux
lfsu
lfsux
lhau
lhaux
lhzu
lhzux
lwzu
lwzux
psq_lu
psq_lux
psq_stu
psq_stux
stbu
stbux
stfdu
stfdux
stfsu
stfsux
sthu
sthux
stwu
stwux



List of instructions where if the source register is also used as the destination register, then the instruction is invalid~
lbzu
lhau
lhzu
lwzu



List of instructions where if any of the source register(s) (the GPR being used, not value within GPR) are greater than or equal to the destination register, then the instruction is invalid~
lmw


Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)