• For loop
    can i use the for loop like this in accessing the 2-d array. for(u=0;u<=4;u++) { for(v=v1;;) { arr[u][v] += 1; } } bcos in the second for loop i want to do the increment in some other...
  • MOV a,a error
    why does mov a,a show an error but mov b,b doesnt give any error?
  • MOV in ASM
    if my ASM code is previously coded to run for 256Byte internal RAM of MCU (use MOV instruction) and i now need to change to external 2Kbyte RAM (use MOVX), then should i change R7 to R7:R6 because R7...
  • MOV RO
    As a part of an "In application programming" I am using the following assembler code: #pragma asm MOV R0,#14 //OSC frec MOV R1,#02H //PROGRAM DATA BYTE #pragma endasm I can't find the way of...
  • the call to delay subroutine results infinite loop
    I'm using keil uvision 4 and learning programming for AT89s52 , I'm using 12MHZ frequency. I had written a subroutine for a delay of 10 micro sec which is in another file called DELAY.ASM and made...