100% found this document useful (1 vote)
114 views

TP 1 Computer Architecture

Uploaded by

davinsorn.dv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
114 views

TP 1 Computer Architecture

Uploaded by

davinsorn.dv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

TP 1 Computer Architecture (Assembly Language smz32v50)

1) Using ADD, MOV, SUB, DIV, MUL and try to use register AL, BL, CL and DL

2) Follow by question 01 as traffic light (OUT 01)


a. Make left traffic light pop up red light and right blue light (label: right forward)
b. Reverse (a) (label: left-forward)

c. Make right traffic light pop up all colors (label: all-color-right)


d. By follow from above make the real traffic light (left traffic light => LTL and right traffic light =>
RTL).
i. LTL (red) and RTL (green)

ii. LTL (red) and RTL (amber)

iii. LTL (red and amber) and RTL (red)


iv. LTL (green) and RTL (red)

v. LTL pop up 3 times (amber) and RTL (red)


vi. LTL (red) and RTL (red and amber)

vii. Repetition as before with reverse


3) Lookup “{yourname}I2{yourdepartment}@2024” as ASCII code and copy address to CO, C1, C2....
Ex: DaraI2GIC@2024

You might also like