What is the problem you are having? This looks like a legitimate assembly program fragment (assuming you are using EMU8086 or a DOS box of some sort), but not exactly a complete program. The biggest issue I can see is that it doesn't compute what your supposed to; this takes in five variables, not the three specified, and the formula it calculates does not match that in the problem statement.
Schol-R-LEA
Veteran Poster
1,042 posts since Oct 2010
Reputation Points: 452
Solved Threads: 167
Skill Endorsements: 11