EASy68K  
It is currently Mon Dec 11, 2017 7:24 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Comparing
PostPosted: Sat Feb 18, 2017 2:45 am 
Offline

Joined: Sat Feb 18, 2017 2:37 am
Posts: 2
Hey guys, I have been trying a lot to compare two user input and then conditioning the output to user.
For example :-
1.User inputs 1
Then user Inputs 0
Output should be 0
2.user inputs 1
Then user inputs 1
Output should be 1
Guys pls help me in comparing two values


Top
 Profile  
 
 Post subject: Re: Comparing
PostPosted: Sun Feb 19, 2017 8:35 am 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
Take a look at the EASy68K Quick Reference Guide by Krupp and Emerson.
http://www.easy68k.com/easy68kexamples.htm

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject: Re: Comparing
PostPosted: Sun Feb 19, 2017 11:42 am 
Offline

Joined: Sat Feb 18, 2017 2:37 am
Posts: 2
Hey professor, I had a look at the reference but I'm still not able to figure out the coding for comparing. It would be great if u could help me little more...
Easy 68K takes a user input then stores it and then takes a another user input then add both values and compare them to condition greater than 1 BGT (something 1) otherwise to (something 2). Looking forward to your reply


Top
 Profile  
 
 Post subject: Re: Comparing
PostPosted: Sun Feb 19, 2017 10:57 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
The CMP branch is explained on the Input, Branching page of their tutorial.
http://www.easy68k.com/QuickStart/TwoFrames.htm

_________________
Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group