Welcome to our diverse blog where we explore a wide range of fascinating topics that span the realms of exam preparation, science, business, technology, web development, administration, and health. Whether you're a student, a tech enthusiast, an entrepreneur, or simply someone seeking to enhance your knowledge, this blog is designed to provide you with insightful and engaging content.
Wednesday, 8 February 2017
X86 INSTRUCTIONS:::CONTROL FLOW::: JUMP INSTRUCTIONS:::LOOP INSTRUCTION
Syntax :
loop arg
The loop instruction decrements ECX and jumps to the address specified by arg unless decrementing ECX caused its value to become zero.
Example
mov ecx, 5
start_loop:
; the code here would be executed 5 times
loop start_loop
loop does not set any flags.
Syntax :
loopx arg
These loop instructions decrement ECX and jump to the address specified by arg if their condition is satisfied (that is, a specific flag is set), unless decrementing ECX caused its value to become zero.
loope loop if equal
loopne loop if not equal
loopnz loop if not zero
loopz loop if zero
Subscribe to:
Post Comments (Atom)
Insights on Exam Prep, Science, Business, Tech & Health
🚨 MSME Business Owners सावधान! Fake Website और Fraudulent MSME Services से बचें |
आज के डिजिटल दौर में MSME, Udyam Registration, Government Schemes, Business Loan, GST, Trademark और अन्य सरकारी सेवाओं के नाम पर कई फर्जी वे...
-
The Jump Instructions allow the programmer to (indirectly) set the value of the EIP register. The location passed as the argument is usually...
-
The instructions are of bit-wise logical instructions. Bit-wise AND Syntax : and src, dest #GAS Syntax and dest, src #Intel syntax Per...
-
World’s oldest red algae fossils found in India A group of scientists in India unearthed a pair of 1.6 billion-year-old fossils that appear ...
No comments:
Post a Comment