Quote:
shll R0 ; R0 should shift left one bit, so it is H'A0 or H'B?
It would be H'14
Quote:
cmp/gt R6,R14 ;if R6<R14, so T=0
This is correctly stated as:
cmp/gt R6,R14 ;When signed and R14 > R6, T=1
(don't forget the condition when they are equal)
The move instruction would be skipped if T=1 as the BT instruction is not a BT/S instruction.
You'd be best to read the software manual, assuming this is a SH705x processor your are working with.
http://documentation.renesas.com/doc/pr ... h_2esm.pdf