Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Q. Explain Direct Addressing Mode with example?
Direct Addressing Mode
A direct operand signifies to contents of memory at an address referred by the name of the variable.
Mode
Description
Example
Direct
The direct operands are also calledas relocatable operands as they represent the offset of a label from the beginning of a segment. On reloading a program even in a different segment will not cause change in the offset that is why we call them relocatable. Please note that a variable is considered in Data segment (DS) and code label in code segment (SS) by default. Thus, in theexample, COUNT, bydefault will be assumed to be
in data segment, while LABEL 1, will be assumed to be in code segment. If we specify, as a direct operand then the address is non-relocatable. Please note the value of segment register will be known only at the run time.
MOV COUNT, CL
; move CL to COUNT (a
; byte variable)
MOV AL,COUNT
; move COUNT to AL
JMP LABEL1
; jump to LABEL1
MOV AX,DS:5
; segment register and
; offset
MOV BX,CSEG:2Ch
; segment name and offset
MOV AX,ES:COUNT
; Variable.
; The offsets of these
; variables are calculated
; with respect to the
; segment name (register)
; specified in the
; Instruction.
Write Quick sort non recursive program
What is an I/O Interface? Input-output interface provides a method for transferring binary information among internal storage, like memory and CPU registers, and external I/O d
In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co
What is Immediate addressing The data itself, beside the address, is given as the operand or operands of the instruction.
What are instruction hazards? The pipeline might also be stalled because of a delay in the availability of an instruction. For instance, this may be a result of a miss in the c
Q. How can data and instructions are put into the computers? The data and instructions to a computer are provided by external environment. It determines that input devices are
Likewise to arrays but is preferred over an array due to of the following reasons. 1. A collection objects uses less Memory than an array. 2. It gives methods to add and dele
Network for Digital Methods in the Arts and Humanities: Europe has seen a signifi cant investment in the digitisation of its cultural heritage as part of the worldwide establi
what is the source code
ISDN handles data pertaining to? ISDN handles data pertaining to all digital services.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd