source: Deliverables/D4.1/GCC/TCON.c @ 557

Last change on this file since 557 was 184, checked in by mulligan, 9 years ago

Found out how to directly access 8051's registers from C code. Added
file manipulates the TCON SFR. Emulator emulates it perfectly.

File size: 69 bytes
Line 
1#include "mcs51reg.h"
2
3int main()
4{
5  TCON |= 0xff;
6  return TCON;
7}
Note: See TracBrowser for help on using the repository browser.