upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 426
upd70f3017ay
Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.UPD70F3017AY.pdf
(492 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
- Current page: 426 of 492
- Download datasheet (4Mb)
(4) Program example
426
An example of a program in which the entry program is executed as a subroutine is shown below. In this
example, the return address is saved to the stack and then the device internal processing is called. This
program must be located in memory other than the block 0 space and flash memory area.
ISETUP
EntryProgram:
loop:
add
st.w
movea
ldsr
mov
st.b
st.b
nop
nop
nop
nop
nop
movea
ldsr
trap
movea
ldsr
mov
st.b
st.b
nop
nop
nop
nop
nop
mov
divh
add
jne
ld.w
add
jmp
52
-4, sp
lp, 0[sp]
lo(0x00a0), r0, r10
r10, 5
lo(0x0002), r10
r10, PRCMD[r0]
r10, FLPMC[r0]
lo(0x0020), r0, r10
r10, 5
0x1f
lo(0x00a0), r0, r6
r6, 5
lo(0x08), r6
r6, PRCMD[r0]
r6, FLPMC[r0]
ISETUP, lp
r6, r6
-1, lp
loop
0[sp], lp
4, sp
[lp]
CHAPTER 16 FLASH MEMORY
User’s Manual U12768EJ4V1UD
-- Internal manipulation setup parameter
-- Prepare
-- Save return address
--
-- PSW = NP, ID
--
-- PRCMD = 2
-- VPPDIS = 0, FLSPM = 1
--
-- PSW = ID
-- Device Internal Process
--
-- PSW = NP, ID
-- PRCMD = 8
-- VPPDIS = 1, FLSPM = 0
-- loop time = 52
-- To kill time
-- Decrement counter
--
-- Reload lp
-- Dispose
-- Return to caller
Related parts for upd70f3017ay
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
FLASH PROGRAMMER FOR RENESAS MICROCONTROLLERS
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet: