Starting from:

$30

CSE341-Assignment Lab 01 Solved

Task 01

Swap two numbers using ADD/SUB instructions only.

Task 02
Consider these 4 variables, which are A, B, C and D. These variables are byte sized and non zero variables. Now perform the given mathematical operation with the help of these variables in the emu8086 emulator.

D = A - (A + C) + D

Task 03
Consider these 4 variables, which are W, X, Y and Z. These variables are byte sized and non zero variables. Now perform the given mathematical operation with the help of these variables in the emu8086 emulator.

X = (X / Y) * (Y * Z) / (Z * W)

Task 04

Perform the following arithmetic operation in the emu8086 emulator.:

(10 / 5) * (4 – 0) + (5 + 3 * 2) + (2 / 1)

More products