Determine the segments and values of each of the following symbols. (Enter the segment as either "cseg" or "dseg" - without the quotes. Enter the values as decimal integers.).
Symbol Segment Value
var1
var3
reset
const
mainloop
(This is a table - fill it in)
1
Expert's answer
2011-10-27T08:15:13-0400
Symbol Segment Value var1 dseg 0xFF var3 dseg 0xFF reset cseg 2 (0x02) const cseg 0 (0x00)
mainloop cseg 10 (0x0A)
All instructions have 1-word(2 bytes) length. Every word has it's own address. var1 and var3 are not initialized, 1 and 3 show how many bytes are reserved.
Comments
Leave a comment