Questions tagged [assembler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
30 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
0answers
29 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
0answers
143 views

Is there a public repository for GtkSourceView language definition files, for language version 2.0?

I'm using a version of Gedit that uses GtkSourceView 4.0, which requires language definitions to be 2.0, like this: However, I don't have a language definition file for assembly that's version 2.0. ...
0
votes
1answer
585 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
1answer
79 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
0answers
1k 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
0answers
300 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 ...
1
vote
2answers
4k 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
0answers
938 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
0answers
3k 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
1answer
605 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 ....
23
votes
2answers
50k 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
1answer
251 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
1answer
928 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 ...
1
vote
2answers
4k 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
2answers
12k 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
1answer
259 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
2answers
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
1answer
182 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?