AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax: TST Rd
Operation: Rd = Rd AND Rd
Flags: Z,N,V

Tests if the register is zero or negative, and sets flags accordingly. This is implemented as an AND instruction, with both registers the same.

Example:
TST R7
TST R22

[sh-index] Back to list of manuals