MPLAB ® <strong>C30</strong> 用 户 指 南指 令 (Instruction)告 知 中 央 处 理 单 元 执 行 特 定 操 作 , 并 包 含 操 作 中 要 使 用 的 数 据 的 一 系 列 位 。指 令 集 (Instruction Set)特 定 处 理 器 理 解 的 机 器 语 言 指 令 的 集 合 。中 断 (Interrupt)发 送 到 CPU 的 信 号 , 暂 停 正 在 运 行 的 应 用 程 序 , 并 将 控 制 权 转 交 给 中 断 服 务 程 序 来 处理 事 件 。中 断 处 理 程 序 (Interrupt Handler)发 生 中 断 时 处 理 特 殊 代 码 的 子 程 序 。中 断 服 务 程 序 (Interrupt Service Routine)用 户 生 成 的 代 码 , 当 发 生 中 断 时 进 入 这 种 程 序 。 这 种 代 码 在 程 序 存 储 器 中 的 位 置 通 常取 决 于 所 发 生 中 断 的 类 型 。中 断 请 求 (Interrupt Request)处 理 器 暂 停 正 常 的 指 令 执 行 并 开 始 执 行 中 断 处 理 程 序 的 事 件 。 某 些 处 理 器 有 几 种 中 断请 求 事 件 , 允 许 具 有 不 同 的 中 断 优 先 级 。助 记 符 (Mnemonics)可 直 接 翻 译 为 机 器 代 码 的 文 本 指 令 。 也 称 为 操 作 码 。状 态 条 (Status Bar)状 态 条 位 于 MPLAB IDE 窗 口 的 底 部 , 表 明 光 标 位 置 、 开 发 模 式 和 器 件 , 以 及 有 效 工 具条 等 当 前 信 息 。字 母 数 字 (Alphanumeric)字 母 数 字 字 符 由 字 母 字 符 和 十 进 制 数 字 (0,1, …, 9) 组 成 。字 母 字 符 (Alphabetic Character)字 母 字 符 指 阿 拉 伯 字 母 (a, b, …, z, A, B, …, Z) 字 符 。DS51284C_CN 第 180 页© 2005 Microchip Technology Inc.
MPLAB ® <strong>C30</strong>用 户 指 南索 引符 号#define ..................................................................... 47#ident ....................................................................... 54#if ............................................................................. 40#include................................................... 48, 49, 79, 81#line.......................................................................... 50#pragma....................................................37, 107, 156.bss..............................................................15, 62, 107.const.............................................................61, 63, 75.data ............................................................15, 61, 107.dconst...................................................................... 62.dinit.....................................................................62, 63.nbss......................................................................... 62.ndata ....................................................................... 61.ndconst.................................................................... 62.pbss....................................................................62, 63.text ................................................. 22, 32, 61, 67, 107.tmpdata ................................................................. 158A-A.............................................................................. 47abort..................................................................21, 110address 属 性 .......................................................12, 19alias 属 性 .................................................................. 19aligned 属 性 ............................................................. 13-ansi ..............................................................23, 34, 50ANSI C, 严 格 ............................................................ 35ANSI C 标 准 ............................................................... 9ANSI C 与 MPLAB <strong>C30</strong> 的 差 别 ................................ 11ANSI 标 准 函 数 库 支 持 ................................................. 9ANSI-89 扩 展 ........................................................... 77ASCII 字 符 集 .......................................................... 161asm .............................................................13, 97, 156auto_psv 空 间 .......................................................... 31-aux-info ................................................................... 34B编 写 中 断 服 务 程 序 .................................................... 88编 写 ISR 的 要 领 ....................................................... 88编 写 ISR 的 语 法 ....................................................... 88编 译 单 个 文 件 ............................................................ 56编 译 多 个 文 件 ............................................................ 58编 译 器概 述 ..................................................................... 7命 令 行 ............................................................... 29驱 动 程 序 ............................................. 9, 29, 52, 56编 译 器 管 理 的 资 源 .................................................. 158标 量 .......................................................................... 65标 识 符 .................................................................... 103标 志 , 正 的 形 式 , 负 的 形 式 ..................................46, 53-B.........................................................................52, 55C参 数 , 函 数 ................................................................ 72常 量二 进 制 ............................................................... 28预 定 义 ............................................................... 56字 符 串 ............................................................. 155程 序 存 储 器 指 针 ........................................................ 65程 序 存 储 空 间 ............................................................ 60程 序 空 间 可 视 化 窗 口 。 参 见 PSV 窗 口 。持 久 数 据 ......................................................63, 83, 158处 理 器 头 文 件 .................................................56, 79, 81传 统 C....................................................................... 40存 储 类 别 ................................................................. 154存 储 器 .................................................................... 110存 储 区 , 快 速 访 问 ................................................... 156存 储 模 型 ........................................................... 65, 157-mconst-in-code ................................................ 65-mconst-in-data ................................................. 65-mlarge-code..................................................... 65-mlarge-data...................................................... 65-msmall-code .................................................... 65-msmall-data ..................................................... 65-msmall-scalar................................................... 65存 储 空 间 ................................................................... 64存 储 限 定 符 ............................................................. 155错 误 ........................................................................ 113错 误 控 制 选 项-pedantic-errors................................................. 35-Werror.............................................................. 39-Werror-implicit-function-declaration ................. 35-C ............................................................................. 47-c ........................................................................ 33, 51C, 与 汇 编 混 合 编 程 ................................................... 95C 堆 使 用 ................................................................... 71C 堆 栈 使 用 ............................................................... 69C 语 言 控 制 选 项 ........................................................ 34-ansi ............................................................ 23, 34-aux-info ............................................................ 34-ffreestanding .................................................... 34-fno-asm............................................................ 34-fno-builtin ......................................................... 34-fno-signed-bitfields........................................... 34-fno-unsigned-bitfields....................................... 34-fsigned-bitfields................................................ 34-funsigned-bitfields............................................ 34-fsigned-char ..................................................... 34-funsigned-char ................................................. 34-fwritable-strings........................................ 34, 158char ............................................. 14, 34, 35, 72, 74, 77COFF ............................................................7, 80, 158© 2005 Microchip Technology Inc. DS51284C_CN 第 181 页
- Page 1 and 2:
MPLAB ® C30C 编 译 器用 户
- Page 3 and 4:
MPLAB ® C30用 户 指 南目 录
- Page 5 and 6:
目 录A.9 寄 存 器 ............
- Page 7 and 8:
MPLAB ® C30用 户 指 南前 言
- Page 9 and 10:
前 言本 文 档 中 使 用 的
- Page 11 and 12:
前 言C 标 准 信 息American Na
- Page 13 and 14:
MPLAB ® C30用 户 指 南第 1
- Page 15 and 16:
编 译 器 概 述1.5 MPLAB C30
- Page 17 and 18:
第 2 章 MPLAB C30 与 ANSI C 的
- Page 19 and 20:
MPLAB C30 与 ANSI C 的 差 别ali
- Page 21 and 22:
MPLAB C30 与 ANSI C 的 差 别pac
- Page 23 and 24:
MPLAB C30 与 ANSI C 的 差 别psv
- Page 25 and 26:
MPLAB C30 与 ANSI C 的 差 别2.3
- Page 27 and 28:
MPLAB C30 与 ANSI C 的 差 别for
- Page 29 and 30:
MPLAB C30 与 ANSI C 的 差 别为
- Page 31 and 32:
MPLAB C30 与 ANSI C 的 差 别一
- Page 33 and 34:
MPLAB C30 与 ANSI C 的 差 别2.4
- Page 35 and 36:
第 3 章 使 用 MPLAB C30 C 编
- Page 37 and 38:
使 用 MPLAB C30 C 编 译 器3.5.
- Page 39 and 40:
使 用 MPLAB C30 C 编 译 器3.5.
- Page 41 and 42:
使 用 MPLAB C30 C 编 译 器3.5.
- Page 43 and 44:
使 用 MPLAB C30 C 编 译 器表
- Page 45 and 46:
使 用 MPLAB C30 C 编 译 器表
- Page 47 and 48:
使 用 MPLAB C30 C 编 译 器表
- Page 49 and 50:
使 用 MPLAB C30 C 编 译 器下
- Page 51 and 52:
使 用 MPLAB C30 C 编 译 器表
- Page 53 and 54:
使 用 MPLAB C30 C 编 译 器表
- Page 55 and 56:
使 用 MPLAB C30 C 编 译 器表
- Page 57 and 58:
使 用 MPLAB C30 C 编 译 器3.5.
- Page 59 and 60:
使 用 MPLAB C30 C 编 译 器3.5.
- Page 61 and 62:
使 用 MPLAB C30 C 编 译 器3.6
- Page 63 and 64:
使 用 MPLAB C30 C 编 译 器下
- Page 65 and 66:
第 4 章 MPLAB C30 C 编 译 器
- Page 67 and 68:
MPLAB C30 C 编 译 器 运 行 时
- Page 69 and 70:
MPLAB C30 C 编 译 器 运 行 时
- Page 71 and 72:
MPLAB C30 C 编 译 器 运 行 时
- Page 73 and 74:
MPLAB C30 C 编 译 器 运 行 时
- Page 75 and 76:
MPLAB C30 C 编 译 器 运 行 时
- Page 77 and 78:
MPLAB C30 C 编 译 器 运 行 时
- Page 79 and 80:
MPLAB C30 C 编 译 器 运 行 时
- Page 81 and 82:
MPLAB C30 C 编 译 器 运 行 时
- Page 83 and 84:
MPLAB ® C30用 户 指 南第 5
- Page 85 and 86:
MPLAB ® C30用 户 指 南第 6
- Page 87 and 88:
器 件 支 持 文 件6.5 使 用
- Page 89 and 90:
器 件 支 持 文 件6.6 使 用
- Page 91 and 92:
器 件 支 持 文 件6.7.2 使
- Page 93 and 94:
MPLAB ® C30用 户 指 南第 7
- Page 95 and 96:
中 断7.3.3 为 中 断 服 务
- Page 97 and 98:
中 断表 7-1: 中 断 向 量 (
- Page 99 and 100:
中 断7.6 中 断 响 应 时 间7
- Page 101 and 102:
第 8 章 汇 编 语 言 和 C 模
- Page 103 and 104:
汇 编 语 言 和 C 模 块 混
- Page 105 and 106:
汇 编 语 言 和 C 模 块 混
- Page 107 and 108:
MPLAB ® C30用 户 指 南附 录
- Page 109 and 110:
实 现 定 义 的 操 作A.4 标
- Page 111 and 112:
实 现 定 义 的 操 作下 表
- Page 113 and 114:
实 现 定 义 的 操 作A.14 预
- Page 115 and 116:
实 现 定 义 的 操 作A.16 信
- Page 117 and 118:
实 现 定 义 的 操 作A.23 GET
- Page 119 and 120:
附 录 B MPLAB C30 C 编 译 器
- Page 121 and 122:
MPLAB C30 C 编 译 器 诊 断ambi
- Page 123 and 124:
MPLAB C30 C 编 译 器 诊 断cast
- Page 125 and 126:
MPLAB C30 C 编 译 器 诊 断F‘
- Page 127 and 128:
MPLAB C30 C 编 译 器 诊 断init
- Page 129 and 130:
MPLAB C30 C 编 译 器 诊 断inva
- Page 131 and 132:
MPLAB C30 C 编 译 器 诊 断Nneg
- Page 133 and 134:
MPLAB C30 C 编 译 器 诊 断Rred
- Page 135 and 136: MPLAB C30 C 编 译 器 诊 断symb
- Page 137 and 138: MPLAB C30 C 编 译 器 诊 断void
- Page 139 and 140: MPLAB C30 C 编 译 器 诊 断anon
- Page 141 and 142: MPLAB C30 C 编 译 器 诊 断comp
- Page 143 and 144: MPLAB C30 C 编 译 器 诊 断dupl
- Page 145 and 146: MPLAB C30 C 编 译 器 诊 断func
- Page 147 and 148: MPLAB C30 C 编 译 器 诊 断‘i
- Page 149 and 150: MPLAB C30 C 编 译 器 诊 断libr
- Page 151 and 152: MPLAB C30 C 编 译 器 诊 断Ppar
- Page 153 and 154: MPLAB C30 C 编 译 器 诊 断shif
- Page 155 and 156: MPLAB C30 C 编 译 器 诊 断too
- Page 157 and 158: MPLAB C30 C 编 译 器 诊 断V__V
- Page 159 and 160: MPLAB ® C30用 户 指 南附 录
- Page 161 and 162: MPLAB C18 与 MPLAB C30 C 编 译
- Page 163 and 164: MPLAB C18 与 MPLAB C30 C 编 译
- Page 165 and 166: MPLAB C18 与 MPLAB C30 C 编 译
- Page 167 and 168: MPLAB ® C30用 户 指 南附 录
- Page 169 and 170: MPLAB ® C30用 户 指 南附 录
- Page 171 and 172: GNU 免 费 文 档 许 可 证您
- Page 173 and 174: GNU 免 费 文 档 许 可 证5.
- Page 175 and 176: MPLAB ® C30用 户 指 南术 语
- Page 177 and 178: 术 语 表非 实 时 (Non Real-Ti
- Page 179 and 180: 术 语 表警 告 (Warning)提 醒
- Page 181 and 182: 术 语 表MPLINK 目 标 链 接
- Page 183 and 184: 术 语 表Single Step这 一 命
- Page 185: 术 语 表未 初 始 化 数 据
- Page 189 and 190: 索 引-fno-unsigned-bitfields.....
- Page 191 and 192: 索 引-msmall-code ...............
- Page 193 and 194: 索 引-Wnested-externs............
- Page 195 and 196: 索 引注 :© 2005 Microchip Techn