Stats: 3,183,682 members, 7,921,460 topics. Date: Thursday, 15 August 2024 at 05:44 AM |
Nairaland Forum / Buyandsellscent's Profile / Buyandsellscent's Posts
(1) (of 1 pages)
![]() |
Different types of addressing mode used for calculation of effective address have been explained in this study material for gate computer science. To explain the different type of addressing modes, we use the following notation: A = contents of an address field in the instruction that refers to a memory R = contents of an address field in the instruction that refers to a register EA = actual (effective) address of the location containing the referenced operand (X) = contents of location X (a) Immediate Addressing Mode The simplest form of addressing is immediate addressing, in which the operand is actually present in the instruction: OPERAND = A This mode can be used to define and use constants or set initial values of variables. The advantage of immediate addressing is that no memory reference other than the instruction fetch is required to obtain the operand. The disadvantage is that the size of the number is restricted to the size of the address field, which, in most instruction sets, is small compared with the world length. (b)Direct Addressing Mode Direct addressing is a simple addressing mode in which the address field of the instruction is itself the effective address of the operand. It means EA = A It requires only one memory reference and no special calculation. (c) Indirect Addressing Mode In indirect addressing mode is to have the address field of the instruction refer to the address of a word in memory, which in turn contains a full-length address of the operand. (d) Register Addressing Mode Register addressing is similar to direct addressing. The only difference is that the address field of the instruction refers to a register rather than a main memory address EA = R The advantages of register addressing are that only a small address field is needed in the instruction and no memory reference is required. The disadvantage of register addressing is that the address space is very limited. (e) Register Indirect Addressing Mode Register indirect addressing is similar to indirect addressing, except that the address field refers to a register instead of a memory location. Register indirect addressing uses one less memory reference than indirect addressing. Because, the first information is available in a register which is nothing but a memory address. From that memory location, we use to get the data or information. In general, register access is much more faster than the memory access. (f) Displacement Addressing: Displacement addressing mode is a very powerful mode of addressing combines the capabilities of direct addressing and register indirect addressing, which is broadly categorized as displacement addressing: EA = A + (R) Displacement addressing requires that the instruction have two address fields, at least one of which is explicit. The value contained in one address field (value = A) is used directly. The other address field, or an implicit reference based on opcode, refers to a register whose contents are added to A to produce the effective address. Three of the most common use of displacement addressing are: • Relative addressing • Base-register addressing • Indexing Relative Addressing For relative addressing, the implicitly referenced register is the program counter (PC). That is, the current instr uction address is added to the address field to produce the EA. Thus, the effective address is a displacement relative to the address of the instruction. Base-Register Addressing The reference register contains a memory address, and the address field contains a displacement from that address. The register reference may be explicit or implicit. In some implementation, a single segment/base register is employed and is used implicitly. In others, the programmer may choose a register to hold the base address of a segment, and the instruction must reference it explicitly. Indexing The address field references a main memory address, and the reference register contains a positive displacement from that address. In this case also the register reference is sometimes explicit and sometimes implicit. Generally index register are used for iterative tasks, it is typical that there is a need to increment or decrements the index register after each reference to it. website http://www.computersciencejunction.in/
|
![]() |
Want to become a driving instructor? Take intensive driving courses Wolverhampton and learn the on-hand techniques of driving. The teachers are knowledgeable and help you all through the courses. To know more about the courses. These courses are specially designed to give each student a wide knowledge on driving. The course materials will help you gather all the knowledge on the subject and the experts are always there to help you if you face any problem in learning the course. You can contact the teachers through email or online chat and they are always there to help you and give you instant help. You can take up the course as per your schedule and learn the course perfectly. So, Contact us today! And the customer care will help you on how to take the admission for the courses and how much you need to pay for the driving course. For Details Contact: Paul Thomas Driving Instructor Training Telephone 07970348015 Office open from 9am to 7pm – Monday to Friday. Email: Paul@drivinginstructortraining.biz website:https://www.drivingintensivecourses.com/wolverhampton/
|
![]() |
Edesign Turtle is a creative and proficient website design agency delivering world class service in the field of website designing, development and promotion services. We aim to provide exceedingly professional services in creating innovative design and interactive development of every aspect of your Website and App. Our team of experts have relevant years of experience in the industry. We pair our custom design services with extensive Search Engine Optimization (SEO) and e-marketing that will help you drive more traffic to your website. We offer you the best return for your investment in an efficacious way. We, at Edesign Turtle, offer a full range of services to mark your business presence, render your site prominence and maximize profitability. We are always ready to serve you with whatever solution you are looking for. website https://www.edesignturtle.com/ Email : info@eesignturtle.com
|
![]() |
Awful smells in cars are hard to get rid of using typical Scentsy Car Bar Scents. Everyone wants to keep the new car smell in their car as long as possible. If you can’t find the source, pull out the car vacuum.Apply Car Bar Scentsy in your car & dissipated the smell. Odors can be caused by ordinary objects and liquids that you may never suspect. To treat the issue, it’s important to discover the source and remove it. Use Car Bar Scentsy & odors will be easier to eliminate than others, but all can be treated once you know the cause. Website:http://www.buyandsellscents.us/products_cat/scents-wax/scentsy-bars/
|
![]() |
Scentsy Natural Oils is where things get geeky. Instead of attractive fragrance from a single plant, the aroma is created by combining individual molecules from two or more naturally occurring substances.It’s only natural that Scentsy would begin to present Essential oils! Combine with other Scentsy oils to create a personalized sensory knowledge. Natural fragrances are all the temper, but when we launched our line of 100% Natural and Essential Oils last summer, accurately no one was focusing on natural and essential oils for home fragrance. Create a fragrance experience that makes livelier more than just your sense of aroma. For buying or more information visit website:-http://www.buyandsellscents.us/products_cat/scents-wax/natural-essential-oil/ Call Us 520-981-5251
|
(1) (of 1 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 22 |