1 / 8

PICAXE Memory

PICAXE Memory. Three Types. Program RAM Data. Program Memory. Stores the program as a series of commands Executed one command at a time Permanent, will remember for 10 years without power Accessed with the PICAXE Editor The program doesn’t normally store data here. Random Access Memory.

Download Presentation

PICAXE Memory

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PICAXE Memory

  2. Three Types • Program • RAM • Data

  3. Program Memory • Stores the program as a series of commands • Executed one command at a time • Permanent, will remember for 10 years without power • Accessed with the PICAXE Editor • The program doesn’t normally store data here

  4. Random Access Memory • Divided into bytes (B0 to B27) • Each byte is 8 bits wide (each stores up to 255) • Can be accessed in different sizes • Accessed by the program • Battery operated, lose power – lose data • Used for math and to access the outside world

  5. Data • 256 bytes of memory for storing data • Each byte has an address, 0 - 255 • Permanent, will remember for ten years without power • Accessed by the program

  6. Accessing RAM • If B1 = 2 • B2 = 2 • B3 = “a” • READADC C.1,B4

  7. Accessing Data • WRITE 12,200 • WRITE B0,201 • WRITE “A”,202 • READ 200,B0

  8. PICAXE Memory Map

More Related