swap

Assembly Syntax

swap [address], regrd

Operation

swap exchanges a word from address with the contents of regrd

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