Questions tagged [assembler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
97 views

mdadm is missing UUID, not correct Magic and one RAID arrey is devinded into two after reboot

I have been struggling a lot now and do not understand how to fix this mdadm RAID10 issue that happened after a Software update and reboot. I have some very important data on the disks that I am ...
user avatar
  • 1
-1 votes
1 answer
2k 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 ...
user avatar
0 votes
2 answers
111 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 ...
user avatar
  • 103
0 votes
0 answers
42 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 ...
user avatar
0 votes
1 answer
723 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
user avatar
0 votes
1 answer
150 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 ...
user avatar
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 ...
user avatar
  • 51
1 vote
0 answers
377 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 ...
user avatar
2 votes
2 answers
7k 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.
user avatar
  • 21
1 vote
0 answers
1k 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-...
user avatar
1 vote
0 answers
4k 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 ...
user avatar
  • 2,473
2 votes
1 answer
769 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 ....
user avatar
  • 95
27 votes
2 answers
68k 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 ...
user avatar
  • 411
-1 votes
1 answer
331 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
3 votes
2 answers
5k 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)?
user avatar
2 votes
2 answers
13k 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 ...
user avatar
  • 137
1 vote
1 answer
267 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.
user avatar
  • 11
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.
user avatar
  • 29
1 vote
1 answer
204 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?
user avatar
  • 1,357
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 ...
user avatar