Possible bugs/errors

Oct 11, 2012 at 4:33 PM
Edited Oct 11, 2012 at 4:36 PM

I use Windows XP professional and I am facing some problems for the following code snippets:

  • ldax d

    The above code has corresponding hex equivalent 1A, whereas on building/debugging the hex code changes to 0C which corresponds to inr c

  • add m

    The above code adds content of accumulator with content of memory pointed by H-L register pair and stores the result at the memory location rather than the accumulator itself.