0 Replies - 407 Views - Last Post: 21 April 2019 - 03:54 AM

#1 sunshine33   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 130
  • Joined: 15-September 17

Question about Assembly language segments

Posted 21 April 2019 - 03:54 AM

How many types of segments like these are there in Assembly Language ?

.MODEL small, c ; This statement is required before you
                         ; can use other simplified segment directives

.STACK              ; Use default 1-kilobyte stack

.DATA
    <Your initialized data>
    ......
.DATA?

   <Your uninitialized data>
   ......
.CONST
   <Your constants>
   ......
.CODE
   <label>
    <Your code>
   .....

.STARTUP               ; Generate start-up code
                              ; Place instructions here

.EXIT                      ; Generate exit code


END  <label>







Is This A Good Question/Topic? 0
  • +

Page 1 of 1