Question

write a single instruction using 16 bit operands that clears the high 8 bits of AX and does not change the low 8 bits

Answer #1

**Solution:**

****Please give a thumbs up if you find this solution
helpful.**

Write an assembly language program that reverses all the bits of
a 32-bit number. (Without using RBIT instruction)
Write an assembly language program that checks whether an
unsigned number is perfect square or not.

What is the 16-bit binary representation (in hexadecimal using
lower-case letters, e.g., 0x39ab) of -13 1/4 (base 10) when
represented as an IEEE 16-bit ﬂoating-point number? The IEEE 16-bit
ﬂoating-point representation uses formulae consistent with those
for the 32bit single-precision representation, except for using 5
bits for the exponent (instead of 8 in the case of the 32-bit
representation) and a bias of 15.

Using R programming, write a program to compute the Machine
epsilon in single precision(32 bits) and double precision(64 bits).
Follow programming guidelines.

Write a sequence of two instructions that copies bits 0-5 from
AL to bits 0-5 in BL. Bits 6-7 in BL should be cleared, and AL
should be unchanged
Mov al, bl
And 00111111, bl
Write a sequence of two instructions that copies the integer in
bits 4-7 from AL register into bits 0-3 of the BL register. Upper 4
bits of AL and BL will be cleared
Shr al, 4
Mov bl,...

Microprocessor 8086 material.
Choose the correct answer.
1- For a (64K x 8) RAM, the number of address lines is:
*
17
19
16
15
20
14
18
2-Which of the following instructions requires (BYTE PTR)?
*
SHR [500H], 3h
LDS SI, [1000H]
LAHF
PUSH [9AAH]
ADD AX, [800H]
3-Where are the interrupt vectors located in the
microprocessor’s memory? *
in the first 64K byte
in the first 1K byte
in the first 256K byte
in the first 1M byte...

A barrel shifter is a digital subsystem that can shift multiple
bits in a vectors positions at once. In a single pass through the
shifter, the input can rotate from 0 to 7 positions. Barrel
shifters are useful for implementing bit extraction operations
supported in many computer instruction sets. The subsystem has
eight data inputs, D7, D6, , D0, eight data outputs, O7, O6, …,O0,
and three control inputs, S2, S1, S0. The control inputs specify
the number of positions...

A barrel shifter is a digital subsystem that can shift multiple
bits in a vectors positions at once. In a single pass through the
shifter, the input can rotate from 0 to 7 positions. Barrel
shifters are useful for implementing bit extraction operations
supported in many computer instruction sets. The subsystem has
eight data inputs, D7, D6, , D0, eight data outputs, O7, O6, …,O0,
and three control inputs, S2, S1, S0. The control inputs specify
the number of positions...

Using T-Flip-flops, design a 3-bit register/counter circuit with
bits [A2 A1 A0]. The circuit operations are described in the
following table. Show all design details, i.e., write down steps
and equations and draw the detailed circuit diagram. S2 S1 S0
Operation 0 0 0 No change 0 0 1 Rotate left 0 1 0 Rotate right 0 1
1 Reset 1 0 0 Set 1 0 1 Count down 1 1 0 Count up 1 1 1 Load
external bits...

Using the IEEE single-precision floating point representation,
find the decimal number represented by the following 32-bit
numbers, each expressed as an 8-digit hex number. Express your
answer using decimal scientific notation.
(a) (C6500000)16 (b) (31200000)16

Write a complete VHDL program that finds maximum of
three unsigned numbers using concurrent statements only. Assume
these numbers are 8 bit wide. How does your program change if these
numbers are signed?

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 15 minutes ago

asked 29 minutes ago

asked 33 minutes ago

asked 39 minutes ago

asked 52 minutes ago

asked 55 minutes ago

asked 57 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 2 hours ago