5.42

[15] <§5.5> This question is similar to Exercise 5.40 except that we wish to

add the swap instruction described in

In More Depth: Logical Instruction Exercise 2.52.

Do not modify the register file. Since the instruction format for swap

has not yet been defined, you are free to define it however you wish.