From: Rob van der Heij <[email protected]> To: [email protected] <[email protected]> Date: Thursday, 15 July 2010 20:27 Subject: Re: z Linux assembler relative or friend or foe?
>On Thu, Jul 15, 2010 at 12:03 PM, robin <[email protected]> wrote: > >>>And branch instructions. >> >> What do you mean? >> A branch instruction is EXecuted just like the others. >> The only difference is that the branch address needs checking prior to >> execution. >Hmm... I would expect EX of a branch never to return back to your >simulator, It wasn't a simulator. The machine actually executed each instruction au naturale. > but resume execution outside your simulator. Wouldn't you >need to "interpret" the branch such that you load the effective >address into the register that you're using to point into the program >code that you're playing? Yes. I had forgotten that I did that. A few other instructions also had to be dealt with specially, like STM, BR, etc.
