source: Deliverables/D4.1/GCC/InterruptTest.c @ 345

Last change on this file since 345 was 185, checked in by mulligan, 10 years ago

Found a way to inline SDCC ASM directly into C to test hard to reach
opcodes that the SDCC compiler hardly ever spits out.

File size: 105 bytes
1int main()
3  int i = 5;
4  __asm
5    mov r0, __i
6    add a, r0
7    mov __i, a
8  __endasm;
9  return i;
Note: See TracBrowser for help on using the repository browser.