flat assembler
Message board for the users of flat assembler.
Index
> Assembly > unREAL mode Goto page Previous 1, 2 |
Author |
|
CandyMan 26 Oct 2014, 18:18
In 16-bit unreal mode this instruction is valid.
Code: mov [cs:1234h],ax In 32-bit unreal mode this instruction is valid. Code: mov [cs:12345678h],eax Writting with cs override is invalid in protected mode, so it is indeed real mode. _________________ smaller is better |
|||
26 Oct 2014, 18:18 |
|
neville 27 Oct 2014, 04:40
CandyMan wrote: In 32-bit unreal mode this instruction is valid. Edit: oops, I should've put my glasses on before shooting my mouth off Well, it would be valid in 16-bit unreal mode if it was an es: override, but not for the cs: override. _________________ FAMOS - the first memory operating system |
|||
27 Oct 2014, 04:40 |
|
freecrac 27 Oct 2014, 14:24
neville wrote:
In 16-bit unreal mode i like to use instructions without a segment override prefix using the default segment register of DS. Code: xor ebx, ebx mov bx, ds shl ebx, 4 mov edi, 12345678h sub edi, ebx mov [edi],eax |
|||
27 Oct 2014, 14:24 |
|
CandyMan 27 Oct 2014, 16:08
I only wrote that in the protected mode writing with cs prefix is generating the exception.
In the real mode and unreal mode this instruction is correct. It is distinguishing the real mode than protected. In unreal 32-bit mode this instruction is valid, but is invalid in unreal 16-bit mode. Code: mov [cs:12345678h],eax He is happening this way because 64kb limit was crossed. I am recommend to use the debugger from http://board.flatassembler.net/topic.php?p=104631#104631 _________________ smaller is better |
|||
27 Oct 2014, 16:08 |
|
CandyMan 25 Nov 2015, 18:39
whether is possible to use the big stack (>64 KB) in the 32-bit flat real mode?
Results from my tests that yes. The big stack is needed for me e.g. for the recursive sorting of many elements. Soon I am going to make the program available to tests which is using the big stack under flat mode. I don't know whether the big stack is possible on all processors Intel (works on my AMD). _________________ smaller is better |
|||
25 Nov 2015, 18:39 |
|
CandyMan 26 Nov 2015, 16:14
here big stack test program, start and write whether is working
_________________ smaller is better Last edited by CandyMan on 11 Aug 2018, 16:48; edited 1 time in total |
|||
26 Nov 2015, 16:14 |
|
Shahada 27 Nov 2015, 15:11
Is working.
------------------------------------------------------------------------------------- None saw it; Neither did Aminadab appear. Ya Allah Ya Allah Ya Allah |
|||
27 Nov 2015, 15:11 |
|
CandyMan 05 Aug 2018, 18:50
_________________ smaller is better |
|||
05 Aug 2018, 18:50 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.