• How to define a macro function
    hi,     I want to ask a question.      How to define a macro function that can be called by C language in armasm?      I know that in GNU can be used in the following way: .macro push_x1_x12 push x1,x2...
  • User defined functions in uVision3
    Has anyone ever seen an authoritative document on using debug functions in uVision3? It could be a powerful tool if I knew how to use it, but what little information I have come across is scattered across...
  • User-defined function in uVision5
    Hi everyone, I have an assembly code that I want to run in uVision4. The .a51 code is as follows: MOV A, #002H MOV R0, #040H MOV 040H, #001H XCH A, @R0 MOV R0, #050H MOV 050H, #0F0H...
  • Keil, Instrinis function defination
    I am using AT89C55WD, 40 pin DIP, in one of my project. I have connected 12Mhz crystal. It is 8051 variant. So inst time is 1us. Using Keil v4.72.9.0 & C compiler V9.50.0.0 I am programming in...
  • Define act as function?
    I've been using defines as fucntions like this: sbit DRIVE_PIN05 = P1^3; #define DRIVE_PIN05_HIGH (P1MDOUT |= 0x08);(DRIVE_PIN05 = 0) #define DRIVE_PIN05_LOW (P1MDOUT |= 0x08);(DRIVE_PIN05 ...