English
Language : 

SH7764 Datasheet, PDF (1200/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 23 G2D
(2) RFTRAPC
(a) Function
Draws a polygon at work coordinates with a relative coordinate specification from the current
pointer value.
(b) Command Format
• LINKE = 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OP CODE = 1101_0100
Reserve (all 0)
Draw Mode
Reserve (all 0)
n (1 ≤ n ≤ 65535)
Sign
Xmin (-32768 ≤ Xmin ≤ 32767)
Sign
Ymin (-32768 ≤ Ymin ≤ 32767)
Sign
Xmax (-32768 ≤ Xmax ≤ 32767)
Sign
Ymax (-32768 ≤ Ymax ≤ 32767)
Sign DX2 (-128 ≤ DX2 ≤ 127) Sign DY2 (-128 ≤ DY2 ≤ 127) Sign DX1 (-128 ≤ DX1 ≤ 127) Sign DY1 (-128 ≤ DY1 ≤ 127)
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign DXn (-128 ≤ DXn ≤ 127) Sign DYn (-128 ≤ DYn ≤ 127) Sign DXn-1 (-128 ≤ DXn-1 ≤ 127) Sign DYn-1 (-128 ≤ DYn-1 ≤ 127)
Notes: 1. When n = 0, correct operation is not guaranteed.
2. When n is an odd number, insert a dummy word of 0 at the end.
• LINKE = 1 and LREL = 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OP CODE = 1101_0100
Reserve (all 0)
Draw Mode
Reserve (all 0)
n (1 ≤ n ≤ 65535)
Sign
Xmin (-32768 ≤ Xmin ≤ 32767)
Sign
Ymin (-32768 ≤ Ymin ≤ 32767)
Sign
Xmax (-32768 ≤ Xmax ≤ 32767)
Sign
Ymax (-32768 ≤ Ymax ≤ 32767)
000
LINK Address (longword address)
00
Notes: 1. When n = 0, correct operation is not guaranteed.
2. When n is an odd number, insert a dummy word of 0 at the end.
3. The longword address following the LINK Address is handled as the next command
code. Therefore, do not specify the longword address following the address where the
LINK Address is to be assigned as the link destination address specified by the LINK
Address.
Rev. 1.00 Nov. 22, 2007 Page 1144 of 1692
REJ09B0360-0100