Logo 
Search:

Assembly Language Forum

Ask Question   UnAnswered
Home » Forum » Assembly Language       RSS Feeds

assignment

  Asked By: JISSO    Date: Sep 24    Category: Assembly Language    Views: 2790
  

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.
Q2. Write an ALP to add two 32-bit numbers. The first 32-bit number is stored in location DAT1 and the second 32-bit number is stored in location DAT2. The result of the operation must be stored back at memory location DAT2. If there is carry it must be stored in the next consecutive location after result. Use the small memory model for this program.
Q3. 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.
Q4. Write an ALP to arrange a set of signed numbers at location NUM2 in ascending order. Use model tiny for this program.
Q5. Using the appropriate memory model write an ALP to find the factorial of an 8-bit unsigned number with value between 0-8d stored at location DAT and store the result at location RES.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on assignment Or get search suggestion and latest updates.




Tagged: