Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a assembly code that contains the following integer definitions: int1: an 8-bit unsigned integer initialized to 11h. int2: an 8-bit signed integer initialized to

Write a assembly code that contains the following integer definitions:

int1: an 8-bit unsigned integer initialized to 11h.

int2: an 8-bit signed integer initialized to -20

int3: a 16-bit unsigned integer initialized to 4000h

int4: a 16-bit signed integer initialized to +1234

int5: a 32-bit unsigned integer initialized to 0ABCDEF1h

int6: a 32-bit signed integer initialized to -1234578

a) Use appropriate directives to declare your integers

b) What is the total number of bytes reserved for your data declaration?

c) The following table shows how your integers values are stored in memory, where index points to the first byte stored for the first integer.

1. Identify the storage indexes for each of the integers you declared (int1 int6)

2. Explain the content of the corresponding memory locations. RECALL that intel uses little endian architecture

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago