For a complete CPU design, it was necessary to create a
specific RISC instruction set and its own assembly code with
its proper instruction format.
The instruction set had to accomplish two medullar
objectives: simplicity and robustness, i.e. using the simplest
instructions that made the processor capable of executing
complex operations and routines in the fewest steps.
To achieve these objectives, the instructions needed were
classified according to its purpose type in three groups:
• Operations (Arithmetic and Logical)
• Program Control (Jumps)
• Data Manipulation (Load and Storage)
The arithmetic operations selected were addition and
subtraction, because it is possible to perform any other
operation with just these two. It was decided to allow the
execution of these operations between two registers and
between one register and an immediate data.
The logical operations selected were AND, OR, NOT,
shift right and shift left. The first two operations are executed
between two registers, while the other operations are applied
to only one register called source register.
The branch instructions include an immediate jump, a
jump to a value contained in a register, and conditional
branches, one for each status flag. The execution of
conditional branches depends on the status of the proper flag
in the status register.
The load and storage instructions required must address
different data sources on an immediate, direct to data
memory and indirect to data memory, addressing modes.
Table I describes the complete instruction set, showing
the mnemonic, description, syntax and micro-operation done
for every instruction.
The development of the instruction format was restricted
by many factors: the CPU architecture, the number of
instructions, and the operands involved; being this last, the
most important factor.
สำหรับการออกแบบซีพียูที่สมบูรณ์ มันเป็นสิ่งจำเป็นในการสร้างชุดการสอน และรหัสเฉพาะลินุกซ์
ประกอบเองด้วยรูปแบบการเรียนการสอนที่เหมาะสม ชุดการสอนได้สำเร็จ
medullar สองวัตถุประสงค์ : ง่ายและทนทาน เช่น การใช้คำแนะนำที่ทำให้การประมวลผลง่าย
สามารถดำเนินการที่ซับซ้อนในการดำเนินงานและการปฏิบัติ
ขั้นตอนน้อยที่สุดเพื่อให้บรรลุวัตถุประสงค์เหล่านี้ คำแนะนำต้องการ
จำแนกตามประเภทวัตถุประสงค์ในสามกลุ่ม :
- การดำเนินการ ( คณิตศาสตร์และตรรกะ )
-
( กระโดด ) โปรแกรมควบคุม - จัดการข้อมูล ( โหลดและกระเป๋า )
) การเลือก ได้แก่การบวกและการลบ
เพราะมันเป็นไปได้ที่จะดำเนินการใด ๆอื่น ๆ
การทำงานกับสองคนนี้ มันก็ตัดสินใจที่จะให้
การดำเนินการของการดำเนินงานเหล่านี้ระหว่างสองทะเบียน
1 ลงทะเบียนและข้อมูลได้ทันที การเลือก
ตรรกะและ , หรือ , ไม่ ,
กะขวาและซ้ายกะ . สองงานแรกจะดำเนินการ
ระหว่างสองนี้ ในขณะที่การดำเนินงานอื่น ๆที่ใช้เพียงหนึ่งโทร
ที่มาลงทะเบียน ลงทะเบียน สาขาคำสั่งรวมเป็น
กระโดดทันทีกระโดดกับคุณค่าที่มีอยู่ในการลงทะเบียน และสาขาเงื่อนไข
หนึ่งสำหรับแต่ละสถานะธง ประหาร
สาขาเงื่อนไขขึ้นอยู่กับสภาพที่เหมาะสมในการลงทะเบียนสถานะธง
.
โหลดและกระเป๋าคําแนะนําที่ต้องการ ต้องแก้ไข
แหล่งข้อมูลที่แตกต่างกันบนทันที , โดยตรงและทางอ้อม หน่วยความจำหน่วยความจำข้อมูล
ข้อมูลที่อยู่ในโหมดตารางที่ผมอธิบายชุดคำสั่งที่สมบูรณ์แสดง
อธิบายตัวย่อ , ไวยากรณ์และไมโครการผ่าตัดเรียบร้อย
สำหรับทุกการสอน การพัฒนาการเรียนการสอนรูปแบบคือจำกัด
จากหลายปัจจัย : ซีพียูสถาปัตยกรรม จำนวน
คำแนะนำ และเปอแรนด์ที่เกี่ยวข้อง ; นี้เป็นครั้งสุดท้าย , ปัจจัย
ที่สำคัญที่สุด
การแปล กรุณารอสักครู่..
