q define com programsa com command program is


Q. Define COM Programs?

A COM (Command) program is binary image of a machine language program. It is loaded in memory at the lowest available segment address. Program code starts at an offset 100h, the first 1K locations being occupied by IVT.

A COM program keeps itsdata, code and stack segments within same segment. Because the offsets in a physical segment can be of 16 bits hence size of COM program is limited to 216 = 64K that involvesdata, code and stack. The subsequent program displays a COM program:

; Title add two numbers as well as store result and carry in memory variables.

; name of segment in this program is chosen to be CSEG

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q define com programsa com command program is
Reference No:- TGS0327958

Expected delivery within 24 Hours