Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Assembly Language Article
Submit Article
Comments on Program to check whether the number inputted is prime or not
Program to check whether the number inputted is prime or not
Category:
Assembly Language
(
Homework Help
)
Author:
Sarah Campbell
A Program to check whether the number inputted is prime or not.
Amay Mao
from
United States
Mar 20
how can I write an 8051 assembly language program that determines if a number is prime or not.
I have to do :
o Input value is stored in R0 (you can just type it in from within the simulator or do a mov
command
o Output value is a 1 stored in R0 if the input value was prime, a 0 stored in R0 if the input
value was not prime
o Provide comments in the source file that describe how you tested your program for
correct operation and describe the results of those tests
o Turn in printed source code
Rifat Hasan
from
Bangladesh
Dec 08
very very nice &logical
Related Topics:
How to add meta keywords and meta description
How to Highlight Row of Gridview on Mouse Over which doesn't use alternate row color
How to Highlight Gridview Row on Mouse Over when gridview rows are using alternate row color
Array
Array Lenght Property
Array Join Method
Array toString() Method
Array reverse() Method
Array sort() Method
Array slice() Method
Find Current Date and Time
How to Find Day of Month
How to find day of the week
How to find Year details from date
How to find Hours Details from Given Date
Please enter your Comment
Comment should be atleast 15 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
Assembly Language
View All
General
Homework Help
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint