3 ms·
Hey, one simple example is `mov byte[0], 5` . You need to give relative memory address (wrto DS segment value) in the brackets, and specify whether you want to
by yjdoc2 4y ago
Hey, one simple example is `mov byte[0], 5` . You need to give relative memory address (wrto DS segment value) in the brackets, and specify whether you want to store a byte or word length value.
This syntax is intentionally verbose, so anyone new to assembly wouldn't mistakenly store word when byte was intended.
You can also check the complete supported syntax here : https://yjdoc2.github.io/8086-emulator-web/help https://yjdoc2.github.io/8086-emulator-web/help in data transfer, mov section.
Hope this helps!
- nsxwolf 4y agoThat worked!