Subj : Help with an opcode To : Michael Preslar From : Roelof Beverdam Date : Wed Nov 09 2005 11:48 pm Hello Michael, > As I work my way through some older code, Im converting inline() statements > to assembler. I've found one that I dont quite understand. > > inline($06/$1f) (* mov ds, es *) > > Now.. Ive tried the "mov ds, es" bit (And after being reminded that es is > the way to access variables) I see that the "mov" is incorrect. Yep. Although effectively the same as suggested by the comment, the actaul instructions are different. $06 = push es $1F = pop ds Grasp the trick? ;-) Use these 2 instructions and your assembler will be happy. Cheers, Roelof Beverdam --- Dutchie V3.10.11 * Origin: The Beaver's Nest (2:280/5218) .