Change HTML4 entities to HTML5

&lt to <
&gt to >
&amp to &
This commit is contained in:
James Gregory 2013-12-30 14:33:39 +11:00
commit b8e7ce7165
105 changed files with 1117 additions and 1117 deletions

View file

@ -65,7 +65,7 @@ ALIGNMENT equ 2
; C near-callable as:
; Fixedpoint FixedMul(Fixedpoint M1, Fixedpoint M2);
FMparms struc
dw 2 dup(?) ;return address &amp pushed BP
dw 2 dup(?) ;return address & pushed BP
M1 dd ?
M2 dd ?
FMparms ends
@ -161,7 +161,7 @@ _FixedMul endp
; C near-callable as:
; Fixedpoint FixedDiv(Fixedpoint Dividend, Fixedpoint Divisor);
FDparms struc
dw 2 dup(?) ;return address &amp pushed BP
dw 2 dup(?) ;return address & pushed BP
Dividend dd?
Divisor dd?
FDparms ends
@ -290,8 +290,8 @@ CosTable label dword
include costable.inc
SCparms struc
dw 2 dup(?) ;return address &amp pushed BP
Angle dw ? ;angle to calculate sine &amp cosine for
dw 2 dup(?) ;return address & pushed BP
Angle dw ? ;angle to calculate sine & cosine for
Cos dw ? ;pointer to cos destination
Sin dw ? ;pointer to sin destination
SCparms ends
@ -486,7 +486,7 @@ _CosSin endp
; WorkingXform[i][3]; /* no need to multiply by W = 1 */
XVparms struc
dw 2 dup(?) ;return address &amp pushed BP
dw 2 dup(?) ;return address & pushed BP
WorkingXform dw ? ;pointer to transform matrix
SourceVec dw ? ;pointer to source vector
DestVec dw ? ;pointer to destination vector
@ -502,40 +502,40 @@ FIXED-MUL MACRO M1,M2
;figure out signs, so we can use
; unsigned multiplies
sub cx,cx ;assume both operands positive
mov bx,word ptr [&ampM1&amp+2]
mov bx,word ptr [&M1&+2]
and bx,bx ;first operand negative?
jns CheckSecondOperand ;no
neg bx ;yes, so negate first operand
neg word ptr [&ampM1&amp]
neg word ptr [&M1&]
sbb bx,0
mov word ptr [&ampM1&amp+2],bx
mov word ptr [&M1&+2],bx
inc cx ;mark that first operand is negative
CheckSecondOperand:
mov bx,word ptr [&ampM2&amp+2]
mov bx,word ptr [&M2&+2]
and bx,bx ;second operand negative?
jns SaveSignStatus ;no
neg bx ;yes, so negate second operand
neg word ptr [&ampM2&amp]
neg word ptr [&M2&]
sbb bx,0
mov word ptr [&ampM2&amp+2],bx
mov word ptr [&M2&+2],bx
xor cx,1 ;mark that second operand is negative
SaveSignStatus:
push cx ;remember sign of result; 1 if result
; negative, 0 if result nonnegative
mov ax,word ptr [&ampM1&amp+2] ;high word times high word
mul word ptr [&ampM2&amp+2]
mov ax,word ptr [&M1&+2] ;high word times high word
mul word ptr [&M2&+2]
mov cx,ax ;
;assume no overflow into DX
mov ax,word ptr [&ampM1&amp+2] ;high word times low word
mul word ptr [&ampM2&amp]
mov ax,word ptr [&M1&+2] ;high word times low word
mul word ptr [&M2&]
mov bx,ax
add cx,dx
mov ax,word ptr [&ampM1&amp] ;low word times high word
mul word ptr [&ampM2&amp+2]
mov ax,word ptr [&M1&] ;low word times high word
mul word ptr [&M2&+2]
add bx,ax
adc cx,dx
mov ax,word ptr [&ampM1&amp] ;low word times low word
mul word ptr [&ampM2&amp]
mov ax,word ptr [&M1&] ;low word times low word
mul word ptr [&M2&]
if MUL-ROUNDING-ON
add ax,8000h ;round by adding 2^(-17)
adc bx,dx
@ -692,7 +692,7 @@ _XformVecendp
; }
CXparms struc
dw 2 dup(?) ;return address &amp pushed BP
dw 2 dup(?) ;return address & pushed BP
SourceXform1 dw ? ;pointer to first source xform matrix
SourceXform2 dw ? ;pointer to second source xform matrix
DestXform dw ? ;pointer to destination xform matrix
@ -746,7 +746,7 @@ endif ;MUL-ROUNDING-ON
add ecx,eax ;running total
mov [di+coff+roff],ecx ;save the result in dest matrix
coff=coff+4 ;point to next col in xform2 &amp dest
coff=coff+4 ;point to next col in xform2 & dest
ENDM
;now do the fourth column, assuming
; 1 as the bottom entry, causing
@ -781,9 +781,9 @@ endif ;MUL-ROUNDING-ON
add ecx,[si+roff+12] ;add in translation
mov [di+coff+roff],ecx ;save the result in dest matrix
coff=coff+4 ;point to next col in xform2 &amp dest
coff=coff+4 ;point to next col in xform2 & dest
roff=roff+16 ;point to next col in xform2 &amp dest
roff=roff+16 ;point to next col in xform2 & dest
ENDM
else ;!USE386
@ -837,7 +837,7 @@ addsp,8;clear parameters from stack
pop bx ;restore DestXForm pointer
mov [bx+coff+roff],cx ;save the result in dest matrix
mov [bx+coff+roff+2],bp
coff=coff+4 ;point to next col in xform2 &amp dest
coff=coff+4 ;point to next col in xform2 & dest
ENDM
;now do the fourth column, assuming
; 1 as the bottom entry, causing
@ -883,9 +883,9 @@ coff=coff+4 ;point to next col in xform2 &amp dest
pop bx ;restore DestXForm pointer
mov [bx+coff+roff],cx ;save the result in dest matrix
mov [bx+coff+roff+2],bp
coff=coff+4 ;point to next col in xform2 &amp dest
coff=coff+4 ;point to next col in xform2 & dest
roff=roff+16 ;point to next col in xform2 &amp dest
roff=roff+16 ;point to next col in xform2 & dest
ENDM
pop bp ;restore stack frame pointer