Posts
Showing posts with the label ktu coa notes
COMPUTER ORGANISATION & ARCHITECTURE TUTORIAL 1
- Get link
- X
- Other Apps
We can start learning basics of Computer Organisation & Architecture . Understand the difference between computer architecture & organisation first . BASIC OPERATIONAL CONCEPTS We can discuss about various operations used for transferring and manipulating data BUS STRUCTURE We can consider definition of BUS also about way of transferring data through Bus . MEMORY LOCATIONS & ADDRESSING Understand the basics of System Memory ,way of storing data in memory. W can discuss here about memory addresses and about Byte addressable memory .At the end we will get the idea about memory size specification and how to calculate the address of memory bytes . INSTRUCTION EXECUTION &STRAIGHT LINE SEQUENCING Understand what an instruction is ,then learn about how to complete the execution of a program which is present in main memory of the system by executing set of instructions one after another . Here consider , two situations of instruction executi...
SUBROUTINE &STACK
- Get link
- X
- Other Apps
SUBROUTINE &STACK In a given program ,it is often necessary to perform a particular task many times on different data values . When a program branches to a subroutine, we say that it is calling the subroutine . The instruction that performs the branch operation is called a call_subroutine instruction. After a subroutine has been executed, subroutine is said to return to the program that called it by executing a Return instruction . T he calling program must resume execution , continuing immediately after the instruction that called the subroutine. Call subroutine is a special branch instruction that performs the following operations • store the contents of the PC in the link register (LR) • branch to the target address specified by the instruction The return from a subroutine branches to the address contained in the link register . Subroutine Nesting and The Processor Stack When ...