Академический Документы
Профессиональный Документы
Культура Документы
AIM:
ALGORITHM:
1. Initialize the segments and the data for two matrices ant their size using the
respective assembler directives.
2. Get the offset addresses of Matrix 1 & 2 in corresponding index registers.
3. Clear Accumulator and Lower byte of flag register.
4. Initialize count for row and columns.
5. Multiply the elements of corresponding row and column in sequence, for matrix
multiplication using loop.
6. Store the result as another matrix and stop execution.
FLOWCHART:
PROGRAM:
RESULT:
The program for performing 3x3 matrix multiplication is written, executed and
the result is verified.
INTERFACING KEYBOARD/DISPLAY CONTROLLER TO 8085
AIM:
To interface Keyboard/Display controller(8279) with 8085 processor and to
display a string of characters.
FLOWCHART:
PROGRAM:
PROCEDURE:
Result:
The Keyboard/Display controller is interfaced with 8085 and the character display
is verified.
SIMPLE ARITHMETIC OPERATIONS USING 8051
AIM:
APPARATUS REQUIRED:
ALGORITHM:
8-BIT ADDITION:
1. Clear carry flag.
2. Get the first data in accumulator.
3. Add the second data with that of accumulator.
4. Store the result in a memory location.
5. Stop execution.
Flowchart:
PROGRAM:
ALGORITHM:
8-BIT SUBTRACTION:
1. Clear carry Flag.
2. Get the first data in accumulator.
3. Subtract the second data from that of accumulator.
4. Store the result in a memory location.
5. Stop execution.
6.
FLOCHART:
PROGRAM:
ALGORITHM:
8-BIT MULTIPLICATION:
1. Get the first data in accumulator.
2. Get the second data in B register.
3. Multiply the two data.
4. Store the result in a memory location.
5. Stop execution.
FLOWCHART:
PROGRAM:
ALGORITHM:
8-BIT DIVISION:
FLOWCHART:
PROGRAM:
OBSERVATION:
RESULT:
AIM:
To write an assembly language program to (i) find the biggest numder in an array
of data, (ii) convert the code from ASCII to Decimal value.
APPARATUS REQUIRED:
ALGORITHM:
FLOCHART:
PROGRAM:
FLOWCHART:
PROGRAM:
PROCEDURE:
RESULT:
The programs for array operation and code conversion are wriiten, executed and
the results are verified.