PICAXE Memory - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

PICAXE Memory

Description:

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 ... – PowerPoint PPT presentation

Number of Views:55
Avg rating:3.0/5.0
Slides: 9
Provided by: HPAuthoriz1653
Category:
Tags: picaxe | memory | types

less

Transcript and Presenter's Notes

Title: PICAXE Memory


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 doesnt 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
Write a Comment
User Comments (0)
About PowerShow.com