Assume-assemblers directive-microprocessor, Assembly Language

ASSUME: Assume Logical Segment Name:-

The ASSUME directive which is used to inform the assembler, the specified names of the logical segments to be consider for different segments which is used in the program. In the assembly language program, each of thesegment is given a particular name. For instance, the code segment can be given the name CODE; data segment can be allotted the name DATA etc. The statement ASSUME CS: CODE directs the assembler that the machine codes are available in a segment named CODE, and so the CS register is to be loaded having the address (segment) allotted by operating system for the label CODE, while loading. IN the same manner, ASSUME DS : DATA denote to the assembler that the data items related to the program, are available in a logical segment named DATA, and the DS register can be initialised by the segment address value decided by the operating system for the data segment, whereas loading. It then assumed the segment DATA as a default data segment for each memory operation, that is  related to the data and the segment CODE as a source segment for the machine codes of the program. The ASSUME statement is necessary at the starting of each assembly language program, without which a message 'CODE/DATA EMITTED WITHOUT SEGMENT' may be issued by an assembler.

Posted Date: 10/12/2012 5:34:25 AM | Location : United States







Related Discussions:- Assume-assemblers directive-microprocessor, Assignment Help, Ask Question on Assume-assemblers directive-microprocessor, Get Answer, Expert's Help, Assume-assemblers directive-microprocessor Discussions

Write discussion on Assume-assemblers directive-microprocessor
Your posts are moderated
Related Questions
Problems: 1. Write a single program. Each of the problems (2-4) should be written within a procedure. Your “main” procedure should call each procedure. Before calling each proc

SUB: Subtract :- The subtract instruction subtracts the source operand from destination operand and result is left in the destination operand. Source operand might be memory locati

I need to generate a random number bby using 8086 assembly language

RET : Return from the Procedure:- At each CALL instruction, the register IP and register CS of the next instruction is pushed to stack, before the control is transferred to the

Write a MC68HC12 assembly language program to average ten 16-bit values that are stored starting at address $1100. Place the two-byte result at $1110. Use indexed addressing. Us

how we can take permission

write a program using assembly language that print your name

The processor 8088 The launching of the processor 8086 is consider as a remarkable step in the development of high speed computing machines. Before the introduction  of 8086 mo

Architecture Of 8088 The register set of 8088 is accurately the same as in to 8086. The architecture of 8088 is also same to 8086 except for 2 changes; a) 8088 has 4-byte instr

hi!im looking for someone who expert in an assembly language and help me write the programmed!Thank you