Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- bgt (psedo-instruction) Operation: if ((signed) rA > (signed) rB) then PC ←label else PC ←PC + 4 Assembler Syntax: bgt rA, rB, label blt (equivalent instruction) Operation: if ((signed) rA < (signed) rB) then PC ←PC + 4 + σ (IMM16) else PC ←PC + 4 Assembler Syntax: blt rA, rB, label --- Quote End --- This is wrong whether in the original form or by transcription in this post. They are not equivalent, but this is not correct since it should be: rA > rB and rB < rA I see reference elsewhere to: bgt rA, rB, label is the same as blt rB, rA, label which is of course correct. Bill