debjitbis08 / sim8085

Online 8085 simulator

Home Page:https://www.sim8085.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LXI doesn't load the location of a symbol; it loads the value at the memory location

dplassgit opened this issue · comments

jmp start
R0: db 05ah,0h,0h,0h,0h,0h,0h,0h
start: LXI B, R0
   LXI D, 0803h
   HLT

After the HLT, BC has the value 5A, where DE has 0803h. The former is incorrect, the latter is correct.

This is referenced in issue #35 but it's a separate issue from issue #35