ATMEL 89C51 PROGRAMMING need ur help

Thread Starter

arikrishnan

Joined Mar 7, 2007
5
sir,


for programming we use "h" to refer hexadecimal number.for example

MOV R2,#0FFH .

similarlly what is used 2 refer decimal number.? is it necessary to initialise the use of decimal in ATMEL89C51 programming.

MOV R3,#00D

what is the meaning of the D used in above programme.

please reply as soon as possible

please reply to my mail id arikrishnan_t@yahoo.com
 

Papabravo

Joined Feb 24, 2006
13,924
If the assembler supports it, the "D" stands for decimal. Decimal is the default radix in most assemblers which is why the suffix H is required. Assemblers often have a "radix" pseudo operation to change the default radix. Which assembler are you using?
 

Thread Starter

arikrishnan

Joined Mar 7, 2007
5
If the assembler supports it, the "D" stands for decimal. Decimal is the default radix in most assemblers which is why the suffix H is required. Assemblers often have a "radix" pseudo operation to change the default radix. Which assembler are you using?
thanks 4 ur reply. did the ATMEL89C51 microcontroller accepts this type of code ("d" for decimal). do u have any sample programme for the same type . please send me
 
Top