fasm Questions

4

Solved

I want to create printl function that allow me to print string in the ax register. I am in 16-bit real mode and I can not find any way to print a message. I using int 0x10 to print a single letter....
Requisition asked 14/6, 2015 at 19:7

2

Solved

I am learning amd64 assembler, and trying to implement a simple Unix filter. For an unknown reason, even simplified to the bare minimum version (code below), it crashes at random. I tried to debug...
Orchidectomy asked 22/6, 2019 at 18:35

2

I'm using DOS to boot up and start my application test.exe. This program starts the BSP (Bootstrap Processor) in real mode and accesses the APIC table at FEE0:0000 to enable the SVI (Spurious vecto...
Nonviolence asked 27/5, 2019 at 3:10

1

Solved

I learned to switch to protected mode with a simple DOS based bootloader. This loader loads kernel.bin into a buffer and copies the buffer to 100000h (kernel is 8KiB). Control is then transferred t...
Lavonia asked 19/2, 2019 at 18:15

2

Solved

I linked some assembly with some c to test the cost of a function call, with the following assembly and c source (using fasm and gcc respectively) assembly: format ELF public no_call as "_no_cal...
Humic asked 1/8, 2017 at 15:54

2

Solved

Is there any way to create named variables in the stack rather refer to them by offset: sub esp, 0x10 ; 4 variables of 4 bytes mov DWORD [ebp-4], 0xf ; 1st var mov DWORD [ebp-8], 0xff ; 2nd var ;...
Interchangeable asked 21/2, 2017 at 11:35

1

Solved

I've been messing around with x86-16 assembly and running it with VirtualBox. For some reason when I read from memory and try to print it as a character, I get completely different results from wha...
Siam asked 22/12, 2015 at 8:21

2

Solved

I am using XShm extension to draw and manipulate images in Linux. In order to not have screen flickering, I am passing send_event = TRUE to XShmPutImage and then waiting for the event with XIfEven...
Alanealanine asked 15/11, 2015 at 14:49

2

Solved

I'm using a flat assembler on windows and have already simulated a call instruction with jmp but was wondering if there's a better way to do it with less code?(not using a call) here's the code. ...
Twitty asked 25/1, 2015 at 4:44

1

Solved

I have tried compiling the following code in FASM: mov DWORD PTR [ebp - 4], 1234567 It gave me an "Invalid Expression" error. However the following code worked: mov DWORD [ebp - 4], 1234567 ...
Pellitory asked 29/12, 2014 at 1:32

1

Solved

I have done ARM assembly programming and I would like to learn the Intel Assembler. I keep hearing all these different F/M/N/ASMs mentioned- but I am unsure how they related to what I wish to achie...
Fate asked 16/4, 2012 at 18:55

5

Solved

Does anyone know any good NASM or FASM tutorials? I am trying to learn assembler but I can't seem to find any good resources on it.
Ramage asked 22/12, 2009 at 15:33

2

I'm exceptionally new to assembly. I only picked it up yesterday and I've looked through many examples and still can't figure out for myself how to write to the console. I always get an error when ...
Trimurti asked 29/3, 2010 at 18:56

1

I wrote simple "hello, world" in fasm, and its works, but how i can generate debug info for gdb and edb (Evan's Debugger)? Fasm compiler could only produce debugging symbols in its specific format ...
Viscometer asked 13/11, 2009 at 8:42
1

© 2022 - 2024 — McMap. All rights reserved.