Question

Give the bit pattern for the instruction LDWX 0x0124,x (pep9)

Give the bit pattern for the instruction LDWX 0x0124,x (pep9)

Homework Answers

Answer #1

First 8 bits for LDA instruction will be 1100 raaa.

from them,
First 4 bits,
Instruction specifier for LDA instruction is 1100.

For 5th bit,
if it is accumulator then 1 and if index register then 0.
Here index register X is used. So, r = 1 means 5th bit will be 1.


Other 3 bits(6, 7 and 8) represents addressing mode. x from given instruction specifies Indexed addressing mode.
For index addressing aaa = 101.
Thus,

Fisrt 8 bits will be 1100 1101

Here hexadecimal constant is 0124. Thus other bits are 0000 0001 0010 0100.

Thus, final bit pattern for LDWX 0x0124, x will be
1100 1101 0000 0001 0010 0100.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Give the bit pattern for the instruction LDWX 0x54C1,d that instruction is in Assembly Language
Give the bit pattern for the instruction LDWX 0x54C1,d that instruction is in Assembly Language
1. Give the bit pattern for the instruction STWX 0x4C1A,d
1. Give the bit pattern for the instruction STWX 0x4C1A,d
Please convert the following bit pattern to a MIPS instruction. 0000 0001 0110 0110 0100 1000...
Please convert the following bit pattern to a MIPS instruction. 0000 0001 0110 0110 0100 1000 0010 0000 1000 1101 1001 1010 0000 0000 0001 1100
Given a 12-bit IEEE floating point format with 5 exponent bits: Give the hexadecimal representation for...
Given a 12-bit IEEE floating point format with 5 exponent bits: Give the hexadecimal representation for the bit-pattern representing −∞−∞. Give the hexadecimal representation for the bit-patterns representing +0 and -1. Give the decimal value for the floating point number represented by the bit-pattern 0xcb0. Give the decimal value for largest finite positive number which can be represented? Give the decimal value for the non-zero negative floating point number having the smallest magnitude. What are the smallest and largest magnitudes...
Design an expanding opcode instruction set for a computer having 18-bit instructions and the following types...
Design an expanding opcode instruction set for a computer having 18-bit instructions and the following types of instructions. There are 16 CPU registers and 16 bit addresses a. T1: 63 instructions with three registers referenced b. T2: 15 instructions with an 8 bit constant value c. T3: 16 instructions with one register reference
write a single instruction using 16 bit operands that clears the high 8 bits of AX...
write a single instruction using 16 bit operands that clears the high 8 bits of AX and does not change the low 8 bits
3.  What is the bit pattern represented by the hexidecimal notation 6E? Answer format: two 4-bit patterns....
3.  What is the bit pattern represented by the hexidecimal notation 6E? Answer format: two 4-bit patterns. Include all leading and trailing zeros. (e.g., 1010 1010) 4.Express the following bit pattern in Hexedecimal notation: 1111 0010 1000 Answer format: for each 4-bit pattern, enter a single character. Can be either a capital letter or a digit. (e.g., AB9) 5. Suppose that a color digital photo has 512 pixels per row and 512 pixels per column, and that each pixel requires two...
Show the IEEE 754 bit pattern for the following numbers (assume excess 127): a. 1.2901318359375x10^2 b....
Show the IEEE 754 bit pattern for the following numbers (assume excess 127): a. 1.2901318359375x10^2 b. 5.517578125x10^-2
14.5. Give the name of the bit, the name of the register that it is in,...
14.5. Give the name of the bit, the name of the register that it is in, the register's address, which bit, and the default or reset state of the bit for each of the following: a-What bit indicates that the timer has overflowed? b-What bit enables the timer overflow interrupts? c-What bits are used to prescale the timer clock?
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1...
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1 pts] unsigned integer? • [1 pts] sign-magnitude integer? • [1 pts] two's complement integer? Please Explain and Show all work
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT