| ??? 08/10/04 23:44 Read: times |
#75712 - Reply to off-topic comments... Responding to: ???'s previous message |
I'll consider whether or not to purchase the Keil compiler. I do like the IDE very much.
Please, these off topic comments are not helpful! I would love to have put the eval. version through a series of test programs for the purpose of "getting the feel" of it's nuances. Even the following compiles, simulates, but won't run:
/*------------------------------------
| Port8_9.c
| Port 1 output test
======================================
| Turn output pins high then low on P1
| with to enable viewing LEDs
| as indicators and provide o-scope
| pattern.
|-------------------------------------
| 8/9/04 Marty McLeod
| Compiled in Keil v7 uVision2 IDE
| Output: Port8_9.HEX
--------------------------------------*/
#include <reg51u2.h>
/* Begin main */
void main(void)
{
SP = 0x40; //Set stack pointer location
P1 = 0x00; //Port 1 is OUTPUT
while(1)
{
P1 = 0xff;
P1 = 0x00;
}
}//main()
/** END OF FILE **/
|
| Topic | Author | Date |
| ASM works not C PART 2: LCALL vs. ACALL | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. ACALL | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. ACALL | 01/01/70 00:00 | |
| eval | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. AC | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. AC | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. AC | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. AC | 01/01/70 00:00 | |
| RE: ASM works not C PART 2: LCALL vs. AC | 01/01/70 00:00 | |
| \ | 01/01/70 00:00 | |
| RE: \ | 01/01/70 00:00 | |
| RE: \ | 01/01/70 00:00 | |
| Reply to off-topic comments... | 01/01/70 00:00 | |
| RE: Reply to off-topic comments... | 01/01/70 00:00 | |
| RE: Reply to off-topic comments... | 01/01/70 00:00 | |
| Hardware bug? | 01/01/70 00:00 | |
| Testing C program results... | 01/01/70 00:00 | |
| RE: Testing C program results... | 01/01/70 00:00 | |
| RE: Testing C program results... | 01/01/70 00:00 | |
The Next Step... | 01/01/70 00:00 |



