MODULE 6 LAB 6.1 3a *MUL X instruction address is address location 4 *The binary representation is 00000100 3b *LOD is represented by 00010100 3c *Binary #2 00000010 3d *Variable Y is stored in address location 130 binary representation of 10000010 3e *Variable X is stored in address location 129 binary representation 10000001 3f *Variable W is stored in address location 128 binary representation 10000000 3g *ADD = 00000000 *MUL = 00000010 *STO = 00000101 #4 LOD #5 ADD W SUB Z DIV X STO Y NOP NOP NOP LAB 6.2 8a 5 Z - X Y + = 8b Z X + 5 (EXP) Y - = 8c Z X + (EXP) 2 5 (EXP) Y - = 9A Y = X - 3 * Z 9B Y = ( X - 3 ) + Z 9c Y = X - (3 * (Z/2)) LAB 6.3 #5 LOD #3 MUL Y STO T1 LOD #2 DIV W ADD T1 STO X 6a LOD Z MUL #3 SUB X STO Y 6b LOD Y ADD #5 DIV #2 STO X 6c LOD W MUL W STO T1 LOD X MUL X ADD T1 STO Z 7a X = Z / 2 7b X = (Z/2) * Y 7c X = Z / (2 / Y) LAB 6.4 #8 LOD X ADD Y ADD Z STO T1 LOD #2 DIV T1 STO W