Joined: Sun Oct 09, 2011 9:24 am Posts: 1 Has thanked: 0 time Have thanks: 0 time
[code][/code]please help to write the ALP code in 8086
1.Write an ALP to find the maximum positive number from a given array of signed 8-bit numbers stored at location ARRAY1. The result must be stored at location MAX_P. Use the small memory model for this program.
2. Write an ALP to find out the number of even and odd numbers from a given array of 16-bit numbers. The array starts at memory location NUM1. Store the count of even numbers and odd numbers in memory locations EVENC and ODDC respectively. Use model tiny for this program.