#include
using namespace std;
int fib(int n){
if(n < 2){
return 1;
}
else{
return (fib(n-2) + fib(n-1));
}
}
int main(){
cout << fib(6);
return 0;
}
The Simple-As-Possible (SAP)-1 computer is a very basic model of a microprocessor explained by Albert Paul Malvino. The SAP-1 design contains the basic necessities for a functional Microprocessor. Its primary purpose is to develop a basic understanding of how a microprocessor works, interacts with memory and other parts of the system like input and output. The instruction set is very limited and is simple. The features in SAP-1 computer are: W bus – A single 8 bit bus for address and data transfer. 16 Bytes memory (RAM) Registers are accumulator and B-register each of 8 bits. Program counter – initializes from 0000 to 1111 during program execution. Memory Address Register (MAR) to store memory addresses. Adder/ Subtracter for addition and subtraction instructions. A Control Unit A Simple Output. 6 machine state reserved for each instruction The instruction format of SAP-1 Computer is (XXXX) (XXXX) A Simple animation ...
Cheap Moncler jackets , combining elegant style and cutting-edge technology, a variety of styles of Cheap moncler accessories jackets , the pointer walks between your exclusive taste style.
ReplyDeleteHarrah's Philadelphia casino set to welcome new customers
ReplyDeleteHarrah's Philadelphia Casino in Chester, 성남 출장샵 Chester in July 2021, is expected 강원도 출장안마 to launch its casino and 광양 출장샵 hotel guests in the Philadelphia area. Harrah's 동두천 출장샵 Philadelphia 구리 출장안마