​ ​ ​ ​ PICaxe 18M WJEC Assembler
Results 1 to 4 of 4

Thread: PICaxe 18M WJEC Assembler

  1. #1

    Default PICaxe 18M WJEC Assembler

    A sample program shows a delay instruction.

    Is that in a header file that gets included when you choose 18M WJEC Assembler in devices?

    Are there other handy features there too?
    Last edited by So Cal Technologies; 08-05-2018 at 01:21.

  2. #2
    Technical Support
    Join Date
    Jan 1970
    Location
    UK
    Posts
    24,308

    Default

    Effectively, but it's all handled behind the scenes by the compiler itself and there is not a header file as such. The following page details what instructions, predefined constants and 'assumed subroutines' are available for WJEC Assembler -

    http://www.picaxe.com/WJEC-Assembler-Getting-Started

    By the way; the WJEC assembler is for the 18M2 only, not the earlier 18M.

  3. #3

    Default

    Thank you.

    Okay.Best thing to do a project and learn about WJEC assembler and PICaxe 18M2 along the way.

    Let you know when I get to that point.

    Thank you again Hippy.

  4. #4
    Technical Support
    Join Date
    Jan 1970
    Location
    UK
    Posts
    24,308

    Default

    In my opinion there is not much usefulness in learning or using WJEC assembler unless one is undertaking a course of study which requires it. It is rather limited in its utility and not the best choice for programming a PICAXE for a real project.

    You would be better off learning PICAXE Basic or coding with Flowcharts or Blockly. You may also find it better to choose a 20M2 or 14M2 rather than the 18M2 because ports and pins are somewhat better placed for those chips. A 20X2 is a drop-in replacement for the 20M2 if higher execution speed is required.

Bookmarks

Posting Permissions

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