Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Assembly programming : Example # 3 again!

Loading...

Sign in or sign up now!
16,218
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 19, 2007

Assembly language example # 3: input and output characters.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (youhakim)

  • can you teach me how to add two digit number??

  • "Assembly programming : Example # 2 again!" does just that!

  • Tip:

    Arrow up in command promt will browse to the history of all your input.

  • Nope, that doesn't work after you execute tasm.

  • Ohh oke, thought i could give a expierienced person a tip for a change :)

  • I appreciate it that you take time to write the tip :)

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • Buy a keyboard lol

  • what assembler did he use??

  • ASM > Chuck Norris > Everything (including ASM)

    Problem logic?

  • youtube.com/watch?v=TROnlvorhD­s programming will be easy in the future.

  • @utubeuserca MOV [BX], AL means we are moving the contents of AL into the address contained in BX and not the register BX itself..

  • Great video. Do you have the game breakout or pong in this version of Assembly language? or do you know where I can get it at? thanks

  • Try looking at this page.

    spike(dot)scu(dot)edu(dor)au/~­barry/interrupts.html

    this page contains some information on DOS interrupt Functions

  • The 21h DOS Interrupt has the 1h "function" which we use it for reading the Keyboard Key strokes. Its the Standard Input. Every time we Read a character from the user when he pressed a key it goes to the Low Byte (8bits) of AX which is AL. Then we copy AL and store it in BX which is pointing to our Array called Chars

    AX is a 16-bit Register is split into Low and High Bytes (8-bits) which are AH, and AL. Hope this makes it clearer if not feel free to send me a message.

  • oh sorry,

    it is not [DX] it is [BX]

    So tell me what is happing by mov [BX], AL

    Where we are using this AL ?

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more