swap
Assembly Syntax
swap [address], reg
rd
Operation
swap
exchanges a word from
address
with the contents of reg
rd
Comments
mem_address_not_aligned
trap caused if address not aligned
Example
swap some_addr, %r10
Instruction format
Instruction format
Home Page
Index Page
All Load Instructions