answersLogoWhite

0

What else can I help you with?

Related Questions

A Explain the use of Code Segment CS and data segment DS register in 8086 microprocessor?

Code segment (CS) is a 16-bit register containing address of 64 KB segment with processor instructions. The processor uses CS segment for all accesses to instructions referenced by instruction pointer (IP) register. CS register cannot be changed directly. The CS register is automatically updated during far jump, far call and far return instructions. Data segment (DS) is a 16-bit register containing address of 64KB segment with program data. By default, the processor assumes that all data referenced by general registers (AX, BX, CX, DX) and index register (SI, DI) is located in the data segment. DS register can be changed directly using POP and LDS instructions. Code segment (CS) is a 16-bit register containing address of 64 KB segment with processor instructions. The processor uses CS segment for all accesses to instructions referenced by instruction pointer (IP) register. CS register cannot be changed directly. The CS register is automatically updated during far jump, far call and far return instructions. Data segment (DS) is a 16-bit register containing address of 64KB segment with program data. By default, the processor assumes that all data referenced by general registers (AX, BX, CX, DX) and index register (SI, DI) is located in the data segment. DS register can be changed directly using POP and LDS instructions.


Instruction cycle with indirect?

In an instruction cycle with indirect addressing, the CPU fetches the instruction, decodes it to determine the memory address of the operand stored in a register, fetches the operand from the memory location pointed to by the register, and executes the instruction using the operand. Finally, the CPU stores the result back in memory if needed. This extra step of fetching the operand based on the indirect memory address adds complexity to the instruction cycle.


What is the Difference between machine op and pseudo op?

A pseudo-op is an assembly language instruction that specifies an operation of the assembler i.e about the base register & its contents e.g. USING instruction. On the other hand, a machine-op instruction. That represents a machine instruction to the assembler e.g. BR instruction is a machine-op instruction


What is the difference between register addressing mode and register indirect addressing mode?

Ans: In the register addressing mode the operands are in registers which reside within the CPU. Register-mode instructions are 1-byte instructions and can be executed within the CPU without the need to reference memory for operands. But in the Register-indirect addressing mode the instruction specifies a register or a pair of registers in the processor whose contains give the address of the operand in memory. This mode uses 1-byte instructions even though the operand is in memory. Before using a register-indirect mode instruction, the programmer must ensure that the address of the operand is placed in the processor register with a previous transfer-type instruction. A reference to the register is then equivalent to specifying a memory address.


How would you use indirect address?

An indirect address is an address contained in a register or memory location, instead of in the instruction itself. In the 8085, the most common form is to load or calculate an address in the HL register, and then access the memory pointed to by HL using the M register designation, such as MOV A,M.


Write a code segment to find the square of a byte available in register AL using XLAT instruction microprocessor?

The XLAT instruction is used to translate a byte in the AL register using a lookup table pointed to by the BX register (or SI in some modes). However, XLAT itself does not perform arithmetic operations like squaring. To find the square of a byte in AL, you can simply multiply it by itself using the MUL instruction. Here’s a code segment for that: mov bl, al ; Store original value in BL mul bl ; AL = AL * BL (square of AL) This code multiplies the value in AL by itself, storing the result back in AL.


Ignou bca 4 semester cs-64 assignment answers?

What is the need of segments in 8086 micro-processor? Explain how the address of an instruction is calculated in 8086 using segment register


What is an absolute instruction?

An absolute instruction is an assembly language instruction using only absolute addresses.


How has advertising changed over the years?

Advertising has changed because it is more social now. Businesses have more information about their customers and they are using it to advertise directly to specific groups.


What is a sentence using the word instruction?

You should read each instruction carefully.


How does push work on registers and variables?

The PUSH instruction decrements the stack pointer by the size of the operand and then stores its operand at the memory address pointed to by the stack pointer. This leaves the stack pointer always pointing to the last element pushed onto the stack.The POP instruction reverses the sequence, retrieving the operand first, and then incrementing the stack pointer by the size of the operand.Also, PUSH and POP do not work on variables - they only work on register values. You can pop/push a variable, however, by using a register and then storing/retrieving the register to/from memory.


What is the use of the extra segment in a 8086 processor?

extra segment is a 16-bit register containing address of 64KB segment, usually with program data. By default, the processor assumes that the DI register points to the ES segment in string manipulation instructions. ES register can be changed directly using POP and LES instructions. It is possible to change default segments used by general and index registers by prefixing instructions with a CS, SS, DS or ES prefix. any corrections most welcome