What steps will reproduce the problem?
1. Message: db "Hello World!"
2. org 0x40
ListHead: db E3
E1 db 100
db E2
E2 db 200
db 0
E3 db 300
db E1
3.
What is the expected output? What do you see instead?
1) in first case, the string is upcased AND a null character is appended to end. Prefer to have programmer insert null character as in:
Message: db "Hello World!",0
2) in second case, assembler is not indicating an error BUT is generating a zero. ListHead should have value 0x46 and so on. Traversal of the list using the pointer values should yield 300, 100 and 200.