# US 2008/0313444 A1 · Microcomputer and dividing circuit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0313444 A1
- Document ID: US20080313444A1
- Status: Published application
- Kind: A1
- Application number: 12/195,856
- Filed: 2008-08-21
- Published: 2008-12-18
- Earliest claimed: 1991-06-24
- Inventors: Shumpei KAWASAKI; Eiji Sakakibara; Kaoru Fukada; Takanaga Yamazaki; Yasushi Akao; Shiro Baba; Toshimasa Kihara; Keiichi Kurakazu; Takashi Tsukamoto; Shigeki Masumura; Yasuhiro Tawara; Yugo Kashiwagi; Shuya Fujita; Katsuhiko Ishida; Noriko Sawa; Yoichi Asano; Hideaki Chaki; Tadahiko Sugawara; Masahiro Kainaga; Kouki Noguchi; Mitsuru Watabe
- Web page: https://patentgrep.com/patent/US20080313444A1

## CPC

- G06F 7/535: Dividing only
- G06F 9/30: Arrangements for executing machine instructions, e.g. instruction decode (for executing microinstructions G06F9/22)
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/30112: {comprising data of variable length}
- G06F 9/3013: {according to data content, e.g. floating-point registers, address registers}
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/30149: {of variable length instructions}
- G06F 9/3016: {Decoding the operand specifier, e.g. specifier format}
- G06F 9/30163: {with implied specifier, e.g. top of stack}
- G06F 9/30167: {of immediate specifier, e.g. constants}
- G06F 9/30181: {Instruction operation extension or modification}
- G06F 9/30189: {according to execution mode, e.g. mode flag}
- G06F 9/322: {for non-sequential address}
- G06F 9/323: {for indirect branch instructions}
- G06F 9/324: {using program counter relative addressing}
- G06F 9/3557: {using program counter as base address}
- G06F 9/3802: {Instruction prefetching}
- G06F 9/3814: {Implementation provisions of instruction buffers, e.g. prefetch buffer; banks}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3858: {Result writeback, i.e. updating the architectural state or memory}
- G06F 9/38585: {with result invalidation, e.g. nullification}
- G06F 9/3867: {using instruction pipelines}
- G06F 2207/5352: Non-restoring division not covered by G06F7/5375
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Herein disclosed is a microcomputer MCU adopting the general purpose register method. The microcomputer is enabled to have a small program capacity or a high program memory using efficiency and a low system cost, while enjoying the advantage of simplification of the instruction decoding as in the RISC machine having a fixed length instruction format of the prior art, by adopting a fixed length instruction format having a power of 2 but a smaller bit number than that of the maximum data word length fed to instruction execution means. And, the control of the coded division is executed by noting the code bits.

## Claims

### Claim at position 1

-21. (canceled)

### Claim 22

A microcomputer formed on a single semiconductor device comprising:
a CPU having a 32-bit general purpose register; and
a memory coupled to said CPU,
wherein said CPU is capable of processing at least one conditional branch instruction and at least one unconditional branch instruction,
wherein the memory stores instructions to be processed by said CPU,
wherein each of the instruction bit lengths of the conditional branch instruction and the unconditional branch instruction is 16 bits, and
wherein a displacement length of the conditional branch instruction is smaller than the displacement length of the unconditional branch instruction.

### Claim 23 (depends on 22)

The microcomputer according to claim 22, wherein the displacement length of the conditional branch instruction is 8 bits.

### Claim 24 (depends on 22)

The microcomputer according to claim 22, wherein the displacement length of the unconditional branch instruction is 12 bits.

### Claim 25 (depends on 22)

The microcomputer according to claim 22, wherein the memory is a cache memory.

### Claim 26

A microcomputer formed on a single semiconductor device comprising:
a RISC type CPU having a 32-bit general purpose register; and
a memory coupled to said RISC type CPU,
wherein said RISC type CPU is capable of processing at least one conditional branch instruction and at least one unconditional branch instruction,
wherein the memory stores instructions to be processed by said RISC type CPU,
wherein each of the instruction bit lengths of the conditional branch instruction and the unconditional branch instruction is 16 bits, and
wherein a displacement length of the conditional branch instruction is smaller than the displacement length of the unconditional branch instruction.

