• Exception Handler and Assembler Variables
    Hi I am trying to catch exceptions that are causing my micro to crash (LPC2138). In the Startup.s assembly module, I have tags for: do_undefined_instruction: do_prefetch_abort: do_data_abort: ...
  • variable issue in assembler
    Hi to all Does anybody know how to assign a register value to a variable? I have declared my global variable in this way: AREA VAR, DATA, READWRITE GBLA my_var Later, in code area, I want to store...
  • Define variables in assembly file
    How do define short, byte and integer variables in the startup.s file? what are names of this directives?
  • Assembly variables form C
    I am writing a small C function which is suppose to replace the assembly function My rest code is written in assembly and the assembler (asm51) is used The data declaration is done as t33 EQU...
  • in-line assembly use variable
    Is it possible to refer a C variable inside inline asm? for example, { char abc; #pragma asm MOV A, abc; #pragma endasm } after compile, I got a error at "MOV A, abc" variable abc is not recognized...