COMP212S2005FinalExam1p4 ID             NAME

(3) In order to test the CAPC Processor (with 16 bit 4K RAM as in your Presentation), design an application (in CAPC Assembly/Machine Language) according to the following specification:
(a) your program is to be typed from the keyboard (in LW4 Library) (and stored) in the RAM block with starting address 100.
(b) the data will be typed from the keyboard (in LW4 Library) (and stored) in the RAM block with starting address 200. For example, 01faH, 00ceH, 0a05H, 0011H, 8000H. The last datum is the end of data symbol with the highest bit 15 being set("1").
(c) Copy all the data (including the end of data symbol), starting from the address 200, to the memory location starting from the address 300.