flat assembler
Message board for the users of flat assembler.
Index
> Main > Error with mov qword [r8],'interfac' |
Author |
|
Roman 27 Nov 2020, 11:35
Code: mov r8,TxtOut mov qword [r8],'interfac' Fasm get errro value out of range. If not write qword fasm get error size not specifed. |
|||
27 Nov 2020, 11:35 |
|
Roman 27 Nov 2020, 11:36
Code: mov r8,TxtOut mov rax,'interfac' mov qword [r8],rax This compiled ok |
|||
27 Nov 2020, 11:36 |
|
MaoKo 27 Nov 2020, 13:38
You cannot directly move height byte from immediate to memory.
|
|||
27 Nov 2020, 13:38 |
|
revolution 27 Nov 2020, 13:44
Yes. What MaoKo says is correct. It is a CPU restriction. Only MOV can be used for immediate constants greater than 32-bits.
|
|||
27 Nov 2020, 13:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.