SW500007 Microchip Technology, SW500007 Datasheet - Page 120

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
HI-TECH C Assembly Language
will expand to
4.3.8.23 IRP and IRPC
The IRP and IRPC directives operate similarly to REPT, however instead of repeating the block a
fixed number of times, it is repeated once for each member of an argument list. In the case of IRP
the list is a conventional macro argument list, in the case or IRPC it is each character in one argument.
For each repetition the argument is substituted for one formal parameter.
would expand to:
Note that you can use local labels and angle brackets in the same manner as with conventional
macros.
space characters.
106
For example:
The IRPC directive is similar, except it substitutes one character at a time from a string of non-
For example:
REPT 3
addwf fred,w
ENDM
addwf fred,w
addwf fred,w
addwf fred,w
PSECT idata_0
ENDM
PSECT text0
PSECT idata_0
PSECT text0
PSECT romdata,class=CODE,delta=2
ENDM
PSECT text
IRP number,4865h,6C6Ch,6F00h
DW number
DW 4865h
DW 6C6Ch
DW 6F00h
IRPC char,ABC
DB ’char’
Macro Assembler

Related parts for SW500007