Layer 2 addressing not required for this topology
Data Link
Data Link
The role is to transfer frames to packets
* addressing * error detection * frame delimiting
Data link layer transforms the physical layer and makes it appear error free. Data link layer is responsible for physical addressing. It has some other functions like error control, flow control and access control.
addressing modes helps the programmer to store or retrieve the data which is stored in any part of the data memory by addressing mode specified in the program.
The OSI model has seven layers whereby each layer has its function. The Data Link Layer is responsible for addressing data messages so that they reach their destination correctly.
Data can be accessed from memory by using the addressing modes, 8085 has 5 addressing modes namely,1. Immediate addressing mode 2. register addressing mode 3. direct addressing mode 4. indirect addressing mode 5. implied addressing mode
1.Explicit Addressing 2.Implicit Addressing 3.Link Based Addressing
Different Addressing modes are: 1. Direct Addressing Mode 2. Indirect Addressing Mode 3. Immediate Addressing Mode 4. Register Addressing Mode 5. Implicit Addressing Mode Immediate addressing Data is present in the instruction. Load the immediate data to the destination provided. Example: MVI R,data Register addressing Data is provided through the registers. Example: MOV Rd, Rs Direct addressing Used to accept data from outside devices to store in the accumulator or send the data stored in the accumulator to the outside device. Accept the data from the port 00H and store them into the accumulator or Send the data from the accumulator to the port 01H. Example: IN 00H or OUT 01H Indirect Addressing This means that the Effective Address is calculated by the processor. And the contents of the address (and the one following) is used to form a second address. The second address is where the data is stored. Note that this requires several memory accesses; two accesses to retrieve the 16-bit address and a further access (or accesses) to retrieve the data which is to be loaded into the register.
The Physical layer is responsible for the actual hardware connection. The physical addressing is handled by the Data Link Layer.