1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Multiply SDK6800

Discussion in 'Assembly Language Programming (ALP) Forum' started by soorajhaswani, Jan 13, 2013.

  1. soorajhaswani

    soorajhaswani New Member

    Joined:
    Jan 13, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    how to create a program which multiplies and determines if a number, n, is prime. A prime number has only two factors. Your program should work with any input for n where n >= 0 and n <= 127. If the number is prime, then print the letter Y to the display, otherwise print the letter N.

    The following example has n = 5 and should print Y since n is a prime number.
     

Share This Page