Inc-arithmetic instruction-microprocessor, Assembly Language

INC: Increment: - This instruction increments the contents of the particular memory or register location by the value 1. All the condition code flags are affected except the carry flag CF. This instruction adds the value 1 to the contents of the operand. The immediate data can't be operand of this instruction. The instance of this instruction is as follows:

Example :

1. INC         AX           Register

2. INC         [BX]         Register indirect

3. INC         [5000H]    Direct

 

Posted Date: 10/12/2012 1:18:33 AM | Location : United States







Related Discussions:- Inc-arithmetic instruction-microprocessor, Assignment Help, Ask Question on Inc-arithmetic instruction-microprocessor, Get Answer, Expert's Help, Inc-arithmetic instruction-microprocessor Discussions

Write discussion on Inc-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
This unit introduces the topic of evaluating interactive products. It is a short unit as evaluation is discussed in more detail in Block 4. Its brevity should give you additional t

8279 Keyword /Display Controller : Figure shows the structure of 8279 and its interface to the bus. Addressing is according to the table given below. CS        RD

Assume that the registers are initialized to EAX=12345h,EBX =9528h ECX=1275h,EDX=3001h sub AH,AH sub DH,DH mov DL,AL mov CL,3 shl DX,CL shl AX,1 add DX,AX

Multiply two numbers by using shift and rotate instruction

The definitions of the bits in ICWI are following: Always set to the value 1. It directs the received byte to ICWI as oppose to OCW2 or OCW3. Which also utilize the even addr

assembly language program to find larges number in an array

I need to estimate the value of a definite integral using Riemann Sums and For our estimation let f(x) = x2 ,a=0, b=10 and n=5. Where a is the lower bound, b is the upper bound and

init_lcd                        ;(this initialises a 2 row lcd)     bcf     TRISA,0             ;PORTA bit 0 as an output (lcd RS pin)     bcf     TRISA,1             ;PORTA bit 1

Ask question #MinimuWHAT ARE CONSTANTS AND WHAT DO THEY DO?m 100 words accepted#

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?