Hello. I was wondering if i could get some help with SKIPCOND for MARIE aseemble language. Here is my problem
I need to write a program that takes 8 numbers and finds the lowest and highest of the 8 numbers. I'm getting stuck on the skipcond. for example here is the psuedo code i've come up with
Input
Store A
Input
Store B
Input
etc for all 8 numbers
//Compare using skipcond
If A < B
Load A
Store Lowest
Else
Load B
Store Lowest
And i would do this for all 8 numbers until i found the lowest. And then i would go back through and use the same code in reverse for finding the highest. Trouble is i don't know how to compare the two numbers to eachother using Skipcond. Can anybody provide some insight into this? I've read my book and still don't quite understand fully.
I need to write a program that takes 8 numbers and finds the lowest and highest of the 8 numbers. I'm getting stuck on the skipcond. for example here is the psuedo code i've come up with
Input
Store A
Input
Store B
Input
etc for all 8 numbers
//Compare using skipcond
If A < B
Load A
Store Lowest
Else
Load B
Store Lowest
And i would do this for all 8 numbers until i found the lowest. And then i would go back through and use the same code in reverse for finding the highest. Trouble is i don't know how to compare the two numbers to eachother using Skipcond. Can anybody provide some insight into this? I've read my book and still don't quite understand fully.