Nvis 5586A
Nvis Technologies Pvt. Ltd.
104
Sample Programs
The monitor software of Nvis 5586A resides in 128K Byte of EPROM. The system software
has certain useful routines, which can be utilized by the user for developing his programs.
The address of these routines is given in the Subroutine chapter.
Example
The following sample programs are given here to make the user familiarize with the
operation of Nvis 5586A.
1.
16-Bit Addition.
2.
16- Bit Subtraction.
3.
16-Bit Multiplication.
4.
32- Bit Division.
5.
Program for addition of two numbers and display it on LCD.
6.
Moving data form 500 memory locations to 600 memory locations.
7.
Program for moving string form one memory location to other.
8.
Searching a number in given array.
9.
Program for comparing two strings
10.
Program for moving the string for one memory location to other location with
changed segment address.
11.
To ADD two Binary numbers each 8 Bytes long
12.
To find the maximum no. in a given string (16 Bytes long) and store it in location
0510.
13.
To sort a string of a no. of bytes in descending order.
14.
To multiply an ASCII string of eight numbers by a single ASCII digit.
15.
To Divide a String of Unpacked ASCII Digits
16.
A Data string of no. of bytes (to be specified in CX reg.) is located from the
starting address 0500. This data string is to be converted to its equivalent 2' S
complement Form and the result is to be stored from 0600 onwards.
17.
Serial Port Programming
18.
8259 Interrupt Controller
19.
BCD Addition of two bytes.
20.
BCD Subtraction of two bytes.
21.
Find whether a no is even or odd.
22.
Find whether a no is positive or negative.
23.
Find whether a no is even or odd and display it on LCD.
Summary of Contents for 5586A
Page 2: ...Nvis 5586A Nvis Technologies Pvt Ltd 2...
Page 23: ...Nvis 5586A Nvis Technologies Pvt Ltd 23 Memory Read Timing in Maximum Mode...
Page 30: ...Nvis 5586A Nvis Technologies Pvt Ltd 30...
Page 48: ...Nvis 5586A Nvis Technologies Pvt Ltd 48 Diagram of module RESET power Instruction Set Note...