Advantages Of Polling

877 Words4 Pages
Polling Polling is the process where the computer or controlling device waits for an external device to check for its readiness or state, often with low-level hardware. Polling is often intimately involved with very low-level hardware. For example, polling a parallel printer port to check whether it is ready for another character involves examining as little as one bit of a byte. Interrupt An interrupt is a signal from a device attached to a computer or from a program within the computer that causes the main program that operates the computer (the operating system) to stop and figure out what to do next M2 RAM (random access memory) is much faster to read from and write to than the other kinds of storage in a computer…show more content…
RISC A reduced instruction set computer (RISC) is a computer which only use simple instructions that can be divide into multiple instructions which perform low-level operation within single clock cycle. Advantages of Cisc -It is as easy as assembly language to implement, and much less expensive. - As each instruction became more capable, fewer instructions would be used to implement a given task. This made more efficient use of the relatively slow main memory. -Because it instruction sets can be written to match the constructs of high-level languages, the compiler does not have to be as complicated. Disadvantages of CISC -Instruction set & chip hardware become more complex with each generation of computers. -Cisc take longer time to execute compared to Risc -Many specialized instructions aren't used frequently enough to justify their existence. Advantages of RISC -Bigger design of RISC processors often achieve more than four times the performance of CISC processors using similar semiconductor technology and the same clock…show more content…
Assembly language is converted into executable machine code by a utility program referred to as an assembler. The process is referred to as assembly. Example: A: word B: word C: word Cmp b, c compare a is greater than b Branch label 1 Cmp c, a compare a is greater than c Branch label 2 else Load max a ret label 1 cmp c, a ` compar b is greater than c branch label 2 load max b ret label 2 load max c
Open Document