Learning x86 with NASM - Creating a Loop

preview_player
Показать описание
This video demonstrates how to create a loop to iterate a list of numbers using jump and comparison instructions.

#nasm #x86
Рекомендации по теме
Комментарии
Автор

Thank you! You're doing the best course on NASM

klalafudaklalafu
Автор

Instead of
JE end
JMP loop
I personally would write
JNE loop
because the natural flow leads us to the end (in this case) anyway if the condition is met, that way we save one instruction and a jump instruction at that, which is expensive (given, not in this small example program). But maybe that's just my personal preference.

Anyway, this is a great instructional video. Good explanation, slowly paced, just what I would have needed back in the day. Thanks for your efforts. :)

CodingGenesis
Автор

Waited for this, Thank you very much and looking forward to more x86 videos!

denniskarlsson
Автор

Good work.

On linux i used nasm and for graphic framebuffer FB0 device with a matrox mga in 1024x768x32 resolution drawing into buffered memory.

maxmuster
Автор

hi, tnx for ur videos. i have a probably stupid question, but why i can't move through the list like this [list+al] (using 8-bit register), instead of [list+eax]?

sucker
Автор

I like to use x86 assembly in the DosBox emulator using debug and batch files to create&run tiny exacutable files. I made some videos about x86 programming. Have fun.😊

maxmuster