assembler errors


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Unhappy Re: assembler errors

    Thanx Darren, I've not changed the 16f877.bas file and i had only syntax error before the assembler errors occurred. The 16f877.bas looks the same as yours.i have changed the loop but still the same errors occur. the code is

    j var byte 'define variable j as byte type
    trisb=0 'set portb direction
    mwanzo: 'start of the main program
    j=128 'initialize counter
    again: 'start of the loop
    PORTB=j 'send the counter value to the port
    pause 250 'delay for 250ms
    if j=1 then mwanzo
    j=j>>1 'shift right once
    goto again 'repeat once again
    end

    i wonder why the same errors still persist...i need more help on this

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: assembler errors

    Could you email the .LST file after a failed compile?

    [email protected]
    DT

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts