Assembly Language Programming Tutorial – 45 – SHL Instruction

All references in this video came from:
Assembly Language for x86 Processors (6th Edition) http://goo.gl/n3ApG

Brought to you by http://www.rasmurtech.com/

The Rasmurtech Community: http://goo.gl/mt6OzH

Rasim from Rasmurtech.com give us another tutorial on Assembly Language Programming . In this tutorial Rasim shows us how to use the SHL Instruction.

Download:

emu8086: http://goo.gl/AXgw2u

Binary to Decimal to Hexadecimal Converter: http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html

ASCII TABLE: http://goo.gl/qDqYDw

Wiki Answsers: Explain 8086 flag register http://wiki.answers.com/Q/Explain_8086_flag_register

Google Plus: https://plus.google.com/112317437942092121047

Twitter: https://twitter.com/rasmurtech

Facebook: https://www.facebook.com/Rasmurtech‎

Instagram: http://instagram.com/rasmurtech

Comments

n o i d says:

Thanks!

ayush gupta says:

hey, why did you not make a rol,ror,rcr and rcl instruction video? :(

Umair Hussain says:

watched all your, SHL,SHR,SAL & SAR tuts, thank you
and you could also add the ROL,ROR,RCR & RCL instructions video :)

Tails8521 says:

Just a detail I want to add about SHL and all the similar shift operations like SHR, ROL, ROR… it can only take the value 1 or the CL register as second operand, at 5:40, you can see that the assembler corrected “shl ax, 2” into 2 lines of “shl ax, 1”, with some others developpement environements, it can prevent the program from assembling with an invalid inscruction operand because there is no x86 opcode for a shift with immediate value other than 1, so that’s good to know.
If you face that problem, just add the instruction several times or use the CL register.

darkaxe201 says:

In what case would the SHL instruction be useful?

Waqar Mughal says:

when i code like this, this gives an error

error: improper operand type

mov ax,1
shl ax,2

mov dx,ax
mov ah,2
int 21h

Hopewell Ngcongo says:

wow real help full video bra thanks

Write a comment

*

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours