This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

syntax error

#include<stdio.h>
#include<reg51.h>
void main ()
{ int i;
p1=0x0FF;
while(1)
{ for (i=0;i<10000;i++);
p1=0x0FF;
for (i=0;i<10000;i++);
P1=0x00;
} }

Build target 'Target 1'
assembling blink.asm...
C:\KEIL\C51\INC\STDIO.H(22): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(26): error A68: UNKNOWN CONTROL OR BAD ARGUMENT(S)
C:\KEIL\C51\INC\STDIO.H(27): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(28): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(29): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(30): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(31): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(32): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(33): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(34): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(35): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(36): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(37): error A9: SYNTAX ERROR
C:\KEIL\C51\INC\STDIO.H(38): error A9: SYNTAX ERROR
blink.asm(2): error A9: SYNTAX ERROR
blink.asm(3): error A9: SYNTAX ERROR
blink.asm(4): error A9: SYNTAX ERROR
blink.asm(5): error A9: SYNTAX ERROR
blink.asm(6): error A9: SYNTAX ERROR
blink.asm(7): error A9: SYNTAX ERROR
blink.asm(8): error A9: SYNTAX ERROR
blink.asm(9): error A9: SYNTAX ERROR
blink.asm(10): error A9: SYNTAX ERROR
blink.asm(11): error A9: SYNTAX ERROR
blink.asm(12): error A9: SYNTAX ERROR
blink.asm(12): warning A41: MISSING 'END' STATEMENT
Target not created

how to resolve this

Parents
  • This poster is in output-only mode.

    He/she doesn't read the compiler/assembler messages.
    He/she doesn't read posting instructions.
    He/she doesn't read comments from other posters.

    Posters in output-only mode can seldom be helped, since they will so seldom switch to read/write mode and notice what people suggests.

    And Keil's forum seems to throw in a hint too - the captcha was 911.

Reply
  • This poster is in output-only mode.

    He/she doesn't read the compiler/assembler messages.
    He/she doesn't read posting instructions.
    He/she doesn't read comments from other posters.

    Posters in output-only mode can seldom be helped, since they will so seldom switch to read/write mode and notice what people suggests.

    And Keil's forum seems to throw in a hint too - the captcha was 911.

Children
No data