AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Many operations allow an optional S to be added to the opcode. This will force a flag update (the flags which are updated depend on the instruction in question). Note that the S flag is implicit in CMPCMNTEQ and TST

SUBS  R1,R1,R2          ; set flags based on R1-R2
ADD   R1,R1,R3          
BEQ   xxx               ; jump if R1-R2 = 0

[sh-index] Back to list of manuals