flat assembler
Message board for the users of flat assembler.
Index
> Main > console mode |
Author |
|
JohnFound 25 Nov 2012, 09:02
You can use ncurses on Windows. Check the ncurses site for documentation and installation packages.
|
|||
25 Nov 2012, 09:02 |
|
baldr 25 Nov 2012, 11:36
Hugh Aguilar,
For simple line-oriented I/O you can use C runtime from Microsoft (MSVCRT.DLL). Fancy UI can be drawn with WinAPI console functions (e.g. WriteConsoleOutput()). Public Domain Curses is available too, but you may have to recompile it for x86-64 and write proper include file. |
|||
25 Nov 2012, 11:36 |
|
AsmGuru62 25 Nov 2012, 12:48
I was hoping to finish a small library for this -- just for FASM.
I started long ago, but kind of stalled -- too much of other work I have. |
|||
25 Nov 2012, 12:48 |
|
Hugh Aguilar 26 Nov 2012, 00:05
baldr wrote: Hugh Aguilar, Thanks everybody for the tips. I'll look into what is required to get ncurses running under Windows with FASM. BTW: Another noobie question: Can anybody provide a link to a document describing the 64-bit x86? I have the Intel manuals. They are very thorough, but rather cumbersome. Is there anything available that would allow me to quickly look up the instructions? I'm very rusty on this stuff, and I've only done 32-bit and 16-bit in the past, so I need a handy reference. |
|||
26 Nov 2012, 00:05 |
|
baldr 26 Nov 2012, 00:46
Hugh Aguilar,
There is x86asm.net site, it's home for x86 instructions' reference (there are some useful articles too, e.g. x86-64 Tour of Intel Manuals). |
|||
26 Nov 2012, 00:46 |
|
Hugh Aguilar 26 Nov 2012, 01:23
baldr wrote: Hugh Aguilar, Excellent! That is exactly what I wanted --- if I find an instruction that I don't know about, I look it up in the Intel manual for a detailed description, but this will speed up my work a lot on basic programming. Yet more noobie questions: Is it true that all reference to memory is relative, and there is no absolute addressing mode on the 64-bit x86? The rip register hold's the current instruction's address and is used internally for this? It looks like mov is the only instruction that can use 64-bit immediate values. If I use another instruction with a 64-bit register and a smaller immediate value (such as 32-bit), will that immediate value get sign-extended or zero-extended? Does it depend on which instruction this is? |
|||
26 Nov 2012, 01:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.