Hi,
I've found an emulator for 80x86 created by using Java,
and I want know, how I can create an emulator 80x86 by Java?
where I can found tutorials and documentation?
etc ...
Thanks very much!
Title says it all.
The error NASM gives (dispite my working OS) is "invalid effective address".
Now i've seen many examples of how to use LEA and i think i gots it right but yet my NASM dislikes it. I tried "lea cx, [cx+9]" and it worked; "lea cx, [bx+cx]" didn't.
Now if i extended my registers to 32-bits (i.e. "lea ecx, [ecx*8+ecx]") everything…
I would like to learn the x86 Instruction Set Architecture. I don't meaning learning an assembly for x86. I want to understand the machine code baby.
The reason is that I would like to write an assembler for x86. Then I want to write a compiler that compiles to that assembly.
I know that there are the Intel manuals and AMD manuals that cover the…
Hello, I'm studying ASM 8086 theoretically on highschool. (that means that I study ASM 8086 on a notebook, and never got to run it over a computer).
And I don't understand - what will happen if I do this:
MOV AL, F2h
ADD AL, 20h
What will the computer do? (what will be the value of AL,AX, CF,ZF?)
and what will happen if I do this:
MOV…
The following code compiles fine on Linux using gcc -std=c99 but gets the following errors on the Visual Studio 2010 C compiler:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
fib.c
fib.c(42) : error C2057: expected constant expression
fib.c(42) :…
I'm a complete beginner at Assembly, and my aim is to learn as much as I can to do with Assembly to one day I can reach expert level (I know I'm way off right now, but you never know). My only problem is this: I've got two books which both teach assembly, one on a Linux and the other on Windows. They are Jeff Duntemann's Assembly Language…
I'm attempting to target VC7.1 (visual studio 2003 sp1) from Visual Studio 2010.
I'm so close to setting it to work. But when I build, I get this error.
1------ Build started: Project: AnExample, Configuration: Release Win32 ------
1 Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.10.6030 for 80x86
1 Copyright (C) Microsoft…
For the C++ code fragment below:
class Foo {
int a[]; // no error
};
int a[]; // error: storage size of 'a' isn't known
void bar() {
int a[]; // error: storage size of 'a' isn't known
}
why isn't the member variable causing an error too? and what is the meaning of this member variable?
I'm using gcc version 3.4.5…
In this maximally clipped source example, the manifest constant FOOBAR is being redefined. This is deliberate, and there is extra code in the live case to make use of each definition.
The pragma was added to get rid of a warning message, but then a note appeared, and I don't seem to find a way to get rid of the note.
I've been…
I was looking a snipset of code:
int* ip;
ip = new int[100];
delete ip;
The example above states that: "This code will work with many compilers, but it should instead read:"
int* ip;
ip = new int[100];
delete [] ip;
Is this indeed the case? I use the compiler "Microsoft (R) 32-bit C/C++ Optimizing…
Is there a way to stop MSYS/MinGW from transforming what it thinks are paths on my command lines? I have a project that's using nmake & Microsoft Visual Studio 2003 (yeecccch). I have the build system all ported and ready to go for GNU make (and tested with Cygwin). Something weird is happening to my compiler flags when…
OS Windows Vista Ultimate
trying to run a program called minimal.c when i type at command line
C:\Users\nathan\Desktopcl minimal.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
minimal.c
minimal.c(5) : fatal error C1034:…
I'm trying to set up a test environment with Maven to build VC++ and I am way behind on this.
I have 3 source files that I builds a dll (once I get this fixed it should be a simple matter to add the unit-tests):
hook.cpp
hook.h
hook.def
This is compiled, on the command line, with the following:
…