[SOLVED] CSE341-Assignment Lab 01

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

Rate this product

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)

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.