Dec-arithmetic instruction-microprocessor, Assembly Language

DEC:  Decrement :- The decrement instruction subtracts 1 from the contents of the particular memory location or register. All the conditions code flags except carry flag are affected depending on the result. Immediate data can't be operand of the instruction. The instance of this instruction are as follows:

Example :

1.  DEC        AX            Register

2.  DEC        [500OH]    Direct

Posted Date: 10/12/2012 1:21:40 AM | Location : United States







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

Write discussion on Dec-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
How can i starting with Assembly langauge?

This is a short program to practice assembly language loops and if/else statements. You will use various jump commands and the cmp instruction. The program will generate a random

Difference between div and idiv

How do i convert a asci number to numerals?

A good starting point for your program is the toupper.asm program shown in class. It already queries the user for input and sets up a loop that looks at each character of the input


Your assignment for this project is to write an assembly language program that checks if the user's input is a valid ISBN number. A sample run of your program might look like:

how to store a bulk data in a external eeprom

REP : Repeat Instruction Prefix :- This instruction is utilized as a prefix to other instructions. The instruction in which the REP prefix is provided, is executed repetitively

Entering a Program In this section, we will explain the procedure for entering a small program on IBM PC with DOS operating system. Assume a program of addition of 2 bytes, as