Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:multiasm:cs:chapter_3_3 [2026/06/21 14:47] pczekalskien:multiasm:cs:chapter_3_3 [2026/06/23 00:31] (current) pczekalski
Line 5: Line 5:
 Complex instructions mean that a typical single CISC processor instruction performs more operations during its execution than a typical RISC instruction. The CISC processors also implement more sophisticated addressing modes. This means that if we want to implement an algorithm, we can use fewer CISC instructions than RISC instructions. Of course, it comes at the cost of a more sophisticated CISC processor design than a RISC one. The complexity of a circuit influences the average execution time of a single instruction. As a result, the CISC processor performs more work during program execution, whereas with RISC, the compiler (or assembler programmer) performs more work during the implementation phase.  Complex instructions mean that a typical single CISC processor instruction performs more operations during its execution than a typical RISC instruction. The CISC processors also implement more sophisticated addressing modes. This means that if we want to implement an algorithm, we can use fewer CISC instructions than RISC instructions. Of course, it comes at the cost of a more sophisticated CISC processor design than a RISC one. The complexity of a circuit influences the average execution time of a single instruction. As a result, the CISC processor performs more work during program execution, whereas with RISC, the compiler (or assembler programmer) performs more work during the implementation phase. 
  
-The most visible distinguishing features between RISC and CISC architectures to a programmer lie in the general-purpose registers and instruction operands. Typically, in CISC, the number of registers is smaller than in RISC. Additionally, they are specialised. It means that not all operations can be performed using any register. For example, in some CISC processors, arithmetic operations can be performed only with the use of a special register called the accumulator, while addressing a table element or using a pointer can be done with the use of a special index (or base) register. In RISC, almost all registers can be used for any purpose, such as calculations or addressing mentioned. In CISC processors, instructions usually have two arguments in the form of:+The most visible distinguishing features between RISC and CISC architectures to a programmer lie in the general-purpose registers and instruction operands. Typically, in CISC, the number of registers is smaller than in RISC. Additionally, they are specialised. It means that not all operations can be performed using any register. For example, in some CISC processors, arithmetic operations can be performed only using a special register called the accumulator, while addressing a table element or using a pointer can be done using a special index (or base) register. In RISC, almost all registers can be used for any purpose, such as calculations or addressing mentioned. In CISC processors, instructions usually have two arguments in the form of:
 <code> <code>
 operation arg1, arg2    ; Example: arg1 = arg1 + arg2 operation arg1, arg2    ; Example: arg1 = arg1 + arg2
Line 17: Line 17:
  
 <table ciscrisc> <table ciscrisc>
-<caption>CISC and RISC features</caption>+<caption>CISC and RISC Features</caption>
 ^ Feature                      ^ CISC              ^ RISC               ^ ^ Feature                      ^ CISC              ^ RISC               ^
 | Instructions                 | Complex           | Simple             | | Instructions                 | Complex           | Simple             |
en/multiasm/cs/chapter_3_3.txt · Last modified: by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0