### Claim 27 (depends on 26)

The microcomputer according to claim 26, wherein the displacement length of the conditional branch instruction is 8 bits.

### Claim 28 (depends on 26)

The microcomputer according to claim 26, wherein the displacement length of the unconditional branch instruction is 12 bits.

### Claim 29 (depends on 26)

The microcomputer according to claim 26, wherein the memory is a cache memory.

### Claim 30

A microcomputer formed on a single semiconductor device comprising:
a CPU having a 32-bit general purpose register;
a RAM coupled to said CPU;
a DMA controller coupled to said RAM; and
a memory coupled to said CPU,
wherein said CPU is capable of processing at least one conditional branch instruction and at least one unconditional branch instruction,
wherein the memory stores instructions to be processed by said CPU, and
wherein a displacement length of the conditional branch instruction is smaller than the displacement length of the unconditional branch instruction.

### Claim 31 (depends on 30)

The microcomputer according to claim 30, wherein the memory is a cache memory.

### Claim 32 (depends on 30)

The microcomputer according to claim 30, wherein each of the instruction bit lengths of the conditional branch instruction and the unconditional branch instruction is 16 bits.

### Claim 33 (depends on 32)

The microcomputer according to claim 32, wherein the displacement length of the conditional branch instruction is 8 bits.

### Claim 34 (depends on 32)

The microcomputer according to claim 32, wherein the displacement length of the unconditional branch instruction is 12 bits.

### Claim 35

A microcomputer formed on a single semiconductor device comprising:
a CPU having general purpose registers and a program counter; and
a memory coupled to said CPU,
wherein said CPU is capable of processing at least one data transfer instruction, at least one conditional branch instruction and at least one unconditional branch instruction,
wherein each of the instruction bit lengths of the data transfer instruction, the conditional branch instruction and the unconditional branch instruction is 16 bits,
wherein the memory stores instructions to be processed by said CPU,
wherein the conditional branch instruction includes a first area for a first displacement,
wherein the unconditional branch instruction includes a second area for a second displacement,
wherein a length of the first displacement of the conditional branch instruction is smaller than a length of the second displacement of the unconditional branch instruction,
wherein the data transfer instruction includes a third area for a third displacement and a fourth area for destination register information for designating the general purpose register where the data is loaded,
wherein the branch address of the conditional branch instruction is obtained based on the first displacement in the first area of the conditional branch instruction and an address in the program counter,
wherein the branch address of the unconditional branch instruction is obtained based on the second displacement in the second area of the unconditional branch instruction and an address in the program counter, and
wherein 32 bits source data of the data transfer instruction is obtained from a memory location indicated by an address obtained based on the third displacement in the third area of the data transfer instruction and an address in the program counter, and the source data is loaded into one of the general purpose registers which is designated by the fourth area of the data transfer instruction.

### Claim 36 (depends on 35)

The microcomputer according to claim 35, wherein the displacement length of the data transfer instruction is 8 bits.

### Claim 37 (depends on 35)

The microcomputer according to claim 35, wherein the program counter is 32 bit length.

### Claim 38 (depends on 35)

The microcomputer according to claim 35, wherein the general purpose register is 32 bit length.

### Claim 39 (depends on 35)

The microcomputer according to claim 35, wherein the displacement length of the conditional branch instruction is 8 bits.

### Claim 40 (depends on 35)

The microcomputer according to claim 35, wherein the displacement length of the unconditional branch instruction is 12 bits.

### Claim 41 (depends on 35)

The microcomputer according to claim 35, wherein the memory is a cache memory.

### Claim 42 (depends on 35)

The microcomputer according to claim 35, wherein the address of the memory location is obtained by adding the displacement in the first area with an address in the program counter.

### Claim 43 (depends on 35)

The microcomputer according to claim 35,
wherein the data transfer instruction further includes a fifth area having an operation code defining a data transfer operation,
wherein the operation code includes data size information of the data to be transferred, and
wherein the displacement is shifted by 2 bits and the shifted displacement is added to the address in the program counter when the data size information indicates that the data size is 32 bits.
