macro xchg,regpair1,regpair2 ;swaps the contents of two registers. push regpair1 push regpair2 pop regpair1 pop regpair2 endm