Helpful Information
 
 
Category: Other Programming Languages
Check ISBN code in assembly 8086

Hi guys,

I am new here, can some one here help me to find code in assembly 8086 that check if ISBN code is correct?

ISBN - Internetional Standard Book Numbering.
ISBN is 13 digit longth - 3 digits for strting, 9 digit code and 1 digit checksum

The program need to get the ISBN code from keyboard and chech if the chechsum is correct.
the check sum calculate on the 9 digits.

for more information - http://en.wikipedia.org/wiki/isbn

thanks,

We don't do homework.

Have you even had a go yourself?

We don't do homework.

Have you even had a go yourself?

this is not my homework, i am 31 years old, so this defenetly not homework.
I need this for work but my assembly skiles is poor.

pls help

We don't just do your work for you either. you should have a go yourself before we help you with a specific problem you are having

And 'pls' is never an acceptable spelling.

O.K don't help me.
I must remember my manners, or the friendly moderator team will ban me

I think you have misunderstood the purpose of this forum. We are here to help each other learn programming, not help others defraud their professors or employers. While there are legitimate sources of existing code, it is foolish and insulting to come to this forum and request one of us to do your work for you.

In any case, your claim to be a non-student rings hollow: the sort of routine you describe would not, as a rule, be done in assembly for anything except a course assignment, unless you happen to writing embedded code - in which case, we would need to know details of the hardware and firmware which you presumably could not reveal to us without violating your contract's NDA. Furthermore, presuming that this is part of a larger program, we would need to know how the functions in question would have to interface with the rest of the program, the format in which the strings are stored, etc as well as which operating system and assembler you are using (the specific program and version, not just 'x86 assembly'). Even if you are being forthright about this, you haven't given us enough information to solve the problem.

Writing something like this in assembly is a waste of time and effort, really, unless it is part of a larger program which is written entirely in assembly (in which case presumably you would have to know enough to write the rest of the code). There simply isn't much justification for it, as the code is unlikely to be signficantly smaller or run significantly faster than the equivalent coded in a less hostile notation. Even assembly fanatics like Scott Nudds or Paul Hsieh would agree that this would be premature optimization, and counterproductive for anyone whose goal was actual production code.

It is, however, suspiciously like a typical course assignment, so I'm more than a little incredulous about your assertions. I would further comment on your grammar and spelling, but that would be invidious of me; for all I know, you are not a native English speaker, though frankly your writing patterns are more typical of an American teen than of someone learning the language as an adult. Suffice it to say, I don't believe that you are out of high school, never mind in your thirties.

Just to show that we are not entirely hostile to requests of the sort you made, you may want to check out this thread (http://forums.devshed.com/other-programming-languages-139/asm-help-needed-348921.html), which (while still flawed) is a much better example of how to ask questions here. The poster a) wrote out as much detail as possible about the assignment, b) demonstrated that they'd made a good-faith effort to solve the problem themselves, and c) were polite and honest about what the assignment was for. You would do well to take these lessons to heart.










privacy (GDPR)