Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: HELP!!!  (Read 3917 times)

0 Members and 1 Guest are viewing this topic.

imherefold

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    HELP!!!
    « on: March 01, 2012, 05:35:20 PM »
    Okay, so I have a lab due tomorrow for class here is what we need to do in debug of the command prompt:

    use the e command to enter your name major and favorite food (three lines in complete sentences, at memory locations of yoru choosing. end each line with a $ write a debug program to do the following

    1. Ask the user how many times they want the information printed.
    2. Print to the screen the data, as many times as the user specified, with a blank line in between each block, move 09 to ah in order to print the entire lines at once.

    Can someone eplase help me on how I go about doing this???

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: HELP!!!
    « Reply #1 on: March 14, 2012, 05:56:07 AM »
    "e" command?  Never heard of it.

    We don't do people's homework, although we're happy to give general pointers to supplement what you've learnt in class.
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: HELP!!!
    « Reply #2 on: March 14, 2012, 08:06:51 AM »
    "e" command?  Never heard of it.
    Well, I first thought they might have been talking about the Editor included with PC-DOS, called "e"... but reading the rest of their posts, particularly a reference to the debug command, makes me think that they are referring to an e command in debug. I don't have access to MS-DOS debug (I'm on my linux laptop right now) and I can't recall what the e command does.

    What I don't like is they've not mentioned anything they tried; this reads, to me, that they didn't try at all. And if it's due tomorrow, presumably it was assigned some time ago and this is a last minute "Maybe if I post on a forum people will be so inclined to help me I won't have to do anything at all!" thing. I could be wrong, of course.

    Far more worrying to me is that anybody would try to teach using the MS-DOS Debug command, particularly when there are far better assemblers available. That would be like a modern software engineering course using the original implementation of FORTRAN.
    I was trying to dereference Null Pointers before it was cool.

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: HELP!!!
    « Reply #3 on: March 14, 2012, 09:54:08 AM »
    My company still relies on systems built in COBOL...
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: HELP!!!
    « Reply #4 on: March 14, 2012, 10:42:11 AM »
    My company still relies on systems built in COBOL...

    Plenty do.

    But nobody teaches programming with COBOL anymore.
    I was trying to dereference Null Pointers before it was cool.


    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: HELP!!!
    « Reply #6 on: March 14, 2012, 01:09:21 PM »
    Plenty do.

    But nobody respectable teaches programming with COBOL anymore.

    fixed my post ;P
    I was trying to dereference Null Pointers before it was cool.

    rthompson80819



      Specialist

      Thanked: 94
    • Experience: Experienced
    • OS: Windows 7
    Re: HELP!!!
    « Reply #7 on: March 14, 2012, 02:09:05 PM »
    Actually, I read a few years ago that some companies were paying a premium for programmers that knew COBOL.  Not that the companies wanted new programs written in COBOL, but the companies had so much money invested in legacy COBOL systems they needed programmers to keep it going since most of the original COBOL programmers were retiring.