Yeah, i found on the 68000 that BRA.L forces the branch to a particular size, just what i needed so il use that throughout the program.
Type: Posts; User: Nutcasey
Yeah, i found on the 68000 that BRA.L forces the branch to a particular size, just what i needed so il use that throughout the program.
I'm building this as part of a simple simualtor for my university project, as such i have very little time.
You were both right by the way, you can specifiy a short branch in the form of "BRA.S"...
Here is the Explination of a branch instruction as taken from the 68000 manual.
BRA Branch Always
(M68000 Family)
Operation: PC + dn ->PC
Assembler
Syntax: BRA < label >
Hello, im buoilding a basic (if you could call it that), 68000 assembler. Im so far successfully able to assemble a MOVE instruction based on the guidlines found in any 68000 manual
The main...
The idea is to just have the simuator uderstand a collection of assembly language instructions (not actual 68K binary).
I only wanna simualte the following instrucitons :
MOVE
MOVEA
ADD ...
Yeah ok, any ideas from yourself would be great.
I did use the '=='.
Its strange, the program crashes when it gets to the if statement.
Any ideas?
does it work?
Hello
For some reason this gives an exception error in my compiler (VS.NET). I have no idea why i cant test a character like this. I'm a little rusty at the moment but i didnt realise i was this...
Thanks mate, if you find anything either way then let us know.
Despite the 68000 being a cisc CPU i dont think it is as complex as any intel CPUs! The best way to understand the instruction set (as well as the flags and addressing modes that will be used) is to...
I'm very sorry i should have been more specific about what i was basing the simulator on, the CPU that the simulator is based on is the 68000. I'm trying to keep in with the way 68000's instructions...
Does anyone know how i might do this?
:(
Garry
Hello,
I'm building a CPU simulator for my final year project at university
I'm trying to make the simulator accept a file that defines each instruction that the simulator supports. It has a...
here is the c file:
Hello,
i am doing a module at uni that I need your help with. ( in which I'm building a CPU simulator I am writting for my final year project).
I'm trying to make the simulator accept a file...