Questions tagged [assembler]
The assembler tag has no usage guidance.
22
questions
1
vote
0
answers
27
views
How to Use Assembly to Interact with the Desktop Application Directly
I am trying to learn to make graphical programs with assembly language. I do not want any external libraries. If I have to download something (after already downloading the assembler itself of course) ...
1
vote
1
answer
128
views
Syscall documentation for int80
I am learning x86 assembly and I was wondering if someone could help me understand why the documentation is telling me a completely different thing to what I see in practice?
To invoke a system call I ...
-1
votes
1
answer
7k
views
Another no such file or directory? But the file exists!
i am facing a problem that consumed a lot of my tine. i am trying to link my object file (small program compiled with nasm) with ld linker and using c functions. I searched a lot and i found that the ...
0
votes
2
answers
268
views
How to set up and run the code for "stlink" zip file from github in ubuntu 20.04
I am new at Ubuntu (20.04) and assembly programming. What I need to do is to set up the "stlink" stlink-1.6.1-1.x86_64.rpm file and/or Source code.zip file in this github link for release ...
0
votes
0
answers
134
views
Assembly exacutable does nothing when run
I was following this assembly tutorial and had just gotten to my first piece of code. Following the tutorial, I assembled the program using nasm -f elf hello.asm, made it into an executable with ld -m ...
0
votes
1
answer
894
views
Segmentation fault core dumped [duplicate]
GNU as compiler shows this error while running my executable ./hello which I get as a result of the proper compilation.
The output is unexpected.
Pls help using wsl for windows
0
votes
1
answer
237
views
sys_write doesn't print message to the terminal
I'm trying to explore GNU Assembler using this example: https://0xax.github.io/asm_1/
My code main.s is
.data
message: .ascii "ASSEMBLY OUTPUT"
.text
.globl _start
_start:
movq $1, %rdi
...
5
votes
0
answers
2k
views
Assembly Language on Ubuntu
So I was currently studying about assembly language and I came across this awesome command on terminal, gcc -S filename.cpp, that produces the assembly code of a C++ source file.
But after I ...
1
vote
0
answers
461
views
Debugging Assembly with DDD
I have a problem when debugging Assembly code with DDD (also tried GDB). When I compile my program and make executable file with gcc -g -o program program.S I need to add -m32 to make 32-bit ...
3
votes
2
answers
10k
views
How to use MASM for assembly language on Ubuntu?
How can I run the code of Masm on Ubuntu? I cannot use Windows as a virtual machine and neither can I use Nasm.
1
vote
0
answers
2k
views
Why are the permissions on /usr/bin/x86_64-linux-gnu-as set to 750?
Compiling a simple program in Ubuntu 16.04 with gcc-5.4.0:
$ cat tmp.c
#include <stdio.h>
int main()
{
printf("Hello World");
}
Yields the following error when trying to compile as a non-...
1
vote
0
answers
5k
views
Where to find asm/unistd.h
When trying to build jonesforth, which is a 32-bit GNU Assembler program, on Ubuntu 18.10 64-bit, I get the following message:
~/src/jonesforth $ make
gcc -m32 -nostdlib -static -o jonesforth ...
2
votes
1
answer
902
views
gcc -Hello.s Problem
My system is Ubuntu 18.04 64bit .
with build-essentials and devtools installed.
Hi, I have an assembly file called Hello.s
Here is it's content:
#This is a simple "Hello World!" program
....
30
votes
2
answers
81k
views
How can I compile & run assembly in Ubuntu 18.04?
So recently I've wanted to learn assembly, so I learnt a bit. I put this into nano and saved it as playground.asm. Now I'm wondering, how do I compile and run it? I've already searched everywhere and ...
-1
votes
1
answer
401
views
Adding to Environment Variables
I need to add a folder named "include" and a wine executable
"fasm.exe" to Environment Variables.
The Include folder contains .inc files that are important for code execution. Although I am on ...
0
votes
1
answer
3k
views
JD-GUI and Boomerang Deompilers Installation for Ubuntu
I am currently taking a Cyber Security Course online and the instructor uses both, JD-GUI and Boomerang Decompilers. Therefore, I would like to get help on how to install those for Ubuntu. I have ...
3
votes
2
answers
7k
views
How to install GNU Assembler
I am trying to write a boot-loader, so I need GNU Assembler. I googled it but didn't find any helpful material. How can I install GNU Assembler (and not GNU Compiler)?
2
votes
2
answers
15k
views
How to get disassemble command line?
I'm currently learning ASM programming, and I would like to disassembly a file .c. However after execute the command line
set disassembly-flavor test.c
I use the command:
disassembly test.c
and my ...
1
vote
1
answer
286
views
how to install tgcil EST assembler on ubuntu
I downloaded TGICL-2.1.tar.gz file from sourcforge.
and I extract the file. Then I want to install TGICL but I don't know how to do.
Someone please help me.
2
votes
2
answers
2k
views
How to run yasm in ubuntu?
I recently have installed YASM but I cannot find any yasm in PC.
Also, it was written that it would through terminal. However, I have no idea what it was about.
1
vote
1
answer
213
views
How do I compile MSDOS 1.1 on Lubuntu 15.04?
I've downloaded the source code of MSDOS 1.1 and 2.0, and want to compile MSDOS 1.1. I don't want to do it with an emulator (like DOSbox). How do I compile MSDOS 1.1 on Lubuntu 15.04?
1
vote
2
answers
3k
views
Software recommendation for a MASM compiler
I have been looking for a MASM compiler for Ubuntu. I have moved all of my development tools to Ubuntu. Now I'm taking a MASM class, and I need a MASM compiler very badly. I have seen some videos on ...