Part Number Hot Search : 
RA0085B 016M48RL FSB5025 D2374A A0100 SC942120 CN2450 7700801
Product Description
Full Text Search
 

To Download AS17934 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  AS17934 pc-9800 series (ms-dos tm ) base ibm pc/at tm (pc dos tm ) base document no. u11733ej2v0um00 (2nd edition) date published november 1999 n cp(k) printed in japan device file target device: m pd17933 m pd17934 m pd17933a m pd17934a 1996 user? manual printed in japan
2 users manual u11733ej2v0um00 [memo]
3 users manual u11733ej2v0um00 emlc-17k and simplehost are trademarks of nec corporation. ms-dos and windows are either registered trademarks or trademarks of microsoft corporation in the united states and/or other countries. pc dos and pc/at are trademarks of ibm corporation. the information in this document is subject to change without notice. before using this document, please confirm that this is the latest version. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec corporation. nec corporation assumes no responsibility for any errors which may appear in this document. nec corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. no license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec corporation or of others. descriptions of circuits, software, and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software, and information in the design of the customer's equipment shall be done under the full responsibility of the customer. nec corporation assumes no responsibility for any losses incurred by the customer or third parties arising from the use of these circuits, software, and information. m7a 98.8
4 users manual u11733ej2v0um00 nec electronics inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 fax: 408-588-6130 800-729-9288 nec electronics (germany) gmbh duesseldorf, germany tel: 0211-65 03 02 fax: 0211-65 03 490 nec electronics (uk) ltd. milton keynes, uk tel: 01908-691-133 fax: 01908-670-290 nec electronics italiana s.r.l. milano, italy tel: 02-66 75 41 fax: 02-66 75 42 99 nec electronics hong kong ltd. hong kong tel: 2886-9318 fax: 2886-9022/9044 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-528-0303 fax: 02-528-4411 nec electronics singapore pte. ltd. united square, singapore 1130 tel: 65-253-8311 fax: 65-250-3583 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 fax: 02-2719-5951 nec do brasil s.a. electron devices division rodovia presidente dutra, km 214 07210-902-guarulhos-sp brasil tel: 55-11-6465-6810 fax: 55-11-6465-6829 nec electronics (germany) gmbh benelux office eindhoven, the netherlands tel: 040-2445845 fax: 040-2444580 nec electronics (france) s.a. velizy-villacoublay, france tel: 01-30-67 58 00 fax: 01-30-67 58 99 nec electronics (france) s.a. spain office madrid, spain tel: 91-504-2787 fax: 91-504-2860 nec electronics (germany) gmbh scandinavia office taeby, sweden tel: 08-63 80 820 fax: 08-63 80 388 regional information some information contained in this document may vary from country to country. before using any nec product in your application, please contact the nec office in your country to obtain a list of authorized representatives and distributors. they will verify: ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. j99.1
5 users manual u11733ej2v0um00 major revisions in this edition page description throughout target devices added: m pd17933a, 17934a p.7 [file list in AS17934] file names added: d17933a.dev, d17934a.dev the mark shows major revised points.
6 users manual u11733ej2v0um00 [memo]
7 users manual u11733ej2v0um00 introduction device files are files that store unique data (device data) dependent upon the 17k series devices. this information is required when using the following 17k series software development tools. ? ra17k assembler package ? simplehost tm ? emlc-17k tm the following device files are contained in AS17934. ? m pd17933 device files ? m pd17934 device files ? m pd17433a device file ? m pd17434a device file in each device file the file extension is .dev. [file list in AS17934] device file file name target device AS17934 d17933.dev m pd17933 d17934.dev m pd17934 d17933a.dev m pd17933a note d17934a.dev m pd17934a note note under development for details of the ra17k assembler package and the use of device files contained in the m pd17933, 17934, 17933a, and 17934a, see the ra17k assembler package users manual (u10305e) .
8 users manual u11733ej2v0um00 [memo]
9 users manual u11733ej2v0um00 contents chapter 1 device data ................................................................................................................ 11 chapter 2 instruction set ........................................................................................................ 13 2.1 instruction set summary ................................................................................................... 13 2.2 legend ............................................................................................................................... ... 14 2.3 instruction list ................................................................................................................... 15 2.4 macro instructions bundled with assembler (ra17k) .................................................. 17 chapter 3 reserved symbols ................................................................................................. 19 3.1 data buffer (dbf) ................................................................................................................ 20 3.2 system register (sysreg) ............................................................................................... 20 3.3 lcd segment register ....................................................................................................... 21 3.4 port register ........................................................................................................................ 22 3.5 register file (control register) ........................................................................................ 23 3.6 peripheral hardware register ........................................................................................... 25 3.7 others ............................................................................................................................... .... 25 3.8 list of reserved words (in alphabetical order) ............................................................ 26 3.8.1 instructions and directives ........................................................................................................ 26 3.8.2 registers and flags ................................................................................................................... 27 chapter 4 load module file format .................................................................................... 29
10 users manual u11733ej2v0um00 [memo]
chapter 1 device data during assembly, the device files provide the following data related to the device. (1) program memory (rom) capacity m pd17933, 17933a: 6144 16 bits (0000h to 2fffh) m pd17934, 17934a: 8192 16 bits (0000h to 3fffh) (2) data memory (ram) capacity 448 4 bits (bank0 to bank3) (3) usable instructions see chapter 2 instruction set. (4) register file, port register, and peripheral register read and write data see chapter 3 reserved symbols. (5) reserved symbols see chapter 3 reserved symbols. (6) device files, device numbers, and se board numbers device files register a device number for each device and a se board number to indicate the best se board for developing various products. these device files are also included in ice files and pro files output by the ra17k assembler package. these device files are used when the in-circuit emulator checks the development environment and during mask order checking. table 1-1. relations among device files, device numbers, and se board numbers device file device name device number se board number se board AS17934 m pd17933, 17933a 5a 59 se-17934 m pd17934, 17934a 59 11 users manual u11733ej2v0um00
[memo] 12 users manual u11733ej2v0um00
chapter 2 instruction set 2.1 instruction set summary b 15 b 14 - b 11 01 bin hex 0000 0 add r, m add m, #n4 0001 1 sub r, m sub m, #n4 0010 2 addc r, m addc m, #n4 0011 3 subc r, m subc m, #n4 0100 4 and r, m and m, #n4 0101 5 xor r, m xor m, #n4 0110 6 or r, m or m, #n4 0111 7 inc ar inc ix rorc r movt dbf, @ar push ar pop ar get dbf, p put p, dbf peek wr, rf poke rf, wr br @ar call @ar ret retsk reti ei di stop s halt h nop 1000 8 ld r,m st m, r 1001 9 ske m, #n4 skge m, #n4 1010 a mov @r,m mov m, @r 1011 b skne m, #n4 sklt m, #n4 1100 c br addr (page 0) call addr (page 0) 1101 d br addr (page 1) mov m, #n4 1110 e skt m, #n 1111 f skf m, #n 13 users manual u11733ej2v0um00
14 chapter 2 instruction set users manual u11733ej2v0um00 2.2 legend ar : address register asr : address stack register indicated by stack pointers addr : program memory address (low-order 11 bits) bank : bank register cmp : compare flag cy : carry flag dbf : data buffer h : halt release conditions intef : interrupt enable flag intr : register that is automatically saved to a stack when an interrupt occurs intsk : interrupt stack register ix : index register mp : data memory row address pointer mpe : memory pointer enable flag m : data memory address indicated by m r and m c m r : data memory row address (high) m c : data memory column address (low) n : bit position (4 bits) n4 : immediate data (4 bits) page : page (bit 11 of program counter) pc : program counter p : peripheral address p h : peripheral address (high-order 3 bits) p l : peripheral address (low-order 4 bits) r : general register column address rf : register file address rf r : register file row address (high-order 3 bits) rf c : register file column address (low-order 4 bits) sp : stack pointer s : stop release conditions wr : window register ( ): indicates addressed contents
15 chapter 2 instruction set users manual u11733ej2v0um00 2.3 instruction list instruction set mnemonic operand operation instruction code op code operand add r, m (r) ? (r) + (m) 00000 m r m c r m, #n4 (m) ? (m) + n4 10000 m r m c n4 addc r, m (r) ? (r) + (m) + cy 00010 m r m c r m, #n4 (m) ? (m) + n4 + cy 10010 m r m c n4 inc ar ar ? ar + 1 00111 000 1001 0000 ix ix ? ix + 1 00111 000 1000 0000 sub r, m (r) ? (r) C (m) 00001 m r m c r m, #n4 (m) ? (m) C n4 10001 m r m c n4 subc r, m (r) ? (r) C (m) C cy 00011 m r m c r m, #n4 (m) ? (m) C n4 C cy 10011 m r m c n4 or r, m (r) ? (r) (m) 00110 m r m c r m, #n4 (m) ? (m) n4 10110 m r m c n4 and r, m (r) ? (r) (m) 00100 m r m c r m, #n4 (m) ? (m) n4 10100 m r m c n4 xor r, m (r) ? (r) (m) 00101 m r m c r m, #n4 (m) ? (m) n4 10101 m r m c n4 skt m, #n cmp ? 0, if (m) n = n, then skip 11110 m r m c n skf m, #n cmp ? 0, if (m) n = 0, then skip 11111 m r m c n ske m, #n4 (m) C n4, skip if zero 01001 m r m c n4 skne m, #n4 (m) C n4, skip if not zero 01011 m r m c n4 skge m, #n4 (m) C n4, skip if not borrow 11001 m r m c n4 sklt m, #n4 (m) C n4, skip if borrow 11011 m r m c n4 rorc r ? cy ? (r) b3 ? (r) b2 ? (r) b1 ? (r) b0 00111 000 0111 r ld r, m (r) ? (m) 01000 m r m c r st m, r (m) ? (r) 11000 m r m c r mov @r, m if mpe = 1 : (mp, (r)) ? (m) 01010 m r m c r if mpe = 0 : (bank, m r , (r)) ? (m) m, @r if mpe = 1 : (m) ? (mp, (r) ) 11010 m r m c r if mpe = 0 : (m) ? (bank, m r , (r)) m, #n4 (m) ? n4 11101 m r m c n4 movt dbf, @ar sp ? spC1, asr ? pc, pc ? ar, 00111 000 0001 0000 dbf ? (pc), pc ? asr, sp ? sp + 1 push ar sp ? sp C1, asr ? ar 00111 000 1101 0000 pop ar ar ? asr, sp ? sp + 1 00111 000 1100 0000 get dbf, p dbf ? (p) 00111 p h 1011 p l put p, dbf (p) ? dbf 00111 p h 1010 p l peek wr, rf wr ? (rf) 00111 rf r 0011 rf c poke rf, wr (rf) ? wr 00111 rf r 0010 rf c addition logical operation subtraction decision comparison transfer rotation
16 chapter 2 instruction set users manual u11733ej2v0um00 instruction set mnemonic operand operation instruction code op code operand branch br addr pc 10-0 ? addr, page ? 0 01100 addr pc 10-0 ? addr, page ? 1 01101 @ar pc ? ar 00111 000 0100 0000 subroutine call addr sp ? sp C 1, asr ? pc 11100 addr pc 11 ? 0, pc 10-0 ? addr @ar sp ? sp C 1, asr ? pc 00111 000 0101 0000 pc ? ar ret pc ? asr, sp ? sp + 1 00111 000 1110 0000 retsk pc ? asr, sp ? sp + 1 and skip 00111 001 1110 0000 reti pc ? asr, intr ? intsk, sp ? sp + 1 00111 010 1110 0000 interrupt ei intef ? 1 00111 000 1111 0000 di intef ? 0 00111 001 1111 0000 others stop s stop 00111 010 1111 s halt h halt 00111 011 1111 h nop no operation 00111 100 1111 0000
17 chapter 2 instruction set users manual u11733ej2v0um00 2.4 macro instructions bundled with assembler (ra17k) legend flag n : flg-type symbol n : bit no. < > : contents between < > symbols can be omitted. mnemonic operand operation n bundled sktn flag 1, flag n if (flag 1) to (flag n) = all 1, then skip 1 n 4 macros skfn flag 1, flag n if (flag 1) to (flag n) = all 0, then skip 1 n 4 setn flag 1, flag n (flag 1) to (flag n) ? 11 n 4 clrn flag 1, flag n (flag 1) to (flag n) ? 01 n 4 notn flag 1, flag n if (flag n) = 0, then (flag n) ? 11 n 4 if (flag n) = 1, then (flag n) ? 0 initflg flag 1, if description = not flag n, then (flag n) ? 01 n 4 < flag n> if description = flag n, then (flag n) ? 1 bankn (bank) ? n0 n 15 extended brx label jump label C instruction callx function-name call sub-routine C syscalx function-name or call system sub-routine C expression initflgx flag 1, if description = not (or inv) n 4 flag n flag, (flag) ? 0 if description = flag, (flag) ? 1
[memo] 18 users manual u11733ej2v0um00
chapter 3 reserved symbols the symbols defined for the m pd17933, 17933a, 17934, and 17934a are described on the following pages. these symbols are listed below. ? data buffer (dbf) ? system register (sysreg) ? lcd segment register ? port register ? register file (control register) ? peripheral hardware register ? others 19 users manual u11733ej2v0um00
20 chapter 3 reserved symbols users manual u11733ej2v0um00 3.1 data buffer (dbf) symbol name attribute value r/w description dbf3 mem 0.0ch r/w dbf bits 15 to 12 dbf2 mem 0.0dh r/w dbf bits 11 to 8 dbf1 mem 0.0eh r/w dbf bits 7 to 4 dbf0 mem 0.0fh r/w dbf bits 3 to 0 3.2 system register (sysreg) symbol name attribute value r/w description ar3 mem 0.74h r/w address register bits 15 to 12 ar2 mem 0.75h r/w address register bits 11 to 8 ar1 mem 0.76h r/w address register bits 7 to 4 ar0 mem 0.77h r/w address register bits 3 to 0 wr mem 0.78h r/w window register bank mem 0.79h r/w bank register ixh mem 0.7ah r/w index register bits 10 to 8 mph mem 0.7ah r/w memory pointer bits 6 to 4 mpe flg 0.7ah.3 r/w memory pointer enable flag ixm mem 0.7bh r/w index register bits 7 to 4 mpl mem 0.7bh r/w memory pointer bits 3 to 0 ixl mem 0.7ch r/w index register bits 3 to 0 rph mem 0.7dh r/w general register pointer bits 6 to 3 rpl mem 0.7eh r/w general register pointer bits 2 to 0 bcd flg 0.7eh.0 r/w bcd operation flag psw mem 0.7fh r/w program status word cmp flg 0.7fh.3 r/w compare flag cy flg 0.7fh.2 r/w carry flag z flg 0.7fh.1 r/w zero flag ixe flg 0.7fh.0 r/w index enable flag
21 chapter 3 reserved symbols users manual u11733ej2v0um00 3.3 lcd segment register symbol name attribute value r/w description lcdd19 mem 14.5ch r/w lcd segment register lcdd18 mem 14.5dh r/w lcd segment register lcdd17 mem 14.5eh r/w lcd segment register lcdd16 mem 14.5fh r/w lcd segment register lcdd15 mem 14.60h r/w lcd segment register lcdd14 mem 14.61h r/w lcd segment register lcdd13 mem 14.62h r/w lcd segment register lcdd12 mem 14.63h r/w lcd segment register lcdd11 mem 14.64h r/w lcd segment register lcdd10 mem 14.65h r/w lcd segment register lcdd9 mem 14.66h r/w lcd segment register lcdd8 mem 14.67h r/w lcd segment register lcdd7 mem 14.68h r/w lcd segment register lcdd6 mem 14.69h r/w lcd segment register lcdd5 mem 14.6ah r/w lcd segment register lcdd4 mem 14.6bh r/w lcd segment register lcdd3 mem 14.6ch r/w lcd segment register lcdd2 mem 14.6dh r/w lcd segment register lcdd1 mem 14.6eh r/w lcd segment register lcdd0 mem 14.6fh r/w lcd segment register
22 chapter 3 reserved symbols users manual u11733ej2v0um00 3.4 port register symbol name attribute value r/w description p0a1 flg 0.70h.1 r/w port 0a bit 1 p0a0 flg 0.70h.0 r/w port 0a bit 0 p0b3 flg 0.71h.3 r/w port 0b bit 3 p0b2 flg 0.71h.2 r/w port 0b bit 2 p0b1 flg 0.71h.1 r/w port 0b bit 1 p0b0 flg 0.71h.0 r/w port 0b bit 0 p0c3 flg 0.72h.3 r/w port 0c bit 3 p0c2 flg 0.72h.2 r/w port 0c bit 2 p0c1 flg 0.72h.1 r/w port 0c bit 1 p0c0 flg 0.72h.0 r/w port 0c bit 0 p0d3 flg 0.73h.3 r note port 0d bit 3 p0d2 flg 0.73h.2 r note port 0d bit 2 p0d1 flg 0.73h.1 r note port 0d bit 1 p0d0 flg 0.73h.0 r note port 0d bit 0 p1a3 flg 1.70h.3 r/w port 1a bit 3 p1a2 flg 1.70h.2 r/w port 1a bit 2 p1a1 flg 1.70h.1 r/w port 1a bit 1 p1a0 flg 1.70h.0 r/w port 1a bit 0 p1c3 flg 1.72h.3 r note port 1c bit 3 p1c2 flg 1.72h.2 r note port 1c bit 2 p1c1 flg 1.72h.1 r note port 1c bit 1 p1c0 flg 1.72h.0 r note port 1c bit 0 p1d3 flg 1.73h.3 r/w port 1d bit 3 p1d2 flg 1.73h.2 r/w port 1d bit 2 p1d1 flg 1.73h.1 r/w port 1d bit 1 p1d0 flg 1.73h.0 r/w port 1d bit 0 p2a2 flg 2.70h.2 r/w port 2a bit 2 p2a1 flg 2.70h.1 r/w port 2a bit 1 p2a0 flg 2.70h.0 r/w port 2a bit 0 p2b3 flg 2.71h.3 r/w port 2b bit 3 p2b2 flg 2.71h.2 r/w port 2b bit 2 p2b1 flg 2.71h.1 r/w port 2b bit 1 p2b0 flg 2.71h.0 r/w port 2b bit 0 p2c3 flg 2.72h.3 r/w port 2c bit 3 p2c2 flg 2.72h.2 r/w port 2c bit 2 p2c1 flg 2.72h.1 r/w port 2c bit 1 p2c0 flg 2.72h.0 r/w port 2c bit 0 note these ports are input-only ports. the assembler and in-circuit emulator will not output error messages even if an instruction to output from these ports is written. also, if the instruction is actually executed on a device, the operation will have no change.
23 chapter 3 reserved symbols users manual u11733ej2v0um00 3.5 register file (control register) symbol name attribute value r/w description sp mem 0.81h r/w stack pointer dbfsp mem 0.84h r dbf stack pointer sprsel mem 0.85h r/w stack overflow select flag (settable only once after power application) movtsel1 flg 0.87h.1 r/w movt bit select flag movtsel0 flg 0.87h.0 r/w movt bit select flag sysrsp mem 0.88h r system register stack pointer wdtck mem 15.02h r/w watchdog timer clock select flag wdtres flg 15.03h.3 r/w watchdog timer count reset pllscnf flg 15.10h.3 r/w swallow counter msb set flag pllmd2 note flg 15.10h.2 r/w pll mode select flag pllmd1 flg 15.10h.1 r/w pll mode select flag pllmd0 flg 15.10h.0 r/w pll mode select flag pllrfck3 flg 15.11h.3 r/w pll reference frequency select flag pllrfck2 flg 15.11h.2 r/w pll reference frequency select flag pllrfck1 flg 15.11h.1 r/w pll reference frequency select flag pllrfck0 flg 15.11h.0 r/w pll reference frequency select flag pllul flg 15.12h.0 r pll unlock ff flag beep0sel flg 15.14h.2 r/w beep0 enable flag beep0ck1 flg 15.14h.1 r/w beep0 clock select flag beep0ck0 flg 15.14h.0 r/w beep0 clock select flag wdtcy flg 15.16h.0 r watchdog timer/stack pointer reset status detection flag btm0cy flg 15.17h.0 r basic timer 0 carry flag btm1ck0 flg 15.18h.0 r/w basic timer 1 clock select flag sio1ck1 flg 15.1ch.1 r/w serial interface 1 i/o clock select flag sio1ck0 flg 15.1ch.0 r/w serial interface 1 i/o clock select flag sio1mod flg 15.1dh.2 r/w serial interface 1 si1/so2 select flag sio1hiz flg 15.1dh.1 r/w serial interface 1 general-purpose port select flag sio1ts flg 15.1dh.0 r/w serial interface 1 transmit/receive start flag ieg0 flg 15.1fh.0 r/w int0 pin interrupt request detection edge direction select flag fcgch0 flg 15.20h.0 r/w fcg channel select flag ifcg0stt flg 15.21h.0 r if counter gate status detection flag (1: open, 0: close) ifcmd1 flg 15.22h.3 r/w if counter mode select flag (10: fmifc, 11: amifc2) ifcmd0 flg 15.22h.2 r/w if counter mode select flag (00: fcg, 01: amifc) ifcck1 flg 15.22h.1 r/w if counter clock select flag ifcck0 flg 15.22h.0 r/w if counter clock select flag ifcstrt flg 15.23h.1 w if counter count start ifcres flg 15.23h.0 r/w if counter reset note provided for the m pd17933a and 17934a only.
24 chapter 3 reserved symbols users manual u11733ej2v0um00 symbol name attribute value r/w description adcch3 flg 15.24h.3 r/w a/d converter channel select flag adcch2 flg 15.24h.2 r/w a/d converter channel select flag adcch1 flg 15.24h.1 r/w a/d converter channel select flag adcch0 flg 15.24h.0 r/w a/d converter channel select flag adcstrt flg 15.25h.1 r/w a/d converter compare start flag adccmp flg 15.25h.0 r a/d converter compare result detection flag tm0en flg 15.2bh.3 r/w modulo timer 0 count start flag tm0res flg 15.2bh.2 r/w modulo timer 0 reset flag (the value is 0 when read) tm0ck1 flg 15.2bh.1 r/w modulo timer 0 clock select flag (10: tm10, 11: tm11) tm0ck0 flg 15.2bh.0 r/w modulo timer 0 clock select flag (00: 75 khz, 01: 25 khz) tm0ovf flg 15.2ch.3 r modulo timer 0 overflow detection flag ipsio1 flg 15.2fh.3 r/w serial interface 1 interrupt enable flag ipbtm1 flg 15.2fh.2 r/w basic timer 1 interrupt enable flag iptm0 flg 15.2fh.1 r/w modulo timer 0 interrupt enable flag ip0 flg 15.2fh.0 r/w int0 pin interrupt enable flag irqsio1 flg 15.3ch.0 r/w serial interface 1 interrupt request detection flag irqbtm1 flg 15.3dh.0 r/w basic timer 1 interrupt request detection flag irqtm0 flg 15.3eh.0 r/w modulo timer 0 interrupt request detection flag int0 flg 15.3fh.3 r/w int0 pin status detection flag irq0 flg 15.3fh.0 r/w int0 pin interrupt request detection flag lcden flg 15.40h.0 r/w lcd driver display start flag lcddbck flg 15.40h.3 r/w clock selection of lcd display pressure booster circuit lcd19sel flg 15.69h.2 r/w p2a2/lcd19 switching flag lcd18sel flg 15.69h.1 r/w p2a1/lcd18 switching flag lcd17sel flg 15.69h.0 r/w p2a0/lcd17 switching flag p0dpld3 flg 15.6ah.3 r/w pod3 pin pull-down resistor switching flag p0dpld2 flg 15.6ah.2 r/w pod2 pin pull-down resistor switching flag p0dpld1 flg 15.6ah.1 r/w pod1 pin pull-down resistor switching flag p0dpld0 flg 15.6ah.0 r/w pod0 pin pull-down resistor switching flag p2cbio3 flg 15.6bh.3 r/w p2c3 i/o select flag p2cbio2 flg 15.6bh.2 r/w p2c2 i/o select flag p2cbio1 flg 15.6bh.1 r/w p2c1 i/o select flag p2cbio0 flg 15.6bh.0 r/w p2c0 i/o select flag p2bbio3 flg 15.6ch.3 r/w p2b3 i/o select flag p2bbio2 flg 15.6ch.2 r/w p2b2 i/o select flag p2bbio1 flg 15.6ch.1 r/w p2b1 i/o select flag p2bbio0 flg 15.6ch.0 r/w p2b0 i/o select flag
25 chapter 3 reserved symbols users manual u11733ej2v0um00 symbol name attribute value r/w description p1dbio3 flg 15.6dh.3 r/w p1d3 i/o select flag p1dbio2 flg 15.6dh.2 r/w p1d2 i/o select flag p1dbio1 flg 15.6dh.1 r/w p1d1 i/o select flag p1dbio0 flg 15.6dh.0 r/w p1d0 i/o select flag p1abio3 flg 15.6eh.3 r/w p1a3 i/o select flag p1abio2 flg 15.6eh.2 r/w p1a2 i/o select flag p1abio1 flg 15.6eh.1 r/w p1a1 i/o select flag p1abio0 flg 15.6eh.0 r/w p1a0 i/o select flag p0bbio3 flg 15.6fh.3 r/w p0b3 i/o select flag p0bbio2 flg 15.6fh.2 r/w p0b2 i/o select flag p0bbio1 flg 15.6fh.1 r/w p0b1 i/o select flag p0bbio0 flg 15.6fh.0 r/w p0b0 i/o select flag 3.6 peripheral hardware register symbol name attribute value r/w description adcr dat 02h r/w a/d converter reference voltage set register sio1sfr dat 04h r/w serial interface 1 presettable shift register tm0m dat 1ah r/w timer modulo 0 register tm0c dat 1bh r timer modulo 0 counter ar dat 40h r/w address register dbfstk dat 41h r/w dbf stack register pllr dat 42h r/w pll data register ifc dat 43h r if counter data register 3.7 others symbol name attribute value description dbf dat 0fh operand (dbf) for get/put/movt/movth/movtl instruction ix dat 01h operand (ix) for inc instruction ar_epa1 dat 8040h operand (epa bit on) for call/br/movt/movth/movtl instruction ar_epa0 dat 4040h operand (epa bit off) for call/br/movt/movth/movtl instruction
26 chapter 3 reserved symbols users manual u11733ej2v0um00 3.8 list of reserved words (in alphabetical order) 3.8.1 instructions and directives add addc and bank0 bank1 bank2 bank3 bank14 bank15 br brr c14344 c4444 call case clr1 clr2 clr3 clr4 cseg dat db di dw ei eject else end endcase endif endifc endifnc endm endp endr eof exit exitr extrn flg get global halt if ifchar ifnchar inc include initflg irp lab lbmac ld lfcond list literal lmac macro mem mov movt nibble nibble1 nibble2 nibble2v nibble3 nibble3v nibble4 nibble4v nibble5 nibble5v nibble6 nibble6v nibble7 nibble7v nibble8 nibble8v nobmac nolist nomac nop not1 not2 not3 not4 obmac omac or org other peek poke pop public purge push put rept ret reti retsk rorc sbmac set set1 set2 set3 set4 sfcond ske skf skf1 skf2 skf3 skf4 skge sklt skne skt skt1 skt2 skt3 skt4 smac st stop sub subc summary tag title xor zzzerror zzzmchk zzzmsg
27 chapter 3 reserved symbols users manual u11733ej2v0um00 3.8.2 registers and flags adcch0 adcch1 adcch2 adcch3 adccmp adcr adcstrt ar ar0 ar1 ar2 ar3 ar_epa0 ar_epa1 bank bcd beep0ck0 beep0ck1 beep0sel btm0cy btm1ck0 cmp cy dbf dbf0 dbf1 dbf2 dbf3 dbfsp dbfstk fcgch0 ieg0 ifc ifcck0 ifcck1 ifcgostt ifcmd0 ifcmd1 ifcres ifcstrt int0 ip0 ipbtm1 ipsio1 iptm0 irq0 irqbtm1 irqsio1 irqtm0 ix ixe ixh ixl ixm lcd17sel lcd18sel lcd19sel lcdd0 lcdd1 lcdd2 lcdd3 lcdd4 lcdd5 lcdd6 lcdd7 lcdd8 lcdd9 lcdd10 lcdd11 lcdd12 lcdd13 lcdd14 lcdd15 lcdd16 lcdd17 lcdd18 lcdd19 lcddbck lcden movtsel0 movtsel1 mpe mph mpl p0a0 p0a1 p0b0 p0b1 p0b2 p0b3 p0c0 p0c1 p0c2 p0c3 p0d0 p0d1 p0d2 p0d3 p0dpld0 p0dpld1 p0dpld2 p0dpld3 p1a0 p1a1 p1a2 p1a3 p1abio0 p1abio1 p1abio2 p1abio3 p1c0 p1c1 p1c2 p1c3 p1d0 p1d1 p1d2 p1d3 p1dbio0 p1dbio1 p1dbio2 p1dbio3 p2a0 p2a1 p2a2 p2b0 p2b1 p2b2 p2b3 p2bbio0 p2bbio1 p2bbio2 p2bbio3 p2c0 p2c1 p2c2 p2c3 p2cbio0 p2cbio1 p2cbio2 p2cbio3 pllmd0 pllmd1 pllmd2 note pllr pllrfck0 pllrfck1 pllrfck2 pllrfck3 pllscnf pllul psw rph rpl sio1ck0 sio1ck1 sio1hiz sio1mod sio1sfr slo1ts note provided for the m pd17933a and 17934a only.
28 chapter 3 reserved symbols users manual u11733ej2v0um00 sp sprsel sysrsp tm0c tm0ck0 tm0ck1 tm0en tm0m tm0ovf tm0res wdtck wdtcy wdtres wr z zzz0 zzz1 zzz2 zzz3 zzz4 zzz5 zzz6 zzz7 zzz8 zzz9 zzzalbmac zzzalmac zzzargc zzzdevid zzzepa zzzlsarg zzzprint zzzskip zzzsydoc zzzline
chapter 4 load module file format hex-format load module files output by the ra17k assembler package have two types of output formats: ice files and pro files. these two types of files must be used according to the target application. besides having a user program area, they also have an assembly environment data area, an in-circuit emulator operating environment data area, and other areas. (1) hex-format load module file format the data contained in hex-format load module files output by the assembler is output in the following format. [example of hex-format load module file format] : 10 0002 00 2b41000bfc80f 3a20 ec <1><2> <3> <4> <5> <6> : 00 0000 01 ff <1><2> <3> <4> <6> <1> record mark this indicates the start of a record. <2> code amount (2 digits) this indicates the amount of code (byte data) stored in a record. this value is expressed as a hexadecimal number, with a maximum value of 10h (16 units). the value for the end record is 00h. <3> address (4 digits) this indicates the start address of the code shown in a record. the value for the end record is 0000h, and has no relation to the address. <4> record type (2 digits) a value of 00h indicates data record as the record type and a value of 01h indicates end record. <5> code (up to 32 digits (16 bytes)) code is output to this field one byte at a time, up to 16 bytes. <6> check sum (2 digits) each data from fields <2>, <3>, <4>, <5> and <6> is output to this field (with even parity) as byte data with an lsb value of 00h based on byte-unit sums. (2) ice files ice files are output as hex-format files exclusive to the in-circuit emulator (ie-17k, ie-17k-et, or emu-17k note ) output by the ra17k assembler package. figure 4-1 shows the output format assembled using the as17933, 17933a, 17934, and 17934a. note manufactured by i.c corp. 29 users manual u11733ej2v0um00
30 chapter 4 load module file format users manual u11733ej2v0um00 figure 4-1. ice file format (1/2) (a) as17933, 17933a end record (: 00000001ff) in-circuit emulator operating environment data area 1 (batch data) in-circuit emulator operating environment data area 2 (ram map) assembly environment data area (assembler version, error status, mask option, etc.) se board environment data area (basic lsi performance data for se board operation; operating clock data, etc.) data that applies to operation of the in-circuit emulator exists only if assembled result exceeds the user program area. end record (: 00000001ff) null code extended program area (epa) 0000h 0000h d628h d629h f62ah f62bh fffbh fffch ffffh feach feadh user program area end address in user program (2fffh max.)
31 chapter 4 load module file format users manual u11733ej2v0um00 figure 4-1. ice file format (2/2) (b) AS17934, 17934a end record (: 00000001ff) in-circuit emulator operating environment data area 1 (batch data) in-circuit emulator operating environment data area 2 (ram map) assembly environment data area (assembler version, error status, mask option, etc.) se board environment data area (basic lsi performance data for se board operation; operating clock data, etc.) data that applies to operation of the in-circuit emulator exists only if assembled result exceeds the user program area. end record (: 00000001ff) null code extended program area (epa) d628h d629h f62ah f62bh fffbh fffch ffffh feach feadh 0000h 0000h user program area end address in user program (3fffh max.)
32 chapter 4 load module file format users manual u11733ej2v0um00 (3) pro files pro files are output as hex-format files exclusive to the prom and one-time prom products that are used for mask order and stand-alone se board evaluations that are output by the ra17k assembler package. these are output when /pro is specified as an assembly option during assembly. figure 4-2 shows the output format assembled using the as17933, 17933a, 17934, and 17934a. figure 4-2. pro file format (a) as17933, 17933a assembler environment data area (assembler version, error status, etc.) se board environment data area (basic lsi performance data for se board operation; operating clock data, etc.) end record (: 00000001ff) 0000h 3000h 314eh fffch ffffh end address in user program (2fffh max.) user program area remark the range of 314fh to fffbh does not exist in pro files. (b) AS17934, 17934a assembler environment data area (assembler version, error status, etc.) se board environment data area (basic lsi performance data for se board operation, operating clock data, etc.) end record (: 00000001ff) 0000h 4000h 414eh fffch ffffh end address in user program (3fffh max.) user program area remark the range of 414fh to fffbh does not exist in pro files.
33 chapter 4 load module file format users manual u11733ej2v0um00 (4) file comparison of load module files even when there are no changes in the source file, changes may occur in the assembler output results (i.e., the assembly environment data area). this is because the data in the assembly environment data area includes items such as the source file creation date. table 4-1. items whose assembler output result may change even when source file has no change (1/2) (a) as17933, 17933a item address ice file pro file program name feadh - fecch 3000h - 301fh (character string of up to 32 bytes, specified by assembly option / prog=) simplehost information ffadh 3100h error or warning status ffb0h 3103h file creation date and time note ffbeh - ffc7h 3111h - 311ah device name ffc8h - ffd7h 311bh - 312ah device file version ffddh 3130h assembler version ffe1h 3134h note the creation date/time of the most recent source file or sequence file is written. caution do not make changes to load module files only. change load module files by changing the source file and then reassembling. revising load module files only may cause the histories of the other files to become mismatched, resulting in bugs.
34 chapter 4 load module file format users manual u11733ej2v0um00 table 4-1. items whose assembler output result may change even when source file has no change (2/2) (b) AS17934, 17934a item address ice file pro file program name feadh - fecch 4000h - 401fh (character string of up to 32 bytes, specified by assembly option / prog=) simplehost information ffadh 4100h error or warning status ffb0h 4103h file creation date and time note ffbeh - ffc7h 4111h - 411ah device name ffc8h - ffd7h 411bh - 412ah device file version ffddh 4130h assembler version ffe1h 4134h note the creation date/time of the most recent source file or sequence file is written. caution do not make changes to load module files only. change load module files by changing the source file and then reassembling. revising load module files only may cause the histories of the other files to become mismatched, resulting in bugs.
although nec has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that errors may occur. despite all the care and precautions we've taken, you may encounter problems in the documentation. please complete this form whenever you'd like to report errors or suggest improvements to us. hong kong, philippines, oceania nec electronics hong kong ltd. fax: +852-2886-9022/9044 korea nec electronics hong kong ltd. seoul branch fax: 02-528-4411 taiwan nec electronics taiwan ltd. fax: 02-2719-5951 address north america nec electronics inc. corporate communications dept. fax: 1-800-729-9288 1-408-588-6130 europe nec electronics (europe) gmbh technical documentation dept. fax: +49-211-6503-274 south america nec do brasil s.a. fax: +55-11-6465-6829 asian nations except philippines nec electronics singapore pte. ltd. fax: +65-250-3583 japan nec semiconductor technical hotline fax: 044-548-7900 i would like to report the following error/make the following suggestion: document title: document number: page number: thank you for your kind support. if possible, please fax the referenced page or drawing. excellent good acceptable poor document rating clarity technical accuracy organization cs 99.1 name company from: tel. fax facsimile message


▲Up To Search▲   

 
Price & Availability of AS17934

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X