SSaguninsagunwrites.hashnode.dev·Aug 16 · 5 min readRegister Addressing ModeIn the previous article, we learned about Immediate Addressing Mode, where the operand value is included directly inside the instruction. Now we'll look at another common addressing mode: Register Add00
SSaguninsagunwrites.hashnode.dev·Aug 16 · 7 min readRegister Stack OrganizationIn the previous article, we learned about Stack Organization, where operands are obtained from the top of a stack. But where can that stack actually be stored? One approach is to keep the stack primar00
SSaguninsagunwrites.hashnode.dev·Aug 16 · 7 min readStack OrganizationIn the previous articles, we studied two CPU organizations: Single Accumulator Organization General Register Organization Both approaches explicitly or implicitly use registers to hold operands. Now l00
SSaguninsagunwrites.hashnode.dev·Aug 16 · 7 min readGeneral Register OrganizationIn the previous article, we studied Single Accumulator Organization, where one main accumulator acts as the central working register. But what if a CPU needs to work with many values at the same time?00
SSaguninsagunwrites.hashnode.dev·Aug 16 · 6 min readSingle Accumulator OrganizationIn the previous article, we introduced the major types of CPU organization. Now we'll examine the first one in detail: Single Accumulator Organization. The accumulator-based organization is one of the00
SSaguninsagunwrites.hashnode.dev·Aug 16 · 6 min readLogical InstructionsA CPU doesn't only perform arithmetic. It also needs to manipulate individual bits, compare values, test conditions, and perform operations used in everything from operating systems to embedded system00
SSaguninsagunwrites.hashnode.dev·Aug 16 · 5 min readArithmetic InstructionsComputers are constantly performing calculations. Adding numbers, subtracting values, increasing counters, and comparing numerical quantities are all common operations performed by a processor. The CP00
SSaguninsagunwrites.hashnode.dev·Aug 6 · 4 min readBasic Units of a ComputerA computer may look like a single machine, but internally it consists of several functional units that work together to process information. From accepting input to producing output, every operation p00