Question: 2. ( 3 marks) For the following code : data var1: .word 5 char: .byte 'a', 5 var2: . word 028B ' var3: . half
2. ( 3 marks) For the following code : data var1: .word 5 char: .byte 'a', 5 var2: . word 028B ' var3: . half 0AC12 str1: .asciiz "abc" Show the contents of each byte of the allocated memory, in hexadecimal, for the data definitions, and record them in table 1 below. Also when entering characters, use their ASCII hexadecimal codes (a=061,b=062, c=063 ). Use the little endian format for word and half-word
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
