First page Back Continue Last page Overview Graphics
Write the code to multiply the value in location VAL by 10 and then store the result in a two-byte location called PRODUCT.
- ldaa #10 ; load immediate to A
- ldab val ; load contents of val to B
- mul ; product will be in D
- std product ; store product