#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    3
    Rep Power
    0

    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,
  2. #2
  3. fork while true;
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    May 2005
    Location
    England, UK
    Posts
    5,538
    Rep Power
    1051
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    3
    Rep Power
    0
    Originally Posted by LinuxPenguin
    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
  6. #4
  7. fork while true;
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    May 2005
    Location
    England, UK
    Posts
    5,538
    Rep Power
    1051
    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.

    Comments on this post

    • donpearson agrees
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    3
    Rep Power
    0
    O.K don't help me.
    I must remember my manners, or the friendly moderator team will ban me

    Comments on this post

    • Schol-R-LEA disagrees
    Last edited by SimonGreenhill; May 3rd, 2006 at 04:48 PM. Reason: politeness modifier +5
  10. #6
  11. Commie Mutant Traitor
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Jun 2004
    Location
    Norcross, GA (again)
    Posts
    1,805
    Rep Power
    1570
    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.
    Last edited by Schol-R-LEA; May 3rd, 2006 at 07:19 PM.
    Rev First Speaker Schol-R-LEA;2 JAM LCF ELF KoR KCO BiWM TGIF
    #define KINSEY (rand() % 7) λ Scheme is the Red Pill
    Scheme in Short Understanding the C/C++ Preprocessor
    Taming Python A Highly Opinionated Review of Programming Languages for the Novice, v1.1

    FOR SALE: One ShapeSystem 2300 CMD, extensively modified for human use. Includes s/w for anthro, transgender, sex-appeal enhance, & Gillian Anderson and Jason D. Poit clone forms. Some wear. $4500 obo. tverres@et.ins.gov
  12. #7
  13. Commie Mutant Traitor
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Jun 2004
    Location
    Norcross, GA (again)
    Posts
    1,805
    Rep Power
    1570
    Just to show that we are not entirely hostile to requests of the sort you made, you may want to check out this thread, 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.

    Comments on this post

    • SimonGreenhill agrees
    Rev First Speaker Schol-R-LEA;2 JAM LCF ELF KoR KCO BiWM TGIF
    #define KINSEY (rand() % 7) λ Scheme is the Red Pill
    Scheme in Short Understanding the C/C++ Preprocessor
    Taming Python A Highly Opinionated Review of Programming Languages for the Novice, v1.1

    FOR SALE: One ShapeSystem 2300 CMD, extensively modified for human use. Includes s/w for anthro, transgender, sex-appeal enhance, & Gillian Anderson and Jason D. Poit clone forms. Some wear. $4500 obo. tverres@et.ins.gov

IMN logo majestic logo threadwatch logo seochat tools logo