Write a program using following data declaration? Assign salary of 20000 to all 10 employs (base+offset] addressing mode. Where base register store offset address of each employ.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 30VE
icon
Related questions
Question
ASSEMBLY LANGUAGE
31. Write a program using following data declaration? Assign salary of 20000 to all 10 employs in struct P1 using
[base+offset] addressing mode. Where base register store offset address of each employ.
7 emp struct
8.
id BYTE "123456789"
emp name BYTE 30 DUP('A')
10
ALIGN WOrd
year word 01999H
Esal WORD 0
11
13
emp ENDS
14
.data
pl emp 10 dup(<>)
p2 emp <>
15
16
O H 2 M 456
Transcribed Image Text:ASSEMBLY LANGUAGE 31. Write a program using following data declaration? Assign salary of 20000 to all 10 employs in struct P1 using [base+offset] addressing mode. Where base register store offset address of each employ. 7 emp struct 8. id BYTE "123456789" emp name BYTE 30 DUP('A') 10 ALIGN WOrd year word 01999H Esal WORD 0 11 13 emp ENDS 14 .data pl emp 10 dup(<>) p2 emp <> 15 16 O H 2 M 456
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning