assume cs:codesg,ds:datasg
datasg segment
db 'FucK'
datasg ends
codesg segment
ks: mov ax,datasg
mov ds,ax
mov bx,0
mov cx,4
s: mov al,[bx]
and al,11011111B
mov [bx],al
inc bx
loop s
mov ax,4c00H
int 21H
codesg ends
end ks
G:\cs>masm 2.asm
Microsoft (R) Macro Assembler Version 5.00
Copyright (C) Microsoft Corp 1981-1985, 1987. All rights reserved.
Object filename [2.OBJ]:
Source listing [NUL.LST]:
Cross-reference [NUL.CRF]:
Open segments: DATASG
2.asm(1): error A2009: Symbol not defined: CODESG
2.asm(3): warning A4001: Extra characters on line
2.asm(6): warning A4001: Extra characters on line
2.asm(10): error A2009: Symbol not defined: S
2.asm(11): warning A4001: Extra characters on line
2.asm(12): error A2009: Symbol not defined: KS
50518 + 450010 Bytes symbol space free
3 Warning Errors
3 Severe Errors
G:\cs>