قالب:جدول بنية وحدة المعالجة المركزية
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Registers |
---|
This template is for CPU architectures.
Usage
{{Infobox CPU architecture | name = | designer = | bits = | introduced = | version = | design = | type = | encoding = | branching = | endianness = | page size = | extensions = | open = | registers = | gpr = | fpr = }}
Description
{{Infobox CPU architecture | name = Name of architecture, e.g. x86, SPARC, PowerPC, MIPS, ARM | designer = Designer of the architecture | bits = Width of accumulator/general registers/stack top, e.g. 32-bit, 64-bit | introduced = Year introduced | version = Version/revision of architecture/ISA | design = Design strategy, e.g. RISC, CISC | type = Type of architecture, e.g. Register-Register, Register-Memory, Memory-Memory | encoding = Instruction set encoding, e.g. Fixed or Variable | branching = Branching evaluation, e.g. Condition register, Condition code, Compare and branch | endianness = Byte ordering, i.e. Little, Big, Bi | page size = Primary size of page, i.e. 4 KiB, 2 MiB, 1 GiB; does not include "huge pages" and other extensions | extensions = ISA extensions, i.e. MMX, SSE, AltiVec, etc | open = Is the architecture open or not? (as in free or proprietary) | registers = Number and size of processor registers | gpr = Number of general-purpose registers (and size, if not indicated by bits=) | fpr = Number of floating-point registers (and size, if not indicated by bits=) }}
All fields are optional.
Example
المصمم | Sun Microsystems |
---|---|
Bits | 64-bit (32 → 64) |
Introduced | 1985 |
الإصدار | V9 (1993) |
التصميم | RISC |
النوع | Register-Register |
الترميز | Fixed |
Branching | Condition code |
Endianness | Bi (Big → Bi) |
حجم الصفحة | 8 KiB |
الإمتدادات | VIS 1.0, 2.0, 3.0 |
Open | Yes |
Registers | |
General purpose | 31 (G0 = 0; non-global registers use register windows) |
Floating point | 32 |
{{Infobox CPU architecture | name = SPARC | designer = [[Sun Microsystems]] | bits = 64-bit (32 → 64) | introduced = 1985 | version = V9 (1993) | design = RISC | type = Register-Register | encoding = Fixed | branching = Condition code | endianness = Bi (Big → Bi) | page size = 8 KiB | extensions = [[Visual Instruction Set|VIS]] 1.0, 2.0, 3.0 | open = Yes | gpr = 31 (G0 = 0; non-global registers use [[register window]]s) | fpr = 32 }}
Parameters
All parameters are optional.
- name
- Name of architecture, e.g. x86, SPARC, PowerPC, MIPS, ARM
- designer
- Designer of the architecture
- bits
- Width of accumulator/general registers/stack top, e.g. 32-bit, 64-bit
- introduced
- Year introduced
- version
- Version/revision of architecture/ISA
- design
- Design strategy, e.g. RISC, CISC
- type
- Type of architecture, e.g. Register-Register, Register-Memory, Memory-Memory
- encoding
- Instruction set encoding, e.g. Fixed or Variable
- branching
- Branching evaluation, e.g. Condition register, Condition code, Compare and branch
- endianness
- Byte ordering, i.e. Little, Big, Bi
- page size
- Primary size of page, i.e. 4 KiB, 2 MiB, 1 GiB; does not include "huge pages" and other extensions
- extensions
- ISA extensions, i.e. MMX, SSE, AltiVec, etc
- open
- Is the architecture open or not? (as in free or proprietary)
- registers
- Number and size of processor registers
- gpr
- Number of general-purpose registers (and size, if not indicated by bits=)
- fpr
- Number of floating-point registers (and size, if not indicated by bits=)
See also
The above documentation is transcluded from قالب:جدول بنية وحدة المعالجة المركزية/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |