Code Scrappers


8086 PROGRAM FOR DIVISION


              MOV   AX, [4100]

              MOV   BX, [4102]

              Move  CX, [4104]

              DIV   CX

              MOV   [4106], AX

              MOV   [4108], DX

              INT  3

          


Process for execution on 8086 kit



                >>  Switch on the power supply.

                >>  Press A two times.

                >>  Type 'SG 0'.

                >>  Type DA 4000.

                >>  @ Symbol will appear.

                >>  Type the code and press 'N' each time for new line.

                >>  After typing the code come to new line.

                >>  Press 'shift+1' and enter.

                >>  Press 'E' for exambyte.

                >>  Type the memory address [eg. 4100].

                >>  Press comma(,) and then give the input.

                >>  Press 'G'.

                >>  Type 4000 and enter.

                >>  Type 'E'.

                >>  Type the address where the result is stored.


              


Input And Output


                INPUT-->

                [4100] : 3A

                [4101] : 4B

                [4102] : 80

                [4103] : AB

                [4104] : 23


                OUTPUT-->

                [4106] : 57

                [4107] : 33

                [4108] : 83

                [4109] : 36