![]() ![]() Commonly Asked Data Structure Interview Questions.Top 10 algorithms in Interview Questions.Top 20 Dynamic Programming Interview Questions.Top 20 Hashing Technique based Interview Questions.Top 50 Dynamic Programming (DP) Problems.Top 20 Greedy Algorithms Interview Questions.Top 100 DSA Interview Questions Topic-wise.Index: Content of index register SI or DI.Base: Contents of base register, BX or BP.Displacement: It is an 8 bit or 16 bit immediate value given in the instruction.Effective address or Offset: An offset is determined by adding any combination of three address elements: displacement, base and index. ![]() Unlike earlier in one address instruction, the result was stored in accumulator here result can be stored at a different location rather than just accumulator, but require the number more of the bit to represent address. Here two address can be specified in the instruction. i.e there will be one opcode field and one address field. Implied means that the CPU already know that one operand is in accumulator so there is no need to specify it. One operand is in accumulator and other is in register or memory location. This use a implied ACCUMULATOR register for data manipulation. A stack based organization uses zero address instruction. Generally CPU organization are of three types on the basis of number of address fields:Īddress is stored in the opcode, in the zero address instruction. Instruction Formats (Zero, One, Two and Three Address Instruction)Ī instruction is of various length depending upon the number of addresses it contain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |