2014-03-22 10:14 AM
MULT
CMP r1, #1 BEQ Finish ITTT HS SUBHS r1, #1 MULHS r0, r2 BLHS MULTWhere I currently have ''BEQ Finish'' I wish to call an SVC Handler, how can I do this?I know I can call an SVC handler with SVC 0 , SVC 1 etc.. but how do I do it conditionally like the above statement? I tried ''BEQ SVC 0'' and I get an unexpected operand statement. Once branching to the handle I never actually want to return to the Multiply function.Please let me know if what I'm trying to do isn't quite right, I've only just began to learn assembly. Thanks!2014-03-22 04:26 PM
How about using an IT instruction
2014-03-26 06:58 AM
Great that worked well, Thanks Clive