.title test1.asm
; Group: LO, MS, EF, MP, WR, DP

.stack $0x10
.data
m1v1: .word $1
m1v2: .word $2
 
.code   
waste:
        nop
        ret
   
switch: 
        movw %ax,$_data
        movw %ds,%ax
        movw  %ax,m1v1
        xchgw %ax,m1v2
        xchgw %ax,m1v1
        adcb %bl,$0
        call waste
        movw %ax,$0x4c00
        int $0x21
.end switch

