Why in a code fragment like the following we need to append a zero before a-f ? Is there any reason behind this or is this a convention for signed numbers ?

list dw 0a876h,4567h,0b234h

Because a sequence beginning with a letter would be indistinguishable from a regular identifier.

You could try it, and see if you get an 'undeclared identifier' error.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.