???? ???????: 85509 - ????? ??? ??????: 20/?????/1424 - ??????: 2.0

FIX: ?????? ??? ORG ?????? ?? ????? ?? 6.0a/6.0b

????? ??????????? ??? ??????? ??? ???? ????? ????? ?? ???? ??????? ???? ???????. ?? ????? ????? ??????? ???? ?? ?? ???? ?? ??? ??.

?? ??? ??????

????? ???? | ?? ????

???????

?? ????????? ???? ??????? ?? Microsoft "(MASM) 6.0a ? 6.0b, ??? ??? ??? ???? ????? ????? ORG ?? ????? ????? ORG ??? ?? ????? ??????? ???????. ???? ????? ??????? ??? ????? ?? ??? ??????? ORG ??? ???? ?????? ?????? ?????? ($) ??? ??? ????? ORG.

????

???? ????? ???????? ???????? ????? ????? ???? ???? ????????? ?????? ???? ORG. ??? ?? ??? ??????? ??? ??????? ??? ??? ?? ???? ??????? ?????? ORG ??????? ?????. ??? ?? ???? ??????? ?????? ORG ?? ???????? ??? ?????? ? ??? ?? ???? ????? ORG ???? ????.

???? ??? ??????? ???? ???? ??? ??? ????????? MASM 6.0a ? 6.0b.

?????

???? Microsoft ?? ???? ????? ?? ????????? MASM 6.0a ? 6.0b ???. ?? ????? ??? ??????? ?? MASM ?? MS-DOS ??????? 6.1.

??????? ????

??? ?????

; Assemble options needed: none

ORGFIX MACRO arg1             ; This macro can be used
   ORG (arg1- ($- @CurSeg))   ; whenever the origin you are
ENDM                          ; trying to set contains a LABEL
                              ; or $ as part of the expression.
.MODEL small
.STACK 4096

.CODE
start LABEL BYTE
   .startup
   .exit 0
finish LABEL BYTE

ORG ((finish- start)+ 10h)    ; This will incorrectly set
tst1 LABEL BYTE               ; the origin.

ORGFIX ((finish- start)+ 10h) ; This will correctly set
tst2 LABEL BYTE               ; the origin.

   DB 'hello'
END
				

????? ???
  • Microsoft Macro Assembler 6.0a
  • Microsoft Macro Assembler 6.0b
????? ??????: 
kbmt kbfix KB85509 KbMtar
????? ????????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????85509  (http://support.microsoft.com/kb/85509/en-us/ )
Retired KB Article????? ??????? ?? ????? ???? ?? ????? ???????
?? ????? ????? ?????? ???? ???? ???? ??? ??????? ??? ?? ? ?? ??? ??????? Microsoft ??? ????? ??? ??????? ????? ?????? ?????