Questions tagged [x86-emulation]

38 questions
1
vote
1 answer

Bus error when attempting to run Wine under a x86 chroot environment on Raspberry Pi

After following the tutorial at https://www.novaspirit.com/2019/04/15/run-x86-arm/ with a few modifications (I used /x86/ as the chroot directory and installed wine via apt-get), attempting to run winecfg just returns "Bus Error" This is being run…
hexahedron
  • 11
  • 1
  • 2
1
vote
1 answer

I want to swap the position of two bits. How to do this?

I am given a question in which I have to write a program such that the last bit of the offset address of the first segment becomes the first bit of the offset address of the second segment. For example if I am given ABCDH then the offset address of…
1
vote
0 answers

Docker: mounting a dir from host into container leads into errors

I have some trouble to run a docker android emulation from this project: https://github.com/thyrlian/AndroidSDK Since I am a Linux (using Ubuntu 18) noob maybe I am just too stupid... I'm failing with mounting the image to my container...in the…
MolteNolte
  • 173
  • 1
  • 2
  • 12
1
vote
1 answer

How did Pentium III CPUs handle multiple instruction prefixes from the same group?

The Intel x86 specification states that using more than one instruction prefix from the same group results in undefined behavior. In practice, how did Pentium III Coppermine CPUs react in that situation? Sadly I don't have a chip to test.
David Brown
  • 35,411
  • 11
  • 83
  • 132
1
vote
0 answers

qt creator output give QOpenGLShaderProgram error in x86 Android emulator

I have an Android program written QT/QML , When I deploy app to Arm Android Emulator , it works. But If I Deploy app to x86 Andorid Emulator, program is work but , Screen is white . There is no component to display. Application output is : ....…
DJ.Yosemite
  • 285
  • 4
  • 13
1
vote
0 answers

Why is x86 to x86 emulation so slow?

I was running Debian in a QEMU instance, and everything was running extremely slowly. I understand why emulating different instruction sets is slow (you have to translate each instruction to a form executable on the host architecture), but why are…
exosphere5
  • 11
  • 3
1
vote
1 answer

Assembly,add function

I've a problem in my assembly code.I want to add user input two numbers after the swapping the numbers but when i add those numbers add function did not work well.Thanks This the code .model small .stack 100h .data msg1 db 'Enter the…
hamxa rajput
  • 1
  • 1
  • 4
1
vote
2 answers

Running nasm program on ARM linux

I am trying to teach myself assembly programming with NASM. However I only have a Chromebook with ARM processor. I have xubuntu running on it with crunton. However how can I setup a x86 emulation environment to get myself started? I also want to be…
darklord
  • 5,077
  • 12
  • 40
  • 65
0
votes
0 answers

Is it possible to activate AMD emulation on an M1 Mac when deploying to Kubernetes, as is for Docker?

As a Docker and Kubernetes newbie, and I'm trying to deploy a Deployment .yaml file to local Kubernetes (Docker Desktop) using kubectl apply This .yaml file works well on any x86_64 computer (tested both on Linux and Intel chip Macs), but fails to…
ITyrpak95
  • 1
  • 1
0
votes
0 answers

Which virtualization option is best for an assembly language nostalgia trip?

With assembly, you could make calls to BIOS directly from MS-DOS. You could make system calls to the kernel directly in Win95, via accessing their static addresses in memory. It was magic. (It was also quite terrible from the perspective of an OS…
Ele
  • 1
  • 1
0
votes
0 answers

Performing Assembler "IDIV" opcode with python

I am trying to implement some assembly code with python. I have the following code - 00DF26C7 |. B9 0C000000 MOV ECX,0C 00DF26CC |. F7F9 IDIV ECX and my registers are - EAX FFFFFEB0 ECX 0000000C EDX FFFFFFFF EBX 003CF000 ESP…
Meir Tolpin
  • 325
  • 2
  • 13
0
votes
2 answers

How can i emulate an x86 32 bits program on an ARM host?

I am running a Kali Linux distribution on an arm cpu (aarch64). I have successfully install x86_64-linux-gnux32-gcc and x86_64-linux-gnu-gcc. I have wrote a basic c program: #include void main() { printf("Hello world\n"); } I have…
Bob5421
  • 7,757
  • 14
  • 81
  • 175
0
votes
1 answer

How do I color multiple pixels at the same time in x8086 assembly?

I'm using emu8086 on Windows 10 with VGA mode and 8-bit fixed RGBA pixel format, learning the basics of graphics and ASM just for fun. I found a way to draw one pixel at a time as shown in the code below: org 100h mov ax, 13h int 10h …
0
votes
1 answer

x86 Assembly "Unable to Load Program" in DOSbox

I am creating my first x86 assembly program. I am using VS Code as my editor and using Insight as my debugger coupled with DOSBox as my emulator. As a start I have created a .asm program to change to colour of the screen: global _start …
Dean
  • 2,326
  • 3
  • 13
  • 32
0
votes
0 answers

x86 MOVSB: SI/DI increment from FFFF to 0000 or decrement from 0000 to FFFF

Should a 8086 emulator test for this SI/DI wraparound, or was it so rarely used that it could get by without checking? I'm only concerned about new wraparound values of SI/DI that are actually used in a string instruction.
TonyB
  • 31
  • 1