TAO1221 Computer Architecture and Organization: Part 1: Discussion
TAO1221 Computer Architecture and Organization: Part 1: Discussion
Lab09
Part 1: Discussion
Page 1 of 2
Part 2: Exercises (3 marks)
Write 8085 Assembly Language Program to find the negative value of a positive number in
memory location 8000h. Store the result in specified memory location using the given represen-
tation:
Test case:
Instructions:
Submit the report at the end of the class.
Marking scheme:
1. Flowchart – 1 mark
2. Assembly program – 2 marks
LDA 8000h
ORI 80h
STA 8001h
LDA 8000h
CMA
STA 8002h
ORI 01h
STA 8003h
ADI 127
STA 8004h
HLT