nasm
Nasm, bootloader switching foreground and background colors
Hey some im writing a bootloader using nasm a virtual machine ect. Anyhow, im using vram to display background and font color changes triggered by keys s, d, f, g. S switches the color of the font wit[详细]
2023-01-20 08:40 分类:问答nasm random number generator function [duplicate]
This question already has answers here: Randomizing Numbers in Assembly with MASM32 开发者_StackOverflow中文版(3 answers)[详细]
2023-01-20 06:33 分类:问答Memory corruption in assembly?
I currently have an assembly program which is modeled after the hexdump system function in Linux. Essentially, it prints the current line number, converts the binary values to hexadecimal strings and[详细]
2023-01-19 03:35 分类:问答Why is scanf returning 0.000000 when it is supplied with a double?
I have the following assembly code (written for NASM on Linux): ; This code has been generated by the 7Basic[详细]
2023-01-16 01:45 分类:问答How to debug an assembled program?
I have a program written in assembly that crashes with a segment开发者_运维知识库ation fault. (The code is irrelevant, but is here.)[详细]
2023-01-15 23:53 分类:问答How to print string in OS-neutral way?
I am trying to print a string in a way that\'s OS-neutral. For example, the program should ru开发者_JAVA百科n the same on Windows as it does on *nix.[详细]
2023-01-14 17:11 分类:问答Why is this an invalid operand?
I have the following ASM file generated by a compiler I\'m writing:开发者_StackOverflow中文版 ; This code has been generated by the 7Basic[详细]
2023-01-14 06:28 分类:问答NASM 64 bit immediate address for movlps gives "dword data exceeds bounds"
I need the instruction movlps with an immediate address that be 64 bits wide,开发者_开发技巧 which according to Intel manuals should be perfectly possible. So, something like this:[详细]
2023-01-13 22:22 分类:问答When assembling .asm, can it be disassembled to the same syntax?
Say I have a simple nasm pr开发者_如何学运维ogram to print hello!, of course in intel syntax, when I assemble it (with -f elf) and diassemble with with ndisasm it\'s completely different! why can it n[详细]
2023-01-12 02:43 分类:问答Shutting down computer with nasm
Is it possible to shut down or kill the power (is there a difference?) t开发者_高级运维o a computer from nasm. I know you can use this to reboot:[详细]
2023-01-11 09:33 分类:问答
加载中,请稍侯......