SW500008 Microchip Technology, SW500008 Datasheet - Page 106
SW500008
Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Specifications of SW500008
Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
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
015
778-1001
778-1001
778-1001
778-1001
- Current page: 106 of 486
- Download datasheet (4Mb)
HI-TECH C Assembly Language
4.3.5.3 Location Counter
The current location within the active program section is accessible via the symbol $. This symbol
expands to the address of the currently executing instruction. Thus:
will represent code that will jump to itself and form an endless loop. By using this symbol and an
offset, a relative jump destination to be specified.
number of instructions. For example:
will skip one instruction.
4.3.5.4 Register Symbols
Code in assembly modules may gain access to the special function registers by including pre-defined
assembly header files. The appropriate file can be included by add the line:
to the assembler source file. Note that the file must be included using a C pre-processor directive and
hence the option to pre-process assembly files must be enabled when compiling, see Section 2.4.12.
This header file contains appropriate commands to ensure that the header file specific for the target
device is included into the souce file.
macros for named bits within byte registers.
4.3.5.5 Symbolic Labels
A label is symbolic alias which is assigned a value equal to its offset within the current psect.
tion may appear on a line by itself or be positioned before a statement. Here are two examples of
legitimate labels interspersed with assembly code.
92
The address represented by $ is a word address and thus any offset to this symbol represents a
These header files contain EQU declarations for all byte or multi-byte sized registers and #define
A label definition consists of any valid assembly identifier followed by a colon, :. The defini-
goto $
goto $+1
movlw 8
movwf _foo
#include <aspic18.h>
frank:
simon44:
movlw 1
goto fin
clrf _input
Macro Assembler
Related parts for SW500008
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: