Question: Q1) Assume that the contents in (Data.dat) are byte-sized. Write an assembly subroutine ( using EMU8086 ) to identify the effective address that hold the

Q1) Assume that the contents in (Data.dat) are byte-sized. Write an assembly subroutine (using EMU8086) to identify the effective address that hold the smallest value in hexadecimal. Store the effective address at address 0900H:1000H.

Q1) Assume that the contents in (Data.dat) are byte-sized. Write an assembly

The answer should be :-

Observation: Address 0900H:1000H should contain 09H Address 0900H:1001H should contain 0AH This is because the lowest hexadecimal value 30H is located at 0800H:0A09H. 0A09H is the effective address.

Random Access Memory 98 99: GA OO update table list 0800 :GADO : 31 049 1 0800:0A01 : 32 950 2 0800:0A02: 33 651 051 3 0800:0AO3: 34 952 052 4 0800: DA04: 35 953 0535 0800 : OA05: 36 954 6 0800 : OA06: 37 055 7 0800 : OA07: 38 056 8 0800: DA08 : 39 057 9 0800 : OA09: 30 948 9 0800: GADA: 61 997 a 0800 : OAB: 62 998 b 0800 : OAOC: 63 099 0800: GAD: 64 100 100 d 0800: DADE: 65 101 e 0800: GAF: 41 065 A 0800 :0A10: 42 066 B 0800:0A11: 43 067 C 0800 :OA12: 44 068 D 0800 :OA13: 45 069 E 0800:0A14: 00 000 NULL 0800 :QA15 : 60 000 NULL Ago-2016- AC aan NILL Random Access Memory 98 99: GA OO update table list 0800 :GADO : 31 049 1 0800:0A01 : 32 950 2 0800:0A02: 33 651 051 3 0800:0AO3: 34 952 052 4 0800: DA04: 35 953 0535 0800 : OA05: 36 954 6 0800 : OA06: 37 055 7 0800 : OA07: 38 056 8 0800: DA08 : 39 057 9 0800 : OA09: 30 948 9 0800: GADA: 61 997 a 0800 : OAB: 62 998 b 0800 : OAOC: 63 099 0800: GAD: 64 100 100 d 0800: DADE: 65 101 e 0800: GAF: 41 065 A 0800 :0A10: 42 066 B 0800:0A11: 43 067 C 0800 :OA12: 44 068 D 0800 :OA13: 45 069 E 0800:0A14: 00 000 NULL 0800 :QA15 : 60 000 NULL Ago-2016- AC aan NILL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!