Computer Science, asked by deepukalleda1999, 5 months ago

5. (10 pts) Given the following program:
switch
RESULTS:
AUGEND:
STORE:
ADDEND:
MSG:
OFFSET:
. data
ds.w
dc.b
dc.b
EQU
dc.b
dc.
;this section starts at address $800
$10
08, $23,8
$20, 3A, SF2, $12
60
"my msg"
20,6
switch text
; this section starts at address $900
LDAA #ADDEND
Hex
LDD STORE
LDD # STORE
Hex
Hex
LDAA AUGEND+1
IDX
AUGEND
Hex
ADDA 1, X
Show the addresses of all labels in hex (in front of each label)
(ii) How many bytes total are reserved in data section?
A_AIL Avaart​

Answers

Answered by boy202055
1

Answer:

5. (10 pts) Given the following program:

switch

RESULTS:

AUGEND:

STORE:

ADDEND:

MSG:

OFFSET:

. data

ds.w

dc.b

dc.b

EQU

dc.b

dc.

;this section starts at address $800

$10

08, $23,8

$20, 3A, SF2, $12

60

"my msg"

20,6

switch text

; this section starts at address $900

LDAA #ADDEND

Hex

LDD STORE

LDD # STORE

Hex

Hex

LDAA AUGEND+1

IDX

AUGEND

Hex

ADDA 1, X

Show the addresses of all labels in hex (in front of each label)

(ii) How many bytes total are reserved in data section?

A_AIL Avaart

Explanation:

Total only Five bye text are required. this is verified

Similar questions