• I need help with the error stated by the program. Yet I have placed the "END" statement
    #include <at89c51xd2.h> #include <string.h> #include <stdio.h> #include "lcd.h" #define motor1Cnt1 P0_0 #define motor1Cnt2 P0_1 #define motor2Cnt1 P0_2 #define motor2Cnt2 P0_3 #define forward1Led...
  • I need help with the error stated by the program. Yet I have placed the "END" statement
    #include <at89c51xd2.h> #include <string.h> #include <stdio.h> #include "lcd.h" #define motor1Cnt1 P0_0 #define motor1Cnt2 P0_1 #define motor2Cnt1 P0_2 #define motor2Cnt2 P0_3 #define forward1Led...
  • need some help with inline assembler (addcs)
    Hello, I want add some inline assembler in my c-code: but at the moment I get some errors. unsigned int sum=0; __asm ("adds %0, %1, %1, lsl #16 \n\ addcs %0, %0, #0x10000" : "=r" (sum...
  • Need help with simple assembly language program
    Hello, I teach Computer Architecture at the University of Washington Bothell campus. I'm teaching the ARM 7 architecture for the first time and this is the first time I'm using the uVision toolset. I...
  • need some help with inline assembler (addcs)
    Hello, I want add some inline assembler in my c-code: but at the moment I get some errors. unsigned int sum=0; __asm ("adds %0, %1, %1, lsl #16 \n\ addcs %0, %0, #0x10000" : "=r" (sum...