C51 Uvision: Keil

| Action | Shortcut | |--------|----------| | Build | F7 | | Start/Stop Debug | Ctrl+F5 | | Step Over | F10 | | Step Into | F11 | | Toggle Breakpoint | F9 |

void delay_ms(unsigned int ms) unsigned int i, j; for(i = 0; i < ms; i++) for(j = 0; j < 123; j++); // Approx 1ms at 12MHz keil c51 uvision

void main(void) while(1) LED = 0; // Turn LED ON (active low assumed) delay_ms(500); LED = 1; // Turn LED OFF delay_ms(500); | Action | Shortcut | |--------|----------| | Build

Embedded Systems Development using Keil μVision IDE for the 8051 Microcontroller (C51) for(i = 0

| Memory Type | Description | Example | |-------------|-------------|---------| | code | Read-only program memory (ROM) | const char code table[] = 1,2,3; | | data | Directly addressable internal RAM (0-0x7F) | unsigned char data var; | | idata | Indirectly addressable internal RAM (0-0xFF) | char idata buf[50]; | | xdata | External RAM (up to 64KB) | int xdata large_array[1000]; | | bdata | Bit-addressable internal RAM (0x20-0x2F) | char bdata flags; sbit flag0 = flags^0; |

keil c51 uvisionkeil c51 uvision
18+
We use cookies to provide the best experience for you on xHamster
If you choose "Accept", we will also use cookies and data to:
  • Show personalized content
  • Show recommended videos, based on your activity
  • Save and show your likes and watch history
If you choose "Reject", we will not use cookies for these additional purposes.
To customize your cookie preferences, visit the Manage cookies section. We may also use third-party cookies. For more details about our policies, review Cookie Policy and Privacy Policy.
xHamster is adults only website Available content may contain pornographic materials. By continuing to xHamster you confirm that you are 18 or older. Read more about how to protect your minors
RTA Restricted To Adults