Connect with us

c129 error in embedded c program using kiel version plz solve this error in first line itself

Discussion in 'Microcontrollers, Programming and IoT' started by manjunath reddy g s, May 12, 2018.

  1. manjunath reddy g s

    manjunath reddy g s

    1
    0
    May 12, 2018
    ORG 00H
    MOV p1,#11111111B
    MOV p0,#00000000B
    MOV p3,#00000000B
    MOV DPTR,#LABEL
    MAIN: MOV R4,#250D
    CLR p3.7
    SETB p3.6
    CLR p3.5
    SETB p3.5
    WAIT: JB p3.4,WAIT
    CLR p3.7
    CLR p3.6
    MOV A,p1
    MOV B,#10D
    DIV A,B
    MOV R6,A
    MOV R7,B
    DLOOP: SETB p3.2
    MOV A,R6
    ACALL DISPLAY
    MOV p0,A
    ACALL DELAY
    CLR A
    MOV A,R7
    CLRp3.2
    SETB p3.1
    ACALL DISPLAY
    MOV p0,A
    ACALL DELAY
    CLR A
    CLR p3.1
    DJNZ R4,DLOOP
    SJMP MAIN
    DELAY: MOV R3,#255D
    LABEL1: DJNZ R3,LABEL1
    RET
    DISPLAY: MOVC A,@+DPTR
    RET
    LABEL: DB 3FH
    DB 06H
    DB 5BH
    DB 4FH
    DB 66H
    DB 6DH
    DB 7DH
    DB 07H
    DB 7FH
    DB 6FH
    END
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    9,368
    1,903
    Nov 17, 2011
    #1 This is not C but assembler
    #2 For which processor?
    #3 Keil says this, for example.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-