| | |
HELP.. assembly program
![]() |
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
Hello Everyone,
i'm new to assembly language programing
i would like to write a program that will print prompts to enter two values and a code #. If the code # is 1, output the greater of the values.... otherwise it should output the lesser
here is what i have:
.begin
in first
in second
in code
load code
store code
jumpneq outsecond
load first
compare second
jumplt outsecond
out first
jump done
outsecond: out second
done: halt
first: .data 0
second: .data 0
code: .data 0
.end
Thanx,
i'm new to assembly language programing
i would like to write a program that will print prompts to enter two values and a code #. If the code # is 1, output the greater of the values.... otherwise it should output the lesser
here is what i have:
.begin
in first
in second
in code
load code
store code
jumpneq outsecond
load first
compare second
jumplt outsecond
out first
jump done
outsecond: out second
done: halt
first: .data 0
second: .data 0
code: .data 0
.end
Thanx,
![]() |
Similar Threads
- Program help required (Assembly)
- Assembly program need help (Assembly)
- Timer code in assembly program using PIC 16F84A (Assembly)
- How to run assembly program? (Assembly)
- sort program assembly (Assembly)
- Assembly Programming Question (Assembly)
Other Threads in the Assembly Forum
- Previous Thread: Define Type of Assembly
- Next Thread: how to display an array in tasm
| Thread Tools | Search this Thread |





