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.
But it seems like I've got everyone fooled, every time I say something they find hard to hear, they chalk it up to my anger, and never to their own fear! Just trying to finally come clean, knowing full well they'd prefer you were dirty and smiling and I am sorry! Trouble is you gotta have yourself an alternate plan, I have been working all of my life, and I am a patriot. I have been fighting the good fight.
Hakim, I liked this video a lot because you explained more about the porpuse of assembly language and explained the lines of code when you where typing them. Please, keep doing more videos that they are really appreciated, thank you :)
Buy a keyboard lol
levidos 2 months ago
what assembler did he use??
thematadox44 7 months ago
ASM > Chuck Norris > Everything (including ASM)
Problem logic?
ZZSFAN 10 months ago
youtube.com/watch?v=TROnlvorhDs programming will be easy in the future.
supermatti78 1 year ago
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
jida01 2 years ago
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 ?
utubeuserca 2 years ago
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.
wulfy88 2 years ago
Try looking at this page.
spike(dot)scu(dot)edu(dor)au/~barry/interrupts.html
this page contains some information on DOS interrupt Functions
wulfy88 2 years ago
This has been flagged as spam show
@utubeuserca "So tell me what is happing by mov [BX], AL"
When you use block brackets around an operand, you are refering to the value stored at an address (a pointer).
So lets get this straight, lets say AL = 20, BX = 10. look at this mnemonic
mov BX, AL
this would move the value stored in al (20) into BX. Now look at this
mov [BX], AL
this would store the value stored in AL into the memory address pointed to by BX (address 10)
mov [address], operand
0121ryanh117 2 years ago
What exactly happening:
MOV [DX], AL
; I think you are moving the contents of the memory location pointed by DX into AL.
BUT BY DOING THAT WHAT WE ARE ACHIEVING IN THIS PROGRAM.
ACCORDING TO MY UNDERSTANDING WE ARE NOT USING AL IN ANY CONTEXT HERE.
please someone explain me what is hapening when we do "MOV [DX], AL"
utubeuserca 2 years ago
@utubeuserca MOV [BX], AL means we are moving the contents of AL into the address contained in BX and not the register BX itself..
maccoony 1 year ago
can you teach me how to add two digit number??
maise10 2 years ago
"Assembly programming : Example # 2 again!" does just that!
youhakim 2 years ago
wow ;) meny homo's get atracted by this terrorist maybe hes poison't them HAHA lmao joke joke peopel relax it was just a joke
kassem435 2 years ago
which notepad is this please?
kwantumspin 2 years ago
notepad++.
Tarandarklord 2 years ago
This has been flagged as spam show
search it on google
maise10 2 years ago
i just found your videos! i am a computer science major, i enjoy learning, thank you for posting your videos! love your accent :P
cptrecon 3 years ago
Tip:
Arrow up in command promt will browse to the history of all your input.
Phil19760 3 years ago
Nope, that doesn't work after you execute tasm.
youhakim 3 years ago
Ohh oke, thought i could give a expierienced person a tip for a change :)
Phil19760 3 years ago
I appreciate it that you take time to write the tip :)
youhakim 3 years ago
What's appreciated is your youtube contributions.. thank you, you seem like a very nice person i for instance would like to meet.
Phil19760 3 years ago
You people are learning from somebody associated with terrorists.
You people are therefore, terrorists. Hope you all go to hell.
With kindest regards,
tcuk
tcuk 3 years ago
youhakim 3 years ago
youhakim
I admire you, love your videos and have learned A LOT. I don´t think you are a terrorist but please tell us what you mean with those verses.
zurriagazo71 2 years ago
what makes you think you have learned A LOT?
kwantumspin 2 years ago
Well, compared to what i´ve learnt from other tutorials is A LOT.
Cheers
zurriagazo71 2 years ago
thanks a lot hakim!
i finally understood the concept of assembler because of your faboulus videos ^^
go one like this
truepsycho65 3 years ago
very helpfull video, thanks man
raveneyes86 3 years ago
Thank you Sir Hakim
these vids helped me a lot to understan the aim of assembly programming language
manoth1985 4 years ago
maybe you should use LEA DX, Chars instead of teh instruction offset. Only a suggestion
Albarranator 4 years ago
Hakim, I liked this video a lot because you explained more about the porpuse of assembly language and explained the lines of code when you where typing them. Please, keep doing more videos that they are really appreciated, thank you :)
jarochelas 4 years ago