The document summarizes data transfer and arithmetic instructions for the 8086 instruction set. It describes instructions such as MOV, XCHG, LEA, LDS, LES, ADD, SUB, MUL, DIV, INC, DEC and DAA. For each instruction, it provides details on the operation, operands, flags affected and examples of usage. It also explains considerations when using different data types as operands for instructions.
Shift and Rotate Instructions
Shift and Rotate Applications
Multiplication and Division Instructions
Extended Addition and Subtraction
ASCII and Packed Decimal Arithmetic
The document discusses various assembly language instructions including shift, rotate, multiplication, division, and binary search. It provides examples and explanations of instructions like SHL, SHR, SAL, SAR, ROL, ROR, MUL, DIV, and binary search algorithms. The agenda includes demonstrating these instructions through hands-on exercises and discussing how to write an assembly program to check if a number is prime and calculate xy through repetitive multiplication.
The document discusses different addressing modes used by a CPU to access data. It describes 6 main addressing modes - direct, indirect, register, register specific, immediate, and external addressing. For each mode, it provides examples of instructions that use that mode to demonstrate how the CPU specifies the location and use of operands. It also distinguishes between using these modes to access internal memory locations like RAM versus external memory or Special Function Registers.
This document discusses the different addressing modes of the 8051 microcontroller. It describes five addressing modes: immediate, direct, register direct, register indirect, and indexed. The immediate addressing mode transfers an 8-bit data directly to the accumulator. The direct addressing mode specifies the address of the source data instead of an immediate value. The register direct mode uses a register name as the source operand. The register indirect mode uses the value in a register as the address of the source data. Finally, the indexed addressing mode adds the value of a register like the data pointer or program counter to the accumulator to use as the address.
The document provides an introduction to microcontrollers, specifically focusing on the Intel 8051 microcontroller. It defines microcontrollers and distinguishes them from microprocessors by noting that microcontrollers contain peripherals like RAM, ROM, I/O ports and timers on a single chip, while microprocessors require external circuitry. It then describes the architecture and features of the Intel 8051 microcontroller, including its 4KB program memory, 128 bytes of data memory, 32 general purpose registers, two timers, interrupts and I/O ports. Development tools for microcontrollers like editors, assemblers, compilers and debuggers/simulators are also discussed.
The document summarizes data transfer and arithmetic instructions for the 8086 instruction set. It describes instructions such as MOV, XCHG, LEA, LDS, LES, ADD, SUB, MUL, DIV, INC, DEC and DAA. For each instruction, it provides details on the operation, operands, flags affected and examples of usage. It also explains considerations when using different data types as operands for instructions.
Shift and Rotate Instructions
Shift and Rotate Applications
Multiplication and Division Instructions
Extended Addition and Subtraction
ASCII and Packed Decimal Arithmetic
The document discusses various assembly language instructions including shift, rotate, multiplication, division, and binary search. It provides examples and explanations of instructions like SHL, SHR, SAL, SAR, ROL, ROR, MUL, DIV, and binary search algorithms. The agenda includes demonstrating these instructions through hands-on exercises and discussing how to write an assembly program to check if a number is prime and calculate xy through repetitive multiplication.
The document discusses different addressing modes used by a CPU to access data. It describes 6 main addressing modes - direct, indirect, register, register specific, immediate, and external addressing. For each mode, it provides examples of instructions that use that mode to demonstrate how the CPU specifies the location and use of operands. It also distinguishes between using these modes to access internal memory locations like RAM versus external memory or Special Function Registers.
This document discusses the different addressing modes of the 8051 microcontroller. It describes five addressing modes: immediate, direct, register direct, register indirect, and indexed. The immediate addressing mode transfers an 8-bit data directly to the accumulator. The direct addressing mode specifies the address of the source data instead of an immediate value. The register direct mode uses a register name as the source operand. The register indirect mode uses the value in a register as the address of the source data. Finally, the indexed addressing mode adds the value of a register like the data pointer or program counter to the accumulator to use as the address.
The document provides an introduction to microcontrollers, specifically focusing on the Intel 8051 microcontroller. It defines microcontrollers and distinguishes them from microprocessors by noting that microcontrollers contain peripherals like RAM, ROM, I/O ports and timers on a single chip, while microprocessors require external circuitry. It then describes the architecture and features of the Intel 8051 microcontroller, including its 4KB program memory, 128 bytes of data memory, 32 general purpose registers, two timers, interrupts and I/O ports. Development tools for microcontrollers like editors, assemblers, compilers and debuggers/simulators are also discussed.