Posts

Showing posts from April, 2021

Documentation

 Requirement Document: What is the objective of this project? How will the project be developed? How will it fit into the existing system? What will the system do precisely?

ARM Q&A

 what are the different modes in ARM architecture? User Mode: is the usual ARM program execution state, and is used for executing most application programs. Supervisor Mode: is the protected mode for the operation system.  IRQ mode: is used for General purpose interrupt handling.  Fast IRQ mode: support for Data transfer or channel process.  Abort Mode is entered after a data or instruction prefetch Abort. Undefined Mode is entered when an undefined instruction is executed. System Mode is privileged user mode for the operation system. Difference between the return from handler and return from function in assembly language implementation.  interrupt function the return type is RETI, which clear the source of the interrupt. Otherwise, it will be called over and over.   function return is just RET. What is the difference between FIQ and IRQ? FIQ has higher priority than IRQ: FIQ is masked by fewer exceptions and if FIQ & IRQ happen together FIQ goes f...

ARM7

Image
8051 is an 8-bit processor, which means it can do an 8-bit operation at a time. ARM is a 32-bit processor, which can do the 32-bit operation at a time, four times powerful than 8051. ARM 7 (Advanced Risc Machine) 32-bit processor 32-bit ALU (arithmetic logic unit) 32-bit data bus  there are 4 banks in the memory and every data is aligned, it will be stored at an address multiple of 4 (i.e last 2 bits of the address will always be zero) 32-bit instruction (RISC )    Every instruction will have the same size (32 bit). Every instruction will fetch in one cycle.  All the instruction will be stored in the aligned form.  32-bit Address bus: It will allow access up to 4GB.   Von Neuman model Says only one memory, in which all program will store and data will also store.  3 stage pipeline Fetch Decode  Execute 37 Registers - 32-bit Each By which 16 available at a time (R0 ... R15) Load store Model  to add, subtract or any other operation, load t...

Video Tutorials

 C : Understanding C program Compilation Process . Compiling, assembling, and linking . What is the difference between Dynamic and Static library(Static and Dynamic linking) Memory Layout of a C Memory Leak in a C C Programming Interview Questions and Answers . How to Answer for What is Volatile?   Bitwise operator Algorithm: Algorithms and data structures for Interview preparation Algorithms Course Complete: Algorithms and Data structures BareMetal Firmware / IoT Firmware Booting Process ARM architecture A tour of the ARM architecture and its Linux support Gerrit  Git and Gerrit Demo Video Series