[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Branches in AMD64 assembler
From: |
anthony |
Subject: |
Branches in AMD64 assembler |
Date: |
Sun, 16 Aug 2020 13:55:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hello,
after reading the gforth manual, the list archive and the
comp.lang.forth newsgroup I was unable to find any documentation or an
example with a loop in ASM64 and ABI-CODE.
I expected something like this:
ABI-CODE TEST
0 # R10 MOV
L1:
1 # R10 ADD
10 # R10 CMP
L1 REL) JNZ
RET
END-CODE
This gives a compile error
In the file testasm.fs is see : HERE REL) JNZ
this gives no compile error, so I am close
can you give me a hint or an example on how to implement this?
Thanks, Anthony
- Branches in AMD64 assembler,
anthony <=