DFC10223
COMPUTER SYSTEM ARCHITECTURE
PROBLEM BASE TASK 1
LECTURER
SIR ARFIDZUL RAJIT BIN NOOR MOHAMMAD
BY
NAME MATRIC NUMBER
NUR AFIQAH IZZATI BINTI HUSSEIN 20DDT23F1051
NURUL HAMANIE BINTI ABDUL RAHMAN 20DDT23F1011
, Kayyisa wants to create a program using assembly language. The program that
she will create involve the move, addition, subtract, mulu and divu calculation.
Your team need to help Kayyisa in creating the program by solving the
question below using tools Easy68K :
QUESTION 1 (10 MARKS) [A2,PLO4]
a) Firstly, Kayyisa need to make an instructions at Easy 68K. Using these code
to make it, set address of the of the program to $1000. Then, enter MOVE the
value #$3 to Register 1 in Byte. Next, enter ADD the value #$5 to Data
Register 1 in Byte. Lastly, enter MOVE value #$512 to Data Register 2 in
Word and ADD the value in Data Register 1 with Data Register 2 in Word.
Execute the program.
b) Secondly, after the execution of the program Easy 68K should look like the
picture above with data registers D0 to D8 is set = 0
COMPUTER SYSTEM ARCHITECTURE
PROBLEM BASE TASK 1
LECTURER
SIR ARFIDZUL RAJIT BIN NOOR MOHAMMAD
BY
NAME MATRIC NUMBER
NUR AFIQAH IZZATI BINTI HUSSEIN 20DDT23F1051
NURUL HAMANIE BINTI ABDUL RAHMAN 20DDT23F1011
, Kayyisa wants to create a program using assembly language. The program that
she will create involve the move, addition, subtract, mulu and divu calculation.
Your team need to help Kayyisa in creating the program by solving the
question below using tools Easy68K :
QUESTION 1 (10 MARKS) [A2,PLO4]
a) Firstly, Kayyisa need to make an instructions at Easy 68K. Using these code
to make it, set address of the of the program to $1000. Then, enter MOVE the
value #$3 to Register 1 in Byte. Next, enter ADD the value #$5 to Data
Register 1 in Byte. Lastly, enter MOVE value #$512 to Data Register 2 in
Word and ADD the value in Data Register 1 with Data Register 2 in Word.
Execute the program.
b) Secondly, after the execution of the program Easy 68K should look like the
picture above with data registers D0 to D8 is set = 0