answersLogoWhite

0

Manual coding of 8086 is difficult hence we use a assembler or a compiler. Note that the microprocessor should be able to interpret your discussions via the program. Suppose if the instruction corresponds to word(16 bits), we use assembler directive WORD PTR, but when assembler is contacting the processor it sets a bit called 'w' indicating its a byte operation.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is the Difference Between Assembler directives and instructions of 8800 microprocessor?

Assembler directives are commands in assembly language that instruct the assembler on how to process the program, such as defining data segments or reserving memory, but they do not translate into machine code or executable instructions. In contrast, instructions of the 8800 microprocessor are actual commands that the processor executes, such as arithmetic operations or data movement. While directives guide the assembly process, instructions perform the operations that the CPU executes. Essentially, directives help in organizing and managing code, while instructions carry out the program's functionality.


What is psuedocode used for?

Assembler directives are also known as pseudocode.It is instruction to assembler regarding the program to be assembled. For example ORG 4000 is an assembler directive which tells the assembler that program is stored from location 4000.


What are the disadvantages of writing programs with 'in-line assembler' directives?

The simple answer is that the resulting program is not portable.


What do you mean by assembler directives?

For completing all the tasks, an assembler needs some hints from the programmer, i.e. the required storage for a particular constant or a variable, logical names of the segments, types of the different routines and modules, end of file, etc. These types of hints are given to the assembler using some predefined alphabetical strings called assembler directives, which help the assembler to correctly understand the assembly language programs to prepare the codes.


What do you mean by directives?

For completing all the tasks, an assembler needs some hints from the programmer, i.e. the required storage for a particular constant or a variable, logical names of the segments, types of the different routines and modules, end of file, etc. These types of hints are given to the assembler using some predefined alphabetical strings called assembler directives, which help the assembler to correctly understand the assembly language programs to prepare the codes.


What do you mean by directive?

For completing all the tasks, an assembler needs some hints from the programmer, i.e. the required storage for a particular constant or a variable, logical names of the segments, types of the different routines and modules, end of file, etc. These types of hints are given to the assembler using some predefined alphabetical strings called assembler directives, which help the assembler to correctly understand the assembly language programs to prepare the codes.


What are Different types of assembly language statements?

The three types of assembly language are: 1. Imperative: indicates an action to be performed. 2. Declaration 3. Assembler Directives


What has the author C Lorenz written?

C. Lorenz has written: 'Z80 Assembler Handbuch' -- subject(s): Assembler language (Computer program language), Programming, Zilog Z-80 (Microprocessor) 'Msdos' 'Softwarehandbuch' -- subject(s): Microcomputers, Programming


What has the author Ross P Nelson written?

Ross P. Nelson has written: 'Microsoft's 80386/80486 programming guide' -- subject(s): Assembler language (Computer program language), Intel 80386 (Microprocessor), Intel 80486 (Microprocessor), Programming


What is one pass macro processor in microprocessor?

A macro processor is software. Usually a part of a compiler or an assembler, used to program a computer.A microprocessor is hardware, one type of computer implementation.Very different things.The macro processor was first created in the 1950s and was used on large vacuum tube mainframe computers (long before the first microprocessor).


Assembler directives of 8086 microprocessor?

the question is not clear. the chip with which 8086 has to be interfaced should be mentioned. for example, interfacing 8086 and 8087( NDP) or 8086 and 8255( PPI) or 8086 and 8259( PIC) or 8086 and 8089( IOP) But to make the answer complete I would like to mention 2 references 1.Douglas Hall, "Multiprocessors and Interfacing , Programming and Hardware", Tata Mcgraw-Hill.1999, second edition. 2.John Uffenback, "8086/88 Interfacing, Programming and Design", 1987, PHI.


Can a program written in 8085 microprocessor run in 8086 microprocessor?

No. They have a different instruction set. However, the processors are sufficiently similar that an 8086 assembler could assemble an 8085 program, given appropriate constants and macros. Some things, however, such as RIM, SIM, RST, etc. do not have equivalents in the 8086.