AnsweredAssumed Answered

S12Z CPU assembly does not match with manual

Question asked by Heinz Rusche on Aug 25, 2014
Latest reply on Sep 3, 2014 by MJW

Hi,

 

I got the following ASM Instruction: "ST.b D0,$1218" (.b can be omitted here)

Looking at the manual this Instruction would encode to "C0 12 18".

But looking at the assembly output generated by as12lisa.exe I get "C4 12 18"

 

The proper reason I ask for, is because I am not able to store values in memory through D0. Maybe there is a connection.

It works when I do:

TFR D0,D6

ST.b D6,$1218


Why it's not possible to store directly from D0?

Outcomes