Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
t-edson authored Jun 16, 2018
1 parent 18daff1 commit eeacdb9
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7LKYWG9LXNQ9C&lc=ES&item_name=Tito%20Hinostroza&item_number=2153&no_note=0&cn=Dar%20instrucciones%20especiales%20al%20vendedor%3a&no_shipping=2&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)

PicPas 0.8.7
PicPas 0.8.8
============

Multi-platform Pascal cross-compiler for Microchip 8 bits PIC microcontrollers.
Expand Down Expand Up @@ -872,12 +872,31 @@ The syntax of $SET_STATE_RAM is:
{$SET_STATE_RAM <list of commands>}
```

One valid example would be:
COmmands are separaed by commas. One command have teh syntax:

<Begin adrress>-<End address>:<state>

One valid example, for this directive, would be:

```
{$SET_STATE_RAM '000-00B:SFR'};
```

That indicates the bytes in RAM from $000 to $00B are SFR.

Addresses are expressed always in hexadecimal.

Other example are:

```
//Multiple commands in one directive
{$SET_STATE_RAM '000-00B:SFR, 00C-04F:GPR'}
//Set state for all banks
{$SET_STATE_RAM '000-00C:SFR:ALL'}
//Set state for all banks and map them to bank 0
{$SET_STATE_RAM '000-00C:SFR:ALLMAPPED'}
```

#### $SET_MAPPED_RAM

Define mapped regions of the RAM memory, for the current device.
Expand Down

0 comments on commit eeacdb9

Please sign in to comment.