flat assembler
Message board for the users of flat assembler.
Index
> Linux > How to loop? |
Author |
|
typedef 20 Feb 2015, 00:17
loopnz
|
|||
20 Feb 2015, 00:17 |
|
HaHaAnonymous 20 Feb 2015, 00:22
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 17:54; edited 1 time in total |
|||
20 Feb 2015, 00:22 |
|
Rock24 20 Feb 2015, 00:29
Thank you HaHaAnonymous, typedef.
I was sure that 'syscall' destroy only rax |
|||
20 Feb 2015, 00:29 |
|
HaHaAnonymous 20 Feb 2015, 00:34
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 17:54; edited 1 time in total |
|||
20 Feb 2015, 00:34 |
|
Rock24 20 Feb 2015, 00:52
I have one question yet.
What if i use cx register instead rcx? This will change something in the loop / code? |
|||
20 Feb 2015, 00:52 |
|
HaHaAnonymous 20 Feb 2015, 01:00
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 17:54; edited 1 time in total |
|||
20 Feb 2015, 01:00 |
|
badc0de02 20 Feb 2015, 01:57
so CX are the first 16 bits of the ecx Register and ecx the first 32 of the rax register
if rcx gets destroyed the other will get too |
|||
20 Feb 2015, 01:57 |
|
gens 20 Feb 2015, 02:06
|
|||
20 Feb 2015, 02:06 |
|
nkeck72 28 May 2015, 20:59
Was being an idiot. As such, this post has been removed.
_________________ It may look hard, but it won't take long if you take it one byte at a time. NOS: www.github.com/nkeck720/nos |
|||
28 May 2015, 20:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.