hexsha stringlengths 40 40 | size int64 6 1.05M | ext stringclasses 3 values | lang stringclasses 1 value | max_stars_repo_path stringlengths 4 232 | max_stars_repo_name stringlengths 7 106 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 7 | max_stars_count int64 1 33.5k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 232 | max_issues_repo_name stringlengths 7 106 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 7 | max_issues_count int64 1 37.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 232 | max_forks_repo_name stringlengths 7 106 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 7 | max_forks_count int64 1 12.6k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 6 1.05M | avg_line_length float64 1.16 19.7k | max_line_length int64 2 938k | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7d1503c07bb6f8d039680d17a2e07aaa45a3669 | 4,586 | asm | Assembly | bootloader/bootsector/fat_loader/intro.asm | LetsPlaySomeUbuntu/XitongOS-test-1 | 792d0c76f9aa4bb2b579d47c2c728394a3acf9f9 | [
"MIT"
] | null | null | null | bootloader/bootsector/fat_loader/intro.asm | LetsPlaySomeUbuntu/XitongOS-test-1 | 792d0c76f9aa4bb2b579d47c2c728394a3acf9f9 | [
"MIT"
] | null | null | null | bootloader/bootsector/fat_loader/intro.asm | LetsPlaySomeUbuntu/XitongOS-test-1 | 792d0c76f9aa4bb2b579d47c2c728394a3acf9f9 | [
"MIT"
] | null | null | null | %include "config.asm"
%define CONVENTIONAL_MEMORY_END 0x00080000
%define RESERVED_MEMORY 0x1000 * 3
%define STACK_TOP (CONVENTIONAL_MEMORY_END - RESERVED_MEMORY)
%define PML4_ADDRESS (CONVENTIONAL_MEMORY_END - 0x1000 * 3)
%define PDPE_ADDRESS (CONVENTIONAL_MEMORY_END - 0x1000 * 2)
%define PD_ADDRESS (CONVENTIONAL_MEMORY_END - 0x1000 * 1)
EXTERN fat_loader
EXTERN load_lba
EXTERN fat_loader
[bits 16]
SECTION .intro
intro:
; Fetch boot parametres
mov [boot_drive], dl
mov [boot_partition], dh
; Setup video mode
mov ax, 0x0003
int 0x10
; Disable interrupts
cli
in al, 0x70
or al, 0x80
out 0x70, al
; Load GDT and jump to protected mode
lgdt [gdt_description]
mov eax, cr0
or eax, 1
mov cr0, eax
jmp 0x18:.protected
.protected:
[bits 32]
mov ax, 0x20
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
mov esp, STACK_TOP
; Test for long mode
mov eax, 0x80000001
cpuid
test edx, (1 << 29)
jz unsupported_machine
; Setup page tables
xor al, al ; Clear PML4
mov ecx, 0x1000
mov edi, PML4_ADDRESS
rep stosb
mov ecx, 0x1000 ; Clear PDPE
mov edi, PDPE_ADDRESS
rep stosb
mov DWORD [PML4_ADDRESS], (PDPE_ADDRESS | 0b11) ; Map first entry of PML4 to PDPE
mov DWORD [PDPE_ADDRESS], (PD_ADDRESS | 0b11) ; Map first entry of PDPE to Page Directory
; Map first 1 GB using 512 of 2 MB pages
mov eax, 0 ; Current physical address
mov ecx, 0
.map:
mov edx, eax ; Prepare entry in EDX
or edx, 0b10000011 ; Flags: present, writable, entry size
; Entries are 64-bit, we care only about low 32-bits
mov [PD_ADDRESS + ecx * 8 + 0], edx
mov [PD_ADDRESS + ecx * 8 + 4], DWORD 0
add eax, 0x1000 ; Next physical page
inc ecx
cmp ecx, 512
jne .map
; Setup long mode
mov eax, PML4_ADDRESS ; Set PML4 address
mov cr3, eax
mov ecx, 0xC0000080 ; Set LME bit in EFER
rdmsr
or eax, 1 << 8
wrmsr
mov eax, cr4 ; Enable PAE
or eax, 1 << 5
mov cr4, eax
mov eax, cr0 ; Enable paging
or eax, 1 << 31
mov cr0, eax
jmp 0x08:.long64
.long64:
[bits 64]
mov ax, 0x10
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
mov rsp, STACK_TOP
; Jump to C code
xor rdi, rdi
xor rsi, rsi
mov dil, [boot_drive]
mov sil, [boot_partition]
mov rdx, STACK_TOP
jmp fat_loader
unsupported_machine:
[bits 32]
; TODO: Maybe print an error?
cli
hlt
jmp $
SECTION .bss
boot_drive: resb 1
boot_partition: resb 1
SECTION .data
; Macro for GDT entries
%macro gdt_entry 4
; %1 - base address
; %2 - limit
; %3 - access
; %4 - flags
dw (%2 & 0xFFFF)
dw (%1 & 0xFFFF)
db ((%1 >> 16) & 0xFF)
db (%3 & 0xFF)
db ((%2 >> 16) & 0x0F | (%4 << 4))
db ((%1 >> 24) & 0xFF)
%endmacro
gdt_description:
dw (gdt_end - gdt_start - 1) ; size
dd gdt_start ; offset
gdt_start:
gdt_entry 0x00000000, 0x00000000, 0b00000000, 0b0000 ; null segment
gdt_entry 0x00000000, 0x0FFFFFFF, 0b10011010, 0b1010 ; 64-bit code segment
gdt_entry 0x00000000, 0x0FFFFFFF, 0b10010010, 0b1010 ; 64-bit data segment
gdt_entry 0x00000000, 0x0FFFFFFF, 0b10011010, 0b1100 ; 32-bit code segment
gdt_entry 0x00000000, 0x0FFFFFFF, 0b10010010, 0b1100 ; 32-bit data segment
gdt_entry 0x00000000, 0x0FFFFFFF, 0b10011010, 0b1000 ; 16-bit code segment
gdt_entry 0x00000000, 0x0FFFFFFF, 0b10010010, 0b1000 ; 16-bit data segment
gdt_end:
| 27.136095 | 107 | 0.501962 |
ca6a80156465fe71ac8346a167cd95248453e806 | 1,955 | asm | Assembly | gbasm/fireball.asm | rukai/HeartacheGB | 18dd50fd002a8168af1ca7b01a5eeaf138eab738 | [
"MIT"
] | 2 | 2018-10-25T16:57:39.000Z | 2019-01-08T08:12:08.000Z | gbasm/fireball.asm | rukai/HeartacheGB | 18dd50fd002a8168af1ca7b01a5eeaf138eab738 | [
"MIT"
] | 2 | 2019-01-05T12:19:39.000Z | 2019-01-05T12:19:48.000Z | gbasm/fireball.asm | rukai/HeartacheGB | 18dd50fd002a8168af1ca7b01a5eeaf138eab738 | [
"MIT"
] | 1 | 2019-10-05T08:59:34.000Z | 2019-10-05T08:59:34.000Z | InitFireballs:
; TODO: this code should be moved into something called by an entity draw call
; set render info
; Zero out all sprite values to ensure that no unused sprites are displayed as garbage
ld hl, wOAMBuffer
ld a, 0xa0
repeat:
ld [hl], 0
inc hl
dec a
jp nz, repeat
; fireball 1
ld hl, wSprite4+2
ld [hl], SL0+2
ld hl, wSprite4+3
ld [hl], 0x0
ld hl, wSprite5+2
ld [hl], SL0+3
ld hl, wSprite5+3
ld [hl], 0x0
ld hl, wSprite6+2
ld [hl], SL1+2
ld hl, wSprite6+3
ld [hl], 0x0
ld hl, wSprite7+2
ld [hl], SL1+3
ld hl, wSprite7+3
ld [hl], 0x0
; fireball 2
ld hl, wSprite8+2
ld [hl], SL0+2
ld hl, wSprite8+3
ld [hl], 0x0
ld hl, wSprite9+2
ld [hl], SL0+3
ld hl, wSprite9+3
ld [hl], 0x0
ld hl, wSprite10+2
ld [hl], SL1+2
ld hl, wSprite10+3
ld [hl], 0x0
ld hl, wSprite11+2
ld [hl], SL1+3
ld hl, wSprite11+3
ld [hl], 0x0
; fireball 3
ld hl, wSprite12+2
ld [hl], SL0+2
ld hl, wSprite12+3
ld [hl], 0x0
ld hl, wSprite13+2
ld [hl], SL0+3
ld hl, wSprite13+3
ld [hl], 0x0
ld hl, wSprite14+2
ld [hl], SL1+2
ld hl, wSprite14+3
ld [hl], 0x0
ld hl, wSprite15+2
ld [hl], SL1+3
ld hl, wSprite15+3
ld [hl], 0x0
; fireball 4
ld hl, wSprite16+2
ld [hl], SL0+2
ld hl, wSprite16+3
ld [hl], 0x0
ld hl, wSprite17+2
ld [hl], SL0+3
ld hl, wSprite17+3
ld [hl], 0x0
ld hl, wSprite18+2
ld [hl], SL1+2
ld hl, wSprite18+3
ld [hl], 0x0
ld hl, wSprite19+2
ld [hl], SL1+3
ld hl, wSprite19+3
ld [hl], 0x0
ret
; hl is a parameter specifying the entity to act on
UpdateFireballSine:
; TODO: maybe I can skip backing up the h register
ld b, h ; backup entity acting on+3
ld c, l
inc hl
inc hl
inc hl
ld e, [hl] ; get counter
ld d, 0
ld hl, SinTable
add hl, de
; TODO: I can skip above 16 bit addition if I can align wSinJump to XX00
ld a, [hl] ; velocity = mem[sinetable + counter]
ld h, b
ld l, c
add a, [hl] ; X += velocity
ld [hl], a
inc hl
inc [hl] ; Y += 1
ret
| 15.515873 | 87 | 0.630179 |
a723ef978be8fdab7ba3bae916566bda8bff20ef | 10,243 | asm | Assembly | fiat-amd64/54.52_ratio13237_seed2165586197121668_square_p256.asm | dderjoel/fiat-crypto | 57a9612577d766a0ae83169ea9517bfa7f01ea4e | [
"BSD-1-Clause",
"Apache-2.0",
"MIT-0",
"MIT"
] | 491 | 2015-11-25T23:44:39.000Z | 2022-03-29T17:31:21.000Z | fiat-amd64/54.52_ratio13237_seed2165586197121668_square_p256.asm | dderjoel/fiat-crypto | 57a9612577d766a0ae83169ea9517bfa7f01ea4e | [
"BSD-1-Clause",
"Apache-2.0",
"MIT-0",
"MIT"
] | 755 | 2016-02-02T14:03:05.000Z | 2022-03-31T16:47:23.000Z | fiat-amd64/54.52_ratio13237_seed2165586197121668_square_p256.asm | dderjoel/fiat-crypto | 57a9612577d766a0ae83169ea9517bfa7f01ea4e | [
"BSD-1-Clause",
"Apache-2.0",
"MIT-0",
"MIT"
] | 117 | 2015-10-25T16:28:15.000Z | 2022-02-08T23:01:09.000Z | SECTION .text
GLOBAL square_p256
square_p256:
sub rsp, 0xa8 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x78 ], rbx; saving to stack
mov [ rsp + 0x80 ], rbp; saving to stack
mov [ rsp + 0x88 ], r12; saving to stack
mov [ rsp + 0x90 ], r13; saving to stack
mov [ rsp + 0x98 ], r14; saving to stack
mov [ rsp + 0xa0 ], r15; saving to stack
mov rax, [ rsi + 0x10 ]; load m64 x2 to register64
mov rdx, rax; x2 to rdx
mulx rax, r10, [ rsi + 0x8 ]; x89, x88<- x2 * arg1[1]
mulx r11, rbx, [ rsi + 0x0 ]; x91, x90<- x2 * arg1[0]
test al, al
adox r10, r11
mov rbp, [ rsi + 0x8 ]; load m64 x1 to register64
mulx r12, r13, [ rsi + 0x18 ]; x85, x84<- x2 * arg1[3]
xchg rdx, rbp; x1, swapping with x2, which is currently in rdx
mulx r14, r15, [ rsi + 0x0 ]; x46, x45<- x1 * arg1[0]
xchg rdx, rbp; x2, swapping with x1, which is currently in rdx
mulx rdx, rcx, [ rsi + 0x10 ]; x87, x86<- x2 * arg1[2]
mov r8, rdx; preserving value of x87 into a new reg
mov rdx, [ rsi + 0x8 ]; saving arg1[1] in rdx.
mulx r9, r11, rbp; x44, x43<- x1 * arg1[1]
mov rdx, [ rsi + 0x18 ]; arg1[3] to rdx
mov [ rsp + 0x0 ], rdi; spilling out1 to mem
mov [ rsp + 0x8 ], r10; spilling x92 to mem
mulx rdi, r10, rbp; x40, x39<- x1 * arg1[3]
adcx r11, r14
mov rdx, [ rsi + 0x10 ]; arg1[2] to rdx
mulx rbp, r14, rbp; x42, x41<- x1 * arg1[2]
mov rdx, [ rsi + 0x18 ]; load m64 x3 to register64
adcx r14, r9
adcx r10, rbp
mulx r9, rbp, [ rsi + 0x10 ]; x132, x131<- x3 * arg1[2]
mov [ rsp + 0x10 ], r10; spilling x51 to mem
mov [ rsp + 0x18 ], r14; spilling x49 to mem
mulx r10, r14, [ rsi + 0x0 ]; x136, x135<- x3 * arg1[0]
mov [ rsp + 0x20 ], r14; spilling x135 to mem
mov r14, 0x0 ; moving imm to reg
adcx rdi, r14
adox rcx, rax
mulx rax, r14, [ rsi + 0x8 ]; x134, x133<- x3 * arg1[1]
mov [ rsp + 0x28 ], rcx; spilling x94 to mem
mov rcx, [ rsi + 0x0 ]; load m64 x4 to register64
mov [ rsp + 0x30 ], rdi; spilling x53 to mem
mulx rdx, rdi, [ rsi + 0x18 ]; x130, x129<- x3 * arg1[3]
adox r13, r8
clc;
adcx r14, r10
xchg rdx, rcx; x4, swapping with x130, which is currently in rdx
mulx r8, r10, [ rsi + 0x0 ]; x12, x11<- x4 * arg1[0]
adcx rbp, rax
adcx rdi, r9
mulx r9, rax, [ rsi + 0x8 ]; x10, x9<- x4 * arg1[1]
mov [ rsp + 0x38 ], rdi; spilling x141 to mem
mov [ rsp + 0x40 ], rbp; spilling x139 to mem
mulx rdi, rbp, [ rsi + 0x10 ]; x8, x7<- x4 * arg1[2]
mov [ rsp + 0x48 ], r14; spilling x137 to mem
mov r14, 0x0 ; moving imm to reg
adcx rcx, r14
mov r14, 0xffffffffffffffff ; moving imm to reg
xchg rdx, r10; x11, swapping with x4, which is currently in rdx
mov [ rsp + 0x50 ], rcx; spilling x143 to mem
mov [ rsp + 0x58 ], r13; spilling x96 to mem
mulx rcx, r13, r14; x25, x24<- x11 * 0xffffffffffffffff
mov r14, 0x0 ; moving imm to reg
adox r12, r14
mov r14, 0xffffffff ; moving imm to reg
mov [ rsp + 0x60 ], r12; spilling x98 to mem
mov [ rsp + 0x68 ], rdi; spilling x8 to mem
mulx r12, rdi, r14; x23, x22<- x11 * 0xffffffff
xor r14, r14
adox r13, rdx
adcx rdi, rcx
setc r13b; spill CF x27 to reg (r13)
clc;
adcx rax, r8
adox rdi, rax
movzx r8, r13b; x28, copying x27 here, cause x27 is needed in a reg for other than x28, namely all: , x28, size: 1
lea r8, [ r8 + r12 ]
adcx rbp, r9
setc r9b; spill CF x16 to reg (r9)
clc;
adcx r15, rdi
mov rcx, 0xffffffffffffffff ; moving imm to reg
xchg rdx, r15; x54, swapping with x11, which is currently in rdx
mulx r12, r13, rcx; x69, x68<- x54 * 0xffffffffffffffff
adox r8, rbp
adcx r11, r8
mov rax, 0xffffffff ; moving imm to reg
mulx rdi, rbp, rax; x67, x66<- x54 * 0xffffffff
mov r8, 0xffffffff00000001 ; moving imm to reg
xchg rdx, r15; x11, swapping with x54, which is currently in rdx
mulx rdx, r14, r8; x21, x20<- x11 * 0xffffffff00000001
setc r8b; spill CF x57 to reg (r8)
clc;
adcx rbp, r12
setc r12b; spill CF x71 to reg (r12)
clc;
adcx r13, r15
adcx rbp, r11
setc r13b; spill CF x76 to reg (r13)
clc;
adcx rbx, rbp
xchg rdx, rcx; 0xffffffffffffffff, swapping with x21, which is currently in rdx
mulx r11, rbp, rbx; x114, x113<- x99 * 0xffffffffffffffff
xchg rdx, r10; x4, swapping with 0xffffffffffffffff, which is currently in rdx
mulx rdx, rax, [ rsi + 0x18 ]; x6, x5<- x4 * arg1[3]
setc r10b; spill CF x100 to reg (r10)
clc;
adcx rbp, rbx
setc bpl; spill CF x119 to reg (rbp)
clc;
mov byte [ rsp + 0x70 ], r10b; spilling byte x100 to mem
mov r10, -0x1 ; moving imm to reg
movzx r9, r9b
adcx r9, r10; loading flag
adcx rax, [ rsp + 0x68 ]
mov r9, 0x0 ; moving imm to reg
adcx rdx, r9
adox r14, rax
clc;
movzx r8, r8b
adcx r8, r10; loading flag
adcx r14, [ rsp + 0x18 ]
movzx r8, r12b; x72, copying x71 here, cause x71 is needed in a reg for other than x72, namely all: , x72, size: 1
lea r8, [ r8 + rdi ]
adox rcx, rdx
mov rdi, 0xffffffff ; moving imm to reg
mov rdx, rbx; x99 to rdx
mulx rbx, r12, rdi; x112, x111<- x99 * 0xffffffff
setc al; spill CF x59 to reg (rax)
clc;
adcx r12, r11
seto r11b; spill OF x38 to reg (r11)
inc r10; OF<-0x0, preserve CF (debug: state 1(-0x1) (thanks Paul))
mov r9, -0x1 ; moving imm to reg
movzx r13, r13b
adox r13, r9; loading flag
adox r14, r8
adcx rbx, r10
movzx r13, byte [ rsp + 0x70 ]; load byte memx100 to register64
clc;
adcx r13, r9; loading flag
adcx r14, [ rsp + 0x8 ]
setc r13b; spill CF x102 to reg (r13)
clc;
movzx rax, al
adcx rax, r9; loading flag
adcx rcx, [ rsp + 0x10 ]
movzx r11, r11b
mov rax, [ rsp + 0x30 ]; x62, copying x53 here, cause x53 is needed in a reg for other than x62, namely all: , x62--x63, size: 1
adcx rax, r11
setc r8b; spill CF x63 to reg (r8)
clc;
movzx rbp, bpl
adcx rbp, r9; loading flag
adcx r14, r12
mov rbp, 0xffffffff00000001 ; moving imm to reg
xchg rdx, r15; x54, swapping with x99, which is currently in rdx
mulx rdx, r11, rbp; x65, x64<- x54 * 0xffffffff00000001
adox r11, rcx
xchg rdx, rbp; 0xffffffff00000001, swapping with x65, which is currently in rdx
mulx r15, r12, r15; x110, x109<- x99 * 0xffffffff00000001
adox rbp, rax
movzx rcx, r8b; x83, copying x63 here, cause x63 is needed in a reg for other than x83, namely all: , x83, size: 1
adox rcx, r10
inc r9; OF<-0x0, preserve CF (debug: state 1(-0x1) (thanks Paul))
mov r10, -0x1 ; moving imm to reg
movzx r13, r13b
adox r13, r10; loading flag
adox r11, [ rsp + 0x28 ]
mov r13, [ rsp + 0x58 ]; x105, copying x96 here, cause x96 is needed in a reg for other than x105, namely all: , x105--x106, size: 1
adox r13, rbp
mov r8, [ rsp + 0x60 ]; x107, copying x98 here, cause x98 is needed in a reg for other than x107, namely all: , x107--x108, size: 1
adox r8, rcx
adcx rbx, r11
seto al; spill OF x108 to reg (rax)
mov rbp, -0x3 ; moving imm to reg
inc rbp; OF<-0x0, preserve CF (debug 7; load -3, increase it, save it as -2). #last resort
adox r14, [ rsp + 0x20 ]
adcx r12, r13
mov rcx, [ rsp + 0x48 ]; x146, copying x137 here, cause x137 is needed in a reg for other than x146, namely all: , x146--x147, size: 1
adox rcx, rbx
mov r11, 0xffffffffffffffff ; moving imm to reg
xchg rdx, r11; 0xffffffffffffffff, swapping with 0xffffffff00000001, which is currently in rdx
mulx r13, rbx, r14; x159, x158<- x144 * 0xffffffffffffffff
adcx r15, r8
mov r8, [ rsp + 0x40 ]; x148, copying x139 here, cause x139 is needed in a reg for other than x148, namely all: , x148--x149, size: 1
adox r8, r12
xchg rdx, rdi; 0xffffffff, swapping with 0xffffffffffffffff, which is currently in rdx
mulx r12, r9, r14; x157, x156<- x144 * 0xffffffff
movzx rbp, al; x128, copying x108 here, cause x108 is needed in a reg for other than x128, namely all: , x128, size: 1
mov r10, 0x0 ; moving imm to reg
adcx rbp, r10
clc;
adcx r9, r13
adcx r12, r10
mov rax, [ rsp + 0x38 ]; x150, copying x141 here, cause x141 is needed in a reg for other than x150, namely all: , x150--x151, size: 1
adox rax, r15
clc;
adcx rbx, r14
mov rbx, [ rsp + 0x50 ]; x152, copying x143 here, cause x143 is needed in a reg for other than x152, namely all: , x152--x153, size: 1
adox rbx, rbp
xchg rdx, r11; 0xffffffff00000001, swapping with 0xffffffff, which is currently in rdx
mulx r14, r13, r14; x155, x154<- x144 * 0xffffffff00000001
adcx r9, rcx
adcx r12, r8
setc cl; spill CF x168 to reg (rcx)
seto r15b; spill OF x153 to reg (r15)
mov r8, r9; x174, copying x165 here, cause x165 is needed in a reg for other than x174, namely all: , x184, x174--x175, size: 2
sub r8, rdi
mov rbp, r12; x176, copying x167 here, cause x167 is needed in a reg for other than x176, namely all: , x185, x176--x177, size: 2
sbb rbp, r11
dec r10; OF<-0x0, preserve CF (debug: state 3 (y: 0, n: -1))
movzx rcx, cl
adox rcx, r10; loading flag
adox rax, r13
adox r14, rbx
movzx rbx, r15b; x173, copying x153 here, cause x153 is needed in a reg for other than x173, namely all: , x173, size: 1
mov r13, 0x0 ; moving imm to reg
adox rbx, r13
mov r15, rax; x178, copying x169 here, cause x169 is needed in a reg for other than x178, namely all: , x186, x178--x179, size: 2
sbb r15, 0x00000000
mov rcx, r14; x180, copying x171 here, cause x171 is needed in a reg for other than x180, namely all: , x187, x180--x181, size: 2
sbb rcx, rdx
sbb rbx, 0x00000000
cmovc rbp, r12; if CF, x185<- x167 (nzVar)
cmovc r8, r9; if CF, x184<- x165 (nzVar)
cmovc rcx, r14; if CF, x187<- x171 (nzVar)
mov rbx, [ rsp + 0x0 ]; load m64 out1 to register64
mov [ rbx + 0x0 ], r8; out1[0] = x184
cmovc r15, rax; if CF, x186<- x169 (nzVar)
mov [ rbx + 0x8 ], rbp; out1[1] = x185
mov [ rbx + 0x18 ], rcx; out1[3] = x187
mov [ rbx + 0x10 ], r15; out1[2] = x186
mov rbx, [ rsp + 0x78 ]; restoring from stack
mov rbp, [ rsp + 0x80 ]; restoring from stack
mov r12, [ rsp + 0x88 ]; restoring from stack
mov r13, [ rsp + 0x90 ]; restoring from stack
mov r14, [ rsp + 0x98 ]; restoring from stack
mov r15, [ rsp + 0xa0 ]; restoring from stack
add rsp, 0xa8
ret
; cpu AMD Ryzen 7 5800X 8-Core Processor
; clocked at 2200 MHz
; first cyclecount 74.29, best 53.14492753623188, lastGood 54.52173913043478
; seed 2165586197121668
; CC / CFLAGS clang / -march=native -mtune=native -O3
; time needed: 634766 ms / 60000 runs=> 10.579433333333334ms/run
; Time spent for assembling and measureing (initial batch_size=138, initial num_batches=101): 157898 ms
; Ratio (time for assembling + measure)/(total runtime for 60000runs): 0.2487499330461934
; number reverted permutation/ tried permutation: 25036 / 29947 =83.601%
; number reverted decision/ tried decision: 22006 / 30054 =73.222% | 40.011719 | 134 | 0.688958 |
ed5f929d2b0b59fe7acdababe51c1b759739aa90 | 728 | asm | Assembly | Micro_Processor_Lab/8a-CalculateNCR/CalculateNCR.asm | MohithGowdaHR/PES-Engineering-Lab-Programs | 1d2e854158ad7b4e32c3b39b5801eac38c0b41ca | [
"MIT"
] | null | null | null | Micro_Processor_Lab/8a-CalculateNCR/CalculateNCR.asm | MohithGowdaHR/PES-Engineering-Lab-Programs | 1d2e854158ad7b4e32c3b39b5801eac38c0b41ca | [
"MIT"
] | null | null | null | Micro_Processor_Lab/8a-CalculateNCR/CalculateNCR.asm | MohithGowdaHR/PES-Engineering-Lab-Programs | 1d2e854158ad7b4e32c3b39b5801eac38c0b41ca | [
"MIT"
] | null | null | null | ; Assembly Level Program 8a
; Compute nCr using recursive procedure. Assume that ‘n’ and ‘r’ are non-negative integers.
.model SMALL
.data
N dB 21d
R dB 19d
NCR dW ?
.code
; Initialize Data Segment
MOV AX, @DATA
MOV DS, AX
; Clear NCR
MOV AX, 00h
MOV AL, N
MOV BL, R
MOV NCR, 00h
CALL NCRProcedure
Exit:
MOV AH, 4Ch
INT 21h
NCRProcedure PROC NEAR
CMP AX, BX
JE IncrementBy1
CMP BX, 00h
JE IncrementBy1
CMP BX, 01h
JE IncrementByN
DEC AX
CMP AX, BX
JE IncrementByNPlus1
PUSHA
CALL NCRProcedure
POPA
DEC BX
PUSHA
CALL NCRProcedure
POPA
RET
IncrementBy1:
INC NCR
RET
IncrementByN:
ADD NCR, AX
RET
IncrementByNPlus1:
ADD NCR, AX
INC NCR
RET
NCRProcedure ENDP
END
| 10.705882 | 91 | 0.695055 |
2ea36406eef8d7031d0c17c142bba303508fd9db | 9,613 | asm | Assembly | Main.asm | DevEd2/DevSound-SMS | 0c9b5ae6d3c13eb952f2b7139145621998ff2f1c | [
"MIT"
] | 1 | 2021-04-26T14:53:38.000Z | 2021-04-26T14:53:38.000Z | Main.asm | DevEd2/DevSound-SMS | 0c9b5ae6d3c13eb952f2b7139145621998ff2f1c | [
"MIT"
] | null | null | null | Main.asm | DevEd2/DevSound-SMS | 0c9b5ae6d3c13eb952f2b7139145621998ff2f1c | [
"MIT"
] | null | null | null | ; Sega Master System test program
.include "SMS.inc"
.org $00
; ================================================================
; Macros
; ================================================================
; USAGE: lcolor reg, R, G, B
; R = Red component (0-3)
; G = Green component (0-3)
; B = Blue component (0-3)
; EXAMPLE: lcolor 3,0,3 >> a = %00110011 (magenta)
.macro lcolor
ld a, \1 | (\2 << 2) | (\3 << 4)
.endm
; USAGE: color R, G, B
; R = Red component (0-3)
; G = Green component (0-3)
; B = Blue component (0-3)
; EXAMPLE: color 3,0,3 >> .db %00110011 ; magenta
.macro color
.db \1 | (\2 << 2) | (\3 << 4)
.endm
; USAGE: coord x,y
; x = X coordinate
; y = Y coordinate
; EXAMPLE: coord 5,6 >> de = VDP offset for given coordinates
.macro coord
ld de,$3800 + ((\1 * 2) + (\2 * 64))
.endm
; USAGE: lbbc x,y
; x = First parameter
; y = Second parameter
; EXAMPLE: lbbc 42,56 >> b = 42, c = 56
.macro lbbc
ld bc,(\1 << 8) | \2
.endm
; Same as above but for de
.macro lbde
ld de,(\1 << 8) | \2
.endm
; Same as lbbc but for hl
.macro lbhl
ld hl,(\1 << 8) | \2
.endm
; USAGE: SetVDP register, data
; reg = VDP register (see SMS.inc for a list of registers)
; data = obvious
; EXAMPLE: SetVDP rVDPBorderColor,8 >> send command to change border color to VDP
.macro SetVDP
ld de,((VDP_WriteReg | \1) << 8) | \2
rst $30
.endm
; USAGE: WaitForVDP
; No parameters, it's just three nops...
.macro WaitForVDP
nop
nop
nop
.endm
; ================================================================
; RAM defines
; ================================================================
.ramsection "System variables" slot 1 returnorg
sys_CurrentFrame db ; frame counter
sys_P1_BtnsHeld db ; P1 buttons
sys_P1_BtnsLast db ; used to get newly pressed buttons
MenuPos db ; current menu position
MenuMax db ; number of menu items
MenuLast db ; last menu position
.ends
; ================================================================
; Start of actual code
; ================================================================
.org $00
EntryPoint:
di
im 1
; Initialize SEGA mapper
ld de,$fffc
ld hl,InitValues
ld bc,4
ldir
jr Start
InitValues: .db 0,0,1,2
; --------------------------------
.org $30
.SetVDP:
ld c,rVDPAddr
out [c],e
out [c],d
ret
.org $38
; Interrupt handler
HandleIRQ:
push af
in a,[rVDPStatus]
pop af
reti
; --------------------------------
.org $66
; NMI handler
; Executed when the Pause button is pressed
NMI:
retn
; ================================================================
.org $80
Start:
ld sp,$dffe
; set up VDP
SetVDP rVDPFlags1,(1 << bVDP_Mode4) | (1 << bVDP_ScreenStretch) | (1 << bVDP_EnableScanlineIRQ)
SetVDP rVDPFlags2,(1 << bVDP_Unused2) | (1 << bVDP_DisplayOn) ; | (1 << bVDP_EnableVBlankIRQ)
SetVDP rVDPScreenBase,$ff
SetVDP rVDPSpriteBase,$ff
SetVDP rVDPTileBase,$fb
SetVDP rVDPBorderColor,$f0 | 0
SetVDP rVDPScrollX,0
SetVDP rVDPScrollY,0
SetVDP rVDPScanlineInt,80
; clear memory
ld hl,$c000
ld bc,$2000+255
xor a
- ld [hl],a
inc hl
dec bc
inc b
djnz -
call ClearVRAM
ld hl,TextPal
call LoadBGPal
ld hl,Font
ld bc,Font_End-Font
ld de,0
call VDPCopy
; devsound "banner"
ld hl,strDevSound
coord 3,1
call PrintString
; now playing
ld hl,strNowPlaying
coord 1,3
call PrintString
; first song
coord 3,6
ld hl,strSong1
call PrintString
; second song
coord 3,7
ld hl,strSong2
call PrintString
ld hl,strControls1
coord 1,19
call PrintString
ld hl,strControls2
coord 1,20
call PrintString
ld hl,strControls3
coord 1,21
call PrintString
ld hl,strControls4
coord 1,22
call PrintString
ld a,1 ; number of songs
ld [MenuMax],a
ld [MenuLast],a
; To start playing a song:
; 1. Load HL with a pointer to the song's header
; 2. Call DS_PlaySong
ld hl,mus_Victory
call DS_PlaySong
MainLoop:
; protip: don't do this
ld bc,1601+255
- dec bc
inc b
djnz -
xor a
out [rVDPAddr],a
ld a,VDP_WritePal
out [rVDPAddr],a
lcolor 1,0,0
out [rVDPData],a
call DS_Update ; do this once per frame to update music
xor a
out [rVDPAddr],a
ld a,VDP_WritePal
out [rVDPAddr],a
lcolor 0,0,0
out [rVDPData],a
ld hl,sys_CurrentFrame
inc [hl]
; Print song name.
; DS_SongNamePtr contains a pointer to a 16-byte null-terminated
; string containing the name of the song. Useful if you ever
; need to print the name of the currently playing song (e.g. on
; a sound test screen).
ld hl,[DS_SongNamePtr]
coord 1,4
call PrintString
call ReadInput
; TODO: selection menu
ld a,[sys_P1_BtnsHeld]
ld b,a
ld a,[sys_P1_BtnsLast]
cp b
jp z,@skip
ld a,b
bit bPort1_Up,a
jr nz,@cursordown
bit bPort1_Down,a
jr nz,@cursorup
bit bPort1_Btn1,a
jr nz,@playsong
bit bPort1_Btn2,a
jr z,@skip
@stopsong
; Use DS_StopMusic to stop music playback.
call DS_StopMusic
jr @skip
@playsong
ld a,[MenuPos]
add a
ld hl,SongPointers
add l
ld l,a
jr nc,+
inc h
+ ld a,[hl]
inc l
ld h,[hl]
ld l,a
call DS_PlaySong
jr @skip
@cursordown
ld a,[MenuPos]
ld [MenuLast],a
dec a
cp $ff
jr nz,+
ld a,[MenuMax]
+ ld [MenuPos],a
jr @skip
@cursorup
ld a,[MenuPos]
ld [MenuLast],a
inc a
ld b,a
ld a,[MenuMax]
cp b
ld a,b
jr nc,+
xor a
+ ld [MenuPos],a
; fall through
@skip
; draw cursor
coord 1,6
ld a,[MenuPos]
ld hl,0
ld l,a
ld h,0
add hl,hl ; x2
add hl,hl ; x4
add hl,hl ; x8
add hl,hl ; x16
add hl,hl ; x32
add hl,hl ; x64
add hl,de
ex de,hl
ld a,e
out [rVDPAddr],a
ld a,d
and $3f
or %01000000
out [rVDPAddr],a
ld a,'>'-' '
out [rVDPData],a
WaitForVDP
xor a
out (rVDPData),a
; draw blank tile at previous cursor position
coord 1,6
ld a,[MenuLast]
ld hl,0
ld l,a
ld h,0
add hl,hl ; x2
add hl,hl ; x4
add hl,hl ; x8
add hl,hl ; x16
add hl,hl ; x32
add hl,hl ; x64
add hl,de
ex de,hl
ld a,e
out [rVDPAddr],a
ld a,d
and $3f
or %01000000
out [rVDPAddr],a
xor a
out [rVDPData],a
WaitForVDP
xor a
out (rVDPData),a
@wait
in a,rVDPStatus
bit bVDPStatus_VBlank,a
jr z,@wait
; VBlank operations go here
jp MainLoop
strDevSound: .db "DevSound SMS v0.1 by DevEd",0
strNowPlaying: .db "Now playing:",0
strSong1: .db "Demo song 1",0
strSong2: .db "Demo song 2",0
strControls1: .db "Controls:",0
strControls2: .db "D-pad . . . . . . Select song",0
strControls3: .db "I . . . . . . . . . Play song",0
strControls4: .db "II . . . . . . . . . Stop song",0
SongPointers:
.dw mus_Victory
.dw mus_InsertTitle
@end
; --------------------------------
; Input handler
; Destroys: a, bc, hl
ReadInput:
ld a,[sys_P1_BtnsHeld]
ld [sys_P1_BtnsLast],a
; player 1
in a,[rIOPortAB]
cpl
ld c,a
and %00111111 ; xx21RLDU
ld [sys_P1_BtnsHeld],a
ret
; --------------------------------
; ================================================================
; GFX routines
; ================================================================
ClearVRAM:
ld bc,$3fff
xor a
out [rVDPAddr],a
or VDP_WriteVRAM
out [rVDPAddr],a
- xor a
WaitForVDP
out [rVDPData],a
dec bc
ld a,b
or c
jr nz,-
ret
; INPUT: hl = data pointer, de = VRAM destination, bc = size
VDPCopy:
ld a,e
out [rVDPAddr],a
ld a,d
and $3f
or VDP_WriteVRAM
out [rVDPAddr],a
- ld a,[hl]
inc hl
WaitForVDP
out [rVDPData],a
dec bc
ld a,b
or c
jr nz,-
ret
; INPUT: hl = palette pointer
LoadBGPal:
xor a
jr DoLoadPal
; INPUT: hl = palette pointer
LoadSpritePal:
ld a,16
; fall through to DoLoadPal
; HL = palette pointer, E = palette offset
DoLoadPal:
out [rVDPAddr],a
ld a,VDP_WritePal
out [rVDPAddr],a
ld b,$10
- ld a,[hl]
inc hl
out [rVDPData],a
WaitForVDP
djnz -
ret
; INPUT: hl = string offset, de = VRAM address to print to
PrintString:
ld a,e
out [rVDPAddr],a
ld a,d
and $3f
or %01000000
out [rVDPAddr],a
- ld a,[hl]
and a
ret z ; return if terminator byte reached
inc hl
sub ' ' ; uncomment if font is loaded to start of VRAM
out [rVDPData],a
WaitForVDP
xor a
out (rVDPData),a
jr -
; ================================================================
; RST handlers
; ================================================================
; INPUT: hl = destination, bc = size, e = byte
FillRAM:
ld [hl],e
inc hl
dec bc
ld a,b
or c
jr nz,FillRAM
ret
; ================================================================
; Graphics data
; ================================================================
Font: .incbin "gfx/font.4bpp"
Font_End
TextPal:
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 0,0,0
color 2,2,3
color 3,3,3
; ================================================================
; DevSound routines
; ================================================================
.include "DevSound.asm"
; Insert your music files here.
.include "music/Victory.sng"
.include "music/InsertTitle.sng" | 18.486538 | 97 | 0.535733 |
e72bb6ad3f7b7a24ebba52475ccea64791e0fbbd | 22,341 | asm | Assembly | Appl/Art/Decks/GeoDeck/LCGrapes.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/Art/Decks/GeoDeck/LCGrapes.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/Art/Decks/GeoDeck/LCGrapes.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | LCGrapes label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_4BIT or mask BMT_MASK>
db 0x00, 0x1f, 0xfa, 0xff, 0x00, 0xf0
db 0x01, 0x22, 0x20, 0xe1, 0x00, 0x01, 0x22, 0x20
db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc
db 0x01, 0x20, 0x07, 0xe1, 0x77, 0x01, 0x00, 0x20
db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc
db 0x00, 0x20, 0xe0, 0x77, 0x01, 0x70, 0x20
db 0xf9, 0xff, 0x00, 0xfe
db 0x01, 0x07, 0x77, 0xe2, 0x00, 0x02, 0x77, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x01, 0x07, 0x70, 0xe2, 0x00, 0x02, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x11, 0x07, 0x70, 0x0f, 0xff, 0xff, 0x00, 0x06,
0x60, 0x0a, 0xa0, 0xa0, 0xff, 0xf0, 0xaa, 0x00,
0x0a, 0xaa, 0x0f, 0xfc, 0xff, 0x00, 0x00, 0xf8,
0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x13, 0x07, 0x70, 0x0f, 0xff, 0xf0, 0xee, 0x06,
0x60, 0xaa, 0xa0, 0xaa, 0x0f, 0x00, 0xaa, 0x0a,
0xaa, 0xa0, 0x00, 0x00, 0x0f, 0xfe, 0xff, 0x01,
0x0a, 0x0f, 0xf9, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x1a, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0xee, 0x06,
0x60, 0xaa, 0x00, 0xaa, 0x0f, 0x0a, 0xa0, 0xaa,
0xaa, 0x0a, 0xaa, 0xa0, 0x0f, 0xff, 0xff, 0x00,
0x0a, 0xa0, 0x00, 0x0f, 0xfb, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x16, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0xa0, 0x0a, 0xaa, 0xa0, 0xaa, 0xa0, 0xaa,
0x00, 0xaa, 0xa0, 0x00, 0xff, 0xff, 0xf0, 0x0a,
0xfe, 0xaa, 0x00, 0x0f, 0xfb, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x14, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0x0f, 0x06,
0x60, 0x00, 0xa0, 0x0a, 0x0a, 0xaa, 0xa0, 0xa0,
0xaa, 0xaa, 0xa0, 0xff, 0xff, 0xf0, 0xfe, 0x00,
0x01, 0x0a, 0xa0, 0xfa, 0xff, 0x02, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0d, 0x07, 0x70, 0x0f, 0x0e, 0xe0, 0xff, 0x06,
0x60, 0xaa, 0xaa, 0x00, 0x0a, 0xaa, 0xaa, 0xfe,
0x00, 0x03, 0xaa, 0x00, 0xff, 0xf0, 0xfe, 0xaa,
0x00, 0xa0, 0xfe, 0x00, 0xfc, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x14, 0x07, 0x70, 0x0f, 0x0e, 0xe0, 0xff, 0x06,
0x60, 0xaa, 0xa0, 0x00, 0x00, 0xaa, 0xa0, 0xa0,
0x0a, 0xaa, 0x0a, 0xaa, 0x00, 0x00, 0xfe, 0xaa,
0x0b, 0x00, 0xaa, 0xaa, 0xa0, 0xff, 0x00, 0x00,
0x0f, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x23, 0x07, 0x70, 0x0f, 0x0e, 0xe0, 0xff, 0x06,
0x60, 0xa0, 0x0e, 0xee, 0xee, 0x00, 0x0a, 0xaa,
0xa0, 0xaa, 0xa0, 0x00, 0xee, 0xee, 0x0a, 0xaa,
0xaa, 0x00, 0xaa, 0xaa, 0x00, 0x00, 0xee, 0xee,
0xe0, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x08, 0x07, 0x70, 0x0f, 0x0e, 0xe0, 0xff, 0x06,
0x60, 0x0e, 0xfe, 0xee, 0x00, 0xe0, 0xfe, 0xaa,
0x01, 0x00, 0x0e, 0xfe, 0xee, 0x03, 0xe0, 0x0a,
0xa0, 0xaa, 0xfe, 0x00, 0xfd, 0xee, 0x03, 0x0f,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x07, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0x0f, 0x06,
0x60, 0xfe, 0x00, 0x01, 0x0e, 0xee, 0xf9, 0x00,
0x06, 0xee, 0x00, 0x0a, 0xaa, 0x00, 0xaa, 0xa0,
0xfe, 0x00, 0x04, 0xee, 0xe0, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x07, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0xe0, 0x06,
0x60, 0xfe, 0x66, 0x02, 0x60, 0xee, 0xe0, 0xfa,
0x66, 0x06, 0x0e, 0xe0, 0x0a, 0xa0, 0xaa, 0x0a,
0xa0, 0xfe, 0x66, 0x04, 0x0e, 0xee, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x06, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xee, 0xe0,
0xfc, 0x00, 0x01, 0x0e, 0xee, 0xf9, 0x00, 0x05,
0xe0, 0xaa, 0xa0, 0xaa, 0x0a, 0xaa, 0xfd, 0x00,
0x03, 0xee, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0c, 0x07, 0x70, 0x00, 0x0a, 0x00, 0xee, 0xee,
0xe0, 0xff, 0x0e, 0xee, 0x0f, 0xf0, 0xfd, 0xee,
0x12, 0x00, 0x0a, 0xaa, 0xa0, 0xa0, 0xe0, 0xaa,
0xa0, 0xaa, 0x0a, 0xaa, 0xa0, 0xaa, 0x0a, 0xaa,
0x0e, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x23, 0x07, 0x70, 0x0a, 0xaa, 0x0a, 0x0e, 0xee,
0xee, 0x0f, 0x0e, 0xee, 0x0f, 0xff, 0x00, 0xee,
0xee, 0x00, 0xf0, 0xaa, 0xaa, 0xa0, 0xaa, 0x00,
0x00, 0x0a, 0xaa, 0xa0, 0xaa, 0xa0, 0x00, 0xaa,
0xaa, 0xa0, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0a, 0xa0, 0xaa, 0x00, 0x0e,
0xee, 0xe0, 0xee, 0xee, 0x0f, 0xff, 0xff, 0x00,
0x00, 0xff, 0xfe, 0x00, 0x06, 0x0a, 0xaa, 0xaa,
0x00, 0x0a, 0x0a, 0xaa, 0xfe, 0x00, 0x05, 0xaa,
0xaa, 0x0a, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0x0a, 0xaa, 0x0e, 0x00,
0x0e, 0xee, 0x0e, 0xe0, 0xfc, 0xff, 0x13, 0xf0,
0x0a, 0xaa, 0xaa, 0x0a, 0xaa, 0xaa, 0xa0, 0x00,
0x00, 0xaa, 0xa0, 0xa0, 0xaa, 0x0a, 0xaa, 0x0a,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x00, 0xa0, 0xaa, 0xee, 0x06,
0x0e, 0xee, 0xe0, 0x00, 0xfc, 0xff, 0x00, 0x00,
0xfe, 0xaa, 0x0f, 0x00, 0x0a, 0xaa, 0xa0, 0x00,
0xdd, 0x0a, 0xa0, 0xa0, 0xaa, 0xa0, 0xaa, 0x0a,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0xa0, 0xaa, 0x0e, 0x06,
0x00, 0xee, 0xee, 0x00, 0xfb, 0xff, 0x12, 0x00,
0x0a, 0xa0, 0xaa, 0xa0, 0x0a, 0xa0, 0xd0, 0xdd,
0x00, 0x00, 0xa0, 0xaa, 0xa0, 0x00, 0xaa, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x01, 0x07, 0x70, 0xfe, 0x0a, 0x06, 0x00, 0x06,
0x60, 0x0e, 0xee, 0x0a, 0x00, 0xfc, 0xff, 0x12,
0xf0, 0x0a, 0xa0, 0xaa, 0xa0, 0xd0, 0x00, 0xd0,
0x00, 0xdd, 0x0a, 0x00, 0xaa, 0xa0, 0xaa, 0xaa,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x23, 0x07, 0x70, 0x0a, 0x0a, 0xa0, 0x0e, 0x06,
0x60, 0x00, 0xee, 0x0a, 0xaa, 0x00, 0x00, 0xff,
0xff, 0xf0, 0x00, 0xaa, 0x0a, 0xaa, 0xa0, 0xdd,
0x00, 0x0d, 0xd0, 0xdd, 0x00, 0x0d, 0x00, 0xa0,
0xaa, 0xaa, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x13, 0x07, 0x70, 0x0a, 0x0a, 0xa0, 0x0e, 0x06,
0x60, 0xf0, 0xee, 0x0a, 0xaa, 0xaa, 0xa0, 0xff,
0xff, 0xf0, 0x00, 0xaa, 0x0a, 0xfe, 0x00, 0x02,
0xdd, 0x0d, 0xd0, 0xfe, 0x00, 0x06, 0xd0, 0xa0,
0xa0, 0x00, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0d, 0x07, 0x70, 0x0a, 0x0a, 0xa0, 0x0e, 0x06,
0x60, 0xf0, 0xe0, 0xa0, 0x0a, 0xaa, 0x0f, 0xfe,
0xff, 0x12, 0xf0, 0x00, 0xaa, 0x0f, 0x0d, 0x00,
0xdd, 0x00, 0x00, 0xdd, 0x0d, 0x0d, 0x00, 0xa0,
0x0f, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0b, 0x07, 0x70, 0x0a, 0x0a, 0xa0, 0x0e, 0x06,
0x60, 0xf0, 0x0a, 0xaa, 0xa0, 0xfe, 0x00, 0x14,
0x0f, 0xff, 0xff, 0xf0, 0xaa, 0x0f, 0xf0, 0xdd,
0x00, 0x0d, 0xd0, 0xdd, 0x0d, 0x0d, 0x00, 0x00,
0x0f, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x23, 0x07, 0x70, 0x00, 0xf0, 0x00, 0xe0, 0x06,
0x60, 0x00, 0x0a, 0xaa, 0x0a, 0x0a, 0xaa, 0xaa,
0x0f, 0xff, 0xff, 0xf0, 0x00, 0xff, 0xf0, 0xdd,
0x00, 0x0d, 0xd0, 0x00, 0x00, 0x0d, 0x00, 0xd0,
0x0f, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0e, 0x07, 0x70, 0x0f, 0xf0, 0xe0, 0xee, 0x06,
0x60, 0xe0, 0x0a, 0xaa, 0x0a, 0x0a, 0xaa, 0xa0,
0xfe, 0xff, 0x07, 0xf0, 0x0f, 0xff, 0xff, 0x00,
0xdd, 0x00, 0x0d, 0xfe, 0xd0, 0x06, 0xdd, 0x0f,
0xff, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0c, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0xee, 0x06,
0x60, 0xee, 0x0a, 0xa0, 0xaa, 0xa0, 0xfe, 0x00,
0x02, 0xff, 0xff, 0xf0, 0xfe, 0xff, 0x0d, 0xf0,
0xdd, 0x00, 0x0d, 0xd0, 0x00, 0xd0, 0xdd, 0x0f,
0xff, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x12, 0x07, 0x70, 0x0f, 0xff, 0x00, 0xee, 0x06,
0x60, 0xee, 0x00, 0x0a, 0xaa, 0xa0, 0xaa, 0xaa,
0xa0, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x07, 0x0d,
0x00, 0x0d, 0xd0, 0x00, 0xdd, 0x0d, 0x00, 0xfe,
0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x12, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0x0e, 0x06,
0x60, 0xee, 0xee, 0x0a, 0xaa, 0xa0, 0x0a, 0xaa,
0x00, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0d, 0x0d,
0xd0, 0x0d, 0xd0, 0x00, 0xdd, 0x00, 0xdd, 0x0f,
0xff, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x11, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0x0e, 0xee, 0x0a, 0xaa, 0x0a, 0xa0, 0xaa,
0xa0, 0xff, 0xf0, 0xfd, 0xff, 0x0d, 0xf0, 0x0d,
0xd0, 0x00, 0xdd, 0x00, 0x00, 0xdd, 0x0f, 0xff,
0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x11, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0x0e, 0xe0, 0xaa, 0xaa, 0x0a, 0xa0, 0xaa,
0xaa, 0x0f, 0x0f, 0xfc, 0xff, 0x06, 0x0d, 0xd0,
0x00, 0xdd, 0x00, 0xdd, 0x00, 0xfe, 0xff, 0x02,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0x0f, 0x06,
0x60, 0xf0, 0xe0, 0xaa, 0xa0, 0xaa, 0xa0, 0xaa,
0xaa, 0xa0, 0xfb, 0xff, 0x06, 0xf0, 0x0d, 0xd0,
0x00, 0xd0, 0xdd, 0x0f, 0xfe, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0x0f, 0x06,
0x60, 0xff, 0x00, 0x00, 0x0a, 0xaa, 0xaa, 0x0a,
0xaa, 0xa0, 0xfa, 0xff, 0x04, 0x0d, 0xd0, 0xdd,
0x0d, 0x00, 0xfd, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0x0f, 0x06,
0x60, 0xff, 0x0e, 0xee, 0x0a, 0xa0, 0xaa, 0xa0,
0x00, 0x00, 0xfa, 0xff, 0x04, 0xf0, 0x00, 0xdd,
0x0d, 0xd0, 0xfd, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0f, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0xe0, 0x06,
0x60, 0xf0, 0xee, 0xee, 0x0a, 0x0f, 0x0a, 0xaa,
0x0f, 0xf9, 0xff, 0x04, 0x0d, 0xd0, 0x00, 0x0d,
0xd0, 0xfd, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0f, 0x07, 0x70, 0x0f, 0x0e, 0xee, 0xee, 0x00,
0x60, 0xf0, 0xee, 0xe0, 0xf0, 0xff, 0xf0, 0xaa,
0x0f, 0xf9, 0xff, 0x04, 0x0d, 0xd0, 0xdd, 0x00,
0x0f, 0xfd, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x03, 0x07, 0x70, 0x00, 0xa0, 0xfe, 0xee, 0x08,
0x00, 0x0e, 0xee, 0xe0, 0xf0, 0xff, 0xff, 0x00,
0x0f, 0xf9, 0xff, 0x03, 0xf0, 0x00, 0x0d, 0x00,
0xfc, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0xaa, 0x0e, 0xee, 0x00,
0x0e, 0xee, 0xee, 0x0f, 0xfd, 0xff, 0x01, 0xf0,
0x0f, 0xfa, 0xff, 0x03, 0xf0, 0xdd, 0x00, 0xd0,
0xfc, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x06, 0x07, 0x70, 0x0a, 0xa0, 0xa0, 0x00, 0x0e,
0xfe, 0xee, 0x00, 0x0f, 0xfc, 0xff, 0x01, 0xf0,
0x00, 0xfb, 0xff, 0x03, 0xf0, 0xd0, 0x00, 0x0f,
0xfd, 0xff, 0x03, 0x00, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x04, 0x07, 0x70, 0x0a, 0x0a, 0xa0, 0xfe, 0xee,
0x01, 0xe0, 0x00, 0xf9, 0xff, 0x01, 0x00, 0x0f,
0xfc, 0xff, 0x02, 0x00, 0xdd, 0x0f, 0xfe, 0xff,
0x04, 0x00, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0x0a, 0xa0, 0xee, 0xee,
0xe0, 0x0e, 0xee, 0x0f, 0xf9, 0xff, 0x02, 0xf0,
0x00, 0x0f, 0xfe, 0xff, 0x01, 0x0d, 0x00, 0xfe,
0xff, 0x05, 0x00, 0xff, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x00, 0x0a, 0x0e, 0xee, 0xee,
0x00, 0x0e, 0xee, 0x0f, 0xf7, 0xff, 0x08, 0xf0,
0x00, 0xff, 0xff, 0x0d, 0xd0, 0xff, 0xff, 0x00,
0xfe, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0xa0, 0xee, 0xee, 0xe0,
0x60, 0x0e, 0xee, 0x0f, 0xf5, 0xff, 0x02, 0x00,
0x0f, 0xf0, 0xfe, 0x00, 0xfd, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0xa0, 0xee, 0xe0, 0x06,
0x60, 0xf0, 0xee, 0xe0, 0xf4, 0xff, 0x01, 0xf0,
0x00, 0xfa, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0a, 0xa0, 0xee, 0xe0, 0x06,
0x60, 0xf0, 0xee, 0xe0, 0xf4, 0xff, 0x00, 0x00,
0xf9, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0b, 0x07, 0x70, 0x0a, 0xa0, 0xee, 0x0a, 0x06,
0x60, 0x00, 0x0e, 0xee, 0x0f, 0xf6, 0xff, 0x00,
0x00, 0xf8, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0b, 0x07, 0x70, 0x00, 0xa0, 0xee, 0x0a, 0x06,
0x00, 0xa0, 0x0e, 0xee, 0x0f, 0xf7, 0xff, 0x00,
0xf0, 0xf7, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0b, 0x07, 0x70, 0x0f, 0x0f, 0x0e, 0x00, 0x00,
0xaa, 0xa0, 0x0e, 0xee, 0x0f, 0xf7, 0xff, 0x00,
0x0f, 0xf7, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0b, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0x0a, 0xaa,
0xaa, 0xa0, 0xee, 0xee, 0x0f, 0xf9, 0xff, 0x01,
0xf0, 0x00, 0xf6, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0b, 0x07, 0x70, 0x0f, 0xf0, 0x00, 0x00, 0xaa,
0xa0, 0x0a, 0x0e, 0xee, 0x00, 0xf9, 0xff, 0x00,
0x0f, 0xf5, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x03, 0x07, 0x70, 0x0f, 0xf0, 0xfe, 0x00, 0x05,
0x0a, 0xaa, 0xa0, 0xe0, 0xa0, 0x00, 0xfb, 0xff,
0x00, 0x00, 0xf4, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0d, 0x07, 0x70, 0x0f, 0xf0, 0xaa, 0xaa, 0xa0,
0xa0, 0xaa, 0xa0, 0x00, 0xaa, 0xaa, 0x00, 0xfd,
0xff, 0x00, 0xf0, 0xf3, 0xff, 0x02, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0e, 0x07, 0x70, 0x0f, 0xf0, 0x0a, 0xaa, 0xa0,
0xa0, 0xaa, 0xa0, 0xdd, 0x0a, 0xaa, 0x00, 0x00,
0xfe, 0xff, 0x00, 0x0f, 0xf3, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x02, 0x07, 0x70, 0x0f, 0xfe, 0x00, 0x0b, 0x0a,
0xaa, 0x0a, 0xa0, 0xdd, 0x00, 0x0a, 0x0a, 0xa0,
0x0f, 0xff, 0xf0, 0xf2, 0xff, 0x02, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x11, 0x07, 0x70, 0x0f, 0x0a, 0xaa, 0xaa, 0x0a,
0xaa, 0xa0, 0x00, 0x00, 0x0d, 0x00, 0xaa, 0xa0,
0xa0, 0xff, 0x0f, 0xf2, 0xff, 0x02, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0f, 0x00, 0xaa, 0xa0, 0x0a,
0xaa, 0xa0, 0xee, 0x00, 0x0d, 0xd0, 0xaa, 0x0a,
0xa0, 0xf0, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x00, 0x0a, 0xaa, 0x0a, 0xa0,
0xaa, 0xa0, 0xee, 0x0d, 0xd0, 0x00, 0xa0, 0x00,
0xaa, 0x0f, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x00, 0xaa, 0xaa, 0x0a, 0xa0,
0xaa, 0xaa, 0x0e, 0x0d, 0xd0, 0xdd, 0x00, 0xd0,
0xaa, 0x0f, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0a, 0xaa, 0xaa, 0x0a, 0xaa,
0x0a, 0xaa, 0x0e, 0x00, 0x00, 0x0d, 0x00, 0x0d,
0x0a, 0x0f, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0a, 0xaa, 0xa0, 0xaa, 0xaa,
0xa0, 0x00, 0x00, 0xdd, 0x0d, 0x00, 0xdd, 0xd0,
0xf0, 0x0f, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x00, 0x00, 0x0a, 0xaa, 0x0a,
0xa0, 0xee, 0xe0, 0xdd, 0x0d, 0xd0, 0x0d, 0xd0,
0xff, 0x0f, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0f, 0x00, 0xaa, 0xa0, 0x00,
0xa0, 0xee, 0x0d, 0x00, 0xd0, 0x00, 0xd0, 0x00,
0xff, 0x0f, 0xf1, 0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x09, 0x07, 0x70, 0x00, 0x00, 0xaa, 0x0e, 0xee,
0x0e, 0xe0, 0x0d, 0xfd, 0xd0, 0x00, 0xdd, 0xef,
0x00, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x04, 0x07, 0x70, 0x0b, 0xb0, 0x00, 0xfe, 0xee,
0x1b, 0x0e, 0xe0, 0x0d, 0xd0, 0x00, 0x00, 0xdd,
0x0f, 0xff, 0xfb, 0xfb, 0xff, 0xbf, 0xff, 0xbf,
0xfb, 0xfb, 0xbb, 0xff, 0xfb, 0xff, 0xbb, 0xbf,
0xff, 0xbb, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x10, 0x07, 0x70, 0x0f, 0xfb, 0x0e, 0xee, 0xee,
0x00, 0x0e, 0xee, 0x00, 0x0d, 0x0d, 0xd0, 0x00,
0xff, 0xbb, 0xfd, 0xff, 0x02, 0xfb, 0xff, 0xbf,
0xfb, 0xff, 0x05, 0xfb, 0xff, 0xfb, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x1a, 0x07, 0x70, 0x0f, 0xb0, 0xee, 0xee, 0x00,
0x00, 0x0e, 0xee, 0xe0, 0xdd, 0x0d, 0x00, 0xd0,
0xfb, 0xbb, 0xff, 0xbf, 0xff, 0xfb, 0xff, 0xff,
0xfb, 0xbf, 0xbf, 0xfb, 0xfb, 0xff, 0x02, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0f, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0xf0, 0x6e, 0xe0, 0x00, 0x00, 0x0d, 0xd0,
0xfb, 0xfe, 0xbb, 0x00, 0xff, 0xfe, 0xbf, 0x06,
0xbb, 0xff, 0xbb, 0xbf, 0xff, 0xbb, 0xfb, 0xfe,
0xff, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x13, 0x07, 0x70, 0x0b, 0xf0, 0xee, 0x0b, 0x06,
0x60, 0xf0, 0x6e, 0xe0, 0x0d, 0xd0, 0x00, 0x0f,
0xbb, 0xfb, 0xbb, 0xfb, 0xfb, 0xfd, 0xbb, 0x04,
0xbf, 0xbb, 0xbf, 0xff, 0xbb, 0xfe, 0xfb, 0x03,
0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x1b, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0x0f, 0x06,
0x60, 0xff, 0x0e, 0xee, 0x0d, 0x00, 0xd0, 0xd0,
0xfb, 0xfb, 0xbb, 0xbb, 0xfb, 0xbb, 0xff, 0xbf,
0xbb, 0xfb, 0xbf, 0xbf, 0xfb, 0xfc, 0xff, 0x02,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x1b, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0xe0, 0x06,
0x60, 0xbb, 0x0e, 0xee, 0x00, 0x0d, 0xd0, 0xd0,
0xbf, 0xff, 0xfb, 0xfb, 0xbf, 0xbf, 0xff, 0xbf,
0xff, 0xfb, 0xbf, 0xff, 0xbf, 0xfe, 0xff, 0x04,
0xfb, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0xe0, 0x06,
0x60, 0xff, 0x0e, 0xee, 0xfe, 0x00, 0x01, 0x0b,
0xbf, 0xfe, 0xff, 0x00, 0xfb, 0xfe, 0xff, 0x00,
0xbf, 0xfd, 0xff, 0x07, 0xbf, 0xbf, 0xff, 0xfb,
0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x11, 0x07, 0x70, 0x0f, 0xbb, 0xb0, 0xee, 0x06,
0x60, 0xbf, 0x0e, 0xee, 0x0d, 0xd0, 0x0d, 0xd0,
0xbf, 0xfb, 0xfb, 0xfe, 0xff, 0x08, 0xfb, 0xbf,
0xbf, 0xff, 0xbb, 0xbf, 0xbb, 0xbf, 0xbf, 0xfe,
0xbb, 0x02, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x14, 0x07, 0x70, 0x0f, 0xfb, 0x0e, 0x00, 0x06,
0x60, 0x00, 0xee, 0xee, 0x0d, 0xd0, 0x0d, 0xd0,
0xfb, 0xfb, 0xff, 0xfb, 0xfb, 0xbf, 0xfe, 0xbb,
0x0b, 0xff, 0xbb, 0xff, 0xbb, 0xbb, 0xbf, 0xbb,
0xbb, 0xbf, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0f, 0xbf, 0x0e, 0xee, 0x06,
0x60, 0xe0, 0xee, 0xee, 0xfe, 0x00, 0x03, 0x0f,
0xff, 0xfb, 0xfb, 0xfd, 0xff, 0x03, 0xfb, 0xfb,
0xbf, 0xfb, 0xfe, 0xbf, 0x06, 0xff, 0xbb, 0xff,
0xfb, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0d, 0x07, 0x70, 0x0f, 0xb0, 0xee, 0xe0, 0x06,
0x60, 0xe0, 0xee, 0xe0, 0xff, 0x0d, 0xd0, 0xfe,
0xff, 0x01, 0xfb, 0xfb, 0xfe, 0xff, 0x04, 0xbf,
0xbb, 0xbb, 0xff, 0xbb, 0xfc, 0xff, 0x03, 0xfb,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0e, 0x07, 0x70, 0x0b, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0xe6, 0x06, 0x0b, 0xbf, 0x0d, 0xd0, 0xbf,
0xfa, 0xff, 0x0d, 0xbf, 0xfb, 0xbf, 0xff, 0xff,
0xfb, 0xff, 0xfb, 0xfb, 0xbb, 0xbf, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0d, 0x07, 0x70, 0x0f, 0xb0, 0xee, 0xe0, 0x06,
0x60, 0x6e, 0xe0, 0x0f, 0xff, 0xf0, 0x0f, 0xfd,
0xff, 0x05, 0xfb, 0xbf, 0xff, 0xff, 0xbb, 0xbf,
0xf9, 0xff, 0x03, 0xbf, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x09, 0x07, 0x70, 0x0f, 0xb0, 0xee, 0xe0, 0x06,
0x60, 0x0e, 0xe0, 0xfd, 0xbb, 0x03, 0xfb, 0xbb,
0xbb, 0xbf, 0xfe, 0xff, 0x05, 0xfb, 0xff, 0xff,
0xbf, 0xff, 0xbf, 0xfc, 0xff, 0x03, 0xfb, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x09, 0x07, 0x70, 0x0b, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0x0e, 0xe0, 0xfe, 0xbb, 0x08, 0xfb, 0xfb,
0xbb, 0xbf, 0xfb, 0xff, 0xbf, 0xbb, 0xbb, 0xfe,
0xff, 0x00, 0xbb, 0xfa, 0xff, 0x02, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x11, 0x07, 0x70, 0x0b, 0xb0, 0x6e, 0xe0, 0x06,
0x60, 0xf0, 0xee, 0x0b, 0xbb, 0xbf, 0xbb, 0xfb,
0xff, 0xff, 0xfb, 0xfc, 0xbb, 0x02, 0xff, 0xff,
0xbb, 0xfe, 0xff, 0x00, 0xfb, 0xfe, 0xff, 0x02,
0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x12, 0x07, 0x70, 0x0b, 0xbb, 0x0e, 0xee, 0x06,
0x60, 0xb0, 0xee, 0x0f, 0xfb, 0xfb, 0xff, 0xbb,
0xbf, 0xfb, 0xbf, 0xfb, 0xfe, 0xbb, 0x0d, 0xbf,
0xbb, 0xbb, 0xbf, 0xfb, 0xff, 0xfb, 0xff, 0xbf,
0xff, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x14, 0x07, 0x70, 0x0b, 0xbb, 0x0e, 0xee, 0x06,
0x00, 0xf0, 0xee, 0xe0, 0xbb, 0xbf, 0xff, 0xbf,
0xfb, 0xfb, 0xbf, 0xfb, 0xff, 0xfb, 0xfb, 0xff,
0x08, 0xfb, 0xff, 0xff, 0xfb, 0xff, 0xff, 0x07,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0a, 0x07, 0x70, 0x0f, 0xbb, 0x0e, 0xe0, 0x06,
0x00, 0x0e, 0xee, 0xe0, 0xfe, 0xff, 0x00, 0xbf,
0xfc, 0xff, 0x02, 0xbf, 0xff, 0xbb, 0xfc, 0xff,
0x07, 0xfb, 0xff, 0xfb, 0xff, 0xff, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x06, 0x07, 0x70, 0x0b, 0xbb, 0xf0, 0x06, 0x60,
0xfe, 0xee, 0x03, 0x0f, 0xff, 0xff, 0xbf, 0xf9,
0xff, 0x04, 0xbf, 0xff, 0xff, 0xbf, 0xbf, 0xfd,
0xff, 0x04, 0xfb, 0xbf, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x05, 0x07, 0x70, 0x0f, 0xfb, 0xb0, 0x6e, 0xfe,
0xee, 0x02, 0xe0, 0xfb, 0xbf, 0xfd, 0xff, 0x02,
0xbf, 0xfb, 0xbf, 0xfe, 0xfb, 0x05, 0xbf, 0xbf,
0xfb, 0xbb, 0xbb, 0xbf, 0xfe, 0xff, 0x04, 0xfb,
0xbf, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x04, 0x07, 0x70, 0x0f, 0xbb, 0xf0, 0xfe, 0xee,
0x0e, 0xe0, 0x0f, 0xff, 0xfb, 0xbf, 0xff, 0xbb,
0xbb, 0xfb, 0xbb, 0xfb, 0xbb, 0xbf, 0xbb, 0xff,
0xfa, 0xbb, 0x05, 0xfb, 0xfb, 0xbb, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x09, 0x07, 0x70, 0x0f, 0xbb, 0x0e, 0xee, 0x00,
0x00, 0x0e, 0xe0, 0xfe, 0xbb, 0x02, 0xfb, 0xff,
0xff, 0xfa, 0xbb, 0x0c, 0xfb, 0xbb, 0xbf, 0xbb,
0xbb, 0xfb, 0xbb, 0xbf, 0xbb, 0xbb, 0x07, 0x70,
0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x12, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0xe0, 0x06,
0x00, 0x0e, 0xee, 0x0f, 0xff, 0xff, 0xfb, 0xbf,
0xfb, 0xbb, 0xbf, 0xfb, 0xfe, 0xbb, 0x0d, 0xbf,
0xbf, 0xbb, 0xbb, 0xfb, 0xbb, 0xfb, 0xbb, 0xbf,
0xbb, 0xbb, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0c, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0x0e, 0xee, 0x0b, 0xff, 0xff, 0xfe, 0xfb,
0xfe, 0xff, 0x10, 0xbb, 0xbb, 0xff, 0xbf, 0xfb,
0xfb, 0xbb, 0xfb, 0xfb, 0xbf, 0xff, 0xff, 0xfb,
0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x23, 0x07, 0x70, 0x0f, 0xf0, 0xee, 0xe0, 0x06,
0x60, 0xf0, 0xee, 0xe0, 0xff, 0xff, 0xbf, 0xff,
0xbf, 0xfb, 0xff, 0xfb, 0xfb, 0xbf, 0xfb, 0xff,
0xbb, 0xfb, 0xfb, 0xff, 0xbf, 0xfb, 0xbf, 0xfb,
0xbb, 0xff, 0x07, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x0c, 0x07, 0x70, 0x0f, 0xff, 0x0e, 0xe0, 0x06,
0x60, 0xf0, 0xee, 0xe0, 0xbf, 0xbf, 0xfe, 0xff,
0x08, 0xbf, 0xfb, 0xff, 0xff, 0xbf, 0xff, 0xbb,
0xff, 0xfb, 0xfe, 0xff, 0x07, 0xbb, 0xff, 0xbf,
0xfb, 0xf0, 0x77, 0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x01, 0x07, 0x77, 0xe3, 0x00, 0x03, 0x07, 0x77,
0x70, 0x00
db 0xf9, 0xff, 0x00, 0xfe
db 0x00, 0x07, 0xe0, 0x77, 0x01, 0x00, 0x00
db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc
db 0x00, 0x20, 0xe1, 0x77, 0x02, 0x70, 0x00, 0x20
db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc
db 0x00, 0x20, 0xdf, 0x00, 0x00, 0x20
db 0x00, 0x1f, 0xfa, 0xff, 0x00, 0xf0
db 0x01, 0x22, 0x20, 0xe1, 0x00, 0x01, 0x22, 0x20
| 43.464981 | 57 | 0.624189 |
9b08f2746a3fd8adf402e5f681173a85a41dcde4 | 985 | asm | Assembly | Kernel/asm/time.asm | jcgrethe/Arqui2017 | 1fa12a4111d11bc2a287718a78e4c9c70d548c42 | [
"BSD-3-Clause"
] | null | null | null | Kernel/asm/time.asm | jcgrethe/Arqui2017 | 1fa12a4111d11bc2a287718a78e4c9c70d548c42 | [
"BSD-3-Clause"
] | null | null | null | Kernel/asm/time.asm | jcgrethe/Arqui2017 | 1fa12a4111d11bc2a287718a78e4c9c70d548c42 | [
"BSD-3-Clause"
] | null | null | null | GLOBAL getMin
GLOBAL getHour
GLOBAL getDay
GLOBAL getMonth
GLOBAL getYear
GLOBAL binaryTime
%include "./asm/macros.m"
section .text
binaryTime:
pushStack
mov rax,0
mov al,0Bh
out 70h,al
in al,71h
or al,4
out 71h,al
leave
ret
getMin:
pushStack
mov al,2
out 70h,al
in al,71h
leave
ret
getHour:
pushStack
mov al,4
out 70h,al
in al,71h
leave
ret
getDay:
pushStack
mov al,7
out 70h,al
in al,71h
leave
ret
getMonth:
pushStack
mov al,8
out 70h,al
in al,71h
leave
ret
getYear:
pushStack
mov al,9
out 70h,al
in al,71h
leave
ret | 16.147541 | 25 | 0.408122 |
7cfa2177edf3454f1a58e63ae7b77a91bb6a3888 | 188 | asm | Assembly | CPU/cpu_test/test_storage/jr.asm | SilenceX12138/MIPS-Microsystems | d389b706b0930151a710b544db436c2883af958b | [
"MIT"
] | 55 | 2021-09-06T12:12:47.000Z | 2022-01-15T04:30:53.000Z | CPU/cpu_test/test_storage/jr.asm | SilenceX12138/MIPS-Microsystems | d389b706b0930151a710b544db436c2883af958b | [
"MIT"
] | null | null | null | CPU/cpu_test/test_storage/jr.asm | SilenceX12138/MIPS-Microsystems | d389b706b0930151a710b544db436c2883af958b | [
"MIT"
] | null | null | null | .text
#ori $t0,10 #can be removed
ori $t1,10
ori $t2,1
beq $t0,$t1,end_loop
nop
jal addone
nop
end_loop:
nop
jal end
addone:
addu $t1,$t1,$t2
jr $ra
end:
| 8.545455 | 30 | 0.56383 |
780af69f81481b1e1e30f22b3defe5b00fcc7d73 | 1,823 | asm | Assembly | codigo/capitulo 52/suma_array.asm | Nabucodonosor-editorial/ensamblador-x86 | d6d1498e67fdc58278cef9e45cdb5c423ade552f | [
"MIT"
] | 2 | 2020-03-19T19:10:21.000Z | 2021-04-10T16:01:21.000Z | codigo/capitulo 52/suma_array.asm | Nabucodonosor-editorial/ensamblador-x86 | d6d1498e67fdc58278cef9e45cdb5c423ade552f | [
"MIT"
] | null | null | null | codigo/capitulo 52/suma_array.asm | Nabucodonosor-editorial/ensamblador-x86 | d6d1498e67fdc58278cef9e45cdb5c423ade552f | [
"MIT"
] | null | null | null | extern printf
; utilizaremos la funcion printf de C para imprimir
; un numero decimal en pantalla
section .data
; cada dato esta definido como un double world
; (flotante de 32 bits)
vector dd 7.36464646465, 0.930984158273, 10.6047098049
dd 14.3058722306, 15.2983812149, -17.4394255035
dd -17.8120975978, -12.4885670266, 3.74178604342
dd 16.3611827165, -9.1182728262, -11.4055038727
dd 4.68148165048, -9.66095817322, 5.54394454154
dd 13.4203706426, 18.2194407176, -7.878340987
dd -6.60045833452, -7.98961850398
lenvector equ ($-vector)/4 ; cada elemento emplea cuatro bytes
; para su representacion
;mensaje a imprimir en pantalla, %e hace referencia a los datos
;almaceandos en la pila de la cpu
msg db "la suma es = %e",0x0a,0x00
suma dq 0
section .text
global main
main:
mov ecx, lenvector ; guardamos en ecx la cantidad de elementos a
; iterar
mov ebx, 0 ; utilizaremos al arreglo ebx, como el desplazamiento
; en memoria
fldz ; colocamos un cero en la cima de la pila (st0 <- 0)
for:
fld dword [vector + ebx*4] ; carga en la cima de la pila un
; dato leido de la memoria y lo conviente a punto flotante,
; se indica que el dato a cargar es una palabra doble
fadd ; realiza la suma entre el registro st0 y st1 y el resultado
; lo almacena en st0 (st0 <- st0 + st1)
inc ebx ; incrementamos en uno el desplazamiento
loop for
fstp qword [suma] ; copia el dato ubicado en la cima de la pila a
; una ubicacion de memoria como un dato de 64
; bits y remueve el dato de la pila
push dword [suma+4] ; almacenamos la variable suma en la pila de
push dword [suma] ; la cpu como dos datos de 32 bits cada uno
push dword msg
call printf
add esp, 12
ret | 35.745098 | 67 | 0.682392 |
96c553d82ef70d5545808ae394db371639006134 | 674 | asm | Assembly | programs/oeis/088/A088821.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/088/A088821.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/088/A088821.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A088821: a(n) is the sum of smallest prime factors of numbers from 1 to n.
; 0,2,5,7,12,14,21,23,26,28,39,41,54,56,59,61,78,80,99,101,104,106,129,131,136,138,141,143,172,174,205,207,210,212,217,219,256,258,261,263,304,306,349,351,354,356,403,405,412,414,417,419,472,474,479,481,484,486,545,547,608,610,613,615,620,622,689,691,694,696,767,769,842,844,847,849,856,858,937,939,942,944,1027,1029,1034,1036,1039,1041,1130,1132,1139,1141,1144,1146,1151,1153,1250,1252,1255,1257
mov $3,$0
add $3,1
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
sub $0,$3
mov $2,$0
mov $4,1
lpb $2
mul $2,$4
sub $2,1
add $4,$0
gcd $4,$2
lpe
add $1,$4
lpe
sub $1,1
mov $0,$1
| 29.304348 | 396 | 0.652819 |
a92d5754f8df7d6d4179c9a0ceff388818c10c32 | 6,705 | asm | Assembly | exampl05/mmfdemo/slave/slave.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | exampl05/mmfdemo/slave/slave.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | exampl05/mmfdemo/slave/slave.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | ; #########################################################################
.486 ; create 32 bit code
.model flat, stdcall ; 32 bit memory model
option casemap :none ; case sensitive
include slave.inc ; local includes for this file
include dbmacros.asm
include errormac.asm
.code
; #########################################################################
start:
invoke InitCommonControls
; ------------------
; set global values
; ------------------
invoke GetModuleHandle, NULL
mov hInstance, eax
invoke GetCommandLine
mov CommandLine, eax
invoke LoadIcon,hInstance,500 ; icon ID
mov hIcon, eax
invoke LoadCursor,NULL,IDC_ARROW
mov hCursor, eax
invoke GetSystemMetrics,SM_CXSCREEN
mov sWid, eax
invoke GetSystemMetrics,SM_CYSCREEN
mov sHgt, eax
call Main
invoke ExitProcess,eax
; #########################################################################
Main proc
LOCAL Wwd:DWORD,Wht:DWORD,Wtx:DWORD,Wty:DWORD
STRING szClassName,"Slave_Class"
SingleInstanceOnly ADDR szClassName
; --------------------------------------------
; register class name for CreateWindowEx call
; --------------------------------------------
invoke RegisterWinClass,ADDR WndProc,ADDR szClassName,
hIcon,hCursor,COLOR_BTNFACE+1
; -------------------------------------------------
; macro to autoscale window co-ordinates to screen
; percentages and centre window at those sizes.
; -------------------------------------------------
AutoScale 75, 70
invoke CreateWindowEx,WS_EX_LEFT,
ADDR szClassName,
ADDR szDisplayName,
WS_OVERLAPPEDWINDOW,
400,10,200,200,
NULL,NULL,
hInstance,NULL
mov hWnd,eax
; ---------------------------
; macros for unchanging code
; ---------------------------
DisplayWindow hWnd,SW_SHOWNORMAL
call MsgLoop
ret
Main endp
; #########################################################################
RegisterWinClass proc lpWndProc:DWORD, lpClassName:DWORD,
Icon:DWORD, Cursor:DWORD, bColor:DWORD
LOCAL wc:WNDCLASSEX
mov wc.cbSize, sizeof WNDCLASSEX
mov wc.style, CS_BYTEALIGNCLIENT or \
CS_BYTEALIGNWINDOW
m2m wc.lpfnWndProc, lpWndProc
mov wc.cbClsExtra, NULL
mov wc.cbWndExtra, NULL
m2m wc.hInstance, hInstance
m2m wc.hbrBackground, bColor
mov wc.lpszMenuName, NULL
m2m wc.lpszClassName, lpClassName
m2m wc.hIcon, Icon
m2m wc.hCursor, Cursor
m2m wc.hIconSm, Icon
invoke RegisterClassEx, ADDR wc
ret
RegisterWinClass endp
; ########################################################################
MsgLoop proc
; ------------------------------------------
; The following 4 equates are available for
; processing messages directly in the loop.
; m_hWnd - m_Msg - m_wParam - m_lParam
; ------------------------------------------
LOCAL msg:MSG
StartLoop:
invoke GetMessage,ADDR msg,NULL,0,0
cmp eax, 0
je ExitLoop
invoke TranslateMessage, ADDR msg
invoke DispatchMessage, ADDR msg
jmp StartLoop
ExitLoop:
mov eax, msg.wParam
ret
MsgLoop endp
; #########################################################################
WndProc proc hWin :DWORD,
uMsg :DWORD,
wParam :DWORD,
lParam :DWORD
LOCAL var :DWORD
LOCAL caW :DWORD
LOCAL caH :DWORD
LOCAL hExt :DWORD
LOCAL Rct :RECT
LOCAL buffer1[128]:BYTE ; these are two spare buffers
LOCAL buffer2[128]:BYTE ; for text manipulation etc..
.if uMsg == WM_COMMAND
;======== toolbar commands ========
.if wParam == 50
mov eax, lpMemFile
mov eax, [eax]
mov hExt, eax
invoke SendMessage,hExt,WM_COMMAND,1000,1
.elseif wParam == 51
mov eax, lpMemFile
mov eax, [eax]
mov hExt, eax
invoke SendMessage,hExt,WM_COMMAND,1000,2
.elseif wParam == 52
mov eax, lpMemFile
mov eax, [eax]
mov hExt, eax
invoke SendMessage,hExt,WM_COMMAND,1000,3
.elseif wParam == 1000
.if lParam == 1
invoke SendMessage,hWnd,WM_SYSCOMMAND,SC_CLOSE,0
.endif
.endif
.elseif uMsg == WM_CREATE
invoke Do_ToolBar,hWin
invoke Do_Status,hWin
; @@@@@@@@@@@@@@@@@@@@@@@@@@@
; Create the memory mapped file
; @@@@@@@@@@@@@@@@@@@@@@@@@@@
invoke CreateFileMapping,0FFFFFFFFh, ; nominates the system paging
NULL,
PAGE_READWRITE, ; read write access to memory
0,
1000000, ; size in BYTEs
SADD("My_MM_File") ; set file object name here
mov hMMF, eax
; @@@@@@@@@@@@@@@@@@@@@@@@@@@
; map a view of that file into
; this applications memory
; address space.
; @@@@@@@@@@@@@@@@@@@@@@@@@@@
invoke MapViewOfFile,hMMF,FILE_MAP_WRITE,0,0,0
mov lpMemFile, eax
add eax, 4
mov ecx, hWin
mov [eax], ecx ; put window handle at offset 4 in the memory mapped file
.elseif uMsg == WM_SYSCOLORCHANGE
invoke Do_ToolBar,hWin
.elseif uMsg == WM_SIZE
invoke SendMessage,hToolBar,TB_AUTOSIZE,0,0
invoke MoveWindow,hStatus,0,0,0,0,TRUE
.elseif uMsg == WM_CLOSE
; @@@@@@@@@@@@@@@@@@@@@@@@@@@
; unmap view and close handle
; @@@@@@@@@@@@@@@@@@@@@@@@@@@
invoke UnmapViewOfFile,lpMemFile
invoke CloseHandle,hMMF
.elseif uMsg == WM_DESTROY
invoke PostQuitMessage,NULL
return 0
.endif
invoke DefWindowProc,hWin,uMsg,wParam,lParam
ret
WndProc endp
; ########################################################################
TopXY proc wDim:DWORD, sDim:DWORD
shr sDim, 1 ; divide screen dimension by 2
shr wDim, 1 ; divide window dimension by 2
mov eax, wDim ; copy window dimension into eax
sub sDim, eax ; sub half win dimension from half screen dimension
return sDim
TopXY endp
; ########################################################################
end start
| 26.397638 | 81 | 0.480537 |
2ce993131df6c69119c2c07e40e0827365bac015 | 431 | asm | Assembly | src/asm/Fill.asm | shmuga/nadn2tetris | 7a69122a328079958f030f87ff72a53c47d811e7 | [
"MIT"
] | null | null | null | src/asm/Fill.asm | shmuga/nadn2tetris | 7a69122a328079958f030f87ff72a53c47d811e7 | [
"MIT"
] | null | null | null | src/asm/Fill.asm | shmuga/nadn2tetris | 7a69122a328079958f030f87ff72a53c47d811e7 | [
"MIT"
] | null | null | null | (LOOP)
@24576
D=M
@WHITE
D;JEQ
(BLACK)
@R0
M=-1
@PAINT
0;JMP
(WHITE)
@R0
M=0
(PAINT)
// initial values for paint
@8191
D=A
@SCREEN
D=A+D
@counter
M=D
// paint 1 word from the end while not reached start of canvas
(PAINT1)
@R0
D=M
@counter
A=M
M=D
// decrement counter and check if begining reached
@counter
MD=M-1
@SCREEN
D=D-A
@PAINT1
D;JGE
// --- (PAINT1)
@LOOP
0;JMP
| 8.62 | 63 | 0.582367 |
2cf3e894f2937ebd9f442d0e1cbbcd5db7a4bdd4 | 346 | asm | Assembly | programs/oeis/138/A138432.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/138/A138432.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/138/A138432.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A138432: a(n) = ((n-th prime)^5-(n-th prime)^3)/2.
; 12,108,1500,8232,79860,184548,707472,1234620,3212088,10243380,14299680,34646652,57893640,73464468,114620592,209023308,357359460,422184660,674912172,901935720,1036341288,1538281680,1969234428,2791677240
seq $0,40 ; The prime numbers.
mov $1,$0
pow $1,2
mul $0,$1
sub $1,1
mul $0,$1
div $0,2
| 31.454545 | 203 | 0.742775 |
63a23ece5d791e6fe42c9723af36c8d7a0e31d13 | 1,487 | asm | Assembly | programs/oeis/034/A034850.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/034/A034850.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/034/A034850.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A034850: Triangular array formed by taking every other term of Pascal's triangle.
; 1,1,2,1,3,1,6,1,5,10,1,6,20,6,1,21,35,7,1,28,70,28,1,9,84,126,36,1,10,120,252,120,10,1,55,330,462,165,11,1,66,495,924,495,66,1,13,286,1287,1716,715,78,1,14,364,2002,3432,2002,364,14,1,105,1365,5005,6435,3003,455,15,1,120,1820,8008,12870,8008,1820,120,1,17,680,6188,19448,24310,12376,2380,136,1,18,816,8568,31824,48620,31824,8568,816,18,1,171,3876,27132,75582,92378,50388,11628,969,19,1,190,4845,38760,125970,184756,125970,38760,4845,190,1,21,1330,20349,116280,293930,352716,203490,54264,5985,210,1,22,1540,26334,170544,497420,705432,497420,170544,26334,1540,22,1,253,8855,100947,490314,1144066,1352078,817190,245157,33649,1771,23,1,276,10626,134596,735471,1961256,2704156,1961256,735471,134596,10626,276,1,25,2300,53130,480700,2042975,4457400,5200300,3268760,1081575,177100,12650,300,1,26,2600,65780,657800,3124550,7726160,10400600,7726160,3124550,657800,65780,2600,26,1,351,17550,296010,2220075,8436285,17383860,20058300,13037895,4686825,888030,80730,2925,27,1,378,20475,376740,3108105,13123110,30421755,40116600,30421755,13123110,3108105,376740,20475,378,1,29,3654,118755,1560780,10015005,34597290,67863915,77558760,51895935,20030010,4292145,475020,23751,406,1,30,4060,142506,2035800,14307150,54627300,119759850,155117520,119759850,54627300,14307150,2035800,142506,4060,30,1,465
mul $0,2
cal $0,7318 ; Pascal's triangle read by rows: C(n,k) = binomial(n,k) = n!/(k!*(n-k)!), 0 <= k <= n.
mov $1,$0
| 212.428571 | 1,282 | 0.780767 |
ee19471a89dc11f5d9a918d33f34836bbb5a2f02 | 335 | asm | Assembly | oeis/021/A021903.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/021/A021903.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/021/A021903.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A021903: Decimal expansion of 1/899.
; Submitted by Jamie Morken(s1.)
; 0,0,1,1,1,2,3,4,7,0,5,2,2,8,0,3,1,1,4,5,7,1,7,4,6,3,8,4,8,7,2,0,8,0,0,8,8,9,8,7,7,6,4,1,8,2,4,2,4,9,1,6,5,7,3,9,7,1,0,7,8,9,7,6,6,4,0,7,1,1,9,0,2,1,1,3,4,5,9,3,9,9,3,3,2,5,9,1,7,6,8,6,3,1,8,1,3,1,2,5
add $0,1
mov $2,10
pow $2,$0
div $2,899
mov $0,$2
mod $0,10
| 30.454545 | 201 | 0.558209 |
f58a5d876b3c0205ee1d3fde4e2eabefbf966189 | 975,580 | asm | Assembly | win32/VC10/Win32/libxml2_Debug/HTMLparser.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | win32/VC10/Win32/libxml2_Debug/HTMLparser.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | win32/VC10/Win32/libxml2_Debug/HTMLparser.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\HTMLparser.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC ??_C@_0CL@ILDKNODA@greek?5capital?5letter?5omega?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_05IAEKHIAN@alpha@ ; `string'
PUBLIC ??_C@_0CJ@NGKKADHM@greek?5small?5letter?5alpha?0?5U?$CL03B@ ; `string'
PUBLIC ??_C@_04PJMJLBJE@beta@ ; `string'
PUBLIC ??_C@_0CI@HELPLLEJ@greek?5small?5letter?5beta?0?5U?$CL03B2@ ; `string'
PUBLIC ??_C@_05KDLBCAI@gamma@ ; `string'
PUBLIC ??_C@_0CJ@GAGCCHKA@greek?5small?5letter?5gamma?0?5U?$CL03B@ ; `string'
PUBLIC ??_C@_05NCGEDJPM@delta@ ; `string'
PUBLIC ??_C@_0CJ@BFJAILD@greek?5small?5letter?5delta?0?5U?$CL03B@ ; `string'
PUBLIC ??_C@_07DOCPLGLO@epsilon@ ; `string'
PUBLIC ??_C@_0CL@DLPCDOME@greek?5small?5letter?5epsilon?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_04KJFJGNNH@zeta@ ; `string'
PUBLIC ??_C@_0CI@BDECAAKJ@greek?5small?5letter?5zeta?0?5U?$CL03B6@ ; `string'
PUBLIC ??_C@_03PNFNLNLI@eta@ ; `string'
PUBLIC ??_C@_0CH@KEKGFBMN@greek?5small?5letter?5eta?0?5U?$CL03B7?5@ ; `string'
PUBLIC ??_C@_05FECKLAFM@theta@ ; `string'
PUBLIC ??_C@_0CJ@OCPPMBNL@greek?5small?5letter?5theta?0?5U?$CL03B@ ; `string'
PUBLIC ??_C@_04OBKEGAOB@iota@ ; `string'
PUBLIC ??_C@_0CI@IFKGGLBF@greek?5small?5letter?5iota?0?5U?$CL03B9@ ; `string'
PUBLIC ??_C@_05MLHEGNBC@kappa@ ; `string'
PUBLIC ??_C@_0CJ@FMCMBLI@greek?5small?5letter?5kappa?0?5U?$CL03B@ ; `string'
PUBLIC ??_C@_06COJIGPIB@lambda@ ; `string'
PUBLIC ??_C@_0CK@PECPLDML@greek?5small?5letter?5lambda?0?5U?$CL03@ ; `string'
PUBLIC ??_C@_02BCPJPDCN@mu@ ; `string'
PUBLIC ??_C@_0CG@GBCBMJNP@greek?5small?5letter?5mu?0?5U?$CL03BC?5I@ ; `string'
PUBLIC ??_C@_02BALPENHE@nu@ ; `string'
PUBLIC ??_C@_0CG@CAKLFEAP@greek?5small?5letter?5nu?0?5U?$CL03BD?5I@ ; `string'
PUBLIC ??_C@_02OOGDMPOL@xi@ ; `string'
PUBLIC ??_C@_0CG@HDKNCKDK@greek?5small?5letter?5xi?0?5U?$CL03BE?5I@ ; `string'
PUBLIC ??_C@_07PBNNEOII@omicron@ ; `string'
PUBLIC ??_C@_0CH@GIJCJIME@greek?5small?5letter?5omicron?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_02OAHAJOFD@pi@ ; `string'
PUBLIC ??_C@_0CG@KLOCKGKD@greek?5small?5letter?5pi?0?5U?$CL03C0?5I@ ; `string'
PUBLIC ??_C@_03LLCMKFAE@rho@ ; `string'
PUBLIC ??_C@_0CH@IDBCMKBI@greek?5small?5letter?5rho?0?5U?$CL03C1?5@ ; `string'
PUBLIC ??_C@_06IAEFNBA@sigmaf@ ; `string'
PUBLIC ??_C@_0CP@IIMCBNML@greek?5small?5letter?5final?5sigma?0@ ; `string'
PUBLIC ??_C@_05MNLBPJCA@sigma@ ; `string'
PUBLIC ??_C@_0CJ@CGFNIIGJ@greek?5small?5letter?5sigma?0?5U?$CL03C@ ; `string'
PUBLIC ??_C@_03CBLLDLIM@tau@ ; `string'
PUBLIC ??_C@_0CH@DHNJIMD@greek?5small?5letter?5tau?0?5U?$CL03C4?5@ ; `string'
PUBLIC ??_C@_07ECJEIHJF@upsilon@ ; `string'
PUBLIC ??_C@_0CL@IFBHJODJ@greek?5small?5letter?5upsilon?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_03EHHPMKAJ@phi@ ; `string'
PUBLIC ??_C@_0CH@KFHMBLGI@greek?5small?5letter?5phi?0?5U?$CL03C6?5@ ; `string'
PUBLIC ??_C@_03FNDDCHI@chi@ ; `string'
PUBLIC ??_C@_0CH@FNBJGLJ@greek?5small?5letter?5chi?0?5U?$CL03C7?5@ ; `string'
PUBLIC ??_C@_03FHAMIGJI@psi@ ; `string'
PUBLIC ??_C@_0CH@CAAILPN@greek?5small?5letter?5psi?0?5U?$CL03C8?5@ ; `string'
PUBLIC ??_C@_05OLLLNAFN@omega@ ; `string'
PUBLIC ??_C@_0CJ@NIEIIOKC@greek?5small?5letter?5omega?0?5U?$CL03C@ ; `string'
PUBLIC ??_C@_08KICBPJKJ@thetasym@ ; `string'
PUBLIC ??_C@_0CM@BLIOHCJH@greek?5small?5letter?5theta?5symbol@ ; `string'
PUBLIC ??_C@_05HPKIDMJD@upsih@ ; `string'
PUBLIC ??_C@_0CL@EJFICJGP@greek?5upsilon?5with?5hook?5symbol?0@ ; `string'
PUBLIC ??_C@_03ILOHKOKA@piv@ ; `string'
PUBLIC ??_C@_0CA@BEPNCOE@greek?5pi?5symbol?0?5U?$CL03D6?5ISOgrk3@ ; `string'
PUBLIC ??_C@_04MKHONPBA@ensp@ ; `string'
PUBLIC ??_C@_0BI@MFLEMBMM@en?5space?0?5U?$CL2002?5ISOpub@ ; `string'
PUBLIC ??_C@_04NIMLHAPO@emsp@ ; `string'
PUBLIC ??_C@_0BI@KECKOMLC@em?5space?0?5U?$CL2003?5ISOpub@ ; `string'
PUBLIC ??_C@_06KIEAGDHN@thinsp@ ; `string'
PUBLIC ??_C@_0BK@BMAGNFEE@thin?5space?0?5U?$CL2009?5ISOpub@ ; `string'
PUBLIC ??_C@_04KBAMANKO@zwnj@ ; `string'
PUBLIC ??_C@_0CL@DLBANCKG@zero?5width?5non?9joiner?0?5U?$CL200C?5N@ ; `string'
PUBLIC ??_C@_03BEJFJNOD@zwj@ ; `string'
PUBLIC ??_C@_0CH@HBJLDPCB@zero?5width?5joiner?0?5U?$CL200D?5NEW?5R@ ; `string'
PUBLIC ??_C@_03CIGNMBIM@lrm@ ; `string'
PUBLIC ??_C@_0CI@JMDAIFJP@left?9to?9right?5mark?0?5U?$CL200E?5NEW?5@ ; `string'
PUBLIC ??_C@_03IOBDGPFK@rlm@ ; `string'
PUBLIC ??_C@_0CI@CAGBGDGP@right?9to?9left?5mark?0?5U?$CL200F?5NEW?5@ ; `string'
PUBLIC ??_C@_05GIHIEGDL@ndash@ ; `string'
PUBLIC ??_C@_0BH@PNMIOILG@en?5dash?0?5U?$CL2013?5ISOpub@ ; `string'
PUBLIC ??_C@_05OOOMDEJF@mdash@ ; `string'
PUBLIC ??_C@_0BH@KANBCIDP@em?5dash?0?5U?$CL2014?5ISOpub@ ; `string'
PUBLIC ??_C@_05OMKFBBEI@lsquo@ ; `string'
PUBLIC ??_C@_0CK@GNEELPIK@left?5single?5quotation?5mark?0?5U?$CL2@ ; `string'
PUBLIC ??_C@_05NFHJHCKD@rsquo@ ; `string'
PUBLIC ??_C@_0CL@GEEKPFIM@right?5single?5quotation?5mark?0?5U?$CL@ ; `string'
PUBLIC ??_C@_05EDKFBPDE@sbquo@ ; `string'
PUBLIC ??_C@_0CI@NPEPNHFF@single?5low?99?5quotation?5mark?0?5U?$CL@ ; `string'
PUBLIC ??_C@_05DOGFFKNK@ldquo@ ; `string'
PUBLIC ??_C@_0CK@DIJLOOKF@left?5double?5quotation?5mark?0?5U?$CL2@ ; `string'
PUBLIC ??_C@_05HLJDJDB@rdquo@ ; `string'
PUBLIC ??_C@_0CL@ECIPNNCJ@right?5double?5quotation?5mark?0?5U?$CL@ ; `string'
PUBLIC ??_C@_05EGPDLKK@bdquo@ ; `string'
PUBLIC ??_C@_0CI@JHNLBCGB@double?5low?99?5quotation?5mark?0?5U?$CL@ ; `string'
PUBLIC ??_C@_06DEOCNA@dagger@ ; `string'
PUBLIC ??_C@_0BG@KCAEGFLE@dagger?0?5U?$CL2020?5ISOpub@ ; `string'
PUBLIC ??_C@_06MPIJNLEM@Dagger@ ; `string'
PUBLIC ??_C@_0BN@EMJEPPHC@double?5dagger?0?5U?$CL2021?5ISOpub@ ; `string'
PUBLIC ??_C@_04OELGKIO@bull@ ; `string'
PUBLIC ??_C@_0CL@DGNFAKNB@bullet?5?$DN?5black?5small?5circle?0?5U?$CL@ ; `string'
PUBLIC ??_C@_06MHPIOHEE@hellip@ ; `string'
PUBLIC ??_C@_0DG@IFMGDAHK@horizontal?5ellipsis?5?$DN?5three?5dot@ ; `string'
PUBLIC ??_C@_06BCNCCGDG@permil@ ; `string'
PUBLIC ??_C@_0BP@MOFLNGGL@per?5mille?5sign?0?5U?$CL2030?5ISOtech@ ; `string'
PUBLIC ??_C@_05NIKGJPCK@prime@ ; `string'
PUBLIC ??_C@_0CH@BOHNNDDJ@prime?5?$DN?5minutes?5?$DN?5feet?0?5U?$CL2032?5@ ; `string'
PUBLIC ??_C@_05NPAKJKBM@Prime@ ; `string'
PUBLIC ??_C@_0DA@NOHFAGMO@double?5prime?5?$DN?5seconds?5?$DN?5inches@ ; `string'
PUBLIC ??_C@_06GELNDNKI@lsaquo@ ; `string'
PUBLIC ??_C@_0DP@FIMACBKH@single?5left?9pointing?5angle?5quot@ ; `string'
PUBLIC ??_C@_06FDFMNKDL@rsaquo@ ; `string'
PUBLIC ??_C@_0EA@GOMGFHEI@single?5right?9pointing?5angle?5quo@ ; `string'
PUBLIC ??_C@_05PHLALINO@oline@ ; `string'
PUBLIC ??_C@_0CJ@PIHCOGHN@overline?5?$DN?5spacing?5overscore?0?5U@ ; `string'
PUBLIC ??_C@_05POHGDHA@frasl@ ; `string'
PUBLIC ??_C@_0BL@ECLANJNI@fraction?5slash?0?5U?$CL2044?5NEW@ ; `string'
PUBLIC ??_C@_04IBPOGLCH@euro@ ; `string'
PUBLIC ??_C@_0BG@JOOOHDJA@euro?5sign?0?5U?$CL20AC?5NEW@ ; `string'
PUBLIC ??_C@_05NGOMGBBD@image@ ; `string'
PUBLIC ??_C@_0DH@HDIEDNLH@blackletter?5capital?5I?5?$DN?5imagina@ ; `string'
PUBLIC ??_C@_06PDPFIHAI@weierp@ ; `string'
PUBLIC ??_C@_0DN@GALPCJE@script?5capital?5P?5?$DN?5power?5set?5?$DN?5@ ; `string'
PUBLIC ??_C@_04DGGKDJMA@real@ ; `string'
PUBLIC ??_C@_0DJ@HIEIFFHC@blackletter?5capital?5R?5?$DN?5real?5pa@ ; `string'
PUBLIC ??_C@_05IJFCMOFM@trade@ ; `string'
PUBLIC ??_C@_0BP@FGOALMKH@trade?5mark?5sign?0?5U?$CL2122?5ISOnum@ ; `string'
PUBLIC ??_C@_07HGDIPDGB@alefsym@ ; `string'
PUBLIC ??_C@_0DF@FEFKAOCF@alef?5symbol?5?$DN?5first?5transfinite@ ; `string'
PUBLIC ??_C@_04KMPJKFIC@larr@ ; `string'
PUBLIC ??_C@_0BP@MANNKCID@leftwards?5arrow?0?5U?$CL2190?5ISOnum@ ; `string'
PUBLIC ??_C@_04MBAJFAHB@uarr@ ; `string'
PUBLIC ??_C@_0BN@OACCONEB@upwards?5arrow?0?5U?$CL2191?5ISOnum@ ; `string'
PUBLIC ??_C@_04HDCJIMGB@rarr@ ; `string'
PUBLIC ??_C@_0CA@IGGHOOCM@rightwards?5arrow?0?5U?$CL2192?5ISOnum@ ; `string'
PUBLIC ??_C@_04JMIJOOED@darr@ ; `string'
PUBLIC ??_C@_0BP@DOIMJHPM@downwards?5arrow?0?5U?$CL2193?5ISOnum@ ; `string'
PUBLIC ??_C@_04FJHJADEC@harr@ ; `string'
PUBLIC ??_C@_0CB@IHAAEEFA@left?5right?5arrow?0?5U?$CL2194?5ISOams@ ; `string'
PUBLIC ??_C@_05IKKJKHCL@crarr@ ; `string'
PUBLIC ??_C@_0EE@KKIJJMBC@downwards?5arrow?5with?5corner?5lef@ ; `string'
PUBLIC ??_C@_04MMLAKLM@lArr@ ; `string'
PUBLIC ??_C@_0CH@MGOLKEFA@leftwards?5double?5arrow?0?5U?$CL21D0?5@ ; `string'
PUBLIC ??_C@_04GBDLPPEP@uArr@ ; `string'
PUBLIC ??_C@_0CF@KBBKONBL@upwards?5double?5arrow?0?5U?$CL21D1?5IS@ ; `string'
PUBLIC ??_C@_04NDBLCDFP@rArr@ ; `string'
PUBLIC ??_C@_0CI@IKAGJDHN@rightwards?5double?5arrow?0?5U?$CL21D2@ ; `string'
PUBLIC ??_C@_04DMLLEBHN@dArr@ ; `string'
PUBLIC ??_C@_0CH@GBOLFAFE@downwards?5double?5arrow?0?5U?$CL21D3?5@ ; `string'
PUBLIC ??_C@_04PJELKMHM@hArr@ ; `string'
PUBLIC ??_C@_0CI@IFCBBNJJ@left?5right?5double?5arrow?0?5U?$CL21D4@ ; `string'
PUBLIC ??_C@_06PLFKNBPH@forall@ ; `string'
PUBLIC ??_C@_0BI@NOOLIOLI@for?5all?0?5U?$CL2200?5ISOtech@ ; `string'
PUBLIC ??_C@_04FPLDHIIH@part@ ; `string'
PUBLIC ??_C@_0CF@GGOIFMBL@partial?5differential?0?5U?$CL2202?5IS@ ; `string'
PUBLIC ??_C@_05IEGMLJMJ@exist@ ; `string'
PUBLIC ??_C@_0BN@EAFHKNPG@there?5exists?0?5U?$CL2203?5ISOtech@ ; `string'
PUBLIC ??_C@_05LBJMNBOG@empty@ ; `string'
PUBLIC ??_C@_0DA@LKCPIGBO@empty?5set?5?$DN?5null?5set?5?$DN?5diameter@ ; `string'
PUBLIC ??_C@_05HEJFDJKB@nabla@ ; `string'
PUBLIC ??_C@_0CM@GCEKGKCK@nabla?5?$DN?5backward?5difference?0?5U?$CL@ ; `string'
PUBLIC ??_C@_04GIANKECK@isin@ ; `string'
PUBLIC ??_C@_0BL@GDBOMBIM@element?5of?0?5U?$CL2208?5ISOtech@ ; `string'
PUBLIC ??_C@_05DPIEFBKH@notin@ ; `string'
PUBLIC ??_C@_0CC@DDLOCPFN@not?5an?5element?5of?0?5U?$CL2209?5ISOte@ ; `string'
PUBLIC ??_C@_02PGMIBACJ@ni@ ; `string'
PUBLIC ??_C@_0CD@BGLAPDGA@contains?5as?5member?0?5U?$CL220B?5ISOt@ ; `string'
PUBLIC ??_C@_04EDCDKCIE@prod@ ; `string'
PUBLIC ??_C@_0CN@JGMMGEDP@n?9ary?5product?5?$DN?5product?5sign?0?5U@ ; `string'
PUBLIC ??_C@_03CFFIJAMA@sum@ ; `string'
PUBLIC ??_C@_0CA@MLFCAEFK@n?9ary?5summation?0?5U?$CL2211?5ISOamsb@ ; `string'
PUBLIC ??_C@_05ODKEFHFK@minus@ ; `string'
PUBLIC ??_C@_0BL@FJCONNGD@minus?5sign?0?5U?$CL2212?5ISOtech@ ; `string'
PUBLIC ??_C@_06CKLHNNN@lowast@ ; `string'
PUBLIC ??_C@_0CC@CNKJAFM@asterisk?5operator?0?5U?$CL2217?5ISOte@ ; `string'
PUBLIC ??_C@_05BBBHAEPE@radic@ ; `string'
PUBLIC ??_C@_0CL@ILNDCHNK@square?5root?5?$DN?5radical?5sign?0?5U?$CL2@ ; `string'
PUBLIC ??_C@_04GNINHFNB@prop@ ; `string'
PUBLIC ??_C@_0CA@BMLNCKCC@proportional?5to?0?5U?$CL221D?5ISOtech@ ; `string'
PUBLIC ??_C@_05OFPBNHLL@infin@ ; `string'
PUBLIC ??_C@_0BJ@MNMMNFFJ@infinity?0?5U?$CL221E?5ISOtech@ ; `string'
PUBLIC ??_C@_03DFNEKLMP@ang@ ; `string'
PUBLIC ??_C@_0BG@GBCFPCNE@angle?0?5U?$CL2220?5ISOamso@ ; `string'
PUBLIC ??_C@_03BOPJPIAM@and@ ; `string'
PUBLIC ??_C@_0CE@NKBACHGA@logical?5and?5?$DN?5wedge?0?5U?$CL2227?5ISO@ ; `string'
PUBLIC ??_C@_02FODMLBIE@or@ ; `string'
PUBLIC ??_C@_0CB@FLAIEBBA@logical?5or?5?$DN?5vee?0?5U?$CL2228?5ISOtec@ ; `string'
PUBLIC ??_C@_03JBACKAOP@cap@ ; `string'
PUBLIC ??_C@_0CD@JBIOOGBO@intersection?5?$DN?5cap?0?5U?$CL2229?5ISOt@ ; `string'
PUBLIC ??_C@_03IKCNKLED@cup@ ; `string'
PUBLIC ??_C@_0BM@JDEPIPG@union?5?$DN?5cup?0?5U?$CL222A?5ISOtech@ ; `string'
PUBLIC ??_C@_03JBIPMCLC@int@ ; `string'
PUBLIC ??_C@_0BJ@DAPJHJHO@integral?0?5U?$CL222B?5ISOtech@ ; `string'
PUBLIC ??_C@_06PLMBDDJI@there4@ ; `string'
PUBLIC ??_C@_0BK@MEMCAFFC@therefore?0?5U?$CL2234?5ISOtech@ ; `string'
PUBLIC ??_C@_03DAGEMKNE@sim@ ; `string'
PUBLIC ??_C@_0DK@DFMGNFEL@tilde?5operator?5?$DN?5varies?5with?5?$DN?5@ ; `string'
PUBLIC ??_C@_04OMPPPJGA@cong@ ; `string'
PUBLIC ??_C@_0CH@JKKBMPFH@approximately?5equal?5to?0?5U?$CL2245?5@ ; `string'
PUBLIC ??_C@_05EKOANGCP@asymp@ ; `string'
PUBLIC ??_C@_0DA@ELDFLNNK@almost?5equal?5to?5?$DN?5asymptotic?5to@ ; `string'
PUBLIC ??_C@_02FKHNFPCF@ne@ ; `string'
PUBLIC ??_C@_0BN@PJGPJIIG@not?5equal?5to?0?5U?$CL2260?5ISOtech@ ; `string'
PUBLIC ??_C@_05LADEHHLL@equiv@ ; `string'
PUBLIC ??_C@_0BN@MJCNDCCF@identical?5to?0?5U?$CL2261?5ISOtech@ ; `string'
PUBLIC ??_C@_02FJPJILEL@le@ ; `string'
PUBLIC ??_C@_0CG@EDHLKJHI@less?9than?5or?5equal?5to?0?5U?$CL2264?5I@ ; `string'
PUBLIC ??_C@_02FFKMGEKK@ge@ ; `string'
PUBLIC ??_C@_0CJ@OOFAGHNB@greater?9than?5or?5equal?5to?0?5U?$CL226@ ; `string'
PUBLIC ??_C@_0BK@JKNHIPAJ@subset?5of?0?5U?$CL2282?5ISOtech@ ; `string'
PUBLIC ??_C@_0BM@ICBAIMLO@superset?5of?0?5U?$CL2283?5ISOtech@ ; `string'
PUBLIC ??_C@_04GDKEGNCC@nsub@ ; `string'
PUBLIC ??_C@_0CA@PMHNPAEI@not?5a?5subset?5of?0?5U?$CL2284?5ISOamsn@ ; `string'
PUBLIC ??_C@_04IIJHECPP@sube@ ; `string'
PUBLIC ??_C@_0CG@IBKNAAAC@subset?5of?5or?5equal?5to?0?5U?$CL2286?5I@ ; `string'
PUBLIC ??_C@_04JHDFDFOB@supe@ ; `string'
PUBLIC ??_C@_0CI@GNKICMCH@superset?5of?5or?5equal?5to?0?5U?$CL2287@ ; `string'
PUBLIC ??_C@_05GJJFMLCJ@oplus@ ; `string'
PUBLIC ??_C@_0CK@PJJPJOGF@circled?5plus?5?$DN?5direct?5sum?0?5U?$CL22@ ; `string'
PUBLIC ??_C@_06JILOEKEG@otimes@ ; `string'
PUBLIC ??_C@_0CP@BNGPDPFL@circled?5times?5?$DN?5vector?5product?0@ ; `string'
PUBLIC ??_C@_04LELNCKNE@perp@ ; `string'
PUBLIC ??_C@_0DI@FJMFCLO@up?5tack?5?$DN?5orthogonal?5to?5?$DN?5perpe@ ; `string'
PUBLIC ??_C@_04DLDDMCEG@sdot@ ; `string'
PUBLIC ??_C@_0BN@IIJHENBC@dot?5operator?0?5U?$CL22C5?5ISOamsb@ ; `string'
PUBLIC ??_C@_05GNCPEPNF@lceil@ ; `string'
PUBLIC ??_C@_0CL@JGNLAJJH@left?5ceiling?5?$DN?5apl?5upstile?0?5U?$CL2@ ; `string'
PUBLIC ??_C@_05FEPDCMDO@rceil@ ; `string'
PUBLIC ??_C@_0BO@BHDCDMKC@right?5ceiling?0?5U?$CL2309?5ISOamsc@ ; `string'
PUBLIC ??_C@_06JBCNAACH@lfloor@ ; `string'
PUBLIC ??_C@_0CL@MFJOBEGJ@left?5floor?5?$DN?5apl?5downstile?0?5U?$CL2@ ; `string'
PUBLIC ??_C@_06KGMMOHLE@rfloor@ ; `string'
PUBLIC ??_C@_0BM@CNFHBOON@right?5floor?0?5U?$CL230B?5ISOamsc@ ; `string'
PUBLIC ??_C@_0DC@PHLLJIFD@left?9pointing?5angle?5bracket?5?$DN?5b@ ; `string'
PUBLIC ??_C@_04FBKADAGB@rang@ ; `string'
PUBLIC ??_C@_0DD@OPBENGIH@right?9pointing?5angle?5bracket?5?$DN?5@ ; `string'
PUBLIC ??_C@_03DJBAHFDJ@loz@ ; `string'
PUBLIC ??_C@_0BH@EDOKOFKC@lozenge?0?5U?$CL25CA?5ISOpub@ ; `string'
PUBLIC ??_C@_06OOCJPKKB@spades@ ; `string'
PUBLIC ??_C@_0CA@PJGGGHFM@black?5spade?5suit?0?5U?$CL2660?5ISOpub@ ; `string'
PUBLIC ??_C@_05IPDPNMDB@clubs@ ; `string'
PUBLIC ??_C@_0CK@IOPKIONM@black?5club?5suit?5?$DN?5shamrock?0?5U?$CL2@ ; `string'
PUBLIC ??_C@_06LAHNGALJ@hearts@ ; `string'
PUBLIC ??_C@_0CM@FKGBKKJF@black?5heart?5suit?5?$DN?5valentine?0?5U@ ; `string'
PUBLIC ??_C@_05IOPNOEAM@diams@ ; `string'
PUBLIC ??_C@_0CC@EHCGNBJI@black?5diamond?5suit?0?5U?$CL2666?5ISOp@ ; `string'
PUBLIC ??_C@_04NEODDMOL@head@ ; `string'
PUBLIC ??_C@_04IEJGKNJ@body@ ; `string'
PUBLIC ??_C@_02IACHLLMH@h1@ ; `string'
PUBLIC ??_C@_02KLAKOIAE@h2@ ; `string'
PUBLIC ??_C@_02LCBBNJEF@h3@ ; `string'
PUBLIC ??_C@_02PNFAEPIC@h4@ ; `string'
PUBLIC ??_C@_02OEELHOMD@h5@ ; `string'
PUBLIC ??_C@_02MPGGCNAA@h6@ ; `string'
PUBLIC ??_C@_02JLMMKIPN@ul@ ; `string'
PUBLIC ??_C@_02IKHNIOFL@ol@ ; `string'
PUBLIC ??_C@_03DAPAKLGM@dir@ ; `string'
PUBLIC ??_C@_04EEIGNHLG@menu@ ; `string'
PUBLIC ??_C@_03PKHLKDKD@pre@ ; `string'
PUBLIC ??_C@_01JBBJJEPG@p@ ; `string'
PUBLIC ??_C@_02IGCIGBLK@dl@ ; `string'
PUBLIC ??_C@_03FEJMGOGI@div@ ; `string'
PUBLIC ??_C@_06BBLOAEEI@center@ ; `string'
PUBLIC ??_C@_08NOCGLLG@noscript@ ; `string'
PUBLIC ??_C@_08NAAIELI@noframes@ ; `string'
PUBLIC ??_C@_0L@NKGPHNMG@blockquote@ ; `string'
PUBLIC ??_C@_04MLMMMEIO@form@ ; `string'
PUBLIC ??_C@_07JMLOFMGP@isindex@ ; `string'
PUBLIC ??_C@_02FLHDKHAB@hr@ ; `string'
PUBLIC ??_C@_05LCLENNFI@table@ ; `string'
PUBLIC ??_C@_08EPOEGPEK@fieldset@ ; `string'
PUBLIC ??_C@_07LHEPONKL@address@ ; `string'
PUBLIC ??_C@_02BIBFFKJD@tt@ ; `string'
PUBLIC ??_C@_01KBJDNOO@i@ ; `string'
PUBLIC ??_C@_01OJONOECF@b@ ; `string'
PUBLIC ??_C@_01OMGOGALD@u@ ; `string'
PUBLIC ??_C@_01LKDEMHDF@s@ ; `string'
PUBLIC ??_C@_06LGJEBFOF@strike@ ; `string'
PUBLIC ??_C@_03CCCOBCKE@big@ ; `string'
PUBLIC ??_C@_05KJDGBEEG@small@ ; `string'
PUBLIC ??_C@_02JOPBDKMM@em@ ; `string'
PUBLIC ??_C@_06KHACOKFA@strong@ ; `string'
PUBLIC ??_C@_03NNNLLBAM@dfn@ ; `string'
PUBLIC ??_C@_04NDFOBODE@code@ ; `string'
PUBLIC ??_C@_04GLAFCDBO@samp@ ; `string'
PUBLIC ??_C@_03HIFOOBAM@kbd@ ; `string'
PUBLIC ??_C@_03MEPDGFMA@var@ ; `string'
PUBLIC ??_C@_04OKBDOCJI@cite@ ; `string'
PUBLIC ??_C@_04FKPKGNKN@abbr@ ; `string'
PUBLIC ??_C@_07DBMAFMJI@acronym@ ; `string'
PUBLIC ??_C@_01MCMALHOG@a@ ; `string'
PUBLIC ??_C@_03PCCGDNHJ@img@ ; `string'
PUBLIC ??_C@_06MJBNHHFM@applet@ ; `string'
PUBLIC ??_C@_05KJAEOLKJ@embed@ ; `string'
PUBLIC ??_C@_06IEOJBDIK@object@ ; `string'
PUBLIC ??_C@_04EFPADHIC@font@ ; `string'
PUBLIC ??_C@_08IOLGIJGJ@basefont@ ; `string'
PUBLIC ??_C@_02FGOECCNH@br@ ; `string'
PUBLIC ??_C@_06OLONEIEH@script@ ; `string'
PUBLIC ??_C@_03HBNNNHNM@map@ ; `string'
PUBLIC ??_C@_01IIACKFLH@q@ ; `string'
PUBLIC ??_C@_03KCMAIMAP@sub@ ; `string'
PUBLIC ??_C@_03NKDEPMNM@sup@ ; `string'
PUBLIC ??_C@_04FOPLNFFP@span@ ; `string'
PUBLIC ??_C@_03OCCPALPP@bdo@ ; `string'
PUBLIC ??_C@_06PKBNCBKI@iframe@ ; `string'
PUBLIC ??_C@_05DFJCHPDH@input@ ; `string'
PUBLIC ??_C@_06LGNCCACI@select@ ; `string'
PUBLIC ??_C@_08DEBIGDAL@textarea@ ; `string'
PUBLIC ??_C@_05IDCCNNGI@label@ ; `string'
PUBLIC ??_C@_06HFKPFKMP@button@ ; `string'
PUBLIC ??_C@_02EGCJHIOB@id@ ; `string'
PUBLIC ??_C@_05ENKANFLO@class@ ; `string'
PUBLIC ??_C@_05IAKJCFIM@style@ ; `string'
PUBLIC ??_C@_05PHLGJONK@title@ ; `string'
PUBLIC ??_C@_04IOHABJIC@lang@ ; `string'
PUBLIC ??_C@_07BAILDNBN@onclick@ ; `string'
PUBLIC ??_C@_0L@BPDJNBPF@ondblclick@ ; `string'
PUBLIC ??_C@_0M@LPLDHDON@onmousedown@ ; `string'
PUBLIC ??_C@_09KEIMJDF@onmouseup@ ; `string'
PUBLIC ??_C@_0M@BMKHHAKK@onmouseover@ ; `string'
PUBLIC ??_C@_0L@CEIFEFAI@onmouseout@ ; `string'
PUBLIC ??_C@_0L@HBNKHJBD@onkeypress@ ; `string'
PUBLIC ??_C@_09HFCNBPMA@onkeydown@ ; `string'
PUBLIC ??_C@_07BAEMJOMG@onkeyup@ ; `string'
PUBLIC ??_C@_07EAJPFAFH@charset@ ; `string'
PUBLIC ??_C@_04GPMDFGEJ@type@ ; `string'
PUBLIC ??_C@_04MEMAJGDJ@name@ ; `string'
PUBLIC ??_C@_04CMBCJJJD@href@ ; `string'
PUBLIC ??_C@_08KALGMAGF@hreflang@ ; `string'
PUBLIC ??_C@_03JINJGFJE@rel@ ; `string'
PUBLIC ??_C@_03CIPEJPEP@rev@ ; `string'
PUBLIC ??_C@_09KPFGNPLK@accesskey@ ; `string'
PUBLIC ??_C@_05KFCIHKGL@shape@ ; `string'
PUBLIC ??_C@_06LAPHAKDE@coords@ ; `string'
PUBLIC ??_C@_08KAJGIJLO@tabindex@ ; `string'
PUBLIC ??_C@_07PCOLHBIB@onfocus@ ; `string'
PUBLIC ??_C@_06PAKCKPPO@onblur@ ; `string'
PUBLIC ??_C@_06JJLAMBGK@target@ ; `string'
PUBLIC ??_C@_04IMCGAIPI@rows@ ; `string'
PUBLIC ??_C@_04MBNFPKFL@cols@ ; `string'
PUBLIC ??_C@_03FHLPDODD@alt@ ; `string'
PUBLIC ??_C@_03LOJEKLML@src@ ; `string'
PUBLIC ??_C@_05MEHLAELG@clear@ ; `string'
PUBLIC ??_C@_05LJDNNBIK@param@ ; `string'
PUBLIC ??_C@_08HMEGOPJI@codebase@ ; `string'
PUBLIC ??_C@_07NEJBDDEA@archive@ ; `string'
PUBLIC ??_C@_06LNLHEAAG@height@ ; `string'
PUBLIC ??_C@_05IGKADHGO@width@ ; `string'
PUBLIC ??_C@_05CBJPDLOK@align@ ; `string'
PUBLIC ??_C@_06HPCPMHFO@hspace@ ; `string'
PUBLIC ??_C@_06EIMOCAMN@vspace@ ; `string'
PUBLIC ??_C@_06FFHHDLMH@nohref@ ; `string'
PUBLIC ??_C@_04IAGNFIBA@size@ ; `string'
PUBLIC ??_C@_05PEENBMOG@color@ ; `string'
PUBLIC ??_C@_04POCOPAPC@face@ ; `string'
PUBLIC ??_C@_03NOMOFEHF@ins@ ; `string'
PUBLIC ??_C@_03ONKLGNNH@del@ ; `string'
PUBLIC ??_C@_06FKJAAAAK@onload@ ; `string'
PUBLIC ??_C@_08KEOAPEKG@onunload@ ; `string'
PUBLIC ??_C@_0L@EGCKCJDC@background@ ; `string'
PUBLIC ??_C@_07PMHCLHIB@bgcolor@ ; `string'
PUBLIC ??_C@_04CIMGMMMG@text@ ; `string'
PUBLIC ??_C@_04OHHBHOGB@link@ ; `string'
PUBLIC ??_C@_05ENOKMGAD@vlink@ ; `string'
PUBLIC ??_C@_05FDDJPECA@alink@ ; `string'
PUBLIC ??_C@_05MFEJDJP@value@ ; `string'
PUBLIC ??_C@_08BEHKFNNO@disabled@ ; `string'
PUBLIC ??_C@_04ENMBGAPA@char@ ; `string'
PUBLIC ??_C@_07CAOCHGPK@charoff@ ; `string'
PUBLIC ??_C@_06ICIJKACG@valign@ ; `string'
PUBLIC ??_C@_03HNOLNALI@col@ ; `string'
PUBLIC ??_C@_08FGNPMIBK@datetime@ ; `string'
PUBLIC ??_C@_07HGKHBOGE@compact@ ; `string'
PUBLIC ??_C@_02EDDPJOD@dt@ ; `string'
PUBLIC ??_C@_02EOPBOLLC@dd@ ; `string'
PUBLIC ??_C@_06BCIOHMBM@legend@ ; `string'
PUBLIC ??_C@_06GABBCIBA@method@ ; `string'
PUBLIC ??_C@_07BCBJKKO@enctype@ ; `string'
PUBLIC ??_C@_06MPKMECK@accept@ ; `string'
PUBLIC ??_C@_08PPMJAGMH@onsubmit@ ; `string'
PUBLIC ??_C@_07CDGCELIF@onreset@ ; `string'
PUBLIC ??_C@_0P@IIOBAHEN@accept?9charset@ ; `string'
PUBLIC ??_C@_08BMDPBLHN@longdesc@ ; `string'
PUBLIC ??_C@_0M@GPMBJNCP@frameborder@ ; `string'
PUBLIC ??_C@_0M@LFIDEBFM@marginwidth@ ; `string'
PUBLIC ??_C@_0N@HFFDDCPA@marginheight@ ; `string'
PUBLIC ??_C@_08BOOCAMGJ@noresize@ ; `string'
PUBLIC ??_C@_09PKEBEIDM@scrolling@ ; `string'
PUBLIC ??_C@_08GMEGJMDB@frameset@ ; `string'
PUBLIC ??_C@_05MIJNFGED@frame@ ; `string'
PUBLIC ??_C@_07LNMDFKEJ@profile@ ; `string'
PUBLIC ??_C@_04BHIIPFEC@base@ ; `string'
PUBLIC ??_C@_04HLJJCGEF@meta@ ; `string'
PUBLIC ??_C@_07NCHIIBII@noshade@ ; `string'
PUBLIC ??_C@_07CPCPJPKL@version@ ; `string'
PUBLIC ??_C@_06KPMBKPGA@usemap@ ; `string'
PUBLIC ??_C@_05HANCGNOO@ismap@ ; `string'
PUBLIC ??_C@_06ODFLABIG@border@ ; `string'
PUBLIC ??_C@_06JIKFICKK@hidden@ ; `string'
PUBLIC ??_C@_07JKIHKJOO@palette@ ; `string'
PUBLIC ??_C@_0M@GDAEHHFP@pluginspace@ ; `string'
PUBLIC ??_C@_09DBOPNCLL@pluginurl@ ; `string'
PUBLIC ??_C@_05CCBEFJDC@units@ ; `string'
PUBLIC ??_C@_07FJOBMBFC@checked@ ; `string'
PUBLIC ??_C@_08JOKHDEJH@readonly@ ; `string'
PUBLIC ??_C@_09GGMBJIEG@maxlength@ ; `string'
PUBLIC ??_C@_08ILAMBHAE@onselect@ ; `string'
PUBLIC ??_C@_08CLANFAGI@onchange@ ; `string'
PUBLIC ??_C@_06FJNEHIA@prompt@ ; `string'
PUBLIC ??_C@_03JOHEBPFF@for@ ; `string'
PUBLIC ??_C@_05CECBHAPI@media@ ; `string'
PUBLIC ??_C@_04GOEDGNCF@area@ ; `string'
PUBLIC ??_C@_06DDLLCOJG@action@ ; `string'
PUBLIC ??_C@_02PFEMMEEH@li@ ; `string'
PUBLIC ??_C@_0L@NALBGOHO@http?9equiv@ ; `string'
PUBLIC ??_C@_06MMEMGLOP@scheme@ ; `string'
PUBLIC ??_C@_07ICAJMOAO@content@ ; `string'
PUBLIC ??_C@_07JDFLJJH@declare@ ; `string'
PUBLIC ??_C@_07MKGILGMB@classid@ ; `string'
PUBLIC ??_C@_04PJOLNDGD@data@ ; `string'
PUBLIC ??_C@_08EANEMJD@codetype@ ; `string'
PUBLIC ??_C@_07EEGFOKKL@standby@ ; `string'
PUBLIC ??_C@_05FAGFPHJG@start@ ; `string'
PUBLIC ??_C@_06OGMGCFPO@option@ ; `string'
PUBLIC ??_C@_08CJLOJPNI@selected@ ; `string'
PUBLIC ??_C@_09JLAJHNIL@valuetype@ ; `string'
PUBLIC ??_C@_05MBNCFBEN@defer@ ; `string'
PUBLIC ??_C@_05GFHEIIDD@event@ ; `string'
PUBLIC ??_C@_08JGCCIMAA@language@ ; `string'
PUBLIC ??_C@_08KGPIHINJ@optgroup@ ; `string'
PUBLIC ??_C@_08CKJFGDBG@multiple@ ; `string'
PUBLIC ??_C@_07PJIIAIPG@summary@ ; `string'
PUBLIC ??_C@_05CBLPGGM@rules@ ; `string'
PUBLIC ??_C@_0M@HGLPBPKF@cellspacing@ ; `string'
PUBLIC ??_C@_0M@NLHEMCJP@cellpadding@ ; `string'
PUBLIC ??_C@_0N@LOJCLIGN@datapagesize@ ; `string'
PUBLIC ??_C@_07BANDPJOM@caption@ ; `string'
PUBLIC ??_C@_08LBGGHKOD@colgroup@ ; `string'
PUBLIC ??_C@_05DDLACFIC@thead@ ; `string'
PUBLIC ??_C@_05KDGBEENM@tfoot@ ; `string'
PUBLIC ??_C@_05OPBKHDLA@tbody@ ; `string'
PUBLIC ??_C@_02EOEPPNBF@tr@ ; `string'
PUBLIC ??_C@_06KMFGCGJP@nowrap@ ; `string'
PUBLIC ??_C@_04HABAAEPG@axis@ ; `string'
PUBLIC ??_C@_07LANIGEJC@headers@ ; `string'
PUBLIC ??_C@_05DCCHDMEJ@scope@ ; `string'
PUBLIC ??_C@_07HIFHGKLD@rowspan@ ; `string'
PUBLIC ??_C@_07KBFHKJFO@colspan@ ; `string'
PUBLIC ??_C@_02POGCAHMO@th@ ; `string'
PUBLIC ??_C@_02FCNHEIMC@td@ ; `string'
PUBLIC ??_C@_07NLIDIJLK@anchor?5@ ; `string'
PUBLIC ??_C@_0BB@OPBMKOHB@abbreviated?5form@ ; `string'
PUBLIC ??_C@_00CNPNBAHC@@ ; `string'
PUBLIC ??_C@_0BH@PNOGHPJ@information?5on?5author?5@ ; `string'
PUBLIC ??_C@_0N@LANOFEKD@java?5applet?5@ ; `string'
PUBLIC ??_C@_0BM@EIGPEHBO@client?9side?5image?5map?5area?5@ ; `string'
PUBLIC ??_C@_0BA@NADNLNKK@bold?5text?5style@ ; `string'
PUBLIC ??_C@_0BD@JABNPIOC@document?5base?5uri?5@ ; `string'
PUBLIC ??_C@_0BA@OGIGFOOK@base?5font?5size?5@ ; `string'
PUBLIC ??_C@_0BF@EJIKDIMB@i18n?5bidi?5over?9ride?5@ ; `string'
PUBLIC ??_C@_0BB@BAJOIDME@large?5text?5style@ ; `string'
PUBLIC ??_C@_0BA@KOLCJLFL@long?5quotation?5@ ; `string'
PUBLIC ??_C@_0P@MOMBBGBM@document?5body?5@ ; `string'
PUBLIC ??_C@_0BD@EKEEJOJN@forced?5line?5break?5@ ; `string'
PUBLIC ??_C@_0N@NFGALFIH@push?5button?5@ ; `string'
PUBLIC ??_C@_0P@LNCJOIOH@table?5caption?5@ ; `string'
PUBLIC ??_C@_0CA@LHLKAMHN@shorthand?5for?5div?5align?$DNcenter?5@ ; `string'
PUBLIC ??_C@_08JKLKPBNF@citation@ ; `string'
PUBLIC ??_C@_0BH@LEOBKMKN@computer?5code?5fragment@ ; `string'
PUBLIC ??_C@_0O@FGGFNENO@table?5column?5@ ; `string'
PUBLIC ??_C@_0BE@LOIFNDJE@table?5column?5group?5@ ; `string'
PUBLIC ??_C@_0BI@HABKMEJP@definition?5description?5@ ; `string'
PUBLIC ??_C@_0O@HPOOFJNH@deleted?5text?5@ ; `string'
PUBLIC ??_C@_0BE@BOOBDIMI@instance?5definition@ ; `string'
PUBLIC ??_C@_0P@IKNDKLJF@directory?5list@ ; `string'
PUBLIC ??_C@_0CB@MBOOJGEG@generic?5language?1style?5containe@ ; `string'
PUBLIC ??_C@_0BB@MIKJLFPH@definition?5list?5@ ; `string'
PUBLIC ??_C@_0BB@EJJHCHJK@definition?5term?5@ ; `string'
PUBLIC ??_C@_08NCOPEMNJ@emphasis@ ; `string'
PUBLIC ??_C@_0BJ@EHDFJKJB@generic?5embedded?5object?5@ ; `string'
PUBLIC ??_C@_0BE@NIBLILIK@form?5control?5group?5@ ; `string'
PUBLIC ??_C@_0BG@MPBFEMBF@local?5change?5to?5font?5@ ; `string'
PUBLIC ??_C@_0BC@CONPLKGA@interactive?5form?5@ ; `string'
PUBLIC ??_C@_0L@NAMFAOCF@subwindow?5@ ; `string'
PUBLIC ??_C@_0BD@NKGGDHCH@window?5subdivision@ ; `string'
PUBLIC ??_C@_08EPCFAACE@heading?5@ ; `string'
PUBLIC ??_C@_0P@GMKONMK@document?5head?5@ ; `string'
PUBLIC ??_C@_0BB@GBCDCJBE@horizontal?5rule?5@ ; `string'
PUBLIC ??_C@_04PNIFHPHN@html@ ; `string'
PUBLIC ??_C@_0BH@MPDMFBKE@document?5root?5element?5@ ; `string'
PUBLIC ??_C@_0BC@JCIMLGAN@italic?5text?5style@ ; `string'
PUBLIC ??_C@_0BC@BHNEGLHO@inline?5subwindow?5@ ; `string'
PUBLIC ??_C@_0BA@OHBCJHIG@embedded?5image?5@ ; `string'
PUBLIC ??_C@_0O@HMLFLPEN@form?5control?5@ ; `string'
PUBLIC ??_C@_0O@CEDLIJIG@inserted?5text@ ; `string'
PUBLIC ??_C@_0BE@NOGKIGME@single?5line?5prompt?5@ ; `string'
PUBLIC ??_C@_0BP@HBOCGMHA@text?5to?5be?5entered?5by?5the?5user@ ; `string'
PUBLIC ??_C@_0BH@INJKJBGO@form?5field?5label?5text?5@ ; `string'
PUBLIC ??_C@_0BB@LGOCAIB@fieldset?5legend?5@ ; `string'
PUBLIC ??_C@_0L@DHBHFPMN@list?5item?5@ ; `string'
PUBLIC ??_C@_0BK@GCIIKCBE@a?5media?9independent?5link?5@ ; `string'
PUBLIC ??_C@_0BH@LIKCJKCB@client?9side?5image?5map?5@ ; `string'
PUBLIC ??_C@_0L@NDLIJHAH@menu?5list?5@ ; `string'
PUBLIC ??_C@_0BJ@OJDJPIOL@generic?5metainformation?5@ ; `string'
PUBLIC ??_C@_0DL@IAGMJJEB@alternate?5content?5container?5for@ ; `string'
PUBLIC ??_C@_0DM@CPJFPKPD@alternate?5content?5container?5for@ ; `string'
PUBLIC ??_C@_0O@PMECOPH@ordered?5list?5@ ; `string'
PUBLIC ??_C@_0O@IBBKJGKJ@option?5group?5@ ; `string'
PUBLIC ??_C@_0BD@HJHAAEHL@selectable?5choice?5@ ; `string'
PUBLIC ??_C@_0L@ICLNKGCC@paragraph?5@ ; `string'
PUBLIC ??_C@_0BG@OGBECHLM@named?5property?5value?5@ ; `string'
PUBLIC ??_C@_0BD@OKGNAEP@preformatted?5text?5@ ; `string'
PUBLIC ??_C@_0BI@IDGHJEGP@short?5inline?5quotation?5@ ; `string'
PUBLIC ??_C@_0BK@GECKKPAM@strike?9through?5text?5style@ ; `string'
PUBLIC ??_C@_0CF@MKBFLFJI@sample?5program?5output?0?5scripts?0@ ; `string'
PUBLIC ??_C@_0BD@EEALOKGK@script?5statements?5@ ; `string'
PUBLIC ??_C@_0BB@OKAAEBHI@option?5selector?5@ ; `string'
PUBLIC ??_C@_0BB@PLNNDOJH@small?5text?5style@ ; `string'
PUBLIC ??_C@_0CC@KPKCOJB@generic?5language?1style?5containe@ ; `string'
PUBLIC ??_C@_0BE@KLPAPDBO@strike?9through?5text@ ; `string'
PUBLIC ??_C@_0BA@HHIAOMPI@strong?5emphasis@ ; `string'
PUBLIC ??_C@_0M@LPADJHJK@style?5info?5@ ; `string'
PUBLIC ??_C@_09KAIPOAII@subscript@ ; `string'
PUBLIC ??_C@_0N@LLOPBEAI@superscript?5@ ; `string'
PUBLIC ??_C@_0M@COHBKCLJ@table?5body?5@ ; `string'
PUBLIC ??_C@_0BA@OHMNJJHC@table?5data?5cell@ ; `string'
PUBLIC ??_C@_0BH@ODGBEBOO@multi?9line?5text?5field?5@ ; `string'
PUBLIC ??_C@_0O@HFPJPDFP@table?5footer?5@ ; `string'
PUBLIC ??_C@_0BC@CCIFOICB@table?5header?5cell@ ; `string'
PUBLIC ??_C@_0O@JOOJEINB@table?5header?5@ ; `string'
PUBLIC ??_C@_0BA@CCGKIMBG@document?5title?5@ ; `string'
PUBLIC ??_C@_0L@OLDIHEAD@table?5row?5@ ; `string'
PUBLIC ??_C@_0CC@HPKPLEFL@teletype?5or?5monospaced?5text?5sty@ ; `string'
PUBLIC ??_C@_0BG@NHDOOMEA@underlined?5text?5style@ ; `string'
PUBLIC ??_C@_0BA@DILGCPPM@unordered?5list?5@ ; `string'
PUBLIC ??_C@_0CL@IOIBPELD@instance?5of?5a?5variable?5or?5progr@ ; `string'
PUBLIC ??_C@_07KMIIAGPH@listing@ ; `string'
PUBLIC ??_C@_03BPAAIJBF@xmp@ ; `string'
PUBLIC ??_C@_0M@FAJFKCGA@onmousemove@ ; `string'
PUBLIC ??_C@_04KJFGKBNM@quot@ ; `string'
PUBLIC ??_C@_0CK@JDDAPBGE@quotation?5mark?5?$DN?5APL?5quote?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_03DCBBJBAA@amp@ ; `string'
PUBLIC ??_C@_0BJ@FIPLPGNA@ampersand?0?5U?$CL0026?5ISOnum@ ; `string'
PUBLIC ??_C@_04LBCJFAKL@apos@ ; `string'
PUBLIC ??_C@_0N@EHENLBIK@single?5quote@ ; `string'
PUBLIC ??_C@_02KCAKIFL@lt@ ; `string'
PUBLIC ??_C@_0BO@IKPLCPFL@less?9than?5sign?0?5U?$CL003C?5ISOnum@ ; `string'
PUBLIC ??_C@_02GHFEHLK@gt@ ; `string'
PUBLIC ??_C@_0CB@INPPCIDE@greater?9than?5sign?0?5U?$CL003E?5ISOnu@ ; `string'
PUBLIC ??_C@_04PHHIFBLJ@nbsp@ ; `string'
PUBLIC ??_C@_0DD@LJPHBFKA@no?9break?5space?5?$DN?5non?9breaking?5s@ ; `string'
PUBLIC ??_C@_05BNEGCBFC@iexcl@ ; `string'
PUBLIC ??_C@_0CJ@LDCHJPND@inverted?5exclamation?5mark?0?5U?$CL00@ ; `string'
PUBLIC ??_C@_04OCKNFIJG@cent@ ; `string'
PUBLIC ??_C@_0BJ@JAJDJOGE@cent?5sign?0?5U?$CL00A2?5ISOnum@ ; `string'
PUBLIC ??_C@_05EBEEKLCG@pound@ ; `string'
PUBLIC ??_C@_0BK@CBLMFKEA@pound?5sign?0?5U?$CL00A3?5ISOnum@ ; `string'
PUBLIC ??_C@_06HEGEHONB@curren@ ; `string'
PUBLIC ??_C@_0BN@KCBDNOJC@currency?5sign?0?5U?$CL00A4?5ISOnum@ ; `string'
PUBLIC ??_C@_03HNOOIABH@yen@ ; `string'
PUBLIC ??_C@_0CE@IIBMKILI@yen?5sign?5?$DN?5yuan?5sign?0?5U?$CL00A5?5IS@ ; `string'
PUBLIC ??_C@_06ILPBEBAD@brvbar@ ; `string'
PUBLIC ??_C@_0DA@CCMOAPKD@broken?5bar?5?$DN?5broken?5vertical?5ba@ ; `string'
PUBLIC ??_C@_04IKJFFMEH@sect@ ; `string'
PUBLIC ??_C@_0BM@NBPOBBLJ@section?5sign?0?5U?$CL00A7?5ISOnum@ ; `string'
PUBLIC ??_C@_03LBNAMJF@uml@ ; `string'
PUBLIC ??_C@_0CN@DADBLGNL@diaeresis?5?$DN?5spacing?5diaeresis?0?5@ ; `string'
PUBLIC ??_C@_04COAGEIMF@copy@ ; `string'
PUBLIC ??_C@_0BO@GKHKBHFO@copyright?5sign?0?5U?$CL00A9?5ISOnum@ ; `string'
PUBLIC ??_C@_04JPPACPLE@ordf@ ; `string'
PUBLIC ??_C@_0CK@IDODFDJH@feminine?5ordinal?5indicator?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_05PGIFNFKK@laquo@ ; `string'
PUBLIC ??_C@_0FD@BNFCAIHO@left?9pointing?5double?5angle?5quot@ ; `string'
PUBLIC ??_C@_03NJKJADM@not@ ; `string'
PUBLIC ??_C@_0BI@BCMLJBGJ@not?5sign?0?5U?$CL00AC?5ISOnum@ ; `string'
PUBLIC ??_C@_03BPAIHHLG@shy@ ; `string'
PUBLIC ??_C@_0DC@LBOPPEOL@soft?5hyphen?5?$DN?5discretionary?5hyp@ ; `string'
PUBLIC ??_C@_03HLCNLMFP@reg@ ; `string'
PUBLIC ??_C@_0DM@GCGJPANE@registered?5sign?5?$DN?5registered?5tr@ ; `string'
PUBLIC ??_C@_04IMHNEFHF@macr@ ; `string'
PUBLIC ??_C@_0EA@HOMEIEDB@macron?5?$DN?5spacing?5macron?5?$DN?5overl@ ; `string'
PUBLIC ??_C@_03OFPLEBM@deg@ ; `string'
PUBLIC ??_C@_0BL@CCCHHGNH@degree?5sign?0?5U?$CL00B0?5ISOnum@ ; `string'
PUBLIC ??_C@_06CAEEBBM@plusmn@ ; `string'
PUBLIC ??_C@_0DE@CHKDBJJG@plus?9minus?5sign?5?$DN?5plus?9or?9minus@ ; `string'
PUBLIC ??_C@_04GCMPPOHC@sup2@ ; `string'
PUBLIC ??_C@_0EB@LEPBNIBM@superscript?5two?5?$DN?5superscript?5d@ ; `string'
PUBLIC ??_C@_04HLNEMPDD@sup3@ ; `string'
PUBLIC ??_C@_0ED@GIKFIKLK@superscript?5three?5?$DN?5superscript@ ; `string'
PUBLIC ??_C@_05EEJEIAPO@acute@ ; `string'
PUBLIC ??_C@_0CM@HPINDAMO@acute?5accent?5?$DN?5spacing?5acute?0?5U@ ; `string'
PUBLIC ??_C@_05PCPGMEFP@micro@ ; `string'
PUBLIC ??_C@_0BK@KOECHADG@micro?5sign?0?5U?$CL00B5?5ISOnum@ ; `string'
PUBLIC ??_C@_04GIAGJOJD@para@ ; `string'
PUBLIC ??_C@_0CN@MOKENOBK@pilcrow?5sign?5?$DN?5paragraph?5sign?0?5@ ; `string'
PUBLIC ??_C@_06HHCHNCAA@middot@ ; `string'
PUBLIC ??_C@_0DM@HGAIAHA@middle?5dot?5?$DN?5Georgian?5comma?5Gre@ ; `string'
PUBLIC ??_C@_05KLIFGPMF@cedil@ ; `string'
PUBLIC ??_C@_0CJ@ILEJKNLC@cedilla?5?$DN?5spacing?5cedilla?0?5U?$CL00@ ; `string'
PUBLIC ??_C@_04EJOCKNLB@sup1@ ; `string'
PUBLIC ??_C@_0DH@CNBAIMGE@superscript?5one?5?$DN?5superscript?5d@ ; `string'
PUBLIC ??_C@_04HMAEPGHP@ordm@ ; `string'
PUBLIC ??_C@_0CL@FJKJODCC@masculine?5ordinal?5indicator?0?5U?$CL@ ; `string'
PUBLIC ??_C@_05MPFJLGEB@raquo@ ; `string'
PUBLIC ??_C@_0FD@EGIHNJHG@right?9pointing?5double?5angle?5quo@ ; `string'
PUBLIC ??_C@_06NPFNIPNE@frac14@ ; `string'
PUBLIC ??_C@_0EC@KBCMBOHG@vulgar?5fraction?5one?5quarter?5?$DN?5f@ ; `string'
PUBLIC ??_C@_06IJAHCIFC@frac12@ ; `string'
PUBLIC ??_C@_0DM@DIGGMOPD@vulgar?5fraction?5one?5half?5?$DN?5frac@ ; `string'
PUBLIC ??_C@_06NMNJFLLK@frac34@ ; `string'
PUBLIC ??_C@_0EI@KLKHBCM@vulgar?5fraction?5three?5quarters?5@ ; `string'
PUBLIC ??_C@_06JMONPFKG@iquest@ ; `string'
PUBLIC ??_C@_0DN@EEILHCCA@inverted?5question?5mark?5?$DN?5turned@ ; `string'
PUBLIC ??_C@_06NNGAMJGH@Agrave@ ; `string'
PUBLIC ??_C@_0FB@KEPDLJAE@latin?5capital?5letter?5A?5with?5gra@ ; `string'
PUBLIC ??_C@_06IKEGIAOO@Aacute@ ; `string'
PUBLIC ??_C@_0DC@MHBNMNMK@latin?5capital?5letter?5A?5with?5acu@ ; `string'
PUBLIC ??_C@_05LCALGNL@Acirc@ ; `string'
PUBLIC ??_C@_0DH@KHFDKONJ@latin?5capital?5letter?5A?5with?5cir@ ; `string'
PUBLIC ??_C@_06KCNKLAAC@Atilde@ ; `string'
PUBLIC ??_C@_0DC@OLJINFKG@latin?5capital?5letter?5A?5with?5til@ ; `string'
PUBLIC ??_C@_04IJOIFFGN@Auml@ ; `string'
PUBLIC ??_C@_0DG@FBFBPIGP@latin?5capital?5letter?5A?5with?5dia@ ; `string'
PUBLIC ??_C@_05CHPAJHPJ@Aring@ ; `string'
PUBLIC ??_C@_0FF@OIKGDIMD@latin?5capital?5letter?5A?5with?5rin@ ; `string'
PUBLIC ??_C@_05GGABFNI@AElig@ ; `string'
PUBLIC ??_C@_0EE@MODCPHBF@latin?5capital?5letter?5AE?5?$DN?5latin@ ; `string'
PUBLIC ??_C@_06PCMIHOPM@Ccedil@ ; `string'
PUBLIC ??_C@_0DE@JIEMILBI@latin?5capital?5letter?5C?5with?5ced@ ; `string'
PUBLIC ??_C@_06CJCPONHE@Egrave@ ; `string'
PUBLIC ??_C@_0DC@BADGAJKO@latin?5capital?5letter?5E?5with?5gra@ ; `string'
PUBLIC ??_C@_06HOAJKEPN@Eacute@ ; `string'
PUBLIC ??_C@_0DC@IDKEOPOP@latin?5capital?5letter?5E?5with?5acu@ ; `string'
PUBLIC ??_C@_05JALBPEMN@Ecirc@ ; `string'
PUBLIC ??_C@_0DH@CICENEJK@latin?5capital?5letter?5E?5with?5cir@ ; `string'
PUBLIC ??_C@_04HMGIPDKN@Euml@ ; `string'
PUBLIC ??_C@_0DG@HBMMEOHM@latin?5capital?5letter?5E?5with?5dia@ ; `string'
PUBLIC ??_C@_06OOIPIHAA@Igrave@ ; `string'
PUBLIC ??_C@_0DC@OHCNNALC@latin?5capital?5letter?5I?5with?5gra@ ; `string'
PUBLIC ??_C@_06LJKJMOIJ@Iacute@ ; `string'
PUBLIC ??_C@_0DC@HJKBEGLE@latin?5capital?5letter?5I?5with?5acu@ ; `string'
PUBLIC ??_C@_05OHHDDELG@Icirc@ ; `string'
PUBLIC ??_C@_0DH@EMKFLPMJ@latin?5capital?5letter?5I?5with?5cir@ ; `string'
PUBLIC ??_C@_04LJJIBOKM@Iuml@ ; `string'
PUBLIC ??_C@_0DG@MPAICMBD@latin?5capital?5letter?5I?5with?5dia@ ; `string'
PUBLIC ??_C@_03CBGEMLIN@ETH@ ; `string'
PUBLIC ??_C@_0CJ@LDDCJAMI@latin?5capital?5letter?5ETH?0?5U?$CL00D@ ; `string'
PUBLIC ??_C@_06FEJCMAOL@Ntilde@ ; `string'
PUBLIC ??_C@_0DC@JKOMNMAH@latin?5capital?5letter?5N?5with?5til@ ; `string'
PUBLIC ??_C@_06INFPLCDK@Ograve@ ; `string'
PUBLIC ??_C@_0DC@EGPMPLAO@latin?5capital?5letter?5O?5with?5gra@ ; `string'
PUBLIC ??_C@_06NKHJPLLD@Oacute@ ; `string'
PUBLIC ??_C@_0DC@NFGOBNEP@latin?5capital?5letter?5O?5with?5acu@ ; `string'
PUBLIC ??_C@_05DBCKNHKL@Ocirc@ ; `string'
PUBLIC ??_C@_0DH@KHBIKCFI@latin?5capital?5letter?5O?5with?5cir@ ; `string'
PUBLIC ??_C@_06PCOFMLFP@Otilde@ ; `string'
PUBLIC ??_C@_0DC@PAAAKFFJ@latin?5capital?5letter?5O?5with?5til@ ; `string'
PUBLIC ??_C@_04DGNIOLAM@Ouml@ ; `string'
PUBLIC ??_C@_0DG@KGFFNOCC@latin?5capital?5letter?5O?5with?5dia@ ; `string'
PUBLIC ??_C@_05MJOOAIJH@times@ ; `string'
PUBLIC ??_C@_0CD@DGCLGCAP@multiplication?5sign?0?5U?$CL00D7?5ISO@ ; `string'
PUBLIC ??_C@_06HJKNGHPC@Oslash@ ; `string'
PUBLIC ??_C@_0FA@JOMDMBPL@latin?5capital?5letter?5O?5with?5str@ ; `string'
PUBLIC ??_C@_06EOPBHBLK@Ugrave@ ; `string'
PUBLIC ??_C@_0DC@FAAHPKBG@latin?5capital?5letter?5U?5with?5gra@ ; `string'
PUBLIC ??_C@_06BJNHDIDD@Uacute@ ; `string'
PUBLIC ??_C@_0DC@MJMJLCAF@latin?5capital?5letter?5U?5with?5acu@ ; `string'
PUBLIC ??_C@_05JDGHPGFG@Ucirc@ ; `string'
PUBLIC ??_C@_0DH@MPJOGDLJ@latin?5capital?5letter?5U?5with?5cir@ ; `string'
PUBLIC ??_C@_04BMIIGECP@Uuml@ ; `string'
PUBLIC ??_C@_0DG@GOPODDHD@latin?5capital?5letter?5U?5with?5dia@ ; `string'
PUBLIC ??_C@_06NOHHFCEH@Yacute@ ; `string'
PUBLIC ??_C@_0DC@NGFCNODC@latin?5capital?5letter?5Y?5with?5acu@ ; `string'
PUBLIC ??_C@_05HDBENHAL@THORN@ ; `string'
PUBLIC ??_C@_0CL@CHGPFKBD@latin?5capital?5letter?5THORN?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_05GMKDJMCJ@szlig@ ; `string'
PUBLIC ??_C@_0DF@GONKECDL@latin?5small?5letter?5sharp?5s?5?$DN?5es@ ; `string'
PUBLIC ??_C@_06BCNNPAPL@agrave@ ; `string'
PUBLIC ??_C@_0EN@PDCHJIBF@latin?5small?5letter?5a?5with?5grave@ ; `string'
PUBLIC ??_C@_06EFPLLJHC@aacute@ ; `string'
PUBLIC ??_C@_0DA@FMJKAKAM@latin?5small?5letter?5a?5with?5acute@ ; `string'
PUBLIC ??_C@_05MIMLDON@acirc@ ; `string'
PUBLIC ??_C@_0DF@OHHHJIGO@latin?5small?5letter?5a?5with?5circu@ ; `string'
PUBLIC ??_C@_06GNGHIJJO@atilde@ ; `string'
PUBLIC ??_C@_0DA@HABPBCGA@latin?5small?5letter?5a?5with?5tilde@ ; `string'
PUBLIC ??_C@_04EICJHKGJ@auml@ ; `string'
PUBLIC ??_C@_0DE@EPMHJDIB@latin?5small?5letter?5a?5with?5diaer@ ; `string'
PUBLIC ??_C@_05CAFMJCMP@aring@ ; `string'
PUBLIC ??_C@_0FB@ICHFIEOC@latin?5small?5letter?5a?5with?5ring?5@ ; `string'
PUBLIC ??_C@_05MAANDPOK@aelig@ ; `string'
PUBLIC ??_C@_0EA@CAAHFPMH@latin?5small?5letter?5ae?5?$DN?5latin?5s@ ; `string'
PUBLIC ??_C@_06DNHFEHGA@ccedil@ ; `string'
PUBLIC ??_C@_0DC@EILMCCNK@latin?5small?5letter?5c?5with?5cedil@ ; `string'
PUBLIC ??_C@_06OGJCNEOI@egrave@ ; `string'
PUBLIC ??_C@_0DA@ILLBMOGI@latin?5small?5letter?5e?5with?5grave@ ; `string'
PUBLIC ??_C@_06LBLEJNGB@eacute@ ; `string'
PUBLIC ??_C@_0DA@BICDCICJ@latin?5small?5letter?5e?5with?5acute@ ; `string'
PUBLIC ??_C@_05JHBNPBPL@ecirc@ ; `string'
PUBLIC ??_C@_0DF@GIAAOCCN@latin?5small?5letter?5e?5with?5circu@ ; `string'
PUBLIC ??_C@_04LNKJNMKJ@euml@ ; `string'
PUBLIC ??_C@_0DE@GPFKCFJC@latin?5small?5letter?5e?5with?5diaer@ ; `string'
PUBLIC ??_C@_06CBDCLOJM@igrave@ ; `string'
PUBLIC ??_C@_0DA@HMKKBHHE@latin?5small?5letter?5i?5with?5grave@ ; `string'
PUBLIC ??_C@_06HGBEPHBF@iacute@ ; `string'
PUBLIC ??_C@_0DA@OCCGIBHC@latin?5small?5letter?5i?5with?5acute@ ; `string'
PUBLIC ??_C@_05OANPDBIA@icirc@ ; `string'
PUBLIC ??_C@_0DF@MIBIJHO@latin?5small?5letter?5i?5with?5circu@ ; `string'
PUBLIC ??_C@_04HIFJDBKI@iuml@ ; `string'
PUBLIC ??_C@_0DE@NBJOEHPN@latin?5small?5letter?5i?5with?5diaer@ ; `string'
PUBLIC ??_C@_03CMJPAGPB@eth@ ; `string'
PUBLIC ??_C@_0CH@LGCMOCIP@latin?5small?5letter?5eth?0?5U?$CL00F0?5@ ; `string'
PUBLIC ??_C@_06JLCPPJHH@ntilde@ ; `string'
PUBLIC ??_C@_0DA@LBLCGIED@latin?5small?5letter?5n?5with?5tilde@ ; `string'
PUBLIC ??_C@_06ECOCILKG@ograve@ ; `string'
PUBLIC ??_C@_0DA@GNKCEPEK@latin?5small?5letter?5o?5with?5grave@ ; `string'
PUBLIC ??_C@_06BFMEMCCP@oacute@ ; `string'
PUBLIC ??_C@_0DA@PODAKJAL@latin?5small?5letter?5o?5with?5acute@ ; `string'
PUBLIC ??_C@_05DGIGNCJN@ocirc@ ; `string'
PUBLIC ??_C@_0DF@FHOFOHGN@latin?5small?5letter?5o?5with?5circu@ ; `string'
PUBLIC ??_C@_06DNFIPCMD@otilde@ ; `string'
PUBLIC ??_C@_0DA@NLFOBBBN@latin?5small?5letter?5o?5with?5tilde@ ; `string'
PUBLIC ??_C@_04PHBJMEAI@ouml@ ; `string'
PUBLIC ??_C@_0DE@IBKMGEO@latin?5small?5letter?5o?5with?5diaer@ ; `string'
PUBLIC ??_C@_06FFHJEHBN@divide@ ; `string'
PUBLIC ??_C@_0BN@DJHBCHKN@division?5sign?0?5U?$CL00F7?5ISOnum@ ; `string'
PUBLIC ??_C@_06LGBAFOGO@oslash@ ; `string'
PUBLIC ??_C@_0EP@JDKOEFON@latin?5small?5letter?5o?5with?5strok@ ; `string'
PUBLIC ??_C@_06IBEMEICG@ugrave@ ; `string'
PUBLIC ??_C@_0DA@HLFJEOFC@latin?5small?5letter?5u?5with?5grave@ ; `string'
PUBLIC ??_C@_06NGGKABKP@uacute@ ; `string'
PUBLIC ??_C@_0DA@OCJHAGEB@latin?5small?5letter?5u?5with?5acute@ ; `string'
PUBLIC ??_C@_05JEMLPDGA@ucirc@ ; `string'
PUBLIC ??_C@_0DF@DPGDCGIM@latin?5small?5letter?5u?5with?5circu@ ; `string'
PUBLIC ??_C@_04NNEJELCL@uuml@ ; `string'
PUBLIC ??_C@_0DE@MALBCLBP@latin?5small?5letter?5u?5with?5diaer@ ; `string'
PUBLIC ??_C@_06BBMKGLNL@yacute@ ; `string'
PUBLIC ??_C@_0DA@PNAMGKHG@latin?5small?5letter?5y?5with?5acute@ ; `string'
PUBLIC ??_C@_05LIICDAEF@thorn@ ; `string'
PUBLIC ??_C@_0CO@PJIHMBHF@latin?5small?5letter?5thorn?5with?0?5@ ; `string'
PUBLIC ??_C@_04BILJKGCK@yuml@ ; `string'
PUBLIC ??_C@_0DE@JBLHCCEO@latin?5small?5letter?5y?5with?5diaer@ ; `string'
PUBLIC ??_C@_05DMGKHEKI@OElig@ ; `string'
PUBLIC ??_C@_0CK@MKAIEJDG@latin?5capital?5ligature?5OE?0?5U?$CL01@ ; `string'
PUBLIC ??_C@_05PKAHFOJK@oelig@ ; `string'
PUBLIC ??_C@_0CI@PBDOLLDF@latin?5small?5ligature?5oe?0?5U?$CL0153@ ; `string'
PUBLIC ??_C@_06CDFPFCIB@Scaron@ ; `string'
PUBLIC ??_C@_0DC@DIFHMFIC@latin?5capital?5letter?5S?5with?5car@ ; `string'
PUBLIC ??_C@_06OMOCGLBN@scaron@ ; `string'
PUBLIC ??_C@_0DA@KEKHKDDJ@latin?5small?5letter?5s?5with?5caron@ ; `string'
PUBLIC ??_C@_04NJHIIJCO@Yuml@ ; `string'
PUBLIC ??_C@_0DG@DAKEFH@latin?5capital?5letter?5Y?5with?5dia@ ; `string'
PUBLIC ??_C@_04IEHKEKAD@fnof@ ; `string'
PUBLIC ??_C@_0DM@ONFHMKBH@latin?5small?5f?5with?5hook?5?$DN?5funct@ ; `string'
PUBLIC ??_C@_04LIMEDJKM@circ@ ; `string'
PUBLIC ??_C@_0DB@JBEBEMPM@modifier?5letter?5circumflex?5acce@ ; `string'
PUBLIC ??_C@_05GMAILABC@tilde@ ; `string'
PUBLIC ??_C@_0BL@KGODGBKN@small?5tilde?0?5U?$CL02DC?5ISOdia@ ; `string'
PUBLIC ??_C@_05IHOGHNDL@Alpha@ ; `string'
PUBLIC ??_C@_0CD@LPBPODOI@greek?5capital?5letter?5alpha?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_04DIAIJOJA@Beta@ ; `string'
PUBLIC ??_C@_0CC@OOBPMHFM@greek?5capital?5letter?5beta?0?5U?$CL03@ ; `string'
PUBLIC ??_C@_05NJHBHDO@Gamma@ ; `string'
PUBLIC ??_C@_0CL@LGHPBLEE@greek?5capital?5letter?5gamma?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_05NFMIDMMK@Delta@ ; `string'
PUBLIC ??_C@_0CL@NHEEDEFH@greek?5capital?5letter?5delta?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_07MHFJNEOI@Epsilon@ ; `string'
PUBLIC ??_C@_0CF@JDHAIGGH@greek?5capital?5letter?5epsilon?0?5U@ ; `string'
PUBLIC ??_C@_04GIJIECND@Zeta@ ; `string'
PUBLIC ??_C@_0CC@GEHHHHOP@greek?5capital?5letter?5zeta?0?5U?$CL03@ ; `string'
PUBLIC ??_C@_03FNGPBCIG@Eta@ ; `string'
PUBLIC ??_C@_0CB@GCINFKKN@greek?5capital?5letter?5eta?0?5U?$CL039@ ; `string'
PUBLIC ??_C@_05FDIGLFGK@Theta@ ; `string'
PUBLIC ??_C@_0CL@DEOCPNDP@greek?5capital?5letter?5theta?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_04CAGFEPOF@Iota@ ; `string'
PUBLIC ??_C@_0CC@BFEJFF@greek?5capital?5letter?5iota?0?5U?$CL03@ ; `string'
PUBLIC ??_C@_05MMNIGICE@Kappa@ ; `string'
PUBLIC ??_C@_0CD@BBAOAFHF@greek?5capital?5letter?5kappa?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_06OBCFFGBN@Lambda@ ; `string'
PUBLIC ??_C@_0CM@NLEFHINL@greek?5capital?5letter?5lambda?0?5U?$CL@ ; `string'
PUBLIC ??_C@_02CKLELFMN@Mu@ ; `string'
PUBLIC ??_C@_0CA@JHDDCCNN@greek?5capital?5letter?5mu?0?5U?$CL039C@ ; `string'
PUBLIC ??_C@_02CIPCALJE@Nu@ ; `string'
PUBLIC ??_C@_0CA@EBJANCBL@greek?5capital?5letter?5nu?0?5U?$CL039D@ ; `string'
PUBLIC ??_C@_02NGCOIJAL@Xi@ ; `string'
PUBLIC ??_C@_0CI@DEKDLEND@greek?5capital?5letter?5xi?0?5U?$CL039E@ ; `string'
PUBLIC ??_C@_07IKLCMNO@Omicron@ ; `string'
PUBLIC ??_C@_0CF@LAEOEFAO@greek?5capital?5letter?5omicron?0?5U@ ; `string'
PUBLIC ??_C@_02NIDNNILD@Pi@ ; `string'
PUBLIC ??_C@_0CI@GJIDFEDM@greek?5capital?5letter?5pi?0?5U?$CL03A0@ ; `string'
PUBLIC ??_C@_03BLBOAKDK@Rho@ ; `string'
PUBLIC ??_C@_0CB@KMJAKGAP@greek?5capital?5letter?5rho?0?5U?$CL03A@ ; `string'
PUBLIC ??_C@_05MKBNPMBG@Sigma@ ; `string'
PUBLIC ??_C@_0CL@HFCPNIPL@greek?5capital?5letter?5sigma?0?5U?$CL0@ ; `string'
PUBLIC ??_C@_03IBIJJELC@Tau@ ; `string'
PUBLIC ??_C@_0CB@HFBLNIAO@greek?5capital?5letter?5tau?0?5U?$CL03A@ ; `string'
PUBLIC ??_C@_07LLOCOFMD@Upsilon@ ; `string'
PUBLIC ??_C@_0CN@JFDLHIKN@greek?5capital?5letter?5upsilon?0?5U@ ; `string'
PUBLIC ??_C@_03OHENGFDH@Phi@ ; `string'
PUBLIC ??_C@_0CJ@HBFJNDBB@greek?5capital?5letter?5phi?0?5U?$CL03A@ ; `string'
PUBLIC ??_C@_03KFOBJNEG@Chi@ ; `string'
PUBLIC ??_C@_0CB@GAGJNAFN@greek?5capital?5letter?5chi?0?5U?$CL03A@ ; `string'
PUBLIC ??_C@_03PHDOCJKG@Psi@ ; `string'
PUBLIC ??_C@_0CJ@NGCFEDIE@greek?5capital?5letter?5psi?0?5U?$CL03A@ ; `string'
PUBLIC ??_C@_05OMBHNFGL@Omega@ ; `string'
_DATA SEGMENT
COMM _forbiddenExp:DWORD
COMM _emptyExp:DWORD
COMM _xmlMalloc:DWORD
COMM _xmlMallocAtomic:DWORD
COMM _xmlRealloc:DWORD
COMM _xmlFree:DWORD
COMM _xmlMemStrdup:DWORD
COMM _xmlIsBaseCharGroup:BYTE:010H
COMM _xmlIsCharGroup:BYTE:010H
COMM _xmlIsCombiningGroup:BYTE:010H
COMM _xmlIsDigitGroup:BYTE:010H
COMM _xmlIsExtenderGroup:BYTE:010H
COMM _xmlIsIdeographicGroup:BYTE:010H
COMM _xmlIsPubidChar_tab:BYTE:0100H
COMM _xmlParserMaxDepth:DWORD
_DATA ENDS
; COMDAT ??_C@_05OMBHNFGL@Omega@
CONST SEGMENT
??_C@_05OMBHNFGL@Omega@ DB 'Omega', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@NGCFEDIE@greek?5capital?5letter?5psi?0?5U?$CL03A@
CONST SEGMENT
??_C@_0CJ@NGCFEDIE@greek?5capital?5letter?5psi?0?5U?$CL03A@ DB 'greek cap'
DB 'ital letter psi, U+03A8 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PHDOCJKG@Psi@
CONST SEGMENT
??_C@_03PHDOCJKG@Psi@ DB 'Psi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@GAGJNAFN@greek?5capital?5letter?5chi?0?5U?$CL03A@
CONST SEGMENT
??_C@_0CB@GAGJNAFN@greek?5capital?5letter?5chi?0?5U?$CL03A@ DB 'greek cap'
DB 'ital letter chi, U+03A7', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03KFOBJNEG@Chi@
CONST SEGMENT
??_C@_03KFOBJNEG@Chi@ DB 'Chi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@HBFJNDBB@greek?5capital?5letter?5phi?0?5U?$CL03A@
CONST SEGMENT
??_C@_0CJ@HBFJNDBB@greek?5capital?5letter?5phi?0?5U?$CL03A@ DB 'greek cap'
DB 'ital letter phi, U+03A6 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03OHENGFDH@Phi@
CONST SEGMENT
??_C@_03OHENGFDH@Phi@ DB 'Phi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CN@JFDLHIKN@greek?5capital?5letter?5upsilon?0?5U@
CONST SEGMENT
??_C@_0CN@JFDLHIKN@greek?5capital?5letter?5upsilon?0?5U@ DB 'greek capita'
DB 'l letter upsilon, U+03A5 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07LLOCOFMD@Upsilon@
CONST SEGMENT
??_C@_07LLOCOFMD@Upsilon@ DB 'Upsilon', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@HFBLNIAO@greek?5capital?5letter?5tau?0?5U?$CL03A@
CONST SEGMENT
??_C@_0CB@HFBLNIAO@greek?5capital?5letter?5tau?0?5U?$CL03A@ DB 'greek cap'
DB 'ital letter tau, U+03A4', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03IBIJJELC@Tau@
CONST SEGMENT
??_C@_03IBIJJELC@Tau@ DB 'Tau', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@HFCPNIPL@greek?5capital?5letter?5sigma?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@HFCPNIPL@greek?5capital?5letter?5sigma?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter sigma, U+03A3 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MKBNPMBG@Sigma@
CONST SEGMENT
??_C@_05MKBNPMBG@Sigma@ DB 'Sigma', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@KMJAKGAP@greek?5capital?5letter?5rho?0?5U?$CL03A@
CONST SEGMENT
??_C@_0CB@KMJAKGAP@greek?5capital?5letter?5rho?0?5U?$CL03A@ DB 'greek cap'
DB 'ital letter rho, U+03A1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03BLBOAKDK@Rho@
CONST SEGMENT
??_C@_03BLBOAKDK@Rho@ DB 'Rho', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@GJIDFEDM@greek?5capital?5letter?5pi?0?5U?$CL03A0@
CONST SEGMENT
??_C@_0CI@GJIDFEDM@greek?5capital?5letter?5pi?0?5U?$CL03A0@ DB 'greek cap'
DB 'ital letter pi, U+03A0 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02NIDNNILD@Pi@
CONST SEGMENT
??_C@_02NIDNNILD@Pi@ DB 'Pi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@LAEOEFAO@greek?5capital?5letter?5omicron?0?5U@
CONST SEGMENT
??_C@_0CF@LAEOEFAO@greek?5capital?5letter?5omicron?0?5U@ DB 'greek capita'
DB 'l letter omicron, U+039F', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07IKLCMNO@Omicron@
CONST SEGMENT
??_C@_07IKLCMNO@Omicron@ DB 'Omicron', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@DEKDLEND@greek?5capital?5letter?5xi?0?5U?$CL039E@
CONST SEGMENT
??_C@_0CI@DEKDLEND@greek?5capital?5letter?5xi?0?5U?$CL039E@ DB 'greek cap'
DB 'ital letter xi, U+039E ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02NGCOIJAL@Xi@
CONST SEGMENT
??_C@_02NGCOIJAL@Xi@ DB 'Xi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@EBJANCBL@greek?5capital?5letter?5nu?0?5U?$CL039D@
CONST SEGMENT
??_C@_0CA@EBJANCBL@greek?5capital?5letter?5nu?0?5U?$CL039D@ DB 'greek cap'
DB 'ital letter nu, U+039D', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02CIPCALJE@Nu@
CONST SEGMENT
??_C@_02CIPCALJE@Nu@ DB 'Nu', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@JHDDCCNN@greek?5capital?5letter?5mu?0?5U?$CL039C@
CONST SEGMENT
??_C@_0CA@JHDDCCNN@greek?5capital?5letter?5mu?0?5U?$CL039C@ DB 'greek cap'
DB 'ital letter mu, U+039C', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02CKLELFMN@Mu@
CONST SEGMENT
??_C@_02CKLELFMN@Mu@ DB 'Mu', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@NLEFHINL@greek?5capital?5letter?5lambda?0?5U?$CL@
CONST SEGMENT
??_C@_0CM@NLEFHINL@greek?5capital?5letter?5lambda?0?5U?$CL@ DB 'greek cap'
DB 'ital letter lambda, U+039B ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OBCFFGBN@Lambda@
CONST SEGMENT
??_C@_06OBCFFGBN@Lambda@ DB 'Lambda', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@BBAOAFHF@greek?5capital?5letter?5kappa?0?5U?$CL0@
CONST SEGMENT
??_C@_0CD@BBAOAFHF@greek?5capital?5letter?5kappa?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter kappa, U+039A', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MMNIGICE@Kappa@
CONST SEGMENT
??_C@_05MMNIGICE@Kappa@ DB 'Kappa', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@BFEJFF@greek?5capital?5letter?5iota?0?5U?$CL03@
CONST SEGMENT
??_C@_0CC@BFEJFF@greek?5capital?5letter?5iota?0?5U?$CL03@ DB 'greek capit'
DB 'al letter iota, U+0399', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04CAGFEPOF@Iota@
CONST SEGMENT
??_C@_04CAGFEPOF@Iota@ DB 'Iota', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@DEOCPNDP@greek?5capital?5letter?5theta?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@DEOCPNDP@greek?5capital?5letter?5theta?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter theta, U+0398 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05FDIGLFGK@Theta@
CONST SEGMENT
??_C@_05FDIGLFGK@Theta@ DB 'Theta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@GCINFKKN@greek?5capital?5letter?5eta?0?5U?$CL039@
CONST SEGMENT
??_C@_0CB@GCINFKKN@greek?5capital?5letter?5eta?0?5U?$CL039@ DB 'greek cap'
DB 'ital letter eta, U+0397', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03FNGPBCIG@Eta@
CONST SEGMENT
??_C@_03FNGPBCIG@Eta@ DB 'Eta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@GEHHHHOP@greek?5capital?5letter?5zeta?0?5U?$CL03@
CONST SEGMENT
??_C@_0CC@GEHHHHOP@greek?5capital?5letter?5zeta?0?5U?$CL03@ DB 'greek cap'
DB 'ital letter zeta, U+0396', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GIJIECND@Zeta@
CONST SEGMENT
??_C@_04GIJIECND@Zeta@ DB 'Zeta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@JDHAIGGH@greek?5capital?5letter?5epsilon?0?5U@
CONST SEGMENT
??_C@_0CF@JDHAIGGH@greek?5capital?5letter?5epsilon?0?5U@ DB 'greek capita'
DB 'l letter epsilon, U+0395', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07MHFJNEOI@Epsilon@
CONST SEGMENT
??_C@_07MHFJNEOI@Epsilon@ DB 'Epsilon', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@NHEEDEFH@greek?5capital?5letter?5delta?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@NHEEDEFH@greek?5capital?5letter?5delta?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter delta, U+0394 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NFMIDMMK@Delta@
CONST SEGMENT
??_C@_05NFMIDMMK@Delta@ DB 'Delta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@LGHPBLEE@greek?5capital?5letter?5gamma?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@LGHPBLEE@greek?5capital?5letter?5gamma?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter gamma, U+0393 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NJHBHDO@Gamma@
CONST SEGMENT
??_C@_05NJHBHDO@Gamma@ DB 'Gamma', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@OOBPMHFM@greek?5capital?5letter?5beta?0?5U?$CL03@
CONST SEGMENT
??_C@_0CC@OOBPMHFM@greek?5capital?5letter?5beta?0?5U?$CL03@ DB 'greek cap'
DB 'ital letter beta, U+0392', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04DIAIJOJA@Beta@
CONST SEGMENT
??_C@_04DIAIJOJA@Beta@ DB 'Beta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@LPBPODOI@greek?5capital?5letter?5alpha?0?5U?$CL0@
CONST SEGMENT
??_C@_0CD@LPBPODOI@greek?5capital?5letter?5alpha?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter alpha, U+0391', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IHOGHNDL@Alpha@
CONST SEGMENT
??_C@_05IHOGHNDL@Alpha@ DB 'Alpha', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BL@KGODGBKN@small?5tilde?0?5U?$CL02DC?5ISOdia@
CONST SEGMENT
??_C@_0BL@KGODGBKN@small?5tilde?0?5U?$CL02DC?5ISOdia@ DB 'small tilde, U+'
DB '02DC ISOdia', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GMAILABC@tilde@
CONST SEGMENT
??_C@_05GMAILABC@tilde@ DB 'tilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DB@JBEBEMPM@modifier?5letter?5circumflex?5acce@
CONST SEGMENT
??_C@_0DB@JBEBEMPM@modifier?5letter?5circumflex?5acce@ DB 'modifier lette'
DB 'r circumflex accent, U+02C6 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04LIMEDJKM@circ@
CONST SEGMENT
??_C@_04LIMEDJKM@circ@ DB 'circ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DM@ONFHMKBH@latin?5small?5f?5with?5hook?5?$DN?5funct@
CONST SEGMENT
??_C@_0DM@ONFHMKBH@latin?5small?5f?5with?5hook?5?$DN?5funct@ DB 'latin sm'
DB 'all f with hook = function = florin, U+0192 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IEHKEKAD@fnof@
CONST SEGMENT
??_C@_04IEHKEKAD@fnof@ DB 'fnof', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@DAKEFH@latin?5capital?5letter?5Y?5with?5dia@
CONST SEGMENT
??_C@_0DG@DAKEFH@latin?5capital?5letter?5Y?5with?5dia@ DB 'latin capital '
DB 'letter Y with diaeresis, U+0178 ISOlat2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NJHIIJCO@Yuml@
CONST SEGMENT
??_C@_04NJHIIJCO@Yuml@ DB 'Yuml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@KEKHKDDJ@latin?5small?5letter?5s?5with?5caron@
CONST SEGMENT
??_C@_0DA@KEKHKDDJ@latin?5small?5letter?5s?5with?5caron@ DB 'latin small '
DB 'letter s with caron, U+0161 ISOlat2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OMOCGLBN@scaron@
CONST SEGMENT
??_C@_06OMOCGLBN@scaron@ DB 'scaron', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@DIFHMFIC@latin?5capital?5letter?5S?5with?5car@
CONST SEGMENT
??_C@_0DC@DIFHMFIC@latin?5capital?5letter?5S?5with?5car@ DB 'latin capita'
DB 'l letter S with caron, U+0160 ISOlat2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06CDFPFCIB@Scaron@
CONST SEGMENT
??_C@_06CDFPFCIB@Scaron@ DB 'Scaron', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@PBDOLLDF@latin?5small?5ligature?5oe?0?5U?$CL0153@
CONST SEGMENT
??_C@_0CI@PBDOLLDF@latin?5small?5ligature?5oe?0?5U?$CL0153@ DB 'latin sma'
DB 'll ligature oe, U+0153 ISOlat2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05PKAHFOJK@oelig@
CONST SEGMENT
??_C@_05PKAHFOJK@oelig@ DB 'oelig', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@MKAIEJDG@latin?5capital?5ligature?5OE?0?5U?$CL01@
CONST SEGMENT
??_C@_0CK@MKAIEJDG@latin?5capital?5ligature?5OE?0?5U?$CL01@ DB 'latin cap'
DB 'ital ligature OE, U+0152 ISOlat2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DMGKHEKI@OElig@
CONST SEGMENT
??_C@_05DMGKHEKI@OElig@ DB 'OElig', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@JBLHCCEO@latin?5small?5letter?5y?5with?5diaer@
CONST SEGMENT
??_C@_0DE@JBLHCCEO@latin?5small?5letter?5y?5with?5diaer@ DB 'latin small '
DB 'letter y with diaeresis, U+00FF ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04BILJKGCK@yuml@
CONST SEGMENT
??_C@_04BILJKGCK@yuml@ DB 'yuml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CO@PJIHMBHF@latin?5small?5letter?5thorn?5with?0?5@
CONST SEGMENT
??_C@_0CO@PJIHMBHF@latin?5small?5letter?5thorn?5with?0?5@ DB 'latin small'
DB ' letter thorn with, U+00FE ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05LIICDAEF@thorn@
CONST SEGMENT
??_C@_05LIICDAEF@thorn@ DB 'thorn', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@PNAMGKHG@latin?5small?5letter?5y?5with?5acute@
CONST SEGMENT
??_C@_0DA@PNAMGKHG@latin?5small?5letter?5y?5with?5acute@ DB 'latin small '
DB 'letter y with acute, U+00FD ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BBMKGLNL@yacute@
CONST SEGMENT
??_C@_06BBMKGLNL@yacute@ DB 'yacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@MALBCLBP@latin?5small?5letter?5u?5with?5diaer@
CONST SEGMENT
??_C@_0DE@MALBCLBP@latin?5small?5letter?5u?5with?5diaer@ DB 'latin small '
DB 'letter u with diaeresis, U+00FC ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NNEJELCL@uuml@
CONST SEGMENT
??_C@_04NNEJELCL@uuml@ DB 'uuml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@DPGDCGIM@latin?5small?5letter?5u?5with?5circu@
CONST SEGMENT
??_C@_0DF@DPGDCGIM@latin?5small?5letter?5u?5with?5circu@ DB 'latin small '
DB 'letter u with circumflex, U+00FB ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05JEMLPDGA@ucirc@
CONST SEGMENT
??_C@_05JEMLPDGA@ucirc@ DB 'ucirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@OCJHAGEB@latin?5small?5letter?5u?5with?5acute@
CONST SEGMENT
??_C@_0DA@OCJHAGEB@latin?5small?5letter?5u?5with?5acute@ DB 'latin small '
DB 'letter u with acute, U+00FA ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06NGGKABKP@uacute@
CONST SEGMENT
??_C@_06NGGKABKP@uacute@ DB 'uacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@HLFJEOFC@latin?5small?5letter?5u?5with?5grave@
CONST SEGMENT
??_C@_0DA@HLFJEOFC@latin?5small?5letter?5u?5with?5grave@ DB 'latin small '
DB 'letter u with grave, U+00F9 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06IBEMEICG@ugrave@
CONST SEGMENT
??_C@_06IBEMEICG@ugrave@ DB 'ugrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EP@JDKOEFON@latin?5small?5letter?5o?5with?5strok@
CONST SEGMENT
??_C@_0EP@JDKOEFON@latin?5small?5letter?5o?5with?5strok@ DB 'latin small '
DB 'letter o with stroke, = latin small letter o slash, U+00F8 IS'
DB 'Olat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LGBAFOGO@oslash@
CONST SEGMENT
??_C@_06LGBAFOGO@oslash@ DB 'oslash', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@DJHBCHKN@division?5sign?0?5U?$CL00F7?5ISOnum@
CONST SEGMENT
??_C@_0BN@DJHBCHKN@division?5sign?0?5U?$CL00F7?5ISOnum@ DB 'division sign'
DB ', U+00F7 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FFHJEHBN@divide@
CONST SEGMENT
??_C@_06FFHJEHBN@divide@ DB 'divide', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@IBKMGEO@latin?5small?5letter?5o?5with?5diaer@
CONST SEGMENT
??_C@_0DE@IBKMGEO@latin?5small?5letter?5o?5with?5diaer@ DB 'latin small l'
DB 'etter o with diaeresis, U+00F6 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PHBJMEAI@ouml@
CONST SEGMENT
??_C@_04PHBJMEAI@ouml@ DB 'ouml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@NLFOBBBN@latin?5small?5letter?5o?5with?5tilde@
CONST SEGMENT
??_C@_0DA@NLFOBBBN@latin?5small?5letter?5o?5with?5tilde@ DB 'latin small '
DB 'letter o with tilde, U+00F5 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06DNFIPCMD@otilde@
CONST SEGMENT
??_C@_06DNFIPCMD@otilde@ DB 'otilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@FHOFOHGN@latin?5small?5letter?5o?5with?5circu@
CONST SEGMENT
??_C@_0DF@FHOFOHGN@latin?5small?5letter?5o?5with?5circu@ DB 'latin small '
DB 'letter o with circumflex, U+00F4 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DGIGNCJN@ocirc@
CONST SEGMENT
??_C@_05DGIGNCJN@ocirc@ DB 'ocirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@PODAKJAL@latin?5small?5letter?5o?5with?5acute@
CONST SEGMENT
??_C@_0DA@PODAKJAL@latin?5small?5letter?5o?5with?5acute@ DB 'latin small '
DB 'letter o with acute, U+00F3 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BFMEMCCP@oacute@
CONST SEGMENT
??_C@_06BFMEMCCP@oacute@ DB 'oacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@GNKCEPEK@latin?5small?5letter?5o?5with?5grave@
CONST SEGMENT
??_C@_0DA@GNKCEPEK@latin?5small?5letter?5o?5with?5grave@ DB 'latin small '
DB 'letter o with grave, U+00F2 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06ECOCILKG@ograve@
CONST SEGMENT
??_C@_06ECOCILKG@ograve@ DB 'ograve', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@LBLCGIED@latin?5small?5letter?5n?5with?5tilde@
CONST SEGMENT
??_C@_0DA@LBLCGIED@latin?5small?5letter?5n?5with?5tilde@ DB 'latin small '
DB 'letter n with tilde, U+00F1 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06JLCPPJHH@ntilde@
CONST SEGMENT
??_C@_06JLCPPJHH@ntilde@ DB 'ntilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@LGCMOCIP@latin?5small?5letter?5eth?0?5U?$CL00F0?5@
CONST SEGMENT
??_C@_0CH@LGCMOCIP@latin?5small?5letter?5eth?0?5U?$CL00F0?5@ DB 'latin sm'
DB 'all letter eth, U+00F0 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CMJPAGPB@eth@
CONST SEGMENT
??_C@_03CMJPAGPB@eth@ DB 'eth', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@NBJOEHPN@latin?5small?5letter?5i?5with?5diaer@
CONST SEGMENT
??_C@_0DE@NBJOEHPN@latin?5small?5letter?5i?5with?5diaer@ DB 'latin small '
DB 'letter i with diaeresis, U+00EF ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HIFJDBKI@iuml@
CONST SEGMENT
??_C@_04HIFJDBKI@iuml@ DB 'iuml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@MIBIJHO@latin?5small?5letter?5i?5with?5circu@
CONST SEGMENT
??_C@_0DF@MIBIJHO@latin?5small?5letter?5i?5with?5circu@ DB 'latin small l'
DB 'etter i with circumflex, U+00EE ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OANPDBIA@icirc@
CONST SEGMENT
??_C@_05OANPDBIA@icirc@ DB 'icirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@OCCGIBHC@latin?5small?5letter?5i?5with?5acute@
CONST SEGMENT
??_C@_0DA@OCCGIBHC@latin?5small?5letter?5i?5with?5acute@ DB 'latin small '
DB 'letter i with acute, U+00ED ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HGBEPHBF@iacute@
CONST SEGMENT
??_C@_06HGBEPHBF@iacute@ DB 'iacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@HMKKBHHE@latin?5small?5letter?5i?5with?5grave@
CONST SEGMENT
??_C@_0DA@HMKKBHHE@latin?5small?5letter?5i?5with?5grave@ DB 'latin small '
DB 'letter i with grave, U+00EC ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06CBDCLOJM@igrave@
CONST SEGMENT
??_C@_06CBDCLOJM@igrave@ DB 'igrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@GPFKCFJC@latin?5small?5letter?5e?5with?5diaer@
CONST SEGMENT
??_C@_0DE@GPFKCFJC@latin?5small?5letter?5e?5with?5diaer@ DB 'latin small '
DB 'letter e with diaeresis, U+00EB ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04LNKJNMKJ@euml@
CONST SEGMENT
??_C@_04LNKJNMKJ@euml@ DB 'euml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@GIAAOCCN@latin?5small?5letter?5e?5with?5circu@
CONST SEGMENT
??_C@_0DF@GIAAOCCN@latin?5small?5letter?5e?5with?5circu@ DB 'latin small '
DB 'letter e with circumflex, U+00EA ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05JHBNPBPL@ecirc@
CONST SEGMENT
??_C@_05JHBNPBPL@ecirc@ DB 'ecirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@BICDCICJ@latin?5small?5letter?5e?5with?5acute@
CONST SEGMENT
??_C@_0DA@BICDCICJ@latin?5small?5letter?5e?5with?5acute@ DB 'latin small '
DB 'letter e with acute, U+00E9 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LBLEJNGB@eacute@
CONST SEGMENT
??_C@_06LBLEJNGB@eacute@ DB 'eacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@ILLBMOGI@latin?5small?5letter?5e?5with?5grave@
CONST SEGMENT
??_C@_0DA@ILLBMOGI@latin?5small?5letter?5e?5with?5grave@ DB 'latin small '
DB 'letter e with grave, U+00E8 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OGJCNEOI@egrave@
CONST SEGMENT
??_C@_06OGJCNEOI@egrave@ DB 'egrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@EILMCCNK@latin?5small?5letter?5c?5with?5cedil@
CONST SEGMENT
??_C@_0DC@EILMCCNK@latin?5small?5letter?5c?5with?5cedil@ DB 'latin small '
DB 'letter c with cedilla, U+00E7 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06DNHFEHGA@ccedil@
CONST SEGMENT
??_C@_06DNHFEHGA@ccedil@ DB 'ccedil', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EA@CAAHFPMH@latin?5small?5letter?5ae?5?$DN?5latin?5s@
CONST SEGMENT
??_C@_0EA@CAAHFPMH@latin?5small?5letter?5ae?5?$DN?5latin?5s@ DB 'latin sm'
DB 'all letter ae = latin small ligature ae, U+00E6 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MAANDPOK@aelig@
CONST SEGMENT
??_C@_05MAANDPOK@aelig@ DB 'aelig', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0FB@ICHFIEOC@latin?5small?5letter?5a?5with?5ring?5@
CONST SEGMENT
??_C@_0FB@ICHFIEOC@latin?5small?5letter?5a?5with?5ring?5@ DB 'latin small'
DB ' letter a with ring above = latin small letter a ring, U+00E5'
DB ' ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05CAFMJCMP@aring@
CONST SEGMENT
??_C@_05CAFMJCMP@aring@ DB 'aring', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@EPMHJDIB@latin?5small?5letter?5a?5with?5diaer@
CONST SEGMENT
??_C@_0DE@EPMHJDIB@latin?5small?5letter?5a?5with?5diaer@ DB 'latin small '
DB 'letter a with diaeresis, U+00E4 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04EICJHKGJ@auml@
CONST SEGMENT
??_C@_04EICJHKGJ@auml@ DB 'auml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@HABPBCGA@latin?5small?5letter?5a?5with?5tilde@
CONST SEGMENT
??_C@_0DA@HABPBCGA@latin?5small?5letter?5a?5with?5tilde@ DB 'latin small '
DB 'letter a with tilde, U+00E3 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06GNGHIJJO@atilde@
CONST SEGMENT
??_C@_06GNGHIJJO@atilde@ DB 'atilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@OHHHJIGO@latin?5small?5letter?5a?5with?5circu@
CONST SEGMENT
??_C@_0DF@OHHHJIGO@latin?5small?5letter?5a?5with?5circu@ DB 'latin small '
DB 'letter a with circumflex, U+00E2 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MIMLDON@acirc@
CONST SEGMENT
??_C@_05MIMLDON@acirc@ DB 'acirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@FMJKAKAM@latin?5small?5letter?5a?5with?5acute@
CONST SEGMENT
??_C@_0DA@FMJKAKAM@latin?5small?5letter?5a?5with?5acute@ DB 'latin small '
DB 'letter a with acute, U+00E1 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06EFPLLJHC@aacute@
CONST SEGMENT
??_C@_06EFPLLJHC@aacute@ DB 'aacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EN@PDCHJIBF@latin?5small?5letter?5a?5with?5grave@
CONST SEGMENT
??_C@_0EN@PDCHJIBF@latin?5small?5letter?5a?5with?5grave@ DB 'latin small '
DB 'letter a with grave = latin small letter a grave, U+00E0 ISOl'
DB 'at1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BCNNPAPL@agrave@
CONST SEGMENT
??_C@_06BCNNPAPL@agrave@ DB 'agrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@GONKECDL@latin?5small?5letter?5sharp?5s?5?$DN?5es@
CONST SEGMENT
??_C@_0DF@GONKECDL@latin?5small?5letter?5sharp?5s?5?$DN?5es@ DB 'latin sm'
DB 'all letter sharp s = ess-zed, U+00DF ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GMKDJMCJ@szlig@
CONST SEGMENT
??_C@_05GMKDJMCJ@szlig@ DB 'szlig', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@CHGPFKBD@latin?5capital?5letter?5THORN?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@CHGPFKBD@latin?5capital?5letter?5THORN?0?5U?$CL0@ DB 'latin cap'
DB 'ital letter THORN, U+00DE ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05HDBENHAL@THORN@
CONST SEGMENT
??_C@_05HDBENHAL@THORN@ DB 'THORN', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@NGFCNODC@latin?5capital?5letter?5Y?5with?5acu@
CONST SEGMENT
??_C@_0DC@NGFCNODC@latin?5capital?5letter?5Y?5with?5acu@ DB 'latin capita'
DB 'l letter Y with acute, U+00DD ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06NOHHFCEH@Yacute@
CONST SEGMENT
??_C@_06NOHHFCEH@Yacute@ DB 'Yacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@GOPODDHD@latin?5capital?5letter?5U?5with?5dia@
CONST SEGMENT
??_C@_0DG@GOPODDHD@latin?5capital?5letter?5U?5with?5dia@ DB 'latin capita'
DB 'l letter U with diaeresis, U+00DC ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04BMIIGECP@Uuml@
CONST SEGMENT
??_C@_04BMIIGECP@Uuml@ DB 'Uuml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@MPJOGDLJ@latin?5capital?5letter?5U?5with?5cir@
CONST SEGMENT
??_C@_0DH@MPJOGDLJ@latin?5capital?5letter?5U?5with?5cir@ DB 'latin capita'
DB 'l letter U with circumflex, U+00DB ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05JDGHPGFG@Ucirc@
CONST SEGMENT
??_C@_05JDGHPGFG@Ucirc@ DB 'Ucirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@MJMJLCAF@latin?5capital?5letter?5U?5with?5acu@
CONST SEGMENT
??_C@_0DC@MJMJLCAF@latin?5capital?5letter?5U?5with?5acu@ DB 'latin capita'
DB 'l letter U with acute, U+00DA ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BJNHDIDD@Uacute@
CONST SEGMENT
??_C@_06BJNHDIDD@Uacute@ DB 'Uacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@FAAHPKBG@latin?5capital?5letter?5U?5with?5gra@
CONST SEGMENT
??_C@_0DC@FAAHPKBG@latin?5capital?5letter?5U?5with?5gra@ DB 'latin capita'
DB 'l letter U with grave, U+00D9 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06EOPBHBLK@Ugrave@
CONST SEGMENT
??_C@_06EOPBHBLK@Ugrave@ DB 'Ugrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0FA@JOMDMBPL@latin?5capital?5letter?5O?5with?5str@
CONST SEGMENT
??_C@_0FA@JOMDMBPL@latin?5capital?5letter?5O?5with?5str@ DB 'latin capita'
DB 'l letter O with stroke latin capital letter O slash, U+00D8 I'
DB 'SOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HJKNGHPC@Oslash@
CONST SEGMENT
??_C@_06HJKNGHPC@Oslash@ DB 'Oslash', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@DGCLGCAP@multiplication?5sign?0?5U?$CL00D7?5ISO@
CONST SEGMENT
??_C@_0CD@DGCLGCAP@multiplication?5sign?0?5U?$CL00D7?5ISO@ DB 'multiplica'
DB 'tion sign, U+00D7 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MJOOAIJH@times@
CONST SEGMENT
??_C@_05MJOOAIJH@times@ DB 'times', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@KGFFNOCC@latin?5capital?5letter?5O?5with?5dia@
CONST SEGMENT
??_C@_0DG@KGFFNOCC@latin?5capital?5letter?5O?5with?5dia@ DB 'latin capita'
DB 'l letter O with diaeresis, U+00D6 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04DGNIOLAM@Ouml@
CONST SEGMENT
??_C@_04DGNIOLAM@Ouml@ DB 'Ouml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@PAAAKFFJ@latin?5capital?5letter?5O?5with?5til@
CONST SEGMENT
??_C@_0DC@PAAAKFFJ@latin?5capital?5letter?5O?5with?5til@ DB 'latin capita'
DB 'l letter O with tilde, U+00D5 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PCOFMLFP@Otilde@
CONST SEGMENT
??_C@_06PCOFMLFP@Otilde@ DB 'Otilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@KHBIKCFI@latin?5capital?5letter?5O?5with?5cir@
CONST SEGMENT
??_C@_0DH@KHBIKCFI@latin?5capital?5letter?5O?5with?5cir@ DB 'latin capita'
DB 'l letter O with circumflex, U+00D4 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DBCKNHKL@Ocirc@
CONST SEGMENT
??_C@_05DBCKNHKL@Ocirc@ DB 'Ocirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@NFGOBNEP@latin?5capital?5letter?5O?5with?5acu@
CONST SEGMENT
??_C@_0DC@NFGOBNEP@latin?5capital?5letter?5O?5with?5acu@ DB 'latin capita'
DB 'l letter O with acute, U+00D3 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06NKHJPLLD@Oacute@
CONST SEGMENT
??_C@_06NKHJPLLD@Oacute@ DB 'Oacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@EGPMPLAO@latin?5capital?5letter?5O?5with?5gra@
CONST SEGMENT
??_C@_0DC@EGPMPLAO@latin?5capital?5letter?5O?5with?5gra@ DB 'latin capita'
DB 'l letter O with grave, U+00D2 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06INFPLCDK@Ograve@
CONST SEGMENT
??_C@_06INFPLCDK@Ograve@ DB 'Ograve', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@JKOMNMAH@latin?5capital?5letter?5N?5with?5til@
CONST SEGMENT
??_C@_0DC@JKOMNMAH@latin?5capital?5letter?5N?5with?5til@ DB 'latin capita'
DB 'l letter N with tilde, U+00D1 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FEJCMAOL@Ntilde@
CONST SEGMENT
??_C@_06FEJCMAOL@Ntilde@ DB 'Ntilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@LDDCJAMI@latin?5capital?5letter?5ETH?0?5U?$CL00D@
CONST SEGMENT
??_C@_0CJ@LDDCJAMI@latin?5capital?5letter?5ETH?0?5U?$CL00D@ DB 'latin cap'
DB 'ital letter ETH, U+00D0 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CBGEMLIN@ETH@
CONST SEGMENT
??_C@_03CBGEMLIN@ETH@ DB 'ETH', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@MPAICMBD@latin?5capital?5letter?5I?5with?5dia@
CONST SEGMENT
??_C@_0DG@MPAICMBD@latin?5capital?5letter?5I?5with?5dia@ DB 'latin capita'
DB 'l letter I with diaeresis, U+00CF ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04LJJIBOKM@Iuml@
CONST SEGMENT
??_C@_04LJJIBOKM@Iuml@ DB 'Iuml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@EMKFLPMJ@latin?5capital?5letter?5I?5with?5cir@
CONST SEGMENT
??_C@_0DH@EMKFLPMJ@latin?5capital?5letter?5I?5with?5cir@ DB 'latin capita'
DB 'l letter I with circumflex, U+00CE ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OHHDDELG@Icirc@
CONST SEGMENT
??_C@_05OHHDDELG@Icirc@ DB 'Icirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@HJKBEGLE@latin?5capital?5letter?5I?5with?5acu@
CONST SEGMENT
??_C@_0DC@HJKBEGLE@latin?5capital?5letter?5I?5with?5acu@ DB 'latin capita'
DB 'l letter I with acute, U+00CD ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LJKJMOIJ@Iacute@
CONST SEGMENT
??_C@_06LJKJMOIJ@Iacute@ DB 'Iacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@OHCNNALC@latin?5capital?5letter?5I?5with?5gra@
CONST SEGMENT
??_C@_0DC@OHCNNALC@latin?5capital?5letter?5I?5with?5gra@ DB 'latin capita'
DB 'l letter I with grave, U+00CC ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OOIPIHAA@Igrave@
CONST SEGMENT
??_C@_06OOIPIHAA@Igrave@ DB 'Igrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@HBMMEOHM@latin?5capital?5letter?5E?5with?5dia@
CONST SEGMENT
??_C@_0DG@HBMMEOHM@latin?5capital?5letter?5E?5with?5dia@ DB 'latin capita'
DB 'l letter E with diaeresis, U+00CB ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HMGIPDKN@Euml@
CONST SEGMENT
??_C@_04HMGIPDKN@Euml@ DB 'Euml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@CICENEJK@latin?5capital?5letter?5E?5with?5cir@
CONST SEGMENT
??_C@_0DH@CICENEJK@latin?5capital?5letter?5E?5with?5cir@ DB 'latin capita'
DB 'l letter E with circumflex, U+00CA ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05JALBPEMN@Ecirc@
CONST SEGMENT
??_C@_05JALBPEMN@Ecirc@ DB 'Ecirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@IDKEOPOP@latin?5capital?5letter?5E?5with?5acu@
CONST SEGMENT
??_C@_0DC@IDKEOPOP@latin?5capital?5letter?5E?5with?5acu@ DB 'latin capita'
DB 'l letter E with acute, U+00C9 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HOAJKEPN@Eacute@
CONST SEGMENT
??_C@_06HOAJKEPN@Eacute@ DB 'Eacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@BADGAJKO@latin?5capital?5letter?5E?5with?5gra@
CONST SEGMENT
??_C@_0DC@BADGAJKO@latin?5capital?5letter?5E?5with?5gra@ DB 'latin capita'
DB 'l letter E with grave, U+00C8 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06CJCPONHE@Egrave@
CONST SEGMENT
??_C@_06CJCPONHE@Egrave@ DB 'Egrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@JIEMILBI@latin?5capital?5letter?5C?5with?5ced@
CONST SEGMENT
??_C@_0DE@JIEMILBI@latin?5capital?5letter?5C?5with?5ced@ DB 'latin capita'
DB 'l letter C with cedilla, U+00C7 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PCMIHOPM@Ccedil@
CONST SEGMENT
??_C@_06PCMIHOPM@Ccedil@ DB 'Ccedil', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EE@MODCPHBF@latin?5capital?5letter?5AE?5?$DN?5latin@
CONST SEGMENT
??_C@_0EE@MODCPHBF@latin?5capital?5letter?5AE?5?$DN?5latin@ DB 'latin cap'
DB 'ital letter AE = latin capital ligature AE, U+00C6 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GGABFNI@AElig@
CONST SEGMENT
??_C@_05GGABFNI@AElig@ DB 'AElig', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0FF@OIKGDIMD@latin?5capital?5letter?5A?5with?5rin@
CONST SEGMENT
??_C@_0FF@OIKGDIMD@latin?5capital?5letter?5A?5with?5rin@ DB 'latin capita'
DB 'l letter A with ring above = latin capital letter A ring, U+0'
DB '0C5 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05CHPAJHPJ@Aring@
CONST SEGMENT
??_C@_05CHPAJHPJ@Aring@ DB 'Aring', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@FBFBPIGP@latin?5capital?5letter?5A?5with?5dia@
CONST SEGMENT
??_C@_0DG@FBFBPIGP@latin?5capital?5letter?5A?5with?5dia@ DB 'latin capita'
DB 'l letter A with diaeresis, U+00C4 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IJOIFFGN@Auml@
CONST SEGMENT
??_C@_04IJOIFFGN@Auml@ DB 'Auml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@OLJINFKG@latin?5capital?5letter?5A?5with?5til@
CONST SEGMENT
??_C@_0DC@OLJINFKG@latin?5capital?5letter?5A?5with?5til@ DB 'latin capita'
DB 'l letter A with tilde, U+00C3 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KCNKLAAC@Atilde@
CONST SEGMENT
??_C@_06KCNKLAAC@Atilde@ DB 'Atilde', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@KHFDKONJ@latin?5capital?5letter?5A?5with?5cir@
CONST SEGMENT
??_C@_0DH@KHFDKONJ@latin?5capital?5letter?5A?5with?5cir@ DB 'latin capita'
DB 'l letter A with circumflex, U+00C2 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05LCALGNL@Acirc@
CONST SEGMENT
??_C@_05LCALGNL@Acirc@ DB 'Acirc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@MHBNMNMK@latin?5capital?5letter?5A?5with?5acu@
CONST SEGMENT
??_C@_0DC@MHBNMNMK@latin?5capital?5letter?5A?5with?5acu@ DB 'latin capita'
DB 'l letter A with acute, U+00C1 ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06IKEGIAOO@Aacute@
CONST SEGMENT
??_C@_06IKEGIAOO@Aacute@ DB 'Aacute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0FB@KEPDLJAE@latin?5capital?5letter?5A?5with?5gra@
CONST SEGMENT
??_C@_0FB@KEPDLJAE@latin?5capital?5letter?5A?5with?5gra@ DB 'latin capita'
DB 'l letter A with grave = latin capital letter A grave, U+00C0 '
DB 'ISOlat1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06NNGAMJGH@Agrave@
CONST SEGMENT
??_C@_06NNGAMJGH@Agrave@ DB 'Agrave', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DN@EEILHCCA@inverted?5question?5mark?5?$DN?5turned@
CONST SEGMENT
??_C@_0DN@EEILHCCA@inverted?5question?5mark?5?$DN?5turned@ DB 'inverted q'
DB 'uestion mark = turned question mark, U+00BF ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06JMONPFKG@iquest@
CONST SEGMENT
??_C@_06JMONPFKG@iquest@ DB 'iquest', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EI@KLKHBCM@vulgar?5fraction?5three?5quarters?5@
CONST SEGMENT
??_C@_0EI@KLKHBCM@vulgar?5fraction?5three?5quarters?5@ DB 'vulgar fractio'
DB 'n three quarters = fraction three quarters, U+00BE ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06NMNJFLLK@frac34@
CONST SEGMENT
??_C@_06NMNJFLLK@frac34@ DB 'frac34', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DM@DIGGMOPD@vulgar?5fraction?5one?5half?5?$DN?5frac@
CONST SEGMENT
??_C@_0DM@DIGGMOPD@vulgar?5fraction?5one?5half?5?$DN?5frac@ DB 'vulgar fr'
DB 'action one half = fraction one half, U+00BD ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06IJAHCIFC@frac12@
CONST SEGMENT
??_C@_06IJAHCIFC@frac12@ DB 'frac12', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EC@KBCMBOHG@vulgar?5fraction?5one?5quarter?5?$DN?5f@
CONST SEGMENT
??_C@_0EC@KBCMBOHG@vulgar?5fraction?5one?5quarter?5?$DN?5f@ DB 'vulgar fr'
DB 'action one quarter = fraction one quarter, U+00BC ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06NPFNIPNE@frac14@
CONST SEGMENT
??_C@_06NPFNIPNE@frac14@ DB 'frac14', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0FD@EGIHNJHG@right?9pointing?5double?5angle?5quo@
CONST SEGMENT
??_C@_0FD@EGIHNJHG@right?9pointing?5double?5angle?5quo@ DB 'right-pointin'
DB 'g double angle quotation mark right pointing guillemet, U+00B'
DB 'B ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MPFJLGEB@raquo@
CONST SEGMENT
??_C@_05MPFJLGEB@raquo@ DB 'raquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@FJKJODCC@masculine?5ordinal?5indicator?0?5U?$CL@
CONST SEGMENT
??_C@_0CL@FJKJODCC@masculine?5ordinal?5indicator?0?5U?$CL@ DB 'masculine '
DB 'ordinal indicator, U+00BA ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HMAEPGHP@ordm@
CONST SEGMENT
??_C@_04HMAEPGHP@ordm@ DB 'ordm', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@CNBAIMGE@superscript?5one?5?$DN?5superscript?5d@
CONST SEGMENT
??_C@_0DH@CNBAIMGE@superscript?5one?5?$DN?5superscript?5d@ DB 'superscrip'
DB 't one = superscript digit one, U+00B9 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04EJOCKNLB@sup1@
CONST SEGMENT
??_C@_04EJOCKNLB@sup1@ DB 'sup1', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@ILEJKNLC@cedilla?5?$DN?5spacing?5cedilla?0?5U?$CL00@
CONST SEGMENT
??_C@_0CJ@ILEJKNLC@cedilla?5?$DN?5spacing?5cedilla?0?5U?$CL00@ DB 'cedill'
DB 'a = spacing cedilla, U+00B8 ISOdia', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05KLIFGPMF@cedil@
CONST SEGMENT
??_C@_05KLIFGPMF@cedil@ DB 'cedil', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DM@HGAIAHA@middle?5dot?5?$DN?5Georgian?5comma?5Gre@
CONST SEGMENT
??_C@_0DM@HGAIAHA@middle?5dot?5?$DN?5Georgian?5comma?5Gre@ DB 'middle dot'
DB ' = Georgian comma Greek middle dot, U+00B7 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HHCHNCAA@middot@
CONST SEGMENT
??_C@_06HHCHNCAA@middot@ DB 'middot', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CN@MOKENOBK@pilcrow?5sign?5?$DN?5paragraph?5sign?0?5@
CONST SEGMENT
??_C@_0CN@MOKENOBK@pilcrow?5sign?5?$DN?5paragraph?5sign?0?5@ DB 'pilcrow '
DB 'sign = paragraph sign, U+00B6 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GIAGJOJD@para@
CONST SEGMENT
??_C@_04GIAGJOJD@para@ DB 'para', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@KOECHADG@micro?5sign?0?5U?$CL00B5?5ISOnum@
CONST SEGMENT
??_C@_0BK@KOECHADG@micro?5sign?0?5U?$CL00B5?5ISOnum@ DB 'micro sign, U+00'
DB 'B5 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05PCPGMEFP@micro@
CONST SEGMENT
??_C@_05PCPGMEFP@micro@ DB 'micro', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@HPINDAMO@acute?5accent?5?$DN?5spacing?5acute?0?5U@
CONST SEGMENT
??_C@_0CM@HPINDAMO@acute?5accent?5?$DN?5spacing?5acute?0?5U@ DB 'acute ac'
DB 'cent = spacing acute, U+00B4 ISOdia', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05EEJEIAPO@acute@
CONST SEGMENT
??_C@_05EEJEIAPO@acute@ DB 'acute', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@GIKFIKLK@superscript?5three?5?$DN?5superscript@
CONST SEGMENT
??_C@_0ED@GIKFIKLK@superscript?5three?5?$DN?5superscript@ DB 'superscript'
DB ' three = superscript digit three = cubed, U+00B3 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HLNEMPDD@sup3@
CONST SEGMENT
??_C@_04HLNEMPDD@sup3@ DB 'sup3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EB@LEPBNIBM@superscript?5two?5?$DN?5superscript?5d@
CONST SEGMENT
??_C@_0EB@LEPBNIBM@superscript?5two?5?$DN?5superscript?5d@ DB 'superscrip'
DB 't two = superscript digit two = squared, U+00B2 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GCMPPOHC@sup2@
CONST SEGMENT
??_C@_04GCMPPOHC@sup2@ DB 'sup2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DE@CHKDBJJG@plus?9minus?5sign?5?$DN?5plus?9or?9minus@
CONST SEGMENT
??_C@_0DE@CHKDBJJG@plus?9minus?5sign?5?$DN?5plus?9or?9minus@ DB 'plus-min'
DB 'us sign = plus-or-minus sign, U+00B1 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06CAEEBBM@plusmn@
CONST SEGMENT
??_C@_06CAEEBBM@plusmn@ DB 'plusmn', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BL@CCCHHGNH@degree?5sign?0?5U?$CL00B0?5ISOnum@
CONST SEGMENT
??_C@_0BL@CCCHHGNH@degree?5sign?0?5U?$CL00B0?5ISOnum@ DB 'degree sign, U+'
DB '00B0 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03OFPLEBM@deg@
CONST SEGMENT
??_C@_03OFPLEBM@deg@ DB 'deg', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EA@HOMEIEDB@macron?5?$DN?5spacing?5macron?5?$DN?5overl@
CONST SEGMENT
??_C@_0EA@HOMEIEDB@macron?5?$DN?5spacing?5macron?5?$DN?5overl@ DB 'macron'
DB ' = spacing macron = overline = APL overbar, U+00AF ISOdia', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IMHNEFHF@macr@
CONST SEGMENT
??_C@_04IMHNEFHF@macr@ DB 'macr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DM@GCGJPANE@registered?5sign?5?$DN?5registered?5tr@
CONST SEGMENT
??_C@_0DM@GCGJPANE@registered?5sign?5?$DN?5registered?5tr@ DB 'registered'
DB ' sign = registered trade mark sign, U+00AE ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03HLCNLMFP@reg@
CONST SEGMENT
??_C@_03HLCNLMFP@reg@ DB 'reg', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@LBOPPEOL@soft?5hyphen?5?$DN?5discretionary?5hyp@
CONST SEGMENT
??_C@_0DC@LBOPPEOL@soft?5hyphen?5?$DN?5discretionary?5hyp@ DB 'soft hyphe'
DB 'n = discretionary hyphen, U+00AD ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03BPAIHHLG@shy@
CONST SEGMENT
??_C@_03BPAIHHLG@shy@ DB 'shy', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@BCMLJBGJ@not?5sign?0?5U?$CL00AC?5ISOnum@
CONST SEGMENT
??_C@_0BI@BCMLJBGJ@not?5sign?0?5U?$CL00AC?5ISOnum@ DB 'not sign, U+00AC I'
DB 'SOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03NJKJADM@not@
CONST SEGMENT
??_C@_03NJKJADM@not@ DB 'not', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0FD@BNFCAIHO@left?9pointing?5double?5angle?5quot@
CONST SEGMENT
??_C@_0FD@BNFCAIHO@left?9pointing?5double?5angle?5quot@ DB 'left-pointing'
DB ' double angle quotation mark = left pointing guillemet, U+00A'
DB 'B ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05PGIFNFKK@laquo@
CONST SEGMENT
??_C@_05PGIFNFKK@laquo@ DB 'laquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@IDODFDJH@feminine?5ordinal?5indicator?0?5U?$CL0@
CONST SEGMENT
??_C@_0CK@IDODFDJH@feminine?5ordinal?5indicator?0?5U?$CL0@ DB 'feminine o'
DB 'rdinal indicator, U+00AA ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04JPPACPLE@ordf@
CONST SEGMENT
??_C@_04JPPACPLE@ordf@ DB 'ordf', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@GKHKBHFO@copyright?5sign?0?5U?$CL00A9?5ISOnum@
CONST SEGMENT
??_C@_0BO@GKHKBHFO@copyright?5sign?0?5U?$CL00A9?5ISOnum@ DB 'copyright si'
DB 'gn, U+00A9 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04COAGEIMF@copy@
CONST SEGMENT
??_C@_04COAGEIMF@copy@ DB 'copy', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CN@DADBLGNL@diaeresis?5?$DN?5spacing?5diaeresis?0?5@
CONST SEGMENT
??_C@_0CN@DADBLGNL@diaeresis?5?$DN?5spacing?5diaeresis?0?5@ DB 'diaeresis'
DB ' = spacing diaeresis, U+00A8 ISOdia', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03LBNAMJF@uml@
CONST SEGMENT
??_C@_03LBNAMJF@uml@ DB 'uml', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@NBPOBBLJ@section?5sign?0?5U?$CL00A7?5ISOnum@
CONST SEGMENT
??_C@_0BM@NBPOBBLJ@section?5sign?0?5U?$CL00A7?5ISOnum@ DB 'section sign, '
DB 'U+00A7 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IKJFFMEH@sect@
CONST SEGMENT
??_C@_04IKJFFMEH@sect@ DB 'sect', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@CCMOAPKD@broken?5bar?5?$DN?5broken?5vertical?5ba@
CONST SEGMENT
??_C@_0DA@CCMOAPKD@broken?5bar?5?$DN?5broken?5vertical?5ba@ DB 'broken ba'
DB 'r = broken vertical bar, U+00A6 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06ILPBEBAD@brvbar@
CONST SEGMENT
??_C@_06ILPBEBAD@brvbar@ DB 'brvbar', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@IIBMKILI@yen?5sign?5?$DN?5yuan?5sign?0?5U?$CL00A5?5IS@
CONST SEGMENT
??_C@_0CE@IIBMKILI@yen?5sign?5?$DN?5yuan?5sign?0?5U?$CL00A5?5IS@ DB 'yen '
DB 'sign = yuan sign, U+00A5 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03HNOOIABH@yen@
CONST SEGMENT
??_C@_03HNOOIABH@yen@ DB 'yen', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@KCBDNOJC@currency?5sign?0?5U?$CL00A4?5ISOnum@
CONST SEGMENT
??_C@_0BN@KCBDNOJC@currency?5sign?0?5U?$CL00A4?5ISOnum@ DB 'currency sign'
DB ', U+00A4 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HEGEHONB@curren@
CONST SEGMENT
??_C@_06HEGEHONB@curren@ DB 'curren', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@CBLMFKEA@pound?5sign?0?5U?$CL00A3?5ISOnum@
CONST SEGMENT
??_C@_0BK@CBLMFKEA@pound?5sign?0?5U?$CL00A3?5ISOnum@ DB 'pound sign, U+00'
DB 'A3 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05EBEEKLCG@pound@
CONST SEGMENT
??_C@_05EBEEKLCG@pound@ DB 'pound', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@JAJDJOGE@cent?5sign?0?5U?$CL00A2?5ISOnum@
CONST SEGMENT
??_C@_0BJ@JAJDJOGE@cent?5sign?0?5U?$CL00A2?5ISOnum@ DB 'cent sign, U+00A2'
DB ' ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04OCKNFIJG@cent@
CONST SEGMENT
??_C@_04OCKNFIJG@cent@ DB 'cent', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@LDCHJPND@inverted?5exclamation?5mark?0?5U?$CL00@
CONST SEGMENT
??_C@_0CJ@LDCHJPND@inverted?5exclamation?5mark?0?5U?$CL00@ DB 'inverted e'
DB 'xclamation mark, U+00A1 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05BNEGCBFC@iexcl@
CONST SEGMENT
??_C@_05BNEGCBFC@iexcl@ DB 'iexcl', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DD@LJPHBFKA@no?9break?5space?5?$DN?5non?9breaking?5s@
CONST SEGMENT
??_C@_0DD@LJPHBFKA@no?9break?5space?5?$DN?5non?9breaking?5s@ DB 'no-break'
DB ' space = non-breaking space, U+00A0 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PHHIFBLJ@nbsp@
CONST SEGMENT
??_C@_04PHHIFBLJ@nbsp@ DB 'nbsp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@INPPCIDE@greater?9than?5sign?0?5U?$CL003E?5ISOnu@
CONST SEGMENT
??_C@_0CB@INPPCIDE@greater?9than?5sign?0?5U?$CL003E?5ISOnu@ DB 'greater-t'
DB 'han sign, U+003E ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02GHFEHLK@gt@
CONST SEGMENT
??_C@_02GHFEHLK@gt@ DB 'gt', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@IKPLCPFL@less?9than?5sign?0?5U?$CL003C?5ISOnum@
CONST SEGMENT
??_C@_0BO@IKPLCPFL@less?9than?5sign?0?5U?$CL003C?5ISOnum@ DB 'less-than s'
DB 'ign, U+003C ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02KCAKIFL@lt@
CONST SEGMENT
??_C@_02KCAKIFL@lt@ DB 'lt', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@EHENLBIK@single?5quote@
CONST SEGMENT
??_C@_0N@EHENLBIK@single?5quote@ DB 'single quote', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04LBCJFAKL@apos@
CONST SEGMENT
??_C@_04LBCJFAKL@apos@ DB 'apos', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@FIPLPGNA@ampersand?0?5U?$CL0026?5ISOnum@
CONST SEGMENT
??_C@_0BJ@FIPLPGNA@ampersand?0?5U?$CL0026?5ISOnum@ DB 'ampersand, U+0026 '
DB 'ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03DCBBJBAA@amp@
CONST SEGMENT
??_C@_03DCBBJBAA@amp@ DB 'amp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@JDDAPBGE@quotation?5mark?5?$DN?5APL?5quote?0?5U?$CL0@
CONST SEGMENT
??_C@_0CK@JDDAPBGE@quotation?5mark?5?$DN?5APL?5quote?0?5U?$CL0@ DB 'quota'
DB 'tion mark = APL quote, U+0022 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04KJFGKBNM@quot@
CONST SEGMENT
??_C@_04KJFGKBNM@quot@ DB 'quot', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@FAJFKCGA@onmousemove@
CONST SEGMENT
??_C@_0M@FAJFKCGA@onmousemove@ DB 'onmousemove', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03BPAAIJBF@xmp@
CONST SEGMENT
??_C@_03BPAAIJBF@xmp@ DB 'xmp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07KMIIAGPH@listing@
CONST SEGMENT
??_C@_07KMIIAGPH@listing@ DB 'listing', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@IOIBPELD@instance?5of?5a?5variable?5or?5progr@
CONST SEGMENT
??_C@_0CL@IOIBPELD@instance?5of?5a?5variable?5or?5progr@ DB 'instance of '
DB 'a variable or program argument', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@DILGCPPM@unordered?5list?5@
CONST SEGMENT
??_C@_0BA@DILGCPPM@unordered?5list?5@ DB 'unordered list ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@NHDOOMEA@underlined?5text?5style@
CONST SEGMENT
??_C@_0BG@NHDOOMEA@underlined?5text?5style@ DB 'underlined text style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@HPKPLEFL@teletype?5or?5monospaced?5text?5sty@
CONST SEGMENT
??_C@_0CC@HPKPLEFL@teletype?5or?5monospaced?5text?5sty@ DB 'teletype or m'
DB 'onospaced text style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@OLDIHEAD@table?5row?5@
CONST SEGMENT
??_C@_0L@OLDIHEAD@table?5row?5@ DB 'table row ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@CCGKIMBG@document?5title?5@
CONST SEGMENT
??_C@_0BA@CCGKIMBG@document?5title?5@ DB 'document title ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@JOOJEINB@table?5header?5@
CONST SEGMENT
??_C@_0O@JOOJEINB@table?5header?5@ DB 'table header ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BC@CCIFOICB@table?5header?5cell@
CONST SEGMENT
??_C@_0BC@CCIFOICB@table?5header?5cell@ DB 'table header cell', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@HFPJPDFP@table?5footer?5@
CONST SEGMENT
??_C@_0O@HFPJPDFP@table?5footer?5@ DB 'table footer ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@ODGBEBOO@multi?9line?5text?5field?5@
CONST SEGMENT
??_C@_0BH@ODGBEBOO@multi?9line?5text?5field?5@ DB 'multi-line text field '
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@OHMNJJHC@table?5data?5cell@
CONST SEGMENT
??_C@_0BA@OHMNJJHC@table?5data?5cell@ DB 'table data cell', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@COHBKCLJ@table?5body?5@
CONST SEGMENT
??_C@_0M@COHBKCLJ@table?5body?5@ DB 'table body ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@LLOPBEAI@superscript?5@
CONST SEGMENT
??_C@_0N@LLOPBEAI@superscript?5@ DB 'superscript ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09KAIPOAII@subscript@
CONST SEGMENT
??_C@_09KAIPOAII@subscript@ DB 'subscript', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@LPADJHJK@style?5info?5@
CONST SEGMENT
??_C@_0M@LPADJHJK@style?5info?5@ DB 'style info ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@HHIAOMPI@strong?5emphasis@
CONST SEGMENT
??_C@_0BA@HHIAOMPI@strong?5emphasis@ DB 'strong emphasis', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BE@KLPAPDBO@strike?9through?5text@
CONST SEGMENT
??_C@_0BE@KLPAPDBO@strike?9through?5text@ DB 'strike-through text', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@KPKCOJB@generic?5language?1style?5containe@
CONST SEGMENT
??_C@_0CC@KPKCOJB@generic?5language?1style?5containe@ DB 'generic languag'
DB 'e/style container ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@PLNNDOJH@small?5text?5style@
CONST SEGMENT
??_C@_0BB@PLNNDOJH@small?5text?5style@ DB 'small text style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@OKAAEBHI@option?5selector?5@
CONST SEGMENT
??_C@_0BB@OKAAEBHI@option?5selector?5@ DB 'option selector ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@EEALOKGK@script?5statements?5@
CONST SEGMENT
??_C@_0BD@EEALOKGK@script?5statements?5@ DB 'script statements ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@MKBFLFJI@sample?5program?5output?0?5scripts?0@
CONST SEGMENT
??_C@_0CF@MKBFLFJI@sample?5program?5output?0?5scripts?0@ DB 'sample progr'
DB 'am output, scripts, etc.', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@GECKKPAM@strike?9through?5text?5style@
CONST SEGMENT
??_C@_0BK@GECKKPAM@strike?9through?5text?5style@ DB 'strike-through text '
DB 'style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@IDGHJEGP@short?5inline?5quotation?5@
CONST SEGMENT
??_C@_0BI@IDGHJEGP@short?5inline?5quotation?5@ DB 'short inline quotation'
DB ' ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@OKGNAEP@preformatted?5text?5@
CONST SEGMENT
??_C@_0BD@OKGNAEP@preformatted?5text?5@ DB 'preformatted text ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@OGBECHLM@named?5property?5value?5@
CONST SEGMENT
??_C@_0BG@OGBECHLM@named?5property?5value?5@ DB 'named property value ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@ICLNKGCC@paragraph?5@
CONST SEGMENT
??_C@_0L@ICLNKGCC@paragraph?5@ DB 'paragraph ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@HJHAAEHL@selectable?5choice?5@
CONST SEGMENT
??_C@_0BD@HJHAAEHL@selectable?5choice?5@ DB 'selectable choice ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@IBBKJGKJ@option?5group?5@
CONST SEGMENT
??_C@_0O@IBBKJGKJ@option?5group?5@ DB 'option group ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@PMECOPH@ordered?5list?5@
CONST SEGMENT
??_C@_0O@PMECOPH@ordered?5list?5@ DB 'ordered list ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DM@CPJFPKPD@alternate?5content?5container?5for@
CONST SEGMENT
??_C@_0DM@CPJFPKPD@alternate?5content?5container?5for@ DB 'alternate cont'
DB 'ent container for non script-based rendering ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DL@IAGMJJEB@alternate?5content?5container?5for@
CONST SEGMENT
??_C@_0DL@IAGMJJEB@alternate?5content?5container?5for@ DB 'alternate cont'
DB 'ent container for non frame-based rendering ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@OJDJPIOL@generic?5metainformation?5@
CONST SEGMENT
??_C@_0BJ@OJDJPIOL@generic?5metainformation?5@ DB 'generic metainformatio'
DB 'n ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@NDLIJHAH@menu?5list?5@
CONST SEGMENT
??_C@_0L@NDLIJHAH@menu?5list?5@ DB 'menu list ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@LIKCJKCB@client?9side?5image?5map?5@
CONST SEGMENT
??_C@_0BH@LIKCJKCB@client?9side?5image?5map?5@ DB 'client-side image map '
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@GCIIKCBE@a?5media?9independent?5link?5@
CONST SEGMENT
??_C@_0BK@GCIIKCBE@a?5media?9independent?5link?5@ DB 'a media-independent'
DB ' link ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@DHBHFPMN@list?5item?5@
CONST SEGMENT
??_C@_0L@DHBHFPMN@list?5item?5@ DB 'list item ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@LGOCAIB@fieldset?5legend?5@
CONST SEGMENT
??_C@_0BB@LGOCAIB@fieldset?5legend?5@ DB 'fieldset legend ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@INJKJBGO@form?5field?5label?5text?5@
CONST SEGMENT
??_C@_0BH@INJKJBGO@form?5field?5label?5text?5@ DB 'form field label text '
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@HBOCGMHA@text?5to?5be?5entered?5by?5the?5user@
CONST SEGMENT
??_C@_0BP@HBOCGMHA@text?5to?5be?5entered?5by?5the?5user@ DB 'text to be e'
DB 'ntered by the user', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BE@NOGKIGME@single?5line?5prompt?5@
CONST SEGMENT
??_C@_0BE@NOGKIGME@single?5line?5prompt?5@ DB 'single line prompt ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@CEDLIJIG@inserted?5text@
CONST SEGMENT
??_C@_0O@CEDLIJIG@inserted?5text@ DB 'inserted text', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@HMLFLPEN@form?5control?5@
CONST SEGMENT
??_C@_0O@HMLFLPEN@form?5control?5@ DB 'form control ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@OHBCJHIG@embedded?5image?5@
CONST SEGMENT
??_C@_0BA@OHBCJHIG@embedded?5image?5@ DB 'embedded image ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BC@BHNEGLHO@inline?5subwindow?5@
CONST SEGMENT
??_C@_0BC@BHNEGLHO@inline?5subwindow?5@ DB 'inline subwindow ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BC@JCIMLGAN@italic?5text?5style@
CONST SEGMENT
??_C@_0BC@JCIMLGAN@italic?5text?5style@ DB 'italic text style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@MPDMFBKE@document?5root?5element?5@
CONST SEGMENT
??_C@_0BH@MPDMFBKE@document?5root?5element?5@ DB 'document root element ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PNIFHPHN@html@
CONST SEGMENT
??_C@_04PNIFHPHN@html@ DB 'html', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@GBCDCJBE@horizontal?5rule?5@
CONST SEGMENT
??_C@_0BB@GBCDCJBE@horizontal?5rule?5@ DB 'horizontal rule ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@GMKONMK@document?5head?5@
CONST SEGMENT
??_C@_0P@GMKONMK@document?5head?5@ DB 'document head ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08EPCFAACE@heading?5@
CONST SEGMENT
??_C@_08EPCFAACE@heading?5@ DB 'heading ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@NKGGDHCH@window?5subdivision@
CONST SEGMENT
??_C@_0BD@NKGGDHCH@window?5subdivision@ DB 'window subdivision', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@NAMFAOCF@subwindow?5@
CONST SEGMENT
??_C@_0L@NAMFAOCF@subwindow?5@ DB 'subwindow ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BC@CONPLKGA@interactive?5form?5@
CONST SEGMENT
??_C@_0BC@CONPLKGA@interactive?5form?5@ DB 'interactive form ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@MPBFEMBF@local?5change?5to?5font?5@
CONST SEGMENT
??_C@_0BG@MPBFEMBF@local?5change?5to?5font?5@ DB 'local change to font ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BE@NIBLILIK@form?5control?5group?5@
CONST SEGMENT
??_C@_0BE@NIBLILIK@form?5control?5group?5@ DB 'form control group ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@EHDFJKJB@generic?5embedded?5object?5@
CONST SEGMENT
??_C@_0BJ@EHDFJKJB@generic?5embedded?5object?5@ DB 'generic embedded obje'
DB 'ct ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08NCOPEMNJ@emphasis@
CONST SEGMENT
??_C@_08NCOPEMNJ@emphasis@ DB 'emphasis', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@EJJHCHJK@definition?5term?5@
CONST SEGMENT
??_C@_0BB@EJJHCHJK@definition?5term?5@ DB 'definition term ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@MIKJLFPH@definition?5list?5@
CONST SEGMENT
??_C@_0BB@MIKJLFPH@definition?5list?5@ DB 'definition list ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@MBOOJGEG@generic?5language?1style?5containe@
CONST SEGMENT
??_C@_0CB@MBOOJGEG@generic?5language?1style?5containe@ DB 'generic langua'
DB 'ge/style container', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@IKNDKLJF@directory?5list@
CONST SEGMENT
??_C@_0P@IKNDKLJF@directory?5list@ DB 'directory list', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BE@BOOBDIMI@instance?5definition@
CONST SEGMENT
??_C@_0BE@BOOBDIMI@instance?5definition@ DB 'instance definition', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@HPOOFJNH@deleted?5text?5@
CONST SEGMENT
??_C@_0O@HPOOFJNH@deleted?5text?5@ DB 'deleted text ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@HABKMEJP@definition?5description?5@
CONST SEGMENT
??_C@_0BI@HABKMEJP@definition?5description?5@ DB 'definition description '
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BE@LOIFNDJE@table?5column?5group?5@
CONST SEGMENT
??_C@_0BE@LOIFNDJE@table?5column?5group?5@ DB 'table column group ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@FGGFNENO@table?5column?5@
CONST SEGMENT
??_C@_0O@FGGFNENO@table?5column?5@ DB 'table column ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@LEOBKMKN@computer?5code?5fragment@
CONST SEGMENT
??_C@_0BH@LEOBKMKN@computer?5code?5fragment@ DB 'computer code fragment', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08JKLKPBNF@citation@
CONST SEGMENT
??_C@_08JKLKPBNF@citation@ DB 'citation', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@LHLKAMHN@shorthand?5for?5div?5align?$DNcenter?5@
CONST SEGMENT
??_C@_0CA@LHLKAMHN@shorthand?5for?5div?5align?$DNcenter?5@ DB 'shorthand '
DB 'for div align=center ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@LNCJOIOH@table?5caption?5@
CONST SEGMENT
??_C@_0P@LNCJOIOH@table?5caption?5@ DB 'table caption ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@NFGALFIH@push?5button?5@
CONST SEGMENT
??_C@_0N@NFGALFIH@push?5button?5@ DB 'push button ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@EKEEJOJN@forced?5line?5break?5@
CONST SEGMENT
??_C@_0BD@EKEEJOJN@forced?5line?5break?5@ DB 'forced line break ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@MOMBBGBM@document?5body?5@
CONST SEGMENT
??_C@_0P@MOMBBGBM@document?5body?5@ DB 'document body ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@KOLCJLFL@long?5quotation?5@
CONST SEGMENT
??_C@_0BA@KOLCJLFL@long?5quotation?5@ DB 'long quotation ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@BAJOIDME@large?5text?5style@
CONST SEGMENT
??_C@_0BB@BAJOIDME@large?5text?5style@ DB 'large text style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BF@EJIKDIMB@i18n?5bidi?5over?9ride?5@
CONST SEGMENT
??_C@_0BF@EJIKDIMB@i18n?5bidi?5over?9ride?5@ DB 'i18n bidi over-ride ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@OGIGFOOK@base?5font?5size?5@
CONST SEGMENT
??_C@_0BA@OGIGFOOK@base?5font?5size?5@ DB 'base font size ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@JABNPIOC@document?5base?5uri?5@
CONST SEGMENT
??_C@_0BD@JABNPIOC@document?5base?5uri?5@ DB 'document base uri ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@NADNLNKK@bold?5text?5style@
CONST SEGMENT
??_C@_0BA@NADNLNKK@bold?5text?5style@ DB 'bold text style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@EIGPEHBO@client?9side?5image?5map?5area?5@
CONST SEGMENT
??_C@_0BM@EIGPEHBO@client?9side?5image?5map?5area?5@ DB 'client-side imag'
DB 'e map area ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@LANOFEKD@java?5applet?5@
CONST SEGMENT
??_C@_0N@LANOFEKD@java?5applet?5@ DB 'java applet ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@PNOGHPJ@information?5on?5author?5@
CONST SEGMENT
??_C@_0BH@PNOGHPJ@information?5on?5author?5@ DB 'information on author ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_00CNPNBAHC@@
CONST SEGMENT
??_C@_00CNPNBAHC@@ DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@OPBMKOHB@abbreviated?5form@
CONST SEGMENT
??_C@_0BB@OPBMKOHB@abbreviated?5form@ DB 'abbreviated form', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07NLIDIJLK@anchor?5@
CONST SEGMENT
??_C@_07NLIDIJLK@anchor?5@ DB 'anchor ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FCNHEIMC@td@
CONST SEGMENT
??_C@_02FCNHEIMC@td@ DB 'td', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02POGCAHMO@th@
CONST SEGMENT
??_C@_02POGCAHMO@th@ DB 'th', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07KBFHKJFO@colspan@
CONST SEGMENT
??_C@_07KBFHKJFO@colspan@ DB 'colspan', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07HIFHGKLD@rowspan@
CONST SEGMENT
??_C@_07HIFHGKLD@rowspan@ DB 'rowspan', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DCCHDMEJ@scope@
CONST SEGMENT
??_C@_05DCCHDMEJ@scope@ DB 'scope', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07LANIGEJC@headers@
CONST SEGMENT
??_C@_07LANIGEJC@headers@ DB 'headers', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HABAAEPG@axis@
CONST SEGMENT
??_C@_04HABAAEPG@axis@ DB 'axis', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KMFGCGJP@nowrap@
CONST SEGMENT
??_C@_06KMFGCGJP@nowrap@ DB 'nowrap', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02EOEPPNBF@tr@
CONST SEGMENT
??_C@_02EOEPPNBF@tr@ DB 'tr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OPBKHDLA@tbody@
CONST SEGMENT
??_C@_05OPBKHDLA@tbody@ DB 'tbody', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05KDGBEENM@tfoot@
CONST SEGMENT
??_C@_05KDGBEENM@tfoot@ DB 'tfoot', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DDLACFIC@thead@
CONST SEGMENT
??_C@_05DDLACFIC@thead@ DB 'thead', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08LBGGHKOD@colgroup@
CONST SEGMENT
??_C@_08LBGGHKOD@colgroup@ DB 'colgroup', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07BANDPJOM@caption@
CONST SEGMENT
??_C@_07BANDPJOM@caption@ DB 'caption', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@LOJCLIGN@datapagesize@
CONST SEGMENT
??_C@_0N@LOJCLIGN@datapagesize@ DB 'datapagesize', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@NLHEMCJP@cellpadding@
CONST SEGMENT
??_C@_0M@NLHEMCJP@cellpadding@ DB 'cellpadding', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@HGLPBPKF@cellspacing@
CONST SEGMENT
??_C@_0M@HGLPBPKF@cellspacing@ DB 'cellspacing', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05CBLPGGM@rules@
CONST SEGMENT
??_C@_05CBLPGGM@rules@ DB 'rules', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07PJIIAIPG@summary@
CONST SEGMENT
??_C@_07PJIIAIPG@summary@ DB 'summary', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08CKJFGDBG@multiple@
CONST SEGMENT
??_C@_08CKJFGDBG@multiple@ DB 'multiple', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08KGPIHINJ@optgroup@
CONST SEGMENT
??_C@_08KGPIHINJ@optgroup@ DB 'optgroup', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08JGCCIMAA@language@
CONST SEGMENT
??_C@_08JGCCIMAA@language@ DB 'language', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GFHEIIDD@event@
CONST SEGMENT
??_C@_05GFHEIIDD@event@ DB 'event', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MBNCFBEN@defer@
CONST SEGMENT
??_C@_05MBNCFBEN@defer@ DB 'defer', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09JLAJHNIL@valuetype@
CONST SEGMENT
??_C@_09JLAJHNIL@valuetype@ DB 'valuetype', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08CJLOJPNI@selected@
CONST SEGMENT
??_C@_08CJLOJPNI@selected@ DB 'selected', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OGMGCFPO@option@
CONST SEGMENT
??_C@_06OGMGCFPO@option@ DB 'option', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05FAGFPHJG@start@
CONST SEGMENT
??_C@_05FAGFPHJG@start@ DB 'start', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07EEGFOKKL@standby@
CONST SEGMENT
??_C@_07EEGFOKKL@standby@ DB 'standby', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08EANEMJD@codetype@
CONST SEGMENT
??_C@_08EANEMJD@codetype@ DB 'codetype', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PJOLNDGD@data@
CONST SEGMENT
??_C@_04PJOLNDGD@data@ DB 'data', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07MKGILGMB@classid@
CONST SEGMENT
??_C@_07MKGILGMB@classid@ DB 'classid', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07JDFLJJH@declare@
CONST SEGMENT
??_C@_07JDFLJJH@declare@ DB 'declare', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07ICAJMOAO@content@
CONST SEGMENT
??_C@_07ICAJMOAO@content@ DB 'content', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06MMEMGLOP@scheme@
CONST SEGMENT
??_C@_06MMEMGLOP@scheme@ DB 'scheme', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@NALBGOHO@http?9equiv@
CONST SEGMENT
??_C@_0L@NALBGOHO@http?9equiv@ DB 'http-equiv', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02PFEMMEEH@li@
CONST SEGMENT
??_C@_02PFEMMEEH@li@ DB 'li', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06DDLLCOJG@action@
CONST SEGMENT
??_C@_06DDLLCOJG@action@ DB 'action', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GOEDGNCF@area@
CONST SEGMENT
??_C@_04GOEDGNCF@area@ DB 'area', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05CECBHAPI@media@
CONST SEGMENT
??_C@_05CECBHAPI@media@ DB 'media', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03JOHEBPFF@for@
CONST SEGMENT
??_C@_03JOHEBPFF@for@ DB 'for', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FJNEHIA@prompt@
CONST SEGMENT
??_C@_06FJNEHIA@prompt@ DB 'prompt', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08CLANFAGI@onchange@
CONST SEGMENT
??_C@_08CLANFAGI@onchange@ DB 'onchange', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08ILAMBHAE@onselect@
CONST SEGMENT
??_C@_08ILAMBHAE@onselect@ DB 'onselect', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09GGMBJIEG@maxlength@
CONST SEGMENT
??_C@_09GGMBJIEG@maxlength@ DB 'maxlength', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08JOKHDEJH@readonly@
CONST SEGMENT
??_C@_08JOKHDEJH@readonly@ DB 'readonly', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07FJOBMBFC@checked@
CONST SEGMENT
??_C@_07FJOBMBFC@checked@ DB 'checked', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05CCBEFJDC@units@
CONST SEGMENT
??_C@_05CCBEFJDC@units@ DB 'units', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09DBOPNCLL@pluginurl@
CONST SEGMENT
??_C@_09DBOPNCLL@pluginurl@ DB 'pluginurl', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@GDAEHHFP@pluginspace@
CONST SEGMENT
??_C@_0M@GDAEHHFP@pluginspace@ DB 'pluginspace', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07JKIHKJOO@palette@
CONST SEGMENT
??_C@_07JKIHKJOO@palette@ DB 'palette', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06JIKFICKK@hidden@
CONST SEGMENT
??_C@_06JIKFICKK@hidden@ DB 'hidden', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06ODFLABIG@border@
CONST SEGMENT
??_C@_06ODFLABIG@border@ DB 'border', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05HANCGNOO@ismap@
CONST SEGMENT
??_C@_05HANCGNOO@ismap@ DB 'ismap', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KPMBKPGA@usemap@
CONST SEGMENT
??_C@_06KPMBKPGA@usemap@ DB 'usemap', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07CPCPJPKL@version@
CONST SEGMENT
??_C@_07CPCPJPKL@version@ DB 'version', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07NCHIIBII@noshade@
CONST SEGMENT
??_C@_07NCHIIBII@noshade@ DB 'noshade', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HLJJCGEF@meta@
CONST SEGMENT
??_C@_04HLJJCGEF@meta@ DB 'meta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04BHIIPFEC@base@
CONST SEGMENT
??_C@_04BHIIPFEC@base@ DB 'base', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07LNMDFKEJ@profile@
CONST SEGMENT
??_C@_07LNMDFKEJ@profile@ DB 'profile', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MIJNFGED@frame@
CONST SEGMENT
??_C@_05MIJNFGED@frame@ DB 'frame', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08GMEGJMDB@frameset@
CONST SEGMENT
??_C@_08GMEGJMDB@frameset@ DB 'frameset', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09PKEBEIDM@scrolling@
CONST SEGMENT
??_C@_09PKEBEIDM@scrolling@ DB 'scrolling', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08BOOCAMGJ@noresize@
CONST SEGMENT
??_C@_08BOOCAMGJ@noresize@ DB 'noresize', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@HFFDDCPA@marginheight@
CONST SEGMENT
??_C@_0N@HFFDDCPA@marginheight@ DB 'marginheight', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@LFIDEBFM@marginwidth@
CONST SEGMENT
??_C@_0M@LFIDEBFM@marginwidth@ DB 'marginwidth', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@GPMBJNCP@frameborder@
CONST SEGMENT
??_C@_0M@GPMBJNCP@frameborder@ DB 'frameborder', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08BMDPBLHN@longdesc@
CONST SEGMENT
??_C@_08BMDPBLHN@longdesc@ DB 'longdesc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@IIOBAHEN@accept?9charset@
CONST SEGMENT
??_C@_0P@IIOBAHEN@accept?9charset@ DB 'accept-charset', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07CDGCELIF@onreset@
CONST SEGMENT
??_C@_07CDGCELIF@onreset@ DB 'onreset', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08PPMJAGMH@onsubmit@
CONST SEGMENT
??_C@_08PPMJAGMH@onsubmit@ DB 'onsubmit', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06MPKMECK@accept@
CONST SEGMENT
??_C@_06MPKMECK@accept@ DB 'accept', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07BCBJKKO@enctype@
CONST SEGMENT
??_C@_07BCBJKKO@enctype@ DB 'enctype', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06GABBCIBA@method@
CONST SEGMENT
??_C@_06GABBCIBA@method@ DB 'method', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BCIOHMBM@legend@
CONST SEGMENT
??_C@_06BCIOHMBM@legend@ DB 'legend', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02EOPBOLLC@dd@
CONST SEGMENT
??_C@_02EOPBOLLC@dd@ DB 'dd', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02EDDPJOD@dt@
CONST SEGMENT
??_C@_02EDDPJOD@dt@ DB 'dt', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07HGKHBOGE@compact@
CONST SEGMENT
??_C@_07HGKHBOGE@compact@ DB 'compact', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08FGNPMIBK@datetime@
CONST SEGMENT
??_C@_08FGNPMIBK@datetime@ DB 'datetime', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03HNOLNALI@col@
CONST SEGMENT
??_C@_03HNOLNALI@col@ DB 'col', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06ICIJKACG@valign@
CONST SEGMENT
??_C@_06ICIJKACG@valign@ DB 'valign', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07CAOCHGPK@charoff@
CONST SEGMENT
??_C@_07CAOCHGPK@charoff@ DB 'charoff', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04ENMBGAPA@char@
CONST SEGMENT
??_C@_04ENMBGAPA@char@ DB 'char', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08BEHKFNNO@disabled@
CONST SEGMENT
??_C@_08BEHKFNNO@disabled@ DB 'disabled', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MFEJDJP@value@
CONST SEGMENT
??_C@_05MFEJDJP@value@ DB 'value', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05FDDJPECA@alink@
CONST SEGMENT
??_C@_05FDDJPECA@alink@ DB 'alink', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05ENOKMGAD@vlink@
CONST SEGMENT
??_C@_05ENOKMGAD@vlink@ DB 'vlink', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04OHHBHOGB@link@
CONST SEGMENT
??_C@_04OHHBHOGB@link@ DB 'link', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04CIMGMMMG@text@
CONST SEGMENT
??_C@_04CIMGMMMG@text@ DB 'text', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07PMHCLHIB@bgcolor@
CONST SEGMENT
??_C@_07PMHCLHIB@bgcolor@ DB 'bgcolor', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@EGCKCJDC@background@
CONST SEGMENT
??_C@_0L@EGCKCJDC@background@ DB 'background', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08KEOAPEKG@onunload@
CONST SEGMENT
??_C@_08KEOAPEKG@onunload@ DB 'onunload', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FKJAAAAK@onload@
CONST SEGMENT
??_C@_06FKJAAAAK@onload@ DB 'onload', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03ONKLGNNH@del@
CONST SEGMENT
??_C@_03ONKLGNNH@del@ DB 'del', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03NOMOFEHF@ins@
CONST SEGMENT
??_C@_03NOMOFEHF@ins@ DB 'ins', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04POCOPAPC@face@
CONST SEGMENT
??_C@_04POCOPAPC@face@ DB 'face', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05PEENBMOG@color@
CONST SEGMENT
??_C@_05PEENBMOG@color@ DB 'color', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IAGNFIBA@size@
CONST SEGMENT
??_C@_04IAGNFIBA@size@ DB 'size', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FFHHDLMH@nohref@
CONST SEGMENT
??_C@_06FFHHDLMH@nohref@ DB 'nohref', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06EIMOCAMN@vspace@
CONST SEGMENT
??_C@_06EIMOCAMN@vspace@ DB 'vspace', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HPCPMHFO@hspace@
CONST SEGMENT
??_C@_06HPCPMHFO@hspace@ DB 'hspace', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05CBJPDLOK@align@
CONST SEGMENT
??_C@_05CBJPDLOK@align@ DB 'align', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IGKADHGO@width@
CONST SEGMENT
??_C@_05IGKADHGO@width@ DB 'width', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LNLHEAAG@height@
CONST SEGMENT
??_C@_06LNLHEAAG@height@ DB 'height', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07NEJBDDEA@archive@
CONST SEGMENT
??_C@_07NEJBDDEA@archive@ DB 'archive', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08HMEGOPJI@codebase@
CONST SEGMENT
??_C@_08HMEGOPJI@codebase@ DB 'codebase', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05LJDNNBIK@param@
CONST SEGMENT
??_C@_05LJDNNBIK@param@ DB 'param', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MEHLAELG@clear@
CONST SEGMENT
??_C@_05MEHLAELG@clear@ DB 'clear', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03LOJEKLML@src@
CONST SEGMENT
??_C@_03LOJEKLML@src@ DB 'src', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03FHLPDODD@alt@
CONST SEGMENT
??_C@_03FHLPDODD@alt@ DB 'alt', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MBNFPKFL@cols@
CONST SEGMENT
??_C@_04MBNFPKFL@cols@ DB 'cols', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IMCGAIPI@rows@
CONST SEGMENT
??_C@_04IMCGAIPI@rows@ DB 'rows', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06JJLAMBGK@target@
CONST SEGMENT
??_C@_06JJLAMBGK@target@ DB 'target', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PAKCKPPO@onblur@
CONST SEGMENT
??_C@_06PAKCKPPO@onblur@ DB 'onblur', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07PCOLHBIB@onfocus@
CONST SEGMENT
??_C@_07PCOLHBIB@onfocus@ DB 'onfocus', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08KAJGIJLO@tabindex@
CONST SEGMENT
??_C@_08KAJGIJLO@tabindex@ DB 'tabindex', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LAPHAKDE@coords@
CONST SEGMENT
??_C@_06LAPHAKDE@coords@ DB 'coords', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05KFCIHKGL@shape@
CONST SEGMENT
??_C@_05KFCIHKGL@shape@ DB 'shape', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09KPFGNPLK@accesskey@
CONST SEGMENT
??_C@_09KPFGNPLK@accesskey@ DB 'accesskey', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CIPEJPEP@rev@
CONST SEGMENT
??_C@_03CIPEJPEP@rev@ DB 'rev', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03JINJGFJE@rel@
CONST SEGMENT
??_C@_03JINJGFJE@rel@ DB 'rel', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08KALGMAGF@hreflang@
CONST SEGMENT
??_C@_08KALGMAGF@hreflang@ DB 'hreflang', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04CMBCJJJD@href@
CONST SEGMENT
??_C@_04CMBCJJJD@href@ DB 'href', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MEMAJGDJ@name@
CONST SEGMENT
??_C@_04MEMAJGDJ@name@ DB 'name', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GPMDFGEJ@type@
CONST SEGMENT
??_C@_04GPMDFGEJ@type@ DB 'type', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07EAJPFAFH@charset@
CONST SEGMENT
??_C@_07EAJPFAFH@charset@ DB 'charset', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07BAEMJOMG@onkeyup@
CONST SEGMENT
??_C@_07BAEMJOMG@onkeyup@ DB 'onkeyup', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09HFCNBPMA@onkeydown@
CONST SEGMENT
??_C@_09HFCNBPMA@onkeydown@ DB 'onkeydown', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@HBNKHJBD@onkeypress@
CONST SEGMENT
??_C@_0L@HBNKHJBD@onkeypress@ DB 'onkeypress', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@CEIFEFAI@onmouseout@
CONST SEGMENT
??_C@_0L@CEIFEFAI@onmouseout@ DB 'onmouseout', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@BMKHHAKK@onmouseover@
CONST SEGMENT
??_C@_0M@BMKHHAKK@onmouseover@ DB 'onmouseover', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09KEIMJDF@onmouseup@
CONST SEGMENT
??_C@_09KEIMJDF@onmouseup@ DB 'onmouseup', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@LPLDHDON@onmousedown@
CONST SEGMENT
??_C@_0M@LPLDHDON@onmousedown@ DB 'onmousedown', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@BPDJNBPF@ondblclick@
CONST SEGMENT
??_C@_0L@BPDJNBPF@ondblclick@ DB 'ondblclick', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07BAILDNBN@onclick@
CONST SEGMENT
??_C@_07BAILDNBN@onclick@ DB 'onclick', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IOHABJIC@lang@
CONST SEGMENT
??_C@_04IOHABJIC@lang@ DB 'lang', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05PHLGJONK@title@
CONST SEGMENT
??_C@_05PHLGJONK@title@ DB 'title', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IAKJCFIM@style@
CONST SEGMENT
??_C@_05IAKJCFIM@style@ DB 'style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05ENKANFLO@class@
CONST SEGMENT
??_C@_05ENKANFLO@class@ DB 'class', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02EGCJHIOB@id@
CONST SEGMENT
??_C@_02EGCJHIOB@id@ DB 'id', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06HFKPFKMP@button@
CONST SEGMENT
??_C@_06HFKPFKMP@button@ DB 'button', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IDCCNNGI@label@
CONST SEGMENT
??_C@_05IDCCNNGI@label@ DB 'label', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08DEBIGDAL@textarea@
CONST SEGMENT
??_C@_08DEBIGDAL@textarea@ DB 'textarea', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LGNCCACI@select@
CONST SEGMENT
??_C@_06LGNCCACI@select@ DB 'select', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DFJCHPDH@input@
CONST SEGMENT
??_C@_05DFJCHPDH@input@ DB 'input', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PKBNCBKI@iframe@
CONST SEGMENT
??_C@_06PKBNCBKI@iframe@ DB 'iframe', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03OCCPALPP@bdo@
CONST SEGMENT
??_C@_03OCCPALPP@bdo@ DB 'bdo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04FOPLNFFP@span@
CONST SEGMENT
??_C@_04FOPLNFFP@span@ DB 'span', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03NKDEPMNM@sup@
CONST SEGMENT
??_C@_03NKDEPMNM@sup@ DB 'sup', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03KCMAIMAP@sub@
CONST SEGMENT
??_C@_03KCMAIMAP@sub@ DB 'sub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01IIACKFLH@q@
CONST SEGMENT
??_C@_01IIACKFLH@q@ DB 'q', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03HBNNNHNM@map@
CONST SEGMENT
??_C@_03HBNNNHNM@map@ DB 'map', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OLONEIEH@script@
CONST SEGMENT
??_C@_06OLONEIEH@script@ DB 'script', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FGOECCNH@br@
CONST SEGMENT
??_C@_02FGOECCNH@br@ DB 'br', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08IOLGIJGJ@basefont@
CONST SEGMENT
??_C@_08IOLGIJGJ@basefont@ DB 'basefont', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04EFPADHIC@font@
CONST SEGMENT
??_C@_04EFPADHIC@font@ DB 'font', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06IEOJBDIK@object@
CONST SEGMENT
??_C@_06IEOJBDIK@object@ DB 'object', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05KJAEOLKJ@embed@
CONST SEGMENT
??_C@_05KJAEOLKJ@embed@ DB 'embed', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06MJBNHHFM@applet@
CONST SEGMENT
??_C@_06MJBNHHFM@applet@ DB 'applet', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PCCGDNHJ@img@
CONST SEGMENT
??_C@_03PCCGDNHJ@img@ DB 'img', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01MCMALHOG@a@
CONST SEGMENT
??_C@_01MCMALHOG@a@ DB 'a', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07DBMAFMJI@acronym@
CONST SEGMENT
??_C@_07DBMAFMJI@acronym@ DB 'acronym', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04FKPKGNKN@abbr@
CONST SEGMENT
??_C@_04FKPKGNKN@abbr@ DB 'abbr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04OKBDOCJI@cite@
CONST SEGMENT
??_C@_04OKBDOCJI@cite@ DB 'cite', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03MEPDGFMA@var@
CONST SEGMENT
??_C@_03MEPDGFMA@var@ DB 'var', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03HIFOOBAM@kbd@
CONST SEGMENT
??_C@_03HIFOOBAM@kbd@ DB 'kbd', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GLAFCDBO@samp@
CONST SEGMENT
??_C@_04GLAFCDBO@samp@ DB 'samp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NDFOBODE@code@
CONST SEGMENT
??_C@_04NDFOBODE@code@ DB 'code', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03NNNLLBAM@dfn@
CONST SEGMENT
??_C@_03NNNLLBAM@dfn@ DB 'dfn', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KHACOKFA@strong@
CONST SEGMENT
??_C@_06KHACOKFA@strong@ DB 'strong', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02JOPBDKMM@em@
CONST SEGMENT
??_C@_02JOPBDKMM@em@ DB 'em', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05KJDGBEEG@small@
CONST SEGMENT
??_C@_05KJDGBEEG@small@ DB 'small', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CCCOBCKE@big@
CONST SEGMENT
??_C@_03CCCOBCKE@big@ DB 'big', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LGJEBFOF@strike@
CONST SEGMENT
??_C@_06LGJEBFOF@strike@ DB 'strike', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01LKDEMHDF@s@
CONST SEGMENT
??_C@_01LKDEMHDF@s@ DB 's', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01OMGOGALD@u@
CONST SEGMENT
??_C@_01OMGOGALD@u@ DB 'u', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01OJONOECF@b@
CONST SEGMENT
??_C@_01OJONOECF@b@ DB 'b', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01KBJDNOO@i@
CONST SEGMENT
??_C@_01KBJDNOO@i@ DB 'i', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02BIBFFKJD@tt@
CONST SEGMENT
??_C@_02BIBFFKJD@tt@ DB 'tt', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07LHEPONKL@address@
CONST SEGMENT
??_C@_07LHEPONKL@address@ DB 'address', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08EPOEGPEK@fieldset@
CONST SEGMENT
??_C@_08EPOEGPEK@fieldset@ DB 'fieldset', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05LCLENNFI@table@
CONST SEGMENT
??_C@_05LCLENNFI@table@ DB 'table', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FLHDKHAB@hr@
CONST SEGMENT
??_C@_02FLHDKHAB@hr@ DB 'hr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07JMLOFMGP@isindex@
CONST SEGMENT
??_C@_07JMLOFMGP@isindex@ DB 'isindex', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MLMMMEIO@form@
CONST SEGMENT
??_C@_04MLMMMEIO@form@ DB 'form', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@NKGPHNMG@blockquote@
CONST SEGMENT
??_C@_0L@NKGPHNMG@blockquote@ DB 'blockquote', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08NAAIELI@noframes@
CONST SEGMENT
??_C@_08NAAIELI@noframes@ DB 'noframes', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08NOCGLLG@noscript@
CONST SEGMENT
??_C@_08NOCGLLG@noscript@ DB 'noscript', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BBLOAEEI@center@
CONST SEGMENT
??_C@_06BBLOAEEI@center@ DB 'center', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03FEJMGOGI@div@
CONST SEGMENT
??_C@_03FEJMGOGI@div@ DB 'div', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02IGCIGBLK@dl@
CONST SEGMENT
??_C@_02IGCIGBLK@dl@ DB 'dl', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01JBBJJEPG@p@
CONST SEGMENT
??_C@_01JBBJJEPG@p@ DB 'p', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PKHLKDKD@pre@
CONST SEGMENT
??_C@_03PKHLKDKD@pre@ DB 'pre', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04EEIGNHLG@menu@
CONST SEGMENT
??_C@_04EEIGNHLG@menu@ DB 'menu', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03DAPAKLGM@dir@
CONST SEGMENT
??_C@_03DAPAKLGM@dir@ DB 'dir', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02IKHNIOFL@ol@
CONST SEGMENT
??_C@_02IKHNIOFL@ol@ DB 'ol', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02JLMMKIPN@ul@
CONST SEGMENT
??_C@_02JLMMKIPN@ul@ DB 'ul', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02MPGGCNAA@h6@
CONST SEGMENT
??_C@_02MPGGCNAA@h6@ DB 'h6', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02OEELHOMD@h5@
CONST SEGMENT
??_C@_02OEELHOMD@h5@ DB 'h5', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02PNFAEPIC@h4@
CONST SEGMENT
??_C@_02PNFAEPIC@h4@ DB 'h4', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02LCBBNJEF@h3@
CONST SEGMENT
??_C@_02LCBBNJEF@h3@ DB 'h3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02KLAKOIAE@h2@
CONST SEGMENT
??_C@_02KLAKOIAE@h2@ DB 'h2', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02IACHLLMH@h1@
CONST SEGMENT
??_C@_02IACHLLMH@h1@ DB 'h1', 00H ; `string'
CONST ENDS
CONST SEGMENT
_html_flow DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD 00H
_html_inline DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD 00H
_html_pcdata DD 00H
_core_i18n_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD 00H
_html_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD 00H
_core_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD 00H
_i18n_attrs DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD 00H
_a_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_07EAJPFAFH@charset@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_04CMBCJJJD@href@
DD FLAT:??_C@_08KALGMAGF@hreflang@
DD FLAT:??_C@_03JINJGFJE@rel@
DD FLAT:??_C@_03CIPEJPEP@rev@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD FLAT:??_C@_05KFCIHKGL@shape@
DD FLAT:??_C@_06LAPHAKDE@coords@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD 00H
_target_attr DD FLAT:??_C@_06JJLAMBGK@target@
DD 00H
_rows_cols_attr DD FLAT:??_C@_04IMCGAIPI@rows@
DD FLAT:??_C@_04MBNFPKFL@cols@
DD 00H
_alt_attr DD FLAT:??_C@_03FHLPDODD@alt@
DD 00H
_src_alt_attrs DD FLAT:??_C@_03LOJEKLML@src@
DD FLAT:??_C@_03FHLPDODD@alt@
DD 00H
_href_attrs DD FLAT:??_C@_04CMBCJJJD@href@
DD 00H
_clear_attrs DD FLAT:??_C@_05MEHLAELG@clear@
DD 00H
_area_attrs DD FLAT:??_C@_05KFCIHKGL@shape@
DD FLAT:??_C@_06LAPHAKDE@coords@
DD FLAT:??_C@_04CMBCJJJD@href@
DD FLAT:??_C@_06FFHHDLMH@nohref@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD 00H
_inline_p DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
_basefont_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_04IAGNFIBA@size@
DD FLAT:??_C@_05PEENBMOG@color@
DD FLAT:??_C@_04POCOPAPC@face@
DD 00H
_flow_param DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_05LJDNNBIK@param@
DD 00H
_applet_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_08HMEGOPJI@codebase@
DD FLAT:??_C@_07NEJBDDEA@archive@
DD FLAT:??_C@_03FHLPDODD@alt@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_06LNLHEAAG@height@
DD FLAT:??_C@_05IGKADHGO@width@
DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_06HPCPMHFO@hspace@
DD FLAT:??_C@_06EIMOCAMN@vspace@
DD 00H
_body_depr DD FLAT:??_C@_0L@EGCKCJDC@background@
DD FLAT:??_C@_07PMHCLHIB@bgcolor@
DD FLAT:??_C@_04CIMGMMMG@text@
DD FLAT:??_C@_04OHHBHOGB@link@
DD FLAT:??_C@_05ENOKMGAD@vlink@
DD FLAT:??_C@_05FDDJPECA@alink@
DD 00H
_quote_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD 00H
_dl_contents DD FLAT:??_C@_02EDDPJOD@dt@
DD FLAT:??_C@_02EOPBOLLC@dd@
DD 00H
_body_contents DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_03NOMOFEHF@ins@
DD FLAT:??_C@_03ONKLGNNH@del@
DD 00H
_body_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_06FKJAAAAK@onload@
DD FLAT:??_C@_08KEOAPEKG@onunload@
DD 00H
_button_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_05MFEJDJP@value@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD 00H
_col_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_05IGKADHGO@width@
DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_04ENMBGAPA@char@
DD FLAT:??_C@_07CAOCHGPK@charoff@
DD FLAT:??_C@_06ICIJKACG@valign@
DD 00H
_col_elt DD FLAT:??_C@_03HNOLNALI@col@
DD 00H
_edit_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_08FGNPMIBK@datetime@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD 00H
_compact_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_07HGKHBOGE@compact@
DD 00H
_compact_attr DD FLAT:??_C@_07HGKHBOGE@compact@
DD 00H
_label_attr DD FLAT:??_C@_05IDCCNNGI@label@
DD 00H
_frame_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_08BMDPBLHN@longdesc@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_03LOJEKLML@src@
DD FLAT:??_C@_0M@GPMBJNCP@frameborder@
DD FLAT:??_C@_0M@LFIDEBFM@marginwidth@
DD FLAT:??_C@_0N@HFFDDCPA@marginheight@
DD FLAT:??_C@_08BOOCAMGJ@noresize@
DD FLAT:??_C@_09PKEBEIDM@scrolling@
DD 00H
_fieldset_contents DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_06BCIOHMBM@legend@
_font_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04IAGNFIBA@size@
DD FLAT:??_C@_05PEENBMOG@color@
DD FLAT:??_C@_04POCOPAPC@face@
DD 00H
_form_contents DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD 00H
_form_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_06GABBCIBA@method@
DD FLAT:??_C@_07BCBJKKO@enctype@
DD FLAT:??_C@_06MPKMECK@accept@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_08PPMJAGMH@onsubmit@
DD FLAT:??_C@_07CDGCELIF@onreset@
DD FLAT:??_C@_0P@IIOBAHEN@accept?9charset@
DD 00H
_frameset_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IMCGAIPI@rows@
DD FLAT:??_C@_04MBNFPKFL@cols@
DD FLAT:??_C@_06FKJAAAAK@onload@
DD FLAT:??_C@_08KEOAPEKG@onunload@
DD 00H
_frameset_contents DD FLAT:??_C@_08GMEGJMDB@frameset@
DD FLAT:??_C@_05MIJNFGED@frame@
DD FLAT:??_C@_08NAAIELI@noframes@
DD 00H
_head_attrs DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07LNMDFKEJ@profile@
DD 00H
_head_contents DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_04BHIIPFEC@base@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_04HLJJCGEF@meta@
DD FLAT:??_C@_04OHHBHOGB@link@
DD FLAT:??_C@_06IEOJBDIK@object@
DD 00H
_hr_depr DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_07NCHIIBII@noshade@
DD FLAT:??_C@_04IAGNFIBA@size@
DD FLAT:??_C@_05IGKADHGO@width@
DD 00H
_version_attr DD FLAT:??_C@_07CPCPJPKL@version@
DD 00H
_html_content DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_04IEJGKNJ@body@
DD FLAT:??_C@_08GMEGJMDB@frameset@
DD 00H
_iframe_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_08BMDPBLHN@longdesc@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_03LOJEKLML@src@
DD FLAT:??_C@_0M@GPMBJNCP@frameborder@
DD FLAT:??_C@_0M@LFIDEBFM@marginwidth@
DD FLAT:??_C@_0N@HFFDDCPA@marginheight@
DD FLAT:??_C@_09PKEBEIDM@scrolling@
DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_06LNLHEAAG@height@
DD FLAT:??_C@_05IGKADHGO@width@
DD 00H
_meta_attrs DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_0L@NALBGOHO@http?9equiv@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_06MMEMGLOP@scheme@
DD FLAT:??_C@_07EAJPFAFH@charset@
DD 00H
_img_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_08BMDPBLHN@longdesc@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_06LNLHEAAG@height@
DD FLAT:??_C@_05IGKADHGO@width@
DD FLAT:??_C@_06KPMBKPGA@usemap@
DD FLAT:??_C@_05HANCGNOO@ismap@
DD 00H
_embed_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_03FHLPDODD@alt@
DD FLAT:??_C@_06ODFLABIG@border@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_08HMEGOPJI@codebase@
DD FLAT:??_C@_0M@GPMBJNCP@frameborder@
DD FLAT:??_C@_06LNLHEAAG@height@
DD FLAT:??_C@_06JIKFICKK@hidden@
DD FLAT:??_C@_06HPCPMHFO@hspace@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_07JKIHKJOO@palette@
DD FLAT:??_C@_0M@GDAEHHFP@pluginspace@
DD FLAT:??_C@_09DBOPNCLL@pluginurl@
DD FLAT:??_C@_03LOJEKLML@src@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_05CCBEFJDC@units@
DD FLAT:??_C@_06EIMOCAMN@vspace@
DD FLAT:??_C@_05IGKADHGO@width@
DD 00H
_object_depr DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_06ODFLABIG@border@
DD FLAT:??_C@_06HPCPMHFO@hspace@
DD FLAT:??_C@_06EIMOCAMN@vspace@
DD 00H
_input_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_05MFEJDJP@value@
DD FLAT:??_C@_07FJOBMBFC@checked@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD FLAT:??_C@_08JOKHDEJH@readonly@
DD FLAT:??_C@_04IAGNFIBA@size@
DD FLAT:??_C@_09GGMBJIEG@maxlength@
DD FLAT:??_C@_03LOJEKLML@src@
DD FLAT:??_C@_03FHLPDODD@alt@
DD FLAT:??_C@_06KPMBKPGA@usemap@
DD FLAT:??_C@_05HANCGNOO@ismap@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD FLAT:??_C@_08ILAMBHAE@onselect@
DD FLAT:??_C@_08CLANFAGI@onchange@
DD FLAT:??_C@_06MPKMECK@accept@
DD 00H
_prompt_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_06FJNEHIA@prompt@
DD 00H
_param_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05MFEJDJP@value@
DD FLAT:??_C@_09JLAJHNIL@valuetype@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD 00H
_label_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_03JOHEBPFF@for@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD 00H
_legend_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD 00H
_align_attr DD FLAT:??_C@_05CBJPDLOK@align@
DD 00H
_select_content DD FLAT:??_C@_08KGPIHINJ@optgroup@
DD FLAT:??_C@_06OGMGCFPO@option@
DD 00H
_link_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_07EAJPFAFH@charset@
DD FLAT:??_C@_04CMBCJJJD@href@
DD FLAT:??_C@_08KALGMAGF@hreflang@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_03JINJGFJE@rel@
DD FLAT:??_C@_03CIPEJPEP@rev@
DD FLAT:??_C@_05CECBHAPI@media@
DD 00H
_style_attrs DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_05CECBHAPI@media@
DD FLAT:??_C@_05PHLGJONK@title@
DD 00H
_map_contents DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_04GOEDGNCF@area@
DD 00H
_name_attr DD FLAT:??_C@_04MEMAJGDJ@name@
DD 00H
_action_attr DD FLAT:??_C@_06DDLLCOJG@action@
DD 00H
_blockli_elt DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02PFEMMEEH@li@
DD 00H
_content_attr DD FLAT:??_C@_07ICAJMOAO@content@
DD 00H
_type_attr DD FLAT:??_C@_04GPMDFGEJ@type@
DD 00H
_noframes_content DD FLAT:??_C@_04IEJGKNJ@body@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD 00H
_table_depr DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_07PMHCLHIB@bgcolor@
DD 00H
_object_contents DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_07JMLOFMGP@isindex@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_05KJAEOLKJ@embed@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_05DFJCHPDH@input@
DD FLAT:??_C@_06LGNCCACI@select@
DD FLAT:??_C@_08DEBIGDAL@textarea@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_05LJDNNBIK@param@
DD 00H
_th_td_depr DD FLAT:??_C@_06KMFGCGJP@nowrap@
DD FLAT:??_C@_07PMHCLHIB@bgcolor@
DD FLAT:??_C@_05IGKADHGO@width@
DD FLAT:??_C@_06LNLHEAAG@height@
DD 00H
_object_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_07JDFLJJH@declare@
DD FLAT:??_C@_07MKGILGMB@classid@
DD FLAT:??_C@_08HMEGOPJI@codebase@
DD FLAT:??_C@_04PJOLNDGD@data@
DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_08EANEMJD@codetype@
DD FLAT:??_C@_07NEJBDDEA@archive@
DD FLAT:??_C@_07EEGFOKKL@standby@
DD FLAT:??_C@_06LNLHEAAG@height@
DD FLAT:??_C@_05IGKADHGO@width@
DD FLAT:??_C@_06KPMBKPGA@usemap@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD 00H
_ol_attrs DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_07HGKHBOGE@compact@
DD FLAT:??_C@_05FAGFPHJG@start@
DD 00H
_option_elt DD FLAT:??_C@_06OGMGCFPO@option@
DD 00H
_tr_contents DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02FCNHEIMC@td@
DD 00H
_optgroup_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD 00H
_ul_depr DD FLAT:??_C@_04GPMDFGEJ@type@
DD FLAT:??_C@_07HGKHBOGE@compact@
DD 00H
_option_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_08CJLOJPNI@selected@
DD FLAT:??_C@_05MFEJDJP@value@
DD 00H
_width_attr DD FLAT:??_C@_05IGKADHGO@width@
DD 00H
_pre_content DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_06OLONEIEH@script@
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD 00H
_script_attrs DD FLAT:??_C@_07EAJPFAFH@charset@
DD FLAT:??_C@_03LOJEKLML@src@
DD FLAT:??_C@_05MBNCFBEN@defer@
DD FLAT:??_C@_05GFHEIIDD@event@
DD FLAT:??_C@_03JOHEBPFF@for@
DD 00H
_language_attr DD FLAT:??_C@_08JGCCIMAA@language@
DD 00H
_htmlNoContentElements DD FLAT:??_C@_04PNIFHPHN@html@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
_select_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_04IAGNFIBA@size@
DD FLAT:??_C@_08CKJFGDBG@multiple@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD FLAT:??_C@_08CLANFAGI@onchange@
DD 00H
_table_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_07PJIIAIPG@summary@
DD FLAT:??_C@_05IGKADHGO@width@
DD FLAT:??_C@_06ODFLABIG@border@
DD FLAT:??_C@_05MIJNFGED@frame@
DD FLAT:??_C@_05CBLPGGM@rules@
DD FLAT:??_C@_0M@HGLPBPKF@cellspacing@
DD FLAT:??_C@_0M@NLHEMCJP@cellpadding@
DD FLAT:??_C@_0N@LOJCLIGN@datapagesize@
DD 00H
_table_contents DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD FLAT:??_C@_05DDLACFIC@thead@
DD FLAT:??_C@_05KDGBEENM@tfoot@
DD FLAT:??_C@_05OPBKHDLA@tbody@
DD FLAT:??_C@_02EOEPPNBF@tr@
DD 00H
_tr_elt DD FLAT:??_C@_02EOEPPNBF@tr@
DD 00H
_talign_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_04ENMBGAPA@char@
DD FLAT:??_C@_07CAOCHGPK@charoff@
DD FLAT:??_C@_06ICIJKACG@valign@
DD 00H
_th_td_attr DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_04HABAAEPG@axis@
DD FLAT:??_C@_07LANIGEJC@headers@
DD FLAT:??_C@_05DCCHDMEJ@scope@
DD FLAT:??_C@_07HIFHGKLD@rowspan@
DD FLAT:??_C@_07KBFHKJFO@colspan@
DD FLAT:??_C@_05CBJPDLOK@align@
DD FLAT:??_C@_04ENMBGAPA@char@
DD FLAT:??_C@_07CAOCHGPK@charoff@
DD FLAT:??_C@_06ICIJKACG@valign@
DD 00H
_textarea_attrs DD FLAT:??_C@_02EGCJHIOB@id@
DD FLAT:??_C@_05ENKANFLO@class@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_04MEMAJGDJ@name@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD FLAT:??_C@_08JOKHDEJH@readonly@
DD FLAT:??_C@_08KAJGIJLO@tabindex@
DD FLAT:??_C@_09KPFGNPLK@accesskey@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD FLAT:??_C@_08ILAMBHAE@onselect@
DD FLAT:??_C@_08CLANFAGI@onchange@
DD 00H
_bgcolor_attr DD FLAT:??_C@_07PMHCLHIB@bgcolor@
DD 00H
_li_elt DD FLAT:??_C@_02PFEMMEEH@li@
DD 00H
_dir_attr DD FLAT:??_C@_03DAPAKLGM@dir@
DD 00H
ORG $+4
_html40ElementTable DD FLAT:??_C@_01MCMALHOG@a@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_07NLIDIJLK@anchor?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_a_attrs
DD FLAT:_target_attr
DD 00H
DD FLAT:??_C@_04FKPKGNKN@abbr@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BB@OPBMKOHB@abbreviated?5form@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_07DBMAFMJI@acronym@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_00CNPNBAHC@@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_07LHEPONKL@address@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BH@PNOGHPJ@information?5on?5author?5@
DD FLAT:_inline_p
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06MJBNHHFM@applet@
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
DB 01H
DB 02H
ORG $+1
DD FLAT:??_C@_0N@LANOFEKD@java?5applet?5@
DD FLAT:_flow_param
DD 00H
DD 00H
DD FLAT:_applet_attrs
DD 00H
DD FLAT:??_C@_04GOEDGNCF@area@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BM@EIGPEHBO@client?9side?5image?5map?5area?5@
DD 00H
DD 00H
DD FLAT:_area_attrs
DD FLAT:_target_attr
DD FLAT:_alt_attr
DD FLAT:??_C@_01OJONOECF@b@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BA@NADNLNKK@bold?5text?5style@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_04BHIIPFEC@base@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BD@JABNPIOC@document?5base?5uri?5@
DD 00H
DD 00H
DD 00H
DD FLAT:_target_attr
DD FLAT:_href_attrs
DD FLAT:??_C@_08IOLGIJGJ@basefont@
DB 00H
DB 02H
DB 02H
DB 01H
DB 01H
DB 01H
DB 01H
ORG $+1
DD FLAT:??_C@_0BA@OGIGFOOK@base?5font?5size?5@
DD 00H
DD 00H
DD 00H
DD FLAT:_basefont_attrs
DD 00H
DD FLAT:??_C@_03OCCPALPP@bdo@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BF@EJIKDIMB@i18n?5bidi?5over?9ride?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_core_i18n_attrs
DD 00H
DD FLAT:_dir_attr
DD FLAT:??_C@_03CCCOBCKE@big@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BB@BAJOIDME@large?5text?5style@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BA@KOLCJLFL@long?5quotation?5@
DD FLAT:_html_flow
DD 00H
DD FLAT:_quote_attrs
DD 00H
DD 00H
DD FLAT:??_C@_04IEJGKNJ@body@
DB 01H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0P@MOMBBGBM@document?5body?5@
DD FLAT:_body_contents
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:_body_attrs
DD FLAT:_body_depr
DD 00H
DD FLAT:??_C@_02FGOECCNH@br@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BD@EKEEJOJN@forced?5line?5break?5@
DD 00H
DD 00H
DD FLAT:_core_attrs
DD FLAT:_clear_attrs
DD 00H
DD FLAT:??_C@_06HFKPFKMP@button@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
ORG $+1
DD FLAT:??_C@_0N@NFGALFIH@push?5button?5@
DD FLAT:_html_flow
DD 00H
DD FLAT:_button_attrs
DD 00H
DD 00H
DD FLAT:??_C@_07BANDPJOM@caption@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0P@LNCJOIOH@table?5caption?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06BBLOAEEI@center@
DB 00H
DB 03H
DB 00H
DB 00H
DB 01H
DB 01H
DB 00H
ORG $+1
DD FLAT:??_C@_0CA@LHLKAMHN@shorthand?5for?5div?5align?$DNcenter?5@
DD FLAT:_html_flow
DD 00H
DD 00H
DD FLAT:_html_attrs
DD 00H
DD FLAT:??_C@_04OKBDOCJI@cite@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_08JKLKPBNF@citation@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_04NDFOBODE@code@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BH@LEOBKMKN@computer?5code?5fragment@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_03HNOLNALI@col@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0O@FGGFNENO@table?5column?5@
DD 00H
DD 00H
DD FLAT:_col_attrs
DD 00H
DD 00H
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BE@LOIFNDJE@table?5column?5group?5@
DD FLAT:_col_elt
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:_col_attrs
DD 00H
DD 00H
DD FLAT:??_C@_02EOPBOLLC@dd@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BI@HABKMEJP@definition?5description?5@
DD FLAT:_html_flow
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_03ONKLGNNH@del@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
ORG $+1
DD FLAT:??_C@_0O@HPOOFJNH@deleted?5text?5@
DD FLAT:_html_flow
DD 00H
DD FLAT:_edit_attrs
DD 00H
DD 00H
DD FLAT:??_C@_03NNNLLBAM@dfn@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BE@BOOBDIMI@instance?5definition@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_03DAPAKLGM@dir@
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
DB 01H
DB 00H
ORG $+1
DD FLAT:??_C@_0P@IKNDKLJF@directory?5list@
DD FLAT:_blockli_elt
DD FLAT:??_C@_02PFEMMEEH@li@
DD 00H
DD FLAT:_compact_attrs
DD 00H
DD FLAT:??_C@_03FEJMGOGI@div@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0CB@MBOOJGEG@generic?5language?1style?5containe@
DD FLAT:_html_flow
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02IGCIGBLK@dl@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BB@MIKJLFPH@definition?5list?5@
DD FLAT:_dl_contents
DD FLAT:??_C@_02EOPBOLLC@dd@
DD FLAT:_html_attrs
DD FLAT:_compact_attr
DD 00H
DD FLAT:??_C@_02EDDPJOD@dt@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BB@EJJHCHJK@definition?5term?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_02JOPBDKMM@em@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_08NCOPEMNJ@emphasis@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_05KJAEOLKJ@embed@
DB 00H
DB 01H
DB 00H
DB 00H
DB 01H
DB 01H
DB 01H
ORG $+1
DD FLAT:??_C@_0BJ@EHDFJKJB@generic?5embedded?5object?5@
DD 00H
DD 00H
DD FLAT:_embed_attrs
DD 00H
DD 00H
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BE@NIBLILIK@form?5control?5group?5@
DD FLAT:_fieldset_contents
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_04EFPADHIC@font@
DB 00H
DB 03H
DB 00H
DB 00H
DB 01H
DB 01H
DB 01H
ORG $+1
DD FLAT:??_C@_0BG@MPBFEMBF@local?5change?5to?5font?5@
DD FLAT:_html_inline
DD 00H
DD 00H
DD FLAT:_font_attrs
DD 00H
DD FLAT:??_C@_04MLMMMEIO@form@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BC@CONPLKGA@interactive?5form?5@
DD FLAT:_form_contents
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:_form_attrs
DD FLAT:_target_attr
DD FLAT:_action_attr
DD FLAT:??_C@_05MIJNFGED@frame@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 02H
DB 00H
ORG $+1
DD FLAT:??_C@_0L@NAMFAOCF@subwindow?5@
DD 00H
DD 00H
DD 00H
DD FLAT:_frame_attrs
DD 00H
DD FLAT:??_C@_08GMEGJMDB@frameset@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
DB 00H
ORG $+1
DD FLAT:??_C@_0BD@NKGGDHCH@window?5subdivision@
DD FLAT:_frameset_contents
DD FLAT:??_C@_08NAAIELI@noframes@
DD 00H
DD FLAT:_frameset_attrs
DD 00H
DD FLAT:??_C@_02IACHLLMH@h1@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_08EPCFAACE@heading?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02KLAKOIAE@h2@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_08EPCFAACE@heading?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02LCBBNJEF@h3@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_08EPCFAACE@heading?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02PNFAEPIC@h4@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_08EPCFAACE@heading?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02OEELHOMD@h5@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_08EPCFAACE@heading?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02MPGGCNAA@h6@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_08EPCFAACE@heading?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_04NEODDMOL@head@
DB 01H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0P@GMKONMK@document?5head?5@
DD FLAT:_head_contents
DD 00H
DD FLAT:_head_attrs
DD 00H
DD 00H
DD FLAT:??_C@_02FLHDKHAB@hr@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BB@GBCDCJBE@horizontal?5rule?5@
DD 00H
DD 00H
DD FLAT:_html_attrs
DD FLAT:_hr_depr
DD 00H
DD FLAT:??_C@_04PNIFHPHN@html@
DB 01H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BH@MPDMFBKE@document?5root?5element?5@
DD FLAT:_html_content
DD 00H
DD FLAT:_i18n_attrs
DD FLAT:_version_attr
DD 00H
DD FLAT:??_C@_01KBJDNOO@i@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BC@JCIMLGAN@italic?5text?5style@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06PKBNCBKI@iframe@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
DB 02H
ORG $+1
DD FLAT:??_C@_0BC@BHNEGLHO@inline?5subwindow?5@
DD FLAT:_html_flow
DD 00H
DD 00H
DD FLAT:_iframe_attrs
DD 00H
DD FLAT:??_C@_03PCCGDNHJ@img@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BA@OHBCJHIG@embedded?5image?5@
DD 00H
DD 00H
DD FLAT:_img_attrs
DD FLAT:_align_attr
DD FLAT:_src_alt_attrs
DD FLAT:??_C@_05DFJCHPDH@input@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0O@HMLFLPEN@form?5control?5@
DD 00H
DD 00H
DD FLAT:_input_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_03NOMOFEHF@ins@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
ORG $+1
DD FLAT:??_C@_0O@CEDLIJIG@inserted?5text@
DD FLAT:_html_flow
DD 00H
DD FLAT:_edit_attrs
DD 00H
DD 00H
DD FLAT:??_C@_07JMLOFMGP@isindex@
DB 00H
DB 02H
DB 02H
DB 01H
DB 01H
DB 01H
DB 00H
ORG $+1
DD FLAT:??_C@_0BE@NOGKIGME@single?5line?5prompt?5@
DD 00H
DD 00H
DD 00H
DD FLAT:_prompt_attrs
DD 00H
DD FLAT:??_C@_03HIFOOBAM@kbd@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BP@HBOCGMHA@text?5to?5be?5entered?5by?5the?5user@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_05IDCCNNGI@label@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BH@INJKJBGO@form?5field?5label?5text?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_label_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06BCIOHMBM@legend@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BB@LGOCAIB@fieldset?5legend?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_legend_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_02PFEMMEEH@li@
DB 00H
DB 01H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0L@DHBHFPMN@list?5item?5@
DD FLAT:_html_flow
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_04OHHBHOGB@link@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BK@GCIIKCBE@a?5media?9independent?5link?5@
DD 00H
DD 00H
DD FLAT:_link_attrs
DD FLAT:_target_attr
DD 00H
DD FLAT:??_C@_03HBNNNHNM@map@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
ORG $+1
DD FLAT:??_C@_0BH@LIKCJKCB@client?9side?5image?5map?5@
DD FLAT:_map_contents
DD 00H
DD FLAT:_html_attrs
DD 00H
DD FLAT:_name_attr
DD FLAT:??_C@_04EEIGNHLG@menu@
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
DB 01H
DB 00H
ORG $+1
DD FLAT:??_C@_0L@NDLIJHAH@menu?5list?5@
DD FLAT:_blockli_elt
DD 00H
DD 00H
DD FLAT:_compact_attrs
DD 00H
DD FLAT:??_C@_04HLJJCGEF@meta@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BJ@OJDJPIOL@generic?5metainformation?5@
DD 00H
DD 00H
DD FLAT:_meta_attrs
DD 00H
DD FLAT:_content_attr
DD FLAT:??_C@_08NAAIELI@noframes@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
DB 00H
ORG $+1
DD FLAT:??_C@_0DL@IAGMJJEB@alternate?5content?5container?5for@
DD FLAT:_noframes_content
DD FLAT:??_C@_04IEJGKNJ@body@
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_08NOCGLLG@noscript@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0DM@CPJFPKPD@alternate?5content?5container?5for@
DD FLAT:_html_flow
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06IEOJBDIK@object@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
ORG $+1
DD FLAT:??_C@_0BJ@EHDFJKJB@generic?5embedded?5object?5@
DD FLAT:_object_contents
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:_object_attrs
DD FLAT:_object_depr
DD 00H
DD FLAT:??_C@_02IKHNIOFL@ol@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0O@PMECOPH@ordered?5list?5@
DD FLAT:_li_elt
DD FLAT:??_C@_02PFEMMEEH@li@
DD FLAT:_html_attrs
DD FLAT:_ol_attrs
DD 00H
DD FLAT:??_C@_08KGPIHINJ@optgroup@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0O@IBBKJGKJ@option?5group?5@
DD FLAT:_option_elt
DD FLAT:??_C@_06OGMGCFPO@option@
DD FLAT:_optgroup_attrs
DD 00H
DD FLAT:_label_attr
DD FLAT:??_C@_06OGMGCFPO@option@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BD@HJHAAEHL@selectable?5choice?5@
DD FLAT:_html_pcdata
DD 00H
DD FLAT:_option_attrs
DD 00H
DD 00H
DD FLAT:??_C@_01JBBJJEPG@p@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0L@ICLNKGCC@paragraph?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD FLAT:_align_attr
DD 00H
DD FLAT:??_C@_05LJDNNBIK@param@
DB 00H
DB 02H
DB 02H
DB 01H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BG@OGBECHLM@named?5property?5value?5@
DD 00H
DD 00H
DD FLAT:_param_attrs
DD 00H
DD FLAT:_name_attr
DD FLAT:??_C@_03PKHLKDKD@pre@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BD@OKGNAEP@preformatted?5text?5@
DD FLAT:_pre_content
DD 00H
DD FLAT:_html_attrs
DD FLAT:_width_attr
DD 00H
DD FLAT:??_C@_01IIACKFLH@q@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BI@IDGHJEGP@short?5inline?5quotation?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_quote_attrs
DD 00H
DD 00H
DD FLAT:??_C@_01LKDEMHDF@s@
DB 00H
DB 03H
DB 00H
DB 00H
DB 01H
DB 01H
DB 01H
ORG $+1
DD FLAT:??_C@_0BK@GECKKPAM@strike?9through?5text?5style@
DD FLAT:_html_inline
DD 00H
DD 00H
DD FLAT:_html_attrs
DD 00H
DD FLAT:??_C@_04GLAFCDBO@samp@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0CF@MKBFLFJI@sample?5program?5output?0?5scripts?0@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06OLONEIEH@script@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 02H
ORG $+1
DD FLAT:??_C@_0BD@EEALOKGK@script?5statements?5@
DD FLAT:_html_pcdata
DD 00H
DD FLAT:_script_attrs
DD FLAT:_language_attr
DD FLAT:_type_attr
DD FLAT:??_C@_06LGNCCACI@select@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BB@OKAAEBHI@option?5selector?5@
DD FLAT:_select_content
DD 00H
DD FLAT:_select_attrs
DD 00H
DD 00H
DD FLAT:??_C@_05KJDGBEEG@small@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BB@PLNNDOJH@small?5text?5style@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_04FOPLNFFP@span@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0CC@KPKCOJB@generic?5language?1style?5containe@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_06LGJEBFOF@strike@
DB 00H
DB 03H
DB 00H
DB 00H
DB 01H
DB 01H
DB 01H
ORG $+1
DD FLAT:??_C@_0BE@KLPAPDBO@strike?9through?5text@
DD FLAT:_html_inline
DD 00H
DD 00H
DD FLAT:_html_attrs
DD 00H
DD FLAT:??_C@_06KHACOKFA@strong@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BA@HHIAOMPI@strong?5emphasis@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_05IAKJCFIM@style@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0M@LPADJHJK@style?5info?5@
DD FLAT:_html_pcdata
DD 00H
DD FLAT:_style_attrs
DD 00H
DD FLAT:_type_attr
DD FLAT:??_C@_03KCMAIMAP@sub@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_09KAIPOAII@subscript@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_03NKDEPMNM@sup@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0N@LLOPBEAI@superscript?5@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_05LCLENNFI@table@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_00CNPNBAHC@@
DD FLAT:_table_contents
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:_table_attrs
DD FLAT:_table_depr
DD 00H
DD FLAT:??_C@_05OPBKHDLA@tbody@
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0M@COHBKCLJ@table?5body?5@
DD FLAT:_tr_elt
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:_talign_attrs
DD 00H
DD 00H
DD FLAT:??_C@_02FCNHEIMC@td@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BA@OHMNJJHC@table?5data?5cell@
DD FLAT:_html_flow
DD 00H
DD FLAT:_th_td_attr
DD FLAT:_th_td_depr
DD 00H
DD FLAT:??_C@_08DEBIGDAL@textarea@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0BH@ODGBEBOO@multi?9line?5text?5field?5@
DD FLAT:_html_pcdata
DD 00H
DD FLAT:_textarea_attrs
DD 00H
DD FLAT:_rows_cols_attr
DD FLAT:??_C@_05KDGBEENM@tfoot@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0O@HFPJPDFP@table?5footer?5@
DD FLAT:_tr_elt
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:_talign_attrs
DD 00H
DD 00H
DD FLAT:??_C@_02POGCAHMO@th@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BC@CCIFOICB@table?5header?5cell@
DD FLAT:_html_flow
DD 00H
DD FLAT:_th_td_attr
DD FLAT:_th_td_depr
DD 00H
DD FLAT:??_C@_05DDLACFIC@thead@
DB 00H
DB 01H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0O@JOOJEINB@table?5header?5@
DD FLAT:_tr_elt
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:_talign_attrs
DD 00H
DD 00H
DD FLAT:??_C@_05PHLGJONK@title@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BA@CCGKIMBG@document?5title?5@
DD FLAT:_html_pcdata
DD 00H
DD FLAT:_i18n_attrs
DD 00H
DD 00H
DD FLAT:??_C@_02EOEPPNBF@tr@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0L@OLDIHEAD@table?5row?5@
DD FLAT:_tr_contents
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:_talign_attrs
DD FLAT:_bgcolor_attr
DD 00H
DD FLAT:??_C@_02BIBFFKJD@tt@
DB 00H
DB 03H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0CC@HPKPLEFL@teletype?5or?5monospaced?5text?5sty@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
DD FLAT:??_C@_01OMGOGALD@u@
DB 00H
DB 03H
DB 00H
DB 00H
DB 01H
DB 01H
DB 01H
ORG $+1
DD FLAT:??_C@_0BG@NHDOOMEA@underlined?5text?5style@
DD FLAT:_html_inline
DD 00H
DD 00H
DD FLAT:_html_attrs
DD 00H
DD FLAT:??_C@_02JLMMKIPN@ul@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
ORG $+1
DD FLAT:??_C@_0BA@DILGCPPM@unordered?5list?5@
DD FLAT:_li_elt
DD FLAT:??_C@_02PFEMMEEH@li@
DD FLAT:_html_attrs
DD FLAT:_ul_depr
DD 00H
DD FLAT:??_C@_03MEPDGFMA@var@
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
ORG $+1
DD FLAT:??_C@_0CL@IOIBPELD@instance?5of?5a?5variable?5or?5progr@
DD FLAT:_html_inline
DD 00H
DD FLAT:_html_attrs
DD 00H
DD 00H
_htmlStartClose DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_04IEJGKNJ@body@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_04OHHBHOGB@link@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_08GMEGJMDB@frameset@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_05IAKJCFIM@style@
DD FLAT:??_C@_04OHHBHOGB@link@
DD FLAT:??_C@_05PHLGJONK@title@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_02PFEMMEEH@li@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02PFEMMEEH@li@
DD 00H
DD FLAT:??_C@_02FLHDKHAB@hr@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD 00H
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD 00H
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02IGCIGBLK@dl@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_02EDDPJOD@dt@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02EDDPJOD@dt@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02EOPBOLLC@dd@
DD 00H
DD FLAT:??_C@_02EOPBOLLC@dd@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02EDDPJOD@dt@
DD 00H
DD FLAT:??_C@_02JLMMKIPN@ul@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_03DAPAKLGM@dir@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD 00H
DD FLAT:??_C@_02IKHNIOFL@ol@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD 00H
DD FLAT:??_C@_04EEIGNHLG@menu@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02JLMMKIPN@ul@
DD 00H
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_05KJDGBEEG@small@
DD 00H
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_06OLONEIEH@script@
DD 00H
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_05LCLENNFI@table@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_01MCMALHOG@a@
DD 00H
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OMGOGALD@u@
DD 00H
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_01OMGOGALD@u@
DD 00H
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_05DDLACFIC@thead@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD 00H
DD FLAT:??_C@_05KDGBEENM@tfoot@
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD FLAT:??_C@_05DDLACFIC@thead@
DD FLAT:??_C@_05OPBKHDLA@tbody@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_05OPBKHDLA@tbody@
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_02EOEPPNBF@tr@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_03HNOLNALI@col@
DD FLAT:??_C@_08LBGGHKOD@colgroup@
DD FLAT:??_C@_05DDLACFIC@thead@
DD FLAT:??_C@_05KDGBEENM@tfoot@
DD FLAT:??_C@_05OPBKHDLA@tbody@
DD FLAT:??_C@_01JBBJJEPG@p@
DD 00H
DD FLAT:??_C@_08KGPIHINJ@optgroup@
DD FLAT:??_C@_06OGMGCFPO@option@
DD 00H
DD FLAT:??_C@_06OGMGCFPO@option@
DD FLAT:??_C@_06OGMGCFPO@option@
DD 00H
DD FLAT:??_C@_08EPOEGPEK@fieldset@
DD FLAT:??_C@_06BCIOHMBM@legend@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_04NEODDMOL@head@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_07KMIIAGPH@listing@
DD FLAT:??_C@_03BPAAIJBF@xmp@
DD FLAT:??_C@_01MCMALHOG@a@
DD 00H
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03MEPDGFMA@var@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03PCCGDNHJ@img@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_02FGOECCNH@br@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03HBNNNHNM@map@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_04NEODDMOL@head@
DD 00H
DD 00H
_htmlScriptAttributes DD FLAT:??_C@_07BAILDNBN@onclick@
DD FLAT:??_C@_0L@BPDJNBPF@ondblclick@
DD FLAT:??_C@_0M@LPLDHDON@onmousedown@
DD FLAT:??_C@_09KEIMJDF@onmouseup@
DD FLAT:??_C@_0M@BMKHHAKK@onmouseover@
DD FLAT:??_C@_0M@FAJFKCGA@onmousemove@
DD FLAT:??_C@_0L@CEIFEFAI@onmouseout@
DD FLAT:??_C@_0L@HBNKHJBD@onkeypress@
DD FLAT:??_C@_09HFCNBPMA@onkeydown@
DD FLAT:??_C@_07BAEMJOMG@onkeyup@
DD FLAT:??_C@_06FKJAAAAK@onload@
DD FLAT:??_C@_08KEOAPEKG@onunload@
DD FLAT:??_C@_07PCOLHBIB@onfocus@
DD FLAT:??_C@_06PAKCKPPO@onblur@
DD FLAT:??_C@_08PPMJAGMH@onsubmit@
DD FLAT:??_C@_07CDGCELIF@onreset@
DD FLAT:??_C@_08CLANFAGI@onchange@
DD FLAT:??_C@_08ILAMBHAE@onselect@
_htmlEndPriority DD FLAT:??_C@_03FEJMGOGI@div@
DD 096H
DD FLAT:??_C@_02FCNHEIMC@td@
DD 0a0H
DD FLAT:??_C@_02POGCAHMO@th@
DD 0a0H
DD FLAT:??_C@_02EOEPPNBF@tr@
DD 0aaH
DD FLAT:??_C@_05DDLACFIC@thead@
DD 0b4H
DD FLAT:??_C@_05OPBKHDLA@tbody@
DD 0b4H
DD FLAT:??_C@_05KDGBEENM@tfoot@
DD 0b4H
DD FLAT:??_C@_05LCLENNFI@table@
DD 0beH
DD FLAT:??_C@_04NEODDMOL@head@
DD 0c8H
DD FLAT:??_C@_04IEJGKNJ@body@
DD 0c8H
DD FLAT:??_C@_04PNIFHPHN@html@
DD 0dcH
DD 00H
DD 064H
_html40EntitiesTable DD 022H
DD FLAT:??_C@_04KJFGKBNM@quot@
DD FLAT:??_C@_0CK@JDDAPBGE@quotation?5mark?5?$DN?5APL?5quote?0?5U?$CL0@
DD 026H
DD FLAT:??_C@_03DCBBJBAA@amp@
DD FLAT:??_C@_0BJ@FIPLPGNA@ampersand?0?5U?$CL0026?5ISOnum@
DD 027H
DD FLAT:??_C@_04LBCJFAKL@apos@
DD FLAT:??_C@_0N@EHENLBIK@single?5quote@
DD 03cH
DD FLAT:??_C@_02KCAKIFL@lt@
DD FLAT:??_C@_0BO@IKPLCPFL@less?9than?5sign?0?5U?$CL003C?5ISOnum@
DD 03eH
DD FLAT:??_C@_02GHFEHLK@gt@
DD FLAT:??_C@_0CB@INPPCIDE@greater?9than?5sign?0?5U?$CL003E?5ISOnu@
DD 0a0H
DD FLAT:??_C@_04PHHIFBLJ@nbsp@
DD FLAT:??_C@_0DD@LJPHBFKA@no?9break?5space?5?$DN?5non?9breaking?5s@
DD 0a1H
DD FLAT:??_C@_05BNEGCBFC@iexcl@
DD FLAT:??_C@_0CJ@LDCHJPND@inverted?5exclamation?5mark?0?5U?$CL00@
DD 0a2H
DD FLAT:??_C@_04OCKNFIJG@cent@
DD FLAT:??_C@_0BJ@JAJDJOGE@cent?5sign?0?5U?$CL00A2?5ISOnum@
DD 0a3H
DD FLAT:??_C@_05EBEEKLCG@pound@
DD FLAT:??_C@_0BK@CBLMFKEA@pound?5sign?0?5U?$CL00A3?5ISOnum@
DD 0a4H
DD FLAT:??_C@_06HEGEHONB@curren@
DD FLAT:??_C@_0BN@KCBDNOJC@currency?5sign?0?5U?$CL00A4?5ISOnum@
DD 0a5H
DD FLAT:??_C@_03HNOOIABH@yen@
DD FLAT:??_C@_0CE@IIBMKILI@yen?5sign?5?$DN?5yuan?5sign?0?5U?$CL00A5?5IS@
DD 0a6H
DD FLAT:??_C@_06ILPBEBAD@brvbar@
DD FLAT:??_C@_0DA@CCMOAPKD@broken?5bar?5?$DN?5broken?5vertical?5ba@
DD 0a7H
DD FLAT:??_C@_04IKJFFMEH@sect@
DD FLAT:??_C@_0BM@NBPOBBLJ@section?5sign?0?5U?$CL00A7?5ISOnum@
DD 0a8H
DD FLAT:??_C@_03LBNAMJF@uml@
DD FLAT:??_C@_0CN@DADBLGNL@diaeresis?5?$DN?5spacing?5diaeresis?0?5@
DD 0a9H
DD FLAT:??_C@_04COAGEIMF@copy@
DD FLAT:??_C@_0BO@GKHKBHFO@copyright?5sign?0?5U?$CL00A9?5ISOnum@
DD 0aaH
DD FLAT:??_C@_04JPPACPLE@ordf@
DD FLAT:??_C@_0CK@IDODFDJH@feminine?5ordinal?5indicator?0?5U?$CL0@
DD 0abH
DD FLAT:??_C@_05PGIFNFKK@laquo@
DD FLAT:??_C@_0FD@BNFCAIHO@left?9pointing?5double?5angle?5quot@
DD 0acH
DD FLAT:??_C@_03NJKJADM@not@
DD FLAT:??_C@_0BI@BCMLJBGJ@not?5sign?0?5U?$CL00AC?5ISOnum@
DD 0adH
DD FLAT:??_C@_03BPAIHHLG@shy@
DD FLAT:??_C@_0DC@LBOPPEOL@soft?5hyphen?5?$DN?5discretionary?5hyp@
DD 0aeH
DD FLAT:??_C@_03HLCNLMFP@reg@
DD FLAT:??_C@_0DM@GCGJPANE@registered?5sign?5?$DN?5registered?5tr@
DD 0afH
DD FLAT:??_C@_04IMHNEFHF@macr@
DD FLAT:??_C@_0EA@HOMEIEDB@macron?5?$DN?5spacing?5macron?5?$DN?5overl@
DD 0b0H
DD FLAT:??_C@_03OFPLEBM@deg@
DD FLAT:??_C@_0BL@CCCHHGNH@degree?5sign?0?5U?$CL00B0?5ISOnum@
DD 0b1H
DD FLAT:??_C@_06CAEEBBM@plusmn@
DD FLAT:??_C@_0DE@CHKDBJJG@plus?9minus?5sign?5?$DN?5plus?9or?9minus@
DD 0b2H
DD FLAT:??_C@_04GCMPPOHC@sup2@
DD FLAT:??_C@_0EB@LEPBNIBM@superscript?5two?5?$DN?5superscript?5d@
DD 0b3H
DD FLAT:??_C@_04HLNEMPDD@sup3@
DD FLAT:??_C@_0ED@GIKFIKLK@superscript?5three?5?$DN?5superscript@
DD 0b4H
DD FLAT:??_C@_05EEJEIAPO@acute@
DD FLAT:??_C@_0CM@HPINDAMO@acute?5accent?5?$DN?5spacing?5acute?0?5U@
DD 0b5H
DD FLAT:??_C@_05PCPGMEFP@micro@
DD FLAT:??_C@_0BK@KOECHADG@micro?5sign?0?5U?$CL00B5?5ISOnum@
DD 0b6H
DD FLAT:??_C@_04GIAGJOJD@para@
DD FLAT:??_C@_0CN@MOKENOBK@pilcrow?5sign?5?$DN?5paragraph?5sign?0?5@
DD 0b7H
DD FLAT:??_C@_06HHCHNCAA@middot@
DD FLAT:??_C@_0DM@HGAIAHA@middle?5dot?5?$DN?5Georgian?5comma?5Gre@
DD 0b8H
DD FLAT:??_C@_05KLIFGPMF@cedil@
DD FLAT:??_C@_0CJ@ILEJKNLC@cedilla?5?$DN?5spacing?5cedilla?0?5U?$CL00@
DD 0b9H
DD FLAT:??_C@_04EJOCKNLB@sup1@
DD FLAT:??_C@_0DH@CNBAIMGE@superscript?5one?5?$DN?5superscript?5d@
DD 0baH
DD FLAT:??_C@_04HMAEPGHP@ordm@
DD FLAT:??_C@_0CL@FJKJODCC@masculine?5ordinal?5indicator?0?5U?$CL@
DD 0bbH
DD FLAT:??_C@_05MPFJLGEB@raquo@
DD FLAT:??_C@_0FD@EGIHNJHG@right?9pointing?5double?5angle?5quo@
DD 0bcH
DD FLAT:??_C@_06NPFNIPNE@frac14@
DD FLAT:??_C@_0EC@KBCMBOHG@vulgar?5fraction?5one?5quarter?5?$DN?5f@
DD 0bdH
DD FLAT:??_C@_06IJAHCIFC@frac12@
DD FLAT:??_C@_0DM@DIGGMOPD@vulgar?5fraction?5one?5half?5?$DN?5frac@
DD 0beH
DD FLAT:??_C@_06NMNJFLLK@frac34@
DD FLAT:??_C@_0EI@KLKHBCM@vulgar?5fraction?5three?5quarters?5@
DD 0bfH
DD FLAT:??_C@_06JMONPFKG@iquest@
DD FLAT:??_C@_0DN@EEILHCCA@inverted?5question?5mark?5?$DN?5turned@
DD 0c0H
DD FLAT:??_C@_06NNGAMJGH@Agrave@
DD FLAT:??_C@_0FB@KEPDLJAE@latin?5capital?5letter?5A?5with?5gra@
DD 0c1H
DD FLAT:??_C@_06IKEGIAOO@Aacute@
DD FLAT:??_C@_0DC@MHBNMNMK@latin?5capital?5letter?5A?5with?5acu@
DD 0c2H
DD FLAT:??_C@_05LCALGNL@Acirc@
DD FLAT:??_C@_0DH@KHFDKONJ@latin?5capital?5letter?5A?5with?5cir@
DD 0c3H
DD FLAT:??_C@_06KCNKLAAC@Atilde@
DD FLAT:??_C@_0DC@OLJINFKG@latin?5capital?5letter?5A?5with?5til@
DD 0c4H
DD FLAT:??_C@_04IJOIFFGN@Auml@
DD FLAT:??_C@_0DG@FBFBPIGP@latin?5capital?5letter?5A?5with?5dia@
DD 0c5H
DD FLAT:??_C@_05CHPAJHPJ@Aring@
DD FLAT:??_C@_0FF@OIKGDIMD@latin?5capital?5letter?5A?5with?5rin@
DD 0c6H
DD FLAT:??_C@_05GGABFNI@AElig@
DD FLAT:??_C@_0EE@MODCPHBF@latin?5capital?5letter?5AE?5?$DN?5latin@
DD 0c7H
DD FLAT:??_C@_06PCMIHOPM@Ccedil@
DD FLAT:??_C@_0DE@JIEMILBI@latin?5capital?5letter?5C?5with?5ced@
DD 0c8H
DD FLAT:??_C@_06CJCPONHE@Egrave@
DD FLAT:??_C@_0DC@BADGAJKO@latin?5capital?5letter?5E?5with?5gra@
DD 0c9H
DD FLAT:??_C@_06HOAJKEPN@Eacute@
DD FLAT:??_C@_0DC@IDKEOPOP@latin?5capital?5letter?5E?5with?5acu@
DD 0caH
DD FLAT:??_C@_05JALBPEMN@Ecirc@
DD FLAT:??_C@_0DH@CICENEJK@latin?5capital?5letter?5E?5with?5cir@
DD 0cbH
DD FLAT:??_C@_04HMGIPDKN@Euml@
DD FLAT:??_C@_0DG@HBMMEOHM@latin?5capital?5letter?5E?5with?5dia@
DD 0ccH
DD FLAT:??_C@_06OOIPIHAA@Igrave@
DD FLAT:??_C@_0DC@OHCNNALC@latin?5capital?5letter?5I?5with?5gra@
DD 0cdH
DD FLAT:??_C@_06LJKJMOIJ@Iacute@
DD FLAT:??_C@_0DC@HJKBEGLE@latin?5capital?5letter?5I?5with?5acu@
DD 0ceH
DD FLAT:??_C@_05OHHDDELG@Icirc@
DD FLAT:??_C@_0DH@EMKFLPMJ@latin?5capital?5letter?5I?5with?5cir@
DD 0cfH
DD FLAT:??_C@_04LJJIBOKM@Iuml@
DD FLAT:??_C@_0DG@MPAICMBD@latin?5capital?5letter?5I?5with?5dia@
DD 0d0H
DD FLAT:??_C@_03CBGEMLIN@ETH@
DD FLAT:??_C@_0CJ@LDDCJAMI@latin?5capital?5letter?5ETH?0?5U?$CL00D@
DD 0d1H
DD FLAT:??_C@_06FEJCMAOL@Ntilde@
DD FLAT:??_C@_0DC@JKOMNMAH@latin?5capital?5letter?5N?5with?5til@
DD 0d2H
DD FLAT:??_C@_06INFPLCDK@Ograve@
DD FLAT:??_C@_0DC@EGPMPLAO@latin?5capital?5letter?5O?5with?5gra@
DD 0d3H
DD FLAT:??_C@_06NKHJPLLD@Oacute@
DD FLAT:??_C@_0DC@NFGOBNEP@latin?5capital?5letter?5O?5with?5acu@
DD 0d4H
DD FLAT:??_C@_05DBCKNHKL@Ocirc@
DD FLAT:??_C@_0DH@KHBIKCFI@latin?5capital?5letter?5O?5with?5cir@
DD 0d5H
DD FLAT:??_C@_06PCOFMLFP@Otilde@
DD FLAT:??_C@_0DC@PAAAKFFJ@latin?5capital?5letter?5O?5with?5til@
DD 0d6H
DD FLAT:??_C@_04DGNIOLAM@Ouml@
DD FLAT:??_C@_0DG@KGFFNOCC@latin?5capital?5letter?5O?5with?5dia@
DD 0d7H
DD FLAT:??_C@_05MJOOAIJH@times@
DD FLAT:??_C@_0CD@DGCLGCAP@multiplication?5sign?0?5U?$CL00D7?5ISO@
DD 0d8H
DD FLAT:??_C@_06HJKNGHPC@Oslash@
DD FLAT:??_C@_0FA@JOMDMBPL@latin?5capital?5letter?5O?5with?5str@
DD 0d9H
DD FLAT:??_C@_06EOPBHBLK@Ugrave@
DD FLAT:??_C@_0DC@FAAHPKBG@latin?5capital?5letter?5U?5with?5gra@
DD 0daH
DD FLAT:??_C@_06BJNHDIDD@Uacute@
DD FLAT:??_C@_0DC@MJMJLCAF@latin?5capital?5letter?5U?5with?5acu@
DD 0dbH
DD FLAT:??_C@_05JDGHPGFG@Ucirc@
DD FLAT:??_C@_0DH@MPJOGDLJ@latin?5capital?5letter?5U?5with?5cir@
DD 0dcH
DD FLAT:??_C@_04BMIIGECP@Uuml@
DD FLAT:??_C@_0DG@GOPODDHD@latin?5capital?5letter?5U?5with?5dia@
DD 0ddH
DD FLAT:??_C@_06NOHHFCEH@Yacute@
DD FLAT:??_C@_0DC@NGFCNODC@latin?5capital?5letter?5Y?5with?5acu@
DD 0deH
DD FLAT:??_C@_05HDBENHAL@THORN@
DD FLAT:??_C@_0CL@CHGPFKBD@latin?5capital?5letter?5THORN?0?5U?$CL0@
DD 0dfH
DD FLAT:??_C@_05GMKDJMCJ@szlig@
DD FLAT:??_C@_0DF@GONKECDL@latin?5small?5letter?5sharp?5s?5?$DN?5es@
DD 0e0H
DD FLAT:??_C@_06BCNNPAPL@agrave@
DD FLAT:??_C@_0EN@PDCHJIBF@latin?5small?5letter?5a?5with?5grave@
DD 0e1H
DD FLAT:??_C@_06EFPLLJHC@aacute@
DD FLAT:??_C@_0DA@FMJKAKAM@latin?5small?5letter?5a?5with?5acute@
DD 0e2H
DD FLAT:??_C@_05MIMLDON@acirc@
DD FLAT:??_C@_0DF@OHHHJIGO@latin?5small?5letter?5a?5with?5circu@
DD 0e3H
DD FLAT:??_C@_06GNGHIJJO@atilde@
DD FLAT:??_C@_0DA@HABPBCGA@latin?5small?5letter?5a?5with?5tilde@
DD 0e4H
DD FLAT:??_C@_04EICJHKGJ@auml@
DD FLAT:??_C@_0DE@EPMHJDIB@latin?5small?5letter?5a?5with?5diaer@
DD 0e5H
DD FLAT:??_C@_05CAFMJCMP@aring@
DD FLAT:??_C@_0FB@ICHFIEOC@latin?5small?5letter?5a?5with?5ring?5@
DD 0e6H
DD FLAT:??_C@_05MAANDPOK@aelig@
DD FLAT:??_C@_0EA@CAAHFPMH@latin?5small?5letter?5ae?5?$DN?5latin?5s@
DD 0e7H
DD FLAT:??_C@_06DNHFEHGA@ccedil@
DD FLAT:??_C@_0DC@EILMCCNK@latin?5small?5letter?5c?5with?5cedil@
DD 0e8H
DD FLAT:??_C@_06OGJCNEOI@egrave@
DD FLAT:??_C@_0DA@ILLBMOGI@latin?5small?5letter?5e?5with?5grave@
DD 0e9H
DD FLAT:??_C@_06LBLEJNGB@eacute@
DD FLAT:??_C@_0DA@BICDCICJ@latin?5small?5letter?5e?5with?5acute@
DD 0eaH
DD FLAT:??_C@_05JHBNPBPL@ecirc@
DD FLAT:??_C@_0DF@GIAAOCCN@latin?5small?5letter?5e?5with?5circu@
DD 0ebH
DD FLAT:??_C@_04LNKJNMKJ@euml@
DD FLAT:??_C@_0DE@GPFKCFJC@latin?5small?5letter?5e?5with?5diaer@
DD 0ecH
DD FLAT:??_C@_06CBDCLOJM@igrave@
DD FLAT:??_C@_0DA@HMKKBHHE@latin?5small?5letter?5i?5with?5grave@
DD 0edH
DD FLAT:??_C@_06HGBEPHBF@iacute@
DD FLAT:??_C@_0DA@OCCGIBHC@latin?5small?5letter?5i?5with?5acute@
DD 0eeH
DD FLAT:??_C@_05OANPDBIA@icirc@
DD FLAT:??_C@_0DF@MIBIJHO@latin?5small?5letter?5i?5with?5circu@
DD 0efH
DD FLAT:??_C@_04HIFJDBKI@iuml@
DD FLAT:??_C@_0DE@NBJOEHPN@latin?5small?5letter?5i?5with?5diaer@
DD 0f0H
DD FLAT:??_C@_03CMJPAGPB@eth@
DD FLAT:??_C@_0CH@LGCMOCIP@latin?5small?5letter?5eth?0?5U?$CL00F0?5@
DD 0f1H
DD FLAT:??_C@_06JLCPPJHH@ntilde@
DD FLAT:??_C@_0DA@LBLCGIED@latin?5small?5letter?5n?5with?5tilde@
DD 0f2H
DD FLAT:??_C@_06ECOCILKG@ograve@
DD FLAT:??_C@_0DA@GNKCEPEK@latin?5small?5letter?5o?5with?5grave@
DD 0f3H
DD FLAT:??_C@_06BFMEMCCP@oacute@
DD FLAT:??_C@_0DA@PODAKJAL@latin?5small?5letter?5o?5with?5acute@
DD 0f4H
DD FLAT:??_C@_05DGIGNCJN@ocirc@
DD FLAT:??_C@_0DF@FHOFOHGN@latin?5small?5letter?5o?5with?5circu@
DD 0f5H
DD FLAT:??_C@_06DNFIPCMD@otilde@
DD FLAT:??_C@_0DA@NLFOBBBN@latin?5small?5letter?5o?5with?5tilde@
DD 0f6H
DD FLAT:??_C@_04PHBJMEAI@ouml@
DD FLAT:??_C@_0DE@IBKMGEO@latin?5small?5letter?5o?5with?5diaer@
DD 0f7H
DD FLAT:??_C@_06FFHJEHBN@divide@
DD FLAT:??_C@_0BN@DJHBCHKN@division?5sign?0?5U?$CL00F7?5ISOnum@
DD 0f8H
DD FLAT:??_C@_06LGBAFOGO@oslash@
DD FLAT:??_C@_0EP@JDKOEFON@latin?5small?5letter?5o?5with?5strok@
DD 0f9H
DD FLAT:??_C@_06IBEMEICG@ugrave@
DD FLAT:??_C@_0DA@HLFJEOFC@latin?5small?5letter?5u?5with?5grave@
DD 0faH
DD FLAT:??_C@_06NGGKABKP@uacute@
DD FLAT:??_C@_0DA@OCJHAGEB@latin?5small?5letter?5u?5with?5acute@
DD 0fbH
DD FLAT:??_C@_05JEMLPDGA@ucirc@
DD FLAT:??_C@_0DF@DPGDCGIM@latin?5small?5letter?5u?5with?5circu@
DD 0fcH
DD FLAT:??_C@_04NNEJELCL@uuml@
DD FLAT:??_C@_0DE@MALBCLBP@latin?5small?5letter?5u?5with?5diaer@
DD 0fdH
DD FLAT:??_C@_06BBMKGLNL@yacute@
DD FLAT:??_C@_0DA@PNAMGKHG@latin?5small?5letter?5y?5with?5acute@
DD 0feH
DD FLAT:??_C@_05LIICDAEF@thorn@
DD FLAT:??_C@_0CO@PJIHMBHF@latin?5small?5letter?5thorn?5with?0?5@
DD 0ffH
DD FLAT:??_C@_04BILJKGCK@yuml@
DD FLAT:??_C@_0DE@JBLHCCEO@latin?5small?5letter?5y?5with?5diaer@
DD 0152H
DD FLAT:??_C@_05DMGKHEKI@OElig@
DD FLAT:??_C@_0CK@MKAIEJDG@latin?5capital?5ligature?5OE?0?5U?$CL01@
DD 0153H
DD FLAT:??_C@_05PKAHFOJK@oelig@
DD FLAT:??_C@_0CI@PBDOLLDF@latin?5small?5ligature?5oe?0?5U?$CL0153@
DD 0160H
DD FLAT:??_C@_06CDFPFCIB@Scaron@
DD FLAT:??_C@_0DC@DIFHMFIC@latin?5capital?5letter?5S?5with?5car@
DD 0161H
DD FLAT:??_C@_06OMOCGLBN@scaron@
DD FLAT:??_C@_0DA@KEKHKDDJ@latin?5small?5letter?5s?5with?5caron@
DD 0178H
DD FLAT:??_C@_04NJHIIJCO@Yuml@
DD FLAT:??_C@_0DG@DAKEFH@latin?5capital?5letter?5Y?5with?5dia@
DD 0192H
DD FLAT:??_C@_04IEHKEKAD@fnof@
DD FLAT:??_C@_0DM@ONFHMKBH@latin?5small?5f?5with?5hook?5?$DN?5funct@
DD 02c6H
DD FLAT:??_C@_04LIMEDJKM@circ@
DD FLAT:??_C@_0DB@JBEBEMPM@modifier?5letter?5circumflex?5acce@
DD 02dcH
DD FLAT:??_C@_05GMAILABC@tilde@
DD FLAT:??_C@_0BL@KGODGBKN@small?5tilde?0?5U?$CL02DC?5ISOdia@
DD 0391H
DD FLAT:??_C@_05IHOGHNDL@Alpha@
DD FLAT:??_C@_0CD@LPBPODOI@greek?5capital?5letter?5alpha?0?5U?$CL0@
DD 0392H
DD FLAT:??_C@_04DIAIJOJA@Beta@
DD FLAT:??_C@_0CC@OOBPMHFM@greek?5capital?5letter?5beta?0?5U?$CL03@
DD 0393H
DD FLAT:??_C@_05NJHBHDO@Gamma@
DD FLAT:??_C@_0CL@LGHPBLEE@greek?5capital?5letter?5gamma?0?5U?$CL0@
DD 0394H
DD FLAT:??_C@_05NFMIDMMK@Delta@
DD FLAT:??_C@_0CL@NHEEDEFH@greek?5capital?5letter?5delta?0?5U?$CL0@
DD 0395H
DD FLAT:??_C@_07MHFJNEOI@Epsilon@
DD FLAT:??_C@_0CF@JDHAIGGH@greek?5capital?5letter?5epsilon?0?5U@
DD 0396H
DD FLAT:??_C@_04GIJIECND@Zeta@
DD FLAT:??_C@_0CC@GEHHHHOP@greek?5capital?5letter?5zeta?0?5U?$CL03@
DD 0397H
DD FLAT:??_C@_03FNGPBCIG@Eta@
DD FLAT:??_C@_0CB@GCINFKKN@greek?5capital?5letter?5eta?0?5U?$CL039@
DD 0398H
DD FLAT:??_C@_05FDIGLFGK@Theta@
DD FLAT:??_C@_0CL@DEOCPNDP@greek?5capital?5letter?5theta?0?5U?$CL0@
DD 0399H
DD FLAT:??_C@_04CAGFEPOF@Iota@
DD FLAT:??_C@_0CC@BFEJFF@greek?5capital?5letter?5iota?0?5U?$CL03@
DD 039aH
DD FLAT:??_C@_05MMNIGICE@Kappa@
DD FLAT:??_C@_0CD@BBAOAFHF@greek?5capital?5letter?5kappa?0?5U?$CL0@
DD 039bH
DD FLAT:??_C@_06OBCFFGBN@Lambda@
DD FLAT:??_C@_0CM@NLEFHINL@greek?5capital?5letter?5lambda?0?5U?$CL@
DD 039cH
DD FLAT:??_C@_02CKLELFMN@Mu@
DD FLAT:??_C@_0CA@JHDDCCNN@greek?5capital?5letter?5mu?0?5U?$CL039C@
DD 039dH
DD FLAT:??_C@_02CIPCALJE@Nu@
DD FLAT:??_C@_0CA@EBJANCBL@greek?5capital?5letter?5nu?0?5U?$CL039D@
DD 039eH
DD FLAT:??_C@_02NGCOIJAL@Xi@
DD FLAT:??_C@_0CI@DEKDLEND@greek?5capital?5letter?5xi?0?5U?$CL039E@
DD 039fH
DD FLAT:??_C@_07IKLCMNO@Omicron@
DD FLAT:??_C@_0CF@LAEOEFAO@greek?5capital?5letter?5omicron?0?5U@
DD 03a0H
DD FLAT:??_C@_02NIDNNILD@Pi@
DD FLAT:??_C@_0CI@GJIDFEDM@greek?5capital?5letter?5pi?0?5U?$CL03A0@
DD 03a1H
DD FLAT:??_C@_03BLBOAKDK@Rho@
DD FLAT:??_C@_0CB@KMJAKGAP@greek?5capital?5letter?5rho?0?5U?$CL03A@
DD 03a3H
DD FLAT:??_C@_05MKBNPMBG@Sigma@
DD FLAT:??_C@_0CL@HFCPNIPL@greek?5capital?5letter?5sigma?0?5U?$CL0@
DD 03a4H
DD FLAT:??_C@_03IBIJJELC@Tau@
DD FLAT:??_C@_0CB@HFBLNIAO@greek?5capital?5letter?5tau?0?5U?$CL03A@
DD 03a5H
DD FLAT:??_C@_07LLOCOFMD@Upsilon@
DD FLAT:??_C@_0CN@JFDLHIKN@greek?5capital?5letter?5upsilon?0?5U@
DD 03a6H
DD FLAT:??_C@_03OHENGFDH@Phi@
DD FLAT:??_C@_0CJ@HBFJNDBB@greek?5capital?5letter?5phi?0?5U?$CL03A@
DD 03a7H
DD FLAT:??_C@_03KFOBJNEG@Chi@
DD FLAT:??_C@_0CB@GAGJNAFN@greek?5capital?5letter?5chi?0?5U?$CL03A@
DD 03a8H
DD FLAT:??_C@_03PHDOCJKG@Psi@
DD FLAT:??_C@_0CJ@NGCFEDIE@greek?5capital?5letter?5psi?0?5U?$CL03A@
DD 03a9H
DD FLAT:??_C@_05OMBHNFGL@Omega@
DD FLAT:??_C@_0CL@ILDKNODA@greek?5capital?5letter?5omega?0?5U?$CL0@
DD 03b1H
DD FLAT:??_C@_05IAEKHIAN@alpha@
DD FLAT:??_C@_0CJ@NGKKADHM@greek?5small?5letter?5alpha?0?5U?$CL03B@
DD 03b2H
DD FLAT:??_C@_04PJMJLBJE@beta@
DD FLAT:??_C@_0CI@HELPLLEJ@greek?5small?5letter?5beta?0?5U?$CL03B2@
DD 03b3H
DD FLAT:??_C@_05KDLBCAI@gamma@
DD FLAT:??_C@_0CJ@GAGCCHKA@greek?5small?5letter?5gamma?0?5U?$CL03B@
DD 03b4H
DD FLAT:??_C@_05NCGEDJPM@delta@
DD FLAT:??_C@_0CJ@BFJAILD@greek?5small?5letter?5delta?0?5U?$CL03B@
DD 03b5H
DD FLAT:??_C@_07DOCPLGLO@epsilon@
DD FLAT:??_C@_0CL@DLPCDOME@greek?5small?5letter?5epsilon?0?5U?$CL0@
DD 03b6H
DD FLAT:??_C@_04KJFJGNNH@zeta@
DD FLAT:??_C@_0CI@BDECAAKJ@greek?5small?5letter?5zeta?0?5U?$CL03B6@
DD 03b7H
DD FLAT:??_C@_03PNFNLNLI@eta@
DD FLAT:??_C@_0CH@KEKGFBMN@greek?5small?5letter?5eta?0?5U?$CL03B7?5@
DD 03b8H
DD FLAT:??_C@_05FECKLAFM@theta@
DD FLAT:??_C@_0CJ@OCPPMBNL@greek?5small?5letter?5theta?0?5U?$CL03B@
DD 03b9H
DD FLAT:??_C@_04OBKEGAOB@iota@
DD FLAT:??_C@_0CI@IFKGGLBF@greek?5small?5letter?5iota?0?5U?$CL03B9@
DD 03baH
DD FLAT:??_C@_05MLHEGNBC@kappa@
DD FLAT:??_C@_0CJ@FMCMBLI@greek?5small?5letter?5kappa?0?5U?$CL03B@
DD 03bbH
DD FLAT:??_C@_06COJIGPIB@lambda@
DD FLAT:??_C@_0CK@PECPLDML@greek?5small?5letter?5lambda?0?5U?$CL03@
DD 03bcH
DD FLAT:??_C@_02BCPJPDCN@mu@
DD FLAT:??_C@_0CG@GBCBMJNP@greek?5small?5letter?5mu?0?5U?$CL03BC?5I@
DD 03bdH
DD FLAT:??_C@_02BALPENHE@nu@
DD FLAT:??_C@_0CG@CAKLFEAP@greek?5small?5letter?5nu?0?5U?$CL03BD?5I@
DD 03beH
DD FLAT:??_C@_02OOGDMPOL@xi@
DD FLAT:??_C@_0CG@HDKNCKDK@greek?5small?5letter?5xi?0?5U?$CL03BE?5I@
DD 03bfH
DD FLAT:??_C@_07PBNNEOII@omicron@
DD FLAT:??_C@_0CH@GIJCJIME@greek?5small?5letter?5omicron?0?5U?$CL0@
DD 03c0H
DD FLAT:??_C@_02OAHAJOFD@pi@
DD FLAT:??_C@_0CG@KLOCKGKD@greek?5small?5letter?5pi?0?5U?$CL03C0?5I@
DD 03c1H
DD FLAT:??_C@_03LLCMKFAE@rho@
DD FLAT:??_C@_0CH@IDBCMKBI@greek?5small?5letter?5rho?0?5U?$CL03C1?5@
DD 03c2H
DD FLAT:??_C@_06IAEFNBA@sigmaf@
DD FLAT:??_C@_0CP@IIMCBNML@greek?5small?5letter?5final?5sigma?0@
DD 03c3H
DD FLAT:??_C@_05MNLBPJCA@sigma@
DD FLAT:??_C@_0CJ@CGFNIIGJ@greek?5small?5letter?5sigma?0?5U?$CL03C@
DD 03c4H
DD FLAT:??_C@_03CBLLDLIM@tau@
DD FLAT:??_C@_0CH@DHNJIMD@greek?5small?5letter?5tau?0?5U?$CL03C4?5@
DD 03c5H
DD FLAT:??_C@_07ECJEIHJF@upsilon@
DD FLAT:??_C@_0CL@IFBHJODJ@greek?5small?5letter?5upsilon?0?5U?$CL0@
DD 03c6H
DD FLAT:??_C@_03EHHPMKAJ@phi@
DD FLAT:??_C@_0CH@KFHMBLGI@greek?5small?5letter?5phi?0?5U?$CL03C6?5@
DD 03c7H
DD FLAT:??_C@_03FNDDCHI@chi@
DD FLAT:??_C@_0CH@FNBJGLJ@greek?5small?5letter?5chi?0?5U?$CL03C7?5@
DD 03c8H
DD FLAT:??_C@_03FHAMIGJI@psi@
DD FLAT:??_C@_0CH@CAAILPN@greek?5small?5letter?5psi?0?5U?$CL03C8?5@
DD 03c9H
DD FLAT:??_C@_05OLLLNAFN@omega@
DD FLAT:??_C@_0CJ@NIEIIOKC@greek?5small?5letter?5omega?0?5U?$CL03C@
DD 03d1H
DD FLAT:??_C@_08KICBPJKJ@thetasym@
DD FLAT:??_C@_0CM@BLIOHCJH@greek?5small?5letter?5theta?5symbol@
DD 03d2H
DD FLAT:??_C@_05HPKIDMJD@upsih@
DD FLAT:??_C@_0CL@EJFICJGP@greek?5upsilon?5with?5hook?5symbol?0@
DD 03d6H
DD FLAT:??_C@_03ILOHKOKA@piv@
DD FLAT:??_C@_0CA@BEPNCOE@greek?5pi?5symbol?0?5U?$CL03D6?5ISOgrk3@
DD 02002H
DD FLAT:??_C@_04MKHONPBA@ensp@
DD FLAT:??_C@_0BI@MFLEMBMM@en?5space?0?5U?$CL2002?5ISOpub@
DD 02003H
DD FLAT:??_C@_04NIMLHAPO@emsp@
DD FLAT:??_C@_0BI@KECKOMLC@em?5space?0?5U?$CL2003?5ISOpub@
DD 02009H
DD FLAT:??_C@_06KIEAGDHN@thinsp@
DD FLAT:??_C@_0BK@BMAGNFEE@thin?5space?0?5U?$CL2009?5ISOpub@
DD 0200cH
DD FLAT:??_C@_04KBAMANKO@zwnj@
DD FLAT:??_C@_0CL@DLBANCKG@zero?5width?5non?9joiner?0?5U?$CL200C?5N@
DD 0200dH
DD FLAT:??_C@_03BEJFJNOD@zwj@
DD FLAT:??_C@_0CH@HBJLDPCB@zero?5width?5joiner?0?5U?$CL200D?5NEW?5R@
DD 0200eH
DD FLAT:??_C@_03CIGNMBIM@lrm@
DD FLAT:??_C@_0CI@JMDAIFJP@left?9to?9right?5mark?0?5U?$CL200E?5NEW?5@
DD 0200fH
DD FLAT:??_C@_03IOBDGPFK@rlm@
DD FLAT:??_C@_0CI@CAGBGDGP@right?9to?9left?5mark?0?5U?$CL200F?5NEW?5@
DD 02013H
DD FLAT:??_C@_05GIHIEGDL@ndash@
DD FLAT:??_C@_0BH@PNMIOILG@en?5dash?0?5U?$CL2013?5ISOpub@
DD 02014H
DD FLAT:??_C@_05OOOMDEJF@mdash@
DD FLAT:??_C@_0BH@KANBCIDP@em?5dash?0?5U?$CL2014?5ISOpub@
DD 02018H
DD FLAT:??_C@_05OMKFBBEI@lsquo@
DD FLAT:??_C@_0CK@GNEELPIK@left?5single?5quotation?5mark?0?5U?$CL2@
DD 02019H
DD FLAT:??_C@_05NFHJHCKD@rsquo@
DD FLAT:??_C@_0CL@GEEKPFIM@right?5single?5quotation?5mark?0?5U?$CL@
DD 0201aH
DD FLAT:??_C@_05EDKFBPDE@sbquo@
DD FLAT:??_C@_0CI@NPEPNHFF@single?5low?99?5quotation?5mark?0?5U?$CL@
DD 0201cH
DD FLAT:??_C@_05DOGFFKNK@ldquo@
DD FLAT:??_C@_0CK@DIJLOOKF@left?5double?5quotation?5mark?0?5U?$CL2@
DD 0201dH
DD FLAT:??_C@_05HLJDJDB@rdquo@
DD FLAT:??_C@_0CL@ECIPNNCJ@right?5double?5quotation?5mark?0?5U?$CL@
DD 0201eH
DD FLAT:??_C@_05EGPDLKK@bdquo@
DD FLAT:??_C@_0CI@JHNLBCGB@double?5low?99?5quotation?5mark?0?5U?$CL@
DD 02020H
DD FLAT:??_C@_06DEOCNA@dagger@
DD FLAT:??_C@_0BG@KCAEGFLE@dagger?0?5U?$CL2020?5ISOpub@
DD 02021H
DD FLAT:??_C@_06MPIJNLEM@Dagger@
DD FLAT:??_C@_0BN@EMJEPPHC@double?5dagger?0?5U?$CL2021?5ISOpub@
DD 02022H
DD FLAT:??_C@_04OELGKIO@bull@
DD FLAT:??_C@_0CL@DGNFAKNB@bullet?5?$DN?5black?5small?5circle?0?5U?$CL@
DD 02026H
DD FLAT:??_C@_06MHPIOHEE@hellip@
DD FLAT:??_C@_0DG@IFMGDAHK@horizontal?5ellipsis?5?$DN?5three?5dot@
DD 02030H
DD FLAT:??_C@_06BCNCCGDG@permil@
DD FLAT:??_C@_0BP@MOFLNGGL@per?5mille?5sign?0?5U?$CL2030?5ISOtech@
DD 02032H
DD FLAT:??_C@_05NIKGJPCK@prime@
DD FLAT:??_C@_0CH@BOHNNDDJ@prime?5?$DN?5minutes?5?$DN?5feet?0?5U?$CL2032?5@
DD 02033H
DD FLAT:??_C@_05NPAKJKBM@Prime@
DD FLAT:??_C@_0DA@NOHFAGMO@double?5prime?5?$DN?5seconds?5?$DN?5inches@
DD 02039H
DD FLAT:??_C@_06GELNDNKI@lsaquo@
DD FLAT:??_C@_0DP@FIMACBKH@single?5left?9pointing?5angle?5quot@
DD 0203aH
DD FLAT:??_C@_06FDFMNKDL@rsaquo@
DD FLAT:??_C@_0EA@GOMGFHEI@single?5right?9pointing?5angle?5quo@
DD 0203eH
DD FLAT:??_C@_05PHLALINO@oline@
DD FLAT:??_C@_0CJ@PIHCOGHN@overline?5?$DN?5spacing?5overscore?0?5U@
DD 02044H
DD FLAT:??_C@_05POHGDHA@frasl@
DD FLAT:??_C@_0BL@ECLANJNI@fraction?5slash?0?5U?$CL2044?5NEW@
DD 020acH
DD FLAT:??_C@_04IBPOGLCH@euro@
DD FLAT:??_C@_0BG@JOOOHDJA@euro?5sign?0?5U?$CL20AC?5NEW@
DD 02111H
DD FLAT:??_C@_05NGOMGBBD@image@
DD FLAT:??_C@_0DH@HDIEDNLH@blackletter?5capital?5I?5?$DN?5imagina@
DD 02118H
DD FLAT:??_C@_06PDPFIHAI@weierp@
DD FLAT:??_C@_0DN@GALPCJE@script?5capital?5P?5?$DN?5power?5set?5?$DN?5@
DD 0211cH
DD FLAT:??_C@_04DGGKDJMA@real@
DD FLAT:??_C@_0DJ@HIEIFFHC@blackletter?5capital?5R?5?$DN?5real?5pa@
DD 02122H
DD FLAT:??_C@_05IJFCMOFM@trade@
DD FLAT:??_C@_0BP@FGOALMKH@trade?5mark?5sign?0?5U?$CL2122?5ISOnum@
DD 02135H
DD FLAT:??_C@_07HGDIPDGB@alefsym@
DD FLAT:??_C@_0DF@FEFKAOCF@alef?5symbol?5?$DN?5first?5transfinite@
DD 02190H
DD FLAT:??_C@_04KMPJKFIC@larr@
DD FLAT:??_C@_0BP@MANNKCID@leftwards?5arrow?0?5U?$CL2190?5ISOnum@
DD 02191H
DD FLAT:??_C@_04MBAJFAHB@uarr@
DD FLAT:??_C@_0BN@OACCONEB@upwards?5arrow?0?5U?$CL2191?5ISOnum@
DD 02192H
DD FLAT:??_C@_04HDCJIMGB@rarr@
DD FLAT:??_C@_0CA@IGGHOOCM@rightwards?5arrow?0?5U?$CL2192?5ISOnum@
DD 02193H
DD FLAT:??_C@_04JMIJOOED@darr@
DD FLAT:??_C@_0BP@DOIMJHPM@downwards?5arrow?0?5U?$CL2193?5ISOnum@
DD 02194H
DD FLAT:??_C@_04FJHJADEC@harr@
DD FLAT:??_C@_0CB@IHAAEEFA@left?5right?5arrow?0?5U?$CL2194?5ISOams@
DD 021b5H
DD FLAT:??_C@_05IKKJKHCL@crarr@
DD FLAT:??_C@_0EE@KKIJJMBC@downwards?5arrow?5with?5corner?5lef@
DD 021d0H
DD FLAT:??_C@_04MMLAKLM@lArr@
DD FLAT:??_C@_0CH@MGOLKEFA@leftwards?5double?5arrow?0?5U?$CL21D0?5@
DD 021d1H
DD FLAT:??_C@_04GBDLPPEP@uArr@
DD FLAT:??_C@_0CF@KBBKONBL@upwards?5double?5arrow?0?5U?$CL21D1?5IS@
DD 021d2H
DD FLAT:??_C@_04NDBLCDFP@rArr@
DD FLAT:??_C@_0CI@IKAGJDHN@rightwards?5double?5arrow?0?5U?$CL21D2@
DD 021d3H
DD FLAT:??_C@_04DMLLEBHN@dArr@
DD FLAT:??_C@_0CH@GBOLFAFE@downwards?5double?5arrow?0?5U?$CL21D3?5@
DD 021d4H
DD FLAT:??_C@_04PJELKMHM@hArr@
DD FLAT:??_C@_0CI@IFCBBNJJ@left?5right?5double?5arrow?0?5U?$CL21D4@
DD 02200H
DD FLAT:??_C@_06PLFKNBPH@forall@
DD FLAT:??_C@_0BI@NOOLIOLI@for?5all?0?5U?$CL2200?5ISOtech@
DD 02202H
DD FLAT:??_C@_04FPLDHIIH@part@
DD FLAT:??_C@_0CF@GGOIFMBL@partial?5differential?0?5U?$CL2202?5IS@
DD 02203H
DD FLAT:??_C@_05IEGMLJMJ@exist@
DD FLAT:??_C@_0BN@EAFHKNPG@there?5exists?0?5U?$CL2203?5ISOtech@
DD 02205H
DD FLAT:??_C@_05LBJMNBOG@empty@
DD FLAT:??_C@_0DA@LKCPIGBO@empty?5set?5?$DN?5null?5set?5?$DN?5diameter@
DD 02207H
DD FLAT:??_C@_05HEJFDJKB@nabla@
DD FLAT:??_C@_0CM@GCEKGKCK@nabla?5?$DN?5backward?5difference?0?5U?$CL@
DD 02208H
DD FLAT:??_C@_04GIANKECK@isin@
DD FLAT:??_C@_0BL@GDBOMBIM@element?5of?0?5U?$CL2208?5ISOtech@
DD 02209H
DD FLAT:??_C@_05DPIEFBKH@notin@
DD FLAT:??_C@_0CC@DDLOCPFN@not?5an?5element?5of?0?5U?$CL2209?5ISOte@
DD 0220bH
DD FLAT:??_C@_02PGMIBACJ@ni@
DD FLAT:??_C@_0CD@BGLAPDGA@contains?5as?5member?0?5U?$CL220B?5ISOt@
DD 0220fH
DD FLAT:??_C@_04EDCDKCIE@prod@
DD FLAT:??_C@_0CN@JGMMGEDP@n?9ary?5product?5?$DN?5product?5sign?0?5U@
DD 02211H
DD FLAT:??_C@_03CFFIJAMA@sum@
DD FLAT:??_C@_0CA@MLFCAEFK@n?9ary?5summation?0?5U?$CL2211?5ISOamsb@
DD 02212H
DD FLAT:??_C@_05ODKEFHFK@minus@
DD FLAT:??_C@_0BL@FJCONNGD@minus?5sign?0?5U?$CL2212?5ISOtech@
DD 02217H
DD FLAT:??_C@_06CKLHNNN@lowast@
DD FLAT:??_C@_0CC@CNKJAFM@asterisk?5operator?0?5U?$CL2217?5ISOte@
DD 0221aH
DD FLAT:??_C@_05BBBHAEPE@radic@
DD FLAT:??_C@_0CL@ILNDCHNK@square?5root?5?$DN?5radical?5sign?0?5U?$CL2@
DD 0221dH
DD FLAT:??_C@_04GNINHFNB@prop@
DD FLAT:??_C@_0CA@BMLNCKCC@proportional?5to?0?5U?$CL221D?5ISOtech@
DD 0221eH
DD FLAT:??_C@_05OFPBNHLL@infin@
DD FLAT:??_C@_0BJ@MNMMNFFJ@infinity?0?5U?$CL221E?5ISOtech@
DD 02220H
DD FLAT:??_C@_03DFNEKLMP@ang@
DD FLAT:??_C@_0BG@GBCFPCNE@angle?0?5U?$CL2220?5ISOamso@
DD 02227H
DD FLAT:??_C@_03BOPJPIAM@and@
DD FLAT:??_C@_0CE@NKBACHGA@logical?5and?5?$DN?5wedge?0?5U?$CL2227?5ISO@
DD 02228H
DD FLAT:??_C@_02FODMLBIE@or@
DD FLAT:??_C@_0CB@FLAIEBBA@logical?5or?5?$DN?5vee?0?5U?$CL2228?5ISOtec@
DD 02229H
DD FLAT:??_C@_03JBACKAOP@cap@
DD FLAT:??_C@_0CD@JBIOOGBO@intersection?5?$DN?5cap?0?5U?$CL2229?5ISOt@
DD 0222aH
DD FLAT:??_C@_03IKCNKLED@cup@
DD FLAT:??_C@_0BM@JDEPIPG@union?5?$DN?5cup?0?5U?$CL222A?5ISOtech@
DD 0222bH
DD FLAT:??_C@_03JBIPMCLC@int@
DD FLAT:??_C@_0BJ@DAPJHJHO@integral?0?5U?$CL222B?5ISOtech@
DD 02234H
DD FLAT:??_C@_06PLMBDDJI@there4@
DD FLAT:??_C@_0BK@MEMCAFFC@therefore?0?5U?$CL2234?5ISOtech@
DD 0223cH
DD FLAT:??_C@_03DAGEMKNE@sim@
DD FLAT:??_C@_0DK@DFMGNFEL@tilde?5operator?5?$DN?5varies?5with?5?$DN?5@
DD 02245H
DD FLAT:??_C@_04OMPPPJGA@cong@
DD FLAT:??_C@_0CH@JKKBMPFH@approximately?5equal?5to?0?5U?$CL2245?5@
DD 02248H
DD FLAT:??_C@_05EKOANGCP@asymp@
DD FLAT:??_C@_0DA@ELDFLNNK@almost?5equal?5to?5?$DN?5asymptotic?5to@
DD 02260H
DD FLAT:??_C@_02FKHNFPCF@ne@
DD FLAT:??_C@_0BN@PJGPJIIG@not?5equal?5to?0?5U?$CL2260?5ISOtech@
DD 02261H
DD FLAT:??_C@_05LADEHHLL@equiv@
DD FLAT:??_C@_0BN@MJCNDCCF@identical?5to?0?5U?$CL2261?5ISOtech@
DD 02264H
DD FLAT:??_C@_02FJPJILEL@le@
DD FLAT:??_C@_0CG@EDHLKJHI@less?9than?5or?5equal?5to?0?5U?$CL2264?5I@
DD 02265H
DD FLAT:??_C@_02FFKMGEKK@ge@
DD FLAT:??_C@_0CJ@OOFAGHNB@greater?9than?5or?5equal?5to?0?5U?$CL226@
DD 02282H
DD FLAT:??_C@_03KCMAIMAP@sub@
DD FLAT:??_C@_0BK@JKNHIPAJ@subset?5of?0?5U?$CL2282?5ISOtech@
DD 02283H
DD FLAT:??_C@_03NKDEPMNM@sup@
DD FLAT:??_C@_0BM@ICBAIMLO@superset?5of?0?5U?$CL2283?5ISOtech@
DD 02284H
DD FLAT:??_C@_04GDKEGNCC@nsub@
DD FLAT:??_C@_0CA@PMHNPAEI@not?5a?5subset?5of?0?5U?$CL2284?5ISOamsn@
DD 02286H
DD FLAT:??_C@_04IIJHECPP@sube@
DD FLAT:??_C@_0CG@IBKNAAAC@subset?5of?5or?5equal?5to?0?5U?$CL2286?5I@
DD 02287H
DD FLAT:??_C@_04JHDFDFOB@supe@
DD FLAT:??_C@_0CI@GNKICMCH@superset?5of?5or?5equal?5to?0?5U?$CL2287@
DD 02295H
DD FLAT:??_C@_05GJJFMLCJ@oplus@
DD FLAT:??_C@_0CK@PJJPJOGF@circled?5plus?5?$DN?5direct?5sum?0?5U?$CL22@
DD 02297H
DD FLAT:??_C@_06JILOEKEG@otimes@
DD FLAT:??_C@_0CP@BNGPDPFL@circled?5times?5?$DN?5vector?5product?0@
DD 022a5H
DD FLAT:??_C@_04LELNCKNE@perp@
DD FLAT:??_C@_0DI@FJMFCLO@up?5tack?5?$DN?5orthogonal?5to?5?$DN?5perpe@
DD 022c5H
DD FLAT:??_C@_04DLDDMCEG@sdot@
DD FLAT:??_C@_0BN@IIJHENBC@dot?5operator?0?5U?$CL22C5?5ISOamsb@
DD 02308H
DD FLAT:??_C@_05GNCPEPNF@lceil@
DD FLAT:??_C@_0CL@JGNLAJJH@left?5ceiling?5?$DN?5apl?5upstile?0?5U?$CL2@
DD 02309H
DD FLAT:??_C@_05FEPDCMDO@rceil@
DD FLAT:??_C@_0BO@BHDCDMKC@right?5ceiling?0?5U?$CL2309?5ISOamsc@
DD 0230aH
DD FLAT:??_C@_06JBCNAACH@lfloor@
DD FLAT:??_C@_0CL@MFJOBEGJ@left?5floor?5?$DN?5apl?5downstile?0?5U?$CL2@
DD 0230bH
DD FLAT:??_C@_06KGMMOHLE@rfloor@
DD FLAT:??_C@_0BM@CNFHBOON@right?5floor?0?5U?$CL230B?5ISOamsc@
DD 02329H
DD FLAT:??_C@_04IOHABJIC@lang@
DD FLAT:??_C@_0DC@PHLLJIFD@left?9pointing?5angle?5bracket?5?$DN?5b@
DD 0232aH
DD FLAT:??_C@_04FBKADAGB@rang@
DD FLAT:??_C@_0DD@OPBENGIH@right?9pointing?5angle?5bracket?5?$DN?5@
DD 025caH
DD FLAT:??_C@_03DJBAHFDJ@loz@
DD FLAT:??_C@_0BH@EDOKOFKC@lozenge?0?5U?$CL25CA?5ISOpub@
DD 02660H
DD FLAT:??_C@_06OOCJPKKB@spades@
DD FLAT:??_C@_0CA@PJGGGHFM@black?5spade?5suit?0?5U?$CL2660?5ISOpub@
DD 02663H
DD FLAT:??_C@_05IPDPNMDB@clubs@
DD FLAT:??_C@_0CK@IOPKIONM@black?5club?5suit?5?$DN?5shamrock?0?5U?$CL2@
DD 02665H
DD FLAT:??_C@_06LAHNGALJ@hearts@
DD FLAT:??_C@_0CM@FKGBKKJF@black?5heart?5suit?5?$DN?5valentine?0?5U@
DD 02666H
DD FLAT:??_C@_05IOPNOEAM@diams@
DD FLAT:??_C@_0CC@EHCGNBJI@black?5diamond?5suit?0?5U?$CL2666?5ISOp@
CONST ENDS
; COMDAT ??_C@_04IEJGKNJ@body@
CONST SEGMENT
??_C@_04IEJGKNJ@body@ DB 'body', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NEODDMOL@head@
CONST SEGMENT
??_C@_04NEODDMOL@head@ DB 'head', 00H ; `string'
CONST ENDS
msvcjmc SEGMENT
__188180DA_corecrt_math@h DB 01H
__2CC6E67D_corecrt_stdio_config@h DB 01H
__05476D76_corecrt_wstdio@h DB 01H
__A452D4A0_stdio@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecrt_wstring@h DB 01H
__2140C079_string@h DB 01H
__7B7A869E_ctype@h DB 01H
__A40A425D_stat@h DB 01H
__457DD326_basetsd@h DB 01H
__1887E595_winnt@h DB 01H
__9FC7C64B_processthreadsapi@h DB 01H
__FA470AEC_memoryapi@h DB 01H
__F37DAFF1_winerror@h DB 01H
__7A450CCC_winbase@h DB 01H
__B4B40122_winioctl@h DB 01H
__86261D59_stralign@h DB 01H
__111E219E_htmlparser@c DB 01H
msvcjmc ENDS
; COMDAT ??_C@_0CC@EHCGNBJI@black?5diamond?5suit?0?5U?$CL2666?5ISOp@
CONST SEGMENT
??_C@_0CC@EHCGNBJI@black?5diamond?5suit?0?5U?$CL2666?5ISOp@ DB 'black dia'
DB 'mond suit, U+2666 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IOPNOEAM@diams@
CONST SEGMENT
??_C@_05IOPNOEAM@diams@ DB 'diams', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@FKGBKKJF@black?5heart?5suit?5?$DN?5valentine?0?5U@
CONST SEGMENT
??_C@_0CM@FKGBKKJF@black?5heart?5suit?5?$DN?5valentine?0?5U@ DB 'black he'
DB 'art suit = valentine, U+2665 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06LAHNGALJ@hearts@
CONST SEGMENT
??_C@_06LAHNGALJ@hearts@ DB 'hearts', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@IOPKIONM@black?5club?5suit?5?$DN?5shamrock?0?5U?$CL2@
CONST SEGMENT
??_C@_0CK@IOPKIONM@black?5club?5suit?5?$DN?5shamrock?0?5U?$CL2@ DB 'black'
DB ' club suit = shamrock, U+2663 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IPDPNMDB@clubs@
CONST SEGMENT
??_C@_05IPDPNMDB@clubs@ DB 'clubs', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@PJGGGHFM@black?5spade?5suit?0?5U?$CL2660?5ISOpub@
CONST SEGMENT
??_C@_0CA@PJGGGHFM@black?5spade?5suit?0?5U?$CL2660?5ISOpub@ DB 'black spa'
DB 'de suit, U+2660 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OOCJPKKB@spades@
CONST SEGMENT
??_C@_06OOCJPKKB@spades@ DB 'spades', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@EDOKOFKC@lozenge?0?5U?$CL25CA?5ISOpub@
CONST SEGMENT
??_C@_0BH@EDOKOFKC@lozenge?0?5U?$CL25CA?5ISOpub@ DB 'lozenge, U+25CA ISOp'
DB 'ub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03DJBAHFDJ@loz@
CONST SEGMENT
??_C@_03DJBAHFDJ@loz@ DB 'loz', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DD@OPBENGIH@right?9pointing?5angle?5bracket?5?$DN?5@
CONST SEGMENT
??_C@_0DD@OPBENGIH@right?9pointing?5angle?5bracket?5?$DN?5@ DB 'right-poi'
DB 'nting angle bracket = ket, U+232A ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04FBKADAGB@rang@
CONST SEGMENT
??_C@_04FBKADAGB@rang@ DB 'rang', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@PHLLJIFD@left?9pointing?5angle?5bracket?5?$DN?5b@
CONST SEGMENT
??_C@_0DC@PHLLJIFD@left?9pointing?5angle?5bracket?5?$DN?5b@ DB 'left-poin'
DB 'ting angle bracket = bra, U+2329 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@CNFHBOON@right?5floor?0?5U?$CL230B?5ISOamsc@
CONST SEGMENT
??_C@_0BM@CNFHBOON@right?5floor?0?5U?$CL230B?5ISOamsc@ DB 'right floor, U'
DB '+230B ISOamsc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KGMMOHLE@rfloor@
CONST SEGMENT
??_C@_06KGMMOHLE@rfloor@ DB 'rfloor', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@MFJOBEGJ@left?5floor?5?$DN?5apl?5downstile?0?5U?$CL2@
CONST SEGMENT
??_C@_0CL@MFJOBEGJ@left?5floor?5?$DN?5apl?5downstile?0?5U?$CL2@ DB 'left '
DB 'floor = apl downstile, U+230A ISOamsc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06JBCNAACH@lfloor@
CONST SEGMENT
??_C@_06JBCNAACH@lfloor@ DB 'lfloor', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@BHDCDMKC@right?5ceiling?0?5U?$CL2309?5ISOamsc@
CONST SEGMENT
??_C@_0BO@BHDCDMKC@right?5ceiling?0?5U?$CL2309?5ISOamsc@ DB 'right ceilin'
DB 'g, U+2309 ISOamsc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05FEPDCMDO@rceil@
CONST SEGMENT
??_C@_05FEPDCMDO@rceil@ DB 'rceil', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@JGNLAJJH@left?5ceiling?5?$DN?5apl?5upstile?0?5U?$CL2@
CONST SEGMENT
??_C@_0CL@JGNLAJJH@left?5ceiling?5?$DN?5apl?5upstile?0?5U?$CL2@ DB 'left '
DB 'ceiling = apl upstile, U+2308 ISOamsc', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GNCPEPNF@lceil@
CONST SEGMENT
??_C@_05GNCPEPNF@lceil@ DB 'lceil', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@IIJHENBC@dot?5operator?0?5U?$CL22C5?5ISOamsb@
CONST SEGMENT
??_C@_0BN@IIJHENBC@dot?5operator?0?5U?$CL22C5?5ISOamsb@ DB 'dot operator,'
DB ' U+22C5 ISOamsb', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04DLDDMCEG@sdot@
CONST SEGMENT
??_C@_04DLDDMCEG@sdot@ DB 'sdot', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DI@FJMFCLO@up?5tack?5?$DN?5orthogonal?5to?5?$DN?5perpe@
CONST SEGMENT
??_C@_0DI@FJMFCLO@up?5tack?5?$DN?5orthogonal?5to?5?$DN?5perpe@ DB 'up tac'
DB 'k = orthogonal to = perpendicular, U+22A5 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04LELNCKNE@perp@
CONST SEGMENT
??_C@_04LELNCKNE@perp@ DB 'perp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CP@BNGPDPFL@circled?5times?5?$DN?5vector?5product?0@
CONST SEGMENT
??_C@_0CP@BNGPDPFL@circled?5times?5?$DN?5vector?5product?0@ DB 'circled t'
DB 'imes = vector product, U+2297 ISOamsb', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06JILOEKEG@otimes@
CONST SEGMENT
??_C@_06JILOEKEG@otimes@ DB 'otimes', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@PJJPJOGF@circled?5plus?5?$DN?5direct?5sum?0?5U?$CL22@
CONST SEGMENT
??_C@_0CK@PJJPJOGF@circled?5plus?5?$DN?5direct?5sum?0?5U?$CL22@ DB 'circl'
DB 'ed plus = direct sum, U+2295 ISOamsb', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GJJFMLCJ@oplus@
CONST SEGMENT
??_C@_05GJJFMLCJ@oplus@ DB 'oplus', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@GNKICMCH@superset?5of?5or?5equal?5to?0?5U?$CL2287@
CONST SEGMENT
??_C@_0CI@GNKICMCH@superset?5of?5or?5equal?5to?0?5U?$CL2287@ DB 'superset'
DB ' of or equal to, U+2287 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04JHDFDFOB@supe@
CONST SEGMENT
??_C@_04JHDFDFOB@supe@ DB 'supe', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@IBKNAAAC@subset?5of?5or?5equal?5to?0?5U?$CL2286?5I@
CONST SEGMENT
??_C@_0CG@IBKNAAAC@subset?5of?5or?5equal?5to?0?5U?$CL2286?5I@ DB 'subset '
DB 'of or equal to, U+2286 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IIJHECPP@sube@
CONST SEGMENT
??_C@_04IIJHECPP@sube@ DB 'sube', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@PMHNPAEI@not?5a?5subset?5of?0?5U?$CL2284?5ISOamsn@
CONST SEGMENT
??_C@_0CA@PMHNPAEI@not?5a?5subset?5of?0?5U?$CL2284?5ISOamsn@ DB 'not a su'
DB 'bset of, U+2284 ISOamsn', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GDKEGNCC@nsub@
CONST SEGMENT
??_C@_04GDKEGNCC@nsub@ DB 'nsub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@ICBAIMLO@superset?5of?0?5U?$CL2283?5ISOtech@
CONST SEGMENT
??_C@_0BM@ICBAIMLO@superset?5of?0?5U?$CL2283?5ISOtech@ DB 'superset of, U'
DB '+2283 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@JKNHIPAJ@subset?5of?0?5U?$CL2282?5ISOtech@
CONST SEGMENT
??_C@_0BK@JKNHIPAJ@subset?5of?0?5U?$CL2282?5ISOtech@ DB 'subset of, U+228'
DB '2 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@OOFAGHNB@greater?9than?5or?5equal?5to?0?5U?$CL226@
CONST SEGMENT
??_C@_0CJ@OOFAGHNB@greater?9than?5or?5equal?5to?0?5U?$CL226@ DB 'greater-'
DB 'than or equal to, U+2265 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FFKMGEKK@ge@
CONST SEGMENT
??_C@_02FFKMGEKK@ge@ DB 'ge', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@EDHLKJHI@less?9than?5or?5equal?5to?0?5U?$CL2264?5I@
CONST SEGMENT
??_C@_0CG@EDHLKJHI@less?9than?5or?5equal?5to?0?5U?$CL2264?5I@ DB 'less-th'
DB 'an or equal to, U+2264 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FJPJILEL@le@
CONST SEGMENT
??_C@_02FJPJILEL@le@ DB 'le', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@MJCNDCCF@identical?5to?0?5U?$CL2261?5ISOtech@
CONST SEGMENT
??_C@_0BN@MJCNDCCF@identical?5to?0?5U?$CL2261?5ISOtech@ DB 'identical to,'
DB ' U+2261 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05LADEHHLL@equiv@
CONST SEGMENT
??_C@_05LADEHHLL@equiv@ DB 'equiv', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@PJGPJIIG@not?5equal?5to?0?5U?$CL2260?5ISOtech@
CONST SEGMENT
??_C@_0BN@PJGPJIIG@not?5equal?5to?0?5U?$CL2260?5ISOtech@ DB 'not equal to'
DB ', U+2260 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FKHNFPCF@ne@
CONST SEGMENT
??_C@_02FKHNFPCF@ne@ DB 'ne', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@ELDFLNNK@almost?5equal?5to?5?$DN?5asymptotic?5to@
CONST SEGMENT
??_C@_0DA@ELDFLNNK@almost?5equal?5to?5?$DN?5asymptotic?5to@ DB 'almost eq'
DB 'ual to = asymptotic to, U+2248 ISOamsr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05EKOANGCP@asymp@
CONST SEGMENT
??_C@_05EKOANGCP@asymp@ DB 'asymp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@JKKBMPFH@approximately?5equal?5to?0?5U?$CL2245?5@
CONST SEGMENT
??_C@_0CH@JKKBMPFH@approximately?5equal?5to?0?5U?$CL2245?5@ DB 'approxima'
DB 'tely equal to, U+2245 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04OMPPPJGA@cong@
CONST SEGMENT
??_C@_04OMPPPJGA@cong@ DB 'cong', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DK@DFMGNFEL@tilde?5operator?5?$DN?5varies?5with?5?$DN?5@
CONST SEGMENT
??_C@_0DK@DFMGNFEL@tilde?5operator?5?$DN?5varies?5with?5?$DN?5@ DB 'tilde'
DB ' operator = varies with = similar to, U+223C ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03DAGEMKNE@sim@
CONST SEGMENT
??_C@_03DAGEMKNE@sim@ DB 'sim', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@MEMCAFFC@therefore?0?5U?$CL2234?5ISOtech@
CONST SEGMENT
??_C@_0BK@MEMCAFFC@therefore?0?5U?$CL2234?5ISOtech@ DB 'therefore, U+2234'
DB ' ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PLMBDDJI@there4@
CONST SEGMENT
??_C@_06PLMBDDJI@there4@ DB 'there4', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@DAPJHJHO@integral?0?5U?$CL222B?5ISOtech@
CONST SEGMENT
??_C@_0BJ@DAPJHJHO@integral?0?5U?$CL222B?5ISOtech@ DB 'integral, U+222B I'
DB 'SOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03JBIPMCLC@int@
CONST SEGMENT
??_C@_03JBIPMCLC@int@ DB 'int', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@JDEPIPG@union?5?$DN?5cup?0?5U?$CL222A?5ISOtech@
CONST SEGMENT
??_C@_0BM@JDEPIPG@union?5?$DN?5cup?0?5U?$CL222A?5ISOtech@ DB 'union = cup'
DB ', U+222A ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03IKCNKLED@cup@
CONST SEGMENT
??_C@_03IKCNKLED@cup@ DB 'cup', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@JBIOOGBO@intersection?5?$DN?5cap?0?5U?$CL2229?5ISOt@
CONST SEGMENT
??_C@_0CD@JBIOOGBO@intersection?5?$DN?5cap?0?5U?$CL2229?5ISOt@ DB 'inters'
DB 'ection = cap, U+2229 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03JBACKAOP@cap@
CONST SEGMENT
??_C@_03JBACKAOP@cap@ DB 'cap', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@FLAIEBBA@logical?5or?5?$DN?5vee?0?5U?$CL2228?5ISOtec@
CONST SEGMENT
??_C@_0CB@FLAIEBBA@logical?5or?5?$DN?5vee?0?5U?$CL2228?5ISOtec@ DB 'logic'
DB 'al or = vee, U+2228 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02FODMLBIE@or@
CONST SEGMENT
??_C@_02FODMLBIE@or@ DB 'or', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@NKBACHGA@logical?5and?5?$DN?5wedge?0?5U?$CL2227?5ISO@
CONST SEGMENT
??_C@_0CE@NKBACHGA@logical?5and?5?$DN?5wedge?0?5U?$CL2227?5ISO@ DB 'logic'
DB 'al and = wedge, U+2227 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03BOPJPIAM@and@
CONST SEGMENT
??_C@_03BOPJPIAM@and@ DB 'and', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@GBCFPCNE@angle?0?5U?$CL2220?5ISOamso@
CONST SEGMENT
??_C@_0BG@GBCFPCNE@angle?0?5U?$CL2220?5ISOamso@ DB 'angle, U+2220 ISOamso'
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03DFNEKLMP@ang@
CONST SEGMENT
??_C@_03DFNEKLMP@ang@ DB 'ang', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@MNMMNFFJ@infinity?0?5U?$CL221E?5ISOtech@
CONST SEGMENT
??_C@_0BJ@MNMMNFFJ@infinity?0?5U?$CL221E?5ISOtech@ DB 'infinity, U+221E I'
DB 'SOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OFPBNHLL@infin@
CONST SEGMENT
??_C@_05OFPBNHLL@infin@ DB 'infin', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@BMLNCKCC@proportional?5to?0?5U?$CL221D?5ISOtech@
CONST SEGMENT
??_C@_0CA@BMLNCKCC@proportional?5to?0?5U?$CL221D?5ISOtech@ DB 'proportion'
DB 'al to, U+221D ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GNINHFNB@prop@
CONST SEGMENT
??_C@_04GNINHFNB@prop@ DB 'prop', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@ILNDCHNK@square?5root?5?$DN?5radical?5sign?0?5U?$CL2@
CONST SEGMENT
??_C@_0CL@ILNDCHNK@square?5root?5?$DN?5radical?5sign?0?5U?$CL2@ DB 'squar'
DB 'e root = radical sign, U+221A ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05BBBHAEPE@radic@
CONST SEGMENT
??_C@_05BBBHAEPE@radic@ DB 'radic', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@CNKJAFM@asterisk?5operator?0?5U?$CL2217?5ISOte@
CONST SEGMENT
??_C@_0CC@CNKJAFM@asterisk?5operator?0?5U?$CL2217?5ISOte@ DB 'asterisk op'
DB 'erator, U+2217 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06CKLHNNN@lowast@
CONST SEGMENT
??_C@_06CKLHNNN@lowast@ DB 'lowast', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BL@FJCONNGD@minus?5sign?0?5U?$CL2212?5ISOtech@
CONST SEGMENT
??_C@_0BL@FJCONNGD@minus?5sign?0?5U?$CL2212?5ISOtech@ DB 'minus sign, U+2'
DB '212 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05ODKEFHFK@minus@
CONST SEGMENT
??_C@_05ODKEFHFK@minus@ DB 'minus', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@MLFCAEFK@n?9ary?5summation?0?5U?$CL2211?5ISOamsb@
CONST SEGMENT
??_C@_0CA@MLFCAEFK@n?9ary?5summation?0?5U?$CL2211?5ISOamsb@ DB 'n-ary sum'
DB 'mation, U+2211 ISOamsb', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CFFIJAMA@sum@
CONST SEGMENT
??_C@_03CFFIJAMA@sum@ DB 'sum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CN@JGMMGEDP@n?9ary?5product?5?$DN?5product?5sign?0?5U@
CONST SEGMENT
??_C@_0CN@JGMMGEDP@n?9ary?5product?5?$DN?5product?5sign?0?5U@ DB 'n-ary p'
DB 'roduct = product sign, U+220F ISOamsb', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04EDCDKCIE@prod@
CONST SEGMENT
??_C@_04EDCDKCIE@prod@ DB 'prod', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@BGLAPDGA@contains?5as?5member?0?5U?$CL220B?5ISOt@
CONST SEGMENT
??_C@_0CD@BGLAPDGA@contains?5as?5member?0?5U?$CL220B?5ISOt@ DB 'contains '
DB 'as member, U+220B ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02PGMIBACJ@ni@
CONST SEGMENT
??_C@_02PGMIBACJ@ni@ DB 'ni', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@DDLOCPFN@not?5an?5element?5of?0?5U?$CL2209?5ISOte@
CONST SEGMENT
??_C@_0CC@DDLOCPFN@not?5an?5element?5of?0?5U?$CL2209?5ISOte@ DB 'not an e'
DB 'lement of, U+2209 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DPIEFBKH@notin@
CONST SEGMENT
??_C@_05DPIEFBKH@notin@ DB 'notin', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BL@GDBOMBIM@element?5of?0?5U?$CL2208?5ISOtech@
CONST SEGMENT
??_C@_0BL@GDBOMBIM@element?5of?0?5U?$CL2208?5ISOtech@ DB 'element of, U+2'
DB '208 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GIANKECK@isin@
CONST SEGMENT
??_C@_04GIANKECK@isin@ DB 'isin', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@GCEKGKCK@nabla?5?$DN?5backward?5difference?0?5U?$CL@
CONST SEGMENT
??_C@_0CM@GCEKGKCK@nabla?5?$DN?5backward?5difference?0?5U?$CL@ DB 'nabla '
DB '= backward difference, U+2207 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05HEJFDJKB@nabla@
CONST SEGMENT
??_C@_05HEJFDJKB@nabla@ DB 'nabla', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@LKCPIGBO@empty?5set?5?$DN?5null?5set?5?$DN?5diameter@
CONST SEGMENT
??_C@_0DA@LKCPIGBO@empty?5set?5?$DN?5null?5set?5?$DN?5diameter@ DB 'empty'
DB ' set = null set = diameter, U+2205 ISOamso', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05LBJMNBOG@empty@
CONST SEGMENT
??_C@_05LBJMNBOG@empty@ DB 'empty', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@EAFHKNPG@there?5exists?0?5U?$CL2203?5ISOtech@
CONST SEGMENT
??_C@_0BN@EAFHKNPG@there?5exists?0?5U?$CL2203?5ISOtech@ DB 'there exists,'
DB ' U+2203 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IEGMLJMJ@exist@
CONST SEGMENT
??_C@_05IEGMLJMJ@exist@ DB 'exist', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@GGOIFMBL@partial?5differential?0?5U?$CL2202?5IS@
CONST SEGMENT
??_C@_0CF@GGOIFMBL@partial?5differential?0?5U?$CL2202?5IS@ DB 'partial di'
DB 'fferential, U+2202 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04FPLDHIIH@part@
CONST SEGMENT
??_C@_04FPLDHIIH@part@ DB 'part', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@NOOLIOLI@for?5all?0?5U?$CL2200?5ISOtech@
CONST SEGMENT
??_C@_0BI@NOOLIOLI@for?5all?0?5U?$CL2200?5ISOtech@ DB 'for all, U+2200 IS'
DB 'Otech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PLFKNBPH@forall@
CONST SEGMENT
??_C@_06PLFKNBPH@forall@ DB 'forall', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@IFCBBNJJ@left?5right?5double?5arrow?0?5U?$CL21D4@
CONST SEGMENT
??_C@_0CI@IFCBBNJJ@left?5right?5double?5arrow?0?5U?$CL21D4@ DB 'left righ'
DB 't double arrow, U+21D4 ISOamsa', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PJELKMHM@hArr@
CONST SEGMENT
??_C@_04PJELKMHM@hArr@ DB 'hArr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@GBOLFAFE@downwards?5double?5arrow?0?5U?$CL21D3?5@
CONST SEGMENT
??_C@_0CH@GBOLFAFE@downwards?5double?5arrow?0?5U?$CL21D3?5@ DB 'downwards'
DB ' double arrow, U+21D3 ISOamsa', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04DMLLEBHN@dArr@
CONST SEGMENT
??_C@_04DMLLEBHN@dArr@ DB 'dArr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@IKAGJDHN@rightwards?5double?5arrow?0?5U?$CL21D2@
CONST SEGMENT
??_C@_0CI@IKAGJDHN@rightwards?5double?5arrow?0?5U?$CL21D2@ DB 'rightwards'
DB ' double arrow, U+21D2 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NDBLCDFP@rArr@
CONST SEGMENT
??_C@_04NDBLCDFP@rArr@ DB 'rArr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@KBBKONBL@upwards?5double?5arrow?0?5U?$CL21D1?5IS@
CONST SEGMENT
??_C@_0CF@KBBKONBL@upwards?5double?5arrow?0?5U?$CL21D1?5IS@ DB 'upwards d'
DB 'ouble arrow, U+21D1 ISOamsa', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04GBDLPPEP@uArr@
CONST SEGMENT
??_C@_04GBDLPPEP@uArr@ DB 'uArr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@MGOLKEFA@leftwards?5double?5arrow?0?5U?$CL21D0?5@
CONST SEGMENT
??_C@_0CH@MGOLKEFA@leftwards?5double?5arrow?0?5U?$CL21D0?5@ DB 'leftwards'
DB ' double arrow, U+21D0 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MMLAKLM@lArr@
CONST SEGMENT
??_C@_04MMLAKLM@lArr@ DB 'lArr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EE@KKIJJMBC@downwards?5arrow?5with?5corner?5lef@
CONST SEGMENT
??_C@_0EE@KKIJJMBC@downwards?5arrow?5with?5corner?5lef@ DB 'downwards arr'
DB 'ow with corner leftwards = carriage return, U+21B5 NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IKKJKHCL@crarr@
CONST SEGMENT
??_C@_05IKKJKHCL@crarr@ DB 'crarr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@IHAAEEFA@left?5right?5arrow?0?5U?$CL2194?5ISOams@
CONST SEGMENT
??_C@_0CB@IHAAEEFA@left?5right?5arrow?0?5U?$CL2194?5ISOams@ DB 'left righ'
DB 't arrow, U+2194 ISOamsa', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04FJHJADEC@harr@
CONST SEGMENT
??_C@_04FJHJADEC@harr@ DB 'harr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@DOIMJHPM@downwards?5arrow?0?5U?$CL2193?5ISOnum@
CONST SEGMENT
??_C@_0BP@DOIMJHPM@downwards?5arrow?0?5U?$CL2193?5ISOnum@ DB 'downwards a'
DB 'rrow, U+2193 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04JMIJOOED@darr@
CONST SEGMENT
??_C@_04JMIJOOED@darr@ DB 'darr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@IGGHOOCM@rightwards?5arrow?0?5U?$CL2192?5ISOnum@
CONST SEGMENT
??_C@_0CA@IGGHOOCM@rightwards?5arrow?0?5U?$CL2192?5ISOnum@ DB 'rightwards'
DB ' arrow, U+2192 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HDCJIMGB@rarr@
CONST SEGMENT
??_C@_04HDCJIMGB@rarr@ DB 'rarr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@OACCONEB@upwards?5arrow?0?5U?$CL2191?5ISOnum@
CONST SEGMENT
??_C@_0BN@OACCONEB@upwards?5arrow?0?5U?$CL2191?5ISOnum@ DB 'upwards arrow'
DB ', U+2191 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MBAJFAHB@uarr@
CONST SEGMENT
??_C@_04MBAJFAHB@uarr@ DB 'uarr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@MANNKCID@leftwards?5arrow?0?5U?$CL2190?5ISOnum@
CONST SEGMENT
??_C@_0BP@MANNKCID@leftwards?5arrow?0?5U?$CL2190?5ISOnum@ DB 'leftwards a'
DB 'rrow, U+2190 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04KMPJKFIC@larr@
CONST SEGMENT
??_C@_04KMPJKFIC@larr@ DB 'larr', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DF@FEFKAOCF@alef?5symbol?5?$DN?5first?5transfinite@
CONST SEGMENT
??_C@_0DF@FEFKAOCF@alef?5symbol?5?$DN?5first?5transfinite@ DB 'alef symbo'
DB 'l = first transfinite cardinal, U+2135 NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07HGDIPDGB@alefsym@
CONST SEGMENT
??_C@_07HGDIPDGB@alefsym@ DB 'alefsym', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@FGOALMKH@trade?5mark?5sign?0?5U?$CL2122?5ISOnum@
CONST SEGMENT
??_C@_0BP@FGOALMKH@trade?5mark?5sign?0?5U?$CL2122?5ISOnum@ DB 'trade mark'
DB ' sign, U+2122 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IJFCMOFM@trade@
CONST SEGMENT
??_C@_05IJFCMOFM@trade@ DB 'trade', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DJ@HIEIFFHC@blackletter?5capital?5R?5?$DN?5real?5pa@
CONST SEGMENT
??_C@_0DJ@HIEIFFHC@blackletter?5capital?5R?5?$DN?5real?5pa@ DB 'blacklett'
DB 'er capital R = real part symbol, U+211C ISOamso', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04DGGKDJMA@real@
CONST SEGMENT
??_C@_04DGGKDJMA@real@ DB 'real', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DN@GALPCJE@script?5capital?5P?5?$DN?5power?5set?5?$DN?5@
CONST SEGMENT
??_C@_0DN@GALPCJE@script?5capital?5P?5?$DN?5power?5set?5?$DN?5@ DB 'scrip'
DB 't capital P = power set = Weierstrass p, U+2118 ISOamso', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06PDPFIHAI@weierp@
CONST SEGMENT
??_C@_06PDPFIHAI@weierp@ DB 'weierp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DH@HDIEDNLH@blackletter?5capital?5I?5?$DN?5imagina@
CONST SEGMENT
??_C@_0DH@HDIEDNLH@blackletter?5capital?5I?5?$DN?5imagina@ DB 'blacklette'
DB 'r capital I = imaginary part, U+2111 ISOamso', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NGOMGBBD@image@
CONST SEGMENT
??_C@_05NGOMGBBD@image@ DB 'image', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@JOOOHDJA@euro?5sign?0?5U?$CL20AC?5NEW@
CONST SEGMENT
??_C@_0BG@JOOOHDJA@euro?5sign?0?5U?$CL20AC?5NEW@ DB 'euro sign, U+20AC NE'
DB 'W', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IBPOGLCH@euro@
CONST SEGMENT
??_C@_04IBPOGLCH@euro@ DB 'euro', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BL@ECLANJNI@fraction?5slash?0?5U?$CL2044?5NEW@
CONST SEGMENT
??_C@_0BL@ECLANJNI@fraction?5slash?0?5U?$CL2044?5NEW@ DB 'fraction slash,'
DB ' U+2044 NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05POHGDHA@frasl@
CONST SEGMENT
??_C@_05POHGDHA@frasl@ DB 'frasl', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@PIHCOGHN@overline?5?$DN?5spacing?5overscore?0?5U@
CONST SEGMENT
??_C@_0CJ@PIHCOGHN@overline?5?$DN?5spacing?5overscore?0?5U@ DB 'overline '
DB '= spacing overscore, U+203E NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05PHLALINO@oline@
CONST SEGMENT
??_C@_05PHLALINO@oline@ DB 'oline', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EA@GOMGFHEI@single?5right?9pointing?5angle?5quo@
CONST SEGMENT
??_C@_0EA@GOMGFHEI@single?5right?9pointing?5angle?5quo@ DB 'single right-'
DB 'pointing angle quotation mark, U+203A ISO proposed', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FDFMNKDL@rsaquo@
CONST SEGMENT
??_C@_06FDFMNKDL@rsaquo@ DB 'rsaquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DP@FIMACBKH@single?5left?9pointing?5angle?5quot@
CONST SEGMENT
??_C@_0DP@FIMACBKH@single?5left?9pointing?5angle?5quot@ DB 'single left-p'
DB 'ointing angle quotation mark, U+2039 ISO proposed', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06GELNDNKI@lsaquo@
CONST SEGMENT
??_C@_06GELNDNKI@lsaquo@ DB 'lsaquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@NOHFAGMO@double?5prime?5?$DN?5seconds?5?$DN?5inches@
CONST SEGMENT
??_C@_0DA@NOHFAGMO@double?5prime?5?$DN?5seconds?5?$DN?5inches@ DB 'double'
DB ' prime = seconds = inches, U+2033 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NPAKJKBM@Prime@
CONST SEGMENT
??_C@_05NPAKJKBM@Prime@ DB 'Prime', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@BOHNNDDJ@prime?5?$DN?5minutes?5?$DN?5feet?0?5U?$CL2032?5@
CONST SEGMENT
??_C@_0CH@BOHNNDDJ@prime?5?$DN?5minutes?5?$DN?5feet?0?5U?$CL2032?5@ DB 'p'
DB 'rime = minutes = feet, U+2032 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NIKGJPCK@prime@
CONST SEGMENT
??_C@_05NIKGJPCK@prime@ DB 'prime', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@MOFLNGGL@per?5mille?5sign?0?5U?$CL2030?5ISOtech@
CONST SEGMENT
??_C@_0BP@MOFLNGGL@per?5mille?5sign?0?5U?$CL2030?5ISOtech@ DB 'per mille '
DB 'sign, U+2030 ISOtech', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06BCNCCGDG@permil@
CONST SEGMENT
??_C@_06BCNCCGDG@permil@ DB 'permil', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DG@IFMGDAHK@horizontal?5ellipsis?5?$DN?5three?5dot@
CONST SEGMENT
??_C@_0DG@IFMGDAHK@horizontal?5ellipsis?5?$DN?5three?5dot@ DB 'horizontal'
DB ' ellipsis = three dot leader, U+2026 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06MHPIOHEE@hellip@
CONST SEGMENT
??_C@_06MHPIOHEE@hellip@ DB 'hellip', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@DGNFAKNB@bullet?5?$DN?5black?5small?5circle?0?5U?$CL@
CONST SEGMENT
??_C@_0CL@DGNFAKNB@bullet?5?$DN?5black?5small?5circle?0?5U?$CL@ DB 'bulle'
DB 't = black small circle, U+2022 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04OELGKIO@bull@
CONST SEGMENT
??_C@_04OELGKIO@bull@ DB 'bull', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@EMJEPPHC@double?5dagger?0?5U?$CL2021?5ISOpub@
CONST SEGMENT
??_C@_0BN@EMJEPPHC@double?5dagger?0?5U?$CL2021?5ISOpub@ DB 'double dagger'
DB ', U+2021 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06MPIJNLEM@Dagger@
CONST SEGMENT
??_C@_06MPIJNLEM@Dagger@ DB 'Dagger', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@KCAEGFLE@dagger?0?5U?$CL2020?5ISOpub@
CONST SEGMENT
??_C@_0BG@KCAEGFLE@dagger?0?5U?$CL2020?5ISOpub@ DB 'dagger, U+2020 ISOpub'
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06DEOCNA@dagger@
CONST SEGMENT
??_C@_06DEOCNA@dagger@ DB 'dagger', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@JHNLBCGB@double?5low?99?5quotation?5mark?0?5U?$CL@
CONST SEGMENT
??_C@_0CI@JHNLBCGB@double?5low?99?5quotation?5mark?0?5U?$CL@ DB 'double l'
DB 'ow-9 quotation mark, U+201E NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05EGPDLKK@bdquo@
CONST SEGMENT
??_C@_05EGPDLKK@bdquo@ DB 'bdquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@ECIPNNCJ@right?5double?5quotation?5mark?0?5U?$CL@
CONST SEGMENT
??_C@_0CL@ECIPNNCJ@right?5double?5quotation?5mark?0?5U?$CL@ DB 'right dou'
DB 'ble quotation mark, U+201D ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05HLJDJDB@rdquo@
CONST SEGMENT
??_C@_05HLJDJDB@rdquo@ DB 'rdquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@DIJLOOKF@left?5double?5quotation?5mark?0?5U?$CL2@
CONST SEGMENT
??_C@_0CK@DIJLOOKF@left?5double?5quotation?5mark?0?5U?$CL2@ DB 'left doub'
DB 'le quotation mark, U+201C ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05DOGFFKNK@ldquo@
CONST SEGMENT
??_C@_05DOGFFKNK@ldquo@ DB 'ldquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@NPEPNHFF@single?5low?99?5quotation?5mark?0?5U?$CL@
CONST SEGMENT
??_C@_0CI@NPEPNHFF@single?5low?99?5quotation?5mark?0?5U?$CL@ DB 'single l'
DB 'ow-9 quotation mark, U+201A NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05EDKFBPDE@sbquo@
CONST SEGMENT
??_C@_05EDKFBPDE@sbquo@ DB 'sbquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@GEEKPFIM@right?5single?5quotation?5mark?0?5U?$CL@
CONST SEGMENT
??_C@_0CL@GEEKPFIM@right?5single?5quotation?5mark?0?5U?$CL@ DB 'right sin'
DB 'gle quotation mark, U+2019 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NFHJHCKD@rsquo@
CONST SEGMENT
??_C@_05NFHJHCKD@rsquo@ DB 'rsquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@GNEELPIK@left?5single?5quotation?5mark?0?5U?$CL2@
CONST SEGMENT
??_C@_0CK@GNEELPIK@left?5single?5quotation?5mark?0?5U?$CL2@ DB 'left sing'
DB 'le quotation mark, U+2018 ISOnum', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OMKFBBEI@lsquo@
CONST SEGMENT
??_C@_05OMKFBBEI@lsquo@ DB 'lsquo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@KANBCIDP@em?5dash?0?5U?$CL2014?5ISOpub@
CONST SEGMENT
??_C@_0BH@KANBCIDP@em?5dash?0?5U?$CL2014?5ISOpub@ DB 'em dash, U+2014 ISO'
DB 'pub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OOOMDEJF@mdash@
CONST SEGMENT
??_C@_05OOOMDEJF@mdash@ DB 'mdash', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@PNMIOILG@en?5dash?0?5U?$CL2013?5ISOpub@
CONST SEGMENT
??_C@_0BH@PNMIOILG@en?5dash?0?5U?$CL2013?5ISOpub@ DB 'en dash, U+2013 ISO'
DB 'pub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05GIHIEGDL@ndash@
CONST SEGMENT
??_C@_05GIHIEGDL@ndash@ DB 'ndash', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@CAGBGDGP@right?9to?9left?5mark?0?5U?$CL200F?5NEW?5@
CONST SEGMENT
??_C@_0CI@CAGBGDGP@right?9to?9left?5mark?0?5U?$CL200F?5NEW?5@ DB 'right-t'
DB 'o-left mark, U+200F NEW RFC 2070', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03IOBDGPFK@rlm@
CONST SEGMENT
??_C@_03IOBDGPFK@rlm@ DB 'rlm', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@JMDAIFJP@left?9to?9right?5mark?0?5U?$CL200E?5NEW?5@
CONST SEGMENT
??_C@_0CI@JMDAIFJP@left?9to?9right?5mark?0?5U?$CL200E?5NEW?5@ DB 'left-to'
DB '-right mark, U+200E NEW RFC 2070', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CIGNMBIM@lrm@
CONST SEGMENT
??_C@_03CIGNMBIM@lrm@ DB 'lrm', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@HBJLDPCB@zero?5width?5joiner?0?5U?$CL200D?5NEW?5R@
CONST SEGMENT
??_C@_0CH@HBJLDPCB@zero?5width?5joiner?0?5U?$CL200D?5NEW?5R@ DB 'zero wid'
DB 'th joiner, U+200D NEW RFC 2070', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03BEJFJNOD@zwj@
CONST SEGMENT
??_C@_03BEJFJNOD@zwj@ DB 'zwj', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@DLBANCKG@zero?5width?5non?9joiner?0?5U?$CL200C?5N@
CONST SEGMENT
??_C@_0CL@DLBANCKG@zero?5width?5non?9joiner?0?5U?$CL200C?5N@ DB 'zero wid'
DB 'th non-joiner, U+200C NEW RFC 2070', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04KBAMANKO@zwnj@
CONST SEGMENT
??_C@_04KBAMANKO@zwnj@ DB 'zwnj', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@BMAGNFEE@thin?5space?0?5U?$CL2009?5ISOpub@
CONST SEGMENT
??_C@_0BK@BMAGNFEE@thin?5space?0?5U?$CL2009?5ISOpub@ DB 'thin space, U+20'
DB '09 ISOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KIEAGDHN@thinsp@
CONST SEGMENT
??_C@_06KIEAGDHN@thinsp@ DB 'thinsp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@KECKOMLC@em?5space?0?5U?$CL2003?5ISOpub@
CONST SEGMENT
??_C@_0BI@KECKOMLC@em?5space?0?5U?$CL2003?5ISOpub@ DB 'em space, U+2003 I'
DB 'SOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NIMLHAPO@emsp@
CONST SEGMENT
??_C@_04NIMLHAPO@emsp@ DB 'emsp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@MFLEMBMM@en?5space?0?5U?$CL2002?5ISOpub@
CONST SEGMENT
??_C@_0BI@MFLEMBMM@en?5space?0?5U?$CL2002?5ISOpub@ DB 'en space, U+2002 I'
DB 'SOpub', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MKHONPBA@ensp@
CONST SEGMENT
??_C@_04MKHONPBA@ensp@ DB 'ensp', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@BEPNCOE@greek?5pi?5symbol?0?5U?$CL03D6?5ISOgrk3@
CONST SEGMENT
??_C@_0CA@BEPNCOE@greek?5pi?5symbol?0?5U?$CL03D6?5ISOgrk3@ DB 'greek pi s'
DB 'ymbol, U+03D6 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03ILOHKOKA@piv@
CONST SEGMENT
??_C@_03ILOHKOKA@piv@ DB 'piv', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@EJFICJGP@greek?5upsilon?5with?5hook?5symbol?0@
CONST SEGMENT
??_C@_0CL@EJFICJGP@greek?5upsilon?5with?5hook?5symbol?0@ DB 'greek upsilo'
DB 'n with hook symbol, U+03D2 NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05HPKIDMJD@upsih@
CONST SEGMENT
??_C@_05HPKIDMJD@upsih@ DB 'upsih', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@BLIOHCJH@greek?5small?5letter?5theta?5symbol@
CONST SEGMENT
??_C@_0CM@BLIOHCJH@greek?5small?5letter?5theta?5symbol@ DB 'greek small l'
DB 'etter theta symbol, U+03D1 NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08KICBPJKJ@thetasym@
CONST SEGMENT
??_C@_08KICBPJKJ@thetasym@ DB 'thetasym', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@NIEIIOKC@greek?5small?5letter?5omega?0?5U?$CL03C@
CONST SEGMENT
??_C@_0CJ@NIEIIOKC@greek?5small?5letter?5omega?0?5U?$CL03C@ DB 'greek sma'
DB 'll letter omega, U+03C9 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OLLLNAFN@omega@
CONST SEGMENT
??_C@_05OLLLNAFN@omega@ DB 'omega', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@CAAILPN@greek?5small?5letter?5psi?0?5U?$CL03C8?5@
CONST SEGMENT
??_C@_0CH@CAAILPN@greek?5small?5letter?5psi?0?5U?$CL03C8?5@ DB 'greek sma'
DB 'll letter psi, U+03C8 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03FHAMIGJI@psi@
CONST SEGMENT
??_C@_03FHAMIGJI@psi@ DB 'psi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@FNBJGLJ@greek?5small?5letter?5chi?0?5U?$CL03C7?5@
CONST SEGMENT
??_C@_0CH@FNBJGLJ@greek?5small?5letter?5chi?0?5U?$CL03C7?5@ DB 'greek sma'
DB 'll letter chi, U+03C7 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03FNDDCHI@chi@
CONST SEGMENT
??_C@_03FNDDCHI@chi@ DB 'chi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@KFHMBLGI@greek?5small?5letter?5phi?0?5U?$CL03C6?5@
CONST SEGMENT
??_C@_0CH@KFHMBLGI@greek?5small?5letter?5phi?0?5U?$CL03C6?5@ DB 'greek sm'
DB 'all letter phi, U+03C6 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03EHHPMKAJ@phi@
CONST SEGMENT
??_C@_03EHHPMKAJ@phi@ DB 'phi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@IFBHJODJ@greek?5small?5letter?5upsilon?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@IFBHJODJ@greek?5small?5letter?5upsilon?0?5U?$CL0@ DB 'greek sma'
DB 'll letter upsilon, U+03C5 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07ECJEIHJF@upsilon@
CONST SEGMENT
??_C@_07ECJEIHJF@upsilon@ DB 'upsilon', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@DHNJIMD@greek?5small?5letter?5tau?0?5U?$CL03C4?5@
CONST SEGMENT
??_C@_0CH@DHNJIMD@greek?5small?5letter?5tau?0?5U?$CL03C4?5@ DB 'greek sma'
DB 'll letter tau, U+03C4 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03CBLLDLIM@tau@
CONST SEGMENT
??_C@_03CBLLDLIM@tau@ DB 'tau', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@CGFNIIGJ@greek?5small?5letter?5sigma?0?5U?$CL03C@
CONST SEGMENT
??_C@_0CJ@CGFNIIGJ@greek?5small?5letter?5sigma?0?5U?$CL03C@ DB 'greek sma'
DB 'll letter sigma, U+03C3 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MNLBPJCA@sigma@
CONST SEGMENT
??_C@_05MNLBPJCA@sigma@ DB 'sigma', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CP@IIMCBNML@greek?5small?5letter?5final?5sigma?0@
CONST SEGMENT
??_C@_0CP@IIMCBNML@greek?5small?5letter?5final?5sigma?0@ DB 'greek small '
DB 'letter final sigma, U+03C2 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06IAEFNBA@sigmaf@
CONST SEGMENT
??_C@_06IAEFNBA@sigmaf@ DB 'sigmaf', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@IDBCMKBI@greek?5small?5letter?5rho?0?5U?$CL03C1?5@
CONST SEGMENT
??_C@_0CH@IDBCMKBI@greek?5small?5letter?5rho?0?5U?$CL03C1?5@ DB 'greek sm'
DB 'all letter rho, U+03C1 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03LLCMKFAE@rho@
CONST SEGMENT
??_C@_03LLCMKFAE@rho@ DB 'rho', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@KLOCKGKD@greek?5small?5letter?5pi?0?5U?$CL03C0?5I@
CONST SEGMENT
??_C@_0CG@KLOCKGKD@greek?5small?5letter?5pi?0?5U?$CL03C0?5I@ DB 'greek sm'
DB 'all letter pi, U+03C0 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02OAHAJOFD@pi@
CONST SEGMENT
??_C@_02OAHAJOFD@pi@ DB 'pi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@GIJCJIME@greek?5small?5letter?5omicron?0?5U?$CL0@
CONST SEGMENT
??_C@_0CH@GIJCJIME@greek?5small?5letter?5omicron?0?5U?$CL0@ DB 'greek sma'
DB 'll letter omicron, U+03BF NEW', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07PBNNEOII@omicron@
CONST SEGMENT
??_C@_07PBNNEOII@omicron@ DB 'omicron', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@HDKNCKDK@greek?5small?5letter?5xi?0?5U?$CL03BE?5I@
CONST SEGMENT
??_C@_0CG@HDKNCKDK@greek?5small?5letter?5xi?0?5U?$CL03BE?5I@ DB 'greek sm'
DB 'all letter xi, U+03BE ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02OOGDMPOL@xi@
CONST SEGMENT
??_C@_02OOGDMPOL@xi@ DB 'xi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@CAKLFEAP@greek?5small?5letter?5nu?0?5U?$CL03BD?5I@
CONST SEGMENT
??_C@_0CG@CAKLFEAP@greek?5small?5letter?5nu?0?5U?$CL03BD?5I@ DB 'greek sm'
DB 'all letter nu, U+03BD ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02BALPENHE@nu@
CONST SEGMENT
??_C@_02BALPENHE@nu@ DB 'nu', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@GBCBMJNP@greek?5small?5letter?5mu?0?5U?$CL03BC?5I@
CONST SEGMENT
??_C@_0CG@GBCBMJNP@greek?5small?5letter?5mu?0?5U?$CL03BC?5I@ DB 'greek sm'
DB 'all letter mu, U+03BC ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02BCPJPDCN@mu@
CONST SEGMENT
??_C@_02BCPJPDCN@mu@ DB 'mu', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@PECPLDML@greek?5small?5letter?5lambda?0?5U?$CL03@
CONST SEGMENT
??_C@_0CK@PECPLDML@greek?5small?5letter?5lambda?0?5U?$CL03@ DB 'greek sma'
DB 'll letter lambda, U+03BB ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06COJIGPIB@lambda@
CONST SEGMENT
??_C@_06COJIGPIB@lambda@ DB 'lambda', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@FMCMBLI@greek?5small?5letter?5kappa?0?5U?$CL03B@
CONST SEGMENT
??_C@_0CJ@FMCMBLI@greek?5small?5letter?5kappa?0?5U?$CL03B@ DB 'greek smal'
DB 'l letter kappa, U+03BA ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MLHEGNBC@kappa@
CONST SEGMENT
??_C@_05MLHEGNBC@kappa@ DB 'kappa', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@IFKGGLBF@greek?5small?5letter?5iota?0?5U?$CL03B9@
CONST SEGMENT
??_C@_0CI@IFKGGLBF@greek?5small?5letter?5iota?0?5U?$CL03B9@ DB 'greek sma'
DB 'll letter iota, U+03B9 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04OBKEGAOB@iota@
CONST SEGMENT
??_C@_04OBKEGAOB@iota@ DB 'iota', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@OCPPMBNL@greek?5small?5letter?5theta?0?5U?$CL03B@
CONST SEGMENT
??_C@_0CJ@OCPPMBNL@greek?5small?5letter?5theta?0?5U?$CL03B@ DB 'greek sma'
DB 'll letter theta, U+03B8 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05FECKLAFM@theta@
CONST SEGMENT
??_C@_05FECKLAFM@theta@ DB 'theta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@KEKGFBMN@greek?5small?5letter?5eta?0?5U?$CL03B7?5@
CONST SEGMENT
??_C@_0CH@KEKGFBMN@greek?5small?5letter?5eta?0?5U?$CL03B7?5@ DB 'greek sm'
DB 'all letter eta, U+03B7 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PNFNLNLI@eta@
CONST SEGMENT
??_C@_03PNFNLNLI@eta@ DB 'eta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@BDECAAKJ@greek?5small?5letter?5zeta?0?5U?$CL03B6@
CONST SEGMENT
??_C@_0CI@BDECAAKJ@greek?5small?5letter?5zeta?0?5U?$CL03B6@ DB 'greek sma'
DB 'll letter zeta, U+03B6 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04KJFJGNNH@zeta@
CONST SEGMENT
??_C@_04KJFJGNNH@zeta@ DB 'zeta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@DLPCDOME@greek?5small?5letter?5epsilon?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@DLPCDOME@greek?5small?5letter?5epsilon?0?5U?$CL0@ DB 'greek sma'
DB 'll letter epsilon, U+03B5 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07DOCPLGLO@epsilon@
CONST SEGMENT
??_C@_07DOCPLGLO@epsilon@ DB 'epsilon', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@BFJAILD@greek?5small?5letter?5delta?0?5U?$CL03B@
CONST SEGMENT
??_C@_0CJ@BFJAILD@greek?5small?5letter?5delta?0?5U?$CL03B@ DB 'greek smal'
DB 'l letter delta, U+03B4 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05NCGEDJPM@delta@
CONST SEGMENT
??_C@_05NCGEDJPM@delta@ DB 'delta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@GAGCCHKA@greek?5small?5letter?5gamma?0?5U?$CL03B@
CONST SEGMENT
??_C@_0CJ@GAGCCHKA@greek?5small?5letter?5gamma?0?5U?$CL03B@ DB 'greek sma'
DB 'll letter gamma, U+03B3 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05KDLBCAI@gamma@
CONST SEGMENT
??_C@_05KDLBCAI@gamma@ DB 'gamma', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@HELPLLEJ@greek?5small?5letter?5beta?0?5U?$CL03B2@
CONST SEGMENT
??_C@_0CI@HELPLLEJ@greek?5small?5letter?5beta?0?5U?$CL03B2@ DB 'greek sma'
DB 'll letter beta, U+03B2 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PJMJLBJE@beta@
CONST SEGMENT
??_C@_04PJMJLBJE@beta@ DB 'beta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@NGKKADHM@greek?5small?5letter?5alpha?0?5U?$CL03B@
CONST SEGMENT
??_C@_0CJ@NGKKADHM@greek?5small?5letter?5alpha?0?5U?$CL03B@ DB 'greek sma'
DB 'll letter alpha, U+03B1 ISOgrk3', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IAEKHIAN@alpha@
CONST SEGMENT
??_C@_05IAEKHIAN@alpha@ DB 'alpha', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@ILDKNODA@greek?5capital?5letter?5omega?0?5U?$CL0@
CONST SEGMENT
??_C@_0CL@ILDKNODA@greek?5capital?5letter?5omega?0?5U?$CL0@ DB 'greek cap'
DB 'ital letter omega, U+03A9 ISOgrk3', 00H ; `string'
CONST ENDS
PUBLIC ___local_stdio_printf_options
PUBLIC _snprintf
PUBLIC ___htmlParseContent
PUBLIC _htmlTagLookup
PUBLIC _htmlEntityLookup
PUBLIC _htmlEntityValueLookup
PUBLIC _htmlIsAutoClosed
PUBLIC _htmlAutoCloseTag
PUBLIC _htmlParseEntityRef
PUBLIC _htmlParseCharRef
PUBLIC _htmlParseElement
PUBLIC _htmlNewParserCtxt
PUBLIC _htmlCreateMemoryParserCtxt
PUBLIC _htmlParseDocument
PUBLIC _htmlSAXParseDoc
PUBLIC _htmlParseDoc
PUBLIC _htmlSAXParseFile
PUBLIC _htmlParseFile
PUBLIC _UTF8ToHtml
PUBLIC _htmlEncodeEntities
PUBLIC _htmlIsScriptAttribute
PUBLIC _htmlHandleOmittedElem
PUBLIC _htmlCreatePushParserCtxt
PUBLIC _htmlParseChunk
PUBLIC _htmlFreeParserCtxt
PUBLIC _htmlCtxtReset
PUBLIC _htmlCtxtUseOptions
PUBLIC _htmlReadDoc
PUBLIC _htmlReadFile
PUBLIC _htmlReadMemory
PUBLIC _htmlReadFd
PUBLIC _htmlReadIO
PUBLIC _htmlCtxtReadDoc
PUBLIC _htmlCtxtReadFile
PUBLIC _htmlCtxtReadMemory
PUBLIC _htmlCtxtReadFd
PUBLIC _htmlCtxtReadIO
PUBLIC _htmlAttrAllowed
PUBLIC _htmlElementAllowedHere
PUBLIC _htmlElementStatusHere
PUBLIC _htmlNodeStatus
PUBLIC _htmlInitAutoClose
PUBLIC _htmlCreateFileParserCtxt
PUBLIC _htmlNewDoc
PUBLIC _htmlNewDocNoDtD
PUBLIC __JustMyCode_Default
PUBLIC ??_C@_0BP@DJFHNAOK@Memory?5allocation?5failed?5?3?5?$CFs?6@ ; `string'
PUBLIC ??_C@_0BK@GDFDKGPJ@Memory?5allocation?5failed?6@ ; `string'
PUBLIC ??_C@_0L@KJGBOFMC@HTTP?9EQUIV@ ; `string'
PUBLIC ??_C@_07HPFEHCIK@CONTENT@ ; `string'
PUBLIC ??_C@_08HFIPAJDM@CHARSET?$DN@ ; `string'
PUBLIC ??_C@_0CA@EOJNGAKJ@Char?50x?$CFX?5out?5of?5allowed?5range?6@ ; `string'
PUBLIC ??_C@_0BI@PIALHHKN@Unsupported?5encoding?5?$CFs@ ; `string'
PUBLIC ??_C@_0CE@KHMCMEAC@Bytes?3?50x?$CF02X?50x?$CF02X?50x?$CF02X?50x?$CF@ ; `string'
PUBLIC ??_C@_0P@DAFMJFMB@Bytes?3?50x?$CF02X?6@ ; `string'
PUBLIC ??_C@_0DA@ICAIJAPJ@Input?5is?5not?5proper?5UTF?98?0?5indi@ ; `string'
PUBLIC ??_C@_0CM@OHOANBCK@Opening?5and?5ending?5tag?5mismatch@ ; `string'
PUBLIC ??_C@_03PCCJIL@?$CD?$CFu@ ; `string'
PUBLIC ??_C@_0CG@CPFGJCJF@couldn?8t?5allocate?5a?5new?5input?5s@ ; `string'
PUBLIC ??_C@_0BK@MJOJINPD@?9?1?1W3C?1?1DTD?5HTML?54?401?1?1EN@ ; `string'
PUBLIC ??_C@_0BH@HNGCOIEH@?9?1?1W3C?1?1DTD?5HTML?54?1?1EN@ ; `string'
PUBLIC ??_C@_0BP@NIBPLFNK@HTML?5document?5creation?5failed?6@ ; `string'
PUBLIC ??_C@_0CG@CIBPFINF@?9?1?1W3C?1?1DTD?5HTML?54?40?5Transition@ ; `string'
PUBLIC ??_C@_0CK@JLEAHDEJ@http?3?1?1www?4w3?4org?1TR?1REC?9html40@ ; `string'
PUBLIC ??_C@_0CC@JIBKNHBD@unexpected?5change?5of?5input?5buff@ ; `string'
PUBLIC ??_C@_0BK@LKGAKEEM@buffer?5allocation?5failed?6@ ; `string'
PUBLIC ??_C@_0BA@CHFIPIAO@growing?5buffer?6@ ; `string'
PUBLIC ??_C@_0BN@FCLAMBFC@htmlParseEntityRef?3?5no?5name?6@ ; `string'
PUBLIC ??_C@_0CD@KJDDHCEO@htmlParseEntityRef?3?5expecting?5?8@ ; `string'
PUBLIC ??_C@_0BG@ECEGDLEC@AttValue?3?5?$CC?5expected?6@ ; `string'
PUBLIC ??_C@_0BG@NKOFEMFC@AttValue?3?5?8?5expected?6@ ; `string'
PUBLIC ??_C@_0BK@IDNLEFDN@AttValue?3?5no?5value?5found?6@ ; `string'
PUBLIC ??_C@_0BK@PPFHJEEL@Unfinished?5SystemLiteral?6@ ; `string'
PUBLIC ??_C@_0BA@HCBHCDID@?5or?5?8?5expected?6@ ; `string'
PUBLIC ??_C@_0BJ@CGBDHPF@Unfinished?5PubidLiteral?6@ ; `string'
PUBLIC ??_C@_0BO@CNBHKMED@PubidLiteral?5?$CC?5or?5?8?5expected?6@ ; `string'
PUBLIC ??_C@_0BN@HLEPILFB@Element?5?$CFs?5embeds?5close?5tag?6@ ; `string'
PUBLIC ??_C@_0BM@GCKCOLAE@Invalid?5char?5in?5CDATA?50x?$CFX?6@ ; `string'
PUBLIC ??_C@_0BP@CCMMHADN@Space?5required?5after?5?8SYSTEM?8?6@ ; `string'
PUBLIC ??_C@_0CF@LGGPLBBM@htmlParseExternalID?3?5SYSTEM?0?5no@ ; `string'
PUBLIC ??_C@_0BP@EHONNEAJ@Space?5required?5after?5?8PUBLIC?8?6@ ; `string'
PUBLIC ??_C@_0DD@OPLMODNC@htmlParseExternalID?3?5PUBLIC?0?5no@ ; `string'
PUBLIC ??_C@_0BP@KBNJPEOK@ParsePI?3?5PI?5?$CFs?5space?5expected?6@ ; `string'
PUBLIC ??_C@_0BO@OGPJFKEP@ParsePI?3?5PI?5?$CFs?5never?5end?5?4?4?4?6@ ; `string'
PUBLIC ??_C@_0BM@EHACIEGC@PI?5is?5not?5started?5correctly@ ; `string'
PUBLIC ??_C@_0BH@HKBCFNGN@growing?5buffer?5failed?6@ ; `string'
PUBLIC ??_C@_0CD@MHPLKFMN@Comment?5not?5terminated?5?6?$DM?$CB?9?9?$CF?45@ ; `string'
PUBLIC ??_C@_0CB@DPLLMGHJ@htmlParseCharRef?3?5context?5error@ ; `string'
PUBLIC ??_C@_0CF@KKILEJJN@htmlParseCharRef?3?5missing?5semic@ ; `string'
PUBLIC ??_C@_0CB@IKIMPOOL@htmlParseCharRef?3?5invalid?5value@ ; `string'
PUBLIC ??_C@_0CM@IDADHLG@htmlParseCharRef?3?5invalid?5xmlCh@ ; `string'
PUBLIC ??_C@_0CK@ENAEKEOD@htmlParseDocTypeDecl?5?3?5no?5DOCTY@ ; `string'
PUBLIC ??_C@_0BP@EFDCAMCC@DOCTYPE?5improperly?5terminated?6@ ; `string'
PUBLIC ??_C@_0BO@BHLKDNI@error?5parsing?5attribute?5name?6@ ; `string'
PUBLIC ??_C@_0CI@JCPDEKHP@htmlCheckEncoding?3?5wrong?5encodi@ ; `string'
PUBLIC ??_C@_0CI@PNKHCAFG@htmlCheckEncoding?3?5unknown?5enco@ ; `string'
PUBLIC ??_C@_0CC@OECAOKB@htmlCheckEncoding?3?5encoder?5erro@ ; `string'
PUBLIC ??_C@_01NEMOKFLO@?$DN@ ; `string'
PUBLIC ??_C@_0N@LAFFMKKA@Content?9Type@ ; `string'
PUBLIC ??_C@_0CC@IMLMDHHB@htmlParseStartTag?3?5context?5erro@ ; `string'
PUBLIC ??_C@_0CJ@FBFDNGDH@htmlParseStartTag?3?5invalid?5elem@ ; `string'
PUBLIC ??_C@_0CJ@LOEJNMOA@htmlParseStartTag?3?5misplaced?5?$DMh@ ; `string'
PUBLIC ??_C@_0CJ@EDPENOJH@htmlParseStartTag?3?5misplaced?5?$DMh@ ; `string'
PUBLIC ??_C@_0CJ@BLFAHHGP@htmlParseStartTag?3?5misplaced?5?$DMb@ ; `string'
PUBLIC ??_C@_0BI@LJKBJNKP@Attribute?5?$CFs?5redefined?6@ ; `string'
PUBLIC ??_C@_0CP@BBOKDADJ@htmlParseStartTag?3?5problem?5pars@ ; `string'
PUBLIC ??_C@_0CB@NNENDCGP@htmlParseEndTag?3?5?8?$DM?1?8?5not?5found@ ; `string'
PUBLIC ??_C@_0BI@FHDFFDFP@End?5tag?5?3?5expected?5?8?$DO?8?6@ ; `string'
PUBLIC ??_C@_0BJ@LENKJKOI@Unexpected?5end?5tag?5?3?5?$CFs?6@ ; `string'
PUBLIC ??_C@_01HNPIGOCE@?$CG@ ; `string'
PUBLIC ??_C@_07JGKBCNAA@DOCTYPE@ ; `string'
PUBLIC ??_C@_0BP@FHNHCCJD@Misplaced?5DOCTYPE?5declaration?6@ ; `string'
PUBLIC ??_C@_0CG@FCFCBOFE@detected?5an?5error?5in?5element?5co@ ; `string'
PUBLIC ??_C@_0CB@EOHEMKHC@htmlParseElement?3?5context?5error@ ; `string'
PUBLIC ??_C@_0BA@NAOEEOLP@Tag?5?$CFs?5invalid?6@ ; `string'
PUBLIC ??_C@_0CD@HIMAKCPA@Couldn?8t?5find?5end?5of?5Start?5Tag?5@ ; `string'
PUBLIC ??_C@_0CJ@HLPMKEOA@htmlParseElementInternal?3?5conte@ ; `string'
PUBLIC ??_C@_0CC@IOOHKEGN@htmlParseDocument?3?5context?5erro@ ; `string'
PUBLIC ??_C@_0BD@DKOGENJF@Document?5is?5empty?6@ ; `string'
PUBLIC ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@ ; `string'
PUBLIC ??_C@_0BO@MIDDFDBC@NewParserCtxt?3?5out?5of?5memory?6@ ; `string'
PUBLIC ??_C@_0BJ@FCHADMKI@Unsupported?5encoding?5?$CFs?6@ ; `string'
PUBLIC ??_C@_04HDPHNOLM@?$DL?5?$DO?1@ ; `string'
PUBLIC ??_C@_02OOBBLJDN@?$DM?$CG@ ; `string'
PUBLIC ??_C@_0CF@KKLECLJD@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@ ; `string'
PUBLIC ??_C@_0CD@KNMNDGMA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5D@ ; `string'
PUBLIC ??_C@_0CH@DIGPKIBA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@ ; `string'
PUBLIC ??_C@_0CC@OPBEPNBE@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5P@ ; `string'
PUBLIC ??_C@_0CL@MKEILABF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@ ; `string'
PUBLIC ??_C@_0CM@CIKPMOBJ@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@ ; `string'
PUBLIC ??_C@_0CP@ICHFLFOK@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5A@ ; `string'
PUBLIC ??_C@_0DJ@DADALPJL@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@ ; `string'
PUBLIC ??_C@_0DB@JCLDPCBF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@ ; `string'
PUBLIC ??_C@_0DC@FBPNGOCN@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@ ; `string'
PUBLIC ??_C@_0BP@LLMIGGGN@htmlParseChunk?3?5context?5error?6@ ; `string'
PUBLIC ??_C@_0P@NFGFPEHN@encoder?5error?6@ ; `string'
PUBLIC ??_C@_08JPKHBDLJ@charset?$DN@ ; `string'
PUBLIC ??_C@_0P@PCJPAHLM@out?5of?5memory?6@ ; `string'
EXTRN _xmlStrdup:PROC
EXTRN _xmlStrndup:PROC
EXTRN _xmlStrcasestr:PROC
EXTRN _xmlStrcmp:PROC
EXTRN _xmlStrcasecmp:PROC
EXTRN _xmlStrncasecmp:PROC
EXTRN _xmlStrEqual:PROC
EXTRN _xmlStrlen:PROC
EXTRN __imp____stdio_common_vsprintf:PROC
EXTRN __imp__toupper:PROC
EXTRN _xmlBufContent:PROC
EXTRN _xmlBufUse:PROC
EXTRN _xmlBufShrink:PROC
EXTRN _xmlDictCreate:PROC
EXTRN _xmlDictLookup:PROC
EXTRN _xmlDictOwns:PROC
EXTRN _xmlCreateIntSubset:PROC
EXTRN _xmlGetIntSubset:PROC
EXTRN _xmlFreeDoc:PROC
EXTRN _xmlGetLastChild:PROC
EXTRN _xmlNodeIsText:PROC
EXTRN _xmlHashFree:PROC
EXTRN _xmlHashDefaultDeallocator:PROC
EXTRN _xmlParserValidityError:PROC
EXTRN _xmlParserValidityWarning:PROC
EXTRN ___xmlRaiseError:PROC
EXTRN _xmlFindCharEncodingHandler:PROC
EXTRN _xmlParseCharEncoding:PROC
EXTRN _xmlDetectCharEncoding:PROC
EXTRN _xmlAllocParserInputBuffer:PROC
EXTRN _xmlParserInputBufferCreateFd:PROC
EXTRN _xmlParserInputBufferCreateMem:PROC
EXTRN _xmlParserInputBufferCreateIO:PROC
EXTRN _xmlParserInputBufferPush:PROC
EXTRN _xmlFreeParserInputBuffer:PROC
EXTRN _xmlParserGetDirectory:PROC
EXTRN _xmlInitParser:PROC
EXTRN _xmlParserInputGrow:PROC
EXTRN _xmlNewParserCtxt:PROC
EXTRN _xmlFreeParserCtxt:PROC
EXTRN _xmlNewIOInputStream:PROC
EXTRN _xmlInitNodeInfoSeq:PROC
EXTRN _xmlParserAddNodeInfo:PROC
EXTRN _xmlLoadExternalEntity:PROC
EXTRN _xmlSAX2IgnorableWhitespace:PROC
EXTRN _htmlDefaultSAXHandlerInit:PROC
EXTRN ___htmlDefaultSAXHandler:PROC
EXTRN ___xmlDefaultSAXHandler:PROC
EXTRN ___xmlDefaultSAXLocator:PROC
EXTRN ___xmlKeepBlanksDefaultValue:PROC
EXTRN ___xmlLineNumbersDefaultValue:PROC
EXTRN _xmlCharInRange:PROC
EXTRN _xmlCreateMemoryParserCtxt:PROC
EXTRN _xmlSwitchEncoding:PROC
EXTRN _xmlSwitchToEncoding:PROC
EXTRN _xmlNewStringInputStream:PROC
EXTRN _xmlPopInput:PROC
EXTRN _xmlFreeInputStream:PROC
EXTRN _xmlNewInputStream:PROC
EXTRN _nodePop:PROC
EXTRN _inputPush:PROC
EXTRN _inputPop:PROC
EXTRN _xmlCurrentChar:PROC
EXTRN _xmlCopyChar:PROC
EXTRN _xmlNextChar:PROC
EXTRN _xmlParserInputShrink:PROC
EXTRN _xmlCanonicPath:PROC
EXTRN _xmlBufResetInput:PROC
EXTRN _xmlBufGetInputBase:PROC
EXTRN _xmlBufSetInputBaseCur:PROC
EXTRN _xmlCharEncInput:PROC
EXTRN @_RTC_CheckStackVars@8:PROC
EXTRN @__CheckForDebuggerJustMyCode@4:PROC
EXTRN __RTC_CheckEsp:PROC
EXTRN __RTC_InitBase:PROC
EXTRN __RTC_Shutdown:PROC
EXTRN _memcpy:PROC
EXTRN _memset:PROC
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
_BSS SEGMENT
_htmlStartCloseIndex DD 064H DUP (?)
_htmlStartCloseIndexinitialized DD 01H DUP (?)
_BSS ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
__RTC_Shutdown.rtc$TMZ DD FLAT:__RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
__RTC_InitBase.rtc$IMZ DD FLAT:__RTC_InitBase
rtc$IMZ ENDS
; COMDAT ??_C@_0P@PCJPAHLM@out?5of?5memory?6@
CONST SEGMENT
??_C@_0P@PCJPAHLM@out?5of?5memory?6@ DB 'out of memory', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08JPKHBDLJ@charset?$DN@
CONST SEGMENT
??_C@_08JPKHBDLJ@charset?$DN@ DB 'charset=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@NFGFPEHN@encoder?5error?6@
CONST SEGMENT
??_C@_0P@NFGFPEHN@encoder?5error?6@ DB 'encoder error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@LLMIGGGN@htmlParseChunk?3?5context?5error?6@
CONST SEGMENT
??_C@_0BP@LLMIGGGN@htmlParseChunk?3?5context?5error?6@ DB 'htmlParseChunk'
DB ': context error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DC@FBPNGOCN@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@
CONST SEGMENT
??_C@_0DC@FBPNGOCN@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@ DB 'HPP:'
DB ' internal error, state == XML_PARSER_LITERAL', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DB@JCLDPCBF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@
CONST SEGMENT
??_C@_0DB@JCLDPCBF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@ DB 'HPP:'
DB ' internal error, state == XML_PARSER_IGNORE', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DJ@DADALPJL@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@
CONST SEGMENT
??_C@_0DJ@DADALPJL@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@ DB 'HPP:'
DB ' internal error, state == XML_PARSER_SYSTEM_LITERAL', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CP@ICHFLFOK@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5A@
CONST SEGMENT
??_C@_0CP@ICHFLFOK@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5A@ DB 'HPP:'
DB ' internal error, state == ATTRIBUTE_VALUE', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@CIKPMOBJ@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@
CONST SEGMENT
??_C@_0CM@CIKPMOBJ@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@ DB 'HPP:'
DB ' internal error, state == ENTITY_VALUE', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@MKEILABF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@
CONST SEGMENT
??_C@_0CL@MKEILABF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@ DB 'HPP:'
DB ' internal error, state == ENTITY_DECL', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@OPBEPNBE@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5P@
CONST SEGMENT
??_C@_0CC@OPBEPNBE@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5P@ DB 'HPP:'
DB ' internal error, state == PI', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CH@DIGPKIBA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@
CONST SEGMENT
??_C@_0CH@DIGPKIBA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@ DB 'HPP:'
DB ' internal error, state == COMMENT', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@KNMNDGMA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5D@
CONST SEGMENT
??_C@_0CD@KNMNDGMA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5D@ DB 'HPP:'
DB ' internal error, state == DTD', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@KKLECLJD@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@
CONST SEGMENT
??_C@_0CF@KKLECLJD@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@ DB 'HPP:'
DB ' internal error, state == CDATA', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02OOBBLJDN@?$DM?$CG@
CONST SEGMENT
??_C@_02OOBBLJDN@?$DM?$CG@ DB '<&', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HDPHNOLM@?$DL?5?$DO?1@
CONST SEGMENT
??_C@_04HDPHNOLM@?$DL?5?$DO?1@ DB '; >/', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@FCHADMKI@Unsupported?5encoding?5?$CFs?6@
CONST SEGMENT
??_C@_0BJ@FCHADMKI@Unsupported?5encoding?5?$CFs?6@ DB 'Unsupported encodi'
DB 'ng %s', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@MIDDFDBC@NewParserCtxt?3?5out?5of?5memory?6@
CONST SEGMENT
??_C@_0BO@MIDDFDBC@NewParserCtxt?3?5out?5of?5memory?6@ DB 'NewParserCtxt:'
DB ' out of memory', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@
CONST SEGMENT
??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@ DB 'htmlInitParse'
DB 'rCtxt: out of memory', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@DKOGENJF@Document?5is?5empty?6@
CONST SEGMENT
??_C@_0BD@DKOGENJF@Document?5is?5empty?6@ DB 'Document is empty', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@IOOHKEGN@htmlParseDocument?3?5context?5erro@
CONST SEGMENT
??_C@_0CC@IOOHKEGN@htmlParseDocument?3?5context?5erro@ DB 'htmlParseDocum'
DB 'ent: context error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@HLPMKEOA@htmlParseElementInternal?3?5conte@
CONST SEGMENT
??_C@_0CJ@HLPMKEOA@htmlParseElementInternal?3?5conte@ DB 'htmlParseElemen'
DB 'tInternal: context error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@HIMAKCPA@Couldn?8t?5find?5end?5of?5Start?5Tag?5@
CONST SEGMENT
??_C@_0CD@HIMAKCPA@Couldn?8t?5find?5end?5of?5Start?5Tag?5@ DB 'Couldn''t '
DB 'find end of Start Tag %s', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@NAOEEOLP@Tag?5?$CFs?5invalid?6@
CONST SEGMENT
??_C@_0BA@NAOEEOLP@Tag?5?$CFs?5invalid?6@ DB 'Tag %s invalid', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@EOHEMKHC@htmlParseElement?3?5context?5error@
CONST SEGMENT
??_C@_0CB@EOHEMKHC@htmlParseElement?3?5context?5error@ DB 'htmlParseEleme'
DB 'nt: context error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@FCFCBOFE@detected?5an?5error?5in?5element?5co@
CONST SEGMENT
??_C@_0CG@FCFCBOFE@detected?5an?5error?5in?5element?5co@ DB 'detected an '
DB 'error in element content', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@FHNHCCJD@Misplaced?5DOCTYPE?5declaration?6@
CONST SEGMENT
??_C@_0BP@FHNHCCJD@Misplaced?5DOCTYPE?5declaration?6@ DB 'Misplaced DOCTY'
DB 'PE declaration', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07JGKBCNAA@DOCTYPE@
CONST SEGMENT
??_C@_07JGKBCNAA@DOCTYPE@ DB 'DOCTYPE', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01HNPIGOCE@?$CG@
CONST SEGMENT
??_C@_01HNPIGOCE@?$CG@ DB '&', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@LENKJKOI@Unexpected?5end?5tag?5?3?5?$CFs?6@
CONST SEGMENT
??_C@_0BJ@LENKJKOI@Unexpected?5end?5tag?5?3?5?$CFs?6@ DB 'Unexpected end '
DB 'tag : %s', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@FHDFFDFP@End?5tag?5?3?5expected?5?8?$DO?8?6@
CONST SEGMENT
??_C@_0BI@FHDFFDFP@End?5tag?5?3?5expected?5?8?$DO?8?6@ DB 'End tag : expe'
DB 'cted ''>''', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@NNENDCGP@htmlParseEndTag?3?5?8?$DM?1?8?5not?5found@
CONST SEGMENT
??_C@_0CB@NNENDCGP@htmlParseEndTag?3?5?8?$DM?1?8?5not?5found@ DB 'htmlPar'
DB 'seEndTag: ''</'' not found', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CP@BBOKDADJ@htmlParseStartTag?3?5problem?5pars@
CONST SEGMENT
??_C@_0CP@BBOKDADJ@htmlParseStartTag?3?5problem?5pars@ DB 'htmlParseStart'
DB 'Tag: problem parsing attributes', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@LJKBJNKP@Attribute?5?$CFs?5redefined?6@
CONST SEGMENT
??_C@_0BI@LJKBJNKP@Attribute?5?$CFs?5redefined?6@ DB 'Attribute %s redefi'
DB 'ned', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@BLFAHHGP@htmlParseStartTag?3?5misplaced?5?$DMb@
CONST SEGMENT
??_C@_0CJ@BLFAHHGP@htmlParseStartTag?3?5misplaced?5?$DMb@ DB 'htmlParseSt'
DB 'artTag: misplaced <body> tag', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@EDPENOJH@htmlParseStartTag?3?5misplaced?5?$DMh@
CONST SEGMENT
??_C@_0CJ@EDPENOJH@htmlParseStartTag?3?5misplaced?5?$DMh@ DB 'htmlParseSt'
DB 'artTag: misplaced <head> tag', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@LOEJNMOA@htmlParseStartTag?3?5misplaced?5?$DMh@
CONST SEGMENT
??_C@_0CJ@LOEJNMOA@htmlParseStartTag?3?5misplaced?5?$DMh@ DB 'htmlParseSt'
DB 'artTag: misplaced <html> tag', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@FBFDNGDH@htmlParseStartTag?3?5invalid?5elem@
CONST SEGMENT
??_C@_0CJ@FBFDNGDH@htmlParseStartTag?3?5invalid?5elem@ DB 'htmlParseStart'
DB 'Tag: invalid element name', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@IMLMDHHB@htmlParseStartTag?3?5context?5erro@
CONST SEGMENT
??_C@_0CC@IMLMDHHB@htmlParseStartTag?3?5context?5erro@ DB 'htmlParseStart'
DB 'Tag: context error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0N@LAFFMKKA@Content?9Type@
CONST SEGMENT
??_C@_0N@LAFFMKKA@Content?9Type@ DB 'Content-Type', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01NEMOKFLO@?$DN@
CONST SEGMENT
??_C@_01NEMOKFLO@?$DN@ DB '=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@OECAOKB@htmlCheckEncoding?3?5encoder?5erro@
CONST SEGMENT
??_C@_0CC@OECAOKB@htmlCheckEncoding?3?5encoder?5erro@ DB 'htmlCheckEncodi'
DB 'ng: encoder error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@PNKHCAFG@htmlCheckEncoding?3?5unknown?5enco@
CONST SEGMENT
??_C@_0CI@PNKHCAFG@htmlCheckEncoding?3?5unknown?5enco@ DB 'htmlCheckEncod'
DB 'ing: unknown encoding %s', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@JCPDEKHP@htmlCheckEncoding?3?5wrong?5encodi@
CONST SEGMENT
??_C@_0CI@JCPDEKHP@htmlCheckEncoding?3?5wrong?5encodi@ DB 'htmlCheckEncod'
DB 'ing: wrong encoding meta', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@BHLKDNI@error?5parsing?5attribute?5name?6@
CONST SEGMENT
??_C@_0BO@BHLKDNI@error?5parsing?5attribute?5name?6@ DB 'error parsing at'
DB 'tribute name', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@EFDCAMCC@DOCTYPE?5improperly?5terminated?6@
CONST SEGMENT
??_C@_0BP@EFDCAMCC@DOCTYPE?5improperly?5terminated?6@ DB 'DOCTYPE imprope'
DB 'rly terminated', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@ENAEKEOD@htmlParseDocTypeDecl?5?3?5no?5DOCTY@
CONST SEGMENT
??_C@_0CK@ENAEKEOD@htmlParseDocTypeDecl?5?3?5no?5DOCTY@ DB 'htmlParseDocT'
DB 'ypeDecl : no DOCTYPE name !', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@IDADHLG@htmlParseCharRef?3?5invalid?5xmlCh@
CONST SEGMENT
??_C@_0CM@IDADHLG@htmlParseCharRef?3?5invalid?5xmlCh@ DB 'htmlParseCharRe'
DB 'f: invalid xmlChar value %d', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@IKIMPOOL@htmlParseCharRef?3?5invalid?5value@
CONST SEGMENT
??_C@_0CB@IKIMPOOL@htmlParseCharRef?3?5invalid?5value@ DB 'htmlParseCharR'
DB 'ef: invalid value', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@KKILEJJN@htmlParseCharRef?3?5missing?5semic@
CONST SEGMENT
??_C@_0CF@KKILEJJN@htmlParseCharRef?3?5missing?5semic@ DB 'htmlParseCharR'
DB 'ef: missing semicolon', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@DPLLMGHJ@htmlParseCharRef?3?5context?5error@
CONST SEGMENT
??_C@_0CB@DPLLMGHJ@htmlParseCharRef?3?5context?5error@ DB 'htmlParseCharR'
DB 'ef: context error', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@MHPLKFMN@Comment?5not?5terminated?5?6?$DM?$CB?9?9?$CF?45@
CONST SEGMENT
??_C@_0CD@MHPLKFMN@Comment?5not?5terminated?5?6?$DM?$CB?9?9?$CF?45@ DB 'C'
DB 'omment not terminated ', 0aH, '<!--%.50s', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@HKBCFNGN@growing?5buffer?5failed?6@
CONST SEGMENT
??_C@_0BH@HKBCFNGN@growing?5buffer?5failed?6@ DB 'growing buffer failed', 0aH
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@EHACIEGC@PI?5is?5not?5started?5correctly@
CONST SEGMENT
??_C@_0BM@EHACIEGC@PI?5is?5not?5started?5correctly@ DB 'PI is not started'
DB ' correctly', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@OGPJFKEP@ParsePI?3?5PI?5?$CFs?5never?5end?5?4?4?4?6@
CONST SEGMENT
??_C@_0BO@OGPJFKEP@ParsePI?3?5PI?5?$CFs?5never?5end?5?4?4?4?6@ DB 'ParseP'
DB 'I: PI %s never end ...', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@KBNJPEOK@ParsePI?3?5PI?5?$CFs?5space?5expected?6@
CONST SEGMENT
??_C@_0BP@KBNJPEOK@ParsePI?3?5PI?5?$CFs?5space?5expected?6@ DB 'ParsePI: '
DB 'PI %s space expected', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DD@OPLMODNC@htmlParseExternalID?3?5PUBLIC?0?5no@
CONST SEGMENT
??_C@_0DD@OPLMODNC@htmlParseExternalID?3?5PUBLIC?0?5no@ DB 'htmlParseExte'
DB 'rnalID: PUBLIC, no Public Identifier', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@EHONNEAJ@Space?5required?5after?5?8PUBLIC?8?6@
CONST SEGMENT
??_C@_0BP@EHONNEAJ@Space?5required?5after?5?8PUBLIC?8?6@ DB 'Space requir'
DB 'ed after ''PUBLIC''', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CF@LGGPLBBM@htmlParseExternalID?3?5SYSTEM?0?5no@
CONST SEGMENT
??_C@_0CF@LGGPLBBM@htmlParseExternalID?3?5SYSTEM?0?5no@ DB 'htmlParseExte'
DB 'rnalID: SYSTEM, no URI', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@CCMMHADN@Space?5required?5after?5?8SYSTEM?8?6@
CONST SEGMENT
??_C@_0BP@CCMMHADN@Space?5required?5after?5?8SYSTEM?8?6@ DB 'Space requir'
DB 'ed after ''SYSTEM''', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@GCKCOLAE@Invalid?5char?5in?5CDATA?50x?$CFX?6@
CONST SEGMENT
??_C@_0BM@GCKCOLAE@Invalid?5char?5in?5CDATA?50x?$CFX?6@ DB 'Invalid char '
DB 'in CDATA 0x%X', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@HLEPILFB@Element?5?$CFs?5embeds?5close?5tag?6@
CONST SEGMENT
??_C@_0BN@HLEPILFB@Element?5?$CFs?5embeds?5close?5tag?6@ DB 'Element %s e'
DB 'mbeds close tag', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@CNBHKMED@PubidLiteral?5?$CC?5or?5?8?5expected?6@
CONST SEGMENT
??_C@_0BO@CNBHKMED@PubidLiteral?5?$CC?5or?5?8?5expected?6@ DB 'PubidLiter'
DB 'al " or '' expected', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@CGBDHPF@Unfinished?5PubidLiteral?6@
CONST SEGMENT
??_C@_0BJ@CGBDHPF@Unfinished?5PubidLiteral?6@ DB 'Unfinished PubidLiteral'
DB 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@HCBHCDID@?5or?5?8?5expected?6@
CONST SEGMENT
??_C@_0BA@HCBHCDID@?5or?5?8?5expected?6@ DB ' or '' expected', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@PPFHJEEL@Unfinished?5SystemLiteral?6@
CONST SEGMENT
??_C@_0BK@PPFHJEEL@Unfinished?5SystemLiteral?6@ DB 'Unfinished SystemLite'
DB 'ral', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@IDNLEFDN@AttValue?3?5no?5value?5found?6@
CONST SEGMENT
??_C@_0BK@IDNLEFDN@AttValue?3?5no?5value?5found?6@ DB 'AttValue: no value'
DB ' found', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@NKOFEMFC@AttValue?3?5?8?5expected?6@
CONST SEGMENT
??_C@_0BG@NKOFEMFC@AttValue?3?5?8?5expected?6@ DB 'AttValue: '' expected', 0aH
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@ECEGDLEC@AttValue?3?5?$CC?5expected?6@
CONST SEGMENT
??_C@_0BG@ECEGDLEC@AttValue?3?5?$CC?5expected?6@ DB 'AttValue: " expected'
DB 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@KJDDHCEO@htmlParseEntityRef?3?5expecting?5?8@
CONST SEGMENT
??_C@_0CD@KJDDHCEO@htmlParseEntityRef?3?5expecting?5?8@ DB 'htmlParseEnti'
DB 'tyRef: expecting '';''', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BN@FCLAMBFC@htmlParseEntityRef?3?5no?5name?6@
CONST SEGMENT
??_C@_0BN@FCLAMBFC@htmlParseEntityRef?3?5no?5name?6@ DB 'htmlParseEntityR'
DB 'ef: no name', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@CHFIPIAO@growing?5buffer?6@
CONST SEGMENT
??_C@_0BA@CHFIPIAO@growing?5buffer?6@ DB 'growing buffer', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@LKGAKEEM@buffer?5allocation?5failed?6@
CONST SEGMENT
??_C@_0BK@LKGAKEEM@buffer?5allocation?5failed?6@ DB 'buffer allocation fa'
DB 'iled', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CC@JIBKNHBD@unexpected?5change?5of?5input?5buff@
CONST SEGMENT
??_C@_0CC@JIBKNHBD@unexpected?5change?5of?5input?5buff@ DB 'unexpected ch'
DB 'ange of input buffer', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@JLEAHDEJ@http?3?1?1www?4w3?4org?1TR?1REC?9html40@
CONST SEGMENT
??_C@_0CK@JLEAHDEJ@http?3?1?1www?4w3?4org?1TR?1REC?9html40@ DB 'http://ww'
DB 'w.w3.org/TR/REC-html40/loose.dtd', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@CIBPFINF@?9?1?1W3C?1?1DTD?5HTML?54?40?5Transition@
CONST SEGMENT
??_C@_0CG@CIBPFINF@?9?1?1W3C?1?1DTD?5HTML?54?40?5Transition@ DB '-//W3C//'
DB 'DTD HTML 4.0 Transitional//EN', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@NIBPLFNK@HTML?5document?5creation?5failed?6@
CONST SEGMENT
??_C@_0BP@NIBPLFNK@HTML?5document?5creation?5failed?6@ DB 'HTML document '
DB 'creation failed', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@HNGCOIEH@?9?1?1W3C?1?1DTD?5HTML?54?1?1EN@
CONST SEGMENT
??_C@_0BH@HNGCOIEH@?9?1?1W3C?1?1DTD?5HTML?54?1?1EN@ DB '-//W3C//DTD HTML '
DB '4//EN', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@MJOJINPD@?9?1?1W3C?1?1DTD?5HTML?54?401?1?1EN@
CONST SEGMENT
??_C@_0BK@MJOJINPD@?9?1?1W3C?1?1DTD?5HTML?54?401?1?1EN@ DB '-//W3C//DTD H'
DB 'TML 4.01//EN', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@CPFGJCJF@couldn?8t?5allocate?5a?5new?5input?5s@
CONST SEGMENT
??_C@_0CG@CPFGJCJF@couldn?8t?5allocate?5a?5new?5input?5s@ DB 'couldn''t a'
DB 'llocate a new input stream', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PCCJIL@?$CD?$CFu@
CONST SEGMENT
??_C@_03PCCJIL@?$CD?$CFu@ DB '#%u', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@OHOANBCK@Opening?5and?5ending?5tag?5mismatch@
CONST SEGMENT
??_C@_0CM@OHOANBCK@Opening?5and?5ending?5tag?5mismatch@ DB 'Opening and e'
DB 'nding tag mismatch: %s and %s', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DA@ICAIJAPJ@Input?5is?5not?5proper?5UTF?98?0?5indi@
CONST SEGMENT
??_C@_0DA@ICAIJAPJ@Input?5is?5not?5proper?5UTF?98?0?5indi@ DB 'Input is n'
DB 'ot proper UTF-8, indicate encoding !', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@DAFMJFMB@Bytes?3?50x?$CF02X?6@
CONST SEGMENT
??_C@_0P@DAFMJFMB@Bytes?3?50x?$CF02X?6@ DB 'Bytes: 0x%02X', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@KHMCMEAC@Bytes?3?50x?$CF02X?50x?$CF02X?50x?$CF02X?50x?$CF@
CONST SEGMENT
??_C@_0CE@KHMCMEAC@Bytes?3?50x?$CF02X?50x?$CF02X?50x?$CF02X?50x?$CF@ DB 'B'
DB 'ytes: 0x%02X 0x%02X 0x%02X 0x%02X', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@PIALHHKN@Unsupported?5encoding?5?$CFs@
CONST SEGMENT
??_C@_0BI@PIALHHKN@Unsupported?5encoding?5?$CFs@ DB 'Unsupported encoding'
DB ' %s', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CA@EOJNGAKJ@Char?50x?$CFX?5out?5of?5allowed?5range?6@
CONST SEGMENT
??_C@_0CA@EOJNGAKJ@Char?50x?$CFX?5out?5of?5allowed?5range?6@ DB 'Char 0x%'
DB 'X out of allowed range', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08HFIPAJDM@CHARSET?$DN@
CONST SEGMENT
??_C@_08HFIPAJDM@CHARSET?$DN@ DB 'CHARSET=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07HPFEHCIK@CONTENT@
CONST SEGMENT
??_C@_07HPFEHCIK@CONTENT@ DB 'CONTENT', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@KJGBOFMC@HTTP?9EQUIV@
CONST SEGMENT
??_C@_0L@KJGBOFMC@HTTP?9EQUIV@ DB 'HTTP-EQUIV', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@GDFDKGPJ@Memory?5allocation?5failed?6@
CONST SEGMENT
??_C@_0BK@GDFDKGPJ@Memory?5allocation?5failed?6@ DB 'Memory allocation fa'
DB 'iled', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BP@DJFHNAOK@Memory?5allocation?5failed?5?3?5?$CFs?6@
CONST SEGMENT
??_C@_0BP@DJFHNAOK@Memory?5allocation?5failed?5?3?5?$CFs?6@ DB 'Memory al'
DB 'location failed : %s', 0aH, 00H ; `string'
CONST ENDS
_DATA SEGMENT
_htmlOmittedDefaultValue DD 01H
ORG $+4
_allowPCData DD FLAT:??_C@_01MCMALHOG@a@
DD FLAT:??_C@_04FKPKGNKN@abbr@
DD FLAT:??_C@_07DBMAFMJI@acronym@
DD FLAT:??_C@_07LHEPONKL@address@
DD FLAT:??_C@_06MJBNHHFM@applet@
DD FLAT:??_C@_01OJONOECF@b@
DD FLAT:??_C@_03OCCPALPP@bdo@
DD FLAT:??_C@_03CCCOBCKE@big@
DD FLAT:??_C@_0L@NKGPHNMG@blockquote@
DD FLAT:??_C@_04IEJGKNJ@body@
DD FLAT:??_C@_06HFKPFKMP@button@
DD FLAT:??_C@_07BANDPJOM@caption@
DD FLAT:??_C@_06BBLOAEEI@center@
DD FLAT:??_C@_04OKBDOCJI@cite@
DD FLAT:??_C@_04NDFOBODE@code@
DD FLAT:??_C@_02EOPBOLLC@dd@
DD FLAT:??_C@_03ONKLGNNH@del@
DD FLAT:??_C@_03NNNLLBAM@dfn@
DD FLAT:??_C@_03FEJMGOGI@div@
DD FLAT:??_C@_02EDDPJOD@dt@
DD FLAT:??_C@_02JOPBDKMM@em@
DD FLAT:??_C@_04EFPADHIC@font@
DD FLAT:??_C@_04MLMMMEIO@form@
DD FLAT:??_C@_02IACHLLMH@h1@
DD FLAT:??_C@_02KLAKOIAE@h2@
DD FLAT:??_C@_02LCBBNJEF@h3@
DD FLAT:??_C@_02PNFAEPIC@h4@
DD FLAT:??_C@_02OEELHOMD@h5@
DD FLAT:??_C@_02MPGGCNAA@h6@
DD FLAT:??_C@_01KBJDNOO@i@
DD FLAT:??_C@_06PKBNCBKI@iframe@
DD FLAT:??_C@_03NOMOFEHF@ins@
DD FLAT:??_C@_03HIFOOBAM@kbd@
DD FLAT:??_C@_05IDCCNNGI@label@
DD FLAT:??_C@_06BCIOHMBM@legend@
DD FLAT:??_C@_02PFEMMEEH@li@
DD FLAT:??_C@_08NAAIELI@noframes@
DD FLAT:??_C@_08NOCGLLG@noscript@
DD FLAT:??_C@_06IEOJBDIK@object@
DD FLAT:??_C@_01JBBJJEPG@p@
DD FLAT:??_C@_03PKHLKDKD@pre@
DD FLAT:??_C@_01IIACKFLH@q@
DD FLAT:??_C@_01LKDEMHDF@s@
DD FLAT:??_C@_04GLAFCDBO@samp@
DD FLAT:??_C@_05KJDGBEEG@small@
DD FLAT:??_C@_04FOPLNFFP@span@
DD FLAT:??_C@_06LGJEBFOF@strike@
DD FLAT:??_C@_06KHACOKFA@strong@
DD FLAT:??_C@_02FCNHEIMC@td@
DD FLAT:??_C@_02POGCAHMO@th@
DD FLAT:??_C@_02BIBFFKJD@tt@
DD FLAT:??_C@_01OMGOGALD@u@
DD FLAT:??_C@_03MEPDGFMA@var@
_DATA ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
push ebp
mov ebp, esp
pop ebp
ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlDoRead
_TEXT SEGMENT
_hdlr$1 = -8 ; size = 4
_ret$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_URL$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_options$ = 20 ; size = 4
_reuse$ = 24 ; size = 4
_htmlDoRead PROC ; COMDAT
; 6772 : {
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6773 : htmlDocPtr ret;
; 6774 :
; 6775 : htmlCtxtUseOptions(ctxt, options);
mov eax, DWORD PTR _options$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCtxtUseOptions
add esp, 8
; 6776 : ctxt->html = 1;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+32], 1
; 6777 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN2@htmlDoRead
; 6778 : xmlCharEncodingHandlerPtr hdlr;
; 6779 :
; 6780 : hdlr = xmlFindCharEncodingHandler(encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _hdlr$1[ebp], eax
; 6781 : if (hdlr != NULL) {
cmp DWORD PTR _hdlr$1[ebp], 0
je SHORT $LN2@htmlDoRead
; 6782 : xmlSwitchToEncoding(ctxt, hdlr);
mov ecx, DWORD PTR _hdlr$1[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlSwitchToEncoding
add esp, 8
; 6783 : if (ctxt->input->encoding != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
cmp DWORD PTR [ecx+44], 0
je SHORT $LN4@htmlDoRead
; 6784 : xmlFree((xmlChar *) ctxt->input->encoding);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov esi, esp
mov ecx, DWORD PTR [eax+44]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN4@htmlDoRead:
; 6785 : ctxt->input->encoding = xmlStrdup((xmlChar *)encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
call _xmlStrdup
add esp, 4
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+44], eax
$LN2@htmlDoRead:
; 6786 : }
; 6787 : }
; 6788 : if ((URL != NULL) && (ctxt->input != NULL) &&
cmp DWORD PTR _URL$[ebp], 0
je SHORT $LN5@htmlDoRead
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
je SHORT $LN5@htmlDoRead
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx+4], 0
jne SHORT $LN5@htmlDoRead
; 6789 : (ctxt->input->filename == NULL))
; 6790 : ctxt->input->filename = (char *) xmlStrdup((const xmlChar *) URL);
mov eax, DWORD PTR _URL$[ebp]
push eax
call _xmlStrdup
add esp, 4
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+4], eax
$LN5@htmlDoRead:
; 6791 : htmlParseDocument(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseDocument
add esp, 4
; 6792 : ret = ctxt->myDoc;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+8]
mov DWORD PTR _ret$[ebp], edx
; 6793 : ctxt->myDoc = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+8], 0
; 6794 : if (!reuse) {
cmp DWORD PTR _reuse$[ebp], 0
jne SHORT $LN6@htmlDoRead
; 6795 : if ((ctxt->dictNames) &&
; 6796 : (ret != NULL) &&
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+364], 0
je SHORT $LN7@htmlDoRead
cmp DWORD PTR _ret$[ebp], 0
je SHORT $LN7@htmlDoRead
mov edx, DWORD PTR _ret$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [edx+80]
cmp ecx, DWORD PTR [eax+296]
jne SHORT $LN7@htmlDoRead
; 6797 : (ret->dict == ctxt->dict))
; 6798 : ctxt->dict = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+296], 0
$LN7@htmlDoRead:
; 6799 : xmlFreeParserCtxt(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlFreeParserCtxt
add esp, 4
$LN6@htmlDoRead:
; 6800 : }
; 6801 : return (ret);
mov eax, DWORD PTR _ret$[ebp]
; 6802 : }
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlDoRead ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseTryOrFinish
_TEXT SEGMENT
tv151 = -88 ; size = 4
_dtd$1 = -84 ; size = 4
_val$2 = -77 ; size = 1
_idx$3 = -76 ; size = 4
_chr$4 = -68 ; size = 2
_cons$5 = -60 ; size = 4
_info$6 = -56 ; size = 4
_failed$7 = -52 ; size = 4
_name$8 = -48 ; size = 4
_node_info$ = -40 ; size = 20
_next$ = -14 ; size = 1
_cur$ = -13 ; size = 1
_avail$ = -12 ; size = 4
_in$ = -8 ; size = 4
_ret$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_terminate$ = 12 ; size = 4
_htmlParseTryOrFinish PROC ; COMDAT
; 5326 : htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
push ebp
mov ebp, esp
sub esp, 88 ; 00000058H
push esi
push edi
lea edi, DWORD PTR [ebp-88]
mov ecx, 22 ; 00000016H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 5327 : int ret = 0;
mov DWORD PTR _ret$[ebp], 0
; 5328 : htmlParserInputPtr in;
; 5329 : int avail = 0;
mov DWORD PTR _avail$[ebp], 0
$LN2@htmlParseT:
; 5330 : xmlChar cur, next;
; 5331 :
; 5332 : htmlParserNodeInfo node_info;
; 5333 :
; 5334 : #ifdef DEBUG_PUSH
; 5335 : switch (ctxt->instate) {
; 5336 : case XML_PARSER_EOF:
; 5337 : xmlGenericError(xmlGenericErrorContext,
; 5338 : "HPP: try EOF\n"); break;
; 5339 : case XML_PARSER_START:
; 5340 : xmlGenericError(xmlGenericErrorContext,
; 5341 : "HPP: try START\n"); break;
; 5342 : case XML_PARSER_MISC:
; 5343 : xmlGenericError(xmlGenericErrorContext,
; 5344 : "HPP: try MISC\n");break;
; 5345 : case XML_PARSER_COMMENT:
; 5346 : xmlGenericError(xmlGenericErrorContext,
; 5347 : "HPP: try COMMENT\n");break;
; 5348 : case XML_PARSER_PROLOG:
; 5349 : xmlGenericError(xmlGenericErrorContext,
; 5350 : "HPP: try PROLOG\n");break;
; 5351 : case XML_PARSER_START_TAG:
; 5352 : xmlGenericError(xmlGenericErrorContext,
; 5353 : "HPP: try START_TAG\n");break;
; 5354 : case XML_PARSER_CONTENT:
; 5355 : xmlGenericError(xmlGenericErrorContext,
; 5356 : "HPP: try CONTENT\n");break;
; 5357 : case XML_PARSER_CDATA_SECTION:
; 5358 : xmlGenericError(xmlGenericErrorContext,
; 5359 : "HPP: try CDATA_SECTION\n");break;
; 5360 : case XML_PARSER_END_TAG:
; 5361 : xmlGenericError(xmlGenericErrorContext,
; 5362 : "HPP: try END_TAG\n");break;
; 5363 : case XML_PARSER_ENTITY_DECL:
; 5364 : xmlGenericError(xmlGenericErrorContext,
; 5365 : "HPP: try ENTITY_DECL\n");break;
; 5366 : case XML_PARSER_ENTITY_VALUE:
; 5367 : xmlGenericError(xmlGenericErrorContext,
; 5368 : "HPP: try ENTITY_VALUE\n");break;
; 5369 : case XML_PARSER_ATTRIBUTE_VALUE:
; 5370 : xmlGenericError(xmlGenericErrorContext,
; 5371 : "HPP: try ATTRIBUTE_VALUE\n");break;
; 5372 : case XML_PARSER_DTD:
; 5373 : xmlGenericError(xmlGenericErrorContext,
; 5374 : "HPP: try DTD\n");break;
; 5375 : case XML_PARSER_EPILOG:
; 5376 : xmlGenericError(xmlGenericErrorContext,
; 5377 : "HPP: try EPILOG\n");break;
; 5378 : case XML_PARSER_PI:
; 5379 : xmlGenericError(xmlGenericErrorContext,
; 5380 : "HPP: try PI\n");break;
; 5381 : case XML_PARSER_SYSTEM_LITERAL:
; 5382 : xmlGenericError(xmlGenericErrorContext,
; 5383 : "HPP: try SYSTEM_LITERAL\n");break;
; 5384 : }
; 5385 : #endif
; 5386 :
; 5387 : while (1) {
mov eax, 1
test eax, eax
je $done$169
; 5388 :
; 5389 : in = ctxt->input;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR _in$[ebp], edx
; 5390 : if (in == NULL) break;
cmp DWORD PTR _in$[ebp], 0
jne SHORT $LN6@htmlParseT
jmp $done$169
$LN6@htmlParseT:
; 5391 : if (in->buf == NULL)
mov eax, DWORD PTR _in$[ebp]
cmp DWORD PTR [eax], 0
jne SHORT $LN7@htmlParseT
; 5392 : avail = in->length - (in->cur - in->base);
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [ecx+16]
sub eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+24]
sub edx, eax
mov DWORD PTR _avail$[ebp], edx
jmp SHORT $LN8@htmlParseT
$LN7@htmlParseT:
; 5393 : else
; 5394 : avail = xmlBufUse(in->buf->buffer) - (in->cur - in->base);
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufUse
add esp, 4
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [edx+12]
sub eax, ecx
mov DWORD PTR _avail$[ebp], eax
$LN8@htmlParseT:
; 5395 : if ((avail == 0) && (terminate)) {
cmp DWORD PTR _avail$[ebp], 0
jne SHORT $LN9@htmlParseT
cmp DWORD PTR _terminate$[ebp], 0
je SHORT $LN9@htmlParseT
; 5396 : htmlAutoCloseOnEnd(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlAutoCloseOnEnd
add esp, 4
; 5397 : if ((ctxt->nameNr == 0) && (ctxt->instate != XML_PARSER_EOF)) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 0
jne SHORT $LN9@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], -1
je SHORT $LN9@htmlParseT
; 5398 : /*
; 5399 : * SAX: end of the document processing.
; 5400 : */
; 5401 : ctxt->instate = XML_PARSER_EOF;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], -1
; 5402 : if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN9@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+52], 0
je SHORT $LN9@htmlParseT
; 5403 : ctxt->sax->endDocument(ctxt->userData);
mov esi, esp
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+52]
call ecx
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN9@htmlParseT:
; 5404 : }
; 5405 : }
; 5406 : if (avail < 1)
cmp DWORD PTR _avail$[ebp], 1
jge SHORT $LN12@htmlParseT
; 5407 : goto done;
jmp $done$169
$LN12@htmlParseT:
; 5408 : cur = in->cur[0];
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _cur$[ebp], al
; 5409 : if (cur == 0) {
movzx ecx, BYTE PTR _cur$[ebp]
test ecx, ecx
jne SHORT $LN13@htmlParseT
; 5410 : SKIP(1);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+16], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
; 5411 : continue;
jmp $LN2@htmlParseT
$LN13@htmlParseT:
; 5412 : }
; 5413 :
; 5414 : switch (ctxt->instate) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+172]
mov DWORD PTR tv151[ebp], ecx
mov edx, DWORD PTR tv151[ebp]
add edx, 1
mov DWORD PTR tv151[ebp], edx
cmp DWORD PTR tv151[ebp], 17 ; 00000011H
ja $LN4@htmlParseT
mov eax, DWORD PTR tv151[ebp]
jmp DWORD PTR $LN168@htmlParseT[eax*4]
$LN14@htmlParseT:
; 5415 : case XML_PARSER_EOF:
; 5416 : /*
; 5417 : * Document parsing is done !
; 5418 : */
; 5419 : goto done;
jmp $done$169
$LN15@htmlParseT:
; 5420 : case XML_PARSER_START:
; 5421 : /*
; 5422 : * Very first chars read from the document flow.
; 5423 : */
; 5424 : cur = in->cur[0];
mov ecx, 1
imul edx, ecx, 0
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
mov dl, BYTE PTR [edx+ecx]
mov BYTE PTR _cur$[ebp], dl
; 5425 : if (IS_BLANK_CH(cur)) {
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 32 ; 00000020H
je SHORT $LN17@htmlParseT
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 9
jl SHORT $LN18@htmlParseT
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 10 ; 0000000aH
jle SHORT $LN17@htmlParseT
$LN18@htmlParseT:
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 13 ; 0000000dH
jne SHORT $LN16@htmlParseT
$LN17@htmlParseT:
; 5426 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 5427 : if (in->buf == NULL)
mov edx, DWORD PTR _in$[ebp]
cmp DWORD PTR [edx], 0
jne SHORT $LN19@htmlParseT
; 5428 : avail = in->length - (in->cur - in->base);
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [eax+16]
sub edx, DWORD PTR [ecx+12]
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+24]
sub ecx, edx
mov DWORD PTR _avail$[ebp], ecx
jmp SHORT $LN16@htmlParseT
$LN19@htmlParseT:
; 5429 : else
; 5430 : avail = xmlBufUse(in->buf->buffer) - (in->cur - in->base);
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufUse
add esp, 4
mov edx, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
sub eax, edx
mov DWORD PTR _avail$[ebp], eax
$LN16@htmlParseT:
; 5431 : }
; 5432 : if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN21@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+44], 0
je SHORT $LN21@htmlParseT
; 5433 : ctxt->sax->setDocumentLocator(ctxt->userData,
call ___xmlDefaultSAXLocator
mov esi, esp
push eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+44]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN21@htmlParseT:
; 5434 : &xmlDefaultSAXLocator);
; 5435 : if ((ctxt->sax) && (ctxt->sax->startDocument) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN22@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+48], 0
je SHORT $LN22@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+212], 0
jne SHORT $LN22@htmlParseT
; 5436 : (!ctxt->disableSAX))
; 5437 : ctxt->sax->startDocument(ctxt->userData);
mov esi, esp
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+48]
call ecx
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN22@htmlParseT:
; 5438 :
; 5439 : cur = in->cur[0];
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _cur$[ebp], al
; 5440 : next = in->cur[1];
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx+16]
mov cl, BYTE PTR [ecx+eax]
mov BYTE PTR _next$[ebp], cl
; 5441 : if ((cur == '<') && (next == '!') &&
; 5442 : (UPP(2) == 'D') && (UPP(3) == 'O') &&
; 5443 : (UPP(4) == 'C') && (UPP(5) == 'T') &&
; 5444 : (UPP(6) == 'Y') && (UPP(7) == 'P') &&
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne $LN23@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne $LN23@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 68 ; 00000044H
jne $LN23@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 79 ; 0000004fH
jne $LN23@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 2
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN23@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 5
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN23@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 6
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne $LN23@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 7
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne SHORT $LN23@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 3
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne SHORT $LN23@htmlParseT
; 5445 : (UPP(8) == 'E')) {
; 5446 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN25@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN25@htmlParseT
; 5447 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5448 : goto done;
jmp $done$169
$LN25@htmlParseT:
; 5449 : #ifdef DEBUG_PUSH
; 5450 : xmlGenericError(xmlGenericErrorContext,
; 5451 : "HPP: Parsing internal subset\n");
; 5452 : #endif
; 5453 : htmlParseDocTypeDecl(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseDocTypeDecl
add esp, 4
; 5454 : ctxt->instate = XML_PARSER_PROLOG;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 4
; 5455 : #ifdef DEBUG_PUSH
; 5456 : xmlGenericError(xmlGenericErrorContext,
; 5457 : "HPP: entering PROLOG\n");
; 5458 : #endif
; 5459 : } else {
jmp SHORT $LN24@htmlParseT
$LN23@htmlParseT:
; 5460 : ctxt->instate = XML_PARSER_MISC;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 1
$LN24@htmlParseT:
; 5461 : #ifdef DEBUG_PUSH
; 5462 : xmlGenericError(xmlGenericErrorContext,
; 5463 : "HPP: entering MISC\n");
; 5464 : #endif
; 5465 : }
; 5466 : break;
jmp $LN4@htmlParseT
$LN26@htmlParseT:
; 5467 : case XML_PARSER_MISC:
; 5468 : SKIP_BLANKS;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlSkipBlankChars
add esp, 4
; 5469 : if (in->buf == NULL)
mov eax, DWORD PTR _in$[ebp]
cmp DWORD PTR [eax], 0
jne SHORT $LN27@htmlParseT
; 5470 : avail = in->length - (in->cur - in->base);
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [ecx+16]
sub eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+24]
sub edx, eax
mov DWORD PTR _avail$[ebp], edx
jmp SHORT $LN28@htmlParseT
$LN27@htmlParseT:
; 5471 : else
; 5472 : avail = xmlBufUse(in->buf->buffer) - (in->cur - in->base);
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufUse
add esp, 4
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [edx+12]
sub eax, ecx
mov DWORD PTR _avail$[ebp], eax
$LN28@htmlParseT:
; 5473 : /*
; 5474 : * no chars in buffer
; 5475 : */
; 5476 : if (avail < 1)
cmp DWORD PTR _avail$[ebp], 1
jge SHORT $LN29@htmlParseT
; 5477 : goto done;
jmp $done$169
$LN29@htmlParseT:
; 5478 : /*
; 5479 : * not enouth chars in buffer
; 5480 : */
; 5481 : if (avail < 2) {
cmp DWORD PTR _avail$[ebp], 2
jge SHORT $LN30@htmlParseT
; 5482 : if (!terminate)
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN32@htmlParseT
; 5483 : goto done;
jmp $done$169
jmp SHORT $LN33@htmlParseT
$LN32@htmlParseT:
; 5484 : else
; 5485 : next = ' ';
mov BYTE PTR _next$[ebp], 32 ; 00000020H
$LN33@htmlParseT:
; 5486 : } else {
jmp SHORT $LN31@htmlParseT
$LN30@htmlParseT:
; 5487 : next = in->cur[1];
mov edx, 1
shl edx, 0
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
mov dl, BYTE PTR [edx+ecx]
mov BYTE PTR _next$[ebp], dl
$LN31@htmlParseT:
; 5488 : }
; 5489 : cur = in->cur[0];
mov eax, 1
imul ecx, eax, 0
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx+16]
mov cl, BYTE PTR [ecx+eax]
mov BYTE PTR _cur$[ebp], cl
; 5490 : if ((cur == '<') && (next == '!') &&
; 5491 : (in->cur[2] == '-') && (in->cur[3] == '-')) {
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne SHORT $LN34@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne SHORT $LN34@htmlParseT
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax+ecx]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN34@htmlParseT
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx+eax]
cmp eax, 45 ; 0000002dH
jne SHORT $LN34@htmlParseT
; 5492 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN36@htmlParseT
push 1
push 1
push 62 ; 0000003eH
push 45 ; 0000002dH
push 45 ; 0000002dH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN36@htmlParseT
; 5493 : (htmlParseLookupSequence(ctxt, '-', '-', '>', 1, 1) < 0))
; 5494 : goto done;
jmp $done$169
$LN36@htmlParseT:
; 5495 : #ifdef DEBUG_PUSH
; 5496 : xmlGenericError(xmlGenericErrorContext,
; 5497 : "HPP: Parsing Comment\n");
; 5498 : #endif
; 5499 : htmlParseComment(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseComment
add esp, 4
; 5500 : ctxt->instate = XML_PARSER_MISC;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 1
jmp $LN35@htmlParseT
$LN34@htmlParseT:
; 5501 : } else if ((cur == '<') && (next == '?')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN37@htmlParseT
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 63 ; 0000003fH
jne SHORT $LN37@htmlParseT
; 5502 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN39@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN39@htmlParseT
; 5503 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5504 : goto done;
jmp $done$169
$LN39@htmlParseT:
; 5505 : #ifdef DEBUG_PUSH
; 5506 : xmlGenericError(xmlGenericErrorContext,
; 5507 : "HPP: Parsing PI\n");
; 5508 : #endif
; 5509 : htmlParsePI(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParsePI
add esp, 4
; 5510 : ctxt->instate = XML_PARSER_MISC;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 1
; 5511 : } else if ((cur == '<') && (next == '!') &&
jmp $LN35@htmlParseT
$LN37@htmlParseT:
; 5512 : (UPP(2) == 'D') && (UPP(3) == 'O') &&
; 5513 : (UPP(4) == 'C') && (UPP(5) == 'T') &&
; 5514 : (UPP(6) == 'Y') && (UPP(7) == 'P') &&
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 60 ; 0000003cH
jne $LN40@htmlParseT
movzx ecx, BYTE PTR _next$[ebp]
cmp ecx, 33 ; 00000021H
jne $LN40@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 68 ; 00000044H
jne $LN40@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 79 ; 0000004fH
jne $LN40@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 2
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN40@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 5
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN40@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 6
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne $LN40@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 7
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne SHORT $LN40@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 3
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne SHORT $LN40@htmlParseT
; 5515 : (UPP(8) == 'E')) {
; 5516 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN42@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN42@htmlParseT
; 5517 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5518 : goto done;
jmp $done$169
$LN42@htmlParseT:
; 5519 : #ifdef DEBUG_PUSH
; 5520 : xmlGenericError(xmlGenericErrorContext,
; 5521 : "HPP: Parsing internal subset\n");
; 5522 : #endif
; 5523 : htmlParseDocTypeDecl(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseDocTypeDecl
add esp, 4
; 5524 : ctxt->instate = XML_PARSER_PROLOG;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 4
jmp SHORT $LN35@htmlParseT
$LN40@htmlParseT:
; 5525 : #ifdef DEBUG_PUSH
; 5526 : xmlGenericError(xmlGenericErrorContext,
; 5527 : "HPP: entering PROLOG\n");
; 5528 : #endif
; 5529 : } else if ((cur == '<') && (next == '!') &&
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne SHORT $LN43@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne SHORT $LN43@htmlParseT
cmp DWORD PTR _avail$[ebp], 9
jge SHORT $LN43@htmlParseT
; 5530 : (avail < 9)) {
; 5531 : goto done;
jmp $done$169
; 5532 : } else {
jmp SHORT $LN35@htmlParseT
$LN43@htmlParseT:
; 5533 : ctxt->instate = XML_PARSER_START_TAG;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 6
$LN35@htmlParseT:
; 5534 : #ifdef DEBUG_PUSH
; 5535 : xmlGenericError(xmlGenericErrorContext,
; 5536 : "HPP: entering START_TAG\n");
; 5537 : #endif
; 5538 : }
; 5539 : break;
jmp $LN4@htmlParseT
$LN45@htmlParseT:
; 5540 : case XML_PARSER_PROLOG:
; 5541 : SKIP_BLANKS;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlSkipBlankChars
add esp, 4
; 5542 : if (in->buf == NULL)
mov eax, DWORD PTR _in$[ebp]
cmp DWORD PTR [eax], 0
jne SHORT $LN46@htmlParseT
; 5543 : avail = in->length - (in->cur - in->base);
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [ecx+16]
sub eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+24]
sub edx, eax
mov DWORD PTR _avail$[ebp], edx
jmp SHORT $LN47@htmlParseT
$LN46@htmlParseT:
; 5544 : else
; 5545 : avail = xmlBufUse(in->buf->buffer) - (in->cur - in->base);
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufUse
add esp, 4
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [edx+12]
sub eax, ecx
mov DWORD PTR _avail$[ebp], eax
$LN47@htmlParseT:
; 5546 : if (avail < 2)
cmp DWORD PTR _avail$[ebp], 2
jge SHORT $LN48@htmlParseT
; 5547 : goto done;
jmp $done$169
$LN48@htmlParseT:
; 5548 : cur = in->cur[0];
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _cur$[ebp], al
; 5549 : next = in->cur[1];
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx+16]
mov cl, BYTE PTR [ecx+eax]
mov BYTE PTR _next$[ebp], cl
; 5550 : if ((cur == '<') && (next == '!') &&
; 5551 : (in->cur[2] == '-') && (in->cur[3] == '-')) {
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne SHORT $LN49@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne SHORT $LN49@htmlParseT
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax+ecx]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN49@htmlParseT
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx+eax]
cmp eax, 45 ; 0000002dH
jne SHORT $LN49@htmlParseT
; 5552 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN51@htmlParseT
push 1
push 1
push 62 ; 0000003eH
push 45 ; 0000002dH
push 45 ; 0000002dH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN51@htmlParseT
; 5553 : (htmlParseLookupSequence(ctxt, '-', '-', '>', 1, 1) < 0))
; 5554 : goto done;
jmp $done$169
$LN51@htmlParseT:
; 5555 : #ifdef DEBUG_PUSH
; 5556 : xmlGenericError(xmlGenericErrorContext,
; 5557 : "HPP: Parsing Comment\n");
; 5558 : #endif
; 5559 : htmlParseComment(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseComment
add esp, 4
; 5560 : ctxt->instate = XML_PARSER_PROLOG;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 4
jmp SHORT $LN50@htmlParseT
$LN49@htmlParseT:
; 5561 : } else if ((cur == '<') && (next == '?')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN52@htmlParseT
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 63 ; 0000003fH
jne SHORT $LN52@htmlParseT
; 5562 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN54@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN54@htmlParseT
; 5563 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5564 : goto done;
jmp $done$169
$LN54@htmlParseT:
; 5565 : #ifdef DEBUG_PUSH
; 5566 : xmlGenericError(xmlGenericErrorContext,
; 5567 : "HPP: Parsing PI\n");
; 5568 : #endif
; 5569 : htmlParsePI(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParsePI
add esp, 4
; 5570 : ctxt->instate = XML_PARSER_PROLOG;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 4
jmp SHORT $LN50@htmlParseT
$LN52@htmlParseT:
; 5571 : } else if ((cur == '<') && (next == '!') &&
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 60 ; 0000003cH
jne SHORT $LN55@htmlParseT
movzx ecx, BYTE PTR _next$[ebp]
cmp ecx, 33 ; 00000021H
jne SHORT $LN55@htmlParseT
cmp DWORD PTR _avail$[ebp], 4
jge SHORT $LN55@htmlParseT
; 5572 : (avail < 4)) {
; 5573 : goto done;
jmp $done$169
; 5574 : } else {
jmp SHORT $LN50@htmlParseT
$LN55@htmlParseT:
; 5575 : ctxt->instate = XML_PARSER_START_TAG;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 6
$LN50@htmlParseT:
; 5576 : #ifdef DEBUG_PUSH
; 5577 : xmlGenericError(xmlGenericErrorContext,
; 5578 : "HPP: entering START_TAG\n");
; 5579 : #endif
; 5580 : }
; 5581 : break;
jmp $LN4@htmlParseT
$LN57@htmlParseT:
; 5582 : case XML_PARSER_EPILOG:
; 5583 : if (in->buf == NULL)
mov eax, DWORD PTR _in$[ebp]
cmp DWORD PTR [eax], 0
jne SHORT $LN58@htmlParseT
; 5584 : avail = in->length - (in->cur - in->base);
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [ecx+16]
sub eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+24]
sub edx, eax
mov DWORD PTR _avail$[ebp], edx
jmp SHORT $LN59@htmlParseT
$LN58@htmlParseT:
; 5585 : else
; 5586 : avail = xmlBufUse(in->buf->buffer) - (in->cur - in->base);
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufUse
add esp, 4
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [edx+12]
sub eax, ecx
mov DWORD PTR _avail$[ebp], eax
$LN59@htmlParseT:
; 5587 : if (avail < 1)
cmp DWORD PTR _avail$[ebp], 1
jge SHORT $LN60@htmlParseT
; 5588 : goto done;
jmp $done$169
$LN60@htmlParseT:
; 5589 : cur = in->cur[0];
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _cur$[ebp], al
; 5590 : if (IS_BLANK_CH(cur)) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 32 ; 00000020H
je SHORT $LN62@htmlParseT
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 9
jl SHORT $LN63@htmlParseT
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 10 ; 0000000aH
jle SHORT $LN62@htmlParseT
$LN63@htmlParseT:
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 13 ; 0000000dH
jne SHORT $LN61@htmlParseT
$LN62@htmlParseT:
; 5591 : htmlParseCharData(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseCharData
add esp, 4
; 5592 : goto done;
jmp $done$169
$LN61@htmlParseT:
; 5593 : }
; 5594 : if (avail < 2)
cmp DWORD PTR _avail$[ebp], 2
jge SHORT $LN64@htmlParseT
; 5595 : goto done;
jmp $done$169
$LN64@htmlParseT:
; 5596 : next = in->cur[1];
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _next$[ebp], al
; 5597 : if ((cur == '<') && (next == '!') &&
; 5598 : (in->cur[2] == '-') && (in->cur[3] == '-')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN65@htmlParseT
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 33 ; 00000021H
jne SHORT $LN65@htmlParseT
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx+eax]
cmp eax, 45 ; 0000002dH
jne SHORT $LN65@htmlParseT
mov ecx, 1
imul edx, ecx, 3
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx+edx]
cmp edx, 45 ; 0000002dH
jne SHORT $LN65@htmlParseT
; 5599 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN67@htmlParseT
push 1
push 1
push 62 ; 0000003eH
push 45 ; 0000002dH
push 45 ; 0000002dH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN67@htmlParseT
; 5600 : (htmlParseLookupSequence(ctxt, '-', '-', '>', 1, 1) < 0))
; 5601 : goto done;
jmp $done$169
$LN67@htmlParseT:
; 5602 : #ifdef DEBUG_PUSH
; 5603 : xmlGenericError(xmlGenericErrorContext,
; 5604 : "HPP: Parsing Comment\n");
; 5605 : #endif
; 5606 : htmlParseComment(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseComment
add esp, 4
; 5607 : ctxt->instate = XML_PARSER_EPILOG;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 14 ; 0000000eH
jmp $LN66@htmlParseT
$LN65@htmlParseT:
; 5608 : } else if ((cur == '<') && (next == '?')) {
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 60 ; 0000003cH
jne SHORT $LN68@htmlParseT
movzx ecx, BYTE PTR _next$[ebp]
cmp ecx, 63 ; 0000003fH
jne SHORT $LN68@htmlParseT
; 5609 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN70@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN70@htmlParseT
; 5610 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5611 : goto done;
jmp $done$169
$LN70@htmlParseT:
; 5612 : #ifdef DEBUG_PUSH
; 5613 : xmlGenericError(xmlGenericErrorContext,
; 5614 : "HPP: Parsing PI\n");
; 5615 : #endif
; 5616 : htmlParsePI(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParsePI
add esp, 4
; 5617 : ctxt->instate = XML_PARSER_EPILOG;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 14 ; 0000000eH
jmp SHORT $LN66@htmlParseT
$LN68@htmlParseT:
; 5618 : } else if ((cur == '<') && (next == '!') &&
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne SHORT $LN71@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne SHORT $LN71@htmlParseT
cmp DWORD PTR _avail$[ebp], 4
jge SHORT $LN71@htmlParseT
; 5619 : (avail < 4)) {
; 5620 : goto done;
jmp $done$169
; 5621 : } else {
jmp SHORT $LN66@htmlParseT
$LN71@htmlParseT:
; 5622 : ctxt->errNo = XML_ERR_DOCUMENT_END;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+84], 5
; 5623 : ctxt->wellFormed = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+12], 0
; 5624 : ctxt->instate = XML_PARSER_EOF;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], -1
; 5625 : #ifdef DEBUG_PUSH
; 5626 : xmlGenericError(xmlGenericErrorContext,
; 5627 : "HPP: entering EOF\n");
; 5628 : #endif
; 5629 : if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN73@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+52], 0
je SHORT $LN73@htmlParseT
; 5630 : ctxt->sax->endDocument(ctxt->userData);
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+52]
call edx
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN73@htmlParseT:
; 5631 : goto done;
jmp $done$169
$LN66@htmlParseT:
; 5632 : }
; 5633 : break;
jmp $LN4@htmlParseT
$LN74@htmlParseT:
; 5634 : case XML_PARSER_START_TAG: {
; 5635 : const xmlChar *name;
; 5636 : int failed;
; 5637 : const htmlElemDesc * info;
; 5638 :
; 5639 : /*
; 5640 : * no chars in buffer
; 5641 : */
; 5642 : if (avail < 1)
cmp DWORD PTR _avail$[ebp], 1
jge SHORT $LN75@htmlParseT
; 5643 : goto done;
jmp $done$169
$LN75@htmlParseT:
; 5644 : /*
; 5645 : * not enouth chars in buffer
; 5646 : */
; 5647 : if (avail < 2) {
cmp DWORD PTR _avail$[ebp], 2
jge SHORT $LN76@htmlParseT
; 5648 : if (!terminate)
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN78@htmlParseT
; 5649 : goto done;
jmp $done$169
jmp SHORT $LN79@htmlParseT
$LN78@htmlParseT:
; 5650 : else
; 5651 : next = ' ';
mov BYTE PTR _next$[ebp], 32 ; 00000020H
$LN79@htmlParseT:
; 5652 : } else {
jmp SHORT $LN77@htmlParseT
$LN76@htmlParseT:
; 5653 : next = in->cur[1];
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _next$[ebp], al
$LN77@htmlParseT:
; 5654 : }
; 5655 : cur = in->cur[0];
mov ecx, 1
imul edx, ecx, 0
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
mov dl, BYTE PTR [edx+ecx]
mov BYTE PTR _cur$[ebp], dl
; 5656 : if (cur != '<') {
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 60 ; 0000003cH
je SHORT $LN80@htmlParseT
; 5657 : ctxt->instate = XML_PARSER_CONTENT;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 7
; 5658 : #ifdef DEBUG_PUSH
; 5659 : xmlGenericError(xmlGenericErrorContext,
; 5660 : "HPP: entering CONTENT\n");
; 5661 : #endif
; 5662 : break;
jmp $LN4@htmlParseT
$LN80@htmlParseT:
; 5663 : }
; 5664 : if (next == '/') {
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 47 ; 0000002fH
jne SHORT $LN81@htmlParseT
; 5665 : ctxt->instate = XML_PARSER_END_TAG;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 9
; 5666 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
; 5667 : #ifdef DEBUG_PUSH
; 5668 : xmlGenericError(xmlGenericErrorContext,
; 5669 : "HPP: entering END_TAG\n");
; 5670 : #endif
; 5671 : break;
jmp $LN4@htmlParseT
$LN81@htmlParseT:
; 5672 : }
; 5673 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN82@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN82@htmlParseT
; 5674 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5675 : goto done;
jmp $done$169
$LN82@htmlParseT:
; 5676 :
; 5677 : /* Capture start position */
; 5678 : if (ctxt->record_info) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+68], 0
je SHORT $LN83@htmlParseT
; 5679 : node_info.begin_pos = ctxt->input->consumed +
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [eax+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
add ecx, DWORD PTR [edx+36]
mov DWORD PTR _node_info$[ebp+4], ecx
; 5680 : (CUR_PTR - ctxt->input->base);
; 5681 : node_info.begin_line = ctxt->input->line;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
mov DWORD PTR _node_info$[ebp+8], ecx
$LN83@htmlParseT:
; 5682 : }
; 5683 :
; 5684 :
; 5685 : failed = htmlParseStartTag(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseStartTag
add esp, 4
mov DWORD PTR _failed$7[ebp], eax
; 5686 : name = ctxt->name;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
mov DWORD PTR _name$8[ebp], ecx
; 5687 : if ((failed == -1) ||
cmp DWORD PTR _failed$7[ebp], -1
je SHORT $LN85@htmlParseT
cmp DWORD PTR _name$8[ebp], 0
jne SHORT $LN84@htmlParseT
$LN85@htmlParseT:
; 5688 : (name == NULL)) {
; 5689 : if (CUR == '>')
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
jne SHORT $LN86@htmlParseT
; 5690 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
$LN86@htmlParseT:
; 5691 : break;
jmp $LN4@htmlParseT
$LN84@htmlParseT:
; 5692 : }
; 5693 :
; 5694 : /*
; 5695 : * Lookup the info for that element.
; 5696 : */
; 5697 : info = htmlTagLookup(name);
mov ecx, DWORD PTR _name$8[ebp]
push ecx
call _htmlTagLookup
add esp, 4
mov DWORD PTR _info$6[ebp], eax
; 5698 : if (info == NULL) {
cmp DWORD PTR _info$6[ebp], 0
jne SHORT $LN87@htmlParseT
; 5699 : htmlParseErr(ctxt, XML_HTML_UNKNOWN_TAG,
push 0
mov edx, DWORD PTR _name$8[ebp]
push edx
push OFFSET ??_C@_0BA@NAOEEOLP@Tag?5?$CFs?5invalid?6@
push 801 ; 00000321H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN87@htmlParseT:
; 5700 : "Tag %s invalid\n", name, NULL);
; 5701 : }
; 5702 :
; 5703 : /*
; 5704 : * Check for an Empty Element labeled the XML/SGML way
; 5705 : */
; 5706 : if ((CUR == '/') && (NXT(1) == '>')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 47 ; 0000002fH
jne $LN88@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 62 ; 0000003eH
jne $LN88@htmlParseT
; 5707 : SKIP(2);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 2
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
; 5708 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN89@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+60], 0
je SHORT $LN89@htmlParseT
; 5709 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov edx, DWORD PTR _name$8[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN89@htmlParseT:
; 5710 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
; 5711 : ctxt->instate = XML_PARSER_CONTENT;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 7
; 5712 : #ifdef DEBUG_PUSH
; 5713 : xmlGenericError(xmlGenericErrorContext,
; 5714 : "HPP: entering CONTENT\n");
; 5715 : #endif
; 5716 : break;
jmp $LN4@htmlParseT
$LN88@htmlParseT:
; 5717 : }
; 5718 :
; 5719 : if (CUR == '>') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 62 ; 0000003eH
jne SHORT $LN90@htmlParseT
; 5720 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
; 5721 : } else {
jmp SHORT $LN91@htmlParseT
$LN90@htmlParseT:
; 5722 : htmlParseErr(ctxt, XML_ERR_GT_REQUIRED,
push 0
mov eax, DWORD PTR _name$8[ebp]
push eax
push OFFSET ??_C@_0CD@HIMAKCPA@Couldn?8t?5find?5end?5of?5Start?5Tag?5@
push 73 ; 00000049H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5723 : "Couldn't find end of Start Tag %s\n",
; 5724 : name, NULL);
; 5725 :
; 5726 : /*
; 5727 : * end of parsing of this node.
; 5728 : */
; 5729 : if (xmlStrEqual(name, ctxt->name)) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
mov ecx, DWORD PTR _name$8[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN92@htmlParseT
; 5730 : nodePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _nodePop
add esp, 4
; 5731 : htmlnamePop(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlnamePop
add esp, 4
$LN92@htmlParseT:
; 5732 : }
; 5733 :
; 5734 : if (ctxt->record_info)
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN93@htmlParseT
; 5735 : htmlNodeInfoPush(ctxt, &node_info);
lea edx, DWORD PTR _node_info$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlNodeInfoPush
add esp, 8
$LN93@htmlParseT:
; 5736 :
; 5737 : ctxt->instate = XML_PARSER_CONTENT;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 7
; 5738 : #ifdef DEBUG_PUSH
; 5739 : xmlGenericError(xmlGenericErrorContext,
; 5740 : "HPP: entering CONTENT\n");
; 5741 : #endif
; 5742 : break;
jmp $LN4@htmlParseT
$LN91@htmlParseT:
; 5743 : }
; 5744 :
; 5745 : /*
; 5746 : * Check for an Empty Element from DTD definition
; 5747 : */
; 5748 : if ((info != NULL) && (info->empty)) {
cmp DWORD PTR _info$6[ebp], 0
je SHORT $LN94@htmlParseT
mov edx, DWORD PTR _info$6[ebp]
movsx eax, BYTE PTR [edx+7]
test eax, eax
je SHORT $LN94@htmlParseT
; 5749 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN95@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+60], 0
je SHORT $LN95@htmlParseT
; 5750 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov ecx, DWORD PTR _name$8[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+60]
call eax
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN95@htmlParseT:
; 5751 : htmlnamePop(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlnamePop
add esp, 4
$LN94@htmlParseT:
; 5752 : }
; 5753 :
; 5754 : if (ctxt->record_info)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+68], 0
je SHORT $LN96@htmlParseT
; 5755 : htmlNodeInfoPush(ctxt, &node_info);
lea eax, DWORD PTR _node_info$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlNodeInfoPush
add esp, 8
$LN96@htmlParseT:
; 5756 :
; 5757 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 5758 : #ifdef DEBUG_PUSH
; 5759 : xmlGenericError(xmlGenericErrorContext,
; 5760 : "HPP: entering CONTENT\n");
; 5761 : #endif
; 5762 : break;
jmp $LN4@htmlParseT
$LN97@htmlParseT:
; 5763 : }
; 5764 : case XML_PARSER_CONTENT: {
; 5765 : long cons;
; 5766 : /*
; 5767 : * Handle preparsed entities and charRef
; 5768 : */
; 5769 : if (ctxt->token != 0) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+176], 0
je SHORT $LN98@htmlParseT
; 5770 : xmlChar chr[2] = { 0 , 0 } ;
mov BYTE PTR _chr$4[ebp], 0
mov BYTE PTR _chr$4[ebp+1], 0
; 5771 :
; 5772 : chr[0] = (xmlChar) ctxt->token;
mov ecx, 1
imul edx, ecx, 0
mov eax, DWORD PTR _ctxt$[ebp]
mov cl, BYTE PTR [eax+176]
mov BYTE PTR _chr$4[ebp+edx], cl
; 5773 : htmlCheckParagraph(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCheckParagraph
add esp, 4
; 5774 : if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN99@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+68], 0
je SHORT $LN99@htmlParseT
; 5775 : ctxt->sax->characters(ctxt->userData, chr, 1);
mov esi, esp
push 1
lea eax, DWORD PTR _chr$4[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+68]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN99@htmlParseT:
; 5776 : ctxt->token = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+176], 0
; 5777 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
$LN98@htmlParseT:
; 5778 : }
; 5779 : if ((avail == 1) && (terminate)) {
cmp DWORD PTR _avail$[ebp], 1
jne $LN100@htmlParseT
cmp DWORD PTR _terminate$[ebp], 0
je $LN100@htmlParseT
; 5780 : cur = in->cur[0];
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov al, BYTE PTR [eax+edx]
mov BYTE PTR _cur$[ebp], al
; 5781 : if ((cur != '<') && (cur != '&')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
je $LN100@htmlParseT
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 38 ; 00000026H
je $LN100@htmlParseT
; 5782 : if (ctxt->sax != NULL) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je $LN102@htmlParseT
; 5783 : if (IS_BLANK_CH(cur)) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 32 ; 00000020H
je SHORT $LN105@htmlParseT
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 9
jl SHORT $LN106@htmlParseT
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 10 ; 0000000aH
jle SHORT $LN105@htmlParseT
$LN106@htmlParseT:
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 13 ; 0000000dH
jne $LN103@htmlParseT
$LN105@htmlParseT:
; 5784 : if (ctxt->keepBlanks) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+208], 0
je SHORT $LN107@htmlParseT
; 5785 : if (ctxt->sax->characters != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN109@htmlParseT
; 5786 : ctxt->sax->characters(
mov esi, esp
push 1
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
add eax, DWORD PTR [ecx+16]
push eax
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+68]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN109@htmlParseT:
; 5787 : ctxt->userData, &in->cur[0], 1);
; 5788 : } else {
jmp SHORT $LN108@htmlParseT
$LN107@htmlParseT:
; 5789 : if (ctxt->sax->ignorableWhitespace != NULL)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+72], 0
je SHORT $LN108@htmlParseT
; 5790 : ctxt->sax->ignorableWhitespace(
mov esi, esp
push 1
mov eax, 1
imul ecx, eax, 0
mov edx, DWORD PTR _in$[ebp]
add ecx, DWORD PTR [edx+16]
push ecx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+72]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN108@htmlParseT:
; 5791 : ctxt->userData, &in->cur[0], 1);
; 5792 : }
; 5793 : } else {
jmp SHORT $LN102@htmlParseT
$LN103@htmlParseT:
; 5794 : htmlCheckParagraph(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCheckParagraph
add esp, 4
; 5795 : if (ctxt->sax->characters != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN102@htmlParseT
; 5796 : ctxt->sax->characters(
mov esi, esp
push 1
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _in$[ebp]
add eax, DWORD PTR [ecx+16]
push eax
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+68]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN102@htmlParseT:
; 5797 : ctxt->userData, &in->cur[0], 1);
; 5798 : }
; 5799 : }
; 5800 : ctxt->token = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+176], 0
; 5801 : ctxt->checkIndex = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+204], 0
; 5802 : in->cur++;
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
add ecx, 1
mov edx, DWORD PTR _in$[ebp]
mov DWORD PTR [edx+16], ecx
; 5803 : break;
jmp $LN4@htmlParseT
$LN100@htmlParseT:
; 5804 : }
; 5805 : }
; 5806 : if (avail < 2)
cmp DWORD PTR _avail$[ebp], 2
jge SHORT $LN112@htmlParseT
; 5807 : goto done;
jmp $done$169
$LN112@htmlParseT:
; 5808 : cur = in->cur[0];
mov eax, 1
imul ecx, eax, 0
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx+16]
mov cl, BYTE PTR [ecx+eax]
mov BYTE PTR _cur$[ebp], cl
; 5809 : next = in->cur[1];
mov edx, 1
shl edx, 0
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
mov dl, BYTE PTR [edx+ecx]
mov BYTE PTR _next$[ebp], dl
; 5810 : cons = ctxt->nbChars;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
mov DWORD PTR _cons$5[ebp], ecx
; 5811 : if ((xmlStrEqual(ctxt->name, BAD_CAST"script")) ||
push OFFSET ??_C@_06OLONEIEH@script@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN115@htmlParseT
push OFFSET ??_C@_05IAKJCFIM@style@
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je $LN113@htmlParseT
$LN115@htmlParseT:
; 5812 : (xmlStrEqual(ctxt->name, BAD_CAST"style"))) {
; 5813 : /*
; 5814 : * Handle SCRIPT/STYLE separately
; 5815 : */
; 5816 : if (!terminate) {
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN116@htmlParseT
; 5817 : int idx;
; 5818 : xmlChar val;
; 5819 :
; 5820 : idx = htmlParseLookupSequence(ctxt, '<', '/', 0, 0, 0);
push 0
push 0
push 0
push 47 ; 0000002fH
push 60 ; 0000003cH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
mov DWORD PTR _idx$3[ebp], eax
; 5821 : if (idx < 0)
cmp DWORD PTR _idx$3[ebp], 0
jge SHORT $LN117@htmlParseT
; 5822 : goto done;
jmp $done$169
$LN117@htmlParseT:
; 5823 : val = in->cur[idx + 2];
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
mov eax, DWORD PTR _idx$3[ebp]
mov cl, BYTE PTR [edx+eax+2]
mov BYTE PTR _val$2[ebp], cl
; 5824 : if (val == 0) /* bad cut of input */
movzx edx, BYTE PTR _val$2[ebp]
test edx, edx
jne SHORT $LN116@htmlParseT
; 5825 : goto done;
jmp $done$169
$LN116@htmlParseT:
; 5826 : }
; 5827 : htmlParseScript(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseScript
add esp, 4
; 5828 : if ((cur == '<') && (next == '/')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN119@htmlParseT
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 47 ; 0000002fH
jne SHORT $LN119@htmlParseT
; 5829 : ctxt->instate = XML_PARSER_END_TAG;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 9
; 5830 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
; 5831 : #ifdef DEBUG_PUSH
; 5832 : xmlGenericError(xmlGenericErrorContext,
; 5833 : "HPP: entering END_TAG\n");
; 5834 : #endif
; 5835 : break;
jmp $LN4@htmlParseT
$LN119@htmlParseT:
; 5836 : }
; 5837 : } else {
jmp $LN114@htmlParseT
$LN113@htmlParseT:
; 5838 : /*
; 5839 : * Sometimes DOCTYPE arrives in the middle of the document
; 5840 : */
; 5841 : if ((cur == '<') && (next == '!') &&
; 5842 : (UPP(2) == 'D') && (UPP(3) == 'O') &&
; 5843 : (UPP(4) == 'C') && (UPP(5) == 'T') &&
; 5844 : (UPP(6) == 'Y') && (UPP(7) == 'P') &&
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne $LN120@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne $LN120@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 68 ; 00000044H
jne $LN120@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 79 ; 0000004fH
jne $LN120@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 2
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN120@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 5
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN120@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 6
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne $LN120@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 7
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne $LN120@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 3
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne SHORT $LN120@htmlParseT
; 5845 : (UPP(8) == 'E')) {
; 5846 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN122@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN122@htmlParseT
; 5847 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5848 : goto done;
jmp $done$169
$LN122@htmlParseT:
; 5849 : htmlParseErr(ctxt, XML_HTML_STRUCURE_ERROR,
push 0
push OFFSET ??_C@_07JGKBCNAA@DOCTYPE@
push OFFSET ??_C@_0BP@FHNHCCJD@Misplaced?5DOCTYPE?5declaration?6@
push 800 ; 00000320H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5850 : "Misplaced DOCTYPE declaration\n",
; 5851 : BAD_CAST "DOCTYPE" , NULL);
; 5852 : htmlParseDocTypeDecl(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseDocTypeDecl
add esp, 4
; 5853 : } else if ((cur == '<') && (next == '!') &&
jmp $LN114@htmlParseT
$LN120@htmlParseT:
; 5854 : (in->cur[2] == '-') && (in->cur[3] == '-')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN123@htmlParseT
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 33 ; 00000021H
jne SHORT $LN123@htmlParseT
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx+eax]
cmp eax, 45 ; 0000002dH
jne SHORT $LN123@htmlParseT
mov ecx, 1
imul edx, ecx, 3
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx+edx]
cmp edx, 45 ; 0000002dH
jne SHORT $LN123@htmlParseT
; 5855 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN125@htmlParseT
push 1
push 1
push 62 ; 0000003eH
push 45 ; 0000002dH
push 45 ; 0000002dH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN125@htmlParseT
; 5856 : (htmlParseLookupSequence(
; 5857 : ctxt, '-', '-', '>', 1, 1) < 0))
; 5858 : goto done;
jmp $done$169
$LN125@htmlParseT:
; 5859 : #ifdef DEBUG_PUSH
; 5860 : xmlGenericError(xmlGenericErrorContext,
; 5861 : "HPP: Parsing Comment\n");
; 5862 : #endif
; 5863 : htmlParseComment(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseComment
add esp, 4
; 5864 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
jmp $LN114@htmlParseT
$LN123@htmlParseT:
; 5865 : } else if ((cur == '<') && (next == '?')) {
movzx eax, BYTE PTR _cur$[ebp]
cmp eax, 60 ; 0000003cH
jne SHORT $LN126@htmlParseT
movzx ecx, BYTE PTR _next$[ebp]
cmp ecx, 63 ; 0000003fH
jne SHORT $LN126@htmlParseT
; 5866 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN128@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN128@htmlParseT
; 5867 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5868 : goto done;
jmp $done$169
$LN128@htmlParseT:
; 5869 : #ifdef DEBUG_PUSH
; 5870 : xmlGenericError(xmlGenericErrorContext,
; 5871 : "HPP: Parsing PI\n");
; 5872 : #endif
; 5873 : htmlParsePI(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParsePI
add esp, 4
; 5874 : ctxt->instate = XML_PARSER_CONTENT;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 7
jmp $LN114@htmlParseT
$LN126@htmlParseT:
; 5875 : } else if ((cur == '<') && (next == '!') && (avail < 4)) {
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne SHORT $LN129@htmlParseT
movzx eax, BYTE PTR _next$[ebp]
cmp eax, 33 ; 00000021H
jne SHORT $LN129@htmlParseT
cmp DWORD PTR _avail$[ebp], 4
jge SHORT $LN129@htmlParseT
; 5876 : goto done;
jmp $done$169
jmp $LN114@htmlParseT
$LN129@htmlParseT:
; 5877 : } else if ((cur == '<') && (next == '/')) {
movzx ecx, BYTE PTR _cur$[ebp]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN131@htmlParseT
movzx edx, BYTE PTR _next$[ebp]
cmp edx, 47 ; 0000002fH
jne SHORT $LN131@htmlParseT
; 5878 : ctxt->instate = XML_PARSER_END_TAG;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 9
; 5879 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
; 5880 : #ifdef DEBUG_PUSH
; 5881 : xmlGenericError(xmlGenericErrorContext,
; 5882 : "HPP: entering END_TAG\n");
; 5883 : #endif
; 5884 : break;
jmp $LN4@htmlParseT
jmp $LN114@htmlParseT
$LN131@htmlParseT:
; 5885 : } else if (cur == '<') {
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 60 ; 0000003cH
jne SHORT $LN133@htmlParseT
; 5886 : ctxt->instate = XML_PARSER_START_TAG;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 6
; 5887 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
; 5888 : #ifdef DEBUG_PUSH
; 5889 : xmlGenericError(xmlGenericErrorContext,
; 5890 : "HPP: entering START_TAG\n");
; 5891 : #endif
; 5892 : break;
jmp $LN4@htmlParseT
jmp SHORT $LN114@htmlParseT
$LN133@htmlParseT:
; 5893 : } else if (cur == '&') {
movzx edx, BYTE PTR _cur$[ebp]
cmp edx, 38 ; 00000026H
jne SHORT $LN135@htmlParseT
; 5894 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN137@htmlParseT
push 4
push OFFSET ??_C@_04HDPHNOLM@?$DL?5?$DO?1@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseLookupChars
add esp, 12 ; 0000000cH
test eax, eax
jge SHORT $LN137@htmlParseT
; 5895 : (htmlParseLookupChars(ctxt,
; 5896 : BAD_CAST "; >/", 4) < 0))
; 5897 : goto done;
jmp $done$169
$LN137@htmlParseT:
; 5898 : #ifdef DEBUG_PUSH
; 5899 : xmlGenericError(xmlGenericErrorContext,
; 5900 : "HPP: Parsing Reference\n");
; 5901 : #endif
; 5902 : /* TODO: check generation of subtrees if noent !!! */
; 5903 : htmlParseReference(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseReference
add esp, 4
; 5904 : } else {
jmp SHORT $LN114@htmlParseT
$LN135@htmlParseT:
; 5905 : /*
; 5906 : * check that the text sequence is complete
; 5907 : * before handing out the data to the parser
; 5908 : * to avoid problems with erroneous end of
; 5909 : * data detection.
; 5910 : */
; 5911 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN138@htmlParseT
push 2
push OFFSET ??_C@_02OOBBLJDN@?$DM?$CG@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseLookupChars
add esp, 12 ; 0000000cH
test eax, eax
jge SHORT $LN138@htmlParseT
; 5912 : (htmlParseLookupChars(ctxt, BAD_CAST "<&", 2) < 0))
; 5913 : goto done;
jmp $done$169
$LN138@htmlParseT:
; 5914 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 5915 : #ifdef DEBUG_PUSH
; 5916 : xmlGenericError(xmlGenericErrorContext,
; 5917 : "HPP: Parsing char data\n");
; 5918 : #endif
; 5919 : htmlParseCharData(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseCharData
add esp, 4
$LN114@htmlParseT:
; 5920 : }
; 5921 : }
; 5922 : if (cons == ctxt->nbChars) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _cons$5[ebp]
cmp eax, DWORD PTR [edx+200]
jne SHORT $LN139@htmlParseT
; 5923 : if (ctxt->node != NULL) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+52], 0
je SHORT $LN140@htmlParseT
; 5924 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CG@FCFCBOFE@detected?5an?5error?5in?5element?5co@
push 1
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN140@htmlParseT:
; 5925 : "detected an error in element content\n",
; 5926 : NULL, NULL);
; 5927 : }
; 5928 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 5929 : break;
jmp $LN4@htmlParseT
$LN139@htmlParseT:
; 5930 : }
; 5931 :
; 5932 : break;
jmp $LN4@htmlParseT
$LN141@htmlParseT:
; 5933 : }
; 5934 : case XML_PARSER_END_TAG:
; 5935 : if (avail < 2)
cmp DWORD PTR _avail$[ebp], 2
jge SHORT $LN142@htmlParseT
; 5936 : goto done;
jmp $done$169
$LN142@htmlParseT:
; 5937 : if ((!terminate) &&
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN143@htmlParseT
push 1
push 0
push 0
push 0
push 62 ; 0000003eH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseLookupSequence
add esp, 24 ; 00000018H
test eax, eax
jge SHORT $LN143@htmlParseT
; 5938 : (htmlParseLookupSequence(ctxt, '>', 0, 0, 0, 1) < 0))
; 5939 : goto done;
jmp $done$169
$LN143@htmlParseT:
; 5940 : htmlParseEndTag(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseEndTag
add esp, 4
; 5941 : if (ctxt->nameNr == 0) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 0
jne SHORT $LN144@htmlParseT
; 5942 : ctxt->instate = XML_PARSER_EPILOG;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], 14 ; 0000000eH
; 5943 : } else {
jmp SHORT $LN145@htmlParseT
$LN144@htmlParseT:
; 5944 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
$LN145@htmlParseT:
; 5945 : }
; 5946 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 5947 : #ifdef DEBUG_PUSH
; 5948 : xmlGenericError(xmlGenericErrorContext,
; 5949 : "HPP: entering CONTENT\n");
; 5950 : #endif
; 5951 : break;
jmp $LN4@htmlParseT
$LN146@htmlParseT:
; 5952 : case XML_PARSER_CDATA_SECTION:
; 5953 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CF@KKLECLJD@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5954 : "HPP: internal error, state == CDATA\n",
; 5955 : NULL, NULL);
; 5956 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 5957 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 5958 : #ifdef DEBUG_PUSH
; 5959 : xmlGenericError(xmlGenericErrorContext,
; 5960 : "HPP: entering CONTENT\n");
; 5961 : #endif
; 5962 : break;
jmp $LN4@htmlParseT
$LN147@htmlParseT:
; 5963 : case XML_PARSER_DTD:
; 5964 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CD@KNMNDGMA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5D@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5965 : "HPP: internal error, state == DTD\n",
; 5966 : NULL, NULL);
; 5967 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 5968 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 5969 : #ifdef DEBUG_PUSH
; 5970 : xmlGenericError(xmlGenericErrorContext,
; 5971 : "HPP: entering CONTENT\n");
; 5972 : #endif
; 5973 : break;
jmp $LN4@htmlParseT
$LN148@htmlParseT:
; 5974 : case XML_PARSER_COMMENT:
; 5975 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CH@DIGPKIBA@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5C@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5976 : "HPP: internal error, state == COMMENT\n",
; 5977 : NULL, NULL);
; 5978 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 5979 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 5980 : #ifdef DEBUG_PUSH
; 5981 : xmlGenericError(xmlGenericErrorContext,
; 5982 : "HPP: entering CONTENT\n");
; 5983 : #endif
; 5984 : break;
jmp $LN4@htmlParseT
$LN149@htmlParseT:
; 5985 : case XML_PARSER_PI:
; 5986 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CC@OPBEPNBE@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5P@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5987 : "HPP: internal error, state == PI\n",
; 5988 : NULL, NULL);
; 5989 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 5990 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 5991 : #ifdef DEBUG_PUSH
; 5992 : xmlGenericError(xmlGenericErrorContext,
; 5993 : "HPP: entering CONTENT\n");
; 5994 : #endif
; 5995 : break;
jmp $LN4@htmlParseT
$LN150@htmlParseT:
; 5996 : case XML_PARSER_ENTITY_DECL:
; 5997 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CL@MKEILABF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 5998 : "HPP: internal error, state == ENTITY_DECL\n",
; 5999 : NULL, NULL);
; 6000 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 6001 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 6002 : #ifdef DEBUG_PUSH
; 6003 : xmlGenericError(xmlGenericErrorContext,
; 6004 : "HPP: entering CONTENT\n");
; 6005 : #endif
; 6006 : break;
jmp $LN4@htmlParseT
$LN151@htmlParseT:
; 6007 : case XML_PARSER_ENTITY_VALUE:
; 6008 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CM@CIKPMOBJ@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5E@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6009 : "HPP: internal error, state == ENTITY_VALUE\n",
; 6010 : NULL, NULL);
; 6011 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 6012 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 6013 : #ifdef DEBUG_PUSH
; 6014 : xmlGenericError(xmlGenericErrorContext,
; 6015 : "HPP: entering DTD\n");
; 6016 : #endif
; 6017 : break;
jmp $LN4@htmlParseT
$LN152@htmlParseT:
; 6018 : case XML_PARSER_ATTRIBUTE_VALUE:
; 6019 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CP@ICHFLFOK@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5A@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6020 : "HPP: internal error, state == ATTRIBUTE_VALUE\n",
; 6021 : NULL, NULL);
; 6022 : ctxt->instate = XML_PARSER_START_TAG;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 6
; 6023 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 6024 : #ifdef DEBUG_PUSH
; 6025 : xmlGenericError(xmlGenericErrorContext,
; 6026 : "HPP: entering START_TAG\n");
; 6027 : #endif
; 6028 : break;
jmp $LN4@htmlParseT
$LN153@htmlParseT:
; 6029 : case XML_PARSER_SYSTEM_LITERAL:
; 6030 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0DJ@DADALPJL@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6031 : "HPP: internal error, state == XML_PARSER_SYSTEM_LITERAL\n",
; 6032 : NULL, NULL);
; 6033 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 6034 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 6035 : #ifdef DEBUG_PUSH
; 6036 : xmlGenericError(xmlGenericErrorContext,
; 6037 : "HPP: entering CONTENT\n");
; 6038 : #endif
; 6039 : break;
jmp SHORT $LN4@htmlParseT
$LN154@htmlParseT:
; 6040 : case XML_PARSER_IGNORE:
; 6041 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0DB@JCLDPCBF@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6042 : "HPP: internal error, state == XML_PARSER_IGNORE\n",
; 6043 : NULL, NULL);
; 6044 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 6045 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 6046 : #ifdef DEBUG_PUSH
; 6047 : xmlGenericError(xmlGenericErrorContext,
; 6048 : "HPP: entering CONTENT\n");
; 6049 : #endif
; 6050 : break;
jmp SHORT $LN4@htmlParseT
$LN155@htmlParseT:
; 6051 : case XML_PARSER_PUBLIC_LITERAL:
; 6052 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0DC@FBPNGOCN@HPP?3?5internal?5error?0?5state?5?$DN?$DN?5X@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6053 : "HPP: internal error, state == XML_PARSER_LITERAL\n",
; 6054 : NULL, NULL);
; 6055 : ctxt->instate = XML_PARSER_CONTENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 7
; 6056 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
$LN4@htmlParseT:
; 6057 : #ifdef DEBUG_PUSH
; 6058 : xmlGenericError(xmlGenericErrorContext,
; 6059 : "HPP: entering CONTENT\n");
; 6060 : #endif
; 6061 : break;
; 6062 :
; 6063 : }
; 6064 : }
jmp $LN2@htmlParseT
$done$169:
; 6065 : done:
; 6066 : if ((avail == 0) && (terminate)) {
cmp DWORD PTR _avail$[ebp], 0
jne SHORT $LN156@htmlParseT
cmp DWORD PTR _terminate$[ebp], 0
je SHORT $LN156@htmlParseT
; 6067 : htmlAutoCloseOnEnd(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlAutoCloseOnEnd
add esp, 4
; 6068 : if ((ctxt->nameNr == 0) && (ctxt->instate != XML_PARSER_EOF)) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+188], 0
jne SHORT $LN156@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+172], -1
je SHORT $LN156@htmlParseT
; 6069 : /*
; 6070 : * SAX: end of the document processing.
; 6071 : */
; 6072 : ctxt->instate = XML_PARSER_EOF;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], -1
; 6073 : if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN156@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+52], 0
je SHORT $LN156@htmlParseT
; 6074 : ctxt->sax->endDocument(ctxt->userData);
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+52]
call eax
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN156@htmlParseT:
; 6075 : }
; 6076 : }
; 6077 : if ((!(ctxt->options & HTML_PARSE_NODEFDTD)) && (ctxt->myDoc != NULL) &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+360]
and edx, 4
jne SHORT $LN159@htmlParseT
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+8], 0
je SHORT $LN159@htmlParseT
cmp DWORD PTR _terminate$[ebp], 0
jne SHORT $LN160@htmlParseT
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], -1
je SHORT $LN160@htmlParseT
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], 14 ; 0000000eH
jne SHORT $LN159@htmlParseT
$LN160@htmlParseT:
; 6078 : ((terminate) || (ctxt->instate == XML_PARSER_EOF) ||
; 6079 : (ctxt->instate == XML_PARSER_EPILOG))) {
; 6080 : xmlDtdPtr dtd;
; 6081 : dtd = xmlGetIntSubset(ctxt->myDoc);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlGetIntSubset
add esp, 4
mov DWORD PTR _dtd$1[ebp], eax
; 6082 : if (dtd == NULL)
cmp DWORD PTR _dtd$1[ebp], 0
jne SHORT $LN159@htmlParseT
; 6083 : ctxt->myDoc->intSubset =
push OFFSET ??_C@_0CK@JLEAHDEJ@http?3?1?1www?4w3?4org?1TR?1REC?9html40@
push OFFSET ??_C@_0CG@CIBPFINF@?9?1?1W3C?1?1DTD?5HTML?54?40?5Transition@
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlCreateIntSubset
add esp, 16 ; 00000010H
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+8]
mov DWORD PTR [edx+44], eax
$LN159@htmlParseT:
; 6084 : xmlCreateIntSubset(ctxt->myDoc, BAD_CAST "html",
; 6085 : BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN",
; 6086 : BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd");
; 6087 : }
; 6088 : #ifdef DEBUG_PUSH
; 6089 : xmlGenericError(xmlGenericErrorContext, "HPP: done %d\n", ret);
; 6090 : #endif
; 6091 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
; 6092 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN167@htmlParseT
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 88 ; 00000058H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN167@htmlParseT:
DD 2
DD $LN166@htmlParseT
$LN166@htmlParseT:
DD -40 ; ffffffd8H
DD 20 ; 00000014H
DD $LN164@htmlParseT
DD -68 ; ffffffbcH
DD 2
DD $LN165@htmlParseT
$LN165@htmlParseT:
DB 99 ; 00000063H
DB 104 ; 00000068H
DB 114 ; 00000072H
DB 0
$LN164@htmlParseT:
DB 110 ; 0000006eH
DB 111 ; 0000006fH
DB 100 ; 00000064H
DB 101 ; 00000065H
DB 95 ; 0000005fH
DB 105 ; 00000069H
DB 110 ; 0000006eH
DB 102 ; 00000066H
DB 111 ; 0000006fH
DB 0
npad 2
$LN168@htmlParseT:
DD $LN14@htmlParseT
DD $LN15@htmlParseT
DD $LN26@htmlParseT
DD $LN149@htmlParseT
DD $LN147@htmlParseT
DD $LN45@htmlParseT
DD $LN148@htmlParseT
DD $LN74@htmlParseT
DD $LN97@htmlParseT
DD $LN146@htmlParseT
DD $LN141@htmlParseT
DD $LN150@htmlParseT
DD $LN151@htmlParseT
DD $LN152@htmlParseT
DD $LN153@htmlParseT
DD $LN57@htmlParseT
DD $LN154@htmlParseT
DD $LN155@htmlParseT
_htmlParseTryOrFinish ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseLookupChars
_TEXT SEGMENT
_i$ = -24 ; size = 4
_incomment$ = -20 ; size = 4
_buf$ = -16 ; size = 4
_in$ = -12 ; size = 4
_len$ = -8 ; size = 4
_base$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_stop$ = 12 ; size = 4
_stopLen$ = 16 ; size = 4
_htmlParseLookupChars PROC ; COMDAT
; 5260 : {
push ebp
mov ebp, esp
sub esp, 24 ; 00000018H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 5261 : int base, len;
; 5262 : htmlParserInputPtr in;
; 5263 : const xmlChar *buf;
; 5264 : int incomment = 0;
mov DWORD PTR _incomment$[ebp], 0
; 5265 : int i;
; 5266 :
; 5267 : in = ctxt->input;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR _in$[ebp], ecx
; 5268 : if (in == NULL)
cmp DWORD PTR _in$[ebp], 0
jne SHORT $LN8@htmlParseL
; 5269 : return (-1);
or eax, -1
jmp $LN1@htmlParseL
$LN8@htmlParseL:
; 5270 :
; 5271 : base = in->cur - in->base;
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [edx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _base$[ebp], ecx
; 5272 : if (base < 0)
jns SHORT $LN9@htmlParseL
; 5273 : return (-1);
or eax, -1
jmp $LN1@htmlParseL
$LN9@htmlParseL:
; 5274 :
; 5275 : if (ctxt->checkIndex > base)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+204]
cmp eax, DWORD PTR _base$[ebp]
jle SHORT $LN10@htmlParseL
; 5276 : base = ctxt->checkIndex;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+204]
mov DWORD PTR _base$[ebp], edx
$LN10@htmlParseL:
; 5277 :
; 5278 : if (in->buf == NULL) {
mov eax, DWORD PTR _in$[ebp]
cmp DWORD PTR [eax], 0
jne SHORT $LN11@htmlParseL
; 5279 : buf = in->base;
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+12]
mov DWORD PTR _buf$[ebp], edx
; 5280 : len = in->length;
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+24]
mov DWORD PTR _len$[ebp], ecx
; 5281 : } else {
jmp SHORT $LN12@htmlParseL
$LN11@htmlParseL:
; 5282 : buf = xmlBufContent(in->buf->buffer);
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufContent
add esp, 4
mov DWORD PTR _buf$[ebp], eax
; 5283 : len = xmlBufUse(in->buf->buffer);
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufUse
add esp, 4
mov DWORD PTR _len$[ebp], eax
$LN12@htmlParseL:
; 5284 : }
; 5285 :
; 5286 : for (; base < len; base++) {
jmp SHORT $LN4@htmlParseL
$LN2@htmlParseL:
mov edx, DWORD PTR _base$[ebp]
add edx, 1
mov DWORD PTR _base$[ebp], edx
$LN4@htmlParseL:
mov eax, DWORD PTR _base$[ebp]
cmp eax, DWORD PTR _len$[ebp]
jge $LN3@htmlParseL
; 5287 : if (!incomment && (base + 4 < len)) {
cmp DWORD PTR _incomment$[ebp], 0
jne SHORT $LN13@htmlParseL
mov ecx, DWORD PTR _base$[ebp]
add ecx, 4
cmp ecx, DWORD PTR _len$[ebp]
jge SHORT $LN13@htmlParseL
; 5288 : if ((buf[base] == '<') && (buf[base + 1] == '!') &&
; 5289 : (buf[base + 2] == '-') && (buf[base + 3] == '-')) {
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne SHORT $LN13@htmlParseL
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
movzx edx, BYTE PTR [ecx+1]
cmp edx, 33 ; 00000021H
jne SHORT $LN13@htmlParseL
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax+2]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN13@htmlParseL
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx+3]
cmp eax, 45 ; 0000002dH
jne SHORT $LN13@htmlParseL
; 5290 : incomment = 1;
mov DWORD PTR _incomment$[ebp], 1
; 5291 : /* do not increment past <! - some people use <!--> */
; 5292 : base += 2;
mov ecx, DWORD PTR _base$[ebp]
add ecx, 2
mov DWORD PTR _base$[ebp], ecx
$LN13@htmlParseL:
; 5293 : }
; 5294 : }
; 5295 : if (incomment) {
cmp DWORD PTR _incomment$[ebp], 0
je SHORT $LN15@htmlParseL
; 5296 : if (base + 3 > len)
mov edx, DWORD PTR _base$[ebp]
add edx, 3
cmp edx, DWORD PTR _len$[ebp]
jle SHORT $LN16@htmlParseL
; 5297 : return (-1);
or eax, -1
jmp $LN1@htmlParseL
$LN16@htmlParseL:
; 5298 : if ((buf[base] == '-') && (buf[base + 1] == '-') &&
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN17@htmlParseL
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx+1]
cmp eax, 45 ; 0000002dH
jne SHORT $LN17@htmlParseL
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
movzx edx, BYTE PTR [ecx+2]
cmp edx, 62 ; 0000003eH
jne SHORT $LN17@htmlParseL
; 5299 : (buf[base + 2] == '>')) {
; 5300 : incomment = 0;
mov DWORD PTR _incomment$[ebp], 0
; 5301 : base += 2;
mov eax, DWORD PTR _base$[ebp]
add eax, 2
mov DWORD PTR _base$[ebp], eax
$LN17@htmlParseL:
; 5302 : }
; 5303 : continue;
jmp $LN2@htmlParseL
$LN15@htmlParseL:
; 5304 : }
; 5305 : for (i = 0; i < stopLen; ++i) {
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN7@htmlParseL
$LN5@htmlParseL:
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN7@htmlParseL:
mov edx, DWORD PTR _i$[ebp]
cmp edx, DWORD PTR _stopLen$[ebp]
jge SHORT $LN6@htmlParseL
; 5306 : if (buf[base] == stop[i]) {
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax]
mov edx, DWORD PTR _stop$[ebp]
add edx, DWORD PTR _i$[ebp]
movzx eax, BYTE PTR [edx]
cmp ecx, eax
jne SHORT $LN18@htmlParseL
; 5307 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
; 5308 : return (base - (in->cur - in->base));
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [edx+16]
sub ecx, DWORD PTR [eax+12]
mov eax, DWORD PTR _base$[ebp]
sub eax, ecx
jmp SHORT $LN1@htmlParseL
$LN18@htmlParseL:
; 5309 : }
; 5310 : }
jmp SHORT $LN5@htmlParseL
$LN6@htmlParseL:
; 5311 : }
jmp $LN2@htmlParseL
$LN3@htmlParseL:
; 5312 : ctxt->checkIndex = base;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _base$[ebp]
mov DWORD PTR [edx+204], eax
; 5313 : return (-1);
or eax, -1
$LN1@htmlParseL:
; 5314 : }
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseLookupChars ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseLookupSequence
_TEXT SEGMENT
_valdellim$ = -25 ; size = 1
_invalue$ = -24 ; size = 4
_incomment$ = -20 ; size = 4
_buf$ = -16 ; size = 4
_in$ = -12 ; size = 4
_len$ = -8 ; size = 4
_base$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_first$ = 12 ; size = 1
_next$ = 16 ; size = 1
_third$ = 20 ; size = 1
_iscomment$ = 24 ; size = 4
_ignoreattrval$ = 28 ; size = 4
_htmlParseLookupSequence PROC ; COMDAT
; 5132 : {
push ebp
mov ebp, esp
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 5133 : int base, len;
; 5134 : htmlParserInputPtr in;
; 5135 : const xmlChar *buf;
; 5136 : int incomment = 0;
mov DWORD PTR _incomment$[ebp], 0
; 5137 : int invalue = 0;
mov DWORD PTR _invalue$[ebp], 0
; 5138 : char valdellim = 0x0;
mov BYTE PTR _valdellim$[ebp], 0
; 5139 :
; 5140 : in = ctxt->input;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR _in$[ebp], ecx
; 5141 : if (in == NULL)
cmp DWORD PTR _in$[ebp], 0
jne SHORT $LN5@htmlParseL
; 5142 : return (-1);
or eax, -1
jmp $LN1@htmlParseL
$LN5@htmlParseL:
; 5143 :
; 5144 : base = in->cur - in->base;
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [edx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _base$[ebp], ecx
; 5145 : if (base < 0)
jns SHORT $LN6@htmlParseL
; 5146 : return (-1);
or eax, -1
jmp $LN1@htmlParseL
$LN6@htmlParseL:
; 5147 :
; 5148 : if (ctxt->checkIndex > base)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+204]
cmp eax, DWORD PTR _base$[ebp]
jle SHORT $LN7@htmlParseL
; 5149 : base = ctxt->checkIndex;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+204]
mov DWORD PTR _base$[ebp], edx
$LN7@htmlParseL:
; 5150 :
; 5151 : if (in->buf == NULL) {
mov eax, DWORD PTR _in$[ebp]
cmp DWORD PTR [eax], 0
jne SHORT $LN8@htmlParseL
; 5152 : buf = in->base;
mov ecx, DWORD PTR _in$[ebp]
mov edx, DWORD PTR [ecx+12]
mov DWORD PTR _buf$[ebp], edx
; 5153 : len = in->length;
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [eax+24]
mov DWORD PTR _len$[ebp], ecx
; 5154 : } else {
jmp SHORT $LN9@htmlParseL
$LN8@htmlParseL:
; 5155 : buf = xmlBufContent(in->buf->buffer);
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufContent
add esp, 4
mov DWORD PTR _buf$[ebp], eax
; 5156 : len = xmlBufUse(in->buf->buffer);
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufUse
add esp, 4
mov DWORD PTR _len$[ebp], eax
$LN9@htmlParseL:
; 5157 : }
; 5158 :
; 5159 : /* take into account the sequence length */
; 5160 : if (third)
movzx edx, BYTE PTR _third$[ebp]
test edx, edx
je SHORT $LN10@htmlParseL
; 5161 : len -= 2;
mov eax, DWORD PTR _len$[ebp]
sub eax, 2
mov DWORD PTR _len$[ebp], eax
jmp SHORT $LN11@htmlParseL
$LN10@htmlParseL:
; 5162 : else if (next)
movzx ecx, BYTE PTR _next$[ebp]
test ecx, ecx
je SHORT $LN11@htmlParseL
; 5163 : len--;
mov edx, DWORD PTR _len$[ebp]
sub edx, 1
mov DWORD PTR _len$[ebp], edx
$LN11@htmlParseL:
; 5164 : for (; base < len; base++) {
jmp SHORT $LN4@htmlParseL
$LN2@htmlParseL:
mov eax, DWORD PTR _base$[ebp]
add eax, 1
mov DWORD PTR _base$[ebp], eax
$LN4@htmlParseL:
mov ecx, DWORD PTR _base$[ebp]
cmp ecx, DWORD PTR _len$[ebp]
jge $LN3@htmlParseL
; 5165 : if ((!incomment) && (base + 4 < len) && (!iscomment)) {
cmp DWORD PTR _incomment$[ebp], 0
jne SHORT $LN13@htmlParseL
mov edx, DWORD PTR _base$[ebp]
add edx, 4
cmp edx, DWORD PTR _len$[ebp]
jge SHORT $LN13@htmlParseL
cmp DWORD PTR _iscomment$[ebp], 0
jne SHORT $LN13@htmlParseL
; 5166 : if ((buf[base] == '<') && (buf[base + 1] == '!') &&
; 5167 : (buf[base + 2] == '-') && (buf[base + 3] == '-')) {
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN13@htmlParseL
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx+1]
cmp eax, 33 ; 00000021H
jne SHORT $LN13@htmlParseL
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
movzx edx, BYTE PTR [ecx+2]
cmp edx, 45 ; 0000002dH
jne SHORT $LN13@htmlParseL
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax+3]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN13@htmlParseL
; 5168 : incomment = 1;
mov DWORD PTR _incomment$[ebp], 1
; 5169 : /* do not increment past <! - some people use <!--> */
; 5170 : base += 2;
mov edx, DWORD PTR _base$[ebp]
add edx, 2
mov DWORD PTR _base$[ebp], edx
$LN13@htmlParseL:
; 5171 : }
; 5172 : }
; 5173 : if (ignoreattrval) {
cmp DWORD PTR _ignoreattrval$[ebp], 0
je SHORT $LN15@htmlParseL
; 5174 : if (buf[base] == '"' || buf[base] == '\'') {
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 34 ; 00000022H
je SHORT $LN18@htmlParseL
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 39 ; 00000027H
jne SHORT $LN16@htmlParseL
$LN18@htmlParseL:
; 5175 : if (invalue) {
cmp DWORD PTR _invalue$[ebp], 0
je SHORT $LN19@htmlParseL
; 5176 : if (buf[base] == valdellim) {
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
movzx edx, BYTE PTR [ecx]
movsx eax, BYTE PTR _valdellim$[ebp]
cmp edx, eax
jne SHORT $LN21@htmlParseL
; 5177 : invalue = 0;
mov DWORD PTR _invalue$[ebp], 0
; 5178 : continue;
jmp $LN2@htmlParseL
$LN21@htmlParseL:
; 5179 : }
; 5180 : } else {
jmp SHORT $LN20@htmlParseL
$LN19@htmlParseL:
; 5181 : valdellim = buf[base];
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
mov dl, BYTE PTR [ecx]
mov BYTE PTR _valdellim$[ebp], dl
; 5182 : invalue = 1;
mov DWORD PTR _invalue$[ebp], 1
; 5183 : continue;
jmp $LN2@htmlParseL
$LN20@htmlParseL:
; 5184 : }
jmp SHORT $LN15@htmlParseL
$LN16@htmlParseL:
; 5185 : } else if (invalue) {
cmp DWORD PTR _invalue$[ebp], 0
je SHORT $LN15@htmlParseL
; 5186 : continue;
jmp $LN2@htmlParseL
$LN15@htmlParseL:
; 5187 : }
; 5188 : }
; 5189 : if (incomment) {
cmp DWORD PTR _incomment$[ebp], 0
je SHORT $LN23@htmlParseL
; 5190 : if (base + 3 > len)
mov eax, DWORD PTR _base$[ebp]
add eax, 3
cmp eax, DWORD PTR _len$[ebp]
jle SHORT $LN24@htmlParseL
; 5191 : return (-1);
or eax, -1
jmp $LN1@htmlParseL
$LN24@htmlParseL:
; 5192 : if ((buf[base] == '-') && (buf[base + 1] == '-') &&
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 45 ; 0000002dH
jne SHORT $LN25@htmlParseL
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax+1]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN25@htmlParseL
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx+2]
cmp eax, 62 ; 0000003eH
jne SHORT $LN25@htmlParseL
; 5193 : (buf[base + 2] == '>')) {
; 5194 : incomment = 0;
mov DWORD PTR _incomment$[ebp], 0
; 5195 : base += 2;
mov ecx, DWORD PTR _base$[ebp]
add ecx, 2
mov DWORD PTR _base$[ebp], ecx
$LN25@htmlParseL:
; 5196 : }
; 5197 : continue;
jmp $LN2@htmlParseL
$LN23@htmlParseL:
; 5198 : }
; 5199 : if (buf[base] == first) {
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _base$[ebp]
movzx eax, BYTE PTR [edx]
movzx ecx, BYTE PTR _first$[ebp]
cmp eax, ecx
jne SHORT $LN26@htmlParseL
; 5200 : if (third != 0) {
movzx edx, BYTE PTR _third$[ebp]
test edx, edx
je SHORT $LN27@htmlParseL
; 5201 : if ((buf[base + 1] != next) || (buf[base + 2] != third))
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax+1]
movzx edx, BYTE PTR _next$[ebp]
cmp ecx, edx
jne SHORT $LN30@htmlParseL
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _base$[ebp]
movzx ecx, BYTE PTR [eax+2]
movzx edx, BYTE PTR _third$[ebp]
cmp ecx, edx
je SHORT $LN29@htmlParseL
$LN30@htmlParseL:
; 5202 : continue;
jmp $LN2@htmlParseL
$LN29@htmlParseL:
; 5203 : } else if (next != 0) {
jmp SHORT $LN28@htmlParseL
$LN27@htmlParseL:
movzx eax, BYTE PTR _next$[ebp]
test eax, eax
je SHORT $LN28@htmlParseL
; 5204 : if (buf[base + 1] != next)
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _base$[ebp]
movzx edx, BYTE PTR [ecx+1]
movzx eax, BYTE PTR _next$[ebp]
cmp edx, eax
je SHORT $LN28@htmlParseL
; 5205 : continue;
jmp $LN2@htmlParseL
$LN28@htmlParseL:
; 5206 : }
; 5207 : ctxt->checkIndex = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+204], 0
; 5208 : #ifdef DEBUG_PUSH
; 5209 : if (next == 0)
; 5210 : xmlGenericError(xmlGenericErrorContext,
; 5211 : "HPP: lookup '%c' found at %d\n",
; 5212 : first, base);
; 5213 : else if (third == 0)
; 5214 : xmlGenericError(xmlGenericErrorContext,
; 5215 : "HPP: lookup '%c%c' found at %d\n",
; 5216 : first, next, base);
; 5217 : else
; 5218 : xmlGenericError(xmlGenericErrorContext,
; 5219 : "HPP: lookup '%c%c%c' found at %d\n",
; 5220 : first, next, third, base);
; 5221 : #endif
; 5222 : return (base - (in->cur - in->base));
mov edx, DWORD PTR _in$[ebp]
mov eax, DWORD PTR _in$[ebp]
mov ecx, DWORD PTR [edx+16]
sub ecx, DWORD PTR [eax+12]
mov eax, DWORD PTR _base$[ebp]
sub eax, ecx
jmp SHORT $LN1@htmlParseL
$LN26@htmlParseL:
; 5223 : }
; 5224 : }
jmp $LN2@htmlParseL
$LN3@htmlParseL:
; 5225 : if ((!incomment) && (!invalue))
cmp DWORD PTR _incomment$[ebp], 0
jne SHORT $LN33@htmlParseL
cmp DWORD PTR _invalue$[ebp], 0
jne SHORT $LN33@htmlParseL
; 5226 : ctxt->checkIndex = base;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _base$[ebp]
mov DWORD PTR [edx+204], eax
$LN33@htmlParseL:
; 5227 : #ifdef DEBUG_PUSH
; 5228 : if (next == 0)
; 5229 : xmlGenericError(xmlGenericErrorContext,
; 5230 : "HPP: lookup '%c' failed\n", first);
; 5231 : else if (third == 0)
; 5232 : xmlGenericError(xmlGenericErrorContext,
; 5233 : "HPP: lookup '%c%c' failed\n", first, next);
; 5234 : else
; 5235 : xmlGenericError(xmlGenericErrorContext,
; 5236 : "HPP: lookup '%c%c%c' failed\n", first, next,
; 5237 : third);
; 5238 : #endif
; 5239 : return (-1);
or eax, -1
$LN1@htmlParseL:
; 5240 : }
add esp, 28 ; 0000001cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseLookupSequence ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCreateDocParserCtxt
_TEXT SEGMENT
_handler$1 = -16 ; size = 4
_enc$2 = -12 ; size = 4
_ctxt$ = -8 ; size = 4
_len$ = -4 ; size = 4
_cur$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_htmlCreateDocParserCtxt PROC ; COMDAT
; 5056 : htmlCreateDocParserCtxt(const xmlChar *cur, const char *encoding) {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 5057 : int len;
; 5058 : htmlParserCtxtPtr ctxt;
; 5059 :
; 5060 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlCreate
; 5061 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN2@htmlCreate:
; 5062 : len = xmlStrlen(cur);
mov eax, DWORD PTR _cur$[ebp]
push eax
call _xmlStrlen
add esp, 4
mov DWORD PTR _len$[ebp], eax
; 5063 : ctxt = htmlCreateMemoryParserCtxt((char *)cur, len);
mov ecx, DWORD PTR _len$[ebp]
push ecx
mov edx, DWORD PTR _cur$[ebp]
push edx
call _htmlCreateMemoryParserCtxt
add esp, 8
mov DWORD PTR _ctxt$[ebp], eax
; 5064 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCreate
; 5065 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN3@htmlCreate:
; 5066 :
; 5067 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je $LN4@htmlCreate
; 5068 : xmlCharEncoding enc;
; 5069 : xmlCharEncodingHandlerPtr handler;
; 5070 :
; 5071 : if (ctxt->input->encoding != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
cmp DWORD PTR [ecx+44], 0
je SHORT $LN5@htmlCreate
; 5072 : xmlFree((xmlChar *) ctxt->input->encoding);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov esi, esp
mov ecx, DWORD PTR [eax+44]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN5@htmlCreate:
; 5073 : ctxt->input->encoding = xmlStrdup((const xmlChar *) encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
call _xmlStrdup
add esp, 4
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+44], eax
; 5074 :
; 5075 : enc = xmlParseCharEncoding(encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$2[ebp], eax
; 5076 : /*
; 5077 : * registered set of known encodings
; 5078 : */
; 5079 : if (enc != XML_CHAR_ENCODING_ERROR) {
cmp DWORD PTR _enc$2[ebp], -1
je SHORT $LN6@htmlCreate
; 5080 : xmlSwitchEncoding(ctxt, enc);
mov ecx, DWORD PTR _enc$2[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlSwitchEncoding
add esp, 8
; 5081 : if (ctxt->errNo == XML_ERR_UNSUPPORTED_ENCODING) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+84], 32 ; 00000020H
jne SHORT $LN8@htmlCreate
; 5082 : htmlParseErr(ctxt, XML_ERR_UNSUPPORTED_ENCODING,
push 0
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
push OFFSET ??_C@_0BJ@FCHADMKI@Unsupported?5encoding?5?$CFs?6@
push 32 ; 00000020H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN8@htmlCreate:
; 5083 : "Unsupported encoding %s\n",
; 5084 : (const xmlChar *) encoding, NULL);
; 5085 : }
; 5086 : } else {
jmp SHORT $LN4@htmlCreate
$LN6@htmlCreate:
; 5087 : /*
; 5088 : * fallback for unknown encodings
; 5089 : */
; 5090 : handler = xmlFindCharEncodingHandler((const char *) encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$1[ebp], eax
; 5091 : if (handler != NULL) {
cmp DWORD PTR _handler$1[ebp], 0
je SHORT $LN9@htmlCreate
; 5092 : xmlSwitchToEncoding(ctxt, handler);
mov ecx, DWORD PTR _handler$1[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlSwitchToEncoding
add esp, 8
; 5093 : } else {
jmp SHORT $LN4@htmlCreate
$LN9@htmlCreate:
; 5094 : htmlParseErr(ctxt, XML_ERR_UNSUPPORTED_ENCODING,
push 0
mov eax, DWORD PTR _encoding$[ebp]
push eax
push OFFSET ??_C@_0BJ@FCHADMKI@Unsupported?5encoding?5?$CFs?6@
push 32 ; 00000020H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN4@htmlCreate:
; 5095 : "Unsupported encoding %s\n",
; 5096 : (const xmlChar *) encoding, NULL);
; 5097 : }
; 5098 : }
; 5099 : }
; 5100 : return(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
$LN1@htmlCreate:
; 5101 : }
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCreateDocParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlInitParserCtxt
_TEXT SEGMENT
_sax$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlInitParserCtxt PROC ; COMDAT
; 4862 : {
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4863 : htmlSAXHandler *sax;
; 4864 :
; 4865 : if (ctxt == NULL) return(-1);
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlInitPa
or eax, -1
jmp $LN1@htmlInitPa
$LN2@htmlInitPa:
; 4866 : memset(ctxt, 0, sizeof(htmlParserCtxt));
push 472 ; 000001d8H
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _memset
add esp, 12 ; 0000000cH
; 4867 :
; 4868 : ctxt->dict = xmlDictCreate();
call _xmlDictCreate
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+296], eax
; 4869 : if (ctxt->dict == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+296], 0
jne SHORT $LN3@htmlInitPa
; 4870 : htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
push OFFSET ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@
push 0
call _htmlErrMemory
add esp, 8
; 4871 : return(-1);
or eax, -1
jmp $LN1@htmlInitPa
$LN3@htmlInitPa:
; 4872 : }
; 4873 : sax = (htmlSAXHandler *) xmlMalloc(sizeof(htmlSAXHandler));
mov esi, esp
push 128 ; 00000080H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _sax$[ebp], eax
; 4874 : if (sax == NULL) {
cmp DWORD PTR _sax$[ebp], 0
jne SHORT $LN4@htmlInitPa
; 4875 : htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
push OFFSET ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@
push 0
call _htmlErrMemory
add esp, 8
; 4876 : return(-1);
or eax, -1
jmp $LN1@htmlInitPa
; 4877 : }
jmp SHORT $LN5@htmlInitPa
$LN4@htmlInitPa:
; 4878 : else
; 4879 : memset(sax, 0, sizeof(htmlSAXHandler));
push 128 ; 00000080H
push 0
mov eax, DWORD PTR _sax$[ebp]
push eax
call _memset
add esp, 12 ; 0000000cH
$LN5@htmlInitPa:
; 4880 :
; 4881 : /* Allocate the Input stack */
; 4882 : ctxt->inputTab = (htmlParserInputPtr *)
mov esi, esp
push 20 ; 00000014H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+48], eax
; 4883 : xmlMalloc(5 * sizeof(htmlParserInputPtr));
; 4884 : if (ctxt->inputTab == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+48], 0
jne SHORT $LN6@htmlInitPa
; 4885 : htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
push OFFSET ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@
push 0
call _htmlErrMemory
add esp, 8
; 4886 : ctxt->inputNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+40], 0
; 4887 : ctxt->inputMax = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+44], 0
; 4888 : ctxt->input = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+36], 0
; 4889 : return(-1);
or eax, -1
jmp $LN1@htmlInitPa
$LN6@htmlInitPa:
; 4890 : }
; 4891 : ctxt->inputNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+40], 0
; 4892 : ctxt->inputMax = 5;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+44], 5
; 4893 : ctxt->input = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+36], 0
; 4894 : ctxt->version = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+20], 0
; 4895 : ctxt->encoding = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+24], 0
; 4896 : ctxt->standalone = -1;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+28], -1
; 4897 : ctxt->instate = XML_PARSER_START;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 0
; 4898 :
; 4899 : /* Allocate the Node stack */
; 4900 : ctxt->nodeTab = (htmlNodePtr *) xmlMalloc(10 * sizeof(htmlNodePtr));
mov esi, esp
push 40 ; 00000028H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+64], eax
; 4901 : if (ctxt->nodeTab == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+64], 0
jne SHORT $LN7@htmlInitPa
; 4902 : htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
push OFFSET ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@
push 0
call _htmlErrMemory
add esp, 8
; 4903 : ctxt->nodeNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+56], 0
; 4904 : ctxt->nodeMax = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+60], 0
; 4905 : ctxt->node = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+52], 0
; 4906 : ctxt->inputNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+40], 0
; 4907 : ctxt->inputMax = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+44], 0
; 4908 : ctxt->input = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+36], 0
; 4909 : return(-1);
or eax, -1
jmp $LN1@htmlInitPa
$LN7@htmlInitPa:
; 4910 : }
; 4911 : ctxt->nodeNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+56], 0
; 4912 : ctxt->nodeMax = 10;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+60], 10 ; 0000000aH
; 4913 : ctxt->node = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+52], 0
; 4914 :
; 4915 : /* Allocate the Name stack */
; 4916 : ctxt->nameTab = (const xmlChar **) xmlMalloc(10 * sizeof(xmlChar *));
mov esi, esp
push 40 ; 00000028H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+196], eax
; 4917 : if (ctxt->nameTab == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+196], 0
jne SHORT $LN8@htmlInitPa
; 4918 : htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
push OFFSET ??_C@_0CD@JDCEFLJF@htmlInitParserCtxt?3?5out?5of?5memo@
push 0
call _htmlErrMemory
add esp, 8
; 4919 : ctxt->nameNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+188], 0
; 4920 : ctxt->nameMax = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+192], 0
; 4921 : ctxt->name = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+184], 0
; 4922 : ctxt->nodeNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+56], 0
; 4923 : ctxt->nodeMax = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+60], 0
; 4924 : ctxt->node = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+52], 0
; 4925 : ctxt->inputNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+40], 0
; 4926 : ctxt->inputMax = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+44], 0
; 4927 : ctxt->input = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+36], 0
; 4928 : return(-1);
or eax, -1
jmp $LN1@htmlInitPa
$LN8@htmlInitPa:
; 4929 : }
; 4930 : ctxt->nameNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+188], 0
; 4931 : ctxt->nameMax = 10;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+192], 10 ; 0000000aH
; 4932 : ctxt->name = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+184], 0
; 4933 :
; 4934 : ctxt->nodeInfoTab = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+460], 0
; 4935 : ctxt->nodeInfoNr = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+452], 0
; 4936 : ctxt->nodeInfoMax = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+456], 0
; 4937 :
; 4938 : if (sax == NULL) ctxt->sax = (xmlSAXHandlerPtr) &htmlDefaultSAXHandler;
cmp DWORD PTR _sax$[ebp], 0
jne SHORT $LN9@htmlInitPa
call ___htmlDefaultSAXHandler
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx], eax
jmp SHORT $LN10@htmlInitPa
$LN9@htmlInitPa:
; 4939 : else {
; 4940 : ctxt->sax = sax;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _sax$[ebp]
mov DWORD PTR [edx], eax
; 4941 : memcpy(sax, &htmlDefaultSAXHandler, sizeof(xmlSAXHandlerV1));
call ___htmlDefaultSAXHandler
mov ecx, 28 ; 0000001cH
mov esi, eax
mov edi, DWORD PTR _sax$[ebp]
rep movsd
$LN10@htmlInitPa:
; 4942 : }
; 4943 : ctxt->userData = ctxt;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+4], edx
; 4944 : ctxt->myDoc = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+8], 0
; 4945 : ctxt->wellFormed = 1;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+12], 1
; 4946 : ctxt->replaceEntities = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+16], 0
; 4947 : ctxt->linenumbers = xmlLineNumbersDefaultValue;
call ___xmlLineNumbersDefaultValue
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [eax]
mov DWORD PTR [ecx+280], edx
; 4948 : ctxt->keepBlanks = xmlKeepBlanksDefaultValue;
call ___xmlKeepBlanksDefaultValue
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [eax]
mov DWORD PTR [ecx+208], edx
; 4949 : ctxt->html = 1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+32], 1
; 4950 : ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+136], -1412623820 ; abcd1234H
; 4951 : ctxt->vctxt.userData = ctxt;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+108], eax
; 4952 : ctxt->vctxt.error = xmlParserValidityError;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+112], OFFSET _xmlParserValidityError
; 4953 : ctxt->vctxt.warning = xmlParserValidityWarning;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+116], OFFSET _xmlParserValidityWarning
; 4954 : ctxt->record_info = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+68], 0
; 4955 : ctxt->validate = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+104], 0
; 4956 : ctxt->nbChars = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], 0
; 4957 : ctxt->checkIndex = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+204], 0
; 4958 : ctxt->catalogs = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+284], 0
; 4959 : xmlInitNodeInfoSeq(&ctxt->node_seq);
mov edx, DWORD PTR _ctxt$[ebp]
add edx, 72 ; 00000048H
push edx
call _xmlInitNodeInfoSeq
add esp, 4
; 4960 : return(0);
xor eax, eax
$LN1@htmlInitPa:
; 4961 : }
pop edi
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlInitParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseContentInternal
_TEXT SEGMENT
_cons$1 = -16 ; size = 4
_name$ = -12 ; size = 4
_depth$ = -8 ; size = 4
_currentNode$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseContentInternal PROC ; COMDAT
; 4541 : htmlParseContentInternal(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4542 : xmlChar *currentNode;
; 4543 : int depth;
; 4544 : const xmlChar *name;
; 4545 :
; 4546 : currentNode = xmlStrdup(ctxt->name);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4547 : depth = ctxt->nameNr;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
mov DWORD PTR _depth$[ebp], eax
$LN2@htmlParseC:
; 4548 : while (1) {
mov ecx, 1
test ecx, ecx
je $LN3@htmlParseC
; 4549 : long cons = ctxt->nbChars;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
mov DWORD PTR _cons$1[ebp], eax
; 4550 :
; 4551 : GROW;
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+292], 0
jne SHORT $LN6@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 250 ; 000000faH
jge SHORT $LN6@htmlParseC
push 250 ; 000000faH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputGrow
add esp, 8
$LN6@htmlParseC:
; 4552 :
; 4553 : if (ctxt->instate == XML_PARSER_EOF)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+172], -1
jne SHORT $LN7@htmlParseC
; 4554 : break;
jmp $LN3@htmlParseC
$LN7@htmlParseC:
; 4555 :
; 4556 : /*
; 4557 : * Our tag or one of it's parent or children is ending.
; 4558 : */
; 4559 : if ((CUR == '<') && (NXT(1) == '/')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne $LN8@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 47 ; 0000002fH
jne SHORT $LN8@htmlParseC
; 4560 : if (htmlParseEndTag(ctxt) &&
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseEndTag
add esp, 4
test eax, eax
je SHORT $LN10@htmlParseC
cmp DWORD PTR _currentNode$[ebp], 0
jne SHORT $LN11@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+188], 0
jne SHORT $LN10@htmlParseC
$LN11@htmlParseC:
; 4561 : ((currentNode != NULL) || (ctxt->nameNr == 0))) {
; 4562 : if (currentNode != NULL)
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN12@htmlParseC
; 4563 : xmlFree(currentNode);
mov esi, esp
mov eax, DWORD PTR _currentNode$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN12@htmlParseC:
; 4564 :
; 4565 : currentNode = xmlStrdup(ctxt->name);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4566 : depth = ctxt->nameNr;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+188]
mov DWORD PTR _depth$[ebp], ecx
$LN10@htmlParseC:
; 4567 : }
; 4568 : continue; /* while */
jmp $LN2@htmlParseC
; 4569 : }
jmp $LN9@htmlParseC
$LN8@htmlParseC:
; 4570 :
; 4571 : else if ((CUR == '<') &&
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 60 ; 0000003cH
jne $LN9@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 65 ; 00000041H
jl SHORT $LN15@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 90 ; 0000005aH
jle SHORT $LN14@htmlParseC
$LN15@htmlParseC:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 97 ; 00000061H
jl SHORT $LN16@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 122 ; 0000007aH
jle SHORT $LN14@htmlParseC
$LN16@htmlParseC:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 95 ; 0000005fH
je SHORT $LN14@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 58 ; 0000003aH
jne $LN9@htmlParseC
$LN14@htmlParseC:
; 4572 : ((IS_ASCII_LETTER(NXT(1))) ||
; 4573 : (NXT(1) == '_') || (NXT(1) == ':'))) {
; 4574 : name = htmlParseHTMLName_nonInvasive(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseHTMLName_nonInvasive
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 4575 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne $LN17@htmlParseC
; 4576 : htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0CJ@FBFDNGDH@htmlParseStartTag?3?5invalid?5elem@
push 68 ; 00000044H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN4@htmlParseC:
; 4577 : "htmlParseStartTag: invalid element name\n",
; 4578 : NULL, NULL);
; 4579 : /* Dump the bogus tag like browsers do */
; 4580 : while ((IS_CHAR_CH(CUR)) && (CUR != '>'))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 9
jl SHORT $LN19@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 10 ; 0000000aH
jle SHORT $LN18@htmlParseC
$LN19@htmlParseC:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 13 ; 0000000dH
je SHORT $LN18@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
jl SHORT $LN5@htmlParseC
$LN18@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 62 ; 0000003eH
je SHORT $LN5@htmlParseC
; 4581 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
jmp SHORT $LN4@htmlParseC
$LN5@htmlParseC:
; 4582 :
; 4583 : htmlParserFinishElementParsing(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParserFinishElementParsing
add esp, 4
; 4584 : if (currentNode != NULL)
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN20@htmlParseC
; 4585 : xmlFree(currentNode);
mov esi, esp
mov eax, DWORD PTR _currentNode$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN20@htmlParseC:
; 4586 :
; 4587 : currentNode = xmlStrdup(ctxt->name);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4588 : depth = ctxt->nameNr;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+188]
mov DWORD PTR _depth$[ebp], ecx
; 4589 : continue;
jmp $LN2@htmlParseC
$LN17@htmlParseC:
; 4590 : }
; 4591 :
; 4592 : if (ctxt->name != NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+184], 0
je SHORT $LN9@htmlParseC
; 4593 : if (htmlCheckAutoClose(name, ctxt->name) == 1) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
mov edx, DWORD PTR _name$[ebp]
push edx
call _htmlCheckAutoClose
add esp, 8
cmp eax, 1
jne SHORT $LN9@htmlParseC
; 4594 : htmlAutoClose(ctxt, name);
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlAutoClose
add esp, 8
; 4595 : continue;
jmp $LN2@htmlParseC
$LN9@htmlParseC:
; 4596 : }
; 4597 : }
; 4598 : }
; 4599 :
; 4600 : /*
; 4601 : * Has this node been popped out during parsing of
; 4602 : * the next element
; 4603 : */
; 4604 : if ((ctxt->nameNr > 0) && (depth >= ctxt->nameNr) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+188], 0
jle SHORT $LN23@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _depth$[ebp]
cmp ecx, DWORD PTR [eax+188]
jl SHORT $LN23@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
mov ecx, DWORD PTR _currentNode$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN23@htmlParseC
; 4605 : (!xmlStrEqual(currentNode, ctxt->name)))
; 4606 : {
; 4607 : htmlParserFinishElementParsing(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParserFinishElementParsing
add esp, 4
; 4608 : if (currentNode != NULL) xmlFree(currentNode);
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN24@htmlParseC
mov esi, esp
mov eax, DWORD PTR _currentNode$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN24@htmlParseC:
; 4609 :
; 4610 : currentNode = xmlStrdup(ctxt->name);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4611 : depth = ctxt->nameNr;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+188]
mov DWORD PTR _depth$[ebp], ecx
; 4612 : continue;
jmp $LN2@htmlParseC
$LN23@htmlParseC:
; 4613 : }
; 4614 :
; 4615 : if ((CUR != 0) && ((xmlStrEqual(currentNode, BAD_CAST"script")) ||
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
test edx, edx
je SHORT $LN25@htmlParseC
push OFFSET ??_C@_06OLONEIEH@script@
mov eax, DWORD PTR _currentNode$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN27@htmlParseC
push OFFSET ??_C@_05IAKJCFIM@style@
mov ecx, DWORD PTR _currentNode$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN25@htmlParseC
$LN27@htmlParseC:
; 4616 : (xmlStrEqual(currentNode, BAD_CAST"style")))) {
; 4617 : /*
; 4618 : * Handle SCRIPT/STYLE separately
; 4619 : */
; 4620 : htmlParseScript(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseScript
add esp, 4
; 4621 : } else {
jmp $LN26@htmlParseC
$LN25@htmlParseC:
; 4622 : /*
; 4623 : * Sometimes DOCTYPE arrives in the middle of the document
; 4624 : */
; 4625 : if ((CUR == '<') && (NXT(1) == '!') &&
; 4626 : (UPP(2) == 'D') && (UPP(3) == 'O') &&
; 4627 : (UPP(4) == 'C') && (UPP(5) == 'T') &&
; 4628 : (UPP(6) == 'Y') && (UPP(7) == 'P') &&
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne $LN28@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 33 ; 00000021H
jne $LN28@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 1
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 68 ; 00000044H
jne $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 3
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 79 ; 0000004fH
jne $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 2
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN28@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 5
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN28@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 6
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne $LN28@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 7
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne SHORT $LN28@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 3
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne SHORT $LN28@htmlParseC
; 4629 : (UPP(8) == 'E')) {
; 4630 : htmlParseErr(ctxt, XML_HTML_STRUCURE_ERROR,
push 0
push OFFSET ??_C@_07JGKBCNAA@DOCTYPE@
push OFFSET ??_C@_0BP@FHNHCCJD@Misplaced?5DOCTYPE?5declaration?6@
push 800 ; 00000320H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 4631 : "Misplaced DOCTYPE declaration\n",
; 4632 : BAD_CAST "DOCTYPE" , NULL);
; 4633 : htmlParseDocTypeDecl(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseDocTypeDecl
add esp, 4
$LN28@htmlParseC:
; 4634 : }
; 4635 :
; 4636 : /*
; 4637 : * First case : a comment
; 4638 : */
; 4639 : if ((CUR == '<') && (NXT(1) == '!') &&
; 4640 : (NXT(2) == '-') && (NXT(3) == '-')) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 60 ; 0000003cH
jne SHORT $LN29@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 33 ; 00000021H
jne SHORT $LN29@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 45 ; 0000002dH
jne SHORT $LN29@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 45 ; 0000002dH
jne SHORT $LN29@htmlParseC
; 4641 : htmlParseComment(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseComment
add esp, 4
; 4642 : }
jmp $LN30@htmlParseC
$LN29@htmlParseC:
; 4643 :
; 4644 : /*
; 4645 : * Second case : a Processing Instruction.
; 4646 : */
; 4647 : else if ((CUR == '<') && (NXT(1) == '?')) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 60 ; 0000003cH
jne SHORT $LN31@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 63 ; 0000003fH
jne SHORT $LN31@htmlParseC
; 4648 : htmlParsePI(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParsePI
add esp, 4
; 4649 : }
jmp $LN30@htmlParseC
$LN31@htmlParseC:
; 4650 :
; 4651 : /*
; 4652 : * Third case : a sub-element.
; 4653 : */
; 4654 : else if (CUR == '<') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne SHORT $LN33@htmlParseC
; 4655 : htmlParseElementInternal(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseElementInternal
add esp, 4
; 4656 : if (currentNode != NULL) xmlFree(currentNode);
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN35@htmlParseC
mov esi, esp
mov edx, DWORD PTR _currentNode$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN35@htmlParseC:
; 4657 :
; 4658 : currentNode = xmlStrdup(ctxt->name);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4659 : depth = ctxt->nameNr;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
mov DWORD PTR _depth$[ebp], eax
; 4660 : }
jmp SHORT $LN30@htmlParseC
$LN33@htmlParseC:
; 4661 :
; 4662 : /*
; 4663 : * Fourth case : a reference. If if has not been resolved,
; 4664 : * parsing returns it's Name, create the node
; 4665 : */
; 4666 : else if (CUR == '&') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 38 ; 00000026H
jne SHORT $LN36@htmlParseC
; 4667 : htmlParseReference(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseReference
add esp, 4
; 4668 : }
jmp SHORT $LN30@htmlParseC
$LN36@htmlParseC:
; 4669 :
; 4670 : /*
; 4671 : * Fifth case : end of the resource
; 4672 : */
; 4673 : else if (CUR == 0) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
test eax, eax
jne SHORT $LN38@htmlParseC
; 4674 : htmlAutoCloseOnEnd(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlAutoCloseOnEnd
add esp, 4
; 4675 : break;
jmp SHORT $LN3@htmlParseC
; 4676 : }
jmp SHORT $LN30@htmlParseC
$LN38@htmlParseC:
; 4677 :
; 4678 : /*
; 4679 : * Last case, text. Note that References are handled directly.
; 4680 : */
; 4681 : else {
; 4682 : htmlParseCharData(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseCharData
add esp, 4
$LN30@htmlParseC:
; 4683 : }
; 4684 :
; 4685 : if (cons == ctxt->nbChars) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _cons$1[ebp]
cmp ecx, DWORD PTR [eax+200]
jne SHORT $LN26@htmlParseC
; 4686 : if (ctxt->node != NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+52], 0
je SHORT $LN41@htmlParseC
; 4687 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CG@FCFCBOFE@detected?5an?5error?5in?5element?5co@
push 1
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN41@htmlParseC:
; 4688 : "detected an error in element content\n",
; 4689 : NULL, NULL);
; 4690 : }
; 4691 : break;
jmp SHORT $LN3@htmlParseC
$LN26@htmlParseC:
; 4692 : }
; 4693 : }
; 4694 : GROW;
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+292], 0
jne SHORT $LN42@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 250 ; 000000faH
jge SHORT $LN42@htmlParseC
push 250 ; 000000faH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputGrow
add esp, 8
$LN42@htmlParseC:
; 4695 : }
jmp $LN2@htmlParseC
$LN3@htmlParseC:
; 4696 : if (currentNode != NULL) xmlFree(currentNode);
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN1@htmlParseC
mov esi, esp
mov eax, DWORD PTR _currentNode$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseC:
; 4697 : }
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseContentInternal ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseElementInternal
_TEXT SEGMENT
_failed$ = -40 ; size = 4
_node_info$ = -32 ; size = 20
_info$ = -8 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseElementInternal PROC ; COMDAT
; 4448 : htmlParseElementInternal(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 40 ; 00000028H
push esi
push edi
lea edi, DWORD PTR [ebp-40]
mov ecx, 10 ; 0000000aH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4449 : const xmlChar *name;
; 4450 : const htmlElemDesc * info;
; 4451 : htmlParserNodeInfo node_info = { NULL, 0, 0, 0, 0 };
mov DWORD PTR _node_info$[ebp], 0
mov DWORD PTR _node_info$[ebp+4], 0
mov DWORD PTR _node_info$[ebp+8], 0
mov DWORD PTR _node_info$[ebp+12], 0
mov DWORD PTR _node_info$[ebp+16], 0
; 4452 : int failed;
; 4453 :
; 4454 : if ((ctxt == NULL) || (ctxt->input == NULL)) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN3@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
jne SHORT $LN2@htmlParseE
$LN3@htmlParseE:
; 4455 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CJ@HLPMKEOA@htmlParseElementInternal?3?5conte@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 4456 : "htmlParseElementInternal: context error\n", NULL, NULL);
; 4457 : return;
jmp $LN1@htmlParseE
$LN2@htmlParseE:
; 4458 : }
; 4459 :
; 4460 : if (ctxt->instate == XML_PARSER_EOF)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
jne SHORT $LN4@htmlParseE
; 4461 : return;
jmp $LN1@htmlParseE
$LN4@htmlParseE:
; 4462 :
; 4463 : /* Capture start position */
; 4464 : if (ctxt->record_info) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+68], 0
je SHORT $LN5@htmlParseE
; 4465 : node_info.begin_pos = ctxt->input->consumed +
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [eax+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
add ecx, DWORD PTR [edx+36]
mov DWORD PTR _node_info$[ebp+4], ecx
; 4466 : (CUR_PTR - ctxt->input->base);
; 4467 : node_info.begin_line = ctxt->input->line;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
mov DWORD PTR _node_info$[ebp+8], ecx
$LN5@htmlParseE:
; 4468 : }
; 4469 :
; 4470 : failed = htmlParseStartTag(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseStartTag
add esp, 4
mov DWORD PTR _failed$[ebp], eax
; 4471 : name = ctxt->name;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
mov DWORD PTR _name$[ebp], ecx
; 4472 : if ((failed == -1) || (name == NULL)) {
cmp DWORD PTR _failed$[ebp], -1
je SHORT $LN7@htmlParseE
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN6@htmlParseE
$LN7@htmlParseE:
; 4473 : if (CUR == '>')
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
jne SHORT $LN8@htmlParseE
; 4474 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
$LN8@htmlParseE:
; 4475 : return;
jmp $LN1@htmlParseE
$LN6@htmlParseE:
; 4476 : }
; 4477 :
; 4478 : /*
; 4479 : * Lookup the info for that element.
; 4480 : */
; 4481 : info = htmlTagLookup(name);
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _htmlTagLookup
add esp, 4
mov DWORD PTR _info$[ebp], eax
; 4482 : if (info == NULL) {
cmp DWORD PTR _info$[ebp], 0
jne SHORT $LN9@htmlParseE
; 4483 : htmlParseErr(ctxt, XML_HTML_UNKNOWN_TAG,
push 0
mov edx, DWORD PTR _name$[ebp]
push edx
push OFFSET ??_C@_0BA@NAOEEOLP@Tag?5?$CFs?5invalid?6@
push 801 ; 00000321H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN9@htmlParseE:
; 4484 : "Tag %s invalid\n", name, NULL);
; 4485 : }
; 4486 :
; 4487 : /*
; 4488 : * Check for an Empty Element labeled the XML/SGML way
; 4489 : */
; 4490 : if ((CUR == '/') && (NXT(1) == '>')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 47 ; 0000002fH
jne $LN10@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 62 ; 0000003eH
jne $LN10@htmlParseE
; 4491 : SKIP(2);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 2
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
; 4492 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN11@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+60], 0
je SHORT $LN11@htmlParseE
; 4493 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN11@htmlParseE:
; 4494 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
; 4495 : return;
jmp $LN1@htmlParseE
$LN10@htmlParseE:
; 4496 : }
; 4497 :
; 4498 : if (CUR == '>') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 62 ; 0000003eH
jne SHORT $LN12@htmlParseE
; 4499 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 4500 : } else {
jmp SHORT $LN13@htmlParseE
$LN12@htmlParseE:
; 4501 : htmlParseErr(ctxt, XML_ERR_GT_REQUIRED,
push 0
mov edx, DWORD PTR _name$[ebp]
push edx
push OFFSET ??_C@_0CD@HIMAKCPA@Couldn?8t?5find?5end?5of?5Start?5Tag?5@
push 73 ; 00000049H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 4502 : "Couldn't find end of Start Tag %s\n", name, NULL);
; 4503 :
; 4504 : /*
; 4505 : * end of parsing of this node.
; 4506 : */
; 4507 : if (xmlStrEqual(name, ctxt->name)) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
mov eax, DWORD PTR _name$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN14@htmlParseE
; 4508 : nodePop(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _nodePop
add esp, 4
; 4509 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
$LN14@htmlParseE:
; 4510 : }
; 4511 :
; 4512 : if (ctxt->record_info)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+68], 0
je SHORT $LN15@htmlParseE
; 4513 : htmlNodeInfoPush(ctxt, &node_info);
lea ecx, DWORD PTR _node_info$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlNodeInfoPush
add esp, 8
$LN15@htmlParseE:
; 4514 : htmlParserFinishElementParsing(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParserFinishElementParsing
add esp, 4
; 4515 : return;
jmp SHORT $LN1@htmlParseE
$LN13@htmlParseE:
; 4516 : }
; 4517 :
; 4518 : /*
; 4519 : * Check for an Empty Element from DTD definition
; 4520 : */
; 4521 : if ((info != NULL) && (info->empty)) {
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN16@htmlParseE
mov ecx, DWORD PTR _info$[ebp]
movsx edx, BYTE PTR [ecx+7]
test edx, edx
je SHORT $LN16@htmlParseE
; 4522 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN17@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+60], 0
je SHORT $LN17@htmlParseE
; 4523 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+60]
call edx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN17@htmlParseE:
; 4524 : htmlnamePop(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlnamePop
add esp, 4
; 4525 : return;
jmp SHORT $LN1@htmlParseE
$LN16@htmlParseE:
; 4526 : }
; 4527 :
; 4528 : if (ctxt->record_info)
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN1@htmlParseE
; 4529 : htmlNodeInfoPush(ctxt, &node_info);
lea edx, DWORD PTR _node_info$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlNodeInfoPush
add esp, 8
$LN1@htmlParseE:
; 4530 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN22@htmlParseE
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN22@htmlParseE:
DD 1
DD $LN21@htmlParseE
$LN21@htmlParseE:
DD -32 ; ffffffe0H
DD 20 ; 00000014H
DD $LN20@htmlParseE
$LN20@htmlParseE:
DB 110 ; 0000006eH
DB 111 ; 0000006fH
DB 100 ; 00000064H
DB 101 ; 00000065H
DB 95 ; 0000005fH
DB 105 ; 00000069H
DB 110 ; 0000006eH
DB 102 ; 00000066H
DB 111 ; 0000006fH
DB 0
_htmlParseElementInternal ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParserFinishElementParsing
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_htmlParserFinishElementParsing PROC ; COMDAT
; 4419 : htmlParserFinishElementParsing(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4420 : /*
; 4421 : * Capture end position and add node
; 4422 : */
; 4423 : if ( ctxt->node != NULL && ctxt->record_info ) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+52], 0
je SHORT $LN2@htmlParser
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN2@htmlParser
; 4424 : ctxt->nodeInfo->end_pos = ctxt->input->consumed +
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [ecx+36]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
add edx, DWORD PTR [eax+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+448]
mov DWORD PTR [ecx+12], edx
; 4425 : (CUR_PTR - ctxt->input->base);
; 4426 : ctxt->nodeInfo->end_line = ctxt->input->line;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+448]
mov eax, DWORD PTR [eax+28]
mov DWORD PTR [edx+16], eax
; 4427 : ctxt->nodeInfo->node = ctxt->node;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+448]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+52]
mov DWORD PTR [edx], ecx
; 4428 : xmlParserAddNodeInfo(ctxt, ctxt->nodeInfo);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+448]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlParserAddNodeInfo
add esp, 8
; 4429 : htmlNodeInfoPop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlNodeInfoPop
add esp, 4
$LN2@htmlParser:
; 4430 : }
; 4431 : if (!IS_CHAR_CH(CUR)) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN4@htmlParser
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN1@htmlParser
$LN4@htmlParser:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $LN1@htmlParser
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
jge SHORT $LN1@htmlParser
; 4432 : htmlAutoCloseOnEnd(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlAutoCloseOnEnd
add esp, 4
$LN1@htmlParser:
; 4433 : }
; 4434 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlParserFinishElementParsing ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseContent
_TEXT SEGMENT
_cons$1 = -16 ; size = 4
_name$ = -12 ; size = 4
_depth$ = -8 ; size = 4
_currentNode$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseContent PROC ; COMDAT
; 4141 : htmlParseContent(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4142 : xmlChar *currentNode;
; 4143 : int depth;
; 4144 : const xmlChar *name;
; 4145 :
; 4146 : currentNode = xmlStrdup(ctxt->name);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4147 : depth = ctxt->nameNr;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
mov DWORD PTR _depth$[ebp], eax
$LN2@htmlParseC:
; 4148 : while (1) {
mov ecx, 1
test ecx, ecx
je $LN3@htmlParseC
; 4149 : long cons = ctxt->nbChars;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
mov DWORD PTR _cons$1[ebp], eax
; 4150 :
; 4151 : GROW;
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+292], 0
jne SHORT $LN6@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 250 ; 000000faH
jge SHORT $LN6@htmlParseC
push 250 ; 000000faH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputGrow
add esp, 8
$LN6@htmlParseC:
; 4152 :
; 4153 : if (ctxt->instate == XML_PARSER_EOF)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+172], -1
jne SHORT $LN7@htmlParseC
; 4154 : break;
jmp $LN3@htmlParseC
$LN7@htmlParseC:
; 4155 :
; 4156 : /*
; 4157 : * Our tag or one of it's parent or children is ending.
; 4158 : */
; 4159 : if ((CUR == '<') && (NXT(1) == '/')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN8@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 47 ; 0000002fH
jne SHORT $LN8@htmlParseC
; 4160 : if (htmlParseEndTag(ctxt) &&
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseEndTag
add esp, 4
test eax, eax
je SHORT $LN10@htmlParseC
cmp DWORD PTR _currentNode$[ebp], 0
jne SHORT $LN11@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+188], 0
jne SHORT $LN10@htmlParseC
$LN11@htmlParseC:
; 4161 : ((currentNode != NULL) || (ctxt->nameNr == 0))) {
; 4162 : if (currentNode != NULL)
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN12@htmlParseC
; 4163 : xmlFree(currentNode);
mov esi, esp
mov eax, DWORD PTR _currentNode$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN12@htmlParseC:
; 4164 : return;
jmp $LN1@htmlParseC
$LN10@htmlParseC:
; 4165 : }
; 4166 : continue; /* while */
jmp $LN2@htmlParseC
; 4167 : }
jmp $LN9@htmlParseC
$LN8@htmlParseC:
; 4168 :
; 4169 : else if ((CUR == '<') &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne $LN9@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 65 ; 00000041H
jl SHORT $LN15@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 90 ; 0000005aH
jle SHORT $LN14@htmlParseC
$LN15@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 97 ; 00000061H
jl SHORT $LN16@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 122 ; 0000007aH
jle SHORT $LN14@htmlParseC
$LN16@htmlParseC:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 95 ; 0000005fH
je SHORT $LN14@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 58 ; 0000003aH
jne $LN9@htmlParseC
$LN14@htmlParseC:
; 4170 : ((IS_ASCII_LETTER(NXT(1))) ||
; 4171 : (NXT(1) == '_') || (NXT(1) == ':'))) {
; 4172 : name = htmlParseHTMLName_nonInvasive(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseHTMLName_nonInvasive
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 4173 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne $LN17@htmlParseC
; 4174 : htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0CJ@FBFDNGDH@htmlParseStartTag?3?5invalid?5elem@
push 68 ; 00000044H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN4@htmlParseC:
; 4175 : "htmlParseStartTag: invalid element name\n",
; 4176 : NULL, NULL);
; 4177 : /* Dump the bogus tag like browsers do */
; 4178 : while ((IS_CHAR_CH(CUR)) && (CUR != '>'))
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN19@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN18@htmlParseC
$LN19@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN18@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 32 ; 00000020H
jl SHORT $LN5@htmlParseC
$LN18@htmlParseC:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
je SHORT $LN5@htmlParseC
; 4179 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
jmp SHORT $LN4@htmlParseC
$LN5@htmlParseC:
; 4180 :
; 4181 : if (currentNode != NULL)
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN20@htmlParseC
; 4182 : xmlFree(currentNode);
mov esi, esp
mov ecx, DWORD PTR _currentNode$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN20@htmlParseC:
; 4183 : return;
jmp $LN1@htmlParseC
$LN17@htmlParseC:
; 4184 : }
; 4185 :
; 4186 : if (ctxt->name != NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+184], 0
je SHORT $LN9@htmlParseC
; 4187 : if (htmlCheckAutoClose(name, ctxt->name) == 1) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
mov edx, DWORD PTR _name$[ebp]
push edx
call _htmlCheckAutoClose
add esp, 8
cmp eax, 1
jne SHORT $LN9@htmlParseC
; 4188 : htmlAutoClose(ctxt, name);
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlAutoClose
add esp, 8
; 4189 : continue;
jmp $LN2@htmlParseC
$LN9@htmlParseC:
; 4190 : }
; 4191 : }
; 4192 : }
; 4193 :
; 4194 : /*
; 4195 : * Has this node been popped out during parsing of
; 4196 : * the next element
; 4197 : */
; 4198 : if ((ctxt->nameNr > 0) && (depth >= ctxt->nameNr) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+188], 0
jle SHORT $LN23@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _depth$[ebp]
cmp ecx, DWORD PTR [eax+188]
jl SHORT $LN23@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
mov ecx, DWORD PTR _currentNode$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN23@htmlParseC
; 4199 : (!xmlStrEqual(currentNode, ctxt->name)))
; 4200 : {
; 4201 : if (currentNode != NULL) xmlFree(currentNode);
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN24@htmlParseC
mov esi, esp
mov edx, DWORD PTR _currentNode$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN24@htmlParseC:
; 4202 : return;
jmp $LN1@htmlParseC
$LN23@htmlParseC:
; 4203 : }
; 4204 :
; 4205 : if ((CUR != 0) && ((xmlStrEqual(currentNode, BAD_CAST"script")) ||
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
test eax, eax
je SHORT $LN25@htmlParseC
push OFFSET ??_C@_06OLONEIEH@script@
mov ecx, DWORD PTR _currentNode$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN27@htmlParseC
push OFFSET ??_C@_05IAKJCFIM@style@
mov edx, DWORD PTR _currentNode$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN25@htmlParseC
$LN27@htmlParseC:
; 4206 : (xmlStrEqual(currentNode, BAD_CAST"style")))) {
; 4207 : /*
; 4208 : * Handle SCRIPT/STYLE separately
; 4209 : */
; 4210 : htmlParseScript(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseScript
add esp, 4
; 4211 : } else {
jmp $LN26@htmlParseC
$LN25@htmlParseC:
; 4212 : /*
; 4213 : * Sometimes DOCTYPE arrives in the middle of the document
; 4214 : */
; 4215 : if ((CUR == '<') && (NXT(1) == '!') &&
; 4216 : (UPP(2) == 'D') && (UPP(3) == 'O') &&
; 4217 : (UPP(4) == 'C') && (UPP(5) == 'T') &&
; 4218 : (UPP(6) == 'Y') && (UPP(7) == 'P') &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 33 ; 00000021H
jne $LN28@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 68 ; 00000044H
jne $LN28@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 79 ; 0000004fH
jne $LN28@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 2
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 5
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 6
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 7
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne SHORT $LN28@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 3
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne SHORT $LN28@htmlParseC
; 4219 : (UPP(8) == 'E')) {
; 4220 : htmlParseErr(ctxt, XML_HTML_STRUCURE_ERROR,
push 0
push OFFSET ??_C@_07JGKBCNAA@DOCTYPE@
push OFFSET ??_C@_0BP@FHNHCCJD@Misplaced?5DOCTYPE?5declaration?6@
push 800 ; 00000320H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 4221 : "Misplaced DOCTYPE declaration\n",
; 4222 : BAD_CAST "DOCTYPE" , NULL);
; 4223 : htmlParseDocTypeDecl(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseDocTypeDecl
add esp, 4
$LN28@htmlParseC:
; 4224 : }
; 4225 :
; 4226 : /*
; 4227 : * First case : a comment
; 4228 : */
; 4229 : if ((CUR == '<') && (NXT(1) == '!') &&
; 4230 : (NXT(2) == '-') && (NXT(3) == '-')) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne SHORT $LN29@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 33 ; 00000021H
jne SHORT $LN29@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 1
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN29@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 3
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 45 ; 0000002dH
jne SHORT $LN29@htmlParseC
; 4231 : htmlParseComment(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseComment
add esp, 4
; 4232 : }
jmp $LN30@htmlParseC
$LN29@htmlParseC:
; 4233 :
; 4234 : /*
; 4235 : * Second case : a Processing Instruction.
; 4236 : */
; 4237 : else if ((CUR == '<') && (NXT(1) == '?')) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne SHORT $LN31@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 63 ; 0000003fH
jne SHORT $LN31@htmlParseC
; 4238 : htmlParsePI(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParsePI
add esp, 4
; 4239 : }
jmp SHORT $LN30@htmlParseC
$LN31@htmlParseC:
; 4240 :
; 4241 : /*
; 4242 : * Third case : a sub-element.
; 4243 : */
; 4244 : else if (CUR == '<') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN33@htmlParseC
; 4245 : htmlParseElement(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseElement
add esp, 4
; 4246 : }
jmp SHORT $LN30@htmlParseC
$LN33@htmlParseC:
; 4247 :
; 4248 : /*
; 4249 : * Fourth case : a reference. If if has not been resolved,
; 4250 : * parsing returns it's Name, create the node
; 4251 : */
; 4252 : else if (CUR == '&') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 38 ; 00000026H
jne SHORT $LN35@htmlParseC
; 4253 : htmlParseReference(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseReference
add esp, 4
; 4254 : }
jmp SHORT $LN30@htmlParseC
$LN35@htmlParseC:
; 4255 :
; 4256 : /*
; 4257 : * Fifth case : end of the resource
; 4258 : */
; 4259 : else if (CUR == 0) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
test edx, edx
jne SHORT $LN37@htmlParseC
; 4260 : htmlAutoCloseOnEnd(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlAutoCloseOnEnd
add esp, 4
; 4261 : break;
jmp SHORT $LN3@htmlParseC
; 4262 : }
jmp SHORT $LN30@htmlParseC
$LN37@htmlParseC:
; 4263 :
; 4264 : /*
; 4265 : * Last case, text. Note that References are handled directly.
; 4266 : */
; 4267 : else {
; 4268 : htmlParseCharData(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseCharData
add esp, 4
$LN30@htmlParseC:
; 4269 : }
; 4270 :
; 4271 : if (cons == ctxt->nbChars) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _cons$1[ebp]
cmp eax, DWORD PTR [edx+200]
jne SHORT $LN26@htmlParseC
; 4272 : if (ctxt->node != NULL) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+52], 0
je SHORT $LN40@htmlParseC
; 4273 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CG@FCFCBOFE@detected?5an?5error?5in?5element?5co@
push 1
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN40@htmlParseC:
; 4274 : "detected an error in element content\n",
; 4275 : NULL, NULL);
; 4276 : }
; 4277 : break;
jmp SHORT $LN3@htmlParseC
$LN26@htmlParseC:
; 4278 : }
; 4279 : }
; 4280 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN41@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN41@htmlParseC
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN41@htmlParseC:
; 4281 : }
jmp $LN2@htmlParseC
$LN3@htmlParseC:
; 4282 : if (currentNode != NULL) xmlFree(currentNode);
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN1@htmlParseC
mov esi, esp
mov edx, DWORD PTR _currentNode$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseC:
; 4283 : }
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseContent ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseReference
_TEXT SEGMENT
_i$1 = -56 ; size = 4
_bits$2 = -52 ; size = 4
_c$3 = -48 ; size = 4
_i$4 = -44 ; size = 4
_bits$5 = -40 ; size = 4
_c$6 = -36 ; size = 4
_name$ = -28 ; size = 4
_out$ = -16 ; size = 6
_ent$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseReference PROC ; COMDAT
; 4064 : htmlParseReference(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 56 ; 00000038H
push esi
push edi
lea edi, DWORD PTR [ebp-56]
mov ecx, 14 ; 0000000eH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4065 : const htmlEntityDesc * ent;
; 4066 : xmlChar out[6];
; 4067 : const xmlChar *name;
; 4068 : if (CUR != '&') return;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 38 ; 00000026H
je SHORT $LN8@htmlParseR
jmp $LN1@htmlParseR
$LN8@htmlParseR:
; 4069 :
; 4070 : if (NXT(1) == '#') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 35 ; 00000023H
jne $LN9@htmlParseR
; 4071 : unsigned int c;
; 4072 : int bits, i = 0;
mov DWORD PTR _i$4[ebp], 0
; 4073 :
; 4074 : c = htmlParseCharRef(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseCharRef
add esp, 4
mov DWORD PTR _c$6[ebp], eax
; 4075 : if (c == 0)
cmp DWORD PTR _c$6[ebp], 0
jne SHORT $LN11@htmlParseR
; 4076 : return;
jmp $LN1@htmlParseR
$LN11@htmlParseR:
; 4077 :
; 4078 : if (c < 0x80) { out[i++]= c; bits= -6; }
cmp DWORD PTR _c$6[ebp], 128 ; 00000080H
jae SHORT $LN12@htmlParseR
mov ecx, DWORD PTR _i$4[ebp]
mov dl, BYTE PTR _c$6[ebp]
mov BYTE PTR _out$[ebp+ecx], dl
mov eax, DWORD PTR _i$4[ebp]
add eax, 1
mov DWORD PTR _i$4[ebp], eax
mov DWORD PTR _bits$5[ebp], -6 ; fffffffaH
jmp $LN13@htmlParseR
$LN12@htmlParseR:
; 4079 : else if (c < 0x800) { out[i++]=((c >> 6) & 0x1F) | 0xC0; bits= 0; }
cmp DWORD PTR _c$6[ebp], 2048 ; 00000800H
jae SHORT $LN14@htmlParseR
mov ecx, DWORD PTR _c$6[ebp]
shr ecx, 6
and ecx, 31 ; 0000001fH
or ecx, 192 ; 000000c0H
mov edx, DWORD PTR _i$4[ebp]
mov BYTE PTR _out$[ebp+edx], cl
mov eax, DWORD PTR _i$4[ebp]
add eax, 1
mov DWORD PTR _i$4[ebp], eax
mov DWORD PTR _bits$5[ebp], 0
jmp SHORT $LN13@htmlParseR
$LN14@htmlParseR:
; 4080 : else if (c < 0x10000) { out[i++]=((c >> 12) & 0x0F) | 0xE0; bits= 6; }
cmp DWORD PTR _c$6[ebp], 65536 ; 00010000H
jae SHORT $LN16@htmlParseR
mov ecx, DWORD PTR _c$6[ebp]
shr ecx, 12 ; 0000000cH
and ecx, 15 ; 0000000fH
or ecx, 224 ; 000000e0H
mov edx, DWORD PTR _i$4[ebp]
mov BYTE PTR _out$[ebp+edx], cl
mov eax, DWORD PTR _i$4[ebp]
add eax, 1
mov DWORD PTR _i$4[ebp], eax
mov DWORD PTR _bits$5[ebp], 6
jmp SHORT $LN13@htmlParseR
$LN16@htmlParseR:
; 4081 : else { out[i++]=((c >> 18) & 0x07) | 0xF0; bits= 12; }
mov ecx, DWORD PTR _c$6[ebp]
shr ecx, 18 ; 00000012H
and ecx, 7
or ecx, 240 ; 000000f0H
mov edx, DWORD PTR _i$4[ebp]
mov BYTE PTR _out$[ebp+edx], cl
mov eax, DWORD PTR _i$4[ebp]
add eax, 1
mov DWORD PTR _i$4[ebp], eax
mov DWORD PTR _bits$5[ebp], 12 ; 0000000cH
$LN13@htmlParseR:
; 4082 :
; 4083 : for ( ; bits >= 0; bits-= 6) {
jmp SHORT $LN4@htmlParseR
$LN2@htmlParseR:
mov ecx, DWORD PTR _bits$5[ebp]
sub ecx, 6
mov DWORD PTR _bits$5[ebp], ecx
$LN4@htmlParseR:
cmp DWORD PTR _bits$5[ebp], 0
jl SHORT $LN3@htmlParseR
; 4084 : out[i++]= ((c >> bits) & 0x3F) | 0x80;
mov edx, DWORD PTR _c$6[ebp]
mov ecx, DWORD PTR _bits$5[ebp]
shr edx, cl
and edx, 63 ; 0000003fH
or edx, 128 ; 00000080H
mov eax, DWORD PTR _i$4[ebp]
mov BYTE PTR _out$[ebp+eax], dl
mov ecx, DWORD PTR _i$4[ebp]
add ecx, 1
mov DWORD PTR _i$4[ebp], ecx
; 4085 : }
jmp SHORT $LN2@htmlParseR
$LN3@htmlParseR:
; 4086 : out[i] = 0;
mov edx, DWORD PTR _i$4[ebp]
mov BYTE PTR _out$[ebp+edx], 0
; 4087 :
; 4088 : htmlCheckParagraph(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCheckParagraph
add esp, 4
; 4089 : if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN18@htmlParseR
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+68], 0
je SHORT $LN18@htmlParseR
; 4090 : ctxt->sax->characters(ctxt->userData, out, i);
mov esi, esp
mov ecx, DWORD PTR _i$4[ebp]
push ecx
lea edx, DWORD PTR _out$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+68]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN18@htmlParseR:
; 4091 : } else {
jmp $LN1@htmlParseR
$LN9@htmlParseR:
; 4092 : ent = htmlParseEntityRef(ctxt, &name);
lea edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseEntityRef
add esp, 8
mov DWORD PTR _ent$[ebp], eax
; 4093 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN19@htmlParseR
; 4094 : htmlCheckParagraph(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCheckParagraph
add esp, 4
; 4095 : if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN20@htmlParseR
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN20@htmlParseR
; 4096 : ctxt->sax->characters(ctxt->userData, BAD_CAST "&", 1);
mov esi, esp
push 1
push OFFSET ??_C@_01HNPIGOCE@?$CG@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+68]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN20@htmlParseR:
; 4097 : return;
jmp $LN1@htmlParseR
$LN19@htmlParseR:
; 4098 : }
; 4099 : if ((ent == NULL) || !(ent->value > 0)) {
cmp DWORD PTR _ent$[ebp], 0
je SHORT $LN23@htmlParseR
mov ecx, DWORD PTR _ent$[ebp]
cmp DWORD PTR [ecx], 0
ja SHORT $LN21@htmlParseR
$LN23@htmlParseR:
; 4100 : htmlCheckParagraph(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCheckParagraph
add esp, 4
; 4101 : if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL)) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN24@htmlParseR
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+68], 0
je SHORT $LN24@htmlParseR
; 4102 : ctxt->sax->characters(ctxt->userData, BAD_CAST "&", 1);
mov esi, esp
push 1
push OFFSET ??_C@_01HNPIGOCE@?$CG@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+68]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
; 4103 : ctxt->sax->characters(ctxt->userData, name, xmlStrlen(name));
mov edx, DWORD PTR _name$[ebp]
push edx
call _xmlStrlen
add esp, 4
mov esi, esp
push eax
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+68]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN24@htmlParseR:
; 4104 : /* ctxt->sax->characters(ctxt->userData, BAD_CAST ";", 1); */
; 4105 : }
; 4106 : } else {
jmp $LN1@htmlParseR
$LN21@htmlParseR:
; 4107 : unsigned int c;
; 4108 : int bits, i = 0;
mov DWORD PTR _i$1[ebp], 0
; 4109 :
; 4110 : c = ent->value;
mov eax, DWORD PTR _ent$[ebp]
mov ecx, DWORD PTR [eax]
mov DWORD PTR _c$3[ebp], ecx
; 4111 : if (c < 0x80)
cmp DWORD PTR _c$3[ebp], 128 ; 00000080H
jae SHORT $LN25@htmlParseR
; 4112 : { out[i++]= c; bits= -6; }
mov edx, DWORD PTR _i$1[ebp]
mov al, BYTE PTR _c$3[ebp]
mov BYTE PTR _out$[ebp+edx], al
mov ecx, DWORD PTR _i$1[ebp]
add ecx, 1
mov DWORD PTR _i$1[ebp], ecx
mov DWORD PTR _bits$2[ebp], -6 ; fffffffaH
jmp $LN26@htmlParseR
$LN25@htmlParseR:
; 4113 : else if (c < 0x800)
cmp DWORD PTR _c$3[ebp], 2048 ; 00000800H
jae SHORT $LN27@htmlParseR
; 4114 : { out[i++]=((c >> 6) & 0x1F) | 0xC0; bits= 0; }
mov edx, DWORD PTR _c$3[ebp]
shr edx, 6
and edx, 31 ; 0000001fH
or edx, 192 ; 000000c0H
mov eax, DWORD PTR _i$1[ebp]
mov BYTE PTR _out$[ebp+eax], dl
mov ecx, DWORD PTR _i$1[ebp]
add ecx, 1
mov DWORD PTR _i$1[ebp], ecx
mov DWORD PTR _bits$2[ebp], 0
jmp SHORT $LN26@htmlParseR
$LN27@htmlParseR:
; 4115 : else if (c < 0x10000)
cmp DWORD PTR _c$3[ebp], 65536 ; 00010000H
jae SHORT $LN29@htmlParseR
; 4116 : { out[i++]=((c >> 12) & 0x0F) | 0xE0; bits= 6; }
mov edx, DWORD PTR _c$3[ebp]
shr edx, 12 ; 0000000cH
and edx, 15 ; 0000000fH
or edx, 224 ; 000000e0H
mov eax, DWORD PTR _i$1[ebp]
mov BYTE PTR _out$[ebp+eax], dl
mov ecx, DWORD PTR _i$1[ebp]
add ecx, 1
mov DWORD PTR _i$1[ebp], ecx
mov DWORD PTR _bits$2[ebp], 6
jmp SHORT $LN26@htmlParseR
$LN29@htmlParseR:
; 4117 : else
; 4118 : { out[i++]=((c >> 18) & 0x07) | 0xF0; bits= 12; }
mov edx, DWORD PTR _c$3[ebp]
shr edx, 18 ; 00000012H
and edx, 7
or edx, 240 ; 000000f0H
mov eax, DWORD PTR _i$1[ebp]
mov BYTE PTR _out$[ebp+eax], dl
mov ecx, DWORD PTR _i$1[ebp]
add ecx, 1
mov DWORD PTR _i$1[ebp], ecx
mov DWORD PTR _bits$2[ebp], 12 ; 0000000cH
$LN26@htmlParseR:
; 4119 :
; 4120 : for ( ; bits >= 0; bits-= 6) {
jmp SHORT $LN7@htmlParseR
$LN5@htmlParseR:
mov edx, DWORD PTR _bits$2[ebp]
sub edx, 6
mov DWORD PTR _bits$2[ebp], edx
$LN7@htmlParseR:
cmp DWORD PTR _bits$2[ebp], 0
jl SHORT $LN6@htmlParseR
; 4121 : out[i++]= ((c >> bits) & 0x3F) | 0x80;
mov eax, DWORD PTR _c$3[ebp]
mov ecx, DWORD PTR _bits$2[ebp]
shr eax, cl
and eax, 63 ; 0000003fH
or eax, 128 ; 00000080H
mov ecx, DWORD PTR _i$1[ebp]
mov BYTE PTR _out$[ebp+ecx], al
mov edx, DWORD PTR _i$1[ebp]
add edx, 1
mov DWORD PTR _i$1[ebp], edx
; 4122 : }
jmp SHORT $LN5@htmlParseR
$LN6@htmlParseR:
; 4123 : out[i] = 0;
mov eax, DWORD PTR _i$1[ebp]
mov BYTE PTR _out$[ebp+eax], 0
; 4124 :
; 4125 : htmlCheckParagraph(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCheckParagraph
add esp, 4
; 4126 : if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN1@htmlParseR
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN1@htmlParseR
; 4127 : ctxt->sax->characters(ctxt->userData, out, i);
mov esi, esp
mov edx, DWORD PTR _i$1[ebp]
push edx
lea eax, DWORD PTR _out$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+68]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseR:
; 4128 : }
; 4129 : }
; 4130 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN36@htmlParseR
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 56 ; 00000038H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN36@htmlParseR:
DD 2
DD $LN35@htmlParseR
$LN35@htmlParseR:
DD -16 ; fffffff0H
DD 6
DD $LN33@htmlParseR
DD -28 ; ffffffe4H
DD 4
DD $LN34@htmlParseR
$LN34@htmlParseR:
DB 110 ; 0000006eH
DB 97 ; 00000061H
DB 109 ; 0000006dH
DB 101 ; 00000065H
DB 0
$LN33@htmlParseR:
DB 111 ; 0000006fH
DB 117 ; 00000075H
DB 116 ; 00000074H
DB 0
_htmlParseReference ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseEndTag
_TEXT SEGMENT
_ret$ = -16 ; size = 4
_i$ = -12 ; size = 4
_oldname$ = -8 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseEndTag PROC ; COMDAT
; 3957 : {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3958 : const xmlChar *name;
; 3959 : const xmlChar *oldname;
; 3960 : int i, ret;
; 3961 :
; 3962 : if ((CUR != '<') || (NXT(1) != '/')) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne SHORT $LN8@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 47 ; 0000002fH
je SHORT $LN7@htmlParseE
$LN8@htmlParseE:
; 3963 : htmlParseErr(ctxt, XML_ERR_LTSLASH_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0CB@NNENDCGP@htmlParseEndTag?3?5?8?$DM?1?8?5not?5found@
push 74 ; 0000004aH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 3964 : "htmlParseEndTag: '</' not found\n", NULL, NULL);
; 3965 : return (0);
xor eax, eax
jmp $LN1@htmlParseE
$LN7@htmlParseE:
; 3966 : }
; 3967 : SKIP(2);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 2
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
; 3968 :
; 3969 : name = htmlParseHTMLName(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseHTMLName
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 3970 : if (name == NULL)
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN9@htmlParseE
; 3971 : return (0);
xor eax, eax
jmp $LN1@htmlParseE
$LN9@htmlParseE:
; 3972 : /*
; 3973 : * We should definitely be at the ending "S? '>'" part
; 3974 : */
; 3975 : SKIP_BLANKS;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlSkipBlankChars
add esp, 4
; 3976 : if ((!IS_CHAR_CH(CUR)) || (CUR != '>')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN14@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN13@htmlParseE
$LN14@htmlParseE:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN13@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 32 ; 00000020H
jl SHORT $LN12@htmlParseE
$LN13@htmlParseE:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
je SHORT $LN10@htmlParseE
$LN12@htmlParseE:
; 3977 : htmlParseErr(ctxt, XML_ERR_GT_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0BI@FHDFFDFP@End?5tag?5?3?5expected?5?8?$DO?8?6@
push 73 ; 00000049H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 3978 : "End tag : expected '>'\n", NULL, NULL);
; 3979 : if (ctxt->recovery) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+288], 0
je SHORT $LN15@htmlParseE
$LN2@htmlParseE:
; 3980 : /*
; 3981 : * We're not at the ending > !!
; 3982 : * Error, unless in recover mode where we search forwards
; 3983 : * until we find a >
; 3984 : */
; 3985 : while (CUR != '\0' && CUR != '>') NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
test edx, edx
je SHORT $LN3@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 62 ; 0000003eH
je SHORT $LN3@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
jmp SHORT $LN2@htmlParseE
$LN3@htmlParseE:
; 3986 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN15@htmlParseE:
; 3987 : }
; 3988 : } else
jmp SHORT $LN11@htmlParseE
$LN10@htmlParseE:
; 3989 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
$LN11@htmlParseE:
; 3990 :
; 3991 : /*
; 3992 : * if we ignored misplaced tags in htmlParseStartTag don't pop them
; 3993 : * out now.
; 3994 : */
; 3995 : if ((ctxt->depth > 0) &&
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+248], 0
jle SHORT $LN16@htmlParseE
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _name$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN17@htmlParseE
push OFFSET ??_C@_04IEJGKNJ@body@
mov eax, DWORD PTR _name$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN17@htmlParseE
push OFFSET ??_C@_04NEODDMOL@head@
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN16@htmlParseE
$LN17@htmlParseE:
; 3996 : (xmlStrEqual(name, BAD_CAST "html") ||
; 3997 : xmlStrEqual(name, BAD_CAST "body") ||
; 3998 : xmlStrEqual(name, BAD_CAST "head"))) {
; 3999 : ctxt->depth--;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+248]
sub eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+248], eax
; 4000 : return (0);
xor eax, eax
jmp $LN1@htmlParseE
$LN16@htmlParseE:
; 4001 : }
; 4002 :
; 4003 : /*
; 4004 : * If the name read is not one of the element in the parsing stack
; 4005 : * then return, it's just an error.
; 4006 : */
; 4007 : for (i = (ctxt->nameNr - 1); i >= 0; i--) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
sub eax, 1
mov DWORD PTR _i$[ebp], eax
jmp SHORT $LN6@htmlParseE
$LN4@htmlParseE:
mov ecx, DWORD PTR _i$[ebp]
sub ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN6@htmlParseE:
cmp DWORD PTR _i$[ebp], 0
jl SHORT $LN5@htmlParseE
; 4008 : if (xmlStrEqual(name, ctxt->nameTab[i]))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+196]
mov ecx, DWORD PTR _i$[ebp]
mov edx, DWORD PTR [eax+ecx*4]
push edx
mov eax, DWORD PTR _name$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN18@htmlParseE
; 4009 : break;
jmp SHORT $LN5@htmlParseE
$LN18@htmlParseE:
; 4010 : }
jmp SHORT $LN4@htmlParseE
$LN5@htmlParseE:
; 4011 : if (i < 0) {
cmp DWORD PTR _i$[ebp], 0
jge SHORT $LN19@htmlParseE
; 4012 : htmlParseErr(ctxt, XML_ERR_TAG_NAME_MISMATCH,
push 0
mov ecx, DWORD PTR _name$[ebp]
push ecx
push OFFSET ??_C@_0BJ@LENKJKOI@Unexpected?5end?5tag?5?3?5?$CFs?6@
push 76 ; 0000004cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 4013 : "Unexpected end tag : %s\n", name, NULL);
; 4014 : return (0);
xor eax, eax
jmp $LN1@htmlParseE
$LN19@htmlParseE:
; 4015 : }
; 4016 :
; 4017 :
; 4018 : /*
; 4019 : * Check for auto-closure of HTML elements.
; 4020 : */
; 4021 :
; 4022 : htmlAutoCloseOnClose(ctxt, name);
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlAutoCloseOnClose
add esp, 8
; 4023 :
; 4024 : /*
; 4025 : * Well formedness constraints, opening and closing must match.
; 4026 : * With the exception that the autoclose may have popped stuff out
; 4027 : * of the stack.
; 4028 : */
; 4029 : if (!xmlStrEqual(name, ctxt->name)) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN20@htmlParseE
; 4030 : if ((ctxt->name != NULL) && (!xmlStrEqual(ctxt->name, name))) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+184], 0
je SHORT $LN20@htmlParseE
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN20@htmlParseE
; 4031 : htmlParseErr(ctxt, XML_ERR_TAG_NAME_MISMATCH,
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
mov edx, DWORD PTR _name$[ebp]
push edx
push OFFSET ??_C@_0CM@OHOANBCK@Opening?5and?5ending?5tag?5mismatch@
push 76 ; 0000004cH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN20@htmlParseE:
; 4032 : "Opening and ending tag mismatch: %s and %s\n",
; 4033 : name, ctxt->name);
; 4034 : }
; 4035 : }
; 4036 :
; 4037 : /*
; 4038 : * SAX: End of Tag
; 4039 : */
; 4040 : oldname = ctxt->name;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
mov DWORD PTR _oldname$[ebp], edx
; 4041 : if ((oldname != NULL) && (xmlStrEqual(oldname, name))) {
cmp DWORD PTR _oldname$[ebp], 0
je SHORT $LN22@htmlParseE
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _oldname$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN22@htmlParseE
; 4042 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN24@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+60], 0
je SHORT $LN24@htmlParseE
; 4043 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN24@htmlParseE:
; 4044 : htmlNodeInfoPop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlNodeInfoPop
add esp, 4
; 4045 : htmlnamePop(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlnamePop
add esp, 4
; 4046 : ret = 1;
mov DWORD PTR _ret$[ebp], 1
; 4047 : } else {
jmp SHORT $LN23@htmlParseE
$LN22@htmlParseE:
; 4048 : ret = 0;
mov DWORD PTR _ret$[ebp], 0
$LN23@htmlParseE:
; 4049 : }
; 4050 :
; 4051 : return (ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlParseE:
; 4052 : }
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseEndTag ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseStartTag
_TEXT SEGMENT
_n$1 = -56 ; size = 4
_cons$2 = -52 ; size = 4
_indx$3 = -48 ; size = 4
_discardtag$ = -44 ; size = 4
_i$ = -40 ; size = 4
_meta$ = -36 ; size = 4
_maxatts$ = -32 ; size = 4
_nbatts$ = -28 ; size = 4
_atts$ = -24 ; size = 4
_attvalue$ = -16 ; size = 4
_attname$ = -8 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseStartTag PROC ; COMDAT
; 3737 : htmlParseStartTag(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 56 ; 00000038H
push esi
push edi
lea edi, DWORD PTR [ebp-56]
mov ecx, 14 ; 0000000eH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3738 : const xmlChar *name;
; 3739 : const xmlChar *attname;
; 3740 : xmlChar *attvalue;
; 3741 : const xmlChar **atts;
; 3742 : int nbatts = 0;
mov DWORD PTR _nbatts$[ebp], 0
; 3743 : int maxatts;
; 3744 : int meta = 0;
mov DWORD PTR _meta$[ebp], 0
; 3745 : int i;
; 3746 : int discardtag = 0;
mov DWORD PTR _discardtag$[ebp], 0
; 3747 :
; 3748 : if ((ctxt == NULL) || (ctxt->input == NULL)) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN18@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
jne SHORT $LN17@htmlParseS
$LN18@htmlParseS:
; 3749 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CC@IMLMDHHB@htmlParseStartTag?3?5context?5erro@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3750 : "htmlParseStartTag: context error\n", NULL, NULL);
; 3751 : return -1;
or eax, -1
jmp $LN1@htmlParseS
$LN17@htmlParseS:
; 3752 : }
; 3753 : if (ctxt->instate == XML_PARSER_EOF)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
jne SHORT $LN19@htmlParseS
; 3754 : return(-1);
or eax, -1
jmp $LN1@htmlParseS
$LN19@htmlParseS:
; 3755 : if (CUR != '<') return -1;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
je SHORT $LN20@htmlParseS
or eax, -1
jmp $LN1@htmlParseS
$LN20@htmlParseS:
; 3756 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 3757 :
; 3758 : atts = ctxt->atts;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+300]
mov DWORD PTR _atts$[ebp], eax
; 3759 : maxatts = ctxt->maxatts;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+304]
mov DWORD PTR _maxatts$[ebp], edx
; 3760 :
; 3761 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN21@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN21@htmlParseS
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN21@htmlParseS:
; 3762 : name = htmlParseHTMLName(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseHTMLName
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 3763 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne $LN22@htmlParseS
; 3764 : htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0CJ@FBFDNGDH@htmlParseStartTag?3?5invalid?5elem@
push 68 ; 00000044H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 3765 : "htmlParseStartTag: invalid element name\n",
; 3766 : NULL, NULL);
; 3767 : /* if recover preserve text on classic misconstructs */
; 3768 : if ((ctxt->recovery) && ((IS_BLANK_CH(CUR)) || (CUR == '<') ||
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+288], 0
je $LN2@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
je $LN24@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN25@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN24@htmlParseS
$LN25@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $LN24@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
je SHORT $LN24@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 61 ; 0000003dH
je SHORT $LN24@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
je SHORT $LN24@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 48 ; 00000030H
jl SHORT $LN2@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 57 ; 00000039H
jg SHORT $LN2@htmlParseS
$LN24@htmlParseS:
; 3769 : (CUR == '=') || (CUR == '>') || (((CUR >= '0') && (CUR <= '9'))))) {
; 3770 : htmlParseCharDataInternal(ctxt, '<');
push 60 ; 0000003cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseCharDataInternal
add esp, 8
; 3771 : return(-1);
or eax, -1
jmp $LN1@htmlParseS
$LN2@htmlParseS:
; 3772 : }
; 3773 :
; 3774 :
; 3775 : /* Dump the bogus tag like browsers do */
; 3776 : while ((IS_CHAR_CH(CUR)) && (CUR != '>') &&
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN27@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN26@htmlParseS
$LN27@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $LN26@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
jl SHORT $LN3@htmlParseS
$LN26@htmlParseS:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 62 ; 0000003eH
je SHORT $LN3@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
je SHORT $LN3@htmlParseS
; 3777 : (ctxt->instate != XML_PARSER_EOF))
; 3778 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
jmp SHORT $LN2@htmlParseS
$LN3@htmlParseS:
; 3779 : return -1;
or eax, -1
jmp $LN1@htmlParseS
$LN22@htmlParseS:
; 3780 : }
; 3781 : if (xmlStrEqual(name, BAD_CAST"meta"))
push OFFSET ??_C@_04HLJJCGEF@meta@
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN28@htmlParseS
; 3782 : meta = 1;
mov DWORD PTR _meta$[ebp], 1
$LN28@htmlParseS:
; 3783 :
; 3784 : /*
; 3785 : * Check for auto-closure of HTML elements.
; 3786 : */
; 3787 : htmlAutoClose(ctxt, name);
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlAutoClose
add esp, 8
; 3788 :
; 3789 : /*
; 3790 : * Check for implied HTML elements.
; 3791 : */
; 3792 : htmlCheckImplied(ctxt, name);
mov ecx, DWORD PTR _name$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCheckImplied
add esp, 8
; 3793 :
; 3794 : /*
; 3795 : * Avoid html at any level > 0, head at any level != 1
; 3796 : * or any attempt to recurse body
; 3797 : */
; 3798 : if ((ctxt->nameNr > 0) && (xmlStrEqual(name, BAD_CAST"html"))) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 0
jle SHORT $LN29@htmlParseS
push OFFSET ??_C@_04PNIFHPHN@html@
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN29@htmlParseS
; 3799 : htmlParseErr(ctxt, XML_HTML_STRUCURE_ERROR,
push 0
mov edx, DWORD PTR _name$[ebp]
push edx
push OFFSET ??_C@_0CJ@LOEJNMOA@htmlParseStartTag?3?5misplaced?5?$DMh@
push 800 ; 00000320H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 3800 : "htmlParseStartTag: misplaced <html> tag\n",
; 3801 : name, NULL);
; 3802 : discardtag = 1;
mov DWORD PTR _discardtag$[ebp], 1
; 3803 : ctxt->depth++;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+248]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+248], edx
$LN29@htmlParseS:
; 3804 : }
; 3805 : if ((ctxt->nameNr != 1) &&
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+188], 1
je SHORT $LN30@htmlParseS
push OFFSET ??_C@_04NEODDMOL@head@
mov edx, DWORD PTR _name$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN30@htmlParseS
; 3806 : (xmlStrEqual(name, BAD_CAST"head"))) {
; 3807 : htmlParseErr(ctxt, XML_HTML_STRUCURE_ERROR,
push 0
mov eax, DWORD PTR _name$[ebp]
push eax
push OFFSET ??_C@_0CJ@EDPENOJH@htmlParseStartTag?3?5misplaced?5?$DMh@
push 800 ; 00000320H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3808 : "htmlParseStartTag: misplaced <head> tag\n",
; 3809 : name, NULL);
; 3810 : discardtag = 1;
mov DWORD PTR _discardtag$[ebp], 1
; 3811 : ctxt->depth++;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+248]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+248], eax
$LN30@htmlParseS:
; 3812 : }
; 3813 : if (xmlStrEqual(name, BAD_CAST"body")) {
push OFFSET ??_C@_04IEJGKNJ@body@
mov edx, DWORD PTR _name$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN31@htmlParseS
; 3814 : int indx;
; 3815 : for (indx = 0;indx < ctxt->nameNr;indx++) {
mov DWORD PTR _indx$3[ebp], 0
jmp SHORT $LN6@htmlParseS
$LN4@htmlParseS:
mov eax, DWORD PTR _indx$3[ebp]
add eax, 1
mov DWORD PTR _indx$3[ebp], eax
$LN6@htmlParseS:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _indx$3[ebp]
cmp edx, DWORD PTR [ecx+188]
jge SHORT $LN31@htmlParseS
; 3816 : if (xmlStrEqual(ctxt->nameTab[indx], BAD_CAST"body")) {
push OFFSET ??_C@_04IEJGKNJ@body@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+196]
mov edx, DWORD PTR _indx$3[ebp]
mov eax, DWORD PTR [ecx+edx*4]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN32@htmlParseS
; 3817 : htmlParseErr(ctxt, XML_HTML_STRUCURE_ERROR,
push 0
mov ecx, DWORD PTR _name$[ebp]
push ecx
push OFFSET ??_C@_0CJ@BLFAHHGP@htmlParseStartTag?3?5misplaced?5?$DMb@
push 800 ; 00000320H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3818 : "htmlParseStartTag: misplaced <body> tag\n",
; 3819 : name, NULL);
; 3820 : discardtag = 1;
mov DWORD PTR _discardtag$[ebp], 1
; 3821 : ctxt->depth++;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+248]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+248], ecx
$LN32@htmlParseS:
; 3822 : }
; 3823 : }
jmp SHORT $LN4@htmlParseS
$LN31@htmlParseS:
; 3824 : }
; 3825 :
; 3826 : /*
; 3827 : * Now parse the attributes, it ends up with the ending
; 3828 : *
; 3829 : * (S Attribute)* S?
; 3830 : */
; 3831 : SKIP_BLANKS;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlSkipBlankChars
add esp, 4
$LN7@htmlParseS:
; 3832 : while ((IS_CHAR_CH(CUR)) &&
; 3833 : (CUR != '>') &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN34@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN33@htmlParseS
$LN34@htmlParseS:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN33@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 32 ; 00000020H
jl $LN8@htmlParseS
$LN33@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
je $LN8@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 47 ; 0000002fH
jne SHORT $LN35@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 62 ; 0000003eH
je $LN8@htmlParseS
$LN35@htmlParseS:
; 3834 : ((CUR != '/') || (NXT(1) != '>'))) {
; 3835 : long cons = ctxt->nbChars;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
mov DWORD PTR _cons$2[ebp], ecx
; 3836 :
; 3837 : GROW;
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+292], 0
jne SHORT $LN36@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 250 ; 000000faH
jge SHORT $LN36@htmlParseS
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
$LN36@htmlParseS:
; 3838 : attname = htmlParseAttribute(ctxt, &attvalue);
lea ecx, DWORD PTR _attvalue$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseAttribute
add esp, 8
mov DWORD PTR _attname$[ebp], eax
; 3839 : if (attname != NULL) {
cmp DWORD PTR _attname$[ebp], 0
je $LN37@htmlParseS
; 3840 :
; 3841 : /*
; 3842 : * Well formedness requires at most one declaration of an attribute
; 3843 : */
; 3844 : for (i = 0; i < nbatts;i += 2) {
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN11@htmlParseS
$LN9@htmlParseS:
mov eax, DWORD PTR _i$[ebp]
add eax, 2
mov DWORD PTR _i$[ebp], eax
$LN11@htmlParseS:
mov ecx, DWORD PTR _i$[ebp]
cmp ecx, DWORD PTR _nbatts$[ebp]
jge SHORT $LN10@htmlParseS
; 3845 : if (xmlStrEqual(atts[i], attname)) {
mov edx, DWORD PTR _attname$[ebp]
push edx
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR _atts$[ebp]
mov edx, DWORD PTR [ecx+eax*4]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN39@htmlParseS
; 3846 : htmlParseErr(ctxt, XML_ERR_ATTRIBUTE_REDEFINED,
push 0
mov eax, DWORD PTR _attname$[ebp]
push eax
push OFFSET ??_C@_0BI@LJKBJNKP@Attribute?5?$CFs?5redefined?6@
push 42 ; 0000002aH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3847 : "Attribute %s redefined\n", attname, NULL);
; 3848 : if (attvalue != NULL)
cmp DWORD PTR _attvalue$[ebp], 0
je SHORT $LN40@htmlParseS
; 3849 : xmlFree(attvalue);
mov esi, esp
mov edx, DWORD PTR _attvalue$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN40@htmlParseS:
; 3850 : goto failed;
jmp $failed$65
$LN39@htmlParseS:
; 3851 : }
; 3852 : }
jmp SHORT $LN9@htmlParseS
$LN10@htmlParseS:
; 3853 :
; 3854 : /*
; 3855 : * Add the pair to atts
; 3856 : */
; 3857 : if (atts == NULL) {
cmp DWORD PTR _atts$[ebp], 0
jne SHORT $LN41@htmlParseS
; 3858 : maxatts = 22; /* allow for 10 attrs by default */
mov DWORD PTR _maxatts$[ebp], 22 ; 00000016H
; 3859 : atts = (const xmlChar **)
mov eax, DWORD PTR _maxatts$[ebp]
shl eax, 2
mov esi, esp
push eax
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _atts$[ebp], eax
; 3860 : xmlMalloc(maxatts * sizeof(xmlChar *));
; 3861 : if (atts == NULL) {
cmp DWORD PTR _atts$[ebp], 0
jne SHORT $LN43@htmlParseS
; 3862 : htmlErrMemory(ctxt, NULL);
push 0
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlErrMemory
add esp, 8
; 3863 : if (attvalue != NULL)
cmp DWORD PTR _attvalue$[ebp], 0
je SHORT $LN44@htmlParseS
; 3864 : xmlFree(attvalue);
mov esi, esp
mov edx, DWORD PTR _attvalue$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN44@htmlParseS:
; 3865 : goto failed;
jmp $failed$65
$LN43@htmlParseS:
; 3866 : }
; 3867 : ctxt->atts = atts;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _atts$[ebp]
mov DWORD PTR [eax+300], ecx
; 3868 : ctxt->maxatts = maxatts;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _maxatts$[ebp]
mov DWORD PTR [edx+304], eax
jmp $LN42@htmlParseS
$LN41@htmlParseS:
; 3869 : } else if (nbatts + 4 > maxatts) {
mov ecx, DWORD PTR _nbatts$[ebp]
add ecx, 4
cmp ecx, DWORD PTR _maxatts$[ebp]
jle SHORT $LN42@htmlParseS
; 3870 : const xmlChar **n;
; 3871 :
; 3872 : maxatts *= 2;
mov edx, DWORD PTR _maxatts$[ebp]
shl edx, 1
mov DWORD PTR _maxatts$[ebp], edx
; 3873 : n = (const xmlChar **) xmlRealloc((void *) atts,
mov eax, DWORD PTR _maxatts$[ebp]
shl eax, 2
mov esi, esp
push eax
mov ecx, DWORD PTR _atts$[ebp]
push ecx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _n$1[ebp], eax
; 3874 : maxatts * sizeof(const xmlChar *));
; 3875 : if (n == NULL) {
cmp DWORD PTR _n$1[ebp], 0
jne SHORT $LN46@htmlParseS
; 3876 : htmlErrMemory(ctxt, NULL);
push 0
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlErrMemory
add esp, 8
; 3877 : if (attvalue != NULL)
cmp DWORD PTR _attvalue$[ebp], 0
je SHORT $LN47@htmlParseS
; 3878 : xmlFree(attvalue);
mov esi, esp
mov eax, DWORD PTR _attvalue$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN47@htmlParseS:
; 3879 : goto failed;
jmp $failed$65
$LN46@htmlParseS:
; 3880 : }
; 3881 : atts = n;
mov ecx, DWORD PTR _n$1[ebp]
mov DWORD PTR _atts$[ebp], ecx
; 3882 : ctxt->atts = atts;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _atts$[ebp]
mov DWORD PTR [edx+300], eax
; 3883 : ctxt->maxatts = maxatts;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _maxatts$[ebp]
mov DWORD PTR [ecx+304], edx
$LN42@htmlParseS:
; 3884 : }
; 3885 : atts[nbatts++] = attname;
mov eax, DWORD PTR _nbatts$[ebp]
mov ecx, DWORD PTR _atts$[ebp]
mov edx, DWORD PTR _attname$[ebp]
mov DWORD PTR [ecx+eax*4], edx
mov eax, DWORD PTR _nbatts$[ebp]
add eax, 1
mov DWORD PTR _nbatts$[ebp], eax
; 3886 : atts[nbatts++] = attvalue;
mov ecx, DWORD PTR _nbatts$[ebp]
mov edx, DWORD PTR _atts$[ebp]
mov eax, DWORD PTR _attvalue$[ebp]
mov DWORD PTR [edx+ecx*4], eax
mov ecx, DWORD PTR _nbatts$[ebp]
add ecx, 1
mov DWORD PTR _nbatts$[ebp], ecx
; 3887 : atts[nbatts] = NULL;
mov edx, DWORD PTR _nbatts$[ebp]
mov eax, DWORD PTR _atts$[ebp]
mov DWORD PTR [eax+edx*4], 0
; 3888 : atts[nbatts + 1] = NULL;
mov ecx, DWORD PTR _nbatts$[ebp]
mov edx, DWORD PTR _atts$[ebp]
mov DWORD PTR [edx+ecx*4+4], 0
; 3889 : }
jmp $failed$65
$LN37@htmlParseS:
; 3890 : else {
; 3891 : if (attvalue != NULL)
cmp DWORD PTR _attvalue$[ebp], 0
je SHORT $LN12@htmlParseS
; 3892 : xmlFree(attvalue);
mov esi, esp
mov eax, DWORD PTR _attvalue$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN12@htmlParseS:
; 3893 : /* Dump the bogus attribute string up to the next blank or
; 3894 : * the end of the tag. */
; 3895 : while ((IS_CHAR_CH(CUR)) &&
; 3896 : !(IS_BLANK_CH(CUR)) && (CUR != '>') &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN50@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN49@htmlParseS
$LN50@htmlParseS:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN49@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 32 ; 00000020H
jl $failed$65
$LN49@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
je $failed$65
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN51@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $failed$65
$LN51@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $failed$65
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 62 ; 0000003eH
je SHORT $failed$65
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 47 ; 0000002fH
jne SHORT $LN52@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 62 ; 0000003eH
je SHORT $failed$65
$LN52@htmlParseS:
; 3897 : ((CUR != '/') || (NXT(1) != '>')))
; 3898 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
jmp $LN12@htmlParseS
$failed$65:
; 3899 : }
; 3900 :
; 3901 : failed:
; 3902 : SKIP_BLANKS;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlSkipBlankChars
add esp, 4
; 3903 : if (cons == ctxt->nbChars) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _cons$2[ebp]
cmp ecx, DWORD PTR [eax+200]
jne SHORT $LN53@htmlParseS
; 3904 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CP@BBOKDADJ@htmlParseStartTag?3?5problem?5pars@
push 1
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3905 : "htmlParseStartTag: problem parsing attributes\n",
; 3906 : NULL, NULL);
; 3907 : break;
jmp SHORT $LN8@htmlParseS
$LN53@htmlParseS:
; 3908 : }
; 3909 : }
jmp $LN7@htmlParseS
$LN8@htmlParseS:
; 3910 :
; 3911 : /*
; 3912 : * Handle specific association to the META tag
; 3913 : */
; 3914 : if (meta && (nbatts != 0))
cmp DWORD PTR _meta$[ebp], 0
je SHORT $LN54@htmlParseS
cmp DWORD PTR _nbatts$[ebp], 0
je SHORT $LN54@htmlParseS
; 3915 : htmlCheckMeta(ctxt, atts);
mov eax, DWORD PTR _atts$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCheckMeta
add esp, 8
$LN54@htmlParseS:
; 3916 :
; 3917 : /*
; 3918 : * SAX: Start of Element !
; 3919 : */
; 3920 : if (!discardtag) {
cmp DWORD PTR _discardtag$[ebp], 0
jne SHORT $LN55@htmlParseS
; 3921 : htmlnamePush(ctxt, name);
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlnamePush
add esp, 8
; 3922 : if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL)) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN55@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+56], 0
je SHORT $LN55@htmlParseS
; 3923 : if (nbatts != 0)
cmp DWORD PTR _nbatts$[ebp], 0
je SHORT $LN57@htmlParseS
; 3924 : ctxt->sax->startElement(ctxt->userData, name, atts);
mov esi, esp
mov ecx, DWORD PTR _atts$[ebp]
push ecx
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+56]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
jmp SHORT $LN55@htmlParseS
$LN57@htmlParseS:
; 3925 : else
; 3926 : ctxt->sax->startElement(ctxt->userData, name, NULL);
mov esi, esp
push 0
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+56]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN55@htmlParseS:
; 3927 : }
; 3928 : }
; 3929 :
; 3930 : if (atts != NULL) {
cmp DWORD PTR _atts$[ebp], 0
je SHORT $LN59@htmlParseS
; 3931 : for (i = 1;i < nbatts;i += 2) {
mov DWORD PTR _i$[ebp], 1
jmp SHORT $LN16@htmlParseS
$LN14@htmlParseS:
mov edx, DWORD PTR _i$[ebp]
add edx, 2
mov DWORD PTR _i$[ebp], edx
$LN16@htmlParseS:
mov eax, DWORD PTR _i$[ebp]
cmp eax, DWORD PTR _nbatts$[ebp]
jge SHORT $LN59@htmlParseS
; 3932 : if (atts[i] != NULL)
mov ecx, DWORD PTR _i$[ebp]
mov edx, DWORD PTR _atts$[ebp]
cmp DWORD PTR [edx+ecx*4], 0
je SHORT $LN60@htmlParseS
; 3933 : xmlFree((xmlChar *) atts[i]);
mov esi, esp
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR _atts$[ebp]
mov edx, DWORD PTR [ecx+eax*4]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN60@htmlParseS:
; 3934 : }
jmp SHORT $LN14@htmlParseS
$LN59@htmlParseS:
; 3935 : }
; 3936 :
; 3937 : return(discardtag);
mov eax, DWORD PTR _discardtag$[ebp]
$LN1@htmlParseS:
; 3938 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN64@htmlParseS
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 56 ; 00000038H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN64@htmlParseS:
DD 1
DD $LN63@htmlParseS
$LN63@htmlParseS:
DD -16 ; fffffff0H
DD 4
DD $LN62@htmlParseS
$LN62@htmlParseS:
DB 97 ; 00000061H
DB 116 ; 00000074H
DB 116 ; 00000074H
DB 118 ; 00000076H
DB 97 ; 00000061H
DB 108 ; 0000006cH
DB 117 ; 00000075H
DB 101 ; 00000065H
DB 0
_htmlParseStartTag ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCheckMeta
_TEXT SEGMENT
_content$ = -20 ; size = 4
_http$ = -16 ; size = 4
_value$ = -12 ; size = 4
_att$ = -8 ; size = 4
_i$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_atts$ = 12 ; size = 4
_htmlCheckMeta PROC ; COMDAT
; 3689 : htmlCheckMeta(htmlParserCtxtPtr ctxt, const xmlChar **atts) {
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3690 : int i;
; 3691 : const xmlChar *att, *value;
; 3692 : int http = 0;
mov DWORD PTR _http$[ebp], 0
; 3693 : const xmlChar *content = NULL;
mov DWORD PTR _content$[ebp], 0
; 3694 :
; 3695 : if ((ctxt == NULL) || (atts == NULL))
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN5@htmlCheckM
cmp DWORD PTR _atts$[ebp], 0
jne SHORT $LN4@htmlCheckM
$LN5@htmlCheckM:
; 3696 : return;
jmp $LN1@htmlCheckM
$LN4@htmlCheckM:
; 3697 :
; 3698 : i = 0;
mov DWORD PTR _i$[ebp], 0
; 3699 : att = atts[i++];
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR _atts$[ebp]
mov edx, DWORD PTR [ecx+eax*4]
mov DWORD PTR _att$[ebp], edx
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
$LN2@htmlCheckM:
; 3700 : while (att != NULL) {
cmp DWORD PTR _att$[ebp], 0
je $LN3@htmlCheckM
; 3701 : value = atts[i++];
mov ecx, DWORD PTR _i$[ebp]
mov edx, DWORD PTR _atts$[ebp]
mov eax, DWORD PTR [edx+ecx*4]
mov DWORD PTR _value$[ebp], eax
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
; 3702 : if ((value != NULL) && (!xmlStrcasecmp(att, BAD_CAST"http-equiv"))
; 3703 : && (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
cmp DWORD PTR _value$[ebp], 0
je SHORT $LN6@htmlCheckM
push OFFSET ??_C@_0L@NALBGOHO@http?9equiv@
mov edx, DWORD PTR _att$[ebp]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN6@htmlCheckM
push OFFSET ??_C@_0N@LAFFMKKA@Content?9Type@
mov eax, DWORD PTR _value$[ebp]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN6@htmlCheckM
; 3704 : http = 1;
mov DWORD PTR _http$[ebp], 1
jmp SHORT $LN7@htmlCheckM
$LN6@htmlCheckM:
; 3705 : else if ((value != NULL) && (!xmlStrcasecmp(att, BAD_CAST"charset")))
cmp DWORD PTR _value$[ebp], 0
je SHORT $LN8@htmlCheckM
push OFFSET ??_C@_07EAJPFAFH@charset@
mov ecx, DWORD PTR _att$[ebp]
push ecx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN8@htmlCheckM
; 3706 : htmlCheckEncodingDirect(ctxt, value);
mov edx, DWORD PTR _value$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCheckEncodingDirect
add esp, 8
jmp SHORT $LN7@htmlCheckM
$LN8@htmlCheckM:
; 3707 : else if ((value != NULL) && (!xmlStrcasecmp(att, BAD_CAST"content")))
cmp DWORD PTR _value$[ebp], 0
je SHORT $LN7@htmlCheckM
push OFFSET ??_C@_07ICAJMOAO@content@
mov ecx, DWORD PTR _att$[ebp]
push ecx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN7@htmlCheckM
; 3708 : content = value;
mov edx, DWORD PTR _value$[ebp]
mov DWORD PTR _content$[ebp], edx
$LN7@htmlCheckM:
; 3709 : att = atts[i++];
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR _atts$[ebp]
mov edx, DWORD PTR [ecx+eax*4]
mov DWORD PTR _att$[ebp], edx
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
; 3710 : }
jmp $LN2@htmlCheckM
$LN3@htmlCheckM:
; 3711 : if ((http) && (content != NULL))
cmp DWORD PTR _http$[ebp], 0
je SHORT $LN1@htmlCheckM
cmp DWORD PTR _content$[ebp], 0
je SHORT $LN1@htmlCheckM
; 3712 : htmlCheckEncoding(ctxt, content);
mov ecx, DWORD PTR _content$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCheckEncoding
add esp, 8
$LN1@htmlCheckM:
; 3713 :
; 3714 : }
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCheckMeta ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCheckEncoding
_TEXT SEGMENT
_encoding$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_attvalue$ = 12 ; size = 4
_htmlCheckEncoding PROC ; COMDAT
; 3660 : htmlCheckEncoding(htmlParserCtxtPtr ctxt, const xmlChar *attvalue) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3661 : const xmlChar *encoding;
; 3662 :
; 3663 : if (!attvalue)
cmp DWORD PTR _attvalue$[ebp], 0
jne SHORT $LN2@htmlCheckE
; 3664 : return;
jmp $LN1@htmlCheckE
$LN2@htmlCheckE:
; 3665 :
; 3666 : encoding = xmlStrcasestr(attvalue, BAD_CAST"charset");
push OFFSET ??_C@_07EAJPFAFH@charset@
mov eax, DWORD PTR _attvalue$[ebp]
push eax
call _xmlStrcasestr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
; 3667 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN3@htmlCheckE
; 3668 : encoding += 7;
mov ecx, DWORD PTR _encoding$[ebp]
add ecx, 7
mov DWORD PTR _encoding$[ebp], ecx
$LN3@htmlCheckE:
; 3669 : }
; 3670 : /*
; 3671 : * skip blank
; 3672 : */
; 3673 : if (encoding && IS_BLANK_CH(*encoding))
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN4@htmlCheckE
mov edx, DWORD PTR _encoding$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
je SHORT $LN5@htmlCheckE
mov ecx, DWORD PTR _encoding$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 9
jl SHORT $LN6@htmlCheckE
mov eax, DWORD PTR _encoding$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN5@htmlCheckE
$LN6@htmlCheckE:
mov edx, DWORD PTR _encoding$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
jne SHORT $LN4@htmlCheckE
$LN5@htmlCheckE:
; 3674 : encoding = xmlStrcasestr(attvalue, BAD_CAST"=");
push OFFSET ??_C@_01NEMOKFLO@?$DN@
mov ecx, DWORD PTR _attvalue$[ebp]
push ecx
call _xmlStrcasestr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
$LN4@htmlCheckE:
; 3675 : if (encoding && *encoding == '=') {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN1@htmlCheckE
mov edx, DWORD PTR _encoding$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 61 ; 0000003dH
jne SHORT $LN1@htmlCheckE
; 3676 : encoding ++;
mov ecx, DWORD PTR _encoding$[ebp]
add ecx, 1
mov DWORD PTR _encoding$[ebp], ecx
; 3677 : htmlCheckEncodingDirect(ctxt, encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCheckEncodingDirect
add esp, 8
$LN1@htmlCheckE:
; 3678 : }
; 3679 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCheckEncoding ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCheckEncodingDirect
_TEXT SEGMENT
_processed$1 = -16 ; size = 4
_nbchars$2 = -12 ; size = 4
_handler$3 = -8 ; size = 4
_enc$4 = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_htmlCheckEncodingDirect PROC ; COMDAT
; 3573 : htmlCheckEncodingDirect(htmlParserCtxtPtr ctxt, const xmlChar *encoding) {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3574 :
; 3575 : if ((ctxt == NULL) || (encoding == NULL) ||
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN5@htmlCheckE
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN5@htmlCheckE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
and ecx, 2097152 ; 00200000H
je SHORT $LN4@htmlCheckE
$LN5@htmlCheckE:
; 3576 : (ctxt->options & HTML_PARSE_IGNORE_ENC))
; 3577 : return;
jmp $LN1@htmlCheckE
$LN4@htmlCheckE:
; 3578 :
; 3579 : /* do not change encoding */
; 3580 : if (ctxt->input->encoding != NULL)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
cmp DWORD PTR [eax+44], 0
je SHORT $LN6@htmlCheckE
; 3581 : return;
jmp $LN1@htmlCheckE
$LN6@htmlCheckE:
; 3582 :
; 3583 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je $LN1@htmlCheckE
$LN2@htmlCheckE:
; 3584 : xmlCharEncoding enc;
; 3585 : xmlCharEncodingHandlerPtr handler;
; 3586 :
; 3587 : while ((*encoding == ' ') || (*encoding == '\t')) encoding++;
mov ecx, DWORD PTR _encoding$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
je SHORT $LN8@htmlCheckE
mov eax, DWORD PTR _encoding$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jne SHORT $LN3@htmlCheckE
$LN8@htmlCheckE:
mov edx, DWORD PTR _encoding$[ebp]
add edx, 1
mov DWORD PTR _encoding$[ebp], edx
jmp SHORT $LN2@htmlCheckE
$LN3@htmlCheckE:
; 3588 :
; 3589 : if (ctxt->input->encoding != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
cmp DWORD PTR [ecx+44], 0
je SHORT $LN9@htmlCheckE
; 3590 : xmlFree((xmlChar *) ctxt->input->encoding);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov esi, esp
mov ecx, DWORD PTR [eax+44]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN9@htmlCheckE:
; 3591 : ctxt->input->encoding = xmlStrdup(encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
call _xmlStrdup
add esp, 4
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+44], eax
; 3592 :
; 3593 : enc = xmlParseCharEncoding((const char *) encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$4[ebp], eax
; 3594 : /*
; 3595 : * registered set of known encodings
; 3596 : */
; 3597 : if (enc != XML_CHAR_ENCODING_ERROR) {
cmp DWORD PTR _enc$4[ebp], -1
je SHORT $LN10@htmlCheckE
; 3598 : if (((enc == XML_CHAR_ENCODING_UTF16LE) ||
; 3599 : (enc == XML_CHAR_ENCODING_UTF16BE) ||
; 3600 : (enc == XML_CHAR_ENCODING_UCS4LE) ||
; 3601 : (enc == XML_CHAR_ENCODING_UCS4BE)) &&
; 3602 : (ctxt->input->buf != NULL) &&
cmp DWORD PTR _enc$4[ebp], 2
je SHORT $LN14@htmlCheckE
cmp DWORD PTR _enc$4[ebp], 3
je SHORT $LN14@htmlCheckE
cmp DWORD PTR _enc$4[ebp], 4
je SHORT $LN14@htmlCheckE
cmp DWORD PTR _enc$4[ebp], 5
jne SHORT $LN12@htmlCheckE
$LN14@htmlCheckE:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx], 0
je SHORT $LN12@htmlCheckE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+12], 0
jne SHORT $LN12@htmlCheckE
; 3603 : (ctxt->input->buf->encoder == NULL)) {
; 3604 : htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
push 0
push 0
push OFFSET ??_C@_0CI@JCPDEKHP@htmlCheckEncoding?3?5wrong?5encodi@
push 81 ; 00000051H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 3605 : "htmlCheckEncoding: wrong encoding meta\n",
; 3606 : NULL, NULL);
; 3607 : } else {
jmp SHORT $LN13@htmlCheckE
$LN12@htmlCheckE:
; 3608 : xmlSwitchEncoding(ctxt, enc);
mov ecx, DWORD PTR _enc$4[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlSwitchEncoding
add esp, 8
$LN13@htmlCheckE:
; 3609 : }
; 3610 : ctxt->charset = XML_CHAR_ENCODING_UTF8;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+256], 1
; 3611 : } else {
jmp SHORT $LN11@htmlCheckE
$LN10@htmlCheckE:
; 3612 : /*
; 3613 : * fallback for unknown encodings
; 3614 : */
; 3615 : handler = xmlFindCharEncodingHandler((const char *) encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$3[ebp], eax
; 3616 : if (handler != NULL) {
cmp DWORD PTR _handler$3[ebp], 0
je SHORT $LN15@htmlCheckE
; 3617 : xmlSwitchToEncoding(ctxt, handler);
mov edx, DWORD PTR _handler$3[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlSwitchToEncoding
add esp, 8
; 3618 : ctxt->charset = XML_CHAR_ENCODING_UTF8;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+256], 1
; 3619 : } else {
jmp SHORT $LN11@htmlCheckE
$LN15@htmlCheckE:
; 3620 : htmlParseErr(ctxt, XML_ERR_UNSUPPORTED_ENCODING,
push 0
mov edx, DWORD PTR _encoding$[ebp]
push edx
push OFFSET ??_C@_0CI@PNKHCAFG@htmlCheckEncoding?3?5unknown?5enco@
push 32 ; 00000020H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN11@htmlCheckE:
; 3621 : "htmlCheckEncoding: unknown encoding %s\n",
; 3622 : encoding, NULL);
; 3623 : }
; 3624 : }
; 3625 :
; 3626 : if ((ctxt->input->buf != NULL) &&
; 3627 : (ctxt->input->buf->encoder != NULL) &&
; 3628 : (ctxt->input->buf->raw != NULL) &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx], 0
je $LN1@htmlCheckE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+12], 0
je $LN1@htmlCheckE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+20], 0
je $LN1@htmlCheckE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+16], 0
je SHORT $LN1@htmlCheckE
; 3629 : (ctxt->input->buf->buffer != NULL)) {
; 3630 : int nbchars;
; 3631 : int processed;
; 3632 :
; 3633 : /*
; 3634 : * convert as much as possible to the parser reading buffer.
; 3635 : */
; 3636 : processed = ctxt->input->cur - ctxt->input->base;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _processed$1[ebp], ecx
; 3637 : xmlBufShrink(ctxt->input->buf->buffer, processed);
mov edx, DWORD PTR _processed$1[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufShrink
add esp, 8
; 3638 : nbchars = xmlCharEncInput(ctxt->input->buf, 1);
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx]
push eax
call _xmlCharEncInput
add esp, 8
mov DWORD PTR _nbchars$2[ebp], eax
; 3639 : xmlBufResetInput(ctxt->input->buf->buffer, ctxt->input);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufResetInput
add esp, 8
; 3640 : if (nbchars < 0) {
cmp DWORD PTR _nbchars$2[ebp], 0
jge SHORT $LN1@htmlCheckE
; 3641 : htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
push 0
push 0
push OFFSET ??_C@_0CC@OECAOKB@htmlCheckEncoding?3?5encoder?5erro@
push 81 ; 00000051H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN1@htmlCheckE:
; 3642 : "htmlCheckEncoding: encoder error\n",
; 3643 : NULL, NULL);
; 3644 : }
; 3645 : }
; 3646 : }
; 3647 : }
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCheckEncodingDirect ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseAttribute
_TEXT SEGMENT
_val$ = -8 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_value$ = 12 ; size = 4
_htmlParseAttribute PROC ; COMDAT
; 3536 : htmlParseAttribute(htmlParserCtxtPtr ctxt, xmlChar **value) {
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3537 : const xmlChar *name;
; 3538 : xmlChar *val = NULL;
mov DWORD PTR _val$[ebp], 0
; 3539 :
; 3540 : *value = NULL;
mov eax, DWORD PTR _value$[ebp]
mov DWORD PTR [eax], 0
; 3541 : name = htmlParseHTMLName(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseHTMLName
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 3542 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN2@htmlParseA
; 3543 : htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0BO@BHLKDNI@error?5parsing?5attribute?5name?6@
push 68 ; 00000044H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3544 : "error parsing attribute name\n", NULL, NULL);
; 3545 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlParseA
$LN2@htmlParseA:
; 3546 : }
; 3547 :
; 3548 : /*
; 3549 : * read the value
; 3550 : */
; 3551 : SKIP_BLANKS;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlSkipBlankChars
add esp, 4
; 3552 : if (CUR == '=') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 61 ; 0000003dH
jne SHORT $LN3@htmlParseA
; 3553 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
; 3554 : SKIP_BLANKS;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlSkipBlankChars
add esp, 4
; 3555 : val = htmlParseAttValue(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseAttValue
add esp, 4
mov DWORD PTR _val$[ebp], eax
$LN3@htmlParseA:
; 3556 : }
; 3557 :
; 3558 : *value = val;
mov edx, DWORD PTR _value$[ebp]
mov eax, DWORD PTR _val$[ebp]
mov DWORD PTR [edx], eax
; 3559 : return(name);
mov eax, DWORD PTR _name$[ebp]
$LN1@htmlParseA:
; 3560 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseAttribute ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseDocTypeDecl
_TEXT SEGMENT
_URI$ = -20 ; size = 4
_ExternalID$ = -12 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseDocTypeDecl PROC ; COMDAT
; 3457 : htmlParseDocTypeDecl(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3458 : const xmlChar *name;
; 3459 : xmlChar *ExternalID = NULL;
mov DWORD PTR _ExternalID$[ebp], 0
; 3460 : xmlChar *URI = NULL;
mov DWORD PTR _URI$[ebp], 0
; 3461 :
; 3462 : /*
; 3463 : * We know that '<!DOCTYPE' has been detected.
; 3464 : */
; 3465 : SKIP(9);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 9
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, 9
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+32]
add ecx, 9
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], ecx
; 3466 :
; 3467 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 3468 :
; 3469 : /*
; 3470 : * Parse the DOCTYPE name.
; 3471 : */
; 3472 : name = htmlParseName(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseName
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 3473 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN2@htmlParseD
; 3474 : htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0CK@ENAEKEOD@htmlParseDocTypeDecl?5?3?5no?5DOCTY@
push 68 ; 00000044H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN2@htmlParseD:
; 3475 : "htmlParseDocTypeDecl : no DOCTYPE name !\n",
; 3476 : NULL, NULL);
; 3477 : }
; 3478 : /*
; 3479 : * Check that upper(name) == "HTML" !!!!!!!!!!!!!
; 3480 : */
; 3481 :
; 3482 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 3483 :
; 3484 : /*
; 3485 : * Check for SystemID and ExternalID
; 3486 : */
; 3487 : URI = htmlParseExternalID(ctxt, &ExternalID);
lea edx, DWORD PTR _ExternalID$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseExternalID
add esp, 8
mov DWORD PTR _URI$[ebp], eax
; 3488 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 3489 :
; 3490 : /*
; 3491 : * We should be at the end of the DOCTYPE declaration.
; 3492 : */
; 3493 : if (CUR != '>') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
je SHORT $LN3@htmlParseD
; 3494 : htmlParseErr(ctxt, XML_ERR_DOCTYPE_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BP@EFDCAMCC@DOCTYPE?5improperly?5terminated?6@
push 61 ; 0000003dH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN3@htmlParseD:
; 3495 : "DOCTYPE improperly terminated\n", NULL, NULL);
; 3496 : /* We shouldn't try to resynchronize ... */
; 3497 : }
; 3498 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 3499 :
; 3500 : /*
; 3501 : * Create or update the document accordingly to the DOCTYPE
; 3502 : */
; 3503 : if ((ctxt->sax != NULL) && (ctxt->sax->internalSubset != NULL) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN4@htmlParseD
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx], 0
je SHORT $LN4@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+212], 0
jne SHORT $LN4@htmlParseD
; 3504 : (!ctxt->disableSAX))
; 3505 : ctxt->sax->internalSubset(ctxt->userData, name, ExternalID, URI);
mov esi, esp
mov eax, DWORD PTR _URI$[ebp]
push eax
mov ecx, DWORD PTR _ExternalID$[ebp]
push ecx
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax]
call ecx
add esp, 16 ; 00000010H
cmp esi, esp
call __RTC_CheckEsp
$LN4@htmlParseD:
; 3506 :
; 3507 : /*
; 3508 : * Cleanup, since we don't use all those identifiers
; 3509 : */
; 3510 : if (URI != NULL) xmlFree(URI);
cmp DWORD PTR _URI$[ebp], 0
je SHORT $LN5@htmlParseD
mov esi, esp
mov edx, DWORD PTR _URI$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN5@htmlParseD:
; 3511 : if (ExternalID != NULL) xmlFree(ExternalID);
cmp DWORD PTR _ExternalID$[ebp], 0
je SHORT $LN1@htmlParseD
mov esi, esp
mov eax, DWORD PTR _ExternalID$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseD:
; 3512 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN10@htmlParseD
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop esi
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN10@htmlParseD:
DD 1
DD $LN9@htmlParseD
$LN9@htmlParseD:
DD -12 ; fffffff4H
DD 4
DD $LN8@htmlParseD
$LN8@htmlParseD:
DB 69 ; 00000045H
DB 120 ; 00000078H
DB 116 ; 00000074H
DB 101 ; 00000065H
DB 114 ; 00000072H
DB 110 ; 0000006eH
DB 97 ; 00000061H
DB 108 ; 0000006cH
DB 73 ; 00000049H
DB 68 ; 00000044H
DB 0
_htmlParseDocTypeDecl ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParsePI
_TEXT SEGMENT
tv215 = -72 ; size = 4
tv217 = -68 ; size = 4
tv216 = -64 ; size = 4
tv193 = -60 ; size = 4
tv192 = -56 ; size = 4
tv148 = -52 ; size = 4
tv70 = -48 ; size = 4
_tmp$1 = -44 ; size = 4
_count$ = -40 ; size = 4
_state$ = -36 ; size = 4
_target$ = -32 ; size = 4
_l$ = -24 ; size = 4
_cur$ = -16 ; size = 4
_size$ = -12 ; size = 4
_len$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParsePI PROC ; COMDAT
; 3179 : htmlParsePI(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 72 ; 00000048H
push esi
push edi
lea edi, DWORD PTR [ebp-72]
mov ecx, 18 ; 00000012H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3180 : xmlChar *buf = NULL;
mov DWORD PTR _buf$[ebp], 0
; 3181 : int len = 0;
mov DWORD PTR _len$[ebp], 0
; 3182 : int size = HTML_PARSER_BUFFER_SIZE;
mov DWORD PTR _size$[ebp], 100 ; 00000064H
; 3183 : int cur, l;
; 3184 : const xmlChar *target;
; 3185 : xmlParserInputState state;
; 3186 : int count = 0;
mov DWORD PTR _count$[ebp], 0
; 3187 :
; 3188 : if ((RAW == '<') && (NXT(1) == '?')) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+176], 0
je SHORT $LN30@htmlParseP
mov DWORD PTR tv70[ebp], -1
jmp SHORT $LN31@htmlParseP
$LN30@htmlParseP:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
mov DWORD PTR tv70[ebp], ecx
$LN31@htmlParseP:
cmp DWORD PTR tv70[ebp], 60 ; 0000003cH
jne $LN1@htmlParseP
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 63 ; 0000003fH
jne $LN1@htmlParseP
; 3189 : state = ctxt->instate;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+172]
mov DWORD PTR _state$[ebp], edx
; 3190 : ctxt->instate = XML_PARSER_PI;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], 2
; 3191 : /*
; 3192 : * this is a Processing Instruction.
; 3193 : */
; 3194 : SKIP(2);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 2
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
; 3195 : SHRINK;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+16]
sub eax, DWORD PTR [edx+12]
cmp eax, 500 ; 000001f4H
jle SHORT $LN8@htmlParseP
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 500 ; 000001f4H
jge SHORT $LN8@htmlParseP
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputShrink
add esp, 4
$LN8@htmlParseP:
; 3196 :
; 3197 : /*
; 3198 : * Parse the target name and check for special support like
; 3199 : * namespace.
; 3200 : */
; 3201 : target = htmlParseName(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseName
add esp, 4
mov DWORD PTR _target$[ebp], eax
; 3202 : if (target != NULL) {
cmp DWORD PTR _target$[ebp], 0
je $LN9@htmlParseP
; 3203 : if (RAW == '>') {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+176], 0
je SHORT $LN32@htmlParseP
mov DWORD PTR tv148[ebp], -1
jmp SHORT $LN33@htmlParseP
$LN32@htmlParseP:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
mov DWORD PTR tv148[ebp], ecx
$LN33@htmlParseP:
cmp DWORD PTR tv148[ebp], 62 ; 0000003eH
jne $LN11@htmlParseP
; 3204 : SKIP(1);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+16], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
; 3205 :
; 3206 : /*
; 3207 : * SAX: PI detected.
; 3208 : */
; 3209 : if ((ctxt->sax) && (!ctxt->disableSAX) &&
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN12@htmlParseP
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+212], 0
jne SHORT $LN12@htmlParseP
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+76], 0
je SHORT $LN12@htmlParseP
; 3210 : (ctxt->sax->processingInstruction != NULL))
; 3211 : ctxt->sax->processingInstruction(ctxt->userData,
mov esi, esp
push 0
mov ecx, DWORD PTR _target$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+76]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN12@htmlParseP:
; 3212 : target, NULL);
; 3213 : ctxt->instate = state;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _state$[ebp]
mov DWORD PTR [ecx+172], edx
; 3214 : return;
jmp $LN1@htmlParseP
$LN11@htmlParseP:
; 3215 : }
; 3216 : buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar));
mov esi, esp
mov eax, DWORD PTR _size$[ebp]
push eax
call DWORD PTR _xmlMallocAtomic
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _buf$[ebp], eax
; 3217 : if (buf == NULL) {
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN13@htmlParseP
; 3218 : htmlErrMemory(ctxt, NULL);
push 0
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlErrMemory
add esp, 8
; 3219 : ctxt->instate = state;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _state$[ebp]
mov DWORD PTR [edx+172], eax
; 3220 : return;
jmp $LN1@htmlParseP
$LN13@htmlParseP:
; 3221 : }
; 3222 : cur = CUR;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
mov DWORD PTR _cur$[ebp], ecx
; 3223 : if (!IS_BLANK(cur)) {
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jge SHORT $LN37@htmlParseP
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
je SHORT $LN35@htmlParseP
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN34@htmlParseP
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN35@htmlParseP
$LN34@htmlParseP:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN35@htmlParseP
mov DWORD PTR tv192[ebp], 0
jmp SHORT $LN36@htmlParseP
$LN35@htmlParseP:
mov DWORD PTR tv192[ebp], 1
$LN36@htmlParseP:
mov edx, DWORD PTR tv192[ebp]
mov DWORD PTR tv193[ebp], edx
jmp SHORT $LN38@htmlParseP
$LN37@htmlParseP:
mov DWORD PTR tv193[ebp], 0
$LN38@htmlParseP:
cmp DWORD PTR tv193[ebp], 0
jne SHORT $LN14@htmlParseP
; 3224 : htmlParseErr(ctxt, XML_ERR_SPACE_REQUIRED,
push 0
mov eax, DWORD PTR _target$[ebp]
push eax
push OFFSET ??_C@_0BP@KBNJPEOK@ParsePI?3?5PI?5?$CFs?5space?5expected?6@
push 65 ; 00000041H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN14@htmlParseP:
; 3225 : "ParsePI: PI %s space expected\n", target, NULL);
; 3226 : }
; 3227 : SKIP_BLANKS;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlSkipBlankChars
add esp, 4
; 3228 : cur = CUR_CHAR(l);
lea eax, DWORD PTR _l$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN2@htmlParseP:
; 3229 : while (IS_CHAR(cur) && (cur != '>')) {
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jge SHORT $LN47@htmlParseP
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN39@htmlParseP
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN40@htmlParseP
$LN39@htmlParseP:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN40@htmlParseP
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
jge SHORT $LN40@htmlParseP
mov DWORD PTR tv216[ebp], 0
jmp SHORT $LN46@htmlParseP
$LN40@htmlParseP:
mov DWORD PTR tv216[ebp], 1
$LN46@htmlParseP:
mov edx, DWORD PTR tv216[ebp]
mov DWORD PTR tv217[ebp], edx
jmp SHORT $LN48@htmlParseP
$LN47@htmlParseP:
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jl SHORT $LN41@htmlParseP
cmp DWORD PTR _cur$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN43@htmlParseP
$LN41@htmlParseP:
cmp DWORD PTR _cur$[ebp], 57344 ; 0000e000H
jl SHORT $LN42@htmlParseP
cmp DWORD PTR _cur$[ebp], 65533 ; 0000fffdH
jle SHORT $LN43@htmlParseP
$LN42@htmlParseP:
cmp DWORD PTR _cur$[ebp], 65536 ; 00010000H
jl SHORT $LN44@htmlParseP
cmp DWORD PTR _cur$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN43@htmlParseP
$LN44@htmlParseP:
mov DWORD PTR tv215[ebp], 0
jmp SHORT $LN45@htmlParseP
$LN43@htmlParseP:
mov DWORD PTR tv215[ebp], 1
$LN45@htmlParseP:
mov eax, DWORD PTR tv215[ebp]
mov DWORD PTR tv217[ebp], eax
$LN48@htmlParseP:
cmp DWORD PTR tv217[ebp], 0
je $LN3@htmlParseP
cmp DWORD PTR _cur$[ebp], 62 ; 0000003eH
je $LN3@htmlParseP
; 3230 : if (len + 5 >= size) {
mov ecx, DWORD PTR _len$[ebp]
add ecx, 5
cmp ecx, DWORD PTR _size$[ebp]
jl SHORT $LN15@htmlParseP
; 3231 : xmlChar *tmp;
; 3232 :
; 3233 : size *= 2;
mov edx, DWORD PTR _size$[ebp]
shl edx, 1
mov DWORD PTR _size$[ebp], edx
; 3234 : tmp = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
mov esi, esp
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$1[ebp], eax
; 3235 : if (tmp == NULL) {
cmp DWORD PTR _tmp$1[ebp], 0
jne SHORT $LN16@htmlParseP
; 3236 : htmlErrMemory(ctxt, NULL);
push 0
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlErrMemory
add esp, 8
; 3237 : xmlFree(buf);
mov esi, esp
mov eax, DWORD PTR _buf$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 3238 : ctxt->instate = state;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _state$[ebp]
mov DWORD PTR [ecx+172], edx
; 3239 : return;
jmp $LN1@htmlParseP
$LN16@htmlParseP:
; 3240 : }
; 3241 : buf = tmp;
mov eax, DWORD PTR _tmp$1[ebp]
mov DWORD PTR _buf$[ebp], eax
$LN15@htmlParseP:
; 3242 : }
; 3243 : count++;
mov ecx, DWORD PTR _count$[ebp]
add ecx, 1
mov DWORD PTR _count$[ebp], ecx
; 3244 : if (count > 50) {
cmp DWORD PTR _count$[ebp], 50 ; 00000032H
jle SHORT $LN17@htmlParseP
; 3245 : GROW;
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+292], 0
jne SHORT $LN18@htmlParseP
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 250 ; 000000faH
jge SHORT $LN18@htmlParseP
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
$LN18@htmlParseP:
; 3246 : count = 0;
mov DWORD PTR _count$[ebp], 0
$LN17@htmlParseP:
; 3247 : }
; 3248 : COPY_BUF(l,buf,len,cur);
cmp DWORD PTR _l$[ebp], 1
jne SHORT $LN19@htmlParseP
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _len$[ebp]
mov dl, BYTE PTR _cur$[ebp]
mov BYTE PTR [ecx], dl
mov eax, DWORD PTR _len$[ebp]
add eax, 1
mov DWORD PTR _len$[ebp], eax
jmp SHORT $LN6@htmlParseP
$LN19@htmlParseP:
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _len$[ebp]
push edx
mov eax, DWORD PTR _l$[ebp]
push eax
call _xmlCopyChar
add esp, 12 ; 0000000cH
add eax, DWORD PTR _len$[ebp]
mov DWORD PTR _len$[ebp], eax
$LN6@htmlParseP:
; 3249 : NEXTL(l);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jne SHORT $LN21@htmlParseP
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+28], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], 1
jmp SHORT $LN22@htmlParseP
$LN21@htmlParseP:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
$LN22@htmlParseP:
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+176], 0
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, DWORD PTR _l$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
xor edx, edx
jne $LN6@htmlParseP
; 3250 : cur = CUR_CHAR(l);
lea eax, DWORD PTR _l$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 3251 : if (cur == 0) {
cmp DWORD PTR _cur$[ebp], 0
jne $LN23@htmlParseP
; 3252 : SHRINK;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+16]
sub eax, DWORD PTR [edx+12]
cmp eax, 500 ; 000001f4H
jle SHORT $LN24@htmlParseP
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 500 ; 000001f4H
jge SHORT $LN24@htmlParseP
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputShrink
add esp, 4
$LN24@htmlParseP:
; 3253 : GROW;
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+292], 0
jne SHORT $LN25@htmlParseP
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 250 ; 000000faH
jge SHORT $LN25@htmlParseP
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
$LN25@htmlParseP:
; 3254 : cur = CUR_CHAR(l);
lea ecx, DWORD PTR _l$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN23@htmlParseP:
; 3255 : }
; 3256 : }
jmp $LN2@htmlParseP
$LN3@htmlParseP:
; 3257 : buf[len] = 0;
mov eax, DWORD PTR _buf$[ebp]
add eax, DWORD PTR _len$[ebp]
mov BYTE PTR [eax], 0
; 3258 : if (cur != '>') {
cmp DWORD PTR _cur$[ebp], 62 ; 0000003eH
je SHORT $LN26@htmlParseP
; 3259 : htmlParseErr(ctxt, XML_ERR_PI_NOT_FINISHED,
push 0
mov ecx, DWORD PTR _target$[ebp]
push ecx
push OFFSET ??_C@_0BO@OGPJFKEP@ParsePI?3?5PI?5?$CFs?5never?5end?5?4?4?4?6@
push 47 ; 0000002fH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3260 : "ParsePI: PI %s never end ...\n", target, NULL);
; 3261 : } else {
jmp $LN27@htmlParseP
$LN26@htmlParseP:
; 3262 : SKIP(1);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+32]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], ecx
; 3263 :
; 3264 : /*
; 3265 : * SAX: PI detected.
; 3266 : */
; 3267 : if ((ctxt->sax) && (!ctxt->disableSAX) &&
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN27@htmlParseP
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+212], 0
jne SHORT $LN27@htmlParseP
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+76], 0
je SHORT $LN27@htmlParseP
; 3268 : (ctxt->sax->processingInstruction != NULL))
; 3269 : ctxt->sax->processingInstruction(ctxt->userData,
mov esi, esp
mov edx, DWORD PTR _buf$[ebp]
push edx
mov eax, DWORD PTR _target$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+76]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN27@htmlParseP:
; 3270 : target, buf);
; 3271 : }
; 3272 : xmlFree(buf);
mov esi, esp
mov eax, DWORD PTR _buf$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 3273 : } else {
jmp SHORT $LN10@htmlParseP
$LN9@htmlParseP:
; 3274 : htmlParseErr(ctxt, XML_ERR_PI_NOT_STARTED,
push 0
push 0
push OFFSET ??_C@_0BM@EHACIEGC@PI?5is?5not?5started?5correctly@
push 46 ; 0000002eH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN10@htmlParseP:
; 3275 : "PI is not started correctly", NULL, NULL);
; 3276 : }
; 3277 : ctxt->instate = state;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _state$[ebp]
mov DWORD PTR [edx+172], eax
$LN1@htmlParseP:
; 3278 : }
; 3279 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN51@htmlParseP
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 72 ; 00000048H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN51@htmlParseP:
DD 1
DD $LN50@htmlParseP
$LN50@htmlParseP:
DD -24 ; ffffffe8H
DD 4
DD $LN49@htmlParseP
$LN49@htmlParseP:
DB 108 ; 0000006cH
DB 0
_htmlParsePI ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseExternalID
_TEXT SEGMENT
_URI$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_publicID$ = 12 ; size = 4
_htmlParseExternalID PROC ; COMDAT
; 3130 : htmlParseExternalID(htmlParserCtxtPtr ctxt, xmlChar **publicID) {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3131 : xmlChar *URI = NULL;
mov DWORD PTR _URI$[ebp], 0
; 3132 :
; 3133 : if ((UPPER == 'S') && (UPP(1) == 'Y') &&
; 3134 : (UPP(2) == 'S') && (UPP(3) == 'T') &&
; 3135 : (UPP(4) == 'E') && (UPP(5) == 'M')) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 83 ; 00000053H
jne $LN2@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne $LN2@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 1
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 83 ; 00000053H
jne $LN2@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 3
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN2@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 2
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne $LN2@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 5
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 77 ; 0000004dH
jne $LN2@htmlParseE
; 3136 : SKIP(6);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, 6
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 6
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 6
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
; 3137 : if (!IS_BLANK_CH(CUR)) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
je SHORT $LN4@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN5@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN4@htmlParseE
$LN5@htmlParseE:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $LN4@htmlParseE
; 3138 : htmlParseErr(ctxt, XML_ERR_SPACE_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0BP@CCMMHADN@Space?5required?5after?5?8SYSTEM?8?6@
push 65 ; 00000041H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN4@htmlParseE:
; 3139 : "Space required after 'SYSTEM'\n", NULL, NULL);
; 3140 : }
; 3141 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 3142 : URI = htmlParseSystemLiteral(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseSystemLiteral
add esp, 4
mov DWORD PTR _URI$[ebp], eax
; 3143 : if (URI == NULL) {
cmp DWORD PTR _URI$[ebp], 0
jne SHORT $LN6@htmlParseE
; 3144 : htmlParseErr(ctxt, XML_ERR_URI_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0CF@LGGPLBBM@htmlParseExternalID?3?5SYSTEM?0?5no@
push 70 ; 00000046H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN6@htmlParseE:
; 3145 : "htmlParseExternalID: SYSTEM, no URI\n", NULL, NULL);
; 3146 : }
; 3147 : } else if ((UPPER == 'P') && (UPP(1) == 'U') &&
jmp $LN3@htmlParseE
$LN2@htmlParseE:
; 3148 : (UPP(2) == 'B') && (UPP(3) == 'L') &&
; 3149 : (UPP(4) == 'I') && (UPP(5) == 'C')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne $LN3@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 85 ; 00000055H
jne $LN3@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 66 ; 00000042H
jne $LN3@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 76 ; 0000004cH
jne $LN3@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 2
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 73 ; 00000049H
jne $LN3@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 5
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN3@htmlParseE
; 3150 : SKIP(6);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 6
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
add ecx, 6
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+16], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 6
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
; 3151 : if (!IS_BLANK_CH(CUR)) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
je SHORT $LN8@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN9@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN8@htmlParseE
$LN9@htmlParseE:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN8@htmlParseE
; 3152 : htmlParseErr(ctxt, XML_ERR_SPACE_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0BP@EHONNEAJ@Space?5required?5after?5?8PUBLIC?8?6@
push 65 ; 00000041H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN8@htmlParseE:
; 3153 : "Space required after 'PUBLIC'\n", NULL, NULL);
; 3154 : }
; 3155 : SKIP_BLANKS;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlSkipBlankChars
add esp, 4
; 3156 : *publicID = htmlParsePubidLiteral(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParsePubidLiteral
add esp, 4
mov ecx, DWORD PTR _publicID$[ebp]
mov DWORD PTR [ecx], eax
; 3157 : if (*publicID == NULL) {
mov edx, DWORD PTR _publicID$[ebp]
cmp DWORD PTR [edx], 0
jne SHORT $LN10@htmlParseE
; 3158 : htmlParseErr(ctxt, XML_ERR_PUBID_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0DD@OPLMODNC@htmlParseExternalID?3?5PUBLIC?0?5no@
push 71 ; 00000047H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN10@htmlParseE:
; 3159 : "htmlParseExternalID: PUBLIC, no Public Identifier\n",
; 3160 : NULL, NULL);
; 3161 : }
; 3162 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 3163 : if ((CUR == '"') || (CUR == '\'')) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 34 ; 00000022H
je SHORT $LN12@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 39 ; 00000027H
jne SHORT $LN3@htmlParseE
$LN12@htmlParseE:
; 3164 : URI = htmlParseSystemLiteral(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseSystemLiteral
add esp, 4
mov DWORD PTR _URI$[ebp], eax
$LN3@htmlParseE:
; 3165 : }
; 3166 : }
; 3167 : return(URI);
mov eax, DWORD PTR _URI$[ebp]
; 3168 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseExternalID ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseCharData
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_htmlParseCharData PROC ; COMDAT
; 3108 : htmlParseCharData(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3109 : htmlParseCharDataInternal(ctxt, 0);
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseCharDataInternal
add esp, 8
; 3110 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlParseCharData ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseCharDataInternal
_TEXT SEGMENT
tv135 = -1052 ; size = 4
tv137 = -1048 ; size = 4
tv136 = -1044 ; size = 4
_chunk$ = -1040 ; size = 4
_l$ = -1032 ; size = 4
_cur$ = -1024 ; size = 4
_nbchar$ = -1020 ; size = 4
_buf$ = -1012 ; size = 1006
_ctxt$ = 8 ; size = 4
_readahead$ = 12 ; size = 4
_htmlParseCharDataInternal PROC ; COMDAT
; 3010 : htmlParseCharDataInternal(htmlParserCtxtPtr ctxt, int readahead) {
push ebp
mov ebp, esp
sub esp, 1052 ; 0000041cH
push esi
push edi
lea edi, DWORD PTR [ebp-1052]
mov ecx, 263 ; 00000107H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3011 : xmlChar buf[HTML_PARSER_BIG_BUFFER_SIZE + 6];
; 3012 : int nbchar = 0;
mov DWORD PTR _nbchar$[ebp], 0
; 3013 : int cur, l;
; 3014 : int chunk = 0;
mov DWORD PTR _chunk$[ebp], 0
; 3015 :
; 3016 : if (readahead)
cmp DWORD PTR _readahead$[ebp], 0
je SHORT $LN7@htmlParseC
; 3017 : buf[nbchar++] = readahead;
mov eax, DWORD PTR _nbchar$[ebp]
mov cl, BYTE PTR _readahead$[ebp]
mov BYTE PTR _buf$[ebp+eax], cl
mov edx, DWORD PTR _nbchar$[ebp]
add edx, 1
mov DWORD PTR _nbchar$[ebp], edx
$LN7@htmlParseC:
; 3018 :
; 3019 : SHRINK;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
cmp ecx, 500 ; 000001f4H
jle SHORT $LN8@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 500 ; 000001f4H
jge SHORT $LN8@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputShrink
add esp, 4
$LN8@htmlParseC:
; 3020 : cur = CUR_CHAR(l);
lea eax, DWORD PTR _l$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN2@htmlParseC:
; 3021 : while (((cur != '<') || (ctxt->token == '<')) &&
; 3022 : ((cur != '&') || (ctxt->token == '&')) &&
cmp DWORD PTR _cur$[ebp], 60 ; 0000003cH
jne SHORT $LN9@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+176], 60 ; 0000003cH
jne $LN3@htmlParseC
$LN9@htmlParseC:
cmp DWORD PTR _cur$[ebp], 38 ; 00000026H
jne SHORT $LN10@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+176], 38 ; 00000026H
jne $LN3@htmlParseC
$LN10@htmlParseC:
cmp DWORD PTR _cur$[ebp], 0
je $LN3@htmlParseC
; 3023 : (cur != 0)) {
; 3024 : if (!(IS_CHAR(cur))) {
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jge SHORT $LN52@htmlParseC
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN44@htmlParseC
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN45@htmlParseC
$LN44@htmlParseC:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN45@htmlParseC
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
jge SHORT $LN45@htmlParseC
mov DWORD PTR tv136[ebp], 0
jmp SHORT $LN51@htmlParseC
$LN45@htmlParseC:
mov DWORD PTR tv136[ebp], 1
$LN51@htmlParseC:
mov ecx, DWORD PTR tv136[ebp]
mov DWORD PTR tv137[ebp], ecx
jmp SHORT $LN53@htmlParseC
$LN52@htmlParseC:
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jl SHORT $LN46@htmlParseC
cmp DWORD PTR _cur$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN48@htmlParseC
$LN46@htmlParseC:
cmp DWORD PTR _cur$[ebp], 57344 ; 0000e000H
jl SHORT $LN47@htmlParseC
cmp DWORD PTR _cur$[ebp], 65533 ; 0000fffdH
jle SHORT $LN48@htmlParseC
$LN47@htmlParseC:
cmp DWORD PTR _cur$[ebp], 65536 ; 00010000H
jl SHORT $LN49@htmlParseC
cmp DWORD PTR _cur$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN48@htmlParseC
$LN49@htmlParseC:
mov DWORD PTR tv135[ebp], 0
jmp SHORT $LN50@htmlParseC
$LN48@htmlParseC:
mov DWORD PTR tv135[ebp], 1
$LN50@htmlParseC:
mov edx, DWORD PTR tv135[ebp]
mov DWORD PTR tv137[ebp], edx
$LN53@htmlParseC:
cmp DWORD PTR tv137[ebp], 0
jne SHORT $LN11@htmlParseC
; 3025 : htmlParseErrInt(ctxt, XML_ERR_INVALID_CHAR,
mov eax, DWORD PTR _cur$[ebp]
push eax
push OFFSET ??_C@_0BM@GCKCOLAE@Invalid?5char?5in?5CDATA?50x?$CFX?6@
push 9
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErrInt
add esp, 16 ; 00000010H
; 3026 : "Invalid char in CDATA 0x%X\n", cur);
; 3027 : } else {
jmp SHORT $LN12@htmlParseC
$LN11@htmlParseC:
; 3028 : COPY_BUF(l,buf,nbchar,cur);
cmp DWORD PTR _l$[ebp], 1
jne SHORT $LN13@htmlParseC
mov edx, DWORD PTR _nbchar$[ebp]
mov al, BYTE PTR _cur$[ebp]
mov BYTE PTR _buf$[ebp+edx], al
mov ecx, DWORD PTR _nbchar$[ebp]
add ecx, 1
mov DWORD PTR _nbchar$[ebp], ecx
jmp SHORT $LN12@htmlParseC
$LN13@htmlParseC:
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _nbchar$[ebp]
lea ecx, DWORD PTR _buf$[ebp+eax]
push ecx
mov edx, DWORD PTR _l$[ebp]
push edx
call _xmlCopyChar
add esp, 12 ; 0000000cH
add eax, DWORD PTR _nbchar$[ebp]
mov DWORD PTR _nbchar$[ebp], eax
$LN12@htmlParseC:
; 3029 : }
; 3030 : if (nbchar >= HTML_PARSER_BIG_BUFFER_SIZE) {
cmp DWORD PTR _nbchar$[ebp], 1000 ; 000003e8H
jl $LN6@htmlParseC
; 3031 : /*
; 3032 : * Ok the segment is to be consumed as chars.
; 3033 : */
; 3034 : if ((ctxt->sax != NULL) && (!ctxt->disableSAX)) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je $LN16@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+212], 0
jne $LN16@htmlParseC
; 3035 : if (areBlanks(ctxt, buf, nbchar)) {
mov edx, DWORD PTR _nbchar$[ebp]
push edx
lea eax, DWORD PTR _buf$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _areBlanks
add esp, 12 ; 0000000cH
test eax, eax
je SHORT $LN17@htmlParseC
; 3036 : if (ctxt->keepBlanks) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+208], 0
je SHORT $LN19@htmlParseC
; 3037 : if (ctxt->sax->characters != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN21@htmlParseC
; 3038 : ctxt->sax->characters(ctxt->userData, buf, nbchar);
mov esi, esp
mov edx, DWORD PTR _nbchar$[ebp]
push edx
lea eax, DWORD PTR _buf$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+68]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN21@htmlParseC:
; 3039 : } else {
jmp SHORT $LN20@htmlParseC
$LN19@htmlParseC:
; 3040 : if (ctxt->sax->ignorableWhitespace != NULL)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+72], 0
je SHORT $LN20@htmlParseC
; 3041 : ctxt->sax->ignorableWhitespace(ctxt->userData,
mov esi, esp
mov edx, DWORD PTR _nbchar$[ebp]
push edx
lea eax, DWORD PTR _buf$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+72]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN20@htmlParseC:
; 3042 : buf, nbchar);
; 3043 : }
; 3044 : } else {
jmp SHORT $LN16@htmlParseC
$LN17@htmlParseC:
; 3045 : htmlCheckParagraph(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCheckParagraph
add esp, 4
; 3046 : if (ctxt->sax->characters != NULL)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+68], 0
je SHORT $LN16@htmlParseC
; 3047 : ctxt->sax->characters(ctxt->userData, buf, nbchar);
mov esi, esp
mov eax, DWORD PTR _nbchar$[ebp]
push eax
lea ecx, DWORD PTR _buf$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+68]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN16@htmlParseC:
; 3048 : }
; 3049 : }
; 3050 : nbchar = 0;
mov DWORD PTR _nbchar$[ebp], 0
$LN6@htmlParseC:
; 3051 : }
; 3052 : NEXTL(l);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jne SHORT $LN24@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+28], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], 1
jmp SHORT $LN25@htmlParseC
$LN24@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
$LN25@htmlParseC:
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+176], 0
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, DWORD PTR _l$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
xor edx, edx
jne $LN6@htmlParseC
; 3053 : chunk++;
mov eax, DWORD PTR _chunk$[ebp]
add eax, 1
mov DWORD PTR _chunk$[ebp], eax
; 3054 : if (chunk > HTML_PARSER_BUFFER_SIZE) {
cmp DWORD PTR _chunk$[ebp], 100 ; 00000064H
jle $LN26@htmlParseC
; 3055 : chunk = 0;
mov DWORD PTR _chunk$[ebp], 0
; 3056 : SHRINK;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
cmp edx, 500 ; 000001f4H
jle SHORT $LN27@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 500 ; 000001f4H
jge SHORT $LN27@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputShrink
add esp, 4
$LN27@htmlParseC:
; 3057 : GROW;
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+292], 0
jne SHORT $LN26@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 250 ; 000000faH
jge SHORT $LN26@htmlParseC
push 250 ; 000000faH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputGrow
add esp, 8
$LN26@htmlParseC:
; 3058 : }
; 3059 : cur = CUR_CHAR(l);
lea eax, DWORD PTR _l$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 3060 : if (cur == 0) {
cmp DWORD PTR _cur$[ebp], 0
jne $LN29@htmlParseC
; 3061 : SHRINK;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+16]
sub eax, DWORD PTR [edx+12]
cmp eax, 500 ; 000001f4H
jle SHORT $LN30@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 500 ; 000001f4H
jge SHORT $LN30@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputShrink
add esp, 4
$LN30@htmlParseC:
; 3062 : GROW;
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+292], 0
jne SHORT $LN31@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 250 ; 000000faH
jge SHORT $LN31@htmlParseC
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
$LN31@htmlParseC:
; 3063 : cur = CUR_CHAR(l);
lea ecx, DWORD PTR _l$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN29@htmlParseC:
; 3064 : }
; 3065 : }
jmp $LN2@htmlParseC
$LN3@htmlParseC:
; 3066 : if (nbchar != 0) {
cmp DWORD PTR _nbchar$[ebp], 0
je $LN32@htmlParseC
; 3067 : buf[nbchar] = 0;
mov eax, DWORD PTR _nbchar$[ebp]
mov BYTE PTR _buf$[ebp+eax], 0
; 3068 :
; 3069 : /*
; 3070 : * Ok the segment is to be consumed as chars.
; 3071 : */
; 3072 : if ((ctxt->sax != NULL) && (!ctxt->disableSAX)) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je $LN34@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+212], 0
jne $LN34@htmlParseC
; 3073 : if (areBlanks(ctxt, buf, nbchar)) {
mov eax, DWORD PTR _nbchar$[ebp]
push eax
lea ecx, DWORD PTR _buf$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _areBlanks
add esp, 12 ; 0000000cH
test eax, eax
je SHORT $LN35@htmlParseC
; 3074 : if (ctxt->keepBlanks) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+208], 0
je SHORT $LN37@htmlParseC
; 3075 : if (ctxt->sax->characters != NULL)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+68], 0
je SHORT $LN39@htmlParseC
; 3076 : ctxt->sax->characters(ctxt->userData, buf, nbchar);
mov esi, esp
mov eax, DWORD PTR _nbchar$[ebp]
push eax
lea ecx, DWORD PTR _buf$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+68]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN39@htmlParseC:
; 3077 : } else {
jmp SHORT $LN38@htmlParseC
$LN37@htmlParseC:
; 3078 : if (ctxt->sax->ignorableWhitespace != NULL)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+72], 0
je SHORT $LN38@htmlParseC
; 3079 : ctxt->sax->ignorableWhitespace(ctxt->userData,
mov esi, esp
mov eax, DWORD PTR _nbchar$[ebp]
push eax
lea ecx, DWORD PTR _buf$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+72]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN38@htmlParseC:
; 3080 : buf, nbchar);
; 3081 : }
; 3082 : } else {
jmp SHORT $LN34@htmlParseC
$LN35@htmlParseC:
; 3083 : htmlCheckParagraph(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCheckParagraph
add esp, 4
; 3084 : if (ctxt->sax->characters != NULL)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+68], 0
je SHORT $LN34@htmlParseC
; 3085 : ctxt->sax->characters(ctxt->userData, buf, nbchar);
mov esi, esp
mov ecx, DWORD PTR _nbchar$[ebp]
push ecx
lea edx, DWORD PTR _buf$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+68]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN34@htmlParseC:
; 3086 : }
; 3087 : }
; 3088 : } else {
jmp SHORT $LN1@htmlParseC
$LN32@htmlParseC:
; 3089 : /*
; 3090 : * Loop detection
; 3091 : */
; 3092 : if (cur == 0)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN1@htmlParseC
; 3093 : ctxt->instate = XML_PARSER_EOF;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], -1
$LN1@htmlParseC:
; 3094 : }
; 3095 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN57@htmlParseC
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 1052 ; 0000041cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN57@htmlParseC:
DD 2
DD $LN56@htmlParseC
$LN56@htmlParseC:
DD -1012 ; fffffc0cH
DD 1006 ; 000003eeH
DD $LN54@htmlParseC
DD -1032 ; fffffbf8H
DD 4
DD $LN55@htmlParseC
$LN55@htmlParseC:
DB 108 ; 0000006cH
DB 0
$LN54@htmlParseC:
DB 98 ; 00000062H
DB 117 ; 00000075H
DB 102 ; 00000066H
DB 0
_htmlParseCharDataInternal ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseScript
_TEXT SEGMENT
_l$ = -1032 ; size = 4
_cur$ = -1024 ; size = 4
_nbchar$ = -1020 ; size = 4
_buf$ = -1012 ; size = 1005
_ctxt$ = 8 ; size = 4
_htmlParseScript PROC ; COMDAT
; 2922 : htmlParseScript(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 1036 ; 0000040cH
push esi
push edi
lea edi, DWORD PTR [ebp-1036]
mov ecx, 259 ; 00000103H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2923 : xmlChar buf[HTML_PARSER_BIG_BUFFER_SIZE + 5];
; 2924 : int nbchar = 0;
mov DWORD PTR _nbchar$[ebp], 0
; 2925 : int cur,l;
; 2926 :
; 2927 : SHRINK;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
cmp ecx, 500 ; 000001f4H
jle SHORT $LN7@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 500 ; 000001f4H
jge SHORT $LN7@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputShrink
add esp, 4
$LN7@htmlParseS:
; 2928 : cur = CUR_CHAR(l);
lea eax, DWORD PTR _l$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN2@htmlParseS:
; 2929 : while (IS_CHAR_CH(cur)) {
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN9@htmlParseS
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN8@htmlParseS
$LN9@htmlParseS:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN8@htmlParseS
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
jl $LN3@htmlParseS
$LN8@htmlParseS:
; 2930 : if ((cur == '<') && (NXT(1) == '/')) {
cmp DWORD PTR _cur$[ebp], 60 ; 0000003cH
jne $LN10@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 47 ; 0000002fH
jne $LN10@htmlParseS
; 2931 : /*
; 2932 : * One should break here, the specification is clear:
; 2933 : * Authors should therefore escape "</" within the content.
; 2934 : * Escape mechanisms are specific to each scripting or
; 2935 : * style sheet language.
; 2936 : *
; 2937 : * In recovery mode, only break if end tag match the
; 2938 : * current tag, effectively ignoring all tags inside the
; 2939 : * script/style block and treating the entire block as
; 2940 : * CDATA.
; 2941 : */
; 2942 : if (ctxt->recovery) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+288], 0
je SHORT $LN11@htmlParseS
; 2943 : if (xmlStrncasecmp(ctxt->name, ctxt->input->cur+2,
; 2944 : xmlStrlen(ctxt->name)) == 0)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
call _xmlStrlen
add esp, 4
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 2
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrncasecmp
add esp, 12 ; 0000000cH
test eax, eax
jne SHORT $LN13@htmlParseS
; 2945 : {
; 2946 : break; /* while */
jmp $LN3@htmlParseS
; 2947 : } else {
jmp SHORT $LN14@htmlParseS
$LN13@htmlParseS:
; 2948 : htmlParseErr(ctxt, XML_ERR_TAG_NAME_MISMATCH,
push 0
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
push OFFSET ??_C@_0BN@HLEPILFB@Element?5?$CFs?5embeds?5close?5tag?6@
push 76 ; 0000004cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN14@htmlParseS:
; 2949 : "Element %s embeds close tag\n",
; 2950 : ctxt->name, NULL);
; 2951 : }
; 2952 : } else {
jmp SHORT $LN10@htmlParseS
$LN11@htmlParseS:
; 2953 : if (((NXT(2) >= 'A') && (NXT(2) <= 'Z')) ||
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 1
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 65 ; 00000041H
jl SHORT $LN17@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 90 ; 0000005aH
jle SHORT $LN16@htmlParseS
$LN17@htmlParseS:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 97 ; 00000061H
jl SHORT $LN10@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 1
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 122 ; 0000007aH
jg SHORT $LN10@htmlParseS
$LN16@htmlParseS:
; 2954 : ((NXT(2) >= 'a') && (NXT(2) <= 'z')))
; 2955 : {
; 2956 : break; /* while */
jmp $LN3@htmlParseS
$LN10@htmlParseS:
; 2957 : }
; 2958 : }
; 2959 : }
; 2960 : COPY_BUF(l,buf,nbchar,cur);
cmp DWORD PTR _l$[ebp], 1
jne SHORT $LN18@htmlParseS
mov edx, DWORD PTR _nbchar$[ebp]
mov al, BYTE PTR _cur$[ebp]
mov BYTE PTR _buf$[ebp+edx], al
mov ecx, DWORD PTR _nbchar$[ebp]
add ecx, 1
mov DWORD PTR _nbchar$[ebp], ecx
jmp SHORT $LN19@htmlParseS
$LN18@htmlParseS:
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _nbchar$[ebp]
lea ecx, DWORD PTR _buf$[ebp+eax]
push ecx
mov edx, DWORD PTR _l$[ebp]
push edx
call _xmlCopyChar
add esp, 12 ; 0000000cH
add eax, DWORD PTR _nbchar$[ebp]
mov DWORD PTR _nbchar$[ebp], eax
$LN19@htmlParseS:
; 2961 : if (nbchar >= HTML_PARSER_BIG_BUFFER_SIZE) {
cmp DWORD PTR _nbchar$[ebp], 1000 ; 000003e8H
jl SHORT $LN20@htmlParseS
; 2962 : if (ctxt->sax->cdataBlock!= NULL) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+100], 0
je SHORT $LN21@htmlParseS
; 2963 : /*
; 2964 : * Insert as CDATA, which is the same as HTML_PRESERVE_NODE
; 2965 : */
; 2966 : ctxt->sax->cdataBlock(ctxt->userData, buf, nbchar);
mov esi, esp
mov edx, DWORD PTR _nbchar$[ebp]
push edx
lea eax, DWORD PTR _buf$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+100]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
jmp SHORT $LN22@htmlParseS
$LN21@htmlParseS:
; 2967 : } else if (ctxt->sax->characters != NULL) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+68], 0
je SHORT $LN22@htmlParseS
; 2968 : ctxt->sax->characters(ctxt->userData, buf, nbchar);
mov esi, esp
mov edx, DWORD PTR _nbchar$[ebp]
push edx
lea eax, DWORD PTR _buf$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+68]
call edx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN22@htmlParseS:
; 2969 : }
; 2970 : nbchar = 0;
mov DWORD PTR _nbchar$[ebp], 0
$LN20@htmlParseS:
; 2971 : }
; 2972 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN6@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN6@htmlParseS
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN6@htmlParseS:
; 2973 : NEXTL(l);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jne SHORT $LN25@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+28]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+28], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], 1
jmp SHORT $LN26@htmlParseS
$LN25@htmlParseS:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
$LN26@htmlParseS:
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+176], 0
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, DWORD PTR _l$[ebp]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
xor eax, eax
jne $LN6@htmlParseS
; 2974 : cur = CUR_CHAR(l);
lea ecx, DWORD PTR _l$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 2975 : }
jmp $LN2@htmlParseS
$LN3@htmlParseS:
; 2976 :
; 2977 : if ((!(IS_CHAR_CH(cur))) && (!((cur == 0) && (ctxt->progressive)))) {
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN28@htmlParseS
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN27@htmlParseS
$LN28@htmlParseS:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN27@htmlParseS
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
jge SHORT $LN27@htmlParseS
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN29@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN27@htmlParseS
$LN29@htmlParseS:
; 2978 : htmlParseErrInt(ctxt, XML_ERR_INVALID_CHAR,
mov ecx, DWORD PTR _cur$[ebp]
push ecx
push OFFSET ??_C@_0BM@GCKCOLAE@Invalid?5char?5in?5CDATA?50x?$CFX?6@
push 9
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErrInt
add esp, 16 ; 00000010H
; 2979 : "Invalid char in CDATA 0x%X\n", cur);
; 2980 : if (ctxt->input->cur < ctxt->input->end) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
cmp ecx, DWORD PTR [eax+20]
jae SHORT $LN27@htmlParseS
; 2981 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN27@htmlParseS:
; 2982 : }
; 2983 : }
; 2984 :
; 2985 : if ((nbchar != 0) && (ctxt->sax != NULL) && (!ctxt->disableSAX)) {
cmp DWORD PTR _nbchar$[ebp], 0
je $LN1@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN1@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+212], 0
jne SHORT $LN1@htmlParseS
; 2986 : if (ctxt->sax->cdataBlock!= NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+100], 0
je SHORT $LN32@htmlParseS
; 2987 : /*
; 2988 : * Insert as CDATA, which is the same as HTML_PRESERVE_NODE
; 2989 : */
; 2990 : ctxt->sax->cdataBlock(ctxt->userData, buf, nbchar);
mov esi, esp
mov ecx, DWORD PTR _nbchar$[ebp]
push ecx
lea edx, DWORD PTR _buf$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+100]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
jmp SHORT $LN1@htmlParseS
$LN32@htmlParseS:
; 2991 : } else if (ctxt->sax->characters != NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+68], 0
je SHORT $LN1@htmlParseS
; 2992 : ctxt->sax->characters(ctxt->userData, buf, nbchar);
mov esi, esp
mov ecx, DWORD PTR _nbchar$[ebp]
push ecx
lea edx, DWORD PTR _buf$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+68]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseS:
; 2993 : }
; 2994 : }
; 2995 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN39@htmlParseS
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 1036 ; 0000040cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN39@htmlParseS:
DD 2
DD $LN38@htmlParseS
$LN38@htmlParseS:
DD -1012 ; fffffc0cH
DD 1005 ; 000003edH
DD $LN36@htmlParseS
DD -1032 ; fffffbf8H
DD 4
DD $LN37@htmlParseS
$LN37@htmlParseS:
DB 108 ; 0000006cH
DB 0
$LN36@htmlParseS:
DB 98 ; 00000062H
DB 117 ; 00000075H
DB 102 ; 00000066H
DB 0
_htmlParseScript ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParsePubidLiteral
_TEXT SEGMENT
_ret$ = -12 ; size = 4
_startPosition$ = -8 ; size = 4
_len$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParsePubidLiteral PROC ; COMDAT
; 2848 : htmlParsePubidLiteral(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2849 : size_t len = 0, startPosition = 0;
mov DWORD PTR _len$[ebp], 0
mov DWORD PTR _startPosition$[ebp], 0
; 2850 : xmlChar *ret = NULL;
mov DWORD PTR _ret$[ebp], 0
; 2851 : /*
; 2852 : * Name ::= (Letter | '_') (NameChar)*
; 2853 : */
; 2854 : if (CUR == '"') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 34 ; 00000022H
jne $LN6@htmlParseP
; 2855 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 2856 :
; 2857 : if (CUR_PTR < BASE_PTR)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+16]
cmp eax, DWORD PTR [edx+12]
jae SHORT $LN8@htmlParseP
; 2858 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
jmp $LN1@htmlParseP
$LN8@htmlParseP:
; 2859 : startPosition = CUR_PTR - BASE_PTR;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
mov DWORD PTR _startPosition$[ebp], edx
$LN2@htmlParseP:
; 2860 :
; 2861 : while (IS_PUBIDCHAR_CH(CUR)) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
movzx ecx, BYTE PTR _xmlIsPubidChar_tab[eax]
test ecx, ecx
je SHORT $LN3@htmlParseP
; 2862 : len++;
mov edx, DWORD PTR _len$[ebp]
add edx, 1
mov DWORD PTR _len$[ebp], edx
; 2863 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 2864 : }
jmp SHORT $LN2@htmlParseP
$LN3@htmlParseP:
; 2865 :
; 2866 : if (CUR != '"') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 34 ; 00000022H
je SHORT $LN9@htmlParseP
; 2867 : htmlParseErr(ctxt, XML_ERR_LITERAL_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BJ@CGBDHPF@Unfinished?5PubidLiteral?6@
push 44 ; 0000002cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2868 : "Unfinished PubidLiteral\n", NULL, NULL);
; 2869 : } else {
jmp SHORT $LN10@htmlParseP
$LN9@htmlParseP:
; 2870 : ret = xmlStrndup((BASE_PTR + startPosition), len);
mov eax, DWORD PTR _len$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+12]
add eax, DWORD PTR _startPosition$[ebp]
push eax
call _xmlStrndup
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2871 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
$LN10@htmlParseP:
; 2872 : }
jmp $LN7@htmlParseP
$LN6@htmlParseP:
; 2873 : } else if (CUR == '\'') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 39 ; 00000027H
jne $LN11@htmlParseP
; 2874 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 2875 :
; 2876 : if (CUR_PTR < BASE_PTR)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
cmp edx, DWORD PTR [ecx+12]
jae SHORT $LN13@htmlParseP
; 2877 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
jmp $LN1@htmlParseP
$LN13@htmlParseP:
; 2878 : startPosition = CUR_PTR - BASE_PTR;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _startPosition$[ebp], ecx
$LN4@htmlParseP:
; 2879 :
; 2880 : while ((IS_PUBIDCHAR_CH(CUR)) && (CUR != '\'')){
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
movzx eax, BYTE PTR _xmlIsPubidChar_tab[edx]
test eax, eax
je SHORT $LN5@htmlParseP
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 39 ; 00000027H
je SHORT $LN5@htmlParseP
; 2881 : len++;
mov edx, DWORD PTR _len$[ebp]
add edx, 1
mov DWORD PTR _len$[ebp], edx
; 2882 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 2883 : }
jmp SHORT $LN4@htmlParseP
$LN5@htmlParseP:
; 2884 :
; 2885 : if (CUR != '\'') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 39 ; 00000027H
je SHORT $LN14@htmlParseP
; 2886 : htmlParseErr(ctxt, XML_ERR_LITERAL_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BJ@CGBDHPF@Unfinished?5PubidLiteral?6@
push 44 ; 0000002cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2887 : "Unfinished PubidLiteral\n", NULL, NULL);
; 2888 : } else {
jmp SHORT $LN15@htmlParseP
$LN14@htmlParseP:
; 2889 : ret = xmlStrndup((BASE_PTR + startPosition), len);
mov eax, DWORD PTR _len$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+12]
add eax, DWORD PTR _startPosition$[ebp]
push eax
call _xmlStrndup
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2890 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
$LN15@htmlParseP:
; 2891 : }
; 2892 : } else {
jmp SHORT $LN7@htmlParseP
$LN11@htmlParseP:
; 2893 : htmlParseErr(ctxt, XML_ERR_LITERAL_NOT_STARTED,
push 0
push 0
push OFFSET ??_C@_0BO@CNBHKMED@PubidLiteral?5?$CC?5or?5?8?5expected?6@
push 43 ; 0000002bH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN7@htmlParseP:
; 2894 : "PubidLiteral \" or ' expected\n", NULL, NULL);
; 2895 : }
; 2896 :
; 2897 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlParseP:
; 2898 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParsePubidLiteral ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseSystemLiteral
_TEXT SEGMENT
_ret$ = -12 ; size = 4
_startPosition$ = -8 ; size = 4
_len$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseSystemLiteral PROC ; COMDAT
; 2788 : htmlParseSystemLiteral(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2789 : size_t len = 0, startPosition = 0;
mov DWORD PTR _len$[ebp], 0
mov DWORD PTR _startPosition$[ebp], 0
; 2790 : xmlChar *ret = NULL;
mov DWORD PTR _ret$[ebp], 0
; 2791 :
; 2792 : if (CUR == '"') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 34 ; 00000022H
jne $LN6@htmlParseS
; 2793 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 2794 :
; 2795 : if (CUR_PTR < BASE_PTR)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+16]
cmp eax, DWORD PTR [edx+12]
jae SHORT $LN8@htmlParseS
; 2796 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
jmp $LN1@htmlParseS
$LN8@htmlParseS:
; 2797 : startPosition = CUR_PTR - BASE_PTR;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
mov DWORD PTR _startPosition$[ebp], edx
$LN2@htmlParseS:
; 2798 :
; 2799 : while ((IS_CHAR_CH(CUR)) && (CUR != '"')) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN10@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN9@htmlParseS
$LN10@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $LN9@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
jl SHORT $LN3@htmlParseS
$LN9@htmlParseS:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 34 ; 00000022H
je SHORT $LN3@htmlParseS
; 2800 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
; 2801 : len++;
mov eax, DWORD PTR _len$[ebp]
add eax, 1
mov DWORD PTR _len$[ebp], eax
; 2802 : }
jmp SHORT $LN2@htmlParseS
$LN3@htmlParseS:
; 2803 : if (!IS_CHAR_CH(CUR)) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN13@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN11@htmlParseS
$LN13@htmlParseS:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN11@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 32 ; 00000020H
jge SHORT $LN11@htmlParseS
; 2804 : htmlParseErr(ctxt, XML_ERR_LITERAL_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BK@PPFHJEEL@Unfinished?5SystemLiteral?6@
push 44 ; 0000002cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2805 : "Unfinished SystemLiteral\n", NULL, NULL);
; 2806 : } else {
jmp SHORT $LN12@htmlParseS
$LN11@htmlParseS:
; 2807 : ret = xmlStrndup((BASE_PTR+startPosition), len);
mov eax, DWORD PTR _len$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+12]
add eax, DWORD PTR _startPosition$[ebp]
push eax
call _xmlStrndup
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2808 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
$LN12@htmlParseS:
; 2809 : }
jmp $LN7@htmlParseS
$LN6@htmlParseS:
; 2810 : } else if (CUR == '\'') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 39 ; 00000027H
jne $LN14@htmlParseS
; 2811 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 2812 :
; 2813 : if (CUR_PTR < BASE_PTR)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
cmp edx, DWORD PTR [ecx+12]
jae SHORT $LN16@htmlParseS
; 2814 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
jmp $LN1@htmlParseS
$LN16@htmlParseS:
; 2815 : startPosition = CUR_PTR - BASE_PTR;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _startPosition$[ebp], ecx
$LN4@htmlParseS:
; 2816 :
; 2817 : while ((IS_CHAR_CH(CUR)) && (CUR != '\'')) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 9
jl SHORT $LN18@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 10 ; 0000000aH
jle SHORT $LN17@htmlParseS
$LN18@htmlParseS:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 13 ; 0000000dH
je SHORT $LN17@htmlParseS
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
jl SHORT $LN5@htmlParseS
$LN17@htmlParseS:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 39 ; 00000027H
je SHORT $LN5@htmlParseS
; 2818 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 2819 : len++;
mov edx, DWORD PTR _len$[ebp]
add edx, 1
mov DWORD PTR _len$[ebp], edx
; 2820 : }
jmp SHORT $LN4@htmlParseS
$LN5@htmlParseS:
; 2821 : if (!IS_CHAR_CH(CUR)) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 9
jl SHORT $LN21@htmlParseS
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN19@htmlParseS
$LN21@htmlParseS:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
je SHORT $LN19@htmlParseS
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
jge SHORT $LN19@htmlParseS
; 2822 : htmlParseErr(ctxt, XML_ERR_LITERAL_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BK@PPFHJEEL@Unfinished?5SystemLiteral?6@
push 44 ; 0000002cH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2823 : "Unfinished SystemLiteral\n", NULL, NULL);
; 2824 : } else {
jmp SHORT $LN20@htmlParseS
$LN19@htmlParseS:
; 2825 : ret = xmlStrndup((BASE_PTR+startPosition), len);
mov edx, DWORD PTR _len$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+12]
add edx, DWORD PTR _startPosition$[ebp]
push edx
call _xmlStrndup
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2826 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
$LN20@htmlParseS:
; 2827 : }
; 2828 : } else {
jmp SHORT $LN7@htmlParseS
$LN14@htmlParseS:
; 2829 : htmlParseErr(ctxt, XML_ERR_LITERAL_NOT_STARTED,
push 0
push 0
push OFFSET ??_C@_0BA@HCBHCDID@?5or?5?8?5expected?6@
push 43 ; 0000002bH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN7@htmlParseS:
; 2830 : " or ' expected\n", NULL, NULL);
; 2831 : }
; 2832 :
; 2833 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlParseS:
; 2834 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseSystemLiteral ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseAttValue
_TEXT SEGMENT
_ret$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseAttValue PROC ; COMDAT
; 2744 : htmlParseAttValue(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2745 : xmlChar *ret = NULL;
mov DWORD PTR _ret$[ebp], 0
; 2746 :
; 2747 : if (CUR == '"') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 34 ; 00000022H
jne SHORT $LN2@htmlParseA
; 2748 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 2749 : ret = htmlParseHTMLAttribute(ctxt, '"');
push 34 ; 00000022H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseHTMLAttribute
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2750 : if (CUR != '"') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 34 ; 00000022H
je SHORT $LN4@htmlParseA
; 2751 : htmlParseErr(ctxt, XML_ERR_ATTRIBUTE_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BG@ECEGDLEC@AttValue?3?5?$CC?5expected?6@
push 40 ; 00000028H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2752 : "AttValue: \" expected\n", NULL, NULL);
; 2753 : } else
jmp SHORT $LN5@htmlParseA
$LN4@htmlParseA:
; 2754 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN5@htmlParseA:
; 2755 : } else if (CUR == '\'') {
jmp $LN3@htmlParseA
$LN2@htmlParseA:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 39 ; 00000027H
jne SHORT $LN6@htmlParseA
; 2756 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 2757 : ret = htmlParseHTMLAttribute(ctxt, '\'');
push 39 ; 00000027H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseHTMLAttribute
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2758 : if (CUR != '\'') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 39 ; 00000027H
je SHORT $LN8@htmlParseA
; 2759 : htmlParseErr(ctxt, XML_ERR_ATTRIBUTE_NOT_FINISHED,
push 0
push 0
push OFFSET ??_C@_0BG@NKOFEMFC@AttValue?3?5?8?5expected?6@
push 40 ; 00000028H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2760 : "AttValue: ' expected\n", NULL, NULL);
; 2761 : } else
jmp SHORT $LN9@htmlParseA
$LN8@htmlParseA:
; 2762 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN9@htmlParseA:
; 2763 : } else {
jmp SHORT $LN3@htmlParseA
$LN6@htmlParseA:
; 2764 : /*
; 2765 : * That's an HTMLism, the attribute value may not be quoted
; 2766 : */
; 2767 : ret = htmlParseHTMLAttribute(ctxt, 0);
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseHTMLAttribute
add esp, 8
mov DWORD PTR _ret$[ebp], eax
; 2768 : if (ret == NULL) {
cmp DWORD PTR _ret$[ebp], 0
jne SHORT $LN3@htmlParseA
; 2769 : htmlParseErr(ctxt, XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
push 0
push 0
push OFFSET ??_C@_0BK@IDNLEFDN@AttValue?3?5no?5value?5found?6@
push 41 ; 00000029H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN3@htmlParseA:
; 2770 : "AttValue: no value found\n", NULL, NULL);
; 2771 : }
; 2772 : }
; 2773 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
; 2774 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseAttValue ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseHTMLAttribute
_TEXT SEGMENT
_tmp$1 = -108 ; size = 4
_indx$2 = -104 ; size = 4
_l$3 = -96 ; size = 4
_bits$4 = -88 ; size = 4
_c$5 = -84 ; size = 4
_tmp$6 = -80 ; size = 4
_indx$7 = -76 ; size = 4
_bits$8 = -72 ; size = 4
_c$9 = -68 ; size = 4
_tmp$10 = -64 ; size = 4
_indx$11 = -60 ; size = 4
_tmp$12 = -56 ; size = 4
_indx$13 = -52 ; size = 4
_tmp$14 = -48 ; size = 4
_indx$15 = -44 ; size = 4
_bits$16 = -40 ; size = 4
_c$17 = -36 ; size = 4
_ent$ = -32 ; size = 4
_cur$ = -28 ; size = 4
_name$ = -20 ; size = 4
_out$ = -12 ; size = 4
_buffer_size$ = -8 ; size = 4
_buffer$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_stop$ = 12 ; size = 1
_htmlParseHTMLAttribute PROC ; COMDAT
; 2554 : htmlParseHTMLAttribute(htmlParserCtxtPtr ctxt, const xmlChar stop) {
push ebp
mov ebp, esp
sub esp, 108 ; 0000006cH
push esi
push edi
lea edi, DWORD PTR [ebp-108]
mov ecx, 27 ; 0000001bH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2555 : xmlChar *buffer = NULL;
mov DWORD PTR _buffer$[ebp], 0
; 2556 : int buffer_size = 0;
mov DWORD PTR _buffer_size$[ebp], 0
; 2557 : xmlChar *out = NULL;
mov DWORD PTR _out$[ebp], 0
; 2558 : const xmlChar *name = NULL;
mov DWORD PTR _name$[ebp], 0
; 2559 : const xmlChar *cur = NULL;
mov DWORD PTR _cur$[ebp], 0
; 2560 : const htmlEntityDesc * ent;
; 2561 :
; 2562 : /*
; 2563 : * allocate a translation buffer.
; 2564 : */
; 2565 : buffer_size = HTML_PARSER_BUFFER_SIZE;
mov DWORD PTR _buffer_size$[ebp], 100 ; 00000064H
; 2566 : buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar));
mov esi, esp
mov eax, DWORD PTR _buffer_size$[ebp]
push eax
call DWORD PTR _xmlMallocAtomic
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _buffer$[ebp], eax
; 2567 : if (buffer == NULL) {
cmp DWORD PTR _buffer$[ebp], 0
jne SHORT $LN15@htmlParseH
; 2568 : htmlErrMemory(ctxt, "buffer allocation failed\n");
push OFFSET ??_C@_0BK@LKGAKEEM@buffer?5allocation?5failed?6@
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlErrMemory
add esp, 8
; 2569 : return(NULL);
xor eax, eax
jmp $LN1@htmlParseH
$LN15@htmlParseH:
; 2570 : }
; 2571 : out = buffer;
mov edx, DWORD PTR _buffer$[ebp]
mov DWORD PTR _out$[ebp], edx
$LN2@htmlParseH:
; 2572 :
; 2573 : /*
; 2574 : * Ok loop until we reach one of the ending chars
; 2575 : */
; 2576 : while ((CUR != 0) && (CUR != stop)) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
test eax, eax
je $LN3@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
movzx edx, BYTE PTR _stop$[ebp]
cmp ecx, edx
je $LN3@htmlParseH
; 2577 : if ((stop == 0) && (CUR == '>')) break;
movzx eax, BYTE PTR _stop$[ebp]
test eax, eax
jne SHORT $LN16@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 62 ; 0000003eH
jne SHORT $LN16@htmlParseH
jmp $LN3@htmlParseH
$LN16@htmlParseH:
; 2578 : if ((stop == 0) && (IS_BLANK_CH(CUR))) break;
movzx edx, BYTE PTR _stop$[ebp]
test edx, edx
jne SHORT $LN17@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
je SHORT $LN18@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN19@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN18@htmlParseH
$LN19@htmlParseH:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
jne SHORT $LN17@htmlParseH
$LN18@htmlParseH:
jmp $LN3@htmlParseH
$LN17@htmlParseH:
; 2579 : if (CUR == '&') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 38 ; 00000026H
jne $LN20@htmlParseH
; 2580 : if (NXT(1) == '#') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 35 ; 00000023H
jne $LN22@htmlParseH
; 2581 : unsigned int c;
; 2582 : int bits;
; 2583 :
; 2584 : c = htmlParseCharRef(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseCharRef
add esp, 4
mov DWORD PTR _c$17[ebp], eax
; 2585 : if (c < 0x80)
cmp DWORD PTR _c$17[ebp], 128 ; 00000080H
jae SHORT $LN24@htmlParseH
; 2586 : { *out++ = c; bits= -6; }
mov edx, DWORD PTR _out$[ebp]
mov al, BYTE PTR _c$17[ebp]
mov BYTE PTR [edx], al
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$16[ebp], -6 ; fffffffaH
jmp $LN25@htmlParseH
$LN24@htmlParseH:
; 2587 : else if (c < 0x800)
cmp DWORD PTR _c$17[ebp], 2048 ; 00000800H
jae SHORT $LN26@htmlParseH
; 2588 : { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; }
mov edx, DWORD PTR _c$17[ebp]
shr edx, 6
and edx, 31 ; 0000001fH
or edx, 192 ; 000000c0H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$16[ebp], 0
jmp SHORT $LN25@htmlParseH
$LN26@htmlParseH:
; 2589 : else if (c < 0x10000)
cmp DWORD PTR _c$17[ebp], 65536 ; 00010000H
jae SHORT $LN28@htmlParseH
; 2590 : { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; }
mov edx, DWORD PTR _c$17[ebp]
shr edx, 12 ; 0000000cH
and edx, 15 ; 0000000fH
or edx, 224 ; 000000e0H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$16[ebp], 6
jmp SHORT $LN25@htmlParseH
$LN28@htmlParseH:
; 2591 : else
; 2592 : { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; }
mov edx, DWORD PTR _c$17[ebp]
shr edx, 18 ; 00000012H
and edx, 7
or edx, 240 ; 000000f0H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$16[ebp], 12 ; 0000000cH
$LN25@htmlParseH:
; 2593 :
; 2594 : for ( ; bits >= 0; bits-= 6) {
jmp SHORT $LN6@htmlParseH
$LN4@htmlParseH:
mov edx, DWORD PTR _bits$16[ebp]
sub edx, 6
mov DWORD PTR _bits$16[ebp], edx
$LN6@htmlParseH:
cmp DWORD PTR _bits$16[ebp], 0
jl SHORT $LN5@htmlParseH
; 2595 : *out++ = ((c >> bits) & 0x3F) | 0x80;
mov eax, DWORD PTR _c$17[ebp]
mov ecx, DWORD PTR _bits$16[ebp]
shr eax, cl
and eax, 63 ; 0000003fH
or eax, 128 ; 00000080H
mov ecx, DWORD PTR _out$[ebp]
mov BYTE PTR [ecx], al
mov edx, DWORD PTR _out$[ebp]
add edx, 1
mov DWORD PTR _out$[ebp], edx
; 2596 : }
jmp SHORT $LN4@htmlParseH
$LN5@htmlParseH:
; 2597 :
; 2598 : if (out - buffer > buffer_size - 100) {
mov eax, DWORD PTR _out$[ebp]
sub eax, DWORD PTR _buffer$[ebp]
mov ecx, DWORD PTR _buffer_size$[ebp]
sub ecx, 100 ; 00000064H
cmp eax, ecx
jle SHORT $LN30@htmlParseH
; 2599 : int indx = out - buffer;
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _buffer$[ebp]
mov DWORD PTR _indx$15[ebp], edx
; 2600 :
; 2601 : growBuffer(buffer);
mov eax, DWORD PTR _buffer_size$[ebp]
shl eax, 1
mov DWORD PTR _buffer_size$[ebp], eax
mov esi, esp
mov ecx, DWORD PTR _buffer_size$[ebp]
push ecx
mov edx, DWORD PTR _buffer$[ebp]
push edx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$14[ebp], eax
cmp DWORD PTR _tmp$14[ebp], 0
jne SHORT $LN31@htmlParseH
push OFFSET ??_C@_0BA@CHFIPIAO@growing?5buffer?6@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlErrMemory
add esp, 8
mov esi, esp
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
xor eax, eax
jmp $LN1@htmlParseH
$LN31@htmlParseH:
mov edx, DWORD PTR _tmp$14[ebp]
mov DWORD PTR _buffer$[ebp], edx
; 2602 : out = &buffer[indx];
mov eax, DWORD PTR _buffer$[ebp]
add eax, DWORD PTR _indx$15[ebp]
mov DWORD PTR _out$[ebp], eax
$LN30@htmlParseH:
; 2603 : }
; 2604 : } else {
jmp $LN23@htmlParseH
$LN22@htmlParseH:
; 2605 : ent = htmlParseEntityRef(ctxt, &name);
lea ecx, DWORD PTR _name$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseEntityRef
add esp, 8
mov DWORD PTR _ent$[ebp], eax
; 2606 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne $LN32@htmlParseH
; 2607 : *out++ = '&';
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], 38 ; 00000026H
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
; 2608 : if (out - buffer > buffer_size - 100) {
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _buffer$[ebp]
mov eax, DWORD PTR _buffer_size$[ebp]
sub eax, 100 ; 00000064H
cmp edx, eax
jle SHORT $LN34@htmlParseH
; 2609 : int indx = out - buffer;
mov ecx, DWORD PTR _out$[ebp]
sub ecx, DWORD PTR _buffer$[ebp]
mov DWORD PTR _indx$13[ebp], ecx
; 2610 :
; 2611 : growBuffer(buffer);
mov edx, DWORD PTR _buffer_size$[ebp]
shl edx, 1
mov DWORD PTR _buffer_size$[ebp], edx
mov esi, esp
mov eax, DWORD PTR _buffer_size$[ebp]
push eax
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$12[ebp], eax
cmp DWORD PTR _tmp$12[ebp], 0
jne SHORT $LN35@htmlParseH
push OFFSET ??_C@_0BA@CHFIPIAO@growing?5buffer?6@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlErrMemory
add esp, 8
mov esi, esp
mov eax, DWORD PTR _buffer$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
xor eax, eax
jmp $LN1@htmlParseH
$LN35@htmlParseH:
mov ecx, DWORD PTR _tmp$12[ebp]
mov DWORD PTR _buffer$[ebp], ecx
; 2612 : out = &buffer[indx];
mov edx, DWORD PTR _buffer$[ebp]
add edx, DWORD PTR _indx$13[ebp]
mov DWORD PTR _out$[ebp], edx
$LN34@htmlParseH:
; 2613 : }
jmp $LN23@htmlParseH
$LN32@htmlParseH:
; 2614 : } else if (ent == NULL) {
cmp DWORD PTR _ent$[ebp], 0
jne $LN36@htmlParseH
; 2615 : *out++ = '&';
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], 38 ; 00000026H
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
; 2616 : cur = name;
mov edx, DWORD PTR _name$[ebp]
mov DWORD PTR _cur$[ebp], edx
$LN7@htmlParseH:
; 2617 : while (*cur != 0) {
mov eax, DWORD PTR _cur$[ebp]
movzx ecx, BYTE PTR [eax]
test ecx, ecx
je $LN8@htmlParseH
; 2618 : if (out - buffer > buffer_size - 100) {
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _buffer$[ebp]
mov eax, DWORD PTR _buffer_size$[ebp]
sub eax, 100 ; 00000064H
cmp edx, eax
jle SHORT $LN38@htmlParseH
; 2619 : int indx = out - buffer;
mov ecx, DWORD PTR _out$[ebp]
sub ecx, DWORD PTR _buffer$[ebp]
mov DWORD PTR _indx$11[ebp], ecx
; 2620 :
; 2621 : growBuffer(buffer);
mov edx, DWORD PTR _buffer_size$[ebp]
shl edx, 1
mov DWORD PTR _buffer_size$[ebp], edx
mov esi, esp
mov eax, DWORD PTR _buffer_size$[ebp]
push eax
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$10[ebp], eax
cmp DWORD PTR _tmp$10[ebp], 0
jne SHORT $LN39@htmlParseH
push OFFSET ??_C@_0BA@CHFIPIAO@growing?5buffer?6@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlErrMemory
add esp, 8
mov esi, esp
mov eax, DWORD PTR _buffer$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
xor eax, eax
jmp $LN1@htmlParseH
$LN39@htmlParseH:
mov ecx, DWORD PTR _tmp$10[ebp]
mov DWORD PTR _buffer$[ebp], ecx
; 2622 : out = &buffer[indx];
mov edx, DWORD PTR _buffer$[ebp]
add edx, DWORD PTR _indx$11[ebp]
mov DWORD PTR _out$[ebp], edx
$LN38@htmlParseH:
; 2623 : }
; 2624 : *out++ = *cur++;
mov eax, DWORD PTR _out$[ebp]
mov ecx, DWORD PTR _cur$[ebp]
mov dl, BYTE PTR [ecx]
mov BYTE PTR [eax], dl
mov eax, DWORD PTR _out$[ebp]
add eax, 1
mov DWORD PTR _out$[ebp], eax
mov ecx, DWORD PTR _cur$[ebp]
add ecx, 1
mov DWORD PTR _cur$[ebp], ecx
; 2625 : }
jmp $LN7@htmlParseH
$LN8@htmlParseH:
; 2626 : } else {
jmp $LN23@htmlParseH
$LN36@htmlParseH:
; 2627 : unsigned int c;
; 2628 : int bits;
; 2629 :
; 2630 : if (out - buffer > buffer_size - 100) {
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _buffer$[ebp]
mov eax, DWORD PTR _buffer_size$[ebp]
sub eax, 100 ; 00000064H
cmp edx, eax
jle SHORT $LN40@htmlParseH
; 2631 : int indx = out - buffer;
mov ecx, DWORD PTR _out$[ebp]
sub ecx, DWORD PTR _buffer$[ebp]
mov DWORD PTR _indx$7[ebp], ecx
; 2632 :
; 2633 : growBuffer(buffer);
mov edx, DWORD PTR _buffer_size$[ebp]
shl edx, 1
mov DWORD PTR _buffer_size$[ebp], edx
mov esi, esp
mov eax, DWORD PTR _buffer_size$[ebp]
push eax
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$6[ebp], eax
cmp DWORD PTR _tmp$6[ebp], 0
jne SHORT $LN41@htmlParseH
push OFFSET ??_C@_0BA@CHFIPIAO@growing?5buffer?6@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlErrMemory
add esp, 8
mov esi, esp
mov eax, DWORD PTR _buffer$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
xor eax, eax
jmp $LN1@htmlParseH
$LN41@htmlParseH:
mov ecx, DWORD PTR _tmp$6[ebp]
mov DWORD PTR _buffer$[ebp], ecx
; 2634 : out = &buffer[indx];
mov edx, DWORD PTR _buffer$[ebp]
add edx, DWORD PTR _indx$7[ebp]
mov DWORD PTR _out$[ebp], edx
$LN40@htmlParseH:
; 2635 : }
; 2636 : c = ent->value;
mov eax, DWORD PTR _ent$[ebp]
mov ecx, DWORD PTR [eax]
mov DWORD PTR _c$9[ebp], ecx
; 2637 : if (c < 0x80)
cmp DWORD PTR _c$9[ebp], 128 ; 00000080H
jae SHORT $LN42@htmlParseH
; 2638 : { *out++ = c; bits= -6; }
mov edx, DWORD PTR _out$[ebp]
mov al, BYTE PTR _c$9[ebp]
mov BYTE PTR [edx], al
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$8[ebp], -6 ; fffffffaH
jmp $LN43@htmlParseH
$LN42@htmlParseH:
; 2639 : else if (c < 0x800)
cmp DWORD PTR _c$9[ebp], 2048 ; 00000800H
jae SHORT $LN44@htmlParseH
; 2640 : { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; }
mov edx, DWORD PTR _c$9[ebp]
shr edx, 6
and edx, 31 ; 0000001fH
or edx, 192 ; 000000c0H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$8[ebp], 0
jmp SHORT $LN43@htmlParseH
$LN44@htmlParseH:
; 2641 : else if (c < 0x10000)
cmp DWORD PTR _c$9[ebp], 65536 ; 00010000H
jae SHORT $LN46@htmlParseH
; 2642 : { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; }
mov edx, DWORD PTR _c$9[ebp]
shr edx, 12 ; 0000000cH
and edx, 15 ; 0000000fH
or edx, 224 ; 000000e0H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$8[ebp], 6
jmp SHORT $LN43@htmlParseH
$LN46@htmlParseH:
; 2643 : else
; 2644 : { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; }
mov edx, DWORD PTR _c$9[ebp]
shr edx, 18 ; 00000012H
and edx, 7
or edx, 240 ; 000000f0H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
mov DWORD PTR _bits$8[ebp], 12 ; 0000000cH
$LN43@htmlParseH:
; 2645 :
; 2646 : for ( ; bits >= 0; bits-= 6) {
jmp SHORT $LN11@htmlParseH
$LN9@htmlParseH:
mov edx, DWORD PTR _bits$8[ebp]
sub edx, 6
mov DWORD PTR _bits$8[ebp], edx
$LN11@htmlParseH:
cmp DWORD PTR _bits$8[ebp], 0
jl SHORT $LN23@htmlParseH
; 2647 : *out++ = ((c >> bits) & 0x3F) | 0x80;
mov eax, DWORD PTR _c$9[ebp]
mov ecx, DWORD PTR _bits$8[ebp]
shr eax, cl
and eax, 63 ; 0000003fH
or eax, 128 ; 00000080H
mov ecx, DWORD PTR _out$[ebp]
mov BYTE PTR [ecx], al
mov edx, DWORD PTR _out$[ebp]
add edx, 1
mov DWORD PTR _out$[ebp], edx
; 2648 : }
jmp SHORT $LN9@htmlParseH
$LN23@htmlParseH:
; 2649 : }
; 2650 : }
; 2651 : } else {
jmp $LN21@htmlParseH
$LN20@htmlParseH:
; 2652 : unsigned int c;
; 2653 : int bits, l;
; 2654 :
; 2655 : if (out - buffer > buffer_size - 100) {
mov eax, DWORD PTR _out$[ebp]
sub eax, DWORD PTR _buffer$[ebp]
mov ecx, DWORD PTR _buffer_size$[ebp]
sub ecx, 100 ; 00000064H
cmp eax, ecx
jle SHORT $LN48@htmlParseH
; 2656 : int indx = out - buffer;
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _buffer$[ebp]
mov DWORD PTR _indx$2[ebp], edx
; 2657 :
; 2658 : growBuffer(buffer);
mov eax, DWORD PTR _buffer_size$[ebp]
shl eax, 1
mov DWORD PTR _buffer_size$[ebp], eax
mov esi, esp
mov ecx, DWORD PTR _buffer_size$[ebp]
push ecx
mov edx, DWORD PTR _buffer$[ebp]
push edx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$1[ebp], eax
cmp DWORD PTR _tmp$1[ebp], 0
jne SHORT $LN49@htmlParseH
push OFFSET ??_C@_0BA@CHFIPIAO@growing?5buffer?6@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlErrMemory
add esp, 8
mov esi, esp
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
xor eax, eax
jmp $LN1@htmlParseH
$LN49@htmlParseH:
mov edx, DWORD PTR _tmp$1[ebp]
mov DWORD PTR _buffer$[ebp], edx
; 2659 : out = &buffer[indx];
mov eax, DWORD PTR _buffer$[ebp]
add eax, DWORD PTR _indx$2[ebp]
mov DWORD PTR _out$[ebp], eax
$LN48@htmlParseH:
; 2660 : }
; 2661 : c = CUR_CHAR(l);
lea ecx, DWORD PTR _l$3[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _c$5[ebp], eax
; 2662 : if (c < 0x80)
cmp DWORD PTR _c$5[ebp], 128 ; 00000080H
jae SHORT $LN50@htmlParseH
; 2663 : { *out++ = c; bits= -6; }
mov eax, DWORD PTR _out$[ebp]
mov cl, BYTE PTR _c$5[ebp]
mov BYTE PTR [eax], cl
mov edx, DWORD PTR _out$[ebp]
add edx, 1
mov DWORD PTR _out$[ebp], edx
mov DWORD PTR _bits$4[ebp], -6 ; fffffffaH
jmp SHORT $LN51@htmlParseH
$LN50@htmlParseH:
; 2664 : else if (c < 0x800)
cmp DWORD PTR _c$5[ebp], 2048 ; 00000800H
jae SHORT $LN52@htmlParseH
; 2665 : { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; }
mov eax, DWORD PTR _c$5[ebp]
shr eax, 6
and eax, 31 ; 0000001fH
or eax, 192 ; 000000c0H
mov ecx, DWORD PTR _out$[ebp]
mov BYTE PTR [ecx], al
mov edx, DWORD PTR _out$[ebp]
add edx, 1
mov DWORD PTR _out$[ebp], edx
mov DWORD PTR _bits$4[ebp], 0
jmp SHORT $LN51@htmlParseH
$LN52@htmlParseH:
; 2666 : else if (c < 0x10000)
cmp DWORD PTR _c$5[ebp], 65536 ; 00010000H
jae SHORT $LN54@htmlParseH
; 2667 : { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; }
mov eax, DWORD PTR _c$5[ebp]
shr eax, 12 ; 0000000cH
and eax, 15 ; 0000000fH
or eax, 224 ; 000000e0H
mov ecx, DWORD PTR _out$[ebp]
mov BYTE PTR [ecx], al
mov edx, DWORD PTR _out$[ebp]
add edx, 1
mov DWORD PTR _out$[ebp], edx
mov DWORD PTR _bits$4[ebp], 6
jmp SHORT $LN51@htmlParseH
$LN54@htmlParseH:
; 2668 : else
; 2669 : { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; }
mov eax, DWORD PTR _c$5[ebp]
shr eax, 18 ; 00000012H
and eax, 7
or eax, 240 ; 000000f0H
mov ecx, DWORD PTR _out$[ebp]
mov BYTE PTR [ecx], al
mov edx, DWORD PTR _out$[ebp]
add edx, 1
mov DWORD PTR _out$[ebp], edx
mov DWORD PTR _bits$4[ebp], 12 ; 0000000cH
$LN51@htmlParseH:
; 2670 :
; 2671 : for ( ; bits >= 0; bits-= 6) {
jmp SHORT $LN14@htmlParseH
$LN12@htmlParseH:
mov eax, DWORD PTR _bits$4[ebp]
sub eax, 6
mov DWORD PTR _bits$4[ebp], eax
$LN14@htmlParseH:
cmp DWORD PTR _bits$4[ebp], 0
jl SHORT $LN13@htmlParseH
; 2672 : *out++ = ((c >> bits) & 0x3F) | 0x80;
mov edx, DWORD PTR _c$5[ebp]
mov ecx, DWORD PTR _bits$4[ebp]
shr edx, cl
and edx, 63 ; 0000003fH
or edx, 128 ; 00000080H
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], dl
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
; 2673 : }
jmp SHORT $LN12@htmlParseH
$LN13@htmlParseH:
; 2674 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN21@htmlParseH:
; 2675 : }
; 2676 : }
jmp $LN2@htmlParseH
$LN3@htmlParseH:
; 2677 : *out = 0;
mov eax, DWORD PTR _out$[ebp]
mov BYTE PTR [eax], 0
; 2678 : return(buffer);
mov eax, DWORD PTR _buffer$[ebp]
$LN1@htmlParseH:
; 2679 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN60@htmlParseH
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 108 ; 0000006cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN60@htmlParseH:
DD 2
DD $LN59@htmlParseH
$LN59@htmlParseH:
DD -20 ; ffffffecH
DD 4
DD $LN57@htmlParseH
DD -96 ; ffffffa0H
DD 4
DD $LN58@htmlParseH
$LN58@htmlParseH:
DB 108 ; 0000006cH
DB 0
$LN57@htmlParseH:
DB 110 ; 0000006eH
DB 97 ; 00000061H
DB 109 ; 0000006dH
DB 101 ; 00000065H
DB 0
_htmlParseHTMLAttribute ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseName
_TEXT SEGMENT
_count$ = -12 ; size = 4
_ret$ = -8 ; size = 4
_in$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseName PROC ; COMDAT
; 2454 : htmlParseName(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2455 : const xmlChar *in;
; 2456 : const xmlChar *ret;
; 2457 : int count = 0;
mov DWORD PTR _count$[ebp], 0
; 2458 :
; 2459 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN4@htmlParseN
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN4@htmlParseN
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN4@htmlParseN:
; 2460 :
; 2461 : /*
; 2462 : * Accelerator for simple ASCII names
; 2463 : */
; 2464 : in = ctxt->input->cur;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov DWORD PTR _in$[ebp], ecx
; 2465 : if (((*in >= 0x61) && (*in <= 0x7A)) ||
; 2466 : ((*in >= 0x41) && (*in <= 0x5A)) ||
; 2467 : (*in == '_') || (*in == ':')) {
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 97 ; 00000061H
jl SHORT $LN7@htmlParseN
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 122 ; 0000007aH
jle SHORT $LN6@htmlParseN
$LN7@htmlParseN:
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 65 ; 00000041H
jl SHORT $LN8@htmlParseN
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 90 ; 0000005aH
jle SHORT $LN6@htmlParseN
$LN8@htmlParseN:
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 95 ; 0000005fH
je SHORT $LN6@htmlParseN
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 58 ; 0000003aH
jne $LN5@htmlParseN
$LN6@htmlParseN:
; 2468 : in++;
mov edx, DWORD PTR _in$[ebp]
add edx, 1
mov DWORD PTR _in$[ebp], edx
$LN2@htmlParseN:
; 2469 : while (((*in >= 0x61) && (*in <= 0x7A)) ||
; 2470 : ((*in >= 0x41) && (*in <= 0x5A)) ||
; 2471 : ((*in >= 0x30) && (*in <= 0x39)) ||
; 2472 : (*in == '_') || (*in == '-') ||
; 2473 : (*in == ':') || (*in == '.'))
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 97 ; 00000061H
jl SHORT $LN10@htmlParseN
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 122 ; 0000007aH
jle SHORT $LN9@htmlParseN
$LN10@htmlParseN:
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 65 ; 00000041H
jl SHORT $LN11@htmlParseN
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 90 ; 0000005aH
jle SHORT $LN9@htmlParseN
$LN11@htmlParseN:
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 48 ; 00000030H
jl SHORT $LN12@htmlParseN
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 57 ; 00000039H
jle SHORT $LN9@htmlParseN
$LN12@htmlParseN:
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 95 ; 0000005fH
je SHORT $LN9@htmlParseN
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 45 ; 0000002dH
je SHORT $LN9@htmlParseN
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 58 ; 0000003aH
je SHORT $LN9@htmlParseN
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 46 ; 0000002eH
jne SHORT $LN3@htmlParseN
$LN9@htmlParseN:
; 2474 : in++;
mov edx, DWORD PTR _in$[ebp]
add edx, 1
mov DWORD PTR _in$[ebp], edx
jmp SHORT $LN2@htmlParseN
$LN3@htmlParseN:
; 2475 :
; 2476 : if (in == ctxt->input->end)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _in$[ebp]
cmp edx, DWORD PTR [ecx+20]
jne SHORT $LN13@htmlParseN
; 2477 : return(NULL);
xor eax, eax
jmp $LN1@htmlParseN
$LN13@htmlParseN:
; 2478 :
; 2479 : if ((*in > 0) && (*in < 0x80)) {
mov eax, DWORD PTR _in$[ebp]
movzx ecx, BYTE PTR [eax]
test ecx, ecx
jle SHORT $LN5@htmlParseN
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 128 ; 00000080H
jge SHORT $LN5@htmlParseN
; 2480 : count = in - ctxt->input->cur;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _in$[ebp]
sub eax, DWORD PTR [edx+16]
mov DWORD PTR _count$[ebp], eax
; 2481 : ret = xmlDictLookup(ctxt->dict, ctxt->input->cur, count);
mov ecx, DWORD PTR _count$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+296]
push eax
call _xmlDictLookup
add esp, 12 ; 0000000cH
mov DWORD PTR _ret$[ebp], eax
; 2482 : ctxt->input->cur = in;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _in$[ebp]
mov DWORD PTR [edx+16], eax
; 2483 : ctxt->nbChars += count;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, DWORD PTR _count$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
; 2484 : ctxt->input->col += count;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, DWORD PTR _count$[ebp]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
; 2485 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
jmp SHORT $LN1@htmlParseN
$LN5@htmlParseN:
; 2486 : }
; 2487 : }
; 2488 : return(htmlParseNameComplex(ctxt));
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseNameComplex
add esp, 4
$LN1@htmlParseN:
; 2489 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseName ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseHTMLName_nonInvasive
_TEXT SEGMENT
_loc$ = -108 ; size = 100
_i$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseHTMLName_nonInvasive PROC ; COMDAT
; 2425 : htmlParseHTMLName_nonInvasive(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 112 ; 00000070H
push edi
lea edi, DWORD PTR [ebp-112]
mov ecx, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2426 : int i = 0;
mov DWORD PTR _i$[ebp], 0
; 2427 : xmlChar loc[HTML_PARSER_BUFFER_SIZE];
; 2428 :
; 2429 : if (!IS_ASCII_LETTER(NXT(1)) && (NXT(1) != '_') &&
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 65 ; 00000041H
jl SHORT $LN5@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 90 ; 0000005aH
jle SHORT $LN2@htmlParseH
$LN5@htmlParseH:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 97 ; 00000061H
jl SHORT $LN6@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 122 ; 0000007aH
jle SHORT $LN2@htmlParseH
$LN6@htmlParseH:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 95 ; 0000005fH
je SHORT $LN2@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 58 ; 0000003aH
je SHORT $LN2@htmlParseH
; 2430 : (NXT(1) != ':')) return(NULL);
xor eax, eax
jmp $LN1@htmlParseH
$LN2@htmlParseH:
; 2431 :
; 2432 : while ((i < HTML_PARSER_BUFFER_SIZE) &&
cmp DWORD PTR _i$[ebp], 100 ; 00000064H
jge $LN3@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
mov eax, DWORD PTR _i$[ebp]
movzx ecx, BYTE PTR [edx+eax+1]
cmp ecx, 65 ; 00000041H
jl SHORT $LN8@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov edx, DWORD PTR _i$[ebp]
movzx eax, BYTE PTR [ecx+edx+1]
cmp eax, 90 ; 0000005aH
jle $LN7@htmlParseH
$LN8@htmlParseH:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov ecx, DWORD PTR _i$[ebp]
movzx edx, BYTE PTR [eax+ecx+1]
cmp edx, 97 ; 00000061H
jl SHORT $LN9@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
mov eax, DWORD PTR _i$[ebp]
movzx ecx, BYTE PTR [edx+eax+1]
cmp ecx, 122 ; 0000007aH
jle SHORT $LN7@htmlParseH
$LN9@htmlParseH:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov edx, DWORD PTR _i$[ebp]
movzx eax, BYTE PTR [ecx+edx+1]
cmp eax, 48 ; 00000030H
jl SHORT $LN10@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov ecx, DWORD PTR _i$[ebp]
movzx edx, BYTE PTR [eax+ecx+1]
cmp edx, 57 ; 00000039H
jle SHORT $LN7@htmlParseH
$LN10@htmlParseH:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
mov eax, DWORD PTR _i$[ebp]
movzx ecx, BYTE PTR [edx+eax+1]
cmp ecx, 58 ; 0000003aH
je SHORT $LN7@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov edx, DWORD PTR _i$[ebp]
movzx eax, BYTE PTR [ecx+edx+1]
cmp eax, 45 ; 0000002dH
je SHORT $LN7@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov ecx, DWORD PTR _i$[ebp]
movzx edx, BYTE PTR [eax+ecx+1]
cmp edx, 95 ; 0000005fH
jne SHORT $LN3@htmlParseH
$LN7@htmlParseH:
; 2433 : ((IS_ASCII_LETTER(NXT(1+i))) || (IS_ASCII_DIGIT(NXT(1+i))) ||
; 2434 : (NXT(1+i) == ':') || (NXT(1+i) == '-') || (NXT(1+i) == '_'))) {
; 2435 : if ((NXT(1+i) >= 'A') && (NXT(1+i) <= 'Z')) loc[i] = NXT(1+i) + 0x20;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
mov eax, DWORD PTR _i$[ebp]
movzx ecx, BYTE PTR [edx+eax+1]
cmp ecx, 65 ; 00000041H
jl SHORT $LN11@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov edx, DWORD PTR _i$[ebp]
movzx eax, BYTE PTR [ecx+edx+1]
cmp eax, 90 ; 0000005aH
jg SHORT $LN11@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov ecx, DWORD PTR _i$[ebp]
movzx edx, BYTE PTR [eax+ecx+1]
add edx, 32 ; 00000020H
mov eax, DWORD PTR _i$[ebp]
mov BYTE PTR _loc$[ebp+eax], dl
jmp SHORT $LN12@htmlParseH
$LN11@htmlParseH:
; 2436 : else loc[i] = NXT(1+i);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov ecx, DWORD PTR _i$[ebp]
mov edx, DWORD PTR _i$[ebp]
mov al, BYTE PTR [eax+edx+1]
mov BYTE PTR _loc$[ebp+ecx], al
$LN12@htmlParseH:
; 2437 : i++;
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
; 2438 : }
jmp $LN2@htmlParseH
$LN3@htmlParseH:
; 2439 :
; 2440 : return(xmlDictLookup(ctxt->dict, loc, i));
mov edx, DWORD PTR _i$[ebp]
push edx
lea eax, DWORD PTR _loc$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+296]
push edx
call _xmlDictLookup
add esp, 12 ; 0000000cH
$LN1@htmlParseH:
; 2441 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN16@htmlParseH
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 112 ; 00000070H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN16@htmlParseH:
DD 1
DD $LN15@htmlParseH
$LN15@htmlParseH:
DD -108 ; ffffff94H
DD 100 ; 00000064H
DD $LN14@htmlParseH
$LN14@htmlParseH:
DB 108 ; 0000006cH
DB 111 ; 0000006fH
DB 99 ; 00000063H
DB 0
_htmlParseHTMLName_nonInvasive ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseHTMLName
_TEXT SEGMENT
_loc$ = -108 ; size = 100
_i$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseHTMLName PROC ; COMDAT
; 2391 : htmlParseHTMLName(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 112 ; 00000070H
push edi
lea edi, DWORD PTR [ebp-112]
mov ecx, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2392 : int i = 0;
mov DWORD PTR _i$[ebp], 0
; 2393 : xmlChar loc[HTML_PARSER_BUFFER_SIZE];
; 2394 :
; 2395 : if (!IS_ASCII_LETTER(CUR) && (CUR != '_') &&
; 2396 : (CUR != ':') && (CUR != '.')) return(NULL);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 65 ; 00000041H
jl SHORT $LN5@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 90 ; 0000005aH
jle SHORT $LN2@htmlParseH
$LN5@htmlParseH:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 97 ; 00000061H
jl SHORT $LN6@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 122 ; 0000007aH
jle SHORT $LN2@htmlParseH
$LN6@htmlParseH:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 95 ; 0000005fH
je SHORT $LN2@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 58 ; 0000003aH
je SHORT $LN2@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 46 ; 0000002eH
je SHORT $LN2@htmlParseH
xor eax, eax
jmp $LN1@htmlParseH
$LN2@htmlParseH:
; 2397 :
; 2398 : while ((i < HTML_PARSER_BUFFER_SIZE) &&
cmp DWORD PTR _i$[ebp], 100 ; 00000064H
jge $LN3@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 65 ; 00000041H
jl SHORT $LN8@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 90 ; 0000005aH
jle $LN7@htmlParseH
$LN8@htmlParseH:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 97 ; 00000061H
jl SHORT $LN9@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 122 ; 0000007aH
jle SHORT $LN7@htmlParseH
$LN9@htmlParseH:
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 48 ; 00000030H
jl SHORT $LN10@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 57 ; 00000039H
jle SHORT $LN7@htmlParseH
$LN10@htmlParseH:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 58 ; 0000003aH
je SHORT $LN7@htmlParseH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 45 ; 0000002dH
je SHORT $LN7@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 95 ; 0000005fH
je SHORT $LN7@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 46 ; 0000002eH
jne SHORT $LN3@htmlParseH
$LN7@htmlParseH:
; 2399 : ((IS_ASCII_LETTER(CUR)) || (IS_ASCII_DIGIT(CUR)) ||
; 2400 : (CUR == ':') || (CUR == '-') || (CUR == '_') ||
; 2401 : (CUR == '.'))) {
; 2402 : if ((CUR >= 'A') && (CUR <= 'Z')) loc[i] = CUR + 0x20;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 65 ; 00000041H
jl SHORT $LN11@htmlParseH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 90 ; 0000005aH
jg SHORT $LN11@htmlParseH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
add ecx, 32 ; 00000020H
mov edx, DWORD PTR _i$[ebp]
mov BYTE PTR _loc$[ebp+edx], cl
jmp SHORT $LN12@htmlParseH
$LN11@htmlParseH:
; 2403 : else loc[i] = CUR;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
mov eax, DWORD PTR _i$[ebp]
mov cl, BYTE PTR [edx]
mov BYTE PTR _loc$[ebp+eax], cl
$LN12@htmlParseH:
; 2404 : i++;
mov edx, DWORD PTR _i$[ebp]
add edx, 1
mov DWORD PTR _i$[ebp], edx
; 2405 :
; 2406 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 2407 : }
jmp $LN2@htmlParseH
$LN3@htmlParseH:
; 2408 :
; 2409 : return(xmlDictLookup(ctxt->dict, loc, i));
mov ecx, DWORD PTR _i$[ebp]
push ecx
lea edx, DWORD PTR _loc$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+296]
push ecx
call _xmlDictLookup
add esp, 12 ; 0000000cH
$LN1@htmlParseH:
; 2410 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN16@htmlParseH
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 112 ; 00000070H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN16@htmlParseH:
DD 1
DD $LN15@htmlParseH
$LN15@htmlParseH:
DD -108 ; ffffff94H
DD 100 ; 00000064H
DD $LN14@htmlParseH
$LN14@htmlParseH:
DB 108 ; 0000006cH
DB 111 ; 0000006fH
DB 99 ; 00000063H
DB 0
_htmlParseHTMLName ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseNameComplex
_TEXT SEGMENT
tv200 = -88 ; size = 4
tv199 = -84 ; size = 4
tv195 = -80 ; size = 4
tv194 = -76 ; size = 4
tv187 = -72 ; size = 4
tv177 = -68 ; size = 4
tv176 = -64 ; size = 4
tv167 = -60 ; size = 4
tv168 = -56 ; size = 4
tv159 = -52 ; size = 4
tv158 = -48 ; size = 4
tv137 = -44 ; size = 4
tv138 = -40 ; size = 4
tv129 = -36 ; size = 4
tv128 = -32 ; size = 4
_base$ = -28 ; size = 4
_count$ = -24 ; size = 4
_c$ = -20 ; size = 4
_l$ = -12 ; size = 4
_len$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseNameComplex PROC ; COMDAT
; 2492 : htmlParseNameComplex(xmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 88 ; 00000058H
push edi
lea edi, DWORD PTR [ebp-88]
mov ecx, 22 ; 00000016H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2493 : int len = 0, l;
mov DWORD PTR _len$[ebp], 0
; 2494 : int c;
; 2495 : int count = 0;
mov DWORD PTR _count$[ebp], 0
; 2496 : const xmlChar *base = ctxt->input->base;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+12]
mov DWORD PTR _base$[ebp], edx
; 2497 :
; 2498 : /*
; 2499 : * Handler for more complex cases
; 2500 : */
; 2501 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN7@htmlParseN
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN7@htmlParseN
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN7@htmlParseN:
; 2502 : c = CUR_CHAR(l);
lea edx, DWORD PTR _l$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _c$[ebp], eax
; 2503 : if ((c == ' ') || (c == '>') || (c == '/') || /* accelerators */
cmp DWORD PTR _c$[ebp], 32 ; 00000020H
je $LN9@htmlParseN
cmp DWORD PTR _c$[ebp], 62 ; 0000003eH
je $LN9@htmlParseN
cmp DWORD PTR _c$[ebp], 47 ; 0000002fH
je $LN9@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN24@htmlParseN
cmp DWORD PTR _c$[ebp], 65 ; 00000041H
jl SHORT $LN18@htmlParseN
cmp DWORD PTR _c$[ebp], 90 ; 0000005aH
jle SHORT $LN20@htmlParseN
$LN18@htmlParseN:
cmp DWORD PTR _c$[ebp], 97 ; 00000061H
jl SHORT $LN19@htmlParseN
cmp DWORD PTR _c$[ebp], 122 ; 0000007aH
jle SHORT $LN20@htmlParseN
$LN19@htmlParseN:
cmp DWORD PTR _c$[ebp], 192 ; 000000c0H
jl SHORT $LN21@htmlParseN
cmp DWORD PTR _c$[ebp], 214 ; 000000d6H
jle SHORT $LN20@htmlParseN
$LN21@htmlParseN:
cmp DWORD PTR _c$[ebp], 216 ; 000000d8H
jl SHORT $LN22@htmlParseN
cmp DWORD PTR _c$[ebp], 246 ; 000000f6H
jle SHORT $LN20@htmlParseN
$LN22@htmlParseN:
cmp DWORD PTR _c$[ebp], 248 ; 000000f8H
jge SHORT $LN20@htmlParseN
mov DWORD PTR tv128[ebp], 0
jmp SHORT $LN23@htmlParseN
$LN20@htmlParseN:
mov DWORD PTR tv128[ebp], 1
$LN23@htmlParseN:
mov ecx, DWORD PTR tv128[ebp]
mov DWORD PTR tv129[ebp], ecx
jmp SHORT $LN25@htmlParseN
$LN24@htmlParseN:
push OFFSET _xmlIsBaseCharGroup
mov edx, DWORD PTR _c$[ebp]
push edx
call _xmlCharInRange
add esp, 8
mov DWORD PTR tv129[ebp], eax
$LN25@htmlParseN:
cmp DWORD PTR tv129[ebp], 0
jne SHORT $LN2@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN30@htmlParseN
mov DWORD PTR tv138[ebp], 0
jmp SHORT $LN31@htmlParseN
$LN30@htmlParseN:
cmp DWORD PTR _c$[ebp], 19968 ; 00004e00H
jl SHORT $LN26@htmlParseN
cmp DWORD PTR _c$[ebp], 40869 ; 00009fa5H
jle SHORT $LN27@htmlParseN
$LN26@htmlParseN:
cmp DWORD PTR _c$[ebp], 12295 ; 00003007H
je SHORT $LN27@htmlParseN
cmp DWORD PTR _c$[ebp], 12321 ; 00003021H
jl SHORT $LN28@htmlParseN
cmp DWORD PTR _c$[ebp], 12329 ; 00003029H
jle SHORT $LN27@htmlParseN
$LN28@htmlParseN:
mov DWORD PTR tv137[ebp], 0
jmp SHORT $LN29@htmlParseN
$LN27@htmlParseN:
mov DWORD PTR tv137[ebp], 1
$LN29@htmlParseN:
mov eax, DWORD PTR tv137[ebp]
mov DWORD PTR tv138[ebp], eax
$LN31@htmlParseN:
cmp DWORD PTR tv138[ebp], 0
jne SHORT $LN2@htmlParseN
cmp DWORD PTR _c$[ebp], 95 ; 0000005fH
je SHORT $LN2@htmlParseN
cmp DWORD PTR _c$[ebp], 58 ; 0000003aH
je SHORT $LN2@htmlParseN
$LN9@htmlParseN:
; 2504 : (!IS_LETTER(c) && (c != '_') &&
; 2505 : (c != ':'))) {
; 2506 : return(NULL);
xor eax, eax
jmp $LN1@htmlParseN
$LN2@htmlParseN:
; 2507 : }
; 2508 :
; 2509 : while ((c != ' ') && (c != '>') && (c != '/') && /* test bigname.xml */
cmp DWORD PTR _c$[ebp], 32 ; 00000020H
je $LN3@htmlParseN
cmp DWORD PTR _c$[ebp], 62 ; 0000003eH
je $LN3@htmlParseN
cmp DWORD PTR _c$[ebp], 47 ; 0000002fH
je $LN3@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN38@htmlParseN
cmp DWORD PTR _c$[ebp], 65 ; 00000041H
jl SHORT $LN32@htmlParseN
cmp DWORD PTR _c$[ebp], 90 ; 0000005aH
jle SHORT $LN34@htmlParseN
$LN32@htmlParseN:
cmp DWORD PTR _c$[ebp], 97 ; 00000061H
jl SHORT $LN33@htmlParseN
cmp DWORD PTR _c$[ebp], 122 ; 0000007aH
jle SHORT $LN34@htmlParseN
$LN33@htmlParseN:
cmp DWORD PTR _c$[ebp], 192 ; 000000c0H
jl SHORT $LN35@htmlParseN
cmp DWORD PTR _c$[ebp], 214 ; 000000d6H
jle SHORT $LN34@htmlParseN
$LN35@htmlParseN:
cmp DWORD PTR _c$[ebp], 216 ; 000000d8H
jl SHORT $LN36@htmlParseN
cmp DWORD PTR _c$[ebp], 246 ; 000000f6H
jle SHORT $LN34@htmlParseN
$LN36@htmlParseN:
cmp DWORD PTR _c$[ebp], 248 ; 000000f8H
jge SHORT $LN34@htmlParseN
mov DWORD PTR tv158[ebp], 0
jmp SHORT $LN37@htmlParseN
$LN34@htmlParseN:
mov DWORD PTR tv158[ebp], 1
$LN37@htmlParseN:
mov ecx, DWORD PTR tv158[ebp]
mov DWORD PTR tv159[ebp], ecx
jmp SHORT $LN39@htmlParseN
$LN38@htmlParseN:
push OFFSET _xmlIsBaseCharGroup
mov edx, DWORD PTR _c$[ebp]
push edx
call _xmlCharInRange
add esp, 8
mov DWORD PTR tv159[ebp], eax
$LN39@htmlParseN:
cmp DWORD PTR tv159[ebp], 0
jne $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN44@htmlParseN
mov DWORD PTR tv168[ebp], 0
jmp SHORT $LN45@htmlParseN
$LN44@htmlParseN:
cmp DWORD PTR _c$[ebp], 19968 ; 00004e00H
jl SHORT $LN40@htmlParseN
cmp DWORD PTR _c$[ebp], 40869 ; 00009fa5H
jle SHORT $LN41@htmlParseN
$LN40@htmlParseN:
cmp DWORD PTR _c$[ebp], 12295 ; 00003007H
je SHORT $LN41@htmlParseN
cmp DWORD PTR _c$[ebp], 12321 ; 00003021H
jl SHORT $LN42@htmlParseN
cmp DWORD PTR _c$[ebp], 12329 ; 00003029H
jle SHORT $LN41@htmlParseN
$LN42@htmlParseN:
mov DWORD PTR tv167[ebp], 0
jmp SHORT $LN43@htmlParseN
$LN41@htmlParseN:
mov DWORD PTR tv167[ebp], 1
$LN43@htmlParseN:
mov eax, DWORD PTR tv167[ebp]
mov DWORD PTR tv168[ebp], eax
$LN45@htmlParseN:
cmp DWORD PTR tv168[ebp], 0
jne $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN48@htmlParseN
cmp DWORD PTR _c$[ebp], 48 ; 00000030H
jl SHORT $LN46@htmlParseN
cmp DWORD PTR _c$[ebp], 57 ; 00000039H
jg SHORT $LN46@htmlParseN
mov DWORD PTR tv176[ebp], 1
jmp SHORT $LN47@htmlParseN
$LN46@htmlParseN:
mov DWORD PTR tv176[ebp], 0
$LN47@htmlParseN:
mov ecx, DWORD PTR tv176[ebp]
mov DWORD PTR tv177[ebp], ecx
jmp SHORT $LN49@htmlParseN
$LN48@htmlParseN:
push OFFSET _xmlIsDigitGroup
mov edx, DWORD PTR _c$[ebp]
push edx
call _xmlCharInRange
add esp, 8
mov DWORD PTR tv177[ebp], eax
$LN49@htmlParseN:
cmp DWORD PTR tv177[ebp], 0
jne $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 46 ; 0000002eH
je $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 45 ; 0000002dH
je $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 95 ; 0000005fH
je SHORT $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 58 ; 0000003aH
je SHORT $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN50@htmlParseN
mov DWORD PTR tv187[ebp], 0
jmp SHORT $LN51@htmlParseN
$LN50@htmlParseN:
push OFFSET _xmlIsCombiningGroup
mov eax, DWORD PTR _c$[ebp]
push eax
call _xmlCharInRange
add esp, 8
mov DWORD PTR tv187[ebp], eax
$LN51@htmlParseN:
cmp DWORD PTR tv187[ebp], 0
jne SHORT $LN10@htmlParseN
cmp DWORD PTR _c$[ebp], 256 ; 00000100H
jge SHORT $LN54@htmlParseN
cmp DWORD PTR _c$[ebp], 183 ; 000000b7H
jne SHORT $LN52@htmlParseN
mov DWORD PTR tv194[ebp], 1
jmp SHORT $LN53@htmlParseN
$LN52@htmlParseN:
mov DWORD PTR tv194[ebp], 0
$LN53@htmlParseN:
mov ecx, DWORD PTR tv194[ebp]
mov DWORD PTR tv195[ebp], ecx
jmp SHORT $LN55@htmlParseN
$LN54@htmlParseN:
push OFFSET _xmlIsExtenderGroup
mov edx, DWORD PTR _c$[ebp]
push edx
call _xmlCharInRange
add esp, 8
mov DWORD PTR tv195[ebp], eax
$LN55@htmlParseN:
cmp DWORD PTR tv195[ebp], 0
je $LN3@htmlParseN
$LN10@htmlParseN:
; 2510 : ((IS_LETTER(c)) || (IS_DIGIT(c)) ||
; 2511 : (c == '.') || (c == '-') ||
; 2512 : (c == '_') || (c == ':') ||
; 2513 : (IS_COMBINING(c)) ||
; 2514 : (IS_EXTENDER(c)))) {
; 2515 : if (count++ > 100) {
mov eax, DWORD PTR _count$[ebp]
mov DWORD PTR tv199[ebp], eax
mov ecx, DWORD PTR _count$[ebp]
add ecx, 1
mov DWORD PTR _count$[ebp], ecx
cmp DWORD PTR tv199[ebp], 100 ; 00000064H
jle SHORT $LN56@htmlParseN
mov DWORD PTR tv200[ebp], 1
jmp SHORT $LN57@htmlParseN
$LN56@htmlParseN:
mov DWORD PTR tv200[ebp], 0
$LN57@htmlParseN:
cmp DWORD PTR tv200[ebp], 0
je SHORT $LN11@htmlParseN
; 2516 : count = 0;
mov DWORD PTR _count$[ebp], 0
; 2517 : GROW;
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+292], 0
jne SHORT $LN11@htmlParseN
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 250 ; 000000faH
jge SHORT $LN11@htmlParseN
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
$LN11@htmlParseN:
; 2518 : }
; 2519 : len += l;
mov ecx, DWORD PTR _len$[ebp]
add ecx, DWORD PTR _l$[ebp]
mov DWORD PTR _len$[ebp], ecx
$LN6@htmlParseN:
; 2520 : NEXTL(l);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jne SHORT $LN13@htmlParseN
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+28]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+28], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], 1
jmp SHORT $LN14@htmlParseN
$LN13@htmlParseN:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
$LN14@htmlParseN:
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+176], 0
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, DWORD PTR _l$[ebp]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
xor eax, eax
jne $LN6@htmlParseN
; 2521 : c = CUR_CHAR(l);
lea ecx, DWORD PTR _l$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _c$[ebp], eax
; 2522 : if (ctxt->input->base != base) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+12]
cmp edx, DWORD PTR _base$[ebp]
je SHORT $LN15@htmlParseN
; 2523 : /*
; 2524 : * We changed encoding from an unknown encoding
; 2525 : * Input buffer changed location, so we better start again
; 2526 : */
; 2527 : return(htmlParseNameComplex(ctxt));
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseNameComplex
add esp, 4
jmp SHORT $LN1@htmlParseN
$LN15@htmlParseN:
; 2528 : }
; 2529 : }
jmp $LN2@htmlParseN
$LN3@htmlParseN:
; 2530 :
; 2531 : if (ctxt->input->cur - ctxt->input->base < len) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
cmp edx, DWORD PTR _len$[ebp]
jge SHORT $LN16@htmlParseN
; 2532 : /* Sanity check */
; 2533 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CC@JIBKNHBD@unexpected?5change?5of?5input?5buff@
push 1
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 2534 : "unexpected change of input buffer", NULL, NULL);
; 2535 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlParseN
$LN16@htmlParseN:
; 2536 : }
; 2537 :
; 2538 : return(xmlDictLookup(ctxt->dict, ctxt->input->cur - len, len));
mov ecx, DWORD PTR _len$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
sub ecx, DWORD PTR _len$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+296]
push eax
call _xmlDictLookup
add esp, 12 ; 0000000cH
$LN1@htmlParseN:
; 2539 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN60@htmlParseN
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 88 ; 00000058H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN60@htmlParseN:
DD 1
DD $LN59@htmlParseN
$LN59@htmlParseN:
DD -12 ; fffffff4H
DD 4
DD $LN58@htmlParseN
$LN58@htmlParseN:
DB 108 ; 0000006cH
DB 0
_htmlParseNameComplex ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _areBlanks
_TEXT SEGMENT
_dtd$ = -16 ; size = 4
_lastChild$ = -12 ; size = 4
_j$ = -8 ; size = 4
_i$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_str$ = 12 ; size = 4
_len$ = 16 ; size = 4
_areBlanks PROC ; COMDAT
; 2243 : static int areBlanks(htmlParserCtxtPtr ctxt, const xmlChar *str, int len) {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2244 : unsigned int i;
; 2245 : int j;
; 2246 : xmlNodePtr lastChild;
; 2247 : xmlDtdPtr dtd;
; 2248 :
; 2249 : for (j = 0;j < len;j++)
mov DWORD PTR _j$[ebp], 0
jmp SHORT $LN4@areBlanks
$LN2@areBlanks:
mov eax, DWORD PTR _j$[ebp]
add eax, 1
mov DWORD PTR _j$[ebp], eax
$LN4@areBlanks:
mov ecx, DWORD PTR _j$[ebp]
cmp ecx, DWORD PTR _len$[ebp]
jge SHORT $LN3@areBlanks
; 2250 : if (!(IS_BLANK_CH(str[j]))) return(0);
mov edx, DWORD PTR _str$[ebp]
add edx, DWORD PTR _j$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
je SHORT $LN13@areBlanks
mov ecx, DWORD PTR _str$[ebp]
add ecx, DWORD PTR _j$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 9
jl SHORT $LN14@areBlanks
mov eax, DWORD PTR _str$[ebp]
add eax, DWORD PTR _j$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jle SHORT $LN13@areBlanks
$LN14@areBlanks:
mov edx, DWORD PTR _str$[ebp]
add edx, DWORD PTR _j$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN13@areBlanks
xor eax, eax
jmp $LN1@areBlanks
$LN13@areBlanks:
jmp SHORT $LN2@areBlanks
$LN3@areBlanks:
; 2251 :
; 2252 : if (CUR == 0) return(1);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
test ecx, ecx
jne SHORT $LN15@areBlanks
mov eax, 1
jmp $LN1@areBlanks
$LN15@areBlanks:
; 2253 : if (CUR != '<') return(0);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 60 ; 0000003cH
je SHORT $LN16@areBlanks
xor eax, eax
jmp $LN1@areBlanks
$LN16@areBlanks:
; 2254 : if (ctxt->name == NULL)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+184], 0
jne SHORT $LN17@areBlanks
; 2255 : return(1);
mov eax, 1
jmp $LN1@areBlanks
$LN17@areBlanks:
; 2256 : if (xmlStrEqual(ctxt->name, BAD_CAST"html"))
push OFFSET ??_C@_04PNIFHPHN@html@
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN18@areBlanks
; 2257 : return(1);
mov eax, 1
jmp $LN1@areBlanks
$LN18@areBlanks:
; 2258 : if (xmlStrEqual(ctxt->name, BAD_CAST"head"))
push OFFSET ??_C@_04NEODDMOL@head@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN19@areBlanks
; 2259 : return(1);
mov eax, 1
jmp $LN1@areBlanks
$LN19@areBlanks:
; 2260 :
; 2261 : /* Only strip CDATA children of the body tag for strict HTML DTDs */
; 2262 : if (xmlStrEqual(ctxt->name, BAD_CAST "body") && ctxt->myDoc != NULL) {
push OFFSET ??_C@_04IEJGKNJ@body@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN20@areBlanks
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+8], 0
je SHORT $LN20@areBlanks
; 2263 : dtd = xmlGetIntSubset(ctxt->myDoc);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlGetIntSubset
add esp, 4
mov DWORD PTR _dtd$[ebp], eax
; 2264 : if (dtd != NULL && dtd->ExternalID != NULL) {
cmp DWORD PTR _dtd$[ebp], 0
je SHORT $LN20@areBlanks
mov ecx, DWORD PTR _dtd$[ebp]
cmp DWORD PTR [ecx+52], 0
je SHORT $LN20@areBlanks
; 2265 : if (!xmlStrcasecmp(dtd->ExternalID, BAD_CAST "-//W3C//DTD HTML 4.01//EN") ||
push OFFSET ??_C@_0BK@MJOJINPD@?9?1?1W3C?1?1DTD?5HTML?54?401?1?1EN@
mov edx, DWORD PTR _dtd$[ebp]
mov eax, DWORD PTR [edx+52]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
je SHORT $LN23@areBlanks
push OFFSET ??_C@_0BH@HNGCOIEH@?9?1?1W3C?1?1DTD?5HTML?54?1?1EN@
mov ecx, DWORD PTR _dtd$[ebp]
mov edx, DWORD PTR [ecx+52]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN20@areBlanks
$LN23@areBlanks:
; 2266 : !xmlStrcasecmp(dtd->ExternalID, BAD_CAST "-//W3C//DTD HTML 4//EN"))
; 2267 : return(1);
mov eax, 1
jmp $LN1@areBlanks
$LN20@areBlanks:
; 2268 : }
; 2269 : }
; 2270 :
; 2271 : if (ctxt->node == NULL) return(0);
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+52], 0
jne SHORT $LN24@areBlanks
xor eax, eax
jmp $LN1@areBlanks
$LN24@areBlanks:
; 2272 : lastChild = xmlGetLastChild(ctxt->node);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+52]
push edx
call _xmlGetLastChild
add esp, 4
mov DWORD PTR _lastChild$[ebp], eax
$LN5@areBlanks:
; 2273 : while ((lastChild) && (lastChild->type == XML_COMMENT_NODE))
cmp DWORD PTR _lastChild$[ebp], 0
je SHORT $LN6@areBlanks
mov eax, DWORD PTR _lastChild$[ebp]
cmp DWORD PTR [eax+4], 8
jne SHORT $LN6@areBlanks
; 2274 : lastChild = lastChild->prev;
mov ecx, DWORD PTR _lastChild$[ebp]
mov edx, DWORD PTR [ecx+28]
mov DWORD PTR _lastChild$[ebp], edx
jmp SHORT $LN5@areBlanks
$LN6@areBlanks:
; 2275 : if (lastChild == NULL) {
cmp DWORD PTR _lastChild$[ebp], 0
jne SHORT $LN25@areBlanks
; 2276 : if ((ctxt->node->type != XML_ELEMENT_NODE) &&
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+52]
cmp DWORD PTR [ecx+4], 1
je SHORT $LN27@areBlanks
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+52]
cmp DWORD PTR [eax+40], 0
je SHORT $LN27@areBlanks
; 2277 : (ctxt->node->content != NULL)) return(0);
xor eax, eax
jmp $LN1@areBlanks
$LN27@areBlanks:
; 2278 : /* keep ws in constructs like ...<b> </b>...
; 2279 : for all tags "b" allowing PCDATA */
; 2280 : for ( i = 0; i < sizeof(allowPCData)/sizeof(allowPCData[0]); i++ ) {
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN9@areBlanks
$LN7@areBlanks:
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN9@areBlanks:
cmp DWORD PTR _i$[ebp], 53 ; 00000035H
jae SHORT $LN8@areBlanks
; 2281 : if ( xmlStrEqual(ctxt->name, BAD_CAST allowPCData[i]) ) {
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR _allowPCData[edx*4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN28@areBlanks
; 2282 : return(0);
xor eax, eax
jmp SHORT $LN1@areBlanks
$LN28@areBlanks:
; 2283 : }
; 2284 : }
jmp SHORT $LN7@areBlanks
$LN8@areBlanks:
; 2285 : } else if (xmlNodeIsText(lastChild)) {
jmp SHORT $LN26@areBlanks
$LN25@areBlanks:
mov eax, DWORD PTR _lastChild$[ebp]
push eax
call _xmlNodeIsText
add esp, 4
test eax, eax
je SHORT $LN29@areBlanks
; 2286 : return(0);
xor eax, eax
jmp SHORT $LN1@areBlanks
; 2287 : } else {
jmp SHORT $LN26@areBlanks
$LN29@areBlanks:
; 2288 : /* keep ws in constructs like <p><b>xy</b> <i>z</i><p>
; 2289 : for all tags "p" allowing PCDATA */
; 2290 : for ( i = 0; i < sizeof(allowPCData)/sizeof(allowPCData[0]); i++ ) {
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN12@areBlanks
$LN10@areBlanks:
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN12@areBlanks:
cmp DWORD PTR _i$[ebp], 53 ; 00000035H
jae SHORT $LN26@areBlanks
; 2291 : if ( xmlStrEqual(lastChild->name, BAD_CAST allowPCData[i]) ) {
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR _allowPCData[edx*4]
push eax
mov ecx, DWORD PTR _lastChild$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN31@areBlanks
; 2292 : return(0);
xor eax, eax
jmp SHORT $LN1@areBlanks
$LN31@areBlanks:
; 2293 : }
; 2294 : }
jmp SHORT $LN10@areBlanks
$LN26@areBlanks:
; 2295 : }
; 2296 : return(1);
mov eax, 1
$LN1@areBlanks:
; 2297 : }
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_areBlanks ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNewInputStream
_TEXT SEGMENT
_input$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlNewInputStream PROC ; COMDAT
; 2187 : htmlNewInputStream(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2188 : htmlParserInputPtr input;
; 2189 :
; 2190 : input = (xmlParserInputPtr) xmlMalloc(sizeof(htmlParserInput));
mov esi, esp
push 60 ; 0000003cH
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _input$[ebp], eax
; 2191 : if (input == NULL) {
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN2@htmlNewInp
; 2192 : htmlErrMemory(ctxt, "couldn't allocate a new input stream\n");
push OFFSET ??_C@_0CG@CPFGJCJF@couldn?8t?5allocate?5a?5new?5input?5s@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlErrMemory
add esp, 8
; 2193 : return(NULL);
xor eax, eax
jmp $LN1@htmlNewInp
$LN2@htmlNewInp:
; 2194 : }
; 2195 : memset(input, 0, sizeof(htmlParserInput));
push 60 ; 0000003cH
push 0
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _memset
add esp, 12 ; 0000000cH
; 2196 : input->filename = NULL;
mov edx, DWORD PTR _input$[ebp]
mov DWORD PTR [edx+4], 0
; 2197 : input->directory = NULL;
mov eax, DWORD PTR _input$[ebp]
mov DWORD PTR [eax+8], 0
; 2198 : input->base = NULL;
mov ecx, DWORD PTR _input$[ebp]
mov DWORD PTR [ecx+12], 0
; 2199 : input->cur = NULL;
mov edx, DWORD PTR _input$[ebp]
mov DWORD PTR [edx+16], 0
; 2200 : input->buf = NULL;
mov eax, DWORD PTR _input$[ebp]
mov DWORD PTR [eax], 0
; 2201 : input->line = 1;
mov ecx, DWORD PTR _input$[ebp]
mov DWORD PTR [ecx+28], 1
; 2202 : input->col = 1;
mov edx, DWORD PTR _input$[ebp]
mov DWORD PTR [edx+32], 1
; 2203 : input->buf = NULL;
mov eax, DWORD PTR _input$[ebp]
mov DWORD PTR [eax], 0
; 2204 : input->free = NULL;
mov ecx, DWORD PTR _input$[ebp]
mov DWORD PTR [ecx+40], 0
; 2205 : input->version = NULL;
mov edx, DWORD PTR _input$[ebp]
mov DWORD PTR [edx+48], 0
; 2206 : input->consumed = 0;
mov eax, DWORD PTR _input$[ebp]
mov DWORD PTR [eax+36], 0
; 2207 : input->length = 0;
mov ecx, DWORD PTR _input$[ebp]
mov DWORD PTR [ecx+24], 0
; 2208 : return(input);
mov eax, DWORD PTR _input$[ebp]
$LN1@htmlNewInp:
; 2209 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNewInputStream ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCheckParagraph
_TEXT SEGMENT
_i$ = -8 ; size = 4
_tag$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlCheckParagraph PROC ; COMDAT
; 1554 : htmlCheckParagraph(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1555 : const xmlChar *tag;
; 1556 : int i;
; 1557 :
; 1558 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN5@htmlCheckP
; 1559 : return(-1);
or eax, -1
jmp $LN1@htmlCheckP
$LN5@htmlCheckP:
; 1560 : tag = ctxt->name;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
mov DWORD PTR _tag$[ebp], ecx
; 1561 : if (tag == NULL) {
cmp DWORD PTR _tag$[ebp], 0
jne SHORT $LN6@htmlCheckP
; 1562 : htmlAutoClose(ctxt, BAD_CAST"p");
push OFFSET ??_C@_01JBBJJEPG@p@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlAutoClose
add esp, 8
; 1563 : htmlCheckImplied(ctxt, BAD_CAST"p");
push OFFSET ??_C@_01JBBJJEPG@p@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCheckImplied
add esp, 8
; 1564 : htmlnamePush(ctxt, BAD_CAST"p");
push OFFSET ??_C@_01JBBJJEPG@p@
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlnamePush
add esp, 8
; 1565 : if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN7@htmlCheckP
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+56], 0
je SHORT $LN7@htmlCheckP
; 1566 : ctxt->sax->startElement(ctxt->userData, BAD_CAST"p", NULL);
mov esi, esp
push 0
push OFFSET ??_C@_01JBBJJEPG@p@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+56]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN7@htmlCheckP:
; 1567 : return(1);
mov eax, 1
jmp $LN1@htmlCheckP
$LN6@htmlCheckP:
; 1568 : }
; 1569 : if (!htmlOmittedDefaultValue)
cmp DWORD PTR _htmlOmittedDefaultValue, 0
jne SHORT $LN8@htmlCheckP
; 1570 : return(0);
xor eax, eax
jmp $LN1@htmlCheckP
$LN8@htmlCheckP:
; 1571 : for (i = 0; htmlNoContentElements[i] != NULL; i++) {
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN4@htmlCheckP
$LN2@htmlCheckP:
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN4@htmlCheckP:
mov edx, DWORD PTR _i$[ebp]
cmp DWORD PTR _htmlNoContentElements[edx*4], 0
je $LN3@htmlCheckP
; 1572 : if (xmlStrEqual(tag, BAD_CAST htmlNoContentElements[i])) {
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR _htmlNoContentElements[eax*4]
push ecx
mov edx, DWORD PTR _tag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN9@htmlCheckP
; 1573 : htmlAutoClose(ctxt, BAD_CAST"p");
push OFFSET ??_C@_01JBBJJEPG@p@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlAutoClose
add esp, 8
; 1574 : htmlCheckImplied(ctxt, BAD_CAST"p");
push OFFSET ??_C@_01JBBJJEPG@p@
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCheckImplied
add esp, 8
; 1575 : htmlnamePush(ctxt, BAD_CAST"p");
push OFFSET ??_C@_01JBBJJEPG@p@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePush
add esp, 8
; 1576 : if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN10@htmlCheckP
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+56], 0
je SHORT $LN10@htmlCheckP
; 1577 : ctxt->sax->startElement(ctxt->userData, BAD_CAST"p", NULL);
mov esi, esp
push 0
push OFFSET ??_C@_01JBBJJEPG@p@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+56]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN10@htmlCheckP:
; 1578 : return(1);
mov eax, 1
jmp SHORT $LN1@htmlCheckP
$LN9@htmlCheckP:
; 1579 : }
; 1580 : }
jmp $LN2@htmlCheckP
$LN3@htmlCheckP:
; 1581 : return(0);
xor eax, eax
$LN1@htmlCheckP:
; 1582 : }
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCheckParagraph ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCheckImplied
_TEXT SEGMENT
_i$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_newtag$ = 12 ; size = 4
_htmlCheckImplied PROC ; COMDAT
; 1486 : htmlCheckImplied(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1487 : int i;
; 1488 :
; 1489 : if (ctxt->options & HTML_PARSE_NOIMPLIED)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
and ecx, 8192 ; 00002000H
je SHORT $LN5@htmlCheckI
; 1490 : return;
jmp $LN1@htmlCheckI
$LN5@htmlCheckI:
; 1491 : if (!htmlOmittedDefaultValue)
cmp DWORD PTR _htmlOmittedDefaultValue, 0
jne SHORT $LN6@htmlCheckI
; 1492 : return;
jmp $LN1@htmlCheckI
$LN6@htmlCheckI:
; 1493 : if (xmlStrEqual(newtag, BAD_CAST"html"))
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _newtag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN7@htmlCheckI
; 1494 : return;
jmp $LN1@htmlCheckI
$LN7@htmlCheckI:
; 1495 : if (ctxt->nameNr <= 0) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 0
jg SHORT $LN8@htmlCheckI
; 1496 : htmlnamePush(ctxt, BAD_CAST"html");
push OFFSET ??_C@_04PNIFHPHN@html@
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlnamePush
add esp, 8
; 1497 : if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN8@htmlCheckI
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+56], 0
je SHORT $LN8@htmlCheckI
; 1498 : ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL);
mov esi, esp
push 0
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+56]
call eax
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN8@htmlCheckI:
; 1499 : }
; 1500 : if ((xmlStrEqual(newtag, BAD_CAST"body")) || (xmlStrEqual(newtag, BAD_CAST"head")))
push OFFSET ??_C@_04IEJGKNJ@body@
mov ecx, DWORD PTR _newtag$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN11@htmlCheckI
push OFFSET ??_C@_04NEODDMOL@head@
mov edx, DWORD PTR _newtag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN10@htmlCheckI
$LN11@htmlCheckI:
; 1501 : return;
jmp $LN1@htmlCheckI
$LN10@htmlCheckI:
; 1502 : if ((ctxt->nameNr <= 1) &&
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 1
jg $LN12@htmlCheckI
push OFFSET ??_C@_06OLONEIEH@script@
mov ecx, DWORD PTR _newtag$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN14@htmlCheckI
push OFFSET ??_C@_05IAKJCFIM@style@
mov edx, DWORD PTR _newtag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN14@htmlCheckI
push OFFSET ??_C@_04HLJJCGEF@meta@
mov eax, DWORD PTR _newtag$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN14@htmlCheckI
push OFFSET ??_C@_04OHHBHOGB@link@
mov ecx, DWORD PTR _newtag$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN14@htmlCheckI
push OFFSET ??_C@_05PHLGJONK@title@
mov edx, DWORD PTR _newtag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN14@htmlCheckI
push OFFSET ??_C@_04BHIIPFEC@base@
mov eax, DWORD PTR _newtag$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN12@htmlCheckI
$LN14@htmlCheckI:
; 1503 : ((xmlStrEqual(newtag, BAD_CAST"script")) ||
; 1504 : (xmlStrEqual(newtag, BAD_CAST"style")) ||
; 1505 : (xmlStrEqual(newtag, BAD_CAST"meta")) ||
; 1506 : (xmlStrEqual(newtag, BAD_CAST"link")) ||
; 1507 : (xmlStrEqual(newtag, BAD_CAST"title")) ||
; 1508 : (xmlStrEqual(newtag, BAD_CAST"base")))) {
; 1509 : if (ctxt->html >= 3) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+32], 3
jl SHORT $LN15@htmlCheckI
; 1510 : /* we already saw or generated an <head> before */
; 1511 : return;
jmp $LN1@htmlCheckI
$LN15@htmlCheckI:
; 1512 : }
; 1513 : /*
; 1514 : * dropped OBJECT ... i you put it first BODY will be
; 1515 : * assumed !
; 1516 : */
; 1517 : htmlnamePush(ctxt, BAD_CAST"head");
push OFFSET ??_C@_04NEODDMOL@head@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePush
add esp, 8
; 1518 : if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN16@htmlCheckI
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+56], 0
je SHORT $LN16@htmlCheckI
; 1519 : ctxt->sax->startElement(ctxt->userData, BAD_CAST"head", NULL);
mov esi, esp
push 0
push OFFSET ??_C@_04NEODDMOL@head@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+56]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN16@htmlCheckI:
; 1520 : } else if ((!xmlStrEqual(newtag, BAD_CAST"noframes")) &&
jmp $LN1@htmlCheckI
$LN12@htmlCheckI:
; 1521 : (!xmlStrEqual(newtag, BAD_CAST"frame")) &&
push OFFSET ??_C@_08NAAIELI@noframes@
mov edx, DWORD PTR _newtag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
jne $LN1@htmlCheckI
push OFFSET ??_C@_05MIJNFGED@frame@
mov eax, DWORD PTR _newtag$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne $LN1@htmlCheckI
push OFFSET ??_C@_08GMEGJMDB@frameset@
mov ecx, DWORD PTR _newtag$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
jne $LN1@htmlCheckI
; 1522 : (!xmlStrEqual(newtag, BAD_CAST"frameset"))) {
; 1523 : if (ctxt->html >= 10) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+32], 10 ; 0000000aH
jl SHORT $LN18@htmlCheckI
; 1524 : /* we already saw or generated a <body> before */
; 1525 : return;
jmp $LN1@htmlCheckI
$LN18@htmlCheckI:
; 1526 : }
; 1527 : for (i = 0;i < ctxt->nameNr;i++) {
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN4@htmlCheckI
$LN2@htmlCheckI:
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
$LN4@htmlCheckI:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _i$[ebp]
cmp edx, DWORD PTR [ecx+188]
jge SHORT $LN3@htmlCheckI
; 1528 : if (xmlStrEqual(ctxt->nameTab[i], BAD_CAST"body")) {
push OFFSET ??_C@_04IEJGKNJ@body@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+196]
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR [ecx+edx*4]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN19@htmlCheckI
; 1529 : return;
jmp SHORT $LN1@htmlCheckI
$LN19@htmlCheckI:
; 1530 : }
; 1531 : if (xmlStrEqual(ctxt->nameTab[i], BAD_CAST"head")) {
push OFFSET ??_C@_04NEODDMOL@head@
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+196]
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR [edx+eax*4]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN20@htmlCheckI
; 1532 : return;
jmp SHORT $LN1@htmlCheckI
$LN20@htmlCheckI:
; 1533 : }
; 1534 : }
jmp SHORT $LN2@htmlCheckI
$LN3@htmlCheckI:
; 1535 :
; 1536 : htmlnamePush(ctxt, BAD_CAST"body");
push OFFSET ??_C@_04IEJGKNJ@body@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePush
add esp, 8
; 1537 : if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN1@htmlCheckI
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+56], 0
je SHORT $LN1@htmlCheckI
; 1538 : ctxt->sax->startElement(ctxt->userData, BAD_CAST"body", NULL);
mov esi, esp
push 0
push OFFSET ??_C@_04IEJGKNJ@body@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+56]
call ecx
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlCheckI:
; 1539 : }
; 1540 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCheckImplied ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlAutoClose
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_newtag$ = 12 ; size = 4
_htmlAutoClose PROC ; COMDAT
; 1403 : {
push ebp
mov ebp, esp
push esi
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
$LN2@htmlAutoCl:
; 1404 : while ((newtag != NULL) && (ctxt->name != NULL) &&
cmp DWORD PTR _newtag$[ebp], 0
je SHORT $LN3@htmlAutoCl
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+184], 0
je SHORT $LN3@htmlAutoCl
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
mov eax, DWORD PTR _newtag$[ebp]
push eax
call _htmlCheckAutoClose
add esp, 8
test eax, eax
je SHORT $LN3@htmlAutoCl
; 1405 : (htmlCheckAutoClose(newtag, ctxt->name))) {
; 1406 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN6@htmlAutoCl
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+60], 0
je SHORT $LN6@htmlAutoCl
; 1407 : ctxt->sax->endElement(ctxt->userData, ctxt->name);
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN6@htmlAutoCl:
; 1408 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
; 1409 : }
jmp SHORT $LN2@htmlAutoCl
$LN3@htmlAutoCl:
; 1410 : if (newtag == NULL) {
cmp DWORD PTR _newtag$[ebp], 0
jne SHORT $LN4@htmlAutoCl
; 1411 : htmlAutoCloseOnEnd(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlAutoCloseOnEnd
add esp, 4
; 1412 : return;
jmp $LN1@htmlAutoCl
$LN4@htmlAutoCl:
; 1413 : }
; 1414 : while ((newtag == NULL) && (ctxt->name != NULL) &&
cmp DWORD PTR _newtag$[ebp], 0
jne $LN1@htmlAutoCl
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+184], 0
je $LN1@htmlAutoCl
push OFFSET ??_C@_04NEODDMOL@head@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN8@htmlAutoCl
push OFFSET ??_C@_04IEJGKNJ@body@
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN8@htmlAutoCl
push OFFSET ??_C@_04PNIFHPHN@html@
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN1@htmlAutoCl
$LN8@htmlAutoCl:
; 1415 : ((xmlStrEqual(ctxt->name, BAD_CAST "head")) ||
; 1416 : (xmlStrEqual(ctxt->name, BAD_CAST "body")) ||
; 1417 : (xmlStrEqual(ctxt->name, BAD_CAST "html")))) {
; 1418 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN9@htmlAutoCl
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+60], 0
je SHORT $LN9@htmlAutoCl
; 1419 : ctxt->sax->endElement(ctxt->userData, ctxt->name);
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+60]
call edx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN9@htmlAutoCl:
; 1420 : htmlnamePop(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlnamePop
add esp, 4
; 1421 : }
jmp $LN4@htmlAutoCl
$LN1@htmlAutoCl:
; 1422 : }
pop esi
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlAutoClose ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlAutoCloseOnEnd
_TEXT SEGMENT
_i$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlAutoCloseOnEnd PROC ; COMDAT
; 1377 : {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1378 : int i;
; 1379 :
; 1380 : if (ctxt->nameNr == 0)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 0
jne SHORT $LN5@htmlAutoCl
; 1381 : return;
jmp SHORT $LN1@htmlAutoCl
$LN5@htmlAutoCl:
; 1382 : for (i = (ctxt->nameNr - 1); i >= 0; i--) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+188]
sub edx, 1
mov DWORD PTR _i$[ebp], edx
jmp SHORT $LN4@htmlAutoCl
$LN2@htmlAutoCl:
mov eax, DWORD PTR _i$[ebp]
sub eax, 1
mov DWORD PTR _i$[ebp], eax
$LN4@htmlAutoCl:
cmp DWORD PTR _i$[ebp], 0
jl SHORT $LN1@htmlAutoCl
; 1383 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN6@htmlAutoCl
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+60], 0
je SHORT $LN6@htmlAutoCl
; 1384 : ctxt->sax->endElement(ctxt->userData, ctxt->name);
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN6@htmlAutoCl:
; 1385 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
; 1386 : }
jmp SHORT $LN2@htmlAutoCl
$LN1@htmlAutoCl:
; 1387 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlAutoCloseOnEnd ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlAutoCloseOnClose
_TEXT SEGMENT
_priority$ = -12 ; size = 4
_i$ = -8 ; size = 4
_info$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_newtag$ = 12 ; size = 4
_htmlAutoCloseOnClose PROC ; COMDAT
; 1334 : {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
push esi
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1335 : const htmlElemDesc *info;
; 1336 : int i, priority;
; 1337 :
; 1338 : priority = htmlGetEndPriority(newtag);
mov eax, DWORD PTR _newtag$[ebp]
push eax
call _htmlGetEndPriority
add esp, 4
mov DWORD PTR _priority$[ebp], eax
; 1339 :
; 1340 : for (i = (ctxt->nameNr - 1); i >= 0; i--) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+188]
sub edx, 1
mov DWORD PTR _i$[ebp], edx
jmp SHORT $LN4@htmlAutoCl
$LN2@htmlAutoCl:
mov eax, DWORD PTR _i$[ebp]
sub eax, 1
mov DWORD PTR _i$[ebp], eax
$LN4@htmlAutoCl:
cmp DWORD PTR _i$[ebp], 0
jl SHORT $LN3@htmlAutoCl
; 1341 :
; 1342 : if (xmlStrEqual(newtag, ctxt->nameTab[i]))
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+196]
mov eax, DWORD PTR _i$[ebp]
mov ecx, DWORD PTR [edx+eax*4]
push ecx
mov edx, DWORD PTR _newtag$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN7@htmlAutoCl
; 1343 : break;
jmp SHORT $LN3@htmlAutoCl
$LN7@htmlAutoCl:
; 1344 : /*
; 1345 : * A missplaced endtag can only close elements with lower
; 1346 : * or equal priority, so if we find an element with higher
; 1347 : * priority before we find an element with
; 1348 : * matching name, we just ignore this endtag
; 1349 : */
; 1350 : if (htmlGetEndPriority(ctxt->nameTab[i]) > priority)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+196]
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR [ecx+edx*4]
push eax
call _htmlGetEndPriority
add esp, 4
cmp eax, DWORD PTR _priority$[ebp]
jle SHORT $LN8@htmlAutoCl
; 1351 : return;
jmp $LN1@htmlAutoCl
$LN8@htmlAutoCl:
; 1352 : }
jmp SHORT $LN2@htmlAutoCl
$LN3@htmlAutoCl:
; 1353 : if (i < 0)
cmp DWORD PTR _i$[ebp], 0
jge SHORT $LN5@htmlAutoCl
; 1354 : return;
jmp $LN1@htmlAutoCl
$LN5@htmlAutoCl:
; 1355 :
; 1356 : while (!xmlStrEqual(newtag, ctxt->name)) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
mov eax, DWORD PTR _newtag$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne $LN1@htmlAutoCl
; 1357 : info = htmlTagLookup(ctxt->name);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
call _htmlTagLookup
add esp, 4
mov DWORD PTR _info$[ebp], eax
; 1358 : if ((info != NULL) && (info->endTag == 3)) {
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN10@htmlAutoCl
mov eax, DWORD PTR _info$[ebp]
movsx ecx, BYTE PTR [eax+5]
cmp ecx, 3
jne SHORT $LN10@htmlAutoCl
; 1359 : htmlParseErr(ctxt, XML_ERR_TAG_NAME_MISMATCH,
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+184]
push eax
mov ecx, DWORD PTR _newtag$[ebp]
push ecx
push OFFSET ??_C@_0CM@OHOANBCK@Opening?5and?5ending?5tag?5mismatch@
push 76 ; 0000004cH
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN10@htmlAutoCl:
; 1360 : "Opening and ending tag mismatch: %s and %s\n",
; 1361 : newtag, ctxt->name);
; 1362 : }
; 1363 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN11@htmlAutoCl
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+60], 0
je SHORT $LN11@htmlAutoCl
; 1364 : ctxt->sax->endElement(ctxt->userData, ctxt->name);
mov esi, esp
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+60]
call eax
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN11@htmlAutoCl:
; 1365 : htmlnamePop(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlnamePop
add esp, 4
; 1366 : }
jmp $LN5@htmlAutoCl
$LN1@htmlAutoCl:
; 1367 : }
pop esi
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlAutoCloseOnClose ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCheckAutoClose
_TEXT SEGMENT
_closed$ = -12 ; size = 4
_indx$ = -8 ; size = 4
_i$ = -4 ; size = 4
_newtag$ = 8 ; size = 4
_oldtag$ = 12 ; size = 4
_htmlCheckAutoClose PROC ; COMDAT
; 1297 : {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1298 : int i, indx;
; 1299 : const char **closed = NULL;
mov DWORD PTR _closed$[ebp], 0
; 1300 :
; 1301 : if (htmlStartCloseIndexinitialized == 0)
cmp DWORD PTR _htmlStartCloseIndexinitialized, 0
jne SHORT $LN7@htmlCheckA
; 1302 : htmlInitAutoClose();
call _htmlInitAutoClose
$LN7@htmlCheckA:
; 1303 :
; 1304 : /* inefficient, but not a big deal */
; 1305 : for (indx = 0; indx < 100; indx++) {
mov DWORD PTR _indx$[ebp], 0
jmp SHORT $LN4@htmlCheckA
$LN2@htmlCheckA:
mov eax, DWORD PTR _indx$[ebp]
add eax, 1
mov DWORD PTR _indx$[ebp], eax
$LN4@htmlCheckA:
cmp DWORD PTR _indx$[ebp], 100 ; 00000064H
jge SHORT $LN3@htmlCheckA
; 1306 : closed = htmlStartCloseIndex[indx];
mov ecx, DWORD PTR _indx$[ebp]
mov edx, DWORD PTR _htmlStartCloseIndex[ecx*4]
mov DWORD PTR _closed$[ebp], edx
; 1307 : if (closed == NULL)
cmp DWORD PTR _closed$[ebp], 0
jne SHORT $LN8@htmlCheckA
; 1308 : return (0);
xor eax, eax
jmp SHORT $LN1@htmlCheckA
$LN8@htmlCheckA:
; 1309 : if (xmlStrEqual(BAD_CAST * closed, newtag))
mov eax, DWORD PTR _newtag$[ebp]
push eax
mov ecx, DWORD PTR _closed$[ebp]
mov edx, DWORD PTR [ecx]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN9@htmlCheckA
; 1310 : break;
jmp SHORT $LN3@htmlCheckA
$LN9@htmlCheckA:
; 1311 : }
jmp SHORT $LN2@htmlCheckA
$LN3@htmlCheckA:
; 1312 :
; 1313 : i = closed - htmlStartClose;
mov eax, DWORD PTR _closed$[ebp]
sub eax, OFFSET _htmlStartClose
sar eax, 2
mov DWORD PTR _i$[ebp], eax
; 1314 : i++;
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN5@htmlCheckA:
; 1315 : while (htmlStartClose[i] != NULL) {
mov edx, DWORD PTR _i$[ebp]
cmp DWORD PTR _htmlStartClose[edx*4], 0
je SHORT $LN6@htmlCheckA
; 1316 : if (xmlStrEqual(BAD_CAST htmlStartClose[i], oldtag)) {
mov eax, DWORD PTR _oldtag$[ebp]
push eax
mov ecx, DWORD PTR _i$[ebp]
mov edx, DWORD PTR _htmlStartClose[ecx*4]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN10@htmlCheckA
; 1317 : return (1);
mov eax, 1
jmp SHORT $LN1@htmlCheckA
$LN10@htmlCheckA:
; 1318 : }
; 1319 : i++;
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
; 1320 : }
jmp SHORT $LN5@htmlCheckA
$LN6@htmlCheckA:
; 1321 : return (0);
xor eax, eax
$LN1@htmlCheckA:
; 1322 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCheckAutoClose ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlGetEndPriority
_TEXT SEGMENT
_i$ = -4 ; size = 4
_name$ = 8 ; size = 4
_htmlGetEndPriority PROC ; COMDAT
; 1273 : htmlGetEndPriority (const xmlChar *name) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1274 : int i = 0;
mov DWORD PTR _i$[ebp], 0
$LN2@htmlGetEnd:
; 1275 :
; 1276 : while ((htmlEndPriority[i].name != NULL) &&
mov eax, DWORD PTR _i$[ebp]
cmp DWORD PTR _htmlEndPriority[eax*8], 0
je SHORT $LN3@htmlGetEnd
mov ecx, DWORD PTR _name$[ebp]
push ecx
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR _htmlEndPriority[edx*8]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
jne SHORT $LN3@htmlGetEnd
; 1277 : (!xmlStrEqual((const xmlChar *)htmlEndPriority[i].name, name)))
; 1278 : i++;
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
jmp SHORT $LN2@htmlGetEnd
$LN3@htmlGetEnd:
; 1279 :
; 1280 : return(htmlEndPriority[i].priority);
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR _htmlEndPriority[edx*8+4]
; 1281 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlGetEndPriority ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlSkipBlankChars
_TEXT SEGMENT
_res$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlSkipBlankChars PROC ; COMDAT
; 575 : htmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 576 : int res = 0;
mov DWORD PTR _res$[ebp], 0
$LN2@htmlSkipBl:
; 577 :
; 578 : while (IS_BLANK_CH(*(ctxt->input->cur))) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
je SHORT $LN4@htmlSkipBl
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN5@htmlSkipBl
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN4@htmlSkipBl
$LN5@htmlSkipBl:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
jne $LN3@htmlSkipBl
$LN4@htmlSkipBl:
; 579 : if ((*ctxt->input->cur == 0) &&
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
test ecx, ecx
jne SHORT $LN6@htmlSkipBl
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
test eax, eax
jg SHORT $LN6@htmlSkipBl
; 580 : (xmlParserInputGrow(ctxt->input, INPUT_CHUNK) <= 0)) {
; 581 : xmlPopInput(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlPopInput
add esp, 4
; 582 : } else {
jmp $LN7@htmlSkipBl
$LN6@htmlSkipBl:
; 583 : if (*(ctxt->input->cur) == '\n') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jne SHORT $LN8@htmlSkipBl
; 584 : ctxt->input->line++; ctxt->input->col = 1;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+28]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+28], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], 1
jmp SHORT $LN9@htmlSkipBl
$LN8@htmlSkipBl:
; 585 : } else ctxt->input->col++;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
$LN9@htmlSkipBl:
; 586 : ctxt->input->cur++;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
; 587 : ctxt->nbChars++;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
; 588 : if (*ctxt->input->cur == 0)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
test edx, edx
jne SHORT $LN7@htmlSkipBl
; 589 : xmlParserInputGrow(ctxt->input, INPUT_CHUNK);
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN7@htmlSkipBl:
; 590 : }
; 591 : res++;
mov edx, DWORD PTR _res$[ebp]
add edx, 1
mov DWORD PTR _res$[ebp], edx
; 592 : }
jmp $LN2@htmlSkipBl
$LN3@htmlSkipBl:
; 593 : return(res);
mov eax, DWORD PTR _res$[ebp]
; 594 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlSkipBlankChars ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCurrentChar
_TEXT SEGMENT
tv218 = -192 ; size = 4
tv220 = -188 ; size = 4
tv219 = -184 ; size = 4
_buffer$1 = -176 ; size = 150
_handler$2 = -20 ; size = 4
_guess$3 = -16 ; size = 4
_val$4 = -12 ; size = 4
_c$5 = -5 ; size = 1
_cur$6 = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_len$ = 12 ; size = 4
_htmlCurrentChar PROC ; COMDAT
; 416 : htmlCurrentChar(xmlParserCtxtPtr ctxt, int *len) {
push ebp
mov ebp, esp
sub esp, 192 ; 000000c0H
push esi
push edi
lea edi, DWORD PTR [ebp-192]
mov ecx, 48 ; 00000030H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 417 : if (ctxt->instate == XML_PARSER_EOF)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+172], -1
jne SHORT $LN2@htmlCurren
; 418 : return(0);
xor eax, eax
jmp $LN1@htmlCurren
$LN2@htmlCurren:
; 419 :
; 420 : if (ctxt->token != 0) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+176], 0
je SHORT $LN3@htmlCurren
; 421 : *len = 0;
mov edx, DWORD PTR _len$[ebp]
mov DWORD PTR [edx], 0
; 422 : return(ctxt->token);
mov eax, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [eax+176]
jmp $LN1@htmlCurren
$LN3@htmlCurren:
; 423 : }
; 424 : if (ctxt->charset == XML_CHAR_ENCODING_UTF8) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+256], 1
jne $LN4@htmlCurren
; 425 : /*
; 426 : * We are supposed to handle UTF8, check it's valid
; 427 : * From rfc2044: encoding of the Unicode values on UTF-8:
; 428 : *
; 429 : * UCS-4 range (hex.) UTF-8 octet sequence (binary)
; 430 : * 0000 0000-0000 007F 0xxxxxxx
; 431 : * 0000 0080-0000 07FF 110xxxxx 10xxxxxx
; 432 : * 0000 0800-0000 FFFF 1110xxxx 10xxxxxx 10xxxxxx
; 433 : *
; 434 : * Check for the 0x110000 limit too
; 435 : */
; 436 : const unsigned char *cur = ctxt->input->cur;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov DWORD PTR _cur$6[ebp], ecx
; 437 : unsigned char c;
; 438 : unsigned int val;
; 439 :
; 440 : c = *cur;
mov edx, DWORD PTR _cur$6[ebp]
mov al, BYTE PTR [edx]
mov BYTE PTR _c$5[ebp], al
; 441 : if (c & 0x80) {
movzx ecx, BYTE PTR _c$5[ebp]
and ecx, 128 ; 00000080H
je $LN5@htmlCurren
; 442 : if (cur[1] == 0) {
mov edx, 1
shl edx, 0
mov eax, DWORD PTR _cur$6[ebp]
movzx ecx, BYTE PTR [eax+edx]
test ecx, ecx
jne SHORT $LN7@htmlCurren
; 443 : xmlParserInputGrow(ctxt->input, INPUT_CHUNK);
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
; 444 : cur = ctxt->input->cur;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov DWORD PTR _cur$6[ebp], eax
$LN7@htmlCurren:
; 445 : }
; 446 : if ((cur[1] & 0xc0) != 0x80)
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR _cur$6[ebp]
movzx eax, BYTE PTR [edx+ecx]
and eax, 192 ; 000000c0H
cmp eax, 128 ; 00000080H
je SHORT $LN8@htmlCurren
; 447 : goto encoding_error;
jmp $encoding_error$42
$LN8@htmlCurren:
; 448 : if ((c & 0xe0) == 0xe0) {
movzx ecx, BYTE PTR _c$5[ebp]
and ecx, 224 ; 000000e0H
cmp ecx, 224 ; 000000e0H
jne $LN9@htmlCurren
; 449 :
; 450 : if (cur[2] == 0) {
mov edx, 1
shl edx, 1
mov eax, DWORD PTR _cur$6[ebp]
movzx ecx, BYTE PTR [eax+edx]
test ecx, ecx
jne SHORT $LN11@htmlCurren
; 451 : xmlParserInputGrow(ctxt->input, INPUT_CHUNK);
push 250 ; 000000faH
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
call _xmlParserInputGrow
add esp, 8
; 452 : cur = ctxt->input->cur;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
mov DWORD PTR _cur$6[ebp], eax
$LN11@htmlCurren:
; 453 : }
; 454 : if ((cur[2] & 0xc0) != 0x80)
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR _cur$6[ebp]
movzx eax, BYTE PTR [edx+ecx]
and eax, 192 ; 000000c0H
cmp eax, 128 ; 00000080H
je SHORT $LN12@htmlCurren
; 455 : goto encoding_error;
jmp $encoding_error$42
$LN12@htmlCurren:
; 456 : if ((c & 0xf0) == 0xf0) {
movzx ecx, BYTE PTR _c$5[ebp]
and ecx, 240 ; 000000f0H
cmp ecx, 240 ; 000000f0H
jne $LN13@htmlCurren
; 457 : if (cur[3] == 0) {
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
test edx, edx
jne SHORT $LN15@htmlCurren
; 458 : xmlParserInputGrow(ctxt->input, INPUT_CHUNK);
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
; 459 : cur = ctxt->input->cur;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov DWORD PTR _cur$6[ebp], ecx
$LN15@htmlCurren:
; 460 : }
; 461 : if (((c & 0xf8) != 0xf0) ||
movzx edx, BYTE PTR _c$5[ebp]
and edx, 248 ; 000000f8H
cmp edx, 240 ; 000000f0H
jne SHORT $LN17@htmlCurren
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR _cur$6[ebp]
movzx eax, BYTE PTR [edx+ecx]
and eax, 192 ; 000000c0H
cmp eax, 128 ; 00000080H
je SHORT $LN16@htmlCurren
$LN17@htmlCurren:
; 462 : ((cur[3] & 0xc0) != 0x80))
; 463 : goto encoding_error;
jmp $encoding_error$42
$LN16@htmlCurren:
; 464 : /* 4-byte code */
; 465 : *len = 4;
mov ecx, DWORD PTR _len$[ebp]
mov DWORD PTR [ecx], 4
; 466 : val = (cur[0] & 0x7) << 18;
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
and edx, 7
shl edx, 18 ; 00000012H
mov DWORD PTR _val$4[ebp], edx
; 467 : val |= (cur[1] & 0x3f) << 12;
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
and edx, 63 ; 0000003fH
shl edx, 12 ; 0000000cH
or edx, DWORD PTR _val$4[ebp]
mov DWORD PTR _val$4[ebp], edx
; 468 : val |= (cur[2] & 0x3f) << 6;
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
and edx, 63 ; 0000003fH
shl edx, 6
or edx, DWORD PTR _val$4[ebp]
mov DWORD PTR _val$4[ebp], edx
; 469 : val |= cur[3] & 0x3f;
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR _cur$6[ebp]
movzx eax, BYTE PTR [edx+ecx]
and eax, 63 ; 0000003fH
or eax, DWORD PTR _val$4[ebp]
mov DWORD PTR _val$4[ebp], eax
; 470 : } else {
jmp SHORT $LN14@htmlCurren
$LN13@htmlCurren:
; 471 : /* 3-byte code */
; 472 : *len = 3;
mov ecx, DWORD PTR _len$[ebp]
mov DWORD PTR [ecx], 3
; 473 : val = (cur[0] & 0xf) << 12;
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
and edx, 15 ; 0000000fH
shl edx, 12 ; 0000000cH
mov DWORD PTR _val$4[ebp], edx
; 474 : val |= (cur[1] & 0x3f) << 6;
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
and edx, 63 ; 0000003fH
shl edx, 6
or edx, DWORD PTR _val$4[ebp]
mov DWORD PTR _val$4[ebp], edx
; 475 : val |= cur[2] & 0x3f;
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR _cur$6[ebp]
movzx edx, BYTE PTR [ecx+eax]
and edx, 63 ; 0000003fH
or edx, DWORD PTR _val$4[ebp]
mov DWORD PTR _val$4[ebp], edx
$LN14@htmlCurren:
; 476 : }
; 477 : } else {
jmp SHORT $LN10@htmlCurren
$LN9@htmlCurren:
; 478 : /* 2-byte code */
; 479 : *len = 2;
mov eax, DWORD PTR _len$[ebp]
mov DWORD PTR [eax], 2
; 480 : val = (cur[0] & 0x1f) << 6;
mov ecx, 1
imul edx, ecx, 0
mov eax, DWORD PTR _cur$6[ebp]
movzx ecx, BYTE PTR [eax+edx]
and ecx, 31 ; 0000001fH
shl ecx, 6
mov DWORD PTR _val$4[ebp], ecx
; 481 : val |= cur[1] & 0x3f;
mov edx, 1
shl edx, 0
mov eax, DWORD PTR _cur$6[ebp]
movzx ecx, BYTE PTR [eax+edx]
and ecx, 63 ; 0000003fH
or ecx, DWORD PTR _val$4[ebp]
mov DWORD PTR _val$4[ebp], ecx
$LN10@htmlCurren:
; 482 : }
; 483 : if (!IS_CHAR(val)) {
cmp DWORD PTR _val$4[ebp], 256 ; 00000100H
jae SHORT $LN37@htmlCurren
cmp DWORD PTR _val$4[ebp], 9
jb SHORT $LN29@htmlCurren
cmp DWORD PTR _val$4[ebp], 10 ; 0000000aH
jbe SHORT $LN30@htmlCurren
$LN29@htmlCurren:
cmp DWORD PTR _val$4[ebp], 13 ; 0000000dH
je SHORT $LN30@htmlCurren
cmp DWORD PTR _val$4[ebp], 32 ; 00000020H
jae SHORT $LN30@htmlCurren
mov DWORD PTR tv219[ebp], 0
jmp SHORT $LN36@htmlCurren
$LN30@htmlCurren:
mov DWORD PTR tv219[ebp], 1
$LN36@htmlCurren:
mov edx, DWORD PTR tv219[ebp]
mov DWORD PTR tv220[ebp], edx
jmp SHORT $LN38@htmlCurren
$LN37@htmlCurren:
cmp DWORD PTR _val$4[ebp], 256 ; 00000100H
jb SHORT $LN31@htmlCurren
cmp DWORD PTR _val$4[ebp], 55295 ; 0000d7ffH
jbe SHORT $LN33@htmlCurren
$LN31@htmlCurren:
cmp DWORD PTR _val$4[ebp], 57344 ; 0000e000H
jb SHORT $LN32@htmlCurren
cmp DWORD PTR _val$4[ebp], 65533 ; 0000fffdH
jbe SHORT $LN33@htmlCurren
$LN32@htmlCurren:
cmp DWORD PTR _val$4[ebp], 65536 ; 00010000H
jb SHORT $LN34@htmlCurren
cmp DWORD PTR _val$4[ebp], 1114111 ; 0010ffffH
jbe SHORT $LN33@htmlCurren
$LN34@htmlCurren:
mov DWORD PTR tv218[ebp], 0
jmp SHORT $LN35@htmlCurren
$LN33@htmlCurren:
mov DWORD PTR tv218[ebp], 1
$LN35@htmlCurren:
mov eax, DWORD PTR tv218[ebp]
mov DWORD PTR tv220[ebp], eax
$LN38@htmlCurren:
cmp DWORD PTR tv220[ebp], 0
jne SHORT $LN18@htmlCurren
; 484 : htmlParseErrInt(ctxt, XML_ERR_INVALID_CHAR,
mov ecx, DWORD PTR _val$4[ebp]
push ecx
push OFFSET ??_C@_0CA@EOJNGAKJ@Char?50x?$CFX?5out?5of?5allowed?5range?6@
push 9
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErrInt
add esp, 16 ; 00000010H
$LN18@htmlCurren:
; 485 : "Char 0x%X out of allowed range\n", val);
; 486 : }
; 487 : return(val);
mov eax, DWORD PTR _val$4[ebp]
jmp $LN1@htmlCurren
; 488 : } else {
jmp SHORT $LN4@htmlCurren
$LN5@htmlCurren:
; 489 : if ((*ctxt->input->cur == 0) &&
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
test eax, eax
jne SHORT $LN19@htmlCurren
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
cmp edx, DWORD PTR [ecx+20]
jae SHORT $LN19@htmlCurren
; 490 : (ctxt->input->cur < ctxt->input->end)) {
; 491 : htmlParseErrInt(ctxt, XML_ERR_INVALID_CHAR,
push 0
push OFFSET ??_C@_0CA@EOJNGAKJ@Char?50x?$CFX?5out?5of?5allowed?5range?6@
push 9
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErrInt
add esp, 16 ; 00000010H
; 492 : "Char 0x%X out of allowed range\n", 0);
; 493 : *len = 1;
mov ecx, DWORD PTR _len$[ebp]
mov DWORD PTR [ecx], 1
; 494 : return(' ');
mov eax, 32 ; 00000020H
jmp $LN1@htmlCurren
$LN19@htmlCurren:
; 495 : }
; 496 : /* 1-byte code */
; 497 : *len = 1;
mov edx, DWORD PTR _len$[ebp]
mov DWORD PTR [edx], 1
; 498 : return((int) *ctxt->input->cur);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
jmp $LN1@htmlCurren
$LN4@htmlCurren:
; 499 : }
; 500 : }
; 501 : /*
; 502 : * Assume it's a fixed length encoding (1) with
; 503 : * a compatible encoding for the ASCII set, since
; 504 : * XML constructs only use < 128 chars
; 505 : */
; 506 : *len = 1;
mov eax, DWORD PTR _len$[ebp]
mov DWORD PTR [eax], 1
; 507 : if ((int) *ctxt->input->cur < 0x80)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 128 ; 00000080H
jge SHORT $LN20@htmlCurren
; 508 : return((int) *ctxt->input->cur);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [ecx]
jmp $LN1@htmlCurren
$LN20@htmlCurren:
; 509 :
; 510 : /*
; 511 : * Humm this is bad, do an automatic flow conversion
; 512 : */
; 513 : {
; 514 : xmlChar * guess;
; 515 : xmlCharEncodingHandlerPtr handler;
; 516 :
; 517 : guess = htmlFindEncoding(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlFindEncoding
add esp, 4
mov DWORD PTR _guess$3[ebp], eax
; 518 : if (guess == NULL) {
cmp DWORD PTR _guess$3[ebp], 0
jne SHORT $LN21@htmlCurren
; 519 : xmlSwitchEncoding(ctxt, XML_CHAR_ENCODING_8859_1);
push 10 ; 0000000aH
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlSwitchEncoding
add esp, 8
; 520 : } else {
jmp SHORT $LN22@htmlCurren
$LN21@htmlCurren:
; 521 : if (ctxt->input->encoding != NULL)
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx+44], 0
je SHORT $LN23@htmlCurren
; 522 : xmlFree((xmlChar *) ctxt->input->encoding);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov esi, esp
mov edx, DWORD PTR [ecx+44]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN23@htmlCurren:
; 523 : ctxt->input->encoding = guess;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _guess$3[ebp]
mov DWORD PTR [ecx+44], edx
; 524 : handler = xmlFindCharEncodingHandler((const char *) guess);
mov eax, DWORD PTR _guess$3[ebp]
push eax
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$2[ebp], eax
; 525 : if (handler != NULL) {
cmp DWORD PTR _handler$2[ebp], 0
je SHORT $LN24@htmlCurren
; 526 : xmlSwitchToEncoding(ctxt, handler);
mov ecx, DWORD PTR _handler$2[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlSwitchToEncoding
add esp, 8
; 527 : } else {
jmp SHORT $LN22@htmlCurren
$LN24@htmlCurren:
; 528 : htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
push 0
mov eax, DWORD PTR _guess$3[ebp]
push eax
push OFFSET ??_C@_0BI@PIALHHKN@Unsupported?5encoding?5?$CFs@
push 81 ; 00000051H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
$LN22@htmlCurren:
; 529 : "Unsupported encoding %s", guess, NULL);
; 530 : }
; 531 : }
; 532 : ctxt->charset = XML_CHAR_ENCODING_UTF8;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+256], 1
; 533 : }
; 534 :
; 535 : return(xmlCurrentChar(ctxt, len));
mov eax, DWORD PTR _len$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlCurrentChar
add esp, 8
jmp $LN1@htmlCurren
$encoding_error$42:
; 536 :
; 537 : encoding_error:
; 538 : /*
; 539 : * If we detect an UTF8 error that probably mean that the
; 540 : * input encoding didn't get properly advertized in the
; 541 : * declaration header. Report the error and switch the encoding
; 542 : * to ISO-Latin-1 (if you don't like this policy, just declare the
; 543 : * encoding !)
; 544 : */
; 545 : {
; 546 : char buffer[150];
; 547 :
; 548 : if (ctxt->input->end - ctxt->input->cur >= 4) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 4
jl SHORT $LN26@htmlCurren
; 549 : snprintf(buffer, 149, "Bytes: 0x%02X 0x%02X 0x%02X 0x%02X\n",
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 0
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
push ecx
push OFFSET ??_C@_0CE@KHMCMEAC@Bytes?3?50x?$CF02X?50x?$CF02X?50x?$CF02X?50x?$CF@
push 149 ; 00000095H
lea edx, DWORD PTR _buffer$1[ebp]
push edx
call _snprintf
add esp, 28 ; 0000001cH
; 550 : ctxt->input->cur[0], ctxt->input->cur[1],
; 551 : ctxt->input->cur[2], ctxt->input->cur[3]);
; 552 : } else {
jmp SHORT $LN27@htmlCurren
$LN26@htmlCurren:
; 553 : snprintf(buffer, 149, "Bytes: 0x%02X\n", ctxt->input->cur[0]);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
push edx
push OFFSET ??_C@_0P@DAFMJFMB@Bytes?3?50x?$CF02X?6@
push 149 ; 00000095H
lea eax, DWORD PTR _buffer$1[ebp]
push eax
call _snprintf
add esp, 16 ; 00000010H
$LN27@htmlCurren:
; 554 : }
; 555 : htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
push 0
lea ecx, DWORD PTR _buffer$1[ebp]
push ecx
push OFFSET ??_C@_0DA@ICAIJAPJ@Input?5is?5not?5proper?5UTF?98?0?5indi@
push 81 ; 00000051H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 556 : "Input is not proper UTF-8, indicate encoding !\n",
; 557 : BAD_CAST buffer, NULL);
; 558 : }
; 559 :
; 560 : ctxt->charset = XML_CHAR_ENCODING_8859_1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+256], 10 ; 0000000aH
; 561 : *len = 1;
mov ecx, DWORD PTR _len$[ebp]
mov DWORD PTR [ecx], 1
; 562 : return((int) *ctxt->input->cur);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [ecx]
$LN1@htmlCurren:
; 563 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN41@htmlCurren
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 192 ; 000000c0H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN41@htmlCurren:
DD 1
DD $LN40@htmlCurren
$LN40@htmlCurren:
DD -176 ; ffffff50H
DD 150 ; 00000096H
DD $LN39@htmlCurren
$LN39@htmlCurren:
DB 98 ; 00000062H
DB 117 ; 00000075H
DB 102 ; 00000066H
DB 102 ; 00000066H
DB 101 ; 00000065H
DB 114 ; 00000072H
DB 0
_htmlCurrentChar ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlFindEncoding
_TEXT SEGMENT
_end$ = -12 ; size = 4
_cur$ = -8 ; size = 4
_start$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlFindEncoding PROC ; COMDAT
; 364 : htmlFindEncoding(xmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 365 : const xmlChar *start, *cur, *end;
; 366 :
; 367 : if ((ctxt == NULL) || (ctxt->input == NULL) ||
; 368 : (ctxt->input->encoding != NULL) || (ctxt->input->buf == NULL) ||
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN5@htmlFindEn
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
je SHORT $LN5@htmlFindEn
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx+44], 0
jne SHORT $LN5@htmlFindEn
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
cmp DWORD PTR [ecx], 0
je SHORT $LN5@htmlFindEn
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+12], 0
je SHORT $LN4@htmlFindEn
$LN5@htmlFindEn:
; 369 : (ctxt->input->buf->encoder != NULL))
; 370 : return(NULL);
xor eax, eax
jmp $LN1@htmlFindEn
$LN4@htmlFindEn:
; 371 : if ((ctxt->input->cur == NULL) || (ctxt->input->end == NULL))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
cmp DWORD PTR [eax+16], 0
je SHORT $LN7@htmlFindEn
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx+20], 0
jne SHORT $LN6@htmlFindEn
$LN7@htmlFindEn:
; 372 : return(NULL);
xor eax, eax
jmp $LN1@htmlFindEn
$LN6@htmlFindEn:
; 373 :
; 374 : start = ctxt->input->cur;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
mov DWORD PTR _start$[ebp], edx
; 375 : end = ctxt->input->end;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+20]
mov DWORD PTR _end$[ebp], edx
; 376 : /* we also expect the input buffer to be zero terminated */
; 377 : if (*end != 0)
mov eax, DWORD PTR _end$[ebp]
movzx ecx, BYTE PTR [eax]
test ecx, ecx
je SHORT $LN8@htmlFindEn
; 378 : return(NULL);
xor eax, eax
jmp $LN1@htmlFindEn
$LN8@htmlFindEn:
; 379 :
; 380 : cur = xmlStrcasestr(start, BAD_CAST "HTTP-EQUIV");
push OFFSET ??_C@_0L@KJGBOFMC@HTTP?9EQUIV@
mov edx, DWORD PTR _start$[ebp]
push edx
call _xmlStrcasestr
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 381 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN9@htmlFindEn
; 382 : return(NULL);
xor eax, eax
jmp $LN1@htmlFindEn
$LN9@htmlFindEn:
; 383 : cur = xmlStrcasestr(cur, BAD_CAST "CONTENT");
push OFFSET ??_C@_07HPFEHCIK@CONTENT@
mov eax, DWORD PTR _cur$[ebp]
push eax
call _xmlStrcasestr
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 384 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN10@htmlFindEn
; 385 : return(NULL);
xor eax, eax
jmp $LN1@htmlFindEn
$LN10@htmlFindEn:
; 386 : cur = xmlStrcasestr(cur, BAD_CAST "CHARSET=");
push OFFSET ??_C@_08HFIPAJDM@CHARSET?$DN@
mov ecx, DWORD PTR _cur$[ebp]
push ecx
call _xmlStrcasestr
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 387 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN11@htmlFindEn
; 388 : return(NULL);
xor eax, eax
jmp $LN1@htmlFindEn
$LN11@htmlFindEn:
; 389 : cur += 8;
mov edx, DWORD PTR _cur$[ebp]
add edx, 8
mov DWORD PTR _cur$[ebp], edx
; 390 : start = cur;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR _start$[ebp], eax
$LN2@htmlFindEn:
; 391 : while (((*cur >= 'A') && (*cur <= 'Z')) ||
; 392 : ((*cur >= 'a') && (*cur <= 'z')) ||
; 393 : ((*cur >= '0') && (*cur <= '9')) ||
; 394 : (*cur == '-') || (*cur == '_') || (*cur == ':') || (*cur == '/'))
mov ecx, DWORD PTR _cur$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 65 ; 00000041H
jl SHORT $LN13@htmlFindEn
mov eax, DWORD PTR _cur$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 90 ; 0000005aH
jle SHORT $LN12@htmlFindEn
$LN13@htmlFindEn:
mov edx, DWORD PTR _cur$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 97 ; 00000061H
jl SHORT $LN14@htmlFindEn
mov ecx, DWORD PTR _cur$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 122 ; 0000007aH
jle SHORT $LN12@htmlFindEn
$LN14@htmlFindEn:
mov eax, DWORD PTR _cur$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 48 ; 00000030H
jl SHORT $LN15@htmlFindEn
mov edx, DWORD PTR _cur$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 57 ; 00000039H
jle SHORT $LN12@htmlFindEn
$LN15@htmlFindEn:
mov ecx, DWORD PTR _cur$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 45 ; 0000002dH
je SHORT $LN12@htmlFindEn
mov eax, DWORD PTR _cur$[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 95 ; 0000005fH
je SHORT $LN12@htmlFindEn
mov edx, DWORD PTR _cur$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 58 ; 0000003aH
je SHORT $LN12@htmlFindEn
mov ecx, DWORD PTR _cur$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 47 ; 0000002fH
jne SHORT $LN3@htmlFindEn
$LN12@htmlFindEn:
; 395 : cur++;
mov eax, DWORD PTR _cur$[ebp]
add eax, 1
mov DWORD PTR _cur$[ebp], eax
jmp SHORT $LN2@htmlFindEn
$LN3@htmlFindEn:
; 396 : if (cur == start)
mov ecx, DWORD PTR _cur$[ebp]
cmp ecx, DWORD PTR _start$[ebp]
jne SHORT $LN16@htmlFindEn
; 397 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlFindEn
$LN16@htmlFindEn:
; 398 : return(xmlStrndup(start, cur - start));
mov edx, DWORD PTR _cur$[ebp]
sub edx, DWORD PTR _start$[ebp]
push edx
mov eax, DWORD PTR _start$[ebp]
push eax
call _xmlStrndup
add esp, 8
$LN1@htmlFindEn:
; 399 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlFindEncoding ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNodeInfoPop
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_htmlNodeInfoPop PROC ; COMDAT
; 255 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 256 : if (ctxt->nodeInfoNr <= 0)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+452], 0
jg SHORT $LN2@htmlNodeIn
; 257 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlNodeIn
$LN2@htmlNodeIn:
; 258 : ctxt->nodeInfoNr--;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+452]
sub edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+452], edx
; 259 : if (ctxt->nodeInfoNr < 0)
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+452], 0
jge SHORT $LN3@htmlNodeIn
; 260 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlNodeIn
$LN3@htmlNodeIn:
; 261 : if (ctxt->nodeInfoNr > 0)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+452], 0
jle SHORT $LN4@htmlNodeIn
; 262 : ctxt->nodeInfo = &ctxt->nodeInfoTab[ctxt->nodeInfoNr - 1];
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+452]
sub ecx, 1
imul edx, ecx, 20
mov eax, DWORD PTR _ctxt$[ebp]
add edx, DWORD PTR [eax+460]
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+448], edx
jmp SHORT $LN5@htmlNodeIn
$LN4@htmlNodeIn:
; 263 : else
; 264 : ctxt->nodeInfo = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+448], 0
$LN5@htmlNodeIn:
; 265 : return &ctxt->nodeInfoTab[ctxt->nodeInfoNr];
mov eax, DWORD PTR _ctxt$[ebp]
imul eax, DWORD PTR [eax+452], 20
mov ecx, DWORD PTR _ctxt$[ebp]
add eax, DWORD PTR [ecx+460]
$LN1@htmlNodeIn:
; 266 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlNodeInfoPop ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNodeInfoPush
_TEXT SEGMENT
tv130 = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_value$ = 12 ; size = 4
_htmlNodeInfoPush PROC ; COMDAT
; 226 : {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 227 : if (ctxt->nodeInfoNr >= ctxt->nodeInfoMax) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [eax+452]
cmp edx, DWORD PTR [ecx+456]
jl SHORT $LN2@htmlNodeIn
; 228 : if (ctxt->nodeInfoMax == 0)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+456], 0
jne SHORT $LN3@htmlNodeIn
; 229 : ctxt->nodeInfoMax = 5;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+456], 5
$LN3@htmlNodeIn:
; 230 : ctxt->nodeInfoMax *= 2;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+456]
shl eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+456], eax
; 231 : ctxt->nodeInfoTab = (htmlParserNodeInfo *)
mov edx, DWORD PTR _ctxt$[ebp]
imul eax, DWORD PTR [edx+456], 20
mov esi, esp
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+460]
push edx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+460], eax
; 232 : xmlRealloc((htmlParserNodeInfo *)ctxt->nodeInfoTab,
; 233 : ctxt->nodeInfoMax *
; 234 : sizeof(ctxt->nodeInfoTab[0]));
; 235 : if (ctxt->nodeInfoTab == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+460], 0
jne SHORT $LN2@htmlNodeIn
; 236 : htmlErrMemory(ctxt, NULL);
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlErrMemory
add esp, 8
; 237 : return (0);
xor eax, eax
jmp SHORT $LN1@htmlNodeIn
$LN2@htmlNodeIn:
; 238 : }
; 239 : }
; 240 : ctxt->nodeInfoTab[ctxt->nodeInfoNr] = *value;
mov ecx, DWORD PTR _ctxt$[ebp]
imul edx, DWORD PTR [ecx+452], 20
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+460]
add ecx, edx
mov edx, DWORD PTR _value$[ebp]
mov eax, DWORD PTR [edx]
mov DWORD PTR [ecx], eax
mov eax, DWORD PTR [edx+4]
mov DWORD PTR [ecx+4], eax
mov eax, DWORD PTR [edx+8]
mov DWORD PTR [ecx+8], eax
mov eax, DWORD PTR [edx+12]
mov DWORD PTR [ecx+12], eax
mov edx, DWORD PTR [edx+16]
mov DWORD PTR [ecx+16], edx
; 241 : ctxt->nodeInfo = &ctxt->nodeInfoTab[ctxt->nodeInfoNr];
mov eax, DWORD PTR _ctxt$[ebp]
imul ecx, DWORD PTR [eax+452], 20
mov edx, DWORD PTR _ctxt$[ebp]
add ecx, DWORD PTR [edx+460]
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+448], ecx
; 242 : return (ctxt->nodeInfoNr++);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+452]
mov DWORD PTR tv130[ebp], edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+452]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+452], ecx
mov eax, DWORD PTR tv130[ebp]
$LN1@htmlNodeIn:
; 243 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNodeInfoPush ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlnamePop
_TEXT SEGMENT
_ret$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlnamePop PROC ; COMDAT
; 198 : {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 199 : const xmlChar *ret;
; 200 :
; 201 : if (ctxt->nameNr <= 0)
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+188], 0
jg SHORT $LN2@htmlnamePo
; 202 : return (NULL);
xor eax, eax
jmp $LN1@htmlnamePo
$LN2@htmlnamePo:
; 203 : ctxt->nameNr--;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+188]
sub edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+188], edx
; 204 : if (ctxt->nameNr < 0)
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+188], 0
jge SHORT $LN3@htmlnamePo
; 205 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlnamePo
$LN3@htmlnamePo:
; 206 : if (ctxt->nameNr > 0)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+188], 0
jle SHORT $LN4@htmlnamePo
; 207 : ctxt->name = ctxt->nameTab[ctxt->nameNr - 1];
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+188]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+196]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [eax+ecx*4-4]
mov DWORD PTR [edx+184], eax
jmp SHORT $LN5@htmlnamePo
$LN4@htmlnamePo:
; 208 : else
; 209 : ctxt->name = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+184], 0
$LN5@htmlnamePo:
; 210 : ret = ctxt->nameTab[ctxt->nameNr];
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+196]
mov eax, DWORD PTR [edx+eax*4]
mov DWORD PTR _ret$[ebp], eax
; 211 : ctxt->nameTab[ctxt->nameNr] = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+188]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+196]
mov DWORD PTR [ecx+edx*4], 0
; 212 : return (ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlnamePo:
; 213 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlnamePop ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlnamePush
_TEXT SEGMENT
tv136 = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_value$ = 12 ; size = 4
_htmlnamePush PROC ; COMDAT
; 168 : {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 169 : if ((ctxt->html < 3) && (xmlStrEqual(value, BAD_CAST "head")))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+32], 3
jge SHORT $LN2@htmlnamePu
push OFFSET ??_C@_04NEODDMOL@head@
mov ecx, DWORD PTR _value$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN2@htmlnamePu
; 170 : ctxt->html = 3;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+32], 3
$LN2@htmlnamePu:
; 171 : if ((ctxt->html < 10) && (xmlStrEqual(value, BAD_CAST "body")))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+32], 10 ; 0000000aH
jge SHORT $LN3@htmlnamePu
push OFFSET ??_C@_04IEJGKNJ@body@
mov ecx, DWORD PTR _value$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN3@htmlnamePu
; 172 : ctxt->html = 10;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+32], 10 ; 0000000aH
$LN3@htmlnamePu:
; 173 : if (ctxt->nameNr >= ctxt->nameMax) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [eax+188]
cmp edx, DWORD PTR [ecx+192]
jl SHORT $LN4@htmlnamePu
; 174 : ctxt->nameMax *= 2;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+192]
shl ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+192], ecx
; 175 : ctxt->nameTab = (const xmlChar * *)
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+192]
shl ecx, 2
mov esi, esp
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+196]
push eax
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+196], eax
; 176 : xmlRealloc((xmlChar * *)ctxt->nameTab,
; 177 : ctxt->nameMax *
; 178 : sizeof(ctxt->nameTab[0]));
; 179 : if (ctxt->nameTab == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+196], 0
jne SHORT $LN4@htmlnamePu
; 180 : htmlErrMemory(ctxt, NULL);
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlErrMemory
add esp, 8
; 181 : return (0);
xor eax, eax
jmp SHORT $LN1@htmlnamePu
$LN4@htmlnamePu:
; 182 : }
; 183 : }
; 184 : ctxt->nameTab[ctxt->nameNr] = value;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+188]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+196]
mov eax, DWORD PTR _value$[ebp]
mov DWORD PTR [ecx+edx*4], eax
; 185 : ctxt->name = value;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _value$[ebp]
mov DWORD PTR [ecx+184], edx
; 186 : return (ctxt->nameNr++);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+188]
mov DWORD PTR tv136[ebp], ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+188], eax
mov eax, DWORD PTR tv136[ebp]
$LN1@htmlnamePu:
; 187 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlnamePush ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseErrInt
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_error$ = 12 ; size = 4
_msg$ = 16 ; size = 4
_val$ = 20 ; size = 4
_htmlParseErrInt PROC ; COMDAT
; 138 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 139 : if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN2@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+212], 0
je SHORT $LN2@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], -1
jne SHORT $LN2@htmlParseE
; 140 : (ctxt->instate == XML_PARSER_EOF))
; 141 : return;
jmp SHORT $LN1@htmlParseE
$LN2@htmlParseE:
; 142 : if (ctxt != NULL)
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN3@htmlParseE
; 143 : ctxt->errNo = error;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _error$[ebp]
mov DWORD PTR [edx+84], eax
$LN3@htmlParseE:
; 144 : __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_HTML, error,
mov ecx, DWORD PTR _val$[ebp]
push ecx
mov edx, DWORD PTR _msg$[ebp]
push edx
push 0
mov eax, DWORD PTR _val$[ebp]
push eax
push 0
push 0
push 0
push 0
push 0
push 2
mov ecx, DWORD PTR _error$[ebp]
push ecx
push 5
push 0
mov edx, DWORD PTR _ctxt$[ebp]
push edx
push 0
push 0
push 0
call ___xmlRaiseError
add esp, 68 ; 00000044H
; 145 : XML_ERR_ERROR, NULL, 0, NULL, NULL,
; 146 : NULL, val, 0, msg, val);
; 147 : if (ctxt != NULL)
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN1@htmlParseE
; 148 : ctxt->wellFormed = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+12], 0
$LN1@htmlParseE:
; 149 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlParseErrInt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseErr
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_error$ = 12 ; size = 4
_msg$ = 16 ; size = 4
_str1$ = 20 ; size = 4
_str2$ = 24 ; size = 4
_htmlParseErr PROC ; COMDAT
; 111 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 112 : if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN2@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+212], 0
je SHORT $LN2@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], -1
jne SHORT $LN2@htmlParseE
; 113 : (ctxt->instate == XML_PARSER_EOF))
; 114 : return;
jmp SHORT $LN1@htmlParseE
$LN2@htmlParseE:
; 115 : if (ctxt != NULL)
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN3@htmlParseE
; 116 : ctxt->errNo = error;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _error$[ebp]
mov DWORD PTR [edx+84], eax
$LN3@htmlParseE:
; 117 : __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_HTML, error,
mov ecx, DWORD PTR _str2$[ebp]
push ecx
mov edx, DWORD PTR _str1$[ebp]
push edx
mov eax, DWORD PTR _msg$[ebp]
push eax
push 0
push 0
push 0
mov ecx, DWORD PTR _str2$[ebp]
push ecx
mov edx, DWORD PTR _str1$[ebp]
push edx
push 0
push 0
push 2
mov eax, DWORD PTR _error$[ebp]
push eax
push 5
push 0
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
push 0
push 0
push 0
call ___xmlRaiseError
add esp, 72 ; 00000048H
; 118 : XML_ERR_ERROR, NULL, 0,
; 119 : (const char *) str1, (const char *) str2,
; 120 : NULL, 0, 0,
; 121 : msg, str1, str2);
; 122 : if (ctxt != NULL)
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN1@htmlParseE
; 123 : ctxt->wellFormed = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+12], 0
$LN1@htmlParseE:
; 124 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlParseErr ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlErrMemory
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_extra$ = 12 ; size = 4
_htmlErrMemory PROC ; COMDAT
; 78 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 79 : if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN2@htmlErrMem
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+212], 0
je SHORT $LN2@htmlErrMem
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], -1
jne SHORT $LN2@htmlErrMem
; 80 : (ctxt->instate == XML_PARSER_EOF))
; 81 : return;
jmp $LN1@htmlErrMem
$LN2@htmlErrMem:
; 82 : if (ctxt != NULL) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN3@htmlErrMem
; 83 : ctxt->errNo = XML_ERR_NO_MEMORY;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+84], 2
; 84 : ctxt->instate = XML_PARSER_EOF;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+172], -1
; 85 : ctxt->disableSAX = 1;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+212], 1
$LN3@htmlErrMem:
; 86 : }
; 87 : if (extra)
cmp DWORD PTR _extra$[ebp], 0
je SHORT $LN4@htmlErrMem
; 88 : __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER,
mov edx, DWORD PTR _extra$[ebp]
push edx
push OFFSET ??_C@_0BP@DJFHNAOK@Memory?5allocation?5failed?5?3?5?$CFs?6@
push 0
push 0
push 0
push 0
mov eax, DWORD PTR _extra$[ebp]
push eax
push 0
push 0
push 3
push 2
push 1
push 0
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
push 0
push 0
push 0
call ___xmlRaiseError
add esp, 68 ; 00000044H
jmp SHORT $LN1@htmlErrMem
$LN4@htmlErrMem:
; 89 : XML_ERR_NO_MEMORY, XML_ERR_FATAL, NULL, 0, extra,
; 90 : NULL, NULL, 0, 0,
; 91 : "Memory allocation failed : %s\n", extra);
; 92 : else
; 93 : __xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER,
push OFFSET ??_C@_0BK@GDFDKGPJ@Memory?5allocation?5failed?6@
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push 2
push 1
push 0
mov edx, DWORD PTR _ctxt$[ebp]
push edx
push 0
push 0
push 0
call ___xmlRaiseError
add esp, 64 ; 00000040H
$LN1@htmlErrMem:
; 94 : XML_ERR_NO_MEMORY, XML_ERR_FATAL, NULL, 0, NULL,
; 95 : NULL, NULL, 0, 0, "Memory allocation failed\n");
; 96 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlErrMemory ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseComment
_TEXT SEGMENT
tv379 = -120 ; size = 4
tv381 = -116 ; size = 4
tv380 = -112 ; size = 4
tv273 = -108 ; size = 4
tv275 = -104 ; size = 4
tv274 = -100 ; size = 4
tv223 = -96 ; size = 4
tv225 = -92 ; size = 4
tv224 = -88 ; size = 4
tv173 = -84 ; size = 4
tv175 = -80 ; size = 4
tv174 = -76 ; size = 4
tv70 = -72 ; size = 4
_tmp$1 = -68 ; size = 4
_state$ = -64 ; size = 4
_l$ = -56 ; size = 4
_cur$ = -48 ; size = 4
_rl$ = -40 ; size = 4
_r$ = -32 ; size = 4
_ql$ = -24 ; size = 4
_q$ = -16 ; size = 4
_size$ = -12 ; size = 4
_len$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseComment PROC ; COMDAT
; 3290 : htmlParseComment(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 120 ; 00000078H
push esi
push edi
lea edi, DWORD PTR [ebp-120]
mov ecx, 30 ; 0000001eH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3291 : xmlChar *buf = NULL;
mov DWORD PTR _buf$[ebp], 0
; 3292 : int len;
; 3293 : int size = HTML_PARSER_BUFFER_SIZE;
mov DWORD PTR _size$[ebp], 100 ; 00000064H
; 3294 : int q, ql;
; 3295 : int r, rl;
; 3296 : int cur, l;
; 3297 : xmlParserInputState state;
; 3298 :
; 3299 : /*
; 3300 : * Check that there is a comment right here.
; 3301 : */
; 3302 : if ((RAW != '<') || (NXT(1) != '!') ||
; 3303 : (NXT(2) != '-') || (NXT(3) != '-')) return;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+176], 0
je SHORT $LN36@htmlParseC
mov DWORD PTR tv70[ebp], -1
jmp SHORT $LN37@htmlParseC
$LN36@htmlParseC:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
mov DWORD PTR tv70[ebp], ecx
$LN37@htmlParseC:
cmp DWORD PTR tv70[ebp], 60 ; 0000003cH
jne SHORT $LN14@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 33 ; 00000021H
jne SHORT $LN14@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 45 ; 0000002dH
jne SHORT $LN14@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 45 ; 0000002dH
je SHORT $LN13@htmlParseC
$LN14@htmlParseC:
jmp $LN1@htmlParseC
$LN13@htmlParseC:
; 3304 :
; 3305 : state = ctxt->instate;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+172]
mov DWORD PTR _state$[ebp], ecx
; 3306 : ctxt->instate = XML_PARSER_COMMENT;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 5
; 3307 : SHRINK;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
cmp ecx, 500 ; 000001f4H
jle SHORT $LN15@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 500 ; 000001f4H
jge SHORT $LN15@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputShrink
add esp, 4
$LN15@htmlParseC:
; 3308 : SKIP(4);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 4
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, 4
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+32]
add ecx, 4
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], ecx
; 3309 : buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar));
mov esi, esp
mov ecx, DWORD PTR _size$[ebp]
push ecx
call DWORD PTR _xmlMallocAtomic
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _buf$[ebp], eax
; 3310 : if (buf == NULL) {
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN16@htmlParseC
; 3311 : htmlErrMemory(ctxt, "buffer allocation failed\n");
push OFFSET ??_C@_0BK@LKGAKEEM@buffer?5allocation?5failed?6@
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlErrMemory
add esp, 8
; 3312 : ctxt->instate = state;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _state$[ebp]
mov DWORD PTR [eax+172], ecx
; 3313 : return;
jmp $LN1@htmlParseC
$LN16@htmlParseC:
; 3314 : }
; 3315 : len = 0;
mov DWORD PTR _len$[ebp], 0
; 3316 : buf[len] = 0;
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _len$[ebp]
mov BYTE PTR [edx], 0
; 3317 : q = CUR_CHAR(ql);
lea eax, DWORD PTR _ql$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _q$[ebp], eax
; 3318 : if (!IS_CHAR(q))
cmp DWORD PTR _q$[ebp], 256 ; 00000100H
jge SHORT $LN46@htmlParseC
cmp DWORD PTR _q$[ebp], 9
jl SHORT $LN38@htmlParseC
cmp DWORD PTR _q$[ebp], 10 ; 0000000aH
jle SHORT $LN39@htmlParseC
$LN38@htmlParseC:
cmp DWORD PTR _q$[ebp], 13 ; 0000000dH
je SHORT $LN39@htmlParseC
cmp DWORD PTR _q$[ebp], 32 ; 00000020H
jge SHORT $LN39@htmlParseC
mov DWORD PTR tv174[ebp], 0
jmp SHORT $LN45@htmlParseC
$LN39@htmlParseC:
mov DWORD PTR tv174[ebp], 1
$LN45@htmlParseC:
mov edx, DWORD PTR tv174[ebp]
mov DWORD PTR tv175[ebp], edx
jmp SHORT $LN47@htmlParseC
$LN46@htmlParseC:
cmp DWORD PTR _q$[ebp], 256 ; 00000100H
jl SHORT $LN40@htmlParseC
cmp DWORD PTR _q$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN42@htmlParseC
$LN40@htmlParseC:
cmp DWORD PTR _q$[ebp], 57344 ; 0000e000H
jl SHORT $LN41@htmlParseC
cmp DWORD PTR _q$[ebp], 65533 ; 0000fffdH
jle SHORT $LN42@htmlParseC
$LN41@htmlParseC:
cmp DWORD PTR _q$[ebp], 65536 ; 00010000H
jl SHORT $LN43@htmlParseC
cmp DWORD PTR _q$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN42@htmlParseC
$LN43@htmlParseC:
mov DWORD PTR tv173[ebp], 0
jmp SHORT $LN44@htmlParseC
$LN42@htmlParseC:
mov DWORD PTR tv173[ebp], 1
$LN44@htmlParseC:
mov eax, DWORD PTR tv173[ebp]
mov DWORD PTR tv175[ebp], eax
$LN47@htmlParseC:
cmp DWORD PTR tv175[ebp], 0
jne SHORT $LN4@htmlParseC
; 3319 : goto unfinished;
jmp $unfinished$83
$LN4@htmlParseC:
; 3320 : NEXTL(ql);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jne SHORT $LN18@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+28], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], 1
jmp SHORT $LN19@htmlParseC
$LN18@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
$LN19@htmlParseC:
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+176], 0
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, DWORD PTR _ql$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
xor edx, edx
jne $LN4@htmlParseC
; 3321 : r = CUR_CHAR(rl);
lea eax, DWORD PTR _rl$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _r$[ebp], eax
; 3322 : if (!IS_CHAR(r))
cmp DWORD PTR _r$[ebp], 256 ; 00000100H
jge SHORT $LN56@htmlParseC
cmp DWORD PTR _r$[ebp], 9
jl SHORT $LN48@htmlParseC
cmp DWORD PTR _r$[ebp], 10 ; 0000000aH
jle SHORT $LN49@htmlParseC
$LN48@htmlParseC:
cmp DWORD PTR _r$[ebp], 13 ; 0000000dH
je SHORT $LN49@htmlParseC
cmp DWORD PTR _r$[ebp], 32 ; 00000020H
jge SHORT $LN49@htmlParseC
mov DWORD PTR tv224[ebp], 0
jmp SHORT $LN55@htmlParseC
$LN49@htmlParseC:
mov DWORD PTR tv224[ebp], 1
$LN55@htmlParseC:
mov edx, DWORD PTR tv224[ebp]
mov DWORD PTR tv225[ebp], edx
jmp SHORT $LN57@htmlParseC
$LN56@htmlParseC:
cmp DWORD PTR _r$[ebp], 256 ; 00000100H
jl SHORT $LN50@htmlParseC
cmp DWORD PTR _r$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN52@htmlParseC
$LN50@htmlParseC:
cmp DWORD PTR _r$[ebp], 57344 ; 0000e000H
jl SHORT $LN51@htmlParseC
cmp DWORD PTR _r$[ebp], 65533 ; 0000fffdH
jle SHORT $LN52@htmlParseC
$LN51@htmlParseC:
cmp DWORD PTR _r$[ebp], 65536 ; 00010000H
jl SHORT $LN53@htmlParseC
cmp DWORD PTR _r$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN52@htmlParseC
$LN53@htmlParseC:
mov DWORD PTR tv223[ebp], 0
jmp SHORT $LN54@htmlParseC
$LN52@htmlParseC:
mov DWORD PTR tv223[ebp], 1
$LN54@htmlParseC:
mov eax, DWORD PTR tv223[ebp]
mov DWORD PTR tv225[ebp], eax
$LN57@htmlParseC:
cmp DWORD PTR tv225[ebp], 0
jne SHORT $LN7@htmlParseC
; 3323 : goto unfinished;
jmp $unfinished$83
$LN7@htmlParseC:
; 3324 : NEXTL(rl);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 10 ; 0000000aH
jne SHORT $LN21@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+28], ecx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], 1
jmp SHORT $LN22@htmlParseC
$LN21@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
$LN22@htmlParseC:
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+176], 0
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, DWORD PTR _rl$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+200]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], eax
xor edx, edx
jne $LN7@htmlParseC
; 3325 : cur = CUR_CHAR(l);
lea eax, DWORD PTR _l$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN8@htmlParseC:
; 3326 : while (IS_CHAR(cur) &&
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jge SHORT $LN66@htmlParseC
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN58@htmlParseC
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN59@htmlParseC
$LN58@htmlParseC:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN59@htmlParseC
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
jge SHORT $LN59@htmlParseC
mov DWORD PTR tv274[ebp], 0
jmp SHORT $LN65@htmlParseC
$LN59@htmlParseC:
mov DWORD PTR tv274[ebp], 1
$LN65@htmlParseC:
mov edx, DWORD PTR tv274[ebp]
mov DWORD PTR tv275[ebp], edx
jmp SHORT $LN67@htmlParseC
$LN66@htmlParseC:
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jl SHORT $LN60@htmlParseC
cmp DWORD PTR _cur$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN62@htmlParseC
$LN60@htmlParseC:
cmp DWORD PTR _cur$[ebp], 57344 ; 0000e000H
jl SHORT $LN61@htmlParseC
cmp DWORD PTR _cur$[ebp], 65533 ; 0000fffdH
jle SHORT $LN62@htmlParseC
$LN61@htmlParseC:
cmp DWORD PTR _cur$[ebp], 65536 ; 00010000H
jl SHORT $LN63@htmlParseC
cmp DWORD PTR _cur$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN62@htmlParseC
$LN63@htmlParseC:
mov DWORD PTR tv273[ebp], 0
jmp SHORT $LN64@htmlParseC
$LN62@htmlParseC:
mov DWORD PTR tv273[ebp], 1
$LN64@htmlParseC:
mov eax, DWORD PTR tv273[ebp]
mov DWORD PTR tv275[ebp], eax
$LN67@htmlParseC:
cmp DWORD PTR tv275[ebp], 0
je $LN9@htmlParseC
cmp DWORD PTR _cur$[ebp], 62 ; 0000003eH
jne SHORT $LN23@htmlParseC
cmp DWORD PTR _r$[ebp], 45 ; 0000002dH
jne SHORT $LN23@htmlParseC
cmp DWORD PTR _q$[ebp], 45 ; 0000002dH
je $LN9@htmlParseC
$LN23@htmlParseC:
; 3327 : ((cur != '>') ||
; 3328 : (r != '-') || (q != '-'))) {
; 3329 : if (len + 5 >= size) {
mov ecx, DWORD PTR _len$[ebp]
add ecx, 5
cmp ecx, DWORD PTR _size$[ebp]
jl SHORT $LN24@htmlParseC
; 3330 : xmlChar *tmp;
; 3331 :
; 3332 : size *= 2;
mov edx, DWORD PTR _size$[ebp]
shl edx, 1
mov DWORD PTR _size$[ebp], edx
; 3333 : tmp = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
mov esi, esp
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call DWORD PTR _xmlRealloc
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _tmp$1[ebp], eax
; 3334 : if (tmp == NULL) {
cmp DWORD PTR _tmp$1[ebp], 0
jne SHORT $LN25@htmlParseC
; 3335 : xmlFree(buf);
mov esi, esp
mov edx, DWORD PTR _buf$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 3336 : htmlErrMemory(ctxt, "growing buffer failed\n");
push OFFSET ??_C@_0BH@HKBCFNGN@growing?5buffer?5failed?6@
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlErrMemory
add esp, 8
; 3337 : ctxt->instate = state;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _state$[ebp]
mov DWORD PTR [ecx+172], edx
; 3338 : return;
jmp $LN1@htmlParseC
$LN25@htmlParseC:
; 3339 : }
; 3340 : buf = tmp;
mov eax, DWORD PTR _tmp$1[ebp]
mov DWORD PTR _buf$[ebp], eax
$LN24@htmlParseC:
; 3341 : }
; 3342 : COPY_BUF(ql,buf,len,q);
cmp DWORD PTR _ql$[ebp], 1
jne SHORT $LN26@htmlParseC
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _len$[ebp]
mov dl, BYTE PTR _q$[ebp]
mov BYTE PTR [ecx], dl
mov eax, DWORD PTR _len$[ebp]
add eax, 1
mov DWORD PTR _len$[ebp], eax
jmp SHORT $LN27@htmlParseC
$LN26@htmlParseC:
mov ecx, DWORD PTR _q$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
add edx, DWORD PTR _len$[ebp]
push edx
mov eax, DWORD PTR _ql$[ebp]
push eax
call _xmlCopyChar
add esp, 12 ; 0000000cH
add eax, DWORD PTR _len$[ebp]
mov DWORD PTR _len$[ebp], eax
$LN27@htmlParseC:
; 3343 : q = r;
mov ecx, DWORD PTR _r$[ebp]
mov DWORD PTR _q$[ebp], ecx
; 3344 : ql = rl;
mov edx, DWORD PTR _rl$[ebp]
mov DWORD PTR _ql$[ebp], edx
; 3345 : r = cur;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR _r$[ebp], eax
; 3346 : rl = l;
mov ecx, DWORD PTR _l$[ebp]
mov DWORD PTR _rl$[ebp], ecx
$LN12@htmlParseC:
; 3347 : NEXTL(l);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jne SHORT $LN28@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+28]
add edx, 1
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+28], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], 1
jmp SHORT $LN29@htmlParseC
$LN28@htmlParseC:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+32]
add eax, 1
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+32], eax
$LN29@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+176], 0
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, DWORD PTR _l$[ebp]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 1
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
xor eax, eax
jne $LN12@htmlParseC
; 3348 : cur = CUR_CHAR(l);
lea ecx, DWORD PTR _l$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
; 3349 : if (cur == 0) {
cmp DWORD PTR _cur$[ebp], 0
jne $LN30@htmlParseC
; 3350 : SHRINK;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
cmp ecx, 500 ; 000001f4H
jle SHORT $LN31@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 500 ; 000001f4H
jge SHORT $LN31@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputShrink
add esp, 4
$LN31@htmlParseC:
; 3351 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN32@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN32@htmlParseC
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN32@htmlParseC:
; 3352 : cur = CUR_CHAR(l);
lea edx, DWORD PTR _l$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCurrentChar
add esp, 8
mov DWORD PTR _cur$[ebp], eax
$LN30@htmlParseC:
; 3353 : }
; 3354 : }
jmp $LN8@htmlParseC
$LN9@htmlParseC:
; 3355 : buf[len] = 0;
mov ecx, DWORD PTR _buf$[ebp]
add ecx, DWORD PTR _len$[ebp]
mov BYTE PTR [ecx], 0
; 3356 : if (IS_CHAR(cur)) {
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jge SHORT $LN76@htmlParseC
cmp DWORD PTR _cur$[ebp], 9
jl SHORT $LN68@htmlParseC
cmp DWORD PTR _cur$[ebp], 10 ; 0000000aH
jle SHORT $LN69@htmlParseC
$LN68@htmlParseC:
cmp DWORD PTR _cur$[ebp], 13 ; 0000000dH
je SHORT $LN69@htmlParseC
cmp DWORD PTR _cur$[ebp], 32 ; 00000020H
jge SHORT $LN69@htmlParseC
mov DWORD PTR tv380[ebp], 0
jmp SHORT $LN75@htmlParseC
$LN69@htmlParseC:
mov DWORD PTR tv380[ebp], 1
$LN75@htmlParseC:
mov edx, DWORD PTR tv380[ebp]
mov DWORD PTR tv381[ebp], edx
jmp SHORT $LN77@htmlParseC
$LN76@htmlParseC:
cmp DWORD PTR _cur$[ebp], 256 ; 00000100H
jl SHORT $LN70@htmlParseC
cmp DWORD PTR _cur$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN72@htmlParseC
$LN70@htmlParseC:
cmp DWORD PTR _cur$[ebp], 57344 ; 0000e000H
jl SHORT $LN71@htmlParseC
cmp DWORD PTR _cur$[ebp], 65533 ; 0000fffdH
jle SHORT $LN72@htmlParseC
$LN71@htmlParseC:
cmp DWORD PTR _cur$[ebp], 65536 ; 00010000H
jl SHORT $LN73@htmlParseC
cmp DWORD PTR _cur$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN72@htmlParseC
$LN73@htmlParseC:
mov DWORD PTR tv379[ebp], 0
jmp SHORT $LN74@htmlParseC
$LN72@htmlParseC:
mov DWORD PTR tv379[ebp], 1
$LN74@htmlParseC:
mov eax, DWORD PTR tv379[ebp]
mov DWORD PTR tv381[ebp], eax
$LN77@htmlParseC:
cmp DWORD PTR tv381[ebp], 0
je SHORT $unfinished$83
; 3357 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 3358 : if ((ctxt->sax != NULL) && (ctxt->sax->comment != NULL) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN34@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+80], 0
je SHORT $LN34@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+212], 0
jne SHORT $LN34@htmlParseC
; 3359 : (!ctxt->disableSAX))
; 3360 : ctxt->sax->comment(ctxt->userData, buf);
mov esi, esp
mov eax, DWORD PTR _buf$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+80]
call edx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN34@htmlParseC:
; 3361 : xmlFree(buf);
mov esi, esp
mov eax, DWORD PTR _buf$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 3362 : ctxt->instate = state;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _state$[ebp]
mov DWORD PTR [ecx+172], edx
; 3363 : return;
jmp SHORT $LN1@htmlParseC
$unfinished$83:
; 3364 : }
; 3365 :
; 3366 : unfinished:
; 3367 : htmlParseErr(ctxt, XML_ERR_COMMENT_NOT_FINISHED,
push 0
mov eax, DWORD PTR _buf$[ebp]
push eax
push OFFSET ??_C@_0CD@MHPLKFMN@Comment?5not?5terminated?5?6?$DM?$CB?9?9?$CF?45@
push 45 ; 0000002dH
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3368 : "Comment not terminated \n<!--%.50s\n", buf, NULL);
; 3369 : xmlFree(buf);
mov esi, esp
mov edx, DWORD PTR _buf$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseC:
; 3370 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN82@htmlParseC
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 120 ; 00000078H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN82@htmlParseC:
DD 3
DD $LN81@htmlParseC
$LN81@htmlParseC:
DD -24 ; ffffffe8H
DD 4
DD $LN78@htmlParseC
DD -40 ; ffffffd8H
DD 4
DD $LN79@htmlParseC
DD -56 ; ffffffc8H
DD 4
DD $LN80@htmlParseC
$LN80@htmlParseC:
DB 108 ; 0000006cH
DB 0
$LN79@htmlParseC:
DB 114 ; 00000072H
DB 108 ; 0000006cH
DB 0
$LN78@htmlParseC:
DB 113 ; 00000071H
DB 108 ; 0000006cH
DB 0
_htmlParseComment ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNewDocNoDtD
_TEXT SEGMENT
_cur$ = -4 ; size = 4
_URI$ = 8 ; size = 4
_ExternalID$ = 12 ; size = 4
_htmlNewDocNoDtD PROC ; COMDAT
; 2310 : htmlNewDocNoDtD(const xmlChar *URI, const xmlChar *ExternalID) {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2311 : xmlDocPtr cur;
; 2312 :
; 2313 : /*
; 2314 : * Allocate a new document and fill the fields.
; 2315 : */
; 2316 : cur = (xmlDocPtr) xmlMalloc(sizeof(xmlDoc));
mov esi, esp
push 96 ; 00000060H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _cur$[ebp], eax
; 2317 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlNewDoc
; 2318 : htmlErrMemory(NULL, "HTML document creation failed\n");
push OFFSET ??_C@_0BP@NIBPLFNK@HTML?5document?5creation?5failed?6@
push 0
call _htmlErrMemory
add esp, 8
; 2319 : return(NULL);
xor eax, eax
jmp $LN1@htmlNewDoc
$LN2@htmlNewDoc:
; 2320 : }
; 2321 : memset(cur, 0, sizeof(xmlDoc));
push 96 ; 00000060H
push 0
mov eax, DWORD PTR _cur$[ebp]
push eax
call _memset
add esp, 12 ; 0000000cH
; 2322 :
; 2323 : cur->type = XML_HTML_DOCUMENT_NODE;
mov ecx, DWORD PTR _cur$[ebp]
mov DWORD PTR [ecx+4], 13 ; 0000000dH
; 2324 : cur->version = NULL;
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [edx+56], 0
; 2325 : cur->intSubset = NULL;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR [eax+44], 0
; 2326 : cur->doc = cur;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [ecx+32], edx
; 2327 : cur->name = NULL;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR [eax+8], 0
; 2328 : cur->children = NULL;
mov ecx, DWORD PTR _cur$[ebp]
mov DWORD PTR [ecx+12], 0
; 2329 : cur->extSubset = NULL;
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [edx+48], 0
; 2330 : cur->oldNs = NULL;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR [eax+52], 0
; 2331 : cur->encoding = NULL;
mov ecx, DWORD PTR _cur$[ebp]
mov DWORD PTR [ecx+60], 0
; 2332 : cur->standalone = 1;
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [edx+40], 1
; 2333 : cur->compression = 0;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR [eax+36], 0
; 2334 : cur->ids = NULL;
mov ecx, DWORD PTR _cur$[ebp]
mov DWORD PTR [ecx+64], 0
; 2335 : cur->refs = NULL;
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [edx+68], 0
; 2336 : cur->_private = NULL;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR [eax], 0
; 2337 : cur->charset = XML_CHAR_ENCODING_UTF8;
mov ecx, DWORD PTR _cur$[ebp]
mov DWORD PTR [ecx+76], 1
; 2338 : cur->properties = XML_DOC_HTML | XML_DOC_USERBUILT;
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [edx+92], 160 ; 000000a0H
; 2339 : if ((ExternalID != NULL) ||
cmp DWORD PTR _ExternalID$[ebp], 0
jne SHORT $LN4@htmlNewDoc
cmp DWORD PTR _URI$[ebp], 0
je SHORT $LN3@htmlNewDoc
$LN4@htmlNewDoc:
; 2340 : (URI != NULL))
; 2341 : xmlCreateIntSubset(cur, BAD_CAST "html", ExternalID, URI);
mov eax, DWORD PTR _URI$[ebp]
push eax
mov ecx, DWORD PTR _ExternalID$[ebp]
push ecx
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _cur$[ebp]
push edx
call _xmlCreateIntSubset
add esp, 16 ; 00000010H
$LN3@htmlNewDoc:
; 2342 : return(cur);
mov eax, DWORD PTR _cur$[ebp]
$LN1@htmlNewDoc:
; 2343 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNewDocNoDtD ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNewDoc
_TEXT SEGMENT
_URI$ = 8 ; size = 4
_ExternalID$ = 12 ; size = 4
_htmlNewDoc PROC ; COMDAT
; 2355 : htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2356 : if ((URI == NULL) && (ExternalID == NULL))
cmp DWORD PTR _URI$[ebp], 0
jne SHORT $LN2@htmlNewDoc
cmp DWORD PTR _ExternalID$[ebp], 0
jne SHORT $LN2@htmlNewDoc
; 2357 : return(htmlNewDocNoDtD(
push OFFSET ??_C@_0CG@CIBPFINF@?9?1?1W3C?1?1DTD?5HTML?54?40?5Transition@
push OFFSET ??_C@_0CK@JLEAHDEJ@http?3?1?1www?4w3?4org?1TR?1REC?9html40@
call _htmlNewDocNoDtD
add esp, 8
jmp SHORT $LN1@htmlNewDoc
$LN2@htmlNewDoc:
; 2358 : BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd",
; 2359 : BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN"));
; 2360 :
; 2361 : return(htmlNewDocNoDtD(URI, ExternalID));
mov eax, DWORD PTR _ExternalID$[ebp]
push eax
mov ecx, DWORD PTR _URI$[ebp]
push ecx
call _htmlNewDocNoDtD
add esp, 8
$LN1@htmlNewDoc:
; 2362 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlNewDoc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCreateFileParserCtxt
_TEXT SEGMENT
tv214 = -81 ; size = 1
tv211 = -80 ; size = 4
tv208 = -76 ; size = 4
tv207 = -72 ; size = 4
tv202 = -65 ; size = 1
tv199 = -64 ; size = 4
tv197 = -60 ; size = 4
tv135 = -53 ; size = 1
tv134 = -52 ; size = 4
tv133 = -48 ; size = 4
tv132 = -44 ; size = 4
tv90 = -40 ; size = 4
tv176 = -33 ; size = 1
tv173 = -32 ; size = 4
tv170 = -28 ; size = 4
_l$1 = -24 ; size = 4
_content_line$ = -20 ; size = 4
_content$ = -16 ; size = 4
_canonicFilename$ = -12 ; size = 4
_inputStream$ = -8 ; size = 4
_ctxt$ = -4 ; size = 4
_filename$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_htmlCreateFileParserCtxt PROC ; COMDAT
; 6339 : {
push ebp
mov ebp, esp
sub esp, 84 ; 00000054H
push esi
push edi
lea edi, DWORD PTR [ebp-84]
mov ecx, 21 ; 00000015H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6340 : htmlParserCtxtPtr ctxt;
; 6341 : htmlParserInputPtr inputStream;
; 6342 : char *canonicFilename;
; 6343 : /* htmlCharEncoding enc; */
; 6344 : xmlChar *content, *content_line = (xmlChar *) "charset=";
mov DWORD PTR _content_line$[ebp], OFFSET ??_C@_08JPKHBDLJ@charset?$DN@
; 6345 :
; 6346 : if (filename == NULL)
cmp DWORD PTR _filename$[ebp], 0
jne SHORT $LN2@htmlCreate
; 6347 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN2@htmlCreate:
; 6348 :
; 6349 : ctxt = htmlNewParserCtxt();
call _htmlNewParserCtxt
mov DWORD PTR _ctxt$[ebp], eax
; 6350 : if (ctxt == NULL) {
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCreate
; 6351 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN3@htmlCreate:
; 6352 : }
; 6353 : canonicFilename = (char *) xmlCanonicPath((const xmlChar *) filename);
mov eax, DWORD PTR _filename$[ebp]
push eax
call _xmlCanonicPath
add esp, 4
mov DWORD PTR _canonicFilename$[ebp], eax
; 6354 : if (canonicFilename == NULL) {
cmp DWORD PTR _canonicFilename$[ebp], 0
jne SHORT $LN4@htmlCreate
; 6355 : #ifdef LIBXML_SAX1_ENABLED
; 6356 : if (xmlDefaultSAXHandler.error != NULL) {
call ___xmlDefaultSAXHandler
cmp DWORD PTR [eax+88], 0
je SHORT $LN5@htmlCreate
; 6357 : xmlDefaultSAXHandler.error(NULL, "out of memory\n");
mov esi, esp
push OFFSET ??_C@_0P@PCJPAHLM@out?5of?5memory?6@
push 0
call ___xmlDefaultSAXHandler
mov ecx, DWORD PTR [eax+88]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN5@htmlCreate:
; 6358 : }
; 6359 : #endif
; 6360 : xmlFreeParserCtxt(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlFreeParserCtxt
add esp, 4
; 6361 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN4@htmlCreate:
; 6362 : }
; 6363 :
; 6364 : inputStream = xmlLoadExternalEntity(canonicFilename, NULL, ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
push 0
mov ecx, DWORD PTR _canonicFilename$[ebp]
push ecx
call _xmlLoadExternalEntity
add esp, 12 ; 0000000cH
mov DWORD PTR _inputStream$[ebp], eax
; 6365 : xmlFree(canonicFilename);
mov esi, esp
mov edx, DWORD PTR _canonicFilename$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 6366 : if (inputStream == NULL) {
cmp DWORD PTR _inputStream$[ebp], 0
jne SHORT $LN6@htmlCreate
; 6367 : xmlFreeParserCtxt(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlFreeParserCtxt
add esp, 4
; 6368 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN6@htmlCreate:
; 6369 : }
; 6370 :
; 6371 : inputPush(ctxt, inputStream);
mov ecx, DWORD PTR _inputStream$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _inputPush
add esp, 8
; 6372 :
; 6373 : /* set encoding */
; 6374 : if (encoding) {
cmp DWORD PTR _encoding$[ebp], 0
je $LN7@htmlCreate
; 6375 : size_t l = strlen(encoding);
mov eax, DWORD PTR _encoding$[ebp]
mov DWORD PTR tv170[ebp], eax
mov ecx, DWORD PTR tv170[ebp]
add ecx, 1
mov DWORD PTR tv173[ebp], ecx
$LL12@htmlCreate:
mov edx, DWORD PTR tv170[ebp]
mov al, BYTE PTR [edx]
mov BYTE PTR tv176[ebp], al
add DWORD PTR tv170[ebp], 1
cmp BYTE PTR tv176[ebp], 0
jne SHORT $LL12@htmlCreate
mov ecx, DWORD PTR tv170[ebp]
sub ecx, DWORD PTR tv173[ebp]
mov DWORD PTR tv90[ebp], ecx
mov edx, DWORD PTR tv90[ebp]
mov DWORD PTR _l$1[ebp], edx
; 6376 :
; 6377 : if (l < 1000) {
cmp DWORD PTR _l$1[ebp], 1000 ; 000003e8H
jae $LN7@htmlCreate
; 6378 : content = xmlMallocAtomic (xmlStrlen(content_line) + l + 1);
mov eax, DWORD PTR _content_line$[ebp]
push eax
call _xmlStrlen
add esp, 4
mov ecx, DWORD PTR _l$1[ebp]
lea edx, DWORD PTR [eax+ecx+1]
mov esi, esp
push edx
call DWORD PTR _xmlMallocAtomic
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _content$[ebp], eax
; 6379 : if (content) {
cmp DWORD PTR _content$[ebp], 0
je $LN7@htmlCreate
; 6380 : strcpy ((char *)content, (char *)content_line);
mov eax, DWORD PTR _content_line$[ebp]
mov DWORD PTR tv132[ebp], eax
mov ecx, DWORD PTR _content$[ebp]
mov DWORD PTR tv133[ebp], ecx
mov edx, DWORD PTR tv133[ebp]
mov DWORD PTR tv134[ebp], edx
$LN11@htmlCreate:
mov eax, DWORD PTR tv132[ebp]
mov cl, BYTE PTR [eax]
mov BYTE PTR tv135[ebp], cl
mov edx, DWORD PTR tv133[ebp]
mov al, BYTE PTR tv135[ebp]
mov BYTE PTR [edx], al
mov ecx, DWORD PTR tv132[ebp]
add ecx, 1
mov DWORD PTR tv132[ebp], ecx
mov edx, DWORD PTR tv133[ebp]
add edx, 1
mov DWORD PTR tv133[ebp], edx
cmp BYTE PTR tv135[ebp], 0
jne SHORT $LN11@htmlCreate
; 6381 : strcat ((char *)content, (char *)encoding);
mov eax, DWORD PTR _encoding$[ebp]
mov DWORD PTR tv197[ebp], eax
mov ecx, DWORD PTR tv197[ebp]
mov DWORD PTR tv199[ebp], ecx
$LL13@htmlCreate:
mov edx, DWORD PTR tv197[ebp]
mov al, BYTE PTR [edx]
mov BYTE PTR tv202[ebp], al
add DWORD PTR tv197[ebp], 1
cmp BYTE PTR tv202[ebp], 0
jne SHORT $LL13@htmlCreate
mov ecx, DWORD PTR tv197[ebp]
sub ecx, DWORD PTR tv199[ebp]
mov edx, DWORD PTR tv199[ebp]
mov DWORD PTR tv207[ebp], edx
mov DWORD PTR tv208[ebp], ecx
mov eax, DWORD PTR _content$[ebp]
add eax, -1
mov DWORD PTR tv211[ebp], eax
$LL14@htmlCreate:
mov ecx, DWORD PTR tv211[ebp]
mov dl, BYTE PTR [ecx+1]
mov BYTE PTR tv214[ebp], dl
add DWORD PTR tv211[ebp], 1
cmp BYTE PTR tv214[ebp], 0
jne SHORT $LL14@htmlCreate
mov edi, DWORD PTR tv211[ebp]
mov esi, DWORD PTR tv207[ebp]
mov eax, DWORD PTR tv208[ebp]
mov ecx, eax
shr ecx, 2
rep movsd
mov ecx, eax
and ecx, 3
rep movsb
; 6382 : htmlCheckEncoding (ctxt, content);
mov ecx, DWORD PTR _content$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlCheckEncoding
add esp, 8
; 6383 : xmlFree (content);
mov esi, esp
mov eax, DWORD PTR _content$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN7@htmlCreate:
; 6384 : }
; 6385 : }
; 6386 : }
; 6387 :
; 6388 : return(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
$LN1@htmlCreate:
; 6389 : }
pop edi
pop esi
add esp, 84 ; 00000054H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCreateFileParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlInitAutoClose
_TEXT SEGMENT
_i$ = -8 ; size = 4
_indx$ = -4 ; size = 4
_htmlInitAutoClose PROC ; COMDAT
; 1231 : htmlInitAutoClose(void) {
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1232 : int indx, i = 0;
mov DWORD PTR _i$[ebp], 0
; 1233 :
; 1234 : if (htmlStartCloseIndexinitialized) return;
cmp DWORD PTR _htmlStartCloseIndexinitialized, 0
je SHORT $LN9@htmlInitAu
jmp $LN1@htmlInitAu
$LN9@htmlInitAu:
; 1235 :
; 1236 : for (indx = 0;indx < 100;indx ++) htmlStartCloseIndex[indx] = NULL;
mov DWORD PTR _indx$[ebp], 0
jmp SHORT $LN4@htmlInitAu
$LN2@htmlInitAu:
mov eax, DWORD PTR _indx$[ebp]
add eax, 1
mov DWORD PTR _indx$[ebp], eax
$LN4@htmlInitAu:
cmp DWORD PTR _indx$[ebp], 100 ; 00000064H
jge SHORT $LN3@htmlInitAu
mov ecx, DWORD PTR _indx$[ebp]
mov DWORD PTR _htmlStartCloseIndex[ecx*4], 0
jmp SHORT $LN2@htmlInitAu
$LN3@htmlInitAu:
; 1237 : indx = 0;
mov DWORD PTR _indx$[ebp], 0
$LN5@htmlInitAu:
; 1238 : while ((htmlStartClose[i] != NULL) && (indx < 100 - 1)) {
mov edx, DWORD PTR _i$[ebp]
cmp DWORD PTR _htmlStartClose[edx*4], 0
je SHORT $LN6@htmlInitAu
cmp DWORD PTR _indx$[ebp], 99 ; 00000063H
jge SHORT $LN6@htmlInitAu
; 1239 : htmlStartCloseIndex[indx++] = (const char**) &htmlStartClose[i];
mov eax, DWORD PTR _i$[ebp]
lea ecx, DWORD PTR _htmlStartClose[eax*4]
mov edx, DWORD PTR _indx$[ebp]
mov DWORD PTR _htmlStartCloseIndex[edx*4], ecx
mov eax, DWORD PTR _indx$[ebp]
add eax, 1
mov DWORD PTR _indx$[ebp], eax
$LN7@htmlInitAu:
; 1240 : while (htmlStartClose[i] != NULL) i++;
mov ecx, DWORD PTR _i$[ebp]
cmp DWORD PTR _htmlStartClose[ecx*4], 0
je SHORT $LN8@htmlInitAu
mov edx, DWORD PTR _i$[ebp]
add edx, 1
mov DWORD PTR _i$[ebp], edx
jmp SHORT $LN7@htmlInitAu
$LN8@htmlInitAu:
; 1241 : i++;
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
; 1242 : }
jmp SHORT $LN5@htmlInitAu
$LN6@htmlInitAu:
; 1243 : htmlStartCloseIndexinitialized = 1;
mov DWORD PTR _htmlStartCloseIndexinitialized, 1
$LN1@htmlInitAu:
; 1244 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlInitAutoClose ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNodeStatus
_TEXT SEGMENT
tv88 = -12 ; size = 4
tv76 = -8 ; size = 4
tv66 = -4 ; size = 4
_node$ = 8 ; size = 4
_legacy$ = 12 ; size = 4
_htmlNodeStatus PROC ; COMDAT
; 6561 : htmlNodeStatus(const htmlNodePtr node, int legacy) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6562 : if ( ! node )
cmp DWORD PTR _node$[ebp], 0
jne SHORT $LN4@htmlNodeSt
; 6563 : return HTML_INVALID ;
mov eax, 1
jmp $LN1@htmlNodeSt
$LN4@htmlNodeSt:
; 6564 :
; 6565 : switch ( node->type ) {
mov eax, DWORD PTR _node$[ebp]
mov ecx, DWORD PTR [eax+4]
mov DWORD PTR tv66[ebp], ecx
cmp DWORD PTR tv66[ebp], 1
je SHORT $LN5@htmlNodeSt
cmp DWORD PTR tv66[ebp], 2
je SHORT $LN6@htmlNodeSt
jmp $LN7@htmlNodeSt
$LN5@htmlNodeSt:
; 6566 : case XML_ELEMENT_NODE:
; 6567 : return legacy
cmp DWORD PTR _legacy$[ebp], 0
je SHORT $LN11@htmlNodeSt
mov edx, DWORD PTR _node$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
mov ecx, DWORD PTR _node$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, DWORD PTR [edx+8]
push eax
call _htmlTagLookup
add esp, 4
push eax
call _htmlElementAllowedHere
add esp, 8
test eax, eax
je SHORT $LN9@htmlNodeSt
mov DWORD PTR tv76[ebp], 4
jmp SHORT $LN10@htmlNodeSt
$LN9@htmlNodeSt:
mov DWORD PTR tv76[ebp], 1
$LN10@htmlNodeSt:
mov ecx, DWORD PTR tv76[ebp]
mov DWORD PTR tv88[ebp], ecx
jmp SHORT $LN12@htmlNodeSt
$LN11@htmlNodeSt:
mov edx, DWORD PTR _node$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _htmlTagLookup
add esp, 4
push eax
mov ecx, DWORD PTR _node$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, DWORD PTR [edx+8]
push eax
call _htmlTagLookup
add esp, 4
push eax
call _htmlElementStatusHere
add esp, 8
mov DWORD PTR tv88[ebp], eax
$LN12@htmlNodeSt:
mov eax, DWORD PTR tv88[ebp]
jmp SHORT $LN1@htmlNodeSt
$LN6@htmlNodeSt:
; 6568 : ? ( htmlElementAllowedHere (
; 6569 : htmlTagLookup(node->parent->name) , node->name
; 6570 : ) ? HTML_VALID : HTML_INVALID )
; 6571 : : htmlElementStatusHere(
; 6572 : htmlTagLookup(node->parent->name) ,
; 6573 : htmlTagLookup(node->name) )
; 6574 : ;
; 6575 : case XML_ATTRIBUTE_NODE:
; 6576 : return htmlAttrAllowed(
mov ecx, DWORD PTR _legacy$[ebp]
push ecx
mov edx, DWORD PTR _node$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
mov ecx, DWORD PTR _node$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, DWORD PTR [edx+8]
push eax
call _htmlTagLookup
add esp, 4
push eax
call _htmlAttrAllowed
add esp, 12 ; 0000000cH
jmp SHORT $LN1@htmlNodeSt
$LN7@htmlNodeSt:
; 6577 : htmlTagLookup(node->parent->name) , node->name, legacy) ;
; 6578 : default: return HTML_NA ;
xor eax, eax
$LN1@htmlNodeSt:
; 6579 : }
; 6580 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNodeStatus ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlElementStatusHere
_TEXT SEGMENT
tv74 = -4 ; size = 4
_parent$ = 8 ; size = 4
_elt$ = 12 ; size = 4
_htmlElementStatusHere PROC ; COMDAT
; 6503 : htmlElementStatusHere(const htmlElemDesc* parent, const htmlElemDesc* elt) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6504 : if ( ! parent || ! elt )
cmp DWORD PTR _parent$[ebp], 0
je SHORT $LN3@htmlElemen
cmp DWORD PTR _elt$[ebp], 0
jne SHORT $LN2@htmlElemen
$LN3@htmlElemen:
; 6505 : return HTML_INVALID ;
mov eax, 1
jmp SHORT $LN1@htmlElemen
$LN2@htmlElemen:
; 6506 : if ( ! htmlElementAllowedHere(parent, (const xmlChar*) elt->name ) )
mov eax, DWORD PTR _elt$[ebp]
mov ecx, DWORD PTR [eax]
push ecx
mov edx, DWORD PTR _parent$[ebp]
push edx
call _htmlElementAllowedHere
add esp, 8
test eax, eax
jne SHORT $LN4@htmlElemen
; 6507 : return HTML_INVALID ;
mov eax, 1
jmp SHORT $LN1@htmlElemen
$LN4@htmlElemen:
; 6508 :
; 6509 : return ( elt->dtd == 0 ) ? HTML_VALID : HTML_DEPRECATED ;
mov eax, DWORD PTR _elt$[ebp]
movsx ecx, BYTE PTR [eax+9]
test ecx, ecx
jne SHORT $LN6@htmlElemen
mov DWORD PTR tv74[ebp], 4
jmp SHORT $LN7@htmlElemen
$LN6@htmlElemen:
mov DWORD PTR tv74[ebp], 2
$LN7@htmlElemen:
mov eax, DWORD PTR tv74[ebp]
$LN1@htmlElemen:
; 6510 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlElementStatusHere ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlElementAllowedHere
_TEXT SEGMENT
_p$ = -4 ; size = 4
_parent$ = 8 ; size = 4
_elt$ = 12 ; size = 4
_htmlElementAllowedHere PROC ; COMDAT
; 6480 : htmlElementAllowedHere(const htmlElemDesc* parent, const xmlChar* elt) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6481 : const char** p ;
; 6482 :
; 6483 : if ( ! elt || ! parent || ! parent->subelts )
cmp DWORD PTR _elt$[ebp], 0
je SHORT $LN6@htmlElemen
cmp DWORD PTR _parent$[ebp], 0
je SHORT $LN6@htmlElemen
mov eax, DWORD PTR _parent$[ebp]
cmp DWORD PTR [eax+16], 0
jne SHORT $LN5@htmlElemen
$LN6@htmlElemen:
; 6484 : return 0 ;
xor eax, eax
jmp SHORT $LN1@htmlElemen
$LN5@htmlElemen:
; 6485 :
; 6486 : for ( p = parent->subelts; *p; ++p )
mov ecx, DWORD PTR _parent$[ebp]
mov edx, DWORD PTR [ecx+16]
mov DWORD PTR _p$[ebp], edx
jmp SHORT $LN4@htmlElemen
$LN2@htmlElemen:
mov eax, DWORD PTR _p$[ebp]
add eax, 4
mov DWORD PTR _p$[ebp], eax
$LN4@htmlElemen:
mov ecx, DWORD PTR _p$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN3@htmlElemen
; 6487 : if ( !xmlStrcmp((const xmlChar *)*p, elt) )
mov edx, DWORD PTR _elt$[ebp]
push edx
mov eax, DWORD PTR _p$[ebp]
mov ecx, DWORD PTR [eax]
push ecx
call _xmlStrcmp
add esp, 8
test eax, eax
jne SHORT $LN7@htmlElemen
; 6488 : return 1 ;
mov eax, 1
jmp SHORT $LN1@htmlElemen
$LN7@htmlElemen:
jmp SHORT $LN2@htmlElemen
$LN3@htmlElemen:
; 6489 :
; 6490 : return 0 ;
xor eax, eax
$LN1@htmlElemen:
; 6491 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlElementAllowedHere ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlAttrAllowed
_TEXT SEGMENT
_p$ = -4 ; size = 4
_elt$ = 8 ; size = 4
_attr$ = 12 ; size = 4
_legacy$ = 16 ; size = 4
_htmlAttrAllowed PROC ; COMDAT
; 6523 : htmlAttrAllowed(const htmlElemDesc* elt, const xmlChar* attr, int legacy) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6524 : const char** p ;
; 6525 :
; 6526 : if ( !elt || ! attr )
cmp DWORD PTR _elt$[ebp], 0
je SHORT $LN12@htmlAttrAl
cmp DWORD PTR _attr$[ebp], 0
jne SHORT $LN11@htmlAttrAl
$LN12@htmlAttrAl:
; 6527 : return HTML_INVALID ;
mov eax, 1
jmp $LN1@htmlAttrAl
$LN11@htmlAttrAl:
; 6528 :
; 6529 : if ( elt->attrs_req )
mov eax, DWORD PTR _elt$[ebp]
cmp DWORD PTR [eax+32], 0
je SHORT $LN13@htmlAttrAl
; 6530 : for ( p = elt->attrs_req; *p; ++p)
mov ecx, DWORD PTR _elt$[ebp]
mov edx, DWORD PTR [ecx+32]
mov DWORD PTR _p$[ebp], edx
jmp SHORT $LN4@htmlAttrAl
$LN2@htmlAttrAl:
mov eax, DWORD PTR _p$[ebp]
add eax, 4
mov DWORD PTR _p$[ebp], eax
$LN4@htmlAttrAl:
mov ecx, DWORD PTR _p$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN13@htmlAttrAl
; 6531 : if ( !xmlStrcmp((const xmlChar*)*p, attr) )
mov edx, DWORD PTR _attr$[ebp]
push edx
mov eax, DWORD PTR _p$[ebp]
mov ecx, DWORD PTR [eax]
push ecx
call _xmlStrcmp
add esp, 8
test eax, eax
jne SHORT $LN14@htmlAttrAl
; 6532 : return HTML_REQUIRED ;
mov eax, 12 ; 0000000cH
jmp $LN1@htmlAttrAl
$LN14@htmlAttrAl:
jmp SHORT $LN2@htmlAttrAl
$LN13@htmlAttrAl:
; 6533 :
; 6534 : if ( elt->attrs_opt )
mov edx, DWORD PTR _elt$[ebp]
cmp DWORD PTR [edx+24], 0
je SHORT $LN15@htmlAttrAl
; 6535 : for ( p = elt->attrs_opt; *p; ++p)
mov eax, DWORD PTR _elt$[ebp]
mov ecx, DWORD PTR [eax+24]
mov DWORD PTR _p$[ebp], ecx
jmp SHORT $LN7@htmlAttrAl
$LN5@htmlAttrAl:
mov edx, DWORD PTR _p$[ebp]
add edx, 4
mov DWORD PTR _p$[ebp], edx
$LN7@htmlAttrAl:
mov eax, DWORD PTR _p$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN15@htmlAttrAl
; 6536 : if ( !xmlStrcmp((const xmlChar*)*p, attr) )
mov ecx, DWORD PTR _attr$[ebp]
push ecx
mov edx, DWORD PTR _p$[ebp]
mov eax, DWORD PTR [edx]
push eax
call _xmlStrcmp
add esp, 8
test eax, eax
jne SHORT $LN16@htmlAttrAl
; 6537 : return HTML_VALID ;
mov eax, 4
jmp SHORT $LN1@htmlAttrAl
$LN16@htmlAttrAl:
jmp SHORT $LN5@htmlAttrAl
$LN15@htmlAttrAl:
; 6538 :
; 6539 : if ( legacy && elt->attrs_depr )
cmp DWORD PTR _legacy$[ebp], 0
je SHORT $LN17@htmlAttrAl
mov ecx, DWORD PTR _elt$[ebp]
cmp DWORD PTR [ecx+28], 0
je SHORT $LN17@htmlAttrAl
; 6540 : for ( p = elt->attrs_depr; *p; ++p)
mov edx, DWORD PTR _elt$[ebp]
mov eax, DWORD PTR [edx+28]
mov DWORD PTR _p$[ebp], eax
jmp SHORT $LN10@htmlAttrAl
$LN8@htmlAttrAl:
mov ecx, DWORD PTR _p$[ebp]
add ecx, 4
mov DWORD PTR _p$[ebp], ecx
$LN10@htmlAttrAl:
mov edx, DWORD PTR _p$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN17@htmlAttrAl
; 6541 : if ( !xmlStrcmp((const xmlChar*)*p, attr) )
mov eax, DWORD PTR _attr$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
mov edx, DWORD PTR [ecx]
push edx
call _xmlStrcmp
add esp, 8
test eax, eax
jne SHORT $LN18@htmlAttrAl
; 6542 : return HTML_DEPRECATED ;
mov eax, 2
jmp SHORT $LN1@htmlAttrAl
$LN18@htmlAttrAl:
jmp SHORT $LN8@htmlAttrAl
$LN17@htmlAttrAl:
; 6543 :
; 6544 : return HTML_INVALID ;
mov eax, 1
$LN1@htmlAttrAl:
; 6545 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlAttrAllowed ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtReadIO
_TEXT SEGMENT
_stream$ = -8 ; size = 4
_input$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_ioread$ = 12 ; size = 4
_ioclose$ = 16 ; size = 4
_ioctx$ = 20 ; size = 4
_URL$ = 24 ; size = 4
_encoding$ = 28 ; size = 4
_options$ = 32 ; size = 4
_htmlCtxtReadIO PROC ; COMDAT
; 7141 : {
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 7142 : xmlParserInputBufferPtr input;
; 7143 : xmlParserInputPtr stream;
; 7144 :
; 7145 : if (ioread == NULL)
cmp DWORD PTR _ioread$[ebp], 0
jne SHORT $LN2@htmlCtxtRe
; 7146 : return (NULL);
xor eax, eax
jmp $LN1@htmlCtxtRe
$LN2@htmlCtxtRe:
; 7147 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCtxtRe
; 7148 : return (NULL);
xor eax, eax
jmp $LN1@htmlCtxtRe
$LN3@htmlCtxtRe:
; 7149 : xmlInitParser();
call _xmlInitParser
; 7150 :
; 7151 : htmlCtxtReset(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCtxtReset
add esp, 4
; 7152 :
; 7153 : input = xmlParserInputBufferCreateIO(ioread, ioclose, ioctx,
push 0
mov ecx, DWORD PTR _ioctx$[ebp]
push ecx
mov edx, DWORD PTR _ioclose$[ebp]
push edx
mov eax, DWORD PTR _ioread$[ebp]
push eax
call _xmlParserInputBufferCreateIO
add esp, 16 ; 00000010H
mov DWORD PTR _input$[ebp], eax
; 7154 : XML_CHAR_ENCODING_NONE);
; 7155 : if (input == NULL) {
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN4@htmlCtxtRe
; 7156 : if (ioclose != NULL)
cmp DWORD PTR _ioclose$[ebp], 0
je SHORT $LN5@htmlCtxtRe
; 7157 : ioclose(ioctx);
mov esi, esp
mov ecx, DWORD PTR _ioctx$[ebp]
push ecx
call DWORD PTR _ioclose$[ebp]
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN5@htmlCtxtRe:
; 7158 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN4@htmlCtxtRe:
; 7159 : }
; 7160 : stream = xmlNewIOInputStream(ctxt, input, XML_CHAR_ENCODING_NONE);
push 0
mov edx, DWORD PTR _input$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNewIOInputStream
add esp, 12 ; 0000000cH
mov DWORD PTR _stream$[ebp], eax
; 7161 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN6@htmlCtxtRe
; 7162 : xmlFreeParserInputBuffer(input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 7163 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN6@htmlCtxtRe:
; 7164 : }
; 7165 : inputPush(ctxt, stream);
mov edx, DWORD PTR _stream$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _inputPush
add esp, 8
; 7166 : return (htmlDoRead(ctxt, URL, encoding, options, 1));
push 1
mov ecx, DWORD PTR _options$[ebp]
push ecx
mov edx, DWORD PTR _encoding$[ebp]
push edx
mov eax, DWORD PTR _URL$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlCtxtRe:
; 7167 : }
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCtxtReadIO ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtReadFd
_TEXT SEGMENT
_stream$ = -8 ; size = 4
_input$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_fd$ = 12 ; size = 4
_URL$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_options$ = 24 ; size = 4
_htmlCtxtReadFd PROC ; COMDAT
; 7096 : {
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 7097 : xmlParserInputBufferPtr input;
; 7098 : xmlParserInputPtr stream;
; 7099 :
; 7100 : if (fd < 0)
cmp DWORD PTR _fd$[ebp], 0
jge SHORT $LN2@htmlCtxtRe
; 7101 : return (NULL);
xor eax, eax
jmp $LN1@htmlCtxtRe
$LN2@htmlCtxtRe:
; 7102 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCtxtRe
; 7103 : return (NULL);
xor eax, eax
jmp $LN1@htmlCtxtRe
$LN3@htmlCtxtRe:
; 7104 : xmlInitParser();
call _xmlInitParser
; 7105 :
; 7106 : htmlCtxtReset(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCtxtReset
add esp, 4
; 7107 :
; 7108 :
; 7109 : input = xmlParserInputBufferCreateFd(fd, XML_CHAR_ENCODING_NONE);
push 0
mov ecx, DWORD PTR _fd$[ebp]
push ecx
call _xmlParserInputBufferCreateFd
add esp, 8
mov DWORD PTR _input$[ebp], eax
; 7110 : if (input == NULL)
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN4@htmlCtxtRe
; 7111 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN4@htmlCtxtRe:
; 7112 : stream = xmlNewIOInputStream(ctxt, input, XML_CHAR_ENCODING_NONE);
push 0
mov edx, DWORD PTR _input$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNewIOInputStream
add esp, 12 ; 0000000cH
mov DWORD PTR _stream$[ebp], eax
; 7113 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN5@htmlCtxtRe
; 7114 : xmlFreeParserInputBuffer(input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 7115 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN5@htmlCtxtRe:
; 7116 : }
; 7117 : inputPush(ctxt, stream);
mov edx, DWORD PTR _stream$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _inputPush
add esp, 8
; 7118 : return (htmlDoRead(ctxt, URL, encoding, options, 1));
push 1
mov ecx, DWORD PTR _options$[ebp]
push ecx
mov edx, DWORD PTR _encoding$[ebp]
push edx
mov eax, DWORD PTR _URL$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlCtxtRe:
; 7119 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCtxtReadFd ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtReadMemory
_TEXT SEGMENT
_stream$ = -8 ; size = 4
_input$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_buffer$ = 12 ; size = 4
_size$ = 16 ; size = 4
_URL$ = 20 ; size = 4
_encoding$ = 24 ; size = 4
_options$ = 28 ; size = 4
_htmlCtxtReadMemory PROC ; COMDAT
; 7053 : {
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 7054 : xmlParserInputBufferPtr input;
; 7055 : xmlParserInputPtr stream;
; 7056 :
; 7057 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlCtxtRe
; 7058 : return (NULL);
xor eax, eax
jmp $LN1@htmlCtxtRe
$LN2@htmlCtxtRe:
; 7059 : if (buffer == NULL)
cmp DWORD PTR _buffer$[ebp], 0
jne SHORT $LN3@htmlCtxtRe
; 7060 : return (NULL);
xor eax, eax
jmp $LN1@htmlCtxtRe
$LN3@htmlCtxtRe:
; 7061 : xmlInitParser();
call _xmlInitParser
; 7062 :
; 7063 : htmlCtxtReset(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCtxtReset
add esp, 4
; 7064 :
; 7065 : input = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE);
push 0
mov ecx, DWORD PTR _size$[ebp]
push ecx
mov edx, DWORD PTR _buffer$[ebp]
push edx
call _xmlParserInputBufferCreateMem
add esp, 12 ; 0000000cH
mov DWORD PTR _input$[ebp], eax
; 7066 : if (input == NULL) {
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN4@htmlCtxtRe
; 7067 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN4@htmlCtxtRe:
; 7068 : }
; 7069 :
; 7070 : stream = xmlNewIOInputStream(ctxt, input, XML_CHAR_ENCODING_NONE);
push 0
mov eax, DWORD PTR _input$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNewIOInputStream
add esp, 12 ; 0000000cH
mov DWORD PTR _stream$[ebp], eax
; 7071 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN5@htmlCtxtRe
; 7072 : xmlFreeParserInputBuffer(input);
mov edx, DWORD PTR _input$[ebp]
push edx
call _xmlFreeParserInputBuffer
add esp, 4
; 7073 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN5@htmlCtxtRe:
; 7074 : }
; 7075 :
; 7076 : inputPush(ctxt, stream);
mov eax, DWORD PTR _stream$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _inputPush
add esp, 8
; 7077 : return (htmlDoRead(ctxt, URL, encoding, options, 1));
push 1
mov edx, DWORD PTR _options$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _URL$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlCtxtRe:
; 7078 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCtxtReadMemory ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtReadFile
_TEXT SEGMENT
_stream$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_filename$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_options$ = 20 ; size = 4
_htmlCtxtReadFile PROC ; COMDAT
; 7017 : {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 7018 : xmlParserInputPtr stream;
; 7019 :
; 7020 : if (filename == NULL)
cmp DWORD PTR _filename$[ebp], 0
jne SHORT $LN2@htmlCtxtRe
; 7021 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN2@htmlCtxtRe:
; 7022 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCtxtRe
; 7023 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN3@htmlCtxtRe:
; 7024 : xmlInitParser();
call _xmlInitParser
; 7025 :
; 7026 : htmlCtxtReset(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCtxtReset
add esp, 4
; 7027 :
; 7028 : stream = xmlLoadExternalEntity(filename, NULL, ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
push 0
mov edx, DWORD PTR _filename$[ebp]
push edx
call _xmlLoadExternalEntity
add esp, 12 ; 0000000cH
mov DWORD PTR _stream$[ebp], eax
; 7029 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN4@htmlCtxtRe
; 7030 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN4@htmlCtxtRe:
; 7031 : }
; 7032 : inputPush(ctxt, stream);
mov eax, DWORD PTR _stream$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _inputPush
add esp, 8
; 7033 : return (htmlDoRead(ctxt, NULL, encoding, options, 1));
push 1
mov edx, DWORD PTR _options$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
push 0
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlCtxtRe:
; 7034 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCtxtReadFile ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtReadDoc
_TEXT SEGMENT
_stream$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_URL$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_options$ = 24 ; size = 4
_htmlCtxtReadDoc PROC ; COMDAT
; 6983 : {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6984 : xmlParserInputPtr stream;
; 6985 :
; 6986 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlCtxtRe
; 6987 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN2@htmlCtxtRe:
; 6988 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCtxtRe
; 6989 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN3@htmlCtxtRe:
; 6990 : xmlInitParser();
call _xmlInitParser
; 6991 :
; 6992 : htmlCtxtReset(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlCtxtReset
add esp, 4
; 6993 :
; 6994 : stream = xmlNewStringInputStream(ctxt, cur);
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNewStringInputStream
add esp, 8
mov DWORD PTR _stream$[ebp], eax
; 6995 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN4@htmlCtxtRe
; 6996 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlCtxtRe
$LN4@htmlCtxtRe:
; 6997 : }
; 6998 : inputPush(ctxt, stream);
mov eax, DWORD PTR _stream$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _inputPush
add esp, 8
; 6999 : return (htmlDoRead(ctxt, URL, encoding, options, 1));
push 1
mov edx, DWORD PTR _options$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _URL$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlCtxtRe:
; 7000 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCtxtReadDoc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlReadIO
_TEXT SEGMENT
_stream$ = -12 ; size = 4
_input$ = -8 ; size = 4
_ctxt$ = -4 ; size = 4
_ioread$ = 8 ; size = 4
_ioclose$ = 12 ; size = 4
_ioctx$ = 16 ; size = 4
_URL$ = 20 ; size = 4
_encoding$ = 24 ; size = 4
_options$ = 28 ; size = 4
_htmlReadIO PROC ; COMDAT
; 6936 : {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
push esi
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6937 : htmlParserCtxtPtr ctxt;
; 6938 : xmlParserInputBufferPtr input;
; 6939 : xmlParserInputPtr stream;
; 6940 :
; 6941 : if (ioread == NULL)
cmp DWORD PTR _ioread$[ebp], 0
jne SHORT $LN2@htmlReadIO
; 6942 : return (NULL);
xor eax, eax
jmp $LN1@htmlReadIO
$LN2@htmlReadIO:
; 6943 : xmlInitParser();
call _xmlInitParser
; 6944 :
; 6945 : input = xmlParserInputBufferCreateIO(ioread, ioclose, ioctx,
push 0
mov eax, DWORD PTR _ioctx$[ebp]
push eax
mov ecx, DWORD PTR _ioclose$[ebp]
push ecx
mov edx, DWORD PTR _ioread$[ebp]
push edx
call _xmlParserInputBufferCreateIO
add esp, 16 ; 00000010H
mov DWORD PTR _input$[ebp], eax
; 6946 : XML_CHAR_ENCODING_NONE);
; 6947 : if (input == NULL) {
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN3@htmlReadIO
; 6948 : if (ioclose != NULL)
cmp DWORD PTR _ioclose$[ebp], 0
je SHORT $LN4@htmlReadIO
; 6949 : ioclose(ioctx);
mov esi, esp
mov eax, DWORD PTR _ioctx$[ebp]
push eax
call DWORD PTR _ioclose$[ebp]
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN4@htmlReadIO:
; 6950 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadIO
$LN3@htmlReadIO:
; 6951 : }
; 6952 : ctxt = htmlNewParserCtxt();
call _htmlNewParserCtxt
mov DWORD PTR _ctxt$[ebp], eax
; 6953 : if (ctxt == NULL) {
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN5@htmlReadIO
; 6954 : xmlFreeParserInputBuffer(input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 6955 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadIO
$LN5@htmlReadIO:
; 6956 : }
; 6957 : stream = xmlNewIOInputStream(ctxt, input, XML_CHAR_ENCODING_NONE);
push 0
mov edx, DWORD PTR _input$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNewIOInputStream
add esp, 12 ; 0000000cH
mov DWORD PTR _stream$[ebp], eax
; 6958 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN6@htmlReadIO
; 6959 : xmlFreeParserInputBuffer(input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 6960 : xmlFreeParserCtxt(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlFreeParserCtxt
add esp, 4
; 6961 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadIO
$LN6@htmlReadIO:
; 6962 : }
; 6963 : inputPush(ctxt, stream);
mov eax, DWORD PTR _stream$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _inputPush
add esp, 8
; 6964 : return (htmlDoRead(ctxt, URL, encoding, options, 0));
push 0
mov edx, DWORD PTR _options$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _URL$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlReadIO:
; 6965 : }
pop esi
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlReadIO ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlReadFd
_TEXT SEGMENT
_stream$ = -12 ; size = 4
_input$ = -8 ; size = 4
_ctxt$ = -4 ; size = 4
_fd$ = 8 ; size = 4
_URL$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_options$ = 20 ; size = 4
_htmlReadFd PROC ; COMDAT
; 6892 : {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6893 : htmlParserCtxtPtr ctxt;
; 6894 : xmlParserInputBufferPtr input;
; 6895 : xmlParserInputPtr stream;
; 6896 :
; 6897 : if (fd < 0)
cmp DWORD PTR _fd$[ebp], 0
jge SHORT $LN2@htmlReadFd
; 6898 : return (NULL);
xor eax, eax
jmp $LN1@htmlReadFd
$LN2@htmlReadFd:
; 6899 : xmlInitParser();
call _xmlInitParser
; 6900 :
; 6901 : xmlInitParser();
call _xmlInitParser
; 6902 : input = xmlParserInputBufferCreateFd(fd, XML_CHAR_ENCODING_NONE);
push 0
mov eax, DWORD PTR _fd$[ebp]
push eax
call _xmlParserInputBufferCreateFd
add esp, 8
mov DWORD PTR _input$[ebp], eax
; 6903 : if (input == NULL)
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN3@htmlReadFd
; 6904 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadFd
$LN3@htmlReadFd:
; 6905 : ctxt = xmlNewParserCtxt();
call _xmlNewParserCtxt
mov DWORD PTR _ctxt$[ebp], eax
; 6906 : if (ctxt == NULL) {
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN4@htmlReadFd
; 6907 : xmlFreeParserInputBuffer(input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 6908 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadFd
$LN4@htmlReadFd:
; 6909 : }
; 6910 : stream = xmlNewIOInputStream(ctxt, input, XML_CHAR_ENCODING_NONE);
push 0
mov edx, DWORD PTR _input$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNewIOInputStream
add esp, 12 ; 0000000cH
mov DWORD PTR _stream$[ebp], eax
; 6911 : if (stream == NULL) {
cmp DWORD PTR _stream$[ebp], 0
jne SHORT $LN5@htmlReadFd
; 6912 : xmlFreeParserInputBuffer(input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 6913 : xmlFreeParserCtxt(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlFreeParserCtxt
add esp, 4
; 6914 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadFd
$LN5@htmlReadFd:
; 6915 : }
; 6916 : inputPush(ctxt, stream);
mov eax, DWORD PTR _stream$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _inputPush
add esp, 8
; 6917 : return (htmlDoRead(ctxt, URL, encoding, options, 0));
push 0
mov edx, DWORD PTR _options$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _URL$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlReadFd:
; 6918 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlReadFd ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlReadMemory
_TEXT SEGMENT
_ctxt$ = -4 ; size = 4
_buffer$ = 8 ; size = 4
_size$ = 12 ; size = 4
_URL$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_options$ = 24 ; size = 4
_htmlReadMemory PROC ; COMDAT
; 6866 : {
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6867 : htmlParserCtxtPtr ctxt;
; 6868 :
; 6869 : xmlInitParser();
call _xmlInitParser
; 6870 : ctxt = xmlCreateMemoryParserCtxt(buffer, size);
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call _xmlCreateMemoryParserCtxt
add esp, 8
mov DWORD PTR _ctxt$[ebp], eax
; 6871 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlReadMe
; 6872 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadMe
$LN2@htmlReadMe:
; 6873 : htmlDefaultSAXHandlerInit();
call _htmlDefaultSAXHandlerInit
; 6874 : if (ctxt->sax != NULL)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN3@htmlReadMe
; 6875 : memcpy(ctxt->sax, &htmlDefaultSAXHandler, sizeof(xmlSAXHandlerV1));
call ___htmlDefaultSAXHandler
mov edx, DWORD PTR _ctxt$[ebp]
mov ecx, 28 ; 0000001cH
mov esi, eax
mov edi, DWORD PTR [edx]
rep movsd
$LN3@htmlReadMe:
; 6876 : return (htmlDoRead(ctxt, URL, encoding, options, 0));
push 0
mov eax, DWORD PTR _options$[ebp]
push eax
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
mov edx, DWORD PTR _URL$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlReadMe:
; 6877 : }
pop edi
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlReadMemory ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlReadFile
_TEXT SEGMENT
_ctxt$ = -4 ; size = 4
_filename$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_options$ = 16 ; size = 4
_htmlReadFile PROC ; COMDAT
; 6842 : {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6843 : htmlParserCtxtPtr ctxt;
; 6844 :
; 6845 : xmlInitParser();
call _xmlInitParser
; 6846 : ctxt = htmlCreateFileParserCtxt(filename, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _filename$[ebp]
push ecx
call _htmlCreateFileParserCtxt
add esp, 8
mov DWORD PTR _ctxt$[ebp], eax
; 6847 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlReadFi
; 6848 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadFi
$LN2@htmlReadFi:
; 6849 : return (htmlDoRead(ctxt, NULL, NULL, options, 0));
push 0
mov edx, DWORD PTR _options$[ebp]
push edx
push 0
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlReadFi:
; 6850 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlReadFile ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlReadDoc
_TEXT SEGMENT
_ctxt$ = -4 ; size = 4
_cur$ = 8 ; size = 4
_URL$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_options$ = 20 ; size = 4
_htmlReadDoc PROC ; COMDAT
; 6817 : {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6818 : htmlParserCtxtPtr ctxt;
; 6819 :
; 6820 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlReadDo
; 6821 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadDo
$LN2@htmlReadDo:
; 6822 :
; 6823 : xmlInitParser();
call _xmlInitParser
; 6824 : ctxt = htmlCreateDocParserCtxt(cur, NULL);
push 0
mov eax, DWORD PTR _cur$[ebp]
push eax
call _htmlCreateDocParserCtxt
add esp, 8
mov DWORD PTR _ctxt$[ebp], eax
; 6825 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlReadDo
; 6826 : return (NULL);
xor eax, eax
jmp SHORT $LN1@htmlReadDo
$LN3@htmlReadDo:
; 6827 : return (htmlDoRead(ctxt, URL, encoding, options, 0));
push 0
mov ecx, DWORD PTR _options$[ebp]
push ecx
mov edx, DWORD PTR _encoding$[ebp]
push edx
mov eax, DWORD PTR _URL$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlDoRead
add esp, 20 ; 00000014H
$LN1@htmlReadDo:
; 6828 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlReadDoc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtUseOptions
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_options$ = 12 ; size = 4
_htmlCtxtUseOptions PROC ; COMDAT
; 6698 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6699 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlCtxtUs
; 6700 : return(-1);
or eax, -1
jmp $LN1@htmlCtxtUs
$LN2@htmlCtxtUs:
; 6701 :
; 6702 : if (options & HTML_PARSE_NOWARNING) {
mov eax, DWORD PTR _options$[ebp]
and eax, 64 ; 00000040H
je SHORT $LN3@htmlCtxtUs
; 6703 : ctxt->sax->warning = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov DWORD PTR [edx+84], 0
; 6704 : ctxt->vctxt.warning = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+116], 0
; 6705 : options -= XML_PARSE_NOWARNING;
mov ecx, DWORD PTR _options$[ebp]
sub ecx, 64 ; 00000040H
mov DWORD PTR _options$[ebp], ecx
; 6706 : ctxt->options |= XML_PARSE_NOWARNING;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+360]
or eax, 64 ; 00000040H
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+360], eax
$LN3@htmlCtxtUs:
; 6707 : }
; 6708 : if (options & HTML_PARSE_NOERROR) {
mov edx, DWORD PTR _options$[ebp]
and edx, 32 ; 00000020H
je SHORT $LN4@htmlCtxtUs
; 6709 : ctxt->sax->error = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov DWORD PTR [ecx+88], 0
; 6710 : ctxt->vctxt.error = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+112], 0
; 6711 : ctxt->sax->fatalError = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov DWORD PTR [ecx+92], 0
; 6712 : options -= XML_PARSE_NOERROR;
mov edx, DWORD PTR _options$[ebp]
sub edx, 32 ; 00000020H
mov DWORD PTR _options$[ebp], edx
; 6713 : ctxt->options |= XML_PARSE_NOERROR;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
or ecx, 32 ; 00000020H
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+360], ecx
$LN4@htmlCtxtUs:
; 6714 : }
; 6715 : if (options & HTML_PARSE_PEDANTIC) {
mov eax, DWORD PTR _options$[ebp]
and eax, 128 ; 00000080H
je SHORT $LN5@htmlCtxtUs
; 6716 : ctxt->pedantic = 1;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+268], 1
; 6717 : options -= XML_PARSE_PEDANTIC;
mov edx, DWORD PTR _options$[ebp]
sub edx, 128 ; 00000080H
mov DWORD PTR _options$[ebp], edx
; 6718 : ctxt->options |= XML_PARSE_PEDANTIC;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
or ecx, 128 ; 00000080H
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+360], ecx
; 6719 : } else
jmp SHORT $LN6@htmlCtxtUs
$LN5@htmlCtxtUs:
; 6720 : ctxt->pedantic = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+268], 0
$LN6@htmlCtxtUs:
; 6721 : if (options & XML_PARSE_NOBLANKS) {
mov ecx, DWORD PTR _options$[ebp]
and ecx, 256 ; 00000100H
je SHORT $LN7@htmlCtxtUs
; 6722 : ctxt->keepBlanks = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+208], 0
; 6723 : ctxt->sax->ignorableWhitespace = xmlSAX2IgnorableWhitespace;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov DWORD PTR [ecx+72], OFFSET _xmlSAX2IgnorableWhitespace
; 6724 : options -= XML_PARSE_NOBLANKS;
mov edx, DWORD PTR _options$[ebp]
sub edx, 256 ; 00000100H
mov DWORD PTR _options$[ebp], edx
; 6725 : ctxt->options |= XML_PARSE_NOBLANKS;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
or ecx, 256 ; 00000100H
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+360], ecx
; 6726 : } else
jmp SHORT $LN8@htmlCtxtUs
$LN7@htmlCtxtUs:
; 6727 : ctxt->keepBlanks = 1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+208], 1
$LN8@htmlCtxtUs:
; 6728 : if (options & HTML_PARSE_RECOVER) {
mov ecx, DWORD PTR _options$[ebp]
and ecx, 1
je SHORT $LN9@htmlCtxtUs
; 6729 : ctxt->recovery = 1;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+288], 1
; 6730 : options -= HTML_PARSE_RECOVER;
mov eax, DWORD PTR _options$[ebp]
sub eax, 1
mov DWORD PTR _options$[ebp], eax
; 6731 : } else
jmp SHORT $LN10@htmlCtxtUs
$LN9@htmlCtxtUs:
; 6732 : ctxt->recovery = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+288], 0
$LN10@htmlCtxtUs:
; 6733 : if (options & HTML_PARSE_COMPACT) {
mov edx, DWORD PTR _options$[ebp]
and edx, 65536 ; 00010000H
je SHORT $LN11@htmlCtxtUs
; 6734 : ctxt->options |= HTML_PARSE_COMPACT;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
or ecx, 65536 ; 00010000H
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+360], ecx
; 6735 : options -= HTML_PARSE_COMPACT;
mov eax, DWORD PTR _options$[ebp]
sub eax, 65536 ; 00010000H
mov DWORD PTR _options$[ebp], eax
$LN11@htmlCtxtUs:
; 6736 : }
; 6737 : if (options & XML_PARSE_HUGE) {
mov ecx, DWORD PTR _options$[ebp]
and ecx, 524288 ; 00080000H
je SHORT $LN12@htmlCtxtUs
; 6738 : ctxt->options |= XML_PARSE_HUGE;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+360]
or eax, 524288 ; 00080000H
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+360], eax
; 6739 : options -= XML_PARSE_HUGE;
mov edx, DWORD PTR _options$[ebp]
sub edx, 524288 ; 00080000H
mov DWORD PTR _options$[ebp], edx
$LN12@htmlCtxtUs:
; 6740 : }
; 6741 : if (options & HTML_PARSE_NODEFDTD) {
mov eax, DWORD PTR _options$[ebp]
and eax, 4
je SHORT $LN13@htmlCtxtUs
; 6742 : ctxt->options |= HTML_PARSE_NODEFDTD;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+360]
or edx, 4
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+360], edx
; 6743 : options -= HTML_PARSE_NODEFDTD;
mov ecx, DWORD PTR _options$[ebp]
sub ecx, 4
mov DWORD PTR _options$[ebp], ecx
$LN13@htmlCtxtUs:
; 6744 : }
; 6745 : if (options & HTML_PARSE_IGNORE_ENC) {
mov edx, DWORD PTR _options$[ebp]
and edx, 2097152 ; 00200000H
je SHORT $LN14@htmlCtxtUs
; 6746 : ctxt->options |= HTML_PARSE_IGNORE_ENC;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
or ecx, 2097152 ; 00200000H
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+360], ecx
; 6747 : options -= HTML_PARSE_IGNORE_ENC;
mov eax, DWORD PTR _options$[ebp]
sub eax, 2097152 ; 00200000H
mov DWORD PTR _options$[ebp], eax
$LN14@htmlCtxtUs:
; 6748 : }
; 6749 : if (options & HTML_PARSE_NOIMPLIED) {
mov ecx, DWORD PTR _options$[ebp]
and ecx, 8192 ; 00002000H
je SHORT $LN15@htmlCtxtUs
; 6750 : ctxt->options |= HTML_PARSE_NOIMPLIED;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+360]
or eax, 8192 ; 00002000H
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+360], eax
; 6751 : options -= HTML_PARSE_NOIMPLIED;
mov edx, DWORD PTR _options$[ebp]
sub edx, 8192 ; 00002000H
mov DWORD PTR _options$[ebp], edx
$LN15@htmlCtxtUs:
; 6752 : }
; 6753 : ctxt->dictNames = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+364], 0
; 6754 : return (options);
mov eax, DWORD PTR _options$[ebp]
$LN1@htmlCtxtUs:
; 6755 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlCtxtUseOptions ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCtxtReset
_TEXT SEGMENT
_dict$ = -8 ; size = 4
_input$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlCtxtReset PROC ; COMDAT
; 6606 : {
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6607 : xmlParserInputPtr input;
; 6608 : xmlDictPtr dict;
; 6609 :
; 6610 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN4@htmlCtxtRe
; 6611 : return;
jmp $LN1@htmlCtxtRe
$LN4@htmlCtxtRe:
; 6612 :
; 6613 : xmlInitParser();
call _xmlInitParser
; 6614 : dict = ctxt->dict;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+296]
mov DWORD PTR _dict$[ebp], ecx
$LN2@htmlCtxtRe:
; 6615 :
; 6616 : while ((input = inputPop(ctxt)) != NULL) { /* Non consuming */
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _inputPop
add esp, 4
mov DWORD PTR _input$[ebp], eax
cmp DWORD PTR _input$[ebp], 0
je SHORT $LN3@htmlCtxtRe
; 6617 : xmlFreeInputStream(input);
mov eax, DWORD PTR _input$[ebp]
push eax
call _xmlFreeInputStream
add esp, 4
; 6618 : }
jmp SHORT $LN2@htmlCtxtRe
$LN3@htmlCtxtRe:
; 6619 : ctxt->inputNr = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+40], 0
; 6620 : ctxt->input = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+36], 0
; 6621 :
; 6622 : ctxt->spaceNr = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+236], 0
; 6623 : if (ctxt->spaceTab != NULL) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+244], 0
je SHORT $LN5@htmlCtxtRe
; 6624 : ctxt->spaceTab[0] = -1;
mov edx, 4
imul eax, edx, 0
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+244]
mov DWORD PTR [eax+edx], -1
; 6625 : ctxt->space = &ctxt->spaceTab[0];
mov eax, 4
imul ecx, eax, 0
mov edx, DWORD PTR _ctxt$[ebp]
add ecx, DWORD PTR [edx+244]
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+232], ecx
; 6626 : } else {
jmp SHORT $LN6@htmlCtxtRe
$LN5@htmlCtxtRe:
; 6627 : ctxt->space = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+232], 0
$LN6@htmlCtxtRe:
; 6628 : }
; 6629 :
; 6630 :
; 6631 : ctxt->nodeNr = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+56], 0
; 6632 : ctxt->node = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+52], 0
; 6633 :
; 6634 : ctxt->nameNr = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+188], 0
; 6635 : ctxt->name = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+184], 0
; 6636 :
; 6637 : DICT_FREE(ctxt->version);
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+20], 0
je SHORT $LN7@htmlCtxtRe
cmp DWORD PTR _dict$[ebp], 0
je SHORT $LN8@htmlCtxtRe
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+20]
push edx
mov eax, DWORD PTR _dict$[ebp]
push eax
call _xmlDictOwns
add esp, 8
test eax, eax
jne SHORT $LN7@htmlCtxtRe
$LN8@htmlCtxtRe:
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+20]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN7@htmlCtxtRe:
; 6638 : ctxt->version = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+20], 0
; 6639 : DICT_FREE(ctxt->encoding);
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+24], 0
je SHORT $LN9@htmlCtxtRe
cmp DWORD PTR _dict$[ebp], 0
je SHORT $LN10@htmlCtxtRe
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+24]
push eax
mov ecx, DWORD PTR _dict$[ebp]
push ecx
call _xmlDictOwns
add esp, 8
test eax, eax
jne SHORT $LN9@htmlCtxtRe
$LN10@htmlCtxtRe:
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+24]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN9@htmlCtxtRe:
; 6640 : ctxt->encoding = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+24], 0
; 6641 : DICT_FREE(ctxt->directory);
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+180], 0
je SHORT $LN11@htmlCtxtRe
cmp DWORD PTR _dict$[ebp], 0
je SHORT $LN12@htmlCtxtRe
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+180]
push ecx
mov edx, DWORD PTR _dict$[ebp]
push edx
call _xmlDictOwns
add esp, 8
test eax, eax
jne SHORT $LN11@htmlCtxtRe
$LN12@htmlCtxtRe:
mov esi, esp
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+180]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN11@htmlCtxtRe:
; 6642 : ctxt->directory = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+180], 0
; 6643 : DICT_FREE(ctxt->extSubURI);
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+224], 0
je SHORT $LN13@htmlCtxtRe
cmp DWORD PTR _dict$[ebp], 0
je SHORT $LN14@htmlCtxtRe
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+224]
push edx
mov eax, DWORD PTR _dict$[ebp]
push eax
call _xmlDictOwns
add esp, 8
test eax, eax
jne SHORT $LN13@htmlCtxtRe
$LN14@htmlCtxtRe:
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+224]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN13@htmlCtxtRe:
; 6644 : ctxt->extSubURI = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+224], 0
; 6645 : DICT_FREE(ctxt->extSubSystem);
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+228], 0
je SHORT $LN15@htmlCtxtRe
cmp DWORD PTR _dict$[ebp], 0
je SHORT $LN16@htmlCtxtRe
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+228]
push eax
mov ecx, DWORD PTR _dict$[ebp]
push ecx
call _xmlDictOwns
add esp, 8
test eax, eax
jne SHORT $LN15@htmlCtxtRe
$LN16@htmlCtxtRe:
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+228]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN15@htmlCtxtRe:
; 6646 : ctxt->extSubSystem = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+228], 0
; 6647 : if (ctxt->myDoc != NULL)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+8], 0
je SHORT $LN17@htmlCtxtRe
; 6648 : xmlFreeDoc(ctxt->myDoc);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlFreeDoc
add esp, 4
$LN17@htmlCtxtRe:
; 6649 : ctxt->myDoc = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+8], 0
; 6650 :
; 6651 : ctxt->standalone = -1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+28], -1
; 6652 : ctxt->hasExternalSubset = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+88], 0
; 6653 : ctxt->hasPErefs = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+92], 0
; 6654 : ctxt->html = 1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+32], 1
; 6655 : ctxt->external = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+96], 0
; 6656 : ctxt->instate = XML_PARSER_START;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+172], 0
; 6657 : ctxt->token = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+176], 0
; 6658 :
; 6659 : ctxt->wellFormed = 1;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+12], 1
; 6660 : ctxt->nsWellFormed = 1;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+356], 1
; 6661 : ctxt->disableSAX = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+212], 0
; 6662 : ctxt->valid = 1;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+100], 1
; 6663 : ctxt->vctxt.userData = ctxt;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+108], eax
; 6664 : ctxt->vctxt.error = xmlParserValidityError;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+112], OFFSET _xmlParserValidityError
; 6665 : ctxt->vctxt.warning = xmlParserValidityWarning;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+116], OFFSET _xmlParserValidityWarning
; 6666 : ctxt->record_info = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+68], 0
; 6667 : ctxt->nbChars = 0;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+200], 0
; 6668 : ctxt->checkIndex = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+204], 0
; 6669 : ctxt->inSubset = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+216], 0
; 6670 : ctxt->errNo = XML_ERR_OK;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+84], 0
; 6671 : ctxt->depth = 0;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+248], 0
; 6672 : ctxt->charset = XML_CHAR_ENCODING_NONE;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+256], 0
; 6673 : ctxt->catalogs = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+284], 0
; 6674 : xmlInitNodeInfoSeq(&ctxt->node_seq);
mov edx, DWORD PTR _ctxt$[ebp]
add edx, 72 ; 00000048H
push edx
call _xmlInitNodeInfoSeq
add esp, 4
; 6675 :
; 6676 : if (ctxt->attsDefault != NULL) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+348], 0
je SHORT $LN18@htmlCtxtRe
; 6677 : xmlHashFree(ctxt->attsDefault, xmlHashDefaultDeallocator);
push OFFSET _xmlHashDefaultDeallocator
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+348]
push edx
call _xmlHashFree
add esp, 8
; 6678 : ctxt->attsDefault = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+348], 0
$LN18@htmlCtxtRe:
; 6679 : }
; 6680 : if (ctxt->attsSpecial != NULL) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+352], 0
je SHORT $LN1@htmlCtxtRe
; 6681 : xmlHashFree(ctxt->attsSpecial, NULL);
push 0
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+352]
push eax
call _xmlHashFree
add esp, 8
; 6682 : ctxt->attsSpecial = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+352], 0
$LN1@htmlCtxtRe:
; 6683 : }
; 6684 : }
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCtxtReset ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlFreeParserCtxt
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
_htmlFreeParserCtxt PROC ; COMDAT
; 4973 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4974 : xmlFreeParserCtxt(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlFreeParserCtxt
add esp, 4
; 4975 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlFreeParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseChunk
_TEXT SEGMENT
_current$1 = -28 ; size = 4
_base$2 = -24 ; size = 4
_nbchars$3 = -20 ; size = 4
_in$4 = -16 ; size = 4
_res$5 = -12 ; size = 4
_cur$6 = -8 ; size = 4
_base$7 = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_chunk$ = 12 ; size = 4
_size$ = 16 ; size = 4
_terminate$ = 20 ; size = 4
_htmlParseChunk PROC ; COMDAT
; 6107 : int terminate) {
push ebp
mov ebp, esp
sub esp, 28 ; 0000001cH
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6108 : if ((ctxt == NULL) || (ctxt->input == NULL)) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN3@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
jne SHORT $LN2@htmlParseC
$LN3@htmlParseC:
; 6109 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0BP@LLMIGGGN@htmlParseChunk?3?5context?5error?6@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6110 : "htmlParseChunk: context error\n", NULL, NULL);
; 6111 : return(XML_ERR_INTERNAL_ERROR);
mov eax, 1
jmp $LN1@htmlParseC
$LN2@htmlParseC:
; 6112 : }
; 6113 : if ((size > 0) && (chunk != NULL) && (ctxt->input != NULL) &&
; 6114 : (ctxt->input->buf != NULL) && (ctxt->instate != XML_PARSER_EOF)) {
cmp DWORD PTR _size$[ebp], 0
jle $LN4@htmlParseC
cmp DWORD PTR _chunk$[ebp], 0
je $LN4@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+36], 0
je $LN4@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
cmp DWORD PTR [ecx], 0
je $LN4@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
je $LN4@htmlParseC
; 6115 : size_t base = xmlBufGetInputBase(ctxt->input->buf->buffer, ctxt->input);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufGetInputBase
add esp, 8
mov DWORD PTR _base$7[ebp], eax
; 6116 : size_t cur = ctxt->input->cur - ctxt->input->base;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _cur$6[ebp], ecx
; 6117 : int res;
; 6118 :
; 6119 : res = xmlParserInputBufferPush(ctxt->input->buf, size, chunk);
mov edx, DWORD PTR _chunk$[ebp]
push edx
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx]
push eax
call _xmlParserInputBufferPush
add esp, 12 ; 0000000cH
mov DWORD PTR _res$5[ebp], eax
; 6120 : if (res < 0) {
cmp DWORD PTR _res$5[ebp], 0
jge SHORT $LN6@htmlParseC
; 6121 : ctxt->errNo = XML_PARSER_EOF;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+84], -1
; 6122 : ctxt->disableSAX = 1;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+212], 1
; 6123 : return (XML_PARSER_EOF);
or eax, -1
jmp $LN1@htmlParseC
$LN6@htmlParseC:
; 6124 : }
; 6125 : xmlBufSetInputBaseCur(ctxt->input->buf->buffer, ctxt->input, base, cur);
mov eax, DWORD PTR _cur$6[ebp]
push eax
mov ecx, DWORD PTR _base$7[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufSetInputBaseCur
add esp, 16 ; 00000010H
jmp $LN5@htmlParseC
$LN4@htmlParseC:
; 6126 : #ifdef DEBUG_PUSH
; 6127 : xmlGenericError(xmlGenericErrorContext, "HPP: pushed %d\n", size);
; 6128 : #endif
; 6129 :
; 6130 : #if 0
; 6131 : if ((terminate) || (ctxt->input->buf->buffer->use > 80))
; 6132 : htmlParseTryOrFinish(ctxt, terminate);
; 6133 : #endif
; 6134 : } else if (ctxt->instate != XML_PARSER_EOF) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
je $LN5@htmlParseC
; 6135 : if ((ctxt->input != NULL) && ctxt->input->buf != NULL) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
je $LN5@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx], 0
je $LN5@htmlParseC
; 6136 : xmlParserInputBufferPtr in = ctxt->input->buf;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx]
mov DWORD PTR _in$4[ebp], edx
; 6137 : if ((in->encoder != NULL) && (in->buffer != NULL) &&
mov eax, DWORD PTR _in$4[ebp]
cmp DWORD PTR [eax+12], 0
je $LN5@htmlParseC
mov ecx, DWORD PTR _in$4[ebp]
cmp DWORD PTR [ecx+16], 0
je $LN5@htmlParseC
mov edx, DWORD PTR _in$4[ebp]
cmp DWORD PTR [edx+20], 0
je $LN5@htmlParseC
; 6138 : (in->raw != NULL)) {
; 6139 : int nbchars;
; 6140 : size_t base = xmlBufGetInputBase(in->buffer, ctxt->input);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
mov edx, DWORD PTR _in$4[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufGetInputBase
add esp, 8
mov DWORD PTR _base$2[ebp], eax
; 6141 : size_t current = ctxt->input->cur - ctxt->input->base;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+16]
sub edx, DWORD PTR [ecx+12]
mov DWORD PTR _current$1[ebp], edx
; 6142 :
; 6143 : nbchars = xmlCharEncInput(in, terminate);
mov eax, DWORD PTR _terminate$[ebp]
push eax
mov ecx, DWORD PTR _in$4[ebp]
push ecx
call _xmlCharEncInput
add esp, 8
mov DWORD PTR _nbchars$3[ebp], eax
; 6144 : if (nbchars < 0) {
cmp DWORD PTR _nbchars$3[ebp], 0
jge SHORT $LN10@htmlParseC
; 6145 : htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
push 0
push 0
push OFFSET ??_C@_0P@NFGFPEHN@encoder?5error?6@
push 81 ; 00000051H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 6146 : "encoder error\n", NULL, NULL);
; 6147 : return(XML_ERR_INVALID_ENCODING);
mov eax, 81 ; 00000051H
jmp $LN1@htmlParseC
$LN10@htmlParseC:
; 6148 : }
; 6149 : xmlBufSetInputBaseCur(in->buffer, ctxt->input, base, current);
mov eax, DWORD PTR _current$1[ebp]
push eax
mov ecx, DWORD PTR _base$2[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
push eax
mov ecx, DWORD PTR _in$4[ebp]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufSetInputBaseCur
add esp, 16 ; 00000010H
$LN5@htmlParseC:
; 6150 : }
; 6151 : }
; 6152 : }
; 6153 : htmlParseTryOrFinish(ctxt, terminate);
mov eax, DWORD PTR _terminate$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseTryOrFinish
add esp, 8
; 6154 : if (terminate) {
cmp DWORD PTR _terminate$[ebp], 0
je $LN11@htmlParseC
; 6155 : if ((ctxt->instate != XML_PARSER_EOF) &&
; 6156 : (ctxt->instate != XML_PARSER_EPILOG) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
je SHORT $LN12@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+172], 14 ; 0000000eH
je SHORT $LN12@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], 1
je SHORT $LN12@htmlParseC
; 6157 : (ctxt->instate != XML_PARSER_MISC)) {
; 6158 : ctxt->errNo = XML_ERR_DOCUMENT_END;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+84], 5
; 6159 : ctxt->wellFormed = 0;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+12], 0
$LN12@htmlParseC:
; 6160 : }
; 6161 : if (ctxt->instate != XML_PARSER_EOF) {
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+172], -1
je SHORT $LN13@htmlParseC
; 6162 : if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN13@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+52], 0
je SHORT $LN13@htmlParseC
; 6163 : ctxt->sax->endDocument(ctxt->userData);
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+52]
call eax
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN13@htmlParseC:
; 6164 : }
; 6165 : ctxt->instate = XML_PARSER_EOF;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+172], -1
$LN11@htmlParseC:
; 6166 : }
; 6167 : return((xmlParserErrors) ctxt->errNo);
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+84]
$LN1@htmlParseC:
; 6168 : }
pop esi
add esp, 28 ; 0000001cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseChunk ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCreatePushParserCtxt
_TEXT SEGMENT
_cur$1 = -20 ; size = 4
_base$2 = -16 ; size = 4
_buf$ = -12 ; size = 4
_inputStream$ = -8 ; size = 4
_ctxt$ = -4 ; size = 4
_sax$ = 8 ; size = 4
_user_data$ = 12 ; size = 4
_chunk$ = 16 ; size = 4
_size$ = 20 ; size = 4
_filename$ = 24 ; size = 4
_enc$ = 28 ; size = 4
_htmlCreatePushParserCtxt PROC ; COMDAT
; 6194 : xmlCharEncoding enc) {
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
push esi
push edi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6195 : htmlParserCtxtPtr ctxt;
; 6196 : htmlParserInputPtr inputStream;
; 6197 : xmlParserInputBufferPtr buf;
; 6198 :
; 6199 : xmlInitParser();
call _xmlInitParser
; 6200 :
; 6201 : buf = xmlAllocParserInputBuffer(enc);
mov eax, DWORD PTR _enc$[ebp]
push eax
call _xmlAllocParserInputBuffer
add esp, 4
mov DWORD PTR _buf$[ebp], eax
; 6202 : if (buf == NULL) return(NULL);
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN2@htmlCreate
xor eax, eax
jmp $LN1@htmlCreate
$LN2@htmlCreate:
; 6203 :
; 6204 : ctxt = htmlNewParserCtxt();
call _htmlNewParserCtxt
mov DWORD PTR _ctxt$[ebp], eax
; 6205 : if (ctxt == NULL) {
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlCreate
; 6206 : xmlFreeParserInputBuffer(buf);
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlFreeParserInputBuffer
add esp, 4
; 6207 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN3@htmlCreate:
; 6208 : }
; 6209 : if(enc==XML_CHAR_ENCODING_UTF8 || buf->encoder)
cmp DWORD PTR _enc$[ebp], 1
je SHORT $LN5@htmlCreate
mov edx, DWORD PTR _buf$[ebp]
cmp DWORD PTR [edx+12], 0
je SHORT $LN4@htmlCreate
$LN5@htmlCreate:
; 6210 : ctxt->charset=XML_CHAR_ENCODING_UTF8;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+256], 1
$LN4@htmlCreate:
; 6211 : if (sax != NULL) {
cmp DWORD PTR _sax$[ebp], 0
je $LN6@htmlCreate
; 6212 : if (ctxt->sax != (xmlSAXHandlerPtr) &htmlDefaultSAXHandler)
call ___htmlDefaultSAXHandler
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], eax
je SHORT $LN7@htmlCreate
; 6213 : xmlFree(ctxt->sax);
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN7@htmlCreate:
; 6214 : ctxt->sax = (htmlSAXHandlerPtr) xmlMalloc(sizeof(htmlSAXHandler));
mov esi, esp
push 128 ; 00000080H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx], eax
; 6215 : if (ctxt->sax == NULL) {
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
jne SHORT $LN8@htmlCreate
; 6216 : xmlFree(buf);
mov esi, esp
mov eax, DWORD PTR _buf$[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 6217 : xmlFree(ctxt);
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 6218 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN8@htmlCreate:
; 6219 : }
; 6220 : memcpy(ctxt->sax, sax, sizeof(htmlSAXHandler));
mov edx, DWORD PTR _ctxt$[ebp]
mov ecx, 32 ; 00000020H
mov esi, DWORD PTR _sax$[ebp]
mov edi, DWORD PTR [edx]
rep movsd
; 6221 : if (user_data != NULL)
cmp DWORD PTR _user_data$[ebp], 0
je SHORT $LN6@htmlCreate
; 6222 : ctxt->userData = user_data;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _user_data$[ebp]
mov DWORD PTR [eax+4], ecx
$LN6@htmlCreate:
; 6223 : }
; 6224 : if (filename == NULL) {
cmp DWORD PTR _filename$[ebp], 0
jne SHORT $LN10@htmlCreate
; 6225 : ctxt->directory = NULL;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+180], 0
; 6226 : } else {
jmp SHORT $LN11@htmlCreate
$LN10@htmlCreate:
; 6227 : ctxt->directory = xmlParserGetDirectory(filename);
mov eax, DWORD PTR _filename$[ebp]
push eax
call _xmlParserGetDirectory
add esp, 4
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+180], eax
$LN11@htmlCreate:
; 6228 : }
; 6229 :
; 6230 : inputStream = htmlNewInputStream(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlNewInputStream
add esp, 4
mov DWORD PTR _inputStream$[ebp], eax
; 6231 : if (inputStream == NULL) {
cmp DWORD PTR _inputStream$[ebp], 0
jne SHORT $LN12@htmlCreate
; 6232 : xmlFreeParserCtxt(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlFreeParserCtxt
add esp, 4
; 6233 : xmlFree(buf);
mov esi, esp
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 6234 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN12@htmlCreate:
; 6235 : }
; 6236 :
; 6237 : if (filename == NULL)
cmp DWORD PTR _filename$[ebp], 0
jne SHORT $LN13@htmlCreate
; 6238 : inputStream->filename = NULL;
mov edx, DWORD PTR _inputStream$[ebp]
mov DWORD PTR [edx+4], 0
jmp SHORT $LN14@htmlCreate
$LN13@htmlCreate:
; 6239 : else
; 6240 : inputStream->filename = (char *)
mov eax, DWORD PTR _filename$[ebp]
push eax
call _xmlCanonicPath
add esp, 4
mov ecx, DWORD PTR _inputStream$[ebp]
mov DWORD PTR [ecx+4], eax
$LN14@htmlCreate:
; 6241 : xmlCanonicPath((const xmlChar *) filename);
; 6242 : inputStream->buf = buf;
mov edx, DWORD PTR _inputStream$[ebp]
mov eax, DWORD PTR _buf$[ebp]
mov DWORD PTR [edx], eax
; 6243 : xmlBufResetInput(buf->buffer, inputStream);
mov ecx, DWORD PTR _inputStream$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufResetInput
add esp, 8
; 6244 :
; 6245 : inputPush(ctxt, inputStream);
mov ecx, DWORD PTR _inputStream$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _inputPush
add esp, 8
; 6246 :
; 6247 : if ((size > 0) && (chunk != NULL) && (ctxt->input != NULL) &&
cmp DWORD PTR _size$[ebp], 0
jle $LN15@htmlCreate
cmp DWORD PTR _chunk$[ebp], 0
je $LN15@htmlCreate
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
je SHORT $LN15@htmlCreate
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx], 0
je SHORT $LN15@htmlCreate
; 6248 : (ctxt->input->buf != NULL)) {
; 6249 : size_t base = xmlBufGetInputBase(ctxt->input->buf->buffer, ctxt->input);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufGetInputBase
add esp, 8
mov DWORD PTR _base$2[ebp], eax
; 6250 : size_t cur = ctxt->input->cur - ctxt->input->base;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
mov DWORD PTR _cur$1[ebp], ecx
; 6251 :
; 6252 : xmlParserInputBufferPush(ctxt->input->buf, size, chunk);
mov edx, DWORD PTR _chunk$[ebp]
push edx
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx]
push eax
call _xmlParserInputBufferPush
add esp, 12 ; 0000000cH
; 6253 :
; 6254 : xmlBufSetInputBaseCur(ctxt->input->buf->buffer, ctxt->input, base, cur);
mov ecx, DWORD PTR _cur$1[ebp]
push ecx
mov edx, DWORD PTR _base$2[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufSetInputBaseCur
add esp, 16 ; 00000010H
$LN15@htmlCreate:
; 6255 : #ifdef DEBUG_PUSH
; 6256 : xmlGenericError(xmlGenericErrorContext, "HPP: pushed %d\n", size);
; 6257 : #endif
; 6258 : }
; 6259 : ctxt->progressive = 1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+292], 1
; 6260 :
; 6261 : return(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
$LN1@htmlCreate:
; 6262 : }
pop edi
pop esi
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCreatePushParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlHandleOmittedElem
_TEXT SEGMENT
_old$ = -4 ; size = 4
_val$ = 8 ; size = 4
_htmlHandleOmittedElem PROC ; COMDAT
; 6462 : htmlHandleOmittedElem(int val) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6463 : int old = htmlOmittedDefaultValue;
mov eax, DWORD PTR _htmlOmittedDefaultValue
mov DWORD PTR _old$[ebp], eax
; 6464 :
; 6465 : htmlOmittedDefaultValue = val;
mov ecx, DWORD PTR _val$[ebp]
mov DWORD PTR _htmlOmittedDefaultValue, ecx
; 6466 : return(old);
mov eax, DWORD PTR _old$[ebp]
; 6467 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlHandleOmittedElem ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlIsScriptAttribute
_TEXT SEGMENT
_i$ = -4 ; size = 4
_name$ = 8 ; size = 4
_htmlIsScriptAttribute PROC ; COMDAT
; 1593 : htmlIsScriptAttribute(const xmlChar *name) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1594 : unsigned int i;
; 1595 :
; 1596 : if (name == NULL)
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN5@htmlIsScri
; 1597 : return(0);
xor eax, eax
jmp SHORT $LN1@htmlIsScri
$LN5@htmlIsScri:
; 1598 : /*
; 1599 : * all script attributes start with 'on'
; 1600 : */
; 1601 : if ((name[0] != 'o') || (name[1] != 'n'))
mov eax, 1
imul ecx, eax, 0
mov edx, DWORD PTR _name$[ebp]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 111 ; 0000006fH
jne SHORT $LN7@htmlIsScri
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR _name$[ebp]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 110 ; 0000006eH
je SHORT $LN6@htmlIsScri
$LN7@htmlIsScri:
; 1602 : return(0);
xor eax, eax
jmp SHORT $LN1@htmlIsScri
$LN6@htmlIsScri:
; 1603 : for (i = 0;
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN4@htmlIsScri
$LN2@htmlIsScri:
; 1605 : i++) {
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
$LN4@htmlIsScri:
; 1604 : i < sizeof(htmlScriptAttributes)/sizeof(htmlScriptAttributes[0]);
cmp DWORD PTR _i$[ebp], 18 ; 00000012H
jae SHORT $LN3@htmlIsScri
; 1606 : if (xmlStrEqual(name, (const xmlChar *) htmlScriptAttributes[i]))
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR _htmlScriptAttributes[edx*4]
push eax
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN8@htmlIsScri
; 1607 : return(1);
mov eax, 1
jmp SHORT $LN1@htmlIsScri
$LN8@htmlIsScri:
; 1608 : }
jmp SHORT $LN2@htmlIsScri
$LN3@htmlIsScri:
; 1609 : return(0);
xor eax, eax
$LN1@htmlIsScri:
; 1610 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlIsScriptAttribute ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlEncodeEntities
_TEXT SEGMENT
tv151 = -96 ; size = 4
tv223 = -89 ; size = 1
tv220 = -88 ; size = 4
tv217 = -84 ; size = 4
tv95 = -80 ; size = 4
tv94 = -76 ; size = 4
tv88 = -72 ; size = 4
_len$1 = -68 ; size = 4
_nbuf$2 = -60 ; size = 16
_cp$3 = -40 ; size = 4
_ent$4 = -36 ; size = 4
_trailing$ = -32 ; size = 4
_d$ = -28 ; size = 4
_c$ = -24 ; size = 4
_inend$ = -20 ; size = 4
_instart$ = -16 ; size = 4
_outstart$ = -12 ; size = 4
_outend$ = -8 ; size = 4
_processed$ = -4 ; size = 4
_out$ = 8 ; size = 4
_outlen$ = 12 ; size = 4
_in$ = 16 ; size = 4
_inlen$ = 20 ; size = 4
_quoteChar$ = 24 ; size = 4
_htmlEncodeEntities PROC ; COMDAT
; 2092 : const unsigned char* in, int *inlen, int quoteChar) {
push ebp
mov ebp, esp
sub esp, 96 ; 00000060H
push edi
lea edi, DWORD PTR [ebp-96]
mov ecx, 24 ; 00000018H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2093 : const unsigned char* processed = in;
mov eax, DWORD PTR _in$[ebp]
mov DWORD PTR _processed$[ebp], eax
; 2094 : const unsigned char* outend;
; 2095 : const unsigned char* outstart = out;
mov ecx, DWORD PTR _out$[ebp]
mov DWORD PTR _outstart$[ebp], ecx
; 2096 : const unsigned char* instart = in;
mov edx, DWORD PTR _in$[ebp]
mov DWORD PTR _instart$[ebp], edx
; 2097 : const unsigned char* inend;
; 2098 : unsigned int c, d;
; 2099 : int trailing;
; 2100 :
; 2101 : if ((out == NULL) || (outlen == NULL) || (inlen == NULL) || (in == NULL))
cmp DWORD PTR _out$[ebp], 0
je SHORT $LN7@htmlEncode
cmp DWORD PTR _outlen$[ebp], 0
je SHORT $LN7@htmlEncode
cmp DWORD PTR _inlen$[ebp], 0
je SHORT $LN7@htmlEncode
cmp DWORD PTR _in$[ebp], 0
jne SHORT $LN6@htmlEncode
$LN7@htmlEncode:
; 2102 : return(-1);
or eax, -1
jmp $LN1@htmlEncode
$LN6@htmlEncode:
; 2103 : outend = out + (*outlen);
mov eax, DWORD PTR _outlen$[ebp]
mov ecx, DWORD PTR _out$[ebp]
add ecx, DWORD PTR [eax]
mov DWORD PTR _outend$[ebp], ecx
; 2104 : inend = in + (*inlen);
mov edx, DWORD PTR _inlen$[ebp]
mov eax, DWORD PTR _in$[ebp]
add eax, DWORD PTR [edx]
mov DWORD PTR _inend$[ebp], eax
$LN2@htmlEncode:
; 2105 : while (in < inend) {
mov ecx, DWORD PTR _in$[ebp]
cmp ecx, DWORD PTR _inend$[ebp]
jae $LN3@htmlEncode
; 2106 : d = *in++;
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
mov DWORD PTR _d$[ebp], eax
mov ecx, DWORD PTR _in$[ebp]
add ecx, 1
mov DWORD PTR _in$[ebp], ecx
; 2107 : if (d < 0x80) { c= d; trailing= 0; }
cmp DWORD PTR _d$[ebp], 128 ; 00000080H
jae SHORT $LN8@htmlEncode
mov edx, DWORD PTR _d$[ebp]
mov DWORD PTR _c$[ebp], edx
mov DWORD PTR _trailing$[ebp], 0
jmp $LN9@htmlEncode
$LN8@htmlEncode:
; 2108 : else if (d < 0xC0) {
cmp DWORD PTR _d$[ebp], 192 ; 000000c0H
jae SHORT $LN10@htmlEncode
; 2109 : /* trailing byte in leading position */
; 2110 : *outlen = out - outstart;
mov eax, DWORD PTR _out$[ebp]
sub eax, DWORD PTR _outstart$[ebp]
mov ecx, DWORD PTR _outlen$[ebp]
mov DWORD PTR [ecx], eax
; 2111 : *inlen = processed - instart;
mov edx, DWORD PTR _processed$[ebp]
sub edx, DWORD PTR _instart$[ebp]
mov eax, DWORD PTR _inlen$[ebp]
mov DWORD PTR [eax], edx
; 2112 : return(-2);
mov eax, -2 ; fffffffeH
jmp $LN1@htmlEncode
jmp SHORT $LN9@htmlEncode
$LN10@htmlEncode:
; 2113 : } else if (d < 0xE0) { c= d & 0x1F; trailing= 1; }
cmp DWORD PTR _d$[ebp], 224 ; 000000e0H
jae SHORT $LN12@htmlEncode
mov ecx, DWORD PTR _d$[ebp]
and ecx, 31 ; 0000001fH
mov DWORD PTR _c$[ebp], ecx
mov DWORD PTR _trailing$[ebp], 1
jmp SHORT $LN9@htmlEncode
$LN12@htmlEncode:
; 2114 : else if (d < 0xF0) { c= d & 0x0F; trailing= 2; }
cmp DWORD PTR _d$[ebp], 240 ; 000000f0H
jae SHORT $LN14@htmlEncode
mov edx, DWORD PTR _d$[ebp]
and edx, 15 ; 0000000fH
mov DWORD PTR _c$[ebp], edx
mov DWORD PTR _trailing$[ebp], 2
jmp SHORT $LN9@htmlEncode
$LN14@htmlEncode:
; 2115 : else if (d < 0xF8) { c= d & 0x07; trailing= 3; }
cmp DWORD PTR _d$[ebp], 248 ; 000000f8H
jae SHORT $LN16@htmlEncode
mov eax, DWORD PTR _d$[ebp]
and eax, 7
mov DWORD PTR _c$[ebp], eax
mov DWORD PTR _trailing$[ebp], 3
jmp SHORT $LN9@htmlEncode
$LN16@htmlEncode:
; 2116 : else {
; 2117 : /* no chance for this in Ascii */
; 2118 : *outlen = out - outstart;
mov ecx, DWORD PTR _out$[ebp]
sub ecx, DWORD PTR _outstart$[ebp]
mov edx, DWORD PTR _outlen$[ebp]
mov DWORD PTR [edx], ecx
; 2119 : *inlen = processed - instart;
mov eax, DWORD PTR _processed$[ebp]
sub eax, DWORD PTR _instart$[ebp]
mov ecx, DWORD PTR _inlen$[ebp]
mov DWORD PTR [ecx], eax
; 2120 : return(-2);
mov eax, -2 ; fffffffeH
jmp $LN1@htmlEncode
$LN9@htmlEncode:
; 2121 : }
; 2122 :
; 2123 : if (inend - in < trailing)
mov edx, DWORD PTR _inend$[ebp]
sub edx, DWORD PTR _in$[ebp]
cmp edx, DWORD PTR _trailing$[ebp]
jge SHORT $LN4@htmlEncode
; 2124 : break;
jmp $LN3@htmlEncode
$LN4@htmlEncode:
; 2125 :
; 2126 : while (trailing--) {
mov eax, DWORD PTR _trailing$[ebp]
mov DWORD PTR tv88[ebp], eax
mov ecx, DWORD PTR _trailing$[ebp]
sub ecx, 1
mov DWORD PTR _trailing$[ebp], ecx
cmp DWORD PTR tv88[ebp], 0
je SHORT $LN5@htmlEncode
; 2127 : if (((d= *in++) & 0xC0) != 0x80) {
mov edx, DWORD PTR _in$[ebp]
movzx eax, BYTE PTR [edx]
mov DWORD PTR _d$[ebp], eax
mov ecx, DWORD PTR _d$[ebp]
and ecx, 192 ; 000000c0H
mov DWORD PTR tv94[ebp], ecx
mov edx, DWORD PTR _in$[ebp]
add edx, 1
mov DWORD PTR _in$[ebp], edx
cmp DWORD PTR tv94[ebp], 128 ; 00000080H
je SHORT $LN27@htmlEncode
mov DWORD PTR tv95[ebp], 1
jmp SHORT $LN28@htmlEncode
$LN27@htmlEncode:
mov DWORD PTR tv95[ebp], 0
$LN28@htmlEncode:
cmp DWORD PTR tv95[ebp], 0
je SHORT $LN19@htmlEncode
; 2128 : *outlen = out - outstart;
mov eax, DWORD PTR _out$[ebp]
sub eax, DWORD PTR _outstart$[ebp]
mov ecx, DWORD PTR _outlen$[ebp]
mov DWORD PTR [ecx], eax
; 2129 : *inlen = processed - instart;
mov edx, DWORD PTR _processed$[ebp]
sub edx, DWORD PTR _instart$[ebp]
mov eax, DWORD PTR _inlen$[ebp]
mov DWORD PTR [eax], edx
; 2130 : return(-2);
mov eax, -2 ; fffffffeH
jmp $LN1@htmlEncode
$LN19@htmlEncode:
; 2131 : }
; 2132 : c <<= 6;
mov ecx, DWORD PTR _c$[ebp]
shl ecx, 6
mov DWORD PTR _c$[ebp], ecx
; 2133 : c |= d & 0x3F;
mov edx, DWORD PTR _d$[ebp]
and edx, 63 ; 0000003fH
or edx, DWORD PTR _c$[ebp]
mov DWORD PTR _c$[ebp], edx
; 2134 : }
jmp $LN4@htmlEncode
$LN5@htmlEncode:
; 2135 :
; 2136 : /* assertion: c is a single UTF-4 value */
; 2137 : if ((c < 0x80) && (c != (unsigned int) quoteChar) &&
; 2138 : (c != '&') && (c != '<') && (c != '>')) {
cmp DWORD PTR _c$[ebp], 128 ; 00000080H
jae SHORT $LN20@htmlEncode
mov eax, DWORD PTR _c$[ebp]
cmp eax, DWORD PTR _quoteChar$[ebp]
je SHORT $LN20@htmlEncode
cmp DWORD PTR _c$[ebp], 38 ; 00000026H
je SHORT $LN20@htmlEncode
cmp DWORD PTR _c$[ebp], 60 ; 0000003cH
je SHORT $LN20@htmlEncode
cmp DWORD PTR _c$[ebp], 62 ; 0000003eH
je SHORT $LN20@htmlEncode
; 2139 : if (out >= outend)
mov ecx, DWORD PTR _out$[ebp]
cmp ecx, DWORD PTR _outend$[ebp]
jb SHORT $LN22@htmlEncode
; 2140 : break;
jmp $LN3@htmlEncode
$LN22@htmlEncode:
; 2141 : *out++ = c;
mov edx, DWORD PTR _out$[ebp]
mov al, BYTE PTR _c$[ebp]
mov BYTE PTR [edx], al
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
; 2142 : } else {
jmp $LN21@htmlEncode
$LN20@htmlEncode:
; 2143 : const htmlEntityDesc * ent;
; 2144 : const char *cp;
; 2145 : char nbuf[16];
; 2146 : int len;
; 2147 :
; 2148 : /*
; 2149 : * Try to lookup a predefined HTML entity for it
; 2150 : */
; 2151 : ent = htmlEntityValueLookup(c);
mov edx, DWORD PTR _c$[ebp]
push edx
call _htmlEntityValueLookup
add esp, 4
mov DWORD PTR _ent$4[ebp], eax
; 2152 : if (ent == NULL) {
cmp DWORD PTR _ent$4[ebp], 0
jne SHORT $LN23@htmlEncode
; 2153 : snprintf(nbuf, sizeof(nbuf), "#%u", c);
mov eax, DWORD PTR _c$[ebp]
push eax
push OFFSET ??_C@_03PCCJIL@?$CD?$CFu@
push 16 ; 00000010H
lea ecx, DWORD PTR _nbuf$2[ebp]
push ecx
call _snprintf
add esp, 16 ; 00000010H
; 2154 : cp = nbuf;
lea edx, DWORD PTR _nbuf$2[ebp]
mov DWORD PTR _cp$3[ebp], edx
; 2155 : }
jmp SHORT $LN24@htmlEncode
$LN23@htmlEncode:
; 2156 : else
; 2157 : cp = ent->name;
mov eax, DWORD PTR _ent$4[ebp]
mov ecx, DWORD PTR [eax+4]
mov DWORD PTR _cp$3[ebp], ecx
$LN24@htmlEncode:
; 2158 : len = strlen(cp);
mov edx, DWORD PTR _cp$3[ebp]
mov DWORD PTR tv217[ebp], edx
mov eax, DWORD PTR tv217[ebp]
add eax, 1
mov DWORD PTR tv220[ebp], eax
$LL29@htmlEncode:
mov ecx, DWORD PTR tv217[ebp]
mov dl, BYTE PTR [ecx]
mov BYTE PTR tv223[ebp], dl
add DWORD PTR tv217[ebp], 1
cmp BYTE PTR tv223[ebp], 0
jne SHORT $LL29@htmlEncode
mov eax, DWORD PTR tv217[ebp]
sub eax, DWORD PTR tv220[ebp]
mov DWORD PTR tv151[ebp], eax
mov ecx, DWORD PTR tv151[ebp]
mov DWORD PTR _len$1[ebp], ecx
; 2159 : if (out + 2 + len > outend)
mov edx, DWORD PTR _len$1[ebp]
mov eax, DWORD PTR _out$[ebp]
lea ecx, DWORD PTR [eax+edx+2]
cmp ecx, DWORD PTR _outend$[ebp]
jbe SHORT $LN25@htmlEncode
; 2160 : break;
jmp SHORT $LN3@htmlEncode
$LN25@htmlEncode:
; 2161 : *out++ = '&';
mov edx, DWORD PTR _out$[ebp]
mov BYTE PTR [edx], 38 ; 00000026H
mov eax, DWORD PTR _out$[ebp]
add eax, 1
mov DWORD PTR _out$[ebp], eax
; 2162 : memcpy(out, cp, len);
mov ecx, DWORD PTR _len$1[ebp]
push ecx
mov edx, DWORD PTR _cp$3[ebp]
push edx
mov eax, DWORD PTR _out$[ebp]
push eax
call _memcpy
add esp, 12 ; 0000000cH
; 2163 : out += len;
mov ecx, DWORD PTR _out$[ebp]
add ecx, DWORD PTR _len$1[ebp]
mov DWORD PTR _out$[ebp], ecx
; 2164 : *out++ = ';';
mov edx, DWORD PTR _out$[ebp]
mov BYTE PTR [edx], 59 ; 0000003bH
mov eax, DWORD PTR _out$[ebp]
add eax, 1
mov DWORD PTR _out$[ebp], eax
$LN21@htmlEncode:
; 2165 : }
; 2166 : processed = in;
mov ecx, DWORD PTR _in$[ebp]
mov DWORD PTR _processed$[ebp], ecx
; 2167 : }
jmp $LN2@htmlEncode
$LN3@htmlEncode:
; 2168 : *outlen = out - outstart;
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _outstart$[ebp]
mov eax, DWORD PTR _outlen$[ebp]
mov DWORD PTR [eax], edx
; 2169 : *inlen = processed - instart;
mov ecx, DWORD PTR _processed$[ebp]
sub ecx, DWORD PTR _instart$[ebp]
mov edx, DWORD PTR _inlen$[ebp]
mov DWORD PTR [edx], ecx
; 2170 : return(0);
xor eax, eax
$LN1@htmlEncode:
; 2171 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN32@htmlEncode
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 96 ; 00000060H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN32@htmlEncode:
DD 1
DD $LN31@htmlEncode
$LN31@htmlEncode:
DD -60 ; ffffffc4H
DD 16 ; 00000010H
DD $LN30@htmlEncode
$LN30@htmlEncode:
DB 110 ; 0000006eH
DB 98 ; 00000062H
DB 117 ; 00000075H
DB 102 ; 00000066H
DB 0
_htmlEncodeEntities ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _UTF8ToHtml
_TEXT SEGMENT
tv146 = -92 ; size = 4
tv215 = -85 ; size = 1
tv212 = -84 ; size = 4
tv209 = -80 ; size = 4
tv95 = -76 ; size = 4
tv94 = -72 ; size = 4
_nbuf$1 = -64 ; size = 16
_cp$2 = -44 ; size = 4
_ent$3 = -40 ; size = 4
_len$4 = -36 ; size = 4
_trailing$ = -32 ; size = 4
_d$ = -28 ; size = 4
_c$ = -24 ; size = 4
_inend$ = -20 ; size = 4
_instart$ = -16 ; size = 4
_outstart$ = -12 ; size = 4
_outend$ = -8 ; size = 4
_processed$ = -4 ; size = 4
_out$ = 8 ; size = 4
_outlen$ = 12 ; size = 4
_in$ = 16 ; size = 4
_inlen$ = 20 ; size = 4
_UTF8ToHtml PROC ; COMDAT
; 1988 : const unsigned char* in, int *inlen) {
push ebp
mov ebp, esp
sub esp, 92 ; 0000005cH
push edi
lea edi, DWORD PTR [ebp-92]
mov ecx, 23 ; 00000017H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1989 : const unsigned char* processed = in;
mov eax, DWORD PTR _in$[ebp]
mov DWORD PTR _processed$[ebp], eax
; 1990 : const unsigned char* outend;
; 1991 : const unsigned char* outstart = out;
mov ecx, DWORD PTR _out$[ebp]
mov DWORD PTR _outstart$[ebp], ecx
; 1992 : const unsigned char* instart = in;
mov edx, DWORD PTR _in$[ebp]
mov DWORD PTR _instart$[ebp], edx
; 1993 : const unsigned char* inend;
; 1994 : unsigned int c, d;
; 1995 : int trailing;
; 1996 :
; 1997 : if ((out == NULL) || (outlen == NULL) || (inlen == NULL)) return(-1);
cmp DWORD PTR _out$[ebp], 0
je SHORT $LN8@UTF8ToHtml
cmp DWORD PTR _outlen$[ebp], 0
je SHORT $LN8@UTF8ToHtml
cmp DWORD PTR _inlen$[ebp], 0
jne SHORT $LN7@UTF8ToHtml
$LN8@UTF8ToHtml:
or eax, -1
jmp $LN1@UTF8ToHtml
$LN7@UTF8ToHtml:
; 1998 : if (in == NULL) {
cmp DWORD PTR _in$[ebp], 0
jne SHORT $LN9@UTF8ToHtml
; 1999 : /*
; 2000 : * initialization nothing to do
; 2001 : */
; 2002 : *outlen = 0;
mov eax, DWORD PTR _outlen$[ebp]
mov DWORD PTR [eax], 0
; 2003 : *inlen = 0;
mov ecx, DWORD PTR _inlen$[ebp]
mov DWORD PTR [ecx], 0
; 2004 : return(0);
xor eax, eax
jmp $LN1@UTF8ToHtml
$LN9@UTF8ToHtml:
; 2005 : }
; 2006 : inend = in + (*inlen);
mov edx, DWORD PTR _inlen$[ebp]
mov eax, DWORD PTR _in$[ebp]
add eax, DWORD PTR [edx]
mov DWORD PTR _inend$[ebp], eax
; 2007 : outend = out + (*outlen);
mov ecx, DWORD PTR _outlen$[ebp]
mov edx, DWORD PTR _out$[ebp]
add edx, DWORD PTR [ecx]
mov DWORD PTR _outend$[ebp], edx
$LN2@UTF8ToHtml:
; 2008 : while (in < inend) {
mov eax, DWORD PTR _in$[ebp]
cmp eax, DWORD PTR _inend$[ebp]
jae $LN3@UTF8ToHtml
; 2009 : d = *in++;
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
mov DWORD PTR _d$[ebp], edx
mov eax, DWORD PTR _in$[ebp]
add eax, 1
mov DWORD PTR _in$[ebp], eax
; 2010 : if (d < 0x80) { c= d; trailing= 0; }
cmp DWORD PTR _d$[ebp], 128 ; 00000080H
jae SHORT $LN10@UTF8ToHtml
mov ecx, DWORD PTR _d$[ebp]
mov DWORD PTR _c$[ebp], ecx
mov DWORD PTR _trailing$[ebp], 0
jmp $LN11@UTF8ToHtml
$LN10@UTF8ToHtml:
; 2011 : else if (d < 0xC0) {
cmp DWORD PTR _d$[ebp], 192 ; 000000c0H
jae SHORT $LN12@UTF8ToHtml
; 2012 : /* trailing byte in leading position */
; 2013 : *outlen = out - outstart;
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _outstart$[ebp]
mov eax, DWORD PTR _outlen$[ebp]
mov DWORD PTR [eax], edx
; 2014 : *inlen = processed - instart;
mov ecx, DWORD PTR _processed$[ebp]
sub ecx, DWORD PTR _instart$[ebp]
mov edx, DWORD PTR _inlen$[ebp]
mov DWORD PTR [edx], ecx
; 2015 : return(-2);
mov eax, -2 ; fffffffeH
jmp $LN1@UTF8ToHtml
jmp SHORT $LN11@UTF8ToHtml
$LN12@UTF8ToHtml:
; 2016 : } else if (d < 0xE0) { c= d & 0x1F; trailing= 1; }
cmp DWORD PTR _d$[ebp], 224 ; 000000e0H
jae SHORT $LN14@UTF8ToHtml
mov eax, DWORD PTR _d$[ebp]
and eax, 31 ; 0000001fH
mov DWORD PTR _c$[ebp], eax
mov DWORD PTR _trailing$[ebp], 1
jmp SHORT $LN11@UTF8ToHtml
$LN14@UTF8ToHtml:
; 2017 : else if (d < 0xF0) { c= d & 0x0F; trailing= 2; }
cmp DWORD PTR _d$[ebp], 240 ; 000000f0H
jae SHORT $LN16@UTF8ToHtml
mov ecx, DWORD PTR _d$[ebp]
and ecx, 15 ; 0000000fH
mov DWORD PTR _c$[ebp], ecx
mov DWORD PTR _trailing$[ebp], 2
jmp SHORT $LN11@UTF8ToHtml
$LN16@UTF8ToHtml:
; 2018 : else if (d < 0xF8) { c= d & 0x07; trailing= 3; }
cmp DWORD PTR _d$[ebp], 248 ; 000000f8H
jae SHORT $LN18@UTF8ToHtml
mov edx, DWORD PTR _d$[ebp]
and edx, 7
mov DWORD PTR _c$[ebp], edx
mov DWORD PTR _trailing$[ebp], 3
jmp SHORT $LN11@UTF8ToHtml
$LN18@UTF8ToHtml:
; 2019 : else {
; 2020 : /* no chance for this in Ascii */
; 2021 : *outlen = out - outstart;
mov eax, DWORD PTR _out$[ebp]
sub eax, DWORD PTR _outstart$[ebp]
mov ecx, DWORD PTR _outlen$[ebp]
mov DWORD PTR [ecx], eax
; 2022 : *inlen = processed - instart;
mov edx, DWORD PTR _processed$[ebp]
sub edx, DWORD PTR _instart$[ebp]
mov eax, DWORD PTR _inlen$[ebp]
mov DWORD PTR [eax], edx
; 2023 : return(-2);
mov eax, -2 ; fffffffeH
jmp $LN1@UTF8ToHtml
$LN11@UTF8ToHtml:
; 2024 : }
; 2025 :
; 2026 : if (inend - in < trailing) {
mov ecx, DWORD PTR _inend$[ebp]
sub ecx, DWORD PTR _in$[ebp]
cmp ecx, DWORD PTR _trailing$[ebp]
jge SHORT $LN20@UTF8ToHtml
; 2027 : break;
jmp $LN3@UTF8ToHtml
$LN20@UTF8ToHtml:
; 2028 : }
; 2029 :
; 2030 : for ( ; trailing; trailing--) {
jmp SHORT $LN6@UTF8ToHtml
$LN4@UTF8ToHtml:
mov edx, DWORD PTR _trailing$[ebp]
sub edx, 1
mov DWORD PTR _trailing$[ebp], edx
$LN6@UTF8ToHtml:
cmp DWORD PTR _trailing$[ebp], 0
je SHORT $LN5@UTF8ToHtml
; 2031 : if ((in >= inend) || (((d= *in++) & 0xC0) != 0x80))
mov eax, DWORD PTR _in$[ebp]
cmp eax, DWORD PTR _inend$[ebp]
jae SHORT $LN22@UTF8ToHtml
mov ecx, DWORD PTR _in$[ebp]
movzx edx, BYTE PTR [ecx]
mov DWORD PTR _d$[ebp], edx
mov eax, DWORD PTR _d$[ebp]
and eax, 192 ; 000000c0H
mov DWORD PTR tv94[ebp], eax
mov ecx, DWORD PTR _in$[ebp]
add ecx, 1
mov DWORD PTR _in$[ebp], ecx
cmp DWORD PTR tv94[ebp], 128 ; 00000080H
je SHORT $LN30@UTF8ToHtml
mov DWORD PTR tv95[ebp], 1
jmp SHORT $LN31@UTF8ToHtml
$LN30@UTF8ToHtml:
mov DWORD PTR tv95[ebp], 0
$LN31@UTF8ToHtml:
cmp DWORD PTR tv95[ebp], 0
je SHORT $LN21@UTF8ToHtml
$LN22@UTF8ToHtml:
; 2032 : break;
jmp SHORT $LN5@UTF8ToHtml
$LN21@UTF8ToHtml:
; 2033 : c <<= 6;
mov edx, DWORD PTR _c$[ebp]
shl edx, 6
mov DWORD PTR _c$[ebp], edx
; 2034 : c |= d & 0x3F;
mov eax, DWORD PTR _d$[ebp]
and eax, 63 ; 0000003fH
or eax, DWORD PTR _c$[ebp]
mov DWORD PTR _c$[ebp], eax
; 2035 : }
jmp SHORT $LN4@UTF8ToHtml
$LN5@UTF8ToHtml:
; 2036 :
; 2037 : /* assertion: c is a single UTF-4 value */
; 2038 : if (c < 0x80) {
cmp DWORD PTR _c$[ebp], 128 ; 00000080H
jae SHORT $LN23@UTF8ToHtml
; 2039 : if (out + 1 >= outend)
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
cmp ecx, DWORD PTR _outend$[ebp]
jb SHORT $LN25@UTF8ToHtml
; 2040 : break;
jmp $LN3@UTF8ToHtml
$LN25@UTF8ToHtml:
; 2041 : *out++ = c;
mov edx, DWORD PTR _out$[ebp]
mov al, BYTE PTR _c$[ebp]
mov BYTE PTR [edx], al
mov ecx, DWORD PTR _out$[ebp]
add ecx, 1
mov DWORD PTR _out$[ebp], ecx
; 2042 : } else {
jmp $LN24@UTF8ToHtml
$LN23@UTF8ToHtml:
; 2043 : int len;
; 2044 : const htmlEntityDesc * ent;
; 2045 : const char *cp;
; 2046 : char nbuf[16];
; 2047 :
; 2048 : /*
; 2049 : * Try to lookup a predefined HTML entity for it
; 2050 : */
; 2051 :
; 2052 : ent = htmlEntityValueLookup(c);
mov edx, DWORD PTR _c$[ebp]
push edx
call _htmlEntityValueLookup
add esp, 4
mov DWORD PTR _ent$3[ebp], eax
; 2053 : if (ent == NULL) {
cmp DWORD PTR _ent$3[ebp], 0
jne SHORT $LN26@UTF8ToHtml
; 2054 : snprintf(nbuf, sizeof(nbuf), "#%u", c);
mov eax, DWORD PTR _c$[ebp]
push eax
push OFFSET ??_C@_03PCCJIL@?$CD?$CFu@
push 16 ; 00000010H
lea ecx, DWORD PTR _nbuf$1[ebp]
push ecx
call _snprintf
add esp, 16 ; 00000010H
; 2055 : cp = nbuf;
lea edx, DWORD PTR _nbuf$1[ebp]
mov DWORD PTR _cp$2[ebp], edx
; 2056 : }
jmp SHORT $LN27@UTF8ToHtml
$LN26@UTF8ToHtml:
; 2057 : else
; 2058 : cp = ent->name;
mov eax, DWORD PTR _ent$3[ebp]
mov ecx, DWORD PTR [eax+4]
mov DWORD PTR _cp$2[ebp], ecx
$LN27@UTF8ToHtml:
; 2059 : len = strlen(cp);
mov edx, DWORD PTR _cp$2[ebp]
mov DWORD PTR tv209[ebp], edx
mov eax, DWORD PTR tv209[ebp]
add eax, 1
mov DWORD PTR tv212[ebp], eax
$LL32@UTF8ToHtml:
mov ecx, DWORD PTR tv209[ebp]
mov dl, BYTE PTR [ecx]
mov BYTE PTR tv215[ebp], dl
add DWORD PTR tv209[ebp], 1
cmp BYTE PTR tv215[ebp], 0
jne SHORT $LL32@UTF8ToHtml
mov eax, DWORD PTR tv209[ebp]
sub eax, DWORD PTR tv212[ebp]
mov DWORD PTR tv146[ebp], eax
mov ecx, DWORD PTR tv146[ebp]
mov DWORD PTR _len$4[ebp], ecx
; 2060 : if (out + 2 + len >= outend)
mov edx, DWORD PTR _len$4[ebp]
mov eax, DWORD PTR _out$[ebp]
lea ecx, DWORD PTR [eax+edx+2]
cmp ecx, DWORD PTR _outend$[ebp]
jb SHORT $LN28@UTF8ToHtml
; 2061 : break;
jmp SHORT $LN3@UTF8ToHtml
$LN28@UTF8ToHtml:
; 2062 : *out++ = '&';
mov edx, DWORD PTR _out$[ebp]
mov BYTE PTR [edx], 38 ; 00000026H
mov eax, DWORD PTR _out$[ebp]
add eax, 1
mov DWORD PTR _out$[ebp], eax
; 2063 : memcpy(out, cp, len);
mov ecx, DWORD PTR _len$4[ebp]
push ecx
mov edx, DWORD PTR _cp$2[ebp]
push edx
mov eax, DWORD PTR _out$[ebp]
push eax
call _memcpy
add esp, 12 ; 0000000cH
; 2064 : out += len;
mov ecx, DWORD PTR _out$[ebp]
add ecx, DWORD PTR _len$4[ebp]
mov DWORD PTR _out$[ebp], ecx
; 2065 : *out++ = ';';
mov edx, DWORD PTR _out$[ebp]
mov BYTE PTR [edx], 59 ; 0000003bH
mov eax, DWORD PTR _out$[ebp]
add eax, 1
mov DWORD PTR _out$[ebp], eax
$LN24@UTF8ToHtml:
; 2066 : }
; 2067 : processed = in;
mov ecx, DWORD PTR _in$[ebp]
mov DWORD PTR _processed$[ebp], ecx
; 2068 : }
jmp $LN2@UTF8ToHtml
$LN3@UTF8ToHtml:
; 2069 : *outlen = out - outstart;
mov edx, DWORD PTR _out$[ebp]
sub edx, DWORD PTR _outstart$[ebp]
mov eax, DWORD PTR _outlen$[ebp]
mov DWORD PTR [eax], edx
; 2070 : *inlen = processed - instart;
mov ecx, DWORD PTR _processed$[ebp]
sub ecx, DWORD PTR _instart$[ebp]
mov edx, DWORD PTR _inlen$[ebp]
mov DWORD PTR [edx], ecx
; 2071 : return(0);
xor eax, eax
$LN1@UTF8ToHtml:
; 2072 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN35@UTF8ToHtml
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 92 ; 0000005cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN35@UTF8ToHtml:
DD 1
DD $LN34@UTF8ToHtml
$LN34@UTF8ToHtml:
DD -64 ; ffffffc0H
DD 16 ; 00000010H
DD $LN33@UTF8ToHtml
$LN33@UTF8ToHtml:
DB 110 ; 0000006eH
DB 98 ; 00000062H
DB 117 ; 00000075H
DB 102 ; 00000066H
DB 0
_UTF8ToHtml ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseFile
_TEXT SEGMENT
_filename$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_htmlParseFile PROC ; COMDAT
; 6448 : htmlParseFile(const char *filename, const char *encoding) {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6449 : return(htmlSAXParseFile(filename, encoding, NULL, NULL));
push 0
push 0
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _filename$[ebp]
push ecx
call _htmlSAXParseFile
add esp, 16 ; 00000010H
; 6450 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlParseFile ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlSAXParseFile
_TEXT SEGMENT
_oldsax$ = -12 ; size = 4
_ctxt$ = -8 ; size = 4
_ret$ = -4 ; size = 4
_filename$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_sax$ = 16 ; size = 4
_userData$ = 20 ; size = 4
_htmlSAXParseFile PROC ; COMDAT
; 6409 : void *userData) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6410 : htmlDocPtr ret;
; 6411 : htmlParserCtxtPtr ctxt;
; 6412 : htmlSAXHandlerPtr oldsax = NULL;
mov DWORD PTR _oldsax$[ebp], 0
; 6413 :
; 6414 : xmlInitParser();
call _xmlInitParser
; 6415 :
; 6416 : ctxt = htmlCreateFileParserCtxt(filename, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _filename$[ebp]
push ecx
call _htmlCreateFileParserCtxt
add esp, 8
mov DWORD PTR _ctxt$[ebp], eax
; 6417 : if (ctxt == NULL) return(NULL);
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlSAXPar
xor eax, eax
jmp SHORT $LN1@htmlSAXPar
$LN2@htmlSAXPar:
; 6418 : if (sax != NULL) {
cmp DWORD PTR _sax$[ebp], 0
je SHORT $LN3@htmlSAXPar
; 6419 : oldsax = ctxt->sax;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov DWORD PTR _oldsax$[ebp], eax
; 6420 : ctxt->sax = sax;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _sax$[ebp]
mov DWORD PTR [ecx], edx
; 6421 : ctxt->userData = userData;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR _userData$[ebp]
mov DWORD PTR [eax+4], ecx
$LN3@htmlSAXPar:
; 6422 : }
; 6423 :
; 6424 : htmlParseDocument(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseDocument
add esp, 4
; 6425 :
; 6426 : ret = ctxt->myDoc;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+8]
mov DWORD PTR _ret$[ebp], ecx
; 6427 : if (sax != NULL) {
cmp DWORD PTR _sax$[ebp], 0
je SHORT $LN4@htmlSAXPar
; 6428 : ctxt->sax = oldsax;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _oldsax$[ebp]
mov DWORD PTR [edx], eax
; 6429 : ctxt->userData = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+4], 0
$LN4@htmlSAXPar:
; 6430 : }
; 6431 : htmlFreeParserCtxt(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlFreeParserCtxt
add esp, 4
; 6432 :
; 6433 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlSAXPar:
; 6434 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlSAXParseFile ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseDoc
_TEXT SEGMENT
_cur$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_htmlParseDoc PROC ; COMDAT
; 6321 : htmlParseDoc(const xmlChar *cur, const char *encoding) {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6322 : return(htmlSAXParseDoc(cur, encoding, NULL, NULL));
push 0
push 0
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
call _htmlSAXParseDoc
add esp, 16 ; 00000010H
; 6323 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlParseDoc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlSAXParseDoc
_TEXT SEGMENT
_ctxt$ = -8 ; size = 4
_ret$ = -4 ; size = 4
_cur$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_sax$ = 16 ; size = 4
_userData$ = 20 ; size = 4
_htmlSAXParseDoc PROC ; COMDAT
; 6282 : htmlSAXHandlerPtr sax, void *userData) {
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 6283 : htmlDocPtr ret;
; 6284 : htmlParserCtxtPtr ctxt;
; 6285 :
; 6286 : xmlInitParser();
call _xmlInitParser
; 6287 :
; 6288 : if (cur == NULL) return(NULL);
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlSAXPar
xor eax, eax
jmp $LN1@htmlSAXPar
$LN2@htmlSAXPar:
; 6289 :
; 6290 :
; 6291 : ctxt = htmlCreateDocParserCtxt(cur, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
call _htmlCreateDocParserCtxt
add esp, 8
mov DWORD PTR _ctxt$[ebp], eax
; 6292 : if (ctxt == NULL) return(NULL);
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN3@htmlSAXPar
xor eax, eax
jmp SHORT $LN1@htmlSAXPar
$LN3@htmlSAXPar:
; 6293 : if (sax != NULL) {
cmp DWORD PTR _sax$[ebp], 0
je SHORT $LN4@htmlSAXPar
; 6294 : if (ctxt->sax != NULL) xmlFree (ctxt->sax);
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN5@htmlSAXPar
mov esi, esp
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN5@htmlSAXPar:
; 6295 : ctxt->sax = sax;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR _sax$[ebp]
mov DWORD PTR [edx], eax
; 6296 : ctxt->userData = userData;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR _userData$[ebp]
mov DWORD PTR [ecx+4], edx
$LN4@htmlSAXPar:
; 6297 : }
; 6298 :
; 6299 : htmlParseDocument(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseDocument
add esp, 4
; 6300 : ret = ctxt->myDoc;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+8]
mov DWORD PTR _ret$[ebp], edx
; 6301 : if (sax != NULL) {
cmp DWORD PTR _sax$[ebp], 0
je SHORT $LN6@htmlSAXPar
; 6302 : ctxt->sax = NULL;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax], 0
; 6303 : ctxt->userData = NULL;
mov ecx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [ecx+4], 0
$LN6@htmlSAXPar:
; 6304 : }
; 6305 : htmlFreeParserCtxt(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlFreeParserCtxt
add esp, 4
; 6306 :
; 6307 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlSAXPar:
; 6308 : }
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlSAXParseDoc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseDocument
_TEXT SEGMENT
tv144 = -24 ; size = 4
_dtd$ = -20 ; size = 4
_enc$ = -16 ; size = 4
_start$ = -8 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseDocument PROC ; COMDAT
; 4725 : htmlParseDocument(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 24 ; 00000018H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4726 : xmlChar start[4];
; 4727 : xmlCharEncoding enc;
; 4728 : xmlDtdPtr dtd;
; 4729 :
; 4730 : xmlInitParser();
call _xmlInitParser
; 4731 :
; 4732 : htmlDefaultSAXHandlerInit();
call _htmlDefaultSAXHandlerInit
; 4733 :
; 4734 : if ((ctxt == NULL) || (ctxt->input == NULL)) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN7@htmlParseD
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
jne SHORT $LN6@htmlParseD
$LN7@htmlParseD:
; 4735 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CC@IOOHKEGN@htmlParseDocument?3?5context?5erro@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 4736 : "htmlParseDocument: context error\n", NULL, NULL);
; 4737 : return(XML_ERR_INTERNAL_ERROR);
mov eax, 1
jmp $LN1@htmlParseD
$LN6@htmlParseD:
; 4738 : }
; 4739 : ctxt->html = 1;
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+32], 1
; 4740 : ctxt->linenumbers = 1;
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+280], 1
; 4741 : GROW;
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+292], 0
jne SHORT $LN8@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [eax+20]
sub eax, DWORD PTR [edx+16]
cmp eax, 250 ; 000000faH
jge SHORT $LN8@htmlParseD
push 250 ; 000000faH
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
call _xmlParserInputGrow
add esp, 8
$LN8@htmlParseD:
; 4742 : /*
; 4743 : * SAX: beginning of the document processing.
; 4744 : */
; 4745 : if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax], 0
je SHORT $LN9@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
cmp DWORD PTR [edx+44], 0
je SHORT $LN9@htmlParseD
; 4746 : ctxt->sax->setDocumentLocator(ctxt->userData, &xmlDefaultSAXLocator);
call ___xmlDefaultSAXLocator
mov esi, esp
push eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+44]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN9@htmlParseD:
; 4747 :
; 4748 : if ((ctxt->encoding == (const xmlChar *)XML_CHAR_ENCODING_NONE) &&
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+24], 0
jne $LN10@htmlParseD
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [ecx+20]
sub ecx, DWORD PTR [eax+16]
cmp ecx, 4
jl $LN10@htmlParseD
; 4749 : ((ctxt->input->end - ctxt->input->cur) >= 4)) {
; 4750 : /*
; 4751 : * Get the 4 first bytes and decode the charset
; 4752 : * if enc != XML_CHAR_ENCODING_NONE
; 4753 : * plug some encoding conversion routines.
; 4754 : */
; 4755 : start[0] = RAW;
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+176], 0
je SHORT $LN25@htmlParseD
mov DWORD PTR tv144[ebp], -1
jmp SHORT $LN26@htmlParseD
$LN25@htmlParseD:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
mov DWORD PTR tv144[ebp], eax
$LN26@htmlParseD:
mov ecx, 1
imul edx, ecx, 0
mov al, BYTE PTR tv144[ebp]
mov BYTE PTR _start$[ebp+edx], al
; 4756 : start[1] = NXT(1);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
mov edx, 1
shl edx, 0
mov al, BYTE PTR [eax+ecx]
mov BYTE PTR _start$[ebp+edx], al
; 4757 : start[2] = NXT(2);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
mov edx, 1
shl edx, 1
mov al, BYTE PTR [eax+ecx]
mov BYTE PTR _start$[ebp+edx], al
; 4758 : start[3] = NXT(3);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR [edx+16]
mov eax, 1
imul eax, eax, 3
mov cl, BYTE PTR [ecx+edx]
mov BYTE PTR _start$[ebp+eax], cl
; 4759 : enc = xmlDetectCharEncoding(&start[0], 4);
push 4
mov edx, 1
imul eax, edx, 0
lea ecx, DWORD PTR _start$[ebp+eax]
push ecx
call _xmlDetectCharEncoding
add esp, 8
mov DWORD PTR _enc$[ebp], eax
; 4760 : if (enc != XML_CHAR_ENCODING_NONE) {
cmp DWORD PTR _enc$[ebp], 0
je SHORT $LN10@htmlParseD
; 4761 : xmlSwitchEncoding(ctxt, enc);
mov edx, DWORD PTR _enc$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlSwitchEncoding
add esp, 8
$LN10@htmlParseD:
; 4762 : }
; 4763 : }
; 4764 :
; 4765 : /*
; 4766 : * Wipe out everything which is before the first '<'
; 4767 : */
; 4768 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
; 4769 : if (CUR == 0) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
test edx, edx
jne SHORT $LN12@htmlParseD
; 4770 : htmlParseErr(ctxt, XML_ERR_DOCUMENT_EMPTY,
push 0
push 0
push OFFSET ??_C@_0BD@DKOGENJF@Document?5is?5empty?6@
push 4
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN12@htmlParseD:
; 4771 : "Document is empty\n", NULL, NULL);
; 4772 : }
; 4773 :
; 4774 : if ((ctxt->sax) && (ctxt->sax->startDocument) && (!ctxt->disableSAX))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN2@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+48], 0
je SHORT $LN2@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+212], 0
jne SHORT $LN2@htmlParseD
; 4775 : ctxt->sax->startDocument(ctxt->userData);
mov esi, esp
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+4]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx]
mov eax, DWORD PTR [edx+48]
call eax
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN2@htmlParseD:
; 4776 :
; 4777 :
; 4778 : /*
; 4779 : * Parse possible comments and PIs before any content
; 4780 : */
; 4781 : while (((CUR == '<') && (NXT(1) == '!') &&
; 4782 : (NXT(2) == '-') && (NXT(3) == '-')) ||
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN15@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 33 ; 00000021H
jne SHORT $LN15@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 45 ; 0000002dH
jne SHORT $LN15@htmlParseD
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
imul eax, edx, 3
mov ecx, DWORD PTR [ecx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 45 ; 0000002dH
je SHORT $LN14@htmlParseD
$LN15@htmlParseD:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne SHORT $LN3@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 63 ; 0000003fH
jne SHORT $LN3@htmlParseD
$LN14@htmlParseD:
; 4783 : ((CUR == '<') && (NXT(1) == '?'))) {
; 4784 : htmlParseComment(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseComment
add esp, 4
; 4785 : htmlParsePI(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParsePI
add esp, 4
; 4786 : SKIP_BLANKS;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlSkipBlankChars
add esp, 4
; 4787 : }
jmp $LN2@htmlParseD
$LN3@htmlParseD:
; 4788 :
; 4789 :
; 4790 : /*
; 4791 : * Then possibly doc type declaration(s) and more Misc
; 4792 : * (doctypedecl Misc*)?
; 4793 : */
; 4794 : if ((CUR == '<') && (NXT(1) == '!') &&
; 4795 : (UPP(2) == 'D') && (UPP(3) == 'O') &&
; 4796 : (UPP(4) == 'C') && (UPP(5) == 'T') &&
; 4797 : (UPP(6) == 'Y') && (UPP(7) == 'P') &&
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 60 ; 0000003cH
jne $LN16@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 33 ; 00000021H
jne $LN16@htmlParseD
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 1
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 68 ; 00000044H
jne $LN16@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
imul edx, ecx, 3
mov eax, DWORD PTR [eax+16]
movzx ecx, BYTE PTR [eax+edx]
mov esi, esp
push ecx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 79 ; 0000004fH
jne $LN16@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 2
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 67 ; 00000043H
jne $LN16@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 5
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 84 ; 00000054H
jne $LN16@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 6
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 89 ; 00000059H
jne SHORT $LN16@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 7
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
mov esi, esp
push eax
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 80 ; 00000050H
jne SHORT $LN16@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 3
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
mov esi, esp
push edx
call DWORD PTR __imp__toupper
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
cmp eax, 69 ; 00000045H
jne SHORT $LN16@htmlParseD
; 4798 : (UPP(8) == 'E')) {
; 4799 : htmlParseDocTypeDecl(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseDocTypeDecl
add esp, 4
$LN16@htmlParseD:
; 4800 : }
; 4801 : SKIP_BLANKS;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlSkipBlankChars
add esp, 4
$LN4@htmlParseD:
; 4802 :
; 4803 : /*
; 4804 : * Parse possible comments and PIs before any content
; 4805 : */
; 4806 : while (((CUR == '<') && (NXT(1) == '!') &&
; 4807 : (NXT(2) == '-') && (NXT(3) == '-')) ||
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 60 ; 0000003cH
jne SHORT $LN18@htmlParseD
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 33 ; 00000021H
jne SHORT $LN18@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 45 ; 0000002dH
jne SHORT $LN18@htmlParseD
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
imul ecx, eax, 3
mov edx, DWORD PTR [edx+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 45 ; 0000002dH
je SHORT $LN17@htmlParseD
$LN18@htmlParseD:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 60 ; 0000003cH
jne SHORT $LN5@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 63 ; 0000003fH
jne SHORT $LN5@htmlParseD
$LN17@htmlParseD:
; 4808 : ((CUR == '<') && (NXT(1) == '?'))) {
; 4809 : htmlParseComment(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseComment
add esp, 4
; 4810 : htmlParsePI(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParsePI
add esp, 4
; 4811 : SKIP_BLANKS;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlSkipBlankChars
add esp, 4
; 4812 : }
jmp $LN4@htmlParseD
$LN5@htmlParseD:
; 4813 :
; 4814 : /*
; 4815 : * Time to start parsing the tree itself
; 4816 : */
; 4817 : htmlParseContentInternal(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseContentInternal
add esp, 4
; 4818 :
; 4819 : /*
; 4820 : * autoclose
; 4821 : */
; 4822 : if (CUR == 0)
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
test edx, edx
jne SHORT $LN19@htmlParseD
; 4823 : htmlAutoCloseOnEnd(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlAutoCloseOnEnd
add esp, 4
$LN19@htmlParseD:
; 4824 :
; 4825 :
; 4826 : /*
; 4827 : * SAX: end of the document processing.
; 4828 : */
; 4829 : if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx], 0
je SHORT $LN20@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
cmp DWORD PTR [eax+52], 0
je SHORT $LN20@htmlParseD
; 4830 : ctxt->sax->endDocument(ctxt->userData);
mov esi, esp
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+4]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [ecx+52]
call edx
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN20@htmlParseD:
; 4831 :
; 4832 : if ((!(ctxt->options & HTML_PARSE_NODEFDTD)) && (ctxt->myDoc != NULL)) {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+360]
and ecx, 4
jne SHORT $LN21@htmlParseD
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+8], 0
je SHORT $LN21@htmlParseD
; 4833 : dtd = xmlGetIntSubset(ctxt->myDoc);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlGetIntSubset
add esp, 4
mov DWORD PTR _dtd$[ebp], eax
; 4834 : if (dtd == NULL)
cmp DWORD PTR _dtd$[ebp], 0
jne SHORT $LN21@htmlParseD
; 4835 : ctxt->myDoc->intSubset =
push OFFSET ??_C@_0CK@JLEAHDEJ@http?3?1?1www?4w3?4org?1TR?1REC?9html40@
push OFFSET ??_C@_0CG@CIBPFINF@?9?1?1W3C?1?1DTD?5HTML?54?40?5Transition@
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlCreateIntSubset
add esp, 16 ; 00000010H
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+8]
mov DWORD PTR [edx+44], eax
$LN21@htmlParseD:
; 4836 : xmlCreateIntSubset(ctxt->myDoc, BAD_CAST "html",
; 4837 : BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN",
; 4838 : BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd");
; 4839 : }
; 4840 : if (! ctxt->wellFormed) return(-1);
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+12], 0
jne SHORT $LN23@htmlParseD
or eax, -1
jmp SHORT $LN1@htmlParseD
$LN23@htmlParseD:
; 4841 : return(0);
xor eax, eax
$LN1@htmlParseD:
; 4842 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN29@htmlParseD
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop esi
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN29@htmlParseD:
DD 1
DD $LN28@htmlParseD
$LN28@htmlParseD:
DD -8 ; fffffff8H
DD 4
DD $LN27@htmlParseD
$LN27@htmlParseD:
DB 115 ; 00000073H
DB 116 ; 00000074H
DB 97 ; 00000061H
DB 114 ; 00000072H
DB 116 ; 00000074H
DB 0
_htmlParseDocument ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlCreateMemoryParserCtxt
_TEXT SEGMENT
_buf$ = -12 ; size = 4
_input$ = -8 ; size = 4
_ctxt$ = -4 ; size = 4
_buffer$ = 8 ; size = 4
_size$ = 12 ; size = 4
_htmlCreateMemoryParserCtxt PROC ; COMDAT
; 5013 : htmlCreateMemoryParserCtxt(const char *buffer, int size) {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 5014 : xmlParserCtxtPtr ctxt;
; 5015 : xmlParserInputPtr input;
; 5016 : xmlParserInputBufferPtr buf;
; 5017 :
; 5018 : if (buffer == NULL)
cmp DWORD PTR _buffer$[ebp], 0
jne SHORT $LN2@htmlCreate
; 5019 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN2@htmlCreate:
; 5020 : if (size <= 0)
cmp DWORD PTR _size$[ebp], 0
jg SHORT $LN3@htmlCreate
; 5021 : return(NULL);
xor eax, eax
jmp $LN1@htmlCreate
$LN3@htmlCreate:
; 5022 :
; 5023 : ctxt = htmlNewParserCtxt();
call _htmlNewParserCtxt
mov DWORD PTR _ctxt$[ebp], eax
; 5024 : if (ctxt == NULL)
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN4@htmlCreate
; 5025 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlCreate
$LN4@htmlCreate:
; 5026 :
; 5027 : buf = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE);
push 0
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call _xmlParserInputBufferCreateMem
add esp, 12 ; 0000000cH
mov DWORD PTR _buf$[ebp], eax
; 5028 : if (buf == NULL) return(NULL);
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN5@htmlCreate
xor eax, eax
jmp SHORT $LN1@htmlCreate
$LN5@htmlCreate:
; 5029 :
; 5030 : input = xmlNewInputStream(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNewInputStream
add esp, 4
mov DWORD PTR _input$[ebp], eax
; 5031 : if (input == NULL) {
cmp DWORD PTR _input$[ebp], 0
jne SHORT $LN6@htmlCreate
; 5032 : xmlFreeParserCtxt(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlFreeParserCtxt
add esp, 4
; 5033 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlCreate
$LN6@htmlCreate:
; 5034 : }
; 5035 :
; 5036 : input->filename = NULL;
mov ecx, DWORD PTR _input$[ebp]
mov DWORD PTR [ecx+4], 0
; 5037 : input->buf = buf;
mov edx, DWORD PTR _input$[ebp]
mov eax, DWORD PTR _buf$[ebp]
mov DWORD PTR [edx], eax
; 5038 : xmlBufResetInput(buf->buffer, input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufResetInput
add esp, 8
; 5039 :
; 5040 : inputPush(ctxt, input);
mov ecx, DWORD PTR _input$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _inputPush
add esp, 8
; 5041 : return(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
$LN1@htmlCreate:
; 5042 : }
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlCreateMemoryParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlNewParserCtxt
_TEXT SEGMENT
_ctxt$ = -4 ; size = 4
_htmlNewParserCtxt PROC ; COMDAT
; 4987 : {
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4988 : xmlParserCtxtPtr ctxt;
; 4989 :
; 4990 : ctxt = (xmlParserCtxtPtr) xmlMalloc(sizeof(xmlParserCtxt));
mov esi, esp
push 472 ; 000001d8H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _ctxt$[ebp], eax
; 4991 : if (ctxt == NULL) {
cmp DWORD PTR _ctxt$[ebp], 0
jne SHORT $LN2@htmlNewPar
; 4992 : htmlErrMemory(NULL, "NewParserCtxt: out of memory\n");
push OFFSET ??_C@_0BO@MIDDFDBC@NewParserCtxt?3?5out?5of?5memory?6@
push 0
call _htmlErrMemory
add esp, 8
; 4993 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlNewPar
$LN2@htmlNewPar:
; 4994 : }
; 4995 : memset(ctxt, 0, sizeof(xmlParserCtxt));
push 472 ; 000001d8H
push 0
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _memset
add esp, 12 ; 0000000cH
; 4996 : if (htmlInitParserCtxt(ctxt) < 0) {
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlInitParserCtxt
add esp, 4
test eax, eax
jge SHORT $LN3@htmlNewPar
; 4997 : htmlFreeParserCtxt(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlFreeParserCtxt
add esp, 4
; 4998 : return(NULL);
xor eax, eax
jmp SHORT $LN1@htmlNewPar
$LN3@htmlNewPar:
; 4999 : }
; 5000 : return(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
$LN1@htmlNewPar:
; 5001 : }
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNewParserCtxt ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseElement
_TEXT SEGMENT
_oldptr$ = -52 ; size = 4
_depth$ = -48 ; size = 4
_failed$ = -44 ; size = 4
_node_info$ = -36 ; size = 20
_info$ = -12 ; size = 4
_currentNode$ = -8 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseElement PROC ; COMDAT
; 4298 : htmlParseElement(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 52 ; 00000034H
push esi
push edi
lea edi, DWORD PTR [ebp-52]
mov ecx, 13 ; 0000000dH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4299 : const xmlChar *name;
; 4300 : xmlChar *currentNode = NULL;
mov DWORD PTR _currentNode$[ebp], 0
; 4301 : const htmlElemDesc * info;
; 4302 : htmlParserNodeInfo node_info;
; 4303 : int failed;
; 4304 : int depth;
; 4305 : const xmlChar *oldptr;
; 4306 :
; 4307 : if ((ctxt == NULL) || (ctxt->input == NULL)) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN5@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
jne SHORT $LN4@htmlParseE
$LN5@htmlParseE:
; 4308 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CB@EOHEMKHC@htmlParseElement?3?5context?5error@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 4309 : "htmlParseElement: context error\n", NULL, NULL);
; 4310 : return;
jmp $LN1@htmlParseE
$LN4@htmlParseE:
; 4311 : }
; 4312 :
; 4313 : if (ctxt->instate == XML_PARSER_EOF)
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+172], -1
jne SHORT $LN6@htmlParseE
; 4314 : return;
jmp $LN1@htmlParseE
$LN6@htmlParseE:
; 4315 :
; 4316 : /* Capture start position */
; 4317 : if (ctxt->record_info) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+68], 0
je SHORT $LN7@htmlParseE
; 4318 : node_info.begin_pos = ctxt->input->consumed +
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [eax+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
add ecx, DWORD PTR [edx+36]
mov DWORD PTR _node_info$[ebp+4], ecx
; 4319 : (CUR_PTR - ctxt->input->base);
; 4320 : node_info.begin_line = ctxt->input->line;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
mov DWORD PTR _node_info$[ebp+8], ecx
$LN7@htmlParseE:
; 4321 : }
; 4322 :
; 4323 : failed = htmlParseStartTag(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseStartTag
add esp, 4
mov DWORD PTR _failed$[ebp], eax
; 4324 : name = ctxt->name;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
mov DWORD PTR _name$[ebp], ecx
; 4325 : if ((failed == -1) || (name == NULL)) {
cmp DWORD PTR _failed$[ebp], -1
je SHORT $LN9@htmlParseE
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN8@htmlParseE
$LN9@htmlParseE:
; 4326 : if (CUR == '>')
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 62 ; 0000003eH
jne SHORT $LN10@htmlParseE
; 4327 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
$LN10@htmlParseE:
; 4328 : return;
jmp $LN1@htmlParseE
$LN8@htmlParseE:
; 4329 : }
; 4330 :
; 4331 : /*
; 4332 : * Lookup the info for that element.
; 4333 : */
; 4334 : info = htmlTagLookup(name);
mov ecx, DWORD PTR _name$[ebp]
push ecx
call _htmlTagLookup
add esp, 4
mov DWORD PTR _info$[ebp], eax
; 4335 : if (info == NULL) {
cmp DWORD PTR _info$[ebp], 0
jne SHORT $LN11@htmlParseE
; 4336 : htmlParseErr(ctxt, XML_HTML_UNKNOWN_TAG,
push 0
mov edx, DWORD PTR _name$[ebp]
push edx
push OFFSET ??_C@_0BA@NAOEEOLP@Tag?5?$CFs?5invalid?6@
push 801 ; 00000321H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN11@htmlParseE:
; 4337 : "Tag %s invalid\n", name, NULL);
; 4338 : }
; 4339 :
; 4340 : /*
; 4341 : * Check for an Empty Element labeled the XML/SGML way
; 4342 : */
; 4343 : if ((CUR == '/') && (NXT(1) == '>')) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 47 ; 0000002fH
jne $LN12@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 0
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 62 ; 0000003eH
jne $LN12@htmlParseE
; 4344 : SKIP(2);
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+200]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [eax+200], edx
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
add eax, 2
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov DWORD PTR [edx+16], eax
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+32]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+32], edx
; 4345 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN13@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+60], 0
je SHORT $LN13@htmlParseE
; 4346 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN13@htmlParseE:
; 4347 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
; 4348 : return;
jmp $LN1@htmlParseE
$LN12@htmlParseE:
; 4349 : }
; 4350 :
; 4351 : if (CUR == '>') {
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 62 ; 0000003eH
jne SHORT $LN14@htmlParseE
; 4352 : NEXT;
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlNextChar
add esp, 4
; 4353 : } else {
jmp $LN15@htmlParseE
$LN14@htmlParseE:
; 4354 : htmlParseErr(ctxt, XML_ERR_GT_REQUIRED,
push 0
mov edx, DWORD PTR _name$[ebp]
push edx
push OFFSET ??_C@_0CD@HIMAKCPA@Couldn?8t?5find?5end?5of?5Start?5Tag?5@
push 73 ; 00000049H
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
; 4355 : "Couldn't find end of Start Tag %s\n", name, NULL);
; 4356 :
; 4357 : /*
; 4358 : * end of parsing of this node.
; 4359 : */
; 4360 : if (xmlStrEqual(name, ctxt->name)) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+184]
push edx
mov eax, DWORD PTR _name$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN16@htmlParseE
; 4361 : nodePop(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _nodePop
add esp, 4
; 4362 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
$LN16@htmlParseE:
; 4363 : }
; 4364 :
; 4365 : /*
; 4366 : * Capture end position and add node
; 4367 : */
; 4368 : if (ctxt->record_info) {
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+68], 0
je SHORT $LN17@htmlParseE
; 4369 : node_info.end_pos = ctxt->input->consumed +
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [eax+36]
mov ecx, DWORD PTR [ecx+16]
sub ecx, DWORD PTR [eax+12]
add ecx, DWORD PTR [edx+36]
mov DWORD PTR _node_info$[ebp+12], ecx
; 4370 : (CUR_PTR - ctxt->input->base);
; 4371 : node_info.end_line = ctxt->input->line;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+28]
mov DWORD PTR _node_info$[ebp+16], ecx
; 4372 : node_info.node = ctxt->node;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+52]
mov DWORD PTR _node_info$[ebp], eax
; 4373 : xmlParserAddNodeInfo(ctxt, &node_info);
lea ecx, DWORD PTR _node_info$[ebp]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlParserAddNodeInfo
add esp, 8
$LN17@htmlParseE:
; 4374 : }
; 4375 : return;
jmp $LN1@htmlParseE
$LN15@htmlParseE:
; 4376 : }
; 4377 :
; 4378 : /*
; 4379 : * Check for an Empty Element from DTD definition
; 4380 : */
; 4381 : if ((info != NULL) && (info->empty)) {
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN18@htmlParseE
mov eax, DWORD PTR _info$[ebp]
movsx ecx, BYTE PTR [eax+7]
test ecx, ecx
je SHORT $LN18@htmlParseE
; 4382 : if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx], 0
je SHORT $LN19@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax]
cmp DWORD PTR [ecx+60], 0
je SHORT $LN19@htmlParseE
; 4383 : ctxt->sax->endElement(ctxt->userData, name);
mov esi, esp
mov edx, DWORD PTR _name$[ebp]
push edx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx]
mov ecx, DWORD PTR [eax+60]
call ecx
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
$LN19@htmlParseE:
; 4384 : htmlnamePop(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlnamePop
add esp, 4
; 4385 : return;
jmp $LN1@htmlParseE
$LN18@htmlParseE:
; 4386 : }
; 4387 :
; 4388 : /*
; 4389 : * Parse the content of the element:
; 4390 : */
; 4391 : currentNode = xmlStrdup(ctxt->name);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+184]
push ecx
call _xmlStrdup
add esp, 4
mov DWORD PTR _currentNode$[ebp], eax
; 4392 : depth = ctxt->nameNr;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+188]
mov DWORD PTR _depth$[ebp], eax
$LN2@htmlParseE:
; 4393 : while (IS_CHAR_CH(CUR)) {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN21@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 10 ; 0000000aH
jle SHORT $LN20@htmlParseE
$LN21@htmlParseE:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 13 ; 0000000dH
je SHORT $LN20@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 32 ; 00000020H
jl SHORT $LN3@htmlParseE
$LN20@htmlParseE:
; 4394 : oldptr = ctxt->input->cur;
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
mov DWORD PTR _oldptr$[ebp], ecx
; 4395 : htmlParseContent(ctxt);
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseContent
add esp, 4
; 4396 : if (oldptr==ctxt->input->cur) break;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _oldptr$[ebp]
cmp edx, DWORD PTR [ecx+16]
jne SHORT $LN22@htmlParseE
jmp SHORT $LN3@htmlParseE
$LN22@htmlParseE:
; 4397 : if (ctxt->nameNr < depth) break;
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+188]
cmp ecx, DWORD PTR _depth$[ebp]
jge SHORT $LN23@htmlParseE
jmp SHORT $LN3@htmlParseE
$LN23@htmlParseE:
; 4398 : }
jmp SHORT $LN2@htmlParseE
$LN3@htmlParseE:
; 4399 :
; 4400 : /*
; 4401 : * Capture end position and add node
; 4402 : */
; 4403 : if ( currentNode != NULL && ctxt->record_info ) {
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN24@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [edx+68], 0
je SHORT $LN24@htmlParseE
; 4404 : node_info.end_pos = ctxt->input->consumed +
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov edx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [edx+36]
mov eax, DWORD PTR [eax+16]
sub eax, DWORD PTR [edx+12]
add eax, DWORD PTR [ecx+36]
mov DWORD PTR _node_info$[ebp+12], eax
; 4405 : (CUR_PTR - ctxt->input->base);
; 4406 : node_info.end_line = ctxt->input->line;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+28]
mov DWORD PTR _node_info$[ebp+16], eax
; 4407 : node_info.node = ctxt->node;
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+52]
mov DWORD PTR _node_info$[ebp], edx
; 4408 : xmlParserAddNodeInfo(ctxt, &node_info);
lea eax, DWORD PTR _node_info$[ebp]
push eax
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _xmlParserAddNodeInfo
add esp, 8
$LN24@htmlParseE:
; 4409 : }
; 4410 : if (!IS_CHAR_CH(CUR)) {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 9
jl SHORT $LN26@htmlParseE
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 10 ; 0000000aH
jle SHORT $LN25@htmlParseE
$LN26@htmlParseE:
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 13 ; 0000000dH
je SHORT $LN25@htmlParseE
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
jge SHORT $LN25@htmlParseE
; 4411 : htmlAutoCloseOnEnd(ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlAutoCloseOnEnd
add esp, 4
$LN25@htmlParseE:
; 4412 : }
; 4413 :
; 4414 : if (currentNode != NULL)
cmp DWORD PTR _currentNode$[ebp], 0
je SHORT $LN1@htmlParseE
; 4415 : xmlFree(currentNode);
mov esi, esp
mov ecx, DWORD PTR _currentNode$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN1@htmlParseE:
; 4416 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN31@htmlParseE
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
pop esi
add esp, 52 ; 00000034H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN31@htmlParseE:
DD 1
DD $LN30@htmlParseE
$LN30@htmlParseE:
DD -36 ; ffffffdcH
DD 20 ; 00000014H
DD $LN29@htmlParseE
$LN29@htmlParseE:
DB 110 ; 0000006eH
DB 111 ; 0000006fH
DB 100 ; 00000064H
DB 101 ; 00000065H
DB 95 ; 0000005fH
DB 105 ; 00000069H
DB 110 ; 0000006eH
DB 102 ; 00000066H
DB 111 ; 0000006fH
DB 0
_htmlParseElement ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseCharRef
_TEXT SEGMENT
tv284 = -16 ; size = 4
tv286 = -12 ; size = 4
tv285 = -8 ; size = 4
_val$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_htmlParseCharRef PROC ; COMDAT
; 3384 : htmlParseCharRef(htmlParserCtxtPtr ctxt) {
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 3385 : int val = 0;
mov DWORD PTR _val$[ebp], 0
; 3386 :
; 3387 : if ((ctxt == NULL) || (ctxt->input == NULL)) {
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN7@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+36], 0
jne SHORT $LN6@htmlParseC
$LN7@htmlParseC:
; 3388 : htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
push 0
push 0
push OFFSET ??_C@_0CB@DPLLMGHJ@htmlParseCharRef?3?5context?5error@
push 1
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3389 : "htmlParseCharRef: context error\n",
; 3390 : NULL, NULL);
; 3391 : return(0);
xor eax, eax
jmp $LN1@htmlParseC
$LN6@htmlParseC:
; 3392 : }
; 3393 : if ((CUR == '&') && (NXT(1) == '#') &&
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 38 ; 00000026H
jne $LN8@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, 1
shl edx, 0
mov eax, DWORD PTR [ecx+16]
movzx ecx, BYTE PTR [eax+edx]
cmp ecx, 35 ; 00000023H
jne $LN8@htmlParseC
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, 1
shl ecx, 1
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 120 ; 00000078H
je SHORT $LN10@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 1
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 88 ; 00000058H
jne $LN8@htmlParseC
$LN10@htmlParseC:
; 3394 : ((NXT(2) == 'x') || NXT(2) == 'X')) {
; 3395 : SKIP(3);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 3
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, 3
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+32]
add ecx, 3
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], ecx
$LN2@htmlParseC:
; 3396 : while (CUR != ';') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 59 ; 0000003bH
je $LN3@htmlParseC
; 3397 : if ((CUR >= '0') && (CUR <= '9'))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 48 ; 00000030H
jl SHORT $LN11@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 57 ; 00000039H
jg SHORT $LN11@htmlParseC
; 3398 : val = val * 16 + (CUR - '0');
mov ecx, DWORD PTR _val$[ebp]
shl ecx, 4
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx]
lea ecx, DWORD PTR [ecx+eax-48]
mov DWORD PTR _val$[ebp], ecx
jmp $LN12@htmlParseC
$LN11@htmlParseC:
; 3399 : else if ((CUR >= 'a') && (CUR <= 'f'))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 97 ; 00000061H
jl SHORT $LN13@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 102 ; 00000066H
jg SHORT $LN13@htmlParseC
; 3400 : val = val * 16 + (CUR - 'a') + 10;
mov ecx, DWORD PTR _val$[ebp]
shl ecx, 4
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx]
lea ecx, DWORD PTR [ecx+eax-87]
mov DWORD PTR _val$[ebp], ecx
jmp SHORT $LN12@htmlParseC
$LN13@htmlParseC:
; 3401 : else if ((CUR >= 'A') && (CUR <= 'F'))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 65 ; 00000041H
jl SHORT $LN15@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 70 ; 00000046H
jg SHORT $LN15@htmlParseC
; 3402 : val = val * 16 + (CUR - 'A') + 10;
mov ecx, DWORD PTR _val$[ebp]
shl ecx, 4
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx]
lea ecx, DWORD PTR [ecx+eax-55]
mov DWORD PTR _val$[ebp], ecx
jmp SHORT $LN12@htmlParseC
$LN15@htmlParseC:
; 3403 : else {
; 3404 : htmlParseErr(ctxt, XML_ERR_INVALID_HEX_CHARREF,
push 0
push 0
push OFFSET ??_C@_0CF@KKILEJJN@htmlParseCharRef?3?5missing?5semic@
push 6
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3405 : "htmlParseCharRef: missing semicolon\n",
; 3406 : NULL, NULL);
; 3407 : break;
jmp SHORT $LN3@htmlParseC
$LN12@htmlParseC:
; 3408 : }
; 3409 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 3410 : }
jmp $LN2@htmlParseC
$LN3@htmlParseC:
; 3411 : if (CUR == ';')
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 59 ; 0000003bH
jne SHORT $LN17@htmlParseC
; 3412 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN17@htmlParseC:
; 3413 : } else if ((CUR == '&') && (NXT(1) == '#')) {
jmp $LN9@htmlParseC
$LN8@htmlParseC:
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 38 ; 00000026H
jne $LN18@htmlParseC
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, 1
shl eax, 0
mov ecx, DWORD PTR [edx+16]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 35 ; 00000023H
jne $LN18@htmlParseC
; 3414 : SKIP(2);
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+200]
add ecx, 2
mov edx, DWORD PTR _ctxt$[ebp]
mov DWORD PTR [edx+200], ecx
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
add edx, 2
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov DWORD PTR [ecx+16], edx
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+32]
add ecx, 2
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov DWORD PTR [eax+32], ecx
$LN4@htmlParseC:
; 3415 : while (CUR != ';') {
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 59 ; 0000003bH
je SHORT $LN5@htmlParseC
; 3416 : if ((CUR >= '0') && (CUR <= '9'))
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 48 ; 00000030H
jl SHORT $LN20@htmlParseC
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+16]
movzx eax, BYTE PTR [edx]
cmp eax, 57 ; 00000039H
jg SHORT $LN20@htmlParseC
; 3417 : val = val * 10 + (CUR - '0');
imul ecx, DWORD PTR _val$[ebp], 10
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov edx, DWORD PTR [eax+16]
movzx eax, BYTE PTR [edx]
lea ecx, DWORD PTR [ecx+eax-48]
mov DWORD PTR _val$[ebp], ecx
jmp SHORT $LN21@htmlParseC
$LN20@htmlParseC:
; 3418 : else {
; 3419 : htmlParseErr(ctxt, XML_ERR_INVALID_DEC_CHARREF,
push 0
push 0
push OFFSET ??_C@_0CF@KKILEJJN@htmlParseCharRef?3?5missing?5semic@
push 7
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 3420 : "htmlParseCharRef: missing semicolon\n",
; 3421 : NULL, NULL);
; 3422 : break;
jmp SHORT $LN5@htmlParseC
$LN21@htmlParseC:
; 3423 : }
; 3424 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 3425 : }
jmp SHORT $LN4@htmlParseC
$LN5@htmlParseC:
; 3426 : if (CUR == ';')
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+16]
movzx ecx, BYTE PTR [eax]
cmp ecx, 59 ; 0000003bH
jne SHORT $LN22@htmlParseC
; 3427 : NEXT;
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _xmlNextChar
add esp, 4
$LN22@htmlParseC:
; 3428 : } else {
jmp SHORT $LN9@htmlParseC
$LN18@htmlParseC:
; 3429 : htmlParseErr(ctxt, XML_ERR_INVALID_CHARREF,
push 0
push 0
push OFFSET ??_C@_0CB@IKIMPOOL@htmlParseCharRef?3?5invalid?5value@
push 8
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseErr
add esp, 20 ; 00000014H
$LN9@htmlParseC:
; 3430 : "htmlParseCharRef: invalid value\n", NULL, NULL);
; 3431 : }
; 3432 : /*
; 3433 : * Check the value IS_CHAR ...
; 3434 : */
; 3435 : if (IS_CHAR(val)) {
cmp DWORD PTR _val$[ebp], 256 ; 00000100H
jge SHORT $LN34@htmlParseC
cmp DWORD PTR _val$[ebp], 9
jl SHORT $LN26@htmlParseC
cmp DWORD PTR _val$[ebp], 10 ; 0000000aH
jle SHORT $LN27@htmlParseC
$LN26@htmlParseC:
cmp DWORD PTR _val$[ebp], 13 ; 0000000dH
je SHORT $LN27@htmlParseC
cmp DWORD PTR _val$[ebp], 32 ; 00000020H
jge SHORT $LN27@htmlParseC
mov DWORD PTR tv285[ebp], 0
jmp SHORT $LN33@htmlParseC
$LN27@htmlParseC:
mov DWORD PTR tv285[ebp], 1
$LN33@htmlParseC:
mov ecx, DWORD PTR tv285[ebp]
mov DWORD PTR tv286[ebp], ecx
jmp SHORT $LN35@htmlParseC
$LN34@htmlParseC:
cmp DWORD PTR _val$[ebp], 256 ; 00000100H
jl SHORT $LN28@htmlParseC
cmp DWORD PTR _val$[ebp], 55295 ; 0000d7ffH
jle SHORT $LN30@htmlParseC
$LN28@htmlParseC:
cmp DWORD PTR _val$[ebp], 57344 ; 0000e000H
jl SHORT $LN29@htmlParseC
cmp DWORD PTR _val$[ebp], 65533 ; 0000fffdH
jle SHORT $LN30@htmlParseC
$LN29@htmlParseC:
cmp DWORD PTR _val$[ebp], 65536 ; 00010000H
jl SHORT $LN31@htmlParseC
cmp DWORD PTR _val$[ebp], 1114111 ; 0010ffffH
jle SHORT $LN30@htmlParseC
$LN31@htmlParseC:
mov DWORD PTR tv284[ebp], 0
jmp SHORT $LN32@htmlParseC
$LN30@htmlParseC:
mov DWORD PTR tv284[ebp], 1
$LN32@htmlParseC:
mov edx, DWORD PTR tv284[ebp]
mov DWORD PTR tv286[ebp], edx
$LN35@htmlParseC:
cmp DWORD PTR tv286[ebp], 0
je SHORT $LN23@htmlParseC
; 3436 : return(val);
mov eax, DWORD PTR _val$[ebp]
jmp SHORT $LN1@htmlParseC
; 3437 : } else {
jmp SHORT $LN24@htmlParseC
$LN23@htmlParseC:
; 3438 : htmlParseErrInt(ctxt, XML_ERR_INVALID_CHAR,
mov eax, DWORD PTR _val$[ebp]
push eax
push OFFSET ??_C@_0CM@IDADHLG@htmlParseCharRef?3?5invalid?5xmlCh@
push 9
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErrInt
add esp, 16 ; 00000010H
$LN24@htmlParseC:
; 3439 : "htmlParseCharRef: invalid xmlChar value %d\n",
; 3440 : val);
; 3441 : }
; 3442 : return(0);
xor eax, eax
$LN1@htmlParseC:
; 3443 : }
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseCharRef ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlParseEntityRef
_TEXT SEGMENT
_ent$ = -8 ; size = 4
_name$ = -4 ; size = 4
_ctxt$ = 8 ; size = 4
_str$ = 12 ; size = 4
_htmlParseEntityRef PROC ; COMDAT
; 2694 : htmlParseEntityRef(htmlParserCtxtPtr ctxt, const xmlChar **str) {
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 2695 : const xmlChar *name;
; 2696 : const htmlEntityDesc * ent = NULL;
mov DWORD PTR _ent$[ebp], 0
; 2697 :
; 2698 : if (str != NULL) *str = NULL;
cmp DWORD PTR _str$[ebp], 0
je SHORT $LN2@htmlParseE
mov eax, DWORD PTR _str$[ebp]
mov DWORD PTR [eax], 0
$LN2@htmlParseE:
; 2699 : if ((ctxt == NULL) || (ctxt->input == NULL)) return(NULL);
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN4@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [ecx+36], 0
jne SHORT $LN3@htmlParseE
$LN4@htmlParseE:
xor eax, eax
jmp $LN1@htmlParseE
$LN3@htmlParseE:
; 2700 :
; 2701 : if (CUR == '&') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 38 ; 00000026H
jne $LN5@htmlParseE
; 2702 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
; 2703 : name = htmlParseName(ctxt);
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseName
add esp, 4
mov DWORD PTR _name$[ebp], eax
; 2704 : if (name == NULL) {
cmp DWORD PTR _name$[ebp], 0
jne SHORT $LN6@htmlParseE
; 2705 : htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
push 0
push 0
push OFFSET ??_C@_0BN@FCLAMBFC@htmlParseEntityRef?3?5no?5name?6@
push 68 ; 00000044H
mov edx, DWORD PTR _ctxt$[ebp]
push edx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2706 : "htmlParseEntityRef: no name\n", NULL, NULL);
; 2707 : } else {
jmp $LN5@htmlParseE
$LN6@htmlParseE:
; 2708 : GROW;
mov eax, DWORD PTR _ctxt$[ebp]
cmp DWORD PTR [eax+292], 0
jne SHORT $LN8@htmlParseE
mov ecx, DWORD PTR _ctxt$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [edx+20]
sub edx, DWORD PTR [ecx+16]
cmp edx, 250 ; 000000faH
jge SHORT $LN8@htmlParseE
push 250 ; 000000faH
mov eax, DWORD PTR _ctxt$[ebp]
mov ecx, DWORD PTR [eax+36]
push ecx
call _xmlParserInputGrow
add esp, 8
$LN8@htmlParseE:
; 2709 : if (CUR == ';') {
mov edx, DWORD PTR _ctxt$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+16]
movzx edx, BYTE PTR [ecx]
cmp edx, 59 ; 0000003bH
jne SHORT $LN9@htmlParseE
; 2710 : if (str != NULL)
cmp DWORD PTR _str$[ebp], 0
je SHORT $LN11@htmlParseE
; 2711 : *str = name;
mov eax, DWORD PTR _str$[ebp]
mov ecx, DWORD PTR _name$[ebp]
mov DWORD PTR [eax], ecx
$LN11@htmlParseE:
; 2712 :
; 2713 : /*
; 2714 : * Lookup the entity in the table.
; 2715 : */
; 2716 : ent = htmlEntityLookup(name);
mov edx, DWORD PTR _name$[ebp]
push edx
call _htmlEntityLookup
add esp, 4
mov DWORD PTR _ent$[ebp], eax
; 2717 : if (ent != NULL) /* OK that's ugly !!! */
cmp DWORD PTR _ent$[ebp], 0
je SHORT $LN12@htmlParseE
; 2718 : NEXT;
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _xmlNextChar
add esp, 4
$LN12@htmlParseE:
; 2719 : } else {
jmp SHORT $LN5@htmlParseE
$LN9@htmlParseE:
; 2720 : htmlParseErr(ctxt, XML_ERR_ENTITYREF_SEMICOL_MISSING,
push 0
push 0
push OFFSET ??_C@_0CD@KJDDHCEO@htmlParseEntityRef?3?5expecting?5?8@
push 23 ; 00000017H
mov ecx, DWORD PTR _ctxt$[ebp]
push ecx
call _htmlParseErr
add esp, 20 ; 00000014H
; 2721 : "htmlParseEntityRef: expecting ';'\n",
; 2722 : NULL, NULL);
; 2723 : if (str != NULL)
cmp DWORD PTR _str$[ebp], 0
je SHORT $LN5@htmlParseE
; 2724 : *str = name;
mov edx, DWORD PTR _str$[ebp]
mov eax, DWORD PTR _name$[ebp]
mov DWORD PTR [edx], eax
$LN5@htmlParseE:
; 2725 : }
; 2726 : }
; 2727 : }
; 2728 : return(ent);
mov eax, DWORD PTR _ent$[ebp]
$LN1@htmlParseE:
; 2729 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlParseEntityRef ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlAutoCloseTag
_TEXT SEGMENT
_child$ = -4 ; size = 4
_doc$ = 8 ; size = 4
_name$ = 12 ; size = 4
_elem$ = 16 ; size = 4
_htmlAutoCloseTag PROC ; COMDAT
; 1438 : htmlAutoCloseTag(htmlDocPtr doc, const xmlChar *name, htmlNodePtr elem) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1439 : htmlNodePtr child;
; 1440 :
; 1441 : if (elem == NULL) return(1);
cmp DWORD PTR _elem$[ebp], 0
jne SHORT $LN4@htmlAutoCl
mov eax, 1
jmp SHORT $LN1@htmlAutoCl
$LN4@htmlAutoCl:
; 1442 : if (xmlStrEqual(name, elem->name)) return(0);
mov eax, DWORD PTR _elem$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
mov edx, DWORD PTR _name$[ebp]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN5@htmlAutoCl
xor eax, eax
jmp SHORT $LN1@htmlAutoCl
$LN5@htmlAutoCl:
; 1443 : if (htmlCheckAutoClose(elem->name, name)) return(1);
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _elem$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _htmlCheckAutoClose
add esp, 8
test eax, eax
je SHORT $LN6@htmlAutoCl
mov eax, 1
jmp SHORT $LN1@htmlAutoCl
$LN6@htmlAutoCl:
; 1444 : child = elem->children;
mov eax, DWORD PTR _elem$[ebp]
mov ecx, DWORD PTR [eax+12]
mov DWORD PTR _child$[ebp], ecx
$LN2@htmlAutoCl:
; 1445 : while (child != NULL) {
cmp DWORD PTR _child$[ebp], 0
je SHORT $LN3@htmlAutoCl
; 1446 : if (htmlAutoCloseTag(doc, name, child)) return(1);
mov edx, DWORD PTR _child$[ebp]
push edx
mov eax, DWORD PTR _name$[ebp]
push eax
mov ecx, DWORD PTR _doc$[ebp]
push ecx
call _htmlAutoCloseTag
add esp, 12 ; 0000000cH
test eax, eax
je SHORT $LN7@htmlAutoCl
mov eax, 1
jmp SHORT $LN1@htmlAutoCl
$LN7@htmlAutoCl:
; 1447 : child = child->next;
mov edx, DWORD PTR _child$[ebp]
mov eax, DWORD PTR [edx+24]
mov DWORD PTR _child$[ebp], eax
; 1448 : }
jmp SHORT $LN2@htmlAutoCl
$LN3@htmlAutoCl:
; 1449 : return(0);
xor eax, eax
$LN1@htmlAutoCl:
; 1450 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlAutoCloseTag ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlIsAutoClosed
_TEXT SEGMENT
_child$ = -4 ; size = 4
_doc$ = 8 ; size = 4
_elem$ = 12 ; size = 4
_htmlIsAutoClosed PROC ; COMDAT
; 1464 : htmlIsAutoClosed(htmlDocPtr doc, htmlNodePtr elem) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1465 : htmlNodePtr child;
; 1466 :
; 1467 : if (elem == NULL) return(1);
cmp DWORD PTR _elem$[ebp], 0
jne SHORT $LN4@htmlIsAuto
mov eax, 1
jmp SHORT $LN1@htmlIsAuto
$LN4@htmlIsAuto:
; 1468 : child = elem->children;
mov eax, DWORD PTR _elem$[ebp]
mov ecx, DWORD PTR [eax+12]
mov DWORD PTR _child$[ebp], ecx
$LN2@htmlIsAuto:
; 1469 : while (child != NULL) {
cmp DWORD PTR _child$[ebp], 0
je SHORT $LN3@htmlIsAuto
; 1470 : if (htmlAutoCloseTag(doc, elem->name, child)) return(1);
mov edx, DWORD PTR _child$[ebp]
push edx
mov eax, DWORD PTR _elem$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
call _htmlAutoCloseTag
add esp, 12 ; 0000000cH
test eax, eax
je SHORT $LN5@htmlIsAuto
mov eax, 1
jmp SHORT $LN1@htmlIsAuto
$LN5@htmlIsAuto:
; 1471 : child = child->next;
mov eax, DWORD PTR _child$[ebp]
mov ecx, DWORD PTR [eax+24]
mov DWORD PTR _child$[ebp], ecx
; 1472 : }
jmp SHORT $LN2@htmlIsAuto
$LN3@htmlIsAuto:
; 1473 : return(0);
xor eax, eax
$LN1@htmlIsAuto:
; 1474 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlIsAutoClosed ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlEntityValueLookup
_TEXT SEGMENT
_i$ = -4 ; size = 4
_value$ = 8 ; size = 4
_htmlEntityValueLookup PROC ; COMDAT
; 1957 : htmlEntityValueLookup(unsigned int value) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1958 : unsigned int i;
; 1959 :
; 1960 : for (i = 0;i < (sizeof(html40EntitiesTable)/
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN4@htmlEntity
$LN2@htmlEntity:
; 1961 : sizeof(html40EntitiesTable[0]));i++) {
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
$LN4@htmlEntity:
; 1958 : unsigned int i;
; 1959 :
; 1960 : for (i = 0;i < (sizeof(html40EntitiesTable)/
cmp DWORD PTR _i$[ebp], 253 ; 000000fdH
jae SHORT $LN3@htmlEntity
; 1962 : if (html40EntitiesTable[i].value >= value) {
imul ecx, DWORD PTR _i$[ebp], 12
mov edx, DWORD PTR _html40EntitiesTable[ecx]
cmp edx, DWORD PTR _value$[ebp]
jb SHORT $LN5@htmlEntity
; 1963 : if (html40EntitiesTable[i].value > value)
imul eax, DWORD PTR _i$[ebp], 12
mov ecx, DWORD PTR _html40EntitiesTable[eax]
cmp ecx, DWORD PTR _value$[ebp]
jbe SHORT $LN6@htmlEntity
; 1964 : break;
jmp SHORT $LN3@htmlEntity
$LN6@htmlEntity:
; 1965 : return((htmlEntityDescPtr) &html40EntitiesTable[i]);
imul eax, DWORD PTR _i$[ebp], 12
add eax, OFFSET _html40EntitiesTable
jmp SHORT $LN1@htmlEntity
$LN5@htmlEntity:
; 1966 : }
; 1967 : }
jmp SHORT $LN2@htmlEntity
$LN3@htmlEntity:
; 1968 : return(NULL);
xor eax, eax
$LN1@htmlEntity:
; 1969 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlEntityValueLookup ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlEntityLookup
_TEXT SEGMENT
_i$ = -4 ; size = 4
_name$ = 8 ; size = 4
_htmlEntityLookup PROC ; COMDAT
; 1934 : htmlEntityLookup(const xmlChar *name) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1935 : unsigned int i;
; 1936 :
; 1937 : for (i = 0;i < (sizeof(html40EntitiesTable)/
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN4@htmlEntity
$LN2@htmlEntity:
; 1938 : sizeof(html40EntitiesTable[0]));i++) {
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
$LN4@htmlEntity:
; 1935 : unsigned int i;
; 1936 :
; 1937 : for (i = 0;i < (sizeof(html40EntitiesTable)/
cmp DWORD PTR _i$[ebp], 253 ; 000000fdH
jae SHORT $LN3@htmlEntity
; 1939 : if (xmlStrEqual(name, BAD_CAST html40EntitiesTable[i].name)) {
imul ecx, DWORD PTR _i$[ebp], 12
mov edx, DWORD PTR _html40EntitiesTable[ecx+4]
push edx
mov eax, DWORD PTR _name$[ebp]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN5@htmlEntity
; 1940 : return((htmlEntityDescPtr) &html40EntitiesTable[i]);
imul eax, DWORD PTR _i$[ebp], 12
add eax, OFFSET _html40EntitiesTable
jmp SHORT $LN1@htmlEntity
$LN5@htmlEntity:
; 1941 : }
; 1942 : }
jmp SHORT $LN2@htmlEntity
$LN3@htmlEntity:
; 1943 : return(NULL);
xor eax, eax
$LN1@htmlEntity:
; 1944 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlEntityLookup ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT _htmlTagLookup
_TEXT SEGMENT
_i$ = -4 ; size = 4
_tag$ = 8 ; size = 4
_htmlTagLookup PROC ; COMDAT
; 1255 : htmlTagLookup(const xmlChar *tag) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 1256 : unsigned int i;
; 1257 :
; 1258 : for (i = 0; i < (sizeof(html40ElementTable) /
mov DWORD PTR _i$[ebp], 0
jmp SHORT $LN4@htmlTagLoo
$LN2@htmlTagLoo:
; 1259 : sizeof(html40ElementTable[0]));i++) {
mov eax, DWORD PTR _i$[ebp]
add eax, 1
mov DWORD PTR _i$[ebp], eax
$LN4@htmlTagLoo:
; 1256 : unsigned int i;
; 1257 :
; 1258 : for (i = 0; i < (sizeof(html40ElementTable) /
cmp DWORD PTR _i$[ebp], 92 ; 0000005cH
jae SHORT $LN3@htmlTagLoo
; 1260 : if (!xmlStrcasecmp(tag, BAD_CAST html40ElementTable[i].name))
imul ecx, DWORD PTR _i$[ebp], 36
mov edx, DWORD PTR _html40ElementTable[ecx]
push edx
mov eax, DWORD PTR _tag$[ebp]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN5@htmlTagLoo
; 1261 : return((htmlElemDescPtr) &html40ElementTable[i]);
imul eax, DWORD PTR _i$[ebp], 36
add eax, OFFSET _html40ElementTable
jmp SHORT $LN1@htmlTagLoo
$LN5@htmlTagLoo:
; 1262 : }
jmp SHORT $LN2@htmlTagLoo
$LN3@htmlTagLoo:
; 1263 : return(NULL);
xor eax, eax
$LN1@htmlTagLoo:
; 1264 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlTagLookup ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\htmlparser.c
; COMDAT ___htmlParseContent
_TEXT SEGMENT
_ctxt$ = 8 ; size = 4
___htmlParseContent PROC ; COMDAT
; 4708 : __htmlParseContent(void *ctxt) {
push ebp
mov ebp, esp
mov ecx, OFFSET __111E219E_htmlparser@c
call @__CheckForDebuggerJustMyCode@4
; 4709 : if (ctxt != NULL)
cmp DWORD PTR _ctxt$[ebp], 0
je SHORT $LN1@htmlParseC
; 4710 : htmlParseContentInternal((htmlParserCtxtPtr) ctxt);
mov eax, DWORD PTR _ctxt$[ebp]
push eax
call _htmlParseContentInternal
add esp, 4
$LN1@htmlParseC:
; 4711 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
___htmlParseContent ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\stdio.h
; COMDAT _snprintf
_TEXT SEGMENT
tv81 = -20 ; size = 4
__Result$1 = -16 ; size = 4
__Format$ = -12 ; size = 4
__ArgList$ = -8 ; size = 4
__Result$ = -4 ; size = 4
__Buffer$ = 8 ; size = 4
__BufferCount$ = 12 ; size = 4
__Format$ = 16 ; size = 4
_snprintf PROC ; COMDAT
; 1948 : {
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov ecx, OFFSET __A452D4A0_stdio@h
call @__CheckForDebuggerJustMyCode@4
; 1949 : int _Result;
; 1950 : va_list _ArgList;
; 1951 : __crt_va_start(_ArgList, _Format);
lea eax, DWORD PTR __Format$[ebp+4]
mov DWORD PTR __ArgList$[ebp], eax
; 1952 : #pragma warning(suppress:28719) // 28719
; 1953 : _Result = vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);
mov ecx, DWORD PTR __Format$[ebp]
mov DWORD PTR __Format$[ebp], ecx
; 1440 : int const _Result = __stdio_common_vsprintf(
mov esi, esp
mov edx, DWORD PTR __ArgList$[ebp]
push edx
push 0
mov eax, DWORD PTR __Format$[ebp]
push eax
mov ecx, DWORD PTR __BufferCount$[ebp]
push ecx
mov edx, DWORD PTR __Buffer$[ebp]
push edx
call ___local_stdio_printf_options
mov ecx, DWORD PTR [eax]
or ecx, 2
mov edx, DWORD PTR [eax+4]
push edx
push ecx
call DWORD PTR __imp____stdio_common_vsprintf
add esp, 28 ; 0000001cH
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR __Result$1[ebp], eax
; 1441 : _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR,
; 1442 : _Buffer, _BufferCount, _Format, NULL, _ArgList);
; 1443 :
; 1444 : return _Result < 0 ? -1 : _Result;
cmp DWORD PTR __Result$1[ebp], 0
jge SHORT $LN5@snprintf
mov DWORD PTR tv81[ebp], -1
jmp SHORT $LN3@snprintf
$LN5@snprintf:
mov eax, DWORD PTR __Result$1[ebp]
mov DWORD PTR tv81[ebp], eax
$LN3@snprintf:
; 1952 : #pragma warning(suppress:28719) // 28719
; 1953 : _Result = vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);
mov ecx, DWORD PTR tv81[ebp]
mov DWORD PTR __Result$[ebp], ecx
; 1954 : __crt_va_end(_ArgList);
mov DWORD PTR __ArgList$[ebp], 0
; 1955 : return _Result;
mov eax, DWORD PTR __Result$[ebp]
; 1956 : }
pop esi
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_snprintf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\corecrt_stdio_config.h
; COMDAT ___local_stdio_printf_options
_TEXT SEGMENT
___local_stdio_printf_options PROC ; COMDAT
; 86 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __2CC6E67D_corecrt_stdio_config@h
call @__CheckForDebuggerJustMyCode@4
; 87 : static unsigned __int64 _OptionsStorage;
; 88 : return &_OptionsStorage;
mov eax, OFFSET ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9 ; `__local_stdio_printf_options'::`2'::_OptionsStorage
; 89 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
___local_stdio_printf_options ENDP
_TEXT ENDS
END
| 24.875822 | 126 | 0.67149 |
96dd1ae92cd4fdc207442eda7f9b695a3d7e09b0 | 365 | asm | Assembly | programs/oeis/131/A131037.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/131/A131037.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/131/A131037.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A131037: Sequence A001333 with last digits set to zero.
; 0,0,0,0,10,40,90,230,570,1390,3360,8110,19600,47320,114240,275800,665850,1607520,3880890,9369310,22619530,54608390,131836320,318281030,768398400,1855077840,4478554080,10812186000,26102926090,63018038200
cal $0,1333 ; Numerators of continued fraction convergents to sqrt(2).
div $0,10
mov $1,$0
mul $1,10
| 45.625 | 204 | 0.794521 |
a313765f5dee6da01d20e22fb44b7bf9128d5303 | 243 | asm | Assembly | add.asm | deepaksaipendyala/sum_in_mips | 3bd8cab54322e03284c8b751049fa2022ba67cad | [
"MIT"
] | null | null | null | add.asm | deepaksaipendyala/sum_in_mips | 3bd8cab54322e03284c8b751049fa2022ba67cad | [
"MIT"
] | null | null | null | add.asm | deepaksaipendyala/sum_in_mips | 3bd8cab54322e03284c8b751049fa2022ba67cad | [
"MIT"
] | null | null | null | .data
msg1: .asciiz"Enter the num 1:"
msg2: .asciiz"Enter the num 2:"
.text
li $v0,4
la $a0,msg1
syscall
li $v0,5
syscall
move $s0,$v0
li $v0,4
la $a0,msg2
syscall
li $v0,5
syscall
move $s1,$v0
add $s2,$s0,$s1
move $a0,$s2
li $v0,1
syscall | 10.125 | 31 | 0.662551 |
e387de466057308c1bd749820cd6d11d0df7f267 | 627 | asm | Assembly | programs/oeis/165/A165994.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/165/A165994.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/165/A165994.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A165994: a(n) is the number of nonzero values of floor (j^2/prime(n)), over 1 <= j < prime(n).
; 0,1,2,4,7,9,12,14,18,23,25,30,34,36,40,45,51,53,58,62,64,70,73,79,87,90,92,96,98,102,115,119,125,127,136,138,144,150,154,159,165,167,177,179,182,184,196,208,211,213,217,223,225,235,240,246,252,254,260,264,266,275,289,293,295,299,312,318,328,330,334,340,347,353,359,363,369,377,380,388,398,400,410,412,418,421,427,435,439,441,445,457,464,468,476,480,486,498,500,517
seq $0,40 ; The prime numbers.
seq $0,122800 ; A P_4-stuttered arithmetic progression with a(n+1)=a(n) if n is square, a(n+1)=a(n)+2 otherwise.
div $0,2
sub $0,1
| 78.375 | 366 | 0.69697 |
a8f9af11e7af012d9c1923a15c955021b969e095 | 721 | asm | Assembly | oeis/163/A163844.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/163/A163844.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/163/A163844.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A163844: Row sums of triangle A163841.
; Submitted by Jon Maiga
; 1,5,25,125,621,3065,15051,73645,359485,1752125,8532591,41537105,202200415,984526275,4795673085,23372376525,113978687085,556205251325,2716129289775,13273197773125,64909884686595,317652752793975,1555587408645225,7623031579626625,37380290962433871,183412367702576615,900480701592689641,4423527813907449995,21742046958615517545,106919856241490967125,526055828964549830419,2589467654155667061645,12752179150262652447405,62826681323203871738925,309656815296758839100511,1526811621392104753755365
mov $1,1
mov $3,$0
mov $4,1
lpb $3
add $3,1
mul $1,$3
mul $1,2
add $5,$4
div $1,$5
mul $1,$4
add $2,$1
sub $3,2
add $4,2
lpe
mov $0,$2
add $0,1
| 34.333333 | 491 | 0.805825 |
cb744b1b4f3ec2c3b40d64d09034438f08a965a3 | 3,412 | asm | Assembly | programs/oeis/017/A017284.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/017/A017284.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/017/A017284.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A017284: a(n) = (10*n + 1)^4.
; 1,14641,194481,923521,2825761,6765201,13845841,25411681,43046721,68574961,104060401,151807041,214358881,294499921,395254161,519885601,671898241,855036081,1073283121,1330863361,1632240801,1982119441,2385443281,2847396321,3373402561,3969126001,4640470641,5393580481,6234839521,7170871761,8208541201,9354951841,10617447681,12003612721,13521270961,15178486401,16983563041,18945044881,21071715921,23372600161,25856961601,28534304241,31414372081,34507149121,37822859361,41371966801,45165175441,49213429281,53527912321,58120048561,63001502001,68184176641,73680216481,79502005521,85662167761,92173567201,99049307841,106302733681,113947428721,121997216961,130466162401,139368569041,148718980881,158532181921,168823196161,179607287601,190899960241,202716958081,215074265121,227988105361,241474942801,255551481441,270234665281,285541678321,301489944561,318097128001,335381132641,353360102481,372052421521,391476713761,411651843201,432596913841,454331269681,476874494721,500246412961,524467088401,549556825041,575536166881,602425897921,630247042161,659020863601,688768866241,719512794081,751274631121,784076601361,817941168801,852891037441,888949151281,926138694321,964483090561,1004006004001,1044731338641,1086683238481,1129886087521,1174364509761,1220143369201,1267247769841,1315703055681,1365534810721,1416768858961,1469431264401,1523548331041,1579146602881,1636252863921,1694894138161,1755097689601,1816891022241,1880301880081,1945358247121,2012088347361,2080520644801,2150683843441,2222606887281,2296318960321,2371849486561,2449228130001,2528484794641,2609649624481,2692753003521,2777825555761,2864898145201,2954001875841,3045168091681,3138428376721,3233814554961,3331358690401,3431093087041,3533050288881,3637263079921,3743764484161,3852587765601,3963766428241,4077334216081,4193325113121,4311773343361,4432713370801,4556179899441,4682207873281,4810832476321,4942089132561,5076013506001,5212641500641,5352009260481,5494153169521,5639109851761,5786916171201,5937609231841,6091226377681,6247805192721,6407383500961,6569999366401,6735691093041,6904497224881,7076456545921,7251608080161,7429991091601,7611645084241,7796609802081,7984925229121,8176631589361,8371769346801,8570379205441,8772502109281,8978179242321,9187452028561,9400362132001,9616951456641,9837262146481,10061336585521,10289217397761,10520947447201,10756569837841,10996127913681,11239665258721,11487225696961,11738853292401,11994592349041,12254487410881,12518583261921,12786924926161,13059557667601,13336526990241,13617878638081,13903658595121,14193913085361,14488688572801,14788031761441,15091989595281,15400609258321,15713938174561,16032024008001,16354914662641,16682658282481,17015303251521,17352898193761,17695491973201,18043133693841,18395872699681,18753758574721,19116841142961,19485170468401,19858796855041,20237770846881,20622143227921,21011965022161,21407287493601,21808162146241,22214640724081,22626775211121,23044617831361,23468221048801,23897637567441,24332920331281,24774122524321,25221297570561,25674499134001,26133781118641,26599197668481,27070803167521,27548652239761,28032799749201,28523300799841,29020210735681,29523585140721,30033479838961,30549950894401,31073054611041,31602847532881,32139386443921,32682728368161,33232930569601,33790050552241,34354146060081,34925275077121,35503495827361,36088866774801,36681446623441,37281294317281,37888469040321,38503030216561
mul $0,10
add $0,1
pow $0,4
mov $1,$0
| 426.5 | 3,340 | 0.915592 |
9f84e9d7c944535a84fa95b05ba1779c6c6182cb | 17,568 | asm | Assembly | ASCI/asc_final/trabalho.asm | MiguelNdeCarvalho/university | ea6ad1ca47089ff46242de2be2f611e3c51c2ce8 | [
"MIT"
] | 2 | 2019-03-24T14:04:51.000Z | 2022-01-05T12:39:07.000Z | ASCI/asc_final/trabalho.asm | MiguelNdeCarvalho/university | ea6ad1ca47089ff46242de2be2f611e3c51c2ce8 | [
"MIT"
] | 1 | 2021-06-25T15:49:43.000Z | 2021-06-25T15:49:43.000Z | ASCI/asc_final/trabalho.asm | MiguelNdeCarvalho/University | ea6ad1ca47089ff46242de2be2f611e3c51c2ce8 | [
"MIT"
] | 1 | 2019-01-15T03:45:28.000Z | 2019-01-15T03:45:28.000Z | ############################################################################################################
# Redução de Ruído #
# Autores: Miguel de Carvalho & Ricardo Oliveira #
############################################################################################################
.data
MENU: .asciiz "Remoção de Ruído\n Escolha uma das opções seguintes:\n 1 - Media \n 2 - Mediana \n 3 - Sair\n"
IMAGE_A: .asciiz "/home/ricardo/Desktop/ASCFinal/lena.gray"
IMAGE_B: .asciiz "/home/ricardo/Desktop/ASCFinal/Output.gray"
BUFFER_A: .space 262144 # Alocamento de espaço para o Buffer A
BUFFER_B: .space 262144 # Alocamento de espaço para o Buffer B
BUFFER_C: .space 9 # Alocamento de espaço para o Buffer C (auxiliar para a mediana)
############################################################################################################
############################################################################################################
.text
main:
la $a0, MENU
li $v0, 4
syscall # Mostra o menu ao utilizador
li $v0, 5
syscall # Le a opcao do utilizador
beq $v0, 1, MEDIA # Se o utilizador escolher a opcao 1 vai utilzar a media
nop
beq $v0, 2, MEDIANA # Se o utilizador escolher a opcao 2 vai utilzar a mediana
nop
beq $v0, 3, EXIT # Se o utilizador escolher a opcao 3 vai sair do programa
nop
j main
nop
############################################################################################################
# Media #
############################################################################################################
MEDIA:
jal READ_GRAY_IMAGE # Abre a imagem em .rgb
nop
jal MEAN_FILTER # Executa a função da media
nop
jal WRITE_GRAY_IMAGE # Volta a escrever a imagem em .gray
nop
jal CLOSE_GRAY_IMAGE # Fecha a imagem
nop
j main # Volta para o menu (main)
nop
############################################################################################################
# Mediana #
############################################################################################################
MEDIANA:
jal READ_GRAY_IMAGE # Abre a imagem em .rgb
nop
jal MEDIAN_FILTER # Executa a função da mediana
nop
jal WRITE_GRAY_IMAGE # Volta a escrever a imagem em .gray
nop
jal CLOSE_GRAY_IMAGE # Fecha a imagem
nop
j main # Volta para o menu (main)
nop
############################################################################################################
# Exit #
############################################################################################################
EXIT:
li $v0, 10
syscall
############################################################################################################
READ_GRAY_IMAGE:
la $a0, IMAGE_A # String que contem a localizacao do ficheiro
li $a1, 0
li $a2, 0 # So le
li $v0, 13 # Abre o ficheiro
syscall
move $a0, $v0
la $a1, BUFFER_A
li $a2, 262144
li $v0, 14
syscall # Vai criar o buffer para a imagem
jr $ra # Volta para a Media, onde a funcao e chamada
nop
############################################################################################################
WRITE_GRAY_IMAGE:
la $a0, IMAGE_B # String que contem a localicazacao do ficheiro que vamos escrever
li $a1, 1
li $a2, 0
li $v0, 13 # Escreve o ficheiro, caso nao exista cria-o
syscall
move $a0, $v0
la $a1, BUFFER_B
li $a2, 262144
li $v0, 15
syscall # Vai criar o buffer para a imagem
jr $ra # Volta para a Media, onde a funcao e chamada
nop
############################################################################################################
#Vai fechar as duas Imagens
CLOSE_GRAY_IMAGE:
la $a0, IMAGE_A
li $v0, 16
syscall
la $a0, IMAGE_B
li $v0, 16
syscall
jr $ra
nop
############################################################################################################
MEAN_FILTER:
addi $sp, $sp, -20
sw $s0, 0($sp) # Guarda na primeira posição da pilha o $s0
sw $s1, 4($sp) # Guarda na segunda posição da pilha o $s1
sw $s2, 8($sp) # Guarda na terceira posição da pilha o $s2
sw $s3, 12($sp) # Guarda na quarta posição da pilha o $s3
sw $s4, 16($sp) # Guarda na quinta posição da pilha o $s4
la $s0, BUFFER_A # Guarda o primeiro endereço do Buffer A
la $s1, BUFFER_B # Guarda o primeiro endereço do Buffer B
li $s2, 512 # Define $s2 = 512 (sizeLinha)
li $s3, 0 # Define $s3 = 0 (i)
li $s4, 9 # Define $s4 = 9
FOR:
bgt $s3, $a2, ENDFOR # Acaba de percorrer o Buffer quando i > size
nop
move $t0, $s3 # Guarda o valor de i no registo $t0
addi $t1, $t0, 1 # i+1
addi $t2, $t0, -1 # i-1
add $t3, $t0, $s2 # i+sizeLinha
addi $t4, $t3, 1 # i+sizeLinha+1
addi $t5, $t3, -1 # i+sizeLinha-1
sub $t6, $t0, $s2 # i-sizeLinha
addi $t7, $t6, 1 # i-sizeLinha+1
addi $t8, $t6, -1 # i-sizeLinha-1
add $t0, $t0, $s0 # Desloca o BUFFER_A i posições
lbu $t0, 0($t0) # Guarda o valor que está no endereço $t0 no registo $t0
add $t1, $t1, $s0 # Desloca o BUFFER_A i posições
lbu $t1, 0($t1) # Guarda o valor que está no endereço $t1 no registo $t1
add $t2, $t2, $s0 # Desloca o BUFFER_A i posições
lbu $t2, 0($t2) # Guarda o valor que está no endereço $t2 no registo $t2
add $t3, $t3, $s0 # Desloca o BUFFER_A i posições
lbu $t3, 0($t3) # Guarda o valor que está no endereço $t3 no registo $t3
add $t4, $t4, $s0 # Desloca o BUFFER_A i posições
lbu $t4, 0($t4) # Guarda o valor que está no endereço $t4 no registo $t4
add $t5, $t5, $s0 # Desloca o BUFFER_A i posições
lbu $t5, 0($t5) # Guarda o valor que está no endereço $t5 no registo $t5
add $t6, $t6, $s0 # Desloca o BUFFER_A i posições
lbu $t6, 0($t6) # Guarda o valor que está no endereço $t6 no registo $t6
add $t7, $t7, $s0 # Desloca o BUFFER_A i posições
lbu $t7, 0($t7) # Guarda o valor que está no endereço $t7 no registo $t7
add $t8, $t8, $s0 # Desloca o BUFFER_A i posições
lbu $t8, 0($t8) # Guarda o valor que está no endereço $t8 no registo $t8
add $t0, $t0, $t1 # Soma = $t0 + $t1
add $t0, $t0, $t2 # Soma = Soma + $t2
add $t0, $t0, $t3 # Soma = Soma + $t3
add $t0, $t0, $t4 # Soma = Soma + $t4
add $t0, $t0, $t5 # Soma = Soma + $t5
add $t0, $t0, $t6 # Soma = Soma + $t6
add $t0, $t0, $t7 # Soma = Soma + $t7
add $t0, $t0, $t8 # Soma = Soma + $t8
div $t0, $s4 # Mean = Soma / 9
mflo $t0 # Guarda o Mean no $t0
add $t1, $s3, $s1
sb $t0, 0($t1)
addi $s3, $s3, 1
j FOR
nop
ENDFOR:
lw $s0, 0($sp) # Remove do $sp o valor $s0
lw $s1, 4($sp) # Remove do $sp o valor $s1
lw $s2, 8($sp) # Remove do $sp o valor $s2
lw $s3, 12($sp) # Remove do $sp o valor $s3
lw $s4, 16($sp) # Remove do $sp o valor $s4
addi $sp, $sp, 20 # Remove todo o espaço alocado no $sp
jr $ra
nop
############################################################################################################
# Mediana #
############################################################################################################
MEDIAN_FILTER:
addi $sp, $sp, -20
sw $s0, 0($sp) # Guarda na primeira posição da pilha o $s0
sw $s1, 4($sp) # Guarda na segunda posição da pilha o $s1
sw $s2, 8($sp) # Guarda na terceira posição da pilha o $s2
sw $s3, 12($sp) # Guarda na quarta posição da pilha o $s3
sw $s4, 16($sp) # Guarda na quinta posição da pilha o $s4
la $s0, BUFFER_A # Guarda o primeiro endereço do Buffer A
la $s1, BUFFER_B # Guarda o primeiro endereço do Buffer B
la $s2, BUFFER_C # Guarda o primeiro endereço do Buffer B
li $s3, 512 # Define $s2 = 512 (sizeLinha)
li $s4, 0 # Define $s4 = 0 (i)
FOR_MEDIAN:
bgt $s4, $a2, END_MEDIAN # Acaba de percorrer o Buffer quando i > size
nop
move $t0, $s4 # Guarda o valor de i no registo $t0
addi $t1, $t0, 1 # i+1
addi $t2, $t0, -1 # i-1
add $t3, $t0, $s3 # i + sizeLinha
addi $t4, $t3, 1 # i + sizeLinha + 1
addi $t5, $t3, -1 # i + sizeLinha -1
sub $t6, $t0, $s3 # i - sizeLinha
addi $t7, $t6, 1 # i - sizeLinha + 1
addi $t8, $t6, -1 # i - sizeLinha - 1
add $t0, $t0, $s0 # Desloca o BUFFER_A i posições
lbu $t0, 0($t0) # Guarda o valor que está no endereço $t0 no registo $t0
add $t1, $t1, $s0 # Desloca o BUFFER_A i posições
lbu $t1, 0($t1) # Guarda o valor que está no endereço $t1 no registo $t1
add $t2, $t2, $s0 # Desloca o BUFFER_A i posições
lbu $t2, 0($t2) # Guarda o valor que está no endereço $t2 no registo $t2
add $t3, $t3, $s0 # Desloca o BUFFER_A i posições
lbu $t3, 0($t3) # Guarda o valor que está no endereço $t3 no registo $t3
add $t4, $t4, $s0 # Desloca o BUFFER_A i posições
lbu $t4, 0($t4) # Guarda o valor que está no endereço $t4 no registo $t4
add $t5, $t5, $s0 # Desloca o BUFFER_A i posições
lbu $t5, 0($t5) # Guarda o valor que está no endereço $t5 no registo $t5
add $t6, $t6, $s0 # Desloca o BUFFER_A i posições
lbu $t6, 0($t6) # Guarda o valor que está no endereço $t6 no registo $t6
add $t7, $t7, $s0 # Desloca o BUFFER_A i posições
lbu $t7, 0($t7) # Guarda o valor que está no endereço $t7 no registo $t7
add $t8, $t8, $s0 # Desloca o BUFFER_A i posições
lbu $t8, 0($t8) # Guarda o valor que está no endereço $t8 no registo $t8
sb $t8, 0($s2) # Guarda o valor da 1ªL, 1ªP do BUFFER_C
sb $t6, 1($s2) # Guarda o valor da 1ªL, 2ªP do BUFFER_C
sb $t7, 2($s2) # Guarda o valor da 1ªL, 3ªP do BUFFER_C
sb $t2, 3($s2) # Guarda o valor da 2ªL, 1ªP do BUFFER_C
sb $t0, 4($s2) # Guarda o valor da 2ªL, 2ªP do BUFFER_C
sb $t1, 5($s2) # Guarda o valor da 2ªL, 3ªP do BUFFER_C
sb $t5, 6($s2) # Guarda o valor da 3ªL, 1ªP do BUFFER_C
sb $t3, 7($s2) # Guarda o valor da 3ªL, 2ªP do BUFFER_C
sb $t4, 8($s2) # Guarda o valor da 3ªL, 3ªP do BUFFER_C
#############################
# Comparações #
#############################
COMPARE_0:
#Comparar o valor do registo $t8 com os outros registos
bgt $t8, $t6, TRADE8_1
nop
bgt $t8, $t7, TRADE8_2
nop
bgt $t8, $t2, TRADE8_3
nop
bgt $t8, $t0, TRADE8_4
nop
bgt $t8, $t1, TRADE8_5
nop
bgt $t8, $t5, TRADE8_6
nop
bgt $t8, $t3, TRADE8_7
nop
bgt $t8, $t4, TRADE8_8
nop
COMPARE_1:
#Comparar o registo $t6 com os outros registos
bgt $t6, $t7, TRADE6_1
nop
bgt $t6, $t2, TRADE6_2
nop
bgt $t6, $t0, TRADE6_3
nop
bgt $t6, $t1, TRADE6_4
nop
bgt $t6, $t5, TRADE6_5
nop
bgt $t6, $t3, TRADE6_6
nop
bgt $t6, $t4, TRADE6_7
nop
COMPARE_2:
#Comparar o registo $t7 com os outros registos
bgt $t7, $t2, TRADE7_1
nop
bgt $t7, $t0, TRADE7_2
nop
bgt $t7, $t1, TRADE7_3
nop
bgt $t7, $t5, TRADE7_4
nop
bgt $t7, $t3, TRADE7_5
nop
bgt $t7, $t4, TRADE7_6
nop
COMPARE_3:
#Comparar o registo $t2 com os outros registos
bgt $t2, $t0, TRADE2_1
nop
bgt $t2, $t1, TRADE2_2
nop
bgt $t2, $t5, TRADE2_3
nop
bgt $t2, $t3, TRADE2_4
nop
bgt $t2, $t4, TRADE2_5
nop
COMPARE_4:
#Comparar o registo $t0 com os outros registos
bgt $t0, $t1, TRADE0_1
nop
bgt $t0, $t5, TRADE0_2
nop
bgt $t0, $t3, TRADE0_3
nop
bgt $t0, $t4, TRADE0_4
nop
COMPARE_5:
#Comparar o registos $t1 com os outros registos
bgt $t1, $t5, TRADE1_1
nop
bgt $t1, $t3, TRADE1_2
nop
bgt $t1, $t4, TRADE1_3
nop
COMPARE_6:
#Comparar o registo $t5 com os outros registos
bgt $t5, $t3, TRADE5_1
nop
bgt $t5, $t4, TRADE5_2
nop
COMPARE_7:
#Comparar o registo $t3 com os outros registos
bgt $t3, $t4, TRADE3_1
nop
j ENDFOR_MEDIAN
nop
#############################
# Trocas (Comparações) #
#############################
TRADE8_1:
xor $t8, $t8, $t6
xor $t6, $t6, $t8
xor $t8, $t8, $t6
sb $t8, 1($s2)
sb $t6, 0($s2)
j COMPARE_0
nop
TRADE8_2:
xor $t8, $t8, $t7
xor $t7, $t7, $t8
xor $t8, $t8, $t7
sb $t8, 2($s2)
sb $t7, 0($s2)
j COMPARE_0
nop
TRADE8_3:
xor $t8, $t8, $t2
xor $t2, $t2, $t8
xor $t8, $t8, $t2
sb $t8, 3($s2)
sb $t2, 0($s2)
j COMPARE_0
nop
TRADE8_4:
xor $t8, $t8, $t0
xor $t0, $t0, $t8
xor $t8, $t8, $t0
sb $t8, 4($s2)
sb $t0, 0($s2)
j COMPARE_0
nop
TRADE8_5:
xor $t8, $t8, $t1
xor $t1, $t1, $t8
xor $t8, $t8, $t1
sb $t8, 5($s2)
sb $t1, 0($s2)
j COMPARE_0
nop
TRADE8_6:
xor $t8, $t8, $t5
xor $t5, $t5, $t8
xor $t8, $t8, $t5
sb $t8, 6($s2)
sb $t5, 0($s2)
j COMPARE_0
nop
TRADE8_7:
xor $t8, $t8, $t3
xor $t3, $t3, $t8
xor $t8, $t8, $t3
sb $t8, 7($s2)
sb $t3, 0($s2)
j COMPARE_0
nop
TRADE8_8:
xor $t8, $t8, $t4
xor $t4, $t4, $t8
xor $t8, $t8, $t4
sb $t8, 8($s2)
sb $t4, 0($s2)
j COMPARE_0
nop
#############################
TRADE6_1:
xor $t6, $t6, $t7
xor $t7, $t7, $t6
xor $t6, $t6, $t7
sb $t6, 2($s2)
sb $t7, 1($s2)
j COMPARE_1
nop
TRADE6_2:
xor $t6, $t6, $t2
xor $t2, $t2, $t6
xor $t6, $t6, $t2
sb $t6, 3($s2)
sb $t2, 1($s2)
j COMPARE_1
nop
TRADE6_3:
xor $t6, $t6, $t0
xor $t0, $t0, $t6
xor $t6, $t6, $t0
sb $t6, 4($s2)
sb $t0, 1($s2)
j COMPARE_1
nop
TRADE6_4:
xor $t6, $t6, $t1
xor $t1, $t1, $t6
xor $t6, $t6, $t1
sb $t6, 5($s2)
sb $t1, 1($s2)
j COMPARE_1
nop
TRADE6_5:
xor $t6, $t6, $t5
xor $t5, $t5, $t6
xor $t6, $t6, $t5
sb $t6, 6($s2)
sb $t5, 1($s2)
j COMPARE_1
nop
TRADE6_6:
xor $t6, $t6, $t3
xor $t3, $t3, $t6
xor $t6, $t6, $t3
sb $t6, 7($s2)
sb $t3, 1($s2)
j COMPARE_1
nop
TRADE6_7:
xor $t6, $t6, $t4
xor $t4, $t4, $t6
xor $t6, $t6, $t4
sb $t7, 8($s2)
sb $t4, 1($s2)
j COMPARE_1
nop
#############################
TRADE7_1:
xor $t7, $t7, $t2
xor $t2, $t2, $t7
xor $t7, $t7, $t2
sb $t7, 3($s2)
sb $t2, 2($s2)
j COMPARE_2
nop
TRADE7_2:
xor $t7, $t7, $t0
xor $t0, $t0, $t7
xor $t7, $t7, $t0
sb $t7, 4($s2)
sb $t0, 2($s2)
j COMPARE_2
nop
TRADE7_3:
xor $t7, $t7, $t1
xor $t1, $t1, $t7
xor $t7, $t7, $t1
sb $t7, 5($s2)
sb $t1, 2($s2)
j COMPARE_2
nop
TRADE7_4:
xor $t7, $t7, $t5
xor $t5, $t5, $t7
xor $t7, $t7, $t5
sb $t7, 6($s2)
sb $t5, 2($s2)
j COMPARE_2
nop
TRADE7_5:
xor $t7, $t7, $t3
xor $t3, $t3, $t7
xor $t7, $t7, $t3
sb $t7, 7($s2)
sb $t3, 2($s2)
j COMPARE_2
nop
TRADE7_6:
xor $t7, $t7, $t4
xor $t4, $t4, $t7
xor $t7, $t7, $t4
sb $t7, 8($s2)
sb $t4, 2($s2)
j COMPARE_2
nop
#############################
TRADE2_1:
xor $t2, $t2, $t0
xor $t0, $t0, $t2
xor $t2, $t2, $t0
sb $t2, 4($s2)
sb $t0, 3($s2)
j COMPARE_3
nop
TRADE2_2:
xor $t2, $t2, $t1
xor $t1, $t1, $t2
xor $t2, $t2, $t1
sb $t2, 5($s2)
sb $t1, 3($s2)
j COMPARE_3
nop
TRADE2_3:
xor $t2, $t2, $t5
xor $t5, $t5, $t2
xor $t2, $t2, $t5
sb $t2, 6($s2)
sb $t5, 3($s2)
j COMPARE_3
nop
TRADE2_4:
xor $t2, $t2, $t3
xor $t3, $t3, $t2
xor $t2, $t2, $t3
sb $t2, 7($s2)
sb $t3, 3($s2)
j COMPARE_3
nop
TRADE2_5:
xor $t2, $t2, $t4
xor $t4, $t4, $t2
xor $t2, $t2, $t4
sb $t2, 8($s2)
sb $t4, 3($s2)
j COMPARE_3
nop
#############################
TRADE0_1:
xor $t0, $t0, $t1
xor $t1, $t1, $t0
xor $t0, $t0, $t1
sb $t0, 5($s2)
sb $t1, 4($s2)
j COMPARE_4
nop
TRADE0_2:
xor $t0, $t0, $t5
xor $t5, $t5, $t0
xor $t0, $t0, $t5
sb $t0, 6($s2)
sb $t5, 4($s2)
j COMPARE_4
nop
TRADE0_3:
xor $t0, $t0, $t3
xor $t3, $t3, $t0
xor $t0, $t0, $t3
sb $t0, 7($s2)
sb $t3, 4($s2)
j COMPARE_4
nop
TRADE0_4:
xor $t0, $t0, $t4
xor $t4, $t4, $t0
xor $t0, $t0, $t4
sb $t0, 8($s2)
sb $t4, 4($s2)
j COMPARE_4
nop
#############################
TRADE1_1:
xor $t1, $t1, $t5
xor $t5, $t5, $t1
xor $t1, $t1, $t5
sb $t1, 6($s2)
sb $t5, 5($s2)
j COMPARE_5
nop
TRADE1_2:
xor $t1, $t1, $t3
xor $t3, $t3, $t1
xor $t1, $t1, $t3
sb $t1, 7($s2)
sb $t3, 5($s2)
j COMPARE_5
nop
TRADE1_3:
xor $t1, $t1, $t4
xor $t4, $t4, $t1
xor $t1, $t1, $t4
sb $t1, 8($s2)
sb $t4, 5($s2)
j COMPARE_5
nop
#############################
TRADE5_1:
xor $t5, $t5, $t3
xor $t3, $t3, $t5
xor $t5, $t5, $t3
sb $t5, 7($s2)
sb $t3, 6($s2)
j COMPARE_6
nop
TRADE5_2:
xor $t5, $t5, $t4
xor $t4, $t4, $t5
xor $t5, $t5, $t4
sb $t5, 8($s2)
sb $t4, 6($s2)
j COMPARE_6
nop
#############################
TRADE3_1:
xor $t3, $t3, $t4
xor $t4, $t4, $t3
xor $t3, $t3, $t4
sb $t3, 8($s2)
sb $t4, 7($s2)
j COMPARE_7
nop
#############################
ENDFOR_MEDIAN:
lbu $t0, 4($s2) # Guarda no $t0 o valor do centro do BUFFER_C
add $t1, $s4, $s1 # Soma i posições ao BUFFER_B
sb $t0, 0($t1) # Guarda no endereço do $t1 o valor do registo $t0
addi $s4, $s4, 1 # i++
j FOR_MEDIAN # Salta para o FOR_MEDIAN
nop
END_MEDIAN:
lw $s0, 0($sp) # Remove do $sp o valor $s0
lw $s1, 4($sp) # Remove do $sp o valor $s1
lw $s2, 8($sp) # Remove do $sp o valor $s2
lw $s3, 12($sp) # Remove do $sp o valor $s3
lw $s4, 16($sp) # Remove do $sp o valor $s4
addi $sp, $sp, 20 # Remove todo o espaço alocado no $sp
jr $ra
nop
| 21.796526 | 109 | 0.498577 |
a8856194105f32c9dddfb8ceb6deefb50f6d67a3 | 381 | asm | Assembly | programs/oeis/076/A076556.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/076/A076556.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/076/A076556.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A076556: Greatest prime divisor of n-th prime + n.
; 3,5,2,11,2,19,3,3,2,13,7,7,3,19,31,23,19,79,43,13,47,101,53,113,61,127,13,5,23,13,79,163,17,173,23,17,97,67,103,71,11,223,13,79,11,7,43,271,23,31,71,97,7,61,13,29,163,47,7,31,43,71,37,5,7,383,199,5,13,419
mov $2,$0
seq $0,40 ; The prime numbers.
add $0,$2
seq $0,6530 ; Gpf(n): greatest prime dividing n, for n >= 2; a(1)=1.
| 47.625 | 206 | 0.645669 |
53933de3d3787c202f925bac29d146e942ea8ec9 | 8,698 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_540.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_540.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_540.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x18cb1, %r8
nop
nop
nop
xor %r13, %r13
mov $0x6162636465666768, %rdi
movq %rdi, %xmm0
movups %xmm0, (%r8)
nop
nop
sub %r10, %r10
lea addresses_A_ht+0x9099, %rbx
nop
nop
nop
nop
inc %rsi
mov (%rbx), %di
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_normal_ht+0x12971, %rsi
clflush (%rsi)
nop
cmp %r11, %r11
vmovups (%rsi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $1, %xmm3, %r13
nop
nop
nop
nop
nop
cmp $28866, %rbx
lea addresses_WC_ht+0x11379, %rsi
lea addresses_WC_ht+0x1a351, %rdi
nop
nop
nop
nop
and $45342, %r13
mov $59, %rcx
rep movsq
nop
nop
nop
and $26228, %r13
lea addresses_A_ht+0x46f9, %rsi
lea addresses_D_ht+0x6d71, %rdi
nop
add $46879, %r8
mov $41, %rcx
rep movsb
nop
nop
nop
nop
sub $13802, %r13
lea addresses_A_ht+0x1691, %r8
nop
nop
xor $30769, %r11
and $0xffffffffffffffc0, %r8
movaps (%r8), %xmm6
vpextrq $1, %xmm6, %r10
nop
nop
nop
nop
nop
cmp %r11, %r11
lea addresses_WT_ht+0x1aab1, %rsi
lea addresses_WT_ht+0xa701, %rdi
and $12817, %rbx
mov $68, %rcx
rep movsq
inc %rbx
lea addresses_UC_ht+0x1a7f1, %rsi
nop
nop
nop
nop
nop
add %r13, %r13
and $0xffffffffffffffc0, %rsi
vmovntdqa (%rsi), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %rbx
nop
nop
nop
and %rsi, %rsi
lea addresses_A_ht+0x1c531, %rcx
clflush (%rcx)
nop
nop
nop
and $43582, %rbx
mov (%rcx), %r11d
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_D_ht+0x193c1, %r8
nop
nop
and $39445, %r11
movw $0x6162, (%r8)
nop
nop
nop
xor $58726, %rsi
lea addresses_WC_ht+0x8ef1, %rsi
lea addresses_A_ht+0x1768e, %rdi
nop
nop
nop
nop
nop
cmp %r10, %r10
mov $35, %rcx
rep movsq
nop
nop
sub $19541, %r8
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r13
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15
push %rax
push %rbx
push %rcx
push %rdx
push %rsi
// Store
lea addresses_A+0xb901, %rbx
nop
nop
nop
nop
nop
and $46318, %rcx
mov $0x5152535455565758, %r10
movq %r10, (%rbx)
nop
nop
nop
nop
add %r15, %r15
// Store
mov $0xd71, %rsi
nop
nop
dec %rdx
mov $0x5152535455565758, %rbx
movq %rbx, (%rsi)
cmp $16064, %rcx
// Store
lea addresses_RW+0x6971, %rbx
nop
add $31185, %rax
mov $0x5152535455565758, %r15
movq %r15, %xmm1
vmovups %ymm1, (%rbx)
xor %r15, %r15
// Store
lea addresses_WT+0x1ace5, %rbx
and %rax, %rax
movw $0x5152, (%rbx)
nop
nop
nop
sub $53110, %r10
// Store
lea addresses_PSE+0x19471, %r15
nop
nop
nop
and $20827, %r10
movb $0x51, (%r15)
nop
nop
nop
and %rdx, %rdx
// Store
lea addresses_UC+0x1c201, %rax
nop
nop
nop
sub $37261, %rbx
movb $0x51, (%rax)
nop
nop
nop
cmp $7782, %r10
// Store
lea addresses_WC+0x14971, %r10
nop
nop
nop
nop
xor %rdx, %rdx
mov $0x5152535455565758, %rcx
movq %rcx, %xmm2
movups %xmm2, (%r10)
nop
nop
nop
xor %rbx, %rbx
// Faulty Load
lea addresses_RW+0x6971, %rdx
nop
nop
inc %r10
mov (%rdx), %ebx
lea oracles, %r10
and $0xff, %rbx
shlq $12, %rbx
mov (%r10,%rbx,1), %rbx
pop %rsi
pop %rdx
pop %rcx
pop %rbx
pop %rax
pop %r15
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_RW', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_P', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'same': True, 'type': 'addresses_RW', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_PSE', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 10}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_RW', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 6}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3}}
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WC_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 5}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': True, 'AVXalign': False, 'size': 32, 'congruent': 7}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 3}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 30.096886 | 2,999 | 0.653713 |
11042aa19b5292e64a85604656c8b1a3f3ca7068 | 469 | asm | Assembly | GCD/gcd.asm | AbderrhmanAbdellatif/SysPro | fa6ee66a63a62043c5d114bf80efec397fb1a13c | [
"MIT"
] | null | null | null | GCD/gcd.asm | AbderrhmanAbdellatif/SysPro | fa6ee66a63a62043c5d114bf80efec397fb1a13c | [
"MIT"
] | null | null | null | GCD/gcd.asm | AbderrhmanAbdellatif/SysPro | fa6ee66a63a62043c5d114bf80efec397fb1a13c | [
"MIT"
] | null | null | null | segment .text
global gcd
;int gcd(int n1,int n2)
gcd:
push ebp
mov ebp,esp
sub esp,4
mov edx,[ebp+12]; n2
mov ecx,[ebp+8] ; n1
while_:
cmp ecx,edx
jne ending
cmp ecx,edx
jl n2
sub ecx,edx
mov ecx,ecx
n2:
sub edx,ecx ; n2-n1
mov edx ,edx ; n2=n2
jmp while_
mov eax,ecx
ending:
mov esp,ebp
sub ebp,4
pop ebp
ret
| 13.4 | 32 | 0.466951 |
baeb1bfea88e6e802d2fcd5307c57f30680d16bd | 5,734 | asm | Assembly | lib/Runtime/Language/arm64/arm64_CallEhFrame.asm | rekhadpr/demoazure1 | 394d777e507b171876734d871d50e47254636b9d | [
"MIT"
] | 1 | 2021-11-07T18:56:21.000Z | 2021-11-07T18:56:21.000Z | lib/Runtime/Language/arm64/arm64_CallEhFrame.asm | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | null | null | null | lib/Runtime/Language/arm64/arm64_CallEhFrame.asm | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | 1 | 2021-09-04T23:26:57.000Z | 2021-09-04T23:26:57.000Z | ;-------------------------------------------------------------------------------------------------------
; Copyright (C) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
;-------------------------------------------------------------------------------------------------------
;
; arm64_CallEhFrame() and arm64_CallCatch() both thunk into jitted code at the
; start of an EH region. The purpose is to restore the frame pointer (fp)
; and locals pointer (x28) to the appropriate values for executing the parent
; function and to create a local frame that can be unwound using the parent
; function's pdata. The parent's frame looks like this:
;
;-------------------
; {x0-x7} -- homed parameters
; lr -- address from which parent was called
; fp -- saved frame pointer, pointed to by current fp
; arg obj
; {x19-x28} -- non-volatile registers: all of them are saved
; {q8-q15} -- non-volatile double registers: all of them are saved
; locals area -- pointed to by x28
; pointer to non-volatile register area above
; stack args
;-------------------
;
; The reason for the "pointer to non-volatile register area" is to allow the
; unwinder to deallocate the locals area regardless of its size. So this thunk can skip
; the allocation of the locals area altogether, and unwinding still works.
; The unwind pseudo-codes for the above prolog look like:
;
; 1. Deallocate stack args (sp now points to "pointer to non-volatile register area")
; 2. Restore rN (rN now points to first saved register)
; 3. Copy rN to sp (sp now points to first saved register)
; 4. Restore {q8-q15} (non-volatile double registers restored)
; 5. Restore {x19-x28} (non-volatile registers restored, sp points to saved r11)
; 6. Restore fp
; 7. Load lr into pc and deallocate remaining stack.
;
; The prologs for the assembly thunks allocate a frame that can be unwound by executing
; the above steps, although we don't allocate a locals area and don't know the size of the
; stack args. The caller doesn't return to this thunk; it executes its own epilog and
; returns to the caller of the thunk (one of the runtime try helpers).
; Windows version
OPT 2 ; disable listing
#include "ksarm64.h"
OPT 1 ; re-enable listing
TTL Lib\Common\arm\arm64_CallEhFrame.asm
IMPORT __chkstk
EXPORT arm64_CallEhFrame
TEXTAREA
NESTED_ENTRY arm64_CallEhFrame
; Params:
; x0 -- thunk target
; x1 -- frame pointer
; x2 -- locals pointer
; x3 -- size of stack args area
; Home params and save registers
PROLOG_SAVE_REG_PAIR fp, lr, #-80!
PROLOG_NOP stp x0, x1, [sp, #16]
PROLOG_NOP stp x2, x3, [sp, #32]
PROLOG_NOP stp x4, x5, [sp, #48]
PROLOG_NOP stp x6, x7, [sp, #64]
PROLOG_STACK_ALLOC (10*8 + 8*16 + 32)
PROLOG_NOP stp q8, q9, [sp, #(16 + 0*16)]
PROLOG_NOP stp q10, q11, [sp, #(16 + 2*16)]
PROLOG_NOP stp q12, q13, [sp, #(16 + 4*16)]
PROLOG_NOP stp q14, q15, [sp, #(16 + 6*16)]
PROLOG_SAVE_REG_PAIR x19, x20, #(16 + 8*16 + 0*8)
PROLOG_SAVE_REG_PAIR x21, x22, #(16 + 8*16 + 2*8)
PROLOG_SAVE_REG_PAIR x23, x24, #(16 + 8*16 + 4*8)
PROLOG_SAVE_REG_PAIR x25, x26, #(16 + 8*16 + 6*8)
PROLOG_SAVE_REG_PAIR x27, x28, #(16 + 8*16 + 8*8)
; Save a pointer to the saved registers
mov x16, sp
str x16, [sp, #0]
; Set up the frame pointer and locals pointer
mov x28, x2
mov fp, x1
; Allocate the arg out area, calling chkstk if necessary
cmp x3,#4095
bgt chkstk_call
sub sp,sp,x3
; Thunk to the jitted code (and don't return)
br x0
|chkstk_call|
; Call chkstk, passing a size/16 count in x15
lsr x15,x3,#4
bl |__chkstk|
sub sp,sp,x15,lsl #4
; Thunk to the jitted code (and don't return)
br x0
NESTED_END arm64_CallEhFrame
; arm64_CallCatch() is similar to arm64_CallEhFrame() except that we also pass the catch object to the jitted code
EXPORT arm64_CallCatch
TEXTAREA
NESTED_ENTRY arm64_CallCatch
; Params:
; x0 -- thunk target
; x1 -- frame pointer
; x2 -- locals pointer
; x3 -- size of stack args area
; x4 -- exception object
; Home params and save registers
PROLOG_SAVE_REG_PAIR fp, lr, #-80!
PROLOG_NOP stp x0, x1, [sp, #16]
PROLOG_NOP stp x2, x3, [sp, #32]
PROLOG_NOP stp x4, x5, [sp, #48]
PROLOG_NOP stp x6, x7, [sp, #64]
PROLOG_STACK_ALLOC (10*8 + 8*16 + 32)
PROLOG_NOP stp q8, q9, [sp, #(16 + 0*16)]
PROLOG_NOP stp q10, q11, [sp, #(16 + 2*16)]
PROLOG_NOP stp q12, q13, [sp, #(16 + 4*16)]
PROLOG_NOP stp q14, q15, [sp, #(16 + 6*16)]
PROLOG_SAVE_REG_PAIR x19, x20, #(16 + 8*16 + 0*8)
PROLOG_SAVE_REG_PAIR x21, x22, #(16 + 8*16 + 2*8)
PROLOG_SAVE_REG_PAIR x23, x24, #(16 + 8*16 + 4*8)
PROLOG_SAVE_REG_PAIR x25, x26, #(16 + 8*16 + 6*8)
PROLOG_SAVE_REG_PAIR x27, x28, #(16 + 8*16 + 8*8)
; Save a pointer to the saved registers
mov x16, sp
str x16, [sp, #0]
; Set up the frame pointer and locals pointer
mov x28, x2
mov fp, x1
; Allocate the arg out area, calling chkstk if necessary
cmp x3,#4095
mov x1, x4
bgt chkstk_call
sub sp,sp,x3
; Thunk to the jitted code (and don't return)
br x0
|chkstk_call_catch|
; Call chkstk, passing a size/16 count in x15
lsr x15,x3,#4
bl |__chkstk|
sub sp,sp,x15,lsl #4
; Thunk to the jitted code (and don't return)
br x0
NESTED_END arm64_CallCatch
END
| 33.729412 | 118 | 0.613533 |
6bf397c28449c2fe63c8d1058287ee94b199122c | 62 | a51 | Assembly | a51test/(16)DCE_@Ri.a51 | Aimini/51cpu | cdeb75510d1dcd867fbebe10e963c4dbecd5ff13 | [
"MIT"
] | null | null | null | a51test/(16)DCE_@Ri.a51 | Aimini/51cpu | cdeb75510d1dcd867fbebe10e963c4dbecd5ff13 | [
"MIT"
] | null | null | null | a51test/(16)DCE_@Ri.a51 | Aimini/51cpu | cdeb75510d1dcd867fbebe10e963c4dbecd5ff13 | [
"MIT"
] | null | null | null | MOV 0, #0xF0
MOV 1, #0x80
START:
DEC @R0
DEC @R1
SJMP START | 10.333333 | 12 | 0.645161 |
a897b667338623314ef6732599b2cc18dd39db77 | 186 | asm | Assembly | libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshc_cls.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshc_cls.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshc_cls.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; void tshc_cls(uchar attr)
SECTION code_clib
SECTION code_arch
PUBLIC _tshc_cls
EXTERN asm_tshc_cls
_tshc_cls:
pop af
pop hl
push hl
push af
jp asm_tshc_cls
| 9.789474 | 27 | 0.704301 |
bafff134f770640c6f59fa64a08e0ed832ad07d2 | 26 | asm | Assembly | src/test/resources/data/searchtests/test1b-expected.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 36 | 2020-06-29T06:52:26.000Z | 2022-02-10T19:41:58.000Z | src/test/resources/data/searchtests/test1b-expected.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 39 | 2020-07-02T18:19:34.000Z | 2022-03-27T18:08:54.000Z | src/test/resources/data/searchtests/test1b-expected.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 7 | 2020-07-02T06:00:05.000Z | 2021-11-28T17:31:13.000Z | ld bc, 4
ld hl, 2
| 8.666667 | 12 | 0.384615 |
ad2443e5d4d6e95be78e5e0cb34217e240666835 | 929 | asm | Assembly | oeis/267/A267246.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/267/A267246.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/267/A267246.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A267246: Binary representation of the n-th iteration of the "Rule 165" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Jon Maiga
; 1,10,1110,101010,11111110,1011111010,111011101110,10101010101010,1111111111111110,101111111111111010,11101111111111101110,1010101111111110101010,111111101111111011111110,10111110101111101011111010,1110111011101110111011101110,101010101010101010101010101010,11111111111111111111111111111110,1011111111111111111111111111111010,111011111111111111111111111111101110,10101011111111111111111111111110101010,1111111011111111111111111111111011111110,101111101011111111111111111111101011111010
seq $0,267247 ; Decimal representation of the n-th iteration of the "Rule 165" elementary cellular automaton starting with a single ON (black) cell.
seq $0,7088 ; The binary numbers (or binary words, or binary vectors, or binary expansion of n): numbers written in base 2.
| 132.714286 | 486 | 0.866523 |
c1ed1347686af88340be797fe879b93909f0c521 | 2,647 | asm | Assembly | programs/oeis/032/A032794.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/032/A032794.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/032/A032794.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A032794: Positive integers of the form n(n+1)(n+2)(n+3)(n+4)/(n+(n+1)+(n+2)+(n+3)+(n+4)) that are a multiple of n.
; 8,36,224,756,1232,2808,5544,7488,12852,20672,25704,38456,55440,65780,90720,122148,140616,183744,236096,266112,334628,415584,461168,563472,681912,747684,893376,1059380,1150560,1350440,1575288,1697696,1963764,2259936,2419992,2765448,3146624,3351348,3790592,4271652,4528664,5077296,5674320,5991840,6666660,7396928,7783776,8602784,9484776,9950372,10932768,11986164,12540528,13706712,14952392,15606144,16977716,18437760,19202120,20801880,22499568,23386356,25238304,27198116,28219752,30349088,32596704,33766208,36199332,38761632,40092624,42857136,45762200,47268900,50393600,53670708,55367936,58882824,62562456,64465632,68401908,72515744,74640888,79030952,83611872,85975604,90853056,95935140,98554680,103954320,109572848,112466016,118423844,124615296,127800512,134353728,141155784,144652068,151839072,159290612,163117584,170977976,179119080,183296960,191871540,200743488,205293096,214623864,224269136,229211892,239342048,249804324,255162248,266136192,277460352,283256064,295119396,307351520,313608240,326407760,339595128,346336676,360120384,374311476,381562272,396379368,411623864,419408928,435309812,451658592,460003544,477039816,494544960,503476020,521700480,540415268,549959256,569425904,589404816,599589152,620353188,641651904,652504608,674622432,697297832,708847524,732376736,756486900,768762800,793762200,819366408,832398336,858927924,886086656,899905032,928026008,956800944,971436788,1001211552,1031665572,1047150504,1078642656,1110839840,1127206080,1160480420,1194486048,1211766416,1246888944,1282769496,1300997412,1338035328,1375858484,1395067968,1434089672,1473924312,1494149984,1535225076,1577141280,1598418360,1641617640,1685686688,1708050996,1753446464,1799740836,1823228792,1870893648,1919487024,1944135648,1994144292,2045111552,2070958464,2123386496,2176803720,2203887140,2258811360,2314755828,2343114576,2400612984,2459163176,2488836672,2548988468,2610224064,2641252328,2704137912,2768139792,2800563444,2866264416,2933114660,2966974920,3035574080,3105355968,3140694656,3212276004,3285074016,3321933552,3396582288,3472482104,3510905508,3588708032,3667796532,3707827424,3788871336,3871236600,3912919200,3997293300,4083024608,4126403736,4214198024,4303385856,4348506932,4439812608,4532548644,4579457688,4674367152,4770744272,4819487904,4918094756,5018207040,5068832480,5171231520,5275174248,5327729316,5434016544,5541886196,5596419312,5706691928,5818586184,5875146368,5989502772,6105520512
mov $1,$0
add $0,1
add $1,$0
mul $1,2
add $1,$0
div $1,3
add $1,2
pow $1,2
sub $1,2
bin $1,2
sub $1,21
div $1,10
mul $1,4
add $1,8
| 147.055556 | 2,397 | 0.863997 |
76bcdd5d0aaaacb6e555a983f508fca61bbc45c2 | 10,283 | asm | Assembly | bahamut/source/menu-saves.asm | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 2 | 2021-08-15T04:10:10.000Z | 2021-08-15T20:14:13.000Z | bahamut/source/menu-saves.asm | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 1 | 2022-02-16T02:46:39.000Z | 2022-02-16T04:30:29.000Z | bahamut/source/menu-saves.asm | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 1 | 2021-12-25T11:34:57.000Z | 2021-12-25T11:34:57.000Z | namespace menu {
seek(codeCursor)
//code used by both game loading and saving
namespace saves {
enqueue pc
seek($ee55bb); jsl hookDMA; jmp $5629 //expand chapter name DMA transfer size
//All Slots
seek($eed577); string.skip() //"Chapter" text
seek($eed5d5); string.skip() //"Time" text
seek($eefa1f); jsl bonusDungeon //"Bonus Dungeon#" integer
seek($eed5a9); string.hook(exPlay) //"Ex-Play" text
seek($eef9fc); string.skip() //"Bonus Dungeon" text
seek($eefa18); lda #$0000 //"Bonus Dungeon" position
//Slot 1
seek($eed280); dw 22, 3 //X,Y cursor position
seek($eed3d2); string.hook(noData) //"No Data" text
seek($eed47e); jsl chapter.slot1 //"Chapter#" integer
seek($eed488); jsl time.slot1; nop #2 //"Time" timestamp
seek($eed3cc); lda #$0086 //"No Data" position
seek($eed476); lda #$0086 //"Chapter#" position
seek($eed482); lda #$0096 //"Time" position
seek($eed46a); lda #$009e //"Ex-Play" position
seek($eed456); lda #$00c6 //"Chapter Name" position
seek($eef8de); lda #$0086 //"Bonus Dungeon Name" position
seek($eed4a0); lda #$2400 //"Chapter Name" tiledata position
seek($eef919); lda #$2400 //"Bonus Dungeon" tiledata position
seek($eed45c); lda #$0140; jsl writeChapterNameTilemap //"Chapter" text
seek($eef8ff); lda #$0140; jsl writeChapterNameTilemap //"Bonus Dungeon" text
//Slot 2
seek($eed284); dw 22,43 //X,Y cursor position
seek($eed3eb); string.hook(noData) //"No Data" text
seek($eed4da); jsl chapter.slot2 //"Chapter#" integer
seek($eed4e4); jsl time.slot2; nop #2 //"Time" timestamp
seek($eed3e5); lda #$01c6 //"No Data" position
seek($eed4d2); lda #$01c6 //"Chapter#" position
seek($eed4de); lda #$01d6 //"Time" position
seek($eed4c6); lda #$01de //"Ex-Play" position
seek($eed4b2); lda #$0206 //"Chapter Name" position
seek($eef935); lda #$01c6 //"Bonus Dungeon Name" position
seek($eed4fc); lda #$2800 //"Chapter Name" tiledata position
seek($eef970); lda #$2800 //"Bonus Dungeon" tiledata position
seek($eed4b8); lda #$0180; jsl writeChapterNameTilemap //"Chapter" text
seek($eef956); lda #$0180; jsl writeChapterNameTilemap //"Bonus Dungeon" text
//Slot 3
seek($eed288); dw 22,83 //X,Y cursor position
seek($eed404); string.hook(noData) //"No Data" text
seek($eed536); jsl chapter.slot3 //"Chapter#" integer
seek($eed540); jsl time.slot3; nop #2 //"Time" timestamp
seek($eed3fe); lda #$0306 //"No Data" position
seek($eed52e); lda #$0306 //"Chapter#" position
seek($eed53a); lda #$0316 //"Time" position
seek($eed522); lda #$031e //"Ex-Play" position
seek($eed50e); lda #$0346 //"Chapter Name" position
seek($eef98c); lda #$0306 //"Bonus Dungeon Name" position
seek($eed558); lda #$2c00 //"Chapter Name" tiledata position
seek($eef9c7); lda #$2c00 //"Bonus Dungeon" tiledata position
seek($eed514); lda #$01c0; jsl writeChapterNameTilemap //"Chapter" text
seek($eef9ad); lda #$01c0; jsl writeChapterNameTilemap //"Bonus Dungeon" text
//Menu
seek($eed29c); string.hook(save) //"Save?" text
seek($eed2bf); string.hook(done) //"Continue playing?" text
seek($eed2e2); string.hook(load) //"Begin sortie?" text
seek($eed300); string.hook(yes) //"Yes" text
seek($eed30f); string.hook(no) //"No" text
seek($eed28f); lda #$0446 //"Save?" position
seek($eed2b2); lda #$0446 //"Continue playing?" position
seek($eed2d5); lda #$0446 //"Begin sortie?" position
seek($eed2fa); lda #$04c8 //"Yes" position
seek($eed309); lda #$0548 //"No" option
seek($eed33a); adc #$008b //Y cursor offset
seek($eed34e); jml clearText; nop //clear text hook
seek($eed362); lda #$0406 //clear offset
seek($eed368); ldx #$0010 //clear width
seek($eed36b); ldy #$0006 //clear height
dequeue pc
//chapterSlot{1-3} and timeSlot{1-3} are intentionally not double-buffered here,
//because the large-font chapter title strings are not double-buffered either.
//if they were double-buffered, they would be updated a frame later than the titles.
//this would make saving progress feel laggier when updating the onscreen text.
allocator.bpp4()
allocator.create( 8,1,chapterSlot1)
allocator.create( 8,1,chapterSlot2)
allocator.create( 8,1,chapterSlot3)
allocator.create(12,3,bonusDungeon)
allocator.create( 8,1,exPlay)
allocator.create(10,1,timeSlot1)
allocator.create(10,1,timeSlot2)
allocator.create(10,1,timeSlot3)
allocator.create( 8,1,noData)
allocator.create(16,1,save)
allocator.create(16,1,done)
allocator.create(16,1,load)
allocator.create( 4,1,yes)
allocator.create( 4,1,no)
if allocator.bank1 > $140 {
error "small tiledata overlaps large tiledata area"
}
function hookDMA {
lda $001a00; tax
lda #$8000; sta $000006,x //$2115 = VRAM write mode
lda $34; sta $000003,x //$2116 = VRAM target address
lda #$0800; sta $000005,x //$4305 = DMA transfer length
lda #$7e00; sta $000001,x //$4302 = DMA source bank
lda #$7800; sta $000000,x //$4300 = DMA source address
txa; add #$0008; sta $001a00 //seek to next entry in the list
rtl
}
//the original game did not clear the large text when exiting menus.
//this would leave the question prompt onscreen without the menu.
//this hook detects when the menu is cancelled and clears the text area manually.
//------
//eed34e bit #$0c00
//eed351 beq $d362
//------
function clearText {
bit #$0c00; beq +; jml $eed353; +
jsl largeText.clearSprites; jml $eed362
}
//originally chapter names were limited to a width of 120 pixels.
//the screen has been rearranged to allow for up to 240 pixels of text.
//the original tilemap writing function only supported the left two RAM segments,
//so it is replaced with this routine that can write all four segments properly.
function writeChapterNameTilemap {
//A => starting tilemap character index
enter; ldb #$7e
ora.w tilemap.attributes
pha; lda.w tilemap.address; tax; pla
//write top-left quadrant
ldy #$0010
-;sta.w tilemap.location,x; inc
inx #2; dey; bne -
//write top-right quadrant
ldy #$0010; add #$0010
-;sta.w tilemap.location,x; inc
inx #2; dey; bne -
//write bottom-left quadrant
ldy #$0010; sub #$0020
-;sta.w tilemap.location,x; inc
inx #2; dey; bne -
//write bottom-right quadrant
ldy #$0010; add #$0010
-;sta.w tilemap.location,x; inc
inx #2; dey; bne -
leave; rtl
}
//A => chapter#
//X => tilemap index
function chapter {
enter
tilemap.setColorPalette(0)
and #$00ff; mul(8); tay
lda #$0008; write.bpp4(lists.chapters.bph4)
leave; rtl
slot1:; enter; pha; allocator.index(chapterSlot1); pla; jsl chapter; leave; rtl
slot2:; enter; pha; allocator.index(chapterSlot2); pla; jsl chapter; leave; rtl
slot3:; enter; pha; allocator.index(chapterSlot3); pla; jsl chapter; leave; rtl
}
//X => tilemap index
//$3065c8 => hour
//$3065c9 => minute
//$3065ca => second
function time {
variable(2, index)
variable(2, hour)
variable(2, minute)
variable(2, second)
enter
tilemap.setColorPalette(0)
phx; lda index; tax
lda $3065c8,x; and #$00ff; sta hour
lda $3065c9,x; and #$00ff; sta minute
lda $3065ca,x; and #$00ff; sta second
ldx #$0000
lda hour; cmp.w #100; jcs digits_3
digits_2:
append.alignSkip(9)
append.literal("Time")
append.alignLeft()
append.alignSkip(32)
lda hour
append.integer02()
append.literal(":")
lda minute
append.integer02()
append.literal(":")
lda second
append.integer02()
jmp render
digits_3:
append.alignSkip(6)
append.literal("Time")
append.alignLeft()
append.alignSkip(29)
lda hour
append.integer_3()
append.literal(":")
lda minute
append.integer02()
append.literal(":")
lda second
append.integer02()
jmp render
render:
lda #$000a; render.small.bpp4(); render.small.bpp4.to.bph4()
lda #$000a; plx; write.bpp4()
leave; rtl
slot1:; enter; lda #$0000; sta index; allocator.index(timeSlot1); jsl time; leave; rtl
slot2:; enter; lda #$05c8; sta index; allocator.index(timeSlot2); jsl time; leave; rtl
slot3:; enter; lda #$0b90; sta index; allocator.index(timeSlot3); jsl time; leave; rtl
}
//A => bonus dungeon# (1-3)
function bonusDungeon {
enter; dec //strings are zero-indexed
tilemap.setColorPalette(0)
mul(12); add.w #strings.bph4.bonusDungeon1; tay
lda #$000c; allocator.index(bonusDungeon); write.bpp4(lists.strings.bph4)
leave; rtl
}
function exPlay {
enter
tilemap.setColorPalette(0)
ldy.w #strings.bph4.exPlay
lda #$0008; allocator.index(exPlay); write.bpp4(lists.strings.bph4)
leave; rtl
}
function noData {
enter
tilemap.setColorPalette(0)
ldy.w #strings.bph4.noData
lda #$0008; allocator.index(noData); write.bpp4(lists.strings.bph4)
leave; rtl
}
function save {
enter
ldy.w #strings.bpp4.overwriteSave
lda #$0010; allocator.index(save); write.bpp4(lists.strings.bpp4)
leave; rtl
}
function done {
enter
ldy.w #strings.bpp4.continuePlaying
lda #$0010; allocator.index(done); write.bpp4(lists.strings.bpp4)
leave; rtl
}
function load {
enter
ldy.w #strings.bpp4.beginSortie
lda #$0010; allocator.index(load); write.bpp4(lists.strings.bpp4)
leave; rtl
}
function yes {
enter
ldy.w #strings.bpp4.yes
lda #$0004; allocator.index(yes); write.bpp4(lists.strings.bpp4)
leave; rtl
}
function no {
enter
ldy.w #strings.bpp4.no
lda #$0004; allocator.index(no); write.bpp4(lists.strings.bpp4)
leave; rtl
}
}
codeCursor = pc()
}
| 33.937294 | 90 | 0.629291 |
76fb4d610dc8a099faeb45d18d9dbd3442f48810 | 753 | asm | Assembly | oeis/006/A006862.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/006/A006862.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/006/A006862.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A006862: Euclid numbers: 1 + product of the first n primes.
; Submitted by Jon Maiga
; 2,3,7,31,211,2311,30031,510511,9699691,223092871,6469693231,200560490131,7420738134811,304250263527211,13082761331670031,614889782588491411,32589158477190044731,1922760350154212639071,117288381359406970983271,7858321551080267055879091,557940830126698960967415391,40729680599249024150621323471,3217644767340672907899084554131,267064515689275851355624017992791,23768741896345550770650537601358311,2305567963945518424753102147331756071,232862364358497360900063316880507363071
mov $1,1
mov $2,1
lpb $0
mov $3,$2
lpb $3
add $2,1
mov $4,$1
gcd $4,$2
cmp $4,1
cmp $4,0
sub $3,$4
lpe
sub $0,1
add $2,1
mul $1,$2
lpe
mov $0,$1
add $0,1
| 32.73913 | 474 | 0.788845 |
fb7aeb22c4c62262bee3d04035b5d0cc287757cf | 2,251 | asm | Assembly | libsrc/_DEVELOPMENT/target/vgl/driver/terminal/vgl_01_output_4000/vgl_01_output_4000_oterm_msg_printc.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/_DEVELOPMENT/target/vgl/driver/terminal/vgl_01_output_4000/vgl_01_output_4000_oterm_msg_printc.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | libsrc/_DEVELOPMENT/target/vgl/driver/terminal/vgl_01_output_4000/vgl_01_output_4000_oterm_msg_printc.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC vgl_01_output_4000_oterm_msg_printc
PUBLIC vgl_01_output_4000_oterm_msg_printc_raw
;PUBLIC vgl_01_output_4000_oterm_msg_printc_cursor
EXTERN vgl_01_output_4000_refresh
vgl_01_output_4000_oterm_msg_printc:
; enter : c = ascii code
; b = parameter (foreground colour, 255 if none specified)
; l = absolute x coordinate
; h = absolute y coordinate
; can use: af, bc, de, hl
; call vgl_01_output_4000_set_cursor_coord
; Show cursor on screen
ld a, l
inc a ;Show NEXT pos
ld (__VGL_4000_DISPLAY_CURSOR_X_ADDRESS), a
ld a, h
ld (__VGL_4000_DISPLAY_CURSOR_Y_ADDRESS), a
ld a, 1 ;0=off, 1=block 2=line
ld (__VGL_4000_DISPLAY_CURSOR_MODE_ADDRESS), a
; Put character to VRAM at 0xdca0 + (Y*COLS) + X
; a := Y*20
ld a, h
add a ; *2
add a ; *4
add a ; *8
add a ; *16
;ld b, 4
;sla b ; *16 (shl 4)
add h ; *17
add h ; *18
add h ; *19
add h ; *20
; Convert to VGL_VRAM_ADDRESS offset 0xdca0 + A + X
add l ; Add X coordinate to A
add __VGL_4000_DISPLAY_VRAM_START & 0x00ff ;0xa0
ld h, __VGL_4000_DISPLAY_VRAM_START >> 8 ;0xdc
ld l, a
ld (hl), c ; Put character to calculated VRAM offset
jp vgl_01_output_4000_refresh
; Version without refresh
vgl_01_output_4000_oterm_msg_printc_raw:
; enter : c = ascii code
; b = parameter (foreground colour, 255 if none specified)
; l = absolute x coordinate
; h = absolute y coordinate
; can use: af, bc, de, hl
push hl
; Put character to VRAM at 0xdca0 + (Y*COLS) + X
; a := Y*20
ld a, h
add a ; *2
add a ; *4
add a ; *8
add a ; *16
;ld b, 4
;sla b ; *16 (shl 4)
add h ; *17
add h ; *18
add h ; *19
add h ; *20
; Convert to VGL_VRAM_ADDRESS offset 0xdca0 + A + X
add l ; Add X coordinate to A
add __VGL_4000_DISPLAY_VRAM_START & 0x00ff ;0xa0
ld h, __VGL_4000_DISPLAY_VRAM_START >> 8 ;0xdc
ld l, a
ld (hl), c ; Put character to calculated VRAM offset
pop hl
ret
| 24.467391 | 73 | 0.614394 |
726940fdf276daba63010d1d5d9bde5564ff7dba | 541 | asm | Assembly | oeis/066/A066949.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/066/A066949.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/066/A066949.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A066949: Take the sum of the previous two terms, subtract n if this sum is greater than n.
; Submitted by Christian Krause
; 0,1,1,2,3,5,2,7,1,8,9,6,3,9,12,6,2,8,10,18,8,5,13,18,7,25,6,4,10,14,24,7,31,5,2,7,9,16,25,2,27,29,14,43,13,11,24,35,11,46,7,2,9,11,20,31,51,25,18,43,1,44,45,26,7,33,40,6,46,52,28,9,37,46,9,55,64,42,28,70,18,7,25,32,57,4,61,65,38,14,52,66,26,92,24,21,45,66,13,79
mov $1,3
mov $2,1
mov $4,1
lpb $0
sub $0,1
sub $1,1
sub $2,1
mod $2,$1
add $1,2
add $2,1
mov $3,$4
mov $4,$2
add $2,$3
lpe
mov $0,$3
| 27.05 | 263 | 0.609982 |
28e02e0a6d2c61f2e5ec3764cd52d427b31b63a5 | 500 | asm | Assembly | oeis/213/A213441.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/213/A213441.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/213/A213441.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A213441: Number of 2-colored graphs on n labeled nodes.
; Submitted by Christian Krause
; 0,4,24,160,1440,18304,330624,8488960,309465600,16011372544,1174870185984,122233833963520,18023122242478080,3765668654914699264,1114515608405262434304,467221312005126294077440,277362415313453291571118080,233150477220213193598856331264,277465561009648882424932436803584,467466753447825987214906927108587520
seq $0,684 ; Number of colored labeled n-node graphs with 2 interchangeable colors.
sub $0,1
mul $0,2
| 62.5 | 306 | 0.862 |
e43206211a4ae7b7ea7745c71dd79ecaeac5e012 | 223 | asm | Assembly | inc_dec/inc_dec.asm | abhishekmishra/learn_asm | 0416deb1e223142c396f29c4cde8bd083e795c1a | [
"Unlicense"
] | null | null | null | inc_dec/inc_dec.asm | abhishekmishra/learn_asm | 0416deb1e223142c396f29c4cde8bd083e795c1a | [
"Unlicense"
] | null | null | null | inc_dec/inc_dec.asm | abhishekmishra/learn_asm | 0416deb1e223142c396f29c4cde8bd083e795c1a | [
"Unlicense"
] | null | null | null | section .data
section .text
global _start
_start:
nop
;Put your experiments between the two nops...
mov eax, 0FFFFFFFFh
mov ebx, 02Dh
dec ebx
inc eax
;Put your experiments between the two nops...
nop
section .bss
| 13.117647 | 45 | 0.735426 |
699c49821ed98cc159610b91c7cbeab1231fea71 | 13,133 | asm | Assembly | engine/playfieldRenderer/preinit.asm | laoo/TimePilot | 88b2548ab23d213677047ca530b68f9523ea7140 | [
"MIT"
] | 24 | 2018-05-17T05:55:38.000Z | 2021-12-30T10:22:45.000Z | engine/playfieldRenderer/preinit.asm | laoo/TimePilot | 88b2548ab23d213677047ca530b68f9523ea7140 | [
"MIT"
] | 1 | 2018-06-27T11:08:01.000Z | 2018-06-27T11:08:01.000Z | engine/playfieldRenderer/preinit.asm | laoo/TimePilot | 88b2548ab23d213677047ca530b68f9523ea7140 | [
"MIT"
] | 3 | 2018-05-19T03:47:19.000Z | 2021-06-01T12:33:32.000Z |
cPixelsPerByte = 4
cPlanesPerObj = 2 ;graphics and mask
egGfxDataPtr .ds 2
egGfxEnemyPtr .ds 2 ;pointer to beginning of enemy data
ebTmpGfxObj equ zeroPageLocal+0 ;object number
ebTmpHeight equ zeroPageLocal+1
ebTmpWidth equ zeroPageLocal+2
ebTmpSize equ zeroPageLocal+3 ;w
ebTmpGfxSrc equ zeroPageLocal+5 ;w
ebTmpGfxStride equ zeroPageLocal+7 ;w
ebTmpFree equ zeroPageLocal+9
.proc prPreinitLvl1
; OLP will use clouds
lda #prPrepareGenericTypes.cloud1
sta OLP.cloudSmall.type
lda #prPrepareGenericTypes.cloud2
sta OLP.cloudMedium.type
lda #prPrepareGenericTypes.cloud3
sta OLP.cloudBig.type
jsr prPreinitShared
jsr prPrepareGfxCloud1
jsr prPrepareGfxCloud2
jsr prPrepareGfxCloud3
ldx #6
jsr prPrepareGfxCommon ; explosion
ldx #7
jsr prPrepareGfxCommon ; parachute
ldx #9
jsr prPrepareGfxCommon ; bomb
jsr resetPlayerMask
jmp clearBufFontsHidden
.endp
.proc prPreinitLvl5
; OLP will use asteroids
lda #prPrepareGenericTypes.asteroid1
sta OLP.cloudSmall.type
lda #prPrepareGenericTypes.asteroid2
sta OLP.cloudMedium.type
lda #prPrepareGenericTypes.asteroid3
sta OLP.cloudBig.type
jsr prPreinitShared
jsr prPrepareGfxAsteroid1
jsr prPrepareGfxAsteroid2
jsr prPrepareGfxAsteroid3
ldx #6
jsr prPrepareGfxCommon ; explosion
ldx #8
jsr prPrepareGfxCommon ; cosmomaut
ldx #10
jsr prPrepareGfxCommon ; bomb lvl 5 (missile)
jsr resetPlayerMask
jmp clearBufFontsHidden
.endp
.proc prPreinitShared
lda #<egGfxData
sta egGfxDataPtr
lda #>egGfxData
sta egGfxDataPtr+1
lda #0
sta egGfxEnemyPtr
sta egGfxEnemyPtr+1
sta prGfxNextOff ;always 0
;fall through12
;jmp prInitializePreparationTables
.endp
;preparation of table for mapping graphics bits to mask
;for each two bits mask is 11 if graphics is 0
.proc prInitializePreparationTables
cnt equ zeroPageLocal
tmp equ zeroPageLocal+1
ldx #0
loop
lda #4
sta cnt
txa
l0
sta tmp
and #3
tay
lda prMaskTempTable,x
lsr
lsr
ora tab,y
sta prMaskTempTable,x
lda tmp
lsr
lsr
dec cnt
bne l0
inx
bne loop
rts
tab .he c0 00 00 00
.end
.proc prPrepareGfxPreamble
ldx ebTmpGfxObj
lda egGfxDataPtr
sta ebGfxScrsL,x
lda egGfxDataPtr+1
sta ebGfxScrsH,x
lda ebTmpHeight
sta ebGfxMaskO,x
asl
sta ebGfxNextO,x
lda egGfxDataPtr
clc
adc ebTmpSize
sta egGfxDataPtr
lda egGfxDataPtr+1
adc ebTmpSize+1
sta egGfxDataPtr+1
rts
.endp
.proc prPrepareGfxCloud1
cWidth = 4
cHeight = 8
lda #prGfxObj.cloud1
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
sta ebTmpGfxStride
lda #0
sta ebTmpGfxStride+1
lda #<dataCloudSmall
sta ebTmpGfxSrc
lda #>dataCloudSmall
sta ebTmpGfxSrc+1
jmp prPrepareGfxConvert
.endp
.proc prPrepareGfxCloud2
cWidth = 8
cHeight = 14
lda #prGfxObj.cloud2
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
sta ebTmpGfxStride
lda #0
sta ebTmpGfxStride+1
lda #<(dataCloudMedium+cWidth) ;skipping one empty line
sta ebTmpGfxSrc
lda #>(dataCloudMedium+cWidth)
sta ebTmpGfxSrc+1
jmp prPrepareGfxConvert
.endp
.proc prPrepareGfxCloud3
cWidth = 12
cHeight = 15
lda #prGfxObj.cloud3
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
sta ebTmpGfxStride
lda #0
sta ebTmpGfxStride+1
lda #<(dataCloudBig+cWidth) ;skipping one empty line
sta ebTmpGfxSrc
lda #>(dataCloudBig+cWidth)
sta ebTmpGfxSrc+1
jmp prPrepareGfxConvert
.endp
; ASTEROIDS
.proc prPrepareGfxAsteroid1
cWidth = 4
cHeight = 15
;cloud1 is 16x8 pixels
;4 bytes horizontally and 8 bytes vertically
lda #prGfxObj.cloud1
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
sta ebTmpGfxStride
lda #0
sta ebTmpGfxStride+1
lda #<dataAsteroidSmall
sta ebTmpGfxSrc
lda #>dataAsteroidSmall
sta ebTmpGfxSrc+1
jmp prPrepareGfxConvert
.endp
.proc prPrepareGfxAsteroid2
cWidth = 8
cHeight = 14
lda #prGfxObj.cloud2
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
sta ebTmpGfxStride
lda #0
sta ebTmpGfxStride+1
lda #<(dataAsteroidMedium+cWidth) ;skipping one empty line
sta ebTmpGfxSrc
lda #>(dataAsteroidMedium+cWidth)
sta ebTmpGfxSrc+1
jmp prPrepareGfxConvert
.endp
.proc prPrepareGfxAsteroid3
cWidth = 12
cHeight = 21
lda #prGfxObj.cloud3
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
sta ebTmpGfxStride
lda #0
sta ebTmpGfxStride+1
lda #<dataAsteroidBig
sta ebTmpGfxSrc
lda #>dataAsteroidBig
sta ebTmpGfxSrc+1
//fall through
; jmp prPrepareGfxConvert
.endp
.proc prPrepareGfxConvert
dstPtrBase equ ebTmpFree
dstPtr equ ebTmpFree+2
cntY equ ebTmpFree+4
cntX equ ebTmpFree+5
tmpl equ ebTmpFree+6
tmp equ ebTmpFree+7
tmpr equ ebTmpFree+8
cnt equ ebTmpFree+9
dstStride equ ebTmpFree+10
srcPtr equ ebTmpFree+11
ldx ebTmpGfxObj
lda ebGfxScrsL,x
sta dstPtrBase
lda ebGfxScrsH,x
sta dstPtrBase+1
lda ebGfxNextO,x
sta dstStride
lda ebTmpHeight
sta cntY
loopy
lda ebTmpWidth
sta cntX
lda ebTmpGfxSrc
sta srcPtr
lda ebTmpGfxSrc+1
sta srcPtr+1
lda dstPtrBase
sta dstPtr
lda dstPtrBase+1
sta dstPtr+1
lda #0
sta tmpr
loopxOuter
lda tmpr
sta tmpl
ldy #0
lda (srcPtr),y
sta tmp
lda #4
sta cnt
loopxInner
lda tmp
ldy #0
sta (dstPtr),y
tax
lda prMaskTempTable,x
ldy ebTmpHeight
sta (dstPtr),y ;mask is by 'height' further than gfx
lda tmpl
lsr
ror tmp
ror tmpr
lsr
ror tmp
ror tmpr
sta tmpl
lda dstPtr
clc
adc dstStride
sta dstPtr
bcc @+
inc dstPtr+1
@ dec cnt
bne loopxInner
inc srcPtr
bne @+
inc srcPtr+1
@ dec cntX
bmi @+
bne loopxOuter
lda tmpr
sta tmpl
lda #0
sta tmp
lda #4
sta cnt
bne loopxInner
@ inc dstPtrBase
bne @+
inc dstPtrBase+1
@ lda ebTmpGfxSrc
clc
adc ebTmpGfxStride
sta ebTmpGfxSrc
lda ebTmpGfxSrc+1
adc ebTmpGfxStride+1
sta ebTmpGfxSrc+1
dec cntY
jne loopy
rts
.endp
.proc prPrepareGfxCommonInit
lda egGfxEnemyPtr+1
beq firstTime
lda egGfxEnemyPtr
sta egGfxDataPtr
lda egGfxEnemyPtr+1
sta egGfxDataPtr+1
bne @+
firstTime
lda egGfxDataPtr
sta egGfxEnemyPtr
lda egGfxDataPtr+1
sta egGfxEnemyPtr+1
@
rts
.endp
; prepares animations graphics | common objects (sizes: 8, 16)
; X = object animation number
; 1-5 enemies | 6 explosion | 7 parachute | 8 astronaut | 9 bomb
.proc prPrepareGfxCommon
dex
txa
pha
jsr prInitializePreparationTables
pla
tax
sta animationNumber
lda animationFrames,x ; how many animation frames for this object
sta aniFrames+1
lda animationL,x
sta autoL+2
lda animationH,x
sta autoH+1
lda #0
sta frame
loop
ldy animationNumber
lda animationObj,y
clc
adc frame
sta ebTmpGfxObj
lda height,y
sta ebTmpHeight
lda sizeL,y
sta ebTmpSize
lda sizeH,y
sta ebTmpSize+1
jsr prPrepareGfxPreamble ; y is not used there
lda width,y
sta ebTmpWidth
ldy animationNumber
lda cStrideL,y
sta ebTmpGfxStride
lda cStrideH,y
sta ebTmpGfxStride+1
lda frame ; frame * width (width: 16)
asl ; *2 (width:8)
cpy #8 ; bomb
beq autoL
cpy #9 ; ufo missile
beq autoL
asl ; *4 (width: 16)
autoL
clc
adc #<dataEnemyLevel1 ; code-modified value
sta ebTmpGfxSrc
autoH
lda #>dataEnemyLevel1 ; code-modified value
sta ebTmpGfxSrc+1
jsr prPrepareGfxConvert
inc frame
lda frame
aniFrames
cmp #16 ; code-modified value (different per object)
bcc loop
rts
; 1-5 enemies | 6 explosion | 7 parachute | 8 cosmonaut | 9 bomb | 10 ufo missile
animationL dta l(dataEnemyLevel1), l(dataEnemyLevel2),l(dataEnemyLevel3), l(dataEnemyLevel4), l(dataEnemyLevel5), l(dataEnemyExplosion), l(dataParachute), l(dataCosmonaut), l(dataEnemyBomb), l(dataEnemyBombLvl5)
animationH dta h(dataEnemyLevel1), h(dataEnemyLevel2),h(dataEnemyLevel3), h(dataEnemyLevel4), h(dataEnemyLevel5), h(dataEnemyExplosion), h(dataParachute), h(dataCosmonaut), h(dataEnemyBomb), h(dataEnemyBombLvl5)
animationObj dta b(prGfxObj.enemy),b(prGfxObj.enemy),b(prGfxObj.enemy),b(prGfxObj.enemy),b(prGfxObj.enemy),b(prGfxObj.explosion),b(prGfxObj.parachute),b(prGfxObj.parachute),b(prGfxObj.bomb),b(prGfxObj.bomb)
animationFrames dta b(16),b(16),b(9),b(16),b(2),b(4),b(5),b(5),b(2),b(2) ; animation frames
cStrideL dta l(4*16),l(4*16),l(4*9),l(4*16),l(4*2),l(4*4),l(4*5),l(4*5),l(2*2),l(2*2) ; chars x animationFrames
cStrideH dta h(4*16),h(4*16),h(4*9),h(4*16),h(4*2),h(4*4),h(4*5),h(4*5),h(2*2),h(2*2) ; chars x animationFrames
width dta b(4),b(4),b(4),b(4),b(4),b(4),b(4),b(4),b(2),b(2) ; animation width in chars (*cPixelsPerByte = in pixels)
height dta b(16),b(16),b(16),b(16),b(16),b(16),b(16),b(16),b(8),b(8) ; animation height in pixels
animationNumber dta b(0) ; local temp
frame dta b(0) ; local temp
; <((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
; >((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sizeL dta l(5*16*cPixelsPerByte*cPlanesPerObj),l(5*16*cPixelsPerByte*cPlanesPerObj),l(5*16*cPixelsPerByte*cPlanesPerObj),l(5*16*cPixelsPerByte*cPlanesPerObj),l(5*16*cPixelsPerByte*cPlanesPerObj)
dta l(5*16*cPixelsPerByte*cPlanesPerObj),l(5*16*cPixelsPerByte*cPlanesPerObj),l(5*16*cPixelsPerByte*cPlanesPerObj),l(3*8*cPixelsPerByte*cPlanesPerObj),l(3*8*cPixelsPerByte*cPlanesPerObj)
sizeH dta h(5*16*cPixelsPerByte*cPlanesPerObj),h(5*16*cPixelsPerByte*cPlanesPerObj),h(5*16*cPixelsPerByte*cPlanesPerObj),h(5*16*cPixelsPerByte*cPlanesPerObj),h(5*16*cPixelsPerByte*cPlanesPerObj)
dta h(5*16*cPixelsPerByte*cPlanesPerObj),h(5*16*cPixelsPerByte*cPlanesPerObj),h(5*16*cPixelsPerByte*cPlanesPerObj),h(3*8*cPixelsPerByte*cPlanesPerObj),h(3*8*cPixelsPerByte*cPlanesPerObj)
.endp
; OBJECTS 32x16
; X = boss number (1-5)
.proc prPrepareGfxBoss
cWidth = 8
cHeight = 16
dex
txa
pha
jsr prInitializePreparationTables
pla
tax
sta animationNumber
lda animationFrames,x ; how many animation frames for this level
sta aniFrames+1
lda animationL,x
sta autoL+1
lda animationH,x
sta autoH+1
lda #0
sta frame
loop
ldy animationNumber
lda animationObj,y
clc
adc frame
sta ebTmpGfxObj
lda #cHeight
sta ebTmpHeight
lda #<((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize
lda #>((cWidth+1)*cHeight*cPixelsPerByte*cPlanesPerObj)
sta ebTmpSize+1
jsr prPrepareGfxPreamble
lda #cWidth
sta ebTmpWidth
ldy animationNumber
lda cStrideL,y
sta ebTmpGfxStride
lda cStrideH,y
sta ebTmpGfxStride+1
lda frame
asl ; determines animation stride
asl
asl
autoL
adc #<dataEnemyBoss1
sta ebTmpGfxSrc
autoH
lda #>dataEnemyBoss1
sta ebTmpGfxSrc+1
jsr prPrepareGfxConvert
ldx frame
inx
stx frame
aniFrames
cpx #16
bcc loop
rts
frame .he 0
animationL dta l(dataEnemyBoss1), l(dataEnemyBoss2),l(dataEnemyBoss3), l(dataEnemyBoss4), l(dataEnemyBoss5)
animationH dta h(dataEnemyBoss1), h(dataEnemyBoss2),h(dataEnemyBoss3), h(dataEnemyBoss4), h(dataEnemyBoss5)
animationObj dta b(prGfxObj.boss),b(prGfxObj.boss),b(prGfxObj.boss),b(prGfxObj.boss),b(prGfxObj.boss)
animationFrames dta b(2),b(2),b(2),b(2),b(2) ; animation frames (boss 1-5)
cStrideL dta l(8*2),l(8*2),l(8*2),l(8*2),l(8*2) ; 4 chars x animationFrames
cStrideH dta h(8*2),h(8*2),h(8*2),h(8*2),h(8*2) ; 4 chars x animationFrames
animationNumber dta b(0) ; local temp
.endp
| 22.800347 | 214 | 0.703038 |
2971359fb487162cdbdcc2b9ec1d4235ecfa974a | 502 | asm | Assembly | programs/oeis/171/A171757.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/171/A171757.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/171/A171757.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A171757: Even numbers whose binary expansion begins 10.
; 2,4,8,10,16,18,20,22,32,34,36,38,40,42,44,46,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,320,322,324,326
mul $0,2
trn $0,1
seq $0,4754 ; Numbers n whose binary expansion starts 10.
| 71.714286 | 366 | 0.727092 |
b91eba3704967511f085fe07113b34fa97a88417 | 299 | asm | Assembly | programs/oeis/183/A183002.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/183/A183002.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/183/A183002.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A183002: Partial sums of A161840.
; 0,0,0,2,2,4,4,6,8,10,10,14,14,16,18,22,22,26,26,30,32,34,34,40,42,44,46,50,50,56,56,60,62,64,66,74,74,76,78,84,84,90,90,94,98,100,100,108,110,114,116,120,120,126,128,134,136,138,138
mov $1,$0
seq $0,94820 ; Partial sums of A038548.
sub $0,$1
sub $0,1
mul $0,2
| 33.222222 | 183 | 0.665552 |
21f4b2c82e151686130553810522f48691915110 | 498,723 | asm | Assembly | kernel.asm | phylchen/SPRINGCS153 | 328f9c2b7a46ea7d6a38253fba4a96709d0b3a9c | [
"MIT-0"
] | null | null | null | kernel.asm | phylchen/SPRINGCS153 | 328f9c2b7a46ea7d6a38253fba4a96709d0b3a9c | [
"MIT-0"
] | null | null | null | kernel.asm | phylchen/SPRINGCS153 | 328f9c2b7a46ea7d6a38253fba4a96709d0b3a9c | [
"MIT-0"
] | null | null | null |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
8010000c: 0f 20 e0 mov %cr4,%eax
8010000f: 83 c8 10 or $0x10,%eax
80100012: 0f 22 e0 mov %eax,%cr4
80100015: b8 00 90 10 00 mov $0x109000,%eax
8010001a: 0f 22 d8 mov %eax,%cr3
8010001d: 0f 20 c0 mov %cr0,%eax
80100020: 0d 00 00 01 80 or $0x80010000,%eax
80100025: 0f 22 c0 mov %eax,%cr0
80100028: bc c0 b5 10 80 mov $0x8010b5c0,%esp
8010002d: b8 f0 2d 10 80 mov $0x80102df0,%eax
80100032: ff e0 jmp *%eax
80100034: 66 90 xchg %ax,%ax
80100036: 66 90 xchg %ax,%ax
80100038: 66 90 xchg %ax,%ax
8010003a: 66 90 xchg %ax,%ax
8010003c: 66 90 xchg %ax,%ax
8010003e: 66 90 xchg %ax,%ax
80100040 <binit>:
80100040: 55 push %ebp
80100041: 89 e5 mov %esp,%ebp
80100043: 53 push %ebx
80100044: bb f4 b5 10 80 mov $0x8010b5f4,%ebx
80100049: 83 ec 14 sub $0x14,%esp
8010004c: c7 44 24 04 20 70 10 movl $0x80107020,0x4(%esp)
80100053: 80
80100054: c7 04 24 c0 b5 10 80 movl $0x8010b5c0,(%esp)
8010005b: e8 00 43 00 00 call 80104360 <initlock>
80100060: ba bc fc 10 80 mov $0x8010fcbc,%edx
80100065: c7 05 0c fd 10 80 bc movl $0x8010fcbc,0x8010fd0c
8010006c: fc 10 80
8010006f: c7 05 10 fd 10 80 bc movl $0x8010fcbc,0x8010fd10
80100076: fc 10 80
80100079: eb 09 jmp 80100084 <binit+0x44>
8010007b: 90 nop
8010007c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80100080: 89 da mov %ebx,%edx
80100082: 89 c3 mov %eax,%ebx
80100084: 8d 43 0c lea 0xc(%ebx),%eax
80100087: 89 53 54 mov %edx,0x54(%ebx)
8010008a: c7 43 50 bc fc 10 80 movl $0x8010fcbc,0x50(%ebx)
80100091: 89 04 24 mov %eax,(%esp)
80100094: c7 44 24 04 27 70 10 movl $0x80107027,0x4(%esp)
8010009b: 80
8010009c: e8 8f 41 00 00 call 80104230 <initsleeplock>
801000a1: a1 10 fd 10 80 mov 0x8010fd10,%eax
801000a6: 89 58 50 mov %ebx,0x50(%eax)
801000a9: 8d 83 5c 02 00 00 lea 0x25c(%ebx),%eax
801000af: 3d bc fc 10 80 cmp $0x8010fcbc,%eax
801000b4: 89 1d 10 fd 10 80 mov %ebx,0x8010fd10
801000ba: 75 c4 jne 80100080 <binit+0x40>
801000bc: 83 c4 14 add $0x14,%esp
801000bf: 5b pop %ebx
801000c0: 5d pop %ebp
801000c1: c3 ret
801000c2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801000c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801000d0 <bread>:
801000d0: 55 push %ebp
801000d1: 89 e5 mov %esp,%ebp
801000d3: 57 push %edi
801000d4: 56 push %esi
801000d5: 53 push %ebx
801000d6: 83 ec 1c sub $0x1c,%esp
801000d9: 8b 75 08 mov 0x8(%ebp),%esi
801000dc: c7 04 24 c0 b5 10 80 movl $0x8010b5c0,(%esp)
801000e3: 8b 7d 0c mov 0xc(%ebp),%edi
801000e6: e8 e5 43 00 00 call 801044d0 <acquire>
801000eb: 8b 1d 10 fd 10 80 mov 0x8010fd10,%ebx
801000f1: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx
801000f7: 75 12 jne 8010010b <bread+0x3b>
801000f9: eb 25 jmp 80100120 <bread+0x50>
801000fb: 90 nop
801000fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80100100: 8b 5b 54 mov 0x54(%ebx),%ebx
80100103: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx
80100109: 74 15 je 80100120 <bread+0x50>
8010010b: 3b 73 04 cmp 0x4(%ebx),%esi
8010010e: 75 f0 jne 80100100 <bread+0x30>
80100110: 3b 7b 08 cmp 0x8(%ebx),%edi
80100113: 75 eb jne 80100100 <bread+0x30>
80100115: 83 43 4c 01 addl $0x1,0x4c(%ebx)
80100119: eb 3f jmp 8010015a <bread+0x8a>
8010011b: 90 nop
8010011c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80100120: 8b 1d 0c fd 10 80 mov 0x8010fd0c,%ebx
80100126: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx
8010012c: 75 0d jne 8010013b <bread+0x6b>
8010012e: eb 58 jmp 80100188 <bread+0xb8>
80100130: 8b 5b 50 mov 0x50(%ebx),%ebx
80100133: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx
80100139: 74 4d je 80100188 <bread+0xb8>
8010013b: 8b 43 4c mov 0x4c(%ebx),%eax
8010013e: 85 c0 test %eax,%eax
80100140: 75 ee jne 80100130 <bread+0x60>
80100142: f6 03 04 testb $0x4,(%ebx)
80100145: 75 e9 jne 80100130 <bread+0x60>
80100147: 89 73 04 mov %esi,0x4(%ebx)
8010014a: 89 7b 08 mov %edi,0x8(%ebx)
8010014d: c7 03 00 00 00 00 movl $0x0,(%ebx)
80100153: c7 43 4c 01 00 00 00 movl $0x1,0x4c(%ebx)
8010015a: c7 04 24 c0 b5 10 80 movl $0x8010b5c0,(%esp)
80100161: e8 da 43 00 00 call 80104540 <release>
80100166: 8d 43 0c lea 0xc(%ebx),%eax
80100169: 89 04 24 mov %eax,(%esp)
8010016c: e8 ff 40 00 00 call 80104270 <acquiresleep>
80100171: f6 03 02 testb $0x2,(%ebx)
80100174: 75 08 jne 8010017e <bread+0xae>
80100176: 89 1c 24 mov %ebx,(%esp)
80100179: e8 a2 1f 00 00 call 80102120 <iderw>
8010017e: 83 c4 1c add $0x1c,%esp
80100181: 89 d8 mov %ebx,%eax
80100183: 5b pop %ebx
80100184: 5e pop %esi
80100185: 5f pop %edi
80100186: 5d pop %ebp
80100187: c3 ret
80100188: c7 04 24 2e 70 10 80 movl $0x8010702e,(%esp)
8010018f: e8 cc 01 00 00 call 80100360 <panic>
80100194: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
8010019a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
801001a0 <bwrite>:
801001a0: 55 push %ebp
801001a1: 89 e5 mov %esp,%ebp
801001a3: 53 push %ebx
801001a4: 83 ec 14 sub $0x14,%esp
801001a7: 8b 5d 08 mov 0x8(%ebp),%ebx
801001aa: 8d 43 0c lea 0xc(%ebx),%eax
801001ad: 89 04 24 mov %eax,(%esp)
801001b0: e8 5b 41 00 00 call 80104310 <holdingsleep>
801001b5: 85 c0 test %eax,%eax
801001b7: 74 10 je 801001c9 <bwrite+0x29>
801001b9: 83 0b 04 orl $0x4,(%ebx)
801001bc: 89 5d 08 mov %ebx,0x8(%ebp)
801001bf: 83 c4 14 add $0x14,%esp
801001c2: 5b pop %ebx
801001c3: 5d pop %ebp
801001c4: e9 57 1f 00 00 jmp 80102120 <iderw>
801001c9: c7 04 24 3f 70 10 80 movl $0x8010703f,(%esp)
801001d0: e8 8b 01 00 00 call 80100360 <panic>
801001d5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801001d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801001e0 <brelse>:
801001e0: 55 push %ebp
801001e1: 89 e5 mov %esp,%ebp
801001e3: 56 push %esi
801001e4: 53 push %ebx
801001e5: 83 ec 10 sub $0x10,%esp
801001e8: 8b 5d 08 mov 0x8(%ebp),%ebx
801001eb: 8d 73 0c lea 0xc(%ebx),%esi
801001ee: 89 34 24 mov %esi,(%esp)
801001f1: e8 1a 41 00 00 call 80104310 <holdingsleep>
801001f6: 85 c0 test %eax,%eax
801001f8: 74 5b je 80100255 <brelse+0x75>
801001fa: 89 34 24 mov %esi,(%esp)
801001fd: e8 ce 40 00 00 call 801042d0 <releasesleep>
80100202: c7 04 24 c0 b5 10 80 movl $0x8010b5c0,(%esp)
80100209: e8 c2 42 00 00 call 801044d0 <acquire>
8010020e: 83 6b 4c 01 subl $0x1,0x4c(%ebx)
80100212: 75 2f jne 80100243 <brelse+0x63>
80100214: 8b 43 54 mov 0x54(%ebx),%eax
80100217: 8b 53 50 mov 0x50(%ebx),%edx
8010021a: 89 50 50 mov %edx,0x50(%eax)
8010021d: 8b 43 50 mov 0x50(%ebx),%eax
80100220: 8b 53 54 mov 0x54(%ebx),%edx
80100223: 89 50 54 mov %edx,0x54(%eax)
80100226: a1 10 fd 10 80 mov 0x8010fd10,%eax
8010022b: c7 43 50 bc fc 10 80 movl $0x8010fcbc,0x50(%ebx)
80100232: 89 43 54 mov %eax,0x54(%ebx)
80100235: a1 10 fd 10 80 mov 0x8010fd10,%eax
8010023a: 89 58 50 mov %ebx,0x50(%eax)
8010023d: 89 1d 10 fd 10 80 mov %ebx,0x8010fd10
80100243: c7 45 08 c0 b5 10 80 movl $0x8010b5c0,0x8(%ebp)
8010024a: 83 c4 10 add $0x10,%esp
8010024d: 5b pop %ebx
8010024e: 5e pop %esi
8010024f: 5d pop %ebp
80100250: e9 eb 42 00 00 jmp 80104540 <release>
80100255: c7 04 24 46 70 10 80 movl $0x80107046,(%esp)
8010025c: e8 ff 00 00 00 call 80100360 <panic>
80100261: 66 90 xchg %ax,%ax
80100263: 66 90 xchg %ax,%ax
80100265: 66 90 xchg %ax,%ax
80100267: 66 90 xchg %ax,%ax
80100269: 66 90 xchg %ax,%ax
8010026b: 66 90 xchg %ax,%ax
8010026d: 66 90 xchg %ax,%ax
8010026f: 90 nop
80100270 <consoleread>:
}
}
int
consoleread(struct inode *ip, char *dst, int n)
{
80100270: 55 push %ebp
80100271: 89 e5 mov %esp,%ebp
80100273: 57 push %edi
80100274: 56 push %esi
80100275: 53 push %ebx
80100276: 83 ec 1c sub $0x1c,%esp
80100279: 8b 7d 08 mov 0x8(%ebp),%edi
8010027c: 8b 75 0c mov 0xc(%ebp),%esi
uint target;
int c;
iunlock(ip);
8010027f: 89 3c 24 mov %edi,(%esp)
80100282: e8 09 15 00 00 call 80101790 <iunlock>
target = n;
acquire(&cons.lock);
80100287: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
8010028e: e8 3d 42 00 00 call 801044d0 <acquire>
while(n > 0){
80100293: 8b 55 10 mov 0x10(%ebp),%edx
80100296: 85 d2 test %edx,%edx
80100298: 0f 8e bc 00 00 00 jle 8010035a <consoleread+0xea>
8010029e: 8b 5d 10 mov 0x10(%ebp),%ebx
801002a1: eb 25 jmp 801002c8 <consoleread+0x58>
801002a3: 90 nop
801002a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
while(input.r == input.w){
if(myproc()->killed){
801002a8: e8 43 34 00 00 call 801036f0 <myproc>
801002ad: 8b 40 24 mov 0x24(%eax),%eax
801002b0: 85 c0 test %eax,%eax
801002b2: 75 74 jne 80100328 <consoleread+0xb8>
release(&cons.lock);
ilock(ip);
return -1;
}
sleep(&input.r, &cons.lock);
801002b4: c7 44 24 04 20 a5 10 movl $0x8010a520,0x4(%esp)
801002bb: 80
801002bc: c7 04 24 a0 ff 10 80 movl $0x8010ffa0,(%esp)
801002c3: e8 d8 3a 00 00 call 80103da0 <sleep>
while(input.r == input.w){
801002c8: a1 a0 ff 10 80 mov 0x8010ffa0,%eax
801002cd: 3b 05 a4 ff 10 80 cmp 0x8010ffa4,%eax
801002d3: 74 d3 je 801002a8 <consoleread+0x38>
}
c = input.buf[input.r++ % INPUT_BUF];
801002d5: 8d 50 01 lea 0x1(%eax),%edx
801002d8: 89 15 a0 ff 10 80 mov %edx,0x8010ffa0
801002de: 89 c2 mov %eax,%edx
801002e0: 83 e2 7f and $0x7f,%edx
801002e3: 0f b6 8a 20 ff 10 80 movzbl -0x7fef00e0(%edx),%ecx
801002ea: 0f be d1 movsbl %cl,%edx
if(c == C('D')){ // EOF
801002ed: 83 fa 04 cmp $0x4,%edx
801002f0: 74 57 je 80100349 <consoleread+0xd9>
// caller gets a 0-byte result.
input.r--;
}
break;
}
*dst++ = c;
801002f2: 83 c6 01 add $0x1,%esi
--n;
801002f5: 83 eb 01 sub $0x1,%ebx
if(c == '\n')
801002f8: 83 fa 0a cmp $0xa,%edx
*dst++ = c;
801002fb: 88 4e ff mov %cl,-0x1(%esi)
if(c == '\n')
801002fe: 74 53 je 80100353 <consoleread+0xe3>
while(n > 0){
80100300: 85 db test %ebx,%ebx
80100302: 75 c4 jne 801002c8 <consoleread+0x58>
80100304: 8b 45 10 mov 0x10(%ebp),%eax
break;
}
release(&cons.lock);
80100307: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
8010030e: 89 45 e4 mov %eax,-0x1c(%ebp)
80100311: e8 2a 42 00 00 call 80104540 <release>
ilock(ip);
80100316: 89 3c 24 mov %edi,(%esp)
80100319: e8 92 13 00 00 call 801016b0 <ilock>
8010031e: 8b 45 e4 mov -0x1c(%ebp),%eax
return target - n;
80100321: eb 1e jmp 80100341 <consoleread+0xd1>
80100323: 90 nop
80100324: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
release(&cons.lock);
80100328: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
8010032f: e8 0c 42 00 00 call 80104540 <release>
ilock(ip);
80100334: 89 3c 24 mov %edi,(%esp)
80100337: e8 74 13 00 00 call 801016b0 <ilock>
return -1;
8010033c: b8 ff ff ff ff mov $0xffffffff,%eax
}
80100341: 83 c4 1c add $0x1c,%esp
80100344: 5b pop %ebx
80100345: 5e pop %esi
80100346: 5f pop %edi
80100347: 5d pop %ebp
80100348: c3 ret
if(n < target){
80100349: 39 5d 10 cmp %ebx,0x10(%ebp)
8010034c: 76 05 jbe 80100353 <consoleread+0xe3>
input.r--;
8010034e: a3 a0 ff 10 80 mov %eax,0x8010ffa0
80100353: 8b 45 10 mov 0x10(%ebp),%eax
80100356: 29 d8 sub %ebx,%eax
80100358: eb ad jmp 80100307 <consoleread+0x97>
while(n > 0){
8010035a: 31 c0 xor %eax,%eax
8010035c: eb a9 jmp 80100307 <consoleread+0x97>
8010035e: 66 90 xchg %ax,%ax
80100360 <panic>:
{
80100360: 55 push %ebp
80100361: 89 e5 mov %esp,%ebp
80100363: 56 push %esi
80100364: 53 push %ebx
80100365: 83 ec 40 sub $0x40,%esp
}
static inline void
cli(void)
{
asm volatile("cli");
80100368: fa cli
cons.locking = 0;
80100369: c7 05 54 a5 10 80 00 movl $0x0,0x8010a554
80100370: 00 00 00
getcallerpcs(&s, pcs);
80100373: 8d 5d d0 lea -0x30(%ebp),%ebx
cprintf("lapicid %d: panic: ", lapicid());
80100376: e8 e5 23 00 00 call 80102760 <lapicid>
8010037b: 8d 75 f8 lea -0x8(%ebp),%esi
8010037e: c7 04 24 4d 70 10 80 movl $0x8010704d,(%esp)
80100385: 89 44 24 04 mov %eax,0x4(%esp)
80100389: e8 c2 02 00 00 call 80100650 <cprintf>
cprintf(s);
8010038e: 8b 45 08 mov 0x8(%ebp),%eax
80100391: 89 04 24 mov %eax,(%esp)
80100394: e8 b7 02 00 00 call 80100650 <cprintf>
cprintf("\n");
80100399: c7 04 24 1a 76 10 80 movl $0x8010761a,(%esp)
801003a0: e8 ab 02 00 00 call 80100650 <cprintf>
getcallerpcs(&s, pcs);
801003a5: 8d 45 08 lea 0x8(%ebp),%eax
801003a8: 89 5c 24 04 mov %ebx,0x4(%esp)
801003ac: 89 04 24 mov %eax,(%esp)
801003af: e8 cc 3f 00 00 call 80104380 <getcallerpcs>
801003b4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
cprintf(" %p", pcs[i]);
801003b8: 8b 03 mov (%ebx),%eax
801003ba: 83 c3 04 add $0x4,%ebx
801003bd: c7 04 24 61 70 10 80 movl $0x80107061,(%esp)
801003c4: 89 44 24 04 mov %eax,0x4(%esp)
801003c8: e8 83 02 00 00 call 80100650 <cprintf>
for(i=0; i<10; i++)
801003cd: 39 f3 cmp %esi,%ebx
801003cf: 75 e7 jne 801003b8 <panic+0x58>
panicked = 1; // freeze other CPU
801003d1: c7 05 58 a5 10 80 01 movl $0x1,0x8010a558
801003d8: 00 00 00
801003db: eb fe jmp 801003db <panic+0x7b>
801003dd: 8d 76 00 lea 0x0(%esi),%esi
801003e0 <consputc>:
if(panicked){
801003e0: 8b 15 58 a5 10 80 mov 0x8010a558,%edx
801003e6: 85 d2 test %edx,%edx
801003e8: 74 06 je 801003f0 <consputc+0x10>
801003ea: fa cli
801003eb: eb fe jmp 801003eb <consputc+0xb>
801003ed: 8d 76 00 lea 0x0(%esi),%esi
{
801003f0: 55 push %ebp
801003f1: 89 e5 mov %esp,%ebp
801003f3: 57 push %edi
801003f4: 56 push %esi
801003f5: 53 push %ebx
801003f6: 89 c3 mov %eax,%ebx
801003f8: 83 ec 1c sub $0x1c,%esp
if(c == BACKSPACE){
801003fb: 3d 00 01 00 00 cmp $0x100,%eax
80100400: 0f 84 ac 00 00 00 je 801004b2 <consputc+0xd2>
uartputc(c);
80100406: 89 04 24 mov %eax,(%esp)
80100409: e8 72 57 00 00 call 80105b80 <uartputc>
asm volatile("out %0,%1" : : "a" (data), "d" (port));
8010040e: bf d4 03 00 00 mov $0x3d4,%edi
80100413: b8 0e 00 00 00 mov $0xe,%eax
80100418: 89 fa mov %edi,%edx
8010041a: ee out %al,(%dx)
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
8010041b: be d5 03 00 00 mov $0x3d5,%esi
80100420: 89 f2 mov %esi,%edx
80100422: ec in (%dx),%al
pos = inb(CRTPORT+1) << 8;
80100423: 0f b6 c8 movzbl %al,%ecx
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80100426: 89 fa mov %edi,%edx
80100428: c1 e1 08 shl $0x8,%ecx
8010042b: b8 0f 00 00 00 mov $0xf,%eax
80100430: ee out %al,(%dx)
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
80100431: 89 f2 mov %esi,%edx
80100433: ec in (%dx),%al
pos |= inb(CRTPORT+1);
80100434: 0f b6 c0 movzbl %al,%eax
80100437: 09 c1 or %eax,%ecx
if(c == '\n')
80100439: 83 fb 0a cmp $0xa,%ebx
8010043c: 0f 84 0d 01 00 00 je 8010054f <consputc+0x16f>
else if(c == BACKSPACE){
80100442: 81 fb 00 01 00 00 cmp $0x100,%ebx
80100448: 0f 84 e8 00 00 00 je 80100536 <consputc+0x156>
crt[pos++] = (c&0xff) | 0x0700; // black on white
8010044e: 0f b6 db movzbl %bl,%ebx
80100451: 80 cf 07 or $0x7,%bh
80100454: 8d 79 01 lea 0x1(%ecx),%edi
80100457: 66 89 9c 09 00 80 0b mov %bx,-0x7ff48000(%ecx,%ecx,1)
8010045e: 80
if(pos < 0 || pos > 25*80)
8010045f: 81 ff d0 07 00 00 cmp $0x7d0,%edi
80100465: 0f 87 bf 00 00 00 ja 8010052a <consputc+0x14a>
if((pos/80) >= 24){ // Scroll up.
8010046b: 81 ff 7f 07 00 00 cmp $0x77f,%edi
80100471: 7f 68 jg 801004db <consputc+0xfb>
80100473: 89 f8 mov %edi,%eax
80100475: 89 fb mov %edi,%ebx
80100477: c1 e8 08 shr $0x8,%eax
8010047a: 89 c6 mov %eax,%esi
8010047c: 8d 8c 3f 00 80 0b 80 lea -0x7ff48000(%edi,%edi,1),%ecx
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80100483: bf d4 03 00 00 mov $0x3d4,%edi
80100488: b8 0e 00 00 00 mov $0xe,%eax
8010048d: 89 fa mov %edi,%edx
8010048f: ee out %al,(%dx)
80100490: 89 f0 mov %esi,%eax
80100492: b2 d5 mov $0xd5,%dl
80100494: ee out %al,(%dx)
80100495: b8 0f 00 00 00 mov $0xf,%eax
8010049a: 89 fa mov %edi,%edx
8010049c: ee out %al,(%dx)
8010049d: 89 d8 mov %ebx,%eax
8010049f: b2 d5 mov $0xd5,%dl
801004a1: ee out %al,(%dx)
crt[pos] = ' ' | 0x0700;
801004a2: b8 20 07 00 00 mov $0x720,%eax
801004a7: 66 89 01 mov %ax,(%ecx)
}
801004aa: 83 c4 1c add $0x1c,%esp
801004ad: 5b pop %ebx
801004ae: 5e pop %esi
801004af: 5f pop %edi
801004b0: 5d pop %ebp
801004b1: c3 ret
uartputc('\b'); uartputc(' '); uartputc('\b');
801004b2: c7 04 24 08 00 00 00 movl $0x8,(%esp)
801004b9: e8 c2 56 00 00 call 80105b80 <uartputc>
801004be: c7 04 24 20 00 00 00 movl $0x20,(%esp)
801004c5: e8 b6 56 00 00 call 80105b80 <uartputc>
801004ca: c7 04 24 08 00 00 00 movl $0x8,(%esp)
801004d1: e8 aa 56 00 00 call 80105b80 <uartputc>
801004d6: e9 33 ff ff ff jmp 8010040e <consputc+0x2e>
memmove(crt, crt+80, sizeof(crt[0])*23*80);
801004db: c7 44 24 08 60 0e 00 movl $0xe60,0x8(%esp)
801004e2: 00
pos -= 80;
801004e3: 8d 5f b0 lea -0x50(%edi),%ebx
memmove(crt, crt+80, sizeof(crt[0])*23*80);
801004e6: c7 44 24 04 a0 80 0b movl $0x800b80a0,0x4(%esp)
801004ed: 80
memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos));
801004ee: 8d b4 1b 00 80 0b 80 lea -0x7ff48000(%ebx,%ebx,1),%esi
memmove(crt, crt+80, sizeof(crt[0])*23*80);
801004f5: c7 04 24 00 80 0b 80 movl $0x800b8000,(%esp)
801004fc: e8 2f 41 00 00 call 80104630 <memmove>
memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos));
80100501: b8 d0 07 00 00 mov $0x7d0,%eax
80100506: 29 f8 sub %edi,%eax
80100508: 01 c0 add %eax,%eax
8010050a: 89 34 24 mov %esi,(%esp)
8010050d: 89 44 24 08 mov %eax,0x8(%esp)
80100511: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80100518: 00
80100519: e8 72 40 00 00 call 80104590 <memset>
8010051e: 89 f1 mov %esi,%ecx
80100520: be 07 00 00 00 mov $0x7,%esi
80100525: e9 59 ff ff ff jmp 80100483 <consputc+0xa3>
panic("pos under/overflow");
8010052a: c7 04 24 65 70 10 80 movl $0x80107065,(%esp)
80100531: e8 2a fe ff ff call 80100360 <panic>
if(pos > 0) --pos;
80100536: 85 c9 test %ecx,%ecx
80100538: 8d 79 ff lea -0x1(%ecx),%edi
8010053b: 0f 85 1e ff ff ff jne 8010045f <consputc+0x7f>
80100541: b9 00 80 0b 80 mov $0x800b8000,%ecx
80100546: 31 db xor %ebx,%ebx
80100548: 31 f6 xor %esi,%esi
8010054a: e9 34 ff ff ff jmp 80100483 <consputc+0xa3>
pos += 80 - pos%80;
8010054f: 89 c8 mov %ecx,%eax
80100551: ba 67 66 66 66 mov $0x66666667,%edx
80100556: f7 ea imul %edx
80100558: c1 ea 05 shr $0x5,%edx
8010055b: 8d 04 92 lea (%edx,%edx,4),%eax
8010055e: c1 e0 04 shl $0x4,%eax
80100561: 8d 78 50 lea 0x50(%eax),%edi
80100564: e9 f6 fe ff ff jmp 8010045f <consputc+0x7f>
80100569: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80100570 <printint>:
{
80100570: 55 push %ebp
80100571: 89 e5 mov %esp,%ebp
80100573: 57 push %edi
80100574: 56 push %esi
80100575: 89 d6 mov %edx,%esi
80100577: 53 push %ebx
80100578: 83 ec 1c sub $0x1c,%esp
if(sign && (sign = xx < 0))
8010057b: 85 c9 test %ecx,%ecx
8010057d: 74 61 je 801005e0 <printint+0x70>
8010057f: 85 c0 test %eax,%eax
80100581: 79 5d jns 801005e0 <printint+0x70>
x = -xx;
80100583: f7 d8 neg %eax
80100585: bf 01 00 00 00 mov $0x1,%edi
i = 0;
8010058a: 31 c9 xor %ecx,%ecx
8010058c: eb 04 jmp 80100592 <printint+0x22>
8010058e: 66 90 xchg %ax,%ax
buf[i++] = digits[x % base];
80100590: 89 d9 mov %ebx,%ecx
80100592: 31 d2 xor %edx,%edx
80100594: f7 f6 div %esi
80100596: 8d 59 01 lea 0x1(%ecx),%ebx
80100599: 0f b6 92 90 70 10 80 movzbl -0x7fef8f70(%edx),%edx
}while((x /= base) != 0);
801005a0: 85 c0 test %eax,%eax
buf[i++] = digits[x % base];
801005a2: 88 54 1d d7 mov %dl,-0x29(%ebp,%ebx,1)
}while((x /= base) != 0);
801005a6: 75 e8 jne 80100590 <printint+0x20>
if(sign)
801005a8: 85 ff test %edi,%edi
buf[i++] = digits[x % base];
801005aa: 89 d8 mov %ebx,%eax
if(sign)
801005ac: 74 08 je 801005b6 <printint+0x46>
buf[i++] = '-';
801005ae: 8d 59 02 lea 0x2(%ecx),%ebx
801005b1: c6 44 05 d8 2d movb $0x2d,-0x28(%ebp,%eax,1)
while(--i >= 0)
801005b6: 83 eb 01 sub $0x1,%ebx
801005b9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
consputc(buf[i]);
801005c0: 0f be 44 1d d8 movsbl -0x28(%ebp,%ebx,1),%eax
while(--i >= 0)
801005c5: 83 eb 01 sub $0x1,%ebx
consputc(buf[i]);
801005c8: e8 13 fe ff ff call 801003e0 <consputc>
while(--i >= 0)
801005cd: 83 fb ff cmp $0xffffffff,%ebx
801005d0: 75 ee jne 801005c0 <printint+0x50>
}
801005d2: 83 c4 1c add $0x1c,%esp
801005d5: 5b pop %ebx
801005d6: 5e pop %esi
801005d7: 5f pop %edi
801005d8: 5d pop %ebp
801005d9: c3 ret
801005da: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
x = xx;
801005e0: 31 ff xor %edi,%edi
801005e2: eb a6 jmp 8010058a <printint+0x1a>
801005e4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801005ea: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
801005f0 <consolewrite>:
int
consolewrite(struct inode *ip, char *buf, int n)
{
801005f0: 55 push %ebp
801005f1: 89 e5 mov %esp,%ebp
801005f3: 57 push %edi
801005f4: 56 push %esi
801005f5: 53 push %ebx
801005f6: 83 ec 1c sub $0x1c,%esp
int i;
iunlock(ip);
801005f9: 8b 45 08 mov 0x8(%ebp),%eax
{
801005fc: 8b 75 10 mov 0x10(%ebp),%esi
iunlock(ip);
801005ff: 89 04 24 mov %eax,(%esp)
80100602: e8 89 11 00 00 call 80101790 <iunlock>
acquire(&cons.lock);
80100607: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
8010060e: e8 bd 3e 00 00 call 801044d0 <acquire>
80100613: 8b 7d 0c mov 0xc(%ebp),%edi
for(i = 0; i < n; i++)
80100616: 85 f6 test %esi,%esi
80100618: 8d 1c 37 lea (%edi,%esi,1),%ebx
8010061b: 7e 12 jle 8010062f <consolewrite+0x3f>
8010061d: 8d 76 00 lea 0x0(%esi),%esi
consputc(buf[i] & 0xff);
80100620: 0f b6 07 movzbl (%edi),%eax
80100623: 83 c7 01 add $0x1,%edi
80100626: e8 b5 fd ff ff call 801003e0 <consputc>
for(i = 0; i < n; i++)
8010062b: 39 df cmp %ebx,%edi
8010062d: 75 f1 jne 80100620 <consolewrite+0x30>
release(&cons.lock);
8010062f: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
80100636: e8 05 3f 00 00 call 80104540 <release>
ilock(ip);
8010063b: 8b 45 08 mov 0x8(%ebp),%eax
8010063e: 89 04 24 mov %eax,(%esp)
80100641: e8 6a 10 00 00 call 801016b0 <ilock>
return n;
}
80100646: 83 c4 1c add $0x1c,%esp
80100649: 89 f0 mov %esi,%eax
8010064b: 5b pop %ebx
8010064c: 5e pop %esi
8010064d: 5f pop %edi
8010064e: 5d pop %ebp
8010064f: c3 ret
80100650 <cprintf>:
{
80100650: 55 push %ebp
80100651: 89 e5 mov %esp,%ebp
80100653: 57 push %edi
80100654: 56 push %esi
80100655: 53 push %ebx
80100656: 83 ec 1c sub $0x1c,%esp
locking = cons.locking;
80100659: a1 54 a5 10 80 mov 0x8010a554,%eax
if(locking)
8010065e: 85 c0 test %eax,%eax
locking = cons.locking;
80100660: 89 45 e0 mov %eax,-0x20(%ebp)
if(locking)
80100663: 0f 85 27 01 00 00 jne 80100790 <cprintf+0x140>
if (fmt == 0)
80100669: 8b 45 08 mov 0x8(%ebp),%eax
8010066c: 85 c0 test %eax,%eax
8010066e: 89 c1 mov %eax,%ecx
80100670: 0f 84 2b 01 00 00 je 801007a1 <cprintf+0x151>
for(i = 0; (c = fmt[i] & 0xff) != 0; i++){
80100676: 0f b6 00 movzbl (%eax),%eax
80100679: 31 db xor %ebx,%ebx
8010067b: 89 cf mov %ecx,%edi
8010067d: 8d 75 0c lea 0xc(%ebp),%esi
80100680: 85 c0 test %eax,%eax
80100682: 75 4c jne 801006d0 <cprintf+0x80>
80100684: eb 5f jmp 801006e5 <cprintf+0x95>
80100686: 66 90 xchg %ax,%ax
c = fmt[++i] & 0xff;
80100688: 83 c3 01 add $0x1,%ebx
8010068b: 0f b6 14 1f movzbl (%edi,%ebx,1),%edx
if(c == 0)
8010068f: 85 d2 test %edx,%edx
80100691: 74 52 je 801006e5 <cprintf+0x95>
switch(c){
80100693: 83 fa 70 cmp $0x70,%edx
80100696: 74 72 je 8010070a <cprintf+0xba>
80100698: 7f 66 jg 80100700 <cprintf+0xb0>
8010069a: 83 fa 25 cmp $0x25,%edx
8010069d: 8d 76 00 lea 0x0(%esi),%esi
801006a0: 0f 84 a2 00 00 00 je 80100748 <cprintf+0xf8>
801006a6: 83 fa 64 cmp $0x64,%edx
801006a9: 75 7d jne 80100728 <cprintf+0xd8>
printint(*argp++, 10, 1);
801006ab: 8d 46 04 lea 0x4(%esi),%eax
801006ae: b9 01 00 00 00 mov $0x1,%ecx
801006b3: 89 45 e4 mov %eax,-0x1c(%ebp)
801006b6: 8b 06 mov (%esi),%eax
801006b8: ba 0a 00 00 00 mov $0xa,%edx
801006bd: e8 ae fe ff ff call 80100570 <printint>
801006c2: 8b 75 e4 mov -0x1c(%ebp),%esi
for(i = 0; (c = fmt[i] & 0xff) != 0; i++){
801006c5: 83 c3 01 add $0x1,%ebx
801006c8: 0f b6 04 1f movzbl (%edi,%ebx,1),%eax
801006cc: 85 c0 test %eax,%eax
801006ce: 74 15 je 801006e5 <cprintf+0x95>
if(c != '%'){
801006d0: 83 f8 25 cmp $0x25,%eax
801006d3: 74 b3 je 80100688 <cprintf+0x38>
consputc(c);
801006d5: e8 06 fd ff ff call 801003e0 <consputc>
for(i = 0; (c = fmt[i] & 0xff) != 0; i++){
801006da: 83 c3 01 add $0x1,%ebx
801006dd: 0f b6 04 1f movzbl (%edi,%ebx,1),%eax
801006e1: 85 c0 test %eax,%eax
801006e3: 75 eb jne 801006d0 <cprintf+0x80>
if(locking)
801006e5: 8b 45 e0 mov -0x20(%ebp),%eax
801006e8: 85 c0 test %eax,%eax
801006ea: 74 0c je 801006f8 <cprintf+0xa8>
release(&cons.lock);
801006ec: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
801006f3: e8 48 3e 00 00 call 80104540 <release>
}
801006f8: 83 c4 1c add $0x1c,%esp
801006fb: 5b pop %ebx
801006fc: 5e pop %esi
801006fd: 5f pop %edi
801006fe: 5d pop %ebp
801006ff: c3 ret
switch(c){
80100700: 83 fa 73 cmp $0x73,%edx
80100703: 74 53 je 80100758 <cprintf+0x108>
80100705: 83 fa 78 cmp $0x78,%edx
80100708: 75 1e jne 80100728 <cprintf+0xd8>
printint(*argp++, 16, 0);
8010070a: 8d 46 04 lea 0x4(%esi),%eax
8010070d: 31 c9 xor %ecx,%ecx
8010070f: 89 45 e4 mov %eax,-0x1c(%ebp)
80100712: 8b 06 mov (%esi),%eax
80100714: ba 10 00 00 00 mov $0x10,%edx
80100719: e8 52 fe ff ff call 80100570 <printint>
8010071e: 8b 75 e4 mov -0x1c(%ebp),%esi
break;
80100721: eb a2 jmp 801006c5 <cprintf+0x75>
80100723: 90 nop
80100724: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
consputc('%');
80100728: b8 25 00 00 00 mov $0x25,%eax
8010072d: 89 55 e4 mov %edx,-0x1c(%ebp)
80100730: e8 ab fc ff ff call 801003e0 <consputc>
consputc(c);
80100735: 8b 55 e4 mov -0x1c(%ebp),%edx
80100738: 89 d0 mov %edx,%eax
8010073a: e8 a1 fc ff ff call 801003e0 <consputc>
8010073f: eb 99 jmp 801006da <cprintf+0x8a>
80100741: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
consputc('%');
80100748: b8 25 00 00 00 mov $0x25,%eax
8010074d: e8 8e fc ff ff call 801003e0 <consputc>
break;
80100752: e9 6e ff ff ff jmp 801006c5 <cprintf+0x75>
80100757: 90 nop
if((s = (char*)*argp++) == 0)
80100758: 8d 46 04 lea 0x4(%esi),%eax
8010075b: 8b 36 mov (%esi),%esi
8010075d: 89 45 e4 mov %eax,-0x1c(%ebp)
s = "(null)";
80100760: b8 78 70 10 80 mov $0x80107078,%eax
80100765: 85 f6 test %esi,%esi
80100767: 0f 44 f0 cmove %eax,%esi
for(; *s; s++)
8010076a: 0f be 06 movsbl (%esi),%eax
8010076d: 84 c0 test %al,%al
8010076f: 74 16 je 80100787 <cprintf+0x137>
80100771: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80100778: 83 c6 01 add $0x1,%esi
consputc(*s);
8010077b: e8 60 fc ff ff call 801003e0 <consputc>
for(; *s; s++)
80100780: 0f be 06 movsbl (%esi),%eax
80100783: 84 c0 test %al,%al
80100785: 75 f1 jne 80100778 <cprintf+0x128>
if((s = (char*)*argp++) == 0)
80100787: 8b 75 e4 mov -0x1c(%ebp),%esi
8010078a: e9 36 ff ff ff jmp 801006c5 <cprintf+0x75>
8010078f: 90 nop
acquire(&cons.lock);
80100790: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
80100797: e8 34 3d 00 00 call 801044d0 <acquire>
8010079c: e9 c8 fe ff ff jmp 80100669 <cprintf+0x19>
panic("null fmt");
801007a1: c7 04 24 7f 70 10 80 movl $0x8010707f,(%esp)
801007a8: e8 b3 fb ff ff call 80100360 <panic>
801007ad: 8d 76 00 lea 0x0(%esi),%esi
801007b0 <consoleintr>:
{
801007b0: 55 push %ebp
801007b1: 89 e5 mov %esp,%ebp
801007b3: 57 push %edi
801007b4: 56 push %esi
int c, doprocdump = 0;
801007b5: 31 f6 xor %esi,%esi
{
801007b7: 53 push %ebx
801007b8: 83 ec 1c sub $0x1c,%esp
801007bb: 8b 5d 08 mov 0x8(%ebp),%ebx
acquire(&cons.lock);
801007be: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
801007c5: e8 06 3d 00 00 call 801044d0 <acquire>
801007ca: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
while((c = getc()) >= 0){
801007d0: ff d3 call *%ebx
801007d2: 85 c0 test %eax,%eax
801007d4: 89 c7 mov %eax,%edi
801007d6: 78 48 js 80100820 <consoleintr+0x70>
switch(c){
801007d8: 83 ff 10 cmp $0x10,%edi
801007db: 0f 84 2f 01 00 00 je 80100910 <consoleintr+0x160>
801007e1: 7e 5d jle 80100840 <consoleintr+0x90>
801007e3: 83 ff 15 cmp $0x15,%edi
801007e6: 0f 84 d4 00 00 00 je 801008c0 <consoleintr+0x110>
801007ec: 83 ff 7f cmp $0x7f,%edi
801007ef: 90 nop
801007f0: 75 53 jne 80100845 <consoleintr+0x95>
if(input.e != input.w){
801007f2: a1 a8 ff 10 80 mov 0x8010ffa8,%eax
801007f7: 3b 05 a4 ff 10 80 cmp 0x8010ffa4,%eax
801007fd: 74 d1 je 801007d0 <consoleintr+0x20>
input.e--;
801007ff: 83 e8 01 sub $0x1,%eax
80100802: a3 a8 ff 10 80 mov %eax,0x8010ffa8
consputc(BACKSPACE);
80100807: b8 00 01 00 00 mov $0x100,%eax
8010080c: e8 cf fb ff ff call 801003e0 <consputc>
while((c = getc()) >= 0){
80100811: ff d3 call *%ebx
80100813: 85 c0 test %eax,%eax
80100815: 89 c7 mov %eax,%edi
80100817: 79 bf jns 801007d8 <consoleintr+0x28>
80100819: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
release(&cons.lock);
80100820: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
80100827: e8 14 3d 00 00 call 80104540 <release>
if(doprocdump) {
8010082c: 85 f6 test %esi,%esi
8010082e: 0f 85 ec 00 00 00 jne 80100920 <consoleintr+0x170>
}
80100834: 83 c4 1c add $0x1c,%esp
80100837: 5b pop %ebx
80100838: 5e pop %esi
80100839: 5f pop %edi
8010083a: 5d pop %ebp
8010083b: c3 ret
8010083c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
switch(c){
80100840: 83 ff 08 cmp $0x8,%edi
80100843: 74 ad je 801007f2 <consoleintr+0x42>
if(c != 0 && input.e-input.r < INPUT_BUF){
80100845: 85 ff test %edi,%edi
80100847: 74 87 je 801007d0 <consoleintr+0x20>
80100849: a1 a8 ff 10 80 mov 0x8010ffa8,%eax
8010084e: 89 c2 mov %eax,%edx
80100850: 2b 15 a0 ff 10 80 sub 0x8010ffa0,%edx
80100856: 83 fa 7f cmp $0x7f,%edx
80100859: 0f 87 71 ff ff ff ja 801007d0 <consoleintr+0x20>
input.buf[input.e++ % INPUT_BUF] = c;
8010085f: 8d 50 01 lea 0x1(%eax),%edx
80100862: 83 e0 7f and $0x7f,%eax
c = (c == '\r') ? '\n' : c;
80100865: 83 ff 0d cmp $0xd,%edi
input.buf[input.e++ % INPUT_BUF] = c;
80100868: 89 15 a8 ff 10 80 mov %edx,0x8010ffa8
c = (c == '\r') ? '\n' : c;
8010086e: 0f 84 b8 00 00 00 je 8010092c <consoleintr+0x17c>
input.buf[input.e++ % INPUT_BUF] = c;
80100874: 89 f9 mov %edi,%ecx
80100876: 88 88 20 ff 10 80 mov %cl,-0x7fef00e0(%eax)
consputc(c);
8010087c: 89 f8 mov %edi,%eax
8010087e: e8 5d fb ff ff call 801003e0 <consputc>
if(c == '\n' || c == C('D') || input.e == input.r+INPUT_BUF){
80100883: 83 ff 04 cmp $0x4,%edi
80100886: a1 a8 ff 10 80 mov 0x8010ffa8,%eax
8010088b: 74 19 je 801008a6 <consoleintr+0xf6>
8010088d: 83 ff 0a cmp $0xa,%edi
80100890: 74 14 je 801008a6 <consoleintr+0xf6>
80100892: 8b 0d a0 ff 10 80 mov 0x8010ffa0,%ecx
80100898: 8d 91 80 00 00 00 lea 0x80(%ecx),%edx
8010089e: 39 d0 cmp %edx,%eax
801008a0: 0f 85 2a ff ff ff jne 801007d0 <consoleintr+0x20>
wakeup(&input.r);
801008a6: c7 04 24 a0 ff 10 80 movl $0x8010ffa0,(%esp)
input.w = input.e;
801008ad: a3 a4 ff 10 80 mov %eax,0x8010ffa4
wakeup(&input.r);
801008b2: e8 99 37 00 00 call 80104050 <wakeup>
801008b7: e9 14 ff ff ff jmp 801007d0 <consoleintr+0x20>
801008bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
while(input.e != input.w &&
801008c0: a1 a8 ff 10 80 mov 0x8010ffa8,%eax
801008c5: 3b 05 a4 ff 10 80 cmp 0x8010ffa4,%eax
801008cb: 75 2b jne 801008f8 <consoleintr+0x148>
801008cd: e9 fe fe ff ff jmp 801007d0 <consoleintr+0x20>
801008d2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
input.e--;
801008d8: a3 a8 ff 10 80 mov %eax,0x8010ffa8
consputc(BACKSPACE);
801008dd: b8 00 01 00 00 mov $0x100,%eax
801008e2: e8 f9 fa ff ff call 801003e0 <consputc>
while(input.e != input.w &&
801008e7: a1 a8 ff 10 80 mov 0x8010ffa8,%eax
801008ec: 3b 05 a4 ff 10 80 cmp 0x8010ffa4,%eax
801008f2: 0f 84 d8 fe ff ff je 801007d0 <consoleintr+0x20>
input.buf[(input.e-1) % INPUT_BUF] != '\n'){
801008f8: 83 e8 01 sub $0x1,%eax
801008fb: 89 c2 mov %eax,%edx
801008fd: 83 e2 7f and $0x7f,%edx
while(input.e != input.w &&
80100900: 80 ba 20 ff 10 80 0a cmpb $0xa,-0x7fef00e0(%edx)
80100907: 75 cf jne 801008d8 <consoleintr+0x128>
80100909: e9 c2 fe ff ff jmp 801007d0 <consoleintr+0x20>
8010090e: 66 90 xchg %ax,%ax
doprocdump = 1;
80100910: be 01 00 00 00 mov $0x1,%esi
80100915: e9 b6 fe ff ff jmp 801007d0 <consoleintr+0x20>
8010091a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
}
80100920: 83 c4 1c add $0x1c,%esp
80100923: 5b pop %ebx
80100924: 5e pop %esi
80100925: 5f pop %edi
80100926: 5d pop %ebp
procdump(); // now call procdump() wo. cons.lock held
80100927: e9 14 38 00 00 jmp 80104140 <procdump>
input.buf[input.e++ % INPUT_BUF] = c;
8010092c: c6 80 20 ff 10 80 0a movb $0xa,-0x7fef00e0(%eax)
consputc(c);
80100933: b8 0a 00 00 00 mov $0xa,%eax
80100938: e8 a3 fa ff ff call 801003e0 <consputc>
8010093d: a1 a8 ff 10 80 mov 0x8010ffa8,%eax
80100942: e9 5f ff ff ff jmp 801008a6 <consoleintr+0xf6>
80100947: 89 f6 mov %esi,%esi
80100949: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80100950 <consoleinit>:
void
consoleinit(void)
{
80100950: 55 push %ebp
80100951: 89 e5 mov %esp,%ebp
80100953: 83 ec 18 sub $0x18,%esp
initlock(&cons.lock, "console");
80100956: c7 44 24 04 88 70 10 movl $0x80107088,0x4(%esp)
8010095d: 80
8010095e: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp)
80100965: e8 f6 39 00 00 call 80104360 <initlock>
devsw[CONSOLE].write = consolewrite;
devsw[CONSOLE].read = consoleread;
cons.locking = 1;
ioapicenable(IRQ_KBD, 0);
8010096a: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80100971: 00
80100972: c7 04 24 01 00 00 00 movl $0x1,(%esp)
devsw[CONSOLE].write = consolewrite;
80100979: c7 05 6c 09 11 80 f0 movl $0x801005f0,0x8011096c
80100980: 05 10 80
devsw[CONSOLE].read = consoleread;
80100983: c7 05 68 09 11 80 70 movl $0x80100270,0x80110968
8010098a: 02 10 80
cons.locking = 1;
8010098d: c7 05 54 a5 10 80 01 movl $0x1,0x8010a554
80100994: 00 00 00
ioapicenable(IRQ_KBD, 0);
80100997: e8 14 19 00 00 call 801022b0 <ioapicenable>
}
8010099c: c9 leave
8010099d: c3 ret
8010099e: 66 90 xchg %ax,%ax
801009a0 <exec>:
#include "x86.h"
#include "elf.h"
int
exec(char *path, char **argv)
{
801009a0: 55 push %ebp
801009a1: 89 e5 mov %esp,%ebp
801009a3: 57 push %edi
801009a4: 56 push %esi
801009a5: 53 push %ebx
801009a6: 81 ec 2c 01 00 00 sub $0x12c,%esp
uint argc, sz, sp, ustack[3+MAXARG+1];
struct elfhdr elf;
struct inode *ip;
struct proghdr ph;
pde_t *pgdir, *oldpgdir;
struct proc *curproc = myproc();
801009ac: e8 3f 2d 00 00 call 801036f0 <myproc>
801009b1: 89 85 f4 fe ff ff mov %eax,-0x10c(%ebp)
begin_op();
801009b7: e8 54 21 00 00 call 80102b10 <begin_op>
if((ip = namei(path)) == 0){
801009bc: 8b 45 08 mov 0x8(%ebp),%eax
801009bf: 89 04 24 mov %eax,(%esp)
801009c2: e8 39 15 00 00 call 80101f00 <namei>
801009c7: 85 c0 test %eax,%eax
801009c9: 89 c3 mov %eax,%ebx
801009cb: 0f 84 c2 01 00 00 je 80100b93 <exec+0x1f3>
end_op();
cprintf("exec: fail\n");
return -1;
}
ilock(ip);
801009d1: 89 04 24 mov %eax,(%esp)
801009d4: e8 d7 0c 00 00 call 801016b0 <ilock>
pgdir = 0;
// Check ELF header
if(readi(ip, (char*)&elf, 0, sizeof(elf)) != sizeof(elf))
801009d9: 8d 85 24 ff ff ff lea -0xdc(%ebp),%eax
801009df: c7 44 24 0c 34 00 00 movl $0x34,0xc(%esp)
801009e6: 00
801009e7: c7 44 24 08 00 00 00 movl $0x0,0x8(%esp)
801009ee: 00
801009ef: 89 44 24 04 mov %eax,0x4(%esp)
801009f3: 89 1c 24 mov %ebx,(%esp)
801009f6: e8 65 0f 00 00 call 80101960 <readi>
801009fb: 83 f8 34 cmp $0x34,%eax
801009fe: 74 20 je 80100a20 <exec+0x80>
bad:
if(pgdir)
freevm(pgdir);
if(ip){
iunlockput(ip);
80100a00: 89 1c 24 mov %ebx,(%esp)
80100a03: e8 08 0f 00 00 call 80101910 <iunlockput>
end_op();
80100a08: e8 73 21 00 00 call 80102b80 <end_op>
}
return -1;
80100a0d: b8 ff ff ff ff mov $0xffffffff,%eax
}
80100a12: 81 c4 2c 01 00 00 add $0x12c,%esp
80100a18: 5b pop %ebx
80100a19: 5e pop %esi
80100a1a: 5f pop %edi
80100a1b: 5d pop %ebp
80100a1c: c3 ret
80100a1d: 8d 76 00 lea 0x0(%esi),%esi
if(elf.magic != ELF_MAGIC)
80100a20: 81 bd 24 ff ff ff 7f cmpl $0x464c457f,-0xdc(%ebp)
80100a27: 45 4c 46
80100a2a: 75 d4 jne 80100a00 <exec+0x60>
if((pgdir = setupkvm()) == 0)
80100a2c: e8 3f 63 00 00 call 80106d70 <setupkvm>
80100a31: 85 c0 test %eax,%eax
80100a33: 89 85 f0 fe ff ff mov %eax,-0x110(%ebp)
80100a39: 74 c5 je 80100a00 <exec+0x60>
for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
80100a3b: 66 83 bd 50 ff ff ff cmpw $0x0,-0xb0(%ebp)
80100a42: 00
80100a43: 8b b5 40 ff ff ff mov -0xc0(%ebp),%esi
sz = 0;
80100a49: c7 85 ec fe ff ff 00 movl $0x0,-0x114(%ebp)
80100a50: 00 00 00
for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
80100a53: 0f 84 da 00 00 00 je 80100b33 <exec+0x193>
80100a59: 31 ff xor %edi,%edi
80100a5b: eb 18 jmp 80100a75 <exec+0xd5>
80100a5d: 8d 76 00 lea 0x0(%esi),%esi
80100a60: 0f b7 85 50 ff ff ff movzwl -0xb0(%ebp),%eax
80100a67: 83 c7 01 add $0x1,%edi
80100a6a: 83 c6 20 add $0x20,%esi
80100a6d: 39 f8 cmp %edi,%eax
80100a6f: 0f 8e be 00 00 00 jle 80100b33 <exec+0x193>
if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph))
80100a75: 8d 85 04 ff ff ff lea -0xfc(%ebp),%eax
80100a7b: c7 44 24 0c 20 00 00 movl $0x20,0xc(%esp)
80100a82: 00
80100a83: 89 74 24 08 mov %esi,0x8(%esp)
80100a87: 89 44 24 04 mov %eax,0x4(%esp)
80100a8b: 89 1c 24 mov %ebx,(%esp)
80100a8e: e8 cd 0e 00 00 call 80101960 <readi>
80100a93: 83 f8 20 cmp $0x20,%eax
80100a96: 0f 85 84 00 00 00 jne 80100b20 <exec+0x180>
if(ph.type != ELF_PROG_LOAD)
80100a9c: 83 bd 04 ff ff ff 01 cmpl $0x1,-0xfc(%ebp)
80100aa3: 75 bb jne 80100a60 <exec+0xc0>
if(ph.memsz < ph.filesz)
80100aa5: 8b 85 18 ff ff ff mov -0xe8(%ebp),%eax
80100aab: 3b 85 14 ff ff ff cmp -0xec(%ebp),%eax
80100ab1: 72 6d jb 80100b20 <exec+0x180>
if(ph.vaddr + ph.memsz < ph.vaddr)
80100ab3: 03 85 0c ff ff ff add -0xf4(%ebp),%eax
80100ab9: 72 65 jb 80100b20 <exec+0x180>
if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0)
80100abb: 89 44 24 08 mov %eax,0x8(%esp)
80100abf: 8b 85 ec fe ff ff mov -0x114(%ebp),%eax
80100ac5: 89 44 24 04 mov %eax,0x4(%esp)
80100ac9: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100acf: 89 04 24 mov %eax,(%esp)
80100ad2: e8 09 61 00 00 call 80106be0 <allocuvm>
80100ad7: 85 c0 test %eax,%eax
80100ad9: 89 85 ec fe ff ff mov %eax,-0x114(%ebp)
80100adf: 74 3f je 80100b20 <exec+0x180>
if(ph.vaddr % PGSIZE != 0)
80100ae1: 8b 85 0c ff ff ff mov -0xf4(%ebp),%eax
80100ae7: a9 ff 0f 00 00 test $0xfff,%eax
80100aec: 75 32 jne 80100b20 <exec+0x180>
if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0)
80100aee: 8b 95 14 ff ff ff mov -0xec(%ebp),%edx
80100af4: 89 44 24 04 mov %eax,0x4(%esp)
80100af8: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100afe: 89 5c 24 08 mov %ebx,0x8(%esp)
80100b02: 89 54 24 10 mov %edx,0x10(%esp)
80100b06: 8b 95 08 ff ff ff mov -0xf8(%ebp),%edx
80100b0c: 89 04 24 mov %eax,(%esp)
80100b0f: 89 54 24 0c mov %edx,0xc(%esp)
80100b13: e8 08 60 00 00 call 80106b20 <loaduvm>
80100b18: 85 c0 test %eax,%eax
80100b1a: 0f 89 40 ff ff ff jns 80100a60 <exec+0xc0>
freevm(pgdir);
80100b20: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100b26: 89 04 24 mov %eax,(%esp)
80100b29: e8 c2 61 00 00 call 80106cf0 <freevm>
80100b2e: e9 cd fe ff ff jmp 80100a00 <exec+0x60>
iunlockput(ip);
80100b33: 89 1c 24 mov %ebx,(%esp)
80100b36: e8 d5 0d 00 00 call 80101910 <iunlockput>
80100b3b: 90 nop
80100b3c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
end_op();
80100b40: e8 3b 20 00 00 call 80102b80 <end_op>
sz = PGROUNDUP(sz);
80100b45: 8b 85 ec fe ff ff mov -0x114(%ebp),%eax
80100b4b: 05 ff 0f 00 00 add $0xfff,%eax
80100b50: 25 00 f0 ff ff and $0xfffff000,%eax
if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0)
80100b55: 8d 90 00 20 00 00 lea 0x2000(%eax),%edx
80100b5b: 89 44 24 04 mov %eax,0x4(%esp)
80100b5f: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100b65: 89 54 24 08 mov %edx,0x8(%esp)
80100b69: 89 04 24 mov %eax,(%esp)
80100b6c: e8 6f 60 00 00 call 80106be0 <allocuvm>
80100b71: 85 c0 test %eax,%eax
80100b73: 89 85 e8 fe ff ff mov %eax,-0x118(%ebp)
80100b79: 75 33 jne 80100bae <exec+0x20e>
freevm(pgdir);
80100b7b: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100b81: 89 04 24 mov %eax,(%esp)
80100b84: e8 67 61 00 00 call 80106cf0 <freevm>
return -1;
80100b89: b8 ff ff ff ff mov $0xffffffff,%eax
80100b8e: e9 7f fe ff ff jmp 80100a12 <exec+0x72>
end_op();
80100b93: e8 e8 1f 00 00 call 80102b80 <end_op>
cprintf("exec: fail\n");
80100b98: c7 04 24 a1 70 10 80 movl $0x801070a1,(%esp)
80100b9f: e8 ac fa ff ff call 80100650 <cprintf>
return -1;
80100ba4: b8 ff ff ff ff mov $0xffffffff,%eax
80100ba9: e9 64 fe ff ff jmp 80100a12 <exec+0x72>
clearpteu(pgdir, (char*)(sz - 2*PGSIZE));
80100bae: 8b 9d e8 fe ff ff mov -0x118(%ebp),%ebx
80100bb4: 89 d8 mov %ebx,%eax
80100bb6: 2d 00 20 00 00 sub $0x2000,%eax
80100bbb: 89 44 24 04 mov %eax,0x4(%esp)
80100bbf: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100bc5: 89 04 24 mov %eax,(%esp)
80100bc8: e8 53 62 00 00 call 80106e20 <clearpteu>
for(argc = 0; argv[argc]; argc++) {
80100bcd: 8b 45 0c mov 0xc(%ebp),%eax
80100bd0: 8b 00 mov (%eax),%eax
80100bd2: 85 c0 test %eax,%eax
80100bd4: 0f 84 59 01 00 00 je 80100d33 <exec+0x393>
80100bda: 8b 4d 0c mov 0xc(%ebp),%ecx
80100bdd: 31 d2 xor %edx,%edx
80100bdf: 8d 71 04 lea 0x4(%ecx),%esi
80100be2: 89 cf mov %ecx,%edi
80100be4: 89 d1 mov %edx,%ecx
80100be6: 89 f2 mov %esi,%edx
80100be8: 89 fe mov %edi,%esi
80100bea: 89 cf mov %ecx,%edi
80100bec: eb 0a jmp 80100bf8 <exec+0x258>
80100bee: 66 90 xchg %ax,%ax
80100bf0: 83 c2 04 add $0x4,%edx
if(argc >= MAXARG)
80100bf3: 83 ff 20 cmp $0x20,%edi
80100bf6: 74 83 je 80100b7b <exec+0x1db>
sp = (sp - (strlen(argv[argc]) + 1)) & ~3;
80100bf8: 89 04 24 mov %eax,(%esp)
80100bfb: 89 95 ec fe ff ff mov %edx,-0x114(%ebp)
80100c01: e8 aa 3b 00 00 call 801047b0 <strlen>
80100c06: f7 d0 not %eax
80100c08: 01 c3 add %eax,%ebx
if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0)
80100c0a: 8b 06 mov (%esi),%eax
sp = (sp - (strlen(argv[argc]) + 1)) & ~3;
80100c0c: 83 e3 fc and $0xfffffffc,%ebx
if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0)
80100c0f: 89 04 24 mov %eax,(%esp)
80100c12: e8 99 3b 00 00 call 801047b0 <strlen>
80100c17: 83 c0 01 add $0x1,%eax
80100c1a: 89 44 24 0c mov %eax,0xc(%esp)
80100c1e: 8b 06 mov (%esi),%eax
80100c20: 89 5c 24 04 mov %ebx,0x4(%esp)
80100c24: 89 44 24 08 mov %eax,0x8(%esp)
80100c28: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100c2e: 89 04 24 mov %eax,(%esp)
80100c31: e8 4a 63 00 00 call 80106f80 <copyout>
80100c36: 85 c0 test %eax,%eax
80100c38: 0f 88 3d ff ff ff js 80100b7b <exec+0x1db>
for(argc = 0; argv[argc]; argc++) {
80100c3e: 8b 95 ec fe ff ff mov -0x114(%ebp),%edx
ustack[3+argc] = sp;
80100c44: 8d 8d 58 ff ff ff lea -0xa8(%ebp),%ecx
80100c4a: 89 9c bd 64 ff ff ff mov %ebx,-0x9c(%ebp,%edi,4)
for(argc = 0; argv[argc]; argc++) {
80100c51: 83 c7 01 add $0x1,%edi
80100c54: 8b 02 mov (%edx),%eax
80100c56: 89 d6 mov %edx,%esi
80100c58: 85 c0 test %eax,%eax
80100c5a: 75 94 jne 80100bf0 <exec+0x250>
80100c5c: 89 fa mov %edi,%edx
ustack[3+argc] = 0;
80100c5e: c7 84 95 64 ff ff ff movl $0x0,-0x9c(%ebp,%edx,4)
80100c65: 00 00 00 00
ustack[2] = sp - (argc+1)*4; // argv pointer
80100c69: 8d 04 95 04 00 00 00 lea 0x4(,%edx,4),%eax
ustack[1] = argc;
80100c70: 89 95 5c ff ff ff mov %edx,-0xa4(%ebp)
ustack[2] = sp - (argc+1)*4; // argv pointer
80100c76: 89 da mov %ebx,%edx
80100c78: 29 c2 sub %eax,%edx
sp -= (3+argc+1) * 4;
80100c7a: 83 c0 0c add $0xc,%eax
80100c7d: 29 c3 sub %eax,%ebx
if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0)
80100c7f: 89 44 24 0c mov %eax,0xc(%esp)
80100c83: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100c89: 89 4c 24 08 mov %ecx,0x8(%esp)
80100c8d: 89 5c 24 04 mov %ebx,0x4(%esp)
ustack[0] = 0xffffffff; // fake return PC
80100c91: c7 85 58 ff ff ff ff movl $0xffffffff,-0xa8(%ebp)
80100c98: ff ff ff
if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0)
80100c9b: 89 04 24 mov %eax,(%esp)
ustack[2] = sp - (argc+1)*4; // argv pointer
80100c9e: 89 95 60 ff ff ff mov %edx,-0xa0(%ebp)
if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0)
80100ca4: e8 d7 62 00 00 call 80106f80 <copyout>
80100ca9: 85 c0 test %eax,%eax
80100cab: 0f 88 ca fe ff ff js 80100b7b <exec+0x1db>
for(last=s=path; *s; s++)
80100cb1: 8b 45 08 mov 0x8(%ebp),%eax
80100cb4: 0f b6 10 movzbl (%eax),%edx
80100cb7: 84 d2 test %dl,%dl
80100cb9: 74 19 je 80100cd4 <exec+0x334>
80100cbb: 8b 4d 08 mov 0x8(%ebp),%ecx
80100cbe: 83 c0 01 add $0x1,%eax
last = s+1;
80100cc1: 80 fa 2f cmp $0x2f,%dl
for(last=s=path; *s; s++)
80100cc4: 0f b6 10 movzbl (%eax),%edx
last = s+1;
80100cc7: 0f 44 c8 cmove %eax,%ecx
80100cca: 83 c0 01 add $0x1,%eax
for(last=s=path; *s; s++)
80100ccd: 84 d2 test %dl,%dl
80100ccf: 75 f0 jne 80100cc1 <exec+0x321>
80100cd1: 89 4d 08 mov %ecx,0x8(%ebp)
safestrcpy(curproc->name, last, sizeof(curproc->name));
80100cd4: 8b bd f4 fe ff ff mov -0x10c(%ebp),%edi
80100cda: 8b 45 08 mov 0x8(%ebp),%eax
80100cdd: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp)
80100ce4: 00
80100ce5: 89 44 24 04 mov %eax,0x4(%esp)
80100ce9: 89 f8 mov %edi,%eax
80100ceb: 83 c0 6c add $0x6c,%eax
80100cee: 89 04 24 mov %eax,(%esp)
80100cf1: e8 7a 3a 00 00 call 80104770 <safestrcpy>
curproc->pgdir = pgdir;
80100cf6: 8b 8d f0 fe ff ff mov -0x110(%ebp),%ecx
oldpgdir = curproc->pgdir;
80100cfc: 8b 77 04 mov 0x4(%edi),%esi
curproc->tf->eip = elf.entry; // main
80100cff: 8b 47 18 mov 0x18(%edi),%eax
curproc->pgdir = pgdir;
80100d02: 89 4f 04 mov %ecx,0x4(%edi)
curproc->sz = sz;
80100d05: 8b 8d e8 fe ff ff mov -0x118(%ebp),%ecx
80100d0b: 89 0f mov %ecx,(%edi)
curproc->tf->eip = elf.entry; // main
80100d0d: 8b 95 3c ff ff ff mov -0xc4(%ebp),%edx
80100d13: 89 50 38 mov %edx,0x38(%eax)
curproc->tf->esp = sp;
80100d16: 8b 47 18 mov 0x18(%edi),%eax
80100d19: 89 58 44 mov %ebx,0x44(%eax)
switchuvm(curproc);
80100d1c: 89 3c 24 mov %edi,(%esp)
80100d1f: e8 6c 5c 00 00 call 80106990 <switchuvm>
freevm(oldpgdir);
80100d24: 89 34 24 mov %esi,(%esp)
80100d27: e8 c4 5f 00 00 call 80106cf0 <freevm>
return 0;
80100d2c: 31 c0 xor %eax,%eax
80100d2e: e9 df fc ff ff jmp 80100a12 <exec+0x72>
for(argc = 0; argv[argc]; argc++) {
80100d33: 8b 9d e8 fe ff ff mov -0x118(%ebp),%ebx
80100d39: 31 d2 xor %edx,%edx
80100d3b: 8d 8d 58 ff ff ff lea -0xa8(%ebp),%ecx
80100d41: e9 18 ff ff ff jmp 80100c5e <exec+0x2be>
80100d46: 66 90 xchg %ax,%ax
80100d48: 66 90 xchg %ax,%ax
80100d4a: 66 90 xchg %ax,%ax
80100d4c: 66 90 xchg %ax,%ax
80100d4e: 66 90 xchg %ax,%ax
80100d50 <fileinit>:
80100d50: 55 push %ebp
80100d51: 89 e5 mov %esp,%ebp
80100d53: 83 ec 18 sub $0x18,%esp
80100d56: c7 44 24 04 ad 70 10 movl $0x801070ad,0x4(%esp)
80100d5d: 80
80100d5e: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100d65: e8 f6 35 00 00 call 80104360 <initlock>
80100d6a: c9 leave
80100d6b: c3 ret
80100d6c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80100d70 <filealloc>:
80100d70: 55 push %ebp
80100d71: 89 e5 mov %esp,%ebp
80100d73: 53 push %ebx
80100d74: bb f4 ff 10 80 mov $0x8010fff4,%ebx
80100d79: 83 ec 14 sub $0x14,%esp
80100d7c: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100d83: e8 48 37 00 00 call 801044d0 <acquire>
80100d88: eb 11 jmp 80100d9b <filealloc+0x2b>
80100d8a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80100d90: 83 c3 18 add $0x18,%ebx
80100d93: 81 fb 54 09 11 80 cmp $0x80110954,%ebx
80100d99: 74 25 je 80100dc0 <filealloc+0x50>
80100d9b: 8b 43 04 mov 0x4(%ebx),%eax
80100d9e: 85 c0 test %eax,%eax
80100da0: 75 ee jne 80100d90 <filealloc+0x20>
80100da2: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100da9: c7 43 04 01 00 00 00 movl $0x1,0x4(%ebx)
80100db0: e8 8b 37 00 00 call 80104540 <release>
80100db5: 83 c4 14 add $0x14,%esp
80100db8: 89 d8 mov %ebx,%eax
80100dba: 5b pop %ebx
80100dbb: 5d pop %ebp
80100dbc: c3 ret
80100dbd: 8d 76 00 lea 0x0(%esi),%esi
80100dc0: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100dc7: e8 74 37 00 00 call 80104540 <release>
80100dcc: 83 c4 14 add $0x14,%esp
80100dcf: 31 c0 xor %eax,%eax
80100dd1: 5b pop %ebx
80100dd2: 5d pop %ebp
80100dd3: c3 ret
80100dd4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80100dda: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80100de0 <filedup>:
80100de0: 55 push %ebp
80100de1: 89 e5 mov %esp,%ebp
80100de3: 53 push %ebx
80100de4: 83 ec 14 sub $0x14,%esp
80100de7: 8b 5d 08 mov 0x8(%ebp),%ebx
80100dea: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100df1: e8 da 36 00 00 call 801044d0 <acquire>
80100df6: 8b 43 04 mov 0x4(%ebx),%eax
80100df9: 85 c0 test %eax,%eax
80100dfb: 7e 1a jle 80100e17 <filedup+0x37>
80100dfd: 83 c0 01 add $0x1,%eax
80100e00: 89 43 04 mov %eax,0x4(%ebx)
80100e03: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100e0a: e8 31 37 00 00 call 80104540 <release>
80100e0f: 83 c4 14 add $0x14,%esp
80100e12: 89 d8 mov %ebx,%eax
80100e14: 5b pop %ebx
80100e15: 5d pop %ebp
80100e16: c3 ret
80100e17: c7 04 24 b4 70 10 80 movl $0x801070b4,(%esp)
80100e1e: e8 3d f5 ff ff call 80100360 <panic>
80100e23: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80100e29: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80100e30 <fileclose>:
80100e30: 55 push %ebp
80100e31: 89 e5 mov %esp,%ebp
80100e33: 57 push %edi
80100e34: 56 push %esi
80100e35: 53 push %ebx
80100e36: 83 ec 1c sub $0x1c,%esp
80100e39: 8b 7d 08 mov 0x8(%ebp),%edi
80100e3c: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100e43: e8 88 36 00 00 call 801044d0 <acquire>
80100e48: 8b 57 04 mov 0x4(%edi),%edx
80100e4b: 85 d2 test %edx,%edx
80100e4d: 0f 8e 89 00 00 00 jle 80100edc <fileclose+0xac>
80100e53: 83 ea 01 sub $0x1,%edx
80100e56: 85 d2 test %edx,%edx
80100e58: 89 57 04 mov %edx,0x4(%edi)
80100e5b: 74 13 je 80100e70 <fileclose+0x40>
80100e5d: c7 45 08 c0 ff 10 80 movl $0x8010ffc0,0x8(%ebp)
80100e64: 83 c4 1c add $0x1c,%esp
80100e67: 5b pop %ebx
80100e68: 5e pop %esi
80100e69: 5f pop %edi
80100e6a: 5d pop %ebp
80100e6b: e9 d0 36 00 00 jmp 80104540 <release>
80100e70: 0f b6 47 09 movzbl 0x9(%edi),%eax
80100e74: 8b 37 mov (%edi),%esi
80100e76: 8b 5f 0c mov 0xc(%edi),%ebx
80100e79: c7 07 00 00 00 00 movl $0x0,(%edi)
80100e7f: 88 45 e7 mov %al,-0x19(%ebp)
80100e82: 8b 47 10 mov 0x10(%edi),%eax
80100e85: c7 04 24 c0 ff 10 80 movl $0x8010ffc0,(%esp)
80100e8c: 89 45 e0 mov %eax,-0x20(%ebp)
80100e8f: e8 ac 36 00 00 call 80104540 <release>
80100e94: 83 fe 01 cmp $0x1,%esi
80100e97: 74 0f je 80100ea8 <fileclose+0x78>
80100e99: 83 fe 02 cmp $0x2,%esi
80100e9c: 74 22 je 80100ec0 <fileclose+0x90>
80100e9e: 83 c4 1c add $0x1c,%esp
80100ea1: 5b pop %ebx
80100ea2: 5e pop %esi
80100ea3: 5f pop %edi
80100ea4: 5d pop %ebp
80100ea5: c3 ret
80100ea6: 66 90 xchg %ax,%ax
80100ea8: 0f be 75 e7 movsbl -0x19(%ebp),%esi
80100eac: 89 1c 24 mov %ebx,(%esp)
80100eaf: 89 74 24 04 mov %esi,0x4(%esp)
80100eb3: e8 a8 23 00 00 call 80103260 <pipeclose>
80100eb8: eb e4 jmp 80100e9e <fileclose+0x6e>
80100eba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80100ec0: e8 4b 1c 00 00 call 80102b10 <begin_op>
80100ec5: 8b 45 e0 mov -0x20(%ebp),%eax
80100ec8: 89 04 24 mov %eax,(%esp)
80100ecb: e8 00 09 00 00 call 801017d0 <iput>
80100ed0: 83 c4 1c add $0x1c,%esp
80100ed3: 5b pop %ebx
80100ed4: 5e pop %esi
80100ed5: 5f pop %edi
80100ed6: 5d pop %ebp
80100ed7: e9 a4 1c 00 00 jmp 80102b80 <end_op>
80100edc: c7 04 24 bc 70 10 80 movl $0x801070bc,(%esp)
80100ee3: e8 78 f4 ff ff call 80100360 <panic>
80100ee8: 90 nop
80100ee9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80100ef0 <filestat>:
80100ef0: 55 push %ebp
80100ef1: 89 e5 mov %esp,%ebp
80100ef3: 53 push %ebx
80100ef4: 83 ec 14 sub $0x14,%esp
80100ef7: 8b 5d 08 mov 0x8(%ebp),%ebx
80100efa: 83 3b 02 cmpl $0x2,(%ebx)
80100efd: 75 31 jne 80100f30 <filestat+0x40>
80100eff: 8b 43 10 mov 0x10(%ebx),%eax
80100f02: 89 04 24 mov %eax,(%esp)
80100f05: e8 a6 07 00 00 call 801016b0 <ilock>
80100f0a: 8b 45 0c mov 0xc(%ebp),%eax
80100f0d: 89 44 24 04 mov %eax,0x4(%esp)
80100f11: 8b 43 10 mov 0x10(%ebx),%eax
80100f14: 89 04 24 mov %eax,(%esp)
80100f17: e8 14 0a 00 00 call 80101930 <stati>
80100f1c: 8b 43 10 mov 0x10(%ebx),%eax
80100f1f: 89 04 24 mov %eax,(%esp)
80100f22: e8 69 08 00 00 call 80101790 <iunlock>
80100f27: 83 c4 14 add $0x14,%esp
80100f2a: 31 c0 xor %eax,%eax
80100f2c: 5b pop %ebx
80100f2d: 5d pop %ebp
80100f2e: c3 ret
80100f2f: 90 nop
80100f30: 83 c4 14 add $0x14,%esp
80100f33: b8 ff ff ff ff mov $0xffffffff,%eax
80100f38: 5b pop %ebx
80100f39: 5d pop %ebp
80100f3a: c3 ret
80100f3b: 90 nop
80100f3c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80100f40 <fileread>:
80100f40: 55 push %ebp
80100f41: 89 e5 mov %esp,%ebp
80100f43: 57 push %edi
80100f44: 56 push %esi
80100f45: 53 push %ebx
80100f46: 83 ec 1c sub $0x1c,%esp
80100f49: 8b 5d 08 mov 0x8(%ebp),%ebx
80100f4c: 8b 75 0c mov 0xc(%ebp),%esi
80100f4f: 8b 7d 10 mov 0x10(%ebp),%edi
80100f52: 80 7b 08 00 cmpb $0x0,0x8(%ebx)
80100f56: 74 68 je 80100fc0 <fileread+0x80>
80100f58: 8b 03 mov (%ebx),%eax
80100f5a: 83 f8 01 cmp $0x1,%eax
80100f5d: 74 49 je 80100fa8 <fileread+0x68>
80100f5f: 83 f8 02 cmp $0x2,%eax
80100f62: 75 63 jne 80100fc7 <fileread+0x87>
80100f64: 8b 43 10 mov 0x10(%ebx),%eax
80100f67: 89 04 24 mov %eax,(%esp)
80100f6a: e8 41 07 00 00 call 801016b0 <ilock>
80100f6f: 89 7c 24 0c mov %edi,0xc(%esp)
80100f73: 8b 43 14 mov 0x14(%ebx),%eax
80100f76: 89 74 24 04 mov %esi,0x4(%esp)
80100f7a: 89 44 24 08 mov %eax,0x8(%esp)
80100f7e: 8b 43 10 mov 0x10(%ebx),%eax
80100f81: 89 04 24 mov %eax,(%esp)
80100f84: e8 d7 09 00 00 call 80101960 <readi>
80100f89: 85 c0 test %eax,%eax
80100f8b: 89 c6 mov %eax,%esi
80100f8d: 7e 03 jle 80100f92 <fileread+0x52>
80100f8f: 01 43 14 add %eax,0x14(%ebx)
80100f92: 8b 43 10 mov 0x10(%ebx),%eax
80100f95: 89 04 24 mov %eax,(%esp)
80100f98: e8 f3 07 00 00 call 80101790 <iunlock>
80100f9d: 89 f0 mov %esi,%eax
80100f9f: 83 c4 1c add $0x1c,%esp
80100fa2: 5b pop %ebx
80100fa3: 5e pop %esi
80100fa4: 5f pop %edi
80100fa5: 5d pop %ebp
80100fa6: c3 ret
80100fa7: 90 nop
80100fa8: 8b 43 0c mov 0xc(%ebx),%eax
80100fab: 89 45 08 mov %eax,0x8(%ebp)
80100fae: 83 c4 1c add $0x1c,%esp
80100fb1: 5b pop %ebx
80100fb2: 5e pop %esi
80100fb3: 5f pop %edi
80100fb4: 5d pop %ebp
80100fb5: e9 26 24 00 00 jmp 801033e0 <piperead>
80100fba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80100fc0: b8 ff ff ff ff mov $0xffffffff,%eax
80100fc5: eb d8 jmp 80100f9f <fileread+0x5f>
80100fc7: c7 04 24 c6 70 10 80 movl $0x801070c6,(%esp)
80100fce: e8 8d f3 ff ff call 80100360 <panic>
80100fd3: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80100fd9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80100fe0 <filewrite>:
80100fe0: 55 push %ebp
80100fe1: 89 e5 mov %esp,%ebp
80100fe3: 57 push %edi
80100fe4: 56 push %esi
80100fe5: 53 push %ebx
80100fe6: 83 ec 2c sub $0x2c,%esp
80100fe9: 8b 45 0c mov 0xc(%ebp),%eax
80100fec: 8b 7d 08 mov 0x8(%ebp),%edi
80100fef: 89 45 dc mov %eax,-0x24(%ebp)
80100ff2: 8b 45 10 mov 0x10(%ebp),%eax
80100ff5: 80 7f 09 00 cmpb $0x0,0x9(%edi)
80100ff9: 89 45 e4 mov %eax,-0x1c(%ebp)
80100ffc: 0f 84 ae 00 00 00 je 801010b0 <filewrite+0xd0>
80101002: 8b 07 mov (%edi),%eax
80101004: 83 f8 01 cmp $0x1,%eax
80101007: 0f 84 c2 00 00 00 je 801010cf <filewrite+0xef>
8010100d: 83 f8 02 cmp $0x2,%eax
80101010: 0f 85 d7 00 00 00 jne 801010ed <filewrite+0x10d>
80101016: 8b 45 e4 mov -0x1c(%ebp),%eax
80101019: 31 db xor %ebx,%ebx
8010101b: 85 c0 test %eax,%eax
8010101d: 7f 31 jg 80101050 <filewrite+0x70>
8010101f: e9 9c 00 00 00 jmp 801010c0 <filewrite+0xe0>
80101024: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101028: 8b 4f 10 mov 0x10(%edi),%ecx
8010102b: 01 47 14 add %eax,0x14(%edi)
8010102e: 89 45 e0 mov %eax,-0x20(%ebp)
80101031: 89 0c 24 mov %ecx,(%esp)
80101034: e8 57 07 00 00 call 80101790 <iunlock>
80101039: e8 42 1b 00 00 call 80102b80 <end_op>
8010103e: 8b 45 e0 mov -0x20(%ebp),%eax
80101041: 39 f0 cmp %esi,%eax
80101043: 0f 85 98 00 00 00 jne 801010e1 <filewrite+0x101>
80101049: 01 c3 add %eax,%ebx
8010104b: 39 5d e4 cmp %ebx,-0x1c(%ebp)
8010104e: 7e 70 jle 801010c0 <filewrite+0xe0>
80101050: 8b 75 e4 mov -0x1c(%ebp),%esi
80101053: b8 00 06 00 00 mov $0x600,%eax
80101058: 29 de sub %ebx,%esi
8010105a: 81 fe 00 06 00 00 cmp $0x600,%esi
80101060: 0f 4f f0 cmovg %eax,%esi
80101063: e8 a8 1a 00 00 call 80102b10 <begin_op>
80101068: 8b 47 10 mov 0x10(%edi),%eax
8010106b: 89 04 24 mov %eax,(%esp)
8010106e: e8 3d 06 00 00 call 801016b0 <ilock>
80101073: 89 74 24 0c mov %esi,0xc(%esp)
80101077: 8b 47 14 mov 0x14(%edi),%eax
8010107a: 89 44 24 08 mov %eax,0x8(%esp)
8010107e: 8b 45 dc mov -0x24(%ebp),%eax
80101081: 01 d8 add %ebx,%eax
80101083: 89 44 24 04 mov %eax,0x4(%esp)
80101087: 8b 47 10 mov 0x10(%edi),%eax
8010108a: 89 04 24 mov %eax,(%esp)
8010108d: e8 ce 09 00 00 call 80101a60 <writei>
80101092: 85 c0 test %eax,%eax
80101094: 7f 92 jg 80101028 <filewrite+0x48>
80101096: 8b 4f 10 mov 0x10(%edi),%ecx
80101099: 89 45 e0 mov %eax,-0x20(%ebp)
8010109c: 89 0c 24 mov %ecx,(%esp)
8010109f: e8 ec 06 00 00 call 80101790 <iunlock>
801010a4: e8 d7 1a 00 00 call 80102b80 <end_op>
801010a9: 8b 45 e0 mov -0x20(%ebp),%eax
801010ac: 85 c0 test %eax,%eax
801010ae: 74 91 je 80101041 <filewrite+0x61>
801010b0: 83 c4 2c add $0x2c,%esp
801010b3: b8 ff ff ff ff mov $0xffffffff,%eax
801010b8: 5b pop %ebx
801010b9: 5e pop %esi
801010ba: 5f pop %edi
801010bb: 5d pop %ebp
801010bc: c3 ret
801010bd: 8d 76 00 lea 0x0(%esi),%esi
801010c0: 3b 5d e4 cmp -0x1c(%ebp),%ebx
801010c3: 89 d8 mov %ebx,%eax
801010c5: 75 e9 jne 801010b0 <filewrite+0xd0>
801010c7: 83 c4 2c add $0x2c,%esp
801010ca: 5b pop %ebx
801010cb: 5e pop %esi
801010cc: 5f pop %edi
801010cd: 5d pop %ebp
801010ce: c3 ret
801010cf: 8b 47 0c mov 0xc(%edi),%eax
801010d2: 89 45 08 mov %eax,0x8(%ebp)
801010d5: 83 c4 2c add $0x2c,%esp
801010d8: 5b pop %ebx
801010d9: 5e pop %esi
801010da: 5f pop %edi
801010db: 5d pop %ebp
801010dc: e9 0f 22 00 00 jmp 801032f0 <pipewrite>
801010e1: c7 04 24 cf 70 10 80 movl $0x801070cf,(%esp)
801010e8: e8 73 f2 ff ff call 80100360 <panic>
801010ed: c7 04 24 d5 70 10 80 movl $0x801070d5,(%esp)
801010f4: e8 67 f2 ff ff call 80100360 <panic>
801010f9: 66 90 xchg %ax,%ax
801010fb: 66 90 xchg %ax,%ax
801010fd: 66 90 xchg %ax,%ax
801010ff: 90 nop
80101100 <bfree>:
}
// Free a disk block.
static void
bfree(int dev, uint b)
{
80101100: 55 push %ebp
80101101: 89 e5 mov %esp,%ebp
80101103: 57 push %edi
80101104: 89 d7 mov %edx,%edi
80101106: 56 push %esi
80101107: 53 push %ebx
struct buf *bp;
int bi, m;
bp = bread(dev, BBLOCK(b, sb));
bi = b % BPB;
m = 1 << (bi % 8);
80101108: bb 01 00 00 00 mov $0x1,%ebx
{
8010110d: 83 ec 1c sub $0x1c,%esp
bp = bread(dev, BBLOCK(b, sb));
80101110: c1 ea 0c shr $0xc,%edx
80101113: 03 15 d8 09 11 80 add 0x801109d8,%edx
80101119: 89 04 24 mov %eax,(%esp)
8010111c: 89 54 24 04 mov %edx,0x4(%esp)
80101120: e8 ab ef ff ff call 801000d0 <bread>
m = 1 << (bi % 8);
80101125: 89 f9 mov %edi,%ecx
bi = b % BPB;
80101127: 81 e7 ff 0f 00 00 and $0xfff,%edi
8010112d: 89 fa mov %edi,%edx
m = 1 << (bi % 8);
8010112f: 83 e1 07 and $0x7,%ecx
if((bp->data[bi/8] & m) == 0)
80101132: c1 fa 03 sar $0x3,%edx
m = 1 << (bi % 8);
80101135: d3 e3 shl %cl,%ebx
bp = bread(dev, BBLOCK(b, sb));
80101137: 89 c6 mov %eax,%esi
if((bp->data[bi/8] & m) == 0)
80101139: 0f b6 44 10 5c movzbl 0x5c(%eax,%edx,1),%eax
8010113e: 0f b6 c8 movzbl %al,%ecx
80101141: 85 d9 test %ebx,%ecx
80101143: 74 20 je 80101165 <bfree+0x65>
panic("freeing free block");
bp->data[bi/8] &= ~m;
80101145: f7 d3 not %ebx
80101147: 21 c3 and %eax,%ebx
80101149: 88 5c 16 5c mov %bl,0x5c(%esi,%edx,1)
log_write(bp);
8010114d: 89 34 24 mov %esi,(%esp)
80101150: e8 5b 1b 00 00 call 80102cb0 <log_write>
brelse(bp);
80101155: 89 34 24 mov %esi,(%esp)
80101158: e8 83 f0 ff ff call 801001e0 <brelse>
}
8010115d: 83 c4 1c add $0x1c,%esp
80101160: 5b pop %ebx
80101161: 5e pop %esi
80101162: 5f pop %edi
80101163: 5d pop %ebp
80101164: c3 ret
panic("freeing free block");
80101165: c7 04 24 df 70 10 80 movl $0x801070df,(%esp)
8010116c: e8 ef f1 ff ff call 80100360 <panic>
80101171: eb 0d jmp 80101180 <balloc>
80101173: 90 nop
80101174: 90 nop
80101175: 90 nop
80101176: 90 nop
80101177: 90 nop
80101178: 90 nop
80101179: 90 nop
8010117a: 90 nop
8010117b: 90 nop
8010117c: 90 nop
8010117d: 90 nop
8010117e: 90 nop
8010117f: 90 nop
80101180 <balloc>:
{
80101180: 55 push %ebp
80101181: 89 e5 mov %esp,%ebp
80101183: 57 push %edi
80101184: 56 push %esi
80101185: 53 push %ebx
80101186: 83 ec 2c sub $0x2c,%esp
80101189: 89 45 d8 mov %eax,-0x28(%ebp)
for(b = 0; b < sb.size; b += BPB){
8010118c: a1 c0 09 11 80 mov 0x801109c0,%eax
80101191: 85 c0 test %eax,%eax
80101193: 0f 84 8c 00 00 00 je 80101225 <balloc+0xa5>
80101199: c7 45 dc 00 00 00 00 movl $0x0,-0x24(%ebp)
bp = bread(dev, BBLOCK(b, sb));
801011a0: 8b 75 dc mov -0x24(%ebp),%esi
801011a3: 89 f0 mov %esi,%eax
801011a5: c1 f8 0c sar $0xc,%eax
801011a8: 03 05 d8 09 11 80 add 0x801109d8,%eax
801011ae: 89 44 24 04 mov %eax,0x4(%esp)
801011b2: 8b 45 d8 mov -0x28(%ebp),%eax
801011b5: 89 04 24 mov %eax,(%esp)
801011b8: e8 13 ef ff ff call 801000d0 <bread>
801011bd: 89 45 e4 mov %eax,-0x1c(%ebp)
801011c0: a1 c0 09 11 80 mov 0x801109c0,%eax
801011c5: 89 45 e0 mov %eax,-0x20(%ebp)
for(bi = 0; bi < BPB && b + bi < sb.size; bi++){
801011c8: 31 c0 xor %eax,%eax
801011ca: eb 33 jmp 801011ff <balloc+0x7f>
801011cc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
if((bp->data[bi/8] & m) == 0){ // Is block free?
801011d0: 8b 5d e4 mov -0x1c(%ebp),%ebx
801011d3: 89 c2 mov %eax,%edx
m = 1 << (bi % 8);
801011d5: 89 c1 mov %eax,%ecx
if((bp->data[bi/8] & m) == 0){ // Is block free?
801011d7: c1 fa 03 sar $0x3,%edx
m = 1 << (bi % 8);
801011da: 83 e1 07 and $0x7,%ecx
801011dd: bf 01 00 00 00 mov $0x1,%edi
801011e2: d3 e7 shl %cl,%edi
if((bp->data[bi/8] & m) == 0){ // Is block free?
801011e4: 0f b6 5c 13 5c movzbl 0x5c(%ebx,%edx,1),%ebx
m = 1 << (bi % 8);
801011e9: 89 f9 mov %edi,%ecx
if((bp->data[bi/8] & m) == 0){ // Is block free?
801011eb: 0f b6 fb movzbl %bl,%edi
801011ee: 85 cf test %ecx,%edi
801011f0: 74 46 je 80101238 <balloc+0xb8>
for(bi = 0; bi < BPB && b + bi < sb.size; bi++){
801011f2: 83 c0 01 add $0x1,%eax
801011f5: 83 c6 01 add $0x1,%esi
801011f8: 3d 00 10 00 00 cmp $0x1000,%eax
801011fd: 74 05 je 80101204 <balloc+0x84>
801011ff: 3b 75 e0 cmp -0x20(%ebp),%esi
80101202: 72 cc jb 801011d0 <balloc+0x50>
brelse(bp);
80101204: 8b 45 e4 mov -0x1c(%ebp),%eax
80101207: 89 04 24 mov %eax,(%esp)
8010120a: e8 d1 ef ff ff call 801001e0 <brelse>
for(b = 0; b < sb.size; b += BPB){
8010120f: 81 45 dc 00 10 00 00 addl $0x1000,-0x24(%ebp)
80101216: 8b 45 dc mov -0x24(%ebp),%eax
80101219: 3b 05 c0 09 11 80 cmp 0x801109c0,%eax
8010121f: 0f 82 7b ff ff ff jb 801011a0 <balloc+0x20>
panic("balloc: out of blocks");
80101225: c7 04 24 f2 70 10 80 movl $0x801070f2,(%esp)
8010122c: e8 2f f1 ff ff call 80100360 <panic>
80101231: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
bp->data[bi/8] |= m; // Mark block in use.
80101238: 09 d9 or %ebx,%ecx
8010123a: 8b 5d e4 mov -0x1c(%ebp),%ebx
8010123d: 88 4c 13 5c mov %cl,0x5c(%ebx,%edx,1)
log_write(bp);
80101241: 89 1c 24 mov %ebx,(%esp)
80101244: e8 67 1a 00 00 call 80102cb0 <log_write>
brelse(bp);
80101249: 89 1c 24 mov %ebx,(%esp)
8010124c: e8 8f ef ff ff call 801001e0 <brelse>
bp = bread(dev, bno);
80101251: 8b 45 d8 mov -0x28(%ebp),%eax
80101254: 89 74 24 04 mov %esi,0x4(%esp)
80101258: 89 04 24 mov %eax,(%esp)
8010125b: e8 70 ee ff ff call 801000d0 <bread>
memset(bp->data, 0, BSIZE);
80101260: c7 44 24 08 00 02 00 movl $0x200,0x8(%esp)
80101267: 00
80101268: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
8010126f: 00
bp = bread(dev, bno);
80101270: 89 c3 mov %eax,%ebx
memset(bp->data, 0, BSIZE);
80101272: 8d 40 5c lea 0x5c(%eax),%eax
80101275: 89 04 24 mov %eax,(%esp)
80101278: e8 13 33 00 00 call 80104590 <memset>
log_write(bp);
8010127d: 89 1c 24 mov %ebx,(%esp)
80101280: e8 2b 1a 00 00 call 80102cb0 <log_write>
brelse(bp);
80101285: 89 1c 24 mov %ebx,(%esp)
80101288: e8 53 ef ff ff call 801001e0 <brelse>
}
8010128d: 83 c4 2c add $0x2c,%esp
80101290: 89 f0 mov %esi,%eax
80101292: 5b pop %ebx
80101293: 5e pop %esi
80101294: 5f pop %edi
80101295: 5d pop %ebp
80101296: c3 ret
80101297: 89 f6 mov %esi,%esi
80101299: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801012a0 <iget>:
// Find the inode with number inum on device dev
// and return the in-memory copy. Does not lock
// the inode and does not read it from disk.
static struct inode*
iget(uint dev, uint inum)
{
801012a0: 55 push %ebp
801012a1: 89 e5 mov %esp,%ebp
801012a3: 57 push %edi
801012a4: 89 c7 mov %eax,%edi
801012a6: 56 push %esi
struct inode *ip, *empty;
acquire(&icache.lock);
// Is the inode already cached?
empty = 0;
801012a7: 31 f6 xor %esi,%esi
{
801012a9: 53 push %ebx
for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){
801012aa: bb 14 0a 11 80 mov $0x80110a14,%ebx
{
801012af: 83 ec 1c sub $0x1c,%esp
acquire(&icache.lock);
801012b2: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
{
801012b9: 89 55 e4 mov %edx,-0x1c(%ebp)
acquire(&icache.lock);
801012bc: e8 0f 32 00 00 call 801044d0 <acquire>
for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){
801012c1: 8b 55 e4 mov -0x1c(%ebp),%edx
801012c4: eb 14 jmp 801012da <iget+0x3a>
801012c6: 66 90 xchg %ax,%ax
if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){
ip->ref++;
release(&icache.lock);
return ip;
}
if(empty == 0 && ip->ref == 0) // Remember empty slot.
801012c8: 85 f6 test %esi,%esi
801012ca: 74 3c je 80101308 <iget+0x68>
for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){
801012cc: 81 c3 90 00 00 00 add $0x90,%ebx
801012d2: 81 fb 34 26 11 80 cmp $0x80112634,%ebx
801012d8: 74 46 je 80101320 <iget+0x80>
if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){
801012da: 8b 4b 08 mov 0x8(%ebx),%ecx
801012dd: 85 c9 test %ecx,%ecx
801012df: 7e e7 jle 801012c8 <iget+0x28>
801012e1: 39 3b cmp %edi,(%ebx)
801012e3: 75 e3 jne 801012c8 <iget+0x28>
801012e5: 39 53 04 cmp %edx,0x4(%ebx)
801012e8: 75 de jne 801012c8 <iget+0x28>
ip->ref++;
801012ea: 83 c1 01 add $0x1,%ecx
return ip;
801012ed: 89 de mov %ebx,%esi
release(&icache.lock);
801012ef: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
ip->ref++;
801012f6: 89 4b 08 mov %ecx,0x8(%ebx)
release(&icache.lock);
801012f9: e8 42 32 00 00 call 80104540 <release>
ip->ref = 1;
ip->valid = 0;
release(&icache.lock);
return ip;
}
801012fe: 83 c4 1c add $0x1c,%esp
80101301: 89 f0 mov %esi,%eax
80101303: 5b pop %ebx
80101304: 5e pop %esi
80101305: 5f pop %edi
80101306: 5d pop %ebp
80101307: c3 ret
80101308: 85 c9 test %ecx,%ecx
8010130a: 0f 44 f3 cmove %ebx,%esi
for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){
8010130d: 81 c3 90 00 00 00 add $0x90,%ebx
80101313: 81 fb 34 26 11 80 cmp $0x80112634,%ebx
80101319: 75 bf jne 801012da <iget+0x3a>
8010131b: 90 nop
8010131c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
if(empty == 0)
80101320: 85 f6 test %esi,%esi
80101322: 74 29 je 8010134d <iget+0xad>
ip->dev = dev;
80101324: 89 3e mov %edi,(%esi)
ip->inum = inum;
80101326: 89 56 04 mov %edx,0x4(%esi)
ip->ref = 1;
80101329: c7 46 08 01 00 00 00 movl $0x1,0x8(%esi)
ip->valid = 0;
80101330: c7 46 4c 00 00 00 00 movl $0x0,0x4c(%esi)
release(&icache.lock);
80101337: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
8010133e: e8 fd 31 00 00 call 80104540 <release>
}
80101343: 83 c4 1c add $0x1c,%esp
80101346: 89 f0 mov %esi,%eax
80101348: 5b pop %ebx
80101349: 5e pop %esi
8010134a: 5f pop %edi
8010134b: 5d pop %ebp
8010134c: c3 ret
panic("iget: no inodes");
8010134d: c7 04 24 08 71 10 80 movl $0x80107108,(%esp)
80101354: e8 07 f0 ff ff call 80100360 <panic>
80101359: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80101360 <bmap>:
// Return the disk block address of the nth block in inode ip.
// If there is no such block, bmap allocates one.
static uint
bmap(struct inode *ip, uint bn)
{
80101360: 55 push %ebp
80101361: 89 e5 mov %esp,%ebp
80101363: 57 push %edi
80101364: 56 push %esi
80101365: 53 push %ebx
80101366: 89 c3 mov %eax,%ebx
80101368: 83 ec 1c sub $0x1c,%esp
uint addr, *a;
struct buf *bp;
if(bn < NDIRECT){
8010136b: 83 fa 0b cmp $0xb,%edx
8010136e: 77 18 ja 80101388 <bmap+0x28>
80101370: 8d 34 90 lea (%eax,%edx,4),%esi
if((addr = ip->addrs[bn]) == 0)
80101373: 8b 46 5c mov 0x5c(%esi),%eax
80101376: 85 c0 test %eax,%eax
80101378: 74 66 je 801013e0 <bmap+0x80>
brelse(bp);
return addr;
}
panic("bmap: out of range");
}
8010137a: 83 c4 1c add $0x1c,%esp
8010137d: 5b pop %ebx
8010137e: 5e pop %esi
8010137f: 5f pop %edi
80101380: 5d pop %ebp
80101381: c3 ret
80101382: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
bn -= NDIRECT;
80101388: 8d 72 f4 lea -0xc(%edx),%esi
if(bn < NINDIRECT){
8010138b: 83 fe 7f cmp $0x7f,%esi
8010138e: 77 77 ja 80101407 <bmap+0xa7>
if((addr = ip->addrs[NDIRECT]) == 0)
80101390: 8b 80 8c 00 00 00 mov 0x8c(%eax),%eax
80101396: 85 c0 test %eax,%eax
80101398: 74 5e je 801013f8 <bmap+0x98>
bp = bread(ip->dev, addr);
8010139a: 89 44 24 04 mov %eax,0x4(%esp)
8010139e: 8b 03 mov (%ebx),%eax
801013a0: 89 04 24 mov %eax,(%esp)
801013a3: e8 28 ed ff ff call 801000d0 <bread>
if((addr = a[bn]) == 0){
801013a8: 8d 54 b0 5c lea 0x5c(%eax,%esi,4),%edx
bp = bread(ip->dev, addr);
801013ac: 89 c7 mov %eax,%edi
if((addr = a[bn]) == 0){
801013ae: 8b 32 mov (%edx),%esi
801013b0: 85 f6 test %esi,%esi
801013b2: 75 19 jne 801013cd <bmap+0x6d>
a[bn] = addr = balloc(ip->dev);
801013b4: 8b 03 mov (%ebx),%eax
801013b6: 89 55 e4 mov %edx,-0x1c(%ebp)
801013b9: e8 c2 fd ff ff call 80101180 <balloc>
801013be: 8b 55 e4 mov -0x1c(%ebp),%edx
801013c1: 89 02 mov %eax,(%edx)
801013c3: 89 c6 mov %eax,%esi
log_write(bp);
801013c5: 89 3c 24 mov %edi,(%esp)
801013c8: e8 e3 18 00 00 call 80102cb0 <log_write>
brelse(bp);
801013cd: 89 3c 24 mov %edi,(%esp)
801013d0: e8 0b ee ff ff call 801001e0 <brelse>
}
801013d5: 83 c4 1c add $0x1c,%esp
brelse(bp);
801013d8: 89 f0 mov %esi,%eax
}
801013da: 5b pop %ebx
801013db: 5e pop %esi
801013dc: 5f pop %edi
801013dd: 5d pop %ebp
801013de: c3 ret
801013df: 90 nop
ip->addrs[bn] = addr = balloc(ip->dev);
801013e0: 8b 03 mov (%ebx),%eax
801013e2: e8 99 fd ff ff call 80101180 <balloc>
801013e7: 89 46 5c mov %eax,0x5c(%esi)
}
801013ea: 83 c4 1c add $0x1c,%esp
801013ed: 5b pop %ebx
801013ee: 5e pop %esi
801013ef: 5f pop %edi
801013f0: 5d pop %ebp
801013f1: c3 ret
801013f2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
ip->addrs[NDIRECT] = addr = balloc(ip->dev);
801013f8: 8b 03 mov (%ebx),%eax
801013fa: e8 81 fd ff ff call 80101180 <balloc>
801013ff: 89 83 8c 00 00 00 mov %eax,0x8c(%ebx)
80101405: eb 93 jmp 8010139a <bmap+0x3a>
panic("bmap: out of range");
80101407: c7 04 24 18 71 10 80 movl $0x80107118,(%esp)
8010140e: e8 4d ef ff ff call 80100360 <panic>
80101413: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80101419: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101420 <readsb>:
{
80101420: 55 push %ebp
80101421: 89 e5 mov %esp,%ebp
80101423: 56 push %esi
80101424: 53 push %ebx
80101425: 83 ec 10 sub $0x10,%esp
bp = bread(dev, 1);
80101428: 8b 45 08 mov 0x8(%ebp),%eax
8010142b: c7 44 24 04 01 00 00 movl $0x1,0x4(%esp)
80101432: 00
{
80101433: 8b 75 0c mov 0xc(%ebp),%esi
bp = bread(dev, 1);
80101436: 89 04 24 mov %eax,(%esp)
80101439: e8 92 ec ff ff call 801000d0 <bread>
memmove(sb, bp->data, sizeof(*sb));
8010143e: 89 34 24 mov %esi,(%esp)
80101441: c7 44 24 08 1c 00 00 movl $0x1c,0x8(%esp)
80101448: 00
bp = bread(dev, 1);
80101449: 89 c3 mov %eax,%ebx
memmove(sb, bp->data, sizeof(*sb));
8010144b: 8d 40 5c lea 0x5c(%eax),%eax
8010144e: 89 44 24 04 mov %eax,0x4(%esp)
80101452: e8 d9 31 00 00 call 80104630 <memmove>
brelse(bp);
80101457: 89 5d 08 mov %ebx,0x8(%ebp)
}
8010145a: 83 c4 10 add $0x10,%esp
8010145d: 5b pop %ebx
8010145e: 5e pop %esi
8010145f: 5d pop %ebp
brelse(bp);
80101460: e9 7b ed ff ff jmp 801001e0 <brelse>
80101465: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101469: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101470 <iinit>:
{
80101470: 55 push %ebp
80101471: 89 e5 mov %esp,%ebp
80101473: 53 push %ebx
80101474: bb 20 0a 11 80 mov $0x80110a20,%ebx
80101479: 83 ec 24 sub $0x24,%esp
initlock(&icache.lock, "icache");
8010147c: c7 44 24 04 2b 71 10 movl $0x8010712b,0x4(%esp)
80101483: 80
80101484: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
8010148b: e8 d0 2e 00 00 call 80104360 <initlock>
initsleeplock(&icache.inode[i].lock, "inode");
80101490: 89 1c 24 mov %ebx,(%esp)
80101493: 81 c3 90 00 00 00 add $0x90,%ebx
80101499: c7 44 24 04 32 71 10 movl $0x80107132,0x4(%esp)
801014a0: 80
801014a1: e8 8a 2d 00 00 call 80104230 <initsleeplock>
for(i = 0; i < NINODE; i++) {
801014a6: 81 fb 40 26 11 80 cmp $0x80112640,%ebx
801014ac: 75 e2 jne 80101490 <iinit+0x20>
readsb(dev, &sb);
801014ae: 8b 45 08 mov 0x8(%ebp),%eax
801014b1: c7 44 24 04 c0 09 11 movl $0x801109c0,0x4(%esp)
801014b8: 80
801014b9: 89 04 24 mov %eax,(%esp)
801014bc: e8 5f ff ff ff call 80101420 <readsb>
cprintf("sb: size %d nblocks %d ninodes %d nlog %d logstart %d\
801014c1: a1 d8 09 11 80 mov 0x801109d8,%eax
801014c6: c7 04 24 98 71 10 80 movl $0x80107198,(%esp)
801014cd: 89 44 24 1c mov %eax,0x1c(%esp)
801014d1: a1 d4 09 11 80 mov 0x801109d4,%eax
801014d6: 89 44 24 18 mov %eax,0x18(%esp)
801014da: a1 d0 09 11 80 mov 0x801109d0,%eax
801014df: 89 44 24 14 mov %eax,0x14(%esp)
801014e3: a1 cc 09 11 80 mov 0x801109cc,%eax
801014e8: 89 44 24 10 mov %eax,0x10(%esp)
801014ec: a1 c8 09 11 80 mov 0x801109c8,%eax
801014f1: 89 44 24 0c mov %eax,0xc(%esp)
801014f5: a1 c4 09 11 80 mov 0x801109c4,%eax
801014fa: 89 44 24 08 mov %eax,0x8(%esp)
801014fe: a1 c0 09 11 80 mov 0x801109c0,%eax
80101503: 89 44 24 04 mov %eax,0x4(%esp)
80101507: e8 44 f1 ff ff call 80100650 <cprintf>
}
8010150c: 83 c4 24 add $0x24,%esp
8010150f: 5b pop %ebx
80101510: 5d pop %ebp
80101511: c3 ret
80101512: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80101519: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101520 <ialloc>:
{
80101520: 55 push %ebp
80101521: 89 e5 mov %esp,%ebp
80101523: 57 push %edi
80101524: 56 push %esi
80101525: 53 push %ebx
80101526: 83 ec 2c sub $0x2c,%esp
80101529: 8b 45 0c mov 0xc(%ebp),%eax
for(inum = 1; inum < sb.ninodes; inum++){
8010152c: 83 3d c8 09 11 80 01 cmpl $0x1,0x801109c8
{
80101533: 8b 7d 08 mov 0x8(%ebp),%edi
80101536: 89 45 e4 mov %eax,-0x1c(%ebp)
for(inum = 1; inum < sb.ninodes; inum++){
80101539: 0f 86 a2 00 00 00 jbe 801015e1 <ialloc+0xc1>
8010153f: be 01 00 00 00 mov $0x1,%esi
80101544: bb 01 00 00 00 mov $0x1,%ebx
80101549: eb 1a jmp 80101565 <ialloc+0x45>
8010154b: 90 nop
8010154c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
brelse(bp);
80101550: 89 14 24 mov %edx,(%esp)
for(inum = 1; inum < sb.ninodes; inum++){
80101553: 83 c3 01 add $0x1,%ebx
brelse(bp);
80101556: e8 85 ec ff ff call 801001e0 <brelse>
for(inum = 1; inum < sb.ninodes; inum++){
8010155b: 89 de mov %ebx,%esi
8010155d: 3b 1d c8 09 11 80 cmp 0x801109c8,%ebx
80101563: 73 7c jae 801015e1 <ialloc+0xc1>
bp = bread(dev, IBLOCK(inum, sb));
80101565: 89 f0 mov %esi,%eax
80101567: c1 e8 03 shr $0x3,%eax
8010156a: 03 05 d4 09 11 80 add 0x801109d4,%eax
80101570: 89 3c 24 mov %edi,(%esp)
80101573: 89 44 24 04 mov %eax,0x4(%esp)
80101577: e8 54 eb ff ff call 801000d0 <bread>
8010157c: 89 c2 mov %eax,%edx
dip = (struct dinode*)bp->data + inum%IPB;
8010157e: 89 f0 mov %esi,%eax
80101580: 83 e0 07 and $0x7,%eax
80101583: c1 e0 06 shl $0x6,%eax
80101586: 8d 4c 02 5c lea 0x5c(%edx,%eax,1),%ecx
if(dip->type == 0){ // a free inode
8010158a: 66 83 39 00 cmpw $0x0,(%ecx)
8010158e: 75 c0 jne 80101550 <ialloc+0x30>
memset(dip, 0, sizeof(*dip));
80101590: 89 0c 24 mov %ecx,(%esp)
80101593: c7 44 24 08 40 00 00 movl $0x40,0x8(%esp)
8010159a: 00
8010159b: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
801015a2: 00
801015a3: 89 55 dc mov %edx,-0x24(%ebp)
801015a6: 89 4d e0 mov %ecx,-0x20(%ebp)
801015a9: e8 e2 2f 00 00 call 80104590 <memset>
dip->type = type;
801015ae: 0f b7 45 e4 movzwl -0x1c(%ebp),%eax
log_write(bp); // mark it allocated on the disk
801015b2: 8b 55 dc mov -0x24(%ebp),%edx
dip->type = type;
801015b5: 8b 4d e0 mov -0x20(%ebp),%ecx
log_write(bp); // mark it allocated on the disk
801015b8: 89 55 e4 mov %edx,-0x1c(%ebp)
dip->type = type;
801015bb: 66 89 01 mov %ax,(%ecx)
log_write(bp); // mark it allocated on the disk
801015be: 89 14 24 mov %edx,(%esp)
801015c1: e8 ea 16 00 00 call 80102cb0 <log_write>
brelse(bp);
801015c6: 8b 55 e4 mov -0x1c(%ebp),%edx
801015c9: 89 14 24 mov %edx,(%esp)
801015cc: e8 0f ec ff ff call 801001e0 <brelse>
}
801015d1: 83 c4 2c add $0x2c,%esp
return iget(dev, inum);
801015d4: 89 f2 mov %esi,%edx
}
801015d6: 5b pop %ebx
return iget(dev, inum);
801015d7: 89 f8 mov %edi,%eax
}
801015d9: 5e pop %esi
801015da: 5f pop %edi
801015db: 5d pop %ebp
return iget(dev, inum);
801015dc: e9 bf fc ff ff jmp 801012a0 <iget>
panic("ialloc: no inodes");
801015e1: c7 04 24 38 71 10 80 movl $0x80107138,(%esp)
801015e8: e8 73 ed ff ff call 80100360 <panic>
801015ed: 8d 76 00 lea 0x0(%esi),%esi
801015f0 <iupdate>:
{
801015f0: 55 push %ebp
801015f1: 89 e5 mov %esp,%ebp
801015f3: 56 push %esi
801015f4: 53 push %ebx
801015f5: 83 ec 10 sub $0x10,%esp
801015f8: 8b 5d 08 mov 0x8(%ebp),%ebx
bp = bread(ip->dev, IBLOCK(ip->inum, sb));
801015fb: 8b 43 04 mov 0x4(%ebx),%eax
memmove(dip->addrs, ip->addrs, sizeof(ip->addrs));
801015fe: 83 c3 5c add $0x5c,%ebx
bp = bread(ip->dev, IBLOCK(ip->inum, sb));
80101601: c1 e8 03 shr $0x3,%eax
80101604: 03 05 d4 09 11 80 add 0x801109d4,%eax
8010160a: 89 44 24 04 mov %eax,0x4(%esp)
8010160e: 8b 43 a4 mov -0x5c(%ebx),%eax
80101611: 89 04 24 mov %eax,(%esp)
80101614: e8 b7 ea ff ff call 801000d0 <bread>
dip = (struct dinode*)bp->data + ip->inum%IPB;
80101619: 8b 53 a8 mov -0x58(%ebx),%edx
8010161c: 83 e2 07 and $0x7,%edx
8010161f: c1 e2 06 shl $0x6,%edx
80101622: 8d 54 10 5c lea 0x5c(%eax,%edx,1),%edx
bp = bread(ip->dev, IBLOCK(ip->inum, sb));
80101626: 89 c6 mov %eax,%esi
dip->type = ip->type;
80101628: 0f b7 43 f4 movzwl -0xc(%ebx),%eax
memmove(dip->addrs, ip->addrs, sizeof(ip->addrs));
8010162c: 83 c2 0c add $0xc,%edx
dip->type = ip->type;
8010162f: 66 89 42 f4 mov %ax,-0xc(%edx)
dip->major = ip->major;
80101633: 0f b7 43 f6 movzwl -0xa(%ebx),%eax
80101637: 66 89 42 f6 mov %ax,-0xa(%edx)
dip->minor = ip->minor;
8010163b: 0f b7 43 f8 movzwl -0x8(%ebx),%eax
8010163f: 66 89 42 f8 mov %ax,-0x8(%edx)
dip->nlink = ip->nlink;
80101643: 0f b7 43 fa movzwl -0x6(%ebx),%eax
80101647: 66 89 42 fa mov %ax,-0x6(%edx)
dip->size = ip->size;
8010164b: 8b 43 fc mov -0x4(%ebx),%eax
8010164e: 89 42 fc mov %eax,-0x4(%edx)
memmove(dip->addrs, ip->addrs, sizeof(ip->addrs));
80101651: 89 5c 24 04 mov %ebx,0x4(%esp)
80101655: 89 14 24 mov %edx,(%esp)
80101658: c7 44 24 08 34 00 00 movl $0x34,0x8(%esp)
8010165f: 00
80101660: e8 cb 2f 00 00 call 80104630 <memmove>
log_write(bp);
80101665: 89 34 24 mov %esi,(%esp)
80101668: e8 43 16 00 00 call 80102cb0 <log_write>
brelse(bp);
8010166d: 89 75 08 mov %esi,0x8(%ebp)
}
80101670: 83 c4 10 add $0x10,%esp
80101673: 5b pop %ebx
80101674: 5e pop %esi
80101675: 5d pop %ebp
brelse(bp);
80101676: e9 65 eb ff ff jmp 801001e0 <brelse>
8010167b: 90 nop
8010167c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101680 <idup>:
{
80101680: 55 push %ebp
80101681: 89 e5 mov %esp,%ebp
80101683: 53 push %ebx
80101684: 83 ec 14 sub $0x14,%esp
80101687: 8b 5d 08 mov 0x8(%ebp),%ebx
acquire(&icache.lock);
8010168a: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
80101691: e8 3a 2e 00 00 call 801044d0 <acquire>
ip->ref++;
80101696: 83 43 08 01 addl $0x1,0x8(%ebx)
release(&icache.lock);
8010169a: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
801016a1: e8 9a 2e 00 00 call 80104540 <release>
}
801016a6: 83 c4 14 add $0x14,%esp
801016a9: 89 d8 mov %ebx,%eax
801016ab: 5b pop %ebx
801016ac: 5d pop %ebp
801016ad: c3 ret
801016ae: 66 90 xchg %ax,%ax
801016b0 <ilock>:
{
801016b0: 55 push %ebp
801016b1: 89 e5 mov %esp,%ebp
801016b3: 56 push %esi
801016b4: 53 push %ebx
801016b5: 83 ec 10 sub $0x10,%esp
801016b8: 8b 5d 08 mov 0x8(%ebp),%ebx
if(ip == 0 || ip->ref < 1)
801016bb: 85 db test %ebx,%ebx
801016bd: 0f 84 b3 00 00 00 je 80101776 <ilock+0xc6>
801016c3: 8b 53 08 mov 0x8(%ebx),%edx
801016c6: 85 d2 test %edx,%edx
801016c8: 0f 8e a8 00 00 00 jle 80101776 <ilock+0xc6>
acquiresleep(&ip->lock);
801016ce: 8d 43 0c lea 0xc(%ebx),%eax
801016d1: 89 04 24 mov %eax,(%esp)
801016d4: e8 97 2b 00 00 call 80104270 <acquiresleep>
if(ip->valid == 0){
801016d9: 8b 43 4c mov 0x4c(%ebx),%eax
801016dc: 85 c0 test %eax,%eax
801016de: 74 08 je 801016e8 <ilock+0x38>
}
801016e0: 83 c4 10 add $0x10,%esp
801016e3: 5b pop %ebx
801016e4: 5e pop %esi
801016e5: 5d pop %ebp
801016e6: c3 ret
801016e7: 90 nop
bp = bread(ip->dev, IBLOCK(ip->inum, sb));
801016e8: 8b 43 04 mov 0x4(%ebx),%eax
801016eb: c1 e8 03 shr $0x3,%eax
801016ee: 03 05 d4 09 11 80 add 0x801109d4,%eax
801016f4: 89 44 24 04 mov %eax,0x4(%esp)
801016f8: 8b 03 mov (%ebx),%eax
801016fa: 89 04 24 mov %eax,(%esp)
801016fd: e8 ce e9 ff ff call 801000d0 <bread>
dip = (struct dinode*)bp->data + ip->inum%IPB;
80101702: 8b 53 04 mov 0x4(%ebx),%edx
80101705: 83 e2 07 and $0x7,%edx
80101708: c1 e2 06 shl $0x6,%edx
8010170b: 8d 54 10 5c lea 0x5c(%eax,%edx,1),%edx
bp = bread(ip->dev, IBLOCK(ip->inum, sb));
8010170f: 89 c6 mov %eax,%esi
ip->type = dip->type;
80101711: 0f b7 02 movzwl (%edx),%eax
memmove(ip->addrs, dip->addrs, sizeof(ip->addrs));
80101714: 83 c2 0c add $0xc,%edx
ip->type = dip->type;
80101717: 66 89 43 50 mov %ax,0x50(%ebx)
ip->major = dip->major;
8010171b: 0f b7 42 f6 movzwl -0xa(%edx),%eax
8010171f: 66 89 43 52 mov %ax,0x52(%ebx)
ip->minor = dip->minor;
80101723: 0f b7 42 f8 movzwl -0x8(%edx),%eax
80101727: 66 89 43 54 mov %ax,0x54(%ebx)
ip->nlink = dip->nlink;
8010172b: 0f b7 42 fa movzwl -0x6(%edx),%eax
8010172f: 66 89 43 56 mov %ax,0x56(%ebx)
ip->size = dip->size;
80101733: 8b 42 fc mov -0x4(%edx),%eax
80101736: 89 43 58 mov %eax,0x58(%ebx)
memmove(ip->addrs, dip->addrs, sizeof(ip->addrs));
80101739: 8d 43 5c lea 0x5c(%ebx),%eax
8010173c: 89 54 24 04 mov %edx,0x4(%esp)
80101740: c7 44 24 08 34 00 00 movl $0x34,0x8(%esp)
80101747: 00
80101748: 89 04 24 mov %eax,(%esp)
8010174b: e8 e0 2e 00 00 call 80104630 <memmove>
brelse(bp);
80101750: 89 34 24 mov %esi,(%esp)
80101753: e8 88 ea ff ff call 801001e0 <brelse>
if(ip->type == 0)
80101758: 66 83 7b 50 00 cmpw $0x0,0x50(%ebx)
ip->valid = 1;
8010175d: c7 43 4c 01 00 00 00 movl $0x1,0x4c(%ebx)
if(ip->type == 0)
80101764: 0f 85 76 ff ff ff jne 801016e0 <ilock+0x30>
panic("ilock: no type");
8010176a: c7 04 24 50 71 10 80 movl $0x80107150,(%esp)
80101771: e8 ea eb ff ff call 80100360 <panic>
panic("ilock");
80101776: c7 04 24 4a 71 10 80 movl $0x8010714a,(%esp)
8010177d: e8 de eb ff ff call 80100360 <panic>
80101782: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80101789: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101790 <iunlock>:
{
80101790: 55 push %ebp
80101791: 89 e5 mov %esp,%ebp
80101793: 56 push %esi
80101794: 53 push %ebx
80101795: 83 ec 10 sub $0x10,%esp
80101798: 8b 5d 08 mov 0x8(%ebp),%ebx
if(ip == 0 || !holdingsleep(&ip->lock) || ip->ref < 1)
8010179b: 85 db test %ebx,%ebx
8010179d: 74 24 je 801017c3 <iunlock+0x33>
8010179f: 8d 73 0c lea 0xc(%ebx),%esi
801017a2: 89 34 24 mov %esi,(%esp)
801017a5: e8 66 2b 00 00 call 80104310 <holdingsleep>
801017aa: 85 c0 test %eax,%eax
801017ac: 74 15 je 801017c3 <iunlock+0x33>
801017ae: 8b 43 08 mov 0x8(%ebx),%eax
801017b1: 85 c0 test %eax,%eax
801017b3: 7e 0e jle 801017c3 <iunlock+0x33>
releasesleep(&ip->lock);
801017b5: 89 75 08 mov %esi,0x8(%ebp)
}
801017b8: 83 c4 10 add $0x10,%esp
801017bb: 5b pop %ebx
801017bc: 5e pop %esi
801017bd: 5d pop %ebp
releasesleep(&ip->lock);
801017be: e9 0d 2b 00 00 jmp 801042d0 <releasesleep>
panic("iunlock");
801017c3: c7 04 24 5f 71 10 80 movl $0x8010715f,(%esp)
801017ca: e8 91 eb ff ff call 80100360 <panic>
801017cf: 90 nop
801017d0 <iput>:
{
801017d0: 55 push %ebp
801017d1: 89 e5 mov %esp,%ebp
801017d3: 57 push %edi
801017d4: 56 push %esi
801017d5: 53 push %ebx
801017d6: 83 ec 1c sub $0x1c,%esp
801017d9: 8b 75 08 mov 0x8(%ebp),%esi
acquiresleep(&ip->lock);
801017dc: 8d 7e 0c lea 0xc(%esi),%edi
801017df: 89 3c 24 mov %edi,(%esp)
801017e2: e8 89 2a 00 00 call 80104270 <acquiresleep>
if(ip->valid && ip->nlink == 0){
801017e7: 8b 56 4c mov 0x4c(%esi),%edx
801017ea: 85 d2 test %edx,%edx
801017ec: 74 07 je 801017f5 <iput+0x25>
801017ee: 66 83 7e 56 00 cmpw $0x0,0x56(%esi)
801017f3: 74 2b je 80101820 <iput+0x50>
releasesleep(&ip->lock);
801017f5: 89 3c 24 mov %edi,(%esp)
801017f8: e8 d3 2a 00 00 call 801042d0 <releasesleep>
acquire(&icache.lock);
801017fd: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
80101804: e8 c7 2c 00 00 call 801044d0 <acquire>
ip->ref--;
80101809: 83 6e 08 01 subl $0x1,0x8(%esi)
release(&icache.lock);
8010180d: c7 45 08 e0 09 11 80 movl $0x801109e0,0x8(%ebp)
}
80101814: 83 c4 1c add $0x1c,%esp
80101817: 5b pop %ebx
80101818: 5e pop %esi
80101819: 5f pop %edi
8010181a: 5d pop %ebp
release(&icache.lock);
8010181b: e9 20 2d 00 00 jmp 80104540 <release>
acquire(&icache.lock);
80101820: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
80101827: e8 a4 2c 00 00 call 801044d0 <acquire>
int r = ip->ref;
8010182c: 8b 5e 08 mov 0x8(%esi),%ebx
release(&icache.lock);
8010182f: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
80101836: e8 05 2d 00 00 call 80104540 <release>
if(r == 1){
8010183b: 83 fb 01 cmp $0x1,%ebx
8010183e: 75 b5 jne 801017f5 <iput+0x25>
80101840: 8d 4e 30 lea 0x30(%esi),%ecx
80101843: 89 f3 mov %esi,%ebx
80101845: 89 7d e4 mov %edi,-0x1c(%ebp)
80101848: 89 cf mov %ecx,%edi
8010184a: eb 0b jmp 80101857 <iput+0x87>
8010184c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101850: 83 c3 04 add $0x4,%ebx
{
int i, j;
struct buf *bp;
uint *a;
for(i = 0; i < NDIRECT; i++){
80101853: 39 fb cmp %edi,%ebx
80101855: 74 19 je 80101870 <iput+0xa0>
if(ip->addrs[i]){
80101857: 8b 53 5c mov 0x5c(%ebx),%edx
8010185a: 85 d2 test %edx,%edx
8010185c: 74 f2 je 80101850 <iput+0x80>
bfree(ip->dev, ip->addrs[i]);
8010185e: 8b 06 mov (%esi),%eax
80101860: e8 9b f8 ff ff call 80101100 <bfree>
ip->addrs[i] = 0;
80101865: c7 43 5c 00 00 00 00 movl $0x0,0x5c(%ebx)
8010186c: eb e2 jmp 80101850 <iput+0x80>
8010186e: 66 90 xchg %ax,%ax
}
}
if(ip->addrs[NDIRECT]){
80101870: 8b 86 8c 00 00 00 mov 0x8c(%esi),%eax
80101876: 8b 7d e4 mov -0x1c(%ebp),%edi
80101879: 85 c0 test %eax,%eax
8010187b: 75 2b jne 801018a8 <iput+0xd8>
brelse(bp);
bfree(ip->dev, ip->addrs[NDIRECT]);
ip->addrs[NDIRECT] = 0;
}
ip->size = 0;
8010187d: c7 46 58 00 00 00 00 movl $0x0,0x58(%esi)
iupdate(ip);
80101884: 89 34 24 mov %esi,(%esp)
80101887: e8 64 fd ff ff call 801015f0 <iupdate>
ip->type = 0;
8010188c: 31 c0 xor %eax,%eax
8010188e: 66 89 46 50 mov %ax,0x50(%esi)
iupdate(ip);
80101892: 89 34 24 mov %esi,(%esp)
80101895: e8 56 fd ff ff call 801015f0 <iupdate>
ip->valid = 0;
8010189a: c7 46 4c 00 00 00 00 movl $0x0,0x4c(%esi)
801018a1: e9 4f ff ff ff jmp 801017f5 <iput+0x25>
801018a6: 66 90 xchg %ax,%ax
bp = bread(ip->dev, ip->addrs[NDIRECT]);
801018a8: 89 44 24 04 mov %eax,0x4(%esp)
801018ac: 8b 06 mov (%esi),%eax
for(j = 0; j < NINDIRECT; j++){
801018ae: 31 db xor %ebx,%ebx
bp = bread(ip->dev, ip->addrs[NDIRECT]);
801018b0: 89 04 24 mov %eax,(%esp)
801018b3: e8 18 e8 ff ff call 801000d0 <bread>
for(j = 0; j < NINDIRECT; j++){
801018b8: 89 7d e0 mov %edi,-0x20(%ebp)
a = (uint*)bp->data;
801018bb: 8d 48 5c lea 0x5c(%eax),%ecx
bp = bread(ip->dev, ip->addrs[NDIRECT]);
801018be: 89 45 e4 mov %eax,-0x1c(%ebp)
for(j = 0; j < NINDIRECT; j++){
801018c1: 89 cf mov %ecx,%edi
801018c3: 31 c0 xor %eax,%eax
801018c5: eb 0e jmp 801018d5 <iput+0x105>
801018c7: 90 nop
801018c8: 83 c3 01 add $0x1,%ebx
801018cb: 81 fb 80 00 00 00 cmp $0x80,%ebx
801018d1: 89 d8 mov %ebx,%eax
801018d3: 74 10 je 801018e5 <iput+0x115>
if(a[j])
801018d5: 8b 14 87 mov (%edi,%eax,4),%edx
801018d8: 85 d2 test %edx,%edx
801018da: 74 ec je 801018c8 <iput+0xf8>
bfree(ip->dev, a[j]);
801018dc: 8b 06 mov (%esi),%eax
801018de: e8 1d f8 ff ff call 80101100 <bfree>
801018e3: eb e3 jmp 801018c8 <iput+0xf8>
brelse(bp);
801018e5: 8b 45 e4 mov -0x1c(%ebp),%eax
801018e8: 8b 7d e0 mov -0x20(%ebp),%edi
801018eb: 89 04 24 mov %eax,(%esp)
801018ee: e8 ed e8 ff ff call 801001e0 <brelse>
bfree(ip->dev, ip->addrs[NDIRECT]);
801018f3: 8b 96 8c 00 00 00 mov 0x8c(%esi),%edx
801018f9: 8b 06 mov (%esi),%eax
801018fb: e8 00 f8 ff ff call 80101100 <bfree>
ip->addrs[NDIRECT] = 0;
80101900: c7 86 8c 00 00 00 00 movl $0x0,0x8c(%esi)
80101907: 00 00 00
8010190a: e9 6e ff ff ff jmp 8010187d <iput+0xad>
8010190f: 90 nop
80101910 <iunlockput>:
{
80101910: 55 push %ebp
80101911: 89 e5 mov %esp,%ebp
80101913: 53 push %ebx
80101914: 83 ec 14 sub $0x14,%esp
80101917: 8b 5d 08 mov 0x8(%ebp),%ebx
iunlock(ip);
8010191a: 89 1c 24 mov %ebx,(%esp)
8010191d: e8 6e fe ff ff call 80101790 <iunlock>
iput(ip);
80101922: 89 5d 08 mov %ebx,0x8(%ebp)
}
80101925: 83 c4 14 add $0x14,%esp
80101928: 5b pop %ebx
80101929: 5d pop %ebp
iput(ip);
8010192a: e9 a1 fe ff ff jmp 801017d0 <iput>
8010192f: 90 nop
80101930 <stati>:
// Copy stat information from inode.
// Caller must hold ip->lock.
void
stati(struct inode *ip, struct stat *st)
{
80101930: 55 push %ebp
80101931: 89 e5 mov %esp,%ebp
80101933: 8b 55 08 mov 0x8(%ebp),%edx
80101936: 8b 45 0c mov 0xc(%ebp),%eax
st->dev = ip->dev;
80101939: 8b 0a mov (%edx),%ecx
8010193b: 89 48 04 mov %ecx,0x4(%eax)
st->ino = ip->inum;
8010193e: 8b 4a 04 mov 0x4(%edx),%ecx
80101941: 89 48 08 mov %ecx,0x8(%eax)
st->type = ip->type;
80101944: 0f b7 4a 50 movzwl 0x50(%edx),%ecx
80101948: 66 89 08 mov %cx,(%eax)
st->nlink = ip->nlink;
8010194b: 0f b7 4a 56 movzwl 0x56(%edx),%ecx
8010194f: 66 89 48 0c mov %cx,0xc(%eax)
st->size = ip->size;
80101953: 8b 52 58 mov 0x58(%edx),%edx
80101956: 89 50 10 mov %edx,0x10(%eax)
}
80101959: 5d pop %ebp
8010195a: c3 ret
8010195b: 90 nop
8010195c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101960 <readi>:
//PAGEBREAK!
// Read data from inode.
// Caller must hold ip->lock.
int
readi(struct inode *ip, char *dst, uint off, uint n)
{
80101960: 55 push %ebp
80101961: 89 e5 mov %esp,%ebp
80101963: 57 push %edi
80101964: 56 push %esi
80101965: 53 push %ebx
80101966: 83 ec 2c sub $0x2c,%esp
80101969: 8b 45 0c mov 0xc(%ebp),%eax
8010196c: 8b 7d 08 mov 0x8(%ebp),%edi
8010196f: 8b 75 10 mov 0x10(%ebp),%esi
80101972: 89 45 e0 mov %eax,-0x20(%ebp)
80101975: 8b 45 14 mov 0x14(%ebp),%eax
uint tot, m;
struct buf *bp;
if(ip->type == T_DEV){
80101978: 66 83 7f 50 03 cmpw $0x3,0x50(%edi)
{
8010197d: 89 45 e4 mov %eax,-0x1c(%ebp)
if(ip->type == T_DEV){
80101980: 0f 84 aa 00 00 00 je 80101a30 <readi+0xd0>
if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read)
return -1;
return devsw[ip->major].read(ip, dst, n);
}
if(off > ip->size || off + n < off)
80101986: 8b 47 58 mov 0x58(%edi),%eax
80101989: 39 f0 cmp %esi,%eax
8010198b: 0f 82 c7 00 00 00 jb 80101a58 <readi+0xf8>
80101991: 8b 5d e4 mov -0x1c(%ebp),%ebx
80101994: 89 da mov %ebx,%edx
80101996: 01 f2 add %esi,%edx
80101998: 0f 82 ba 00 00 00 jb 80101a58 <readi+0xf8>
return -1;
if(off + n > ip->size)
n = ip->size - off;
8010199e: 89 c1 mov %eax,%ecx
801019a0: 29 f1 sub %esi,%ecx
801019a2: 39 d0 cmp %edx,%eax
801019a4: 0f 43 cb cmovae %ebx,%ecx
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
801019a7: 31 c0 xor %eax,%eax
801019a9: 85 c9 test %ecx,%ecx
n = ip->size - off;
801019ab: 89 4d e4 mov %ecx,-0x1c(%ebp)
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
801019ae: 74 70 je 80101a20 <readi+0xc0>
801019b0: 89 7d d8 mov %edi,-0x28(%ebp)
801019b3: 89 c7 mov %eax,%edi
801019b5: 8d 76 00 lea 0x0(%esi),%esi
bp = bread(ip->dev, bmap(ip, off/BSIZE));
801019b8: 8b 5d d8 mov -0x28(%ebp),%ebx
801019bb: 89 f2 mov %esi,%edx
801019bd: c1 ea 09 shr $0x9,%edx
801019c0: 89 d8 mov %ebx,%eax
801019c2: e8 99 f9 ff ff call 80101360 <bmap>
801019c7: 89 44 24 04 mov %eax,0x4(%esp)
801019cb: 8b 03 mov (%ebx),%eax
m = min(n - tot, BSIZE - off%BSIZE);
801019cd: bb 00 02 00 00 mov $0x200,%ebx
bp = bread(ip->dev, bmap(ip, off/BSIZE));
801019d2: 89 04 24 mov %eax,(%esp)
801019d5: e8 f6 e6 ff ff call 801000d0 <bread>
m = min(n - tot, BSIZE - off%BSIZE);
801019da: 8b 4d e4 mov -0x1c(%ebp),%ecx
801019dd: 29 f9 sub %edi,%ecx
bp = bread(ip->dev, bmap(ip, off/BSIZE));
801019df: 89 c2 mov %eax,%edx
m = min(n - tot, BSIZE - off%BSIZE);
801019e1: 89 f0 mov %esi,%eax
801019e3: 25 ff 01 00 00 and $0x1ff,%eax
801019e8: 29 c3 sub %eax,%ebx
memmove(dst, bp->data + off%BSIZE, m);
801019ea: 8d 44 02 5c lea 0x5c(%edx,%eax,1),%eax
m = min(n - tot, BSIZE - off%BSIZE);
801019ee: 39 cb cmp %ecx,%ebx
memmove(dst, bp->data + off%BSIZE, m);
801019f0: 89 44 24 04 mov %eax,0x4(%esp)
801019f4: 8b 45 e0 mov -0x20(%ebp),%eax
m = min(n - tot, BSIZE - off%BSIZE);
801019f7: 0f 47 d9 cmova %ecx,%ebx
memmove(dst, bp->data + off%BSIZE, m);
801019fa: 89 5c 24 08 mov %ebx,0x8(%esp)
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
801019fe: 01 df add %ebx,%edi
80101a00: 01 de add %ebx,%esi
memmove(dst, bp->data + off%BSIZE, m);
80101a02: 89 55 dc mov %edx,-0x24(%ebp)
80101a05: 89 04 24 mov %eax,(%esp)
80101a08: e8 23 2c 00 00 call 80104630 <memmove>
brelse(bp);
80101a0d: 8b 55 dc mov -0x24(%ebp),%edx
80101a10: 89 14 24 mov %edx,(%esp)
80101a13: e8 c8 e7 ff ff call 801001e0 <brelse>
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
80101a18: 01 5d e0 add %ebx,-0x20(%ebp)
80101a1b: 39 7d e4 cmp %edi,-0x1c(%ebp)
80101a1e: 77 98 ja 801019b8 <readi+0x58>
}
return n;
80101a20: 8b 45 e4 mov -0x1c(%ebp),%eax
}
80101a23: 83 c4 2c add $0x2c,%esp
80101a26: 5b pop %ebx
80101a27: 5e pop %esi
80101a28: 5f pop %edi
80101a29: 5d pop %ebp
80101a2a: c3 ret
80101a2b: 90 nop
80101a2c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read)
80101a30: 0f bf 47 52 movswl 0x52(%edi),%eax
80101a34: 66 83 f8 09 cmp $0x9,%ax
80101a38: 77 1e ja 80101a58 <readi+0xf8>
80101a3a: 8b 04 c5 60 09 11 80 mov -0x7feef6a0(,%eax,8),%eax
80101a41: 85 c0 test %eax,%eax
80101a43: 74 13 je 80101a58 <readi+0xf8>
return devsw[ip->major].read(ip, dst, n);
80101a45: 8b 75 e4 mov -0x1c(%ebp),%esi
80101a48: 89 75 10 mov %esi,0x10(%ebp)
}
80101a4b: 83 c4 2c add $0x2c,%esp
80101a4e: 5b pop %ebx
80101a4f: 5e pop %esi
80101a50: 5f pop %edi
80101a51: 5d pop %ebp
return devsw[ip->major].read(ip, dst, n);
80101a52: ff e0 jmp *%eax
80101a54: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
return -1;
80101a58: b8 ff ff ff ff mov $0xffffffff,%eax
80101a5d: eb c4 jmp 80101a23 <readi+0xc3>
80101a5f: 90 nop
80101a60 <writei>:
// PAGEBREAK!
// Write data to inode.
// Caller must hold ip->lock.
int
writei(struct inode *ip, char *src, uint off, uint n)
{
80101a60: 55 push %ebp
80101a61: 89 e5 mov %esp,%ebp
80101a63: 57 push %edi
80101a64: 56 push %esi
80101a65: 53 push %ebx
80101a66: 83 ec 2c sub $0x2c,%esp
80101a69: 8b 45 08 mov 0x8(%ebp),%eax
80101a6c: 8b 75 0c mov 0xc(%ebp),%esi
80101a6f: 8b 4d 14 mov 0x14(%ebp),%ecx
uint tot, m;
struct buf *bp;
if(ip->type == T_DEV){
80101a72: 66 83 78 50 03 cmpw $0x3,0x50(%eax)
{
80101a77: 89 75 dc mov %esi,-0x24(%ebp)
80101a7a: 8b 75 10 mov 0x10(%ebp),%esi
80101a7d: 89 45 d8 mov %eax,-0x28(%ebp)
80101a80: 89 4d e0 mov %ecx,-0x20(%ebp)
if(ip->type == T_DEV){
80101a83: 0f 84 b7 00 00 00 je 80101b40 <writei+0xe0>
if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write)
return -1;
return devsw[ip->major].write(ip, src, n);
}
if(off > ip->size || off + n < off)
80101a89: 8b 45 d8 mov -0x28(%ebp),%eax
80101a8c: 39 70 58 cmp %esi,0x58(%eax)
80101a8f: 0f 82 e3 00 00 00 jb 80101b78 <writei+0x118>
80101a95: 8b 4d e0 mov -0x20(%ebp),%ecx
80101a98: 89 c8 mov %ecx,%eax
80101a9a: 01 f0 add %esi,%eax
80101a9c: 0f 82 d6 00 00 00 jb 80101b78 <writei+0x118>
return -1;
if(off + n > MAXFILE*BSIZE)
80101aa2: 3d 00 18 01 00 cmp $0x11800,%eax
80101aa7: 0f 87 cb 00 00 00 ja 80101b78 <writei+0x118>
return -1;
for(tot=0; tot<n; tot+=m, off+=m, src+=m){
80101aad: 85 c9 test %ecx,%ecx
80101aaf: c7 45 e4 00 00 00 00 movl $0x0,-0x1c(%ebp)
80101ab6: 74 77 je 80101b2f <writei+0xcf>
bp = bread(ip->dev, bmap(ip, off/BSIZE));
80101ab8: 8b 7d d8 mov -0x28(%ebp),%edi
80101abb: 89 f2 mov %esi,%edx
m = min(n - tot, BSIZE - off%BSIZE);
80101abd: bb 00 02 00 00 mov $0x200,%ebx
bp = bread(ip->dev, bmap(ip, off/BSIZE));
80101ac2: c1 ea 09 shr $0x9,%edx
80101ac5: 89 f8 mov %edi,%eax
80101ac7: e8 94 f8 ff ff call 80101360 <bmap>
80101acc: 89 44 24 04 mov %eax,0x4(%esp)
80101ad0: 8b 07 mov (%edi),%eax
80101ad2: 89 04 24 mov %eax,(%esp)
80101ad5: e8 f6 e5 ff ff call 801000d0 <bread>
m = min(n - tot, BSIZE - off%BSIZE);
80101ada: 8b 4d e0 mov -0x20(%ebp),%ecx
80101add: 2b 4d e4 sub -0x1c(%ebp),%ecx
memmove(bp->data + off%BSIZE, src, m);
80101ae0: 8b 55 dc mov -0x24(%ebp),%edx
bp = bread(ip->dev, bmap(ip, off/BSIZE));
80101ae3: 89 c7 mov %eax,%edi
m = min(n - tot, BSIZE - off%BSIZE);
80101ae5: 89 f0 mov %esi,%eax
80101ae7: 25 ff 01 00 00 and $0x1ff,%eax
80101aec: 29 c3 sub %eax,%ebx
80101aee: 39 cb cmp %ecx,%ebx
80101af0: 0f 47 d9 cmova %ecx,%ebx
memmove(bp->data + off%BSIZE, src, m);
80101af3: 8d 44 07 5c lea 0x5c(%edi,%eax,1),%eax
for(tot=0; tot<n; tot+=m, off+=m, src+=m){
80101af7: 01 de add %ebx,%esi
memmove(bp->data + off%BSIZE, src, m);
80101af9: 89 54 24 04 mov %edx,0x4(%esp)
80101afd: 89 5c 24 08 mov %ebx,0x8(%esp)
80101b01: 89 04 24 mov %eax,(%esp)
80101b04: e8 27 2b 00 00 call 80104630 <memmove>
log_write(bp);
80101b09: 89 3c 24 mov %edi,(%esp)
80101b0c: e8 9f 11 00 00 call 80102cb0 <log_write>
brelse(bp);
80101b11: 89 3c 24 mov %edi,(%esp)
80101b14: e8 c7 e6 ff ff call 801001e0 <brelse>
for(tot=0; tot<n; tot+=m, off+=m, src+=m){
80101b19: 01 5d e4 add %ebx,-0x1c(%ebp)
80101b1c: 8b 45 e4 mov -0x1c(%ebp),%eax
80101b1f: 01 5d dc add %ebx,-0x24(%ebp)
80101b22: 39 45 e0 cmp %eax,-0x20(%ebp)
80101b25: 77 91 ja 80101ab8 <writei+0x58>
}
if(n > 0 && off > ip->size){
80101b27: 8b 45 d8 mov -0x28(%ebp),%eax
80101b2a: 39 70 58 cmp %esi,0x58(%eax)
80101b2d: 72 39 jb 80101b68 <writei+0x108>
ip->size = off;
iupdate(ip);
}
return n;
80101b2f: 8b 45 e0 mov -0x20(%ebp),%eax
}
80101b32: 83 c4 2c add $0x2c,%esp
80101b35: 5b pop %ebx
80101b36: 5e pop %esi
80101b37: 5f pop %edi
80101b38: 5d pop %ebp
80101b39: c3 ret
80101b3a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write)
80101b40: 0f bf 40 52 movswl 0x52(%eax),%eax
80101b44: 66 83 f8 09 cmp $0x9,%ax
80101b48: 77 2e ja 80101b78 <writei+0x118>
80101b4a: 8b 04 c5 64 09 11 80 mov -0x7feef69c(,%eax,8),%eax
80101b51: 85 c0 test %eax,%eax
80101b53: 74 23 je 80101b78 <writei+0x118>
return devsw[ip->major].write(ip, src, n);
80101b55: 89 4d 10 mov %ecx,0x10(%ebp)
}
80101b58: 83 c4 2c add $0x2c,%esp
80101b5b: 5b pop %ebx
80101b5c: 5e pop %esi
80101b5d: 5f pop %edi
80101b5e: 5d pop %ebp
return devsw[ip->major].write(ip, src, n);
80101b5f: ff e0 jmp *%eax
80101b61: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
ip->size = off;
80101b68: 8b 45 d8 mov -0x28(%ebp),%eax
80101b6b: 89 70 58 mov %esi,0x58(%eax)
iupdate(ip);
80101b6e: 89 04 24 mov %eax,(%esp)
80101b71: e8 7a fa ff ff call 801015f0 <iupdate>
80101b76: eb b7 jmp 80101b2f <writei+0xcf>
}
80101b78: 83 c4 2c add $0x2c,%esp
return -1;
80101b7b: b8 ff ff ff ff mov $0xffffffff,%eax
}
80101b80: 5b pop %ebx
80101b81: 5e pop %esi
80101b82: 5f pop %edi
80101b83: 5d pop %ebp
80101b84: c3 ret
80101b85: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101b89: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101b90 <namecmp>:
//PAGEBREAK!
// Directories
int
namecmp(const char *s, const char *t)
{
80101b90: 55 push %ebp
80101b91: 89 e5 mov %esp,%ebp
80101b93: 83 ec 18 sub $0x18,%esp
return strncmp(s, t, DIRSIZ);
80101b96: 8b 45 0c mov 0xc(%ebp),%eax
80101b99: c7 44 24 08 0e 00 00 movl $0xe,0x8(%esp)
80101ba0: 00
80101ba1: 89 44 24 04 mov %eax,0x4(%esp)
80101ba5: 8b 45 08 mov 0x8(%ebp),%eax
80101ba8: 89 04 24 mov %eax,(%esp)
80101bab: e8 00 2b 00 00 call 801046b0 <strncmp>
}
80101bb0: c9 leave
80101bb1: c3 ret
80101bb2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80101bb9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101bc0 <dirlookup>:
// Look for a directory entry in a directory.
// If found, set *poff to byte offset of entry.
struct inode*
dirlookup(struct inode *dp, char *name, uint *poff)
{
80101bc0: 55 push %ebp
80101bc1: 89 e5 mov %esp,%ebp
80101bc3: 57 push %edi
80101bc4: 56 push %esi
80101bc5: 53 push %ebx
80101bc6: 83 ec 2c sub $0x2c,%esp
80101bc9: 8b 5d 08 mov 0x8(%ebp),%ebx
uint off, inum;
struct dirent de;
if(dp->type != T_DIR)
80101bcc: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx)
80101bd1: 0f 85 97 00 00 00 jne 80101c6e <dirlookup+0xae>
panic("dirlookup not DIR");
for(off = 0; off < dp->size; off += sizeof(de)){
80101bd7: 8b 53 58 mov 0x58(%ebx),%edx
80101bda: 31 ff xor %edi,%edi
80101bdc: 8d 75 d8 lea -0x28(%ebp),%esi
80101bdf: 85 d2 test %edx,%edx
80101be1: 75 0d jne 80101bf0 <dirlookup+0x30>
80101be3: eb 73 jmp 80101c58 <dirlookup+0x98>
80101be5: 8d 76 00 lea 0x0(%esi),%esi
80101be8: 83 c7 10 add $0x10,%edi
80101beb: 39 7b 58 cmp %edi,0x58(%ebx)
80101bee: 76 68 jbe 80101c58 <dirlookup+0x98>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
80101bf0: c7 44 24 0c 10 00 00 movl $0x10,0xc(%esp)
80101bf7: 00
80101bf8: 89 7c 24 08 mov %edi,0x8(%esp)
80101bfc: 89 74 24 04 mov %esi,0x4(%esp)
80101c00: 89 1c 24 mov %ebx,(%esp)
80101c03: e8 58 fd ff ff call 80101960 <readi>
80101c08: 83 f8 10 cmp $0x10,%eax
80101c0b: 75 55 jne 80101c62 <dirlookup+0xa2>
panic("dirlookup read");
if(de.inum == 0)
80101c0d: 66 83 7d d8 00 cmpw $0x0,-0x28(%ebp)
80101c12: 74 d4 je 80101be8 <dirlookup+0x28>
return strncmp(s, t, DIRSIZ);
80101c14: 8d 45 da lea -0x26(%ebp),%eax
80101c17: 89 44 24 04 mov %eax,0x4(%esp)
80101c1b: 8b 45 0c mov 0xc(%ebp),%eax
80101c1e: c7 44 24 08 0e 00 00 movl $0xe,0x8(%esp)
80101c25: 00
80101c26: 89 04 24 mov %eax,(%esp)
80101c29: e8 82 2a 00 00 call 801046b0 <strncmp>
continue;
if(namecmp(name, de.name) == 0){
80101c2e: 85 c0 test %eax,%eax
80101c30: 75 b6 jne 80101be8 <dirlookup+0x28>
// entry matches path element
if(poff)
80101c32: 8b 45 10 mov 0x10(%ebp),%eax
80101c35: 85 c0 test %eax,%eax
80101c37: 74 05 je 80101c3e <dirlookup+0x7e>
*poff = off;
80101c39: 8b 45 10 mov 0x10(%ebp),%eax
80101c3c: 89 38 mov %edi,(%eax)
inum = de.inum;
80101c3e: 0f b7 55 d8 movzwl -0x28(%ebp),%edx
return iget(dp->dev, inum);
80101c42: 8b 03 mov (%ebx),%eax
80101c44: e8 57 f6 ff ff call 801012a0 <iget>
}
}
return 0;
}
80101c49: 83 c4 2c add $0x2c,%esp
80101c4c: 5b pop %ebx
80101c4d: 5e pop %esi
80101c4e: 5f pop %edi
80101c4f: 5d pop %ebp
80101c50: c3 ret
80101c51: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80101c58: 83 c4 2c add $0x2c,%esp
return 0;
80101c5b: 31 c0 xor %eax,%eax
}
80101c5d: 5b pop %ebx
80101c5e: 5e pop %esi
80101c5f: 5f pop %edi
80101c60: 5d pop %ebp
80101c61: c3 ret
panic("dirlookup read");
80101c62: c7 04 24 79 71 10 80 movl $0x80107179,(%esp)
80101c69: e8 f2 e6 ff ff call 80100360 <panic>
panic("dirlookup not DIR");
80101c6e: c7 04 24 67 71 10 80 movl $0x80107167,(%esp)
80101c75: e8 e6 e6 ff ff call 80100360 <panic>
80101c7a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80101c80 <namex>:
// If parent != 0, return the inode for the parent and copy the final
// path element into name, which must have room for DIRSIZ bytes.
// Must be called inside a transaction since it calls iput().
static struct inode*
namex(char *path, int nameiparent, char *name)
{
80101c80: 55 push %ebp
80101c81: 89 e5 mov %esp,%ebp
80101c83: 57 push %edi
80101c84: 89 cf mov %ecx,%edi
80101c86: 56 push %esi
80101c87: 53 push %ebx
80101c88: 89 c3 mov %eax,%ebx
80101c8a: 83 ec 2c sub $0x2c,%esp
struct inode *ip, *next;
if(*path == '/')
80101c8d: 80 38 2f cmpb $0x2f,(%eax)
{
80101c90: 89 55 e0 mov %edx,-0x20(%ebp)
if(*path == '/')
80101c93: 0f 84 51 01 00 00 je 80101dea <namex+0x16a>
ip = iget(ROOTDEV, ROOTINO);
else
ip = idup(myproc()->cwd);
80101c99: e8 52 1a 00 00 call 801036f0 <myproc>
80101c9e: 8b 70 68 mov 0x68(%eax),%esi
acquire(&icache.lock);
80101ca1: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
80101ca8: e8 23 28 00 00 call 801044d0 <acquire>
ip->ref++;
80101cad: 83 46 08 01 addl $0x1,0x8(%esi)
release(&icache.lock);
80101cb1: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp)
80101cb8: e8 83 28 00 00 call 80104540 <release>
80101cbd: eb 04 jmp 80101cc3 <namex+0x43>
80101cbf: 90 nop
path++;
80101cc0: 83 c3 01 add $0x1,%ebx
while(*path == '/')
80101cc3: 0f b6 03 movzbl (%ebx),%eax
80101cc6: 3c 2f cmp $0x2f,%al
80101cc8: 74 f6 je 80101cc0 <namex+0x40>
if(*path == 0)
80101cca: 84 c0 test %al,%al
80101ccc: 0f 84 ed 00 00 00 je 80101dbf <namex+0x13f>
while(*path != '/' && *path != 0)
80101cd2: 0f b6 03 movzbl (%ebx),%eax
80101cd5: 89 da mov %ebx,%edx
80101cd7: 84 c0 test %al,%al
80101cd9: 0f 84 b1 00 00 00 je 80101d90 <namex+0x110>
80101cdf: 3c 2f cmp $0x2f,%al
80101ce1: 75 0f jne 80101cf2 <namex+0x72>
80101ce3: e9 a8 00 00 00 jmp 80101d90 <namex+0x110>
80101ce8: 3c 2f cmp $0x2f,%al
80101cea: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80101cf0: 74 0a je 80101cfc <namex+0x7c>
path++;
80101cf2: 83 c2 01 add $0x1,%edx
while(*path != '/' && *path != 0)
80101cf5: 0f b6 02 movzbl (%edx),%eax
80101cf8: 84 c0 test %al,%al
80101cfa: 75 ec jne 80101ce8 <namex+0x68>
80101cfc: 89 d1 mov %edx,%ecx
80101cfe: 29 d9 sub %ebx,%ecx
if(len >= DIRSIZ)
80101d00: 83 f9 0d cmp $0xd,%ecx
80101d03: 0f 8e 8f 00 00 00 jle 80101d98 <namex+0x118>
memmove(name, s, DIRSIZ);
80101d09: 89 5c 24 04 mov %ebx,0x4(%esp)
80101d0d: c7 44 24 08 0e 00 00 movl $0xe,0x8(%esp)
80101d14: 00
80101d15: 89 3c 24 mov %edi,(%esp)
80101d18: 89 55 e4 mov %edx,-0x1c(%ebp)
80101d1b: e8 10 29 00 00 call 80104630 <memmove>
path++;
80101d20: 8b 55 e4 mov -0x1c(%ebp),%edx
80101d23: 89 d3 mov %edx,%ebx
while(*path == '/')
80101d25: 80 3a 2f cmpb $0x2f,(%edx)
80101d28: 75 0e jne 80101d38 <namex+0xb8>
80101d2a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
path++;
80101d30: 83 c3 01 add $0x1,%ebx
while(*path == '/')
80101d33: 80 3b 2f cmpb $0x2f,(%ebx)
80101d36: 74 f8 je 80101d30 <namex+0xb0>
while((path = skipelem(path, name)) != 0){
ilock(ip);
80101d38: 89 34 24 mov %esi,(%esp)
80101d3b: e8 70 f9 ff ff call 801016b0 <ilock>
if(ip->type != T_DIR){
80101d40: 66 83 7e 50 01 cmpw $0x1,0x50(%esi)
80101d45: 0f 85 85 00 00 00 jne 80101dd0 <namex+0x150>
iunlockput(ip);
return 0;
}
if(nameiparent && *path == '\0'){
80101d4b: 8b 55 e0 mov -0x20(%ebp),%edx
80101d4e: 85 d2 test %edx,%edx
80101d50: 74 09 je 80101d5b <namex+0xdb>
80101d52: 80 3b 00 cmpb $0x0,(%ebx)
80101d55: 0f 84 a5 00 00 00 je 80101e00 <namex+0x180>
// Stop one level early.
iunlock(ip);
return ip;
}
if((next = dirlookup(ip, name, 0)) == 0){
80101d5b: c7 44 24 08 00 00 00 movl $0x0,0x8(%esp)
80101d62: 00
80101d63: 89 7c 24 04 mov %edi,0x4(%esp)
80101d67: 89 34 24 mov %esi,(%esp)
80101d6a: e8 51 fe ff ff call 80101bc0 <dirlookup>
80101d6f: 85 c0 test %eax,%eax
80101d71: 74 5d je 80101dd0 <namex+0x150>
iunlock(ip);
80101d73: 89 34 24 mov %esi,(%esp)
80101d76: 89 45 e4 mov %eax,-0x1c(%ebp)
80101d79: e8 12 fa ff ff call 80101790 <iunlock>
iput(ip);
80101d7e: 89 34 24 mov %esi,(%esp)
80101d81: e8 4a fa ff ff call 801017d0 <iput>
iunlockput(ip);
return 0;
}
iunlockput(ip);
ip = next;
80101d86: 8b 45 e4 mov -0x1c(%ebp),%eax
80101d89: 89 c6 mov %eax,%esi
80101d8b: e9 33 ff ff ff jmp 80101cc3 <namex+0x43>
while(*path != '/' && *path != 0)
80101d90: 31 c9 xor %ecx,%ecx
80101d92: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
memmove(name, s, len);
80101d98: 89 4c 24 08 mov %ecx,0x8(%esp)
80101d9c: 89 5c 24 04 mov %ebx,0x4(%esp)
80101da0: 89 3c 24 mov %edi,(%esp)
80101da3: 89 55 dc mov %edx,-0x24(%ebp)
80101da6: 89 4d e4 mov %ecx,-0x1c(%ebp)
80101da9: e8 82 28 00 00 call 80104630 <memmove>
name[len] = 0;
80101dae: 8b 4d e4 mov -0x1c(%ebp),%ecx
80101db1: 8b 55 dc mov -0x24(%ebp),%edx
80101db4: c6 04 0f 00 movb $0x0,(%edi,%ecx,1)
80101db8: 89 d3 mov %edx,%ebx
80101dba: e9 66 ff ff ff jmp 80101d25 <namex+0xa5>
}
if(nameiparent){
80101dbf: 8b 45 e0 mov -0x20(%ebp),%eax
80101dc2: 85 c0 test %eax,%eax
80101dc4: 75 4c jne 80101e12 <namex+0x192>
80101dc6: 89 f0 mov %esi,%eax
iput(ip);
return 0;
}
return ip;
}
80101dc8: 83 c4 2c add $0x2c,%esp
80101dcb: 5b pop %ebx
80101dcc: 5e pop %esi
80101dcd: 5f pop %edi
80101dce: 5d pop %ebp
80101dcf: c3 ret
iunlock(ip);
80101dd0: 89 34 24 mov %esi,(%esp)
80101dd3: e8 b8 f9 ff ff call 80101790 <iunlock>
iput(ip);
80101dd8: 89 34 24 mov %esi,(%esp)
80101ddb: e8 f0 f9 ff ff call 801017d0 <iput>
}
80101de0: 83 c4 2c add $0x2c,%esp
return 0;
80101de3: 31 c0 xor %eax,%eax
}
80101de5: 5b pop %ebx
80101de6: 5e pop %esi
80101de7: 5f pop %edi
80101de8: 5d pop %ebp
80101de9: c3 ret
ip = iget(ROOTDEV, ROOTINO);
80101dea: ba 01 00 00 00 mov $0x1,%edx
80101def: b8 01 00 00 00 mov $0x1,%eax
80101df4: e8 a7 f4 ff ff call 801012a0 <iget>
80101df9: 89 c6 mov %eax,%esi
80101dfb: e9 c3 fe ff ff jmp 80101cc3 <namex+0x43>
iunlock(ip);
80101e00: 89 34 24 mov %esi,(%esp)
80101e03: e8 88 f9 ff ff call 80101790 <iunlock>
}
80101e08: 83 c4 2c add $0x2c,%esp
return ip;
80101e0b: 89 f0 mov %esi,%eax
}
80101e0d: 5b pop %ebx
80101e0e: 5e pop %esi
80101e0f: 5f pop %edi
80101e10: 5d pop %ebp
80101e11: c3 ret
iput(ip);
80101e12: 89 34 24 mov %esi,(%esp)
80101e15: e8 b6 f9 ff ff call 801017d0 <iput>
return 0;
80101e1a: 31 c0 xor %eax,%eax
80101e1c: eb aa jmp 80101dc8 <namex+0x148>
80101e1e: 66 90 xchg %ax,%ax
80101e20 <dirlink>:
{
80101e20: 55 push %ebp
80101e21: 89 e5 mov %esp,%ebp
80101e23: 57 push %edi
80101e24: 56 push %esi
80101e25: 53 push %ebx
80101e26: 83 ec 2c sub $0x2c,%esp
80101e29: 8b 5d 08 mov 0x8(%ebp),%ebx
if((ip = dirlookup(dp, name, 0)) != 0){
80101e2c: 8b 45 0c mov 0xc(%ebp),%eax
80101e2f: c7 44 24 08 00 00 00 movl $0x0,0x8(%esp)
80101e36: 00
80101e37: 89 1c 24 mov %ebx,(%esp)
80101e3a: 89 44 24 04 mov %eax,0x4(%esp)
80101e3e: e8 7d fd ff ff call 80101bc0 <dirlookup>
80101e43: 85 c0 test %eax,%eax
80101e45: 0f 85 8b 00 00 00 jne 80101ed6 <dirlink+0xb6>
for(off = 0; off < dp->size; off += sizeof(de)){
80101e4b: 8b 43 58 mov 0x58(%ebx),%eax
80101e4e: 31 ff xor %edi,%edi
80101e50: 8d 75 d8 lea -0x28(%ebp),%esi
80101e53: 85 c0 test %eax,%eax
80101e55: 75 13 jne 80101e6a <dirlink+0x4a>
80101e57: eb 35 jmp 80101e8e <dirlink+0x6e>
80101e59: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80101e60: 8d 57 10 lea 0x10(%edi),%edx
80101e63: 39 53 58 cmp %edx,0x58(%ebx)
80101e66: 89 d7 mov %edx,%edi
80101e68: 76 24 jbe 80101e8e <dirlink+0x6e>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
80101e6a: c7 44 24 0c 10 00 00 movl $0x10,0xc(%esp)
80101e71: 00
80101e72: 89 7c 24 08 mov %edi,0x8(%esp)
80101e76: 89 74 24 04 mov %esi,0x4(%esp)
80101e7a: 89 1c 24 mov %ebx,(%esp)
80101e7d: e8 de fa ff ff call 80101960 <readi>
80101e82: 83 f8 10 cmp $0x10,%eax
80101e85: 75 5e jne 80101ee5 <dirlink+0xc5>
if(de.inum == 0)
80101e87: 66 83 7d d8 00 cmpw $0x0,-0x28(%ebp)
80101e8c: 75 d2 jne 80101e60 <dirlink+0x40>
strncpy(de.name, name, DIRSIZ);
80101e8e: 8b 45 0c mov 0xc(%ebp),%eax
80101e91: c7 44 24 08 0e 00 00 movl $0xe,0x8(%esp)
80101e98: 00
80101e99: 89 44 24 04 mov %eax,0x4(%esp)
80101e9d: 8d 45 da lea -0x26(%ebp),%eax
80101ea0: 89 04 24 mov %eax,(%esp)
80101ea3: e8 78 28 00 00 call 80104720 <strncpy>
de.inum = inum;
80101ea8: 8b 45 10 mov 0x10(%ebp),%eax
if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
80101eab: c7 44 24 0c 10 00 00 movl $0x10,0xc(%esp)
80101eb2: 00
80101eb3: 89 7c 24 08 mov %edi,0x8(%esp)
80101eb7: 89 74 24 04 mov %esi,0x4(%esp)
80101ebb: 89 1c 24 mov %ebx,(%esp)
de.inum = inum;
80101ebe: 66 89 45 d8 mov %ax,-0x28(%ebp)
if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
80101ec2: e8 99 fb ff ff call 80101a60 <writei>
80101ec7: 83 f8 10 cmp $0x10,%eax
80101eca: 75 25 jne 80101ef1 <dirlink+0xd1>
return 0;
80101ecc: 31 c0 xor %eax,%eax
}
80101ece: 83 c4 2c add $0x2c,%esp
80101ed1: 5b pop %ebx
80101ed2: 5e pop %esi
80101ed3: 5f pop %edi
80101ed4: 5d pop %ebp
80101ed5: c3 ret
iput(ip);
80101ed6: 89 04 24 mov %eax,(%esp)
80101ed9: e8 f2 f8 ff ff call 801017d0 <iput>
return -1;
80101ede: b8 ff ff ff ff mov $0xffffffff,%eax
80101ee3: eb e9 jmp 80101ece <dirlink+0xae>
panic("dirlink read");
80101ee5: c7 04 24 88 71 10 80 movl $0x80107188,(%esp)
80101eec: e8 6f e4 ff ff call 80100360 <panic>
panic("dirlink");
80101ef1: c7 04 24 ea 77 10 80 movl $0x801077ea,(%esp)
80101ef8: e8 63 e4 ff ff call 80100360 <panic>
80101efd: 8d 76 00 lea 0x0(%esi),%esi
80101f00 <namei>:
struct inode*
namei(char *path)
{
80101f00: 55 push %ebp
char name[DIRSIZ];
return namex(path, 0, name);
80101f01: 31 d2 xor %edx,%edx
{
80101f03: 89 e5 mov %esp,%ebp
80101f05: 83 ec 18 sub $0x18,%esp
return namex(path, 0, name);
80101f08: 8b 45 08 mov 0x8(%ebp),%eax
80101f0b: 8d 4d ea lea -0x16(%ebp),%ecx
80101f0e: e8 6d fd ff ff call 80101c80 <namex>
}
80101f13: c9 leave
80101f14: c3 ret
80101f15: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80101f19: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80101f20 <nameiparent>:
struct inode*
nameiparent(char *path, char *name)
{
80101f20: 55 push %ebp
return namex(path, 1, name);
80101f21: ba 01 00 00 00 mov $0x1,%edx
{
80101f26: 89 e5 mov %esp,%ebp
return namex(path, 1, name);
80101f28: 8b 4d 0c mov 0xc(%ebp),%ecx
80101f2b: 8b 45 08 mov 0x8(%ebp),%eax
}
80101f2e: 5d pop %ebp
return namex(path, 1, name);
80101f2f: e9 4c fd ff ff jmp 80101c80 <namex>
80101f34: 66 90 xchg %ax,%ax
80101f36: 66 90 xchg %ax,%ax
80101f38: 66 90 xchg %ax,%ax
80101f3a: 66 90 xchg %ax,%ax
80101f3c: 66 90 xchg %ax,%ax
80101f3e: 66 90 xchg %ax,%ax
80101f40 <idestart>:
}
// Start the request for b. Caller must hold idelock.
static void
idestart(struct buf *b)
{
80101f40: 55 push %ebp
80101f41: 89 e5 mov %esp,%ebp
80101f43: 56 push %esi
80101f44: 89 c6 mov %eax,%esi
80101f46: 53 push %ebx
80101f47: 83 ec 10 sub $0x10,%esp
if(b == 0)
80101f4a: 85 c0 test %eax,%eax
80101f4c: 0f 84 99 00 00 00 je 80101feb <idestart+0xab>
panic("idestart");
if(b->blockno >= FSSIZE)
80101f52: 8b 48 08 mov 0x8(%eax),%ecx
80101f55: 81 f9 e7 03 00 00 cmp $0x3e7,%ecx
80101f5b: 0f 87 7e 00 00 00 ja 80101fdf <idestart+0x9f>
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
80101f61: ba f7 01 00 00 mov $0x1f7,%edx
80101f66: 66 90 xchg %ax,%ax
80101f68: ec in (%dx),%al
while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY)
80101f69: 83 e0 c0 and $0xffffffc0,%eax
80101f6c: 3c 40 cmp $0x40,%al
80101f6e: 75 f8 jne 80101f68 <idestart+0x28>
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80101f70: 31 db xor %ebx,%ebx
80101f72: ba f6 03 00 00 mov $0x3f6,%edx
80101f77: 89 d8 mov %ebx,%eax
80101f79: ee out %al,(%dx)
80101f7a: ba f2 01 00 00 mov $0x1f2,%edx
80101f7f: b8 01 00 00 00 mov $0x1,%eax
80101f84: ee out %al,(%dx)
80101f85: 0f b6 c1 movzbl %cl,%eax
80101f88: b2 f3 mov $0xf3,%dl
80101f8a: ee out %al,(%dx)
idewait(0);
outb(0x3f6, 0); // generate interrupt
outb(0x1f2, sector_per_block); // number of sectors
outb(0x1f3, sector & 0xff);
outb(0x1f4, (sector >> 8) & 0xff);
80101f8b: 89 c8 mov %ecx,%eax
80101f8d: b2 f4 mov $0xf4,%dl
80101f8f: c1 f8 08 sar $0x8,%eax
80101f92: ee out %al,(%dx)
80101f93: b2 f5 mov $0xf5,%dl
80101f95: 89 d8 mov %ebx,%eax
80101f97: ee out %al,(%dx)
outb(0x1f5, (sector >> 16) & 0xff);
outb(0x1f6, 0xe0 | ((b->dev&1)<<4) | ((sector>>24)&0x0f));
80101f98: 0f b6 46 04 movzbl 0x4(%esi),%eax
80101f9c: b2 f6 mov $0xf6,%dl
80101f9e: 83 e0 01 and $0x1,%eax
80101fa1: c1 e0 04 shl $0x4,%eax
80101fa4: 83 c8 e0 or $0xffffffe0,%eax
80101fa7: ee out %al,(%dx)
if(b->flags & B_DIRTY){
80101fa8: f6 06 04 testb $0x4,(%esi)
80101fab: 75 13 jne 80101fc0 <idestart+0x80>
80101fad: ba f7 01 00 00 mov $0x1f7,%edx
80101fb2: b8 20 00 00 00 mov $0x20,%eax
80101fb7: ee out %al,(%dx)
outb(0x1f7, write_cmd);
outsl(0x1f0, b->data, BSIZE/4);
} else {
outb(0x1f7, read_cmd);
}
}
80101fb8: 83 c4 10 add $0x10,%esp
80101fbb: 5b pop %ebx
80101fbc: 5e pop %esi
80101fbd: 5d pop %ebp
80101fbe: c3 ret
80101fbf: 90 nop
80101fc0: b2 f7 mov $0xf7,%dl
80101fc2: b8 30 00 00 00 mov $0x30,%eax
80101fc7: ee out %al,(%dx)
asm volatile("cld; rep outsl" :
80101fc8: b9 80 00 00 00 mov $0x80,%ecx
outsl(0x1f0, b->data, BSIZE/4);
80101fcd: 83 c6 5c add $0x5c,%esi
80101fd0: ba f0 01 00 00 mov $0x1f0,%edx
80101fd5: fc cld
80101fd6: f3 6f rep outsl %ds:(%esi),(%dx)
}
80101fd8: 83 c4 10 add $0x10,%esp
80101fdb: 5b pop %ebx
80101fdc: 5e pop %esi
80101fdd: 5d pop %ebp
80101fde: c3 ret
panic("incorrect blockno");
80101fdf: c7 04 24 f4 71 10 80 movl $0x801071f4,(%esp)
80101fe6: e8 75 e3 ff ff call 80100360 <panic>
panic("idestart");
80101feb: c7 04 24 eb 71 10 80 movl $0x801071eb,(%esp)
80101ff2: e8 69 e3 ff ff call 80100360 <panic>
80101ff7: 89 f6 mov %esi,%esi
80101ff9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102000 <ideinit>:
{
80102000: 55 push %ebp
80102001: 89 e5 mov %esp,%ebp
80102003: 83 ec 18 sub $0x18,%esp
initlock(&idelock, "ide");
80102006: c7 44 24 04 06 72 10 movl $0x80107206,0x4(%esp)
8010200d: 80
8010200e: c7 04 24 80 a5 10 80 movl $0x8010a580,(%esp)
80102015: e8 46 23 00 00 call 80104360 <initlock>
ioapicenable(IRQ_IDE, ncpu - 1);
8010201a: a1 00 2d 11 80 mov 0x80112d00,%eax
8010201f: c7 04 24 0e 00 00 00 movl $0xe,(%esp)
80102026: 83 e8 01 sub $0x1,%eax
80102029: 89 44 24 04 mov %eax,0x4(%esp)
8010202d: e8 7e 02 00 00 call 801022b0 <ioapicenable>
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
80102032: ba f7 01 00 00 mov $0x1f7,%edx
80102037: 90 nop
80102038: ec in (%dx),%al
while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY)
80102039: 83 e0 c0 and $0xffffffc0,%eax
8010203c: 3c 40 cmp $0x40,%al
8010203e: 75 f8 jne 80102038 <ideinit+0x38>
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80102040: ba f6 01 00 00 mov $0x1f6,%edx
80102045: b8 f0 ff ff ff mov $0xfffffff0,%eax
8010204a: ee out %al,(%dx)
8010204b: b9 e8 03 00 00 mov $0x3e8,%ecx
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
80102050: b2 f7 mov $0xf7,%dl
80102052: eb 09 jmp 8010205d <ideinit+0x5d>
80102054: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
for(i=0; i<1000; i++){
80102058: 83 e9 01 sub $0x1,%ecx
8010205b: 74 0f je 8010206c <ideinit+0x6c>
8010205d: ec in (%dx),%al
if(inb(0x1f7) != 0){
8010205e: 84 c0 test %al,%al
80102060: 74 f6 je 80102058 <ideinit+0x58>
havedisk1 = 1;
80102062: c7 05 60 a5 10 80 01 movl $0x1,0x8010a560
80102069: 00 00 00
asm volatile("out %0,%1" : : "a" (data), "d" (port));
8010206c: ba f6 01 00 00 mov $0x1f6,%edx
80102071: b8 e0 ff ff ff mov $0xffffffe0,%eax
80102076: ee out %al,(%dx)
}
80102077: c9 leave
80102078: c3 ret
80102079: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80102080 <ideintr>:
// Interrupt handler.
void
ideintr(void)
{
80102080: 55 push %ebp
80102081: 89 e5 mov %esp,%ebp
80102083: 57 push %edi
80102084: 56 push %esi
80102085: 53 push %ebx
80102086: 83 ec 1c sub $0x1c,%esp
struct buf *b;
// First queued buffer is the active request.
acquire(&idelock);
80102089: c7 04 24 80 a5 10 80 movl $0x8010a580,(%esp)
80102090: e8 3b 24 00 00 call 801044d0 <acquire>
if((b = idequeue) == 0){
80102095: 8b 1d 64 a5 10 80 mov 0x8010a564,%ebx
8010209b: 85 db test %ebx,%ebx
8010209d: 74 30 je 801020cf <ideintr+0x4f>
release(&idelock);
return;
}
idequeue = b->qnext;
8010209f: 8b 43 58 mov 0x58(%ebx),%eax
801020a2: a3 64 a5 10 80 mov %eax,0x8010a564
// Read data if needed.
if(!(b->flags & B_DIRTY) && idewait(1) >= 0)
801020a7: 8b 33 mov (%ebx),%esi
801020a9: f7 c6 04 00 00 00 test $0x4,%esi
801020af: 74 37 je 801020e8 <ideintr+0x68>
insl(0x1f0, b->data, BSIZE/4);
// Wake process waiting for this buf.
b->flags |= B_VALID;
b->flags &= ~B_DIRTY;
801020b1: 83 e6 fb and $0xfffffffb,%esi
801020b4: 83 ce 02 or $0x2,%esi
801020b7: 89 33 mov %esi,(%ebx)
wakeup(b);
801020b9: 89 1c 24 mov %ebx,(%esp)
801020bc: e8 8f 1f 00 00 call 80104050 <wakeup>
// Start disk on next buf in queue.
if(idequeue != 0)
801020c1: a1 64 a5 10 80 mov 0x8010a564,%eax
801020c6: 85 c0 test %eax,%eax
801020c8: 74 05 je 801020cf <ideintr+0x4f>
idestart(idequeue);
801020ca: e8 71 fe ff ff call 80101f40 <idestart>
release(&idelock);
801020cf: c7 04 24 80 a5 10 80 movl $0x8010a580,(%esp)
801020d6: e8 65 24 00 00 call 80104540 <release>
release(&idelock);
}
801020db: 83 c4 1c add $0x1c,%esp
801020de: 5b pop %ebx
801020df: 5e pop %esi
801020e0: 5f pop %edi
801020e1: 5d pop %ebp
801020e2: c3 ret
801020e3: 90 nop
801020e4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
801020e8: ba f7 01 00 00 mov $0x1f7,%edx
801020ed: 8d 76 00 lea 0x0(%esi),%esi
801020f0: ec in (%dx),%al
while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY)
801020f1: 89 c1 mov %eax,%ecx
801020f3: 83 e1 c0 and $0xffffffc0,%ecx
801020f6: 80 f9 40 cmp $0x40,%cl
801020f9: 75 f5 jne 801020f0 <ideintr+0x70>
if(checkerr && (r & (IDE_DF|IDE_ERR)) != 0)
801020fb: a8 21 test $0x21,%al
801020fd: 75 b2 jne 801020b1 <ideintr+0x31>
insl(0x1f0, b->data, BSIZE/4);
801020ff: 8d 7b 5c lea 0x5c(%ebx),%edi
asm volatile("cld; rep insl" :
80102102: b9 80 00 00 00 mov $0x80,%ecx
80102107: ba f0 01 00 00 mov $0x1f0,%edx
8010210c: fc cld
8010210d: f3 6d rep insl (%dx),%es:(%edi)
8010210f: 8b 33 mov (%ebx),%esi
80102111: eb 9e jmp 801020b1 <ideintr+0x31>
80102113: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102119: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102120 <iderw>:
// Sync buf with disk.
// If B_DIRTY is set, write buf to disk, clear B_DIRTY, set B_VALID.
// Else if B_VALID is not set, read buf from disk, set B_VALID.
void
iderw(struct buf *b)
{
80102120: 55 push %ebp
80102121: 89 e5 mov %esp,%ebp
80102123: 53 push %ebx
80102124: 83 ec 14 sub $0x14,%esp
80102127: 8b 5d 08 mov 0x8(%ebp),%ebx
struct buf **pp;
if(!holdingsleep(&b->lock))
8010212a: 8d 43 0c lea 0xc(%ebx),%eax
8010212d: 89 04 24 mov %eax,(%esp)
80102130: e8 db 21 00 00 call 80104310 <holdingsleep>
80102135: 85 c0 test %eax,%eax
80102137: 0f 84 9e 00 00 00 je 801021db <iderw+0xbb>
panic("iderw: buf not locked");
if((b->flags & (B_VALID|B_DIRTY)) == B_VALID)
8010213d: 8b 03 mov (%ebx),%eax
8010213f: 83 e0 06 and $0x6,%eax
80102142: 83 f8 02 cmp $0x2,%eax
80102145: 0f 84 a8 00 00 00 je 801021f3 <iderw+0xd3>
panic("iderw: nothing to do");
if(b->dev != 0 && !havedisk1)
8010214b: 8b 53 04 mov 0x4(%ebx),%edx
8010214e: 85 d2 test %edx,%edx
80102150: 74 0d je 8010215f <iderw+0x3f>
80102152: a1 60 a5 10 80 mov 0x8010a560,%eax
80102157: 85 c0 test %eax,%eax
80102159: 0f 84 88 00 00 00 je 801021e7 <iderw+0xc7>
panic("iderw: ide disk 1 not present");
acquire(&idelock); //DOC:acquire-lock
8010215f: c7 04 24 80 a5 10 80 movl $0x8010a580,(%esp)
80102166: e8 65 23 00 00 call 801044d0 <acquire>
// Append b to idequeue.
b->qnext = 0;
for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue
8010216b: a1 64 a5 10 80 mov 0x8010a564,%eax
b->qnext = 0;
80102170: c7 43 58 00 00 00 00 movl $0x0,0x58(%ebx)
for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue
80102177: 85 c0 test %eax,%eax
80102179: 75 07 jne 80102182 <iderw+0x62>
8010217b: eb 4e jmp 801021cb <iderw+0xab>
8010217d: 8d 76 00 lea 0x0(%esi),%esi
80102180: 89 d0 mov %edx,%eax
80102182: 8b 50 58 mov 0x58(%eax),%edx
80102185: 85 d2 test %edx,%edx
80102187: 75 f7 jne 80102180 <iderw+0x60>
80102189: 83 c0 58 add $0x58,%eax
;
*pp = b;
8010218c: 89 18 mov %ebx,(%eax)
// Start disk if necessary.
if(idequeue == b)
8010218e: 39 1d 64 a5 10 80 cmp %ebx,0x8010a564
80102194: 74 3c je 801021d2 <iderw+0xb2>
idestart(b);
// Wait for request to finish.
while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){
80102196: 8b 03 mov (%ebx),%eax
80102198: 83 e0 06 and $0x6,%eax
8010219b: 83 f8 02 cmp $0x2,%eax
8010219e: 74 1a je 801021ba <iderw+0x9a>
sleep(b, &idelock);
801021a0: c7 44 24 04 80 a5 10 movl $0x8010a580,0x4(%esp)
801021a7: 80
801021a8: 89 1c 24 mov %ebx,(%esp)
801021ab: e8 f0 1b 00 00 call 80103da0 <sleep>
while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){
801021b0: 8b 13 mov (%ebx),%edx
801021b2: 83 e2 06 and $0x6,%edx
801021b5: 83 fa 02 cmp $0x2,%edx
801021b8: 75 e6 jne 801021a0 <iderw+0x80>
}
release(&idelock);
801021ba: c7 45 08 80 a5 10 80 movl $0x8010a580,0x8(%ebp)
}
801021c1: 83 c4 14 add $0x14,%esp
801021c4: 5b pop %ebx
801021c5: 5d pop %ebp
release(&idelock);
801021c6: e9 75 23 00 00 jmp 80104540 <release>
for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue
801021cb: b8 64 a5 10 80 mov $0x8010a564,%eax
801021d0: eb ba jmp 8010218c <iderw+0x6c>
idestart(b);
801021d2: 89 d8 mov %ebx,%eax
801021d4: e8 67 fd ff ff call 80101f40 <idestart>
801021d9: eb bb jmp 80102196 <iderw+0x76>
panic("iderw: buf not locked");
801021db: c7 04 24 0a 72 10 80 movl $0x8010720a,(%esp)
801021e2: e8 79 e1 ff ff call 80100360 <panic>
panic("iderw: ide disk 1 not present");
801021e7: c7 04 24 35 72 10 80 movl $0x80107235,(%esp)
801021ee: e8 6d e1 ff ff call 80100360 <panic>
panic("iderw: nothing to do");
801021f3: c7 04 24 20 72 10 80 movl $0x80107220,(%esp)
801021fa: e8 61 e1 ff ff call 80100360 <panic>
801021ff: 90 nop
80102200 <ioapicinit>:
80102200: 55 push %ebp
80102201: 89 e5 mov %esp,%ebp
80102203: 56 push %esi
80102204: 53 push %ebx
80102205: 83 ec 10 sub $0x10,%esp
80102208: c7 05 34 26 11 80 00 movl $0xfec00000,0x80112634
8010220f: 00 c0 fe
80102212: c7 05 00 00 c0 fe 01 movl $0x1,0xfec00000
80102219: 00 00 00
8010221c: 8b 15 34 26 11 80 mov 0x80112634,%edx
80102222: 8b 42 10 mov 0x10(%edx),%eax
80102225: c7 02 00 00 00 00 movl $0x0,(%edx)
8010222b: 8b 1d 34 26 11 80 mov 0x80112634,%ebx
80102231: 0f b6 15 60 27 11 80 movzbl 0x80112760,%edx
80102238: c1 e8 10 shr $0x10,%eax
8010223b: 0f b6 f0 movzbl %al,%esi
8010223e: 8b 43 10 mov 0x10(%ebx),%eax
80102241: c1 e8 18 shr $0x18,%eax
80102244: 39 c2 cmp %eax,%edx
80102246: 74 12 je 8010225a <ioapicinit+0x5a>
80102248: c7 04 24 54 72 10 80 movl $0x80107254,(%esp)
8010224f: e8 fc e3 ff ff call 80100650 <cprintf>
80102254: 8b 1d 34 26 11 80 mov 0x80112634,%ebx
8010225a: ba 10 00 00 00 mov $0x10,%edx
8010225f: 31 c0 xor %eax,%eax
80102261: eb 07 jmp 8010226a <ioapicinit+0x6a>
80102263: 90 nop
80102264: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102268: 89 cb mov %ecx,%ebx
8010226a: 89 13 mov %edx,(%ebx)
8010226c: 8b 1d 34 26 11 80 mov 0x80112634,%ebx
80102272: 8d 48 20 lea 0x20(%eax),%ecx
80102275: 81 c9 00 00 01 00 or $0x10000,%ecx
8010227b: 83 c0 01 add $0x1,%eax
8010227e: 89 4b 10 mov %ecx,0x10(%ebx)
80102281: 8d 4a 01 lea 0x1(%edx),%ecx
80102284: 83 c2 02 add $0x2,%edx
80102287: 89 0b mov %ecx,(%ebx)
80102289: 8b 0d 34 26 11 80 mov 0x80112634,%ecx
8010228f: 39 c6 cmp %eax,%esi
80102291: c7 41 10 00 00 00 00 movl $0x0,0x10(%ecx)
80102298: 7d ce jge 80102268 <ioapicinit+0x68>
8010229a: 83 c4 10 add $0x10,%esp
8010229d: 5b pop %ebx
8010229e: 5e pop %esi
8010229f: 5d pop %ebp
801022a0: c3 ret
801022a1: eb 0d jmp 801022b0 <ioapicenable>
801022a3: 90 nop
801022a4: 90 nop
801022a5: 90 nop
801022a6: 90 nop
801022a7: 90 nop
801022a8: 90 nop
801022a9: 90 nop
801022aa: 90 nop
801022ab: 90 nop
801022ac: 90 nop
801022ad: 90 nop
801022ae: 90 nop
801022af: 90 nop
801022b0 <ioapicenable>:
801022b0: 55 push %ebp
801022b1: 89 e5 mov %esp,%ebp
801022b3: 8b 55 08 mov 0x8(%ebp),%edx
801022b6: 53 push %ebx
801022b7: 8b 45 0c mov 0xc(%ebp),%eax
801022ba: 8d 5a 20 lea 0x20(%edx),%ebx
801022bd: 8d 4c 12 10 lea 0x10(%edx,%edx,1),%ecx
801022c1: 8b 15 34 26 11 80 mov 0x80112634,%edx
801022c7: c1 e0 18 shl $0x18,%eax
801022ca: 89 0a mov %ecx,(%edx)
801022cc: 8b 15 34 26 11 80 mov 0x80112634,%edx
801022d2: 83 c1 01 add $0x1,%ecx
801022d5: 89 5a 10 mov %ebx,0x10(%edx)
801022d8: 89 0a mov %ecx,(%edx)
801022da: 8b 15 34 26 11 80 mov 0x80112634,%edx
801022e0: 89 42 10 mov %eax,0x10(%edx)
801022e3: 5b pop %ebx
801022e4: 5d pop %ebp
801022e5: c3 ret
801022e6: 66 90 xchg %ax,%ax
801022e8: 66 90 xchg %ax,%ax
801022ea: 66 90 xchg %ax,%ax
801022ec: 66 90 xchg %ax,%ax
801022ee: 66 90 xchg %ax,%ax
801022f0 <kfree>:
801022f0: 55 push %ebp
801022f1: 89 e5 mov %esp,%ebp
801022f3: 53 push %ebx
801022f4: 83 ec 14 sub $0x14,%esp
801022f7: 8b 5d 08 mov 0x8(%ebp),%ebx
801022fa: f7 c3 ff 0f 00 00 test $0xfff,%ebx
80102300: 75 7c jne 8010237e <kfree+0x8e>
80102302: 81 fb a8 58 11 80 cmp $0x801158a8,%ebx
80102308: 72 74 jb 8010237e <kfree+0x8e>
8010230a: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax
80102310: 3d ff ff ff 0d cmp $0xdffffff,%eax
80102315: 77 67 ja 8010237e <kfree+0x8e>
80102317: c7 44 24 08 00 10 00 movl $0x1000,0x8(%esp)
8010231e: 00
8010231f: c7 44 24 04 01 00 00 movl $0x1,0x4(%esp)
80102326: 00
80102327: 89 1c 24 mov %ebx,(%esp)
8010232a: e8 61 22 00 00 call 80104590 <memset>
8010232f: 8b 15 74 26 11 80 mov 0x80112674,%edx
80102335: 85 d2 test %edx,%edx
80102337: 75 37 jne 80102370 <kfree+0x80>
80102339: a1 78 26 11 80 mov 0x80112678,%eax
8010233e: 89 03 mov %eax,(%ebx)
80102340: a1 74 26 11 80 mov 0x80112674,%eax
80102345: 89 1d 78 26 11 80 mov %ebx,0x80112678
8010234b: 85 c0 test %eax,%eax
8010234d: 75 09 jne 80102358 <kfree+0x68>
8010234f: 83 c4 14 add $0x14,%esp
80102352: 5b pop %ebx
80102353: 5d pop %ebp
80102354: c3 ret
80102355: 8d 76 00 lea 0x0(%esi),%esi
80102358: c7 45 08 40 26 11 80 movl $0x80112640,0x8(%ebp)
8010235f: 83 c4 14 add $0x14,%esp
80102362: 5b pop %ebx
80102363: 5d pop %ebp
80102364: e9 d7 21 00 00 jmp 80104540 <release>
80102369: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80102370: c7 04 24 40 26 11 80 movl $0x80112640,(%esp)
80102377: e8 54 21 00 00 call 801044d0 <acquire>
8010237c: eb bb jmp 80102339 <kfree+0x49>
8010237e: c7 04 24 86 72 10 80 movl $0x80107286,(%esp)
80102385: e8 d6 df ff ff call 80100360 <panic>
8010238a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102390 <freerange>:
80102390: 55 push %ebp
80102391: 89 e5 mov %esp,%ebp
80102393: 56 push %esi
80102394: 53 push %ebx
80102395: 83 ec 10 sub $0x10,%esp
80102398: 8b 45 08 mov 0x8(%ebp),%eax
8010239b: 8b 75 0c mov 0xc(%ebp),%esi
8010239e: 8d 90 ff 0f 00 00 lea 0xfff(%eax),%edx
801023a4: 81 e2 00 f0 ff ff and $0xfffff000,%edx
801023aa: 8d 9a 00 10 00 00 lea 0x1000(%edx),%ebx
801023b0: 39 de cmp %ebx,%esi
801023b2: 73 08 jae 801023bc <freerange+0x2c>
801023b4: eb 18 jmp 801023ce <freerange+0x3e>
801023b6: 66 90 xchg %ax,%ax
801023b8: 89 da mov %ebx,%edx
801023ba: 89 c3 mov %eax,%ebx
801023bc: 89 14 24 mov %edx,(%esp)
801023bf: e8 2c ff ff ff call 801022f0 <kfree>
801023c4: 8d 83 00 10 00 00 lea 0x1000(%ebx),%eax
801023ca: 39 f0 cmp %esi,%eax
801023cc: 76 ea jbe 801023b8 <freerange+0x28>
801023ce: 83 c4 10 add $0x10,%esp
801023d1: 5b pop %ebx
801023d2: 5e pop %esi
801023d3: 5d pop %ebp
801023d4: c3 ret
801023d5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801023d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801023e0 <kinit1>:
801023e0: 55 push %ebp
801023e1: 89 e5 mov %esp,%ebp
801023e3: 56 push %esi
801023e4: 53 push %ebx
801023e5: 83 ec 10 sub $0x10,%esp
801023e8: 8b 75 0c mov 0xc(%ebp),%esi
801023eb: c7 44 24 04 8c 72 10 movl $0x8010728c,0x4(%esp)
801023f2: 80
801023f3: c7 04 24 40 26 11 80 movl $0x80112640,(%esp)
801023fa: e8 61 1f 00 00 call 80104360 <initlock>
801023ff: 8b 45 08 mov 0x8(%ebp),%eax
80102402: c7 05 74 26 11 80 00 movl $0x0,0x80112674
80102409: 00 00 00
8010240c: 8d 90 ff 0f 00 00 lea 0xfff(%eax),%edx
80102412: 81 e2 00 f0 ff ff and $0xfffff000,%edx
80102418: 8d 9a 00 10 00 00 lea 0x1000(%edx),%ebx
8010241e: 39 de cmp %ebx,%esi
80102420: 73 0a jae 8010242c <kinit1+0x4c>
80102422: eb 1a jmp 8010243e <kinit1+0x5e>
80102424: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102428: 89 da mov %ebx,%edx
8010242a: 89 c3 mov %eax,%ebx
8010242c: 89 14 24 mov %edx,(%esp)
8010242f: e8 bc fe ff ff call 801022f0 <kfree>
80102434: 8d 83 00 10 00 00 lea 0x1000(%ebx),%eax
8010243a: 39 c6 cmp %eax,%esi
8010243c: 73 ea jae 80102428 <kinit1+0x48>
8010243e: 83 c4 10 add $0x10,%esp
80102441: 5b pop %ebx
80102442: 5e pop %esi
80102443: 5d pop %ebp
80102444: c3 ret
80102445: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102449: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102450 <kinit2>:
80102450: 55 push %ebp
80102451: 89 e5 mov %esp,%ebp
80102453: 56 push %esi
80102454: 53 push %ebx
80102455: 83 ec 10 sub $0x10,%esp
80102458: 8b 45 08 mov 0x8(%ebp),%eax
8010245b: 8b 75 0c mov 0xc(%ebp),%esi
8010245e: 8d 90 ff 0f 00 00 lea 0xfff(%eax),%edx
80102464: 81 e2 00 f0 ff ff and $0xfffff000,%edx
8010246a: 8d 9a 00 10 00 00 lea 0x1000(%edx),%ebx
80102470: 39 de cmp %ebx,%esi
80102472: 73 08 jae 8010247c <kinit2+0x2c>
80102474: eb 18 jmp 8010248e <kinit2+0x3e>
80102476: 66 90 xchg %ax,%ax
80102478: 89 da mov %ebx,%edx
8010247a: 89 c3 mov %eax,%ebx
8010247c: 89 14 24 mov %edx,(%esp)
8010247f: e8 6c fe ff ff call 801022f0 <kfree>
80102484: 8d 83 00 10 00 00 lea 0x1000(%ebx),%eax
8010248a: 39 c6 cmp %eax,%esi
8010248c: 73 ea jae 80102478 <kinit2+0x28>
8010248e: c7 05 74 26 11 80 01 movl $0x1,0x80112674
80102495: 00 00 00
80102498: 83 c4 10 add $0x10,%esp
8010249b: 5b pop %ebx
8010249c: 5e pop %esi
8010249d: 5d pop %ebp
8010249e: c3 ret
8010249f: 90 nop
801024a0 <kalloc>:
801024a0: 55 push %ebp
801024a1: 89 e5 mov %esp,%ebp
801024a3: 53 push %ebx
801024a4: 83 ec 14 sub $0x14,%esp
801024a7: a1 74 26 11 80 mov 0x80112674,%eax
801024ac: 85 c0 test %eax,%eax
801024ae: 75 30 jne 801024e0 <kalloc+0x40>
801024b0: 8b 1d 78 26 11 80 mov 0x80112678,%ebx
801024b6: 85 db test %ebx,%ebx
801024b8: 74 08 je 801024c2 <kalloc+0x22>
801024ba: 8b 13 mov (%ebx),%edx
801024bc: 89 15 78 26 11 80 mov %edx,0x80112678
801024c2: 85 c0 test %eax,%eax
801024c4: 74 0c je 801024d2 <kalloc+0x32>
801024c6: c7 04 24 40 26 11 80 movl $0x80112640,(%esp)
801024cd: e8 6e 20 00 00 call 80104540 <release>
801024d2: 83 c4 14 add $0x14,%esp
801024d5: 89 d8 mov %ebx,%eax
801024d7: 5b pop %ebx
801024d8: 5d pop %ebp
801024d9: c3 ret
801024da: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801024e0: c7 04 24 40 26 11 80 movl $0x80112640,(%esp)
801024e7: e8 e4 1f 00 00 call 801044d0 <acquire>
801024ec: a1 74 26 11 80 mov 0x80112674,%eax
801024f1: eb bd jmp 801024b0 <kalloc+0x10>
801024f3: 66 90 xchg %ax,%ax
801024f5: 66 90 xchg %ax,%ax
801024f7: 66 90 xchg %ax,%ax
801024f9: 66 90 xchg %ax,%ax
801024fb: 66 90 xchg %ax,%ax
801024fd: 66 90 xchg %ax,%ax
801024ff: 90 nop
80102500 <kbdgetc>:
80102500: ba 64 00 00 00 mov $0x64,%edx
80102505: ec in (%dx),%al
80102506: a8 01 test $0x1,%al
80102508: 0f 84 ba 00 00 00 je 801025c8 <kbdgetc+0xc8>
8010250e: b2 60 mov $0x60,%dl
80102510: ec in (%dx),%al
80102511: 0f b6 c8 movzbl %al,%ecx
80102514: 81 f9 e0 00 00 00 cmp $0xe0,%ecx
8010251a: 0f 84 88 00 00 00 je 801025a8 <kbdgetc+0xa8>
80102520: 84 c0 test %al,%al
80102522: 79 2c jns 80102550 <kbdgetc+0x50>
80102524: 8b 15 b4 a5 10 80 mov 0x8010a5b4,%edx
8010252a: f6 c2 40 test $0x40,%dl
8010252d: 75 05 jne 80102534 <kbdgetc+0x34>
8010252f: 89 c1 mov %eax,%ecx
80102531: 83 e1 7f and $0x7f,%ecx
80102534: 0f b6 81 c0 73 10 80 movzbl -0x7fef8c40(%ecx),%eax
8010253b: 83 c8 40 or $0x40,%eax
8010253e: 0f b6 c0 movzbl %al,%eax
80102541: f7 d0 not %eax
80102543: 21 d0 and %edx,%eax
80102545: a3 b4 a5 10 80 mov %eax,0x8010a5b4
8010254a: 31 c0 xor %eax,%eax
8010254c: c3 ret
8010254d: 8d 76 00 lea 0x0(%esi),%esi
80102550: 55 push %ebp
80102551: 89 e5 mov %esp,%ebp
80102553: 53 push %ebx
80102554: 8b 1d b4 a5 10 80 mov 0x8010a5b4,%ebx
8010255a: f6 c3 40 test $0x40,%bl
8010255d: 74 09 je 80102568 <kbdgetc+0x68>
8010255f: 83 c8 80 or $0xffffff80,%eax
80102562: 83 e3 bf and $0xffffffbf,%ebx
80102565: 0f b6 c8 movzbl %al,%ecx
80102568: 0f b6 91 c0 73 10 80 movzbl -0x7fef8c40(%ecx),%edx
8010256f: 0f b6 81 c0 72 10 80 movzbl -0x7fef8d40(%ecx),%eax
80102576: 09 da or %ebx,%edx
80102578: 31 c2 xor %eax,%edx
8010257a: 89 d0 mov %edx,%eax
8010257c: 83 e0 03 and $0x3,%eax
8010257f: 8b 04 85 a0 72 10 80 mov -0x7fef8d60(,%eax,4),%eax
80102586: 89 15 b4 a5 10 80 mov %edx,0x8010a5b4
8010258c: 83 e2 08 and $0x8,%edx
8010258f: 0f b6 04 08 movzbl (%eax,%ecx,1),%eax
80102593: 74 0b je 801025a0 <kbdgetc+0xa0>
80102595: 8d 50 9f lea -0x61(%eax),%edx
80102598: 83 fa 19 cmp $0x19,%edx
8010259b: 77 1b ja 801025b8 <kbdgetc+0xb8>
8010259d: 83 e8 20 sub $0x20,%eax
801025a0: 5b pop %ebx
801025a1: 5d pop %ebp
801025a2: c3 ret
801025a3: 90 nop
801025a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801025a8: 83 0d b4 a5 10 80 40 orl $0x40,0x8010a5b4
801025af: 31 c0 xor %eax,%eax
801025b1: c3 ret
801025b2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801025b8: 8d 48 bf lea -0x41(%eax),%ecx
801025bb: 8d 50 20 lea 0x20(%eax),%edx
801025be: 83 f9 19 cmp $0x19,%ecx
801025c1: 0f 46 c2 cmovbe %edx,%eax
801025c4: eb da jmp 801025a0 <kbdgetc+0xa0>
801025c6: 66 90 xchg %ax,%ax
801025c8: b8 ff ff ff ff mov $0xffffffff,%eax
801025cd: c3 ret
801025ce: 66 90 xchg %ax,%ax
801025d0 <kbdintr>:
801025d0: 55 push %ebp
801025d1: 89 e5 mov %esp,%ebp
801025d3: 83 ec 18 sub $0x18,%esp
801025d6: c7 04 24 00 25 10 80 movl $0x80102500,(%esp)
801025dd: e8 ce e1 ff ff call 801007b0 <consoleintr>
801025e2: c9 leave
801025e3: c3 ret
801025e4: 66 90 xchg %ax,%ax
801025e6: 66 90 xchg %ax,%ax
801025e8: 66 90 xchg %ax,%ax
801025ea: 66 90 xchg %ax,%ax
801025ec: 66 90 xchg %ax,%ax
801025ee: 66 90 xchg %ax,%ax
801025f0 <fill_rtcdate>:
801025f0: 55 push %ebp
801025f1: 89 c1 mov %eax,%ecx
801025f3: 89 e5 mov %esp,%ebp
801025f5: ba 70 00 00 00 mov $0x70,%edx
801025fa: 53 push %ebx
801025fb: 31 c0 xor %eax,%eax
801025fd: ee out %al,(%dx)
801025fe: bb 71 00 00 00 mov $0x71,%ebx
80102603: 89 da mov %ebx,%edx
80102605: ec in (%dx),%al
80102606: 0f b6 c0 movzbl %al,%eax
80102609: b2 70 mov $0x70,%dl
8010260b: 89 01 mov %eax,(%ecx)
8010260d: b8 02 00 00 00 mov $0x2,%eax
80102612: ee out %al,(%dx)
80102613: 89 da mov %ebx,%edx
80102615: ec in (%dx),%al
80102616: 0f b6 c0 movzbl %al,%eax
80102619: b2 70 mov $0x70,%dl
8010261b: 89 41 04 mov %eax,0x4(%ecx)
8010261e: b8 04 00 00 00 mov $0x4,%eax
80102623: ee out %al,(%dx)
80102624: 89 da mov %ebx,%edx
80102626: ec in (%dx),%al
80102627: 0f b6 c0 movzbl %al,%eax
8010262a: b2 70 mov $0x70,%dl
8010262c: 89 41 08 mov %eax,0x8(%ecx)
8010262f: b8 07 00 00 00 mov $0x7,%eax
80102634: ee out %al,(%dx)
80102635: 89 da mov %ebx,%edx
80102637: ec in (%dx),%al
80102638: 0f b6 c0 movzbl %al,%eax
8010263b: b2 70 mov $0x70,%dl
8010263d: 89 41 0c mov %eax,0xc(%ecx)
80102640: b8 08 00 00 00 mov $0x8,%eax
80102645: ee out %al,(%dx)
80102646: 89 da mov %ebx,%edx
80102648: ec in (%dx),%al
80102649: 0f b6 c0 movzbl %al,%eax
8010264c: b2 70 mov $0x70,%dl
8010264e: 89 41 10 mov %eax,0x10(%ecx)
80102651: b8 09 00 00 00 mov $0x9,%eax
80102656: ee out %al,(%dx)
80102657: 89 da mov %ebx,%edx
80102659: ec in (%dx),%al
8010265a: 0f b6 d8 movzbl %al,%ebx
8010265d: 89 59 14 mov %ebx,0x14(%ecx)
80102660: 5b pop %ebx
80102661: 5d pop %ebp
80102662: c3 ret
80102663: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102669: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102670 <lapicinit>:
80102670: a1 7c 26 11 80 mov 0x8011267c,%eax
80102675: 55 push %ebp
80102676: 89 e5 mov %esp,%ebp
80102678: 85 c0 test %eax,%eax
8010267a: 0f 84 c0 00 00 00 je 80102740 <lapicinit+0xd0>
80102680: c7 80 f0 00 00 00 3f movl $0x13f,0xf0(%eax)
80102687: 01 00 00
8010268a: 8b 50 20 mov 0x20(%eax),%edx
8010268d: c7 80 e0 03 00 00 0b movl $0xb,0x3e0(%eax)
80102694: 00 00 00
80102697: 8b 50 20 mov 0x20(%eax),%edx
8010269a: c7 80 20 03 00 00 20 movl $0x20020,0x320(%eax)
801026a1: 00 02 00
801026a4: 8b 50 20 mov 0x20(%eax),%edx
801026a7: c7 80 80 03 00 00 80 movl $0x989680,0x380(%eax)
801026ae: 96 98 00
801026b1: 8b 50 20 mov 0x20(%eax),%edx
801026b4: c7 80 50 03 00 00 00 movl $0x10000,0x350(%eax)
801026bb: 00 01 00
801026be: 8b 50 20 mov 0x20(%eax),%edx
801026c1: c7 80 60 03 00 00 00 movl $0x10000,0x360(%eax)
801026c8: 00 01 00
801026cb: 8b 50 20 mov 0x20(%eax),%edx
801026ce: 8b 50 30 mov 0x30(%eax),%edx
801026d1: c1 ea 10 shr $0x10,%edx
801026d4: 80 fa 03 cmp $0x3,%dl
801026d7: 77 6f ja 80102748 <lapicinit+0xd8>
801026d9: c7 80 70 03 00 00 33 movl $0x33,0x370(%eax)
801026e0: 00 00 00
801026e3: 8b 50 20 mov 0x20(%eax),%edx
801026e6: c7 80 80 02 00 00 00 movl $0x0,0x280(%eax)
801026ed: 00 00 00
801026f0: 8b 50 20 mov 0x20(%eax),%edx
801026f3: c7 80 80 02 00 00 00 movl $0x0,0x280(%eax)
801026fa: 00 00 00
801026fd: 8b 50 20 mov 0x20(%eax),%edx
80102700: c7 80 b0 00 00 00 00 movl $0x0,0xb0(%eax)
80102707: 00 00 00
8010270a: 8b 50 20 mov 0x20(%eax),%edx
8010270d: c7 80 10 03 00 00 00 movl $0x0,0x310(%eax)
80102714: 00 00 00
80102717: 8b 50 20 mov 0x20(%eax),%edx
8010271a: c7 80 00 03 00 00 00 movl $0x88500,0x300(%eax)
80102721: 85 08 00
80102724: 8b 50 20 mov 0x20(%eax),%edx
80102727: 90 nop
80102728: 8b 90 00 03 00 00 mov 0x300(%eax),%edx
8010272e: 80 e6 10 and $0x10,%dh
80102731: 75 f5 jne 80102728 <lapicinit+0xb8>
80102733: c7 80 80 00 00 00 00 movl $0x0,0x80(%eax)
8010273a: 00 00 00
8010273d: 8b 40 20 mov 0x20(%eax),%eax
80102740: 5d pop %ebp
80102741: c3 ret
80102742: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102748: c7 80 40 03 00 00 00 movl $0x10000,0x340(%eax)
8010274f: 00 01 00
80102752: 8b 50 20 mov 0x20(%eax),%edx
80102755: eb 82 jmp 801026d9 <lapicinit+0x69>
80102757: 89 f6 mov %esi,%esi
80102759: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102760 <lapicid>:
80102760: a1 7c 26 11 80 mov 0x8011267c,%eax
80102765: 55 push %ebp
80102766: 89 e5 mov %esp,%ebp
80102768: 85 c0 test %eax,%eax
8010276a: 74 0c je 80102778 <lapicid+0x18>
8010276c: 8b 40 20 mov 0x20(%eax),%eax
8010276f: 5d pop %ebp
80102770: c1 e8 18 shr $0x18,%eax
80102773: c3 ret
80102774: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102778: 31 c0 xor %eax,%eax
8010277a: 5d pop %ebp
8010277b: c3 ret
8010277c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102780 <lapiceoi>:
80102780: a1 7c 26 11 80 mov 0x8011267c,%eax
80102785: 55 push %ebp
80102786: 89 e5 mov %esp,%ebp
80102788: 85 c0 test %eax,%eax
8010278a: 74 0d je 80102799 <lapiceoi+0x19>
8010278c: c7 80 b0 00 00 00 00 movl $0x0,0xb0(%eax)
80102793: 00 00 00
80102796: 8b 40 20 mov 0x20(%eax),%eax
80102799: 5d pop %ebp
8010279a: c3 ret
8010279b: 90 nop
8010279c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801027a0 <microdelay>:
801027a0: 55 push %ebp
801027a1: 89 e5 mov %esp,%ebp
801027a3: 5d pop %ebp
801027a4: c3 ret
801027a5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801027a9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801027b0 <lapicstartap>:
801027b0: 55 push %ebp
801027b1: ba 70 00 00 00 mov $0x70,%edx
801027b6: 89 e5 mov %esp,%ebp
801027b8: b8 0f 00 00 00 mov $0xf,%eax
801027bd: 53 push %ebx
801027be: 8b 4d 08 mov 0x8(%ebp),%ecx
801027c1: 8b 5d 0c mov 0xc(%ebp),%ebx
801027c4: ee out %al,(%dx)
801027c5: b8 0a 00 00 00 mov $0xa,%eax
801027ca: b2 71 mov $0x71,%dl
801027cc: ee out %al,(%dx)
801027cd: 31 c0 xor %eax,%eax
801027cf: 66 a3 67 04 00 80 mov %ax,0x80000467
801027d5: 89 d8 mov %ebx,%eax
801027d7: c1 e8 04 shr $0x4,%eax
801027da: 66 a3 69 04 00 80 mov %ax,0x80000469
801027e0: a1 7c 26 11 80 mov 0x8011267c,%eax
801027e5: c1 e1 18 shl $0x18,%ecx
801027e8: c1 eb 0c shr $0xc,%ebx
801027eb: 89 88 10 03 00 00 mov %ecx,0x310(%eax)
801027f1: 8b 50 20 mov 0x20(%eax),%edx
801027f4: c7 80 00 03 00 00 00 movl $0xc500,0x300(%eax)
801027fb: c5 00 00
801027fe: 8b 50 20 mov 0x20(%eax),%edx
80102801: c7 80 00 03 00 00 00 movl $0x8500,0x300(%eax)
80102808: 85 00 00
8010280b: 8b 50 20 mov 0x20(%eax),%edx
8010280e: 89 88 10 03 00 00 mov %ecx,0x310(%eax)
80102814: 8b 50 20 mov 0x20(%eax),%edx
80102817: 89 da mov %ebx,%edx
80102819: 80 ce 06 or $0x6,%dh
8010281c: 89 90 00 03 00 00 mov %edx,0x300(%eax)
80102822: 8b 58 20 mov 0x20(%eax),%ebx
80102825: 89 88 10 03 00 00 mov %ecx,0x310(%eax)
8010282b: 8b 48 20 mov 0x20(%eax),%ecx
8010282e: 89 90 00 03 00 00 mov %edx,0x300(%eax)
80102834: 8b 40 20 mov 0x20(%eax),%eax
80102837: 5b pop %ebx
80102838: 5d pop %ebp
80102839: c3 ret
8010283a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102840 <cmostime>:
80102840: 55 push %ebp
80102841: ba 70 00 00 00 mov $0x70,%edx
80102846: 89 e5 mov %esp,%ebp
80102848: b8 0b 00 00 00 mov $0xb,%eax
8010284d: 57 push %edi
8010284e: 56 push %esi
8010284f: 53 push %ebx
80102850: 83 ec 4c sub $0x4c,%esp
80102853: ee out %al,(%dx)
80102854: b2 71 mov $0x71,%dl
80102856: ec in (%dx),%al
80102857: 88 45 b7 mov %al,-0x49(%ebp)
8010285a: 8d 5d b8 lea -0x48(%ebp),%ebx
8010285d: 80 65 b7 04 andb $0x4,-0x49(%ebp)
80102861: 8d 7d d0 lea -0x30(%ebp),%edi
80102864: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102868: be 70 00 00 00 mov $0x70,%esi
8010286d: 89 d8 mov %ebx,%eax
8010286f: e8 7c fd ff ff call 801025f0 <fill_rtcdate>
80102874: b8 0a 00 00 00 mov $0xa,%eax
80102879: 89 f2 mov %esi,%edx
8010287b: ee out %al,(%dx)
8010287c: ba 71 00 00 00 mov $0x71,%edx
80102881: ec in (%dx),%al
80102882: 84 c0 test %al,%al
80102884: 78 e7 js 8010286d <cmostime+0x2d>
80102886: 89 f8 mov %edi,%eax
80102888: e8 63 fd ff ff call 801025f0 <fill_rtcdate>
8010288d: c7 44 24 08 18 00 00 movl $0x18,0x8(%esp)
80102894: 00
80102895: 89 7c 24 04 mov %edi,0x4(%esp)
80102899: 89 1c 24 mov %ebx,(%esp)
8010289c: e8 3f 1d 00 00 call 801045e0 <memcmp>
801028a1: 85 c0 test %eax,%eax
801028a3: 75 c3 jne 80102868 <cmostime+0x28>
801028a5: 80 7d b7 00 cmpb $0x0,-0x49(%ebp)
801028a9: 75 78 jne 80102923 <cmostime+0xe3>
801028ab: 8b 45 b8 mov -0x48(%ebp),%eax
801028ae: 89 c2 mov %eax,%edx
801028b0: 83 e0 0f and $0xf,%eax
801028b3: c1 ea 04 shr $0x4,%edx
801028b6: 8d 14 92 lea (%edx,%edx,4),%edx
801028b9: 8d 04 50 lea (%eax,%edx,2),%eax
801028bc: 89 45 b8 mov %eax,-0x48(%ebp)
801028bf: 8b 45 bc mov -0x44(%ebp),%eax
801028c2: 89 c2 mov %eax,%edx
801028c4: 83 e0 0f and $0xf,%eax
801028c7: c1 ea 04 shr $0x4,%edx
801028ca: 8d 14 92 lea (%edx,%edx,4),%edx
801028cd: 8d 04 50 lea (%eax,%edx,2),%eax
801028d0: 89 45 bc mov %eax,-0x44(%ebp)
801028d3: 8b 45 c0 mov -0x40(%ebp),%eax
801028d6: 89 c2 mov %eax,%edx
801028d8: 83 e0 0f and $0xf,%eax
801028db: c1 ea 04 shr $0x4,%edx
801028de: 8d 14 92 lea (%edx,%edx,4),%edx
801028e1: 8d 04 50 lea (%eax,%edx,2),%eax
801028e4: 89 45 c0 mov %eax,-0x40(%ebp)
801028e7: 8b 45 c4 mov -0x3c(%ebp),%eax
801028ea: 89 c2 mov %eax,%edx
801028ec: 83 e0 0f and $0xf,%eax
801028ef: c1 ea 04 shr $0x4,%edx
801028f2: 8d 14 92 lea (%edx,%edx,4),%edx
801028f5: 8d 04 50 lea (%eax,%edx,2),%eax
801028f8: 89 45 c4 mov %eax,-0x3c(%ebp)
801028fb: 8b 45 c8 mov -0x38(%ebp),%eax
801028fe: 89 c2 mov %eax,%edx
80102900: 83 e0 0f and $0xf,%eax
80102903: c1 ea 04 shr $0x4,%edx
80102906: 8d 14 92 lea (%edx,%edx,4),%edx
80102909: 8d 04 50 lea (%eax,%edx,2),%eax
8010290c: 89 45 c8 mov %eax,-0x38(%ebp)
8010290f: 8b 45 cc mov -0x34(%ebp),%eax
80102912: 89 c2 mov %eax,%edx
80102914: 83 e0 0f and $0xf,%eax
80102917: c1 ea 04 shr $0x4,%edx
8010291a: 8d 14 92 lea (%edx,%edx,4),%edx
8010291d: 8d 04 50 lea (%eax,%edx,2),%eax
80102920: 89 45 cc mov %eax,-0x34(%ebp)
80102923: 8b 4d 08 mov 0x8(%ebp),%ecx
80102926: 8b 45 b8 mov -0x48(%ebp),%eax
80102929: 89 01 mov %eax,(%ecx)
8010292b: 8b 45 bc mov -0x44(%ebp),%eax
8010292e: 89 41 04 mov %eax,0x4(%ecx)
80102931: 8b 45 c0 mov -0x40(%ebp),%eax
80102934: 89 41 08 mov %eax,0x8(%ecx)
80102937: 8b 45 c4 mov -0x3c(%ebp),%eax
8010293a: 89 41 0c mov %eax,0xc(%ecx)
8010293d: 8b 45 c8 mov -0x38(%ebp),%eax
80102940: 89 41 10 mov %eax,0x10(%ecx)
80102943: 8b 45 cc mov -0x34(%ebp),%eax
80102946: 89 41 14 mov %eax,0x14(%ecx)
80102949: 81 41 14 d0 07 00 00 addl $0x7d0,0x14(%ecx)
80102950: 83 c4 4c add $0x4c,%esp
80102953: 5b pop %ebx
80102954: 5e pop %esi
80102955: 5f pop %edi
80102956: 5d pop %ebp
80102957: c3 ret
80102958: 66 90 xchg %ax,%ax
8010295a: 66 90 xchg %ax,%ax
8010295c: 66 90 xchg %ax,%ax
8010295e: 66 90 xchg %ax,%ax
80102960 <install_trans>:
80102960: 55 push %ebp
80102961: 89 e5 mov %esp,%ebp
80102963: 57 push %edi
80102964: 56 push %esi
80102965: 53 push %ebx
80102966: 31 db xor %ebx,%ebx
80102968: 83 ec 1c sub $0x1c,%esp
8010296b: a1 c8 26 11 80 mov 0x801126c8,%eax
80102970: 85 c0 test %eax,%eax
80102972: 7e 78 jle 801029ec <install_trans+0x8c>
80102974: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102978: a1 b4 26 11 80 mov 0x801126b4,%eax
8010297d: 01 d8 add %ebx,%eax
8010297f: 83 c0 01 add $0x1,%eax
80102982: 89 44 24 04 mov %eax,0x4(%esp)
80102986: a1 c4 26 11 80 mov 0x801126c4,%eax
8010298b: 89 04 24 mov %eax,(%esp)
8010298e: e8 3d d7 ff ff call 801000d0 <bread>
80102993: 89 c7 mov %eax,%edi
80102995: 8b 04 9d cc 26 11 80 mov -0x7feed934(,%ebx,4),%eax
8010299c: 83 c3 01 add $0x1,%ebx
8010299f: 89 44 24 04 mov %eax,0x4(%esp)
801029a3: a1 c4 26 11 80 mov 0x801126c4,%eax
801029a8: 89 04 24 mov %eax,(%esp)
801029ab: e8 20 d7 ff ff call 801000d0 <bread>
801029b0: c7 44 24 08 00 02 00 movl $0x200,0x8(%esp)
801029b7: 00
801029b8: 89 c6 mov %eax,%esi
801029ba: 8d 47 5c lea 0x5c(%edi),%eax
801029bd: 89 44 24 04 mov %eax,0x4(%esp)
801029c1: 8d 46 5c lea 0x5c(%esi),%eax
801029c4: 89 04 24 mov %eax,(%esp)
801029c7: e8 64 1c 00 00 call 80104630 <memmove>
801029cc: 89 34 24 mov %esi,(%esp)
801029cf: e8 cc d7 ff ff call 801001a0 <bwrite>
801029d4: 89 3c 24 mov %edi,(%esp)
801029d7: e8 04 d8 ff ff call 801001e0 <brelse>
801029dc: 89 34 24 mov %esi,(%esp)
801029df: e8 fc d7 ff ff call 801001e0 <brelse>
801029e4: 39 1d c8 26 11 80 cmp %ebx,0x801126c8
801029ea: 7f 8c jg 80102978 <install_trans+0x18>
801029ec: 83 c4 1c add $0x1c,%esp
801029ef: 5b pop %ebx
801029f0: 5e pop %esi
801029f1: 5f pop %edi
801029f2: 5d pop %ebp
801029f3: c3 ret
801029f4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801029fa: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80102a00 <write_head>:
80102a00: 55 push %ebp
80102a01: 89 e5 mov %esp,%ebp
80102a03: 57 push %edi
80102a04: 56 push %esi
80102a05: 53 push %ebx
80102a06: 83 ec 1c sub $0x1c,%esp
80102a09: a1 b4 26 11 80 mov 0x801126b4,%eax
80102a0e: 89 44 24 04 mov %eax,0x4(%esp)
80102a12: a1 c4 26 11 80 mov 0x801126c4,%eax
80102a17: 89 04 24 mov %eax,(%esp)
80102a1a: e8 b1 d6 ff ff call 801000d0 <bread>
80102a1f: 8b 1d c8 26 11 80 mov 0x801126c8,%ebx
80102a25: 31 d2 xor %edx,%edx
80102a27: 85 db test %ebx,%ebx
80102a29: 89 c7 mov %eax,%edi
80102a2b: 89 58 5c mov %ebx,0x5c(%eax)
80102a2e: 8d 70 5c lea 0x5c(%eax),%esi
80102a31: 7e 17 jle 80102a4a <write_head+0x4a>
80102a33: 90 nop
80102a34: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102a38: 8b 0c 95 cc 26 11 80 mov -0x7feed934(,%edx,4),%ecx
80102a3f: 89 4c 96 04 mov %ecx,0x4(%esi,%edx,4)
80102a43: 83 c2 01 add $0x1,%edx
80102a46: 39 da cmp %ebx,%edx
80102a48: 75 ee jne 80102a38 <write_head+0x38>
80102a4a: 89 3c 24 mov %edi,(%esp)
80102a4d: e8 4e d7 ff ff call 801001a0 <bwrite>
80102a52: 89 3c 24 mov %edi,(%esp)
80102a55: e8 86 d7 ff ff call 801001e0 <brelse>
80102a5a: 83 c4 1c add $0x1c,%esp
80102a5d: 5b pop %ebx
80102a5e: 5e pop %esi
80102a5f: 5f pop %edi
80102a60: 5d pop %ebp
80102a61: c3 ret
80102a62: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80102a69: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102a70 <initlog>:
80102a70: 55 push %ebp
80102a71: 89 e5 mov %esp,%ebp
80102a73: 56 push %esi
80102a74: 53 push %ebx
80102a75: 83 ec 30 sub $0x30,%esp
80102a78: 8b 5d 08 mov 0x8(%ebp),%ebx
80102a7b: c7 44 24 04 c0 74 10 movl $0x801074c0,0x4(%esp)
80102a82: 80
80102a83: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102a8a: e8 d1 18 00 00 call 80104360 <initlock>
80102a8f: 8d 45 dc lea -0x24(%ebp),%eax
80102a92: 89 44 24 04 mov %eax,0x4(%esp)
80102a96: 89 1c 24 mov %ebx,(%esp)
80102a99: e8 82 e9 ff ff call 80101420 <readsb>
80102a9e: 8b 45 ec mov -0x14(%ebp),%eax
80102aa1: 8b 55 e8 mov -0x18(%ebp),%edx
80102aa4: 89 1c 24 mov %ebx,(%esp)
80102aa7: 89 1d c4 26 11 80 mov %ebx,0x801126c4
80102aad: 89 44 24 04 mov %eax,0x4(%esp)
80102ab1: 89 15 b8 26 11 80 mov %edx,0x801126b8
80102ab7: a3 b4 26 11 80 mov %eax,0x801126b4
80102abc: e8 0f d6 ff ff call 801000d0 <bread>
80102ac1: 31 d2 xor %edx,%edx
80102ac3: 8b 58 5c mov 0x5c(%eax),%ebx
80102ac6: 8d 70 5c lea 0x5c(%eax),%esi
80102ac9: 85 db test %ebx,%ebx
80102acb: 89 1d c8 26 11 80 mov %ebx,0x801126c8
80102ad1: 7e 17 jle 80102aea <initlog+0x7a>
80102ad3: 90 nop
80102ad4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102ad8: 8b 4c 96 04 mov 0x4(%esi,%edx,4),%ecx
80102adc: 89 0c 95 cc 26 11 80 mov %ecx,-0x7feed934(,%edx,4)
80102ae3: 83 c2 01 add $0x1,%edx
80102ae6: 39 da cmp %ebx,%edx
80102ae8: 75 ee jne 80102ad8 <initlog+0x68>
80102aea: 89 04 24 mov %eax,(%esp)
80102aed: e8 ee d6 ff ff call 801001e0 <brelse>
80102af2: e8 69 fe ff ff call 80102960 <install_trans>
80102af7: c7 05 c8 26 11 80 00 movl $0x0,0x801126c8
80102afe: 00 00 00
80102b01: e8 fa fe ff ff call 80102a00 <write_head>
80102b06: 83 c4 30 add $0x30,%esp
80102b09: 5b pop %ebx
80102b0a: 5e pop %esi
80102b0b: 5d pop %ebp
80102b0c: c3 ret
80102b0d: 8d 76 00 lea 0x0(%esi),%esi
80102b10 <begin_op>:
80102b10: 55 push %ebp
80102b11: 89 e5 mov %esp,%ebp
80102b13: 83 ec 18 sub $0x18,%esp
80102b16: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102b1d: e8 ae 19 00 00 call 801044d0 <acquire>
80102b22: eb 18 jmp 80102b3c <begin_op+0x2c>
80102b24: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102b28: c7 44 24 04 80 26 11 movl $0x80112680,0x4(%esp)
80102b2f: 80
80102b30: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102b37: e8 64 12 00 00 call 80103da0 <sleep>
80102b3c: a1 c0 26 11 80 mov 0x801126c0,%eax
80102b41: 85 c0 test %eax,%eax
80102b43: 75 e3 jne 80102b28 <begin_op+0x18>
80102b45: a1 bc 26 11 80 mov 0x801126bc,%eax
80102b4a: 8b 15 c8 26 11 80 mov 0x801126c8,%edx
80102b50: 83 c0 01 add $0x1,%eax
80102b53: 8d 0c 80 lea (%eax,%eax,4),%ecx
80102b56: 8d 14 4a lea (%edx,%ecx,2),%edx
80102b59: 83 fa 1e cmp $0x1e,%edx
80102b5c: 7f ca jg 80102b28 <begin_op+0x18>
80102b5e: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102b65: a3 bc 26 11 80 mov %eax,0x801126bc
80102b6a: e8 d1 19 00 00 call 80104540 <release>
80102b6f: c9 leave
80102b70: c3 ret
80102b71: eb 0d jmp 80102b80 <end_op>
80102b73: 90 nop
80102b74: 90 nop
80102b75: 90 nop
80102b76: 90 nop
80102b77: 90 nop
80102b78: 90 nop
80102b79: 90 nop
80102b7a: 90 nop
80102b7b: 90 nop
80102b7c: 90 nop
80102b7d: 90 nop
80102b7e: 90 nop
80102b7f: 90 nop
80102b80 <end_op>:
80102b80: 55 push %ebp
80102b81: 89 e5 mov %esp,%ebp
80102b83: 57 push %edi
80102b84: 56 push %esi
80102b85: 53 push %ebx
80102b86: 83 ec 1c sub $0x1c,%esp
80102b89: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102b90: e8 3b 19 00 00 call 801044d0 <acquire>
80102b95: a1 bc 26 11 80 mov 0x801126bc,%eax
80102b9a: 8b 15 c0 26 11 80 mov 0x801126c0,%edx
80102ba0: 83 e8 01 sub $0x1,%eax
80102ba3: 85 d2 test %edx,%edx
80102ba5: a3 bc 26 11 80 mov %eax,0x801126bc
80102baa: 0f 85 f3 00 00 00 jne 80102ca3 <end_op+0x123>
80102bb0: 85 c0 test %eax,%eax
80102bb2: 0f 85 cb 00 00 00 jne 80102c83 <end_op+0x103>
80102bb8: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102bbf: 31 db xor %ebx,%ebx
80102bc1: c7 05 c0 26 11 80 01 movl $0x1,0x801126c0
80102bc8: 00 00 00
80102bcb: e8 70 19 00 00 call 80104540 <release>
80102bd0: a1 c8 26 11 80 mov 0x801126c8,%eax
80102bd5: 85 c0 test %eax,%eax
80102bd7: 0f 8e 90 00 00 00 jle 80102c6d <end_op+0xed>
80102bdd: 8d 76 00 lea 0x0(%esi),%esi
80102be0: a1 b4 26 11 80 mov 0x801126b4,%eax
80102be5: 01 d8 add %ebx,%eax
80102be7: 83 c0 01 add $0x1,%eax
80102bea: 89 44 24 04 mov %eax,0x4(%esp)
80102bee: a1 c4 26 11 80 mov 0x801126c4,%eax
80102bf3: 89 04 24 mov %eax,(%esp)
80102bf6: e8 d5 d4 ff ff call 801000d0 <bread>
80102bfb: 89 c6 mov %eax,%esi
80102bfd: 8b 04 9d cc 26 11 80 mov -0x7feed934(,%ebx,4),%eax
80102c04: 83 c3 01 add $0x1,%ebx
80102c07: 89 44 24 04 mov %eax,0x4(%esp)
80102c0b: a1 c4 26 11 80 mov 0x801126c4,%eax
80102c10: 89 04 24 mov %eax,(%esp)
80102c13: e8 b8 d4 ff ff call 801000d0 <bread>
80102c18: c7 44 24 08 00 02 00 movl $0x200,0x8(%esp)
80102c1f: 00
80102c20: 89 c7 mov %eax,%edi
80102c22: 8d 40 5c lea 0x5c(%eax),%eax
80102c25: 89 44 24 04 mov %eax,0x4(%esp)
80102c29: 8d 46 5c lea 0x5c(%esi),%eax
80102c2c: 89 04 24 mov %eax,(%esp)
80102c2f: e8 fc 19 00 00 call 80104630 <memmove>
80102c34: 89 34 24 mov %esi,(%esp)
80102c37: e8 64 d5 ff ff call 801001a0 <bwrite>
80102c3c: 89 3c 24 mov %edi,(%esp)
80102c3f: e8 9c d5 ff ff call 801001e0 <brelse>
80102c44: 89 34 24 mov %esi,(%esp)
80102c47: e8 94 d5 ff ff call 801001e0 <brelse>
80102c4c: 3b 1d c8 26 11 80 cmp 0x801126c8,%ebx
80102c52: 7c 8c jl 80102be0 <end_op+0x60>
80102c54: e8 a7 fd ff ff call 80102a00 <write_head>
80102c59: e8 02 fd ff ff call 80102960 <install_trans>
80102c5e: c7 05 c8 26 11 80 00 movl $0x0,0x801126c8
80102c65: 00 00 00
80102c68: e8 93 fd ff ff call 80102a00 <write_head>
80102c6d: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102c74: e8 57 18 00 00 call 801044d0 <acquire>
80102c79: c7 05 c0 26 11 80 00 movl $0x0,0x801126c0
80102c80: 00 00 00
80102c83: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102c8a: e8 c1 13 00 00 call 80104050 <wakeup>
80102c8f: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102c96: e8 a5 18 00 00 call 80104540 <release>
80102c9b: 83 c4 1c add $0x1c,%esp
80102c9e: 5b pop %ebx
80102c9f: 5e pop %esi
80102ca0: 5f pop %edi
80102ca1: 5d pop %ebp
80102ca2: c3 ret
80102ca3: c7 04 24 c4 74 10 80 movl $0x801074c4,(%esp)
80102caa: e8 b1 d6 ff ff call 80100360 <panic>
80102caf: 90 nop
80102cb0 <log_write>:
80102cb0: 55 push %ebp
80102cb1: 89 e5 mov %esp,%ebp
80102cb3: 53 push %ebx
80102cb4: 83 ec 14 sub $0x14,%esp
80102cb7: a1 c8 26 11 80 mov 0x801126c8,%eax
80102cbc: 8b 5d 08 mov 0x8(%ebp),%ebx
80102cbf: 83 f8 1d cmp $0x1d,%eax
80102cc2: 0f 8f 98 00 00 00 jg 80102d60 <log_write+0xb0>
80102cc8: 8b 0d b8 26 11 80 mov 0x801126b8,%ecx
80102cce: 8d 51 ff lea -0x1(%ecx),%edx
80102cd1: 39 d0 cmp %edx,%eax
80102cd3: 0f 8d 87 00 00 00 jge 80102d60 <log_write+0xb0>
80102cd9: a1 bc 26 11 80 mov 0x801126bc,%eax
80102cde: 85 c0 test %eax,%eax
80102ce0: 0f 8e 86 00 00 00 jle 80102d6c <log_write+0xbc>
80102ce6: c7 04 24 80 26 11 80 movl $0x80112680,(%esp)
80102ced: e8 de 17 00 00 call 801044d0 <acquire>
80102cf2: 8b 15 c8 26 11 80 mov 0x801126c8,%edx
80102cf8: 83 fa 00 cmp $0x0,%edx
80102cfb: 7e 54 jle 80102d51 <log_write+0xa1>
80102cfd: 8b 4b 08 mov 0x8(%ebx),%ecx
80102d00: 31 c0 xor %eax,%eax
80102d02: 39 0d cc 26 11 80 cmp %ecx,0x801126cc
80102d08: 75 0f jne 80102d19 <log_write+0x69>
80102d0a: eb 3c jmp 80102d48 <log_write+0x98>
80102d0c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102d10: 39 0c 85 cc 26 11 80 cmp %ecx,-0x7feed934(,%eax,4)
80102d17: 74 2f je 80102d48 <log_write+0x98>
80102d19: 83 c0 01 add $0x1,%eax
80102d1c: 39 d0 cmp %edx,%eax
80102d1e: 75 f0 jne 80102d10 <log_write+0x60>
80102d20: 89 0c 95 cc 26 11 80 mov %ecx,-0x7feed934(,%edx,4)
80102d27: 83 c2 01 add $0x1,%edx
80102d2a: 89 15 c8 26 11 80 mov %edx,0x801126c8
80102d30: 83 0b 04 orl $0x4,(%ebx)
80102d33: c7 45 08 80 26 11 80 movl $0x80112680,0x8(%ebp)
80102d3a: 83 c4 14 add $0x14,%esp
80102d3d: 5b pop %ebx
80102d3e: 5d pop %ebp
80102d3f: e9 fc 17 00 00 jmp 80104540 <release>
80102d44: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80102d48: 89 0c 85 cc 26 11 80 mov %ecx,-0x7feed934(,%eax,4)
80102d4f: eb df jmp 80102d30 <log_write+0x80>
80102d51: 8b 43 08 mov 0x8(%ebx),%eax
80102d54: a3 cc 26 11 80 mov %eax,0x801126cc
80102d59: 75 d5 jne 80102d30 <log_write+0x80>
80102d5b: eb ca jmp 80102d27 <log_write+0x77>
80102d5d: 8d 76 00 lea 0x0(%esi),%esi
80102d60: c7 04 24 d3 74 10 80 movl $0x801074d3,(%esp)
80102d67: e8 f4 d5 ff ff call 80100360 <panic>
80102d6c: c7 04 24 e9 74 10 80 movl $0x801074e9,(%esp)
80102d73: e8 e8 d5 ff ff call 80100360 <panic>
80102d78: 66 90 xchg %ax,%ax
80102d7a: 66 90 xchg %ax,%ax
80102d7c: 66 90 xchg %ax,%ax
80102d7e: 66 90 xchg %ax,%ax
80102d80 <mpmain>:
}
// Common CPU setup code.
static void
mpmain(void)
{
80102d80: 55 push %ebp
80102d81: 89 e5 mov %esp,%ebp
80102d83: 53 push %ebx
80102d84: 83 ec 14 sub $0x14,%esp
cprintf("cpu%d: starting %d\n", cpuid(), cpuid());
80102d87: e8 44 09 00 00 call 801036d0 <cpuid>
80102d8c: 89 c3 mov %eax,%ebx
80102d8e: e8 3d 09 00 00 call 801036d0 <cpuid>
80102d93: 89 5c 24 08 mov %ebx,0x8(%esp)
80102d97: c7 04 24 04 75 10 80 movl $0x80107504,(%esp)
80102d9e: 89 44 24 04 mov %eax,0x4(%esp)
80102da2: e8 a9 d8 ff ff call 80100650 <cprintf>
idtinit(); // load idt register
80102da7: e8 f4 2a 00 00 call 801058a0 <idtinit>
xchg(&(mycpu()->started), 1); // tell startothers() we're up
80102dac: e8 9f 08 00 00 call 80103650 <mycpu>
80102db1: 89 c2 mov %eax,%edx
xchg(volatile uint *addr, uint newval)
{
uint result;
// The + in "+m" denotes a read-modify-write operand.
asm volatile("lock; xchgl %0, %1" :
80102db3: b8 01 00 00 00 mov $0x1,%eax
80102db8: f0 87 82 a0 00 00 00 lock xchg %eax,0xa0(%edx)
scheduler(); // start running processes
80102dbf: e8 ec 0b 00 00 call 801039b0 <scheduler>
80102dc4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102dca: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80102dd0 <mpenter>:
{
80102dd0: 55 push %ebp
80102dd1: 89 e5 mov %esp,%ebp
80102dd3: 83 ec 08 sub $0x8,%esp
switchkvm();
80102dd6: e8 95 3b 00 00 call 80106970 <switchkvm>
seginit();
80102ddb: e8 d0 3a 00 00 call 801068b0 <seginit>
lapicinit();
80102de0: e8 8b f8 ff ff call 80102670 <lapicinit>
mpmain();
80102de5: e8 96 ff ff ff call 80102d80 <mpmain>
80102dea: 66 90 xchg %ax,%ax
80102dec: 66 90 xchg %ax,%ax
80102dee: 66 90 xchg %ax,%ax
80102df0 <main>:
{
80102df0: 55 push %ebp
80102df1: 89 e5 mov %esp,%ebp
80102df3: 53 push %ebx
// The linker has placed the image of entryother.S in
// _binary_entryother_start.
code = P2V(0x7000);
memmove(code, _binary_entryother_start, (uint)_binary_entryother_size);
for(c = cpus; c < cpus+ncpu; c++){
80102df4: bb 80 27 11 80 mov $0x80112780,%ebx
{
80102df9: 83 e4 f0 and $0xfffffff0,%esp
80102dfc: 83 ec 10 sub $0x10,%esp
kinit1(end, P2V(4*1024*1024)); // phys page allocator
80102dff: c7 44 24 04 00 00 40 movl $0x80400000,0x4(%esp)
80102e06: 80
80102e07: c7 04 24 a8 58 11 80 movl $0x801158a8,(%esp)
80102e0e: e8 cd f5 ff ff call 801023e0 <kinit1>
kvmalloc(); // kernel page table
80102e13: e8 e8 3f 00 00 call 80106e00 <kvmalloc>
mpinit(); // detect other processors
80102e18: e8 73 01 00 00 call 80102f90 <mpinit>
80102e1d: 8d 76 00 lea 0x0(%esi),%esi
lapicinit(); // interrupt controller
80102e20: e8 4b f8 ff ff call 80102670 <lapicinit>
seginit(); // segment descriptors
80102e25: e8 86 3a 00 00 call 801068b0 <seginit>
picinit(); // disable pic
80102e2a: e8 21 03 00 00 call 80103150 <picinit>
80102e2f: 90 nop
ioapicinit(); // another interrupt controller
80102e30: e8 cb f3 ff ff call 80102200 <ioapicinit>
consoleinit(); // console hardware
80102e35: e8 16 db ff ff call 80100950 <consoleinit>
uartinit(); // serial port
80102e3a: e8 91 2d 00 00 call 80105bd0 <uartinit>
80102e3f: 90 nop
pinit(); // process table
80102e40: e8 eb 07 00 00 call 80103630 <pinit>
tvinit(); // trap vectors
80102e45: e8 b6 29 00 00 call 80105800 <tvinit>
binit(); // buffer cache
80102e4a: e8 f1 d1 ff ff call 80100040 <binit>
80102e4f: 90 nop
fileinit(); // file table
80102e50: e8 fb de ff ff call 80100d50 <fileinit>
ideinit(); // disk
80102e55: e8 a6 f1 ff ff call 80102000 <ideinit>
memmove(code, _binary_entryother_start, (uint)_binary_entryother_size);
80102e5a: c7 44 24 08 8a 00 00 movl $0x8a,0x8(%esp)
80102e61: 00
80102e62: c7 44 24 04 8c a4 10 movl $0x8010a48c,0x4(%esp)
80102e69: 80
80102e6a: c7 04 24 00 70 00 80 movl $0x80007000,(%esp)
80102e71: e8 ba 17 00 00 call 80104630 <memmove>
for(c = cpus; c < cpus+ncpu; c++){
80102e76: 69 05 00 2d 11 80 b0 imul $0xb0,0x80112d00,%eax
80102e7d: 00 00 00
80102e80: 05 80 27 11 80 add $0x80112780,%eax
80102e85: 39 d8 cmp %ebx,%eax
80102e87: 76 6a jbe 80102ef3 <main+0x103>
80102e89: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
if(c == mycpu()) // We've started already.
80102e90: e8 bb 07 00 00 call 80103650 <mycpu>
80102e95: 39 d8 cmp %ebx,%eax
80102e97: 74 41 je 80102eda <main+0xea>
continue;
// Tell entryother.S what stack to use, where to enter, and what
// pgdir to use. We cannot use kpgdir yet, because the AP processor
// is running in low memory, so we use entrypgdir for the APs too.
stack = kalloc();
80102e99: e8 02 f6 ff ff call 801024a0 <kalloc>
*(void**)(code-4) = stack + KSTACKSIZE;
*(void(**)(void))(code-8) = mpenter;
80102e9e: c7 05 f8 6f 00 80 d0 movl $0x80102dd0,0x80006ff8
80102ea5: 2d 10 80
*(int**)(code-12) = (void *) V2P(entrypgdir);
80102ea8: c7 05 f4 6f 00 80 00 movl $0x109000,0x80006ff4
80102eaf: 90 10 00
*(void**)(code-4) = stack + KSTACKSIZE;
80102eb2: 05 00 10 00 00 add $0x1000,%eax
80102eb7: a3 fc 6f 00 80 mov %eax,0x80006ffc
lapicstartap(c->apicid, V2P(code));
80102ebc: 0f b6 03 movzbl (%ebx),%eax
80102ebf: c7 44 24 04 00 70 00 movl $0x7000,0x4(%esp)
80102ec6: 00
80102ec7: 89 04 24 mov %eax,(%esp)
80102eca: e8 e1 f8 ff ff call 801027b0 <lapicstartap>
80102ecf: 90 nop
// wait for cpu to finish mpmain()
while(c->started == 0)
80102ed0: 8b 83 a0 00 00 00 mov 0xa0(%ebx),%eax
80102ed6: 85 c0 test %eax,%eax
80102ed8: 74 f6 je 80102ed0 <main+0xe0>
for(c = cpus; c < cpus+ncpu; c++){
80102eda: 69 05 00 2d 11 80 b0 imul $0xb0,0x80112d00,%eax
80102ee1: 00 00 00
80102ee4: 81 c3 b0 00 00 00 add $0xb0,%ebx
80102eea: 05 80 27 11 80 add $0x80112780,%eax
80102eef: 39 c3 cmp %eax,%ebx
80102ef1: 72 9d jb 80102e90 <main+0xa0>
kinit2(P2V(4*1024*1024), P2V(PHYSTOP)); // must come after startothers()
80102ef3: c7 44 24 04 00 00 00 movl $0x8e000000,0x4(%esp)
80102efa: 8e
80102efb: c7 04 24 00 00 40 80 movl $0x80400000,(%esp)
80102f02: e8 49 f5 ff ff call 80102450 <kinit2>
userinit(); // first user process
80102f07: e8 14 08 00 00 call 80103720 <userinit>
mpmain(); // finish this processor's setup
80102f0c: e8 6f fe ff ff call 80102d80 <mpmain>
80102f11: 66 90 xchg %ax,%ax
80102f13: 66 90 xchg %ax,%ax
80102f15: 66 90 xchg %ax,%ax
80102f17: 66 90 xchg %ax,%ax
80102f19: 66 90 xchg %ax,%ax
80102f1b: 66 90 xchg %ax,%ax
80102f1d: 66 90 xchg %ax,%ax
80102f1f: 90 nop
80102f20 <mpsearch1>:
80102f20: 55 push %ebp
80102f21: 89 e5 mov %esp,%ebp
80102f23: 56 push %esi
80102f24: 8d b0 00 00 00 80 lea -0x80000000(%eax),%esi
80102f2a: 53 push %ebx
80102f2b: 8d 1c 16 lea (%esi,%edx,1),%ebx
80102f2e: 83 ec 10 sub $0x10,%esp
80102f31: 39 de cmp %ebx,%esi
80102f33: 73 3c jae 80102f71 <mpsearch1+0x51>
80102f35: 8d 76 00 lea 0x0(%esi),%esi
80102f38: c7 44 24 08 04 00 00 movl $0x4,0x8(%esp)
80102f3f: 00
80102f40: c7 44 24 04 18 75 10 movl $0x80107518,0x4(%esp)
80102f47: 80
80102f48: 89 34 24 mov %esi,(%esp)
80102f4b: e8 90 16 00 00 call 801045e0 <memcmp>
80102f50: 85 c0 test %eax,%eax
80102f52: 75 16 jne 80102f6a <mpsearch1+0x4a>
80102f54: 31 c9 xor %ecx,%ecx
80102f56: 31 d2 xor %edx,%edx
80102f58: 0f b6 04 16 movzbl (%esi,%edx,1),%eax
80102f5c: 83 c2 01 add $0x1,%edx
80102f5f: 01 c1 add %eax,%ecx
80102f61: 83 fa 10 cmp $0x10,%edx
80102f64: 75 f2 jne 80102f58 <mpsearch1+0x38>
80102f66: 84 c9 test %cl,%cl
80102f68: 74 10 je 80102f7a <mpsearch1+0x5a>
80102f6a: 83 c6 10 add $0x10,%esi
80102f6d: 39 f3 cmp %esi,%ebx
80102f6f: 77 c7 ja 80102f38 <mpsearch1+0x18>
80102f71: 83 c4 10 add $0x10,%esp
80102f74: 31 c0 xor %eax,%eax
80102f76: 5b pop %ebx
80102f77: 5e pop %esi
80102f78: 5d pop %ebp
80102f79: c3 ret
80102f7a: 83 c4 10 add $0x10,%esp
80102f7d: 89 f0 mov %esi,%eax
80102f7f: 5b pop %ebx
80102f80: 5e pop %esi
80102f81: 5d pop %ebp
80102f82: c3 ret
80102f83: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80102f89: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80102f90 <mpinit>:
80102f90: 55 push %ebp
80102f91: 89 e5 mov %esp,%ebp
80102f93: 57 push %edi
80102f94: 56 push %esi
80102f95: 53 push %ebx
80102f96: 83 ec 1c sub $0x1c,%esp
80102f99: 0f b6 05 0f 04 00 80 movzbl 0x8000040f,%eax
80102fa0: 0f b6 15 0e 04 00 80 movzbl 0x8000040e,%edx
80102fa7: c1 e0 08 shl $0x8,%eax
80102faa: 09 d0 or %edx,%eax
80102fac: c1 e0 04 shl $0x4,%eax
80102faf: 85 c0 test %eax,%eax
80102fb1: 75 1b jne 80102fce <mpinit+0x3e>
80102fb3: 0f b6 05 14 04 00 80 movzbl 0x80000414,%eax
80102fba: 0f b6 15 13 04 00 80 movzbl 0x80000413,%edx
80102fc1: c1 e0 08 shl $0x8,%eax
80102fc4: 09 d0 or %edx,%eax
80102fc6: c1 e0 0a shl $0xa,%eax
80102fc9: 2d 00 04 00 00 sub $0x400,%eax
80102fce: ba 00 04 00 00 mov $0x400,%edx
80102fd3: e8 48 ff ff ff call 80102f20 <mpsearch1>
80102fd8: 85 c0 test %eax,%eax
80102fda: 89 c7 mov %eax,%edi
80102fdc: 0f 84 22 01 00 00 je 80103104 <mpinit+0x174>
80102fe2: 8b 77 04 mov 0x4(%edi),%esi
80102fe5: 85 f6 test %esi,%esi
80102fe7: 0f 84 30 01 00 00 je 8010311d <mpinit+0x18d>
80102fed: 8d 86 00 00 00 80 lea -0x80000000(%esi),%eax
80102ff3: c7 44 24 08 04 00 00 movl $0x4,0x8(%esp)
80102ffa: 00
80102ffb: c7 44 24 04 1d 75 10 movl $0x8010751d,0x4(%esp)
80103002: 80
80103003: 89 04 24 mov %eax,(%esp)
80103006: 89 45 e4 mov %eax,-0x1c(%ebp)
80103009: e8 d2 15 00 00 call 801045e0 <memcmp>
8010300e: 85 c0 test %eax,%eax
80103010: 0f 85 07 01 00 00 jne 8010311d <mpinit+0x18d>
80103016: 0f b6 86 06 00 00 80 movzbl -0x7ffffffa(%esi),%eax
8010301d: 3c 04 cmp $0x4,%al
8010301f: 0f 85 0b 01 00 00 jne 80103130 <mpinit+0x1a0>
80103025: 0f b7 86 04 00 00 80 movzwl -0x7ffffffc(%esi),%eax
8010302c: 85 c0 test %eax,%eax
8010302e: 74 21 je 80103051 <mpinit+0xc1>
80103030: 31 c9 xor %ecx,%ecx
80103032: 31 d2 xor %edx,%edx
80103034: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103038: 0f b6 9c 16 00 00 00 movzbl -0x80000000(%esi,%edx,1),%ebx
8010303f: 80
80103040: 83 c2 01 add $0x1,%edx
80103043: 01 d9 add %ebx,%ecx
80103045: 39 d0 cmp %edx,%eax
80103047: 7f ef jg 80103038 <mpinit+0xa8>
80103049: 84 c9 test %cl,%cl
8010304b: 0f 85 cc 00 00 00 jne 8010311d <mpinit+0x18d>
80103051: 8b 45 e4 mov -0x1c(%ebp),%eax
80103054: 85 c0 test %eax,%eax
80103056: 0f 84 c1 00 00 00 je 8010311d <mpinit+0x18d>
8010305c: 8b 86 24 00 00 80 mov -0x7fffffdc(%esi),%eax
80103062: bb 01 00 00 00 mov $0x1,%ebx
80103067: a3 7c 26 11 80 mov %eax,0x8011267c
8010306c: 0f b7 96 04 00 00 80 movzwl -0x7ffffffc(%esi),%edx
80103073: 8d 86 2c 00 00 80 lea -0x7fffffd4(%esi),%eax
80103079: 03 55 e4 add -0x1c(%ebp),%edx
8010307c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103080: 39 c2 cmp %eax,%edx
80103082: 76 1b jbe 8010309f <mpinit+0x10f>
80103084: 0f b6 08 movzbl (%eax),%ecx
80103087: 80 f9 04 cmp $0x4,%cl
8010308a: 77 74 ja 80103100 <mpinit+0x170>
8010308c: ff 24 8d 5c 75 10 80 jmp *-0x7fef8aa4(,%ecx,4)
80103093: 90 nop
80103094: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103098: 83 c0 08 add $0x8,%eax
8010309b: 39 c2 cmp %eax,%edx
8010309d: 77 e5 ja 80103084 <mpinit+0xf4>
8010309f: 85 db test %ebx,%ebx
801030a1: 0f 84 93 00 00 00 je 8010313a <mpinit+0x1aa>
801030a7: 80 7f 0c 00 cmpb $0x0,0xc(%edi)
801030ab: 74 12 je 801030bf <mpinit+0x12f>
801030ad: ba 22 00 00 00 mov $0x22,%edx
801030b2: b8 70 00 00 00 mov $0x70,%eax
801030b7: ee out %al,(%dx)
801030b8: b2 23 mov $0x23,%dl
801030ba: ec in (%dx),%al
801030bb: 83 c8 01 or $0x1,%eax
801030be: ee out %al,(%dx)
801030bf: 83 c4 1c add $0x1c,%esp
801030c2: 5b pop %ebx
801030c3: 5e pop %esi
801030c4: 5f pop %edi
801030c5: 5d pop %ebp
801030c6: c3 ret
801030c7: 90 nop
801030c8: 8b 35 00 2d 11 80 mov 0x80112d00,%esi
801030ce: 83 fe 07 cmp $0x7,%esi
801030d1: 7f 17 jg 801030ea <mpinit+0x15a>
801030d3: 0f b6 48 01 movzbl 0x1(%eax),%ecx
801030d7: 69 f6 b0 00 00 00 imul $0xb0,%esi,%esi
801030dd: 83 05 00 2d 11 80 01 addl $0x1,0x80112d00
801030e4: 88 8e 80 27 11 80 mov %cl,-0x7feed880(%esi)
801030ea: 83 c0 14 add $0x14,%eax
801030ed: eb 91 jmp 80103080 <mpinit+0xf0>
801030ef: 90 nop
801030f0: 0f b6 48 01 movzbl 0x1(%eax),%ecx
801030f4: 83 c0 08 add $0x8,%eax
801030f7: 88 0d 60 27 11 80 mov %cl,0x80112760
801030fd: eb 81 jmp 80103080 <mpinit+0xf0>
801030ff: 90 nop
80103100: 31 db xor %ebx,%ebx
80103102: eb 83 jmp 80103087 <mpinit+0xf7>
80103104: ba 00 00 01 00 mov $0x10000,%edx
80103109: b8 00 00 0f 00 mov $0xf0000,%eax
8010310e: e8 0d fe ff ff call 80102f20 <mpsearch1>
80103113: 85 c0 test %eax,%eax
80103115: 89 c7 mov %eax,%edi
80103117: 0f 85 c5 fe ff ff jne 80102fe2 <mpinit+0x52>
8010311d: c7 04 24 22 75 10 80 movl $0x80107522,(%esp)
80103124: e8 37 d2 ff ff call 80100360 <panic>
80103129: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80103130: 3c 01 cmp $0x1,%al
80103132: 0f 84 ed fe ff ff je 80103025 <mpinit+0x95>
80103138: eb e3 jmp 8010311d <mpinit+0x18d>
8010313a: c7 04 24 3c 75 10 80 movl $0x8010753c,(%esp)
80103141: e8 1a d2 ff ff call 80100360 <panic>
80103146: 66 90 xchg %ax,%ax
80103148: 66 90 xchg %ax,%ax
8010314a: 66 90 xchg %ax,%ax
8010314c: 66 90 xchg %ax,%ax
8010314e: 66 90 xchg %ax,%ax
80103150 <picinit>:
80103150: 55 push %ebp
80103151: ba 21 00 00 00 mov $0x21,%edx
80103156: 89 e5 mov %esp,%ebp
80103158: b8 ff ff ff ff mov $0xffffffff,%eax
8010315d: ee out %al,(%dx)
8010315e: b2 a1 mov $0xa1,%dl
80103160: ee out %al,(%dx)
80103161: 5d pop %ebp
80103162: c3 ret
80103163: 66 90 xchg %ax,%ax
80103165: 66 90 xchg %ax,%ax
80103167: 66 90 xchg %ax,%ax
80103169: 66 90 xchg %ax,%ax
8010316b: 66 90 xchg %ax,%ax
8010316d: 66 90 xchg %ax,%ax
8010316f: 90 nop
80103170 <pipealloc>:
80103170: 55 push %ebp
80103171: 89 e5 mov %esp,%ebp
80103173: 57 push %edi
80103174: 56 push %esi
80103175: 53 push %ebx
80103176: 83 ec 1c sub $0x1c,%esp
80103179: 8b 75 08 mov 0x8(%ebp),%esi
8010317c: 8b 5d 0c mov 0xc(%ebp),%ebx
8010317f: c7 03 00 00 00 00 movl $0x0,(%ebx)
80103185: c7 06 00 00 00 00 movl $0x0,(%esi)
8010318b: e8 e0 db ff ff call 80100d70 <filealloc>
80103190: 85 c0 test %eax,%eax
80103192: 89 06 mov %eax,(%esi)
80103194: 0f 84 a4 00 00 00 je 8010323e <pipealloc+0xce>
8010319a: e8 d1 db ff ff call 80100d70 <filealloc>
8010319f: 85 c0 test %eax,%eax
801031a1: 89 03 mov %eax,(%ebx)
801031a3: 0f 84 87 00 00 00 je 80103230 <pipealloc+0xc0>
801031a9: e8 f2 f2 ff ff call 801024a0 <kalloc>
801031ae: 85 c0 test %eax,%eax
801031b0: 89 c7 mov %eax,%edi
801031b2: 74 7c je 80103230 <pipealloc+0xc0>
801031b4: c7 80 3c 02 00 00 01 movl $0x1,0x23c(%eax)
801031bb: 00 00 00
801031be: c7 80 40 02 00 00 01 movl $0x1,0x240(%eax)
801031c5: 00 00 00
801031c8: c7 80 38 02 00 00 00 movl $0x0,0x238(%eax)
801031cf: 00 00 00
801031d2: c7 80 34 02 00 00 00 movl $0x0,0x234(%eax)
801031d9: 00 00 00
801031dc: 89 04 24 mov %eax,(%esp)
801031df: c7 44 24 04 70 75 10 movl $0x80107570,0x4(%esp)
801031e6: 80
801031e7: e8 74 11 00 00 call 80104360 <initlock>
801031ec: 8b 06 mov (%esi),%eax
801031ee: c7 00 01 00 00 00 movl $0x1,(%eax)
801031f4: 8b 06 mov (%esi),%eax
801031f6: c6 40 08 01 movb $0x1,0x8(%eax)
801031fa: 8b 06 mov (%esi),%eax
801031fc: c6 40 09 00 movb $0x0,0x9(%eax)
80103200: 8b 06 mov (%esi),%eax
80103202: 89 78 0c mov %edi,0xc(%eax)
80103205: 8b 03 mov (%ebx),%eax
80103207: c7 00 01 00 00 00 movl $0x1,(%eax)
8010320d: 8b 03 mov (%ebx),%eax
8010320f: c6 40 08 00 movb $0x0,0x8(%eax)
80103213: 8b 03 mov (%ebx),%eax
80103215: c6 40 09 01 movb $0x1,0x9(%eax)
80103219: 8b 03 mov (%ebx),%eax
8010321b: 31 db xor %ebx,%ebx
8010321d: 89 78 0c mov %edi,0xc(%eax)
80103220: 83 c4 1c add $0x1c,%esp
80103223: 89 d8 mov %ebx,%eax
80103225: 5b pop %ebx
80103226: 5e pop %esi
80103227: 5f pop %edi
80103228: 5d pop %ebp
80103229: c3 ret
8010322a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80103230: 8b 06 mov (%esi),%eax
80103232: 85 c0 test %eax,%eax
80103234: 74 08 je 8010323e <pipealloc+0xce>
80103236: 89 04 24 mov %eax,(%esp)
80103239: e8 f2 db ff ff call 80100e30 <fileclose>
8010323e: 8b 03 mov (%ebx),%eax
80103240: bb ff ff ff ff mov $0xffffffff,%ebx
80103245: 85 c0 test %eax,%eax
80103247: 74 d7 je 80103220 <pipealloc+0xb0>
80103249: 89 04 24 mov %eax,(%esp)
8010324c: e8 df db ff ff call 80100e30 <fileclose>
80103251: 83 c4 1c add $0x1c,%esp
80103254: 89 d8 mov %ebx,%eax
80103256: 5b pop %ebx
80103257: 5e pop %esi
80103258: 5f pop %edi
80103259: 5d pop %ebp
8010325a: c3 ret
8010325b: 90 nop
8010325c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103260 <pipeclose>:
80103260: 55 push %ebp
80103261: 89 e5 mov %esp,%ebp
80103263: 56 push %esi
80103264: 53 push %ebx
80103265: 83 ec 10 sub $0x10,%esp
80103268: 8b 5d 08 mov 0x8(%ebp),%ebx
8010326b: 8b 75 0c mov 0xc(%ebp),%esi
8010326e: 89 1c 24 mov %ebx,(%esp)
80103271: e8 5a 12 00 00 call 801044d0 <acquire>
80103276: 85 f6 test %esi,%esi
80103278: 74 3e je 801032b8 <pipeclose+0x58>
8010327a: 8d 83 34 02 00 00 lea 0x234(%ebx),%eax
80103280: c7 83 40 02 00 00 00 movl $0x0,0x240(%ebx)
80103287: 00 00 00
8010328a: 89 04 24 mov %eax,(%esp)
8010328d: e8 be 0d 00 00 call 80104050 <wakeup>
80103292: 8b 93 3c 02 00 00 mov 0x23c(%ebx),%edx
80103298: 85 d2 test %edx,%edx
8010329a: 75 0a jne 801032a6 <pipeclose+0x46>
8010329c: 8b 83 40 02 00 00 mov 0x240(%ebx),%eax
801032a2: 85 c0 test %eax,%eax
801032a4: 74 32 je 801032d8 <pipeclose+0x78>
801032a6: 89 5d 08 mov %ebx,0x8(%ebp)
801032a9: 83 c4 10 add $0x10,%esp
801032ac: 5b pop %ebx
801032ad: 5e pop %esi
801032ae: 5d pop %ebp
801032af: e9 8c 12 00 00 jmp 80104540 <release>
801032b4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801032b8: 8d 83 38 02 00 00 lea 0x238(%ebx),%eax
801032be: c7 83 3c 02 00 00 00 movl $0x0,0x23c(%ebx)
801032c5: 00 00 00
801032c8: 89 04 24 mov %eax,(%esp)
801032cb: e8 80 0d 00 00 call 80104050 <wakeup>
801032d0: eb c0 jmp 80103292 <pipeclose+0x32>
801032d2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801032d8: 89 1c 24 mov %ebx,(%esp)
801032db: e8 60 12 00 00 call 80104540 <release>
801032e0: 89 5d 08 mov %ebx,0x8(%ebp)
801032e3: 83 c4 10 add $0x10,%esp
801032e6: 5b pop %ebx
801032e7: 5e pop %esi
801032e8: 5d pop %ebp
801032e9: e9 02 f0 ff ff jmp 801022f0 <kfree>
801032ee: 66 90 xchg %ax,%ax
801032f0 <pipewrite>:
801032f0: 55 push %ebp
801032f1: 89 e5 mov %esp,%ebp
801032f3: 57 push %edi
801032f4: 56 push %esi
801032f5: 53 push %ebx
801032f6: 83 ec 1c sub $0x1c,%esp
801032f9: 8b 5d 08 mov 0x8(%ebp),%ebx
801032fc: 89 1c 24 mov %ebx,(%esp)
801032ff: e8 cc 11 00 00 call 801044d0 <acquire>
80103304: 8b 4d 10 mov 0x10(%ebp),%ecx
80103307: 85 c9 test %ecx,%ecx
80103309: 0f 8e b2 00 00 00 jle 801033c1 <pipewrite+0xd1>
8010330f: 8b 4d 0c mov 0xc(%ebp),%ecx
80103312: 8d bb 34 02 00 00 lea 0x234(%ebx),%edi
80103318: 8b 83 38 02 00 00 mov 0x238(%ebx),%eax
8010331e: 8d b3 38 02 00 00 lea 0x238(%ebx),%esi
80103324: 89 4d e4 mov %ecx,-0x1c(%ebp)
80103327: 03 4d 10 add 0x10(%ebp),%ecx
8010332a: 89 4d e0 mov %ecx,-0x20(%ebp)
8010332d: 8b 8b 34 02 00 00 mov 0x234(%ebx),%ecx
80103333: 81 c1 00 02 00 00 add $0x200,%ecx
80103339: 39 c8 cmp %ecx,%eax
8010333b: 74 38 je 80103375 <pipewrite+0x85>
8010333d: eb 55 jmp 80103394 <pipewrite+0xa4>
8010333f: 90 nop
80103340: e8 ab 03 00 00 call 801036f0 <myproc>
80103345: 8b 40 24 mov 0x24(%eax),%eax
80103348: 85 c0 test %eax,%eax
8010334a: 75 33 jne 8010337f <pipewrite+0x8f>
8010334c: 89 3c 24 mov %edi,(%esp)
8010334f: e8 fc 0c 00 00 call 80104050 <wakeup>
80103354: 89 5c 24 04 mov %ebx,0x4(%esp)
80103358: 89 34 24 mov %esi,(%esp)
8010335b: e8 40 0a 00 00 call 80103da0 <sleep>
80103360: 8b 83 34 02 00 00 mov 0x234(%ebx),%eax
80103366: 8b 93 38 02 00 00 mov 0x238(%ebx),%edx
8010336c: 05 00 02 00 00 add $0x200,%eax
80103371: 39 c2 cmp %eax,%edx
80103373: 75 23 jne 80103398 <pipewrite+0xa8>
80103375: 8b 93 3c 02 00 00 mov 0x23c(%ebx),%edx
8010337b: 85 d2 test %edx,%edx
8010337d: 75 c1 jne 80103340 <pipewrite+0x50>
8010337f: 89 1c 24 mov %ebx,(%esp)
80103382: e8 b9 11 00 00 call 80104540 <release>
80103387: b8 ff ff ff ff mov $0xffffffff,%eax
8010338c: 83 c4 1c add $0x1c,%esp
8010338f: 5b pop %ebx
80103390: 5e pop %esi
80103391: 5f pop %edi
80103392: 5d pop %ebp
80103393: c3 ret
80103394: 89 c2 mov %eax,%edx
80103396: 66 90 xchg %ax,%ax
80103398: 8b 4d e4 mov -0x1c(%ebp),%ecx
8010339b: 8d 42 01 lea 0x1(%edx),%eax
8010339e: 81 e2 ff 01 00 00 and $0x1ff,%edx
801033a4: 89 83 38 02 00 00 mov %eax,0x238(%ebx)
801033aa: 83 45 e4 01 addl $0x1,-0x1c(%ebp)
801033ae: 0f b6 09 movzbl (%ecx),%ecx
801033b1: 88 4c 13 34 mov %cl,0x34(%ebx,%edx,1)
801033b5: 8b 4d e4 mov -0x1c(%ebp),%ecx
801033b8: 3b 4d e0 cmp -0x20(%ebp),%ecx
801033bb: 0f 85 6c ff ff ff jne 8010332d <pipewrite+0x3d>
801033c1: 8d 83 34 02 00 00 lea 0x234(%ebx),%eax
801033c7: 89 04 24 mov %eax,(%esp)
801033ca: e8 81 0c 00 00 call 80104050 <wakeup>
801033cf: 89 1c 24 mov %ebx,(%esp)
801033d2: e8 69 11 00 00 call 80104540 <release>
801033d7: 8b 45 10 mov 0x10(%ebp),%eax
801033da: eb b0 jmp 8010338c <pipewrite+0x9c>
801033dc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801033e0 <piperead>:
801033e0: 55 push %ebp
801033e1: 89 e5 mov %esp,%ebp
801033e3: 57 push %edi
801033e4: 56 push %esi
801033e5: 53 push %ebx
801033e6: 83 ec 1c sub $0x1c,%esp
801033e9: 8b 75 08 mov 0x8(%ebp),%esi
801033ec: 8b 7d 0c mov 0xc(%ebp),%edi
801033ef: 89 34 24 mov %esi,(%esp)
801033f2: e8 d9 10 00 00 call 801044d0 <acquire>
801033f7: 8b 86 34 02 00 00 mov 0x234(%esi),%eax
801033fd: 3b 86 38 02 00 00 cmp 0x238(%esi),%eax
80103403: 75 5b jne 80103460 <piperead+0x80>
80103405: 8b 9e 40 02 00 00 mov 0x240(%esi),%ebx
8010340b: 85 db test %ebx,%ebx
8010340d: 74 51 je 80103460 <piperead+0x80>
8010340f: 8d 9e 34 02 00 00 lea 0x234(%esi),%ebx
80103415: eb 25 jmp 8010343c <piperead+0x5c>
80103417: 90 nop
80103418: 89 74 24 04 mov %esi,0x4(%esp)
8010341c: 89 1c 24 mov %ebx,(%esp)
8010341f: e8 7c 09 00 00 call 80103da0 <sleep>
80103424: 8b 86 34 02 00 00 mov 0x234(%esi),%eax
8010342a: 3b 86 38 02 00 00 cmp 0x238(%esi),%eax
80103430: 75 2e jne 80103460 <piperead+0x80>
80103432: 8b 96 40 02 00 00 mov 0x240(%esi),%edx
80103438: 85 d2 test %edx,%edx
8010343a: 74 24 je 80103460 <piperead+0x80>
8010343c: e8 af 02 00 00 call 801036f0 <myproc>
80103441: 8b 48 24 mov 0x24(%eax),%ecx
80103444: 85 c9 test %ecx,%ecx
80103446: 74 d0 je 80103418 <piperead+0x38>
80103448: 89 34 24 mov %esi,(%esp)
8010344b: e8 f0 10 00 00 call 80104540 <release>
80103450: 83 c4 1c add $0x1c,%esp
80103453: b8 ff ff ff ff mov $0xffffffff,%eax
80103458: 5b pop %ebx
80103459: 5e pop %esi
8010345a: 5f pop %edi
8010345b: 5d pop %ebp
8010345c: c3 ret
8010345d: 8d 76 00 lea 0x0(%esi),%esi
80103460: 8b 55 10 mov 0x10(%ebp),%edx
80103463: 31 db xor %ebx,%ebx
80103465: 85 d2 test %edx,%edx
80103467: 7f 2b jg 80103494 <piperead+0xb4>
80103469: eb 31 jmp 8010349c <piperead+0xbc>
8010346b: 90 nop
8010346c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103470: 8d 48 01 lea 0x1(%eax),%ecx
80103473: 25 ff 01 00 00 and $0x1ff,%eax
80103478: 89 8e 34 02 00 00 mov %ecx,0x234(%esi)
8010347e: 0f b6 44 06 34 movzbl 0x34(%esi,%eax,1),%eax
80103483: 88 04 1f mov %al,(%edi,%ebx,1)
80103486: 83 c3 01 add $0x1,%ebx
80103489: 3b 5d 10 cmp 0x10(%ebp),%ebx
8010348c: 74 0e je 8010349c <piperead+0xbc>
8010348e: 8b 86 34 02 00 00 mov 0x234(%esi),%eax
80103494: 3b 86 38 02 00 00 cmp 0x238(%esi),%eax
8010349a: 75 d4 jne 80103470 <piperead+0x90>
8010349c: 8d 86 38 02 00 00 lea 0x238(%esi),%eax
801034a2: 89 04 24 mov %eax,(%esp)
801034a5: e8 a6 0b 00 00 call 80104050 <wakeup>
801034aa: 89 34 24 mov %esi,(%esp)
801034ad: e8 8e 10 00 00 call 80104540 <release>
801034b2: 83 c4 1c add $0x1c,%esp
801034b5: 89 d8 mov %ebx,%eax
801034b7: 5b pop %ebx
801034b8: 5e pop %esi
801034b9: 5f pop %edi
801034ba: 5d pop %ebp
801034bb: c3 ret
801034bc: 66 90 xchg %ax,%ax
801034be: 66 90 xchg %ax,%ax
801034c0 <allocproc>:
801034c0: 55 push %ebp
801034c1: 89 e5 mov %esp,%ebp
801034c3: 53 push %ebx
801034c4: bb 54 2d 11 80 mov $0x80112d54,%ebx
801034c9: 83 ec 14 sub $0x14,%esp
801034cc: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
801034d3: e8 f8 0f 00 00 call 801044d0 <acquire>
801034d8: eb 18 jmp 801034f2 <allocproc+0x32>
801034da: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801034e0: 81 c3 8c 00 00 00 add $0x8c,%ebx
801034e6: 81 fb 54 50 11 80 cmp $0x80115054,%ebx
801034ec: 0f 84 c6 00 00 00 je 801035b8 <allocproc+0xf8>
801034f2: 8b 43 0c mov 0xc(%ebx),%eax
801034f5: 85 c0 test %eax,%eax
801034f7: 75 e7 jne 801034e0 <allocproc+0x20>
801034f9: a1 04 a0 10 80 mov 0x8010a004,%eax
801034fe: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103505: c7 43 0c 01 00 00 00 movl $0x1,0xc(%ebx)
8010350c: 8d 50 01 lea 0x1(%eax),%edx
8010350f: 89 15 04 a0 10 80 mov %edx,0x8010a004
80103515: 89 43 10 mov %eax,0x10(%ebx)
80103518: e8 23 10 00 00 call 80104540 <release>
8010351d: e8 7e ef ff ff call 801024a0 <kalloc>
80103522: 85 c0 test %eax,%eax
80103524: 89 43 08 mov %eax,0x8(%ebx)
80103527: 0f 84 9f 00 00 00 je 801035cc <allocproc+0x10c>
8010352d: 8d 90 b4 0f 00 00 lea 0xfb4(%eax),%edx
80103533: 05 9c 0f 00 00 add $0xf9c,%eax
80103538: 89 53 18 mov %edx,0x18(%ebx)
8010353b: c7 40 14 f5 57 10 80 movl $0x801057f5,0x14(%eax)
80103542: c7 44 24 08 14 00 00 movl $0x14,0x8(%esp)
80103549: 00
8010354a: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80103551: 00
80103552: 89 04 24 mov %eax,(%esp)
80103555: 89 43 1c mov %eax,0x1c(%ebx)
80103558: e8 33 10 00 00 call 80104590 <memset>
8010355d: 8b 43 1c mov 0x1c(%ebx),%eax
80103560: c7 40 10 e0 35 10 80 movl $0x801035e0,0x10(%eax)
80103567: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
8010356e: e8 5d 0f 00 00 call 801044d0 <acquire>
80103573: a1 a0 58 11 80 mov 0x801158a0,%eax
80103578: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
8010357f: 89 83 84 00 00 00 mov %eax,0x84(%ebx)
80103585: e8 b6 0f 00 00 call 80104540 <release>
8010358a: 8b 83 84 00 00 00 mov 0x84(%ebx),%eax
80103590: c7 04 24 75 75 10 80 movl $0x80107575,(%esp)
80103597: 89 44 24 04 mov %eax,0x4(%esp)
8010359b: e8 b0 d0 ff ff call 80100650 <cprintf>
801035a0: 89 d8 mov %ebx,%eax
801035a2: c7 83 88 00 00 00 00 movl $0x0,0x88(%ebx)
801035a9: 00 00 00
801035ac: 83 c4 14 add $0x14,%esp
801035af: 5b pop %ebx
801035b0: 5d pop %ebp
801035b1: c3 ret
801035b2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801035b8: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
801035bf: e8 7c 0f 00 00 call 80104540 <release>
801035c4: 83 c4 14 add $0x14,%esp
801035c7: 31 c0 xor %eax,%eax
801035c9: 5b pop %ebx
801035ca: 5d pop %ebp
801035cb: c3 ret
801035cc: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx)
801035d3: eb d7 jmp 801035ac <allocproc+0xec>
801035d5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801035d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801035e0 <forkret>:
801035e0: 55 push %ebp
801035e1: 89 e5 mov %esp,%ebp
801035e3: 83 ec 18 sub $0x18,%esp
801035e6: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
801035ed: e8 4e 0f 00 00 call 80104540 <release>
801035f2: a1 00 a0 10 80 mov 0x8010a000,%eax
801035f7: 85 c0 test %eax,%eax
801035f9: 75 05 jne 80103600 <forkret+0x20>
801035fb: c9 leave
801035fc: c3 ret
801035fd: 8d 76 00 lea 0x0(%esi),%esi
80103600: c7 04 24 01 00 00 00 movl $0x1,(%esp)
80103607: c7 05 00 a0 10 80 00 movl $0x0,0x8010a000
8010360e: 00 00 00
80103611: e8 5a de ff ff call 80101470 <iinit>
80103616: c7 04 24 01 00 00 00 movl $0x1,(%esp)
8010361d: e8 4e f4 ff ff call 80102a70 <initlog>
80103622: c9 leave
80103623: c3 ret
80103624: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
8010362a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80103630 <pinit>:
80103630: 55 push %ebp
80103631: 89 e5 mov %esp,%ebp
80103633: 83 ec 18 sub $0x18,%esp
80103636: c7 44 24 04 85 75 10 movl $0x80107585,0x4(%esp)
8010363d: 80
8010363e: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103645: e8 16 0d 00 00 call 80104360 <initlock>
8010364a: c9 leave
8010364b: c3 ret
8010364c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103650 <mycpu>:
80103650: 55 push %ebp
80103651: 89 e5 mov %esp,%ebp
80103653: 56 push %esi
80103654: 53 push %ebx
80103655: 83 ec 10 sub $0x10,%esp
80103658: 9c pushf
80103659: 58 pop %eax
8010365a: f6 c4 02 test $0x2,%ah
8010365d: 75 57 jne 801036b6 <mycpu+0x66>
8010365f: e8 fc f0 ff ff call 80102760 <lapicid>
80103664: 8b 35 00 2d 11 80 mov 0x80112d00,%esi
8010366a: 85 f6 test %esi,%esi
8010366c: 7e 3c jle 801036aa <mycpu+0x5a>
8010366e: 0f b6 15 80 27 11 80 movzbl 0x80112780,%edx
80103675: 39 c2 cmp %eax,%edx
80103677: 74 2d je 801036a6 <mycpu+0x56>
80103679: b9 30 28 11 80 mov $0x80112830,%ecx
8010367e: 31 d2 xor %edx,%edx
80103680: 83 c2 01 add $0x1,%edx
80103683: 39 f2 cmp %esi,%edx
80103685: 74 23 je 801036aa <mycpu+0x5a>
80103687: 0f b6 19 movzbl (%ecx),%ebx
8010368a: 81 c1 b0 00 00 00 add $0xb0,%ecx
80103690: 39 c3 cmp %eax,%ebx
80103692: 75 ec jne 80103680 <mycpu+0x30>
80103694: 69 c2 b0 00 00 00 imul $0xb0,%edx,%eax
8010369a: 83 c4 10 add $0x10,%esp
8010369d: 5b pop %ebx
8010369e: 5e pop %esi
8010369f: 5d pop %ebp
801036a0: 05 80 27 11 80 add $0x80112780,%eax
801036a5: c3 ret
801036a6: 31 d2 xor %edx,%edx
801036a8: eb ea jmp 80103694 <mycpu+0x44>
801036aa: c7 04 24 8c 75 10 80 movl $0x8010758c,(%esp)
801036b1: e8 aa cc ff ff call 80100360 <panic>
801036b6: c7 04 24 8c 76 10 80 movl $0x8010768c,(%esp)
801036bd: e8 9e cc ff ff call 80100360 <panic>
801036c2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801036c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801036d0 <cpuid>:
801036d0: 55 push %ebp
801036d1: 89 e5 mov %esp,%ebp
801036d3: 83 ec 08 sub $0x8,%esp
801036d6: e8 75 ff ff ff call 80103650 <mycpu>
801036db: c9 leave
801036dc: 2d 80 27 11 80 sub $0x80112780,%eax
801036e1: c1 f8 04 sar $0x4,%eax
801036e4: 69 c0 a3 8b 2e ba imul $0xba2e8ba3,%eax,%eax
801036ea: c3 ret
801036eb: 90 nop
801036ec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801036f0 <myproc>:
801036f0: 55 push %ebp
801036f1: 89 e5 mov %esp,%ebp
801036f3: 53 push %ebx
801036f4: 83 ec 04 sub $0x4,%esp
801036f7: e8 e4 0c 00 00 call 801043e0 <pushcli>
801036fc: e8 4f ff ff ff call 80103650 <mycpu>
80103701: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx
80103707: e8 14 0d 00 00 call 80104420 <popcli>
8010370c: 83 c4 04 add $0x4,%esp
8010370f: 89 d8 mov %ebx,%eax
80103711: 5b pop %ebx
80103712: 5d pop %ebp
80103713: c3 ret
80103714: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
8010371a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80103720 <userinit>:
80103720: 55 push %ebp
80103721: 89 e5 mov %esp,%ebp
80103723: 53 push %ebx
80103724: 83 ec 14 sub $0x14,%esp
80103727: e8 94 fd ff ff call 801034c0 <allocproc>
8010372c: 89 c3 mov %eax,%ebx
8010372e: a3 b8 a5 10 80 mov %eax,0x8010a5b8
80103733: e8 38 36 00 00 call 80106d70 <setupkvm>
80103738: 85 c0 test %eax,%eax
8010373a: 89 43 04 mov %eax,0x4(%ebx)
8010373d: 0f 84 d4 00 00 00 je 80103817 <userinit+0xf7>
80103743: 89 04 24 mov %eax,(%esp)
80103746: c7 44 24 08 2c 00 00 movl $0x2c,0x8(%esp)
8010374d: 00
8010374e: c7 44 24 04 60 a4 10 movl $0x8010a460,0x4(%esp)
80103755: 80
80103756: e8 45 33 00 00 call 80106aa0 <inituvm>
8010375b: c7 03 00 10 00 00 movl $0x1000,(%ebx)
80103761: c7 44 24 08 4c 00 00 movl $0x4c,0x8(%esp)
80103768: 00
80103769: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80103770: 00
80103771: 8b 43 18 mov 0x18(%ebx),%eax
80103774: 89 04 24 mov %eax,(%esp)
80103777: e8 14 0e 00 00 call 80104590 <memset>
8010377c: 8b 43 18 mov 0x18(%ebx),%eax
8010377f: ba 1b 00 00 00 mov $0x1b,%edx
80103784: b9 23 00 00 00 mov $0x23,%ecx
80103789: 66 89 50 3c mov %dx,0x3c(%eax)
8010378d: 8b 43 18 mov 0x18(%ebx),%eax
80103790: 66 89 48 2c mov %cx,0x2c(%eax)
80103794: 8b 43 18 mov 0x18(%ebx),%eax
80103797: 0f b7 50 2c movzwl 0x2c(%eax),%edx
8010379b: 66 89 50 28 mov %dx,0x28(%eax)
8010379f: 8b 43 18 mov 0x18(%ebx),%eax
801037a2: 0f b7 50 2c movzwl 0x2c(%eax),%edx
801037a6: 66 89 50 48 mov %dx,0x48(%eax)
801037aa: 8b 43 18 mov 0x18(%ebx),%eax
801037ad: c7 40 40 00 02 00 00 movl $0x200,0x40(%eax)
801037b4: 8b 43 18 mov 0x18(%ebx),%eax
801037b7: c7 40 44 00 10 00 00 movl $0x1000,0x44(%eax)
801037be: 8b 43 18 mov 0x18(%ebx),%eax
801037c1: c7 40 38 00 00 00 00 movl $0x0,0x38(%eax)
801037c8: 8d 43 6c lea 0x6c(%ebx),%eax
801037cb: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp)
801037d2: 00
801037d3: c7 44 24 04 b5 75 10 movl $0x801075b5,0x4(%esp)
801037da: 80
801037db: 89 04 24 mov %eax,(%esp)
801037de: e8 8d 0f 00 00 call 80104770 <safestrcpy>
801037e3: c7 04 24 be 75 10 80 movl $0x801075be,(%esp)
801037ea: e8 11 e7 ff ff call 80101f00 <namei>
801037ef: 89 43 68 mov %eax,0x68(%ebx)
801037f2: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
801037f9: e8 d2 0c 00 00 call 801044d0 <acquire>
801037fe: c7 43 0c 03 00 00 00 movl $0x3,0xc(%ebx)
80103805: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
8010380c: e8 2f 0d 00 00 call 80104540 <release>
80103811: 83 c4 14 add $0x14,%esp
80103814: 5b pop %ebx
80103815: 5d pop %ebp
80103816: c3 ret
80103817: c7 04 24 9c 75 10 80 movl $0x8010759c,(%esp)
8010381e: e8 3d cb ff ff call 80100360 <panic>
80103823: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80103829: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80103830 <growproc>:
80103830: 55 push %ebp
80103831: 89 e5 mov %esp,%ebp
80103833: 56 push %esi
80103834: 53 push %ebx
80103835: 83 ec 10 sub $0x10,%esp
80103838: 8b 75 08 mov 0x8(%ebp),%esi
8010383b: e8 b0 fe ff ff call 801036f0 <myproc>
80103840: 83 fe 00 cmp $0x0,%esi
80103843: 89 c3 mov %eax,%ebx
80103845: 8b 00 mov (%eax),%eax
80103847: 7e 2f jle 80103878 <growproc+0x48>
80103849: 01 c6 add %eax,%esi
8010384b: 89 74 24 08 mov %esi,0x8(%esp)
8010384f: 89 44 24 04 mov %eax,0x4(%esp)
80103853: 8b 43 04 mov 0x4(%ebx),%eax
80103856: 89 04 24 mov %eax,(%esp)
80103859: e8 82 33 00 00 call 80106be0 <allocuvm>
8010385e: 85 c0 test %eax,%eax
80103860: 74 36 je 80103898 <growproc+0x68>
80103862: 89 03 mov %eax,(%ebx)
80103864: 89 1c 24 mov %ebx,(%esp)
80103867: e8 24 31 00 00 call 80106990 <switchuvm>
8010386c: 31 c0 xor %eax,%eax
8010386e: 83 c4 10 add $0x10,%esp
80103871: 5b pop %ebx
80103872: 5e pop %esi
80103873: 5d pop %ebp
80103874: c3 ret
80103875: 8d 76 00 lea 0x0(%esi),%esi
80103878: 74 e8 je 80103862 <growproc+0x32>
8010387a: 01 c6 add %eax,%esi
8010387c: 89 74 24 08 mov %esi,0x8(%esp)
80103880: 89 44 24 04 mov %eax,0x4(%esp)
80103884: 8b 43 04 mov 0x4(%ebx),%eax
80103887: 89 04 24 mov %eax,(%esp)
8010388a: e8 41 34 00 00 call 80106cd0 <deallocuvm>
8010388f: 85 c0 test %eax,%eax
80103891: 75 cf jne 80103862 <growproc+0x32>
80103893: 90 nop
80103894: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103898: b8 ff ff ff ff mov $0xffffffff,%eax
8010389d: eb cf jmp 8010386e <growproc+0x3e>
8010389f: 90 nop
801038a0 <fork>:
801038a0: 55 push %ebp
801038a1: 89 e5 mov %esp,%ebp
801038a3: 57 push %edi
801038a4: 56 push %esi
801038a5: 53 push %ebx
801038a6: 83 ec 1c sub $0x1c,%esp
801038a9: e8 42 fe ff ff call 801036f0 <myproc>
801038ae: 89 c3 mov %eax,%ebx
801038b0: e8 0b fc ff ff call 801034c0 <allocproc>
801038b5: 85 c0 test %eax,%eax
801038b7: 89 c7 mov %eax,%edi
801038b9: 89 45 e4 mov %eax,-0x1c(%ebp)
801038bc: 0f 84 c4 00 00 00 je 80103986 <fork+0xe6>
801038c2: 8b 83 80 00 00 00 mov 0x80(%ebx),%eax
801038c8: 89 87 80 00 00 00 mov %eax,0x80(%edi)
801038ce: 8b 03 mov (%ebx),%eax
801038d0: 89 44 24 04 mov %eax,0x4(%esp)
801038d4: 8b 43 04 mov 0x4(%ebx),%eax
801038d7: 89 04 24 mov %eax,(%esp)
801038da: e8 71 35 00 00 call 80106e50 <copyuvm>
801038df: 85 c0 test %eax,%eax
801038e1: 89 47 04 mov %eax,0x4(%edi)
801038e4: 0f 84 a3 00 00 00 je 8010398d <fork+0xed>
801038ea: 8b 03 mov (%ebx),%eax
801038ec: 8b 4d e4 mov -0x1c(%ebp),%ecx
801038ef: 89 01 mov %eax,(%ecx)
801038f1: 8b 79 18 mov 0x18(%ecx),%edi
801038f4: 89 c8 mov %ecx,%eax
801038f6: 89 59 14 mov %ebx,0x14(%ecx)
801038f9: 8b 73 18 mov 0x18(%ebx),%esi
801038fc: b9 13 00 00 00 mov $0x13,%ecx
80103901: f3 a5 rep movsl %ds:(%esi),%es:(%edi)
80103903: 31 f6 xor %esi,%esi
80103905: 8b 40 18 mov 0x18(%eax),%eax
80103908: c7 40 1c 00 00 00 00 movl $0x0,0x1c(%eax)
8010390f: 90 nop
80103910: 8b 44 b3 28 mov 0x28(%ebx,%esi,4),%eax
80103914: 85 c0 test %eax,%eax
80103916: 74 0f je 80103927 <fork+0x87>
80103918: 89 04 24 mov %eax,(%esp)
8010391b: e8 c0 d4 ff ff call 80100de0 <filedup>
80103920: 8b 55 e4 mov -0x1c(%ebp),%edx
80103923: 89 44 b2 28 mov %eax,0x28(%edx,%esi,4)
80103927: 83 c6 01 add $0x1,%esi
8010392a: 83 fe 10 cmp $0x10,%esi
8010392d: 75 e1 jne 80103910 <fork+0x70>
8010392f: 8b 43 68 mov 0x68(%ebx),%eax
80103932: 83 c3 6c add $0x6c,%ebx
80103935: 89 04 24 mov %eax,(%esp)
80103938: e8 43 dd ff ff call 80101680 <idup>
8010393d: 8b 7d e4 mov -0x1c(%ebp),%edi
80103940: 89 47 68 mov %eax,0x68(%edi)
80103943: 8d 47 6c lea 0x6c(%edi),%eax
80103946: 89 5c 24 04 mov %ebx,0x4(%esp)
8010394a: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp)
80103951: 00
80103952: 89 04 24 mov %eax,(%esp)
80103955: e8 16 0e 00 00 call 80104770 <safestrcpy>
8010395a: 8b 5f 10 mov 0x10(%edi),%ebx
8010395d: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103964: e8 67 0b 00 00 call 801044d0 <acquire>
80103969: c7 47 0c 03 00 00 00 movl $0x3,0xc(%edi)
80103970: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103977: e8 c4 0b 00 00 call 80104540 <release>
8010397c: 89 d8 mov %ebx,%eax
8010397e: 83 c4 1c add $0x1c,%esp
80103981: 5b pop %ebx
80103982: 5e pop %esi
80103983: 5f pop %edi
80103984: 5d pop %ebp
80103985: c3 ret
80103986: b8 ff ff ff ff mov $0xffffffff,%eax
8010398b: eb f1 jmp 8010397e <fork+0xde>
8010398d: 8b 7d e4 mov -0x1c(%ebp),%edi
80103990: 8b 47 08 mov 0x8(%edi),%eax
80103993: 89 04 24 mov %eax,(%esp)
80103996: e8 55 e9 ff ff call 801022f0 <kfree>
8010399b: b8 ff ff ff ff mov $0xffffffff,%eax
801039a0: c7 47 08 00 00 00 00 movl $0x0,0x8(%edi)
801039a7: c7 47 0c 00 00 00 00 movl $0x0,0xc(%edi)
801039ae: eb ce jmp 8010397e <fork+0xde>
801039b0 <scheduler>:
801039b0: 55 push %ebp
801039b1: 89 e5 mov %esp,%ebp
801039b3: 57 push %edi
801039b4: 56 push %esi
801039b5: 53 push %ebx
801039b6: 83 ec 1c sub $0x1c,%esp
801039b9: e8 92 fc ff ff call 80103650 <mycpu>
801039be: c7 80 ac 00 00 00 00 movl $0x0,0xac(%eax)
801039c5: 00 00 00
801039c8: 89 c3 mov %eax,%ebx
801039ca: 8d 40 04 lea 0x4(%eax),%eax
801039cd: 89 45 e4 mov %eax,-0x1c(%ebp)
801039d0: fb sti
801039d1: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
801039d8: bf 54 2d 11 80 mov $0x80112d54,%edi
801039dd: e8 ee 0a 00 00 call 801044d0 <acquire>
801039e2: eb 16 jmp 801039fa <scheduler+0x4a>
801039e4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801039e8: 81 c7 8c 00 00 00 add $0x8c,%edi
801039ee: 81 ff 54 50 11 80 cmp $0x80115054,%edi
801039f4: 0f 83 d4 00 00 00 jae 80103ace <scheduler+0x11e>
801039fa: 83 7f 0c 03 cmpl $0x3,0xc(%edi)
801039fe: 75 e8 jne 801039e8 <scheduler+0x38>
80103a00: 8d b7 8c 00 00 00 lea 0x8c(%edi),%esi
80103a06: 81 fe 54 50 11 80 cmp $0x80115054,%esi
80103a0c: 72 10 jb 80103a1e <scheduler+0x6e>
80103a0e: eb 37 jmp 80103a47 <scheduler+0x97>
80103a10: 81 c6 8c 00 00 00 add $0x8c,%esi
80103a16: 81 fe 54 50 11 80 cmp $0x80115054,%esi
80103a1c: 73 23 jae 80103a41 <scheduler+0x91>
80103a1e: 83 7e 0c 03 cmpl $0x3,0xc(%esi)
80103a22: 75 ec jne 80103a10 <scheduler+0x60>
80103a24: 8b 86 80 00 00 00 mov 0x80(%esi),%eax
80103a2a: 39 87 80 00 00 00 cmp %eax,0x80(%edi)
80103a30: 0f 4f fe cmovg %esi,%edi
80103a33: 81 c6 8c 00 00 00 add $0x8c,%esi
80103a39: 81 fe 54 50 11 80 cmp $0x80115054,%esi
80103a3f: 72 dd jb 80103a1e <scheduler+0x6e>
80103a41: 8d b7 8c 00 00 00 lea 0x8c(%edi),%esi
80103a47: 89 bb ac 00 00 00 mov %edi,0xac(%ebx)
80103a4d: 89 3c 24 mov %edi,(%esp)
80103a50: e8 3b 2f 00 00 call 80106990 <switchuvm>
80103a55: 8b 47 1c mov 0x1c(%edi),%eax
80103a58: c7 47 0c 04 00 00 00 movl $0x4,0xc(%edi)
80103a5f: 89 44 24 04 mov %eax,0x4(%esp)
80103a63: 8b 45 e4 mov -0x1c(%ebp),%eax
80103a66: 89 04 24 mov %eax,(%esp)
80103a69: e8 5d 0d 00 00 call 801047cb <swtch>
80103a6e: e8 fd 2e 00 00 call 80106970 <switchkvm>
80103a73: b8 54 2d 11 80 mov $0x80112d54,%eax
80103a78: c7 83 ac 00 00 00 00 movl $0x0,0xac(%ebx)
80103a7f: 00 00 00
80103a82: eb 10 jmp 80103a94 <scheduler+0xe4>
80103a84: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103a88: 05 8c 00 00 00 add $0x8c,%eax
80103a8d: 3d 54 50 11 80 cmp $0x80115054,%eax
80103a92: 74 2c je 80103ac0 <scheduler+0x110>
80103a94: 83 78 0c 03 cmpl $0x3,0xc(%eax)
80103a98: 75 ee jne 80103a88 <scheduler+0xd8>
80103a9a: 39 f8 cmp %edi,%eax
80103a9c: 8b 88 80 00 00 00 mov 0x80(%eax),%ecx
80103aa2: 74 3c je 80103ae0 <scheduler+0x130>
80103aa4: 85 c9 test %ecx,%ecx
80103aa6: 7e e0 jle 80103a88 <scheduler+0xd8>
80103aa8: 83 e9 01 sub $0x1,%ecx
80103aab: 05 8c 00 00 00 add $0x8c,%eax
80103ab0: 89 48 f4 mov %ecx,-0xc(%eax)
80103ab3: 3d 54 50 11 80 cmp $0x80115054,%eax
80103ab8: 75 da jne 80103a94 <scheduler+0xe4>
80103aba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80103ac0: 89 f7 mov %esi,%edi
80103ac2: 81 ff 54 50 11 80 cmp $0x80115054,%edi
80103ac8: 0f 82 2c ff ff ff jb 801039fa <scheduler+0x4a>
80103ace: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103ad5: e8 66 0a 00 00 call 80104540 <release>
80103ada: e9 f1 fe ff ff jmp 801039d0 <scheduler+0x20>
80103adf: 90 nop
80103ae0: 83 f9 1e cmp $0x1e,%ecx
80103ae3: 7f a3 jg 80103a88 <scheduler+0xd8>
80103ae5: 83 c1 01 add $0x1,%ecx
80103ae8: 89 88 80 00 00 00 mov %ecx,0x80(%eax)
80103aee: eb 98 jmp 80103a88 <scheduler+0xd8>
80103af0 <set_prior>:
80103af0: 55 push %ebp
80103af1: 89 e5 mov %esp,%ebp
80103af3: 56 push %esi
80103af4: 53 push %ebx
80103af5: 83 ec 10 sub $0x10,%esp
80103af8: 8b 5d 08 mov 0x8(%ebp),%ebx
80103afb: e8 f0 fb ff ff call 801036f0 <myproc>
80103b00: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103b07: 89 c6 mov %eax,%esi
80103b09: e8 c2 09 00 00 call 801044d0 <acquire>
80103b0e: 85 db test %ebx,%ebx
80103b10: 78 26 js 80103b38 <set_prior+0x48>
80103b12: ba 1f 00 00 00 mov $0x1f,%edx
80103b17: 83 fb 20 cmp $0x20,%ebx
80103b1a: 0f 4c d3 cmovl %ebx,%edx
80103b1d: 89 96 80 00 00 00 mov %edx,0x80(%esi)
80103b23: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103b2a: e8 11 0a 00 00 call 80104540 <release>
80103b2f: 83 c4 10 add $0x10,%esp
80103b32: 89 d8 mov %ebx,%eax
80103b34: 5b pop %ebx
80103b35: 5e pop %esi
80103b36: 5d pop %ebp
80103b37: c3 ret
80103b38: c7 86 80 00 00 00 00 movl $0x0,0x80(%esi)
80103b3f: 00 00 00
80103b42: eb df jmp 80103b23 <set_prior+0x33>
80103b44: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80103b4a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80103b50 <sched>:
80103b50: 55 push %ebp
80103b51: 89 e5 mov %esp,%ebp
80103b53: 56 push %esi
80103b54: 53 push %ebx
80103b55: 83 ec 10 sub $0x10,%esp
80103b58: e8 93 fb ff ff call 801036f0 <myproc>
80103b5d: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103b64: 89 c3 mov %eax,%ebx
80103b66: e8 25 09 00 00 call 80104490 <holding>
80103b6b: 85 c0 test %eax,%eax
80103b6d: 74 4f je 80103bbe <sched+0x6e>
80103b6f: e8 dc fa ff ff call 80103650 <mycpu>
80103b74: 83 b8 a4 00 00 00 01 cmpl $0x1,0xa4(%eax)
80103b7b: 75 65 jne 80103be2 <sched+0x92>
80103b7d: 83 7b 0c 04 cmpl $0x4,0xc(%ebx)
80103b81: 74 53 je 80103bd6 <sched+0x86>
80103b83: 9c pushf
80103b84: 58 pop %eax
80103b85: f6 c4 02 test $0x2,%ah
80103b88: 75 40 jne 80103bca <sched+0x7a>
80103b8a: e8 c1 fa ff ff call 80103650 <mycpu>
80103b8f: 83 c3 1c add $0x1c,%ebx
80103b92: 8b b0 a8 00 00 00 mov 0xa8(%eax),%esi
80103b98: e8 b3 fa ff ff call 80103650 <mycpu>
80103b9d: 8b 40 04 mov 0x4(%eax),%eax
80103ba0: 89 1c 24 mov %ebx,(%esp)
80103ba3: 89 44 24 04 mov %eax,0x4(%esp)
80103ba7: e8 1f 0c 00 00 call 801047cb <swtch>
80103bac: e8 9f fa ff ff call 80103650 <mycpu>
80103bb1: 89 b0 a8 00 00 00 mov %esi,0xa8(%eax)
80103bb7: 83 c4 10 add $0x10,%esp
80103bba: 5b pop %ebx
80103bbb: 5e pop %esi
80103bbc: 5d pop %ebp
80103bbd: c3 ret
80103bbe: c7 04 24 c0 75 10 80 movl $0x801075c0,(%esp)
80103bc5: e8 96 c7 ff ff call 80100360 <panic>
80103bca: c7 04 24 ec 75 10 80 movl $0x801075ec,(%esp)
80103bd1: e8 8a c7 ff ff call 80100360 <panic>
80103bd6: c7 04 24 de 75 10 80 movl $0x801075de,(%esp)
80103bdd: e8 7e c7 ff ff call 80100360 <panic>
80103be2: c7 04 24 d2 75 10 80 movl $0x801075d2,(%esp)
80103be9: e8 72 c7 ff ff call 80100360 <panic>
80103bee: 66 90 xchg %ax,%ax
80103bf0 <exit>:
80103bf0: 55 push %ebp
80103bf1: 89 e5 mov %esp,%ebp
80103bf3: 56 push %esi
80103bf4: 53 push %ebx
80103bf5: 83 ec 10 sub $0x10,%esp
80103bf8: e8 f3 fa ff ff call 801036f0 <myproc>
80103bfd: 3b 05 b8 a5 10 80 cmp 0x8010a5b8,%eax
80103c03: 89 c3 mov %eax,%ebx
80103c05: 0f 84 3e 01 00 00 je 80103d49 <exit+0x159>
80103c0b: 8b 45 08 mov 0x8(%ebp),%eax
80103c0e: 31 f6 xor %esi,%esi
80103c10: 89 43 7c mov %eax,0x7c(%ebx)
80103c13: 90 nop
80103c14: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103c18: 8b 44 b3 28 mov 0x28(%ebx,%esi,4),%eax
80103c1c: 85 c0 test %eax,%eax
80103c1e: 74 10 je 80103c30 <exit+0x40>
80103c20: 89 04 24 mov %eax,(%esp)
80103c23: e8 08 d2 ff ff call 80100e30 <fileclose>
80103c28: c7 44 b3 28 00 00 00 movl $0x0,0x28(%ebx,%esi,4)
80103c2f: 00
80103c30: 83 c6 01 add $0x1,%esi
80103c33: 83 fe 10 cmp $0x10,%esi
80103c36: 75 e0 jne 80103c18 <exit+0x28>
80103c38: e8 d3 ee ff ff call 80102b10 <begin_op>
80103c3d: 8b 43 68 mov 0x68(%ebx),%eax
80103c40: 89 04 24 mov %eax,(%esp)
80103c43: e8 88 db ff ff call 801017d0 <iput>
80103c48: e8 33 ef ff ff call 80102b80 <end_op>
80103c4d: c7 43 68 00 00 00 00 movl $0x0,0x68(%ebx)
80103c54: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103c5b: e8 70 08 00 00 call 801044d0 <acquire>
80103c60: 8b 43 14 mov 0x14(%ebx),%eax
80103c63: ba 54 2d 11 80 mov $0x80112d54,%edx
80103c68: eb 14 jmp 80103c7e <exit+0x8e>
80103c6a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80103c70: 81 c2 8c 00 00 00 add $0x8c,%edx
80103c76: 81 fa 54 50 11 80 cmp $0x80115054,%edx
80103c7c: 74 20 je 80103c9e <exit+0xae>
80103c7e: 83 7a 0c 02 cmpl $0x2,0xc(%edx)
80103c82: 75 ec jne 80103c70 <exit+0x80>
80103c84: 3b 42 20 cmp 0x20(%edx),%eax
80103c87: 75 e7 jne 80103c70 <exit+0x80>
80103c89: c7 42 0c 03 00 00 00 movl $0x3,0xc(%edx)
80103c90: 81 c2 8c 00 00 00 add $0x8c,%edx
80103c96: 81 fa 54 50 11 80 cmp $0x80115054,%edx
80103c9c: 75 e0 jne 80103c7e <exit+0x8e>
80103c9e: a1 b8 a5 10 80 mov 0x8010a5b8,%eax
80103ca3: b9 54 2d 11 80 mov $0x80112d54,%ecx
80103ca8: eb 14 jmp 80103cbe <exit+0xce>
80103caa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80103cb0: 81 c1 8c 00 00 00 add $0x8c,%ecx
80103cb6: 81 f9 54 50 11 80 cmp $0x80115054,%ecx
80103cbc: 74 3c je 80103cfa <exit+0x10a>
80103cbe: 39 59 14 cmp %ebx,0x14(%ecx)
80103cc1: 75 ed jne 80103cb0 <exit+0xc0>
80103cc3: 83 79 0c 05 cmpl $0x5,0xc(%ecx)
80103cc7: 89 41 14 mov %eax,0x14(%ecx)
80103cca: 75 e4 jne 80103cb0 <exit+0xc0>
80103ccc: ba 54 2d 11 80 mov $0x80112d54,%edx
80103cd1: eb 13 jmp 80103ce6 <exit+0xf6>
80103cd3: 90 nop
80103cd4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103cd8: 81 c2 8c 00 00 00 add $0x8c,%edx
80103cde: 81 fa 54 50 11 80 cmp $0x80115054,%edx
80103ce4: 74 ca je 80103cb0 <exit+0xc0>
80103ce6: 83 7a 0c 02 cmpl $0x2,0xc(%edx)
80103cea: 75 ec jne 80103cd8 <exit+0xe8>
80103cec: 3b 42 20 cmp 0x20(%edx),%eax
80103cef: 75 e7 jne 80103cd8 <exit+0xe8>
80103cf1: c7 42 0c 03 00 00 00 movl $0x3,0xc(%edx)
80103cf8: eb de jmp 80103cd8 <exit+0xe8>
80103cfa: a1 a0 58 11 80 mov 0x801158a0,%eax
80103cff: c7 43 0c 05 00 00 00 movl $0x5,0xc(%ebx)
80103d06: 89 83 88 00 00 00 mov %eax,0x88(%ebx)
80103d0c: 89 44 24 04 mov %eax,0x4(%esp)
80103d10: c7 04 24 0d 76 10 80 movl $0x8010760d,(%esp)
80103d17: e8 34 c9 ff ff call 80100650 <cprintf>
80103d1c: 8b 83 88 00 00 00 mov 0x88(%ebx),%eax
80103d22: 2b 83 84 00 00 00 sub 0x84(%ebx),%eax
80103d28: c7 04 24 1c 76 10 80 movl $0x8010761c,(%esp)
80103d2f: 89 44 24 04 mov %eax,0x4(%esp)
80103d33: e8 18 c9 ff ff call 80100650 <cprintf>
80103d38: e8 13 fe ff ff call 80103b50 <sched>
80103d3d: c7 04 24 32 76 10 80 movl $0x80107632,(%esp)
80103d44: e8 17 c6 ff ff call 80100360 <panic>
80103d49: c7 04 24 00 76 10 80 movl $0x80107600,(%esp)
80103d50: e8 0b c6 ff ff call 80100360 <panic>
80103d55: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103d59: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80103d60 <yield>:
80103d60: 55 push %ebp
80103d61: 89 e5 mov %esp,%ebp
80103d63: 83 ec 18 sub $0x18,%esp
80103d66: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103d6d: e8 5e 07 00 00 call 801044d0 <acquire>
80103d72: e8 79 f9 ff ff call 801036f0 <myproc>
80103d77: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
80103d7e: e8 cd fd ff ff call 80103b50 <sched>
80103d83: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103d8a: e8 b1 07 00 00 call 80104540 <release>
80103d8f: c9 leave
80103d90: c3 ret
80103d91: eb 0d jmp 80103da0 <sleep>
80103d93: 90 nop
80103d94: 90 nop
80103d95: 90 nop
80103d96: 90 nop
80103d97: 90 nop
80103d98: 90 nop
80103d99: 90 nop
80103d9a: 90 nop
80103d9b: 90 nop
80103d9c: 90 nop
80103d9d: 90 nop
80103d9e: 90 nop
80103d9f: 90 nop
80103da0 <sleep>:
80103da0: 55 push %ebp
80103da1: 89 e5 mov %esp,%ebp
80103da3: 57 push %edi
80103da4: 56 push %esi
80103da5: 53 push %ebx
80103da6: 83 ec 1c sub $0x1c,%esp
80103da9: 8b 7d 08 mov 0x8(%ebp),%edi
80103dac: 8b 75 0c mov 0xc(%ebp),%esi
80103daf: e8 3c f9 ff ff call 801036f0 <myproc>
80103db4: 85 c0 test %eax,%eax
80103db6: 89 c3 mov %eax,%ebx
80103db8: 0f 84 7c 00 00 00 je 80103e3a <sleep+0x9a>
80103dbe: 85 f6 test %esi,%esi
80103dc0: 74 6c je 80103e2e <sleep+0x8e>
80103dc2: 81 fe 20 2d 11 80 cmp $0x80112d20,%esi
80103dc8: 74 46 je 80103e10 <sleep+0x70>
80103dca: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103dd1: e8 fa 06 00 00 call 801044d0 <acquire>
80103dd6: 89 34 24 mov %esi,(%esp)
80103dd9: e8 62 07 00 00 call 80104540 <release>
80103dde: 89 7b 20 mov %edi,0x20(%ebx)
80103de1: c7 43 0c 02 00 00 00 movl $0x2,0xc(%ebx)
80103de8: e8 63 fd ff ff call 80103b50 <sched>
80103ded: c7 43 20 00 00 00 00 movl $0x0,0x20(%ebx)
80103df4: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103dfb: e8 40 07 00 00 call 80104540 <release>
80103e00: 89 75 08 mov %esi,0x8(%ebp)
80103e03: 83 c4 1c add $0x1c,%esp
80103e06: 5b pop %ebx
80103e07: 5e pop %esi
80103e08: 5f pop %edi
80103e09: 5d pop %ebp
80103e0a: e9 c1 06 00 00 jmp 801044d0 <acquire>
80103e0f: 90 nop
80103e10: 89 78 20 mov %edi,0x20(%eax)
80103e13: c7 40 0c 02 00 00 00 movl $0x2,0xc(%eax)
80103e1a: e8 31 fd ff ff call 80103b50 <sched>
80103e1f: c7 43 20 00 00 00 00 movl $0x0,0x20(%ebx)
80103e26: 83 c4 1c add $0x1c,%esp
80103e29: 5b pop %ebx
80103e2a: 5e pop %esi
80103e2b: 5f pop %edi
80103e2c: 5d pop %ebp
80103e2d: c3 ret
80103e2e: c7 04 24 44 76 10 80 movl $0x80107644,(%esp)
80103e35: e8 26 c5 ff ff call 80100360 <panic>
80103e3a: c7 04 24 3e 76 10 80 movl $0x8010763e,(%esp)
80103e41: e8 1a c5 ff ff call 80100360 <panic>
80103e46: 8d 76 00 lea 0x0(%esi),%esi
80103e49: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80103e50 <wait>:
80103e50: 55 push %ebp
80103e51: 89 e5 mov %esp,%ebp
80103e53: 57 push %edi
80103e54: 56 push %esi
80103e55: 53 push %ebx
80103e56: 83 ec 1c sub $0x1c,%esp
80103e59: 8b 7d 08 mov 0x8(%ebp),%edi
80103e5c: e8 8f f8 ff ff call 801036f0 <myproc>
80103e61: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103e68: 89 c6 mov %eax,%esi
80103e6a: e8 61 06 00 00 call 801044d0 <acquire>
80103e6f: 31 c0 xor %eax,%eax
80103e71: bb 54 2d 11 80 mov $0x80112d54,%ebx
80103e76: eb 0e jmp 80103e86 <wait+0x36>
80103e78: 81 c3 8c 00 00 00 add $0x8c,%ebx
80103e7e: 81 fb 54 50 11 80 cmp $0x80115054,%ebx
80103e84: 74 22 je 80103ea8 <wait+0x58>
80103e86: 39 73 14 cmp %esi,0x14(%ebx)
80103e89: 75 ed jne 80103e78 <wait+0x28>
80103e8b: 83 7b 0c 05 cmpl $0x5,0xc(%ebx)
80103e8f: 74 34 je 80103ec5 <wait+0x75>
80103e91: 81 c3 8c 00 00 00 add $0x8c,%ebx
80103e97: b8 01 00 00 00 mov $0x1,%eax
80103e9c: 81 fb 54 50 11 80 cmp $0x80115054,%ebx
80103ea2: 75 e2 jne 80103e86 <wait+0x36>
80103ea4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80103ea8: 85 c0 test %eax,%eax
80103eaa: 74 78 je 80103f24 <wait+0xd4>
80103eac: 8b 46 24 mov 0x24(%esi),%eax
80103eaf: 85 c0 test %eax,%eax
80103eb1: 75 71 jne 80103f24 <wait+0xd4>
80103eb3: c7 44 24 04 20 2d 11 movl $0x80112d20,0x4(%esp)
80103eba: 80
80103ebb: 89 34 24 mov %esi,(%esp)
80103ebe: e8 dd fe ff ff call 80103da0 <sleep>
80103ec3: eb aa jmp 80103e6f <wait+0x1f>
80103ec5: 8b 43 08 mov 0x8(%ebx),%eax
80103ec8: 8b 73 10 mov 0x10(%ebx),%esi
80103ecb: 89 04 24 mov %eax,(%esp)
80103ece: e8 1d e4 ff ff call 801022f0 <kfree>
80103ed3: 8b 43 04 mov 0x4(%ebx),%eax
80103ed6: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx)
80103edd: 89 04 24 mov %eax,(%esp)
80103ee0: e8 0b 2e 00 00 call 80106cf0 <freevm>
80103ee5: 85 ff test %edi,%edi
80103ee7: c7 43 10 00 00 00 00 movl $0x0,0x10(%ebx)
80103eee: c7 43 14 00 00 00 00 movl $0x0,0x14(%ebx)
80103ef5: c6 43 6c 00 movb $0x0,0x6c(%ebx)
80103ef9: c7 43 24 00 00 00 00 movl $0x0,0x24(%ebx)
80103f00: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx)
80103f07: 74 05 je 80103f0e <wait+0xbe>
80103f09: 8b 43 7c mov 0x7c(%ebx),%eax
80103f0c: 89 07 mov %eax,(%edi)
80103f0e: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103f15: e8 26 06 00 00 call 80104540 <release>
80103f1a: 83 c4 1c add $0x1c,%esp
80103f1d: 89 f0 mov %esi,%eax
80103f1f: 5b pop %ebx
80103f20: 5e pop %esi
80103f21: 5f pop %edi
80103f22: 5d pop %ebp
80103f23: c3 ret
80103f24: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103f2b: e8 10 06 00 00 call 80104540 <release>
80103f30: 83 c4 1c add $0x1c,%esp
80103f33: b8 ff ff ff ff mov $0xffffffff,%eax
80103f38: 5b pop %ebx
80103f39: 5e pop %esi
80103f3a: 5f pop %edi
80103f3b: 5d pop %ebp
80103f3c: c3 ret
80103f3d: 8d 76 00 lea 0x0(%esi),%esi
80103f40 <waitpid>:
80103f40: 55 push %ebp
80103f41: 89 e5 mov %esp,%ebp
80103f43: 57 push %edi
80103f44: 56 push %esi
80103f45: 53 push %ebx
80103f46: 83 ec 1c sub $0x1c,%esp
80103f49: 8b 55 08 mov 0x8(%ebp),%edx
80103f4c: 89 55 e4 mov %edx,-0x1c(%ebp)
80103f4f: e8 9c f7 ff ff call 801036f0 <myproc>
80103f54: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103f5b: 89 c6 mov %eax,%esi
80103f5d: e8 6e 05 00 00 call 801044d0 <acquire>
80103f62: 8b 55 e4 mov -0x1c(%ebp),%edx
80103f65: 8d 76 00 lea 0x0(%esi),%esi
80103f68: 31 c0 xor %eax,%eax
80103f6a: bb 54 2d 11 80 mov $0x80112d54,%ebx
80103f6f: eb 15 jmp 80103f86 <waitpid+0x46>
80103f71: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80103f78: 81 c3 8c 00 00 00 add $0x8c,%ebx
80103f7e: 81 fb 54 50 11 80 cmp $0x80115054,%ebx
80103f84: 74 7a je 80104000 <waitpid+0xc0>
80103f86: 39 73 14 cmp %esi,0x14(%ebx)
80103f89: 75 ed jne 80103f78 <waitpid+0x38>
80103f8b: 8b 7b 10 mov 0x10(%ebx),%edi
80103f8e: b8 01 00 00 00 mov $0x1,%eax
80103f93: 39 d7 cmp %edx,%edi
80103f95: 75 e1 jne 80103f78 <waitpid+0x38>
80103f97: 83 7b 0c 05 cmpl $0x5,0xc(%ebx)
80103f9b: 75 db jne 80103f78 <waitpid+0x38>
80103f9d: 8b 43 08 mov 0x8(%ebx),%eax
80103fa0: 89 04 24 mov %eax,(%esp)
80103fa3: e8 48 e3 ff ff call 801022f0 <kfree>
80103fa8: 8b 43 04 mov 0x4(%ebx),%eax
80103fab: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx)
80103fb2: 89 04 24 mov %eax,(%esp)
80103fb5: e8 36 2d 00 00 call 80106cf0 <freevm>
80103fba: 8b 55 0c mov 0xc(%ebp),%edx
80103fbd: c7 43 10 00 00 00 00 movl $0x0,0x10(%ebx)
80103fc4: c7 43 14 00 00 00 00 movl $0x0,0x14(%ebx)
80103fcb: c6 43 6c 00 movb $0x0,0x6c(%ebx)
80103fcf: 85 d2 test %edx,%edx
80103fd1: c7 43 24 00 00 00 00 movl $0x0,0x24(%ebx)
80103fd8: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx)
80103fdf: 74 08 je 80103fe9 <waitpid+0xa9>
80103fe1: 8b 43 7c mov 0x7c(%ebx),%eax
80103fe4: 8b 4d 0c mov 0xc(%ebp),%ecx
80103fe7: 89 01 mov %eax,(%ecx)
80103fe9: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80103ff0: e8 4b 05 00 00 call 80104540 <release>
80103ff5: 83 c4 1c add $0x1c,%esp
80103ff8: 89 f8 mov %edi,%eax
80103ffa: 5b pop %ebx
80103ffb: 5e pop %esi
80103ffc: 5f pop %edi
80103ffd: 5d pop %ebp
80103ffe: c3 ret
80103fff: 90 nop
80104000: 85 c0 test %eax,%eax
80104002: 74 22 je 80104026 <waitpid+0xe6>
80104004: 8b 46 24 mov 0x24(%esi),%eax
80104007: 85 c0 test %eax,%eax
80104009: 75 1b jne 80104026 <waitpid+0xe6>
8010400b: c7 44 24 04 20 2d 11 movl $0x80112d20,0x4(%esp)
80104012: 80
80104013: 89 34 24 mov %esi,(%esp)
80104016: 89 55 e4 mov %edx,-0x1c(%ebp)
80104019: e8 82 fd ff ff call 80103da0 <sleep>
8010401e: 8b 55 e4 mov -0x1c(%ebp),%edx
80104021: e9 42 ff ff ff jmp 80103f68 <waitpid+0x28>
80104026: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
8010402d: bf ff ff ff ff mov $0xffffffff,%edi
80104032: e8 09 05 00 00 call 80104540 <release>
80104037: 83 c4 1c add $0x1c,%esp
8010403a: 89 f8 mov %edi,%eax
8010403c: 5b pop %ebx
8010403d: 5e pop %esi
8010403e: 5f pop %edi
8010403f: 5d pop %ebp
80104040: c3 ret
80104041: eb 0d jmp 80104050 <wakeup>
80104043: 90 nop
80104044: 90 nop
80104045: 90 nop
80104046: 90 nop
80104047: 90 nop
80104048: 90 nop
80104049: 90 nop
8010404a: 90 nop
8010404b: 90 nop
8010404c: 90 nop
8010404d: 90 nop
8010404e: 90 nop
8010404f: 90 nop
80104050 <wakeup>:
80104050: 55 push %ebp
80104051: 89 e5 mov %esp,%ebp
80104053: 53 push %ebx
80104054: 83 ec 14 sub $0x14,%esp
80104057: 8b 5d 08 mov 0x8(%ebp),%ebx
8010405a: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80104061: e8 6a 04 00 00 call 801044d0 <acquire>
80104066: b8 54 2d 11 80 mov $0x80112d54,%eax
8010406b: eb 0f jmp 8010407c <wakeup+0x2c>
8010406d: 8d 76 00 lea 0x0(%esi),%esi
80104070: 05 8c 00 00 00 add $0x8c,%eax
80104075: 3d 54 50 11 80 cmp $0x80115054,%eax
8010407a: 74 24 je 801040a0 <wakeup+0x50>
8010407c: 83 78 0c 02 cmpl $0x2,0xc(%eax)
80104080: 75 ee jne 80104070 <wakeup+0x20>
80104082: 3b 58 20 cmp 0x20(%eax),%ebx
80104085: 75 e9 jne 80104070 <wakeup+0x20>
80104087: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
8010408e: 05 8c 00 00 00 add $0x8c,%eax
80104093: 3d 54 50 11 80 cmp $0x80115054,%eax
80104098: 75 e2 jne 8010407c <wakeup+0x2c>
8010409a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801040a0: c7 45 08 20 2d 11 80 movl $0x80112d20,0x8(%ebp)
801040a7: 83 c4 14 add $0x14,%esp
801040aa: 5b pop %ebx
801040ab: 5d pop %ebp
801040ac: e9 8f 04 00 00 jmp 80104540 <release>
801040b1: eb 0d jmp 801040c0 <kill>
801040b3: 90 nop
801040b4: 90 nop
801040b5: 90 nop
801040b6: 90 nop
801040b7: 90 nop
801040b8: 90 nop
801040b9: 90 nop
801040ba: 90 nop
801040bb: 90 nop
801040bc: 90 nop
801040bd: 90 nop
801040be: 90 nop
801040bf: 90 nop
801040c0 <kill>:
801040c0: 55 push %ebp
801040c1: 89 e5 mov %esp,%ebp
801040c3: 53 push %ebx
801040c4: 83 ec 14 sub $0x14,%esp
801040c7: 8b 5d 08 mov 0x8(%ebp),%ebx
801040ca: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
801040d1: e8 fa 03 00 00 call 801044d0 <acquire>
801040d6: b8 54 2d 11 80 mov $0x80112d54,%eax
801040db: eb 0f jmp 801040ec <kill+0x2c>
801040dd: 8d 76 00 lea 0x0(%esi),%esi
801040e0: 05 8c 00 00 00 add $0x8c,%eax
801040e5: 3d 54 50 11 80 cmp $0x80115054,%eax
801040ea: 74 3c je 80104128 <kill+0x68>
801040ec: 39 58 10 cmp %ebx,0x10(%eax)
801040ef: 75 ef jne 801040e0 <kill+0x20>
801040f1: 83 78 0c 02 cmpl $0x2,0xc(%eax)
801040f5: c7 40 24 01 00 00 00 movl $0x1,0x24(%eax)
801040fc: 74 1a je 80104118 <kill+0x58>
801040fe: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
80104105: e8 36 04 00 00 call 80104540 <release>
8010410a: 83 c4 14 add $0x14,%esp
8010410d: 31 c0 xor %eax,%eax
8010410f: 5b pop %ebx
80104110: 5d pop %ebp
80104111: c3 ret
80104112: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104118: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
8010411f: eb dd jmp 801040fe <kill+0x3e>
80104121: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104128: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp)
8010412f: e8 0c 04 00 00 call 80104540 <release>
80104134: 83 c4 14 add $0x14,%esp
80104137: b8 ff ff ff ff mov $0xffffffff,%eax
8010413c: 5b pop %ebx
8010413d: 5d pop %ebp
8010413e: c3 ret
8010413f: 90 nop
80104140 <procdump>:
80104140: 55 push %ebp
80104141: 89 e5 mov %esp,%ebp
80104143: 57 push %edi
80104144: 56 push %esi
80104145: 53 push %ebx
80104146: bb c0 2d 11 80 mov $0x80112dc0,%ebx
8010414b: 83 ec 4c sub $0x4c,%esp
8010414e: 8d 75 e8 lea -0x18(%ebp),%esi
80104151: eb 23 jmp 80104176 <procdump+0x36>
80104153: 90 nop
80104154: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104158: c7 04 24 1a 76 10 80 movl $0x8010761a,(%esp)
8010415f: e8 ec c4 ff ff call 80100650 <cprintf>
80104164: 81 c3 8c 00 00 00 add $0x8c,%ebx
8010416a: 81 fb c0 50 11 80 cmp $0x801150c0,%ebx
80104170: 0f 84 8a 00 00 00 je 80104200 <procdump+0xc0>
80104176: 8b 43 a0 mov -0x60(%ebx),%eax
80104179: 85 c0 test %eax,%eax
8010417b: 74 e7 je 80104164 <procdump+0x24>
8010417d: 83 f8 05 cmp $0x5,%eax
80104180: ba 55 76 10 80 mov $0x80107655,%edx
80104185: 77 11 ja 80104198 <procdump+0x58>
80104187: 8b 14 85 dc 76 10 80 mov -0x7fef8924(,%eax,4),%edx
8010418e: b8 55 76 10 80 mov $0x80107655,%eax
80104193: 85 d2 test %edx,%edx
80104195: 0f 44 d0 cmove %eax,%edx
80104198: 8b 43 a4 mov -0x5c(%ebx),%eax
8010419b: 89 5c 24 0c mov %ebx,0xc(%esp)
8010419f: 89 54 24 08 mov %edx,0x8(%esp)
801041a3: c7 04 24 59 76 10 80 movl $0x80107659,(%esp)
801041aa: 89 44 24 04 mov %eax,0x4(%esp)
801041ae: e8 9d c4 ff ff call 80100650 <cprintf>
801041b3: 83 7b a0 02 cmpl $0x2,-0x60(%ebx)
801041b7: 75 9f jne 80104158 <procdump+0x18>
801041b9: 8d 45 c0 lea -0x40(%ebp),%eax
801041bc: 89 44 24 04 mov %eax,0x4(%esp)
801041c0: 8b 43 b0 mov -0x50(%ebx),%eax
801041c3: 8d 7d c0 lea -0x40(%ebp),%edi
801041c6: 8b 40 0c mov 0xc(%eax),%eax
801041c9: 83 c0 08 add $0x8,%eax
801041cc: 89 04 24 mov %eax,(%esp)
801041cf: e8 ac 01 00 00 call 80104380 <getcallerpcs>
801041d4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801041d8: 8b 17 mov (%edi),%edx
801041da: 85 d2 test %edx,%edx
801041dc: 0f 84 76 ff ff ff je 80104158 <procdump+0x18>
801041e2: 89 54 24 04 mov %edx,0x4(%esp)
801041e6: 83 c7 04 add $0x4,%edi
801041e9: c7 04 24 61 70 10 80 movl $0x80107061,(%esp)
801041f0: e8 5b c4 ff ff call 80100650 <cprintf>
801041f5: 39 f7 cmp %esi,%edi
801041f7: 75 df jne 801041d8 <procdump+0x98>
801041f9: e9 5a ff ff ff jmp 80104158 <procdump+0x18>
801041fe: 66 90 xchg %ax,%ax
80104200: 83 c4 4c add $0x4c,%esp
80104203: 5b pop %ebx
80104204: 5e pop %esi
80104205: 5f pop %edi
80104206: 5d pop %ebp
80104207: c3 ret
80104208: 90 nop
80104209: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104210 <hello>:
80104210: 55 push %ebp
80104211: 89 e5 mov %esp,%ebp
80104213: 83 ec 18 sub $0x18,%esp
80104216: c7 04 24 b4 76 10 80 movl $0x801076b4,(%esp)
8010421d: e8 2e c4 ff ff call 80100650 <cprintf>
80104222: c9 leave
80104223: c3 ret
80104224: 66 90 xchg %ax,%ax
80104226: 66 90 xchg %ax,%ax
80104228: 66 90 xchg %ax,%ax
8010422a: 66 90 xchg %ax,%ax
8010422c: 66 90 xchg %ax,%ax
8010422e: 66 90 xchg %ax,%ax
80104230 <initsleeplock>:
80104230: 55 push %ebp
80104231: 89 e5 mov %esp,%ebp
80104233: 53 push %ebx
80104234: 83 ec 14 sub $0x14,%esp
80104237: 8b 5d 08 mov 0x8(%ebp),%ebx
8010423a: c7 44 24 04 f4 76 10 movl $0x801076f4,0x4(%esp)
80104241: 80
80104242: 8d 43 04 lea 0x4(%ebx),%eax
80104245: 89 04 24 mov %eax,(%esp)
80104248: e8 13 01 00 00 call 80104360 <initlock>
8010424d: 8b 45 0c mov 0xc(%ebp),%eax
80104250: c7 03 00 00 00 00 movl $0x0,(%ebx)
80104256: c7 43 3c 00 00 00 00 movl $0x0,0x3c(%ebx)
8010425d: 89 43 38 mov %eax,0x38(%ebx)
80104260: 83 c4 14 add $0x14,%esp
80104263: 5b pop %ebx
80104264: 5d pop %ebp
80104265: c3 ret
80104266: 8d 76 00 lea 0x0(%esi),%esi
80104269: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104270 <acquiresleep>:
80104270: 55 push %ebp
80104271: 89 e5 mov %esp,%ebp
80104273: 56 push %esi
80104274: 53 push %ebx
80104275: 83 ec 10 sub $0x10,%esp
80104278: 8b 5d 08 mov 0x8(%ebp),%ebx
8010427b: 8d 73 04 lea 0x4(%ebx),%esi
8010427e: 89 34 24 mov %esi,(%esp)
80104281: e8 4a 02 00 00 call 801044d0 <acquire>
80104286: 8b 13 mov (%ebx),%edx
80104288: 85 d2 test %edx,%edx
8010428a: 74 16 je 801042a2 <acquiresleep+0x32>
8010428c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104290: 89 74 24 04 mov %esi,0x4(%esp)
80104294: 89 1c 24 mov %ebx,(%esp)
80104297: e8 04 fb ff ff call 80103da0 <sleep>
8010429c: 8b 03 mov (%ebx),%eax
8010429e: 85 c0 test %eax,%eax
801042a0: 75 ee jne 80104290 <acquiresleep+0x20>
801042a2: c7 03 01 00 00 00 movl $0x1,(%ebx)
801042a8: e8 43 f4 ff ff call 801036f0 <myproc>
801042ad: 8b 40 10 mov 0x10(%eax),%eax
801042b0: 89 43 3c mov %eax,0x3c(%ebx)
801042b3: 89 75 08 mov %esi,0x8(%ebp)
801042b6: 83 c4 10 add $0x10,%esp
801042b9: 5b pop %ebx
801042ba: 5e pop %esi
801042bb: 5d pop %ebp
801042bc: e9 7f 02 00 00 jmp 80104540 <release>
801042c1: eb 0d jmp 801042d0 <releasesleep>
801042c3: 90 nop
801042c4: 90 nop
801042c5: 90 nop
801042c6: 90 nop
801042c7: 90 nop
801042c8: 90 nop
801042c9: 90 nop
801042ca: 90 nop
801042cb: 90 nop
801042cc: 90 nop
801042cd: 90 nop
801042ce: 90 nop
801042cf: 90 nop
801042d0 <releasesleep>:
801042d0: 55 push %ebp
801042d1: 89 e5 mov %esp,%ebp
801042d3: 56 push %esi
801042d4: 53 push %ebx
801042d5: 83 ec 10 sub $0x10,%esp
801042d8: 8b 5d 08 mov 0x8(%ebp),%ebx
801042db: 8d 73 04 lea 0x4(%ebx),%esi
801042de: 89 34 24 mov %esi,(%esp)
801042e1: e8 ea 01 00 00 call 801044d0 <acquire>
801042e6: c7 03 00 00 00 00 movl $0x0,(%ebx)
801042ec: c7 43 3c 00 00 00 00 movl $0x0,0x3c(%ebx)
801042f3: 89 1c 24 mov %ebx,(%esp)
801042f6: e8 55 fd ff ff call 80104050 <wakeup>
801042fb: 89 75 08 mov %esi,0x8(%ebp)
801042fe: 83 c4 10 add $0x10,%esp
80104301: 5b pop %ebx
80104302: 5e pop %esi
80104303: 5d pop %ebp
80104304: e9 37 02 00 00 jmp 80104540 <release>
80104309: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104310 <holdingsleep>:
80104310: 55 push %ebp
80104311: 89 e5 mov %esp,%ebp
80104313: 57 push %edi
80104314: 31 ff xor %edi,%edi
80104316: 56 push %esi
80104317: 53 push %ebx
80104318: 83 ec 1c sub $0x1c,%esp
8010431b: 8b 5d 08 mov 0x8(%ebp),%ebx
8010431e: 8d 73 04 lea 0x4(%ebx),%esi
80104321: 89 34 24 mov %esi,(%esp)
80104324: e8 a7 01 00 00 call 801044d0 <acquire>
80104329: 8b 03 mov (%ebx),%eax
8010432b: 85 c0 test %eax,%eax
8010432d: 74 13 je 80104342 <holdingsleep+0x32>
8010432f: 8b 5b 3c mov 0x3c(%ebx),%ebx
80104332: e8 b9 f3 ff ff call 801036f0 <myproc>
80104337: 3b 58 10 cmp 0x10(%eax),%ebx
8010433a: 0f 94 c0 sete %al
8010433d: 0f b6 c0 movzbl %al,%eax
80104340: 89 c7 mov %eax,%edi
80104342: 89 34 24 mov %esi,(%esp)
80104345: e8 f6 01 00 00 call 80104540 <release>
8010434a: 83 c4 1c add $0x1c,%esp
8010434d: 89 f8 mov %edi,%eax
8010434f: 5b pop %ebx
80104350: 5e pop %esi
80104351: 5f pop %edi
80104352: 5d pop %ebp
80104353: c3 ret
80104354: 66 90 xchg %ax,%ax
80104356: 66 90 xchg %ax,%ax
80104358: 66 90 xchg %ax,%ax
8010435a: 66 90 xchg %ax,%ax
8010435c: 66 90 xchg %ax,%ax
8010435e: 66 90 xchg %ax,%ax
80104360 <initlock>:
80104360: 55 push %ebp
80104361: 89 e5 mov %esp,%ebp
80104363: 8b 45 08 mov 0x8(%ebp),%eax
80104366: 8b 55 0c mov 0xc(%ebp),%edx
80104369: c7 00 00 00 00 00 movl $0x0,(%eax)
8010436f: 89 50 04 mov %edx,0x4(%eax)
80104372: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax)
80104379: 5d pop %ebp
8010437a: c3 ret
8010437b: 90 nop
8010437c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104380 <getcallerpcs>:
80104380: 55 push %ebp
80104381: 89 e5 mov %esp,%ebp
80104383: 8b 45 08 mov 0x8(%ebp),%eax
80104386: 8b 4d 0c mov 0xc(%ebp),%ecx
80104389: 53 push %ebx
8010438a: 8d 50 f8 lea -0x8(%eax),%edx
8010438d: 31 c0 xor %eax,%eax
8010438f: 90 nop
80104390: 8d 9a 00 00 00 80 lea -0x80000000(%edx),%ebx
80104396: 81 fb fe ff ff 7f cmp $0x7ffffffe,%ebx
8010439c: 77 1a ja 801043b8 <getcallerpcs+0x38>
8010439e: 8b 5a 04 mov 0x4(%edx),%ebx
801043a1: 89 1c 81 mov %ebx,(%ecx,%eax,4)
801043a4: 83 c0 01 add $0x1,%eax
801043a7: 8b 12 mov (%edx),%edx
801043a9: 83 f8 0a cmp $0xa,%eax
801043ac: 75 e2 jne 80104390 <getcallerpcs+0x10>
801043ae: 5b pop %ebx
801043af: 5d pop %ebp
801043b0: c3 ret
801043b1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801043b8: c7 04 81 00 00 00 00 movl $0x0,(%ecx,%eax,4)
801043bf: 83 c0 01 add $0x1,%eax
801043c2: 83 f8 0a cmp $0xa,%eax
801043c5: 74 e7 je 801043ae <getcallerpcs+0x2e>
801043c7: c7 04 81 00 00 00 00 movl $0x0,(%ecx,%eax,4)
801043ce: 83 c0 01 add $0x1,%eax
801043d1: 83 f8 0a cmp $0xa,%eax
801043d4: 75 e2 jne 801043b8 <getcallerpcs+0x38>
801043d6: eb d6 jmp 801043ae <getcallerpcs+0x2e>
801043d8: 90 nop
801043d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801043e0 <pushcli>:
801043e0: 55 push %ebp
801043e1: 89 e5 mov %esp,%ebp
801043e3: 53 push %ebx
801043e4: 83 ec 04 sub $0x4,%esp
801043e7: 9c pushf
801043e8: 5b pop %ebx
801043e9: fa cli
801043ea: e8 61 f2 ff ff call 80103650 <mycpu>
801043ef: 8b 80 a4 00 00 00 mov 0xa4(%eax),%eax
801043f5: 85 c0 test %eax,%eax
801043f7: 75 11 jne 8010440a <pushcli+0x2a>
801043f9: e8 52 f2 ff ff call 80103650 <mycpu>
801043fe: 81 e3 00 02 00 00 and $0x200,%ebx
80104404: 89 98 a8 00 00 00 mov %ebx,0xa8(%eax)
8010440a: e8 41 f2 ff ff call 80103650 <mycpu>
8010440f: 83 80 a4 00 00 00 01 addl $0x1,0xa4(%eax)
80104416: 83 c4 04 add $0x4,%esp
80104419: 5b pop %ebx
8010441a: 5d pop %ebp
8010441b: c3 ret
8010441c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104420 <popcli>:
80104420: 55 push %ebp
80104421: 89 e5 mov %esp,%ebp
80104423: 83 ec 18 sub $0x18,%esp
80104426: 9c pushf
80104427: 58 pop %eax
80104428: f6 c4 02 test $0x2,%ah
8010442b: 75 49 jne 80104476 <popcli+0x56>
8010442d: e8 1e f2 ff ff call 80103650 <mycpu>
80104432: 8b 88 a4 00 00 00 mov 0xa4(%eax),%ecx
80104438: 8d 51 ff lea -0x1(%ecx),%edx
8010443b: 85 d2 test %edx,%edx
8010443d: 89 90 a4 00 00 00 mov %edx,0xa4(%eax)
80104443: 78 25 js 8010446a <popcli+0x4a>
80104445: e8 06 f2 ff ff call 80103650 <mycpu>
8010444a: 8b 90 a4 00 00 00 mov 0xa4(%eax),%edx
80104450: 85 d2 test %edx,%edx
80104452: 74 04 je 80104458 <popcli+0x38>
80104454: c9 leave
80104455: c3 ret
80104456: 66 90 xchg %ax,%ax
80104458: e8 f3 f1 ff ff call 80103650 <mycpu>
8010445d: 8b 80 a8 00 00 00 mov 0xa8(%eax),%eax
80104463: 85 c0 test %eax,%eax
80104465: 74 ed je 80104454 <popcli+0x34>
80104467: fb sti
80104468: c9 leave
80104469: c3 ret
8010446a: c7 04 24 16 77 10 80 movl $0x80107716,(%esp)
80104471: e8 ea be ff ff call 80100360 <panic>
80104476: c7 04 24 ff 76 10 80 movl $0x801076ff,(%esp)
8010447d: e8 de be ff ff call 80100360 <panic>
80104482: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104489: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104490 <holding>:
80104490: 55 push %ebp
80104491: 89 e5 mov %esp,%ebp
80104493: 56 push %esi
80104494: 31 f6 xor %esi,%esi
80104496: 53 push %ebx
80104497: 8b 5d 08 mov 0x8(%ebp),%ebx
8010449a: e8 41 ff ff ff call 801043e0 <pushcli>
8010449f: 8b 03 mov (%ebx),%eax
801044a1: 85 c0 test %eax,%eax
801044a3: 74 12 je 801044b7 <holding+0x27>
801044a5: 8b 5b 08 mov 0x8(%ebx),%ebx
801044a8: e8 a3 f1 ff ff call 80103650 <mycpu>
801044ad: 39 c3 cmp %eax,%ebx
801044af: 0f 94 c0 sete %al
801044b2: 0f b6 c0 movzbl %al,%eax
801044b5: 89 c6 mov %eax,%esi
801044b7: e8 64 ff ff ff call 80104420 <popcli>
801044bc: 89 f0 mov %esi,%eax
801044be: 5b pop %ebx
801044bf: 5e pop %esi
801044c0: 5d pop %ebp
801044c1: c3 ret
801044c2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801044c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801044d0 <acquire>:
801044d0: 55 push %ebp
801044d1: 89 e5 mov %esp,%ebp
801044d3: 53 push %ebx
801044d4: 83 ec 14 sub $0x14,%esp
801044d7: e8 04 ff ff ff call 801043e0 <pushcli>
801044dc: 8b 45 08 mov 0x8(%ebp),%eax
801044df: 89 04 24 mov %eax,(%esp)
801044e2: e8 a9 ff ff ff call 80104490 <holding>
801044e7: 85 c0 test %eax,%eax
801044e9: 75 3a jne 80104525 <acquire+0x55>
801044eb: b9 01 00 00 00 mov $0x1,%ecx
801044f0: 8b 55 08 mov 0x8(%ebp),%edx
801044f3: 89 c8 mov %ecx,%eax
801044f5: f0 87 02 lock xchg %eax,(%edx)
801044f8: 85 c0 test %eax,%eax
801044fa: 75 f4 jne 801044f0 <acquire+0x20>
801044fc: 0f ae f0 mfence
801044ff: 8b 5d 08 mov 0x8(%ebp),%ebx
80104502: e8 49 f1 ff ff call 80103650 <mycpu>
80104507: 89 43 08 mov %eax,0x8(%ebx)
8010450a: 8b 45 08 mov 0x8(%ebp),%eax
8010450d: 83 c0 0c add $0xc,%eax
80104510: 89 44 24 04 mov %eax,0x4(%esp)
80104514: 8d 45 08 lea 0x8(%ebp),%eax
80104517: 89 04 24 mov %eax,(%esp)
8010451a: e8 61 fe ff ff call 80104380 <getcallerpcs>
8010451f: 83 c4 14 add $0x14,%esp
80104522: 5b pop %ebx
80104523: 5d pop %ebp
80104524: c3 ret
80104525: c7 04 24 1d 77 10 80 movl $0x8010771d,(%esp)
8010452c: e8 2f be ff ff call 80100360 <panic>
80104531: eb 0d jmp 80104540 <release>
80104533: 90 nop
80104534: 90 nop
80104535: 90 nop
80104536: 90 nop
80104537: 90 nop
80104538: 90 nop
80104539: 90 nop
8010453a: 90 nop
8010453b: 90 nop
8010453c: 90 nop
8010453d: 90 nop
8010453e: 90 nop
8010453f: 90 nop
80104540 <release>:
80104540: 55 push %ebp
80104541: 89 e5 mov %esp,%ebp
80104543: 53 push %ebx
80104544: 83 ec 14 sub $0x14,%esp
80104547: 8b 5d 08 mov 0x8(%ebp),%ebx
8010454a: 89 1c 24 mov %ebx,(%esp)
8010454d: e8 3e ff ff ff call 80104490 <holding>
80104552: 85 c0 test %eax,%eax
80104554: 74 21 je 80104577 <release+0x37>
80104556: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx)
8010455d: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx)
80104564: 0f ae f0 mfence
80104567: c7 03 00 00 00 00 movl $0x0,(%ebx)
8010456d: 83 c4 14 add $0x14,%esp
80104570: 5b pop %ebx
80104571: 5d pop %ebp
80104572: e9 a9 fe ff ff jmp 80104420 <popcli>
80104577: c7 04 24 25 77 10 80 movl $0x80107725,(%esp)
8010457e: e8 dd bd ff ff call 80100360 <panic>
80104583: 66 90 xchg %ax,%ax
80104585: 66 90 xchg %ax,%ax
80104587: 66 90 xchg %ax,%ax
80104589: 66 90 xchg %ax,%ax
8010458b: 66 90 xchg %ax,%ax
8010458d: 66 90 xchg %ax,%ax
8010458f: 90 nop
80104590 <memset>:
80104590: 55 push %ebp
80104591: 89 e5 mov %esp,%ebp
80104593: 8b 55 08 mov 0x8(%ebp),%edx
80104596: 57 push %edi
80104597: 8b 4d 10 mov 0x10(%ebp),%ecx
8010459a: 53 push %ebx
8010459b: f6 c2 03 test $0x3,%dl
8010459e: 75 05 jne 801045a5 <memset+0x15>
801045a0: f6 c1 03 test $0x3,%cl
801045a3: 74 13 je 801045b8 <memset+0x28>
801045a5: 89 d7 mov %edx,%edi
801045a7: 8b 45 0c mov 0xc(%ebp),%eax
801045aa: fc cld
801045ab: f3 aa rep stos %al,%es:(%edi)
801045ad: 5b pop %ebx
801045ae: 89 d0 mov %edx,%eax
801045b0: 5f pop %edi
801045b1: 5d pop %ebp
801045b2: c3 ret
801045b3: 90 nop
801045b4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801045b8: 0f b6 7d 0c movzbl 0xc(%ebp),%edi
801045bc: c1 e9 02 shr $0x2,%ecx
801045bf: 89 f8 mov %edi,%eax
801045c1: 89 fb mov %edi,%ebx
801045c3: c1 e0 18 shl $0x18,%eax
801045c6: c1 e3 10 shl $0x10,%ebx
801045c9: 09 d8 or %ebx,%eax
801045cb: 09 f8 or %edi,%eax
801045cd: c1 e7 08 shl $0x8,%edi
801045d0: 09 f8 or %edi,%eax
801045d2: 89 d7 mov %edx,%edi
801045d4: fc cld
801045d5: f3 ab rep stos %eax,%es:(%edi)
801045d7: 5b pop %ebx
801045d8: 89 d0 mov %edx,%eax
801045da: 5f pop %edi
801045db: 5d pop %ebp
801045dc: c3 ret
801045dd: 8d 76 00 lea 0x0(%esi),%esi
801045e0 <memcmp>:
801045e0: 55 push %ebp
801045e1: 89 e5 mov %esp,%ebp
801045e3: 8b 45 10 mov 0x10(%ebp),%eax
801045e6: 57 push %edi
801045e7: 56 push %esi
801045e8: 8b 75 0c mov 0xc(%ebp),%esi
801045eb: 53 push %ebx
801045ec: 8b 5d 08 mov 0x8(%ebp),%ebx
801045ef: 85 c0 test %eax,%eax
801045f1: 8d 78 ff lea -0x1(%eax),%edi
801045f4: 74 26 je 8010461c <memcmp+0x3c>
801045f6: 0f b6 03 movzbl (%ebx),%eax
801045f9: 31 d2 xor %edx,%edx
801045fb: 0f b6 0e movzbl (%esi),%ecx
801045fe: 38 c8 cmp %cl,%al
80104600: 74 16 je 80104618 <memcmp+0x38>
80104602: eb 24 jmp 80104628 <memcmp+0x48>
80104604: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104608: 0f b6 44 13 01 movzbl 0x1(%ebx,%edx,1),%eax
8010460d: 83 c2 01 add $0x1,%edx
80104610: 0f b6 0c 16 movzbl (%esi,%edx,1),%ecx
80104614: 38 c8 cmp %cl,%al
80104616: 75 10 jne 80104628 <memcmp+0x48>
80104618: 39 fa cmp %edi,%edx
8010461a: 75 ec jne 80104608 <memcmp+0x28>
8010461c: 5b pop %ebx
8010461d: 31 c0 xor %eax,%eax
8010461f: 5e pop %esi
80104620: 5f pop %edi
80104621: 5d pop %ebp
80104622: c3 ret
80104623: 90 nop
80104624: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104628: 5b pop %ebx
80104629: 29 c8 sub %ecx,%eax
8010462b: 5e pop %esi
8010462c: 5f pop %edi
8010462d: 5d pop %ebp
8010462e: c3 ret
8010462f: 90 nop
80104630 <memmove>:
80104630: 55 push %ebp
80104631: 89 e5 mov %esp,%ebp
80104633: 57 push %edi
80104634: 8b 45 08 mov 0x8(%ebp),%eax
80104637: 56 push %esi
80104638: 8b 75 0c mov 0xc(%ebp),%esi
8010463b: 53 push %ebx
8010463c: 8b 5d 10 mov 0x10(%ebp),%ebx
8010463f: 39 c6 cmp %eax,%esi
80104641: 73 35 jae 80104678 <memmove+0x48>
80104643: 8d 0c 1e lea (%esi,%ebx,1),%ecx
80104646: 39 c8 cmp %ecx,%eax
80104648: 73 2e jae 80104678 <memmove+0x48>
8010464a: 85 db test %ebx,%ebx
8010464c: 8d 3c 18 lea (%eax,%ebx,1),%edi
8010464f: 8d 53 ff lea -0x1(%ebx),%edx
80104652: 74 1b je 8010466f <memmove+0x3f>
80104654: f7 db neg %ebx
80104656: 8d 34 19 lea (%ecx,%ebx,1),%esi
80104659: 01 fb add %edi,%ebx
8010465b: 90 nop
8010465c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104660: 0f b6 0c 16 movzbl (%esi,%edx,1),%ecx
80104664: 88 0c 13 mov %cl,(%ebx,%edx,1)
80104667: 83 ea 01 sub $0x1,%edx
8010466a: 83 fa ff cmp $0xffffffff,%edx
8010466d: 75 f1 jne 80104660 <memmove+0x30>
8010466f: 5b pop %ebx
80104670: 5e pop %esi
80104671: 5f pop %edi
80104672: 5d pop %ebp
80104673: c3 ret
80104674: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104678: 31 d2 xor %edx,%edx
8010467a: 85 db test %ebx,%ebx
8010467c: 74 f1 je 8010466f <memmove+0x3f>
8010467e: 66 90 xchg %ax,%ax
80104680: 0f b6 0c 16 movzbl (%esi,%edx,1),%ecx
80104684: 88 0c 10 mov %cl,(%eax,%edx,1)
80104687: 83 c2 01 add $0x1,%edx
8010468a: 39 da cmp %ebx,%edx
8010468c: 75 f2 jne 80104680 <memmove+0x50>
8010468e: 5b pop %ebx
8010468f: 5e pop %esi
80104690: 5f pop %edi
80104691: 5d pop %ebp
80104692: c3 ret
80104693: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104699: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801046a0 <memcpy>:
801046a0: 55 push %ebp
801046a1: 89 e5 mov %esp,%ebp
801046a3: 5d pop %ebp
801046a4: eb 8a jmp 80104630 <memmove>
801046a6: 8d 76 00 lea 0x0(%esi),%esi
801046a9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801046b0 <strncmp>:
801046b0: 55 push %ebp
801046b1: 89 e5 mov %esp,%ebp
801046b3: 56 push %esi
801046b4: 8b 75 10 mov 0x10(%ebp),%esi
801046b7: 53 push %ebx
801046b8: 8b 4d 08 mov 0x8(%ebp),%ecx
801046bb: 8b 5d 0c mov 0xc(%ebp),%ebx
801046be: 85 f6 test %esi,%esi
801046c0: 74 30 je 801046f2 <strncmp+0x42>
801046c2: 0f b6 01 movzbl (%ecx),%eax
801046c5: 84 c0 test %al,%al
801046c7: 74 2f je 801046f8 <strncmp+0x48>
801046c9: 0f b6 13 movzbl (%ebx),%edx
801046cc: 38 d0 cmp %dl,%al
801046ce: 75 46 jne 80104716 <strncmp+0x66>
801046d0: 8d 51 01 lea 0x1(%ecx),%edx
801046d3: 01 ce add %ecx,%esi
801046d5: eb 14 jmp 801046eb <strncmp+0x3b>
801046d7: 90 nop
801046d8: 0f b6 02 movzbl (%edx),%eax
801046db: 84 c0 test %al,%al
801046dd: 74 31 je 80104710 <strncmp+0x60>
801046df: 0f b6 19 movzbl (%ecx),%ebx
801046e2: 83 c2 01 add $0x1,%edx
801046e5: 38 d8 cmp %bl,%al
801046e7: 75 17 jne 80104700 <strncmp+0x50>
801046e9: 89 cb mov %ecx,%ebx
801046eb: 39 f2 cmp %esi,%edx
801046ed: 8d 4b 01 lea 0x1(%ebx),%ecx
801046f0: 75 e6 jne 801046d8 <strncmp+0x28>
801046f2: 5b pop %ebx
801046f3: 31 c0 xor %eax,%eax
801046f5: 5e pop %esi
801046f6: 5d pop %ebp
801046f7: c3 ret
801046f8: 0f b6 1b movzbl (%ebx),%ebx
801046fb: 31 c0 xor %eax,%eax
801046fd: 8d 76 00 lea 0x0(%esi),%esi
80104700: 0f b6 d3 movzbl %bl,%edx
80104703: 29 d0 sub %edx,%eax
80104705: 5b pop %ebx
80104706: 5e pop %esi
80104707: 5d pop %ebp
80104708: c3 ret
80104709: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104710: 0f b6 5b 01 movzbl 0x1(%ebx),%ebx
80104714: eb ea jmp 80104700 <strncmp+0x50>
80104716: 89 d3 mov %edx,%ebx
80104718: eb e6 jmp 80104700 <strncmp+0x50>
8010471a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104720 <strncpy>:
80104720: 55 push %ebp
80104721: 89 e5 mov %esp,%ebp
80104723: 8b 45 08 mov 0x8(%ebp),%eax
80104726: 56 push %esi
80104727: 8b 4d 10 mov 0x10(%ebp),%ecx
8010472a: 53 push %ebx
8010472b: 8b 5d 0c mov 0xc(%ebp),%ebx
8010472e: 89 c2 mov %eax,%edx
80104730: eb 19 jmp 8010474b <strncpy+0x2b>
80104732: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104738: 83 c3 01 add $0x1,%ebx
8010473b: 0f b6 4b ff movzbl -0x1(%ebx),%ecx
8010473f: 83 c2 01 add $0x1,%edx
80104742: 84 c9 test %cl,%cl
80104744: 88 4a ff mov %cl,-0x1(%edx)
80104747: 74 09 je 80104752 <strncpy+0x32>
80104749: 89 f1 mov %esi,%ecx
8010474b: 85 c9 test %ecx,%ecx
8010474d: 8d 71 ff lea -0x1(%ecx),%esi
80104750: 7f e6 jg 80104738 <strncpy+0x18>
80104752: 31 c9 xor %ecx,%ecx
80104754: 85 f6 test %esi,%esi
80104756: 7e 0f jle 80104767 <strncpy+0x47>
80104758: c6 04 0a 00 movb $0x0,(%edx,%ecx,1)
8010475c: 89 f3 mov %esi,%ebx
8010475e: 83 c1 01 add $0x1,%ecx
80104761: 29 cb sub %ecx,%ebx
80104763: 85 db test %ebx,%ebx
80104765: 7f f1 jg 80104758 <strncpy+0x38>
80104767: 5b pop %ebx
80104768: 5e pop %esi
80104769: 5d pop %ebp
8010476a: c3 ret
8010476b: 90 nop
8010476c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104770 <safestrcpy>:
80104770: 55 push %ebp
80104771: 89 e5 mov %esp,%ebp
80104773: 8b 4d 10 mov 0x10(%ebp),%ecx
80104776: 56 push %esi
80104777: 8b 45 08 mov 0x8(%ebp),%eax
8010477a: 53 push %ebx
8010477b: 8b 55 0c mov 0xc(%ebp),%edx
8010477e: 85 c9 test %ecx,%ecx
80104780: 7e 26 jle 801047a8 <safestrcpy+0x38>
80104782: 8d 74 0a ff lea -0x1(%edx,%ecx,1),%esi
80104786: 89 c1 mov %eax,%ecx
80104788: eb 17 jmp 801047a1 <safestrcpy+0x31>
8010478a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104790: 83 c2 01 add $0x1,%edx
80104793: 0f b6 5a ff movzbl -0x1(%edx),%ebx
80104797: 83 c1 01 add $0x1,%ecx
8010479a: 84 db test %bl,%bl
8010479c: 88 59 ff mov %bl,-0x1(%ecx)
8010479f: 74 04 je 801047a5 <safestrcpy+0x35>
801047a1: 39 f2 cmp %esi,%edx
801047a3: 75 eb jne 80104790 <safestrcpy+0x20>
801047a5: c6 01 00 movb $0x0,(%ecx)
801047a8: 5b pop %ebx
801047a9: 5e pop %esi
801047aa: 5d pop %ebp
801047ab: c3 ret
801047ac: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801047b0 <strlen>:
801047b0: 55 push %ebp
801047b1: 31 c0 xor %eax,%eax
801047b3: 89 e5 mov %esp,%ebp
801047b5: 8b 55 08 mov 0x8(%ebp),%edx
801047b8: 80 3a 00 cmpb $0x0,(%edx)
801047bb: 74 0c je 801047c9 <strlen+0x19>
801047bd: 8d 76 00 lea 0x0(%esi),%esi
801047c0: 83 c0 01 add $0x1,%eax
801047c3: 80 3c 02 00 cmpb $0x0,(%edx,%eax,1)
801047c7: 75 f7 jne 801047c0 <strlen+0x10>
801047c9: 5d pop %ebp
801047ca: c3 ret
801047cb <swtch>:
# a struct context, and save its address in *old.
# Switch stacks to new and pop previously-saved registers.
.globl swtch
swtch:
movl 4(%esp), %eax
801047cb: 8b 44 24 04 mov 0x4(%esp),%eax
movl 8(%esp), %edx
801047cf: 8b 54 24 08 mov 0x8(%esp),%edx
# Save old callee-saved registers
pushl %ebp
801047d3: 55 push %ebp
pushl %ebx
801047d4: 53 push %ebx
pushl %esi
801047d5: 56 push %esi
pushl %edi
801047d6: 57 push %edi
# Switch stacks
movl %esp, (%eax)
801047d7: 89 20 mov %esp,(%eax)
movl %edx, %esp
801047d9: 89 d4 mov %edx,%esp
# Load new callee-saved registers
popl %edi
801047db: 5f pop %edi
popl %esi
801047dc: 5e pop %esi
popl %ebx
801047dd: 5b pop %ebx
popl %ebp
801047de: 5d pop %ebp
ret
801047df: c3 ret
801047e0 <fetchint>:
// to a saved program counter, and then the first argument.
// Fetch the int at addr from the current process.
int
fetchint(uint addr, int *ip)
{
801047e0: 55 push %ebp
801047e1: 89 e5 mov %esp,%ebp
801047e3: 53 push %ebx
801047e4: 83 ec 04 sub $0x4,%esp
801047e7: 8b 5d 08 mov 0x8(%ebp),%ebx
struct proc *curproc = myproc();
801047ea: e8 01 ef ff ff call 801036f0 <myproc>
if(addr >= curproc->sz || addr+4 > curproc->sz)
801047ef: 8b 00 mov (%eax),%eax
801047f1: 39 d8 cmp %ebx,%eax
801047f3: 76 1b jbe 80104810 <fetchint+0x30>
801047f5: 8d 53 04 lea 0x4(%ebx),%edx
801047f8: 39 d0 cmp %edx,%eax
801047fa: 72 14 jb 80104810 <fetchint+0x30>
return -1;
*ip = *(int*)(addr);
801047fc: 8b 45 0c mov 0xc(%ebp),%eax
801047ff: 8b 13 mov (%ebx),%edx
80104801: 89 10 mov %edx,(%eax)
return 0;
80104803: 31 c0 xor %eax,%eax
}
80104805: 83 c4 04 add $0x4,%esp
80104808: 5b pop %ebx
80104809: 5d pop %ebp
8010480a: c3 ret
8010480b: 90 nop
8010480c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
return -1;
80104810: b8 ff ff ff ff mov $0xffffffff,%eax
80104815: eb ee jmp 80104805 <fetchint+0x25>
80104817: 89 f6 mov %esi,%esi
80104819: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104820 <fetchstr>:
// Fetch the nul-terminated string at addr from the current process.
// Doesn't actually copy the string - just sets *pp to point at it.
// Returns length of string, not including nul.
int
fetchstr(uint addr, char **pp)
{
80104820: 55 push %ebp
80104821: 89 e5 mov %esp,%ebp
80104823: 53 push %ebx
80104824: 83 ec 04 sub $0x4,%esp
80104827: 8b 5d 08 mov 0x8(%ebp),%ebx
char *s, *ep;
struct proc *curproc = myproc();
8010482a: e8 c1 ee ff ff call 801036f0 <myproc>
if(addr >= curproc->sz)
8010482f: 39 18 cmp %ebx,(%eax)
80104831: 76 26 jbe 80104859 <fetchstr+0x39>
return -1;
*pp = (char*)addr;
80104833: 8b 4d 0c mov 0xc(%ebp),%ecx
80104836: 89 da mov %ebx,%edx
80104838: 89 19 mov %ebx,(%ecx)
ep = (char*)curproc->sz;
8010483a: 8b 00 mov (%eax),%eax
for(s = *pp; s < ep; s++){
8010483c: 39 c3 cmp %eax,%ebx
8010483e: 73 19 jae 80104859 <fetchstr+0x39>
if(*s == 0)
80104840: 80 3b 00 cmpb $0x0,(%ebx)
80104843: 75 0d jne 80104852 <fetchstr+0x32>
80104845: eb 21 jmp 80104868 <fetchstr+0x48>
80104847: 90 nop
80104848: 80 3a 00 cmpb $0x0,(%edx)
8010484b: 90 nop
8010484c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104850: 74 16 je 80104868 <fetchstr+0x48>
for(s = *pp; s < ep; s++){
80104852: 83 c2 01 add $0x1,%edx
80104855: 39 d0 cmp %edx,%eax
80104857: 77 ef ja 80104848 <fetchstr+0x28>
return s - *pp;
}
return -1;
}
80104859: 83 c4 04 add $0x4,%esp
return -1;
8010485c: b8 ff ff ff ff mov $0xffffffff,%eax
}
80104861: 5b pop %ebx
80104862: 5d pop %ebp
80104863: c3 ret
80104864: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104868: 83 c4 04 add $0x4,%esp
return s - *pp;
8010486b: 89 d0 mov %edx,%eax
8010486d: 29 d8 sub %ebx,%eax
}
8010486f: 5b pop %ebx
80104870: 5d pop %ebp
80104871: c3 ret
80104872: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104879: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104880 <argint>:
// Fetch the nth 32-bit system call argument.
int
argint(int n, int *ip)
{
80104880: 55 push %ebp
80104881: 89 e5 mov %esp,%ebp
80104883: 56 push %esi
80104884: 8b 75 0c mov 0xc(%ebp),%esi
80104887: 53 push %ebx
80104888: 8b 5d 08 mov 0x8(%ebp),%ebx
return fetchint((myproc()->tf->esp) + 4 + 4*n, ip);
8010488b: e8 60 ee ff ff call 801036f0 <myproc>
80104890: 89 75 0c mov %esi,0xc(%ebp)
80104893: 8b 40 18 mov 0x18(%eax),%eax
80104896: 8b 40 44 mov 0x44(%eax),%eax
80104899: 8d 44 98 04 lea 0x4(%eax,%ebx,4),%eax
8010489d: 89 45 08 mov %eax,0x8(%ebp)
}
801048a0: 5b pop %ebx
801048a1: 5e pop %esi
801048a2: 5d pop %ebp
return fetchint((myproc()->tf->esp) + 4 + 4*n, ip);
801048a3: e9 38 ff ff ff jmp 801047e0 <fetchint>
801048a8: 90 nop
801048a9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801048b0 <argptr>:
// Fetch the nth word-sized system call argument as a pointer
// to a block of memory of size bytes. Check that the pointer
// lies within the process address space.
int
argptr(int n, char **pp, int size)
{
801048b0: 55 push %ebp
801048b1: 89 e5 mov %esp,%ebp
801048b3: 56 push %esi
801048b4: 53 push %ebx
801048b5: 83 ec 20 sub $0x20,%esp
801048b8: 8b 5d 10 mov 0x10(%ebp),%ebx
int i;
struct proc *curproc = myproc();
801048bb: e8 30 ee ff ff call 801036f0 <myproc>
801048c0: 89 c6 mov %eax,%esi
if(argint(n, &i) < 0)
801048c2: 8d 45 f4 lea -0xc(%ebp),%eax
801048c5: 89 44 24 04 mov %eax,0x4(%esp)
801048c9: 8b 45 08 mov 0x8(%ebp),%eax
801048cc: 89 04 24 mov %eax,(%esp)
801048cf: e8 ac ff ff ff call 80104880 <argint>
801048d4: 85 c0 test %eax,%eax
801048d6: 78 28 js 80104900 <argptr+0x50>
return -1;
if(size < 0 || (uint)i >= curproc->sz || (uint)i+size > curproc->sz)
801048d8: 85 db test %ebx,%ebx
801048da: 78 24 js 80104900 <argptr+0x50>
801048dc: 8b 55 f4 mov -0xc(%ebp),%edx
801048df: 8b 06 mov (%esi),%eax
801048e1: 39 c2 cmp %eax,%edx
801048e3: 73 1b jae 80104900 <argptr+0x50>
801048e5: 01 d3 add %edx,%ebx
801048e7: 39 d8 cmp %ebx,%eax
801048e9: 72 15 jb 80104900 <argptr+0x50>
return -1;
*pp = (char*)i;
801048eb: 8b 45 0c mov 0xc(%ebp),%eax
801048ee: 89 10 mov %edx,(%eax)
return 0;
}
801048f0: 83 c4 20 add $0x20,%esp
return 0;
801048f3: 31 c0 xor %eax,%eax
}
801048f5: 5b pop %ebx
801048f6: 5e pop %esi
801048f7: 5d pop %ebp
801048f8: c3 ret
801048f9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80104900: 83 c4 20 add $0x20,%esp
return -1;
80104903: b8 ff ff ff ff mov $0xffffffff,%eax
}
80104908: 5b pop %ebx
80104909: 5e pop %esi
8010490a: 5d pop %ebp
8010490b: c3 ret
8010490c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104910 <argstr>:
// Check that the pointer is valid and the string is nul-terminated.
// (There is no shared writable memory, so the string can't change
// between this check and being used by the kernel.)
int
argstr(int n, char **pp)
{
80104910: 55 push %ebp
80104911: 89 e5 mov %esp,%ebp
80104913: 83 ec 28 sub $0x28,%esp
int addr;
if(argint(n, &addr) < 0)
80104916: 8d 45 f4 lea -0xc(%ebp),%eax
80104919: 89 44 24 04 mov %eax,0x4(%esp)
8010491d: 8b 45 08 mov 0x8(%ebp),%eax
80104920: 89 04 24 mov %eax,(%esp)
80104923: e8 58 ff ff ff call 80104880 <argint>
80104928: 85 c0 test %eax,%eax
8010492a: 78 14 js 80104940 <argstr+0x30>
return -1;
return fetchstr(addr, pp);
8010492c: 8b 45 0c mov 0xc(%ebp),%eax
8010492f: 89 44 24 04 mov %eax,0x4(%esp)
80104933: 8b 45 f4 mov -0xc(%ebp),%eax
80104936: 89 04 24 mov %eax,(%esp)
80104939: e8 e2 fe ff ff call 80104820 <fetchstr>
}
8010493e: c9 leave
8010493f: c3 ret
return -1;
80104940: b8 ff ff ff ff mov $0xffffffff,%eax
}
80104945: c9 leave
80104946: c3 ret
80104947: 89 f6 mov %esi,%esi
80104949: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104950 <syscall>:
[SYS_set_prior] sys_set_prior, //new for lab2
};
void
syscall(void)
{
80104950: 55 push %ebp
80104951: 89 e5 mov %esp,%ebp
80104953: 56 push %esi
80104954: 53 push %ebx
80104955: 83 ec 10 sub $0x10,%esp
int num;
struct proc *curproc = myproc();
80104958: e8 93 ed ff ff call 801036f0 <myproc>
num = curproc->tf->eax;
8010495d: 8b 70 18 mov 0x18(%eax),%esi
struct proc *curproc = myproc();
80104960: 89 c3 mov %eax,%ebx
num = curproc->tf->eax;
80104962: 8b 46 1c mov 0x1c(%esi),%eax
if(num > 0 && num < NELEM(syscalls) && syscalls[num]) {
80104965: 8d 50 ff lea -0x1(%eax),%edx
80104968: 83 fa 17 cmp $0x17,%edx
8010496b: 77 1b ja 80104988 <syscall+0x38>
8010496d: 8b 14 85 60 77 10 80 mov -0x7fef88a0(,%eax,4),%edx
80104974: 85 d2 test %edx,%edx
80104976: 74 10 je 80104988 <syscall+0x38>
curproc->tf->eax = syscalls[num]();
80104978: ff d2 call *%edx
8010497a: 89 46 1c mov %eax,0x1c(%esi)
} else {
cprintf("%d %s: unknown sys call %d\n",
curproc->pid, curproc->name, num);
curproc->tf->eax = -1;
}
}
8010497d: 83 c4 10 add $0x10,%esp
80104980: 5b pop %ebx
80104981: 5e pop %esi
80104982: 5d pop %ebp
80104983: c3 ret
80104984: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
cprintf("%d %s: unknown sys call %d\n",
80104988: 89 44 24 0c mov %eax,0xc(%esp)
curproc->pid, curproc->name, num);
8010498c: 8d 43 6c lea 0x6c(%ebx),%eax
8010498f: 89 44 24 08 mov %eax,0x8(%esp)
cprintf("%d %s: unknown sys call %d\n",
80104993: 8b 43 10 mov 0x10(%ebx),%eax
80104996: c7 04 24 2d 77 10 80 movl $0x8010772d,(%esp)
8010499d: 89 44 24 04 mov %eax,0x4(%esp)
801049a1: e8 aa bc ff ff call 80100650 <cprintf>
curproc->tf->eax = -1;
801049a6: 8b 43 18 mov 0x18(%ebx),%eax
801049a9: c7 40 1c ff ff ff ff movl $0xffffffff,0x1c(%eax)
}
801049b0: 83 c4 10 add $0x10,%esp
801049b3: 5b pop %ebx
801049b4: 5e pop %esi
801049b5: 5d pop %ebp
801049b6: c3 ret
801049b7: 66 90 xchg %ax,%ax
801049b9: 66 90 xchg %ax,%ax
801049bb: 66 90 xchg %ax,%ax
801049bd: 66 90 xchg %ax,%ax
801049bf: 90 nop
801049c0 <fdalloc>:
801049c0: 55 push %ebp
801049c1: 89 e5 mov %esp,%ebp
801049c3: 53 push %ebx
801049c4: 89 c3 mov %eax,%ebx
801049c6: 83 ec 04 sub $0x4,%esp
801049c9: e8 22 ed ff ff call 801036f0 <myproc>
801049ce: 31 d2 xor %edx,%edx
801049d0: 8b 4c 90 28 mov 0x28(%eax,%edx,4),%ecx
801049d4: 85 c9 test %ecx,%ecx
801049d6: 74 18 je 801049f0 <fdalloc+0x30>
801049d8: 83 c2 01 add $0x1,%edx
801049db: 83 fa 10 cmp $0x10,%edx
801049de: 75 f0 jne 801049d0 <fdalloc+0x10>
801049e0: 83 c4 04 add $0x4,%esp
801049e3: b8 ff ff ff ff mov $0xffffffff,%eax
801049e8: 5b pop %ebx
801049e9: 5d pop %ebp
801049ea: c3 ret
801049eb: 90 nop
801049ec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801049f0: 89 5c 90 28 mov %ebx,0x28(%eax,%edx,4)
801049f4: 83 c4 04 add $0x4,%esp
801049f7: 89 d0 mov %edx,%eax
801049f9: 5b pop %ebx
801049fa: 5d pop %ebp
801049fb: c3 ret
801049fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104a00 <create>:
80104a00: 55 push %ebp
80104a01: 89 e5 mov %esp,%ebp
80104a03: 57 push %edi
80104a04: 56 push %esi
80104a05: 53 push %ebx
80104a06: 83 ec 3c sub $0x3c,%esp
80104a09: 89 4d d0 mov %ecx,-0x30(%ebp)
80104a0c: 8b 4d 08 mov 0x8(%ebp),%ecx
80104a0f: 8d 5d da lea -0x26(%ebp),%ebx
80104a12: 89 5c 24 04 mov %ebx,0x4(%esp)
80104a16: 89 04 24 mov %eax,(%esp)
80104a19: 89 55 d4 mov %edx,-0x2c(%ebp)
80104a1c: 89 4d cc mov %ecx,-0x34(%ebp)
80104a1f: e8 fc d4 ff ff call 80101f20 <nameiparent>
80104a24: 85 c0 test %eax,%eax
80104a26: 89 c7 mov %eax,%edi
80104a28: 0f 84 da 00 00 00 je 80104b08 <create+0x108>
80104a2e: 89 04 24 mov %eax,(%esp)
80104a31: e8 7a cc ff ff call 801016b0 <ilock>
80104a36: c7 44 24 08 00 00 00 movl $0x0,0x8(%esp)
80104a3d: 00
80104a3e: 89 5c 24 04 mov %ebx,0x4(%esp)
80104a42: 89 3c 24 mov %edi,(%esp)
80104a45: e8 76 d1 ff ff call 80101bc0 <dirlookup>
80104a4a: 85 c0 test %eax,%eax
80104a4c: 89 c6 mov %eax,%esi
80104a4e: 74 40 je 80104a90 <create+0x90>
80104a50: 89 3c 24 mov %edi,(%esp)
80104a53: e8 b8 ce ff ff call 80101910 <iunlockput>
80104a58: 89 34 24 mov %esi,(%esp)
80104a5b: e8 50 cc ff ff call 801016b0 <ilock>
80104a60: 66 83 7d d4 02 cmpw $0x2,-0x2c(%ebp)
80104a65: 75 11 jne 80104a78 <create+0x78>
80104a67: 66 83 7e 50 02 cmpw $0x2,0x50(%esi)
80104a6c: 89 f0 mov %esi,%eax
80104a6e: 75 08 jne 80104a78 <create+0x78>
80104a70: 83 c4 3c add $0x3c,%esp
80104a73: 5b pop %ebx
80104a74: 5e pop %esi
80104a75: 5f pop %edi
80104a76: 5d pop %ebp
80104a77: c3 ret
80104a78: 89 34 24 mov %esi,(%esp)
80104a7b: e8 90 ce ff ff call 80101910 <iunlockput>
80104a80: 83 c4 3c add $0x3c,%esp
80104a83: 31 c0 xor %eax,%eax
80104a85: 5b pop %ebx
80104a86: 5e pop %esi
80104a87: 5f pop %edi
80104a88: 5d pop %ebp
80104a89: c3 ret
80104a8a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104a90: 0f bf 45 d4 movswl -0x2c(%ebp),%eax
80104a94: 89 44 24 04 mov %eax,0x4(%esp)
80104a98: 8b 07 mov (%edi),%eax
80104a9a: 89 04 24 mov %eax,(%esp)
80104a9d: e8 7e ca ff ff call 80101520 <ialloc>
80104aa2: 85 c0 test %eax,%eax
80104aa4: 89 c6 mov %eax,%esi
80104aa6: 0f 84 bf 00 00 00 je 80104b6b <create+0x16b>
80104aac: 89 04 24 mov %eax,(%esp)
80104aaf: e8 fc cb ff ff call 801016b0 <ilock>
80104ab4: 0f b7 45 d0 movzwl -0x30(%ebp),%eax
80104ab8: 66 89 46 52 mov %ax,0x52(%esi)
80104abc: 0f b7 45 cc movzwl -0x34(%ebp),%eax
80104ac0: 66 89 46 54 mov %ax,0x54(%esi)
80104ac4: b8 01 00 00 00 mov $0x1,%eax
80104ac9: 66 89 46 56 mov %ax,0x56(%esi)
80104acd: 89 34 24 mov %esi,(%esp)
80104ad0: e8 1b cb ff ff call 801015f0 <iupdate>
80104ad5: 66 83 7d d4 01 cmpw $0x1,-0x2c(%ebp)
80104ada: 74 34 je 80104b10 <create+0x110>
80104adc: 8b 46 04 mov 0x4(%esi),%eax
80104adf: 89 5c 24 04 mov %ebx,0x4(%esp)
80104ae3: 89 3c 24 mov %edi,(%esp)
80104ae6: 89 44 24 08 mov %eax,0x8(%esp)
80104aea: e8 31 d3 ff ff call 80101e20 <dirlink>
80104aef: 85 c0 test %eax,%eax
80104af1: 78 6c js 80104b5f <create+0x15f>
80104af3: 89 3c 24 mov %edi,(%esp)
80104af6: e8 15 ce ff ff call 80101910 <iunlockput>
80104afb: 83 c4 3c add $0x3c,%esp
80104afe: 89 f0 mov %esi,%eax
80104b00: 5b pop %ebx
80104b01: 5e pop %esi
80104b02: 5f pop %edi
80104b03: 5d pop %ebp
80104b04: c3 ret
80104b05: 8d 76 00 lea 0x0(%esi),%esi
80104b08: 31 c0 xor %eax,%eax
80104b0a: e9 61 ff ff ff jmp 80104a70 <create+0x70>
80104b0f: 90 nop
80104b10: 66 83 47 56 01 addw $0x1,0x56(%edi)
80104b15: 89 3c 24 mov %edi,(%esp)
80104b18: e8 d3 ca ff ff call 801015f0 <iupdate>
80104b1d: 8b 46 04 mov 0x4(%esi),%eax
80104b20: c7 44 24 04 e0 77 10 movl $0x801077e0,0x4(%esp)
80104b27: 80
80104b28: 89 34 24 mov %esi,(%esp)
80104b2b: 89 44 24 08 mov %eax,0x8(%esp)
80104b2f: e8 ec d2 ff ff call 80101e20 <dirlink>
80104b34: 85 c0 test %eax,%eax
80104b36: 78 1b js 80104b53 <create+0x153>
80104b38: 8b 47 04 mov 0x4(%edi),%eax
80104b3b: c7 44 24 04 df 77 10 movl $0x801077df,0x4(%esp)
80104b42: 80
80104b43: 89 34 24 mov %esi,(%esp)
80104b46: 89 44 24 08 mov %eax,0x8(%esp)
80104b4a: e8 d1 d2 ff ff call 80101e20 <dirlink>
80104b4f: 85 c0 test %eax,%eax
80104b51: 79 89 jns 80104adc <create+0xdc>
80104b53: c7 04 24 d3 77 10 80 movl $0x801077d3,(%esp)
80104b5a: e8 01 b8 ff ff call 80100360 <panic>
80104b5f: c7 04 24 e2 77 10 80 movl $0x801077e2,(%esp)
80104b66: e8 f5 b7 ff ff call 80100360 <panic>
80104b6b: c7 04 24 c4 77 10 80 movl $0x801077c4,(%esp)
80104b72: e8 e9 b7 ff ff call 80100360 <panic>
80104b77: 89 f6 mov %esi,%esi
80104b79: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104b80 <argfd.constprop.0>:
80104b80: 55 push %ebp
80104b81: 89 e5 mov %esp,%ebp
80104b83: 56 push %esi
80104b84: 89 c6 mov %eax,%esi
80104b86: 53 push %ebx
80104b87: 89 d3 mov %edx,%ebx
80104b89: 83 ec 20 sub $0x20,%esp
80104b8c: 8d 45 f4 lea -0xc(%ebp),%eax
80104b8f: 89 44 24 04 mov %eax,0x4(%esp)
80104b93: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80104b9a: e8 e1 fc ff ff call 80104880 <argint>
80104b9f: 85 c0 test %eax,%eax
80104ba1: 78 2d js 80104bd0 <argfd.constprop.0+0x50>
80104ba3: 83 7d f4 0f cmpl $0xf,-0xc(%ebp)
80104ba7: 77 27 ja 80104bd0 <argfd.constprop.0+0x50>
80104ba9: e8 42 eb ff ff call 801036f0 <myproc>
80104bae: 8b 55 f4 mov -0xc(%ebp),%edx
80104bb1: 8b 44 90 28 mov 0x28(%eax,%edx,4),%eax
80104bb5: 85 c0 test %eax,%eax
80104bb7: 74 17 je 80104bd0 <argfd.constprop.0+0x50>
80104bb9: 85 f6 test %esi,%esi
80104bbb: 74 02 je 80104bbf <argfd.constprop.0+0x3f>
80104bbd: 89 16 mov %edx,(%esi)
80104bbf: 85 db test %ebx,%ebx
80104bc1: 74 1d je 80104be0 <argfd.constprop.0+0x60>
80104bc3: 89 03 mov %eax,(%ebx)
80104bc5: 31 c0 xor %eax,%eax
80104bc7: 83 c4 20 add $0x20,%esp
80104bca: 5b pop %ebx
80104bcb: 5e pop %esi
80104bcc: 5d pop %ebp
80104bcd: c3 ret
80104bce: 66 90 xchg %ax,%ax
80104bd0: 83 c4 20 add $0x20,%esp
80104bd3: b8 ff ff ff ff mov $0xffffffff,%eax
80104bd8: 5b pop %ebx
80104bd9: 5e pop %esi
80104bda: 5d pop %ebp
80104bdb: c3 ret
80104bdc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104be0: 31 c0 xor %eax,%eax
80104be2: eb e3 jmp 80104bc7 <argfd.constprop.0+0x47>
80104be4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80104bea: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80104bf0 <sys_dup>:
80104bf0: 55 push %ebp
80104bf1: 31 c0 xor %eax,%eax
80104bf3: 89 e5 mov %esp,%ebp
80104bf5: 53 push %ebx
80104bf6: 83 ec 24 sub $0x24,%esp
80104bf9: 8d 55 f4 lea -0xc(%ebp),%edx
80104bfc: e8 7f ff ff ff call 80104b80 <argfd.constprop.0>
80104c01: 85 c0 test %eax,%eax
80104c03: 78 23 js 80104c28 <sys_dup+0x38>
80104c05: 8b 45 f4 mov -0xc(%ebp),%eax
80104c08: e8 b3 fd ff ff call 801049c0 <fdalloc>
80104c0d: 85 c0 test %eax,%eax
80104c0f: 89 c3 mov %eax,%ebx
80104c11: 78 15 js 80104c28 <sys_dup+0x38>
80104c13: 8b 45 f4 mov -0xc(%ebp),%eax
80104c16: 89 04 24 mov %eax,(%esp)
80104c19: e8 c2 c1 ff ff call 80100de0 <filedup>
80104c1e: 89 d8 mov %ebx,%eax
80104c20: 83 c4 24 add $0x24,%esp
80104c23: 5b pop %ebx
80104c24: 5d pop %ebp
80104c25: c3 ret
80104c26: 66 90 xchg %ax,%ax
80104c28: b8 ff ff ff ff mov $0xffffffff,%eax
80104c2d: eb f1 jmp 80104c20 <sys_dup+0x30>
80104c2f: 90 nop
80104c30 <sys_read>:
80104c30: 55 push %ebp
80104c31: 31 c0 xor %eax,%eax
80104c33: 89 e5 mov %esp,%ebp
80104c35: 83 ec 28 sub $0x28,%esp
80104c38: 8d 55 ec lea -0x14(%ebp),%edx
80104c3b: e8 40 ff ff ff call 80104b80 <argfd.constprop.0>
80104c40: 85 c0 test %eax,%eax
80104c42: 78 54 js 80104c98 <sys_read+0x68>
80104c44: 8d 45 f0 lea -0x10(%ebp),%eax
80104c47: 89 44 24 04 mov %eax,0x4(%esp)
80104c4b: c7 04 24 02 00 00 00 movl $0x2,(%esp)
80104c52: e8 29 fc ff ff call 80104880 <argint>
80104c57: 85 c0 test %eax,%eax
80104c59: 78 3d js 80104c98 <sys_read+0x68>
80104c5b: 8b 45 f0 mov -0x10(%ebp),%eax
80104c5e: c7 04 24 01 00 00 00 movl $0x1,(%esp)
80104c65: 89 44 24 08 mov %eax,0x8(%esp)
80104c69: 8d 45 f4 lea -0xc(%ebp),%eax
80104c6c: 89 44 24 04 mov %eax,0x4(%esp)
80104c70: e8 3b fc ff ff call 801048b0 <argptr>
80104c75: 85 c0 test %eax,%eax
80104c77: 78 1f js 80104c98 <sys_read+0x68>
80104c79: 8b 45 f0 mov -0x10(%ebp),%eax
80104c7c: 89 44 24 08 mov %eax,0x8(%esp)
80104c80: 8b 45 f4 mov -0xc(%ebp),%eax
80104c83: 89 44 24 04 mov %eax,0x4(%esp)
80104c87: 8b 45 ec mov -0x14(%ebp),%eax
80104c8a: 89 04 24 mov %eax,(%esp)
80104c8d: e8 ae c2 ff ff call 80100f40 <fileread>
80104c92: c9 leave
80104c93: c3 ret
80104c94: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104c98: b8 ff ff ff ff mov $0xffffffff,%eax
80104c9d: c9 leave
80104c9e: c3 ret
80104c9f: 90 nop
80104ca0 <sys_write>:
80104ca0: 55 push %ebp
80104ca1: 31 c0 xor %eax,%eax
80104ca3: 89 e5 mov %esp,%ebp
80104ca5: 83 ec 28 sub $0x28,%esp
80104ca8: 8d 55 ec lea -0x14(%ebp),%edx
80104cab: e8 d0 fe ff ff call 80104b80 <argfd.constprop.0>
80104cb0: 85 c0 test %eax,%eax
80104cb2: 78 54 js 80104d08 <sys_write+0x68>
80104cb4: 8d 45 f0 lea -0x10(%ebp),%eax
80104cb7: 89 44 24 04 mov %eax,0x4(%esp)
80104cbb: c7 04 24 02 00 00 00 movl $0x2,(%esp)
80104cc2: e8 b9 fb ff ff call 80104880 <argint>
80104cc7: 85 c0 test %eax,%eax
80104cc9: 78 3d js 80104d08 <sys_write+0x68>
80104ccb: 8b 45 f0 mov -0x10(%ebp),%eax
80104cce: c7 04 24 01 00 00 00 movl $0x1,(%esp)
80104cd5: 89 44 24 08 mov %eax,0x8(%esp)
80104cd9: 8d 45 f4 lea -0xc(%ebp),%eax
80104cdc: 89 44 24 04 mov %eax,0x4(%esp)
80104ce0: e8 cb fb ff ff call 801048b0 <argptr>
80104ce5: 85 c0 test %eax,%eax
80104ce7: 78 1f js 80104d08 <sys_write+0x68>
80104ce9: 8b 45 f0 mov -0x10(%ebp),%eax
80104cec: 89 44 24 08 mov %eax,0x8(%esp)
80104cf0: 8b 45 f4 mov -0xc(%ebp),%eax
80104cf3: 89 44 24 04 mov %eax,0x4(%esp)
80104cf7: 8b 45 ec mov -0x14(%ebp),%eax
80104cfa: 89 04 24 mov %eax,(%esp)
80104cfd: e8 de c2 ff ff call 80100fe0 <filewrite>
80104d02: c9 leave
80104d03: c3 ret
80104d04: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104d08: b8 ff ff ff ff mov $0xffffffff,%eax
80104d0d: c9 leave
80104d0e: c3 ret
80104d0f: 90 nop
80104d10 <sys_close>:
80104d10: 55 push %ebp
80104d11: 89 e5 mov %esp,%ebp
80104d13: 83 ec 28 sub $0x28,%esp
80104d16: 8d 55 f4 lea -0xc(%ebp),%edx
80104d19: 8d 45 f0 lea -0x10(%ebp),%eax
80104d1c: e8 5f fe ff ff call 80104b80 <argfd.constprop.0>
80104d21: 85 c0 test %eax,%eax
80104d23: 78 23 js 80104d48 <sys_close+0x38>
80104d25: e8 c6 e9 ff ff call 801036f0 <myproc>
80104d2a: 8b 55 f0 mov -0x10(%ebp),%edx
80104d2d: c7 44 90 28 00 00 00 movl $0x0,0x28(%eax,%edx,4)
80104d34: 00
80104d35: 8b 45 f4 mov -0xc(%ebp),%eax
80104d38: 89 04 24 mov %eax,(%esp)
80104d3b: e8 f0 c0 ff ff call 80100e30 <fileclose>
80104d40: 31 c0 xor %eax,%eax
80104d42: c9 leave
80104d43: c3 ret
80104d44: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104d48: b8 ff ff ff ff mov $0xffffffff,%eax
80104d4d: c9 leave
80104d4e: c3 ret
80104d4f: 90 nop
80104d50 <sys_fstat>:
80104d50: 55 push %ebp
80104d51: 31 c0 xor %eax,%eax
80104d53: 89 e5 mov %esp,%ebp
80104d55: 83 ec 28 sub $0x28,%esp
80104d58: 8d 55 f0 lea -0x10(%ebp),%edx
80104d5b: e8 20 fe ff ff call 80104b80 <argfd.constprop.0>
80104d60: 85 c0 test %eax,%eax
80104d62: 78 34 js 80104d98 <sys_fstat+0x48>
80104d64: 8d 45 f4 lea -0xc(%ebp),%eax
80104d67: c7 44 24 08 14 00 00 movl $0x14,0x8(%esp)
80104d6e: 00
80104d6f: 89 44 24 04 mov %eax,0x4(%esp)
80104d73: c7 04 24 01 00 00 00 movl $0x1,(%esp)
80104d7a: e8 31 fb ff ff call 801048b0 <argptr>
80104d7f: 85 c0 test %eax,%eax
80104d81: 78 15 js 80104d98 <sys_fstat+0x48>
80104d83: 8b 45 f4 mov -0xc(%ebp),%eax
80104d86: 89 44 24 04 mov %eax,0x4(%esp)
80104d8a: 8b 45 f0 mov -0x10(%ebp),%eax
80104d8d: 89 04 24 mov %eax,(%esp)
80104d90: e8 5b c1 ff ff call 80100ef0 <filestat>
80104d95: c9 leave
80104d96: c3 ret
80104d97: 90 nop
80104d98: b8 ff ff ff ff mov $0xffffffff,%eax
80104d9d: c9 leave
80104d9e: c3 ret
80104d9f: 90 nop
80104da0 <sys_link>:
80104da0: 55 push %ebp
80104da1: 89 e5 mov %esp,%ebp
80104da3: 57 push %edi
80104da4: 56 push %esi
80104da5: 53 push %ebx
80104da6: 83 ec 3c sub $0x3c,%esp
80104da9: 8d 45 d4 lea -0x2c(%ebp),%eax
80104dac: 89 44 24 04 mov %eax,0x4(%esp)
80104db0: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80104db7: e8 54 fb ff ff call 80104910 <argstr>
80104dbc: 85 c0 test %eax,%eax
80104dbe: 0f 88 e6 00 00 00 js 80104eaa <sys_link+0x10a>
80104dc4: 8d 45 d0 lea -0x30(%ebp),%eax
80104dc7: 89 44 24 04 mov %eax,0x4(%esp)
80104dcb: c7 04 24 01 00 00 00 movl $0x1,(%esp)
80104dd2: e8 39 fb ff ff call 80104910 <argstr>
80104dd7: 85 c0 test %eax,%eax
80104dd9: 0f 88 cb 00 00 00 js 80104eaa <sys_link+0x10a>
80104ddf: e8 2c dd ff ff call 80102b10 <begin_op>
80104de4: 8b 45 d4 mov -0x2c(%ebp),%eax
80104de7: 89 04 24 mov %eax,(%esp)
80104dea: e8 11 d1 ff ff call 80101f00 <namei>
80104def: 85 c0 test %eax,%eax
80104df1: 89 c3 mov %eax,%ebx
80104df3: 0f 84 ac 00 00 00 je 80104ea5 <sys_link+0x105>
80104df9: 89 04 24 mov %eax,(%esp)
80104dfc: e8 af c8 ff ff call 801016b0 <ilock>
80104e01: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx)
80104e06: 0f 84 91 00 00 00 je 80104e9d <sys_link+0xfd>
80104e0c: 66 83 43 56 01 addw $0x1,0x56(%ebx)
80104e11: 8d 7d da lea -0x26(%ebp),%edi
80104e14: 89 1c 24 mov %ebx,(%esp)
80104e17: e8 d4 c7 ff ff call 801015f0 <iupdate>
80104e1c: 89 1c 24 mov %ebx,(%esp)
80104e1f: e8 6c c9 ff ff call 80101790 <iunlock>
80104e24: 8b 45 d0 mov -0x30(%ebp),%eax
80104e27: 89 7c 24 04 mov %edi,0x4(%esp)
80104e2b: 89 04 24 mov %eax,(%esp)
80104e2e: e8 ed d0 ff ff call 80101f20 <nameiparent>
80104e33: 85 c0 test %eax,%eax
80104e35: 89 c6 mov %eax,%esi
80104e37: 74 4f je 80104e88 <sys_link+0xe8>
80104e39: 89 04 24 mov %eax,(%esp)
80104e3c: e8 6f c8 ff ff call 801016b0 <ilock>
80104e41: 8b 03 mov (%ebx),%eax
80104e43: 39 06 cmp %eax,(%esi)
80104e45: 75 39 jne 80104e80 <sys_link+0xe0>
80104e47: 8b 43 04 mov 0x4(%ebx),%eax
80104e4a: 89 7c 24 04 mov %edi,0x4(%esp)
80104e4e: 89 34 24 mov %esi,(%esp)
80104e51: 89 44 24 08 mov %eax,0x8(%esp)
80104e55: e8 c6 cf ff ff call 80101e20 <dirlink>
80104e5a: 85 c0 test %eax,%eax
80104e5c: 78 22 js 80104e80 <sys_link+0xe0>
80104e5e: 89 34 24 mov %esi,(%esp)
80104e61: e8 aa ca ff ff call 80101910 <iunlockput>
80104e66: 89 1c 24 mov %ebx,(%esp)
80104e69: e8 62 c9 ff ff call 801017d0 <iput>
80104e6e: e8 0d dd ff ff call 80102b80 <end_op>
80104e73: 83 c4 3c add $0x3c,%esp
80104e76: 31 c0 xor %eax,%eax
80104e78: 5b pop %ebx
80104e79: 5e pop %esi
80104e7a: 5f pop %edi
80104e7b: 5d pop %ebp
80104e7c: c3 ret
80104e7d: 8d 76 00 lea 0x0(%esi),%esi
80104e80: 89 34 24 mov %esi,(%esp)
80104e83: e8 88 ca ff ff call 80101910 <iunlockput>
80104e88: 89 1c 24 mov %ebx,(%esp)
80104e8b: e8 20 c8 ff ff call 801016b0 <ilock>
80104e90: 66 83 6b 56 01 subw $0x1,0x56(%ebx)
80104e95: 89 1c 24 mov %ebx,(%esp)
80104e98: e8 53 c7 ff ff call 801015f0 <iupdate>
80104e9d: 89 1c 24 mov %ebx,(%esp)
80104ea0: e8 6b ca ff ff call 80101910 <iunlockput>
80104ea5: e8 d6 dc ff ff call 80102b80 <end_op>
80104eaa: 83 c4 3c add $0x3c,%esp
80104ead: b8 ff ff ff ff mov $0xffffffff,%eax
80104eb2: 5b pop %ebx
80104eb3: 5e pop %esi
80104eb4: 5f pop %edi
80104eb5: 5d pop %ebp
80104eb6: c3 ret
80104eb7: 89 f6 mov %esi,%esi
80104eb9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80104ec0 <sys_unlink>:
80104ec0: 55 push %ebp
80104ec1: 89 e5 mov %esp,%ebp
80104ec3: 57 push %edi
80104ec4: 56 push %esi
80104ec5: 53 push %ebx
80104ec6: 83 ec 5c sub $0x5c,%esp
80104ec9: 8d 45 c0 lea -0x40(%ebp),%eax
80104ecc: 89 44 24 04 mov %eax,0x4(%esp)
80104ed0: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80104ed7: e8 34 fa ff ff call 80104910 <argstr>
80104edc: 85 c0 test %eax,%eax
80104ede: 0f 88 76 01 00 00 js 8010505a <sys_unlink+0x19a>
80104ee4: e8 27 dc ff ff call 80102b10 <begin_op>
80104ee9: 8b 45 c0 mov -0x40(%ebp),%eax
80104eec: 8d 5d ca lea -0x36(%ebp),%ebx
80104eef: 89 5c 24 04 mov %ebx,0x4(%esp)
80104ef3: 89 04 24 mov %eax,(%esp)
80104ef6: e8 25 d0 ff ff call 80101f20 <nameiparent>
80104efb: 85 c0 test %eax,%eax
80104efd: 89 45 b4 mov %eax,-0x4c(%ebp)
80104f00: 0f 84 4f 01 00 00 je 80105055 <sys_unlink+0x195>
80104f06: 8b 75 b4 mov -0x4c(%ebp),%esi
80104f09: 89 34 24 mov %esi,(%esp)
80104f0c: e8 9f c7 ff ff call 801016b0 <ilock>
80104f11: c7 44 24 04 e0 77 10 movl $0x801077e0,0x4(%esp)
80104f18: 80
80104f19: 89 1c 24 mov %ebx,(%esp)
80104f1c: e8 6f cc ff ff call 80101b90 <namecmp>
80104f21: 85 c0 test %eax,%eax
80104f23: 0f 84 21 01 00 00 je 8010504a <sys_unlink+0x18a>
80104f29: c7 44 24 04 df 77 10 movl $0x801077df,0x4(%esp)
80104f30: 80
80104f31: 89 1c 24 mov %ebx,(%esp)
80104f34: e8 57 cc ff ff call 80101b90 <namecmp>
80104f39: 85 c0 test %eax,%eax
80104f3b: 0f 84 09 01 00 00 je 8010504a <sys_unlink+0x18a>
80104f41: 8d 45 c4 lea -0x3c(%ebp),%eax
80104f44: 89 5c 24 04 mov %ebx,0x4(%esp)
80104f48: 89 44 24 08 mov %eax,0x8(%esp)
80104f4c: 89 34 24 mov %esi,(%esp)
80104f4f: e8 6c cc ff ff call 80101bc0 <dirlookup>
80104f54: 85 c0 test %eax,%eax
80104f56: 89 c3 mov %eax,%ebx
80104f58: 0f 84 ec 00 00 00 je 8010504a <sys_unlink+0x18a>
80104f5e: 89 04 24 mov %eax,(%esp)
80104f61: e8 4a c7 ff ff call 801016b0 <ilock>
80104f66: 66 83 7b 56 00 cmpw $0x0,0x56(%ebx)
80104f6b: 0f 8e 24 01 00 00 jle 80105095 <sys_unlink+0x1d5>
80104f71: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx)
80104f76: 8d 75 d8 lea -0x28(%ebp),%esi
80104f79: 74 7d je 80104ff8 <sys_unlink+0x138>
80104f7b: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp)
80104f82: 00
80104f83: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80104f8a: 00
80104f8b: 89 34 24 mov %esi,(%esp)
80104f8e: e8 fd f5 ff ff call 80104590 <memset>
80104f93: 8b 45 c4 mov -0x3c(%ebp),%eax
80104f96: c7 44 24 0c 10 00 00 movl $0x10,0xc(%esp)
80104f9d: 00
80104f9e: 89 74 24 04 mov %esi,0x4(%esp)
80104fa2: 89 44 24 08 mov %eax,0x8(%esp)
80104fa6: 8b 45 b4 mov -0x4c(%ebp),%eax
80104fa9: 89 04 24 mov %eax,(%esp)
80104fac: e8 af ca ff ff call 80101a60 <writei>
80104fb1: 83 f8 10 cmp $0x10,%eax
80104fb4: 0f 85 cf 00 00 00 jne 80105089 <sys_unlink+0x1c9>
80104fba: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx)
80104fbf: 0f 84 a3 00 00 00 je 80105068 <sys_unlink+0x1a8>
80104fc5: 8b 45 b4 mov -0x4c(%ebp),%eax
80104fc8: 89 04 24 mov %eax,(%esp)
80104fcb: e8 40 c9 ff ff call 80101910 <iunlockput>
80104fd0: 66 83 6b 56 01 subw $0x1,0x56(%ebx)
80104fd5: 89 1c 24 mov %ebx,(%esp)
80104fd8: e8 13 c6 ff ff call 801015f0 <iupdate>
80104fdd: 89 1c 24 mov %ebx,(%esp)
80104fe0: e8 2b c9 ff ff call 80101910 <iunlockput>
80104fe5: e8 96 db ff ff call 80102b80 <end_op>
80104fea: 83 c4 5c add $0x5c,%esp
80104fed: 31 c0 xor %eax,%eax
80104fef: 5b pop %ebx
80104ff0: 5e pop %esi
80104ff1: 5f pop %edi
80104ff2: 5d pop %ebp
80104ff3: c3 ret
80104ff4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80104ff8: 83 7b 58 20 cmpl $0x20,0x58(%ebx)
80104ffc: 0f 86 79 ff ff ff jbe 80104f7b <sys_unlink+0xbb>
80105002: bf 20 00 00 00 mov $0x20,%edi
80105007: eb 15 jmp 8010501e <sys_unlink+0x15e>
80105009: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80105010: 8d 57 10 lea 0x10(%edi),%edx
80105013: 3b 53 58 cmp 0x58(%ebx),%edx
80105016: 0f 83 5f ff ff ff jae 80104f7b <sys_unlink+0xbb>
8010501c: 89 d7 mov %edx,%edi
8010501e: c7 44 24 0c 10 00 00 movl $0x10,0xc(%esp)
80105025: 00
80105026: 89 7c 24 08 mov %edi,0x8(%esp)
8010502a: 89 74 24 04 mov %esi,0x4(%esp)
8010502e: 89 1c 24 mov %ebx,(%esp)
80105031: e8 2a c9 ff ff call 80101960 <readi>
80105036: 83 f8 10 cmp $0x10,%eax
80105039: 75 42 jne 8010507d <sys_unlink+0x1bd>
8010503b: 66 83 7d d8 00 cmpw $0x0,-0x28(%ebp)
80105040: 74 ce je 80105010 <sys_unlink+0x150>
80105042: 89 1c 24 mov %ebx,(%esp)
80105045: e8 c6 c8 ff ff call 80101910 <iunlockput>
8010504a: 8b 45 b4 mov -0x4c(%ebp),%eax
8010504d: 89 04 24 mov %eax,(%esp)
80105050: e8 bb c8 ff ff call 80101910 <iunlockput>
80105055: e8 26 db ff ff call 80102b80 <end_op>
8010505a: 83 c4 5c add $0x5c,%esp
8010505d: b8 ff ff ff ff mov $0xffffffff,%eax
80105062: 5b pop %ebx
80105063: 5e pop %esi
80105064: 5f pop %edi
80105065: 5d pop %ebp
80105066: c3 ret
80105067: 90 nop
80105068: 8b 45 b4 mov -0x4c(%ebp),%eax
8010506b: 66 83 68 56 01 subw $0x1,0x56(%eax)
80105070: 89 04 24 mov %eax,(%esp)
80105073: e8 78 c5 ff ff call 801015f0 <iupdate>
80105078: e9 48 ff ff ff jmp 80104fc5 <sys_unlink+0x105>
8010507d: c7 04 24 04 78 10 80 movl $0x80107804,(%esp)
80105084: e8 d7 b2 ff ff call 80100360 <panic>
80105089: c7 04 24 16 78 10 80 movl $0x80107816,(%esp)
80105090: e8 cb b2 ff ff call 80100360 <panic>
80105095: c7 04 24 f2 77 10 80 movl $0x801077f2,(%esp)
8010509c: e8 bf b2 ff ff call 80100360 <panic>
801050a1: eb 0d jmp 801050b0 <sys_open>
801050a3: 90 nop
801050a4: 90 nop
801050a5: 90 nop
801050a6: 90 nop
801050a7: 90 nop
801050a8: 90 nop
801050a9: 90 nop
801050aa: 90 nop
801050ab: 90 nop
801050ac: 90 nop
801050ad: 90 nop
801050ae: 90 nop
801050af: 90 nop
801050b0 <sys_open>:
801050b0: 55 push %ebp
801050b1: 89 e5 mov %esp,%ebp
801050b3: 57 push %edi
801050b4: 56 push %esi
801050b5: 53 push %ebx
801050b6: 83 ec 2c sub $0x2c,%esp
801050b9: 8d 45 e0 lea -0x20(%ebp),%eax
801050bc: 89 44 24 04 mov %eax,0x4(%esp)
801050c0: c7 04 24 00 00 00 00 movl $0x0,(%esp)
801050c7: e8 44 f8 ff ff call 80104910 <argstr>
801050cc: 85 c0 test %eax,%eax
801050ce: 0f 88 d1 00 00 00 js 801051a5 <sys_open+0xf5>
801050d4: 8d 45 e4 lea -0x1c(%ebp),%eax
801050d7: 89 44 24 04 mov %eax,0x4(%esp)
801050db: c7 04 24 01 00 00 00 movl $0x1,(%esp)
801050e2: e8 99 f7 ff ff call 80104880 <argint>
801050e7: 85 c0 test %eax,%eax
801050e9: 0f 88 b6 00 00 00 js 801051a5 <sys_open+0xf5>
801050ef: e8 1c da ff ff call 80102b10 <begin_op>
801050f4: f6 45 e5 02 testb $0x2,-0x1b(%ebp)
801050f8: 0f 85 82 00 00 00 jne 80105180 <sys_open+0xd0>
801050fe: 8b 45 e0 mov -0x20(%ebp),%eax
80105101: 89 04 24 mov %eax,(%esp)
80105104: e8 f7 cd ff ff call 80101f00 <namei>
80105109: 85 c0 test %eax,%eax
8010510b: 89 c6 mov %eax,%esi
8010510d: 0f 84 8d 00 00 00 je 801051a0 <sys_open+0xf0>
80105113: 89 04 24 mov %eax,(%esp)
80105116: e8 95 c5 ff ff call 801016b0 <ilock>
8010511b: 66 83 7e 50 01 cmpw $0x1,0x50(%esi)
80105120: 0f 84 92 00 00 00 je 801051b8 <sys_open+0x108>
80105126: e8 45 bc ff ff call 80100d70 <filealloc>
8010512b: 85 c0 test %eax,%eax
8010512d: 89 c3 mov %eax,%ebx
8010512f: 0f 84 93 00 00 00 je 801051c8 <sys_open+0x118>
80105135: e8 86 f8 ff ff call 801049c0 <fdalloc>
8010513a: 85 c0 test %eax,%eax
8010513c: 89 c7 mov %eax,%edi
8010513e: 0f 88 94 00 00 00 js 801051d8 <sys_open+0x128>
80105144: 89 34 24 mov %esi,(%esp)
80105147: e8 44 c6 ff ff call 80101790 <iunlock>
8010514c: e8 2f da ff ff call 80102b80 <end_op>
80105151: c7 03 02 00 00 00 movl $0x2,(%ebx)
80105157: 8b 45 e4 mov -0x1c(%ebp),%eax
8010515a: 89 73 10 mov %esi,0x10(%ebx)
8010515d: c7 43 14 00 00 00 00 movl $0x0,0x14(%ebx)
80105164: 89 c2 mov %eax,%edx
80105166: 83 e2 01 and $0x1,%edx
80105169: 83 f2 01 xor $0x1,%edx
8010516c: a8 03 test $0x3,%al
8010516e: 88 53 08 mov %dl,0x8(%ebx)
80105171: 89 f8 mov %edi,%eax
80105173: 0f 95 43 09 setne 0x9(%ebx)
80105177: 83 c4 2c add $0x2c,%esp
8010517a: 5b pop %ebx
8010517b: 5e pop %esi
8010517c: 5f pop %edi
8010517d: 5d pop %ebp
8010517e: c3 ret
8010517f: 90 nop
80105180: 8b 45 e0 mov -0x20(%ebp),%eax
80105183: 31 c9 xor %ecx,%ecx
80105185: ba 02 00 00 00 mov $0x2,%edx
8010518a: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105191: e8 6a f8 ff ff call 80104a00 <create>
80105196: 85 c0 test %eax,%eax
80105198: 89 c6 mov %eax,%esi
8010519a: 75 8a jne 80105126 <sys_open+0x76>
8010519c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801051a0: e8 db d9 ff ff call 80102b80 <end_op>
801051a5: 83 c4 2c add $0x2c,%esp
801051a8: b8 ff ff ff ff mov $0xffffffff,%eax
801051ad: 5b pop %ebx
801051ae: 5e pop %esi
801051af: 5f pop %edi
801051b0: 5d pop %ebp
801051b1: c3 ret
801051b2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801051b8: 8b 45 e4 mov -0x1c(%ebp),%eax
801051bb: 85 c0 test %eax,%eax
801051bd: 0f 84 63 ff ff ff je 80105126 <sys_open+0x76>
801051c3: 90 nop
801051c4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801051c8: 89 34 24 mov %esi,(%esp)
801051cb: e8 40 c7 ff ff call 80101910 <iunlockput>
801051d0: eb ce jmp 801051a0 <sys_open+0xf0>
801051d2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
801051d8: 89 1c 24 mov %ebx,(%esp)
801051db: e8 50 bc ff ff call 80100e30 <fileclose>
801051e0: eb e6 jmp 801051c8 <sys_open+0x118>
801051e2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801051e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801051f0 <sys_mkdir>:
801051f0: 55 push %ebp
801051f1: 89 e5 mov %esp,%ebp
801051f3: 83 ec 28 sub $0x28,%esp
801051f6: e8 15 d9 ff ff call 80102b10 <begin_op>
801051fb: 8d 45 f4 lea -0xc(%ebp),%eax
801051fe: 89 44 24 04 mov %eax,0x4(%esp)
80105202: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105209: e8 02 f7 ff ff call 80104910 <argstr>
8010520e: 85 c0 test %eax,%eax
80105210: 78 2e js 80105240 <sys_mkdir+0x50>
80105212: 8b 45 f4 mov -0xc(%ebp),%eax
80105215: 31 c9 xor %ecx,%ecx
80105217: ba 01 00 00 00 mov $0x1,%edx
8010521c: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105223: e8 d8 f7 ff ff call 80104a00 <create>
80105228: 85 c0 test %eax,%eax
8010522a: 74 14 je 80105240 <sys_mkdir+0x50>
8010522c: 89 04 24 mov %eax,(%esp)
8010522f: e8 dc c6 ff ff call 80101910 <iunlockput>
80105234: e8 47 d9 ff ff call 80102b80 <end_op>
80105239: 31 c0 xor %eax,%eax
8010523b: c9 leave
8010523c: c3 ret
8010523d: 8d 76 00 lea 0x0(%esi),%esi
80105240: e8 3b d9 ff ff call 80102b80 <end_op>
80105245: b8 ff ff ff ff mov $0xffffffff,%eax
8010524a: c9 leave
8010524b: c3 ret
8010524c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80105250 <sys_mknod>:
80105250: 55 push %ebp
80105251: 89 e5 mov %esp,%ebp
80105253: 83 ec 28 sub $0x28,%esp
80105256: e8 b5 d8 ff ff call 80102b10 <begin_op>
8010525b: 8d 45 ec lea -0x14(%ebp),%eax
8010525e: 89 44 24 04 mov %eax,0x4(%esp)
80105262: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105269: e8 a2 f6 ff ff call 80104910 <argstr>
8010526e: 85 c0 test %eax,%eax
80105270: 78 5e js 801052d0 <sys_mknod+0x80>
80105272: 8d 45 f0 lea -0x10(%ebp),%eax
80105275: 89 44 24 04 mov %eax,0x4(%esp)
80105279: c7 04 24 01 00 00 00 movl $0x1,(%esp)
80105280: e8 fb f5 ff ff call 80104880 <argint>
80105285: 85 c0 test %eax,%eax
80105287: 78 47 js 801052d0 <sys_mknod+0x80>
80105289: 8d 45 f4 lea -0xc(%ebp),%eax
8010528c: 89 44 24 04 mov %eax,0x4(%esp)
80105290: c7 04 24 02 00 00 00 movl $0x2,(%esp)
80105297: e8 e4 f5 ff ff call 80104880 <argint>
8010529c: 85 c0 test %eax,%eax
8010529e: 78 30 js 801052d0 <sys_mknod+0x80>
801052a0: 0f bf 45 f4 movswl -0xc(%ebp),%eax
801052a4: ba 03 00 00 00 mov $0x3,%edx
801052a9: 0f bf 4d f0 movswl -0x10(%ebp),%ecx
801052ad: 89 04 24 mov %eax,(%esp)
801052b0: 8b 45 ec mov -0x14(%ebp),%eax
801052b3: e8 48 f7 ff ff call 80104a00 <create>
801052b8: 85 c0 test %eax,%eax
801052ba: 74 14 je 801052d0 <sys_mknod+0x80>
801052bc: 89 04 24 mov %eax,(%esp)
801052bf: e8 4c c6 ff ff call 80101910 <iunlockput>
801052c4: e8 b7 d8 ff ff call 80102b80 <end_op>
801052c9: 31 c0 xor %eax,%eax
801052cb: c9 leave
801052cc: c3 ret
801052cd: 8d 76 00 lea 0x0(%esi),%esi
801052d0: e8 ab d8 ff ff call 80102b80 <end_op>
801052d5: b8 ff ff ff ff mov $0xffffffff,%eax
801052da: c9 leave
801052db: c3 ret
801052dc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801052e0 <sys_chdir>:
801052e0: 55 push %ebp
801052e1: 89 e5 mov %esp,%ebp
801052e3: 56 push %esi
801052e4: 53 push %ebx
801052e5: 83 ec 20 sub $0x20,%esp
801052e8: e8 03 e4 ff ff call 801036f0 <myproc>
801052ed: 89 c6 mov %eax,%esi
801052ef: e8 1c d8 ff ff call 80102b10 <begin_op>
801052f4: 8d 45 f4 lea -0xc(%ebp),%eax
801052f7: 89 44 24 04 mov %eax,0x4(%esp)
801052fb: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105302: e8 09 f6 ff ff call 80104910 <argstr>
80105307: 85 c0 test %eax,%eax
80105309: 78 4a js 80105355 <sys_chdir+0x75>
8010530b: 8b 45 f4 mov -0xc(%ebp),%eax
8010530e: 89 04 24 mov %eax,(%esp)
80105311: e8 ea cb ff ff call 80101f00 <namei>
80105316: 85 c0 test %eax,%eax
80105318: 89 c3 mov %eax,%ebx
8010531a: 74 39 je 80105355 <sys_chdir+0x75>
8010531c: 89 04 24 mov %eax,(%esp)
8010531f: e8 8c c3 ff ff call 801016b0 <ilock>
80105324: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx)
80105329: 89 1c 24 mov %ebx,(%esp)
8010532c: 75 22 jne 80105350 <sys_chdir+0x70>
8010532e: e8 5d c4 ff ff call 80101790 <iunlock>
80105333: 8b 46 68 mov 0x68(%esi),%eax
80105336: 89 04 24 mov %eax,(%esp)
80105339: e8 92 c4 ff ff call 801017d0 <iput>
8010533e: e8 3d d8 ff ff call 80102b80 <end_op>
80105343: 31 c0 xor %eax,%eax
80105345: 89 5e 68 mov %ebx,0x68(%esi)
80105348: 83 c4 20 add $0x20,%esp
8010534b: 5b pop %ebx
8010534c: 5e pop %esi
8010534d: 5d pop %ebp
8010534e: c3 ret
8010534f: 90 nop
80105350: e8 bb c5 ff ff call 80101910 <iunlockput>
80105355: e8 26 d8 ff ff call 80102b80 <end_op>
8010535a: 83 c4 20 add $0x20,%esp
8010535d: b8 ff ff ff ff mov $0xffffffff,%eax
80105362: 5b pop %ebx
80105363: 5e pop %esi
80105364: 5d pop %ebp
80105365: c3 ret
80105366: 8d 76 00 lea 0x0(%esi),%esi
80105369: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80105370 <sys_exec>:
80105370: 55 push %ebp
80105371: 89 e5 mov %esp,%ebp
80105373: 57 push %edi
80105374: 56 push %esi
80105375: 53 push %ebx
80105376: 81 ec ac 00 00 00 sub $0xac,%esp
8010537c: 8d 85 5c ff ff ff lea -0xa4(%ebp),%eax
80105382: 89 44 24 04 mov %eax,0x4(%esp)
80105386: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8010538d: e8 7e f5 ff ff call 80104910 <argstr>
80105392: 85 c0 test %eax,%eax
80105394: 0f 88 84 00 00 00 js 8010541e <sys_exec+0xae>
8010539a: 8d 85 60 ff ff ff lea -0xa0(%ebp),%eax
801053a0: 89 44 24 04 mov %eax,0x4(%esp)
801053a4: c7 04 24 01 00 00 00 movl $0x1,(%esp)
801053ab: e8 d0 f4 ff ff call 80104880 <argint>
801053b0: 85 c0 test %eax,%eax
801053b2: 78 6a js 8010541e <sys_exec+0xae>
801053b4: 8d 85 68 ff ff ff lea -0x98(%ebp),%eax
801053ba: 31 db xor %ebx,%ebx
801053bc: c7 44 24 08 80 00 00 movl $0x80,0x8(%esp)
801053c3: 00
801053c4: 8d b5 68 ff ff ff lea -0x98(%ebp),%esi
801053ca: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
801053d1: 00
801053d2: 8d bd 64 ff ff ff lea -0x9c(%ebp),%edi
801053d8: 89 04 24 mov %eax,(%esp)
801053db: e8 b0 f1 ff ff call 80104590 <memset>
801053e0: 8b 85 60 ff ff ff mov -0xa0(%ebp),%eax
801053e6: 89 7c 24 04 mov %edi,0x4(%esp)
801053ea: 8d 04 98 lea (%eax,%ebx,4),%eax
801053ed: 89 04 24 mov %eax,(%esp)
801053f0: e8 eb f3 ff ff call 801047e0 <fetchint>
801053f5: 85 c0 test %eax,%eax
801053f7: 78 25 js 8010541e <sys_exec+0xae>
801053f9: 8b 85 64 ff ff ff mov -0x9c(%ebp),%eax
801053ff: 85 c0 test %eax,%eax
80105401: 74 2d je 80105430 <sys_exec+0xc0>
80105403: 89 74 24 04 mov %esi,0x4(%esp)
80105407: 89 04 24 mov %eax,(%esp)
8010540a: e8 11 f4 ff ff call 80104820 <fetchstr>
8010540f: 85 c0 test %eax,%eax
80105411: 78 0b js 8010541e <sys_exec+0xae>
80105413: 83 c3 01 add $0x1,%ebx
80105416: 83 c6 04 add $0x4,%esi
80105419: 83 fb 20 cmp $0x20,%ebx
8010541c: 75 c2 jne 801053e0 <sys_exec+0x70>
8010541e: 81 c4 ac 00 00 00 add $0xac,%esp
80105424: b8 ff ff ff ff mov $0xffffffff,%eax
80105429: 5b pop %ebx
8010542a: 5e pop %esi
8010542b: 5f pop %edi
8010542c: 5d pop %ebp
8010542d: c3 ret
8010542e: 66 90 xchg %ax,%ax
80105430: 8d 85 68 ff ff ff lea -0x98(%ebp),%eax
80105436: 89 44 24 04 mov %eax,0x4(%esp)
8010543a: 8b 85 5c ff ff ff mov -0xa4(%ebp),%eax
80105440: c7 84 9d 68 ff ff ff movl $0x0,-0x98(%ebp,%ebx,4)
80105447: 00 00 00 00
8010544b: 89 04 24 mov %eax,(%esp)
8010544e: e8 4d b5 ff ff call 801009a0 <exec>
80105453: 81 c4 ac 00 00 00 add $0xac,%esp
80105459: 5b pop %ebx
8010545a: 5e pop %esi
8010545b: 5f pop %edi
8010545c: 5d pop %ebp
8010545d: c3 ret
8010545e: 66 90 xchg %ax,%ax
80105460 <sys_pipe>:
80105460: 55 push %ebp
80105461: 89 e5 mov %esp,%ebp
80105463: 53 push %ebx
80105464: 83 ec 24 sub $0x24,%esp
80105467: 8d 45 ec lea -0x14(%ebp),%eax
8010546a: c7 44 24 08 08 00 00 movl $0x8,0x8(%esp)
80105471: 00
80105472: 89 44 24 04 mov %eax,0x4(%esp)
80105476: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8010547d: e8 2e f4 ff ff call 801048b0 <argptr>
80105482: 85 c0 test %eax,%eax
80105484: 78 6d js 801054f3 <sys_pipe+0x93>
80105486: 8d 45 f4 lea -0xc(%ebp),%eax
80105489: 89 44 24 04 mov %eax,0x4(%esp)
8010548d: 8d 45 f0 lea -0x10(%ebp),%eax
80105490: 89 04 24 mov %eax,(%esp)
80105493: e8 d8 dc ff ff call 80103170 <pipealloc>
80105498: 85 c0 test %eax,%eax
8010549a: 78 57 js 801054f3 <sys_pipe+0x93>
8010549c: 8b 45 f0 mov -0x10(%ebp),%eax
8010549f: e8 1c f5 ff ff call 801049c0 <fdalloc>
801054a4: 85 c0 test %eax,%eax
801054a6: 89 c3 mov %eax,%ebx
801054a8: 78 33 js 801054dd <sys_pipe+0x7d>
801054aa: 8b 45 f4 mov -0xc(%ebp),%eax
801054ad: e8 0e f5 ff ff call 801049c0 <fdalloc>
801054b2: 85 c0 test %eax,%eax
801054b4: 78 1a js 801054d0 <sys_pipe+0x70>
801054b6: 8b 55 ec mov -0x14(%ebp),%edx
801054b9: 89 1a mov %ebx,(%edx)
801054bb: 8b 55 ec mov -0x14(%ebp),%edx
801054be: 89 42 04 mov %eax,0x4(%edx)
801054c1: 83 c4 24 add $0x24,%esp
801054c4: 31 c0 xor %eax,%eax
801054c6: 5b pop %ebx
801054c7: 5d pop %ebp
801054c8: c3 ret
801054c9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801054d0: e8 1b e2 ff ff call 801036f0 <myproc>
801054d5: c7 44 98 28 00 00 00 movl $0x0,0x28(%eax,%ebx,4)
801054dc: 00
801054dd: 8b 45 f0 mov -0x10(%ebp),%eax
801054e0: 89 04 24 mov %eax,(%esp)
801054e3: e8 48 b9 ff ff call 80100e30 <fileclose>
801054e8: 8b 45 f4 mov -0xc(%ebp),%eax
801054eb: 89 04 24 mov %eax,(%esp)
801054ee: e8 3d b9 ff ff call 80100e30 <fileclose>
801054f3: 83 c4 24 add $0x24,%esp
801054f6: b8 ff ff ff ff mov $0xffffffff,%eax
801054fb: 5b pop %ebx
801054fc: 5d pop %ebp
801054fd: c3 ret
801054fe: 66 90 xchg %ax,%ax
80105500 <sys_fork>:
80105500: 55 push %ebp
80105501: 89 e5 mov %esp,%ebp
80105503: 5d pop %ebp
80105504: e9 97 e3 ff ff jmp 801038a0 <fork>
80105509: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80105510 <sys_exit>:
80105510: 55 push %ebp
80105511: 89 e5 mov %esp,%ebp
80105513: 83 ec 28 sub $0x28,%esp
80105516: 8d 45 f4 lea -0xc(%ebp),%eax
80105519: 89 44 24 04 mov %eax,0x4(%esp)
8010551d: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105524: e8 57 f3 ff ff call 80104880 <argint>
80105529: 85 c0 test %eax,%eax
8010552b: 78 13 js 80105540 <sys_exit+0x30>
8010552d: 8b 45 f4 mov -0xc(%ebp),%eax
80105530: 89 04 24 mov %eax,(%esp)
80105533: e8 b8 e6 ff ff call 80103bf0 <exit>
80105538: 31 c0 xor %eax,%eax
8010553a: c9 leave
8010553b: c3 ret
8010553c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80105540: b8 ff ff ff ff mov $0xffffffff,%eax
80105545: c9 leave
80105546: c3 ret
80105547: 89 f6 mov %esi,%esi
80105549: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80105550 <sys_wait>:
80105550: 55 push %ebp
80105551: 89 e5 mov %esp,%ebp
80105553: 83 ec 28 sub $0x28,%esp
80105556: 8d 45 f4 lea -0xc(%ebp),%eax
80105559: c7 44 24 08 04 00 00 movl $0x4,0x8(%esp)
80105560: 00
80105561: 89 44 24 04 mov %eax,0x4(%esp)
80105565: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8010556c: e8 3f f3 ff ff call 801048b0 <argptr>
80105571: 85 c0 test %eax,%eax
80105573: 78 13 js 80105588 <sys_wait+0x38>
80105575: 8b 45 f4 mov -0xc(%ebp),%eax
80105578: 89 04 24 mov %eax,(%esp)
8010557b: e8 d0 e8 ff ff call 80103e50 <wait>
80105580: c9 leave
80105581: c3 ret
80105582: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105588: b8 ff ff ff ff mov $0xffffffff,%eax
8010558d: c9 leave
8010558e: c3 ret
8010558f: 90 nop
80105590 <sys_waitpid>:
80105590: 55 push %ebp
80105591: 89 e5 mov %esp,%ebp
80105593: 83 ec 28 sub $0x28,%esp
80105596: 8d 45 ec lea -0x14(%ebp),%eax
80105599: 89 44 24 04 mov %eax,0x4(%esp)
8010559d: c7 04 24 00 00 00 00 movl $0x0,(%esp)
801055a4: e8 d7 f2 ff ff call 80104880 <argint>
801055a9: 85 c0 test %eax,%eax
801055ab: 78 53 js 80105600 <sys_waitpid+0x70>
801055ad: 8d 45 f0 lea -0x10(%ebp),%eax
801055b0: c7 44 24 08 04 00 00 movl $0x4,0x8(%esp)
801055b7: 00
801055b8: 89 44 24 04 mov %eax,0x4(%esp)
801055bc: c7 04 24 01 00 00 00 movl $0x1,(%esp)
801055c3: e8 e8 f2 ff ff call 801048b0 <argptr>
801055c8: 85 c0 test %eax,%eax
801055ca: 78 34 js 80105600 <sys_waitpid+0x70>
801055cc: 8d 45 f4 lea -0xc(%ebp),%eax
801055cf: 89 44 24 04 mov %eax,0x4(%esp)
801055d3: c7 04 24 02 00 00 00 movl $0x2,(%esp)
801055da: e8 a1 f2 ff ff call 80104880 <argint>
801055df: 85 c0 test %eax,%eax
801055e1: 78 1d js 80105600 <sys_waitpid+0x70>
801055e3: 8b 45 f4 mov -0xc(%ebp),%eax
801055e6: 89 44 24 08 mov %eax,0x8(%esp)
801055ea: 8b 45 f0 mov -0x10(%ebp),%eax
801055ed: 89 44 24 04 mov %eax,0x4(%esp)
801055f1: 8b 45 ec mov -0x14(%ebp),%eax
801055f4: 89 04 24 mov %eax,(%esp)
801055f7: e8 44 e9 ff ff call 80103f40 <waitpid>
801055fc: c9 leave
801055fd: c3 ret
801055fe: 66 90 xchg %ax,%ax
80105600: b8 ff ff ff ff mov $0xffffffff,%eax
80105605: c9 leave
80105606: c3 ret
80105607: 89 f6 mov %esi,%esi
80105609: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80105610 <sys_set_prior>:
80105610: 55 push %ebp
80105611: 89 e5 mov %esp,%ebp
80105613: 83 ec 28 sub $0x28,%esp
80105616: 8d 45 f4 lea -0xc(%ebp),%eax
80105619: 89 44 24 04 mov %eax,0x4(%esp)
8010561d: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105624: e8 57 f2 ff ff call 80104880 <argint>
80105629: 85 c0 test %eax,%eax
8010562b: 78 13 js 80105640 <sys_set_prior+0x30>
8010562d: 8b 45 f4 mov -0xc(%ebp),%eax
80105630: 89 04 24 mov %eax,(%esp)
80105633: e8 b8 e4 ff ff call 80103af0 <set_prior>
80105638: c9 leave
80105639: c3 ret
8010563a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105640: b8 ff ff ff ff mov $0xffffffff,%eax
80105645: c9 leave
80105646: c3 ret
80105647: 89 f6 mov %esi,%esi
80105649: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80105650 <sys_kill>:
80105650: 55 push %ebp
80105651: 89 e5 mov %esp,%ebp
80105653: 83 ec 28 sub $0x28,%esp
80105656: 8d 45 f4 lea -0xc(%ebp),%eax
80105659: 89 44 24 04 mov %eax,0x4(%esp)
8010565d: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105664: e8 17 f2 ff ff call 80104880 <argint>
80105669: 85 c0 test %eax,%eax
8010566b: 78 13 js 80105680 <sys_kill+0x30>
8010566d: 8b 45 f4 mov -0xc(%ebp),%eax
80105670: 89 04 24 mov %eax,(%esp)
80105673: e8 48 ea ff ff call 801040c0 <kill>
80105678: c9 leave
80105679: c3 ret
8010567a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105680: b8 ff ff ff ff mov $0xffffffff,%eax
80105685: c9 leave
80105686: c3 ret
80105687: 89 f6 mov %esi,%esi
80105689: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80105690 <sys_getpid>:
80105690: 55 push %ebp
80105691: 89 e5 mov %esp,%ebp
80105693: 83 ec 08 sub $0x8,%esp
80105696: e8 55 e0 ff ff call 801036f0 <myproc>
8010569b: 8b 40 10 mov 0x10(%eax),%eax
8010569e: c9 leave
8010569f: c3 ret
801056a0 <sys_sbrk>:
801056a0: 55 push %ebp
801056a1: 89 e5 mov %esp,%ebp
801056a3: 53 push %ebx
801056a4: 83 ec 24 sub $0x24,%esp
801056a7: 8d 45 f4 lea -0xc(%ebp),%eax
801056aa: 89 44 24 04 mov %eax,0x4(%esp)
801056ae: c7 04 24 00 00 00 00 movl $0x0,(%esp)
801056b5: e8 c6 f1 ff ff call 80104880 <argint>
801056ba: 85 c0 test %eax,%eax
801056bc: 78 22 js 801056e0 <sys_sbrk+0x40>
801056be: e8 2d e0 ff ff call 801036f0 <myproc>
801056c3: 8b 55 f4 mov -0xc(%ebp),%edx
801056c6: 8b 18 mov (%eax),%ebx
801056c8: 89 14 24 mov %edx,(%esp)
801056cb: e8 60 e1 ff ff call 80103830 <growproc>
801056d0: 85 c0 test %eax,%eax
801056d2: 78 0c js 801056e0 <sys_sbrk+0x40>
801056d4: 89 d8 mov %ebx,%eax
801056d6: 83 c4 24 add $0x24,%esp
801056d9: 5b pop %ebx
801056da: 5d pop %ebp
801056db: c3 ret
801056dc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
801056e0: b8 ff ff ff ff mov $0xffffffff,%eax
801056e5: eb ef jmp 801056d6 <sys_sbrk+0x36>
801056e7: 89 f6 mov %esi,%esi
801056e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801056f0 <sys_sleep>:
801056f0: 55 push %ebp
801056f1: 89 e5 mov %esp,%ebp
801056f3: 53 push %ebx
801056f4: 83 ec 24 sub $0x24,%esp
801056f7: 8d 45 f4 lea -0xc(%ebp),%eax
801056fa: 89 44 24 04 mov %eax,0x4(%esp)
801056fe: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105705: e8 76 f1 ff ff call 80104880 <argint>
8010570a: 85 c0 test %eax,%eax
8010570c: 78 7e js 8010578c <sys_sleep+0x9c>
8010570e: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
80105715: e8 b6 ed ff ff call 801044d0 <acquire>
8010571a: 8b 55 f4 mov -0xc(%ebp),%edx
8010571d: 8b 1d a0 58 11 80 mov 0x801158a0,%ebx
80105723: 85 d2 test %edx,%edx
80105725: 75 29 jne 80105750 <sys_sleep+0x60>
80105727: eb 4f jmp 80105778 <sys_sleep+0x88>
80105729: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80105730: c7 44 24 04 60 50 11 movl $0x80115060,0x4(%esp)
80105737: 80
80105738: c7 04 24 a0 58 11 80 movl $0x801158a0,(%esp)
8010573f: e8 5c e6 ff ff call 80103da0 <sleep>
80105744: a1 a0 58 11 80 mov 0x801158a0,%eax
80105749: 29 d8 sub %ebx,%eax
8010574b: 3b 45 f4 cmp -0xc(%ebp),%eax
8010574e: 73 28 jae 80105778 <sys_sleep+0x88>
80105750: e8 9b df ff ff call 801036f0 <myproc>
80105755: 8b 40 24 mov 0x24(%eax),%eax
80105758: 85 c0 test %eax,%eax
8010575a: 74 d4 je 80105730 <sys_sleep+0x40>
8010575c: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
80105763: e8 d8 ed ff ff call 80104540 <release>
80105768: b8 ff ff ff ff mov $0xffffffff,%eax
8010576d: 83 c4 24 add $0x24,%esp
80105770: 5b pop %ebx
80105771: 5d pop %ebp
80105772: c3 ret
80105773: 90 nop
80105774: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80105778: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
8010577f: e8 bc ed ff ff call 80104540 <release>
80105784: 83 c4 24 add $0x24,%esp
80105787: 31 c0 xor %eax,%eax
80105789: 5b pop %ebx
8010578a: 5d pop %ebp
8010578b: c3 ret
8010578c: b8 ff ff ff ff mov $0xffffffff,%eax
80105791: eb da jmp 8010576d <sys_sleep+0x7d>
80105793: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105799: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801057a0 <sys_hello>:
801057a0: 55 push %ebp
801057a1: 89 e5 mov %esp,%ebp
801057a3: 83 ec 08 sub $0x8,%esp
801057a6: e8 65 ea ff ff call 80104210 <hello>
801057ab: 31 c0 xor %eax,%eax
801057ad: c9 leave
801057ae: c3 ret
801057af: 90 nop
801057b0 <sys_uptime>:
801057b0: 55 push %ebp
801057b1: 89 e5 mov %esp,%ebp
801057b3: 53 push %ebx
801057b4: 83 ec 14 sub $0x14,%esp
801057b7: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
801057be: e8 0d ed ff ff call 801044d0 <acquire>
801057c3: 8b 1d a0 58 11 80 mov 0x801158a0,%ebx
801057c9: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
801057d0: e8 6b ed ff ff call 80104540 <release>
801057d5: 83 c4 14 add $0x14,%esp
801057d8: 89 d8 mov %ebx,%eax
801057da: 5b pop %ebx
801057db: 5d pop %ebp
801057dc: c3 ret
801057dd <alltraps>:
801057dd: 1e push %ds
801057de: 06 push %es
801057df: 0f a0 push %fs
801057e1: 0f a8 push %gs
801057e3: 60 pusha
801057e4: 66 b8 10 00 mov $0x10,%ax
801057e8: 8e d8 mov %eax,%ds
801057ea: 8e c0 mov %eax,%es
801057ec: 54 push %esp
801057ed: e8 de 00 00 00 call 801058d0 <trap>
801057f2: 83 c4 04 add $0x4,%esp
801057f5 <trapret>:
801057f5: 61 popa
801057f6: 0f a9 pop %gs
801057f8: 0f a1 pop %fs
801057fa: 07 pop %es
801057fb: 1f pop %ds
801057fc: 83 c4 08 add $0x8,%esp
801057ff: cf iret
80105800 <tvinit>:
80105800: 31 c0 xor %eax,%eax
80105802: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105808: 8b 14 85 08 a0 10 80 mov -0x7fef5ff8(,%eax,4),%edx
8010580f: b9 08 00 00 00 mov $0x8,%ecx
80105814: 66 89 0c c5 a2 50 11 mov %cx,-0x7feeaf5e(,%eax,8)
8010581b: 80
8010581c: c6 04 c5 a4 50 11 80 movb $0x0,-0x7feeaf5c(,%eax,8)
80105823: 00
80105824: c6 04 c5 a5 50 11 80 movb $0x8e,-0x7feeaf5b(,%eax,8)
8010582b: 8e
8010582c: 66 89 14 c5 a0 50 11 mov %dx,-0x7feeaf60(,%eax,8)
80105833: 80
80105834: c1 ea 10 shr $0x10,%edx
80105837: 66 89 14 c5 a6 50 11 mov %dx,-0x7feeaf5a(,%eax,8)
8010583e: 80
8010583f: 83 c0 01 add $0x1,%eax
80105842: 3d 00 01 00 00 cmp $0x100,%eax
80105847: 75 bf jne 80105808 <tvinit+0x8>
80105849: 55 push %ebp
8010584a: ba 08 00 00 00 mov $0x8,%edx
8010584f: 89 e5 mov %esp,%ebp
80105851: 83 ec 18 sub $0x18,%esp
80105854: a1 08 a1 10 80 mov 0x8010a108,%eax
80105859: c7 44 24 04 25 78 10 movl $0x80107825,0x4(%esp)
80105860: 80
80105861: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
80105868: 66 89 15 a2 52 11 80 mov %dx,0x801152a2
8010586f: 66 a3 a0 52 11 80 mov %ax,0x801152a0
80105875: c1 e8 10 shr $0x10,%eax
80105878: c6 05 a4 52 11 80 00 movb $0x0,0x801152a4
8010587f: c6 05 a5 52 11 80 ef movb $0xef,0x801152a5
80105886: 66 a3 a6 52 11 80 mov %ax,0x801152a6
8010588c: e8 cf ea ff ff call 80104360 <initlock>
80105891: c9 leave
80105892: c3 ret
80105893: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105899: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801058a0 <idtinit>:
801058a0: 55 push %ebp
801058a1: b8 ff 07 00 00 mov $0x7ff,%eax
801058a6: 89 e5 mov %esp,%ebp
801058a8: 83 ec 10 sub $0x10,%esp
801058ab: 66 89 45 fa mov %ax,-0x6(%ebp)
801058af: b8 a0 50 11 80 mov $0x801150a0,%eax
801058b4: 66 89 45 fc mov %ax,-0x4(%ebp)
801058b8: c1 e8 10 shr $0x10,%eax
801058bb: 66 89 45 fe mov %ax,-0x2(%ebp)
801058bf: 8d 45 fa lea -0x6(%ebp),%eax
801058c2: 0f 01 18 lidtl (%eax)
801058c5: c9 leave
801058c6: c3 ret
801058c7: 89 f6 mov %esi,%esi
801058c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801058d0 <trap>:
801058d0: 55 push %ebp
801058d1: 89 e5 mov %esp,%ebp
801058d3: 57 push %edi
801058d4: 56 push %esi
801058d5: 53 push %ebx
801058d6: 83 ec 3c sub $0x3c,%esp
801058d9: 8b 5d 08 mov 0x8(%ebp),%ebx
801058dc: 8b 43 30 mov 0x30(%ebx),%eax
801058df: 83 f8 40 cmp $0x40,%eax
801058e2: 0f 84 a0 01 00 00 je 80105a88 <trap+0x1b8>
801058e8: 83 e8 20 sub $0x20,%eax
801058eb: 83 f8 1f cmp $0x1f,%eax
801058ee: 77 08 ja 801058f8 <trap+0x28>
801058f0: ff 24 85 cc 78 10 80 jmp *-0x7fef8734(,%eax,4)
801058f7: 90 nop
801058f8: e8 f3 dd ff ff call 801036f0 <myproc>
801058fd: 85 c0 test %eax,%eax
801058ff: 90 nop
80105900: 0f 84 0a 02 00 00 je 80105b10 <trap+0x240>
80105906: f6 43 3c 03 testb $0x3,0x3c(%ebx)
8010590a: 0f 84 00 02 00 00 je 80105b10 <trap+0x240>
80105910: 0f 20 d1 mov %cr2,%ecx
80105913: 8b 53 38 mov 0x38(%ebx),%edx
80105916: 89 4d d8 mov %ecx,-0x28(%ebp)
80105919: 89 55 dc mov %edx,-0x24(%ebp)
8010591c: e8 af dd ff ff call 801036d0 <cpuid>
80105921: 8b 73 30 mov 0x30(%ebx),%esi
80105924: 89 c7 mov %eax,%edi
80105926: 8b 43 34 mov 0x34(%ebx),%eax
80105929: 89 45 e4 mov %eax,-0x1c(%ebp)
8010592c: e8 bf dd ff ff call 801036f0 <myproc>
80105931: 89 45 e0 mov %eax,-0x20(%ebp)
80105934: e8 b7 dd ff ff call 801036f0 <myproc>
80105939: 8b 55 dc mov -0x24(%ebp),%edx
8010593c: 89 74 24 0c mov %esi,0xc(%esp)
80105940: 8b 75 e0 mov -0x20(%ebp),%esi
80105943: 8b 4d d8 mov -0x28(%ebp),%ecx
80105946: 89 7c 24 14 mov %edi,0x14(%esp)
8010594a: 89 54 24 18 mov %edx,0x18(%esp)
8010594e: 8b 55 e4 mov -0x1c(%ebp),%edx
80105951: 83 c6 6c add $0x6c,%esi
80105954: 89 4c 24 1c mov %ecx,0x1c(%esp)
80105958: 89 74 24 08 mov %esi,0x8(%esp)
8010595c: 89 54 24 10 mov %edx,0x10(%esp)
80105960: 8b 40 10 mov 0x10(%eax),%eax
80105963: c7 04 24 88 78 10 80 movl $0x80107888,(%esp)
8010596a: 89 44 24 04 mov %eax,0x4(%esp)
8010596e: e8 dd ac ff ff call 80100650 <cprintf>
80105973: e8 78 dd ff ff call 801036f0 <myproc>
80105978: c7 40 24 01 00 00 00 movl $0x1,0x24(%eax)
8010597f: 90 nop
80105980: e8 6b dd ff ff call 801036f0 <myproc>
80105985: 85 c0 test %eax,%eax
80105987: 74 0c je 80105995 <trap+0xc5>
80105989: e8 62 dd ff ff call 801036f0 <myproc>
8010598e: 8b 50 24 mov 0x24(%eax),%edx
80105991: 85 d2 test %edx,%edx
80105993: 75 4b jne 801059e0 <trap+0x110>
80105995: e8 56 dd ff ff call 801036f0 <myproc>
8010599a: 85 c0 test %eax,%eax
8010599c: 74 0d je 801059ab <trap+0xdb>
8010599e: 66 90 xchg %ax,%ax
801059a0: e8 4b dd ff ff call 801036f0 <myproc>
801059a5: 83 78 0c 04 cmpl $0x4,0xc(%eax)
801059a9: 74 55 je 80105a00 <trap+0x130>
801059ab: e8 40 dd ff ff call 801036f0 <myproc>
801059b0: 85 c0 test %eax,%eax
801059b2: 74 1d je 801059d1 <trap+0x101>
801059b4: e8 37 dd ff ff call 801036f0 <myproc>
801059b9: 8b 40 24 mov 0x24(%eax),%eax
801059bc: 85 c0 test %eax,%eax
801059be: 74 11 je 801059d1 <trap+0x101>
801059c0: 0f b7 43 3c movzwl 0x3c(%ebx),%eax
801059c4: 83 e0 03 and $0x3,%eax
801059c7: 66 83 f8 03 cmp $0x3,%ax
801059cb: 0f 84 e8 00 00 00 je 80105ab9 <trap+0x1e9>
801059d1: 83 c4 3c add $0x3c,%esp
801059d4: 5b pop %ebx
801059d5: 5e pop %esi
801059d6: 5f pop %edi
801059d7: 5d pop %ebp
801059d8: c3 ret
801059d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
801059e0: 0f b7 43 3c movzwl 0x3c(%ebx),%eax
801059e4: 83 e0 03 and $0x3,%eax
801059e7: 66 83 f8 03 cmp $0x3,%ax
801059eb: 75 a8 jne 80105995 <trap+0xc5>
801059ed: c7 04 24 00 00 00 00 movl $0x0,(%esp)
801059f4: e8 f7 e1 ff ff call 80103bf0 <exit>
801059f9: eb 9a jmp 80105995 <trap+0xc5>
801059fb: 90 nop
801059fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80105a00: 83 7b 30 20 cmpl $0x20,0x30(%ebx)
80105a04: 75 a5 jne 801059ab <trap+0xdb>
80105a06: e8 55 e3 ff ff call 80103d60 <yield>
80105a0b: eb 9e jmp 801059ab <trap+0xdb>
80105a0d: 8d 76 00 lea 0x0(%esi),%esi
80105a10: e8 bb dc ff ff call 801036d0 <cpuid>
80105a15: 85 c0 test %eax,%eax
80105a17: 0f 84 c3 00 00 00 je 80105ae0 <trap+0x210>
80105a1d: 8d 76 00 lea 0x0(%esi),%esi
80105a20: e8 5b cd ff ff call 80102780 <lapiceoi>
80105a25: e9 56 ff ff ff jmp 80105980 <trap+0xb0>
80105a2a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105a30: e8 9b cb ff ff call 801025d0 <kbdintr>
80105a35: e8 46 cd ff ff call 80102780 <lapiceoi>
80105a3a: e9 41 ff ff ff jmp 80105980 <trap+0xb0>
80105a3f: 90 nop
80105a40: e8 2b 02 00 00 call 80105c70 <uartintr>
80105a45: e8 36 cd ff ff call 80102780 <lapiceoi>
80105a4a: e9 31 ff ff ff jmp 80105980 <trap+0xb0>
80105a4f: 90 nop
80105a50: 8b 7b 38 mov 0x38(%ebx),%edi
80105a53: 0f b7 73 3c movzwl 0x3c(%ebx),%esi
80105a57: e8 74 dc ff ff call 801036d0 <cpuid>
80105a5c: c7 04 24 30 78 10 80 movl $0x80107830,(%esp)
80105a63: 89 7c 24 0c mov %edi,0xc(%esp)
80105a67: 89 74 24 08 mov %esi,0x8(%esp)
80105a6b: 89 44 24 04 mov %eax,0x4(%esp)
80105a6f: e8 dc ab ff ff call 80100650 <cprintf>
80105a74: e8 07 cd ff ff call 80102780 <lapiceoi>
80105a79: e9 02 ff ff ff jmp 80105980 <trap+0xb0>
80105a7e: 66 90 xchg %ax,%ax
80105a80: e8 fb c5 ff ff call 80102080 <ideintr>
80105a85: eb 96 jmp 80105a1d <trap+0x14d>
80105a87: 90 nop
80105a88: 90 nop
80105a89: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80105a90: e8 5b dc ff ff call 801036f0 <myproc>
80105a95: 8b 70 24 mov 0x24(%eax),%esi
80105a98: 85 f6 test %esi,%esi
80105a9a: 75 34 jne 80105ad0 <trap+0x200>
80105a9c: e8 4f dc ff ff call 801036f0 <myproc>
80105aa1: 89 58 18 mov %ebx,0x18(%eax)
80105aa4: e8 a7 ee ff ff call 80104950 <syscall>
80105aa9: e8 42 dc ff ff call 801036f0 <myproc>
80105aae: 8b 48 24 mov 0x24(%eax),%ecx
80105ab1: 85 c9 test %ecx,%ecx
80105ab3: 0f 84 18 ff ff ff je 801059d1 <trap+0x101>
80105ab9: c7 45 08 00 00 00 00 movl $0x0,0x8(%ebp)
80105ac0: 83 c4 3c add $0x3c,%esp
80105ac3: 5b pop %ebx
80105ac4: 5e pop %esi
80105ac5: 5f pop %edi
80105ac6: 5d pop %ebp
80105ac7: e9 24 e1 ff ff jmp 80103bf0 <exit>
80105acc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80105ad0: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80105ad7: e8 14 e1 ff ff call 80103bf0 <exit>
80105adc: eb be jmp 80105a9c <trap+0x1cc>
80105ade: 66 90 xchg %ax,%ax
80105ae0: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
80105ae7: e8 e4 e9 ff ff call 801044d0 <acquire>
80105aec: c7 04 24 a0 58 11 80 movl $0x801158a0,(%esp)
80105af3: 83 05 a0 58 11 80 01 addl $0x1,0x801158a0
80105afa: e8 51 e5 ff ff call 80104050 <wakeup>
80105aff: c7 04 24 60 50 11 80 movl $0x80115060,(%esp)
80105b06: e8 35 ea ff ff call 80104540 <release>
80105b0b: e9 0d ff ff ff jmp 80105a1d <trap+0x14d>
80105b10: 0f 20 d7 mov %cr2,%edi
80105b13: 8b 73 38 mov 0x38(%ebx),%esi
80105b16: e8 b5 db ff ff call 801036d0 <cpuid>
80105b1b: 89 7c 24 10 mov %edi,0x10(%esp)
80105b1f: 89 74 24 0c mov %esi,0xc(%esp)
80105b23: 89 44 24 08 mov %eax,0x8(%esp)
80105b27: 8b 43 30 mov 0x30(%ebx),%eax
80105b2a: c7 04 24 54 78 10 80 movl $0x80107854,(%esp)
80105b31: 89 44 24 04 mov %eax,0x4(%esp)
80105b35: e8 16 ab ff ff call 80100650 <cprintf>
80105b3a: c7 04 24 2a 78 10 80 movl $0x8010782a,(%esp)
80105b41: e8 1a a8 ff ff call 80100360 <panic>
80105b46: 66 90 xchg %ax,%ax
80105b48: 66 90 xchg %ax,%ax
80105b4a: 66 90 xchg %ax,%ax
80105b4c: 66 90 xchg %ax,%ax
80105b4e: 66 90 xchg %ax,%ax
80105b50 <uartgetc>:
80105b50: a1 bc a5 10 80 mov 0x8010a5bc,%eax
80105b55: 55 push %ebp
80105b56: 89 e5 mov %esp,%ebp
80105b58: 85 c0 test %eax,%eax
80105b5a: 74 14 je 80105b70 <uartgetc+0x20>
80105b5c: ba fd 03 00 00 mov $0x3fd,%edx
80105b61: ec in (%dx),%al
80105b62: a8 01 test $0x1,%al
80105b64: 74 0a je 80105b70 <uartgetc+0x20>
80105b66: b2 f8 mov $0xf8,%dl
80105b68: ec in (%dx),%al
80105b69: 0f b6 c0 movzbl %al,%eax
80105b6c: 5d pop %ebp
80105b6d: c3 ret
80105b6e: 66 90 xchg %ax,%ax
80105b70: b8 ff ff ff ff mov $0xffffffff,%eax
80105b75: 5d pop %ebp
80105b76: c3 ret
80105b77: 89 f6 mov %esi,%esi
80105b79: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80105b80 <uartputc>:
80105b80: a1 bc a5 10 80 mov 0x8010a5bc,%eax
80105b85: 85 c0 test %eax,%eax
80105b87: 74 3f je 80105bc8 <uartputc+0x48>
80105b89: 55 push %ebp
80105b8a: 89 e5 mov %esp,%ebp
80105b8c: 56 push %esi
80105b8d: be fd 03 00 00 mov $0x3fd,%esi
80105b92: 53 push %ebx
80105b93: bb 80 00 00 00 mov $0x80,%ebx
80105b98: 83 ec 10 sub $0x10,%esp
80105b9b: eb 14 jmp 80105bb1 <uartputc+0x31>
80105b9d: 8d 76 00 lea 0x0(%esi),%esi
80105ba0: c7 04 24 0a 00 00 00 movl $0xa,(%esp)
80105ba7: e8 f4 cb ff ff call 801027a0 <microdelay>
80105bac: 83 eb 01 sub $0x1,%ebx
80105baf: 74 07 je 80105bb8 <uartputc+0x38>
80105bb1: 89 f2 mov %esi,%edx
80105bb3: ec in (%dx),%al
80105bb4: a8 20 test $0x20,%al
80105bb6: 74 e8 je 80105ba0 <uartputc+0x20>
80105bb8: 0f b6 45 08 movzbl 0x8(%ebp),%eax
80105bbc: ba f8 03 00 00 mov $0x3f8,%edx
80105bc1: ee out %al,(%dx)
80105bc2: 83 c4 10 add $0x10,%esp
80105bc5: 5b pop %ebx
80105bc6: 5e pop %esi
80105bc7: 5d pop %ebp
80105bc8: f3 c3 repz ret
80105bca: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105bd0 <uartinit>:
80105bd0: 55 push %ebp
80105bd1: 31 c9 xor %ecx,%ecx
80105bd3: 89 e5 mov %esp,%ebp
80105bd5: 89 c8 mov %ecx,%eax
80105bd7: 57 push %edi
80105bd8: bf fa 03 00 00 mov $0x3fa,%edi
80105bdd: 56 push %esi
80105bde: 89 fa mov %edi,%edx
80105be0: 53 push %ebx
80105be1: 83 ec 1c sub $0x1c,%esp
80105be4: ee out %al,(%dx)
80105be5: be fb 03 00 00 mov $0x3fb,%esi
80105bea: b8 80 ff ff ff mov $0xffffff80,%eax
80105bef: 89 f2 mov %esi,%edx
80105bf1: ee out %al,(%dx)
80105bf2: b8 0c 00 00 00 mov $0xc,%eax
80105bf7: b2 f8 mov $0xf8,%dl
80105bf9: ee out %al,(%dx)
80105bfa: bb f9 03 00 00 mov $0x3f9,%ebx
80105bff: 89 c8 mov %ecx,%eax
80105c01: 89 da mov %ebx,%edx
80105c03: ee out %al,(%dx)
80105c04: b8 03 00 00 00 mov $0x3,%eax
80105c09: 89 f2 mov %esi,%edx
80105c0b: ee out %al,(%dx)
80105c0c: b2 fc mov $0xfc,%dl
80105c0e: 89 c8 mov %ecx,%eax
80105c10: ee out %al,(%dx)
80105c11: b8 01 00 00 00 mov $0x1,%eax
80105c16: 89 da mov %ebx,%edx
80105c18: ee out %al,(%dx)
80105c19: b2 fd mov $0xfd,%dl
80105c1b: ec in (%dx),%al
80105c1c: 3c ff cmp $0xff,%al
80105c1e: 74 42 je 80105c62 <uartinit+0x92>
80105c20: c7 05 bc a5 10 80 01 movl $0x1,0x8010a5bc
80105c27: 00 00 00
80105c2a: 89 fa mov %edi,%edx
80105c2c: ec in (%dx),%al
80105c2d: b2 f8 mov $0xf8,%dl
80105c2f: ec in (%dx),%al
80105c30: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80105c37: 00
80105c38: bb 4c 79 10 80 mov $0x8010794c,%ebx
80105c3d: c7 04 24 04 00 00 00 movl $0x4,(%esp)
80105c44: e8 67 c6 ff ff call 801022b0 <ioapicenable>
80105c49: b8 78 00 00 00 mov $0x78,%eax
80105c4e: 66 90 xchg %ax,%ax
80105c50: 89 04 24 mov %eax,(%esp)
80105c53: 83 c3 01 add $0x1,%ebx
80105c56: e8 25 ff ff ff call 80105b80 <uartputc>
80105c5b: 0f be 03 movsbl (%ebx),%eax
80105c5e: 84 c0 test %al,%al
80105c60: 75 ee jne 80105c50 <uartinit+0x80>
80105c62: 83 c4 1c add $0x1c,%esp
80105c65: 5b pop %ebx
80105c66: 5e pop %esi
80105c67: 5f pop %edi
80105c68: 5d pop %ebp
80105c69: c3 ret
80105c6a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80105c70 <uartintr>:
80105c70: 55 push %ebp
80105c71: 89 e5 mov %esp,%ebp
80105c73: 83 ec 18 sub $0x18,%esp
80105c76: c7 04 24 50 5b 10 80 movl $0x80105b50,(%esp)
80105c7d: e8 2e ab ff ff call 801007b0 <consoleintr>
80105c82: c9 leave
80105c83: c3 ret
80105c84 <vector0>:
80105c84: 6a 00 push $0x0
80105c86: 6a 00 push $0x0
80105c88: e9 50 fb ff ff jmp 801057dd <alltraps>
80105c8d <vector1>:
80105c8d: 6a 00 push $0x0
80105c8f: 6a 01 push $0x1
80105c91: e9 47 fb ff ff jmp 801057dd <alltraps>
80105c96 <vector2>:
80105c96: 6a 00 push $0x0
80105c98: 6a 02 push $0x2
80105c9a: e9 3e fb ff ff jmp 801057dd <alltraps>
80105c9f <vector3>:
80105c9f: 6a 00 push $0x0
80105ca1: 6a 03 push $0x3
80105ca3: e9 35 fb ff ff jmp 801057dd <alltraps>
80105ca8 <vector4>:
80105ca8: 6a 00 push $0x0
80105caa: 6a 04 push $0x4
80105cac: e9 2c fb ff ff jmp 801057dd <alltraps>
80105cb1 <vector5>:
80105cb1: 6a 00 push $0x0
80105cb3: 6a 05 push $0x5
80105cb5: e9 23 fb ff ff jmp 801057dd <alltraps>
80105cba <vector6>:
80105cba: 6a 00 push $0x0
80105cbc: 6a 06 push $0x6
80105cbe: e9 1a fb ff ff jmp 801057dd <alltraps>
80105cc3 <vector7>:
80105cc3: 6a 00 push $0x0
80105cc5: 6a 07 push $0x7
80105cc7: e9 11 fb ff ff jmp 801057dd <alltraps>
80105ccc <vector8>:
80105ccc: 6a 08 push $0x8
80105cce: e9 0a fb ff ff jmp 801057dd <alltraps>
80105cd3 <vector9>:
80105cd3: 6a 00 push $0x0
80105cd5: 6a 09 push $0x9
80105cd7: e9 01 fb ff ff jmp 801057dd <alltraps>
80105cdc <vector10>:
80105cdc: 6a 0a push $0xa
80105cde: e9 fa fa ff ff jmp 801057dd <alltraps>
80105ce3 <vector11>:
80105ce3: 6a 0b push $0xb
80105ce5: e9 f3 fa ff ff jmp 801057dd <alltraps>
80105cea <vector12>:
80105cea: 6a 0c push $0xc
80105cec: e9 ec fa ff ff jmp 801057dd <alltraps>
80105cf1 <vector13>:
80105cf1: 6a 0d push $0xd
80105cf3: e9 e5 fa ff ff jmp 801057dd <alltraps>
80105cf8 <vector14>:
80105cf8: 6a 0e push $0xe
80105cfa: e9 de fa ff ff jmp 801057dd <alltraps>
80105cff <vector15>:
80105cff: 6a 00 push $0x0
80105d01: 6a 0f push $0xf
80105d03: e9 d5 fa ff ff jmp 801057dd <alltraps>
80105d08 <vector16>:
80105d08: 6a 00 push $0x0
80105d0a: 6a 10 push $0x10
80105d0c: e9 cc fa ff ff jmp 801057dd <alltraps>
80105d11 <vector17>:
80105d11: 6a 11 push $0x11
80105d13: e9 c5 fa ff ff jmp 801057dd <alltraps>
80105d18 <vector18>:
80105d18: 6a 00 push $0x0
80105d1a: 6a 12 push $0x12
80105d1c: e9 bc fa ff ff jmp 801057dd <alltraps>
80105d21 <vector19>:
80105d21: 6a 00 push $0x0
80105d23: 6a 13 push $0x13
80105d25: e9 b3 fa ff ff jmp 801057dd <alltraps>
80105d2a <vector20>:
80105d2a: 6a 00 push $0x0
80105d2c: 6a 14 push $0x14
80105d2e: e9 aa fa ff ff jmp 801057dd <alltraps>
80105d33 <vector21>:
80105d33: 6a 00 push $0x0
80105d35: 6a 15 push $0x15
80105d37: e9 a1 fa ff ff jmp 801057dd <alltraps>
80105d3c <vector22>:
80105d3c: 6a 00 push $0x0
80105d3e: 6a 16 push $0x16
80105d40: e9 98 fa ff ff jmp 801057dd <alltraps>
80105d45 <vector23>:
80105d45: 6a 00 push $0x0
80105d47: 6a 17 push $0x17
80105d49: e9 8f fa ff ff jmp 801057dd <alltraps>
80105d4e <vector24>:
80105d4e: 6a 00 push $0x0
80105d50: 6a 18 push $0x18
80105d52: e9 86 fa ff ff jmp 801057dd <alltraps>
80105d57 <vector25>:
80105d57: 6a 00 push $0x0
80105d59: 6a 19 push $0x19
80105d5b: e9 7d fa ff ff jmp 801057dd <alltraps>
80105d60 <vector26>:
80105d60: 6a 00 push $0x0
80105d62: 6a 1a push $0x1a
80105d64: e9 74 fa ff ff jmp 801057dd <alltraps>
80105d69 <vector27>:
80105d69: 6a 00 push $0x0
80105d6b: 6a 1b push $0x1b
80105d6d: e9 6b fa ff ff jmp 801057dd <alltraps>
80105d72 <vector28>:
80105d72: 6a 00 push $0x0
80105d74: 6a 1c push $0x1c
80105d76: e9 62 fa ff ff jmp 801057dd <alltraps>
80105d7b <vector29>:
80105d7b: 6a 00 push $0x0
80105d7d: 6a 1d push $0x1d
80105d7f: e9 59 fa ff ff jmp 801057dd <alltraps>
80105d84 <vector30>:
80105d84: 6a 00 push $0x0
80105d86: 6a 1e push $0x1e
80105d88: e9 50 fa ff ff jmp 801057dd <alltraps>
80105d8d <vector31>:
80105d8d: 6a 00 push $0x0
80105d8f: 6a 1f push $0x1f
80105d91: e9 47 fa ff ff jmp 801057dd <alltraps>
80105d96 <vector32>:
80105d96: 6a 00 push $0x0
80105d98: 6a 20 push $0x20
80105d9a: e9 3e fa ff ff jmp 801057dd <alltraps>
80105d9f <vector33>:
80105d9f: 6a 00 push $0x0
80105da1: 6a 21 push $0x21
80105da3: e9 35 fa ff ff jmp 801057dd <alltraps>
80105da8 <vector34>:
80105da8: 6a 00 push $0x0
80105daa: 6a 22 push $0x22
80105dac: e9 2c fa ff ff jmp 801057dd <alltraps>
80105db1 <vector35>:
80105db1: 6a 00 push $0x0
80105db3: 6a 23 push $0x23
80105db5: e9 23 fa ff ff jmp 801057dd <alltraps>
80105dba <vector36>:
80105dba: 6a 00 push $0x0
80105dbc: 6a 24 push $0x24
80105dbe: e9 1a fa ff ff jmp 801057dd <alltraps>
80105dc3 <vector37>:
80105dc3: 6a 00 push $0x0
80105dc5: 6a 25 push $0x25
80105dc7: e9 11 fa ff ff jmp 801057dd <alltraps>
80105dcc <vector38>:
80105dcc: 6a 00 push $0x0
80105dce: 6a 26 push $0x26
80105dd0: e9 08 fa ff ff jmp 801057dd <alltraps>
80105dd5 <vector39>:
80105dd5: 6a 00 push $0x0
80105dd7: 6a 27 push $0x27
80105dd9: e9 ff f9 ff ff jmp 801057dd <alltraps>
80105dde <vector40>:
80105dde: 6a 00 push $0x0
80105de0: 6a 28 push $0x28
80105de2: e9 f6 f9 ff ff jmp 801057dd <alltraps>
80105de7 <vector41>:
80105de7: 6a 00 push $0x0
80105de9: 6a 29 push $0x29
80105deb: e9 ed f9 ff ff jmp 801057dd <alltraps>
80105df0 <vector42>:
80105df0: 6a 00 push $0x0
80105df2: 6a 2a push $0x2a
80105df4: e9 e4 f9 ff ff jmp 801057dd <alltraps>
80105df9 <vector43>:
80105df9: 6a 00 push $0x0
80105dfb: 6a 2b push $0x2b
80105dfd: e9 db f9 ff ff jmp 801057dd <alltraps>
80105e02 <vector44>:
80105e02: 6a 00 push $0x0
80105e04: 6a 2c push $0x2c
80105e06: e9 d2 f9 ff ff jmp 801057dd <alltraps>
80105e0b <vector45>:
80105e0b: 6a 00 push $0x0
80105e0d: 6a 2d push $0x2d
80105e0f: e9 c9 f9 ff ff jmp 801057dd <alltraps>
80105e14 <vector46>:
80105e14: 6a 00 push $0x0
80105e16: 6a 2e push $0x2e
80105e18: e9 c0 f9 ff ff jmp 801057dd <alltraps>
80105e1d <vector47>:
80105e1d: 6a 00 push $0x0
80105e1f: 6a 2f push $0x2f
80105e21: e9 b7 f9 ff ff jmp 801057dd <alltraps>
80105e26 <vector48>:
80105e26: 6a 00 push $0x0
80105e28: 6a 30 push $0x30
80105e2a: e9 ae f9 ff ff jmp 801057dd <alltraps>
80105e2f <vector49>:
80105e2f: 6a 00 push $0x0
80105e31: 6a 31 push $0x31
80105e33: e9 a5 f9 ff ff jmp 801057dd <alltraps>
80105e38 <vector50>:
80105e38: 6a 00 push $0x0
80105e3a: 6a 32 push $0x32
80105e3c: e9 9c f9 ff ff jmp 801057dd <alltraps>
80105e41 <vector51>:
80105e41: 6a 00 push $0x0
80105e43: 6a 33 push $0x33
80105e45: e9 93 f9 ff ff jmp 801057dd <alltraps>
80105e4a <vector52>:
80105e4a: 6a 00 push $0x0
80105e4c: 6a 34 push $0x34
80105e4e: e9 8a f9 ff ff jmp 801057dd <alltraps>
80105e53 <vector53>:
80105e53: 6a 00 push $0x0
80105e55: 6a 35 push $0x35
80105e57: e9 81 f9 ff ff jmp 801057dd <alltraps>
80105e5c <vector54>:
80105e5c: 6a 00 push $0x0
80105e5e: 6a 36 push $0x36
80105e60: e9 78 f9 ff ff jmp 801057dd <alltraps>
80105e65 <vector55>:
80105e65: 6a 00 push $0x0
80105e67: 6a 37 push $0x37
80105e69: e9 6f f9 ff ff jmp 801057dd <alltraps>
80105e6e <vector56>:
80105e6e: 6a 00 push $0x0
80105e70: 6a 38 push $0x38
80105e72: e9 66 f9 ff ff jmp 801057dd <alltraps>
80105e77 <vector57>:
80105e77: 6a 00 push $0x0
80105e79: 6a 39 push $0x39
80105e7b: e9 5d f9 ff ff jmp 801057dd <alltraps>
80105e80 <vector58>:
80105e80: 6a 00 push $0x0
80105e82: 6a 3a push $0x3a
80105e84: e9 54 f9 ff ff jmp 801057dd <alltraps>
80105e89 <vector59>:
80105e89: 6a 00 push $0x0
80105e8b: 6a 3b push $0x3b
80105e8d: e9 4b f9 ff ff jmp 801057dd <alltraps>
80105e92 <vector60>:
80105e92: 6a 00 push $0x0
80105e94: 6a 3c push $0x3c
80105e96: e9 42 f9 ff ff jmp 801057dd <alltraps>
80105e9b <vector61>:
80105e9b: 6a 00 push $0x0
80105e9d: 6a 3d push $0x3d
80105e9f: e9 39 f9 ff ff jmp 801057dd <alltraps>
80105ea4 <vector62>:
80105ea4: 6a 00 push $0x0
80105ea6: 6a 3e push $0x3e
80105ea8: e9 30 f9 ff ff jmp 801057dd <alltraps>
80105ead <vector63>:
80105ead: 6a 00 push $0x0
80105eaf: 6a 3f push $0x3f
80105eb1: e9 27 f9 ff ff jmp 801057dd <alltraps>
80105eb6 <vector64>:
80105eb6: 6a 00 push $0x0
80105eb8: 6a 40 push $0x40
80105eba: e9 1e f9 ff ff jmp 801057dd <alltraps>
80105ebf <vector65>:
80105ebf: 6a 00 push $0x0
80105ec1: 6a 41 push $0x41
80105ec3: e9 15 f9 ff ff jmp 801057dd <alltraps>
80105ec8 <vector66>:
80105ec8: 6a 00 push $0x0
80105eca: 6a 42 push $0x42
80105ecc: e9 0c f9 ff ff jmp 801057dd <alltraps>
80105ed1 <vector67>:
80105ed1: 6a 00 push $0x0
80105ed3: 6a 43 push $0x43
80105ed5: e9 03 f9 ff ff jmp 801057dd <alltraps>
80105eda <vector68>:
80105eda: 6a 00 push $0x0
80105edc: 6a 44 push $0x44
80105ede: e9 fa f8 ff ff jmp 801057dd <alltraps>
80105ee3 <vector69>:
80105ee3: 6a 00 push $0x0
80105ee5: 6a 45 push $0x45
80105ee7: e9 f1 f8 ff ff jmp 801057dd <alltraps>
80105eec <vector70>:
80105eec: 6a 00 push $0x0
80105eee: 6a 46 push $0x46
80105ef0: e9 e8 f8 ff ff jmp 801057dd <alltraps>
80105ef5 <vector71>:
80105ef5: 6a 00 push $0x0
80105ef7: 6a 47 push $0x47
80105ef9: e9 df f8 ff ff jmp 801057dd <alltraps>
80105efe <vector72>:
80105efe: 6a 00 push $0x0
80105f00: 6a 48 push $0x48
80105f02: e9 d6 f8 ff ff jmp 801057dd <alltraps>
80105f07 <vector73>:
80105f07: 6a 00 push $0x0
80105f09: 6a 49 push $0x49
80105f0b: e9 cd f8 ff ff jmp 801057dd <alltraps>
80105f10 <vector74>:
80105f10: 6a 00 push $0x0
80105f12: 6a 4a push $0x4a
80105f14: e9 c4 f8 ff ff jmp 801057dd <alltraps>
80105f19 <vector75>:
80105f19: 6a 00 push $0x0
80105f1b: 6a 4b push $0x4b
80105f1d: e9 bb f8 ff ff jmp 801057dd <alltraps>
80105f22 <vector76>:
80105f22: 6a 00 push $0x0
80105f24: 6a 4c push $0x4c
80105f26: e9 b2 f8 ff ff jmp 801057dd <alltraps>
80105f2b <vector77>:
80105f2b: 6a 00 push $0x0
80105f2d: 6a 4d push $0x4d
80105f2f: e9 a9 f8 ff ff jmp 801057dd <alltraps>
80105f34 <vector78>:
80105f34: 6a 00 push $0x0
80105f36: 6a 4e push $0x4e
80105f38: e9 a0 f8 ff ff jmp 801057dd <alltraps>
80105f3d <vector79>:
80105f3d: 6a 00 push $0x0
80105f3f: 6a 4f push $0x4f
80105f41: e9 97 f8 ff ff jmp 801057dd <alltraps>
80105f46 <vector80>:
80105f46: 6a 00 push $0x0
80105f48: 6a 50 push $0x50
80105f4a: e9 8e f8 ff ff jmp 801057dd <alltraps>
80105f4f <vector81>:
80105f4f: 6a 00 push $0x0
80105f51: 6a 51 push $0x51
80105f53: e9 85 f8 ff ff jmp 801057dd <alltraps>
80105f58 <vector82>:
80105f58: 6a 00 push $0x0
80105f5a: 6a 52 push $0x52
80105f5c: e9 7c f8 ff ff jmp 801057dd <alltraps>
80105f61 <vector83>:
80105f61: 6a 00 push $0x0
80105f63: 6a 53 push $0x53
80105f65: e9 73 f8 ff ff jmp 801057dd <alltraps>
80105f6a <vector84>:
80105f6a: 6a 00 push $0x0
80105f6c: 6a 54 push $0x54
80105f6e: e9 6a f8 ff ff jmp 801057dd <alltraps>
80105f73 <vector85>:
80105f73: 6a 00 push $0x0
80105f75: 6a 55 push $0x55
80105f77: e9 61 f8 ff ff jmp 801057dd <alltraps>
80105f7c <vector86>:
80105f7c: 6a 00 push $0x0
80105f7e: 6a 56 push $0x56
80105f80: e9 58 f8 ff ff jmp 801057dd <alltraps>
80105f85 <vector87>:
80105f85: 6a 00 push $0x0
80105f87: 6a 57 push $0x57
80105f89: e9 4f f8 ff ff jmp 801057dd <alltraps>
80105f8e <vector88>:
80105f8e: 6a 00 push $0x0
80105f90: 6a 58 push $0x58
80105f92: e9 46 f8 ff ff jmp 801057dd <alltraps>
80105f97 <vector89>:
80105f97: 6a 00 push $0x0
80105f99: 6a 59 push $0x59
80105f9b: e9 3d f8 ff ff jmp 801057dd <alltraps>
80105fa0 <vector90>:
80105fa0: 6a 00 push $0x0
80105fa2: 6a 5a push $0x5a
80105fa4: e9 34 f8 ff ff jmp 801057dd <alltraps>
80105fa9 <vector91>:
80105fa9: 6a 00 push $0x0
80105fab: 6a 5b push $0x5b
80105fad: e9 2b f8 ff ff jmp 801057dd <alltraps>
80105fb2 <vector92>:
80105fb2: 6a 00 push $0x0
80105fb4: 6a 5c push $0x5c
80105fb6: e9 22 f8 ff ff jmp 801057dd <alltraps>
80105fbb <vector93>:
80105fbb: 6a 00 push $0x0
80105fbd: 6a 5d push $0x5d
80105fbf: e9 19 f8 ff ff jmp 801057dd <alltraps>
80105fc4 <vector94>:
80105fc4: 6a 00 push $0x0
80105fc6: 6a 5e push $0x5e
80105fc8: e9 10 f8 ff ff jmp 801057dd <alltraps>
80105fcd <vector95>:
80105fcd: 6a 00 push $0x0
80105fcf: 6a 5f push $0x5f
80105fd1: e9 07 f8 ff ff jmp 801057dd <alltraps>
80105fd6 <vector96>:
80105fd6: 6a 00 push $0x0
80105fd8: 6a 60 push $0x60
80105fda: e9 fe f7 ff ff jmp 801057dd <alltraps>
80105fdf <vector97>:
80105fdf: 6a 00 push $0x0
80105fe1: 6a 61 push $0x61
80105fe3: e9 f5 f7 ff ff jmp 801057dd <alltraps>
80105fe8 <vector98>:
80105fe8: 6a 00 push $0x0
80105fea: 6a 62 push $0x62
80105fec: e9 ec f7 ff ff jmp 801057dd <alltraps>
80105ff1 <vector99>:
80105ff1: 6a 00 push $0x0
80105ff3: 6a 63 push $0x63
80105ff5: e9 e3 f7 ff ff jmp 801057dd <alltraps>
80105ffa <vector100>:
80105ffa: 6a 00 push $0x0
80105ffc: 6a 64 push $0x64
80105ffe: e9 da f7 ff ff jmp 801057dd <alltraps>
80106003 <vector101>:
80106003: 6a 00 push $0x0
80106005: 6a 65 push $0x65
80106007: e9 d1 f7 ff ff jmp 801057dd <alltraps>
8010600c <vector102>:
8010600c: 6a 00 push $0x0
8010600e: 6a 66 push $0x66
80106010: e9 c8 f7 ff ff jmp 801057dd <alltraps>
80106015 <vector103>:
80106015: 6a 00 push $0x0
80106017: 6a 67 push $0x67
80106019: e9 bf f7 ff ff jmp 801057dd <alltraps>
8010601e <vector104>:
8010601e: 6a 00 push $0x0
80106020: 6a 68 push $0x68
80106022: e9 b6 f7 ff ff jmp 801057dd <alltraps>
80106027 <vector105>:
80106027: 6a 00 push $0x0
80106029: 6a 69 push $0x69
8010602b: e9 ad f7 ff ff jmp 801057dd <alltraps>
80106030 <vector106>:
80106030: 6a 00 push $0x0
80106032: 6a 6a push $0x6a
80106034: e9 a4 f7 ff ff jmp 801057dd <alltraps>
80106039 <vector107>:
80106039: 6a 00 push $0x0
8010603b: 6a 6b push $0x6b
8010603d: e9 9b f7 ff ff jmp 801057dd <alltraps>
80106042 <vector108>:
80106042: 6a 00 push $0x0
80106044: 6a 6c push $0x6c
80106046: e9 92 f7 ff ff jmp 801057dd <alltraps>
8010604b <vector109>:
8010604b: 6a 00 push $0x0
8010604d: 6a 6d push $0x6d
8010604f: e9 89 f7 ff ff jmp 801057dd <alltraps>
80106054 <vector110>:
80106054: 6a 00 push $0x0
80106056: 6a 6e push $0x6e
80106058: e9 80 f7 ff ff jmp 801057dd <alltraps>
8010605d <vector111>:
8010605d: 6a 00 push $0x0
8010605f: 6a 6f push $0x6f
80106061: e9 77 f7 ff ff jmp 801057dd <alltraps>
80106066 <vector112>:
80106066: 6a 00 push $0x0
80106068: 6a 70 push $0x70
8010606a: e9 6e f7 ff ff jmp 801057dd <alltraps>
8010606f <vector113>:
8010606f: 6a 00 push $0x0
80106071: 6a 71 push $0x71
80106073: e9 65 f7 ff ff jmp 801057dd <alltraps>
80106078 <vector114>:
80106078: 6a 00 push $0x0
8010607a: 6a 72 push $0x72
8010607c: e9 5c f7 ff ff jmp 801057dd <alltraps>
80106081 <vector115>:
80106081: 6a 00 push $0x0
80106083: 6a 73 push $0x73
80106085: e9 53 f7 ff ff jmp 801057dd <alltraps>
8010608a <vector116>:
8010608a: 6a 00 push $0x0
8010608c: 6a 74 push $0x74
8010608e: e9 4a f7 ff ff jmp 801057dd <alltraps>
80106093 <vector117>:
80106093: 6a 00 push $0x0
80106095: 6a 75 push $0x75
80106097: e9 41 f7 ff ff jmp 801057dd <alltraps>
8010609c <vector118>:
8010609c: 6a 00 push $0x0
8010609e: 6a 76 push $0x76
801060a0: e9 38 f7 ff ff jmp 801057dd <alltraps>
801060a5 <vector119>:
801060a5: 6a 00 push $0x0
801060a7: 6a 77 push $0x77
801060a9: e9 2f f7 ff ff jmp 801057dd <alltraps>
801060ae <vector120>:
801060ae: 6a 00 push $0x0
801060b0: 6a 78 push $0x78
801060b2: e9 26 f7 ff ff jmp 801057dd <alltraps>
801060b7 <vector121>:
801060b7: 6a 00 push $0x0
801060b9: 6a 79 push $0x79
801060bb: e9 1d f7 ff ff jmp 801057dd <alltraps>
801060c0 <vector122>:
801060c0: 6a 00 push $0x0
801060c2: 6a 7a push $0x7a
801060c4: e9 14 f7 ff ff jmp 801057dd <alltraps>
801060c9 <vector123>:
801060c9: 6a 00 push $0x0
801060cb: 6a 7b push $0x7b
801060cd: e9 0b f7 ff ff jmp 801057dd <alltraps>
801060d2 <vector124>:
801060d2: 6a 00 push $0x0
801060d4: 6a 7c push $0x7c
801060d6: e9 02 f7 ff ff jmp 801057dd <alltraps>
801060db <vector125>:
801060db: 6a 00 push $0x0
801060dd: 6a 7d push $0x7d
801060df: e9 f9 f6 ff ff jmp 801057dd <alltraps>
801060e4 <vector126>:
801060e4: 6a 00 push $0x0
801060e6: 6a 7e push $0x7e
801060e8: e9 f0 f6 ff ff jmp 801057dd <alltraps>
801060ed <vector127>:
801060ed: 6a 00 push $0x0
801060ef: 6a 7f push $0x7f
801060f1: e9 e7 f6 ff ff jmp 801057dd <alltraps>
801060f6 <vector128>:
801060f6: 6a 00 push $0x0
801060f8: 68 80 00 00 00 push $0x80
801060fd: e9 db f6 ff ff jmp 801057dd <alltraps>
80106102 <vector129>:
80106102: 6a 00 push $0x0
80106104: 68 81 00 00 00 push $0x81
80106109: e9 cf f6 ff ff jmp 801057dd <alltraps>
8010610e <vector130>:
8010610e: 6a 00 push $0x0
80106110: 68 82 00 00 00 push $0x82
80106115: e9 c3 f6 ff ff jmp 801057dd <alltraps>
8010611a <vector131>:
8010611a: 6a 00 push $0x0
8010611c: 68 83 00 00 00 push $0x83
80106121: e9 b7 f6 ff ff jmp 801057dd <alltraps>
80106126 <vector132>:
80106126: 6a 00 push $0x0
80106128: 68 84 00 00 00 push $0x84
8010612d: e9 ab f6 ff ff jmp 801057dd <alltraps>
80106132 <vector133>:
80106132: 6a 00 push $0x0
80106134: 68 85 00 00 00 push $0x85
80106139: e9 9f f6 ff ff jmp 801057dd <alltraps>
8010613e <vector134>:
8010613e: 6a 00 push $0x0
80106140: 68 86 00 00 00 push $0x86
80106145: e9 93 f6 ff ff jmp 801057dd <alltraps>
8010614a <vector135>:
8010614a: 6a 00 push $0x0
8010614c: 68 87 00 00 00 push $0x87
80106151: e9 87 f6 ff ff jmp 801057dd <alltraps>
80106156 <vector136>:
80106156: 6a 00 push $0x0
80106158: 68 88 00 00 00 push $0x88
8010615d: e9 7b f6 ff ff jmp 801057dd <alltraps>
80106162 <vector137>:
80106162: 6a 00 push $0x0
80106164: 68 89 00 00 00 push $0x89
80106169: e9 6f f6 ff ff jmp 801057dd <alltraps>
8010616e <vector138>:
8010616e: 6a 00 push $0x0
80106170: 68 8a 00 00 00 push $0x8a
80106175: e9 63 f6 ff ff jmp 801057dd <alltraps>
8010617a <vector139>:
8010617a: 6a 00 push $0x0
8010617c: 68 8b 00 00 00 push $0x8b
80106181: e9 57 f6 ff ff jmp 801057dd <alltraps>
80106186 <vector140>:
80106186: 6a 00 push $0x0
80106188: 68 8c 00 00 00 push $0x8c
8010618d: e9 4b f6 ff ff jmp 801057dd <alltraps>
80106192 <vector141>:
80106192: 6a 00 push $0x0
80106194: 68 8d 00 00 00 push $0x8d
80106199: e9 3f f6 ff ff jmp 801057dd <alltraps>
8010619e <vector142>:
8010619e: 6a 00 push $0x0
801061a0: 68 8e 00 00 00 push $0x8e
801061a5: e9 33 f6 ff ff jmp 801057dd <alltraps>
801061aa <vector143>:
801061aa: 6a 00 push $0x0
801061ac: 68 8f 00 00 00 push $0x8f
801061b1: e9 27 f6 ff ff jmp 801057dd <alltraps>
801061b6 <vector144>:
801061b6: 6a 00 push $0x0
801061b8: 68 90 00 00 00 push $0x90
801061bd: e9 1b f6 ff ff jmp 801057dd <alltraps>
801061c2 <vector145>:
801061c2: 6a 00 push $0x0
801061c4: 68 91 00 00 00 push $0x91
801061c9: e9 0f f6 ff ff jmp 801057dd <alltraps>
801061ce <vector146>:
801061ce: 6a 00 push $0x0
801061d0: 68 92 00 00 00 push $0x92
801061d5: e9 03 f6 ff ff jmp 801057dd <alltraps>
801061da <vector147>:
801061da: 6a 00 push $0x0
801061dc: 68 93 00 00 00 push $0x93
801061e1: e9 f7 f5 ff ff jmp 801057dd <alltraps>
801061e6 <vector148>:
801061e6: 6a 00 push $0x0
801061e8: 68 94 00 00 00 push $0x94
801061ed: e9 eb f5 ff ff jmp 801057dd <alltraps>
801061f2 <vector149>:
801061f2: 6a 00 push $0x0
801061f4: 68 95 00 00 00 push $0x95
801061f9: e9 df f5 ff ff jmp 801057dd <alltraps>
801061fe <vector150>:
801061fe: 6a 00 push $0x0
80106200: 68 96 00 00 00 push $0x96
80106205: e9 d3 f5 ff ff jmp 801057dd <alltraps>
8010620a <vector151>:
8010620a: 6a 00 push $0x0
8010620c: 68 97 00 00 00 push $0x97
80106211: e9 c7 f5 ff ff jmp 801057dd <alltraps>
80106216 <vector152>:
80106216: 6a 00 push $0x0
80106218: 68 98 00 00 00 push $0x98
8010621d: e9 bb f5 ff ff jmp 801057dd <alltraps>
80106222 <vector153>:
80106222: 6a 00 push $0x0
80106224: 68 99 00 00 00 push $0x99
80106229: e9 af f5 ff ff jmp 801057dd <alltraps>
8010622e <vector154>:
8010622e: 6a 00 push $0x0
80106230: 68 9a 00 00 00 push $0x9a
80106235: e9 a3 f5 ff ff jmp 801057dd <alltraps>
8010623a <vector155>:
8010623a: 6a 00 push $0x0
8010623c: 68 9b 00 00 00 push $0x9b
80106241: e9 97 f5 ff ff jmp 801057dd <alltraps>
80106246 <vector156>:
80106246: 6a 00 push $0x0
80106248: 68 9c 00 00 00 push $0x9c
8010624d: e9 8b f5 ff ff jmp 801057dd <alltraps>
80106252 <vector157>:
80106252: 6a 00 push $0x0
80106254: 68 9d 00 00 00 push $0x9d
80106259: e9 7f f5 ff ff jmp 801057dd <alltraps>
8010625e <vector158>:
8010625e: 6a 00 push $0x0
80106260: 68 9e 00 00 00 push $0x9e
80106265: e9 73 f5 ff ff jmp 801057dd <alltraps>
8010626a <vector159>:
8010626a: 6a 00 push $0x0
8010626c: 68 9f 00 00 00 push $0x9f
80106271: e9 67 f5 ff ff jmp 801057dd <alltraps>
80106276 <vector160>:
80106276: 6a 00 push $0x0
80106278: 68 a0 00 00 00 push $0xa0
8010627d: e9 5b f5 ff ff jmp 801057dd <alltraps>
80106282 <vector161>:
80106282: 6a 00 push $0x0
80106284: 68 a1 00 00 00 push $0xa1
80106289: e9 4f f5 ff ff jmp 801057dd <alltraps>
8010628e <vector162>:
8010628e: 6a 00 push $0x0
80106290: 68 a2 00 00 00 push $0xa2
80106295: e9 43 f5 ff ff jmp 801057dd <alltraps>
8010629a <vector163>:
8010629a: 6a 00 push $0x0
8010629c: 68 a3 00 00 00 push $0xa3
801062a1: e9 37 f5 ff ff jmp 801057dd <alltraps>
801062a6 <vector164>:
801062a6: 6a 00 push $0x0
801062a8: 68 a4 00 00 00 push $0xa4
801062ad: e9 2b f5 ff ff jmp 801057dd <alltraps>
801062b2 <vector165>:
801062b2: 6a 00 push $0x0
801062b4: 68 a5 00 00 00 push $0xa5
801062b9: e9 1f f5 ff ff jmp 801057dd <alltraps>
801062be <vector166>:
801062be: 6a 00 push $0x0
801062c0: 68 a6 00 00 00 push $0xa6
801062c5: e9 13 f5 ff ff jmp 801057dd <alltraps>
801062ca <vector167>:
801062ca: 6a 00 push $0x0
801062cc: 68 a7 00 00 00 push $0xa7
801062d1: e9 07 f5 ff ff jmp 801057dd <alltraps>
801062d6 <vector168>:
801062d6: 6a 00 push $0x0
801062d8: 68 a8 00 00 00 push $0xa8
801062dd: e9 fb f4 ff ff jmp 801057dd <alltraps>
801062e2 <vector169>:
801062e2: 6a 00 push $0x0
801062e4: 68 a9 00 00 00 push $0xa9
801062e9: e9 ef f4 ff ff jmp 801057dd <alltraps>
801062ee <vector170>:
801062ee: 6a 00 push $0x0
801062f0: 68 aa 00 00 00 push $0xaa
801062f5: e9 e3 f4 ff ff jmp 801057dd <alltraps>
801062fa <vector171>:
801062fa: 6a 00 push $0x0
801062fc: 68 ab 00 00 00 push $0xab
80106301: e9 d7 f4 ff ff jmp 801057dd <alltraps>
80106306 <vector172>:
80106306: 6a 00 push $0x0
80106308: 68 ac 00 00 00 push $0xac
8010630d: e9 cb f4 ff ff jmp 801057dd <alltraps>
80106312 <vector173>:
80106312: 6a 00 push $0x0
80106314: 68 ad 00 00 00 push $0xad
80106319: e9 bf f4 ff ff jmp 801057dd <alltraps>
8010631e <vector174>:
8010631e: 6a 00 push $0x0
80106320: 68 ae 00 00 00 push $0xae
80106325: e9 b3 f4 ff ff jmp 801057dd <alltraps>
8010632a <vector175>:
8010632a: 6a 00 push $0x0
8010632c: 68 af 00 00 00 push $0xaf
80106331: e9 a7 f4 ff ff jmp 801057dd <alltraps>
80106336 <vector176>:
80106336: 6a 00 push $0x0
80106338: 68 b0 00 00 00 push $0xb0
8010633d: e9 9b f4 ff ff jmp 801057dd <alltraps>
80106342 <vector177>:
80106342: 6a 00 push $0x0
80106344: 68 b1 00 00 00 push $0xb1
80106349: e9 8f f4 ff ff jmp 801057dd <alltraps>
8010634e <vector178>:
8010634e: 6a 00 push $0x0
80106350: 68 b2 00 00 00 push $0xb2
80106355: e9 83 f4 ff ff jmp 801057dd <alltraps>
8010635a <vector179>:
8010635a: 6a 00 push $0x0
8010635c: 68 b3 00 00 00 push $0xb3
80106361: e9 77 f4 ff ff jmp 801057dd <alltraps>
80106366 <vector180>:
80106366: 6a 00 push $0x0
80106368: 68 b4 00 00 00 push $0xb4
8010636d: e9 6b f4 ff ff jmp 801057dd <alltraps>
80106372 <vector181>:
80106372: 6a 00 push $0x0
80106374: 68 b5 00 00 00 push $0xb5
80106379: e9 5f f4 ff ff jmp 801057dd <alltraps>
8010637e <vector182>:
8010637e: 6a 00 push $0x0
80106380: 68 b6 00 00 00 push $0xb6
80106385: e9 53 f4 ff ff jmp 801057dd <alltraps>
8010638a <vector183>:
8010638a: 6a 00 push $0x0
8010638c: 68 b7 00 00 00 push $0xb7
80106391: e9 47 f4 ff ff jmp 801057dd <alltraps>
80106396 <vector184>:
80106396: 6a 00 push $0x0
80106398: 68 b8 00 00 00 push $0xb8
8010639d: e9 3b f4 ff ff jmp 801057dd <alltraps>
801063a2 <vector185>:
801063a2: 6a 00 push $0x0
801063a4: 68 b9 00 00 00 push $0xb9
801063a9: e9 2f f4 ff ff jmp 801057dd <alltraps>
801063ae <vector186>:
801063ae: 6a 00 push $0x0
801063b0: 68 ba 00 00 00 push $0xba
801063b5: e9 23 f4 ff ff jmp 801057dd <alltraps>
801063ba <vector187>:
801063ba: 6a 00 push $0x0
801063bc: 68 bb 00 00 00 push $0xbb
801063c1: e9 17 f4 ff ff jmp 801057dd <alltraps>
801063c6 <vector188>:
801063c6: 6a 00 push $0x0
801063c8: 68 bc 00 00 00 push $0xbc
801063cd: e9 0b f4 ff ff jmp 801057dd <alltraps>
801063d2 <vector189>:
801063d2: 6a 00 push $0x0
801063d4: 68 bd 00 00 00 push $0xbd
801063d9: e9 ff f3 ff ff jmp 801057dd <alltraps>
801063de <vector190>:
801063de: 6a 00 push $0x0
801063e0: 68 be 00 00 00 push $0xbe
801063e5: e9 f3 f3 ff ff jmp 801057dd <alltraps>
801063ea <vector191>:
801063ea: 6a 00 push $0x0
801063ec: 68 bf 00 00 00 push $0xbf
801063f1: e9 e7 f3 ff ff jmp 801057dd <alltraps>
801063f6 <vector192>:
801063f6: 6a 00 push $0x0
801063f8: 68 c0 00 00 00 push $0xc0
801063fd: e9 db f3 ff ff jmp 801057dd <alltraps>
80106402 <vector193>:
80106402: 6a 00 push $0x0
80106404: 68 c1 00 00 00 push $0xc1
80106409: e9 cf f3 ff ff jmp 801057dd <alltraps>
8010640e <vector194>:
8010640e: 6a 00 push $0x0
80106410: 68 c2 00 00 00 push $0xc2
80106415: e9 c3 f3 ff ff jmp 801057dd <alltraps>
8010641a <vector195>:
8010641a: 6a 00 push $0x0
8010641c: 68 c3 00 00 00 push $0xc3
80106421: e9 b7 f3 ff ff jmp 801057dd <alltraps>
80106426 <vector196>:
80106426: 6a 00 push $0x0
80106428: 68 c4 00 00 00 push $0xc4
8010642d: e9 ab f3 ff ff jmp 801057dd <alltraps>
80106432 <vector197>:
80106432: 6a 00 push $0x0
80106434: 68 c5 00 00 00 push $0xc5
80106439: e9 9f f3 ff ff jmp 801057dd <alltraps>
8010643e <vector198>:
8010643e: 6a 00 push $0x0
80106440: 68 c6 00 00 00 push $0xc6
80106445: e9 93 f3 ff ff jmp 801057dd <alltraps>
8010644a <vector199>:
8010644a: 6a 00 push $0x0
8010644c: 68 c7 00 00 00 push $0xc7
80106451: e9 87 f3 ff ff jmp 801057dd <alltraps>
80106456 <vector200>:
80106456: 6a 00 push $0x0
80106458: 68 c8 00 00 00 push $0xc8
8010645d: e9 7b f3 ff ff jmp 801057dd <alltraps>
80106462 <vector201>:
80106462: 6a 00 push $0x0
80106464: 68 c9 00 00 00 push $0xc9
80106469: e9 6f f3 ff ff jmp 801057dd <alltraps>
8010646e <vector202>:
8010646e: 6a 00 push $0x0
80106470: 68 ca 00 00 00 push $0xca
80106475: e9 63 f3 ff ff jmp 801057dd <alltraps>
8010647a <vector203>:
8010647a: 6a 00 push $0x0
8010647c: 68 cb 00 00 00 push $0xcb
80106481: e9 57 f3 ff ff jmp 801057dd <alltraps>
80106486 <vector204>:
80106486: 6a 00 push $0x0
80106488: 68 cc 00 00 00 push $0xcc
8010648d: e9 4b f3 ff ff jmp 801057dd <alltraps>
80106492 <vector205>:
80106492: 6a 00 push $0x0
80106494: 68 cd 00 00 00 push $0xcd
80106499: e9 3f f3 ff ff jmp 801057dd <alltraps>
8010649e <vector206>:
8010649e: 6a 00 push $0x0
801064a0: 68 ce 00 00 00 push $0xce
801064a5: e9 33 f3 ff ff jmp 801057dd <alltraps>
801064aa <vector207>:
801064aa: 6a 00 push $0x0
801064ac: 68 cf 00 00 00 push $0xcf
801064b1: e9 27 f3 ff ff jmp 801057dd <alltraps>
801064b6 <vector208>:
801064b6: 6a 00 push $0x0
801064b8: 68 d0 00 00 00 push $0xd0
801064bd: e9 1b f3 ff ff jmp 801057dd <alltraps>
801064c2 <vector209>:
801064c2: 6a 00 push $0x0
801064c4: 68 d1 00 00 00 push $0xd1
801064c9: e9 0f f3 ff ff jmp 801057dd <alltraps>
801064ce <vector210>:
801064ce: 6a 00 push $0x0
801064d0: 68 d2 00 00 00 push $0xd2
801064d5: e9 03 f3 ff ff jmp 801057dd <alltraps>
801064da <vector211>:
801064da: 6a 00 push $0x0
801064dc: 68 d3 00 00 00 push $0xd3
801064e1: e9 f7 f2 ff ff jmp 801057dd <alltraps>
801064e6 <vector212>:
801064e6: 6a 00 push $0x0
801064e8: 68 d4 00 00 00 push $0xd4
801064ed: e9 eb f2 ff ff jmp 801057dd <alltraps>
801064f2 <vector213>:
801064f2: 6a 00 push $0x0
801064f4: 68 d5 00 00 00 push $0xd5
801064f9: e9 df f2 ff ff jmp 801057dd <alltraps>
801064fe <vector214>:
801064fe: 6a 00 push $0x0
80106500: 68 d6 00 00 00 push $0xd6
80106505: e9 d3 f2 ff ff jmp 801057dd <alltraps>
8010650a <vector215>:
8010650a: 6a 00 push $0x0
8010650c: 68 d7 00 00 00 push $0xd7
80106511: e9 c7 f2 ff ff jmp 801057dd <alltraps>
80106516 <vector216>:
80106516: 6a 00 push $0x0
80106518: 68 d8 00 00 00 push $0xd8
8010651d: e9 bb f2 ff ff jmp 801057dd <alltraps>
80106522 <vector217>:
80106522: 6a 00 push $0x0
80106524: 68 d9 00 00 00 push $0xd9
80106529: e9 af f2 ff ff jmp 801057dd <alltraps>
8010652e <vector218>:
8010652e: 6a 00 push $0x0
80106530: 68 da 00 00 00 push $0xda
80106535: e9 a3 f2 ff ff jmp 801057dd <alltraps>
8010653a <vector219>:
8010653a: 6a 00 push $0x0
8010653c: 68 db 00 00 00 push $0xdb
80106541: e9 97 f2 ff ff jmp 801057dd <alltraps>
80106546 <vector220>:
80106546: 6a 00 push $0x0
80106548: 68 dc 00 00 00 push $0xdc
8010654d: e9 8b f2 ff ff jmp 801057dd <alltraps>
80106552 <vector221>:
80106552: 6a 00 push $0x0
80106554: 68 dd 00 00 00 push $0xdd
80106559: e9 7f f2 ff ff jmp 801057dd <alltraps>
8010655e <vector222>:
8010655e: 6a 00 push $0x0
80106560: 68 de 00 00 00 push $0xde
80106565: e9 73 f2 ff ff jmp 801057dd <alltraps>
8010656a <vector223>:
8010656a: 6a 00 push $0x0
8010656c: 68 df 00 00 00 push $0xdf
80106571: e9 67 f2 ff ff jmp 801057dd <alltraps>
80106576 <vector224>:
80106576: 6a 00 push $0x0
80106578: 68 e0 00 00 00 push $0xe0
8010657d: e9 5b f2 ff ff jmp 801057dd <alltraps>
80106582 <vector225>:
80106582: 6a 00 push $0x0
80106584: 68 e1 00 00 00 push $0xe1
80106589: e9 4f f2 ff ff jmp 801057dd <alltraps>
8010658e <vector226>:
8010658e: 6a 00 push $0x0
80106590: 68 e2 00 00 00 push $0xe2
80106595: e9 43 f2 ff ff jmp 801057dd <alltraps>
8010659a <vector227>:
8010659a: 6a 00 push $0x0
8010659c: 68 e3 00 00 00 push $0xe3
801065a1: e9 37 f2 ff ff jmp 801057dd <alltraps>
801065a6 <vector228>:
801065a6: 6a 00 push $0x0
801065a8: 68 e4 00 00 00 push $0xe4
801065ad: e9 2b f2 ff ff jmp 801057dd <alltraps>
801065b2 <vector229>:
801065b2: 6a 00 push $0x0
801065b4: 68 e5 00 00 00 push $0xe5
801065b9: e9 1f f2 ff ff jmp 801057dd <alltraps>
801065be <vector230>:
801065be: 6a 00 push $0x0
801065c0: 68 e6 00 00 00 push $0xe6
801065c5: e9 13 f2 ff ff jmp 801057dd <alltraps>
801065ca <vector231>:
801065ca: 6a 00 push $0x0
801065cc: 68 e7 00 00 00 push $0xe7
801065d1: e9 07 f2 ff ff jmp 801057dd <alltraps>
801065d6 <vector232>:
801065d6: 6a 00 push $0x0
801065d8: 68 e8 00 00 00 push $0xe8
801065dd: e9 fb f1 ff ff jmp 801057dd <alltraps>
801065e2 <vector233>:
801065e2: 6a 00 push $0x0
801065e4: 68 e9 00 00 00 push $0xe9
801065e9: e9 ef f1 ff ff jmp 801057dd <alltraps>
801065ee <vector234>:
801065ee: 6a 00 push $0x0
801065f0: 68 ea 00 00 00 push $0xea
801065f5: e9 e3 f1 ff ff jmp 801057dd <alltraps>
801065fa <vector235>:
801065fa: 6a 00 push $0x0
801065fc: 68 eb 00 00 00 push $0xeb
80106601: e9 d7 f1 ff ff jmp 801057dd <alltraps>
80106606 <vector236>:
80106606: 6a 00 push $0x0
80106608: 68 ec 00 00 00 push $0xec
8010660d: e9 cb f1 ff ff jmp 801057dd <alltraps>
80106612 <vector237>:
80106612: 6a 00 push $0x0
80106614: 68 ed 00 00 00 push $0xed
80106619: e9 bf f1 ff ff jmp 801057dd <alltraps>
8010661e <vector238>:
8010661e: 6a 00 push $0x0
80106620: 68 ee 00 00 00 push $0xee
80106625: e9 b3 f1 ff ff jmp 801057dd <alltraps>
8010662a <vector239>:
8010662a: 6a 00 push $0x0
8010662c: 68 ef 00 00 00 push $0xef
80106631: e9 a7 f1 ff ff jmp 801057dd <alltraps>
80106636 <vector240>:
80106636: 6a 00 push $0x0
80106638: 68 f0 00 00 00 push $0xf0
8010663d: e9 9b f1 ff ff jmp 801057dd <alltraps>
80106642 <vector241>:
80106642: 6a 00 push $0x0
80106644: 68 f1 00 00 00 push $0xf1
80106649: e9 8f f1 ff ff jmp 801057dd <alltraps>
8010664e <vector242>:
8010664e: 6a 00 push $0x0
80106650: 68 f2 00 00 00 push $0xf2
80106655: e9 83 f1 ff ff jmp 801057dd <alltraps>
8010665a <vector243>:
8010665a: 6a 00 push $0x0
8010665c: 68 f3 00 00 00 push $0xf3
80106661: e9 77 f1 ff ff jmp 801057dd <alltraps>
80106666 <vector244>:
80106666: 6a 00 push $0x0
80106668: 68 f4 00 00 00 push $0xf4
8010666d: e9 6b f1 ff ff jmp 801057dd <alltraps>
80106672 <vector245>:
80106672: 6a 00 push $0x0
80106674: 68 f5 00 00 00 push $0xf5
80106679: e9 5f f1 ff ff jmp 801057dd <alltraps>
8010667e <vector246>:
8010667e: 6a 00 push $0x0
80106680: 68 f6 00 00 00 push $0xf6
80106685: e9 53 f1 ff ff jmp 801057dd <alltraps>
8010668a <vector247>:
8010668a: 6a 00 push $0x0
8010668c: 68 f7 00 00 00 push $0xf7
80106691: e9 47 f1 ff ff jmp 801057dd <alltraps>
80106696 <vector248>:
80106696: 6a 00 push $0x0
80106698: 68 f8 00 00 00 push $0xf8
8010669d: e9 3b f1 ff ff jmp 801057dd <alltraps>
801066a2 <vector249>:
801066a2: 6a 00 push $0x0
801066a4: 68 f9 00 00 00 push $0xf9
801066a9: e9 2f f1 ff ff jmp 801057dd <alltraps>
801066ae <vector250>:
801066ae: 6a 00 push $0x0
801066b0: 68 fa 00 00 00 push $0xfa
801066b5: e9 23 f1 ff ff jmp 801057dd <alltraps>
801066ba <vector251>:
801066ba: 6a 00 push $0x0
801066bc: 68 fb 00 00 00 push $0xfb
801066c1: e9 17 f1 ff ff jmp 801057dd <alltraps>
801066c6 <vector252>:
801066c6: 6a 00 push $0x0
801066c8: 68 fc 00 00 00 push $0xfc
801066cd: e9 0b f1 ff ff jmp 801057dd <alltraps>
801066d2 <vector253>:
801066d2: 6a 00 push $0x0
801066d4: 68 fd 00 00 00 push $0xfd
801066d9: e9 ff f0 ff ff jmp 801057dd <alltraps>
801066de <vector254>:
801066de: 6a 00 push $0x0
801066e0: 68 fe 00 00 00 push $0xfe
801066e5: e9 f3 f0 ff ff jmp 801057dd <alltraps>
801066ea <vector255>:
801066ea: 6a 00 push $0x0
801066ec: 68 ff 00 00 00 push $0xff
801066f1: e9 e7 f0 ff ff jmp 801057dd <alltraps>
801066f6: 66 90 xchg %ax,%ax
801066f8: 66 90 xchg %ax,%ax
801066fa: 66 90 xchg %ax,%ax
801066fc: 66 90 xchg %ax,%ax
801066fe: 66 90 xchg %ax,%ax
80106700 <walkpgdir>:
80106700: 55 push %ebp
80106701: 89 e5 mov %esp,%ebp
80106703: 57 push %edi
80106704: 56 push %esi
80106705: 89 d6 mov %edx,%esi
80106707: c1 ea 16 shr $0x16,%edx
8010670a: 53 push %ebx
8010670b: 8d 3c 90 lea (%eax,%edx,4),%edi
8010670e: 83 ec 1c sub $0x1c,%esp
80106711: 8b 1f mov (%edi),%ebx
80106713: f6 c3 01 test $0x1,%bl
80106716: 74 28 je 80106740 <walkpgdir+0x40>
80106718: 81 e3 00 f0 ff ff and $0xfffff000,%ebx
8010671e: 81 c3 00 00 00 80 add $0x80000000,%ebx
80106724: c1 ee 0a shr $0xa,%esi
80106727: 83 c4 1c add $0x1c,%esp
8010672a: 89 f2 mov %esi,%edx
8010672c: 81 e2 fc 0f 00 00 and $0xffc,%edx
80106732: 8d 04 13 lea (%ebx,%edx,1),%eax
80106735: 5b pop %ebx
80106736: 5e pop %esi
80106737: 5f pop %edi
80106738: 5d pop %ebp
80106739: c3 ret
8010673a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106740: 85 c9 test %ecx,%ecx
80106742: 74 34 je 80106778 <walkpgdir+0x78>
80106744: e8 57 bd ff ff call 801024a0 <kalloc>
80106749: 85 c0 test %eax,%eax
8010674b: 89 c3 mov %eax,%ebx
8010674d: 74 29 je 80106778 <walkpgdir+0x78>
8010674f: c7 44 24 08 00 10 00 movl $0x1000,0x8(%esp)
80106756: 00
80106757: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
8010675e: 00
8010675f: 89 04 24 mov %eax,(%esp)
80106762: e8 29 de ff ff call 80104590 <memset>
80106767: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax
8010676d: 83 c8 07 or $0x7,%eax
80106770: 89 07 mov %eax,(%edi)
80106772: eb b0 jmp 80106724 <walkpgdir+0x24>
80106774: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106778: 83 c4 1c add $0x1c,%esp
8010677b: 31 c0 xor %eax,%eax
8010677d: 5b pop %ebx
8010677e: 5e pop %esi
8010677f: 5f pop %edi
80106780: 5d pop %ebp
80106781: c3 ret
80106782: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80106789: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80106790 <mappages>:
80106790: 55 push %ebp
80106791: 89 e5 mov %esp,%ebp
80106793: 57 push %edi
80106794: 56 push %esi
80106795: 53 push %ebx
80106796: 89 d3 mov %edx,%ebx
80106798: 83 ec 1c sub $0x1c,%esp
8010679b: 8b 7d 08 mov 0x8(%ebp),%edi
8010679e: 81 e3 00 f0 ff ff and $0xfffff000,%ebx
801067a4: 89 45 e0 mov %eax,-0x20(%ebp)
801067a7: 8d 44 0a ff lea -0x1(%edx,%ecx,1),%eax
801067ab: 89 45 e4 mov %eax,-0x1c(%ebp)
801067ae: 83 4d 0c 01 orl $0x1,0xc(%ebp)
801067b2: 81 65 e4 00 f0 ff ff andl $0xfffff000,-0x1c(%ebp)
801067b9: 29 df sub %ebx,%edi
801067bb: eb 18 jmp 801067d5 <mappages+0x45>
801067bd: 8d 76 00 lea 0x0(%esi),%esi
801067c0: f6 00 01 testb $0x1,(%eax)
801067c3: 75 3d jne 80106802 <mappages+0x72>
801067c5: 0b 75 0c or 0xc(%ebp),%esi
801067c8: 3b 5d e4 cmp -0x1c(%ebp),%ebx
801067cb: 89 30 mov %esi,(%eax)
801067cd: 74 29 je 801067f8 <mappages+0x68>
801067cf: 81 c3 00 10 00 00 add $0x1000,%ebx
801067d5: 8b 45 e0 mov -0x20(%ebp),%eax
801067d8: b9 01 00 00 00 mov $0x1,%ecx
801067dd: 89 da mov %ebx,%edx
801067df: 8d 34 3b lea (%ebx,%edi,1),%esi
801067e2: e8 19 ff ff ff call 80106700 <walkpgdir>
801067e7: 85 c0 test %eax,%eax
801067e9: 75 d5 jne 801067c0 <mappages+0x30>
801067eb: 83 c4 1c add $0x1c,%esp
801067ee: b8 ff ff ff ff mov $0xffffffff,%eax
801067f3: 5b pop %ebx
801067f4: 5e pop %esi
801067f5: 5f pop %edi
801067f6: 5d pop %ebp
801067f7: c3 ret
801067f8: 83 c4 1c add $0x1c,%esp
801067fb: 31 c0 xor %eax,%eax
801067fd: 5b pop %ebx
801067fe: 5e pop %esi
801067ff: 5f pop %edi
80106800: 5d pop %ebp
80106801: c3 ret
80106802: c7 04 24 54 79 10 80 movl $0x80107954,(%esp)
80106809: e8 52 9b ff ff call 80100360 <panic>
8010680e: 66 90 xchg %ax,%ax
80106810 <deallocuvm.part.0>:
80106810: 55 push %ebp
80106811: 89 e5 mov %esp,%ebp
80106813: 57 push %edi
80106814: 89 c7 mov %eax,%edi
80106816: 56 push %esi
80106817: 89 d6 mov %edx,%esi
80106819: 53 push %ebx
8010681a: 8d 99 ff 0f 00 00 lea 0xfff(%ecx),%ebx
80106820: 83 ec 1c sub $0x1c,%esp
80106823: 81 e3 00 f0 ff ff and $0xfffff000,%ebx
80106829: 39 d3 cmp %edx,%ebx
8010682b: 89 4d e0 mov %ecx,-0x20(%ebp)
8010682e: 72 3b jb 8010686b <deallocuvm.part.0+0x5b>
80106830: eb 5e jmp 80106890 <deallocuvm.part.0+0x80>
80106832: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106838: 8b 10 mov (%eax),%edx
8010683a: f6 c2 01 test $0x1,%dl
8010683d: 74 22 je 80106861 <deallocuvm.part.0+0x51>
8010683f: 81 e2 00 f0 ff ff and $0xfffff000,%edx
80106845: 74 54 je 8010689b <deallocuvm.part.0+0x8b>
80106847: 81 c2 00 00 00 80 add $0x80000000,%edx
8010684d: 89 14 24 mov %edx,(%esp)
80106850: 89 45 e4 mov %eax,-0x1c(%ebp)
80106853: e8 98 ba ff ff call 801022f0 <kfree>
80106858: 8b 45 e4 mov -0x1c(%ebp),%eax
8010685b: c7 00 00 00 00 00 movl $0x0,(%eax)
80106861: 81 c3 00 10 00 00 add $0x1000,%ebx
80106867: 39 f3 cmp %esi,%ebx
80106869: 73 25 jae 80106890 <deallocuvm.part.0+0x80>
8010686b: 31 c9 xor %ecx,%ecx
8010686d: 89 da mov %ebx,%edx
8010686f: 89 f8 mov %edi,%eax
80106871: e8 8a fe ff ff call 80106700 <walkpgdir>
80106876: 85 c0 test %eax,%eax
80106878: 75 be jne 80106838 <deallocuvm.part.0+0x28>
8010687a: 81 e3 00 00 c0 ff and $0xffc00000,%ebx
80106880: 81 c3 00 f0 3f 00 add $0x3ff000,%ebx
80106886: 81 c3 00 10 00 00 add $0x1000,%ebx
8010688c: 39 f3 cmp %esi,%ebx
8010688e: 72 db jb 8010686b <deallocuvm.part.0+0x5b>
80106890: 8b 45 e0 mov -0x20(%ebp),%eax
80106893: 83 c4 1c add $0x1c,%esp
80106896: 5b pop %ebx
80106897: 5e pop %esi
80106898: 5f pop %edi
80106899: 5d pop %ebp
8010689a: c3 ret
8010689b: c7 04 24 86 72 10 80 movl $0x80107286,(%esp)
801068a2: e8 b9 9a ff ff call 80100360 <panic>
801068a7: 89 f6 mov %esi,%esi
801068a9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
801068b0 <seginit>:
801068b0: 55 push %ebp
801068b1: 89 e5 mov %esp,%ebp
801068b3: 83 ec 18 sub $0x18,%esp
801068b6: e8 15 ce ff ff call 801036d0 <cpuid>
801068bb: 31 c9 xor %ecx,%ecx
801068bd: ba ff ff ff ff mov $0xffffffff,%edx
801068c2: 69 c0 b0 00 00 00 imul $0xb0,%eax,%eax
801068c8: 05 80 27 11 80 add $0x80112780,%eax
801068cd: 66 89 50 78 mov %dx,0x78(%eax)
801068d1: ba ff ff ff ff mov $0xffffffff,%edx
801068d6: 83 c0 70 add $0x70,%eax
801068d9: 66 89 48 0a mov %cx,0xa(%eax)
801068dd: 31 c9 xor %ecx,%ecx
801068df: 66 89 50 10 mov %dx,0x10(%eax)
801068e3: ba ff ff ff ff mov $0xffffffff,%edx
801068e8: 66 89 48 12 mov %cx,0x12(%eax)
801068ec: 31 c9 xor %ecx,%ecx
801068ee: 66 89 50 18 mov %dx,0x18(%eax)
801068f2: ba ff ff ff ff mov $0xffffffff,%edx
801068f7: 66 89 48 1a mov %cx,0x1a(%eax)
801068fb: 31 c9 xor %ecx,%ecx
801068fd: c6 40 0d 9a movb $0x9a,0xd(%eax)
80106901: c6 40 0e cf movb $0xcf,0xe(%eax)
80106905: c6 40 15 92 movb $0x92,0x15(%eax)
80106909: c6 40 16 cf movb $0xcf,0x16(%eax)
8010690d: c6 40 1d fa movb $0xfa,0x1d(%eax)
80106911: c6 40 1e cf movb $0xcf,0x1e(%eax)
80106915: c6 40 25 f2 movb $0xf2,0x25(%eax)
80106919: c6 40 26 cf movb $0xcf,0x26(%eax)
8010691d: 66 89 50 20 mov %dx,0x20(%eax)
80106921: ba 2f 00 00 00 mov $0x2f,%edx
80106926: c6 40 0c 00 movb $0x0,0xc(%eax)
8010692a: c6 40 0f 00 movb $0x0,0xf(%eax)
8010692e: c6 40 14 00 movb $0x0,0x14(%eax)
80106932: c6 40 17 00 movb $0x0,0x17(%eax)
80106936: c6 40 1c 00 movb $0x0,0x1c(%eax)
8010693a: c6 40 1f 00 movb $0x0,0x1f(%eax)
8010693e: 66 89 48 22 mov %cx,0x22(%eax)
80106942: c6 40 24 00 movb $0x0,0x24(%eax)
80106946: c6 40 27 00 movb $0x0,0x27(%eax)
8010694a: 66 89 55 f2 mov %dx,-0xe(%ebp)
8010694e: 66 89 45 f4 mov %ax,-0xc(%ebp)
80106952: c1 e8 10 shr $0x10,%eax
80106955: 66 89 45 f6 mov %ax,-0xa(%ebp)
80106959: 8d 45 f2 lea -0xe(%ebp),%eax
8010695c: 0f 01 10 lgdtl (%eax)
8010695f: c9 leave
80106960: c3 ret
80106961: eb 0d jmp 80106970 <switchkvm>
80106963: 90 nop
80106964: 90 nop
80106965: 90 nop
80106966: 90 nop
80106967: 90 nop
80106968: 90 nop
80106969: 90 nop
8010696a: 90 nop
8010696b: 90 nop
8010696c: 90 nop
8010696d: 90 nop
8010696e: 90 nop
8010696f: 90 nop
80106970 <switchkvm>:
80106970: a1 a4 58 11 80 mov 0x801158a4,%eax
80106975: 55 push %ebp
80106976: 89 e5 mov %esp,%ebp
80106978: 05 00 00 00 80 add $0x80000000,%eax
8010697d: 0f 22 d8 mov %eax,%cr3
80106980: 5d pop %ebp
80106981: c3 ret
80106982: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80106989: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80106990 <switchuvm>:
80106990: 55 push %ebp
80106991: 89 e5 mov %esp,%ebp
80106993: 57 push %edi
80106994: 56 push %esi
80106995: 53 push %ebx
80106996: 83 ec 1c sub $0x1c,%esp
80106999: 8b 75 08 mov 0x8(%ebp),%esi
8010699c: 85 f6 test %esi,%esi
8010699e: 0f 84 cd 00 00 00 je 80106a71 <switchuvm+0xe1>
801069a4: 8b 46 08 mov 0x8(%esi),%eax
801069a7: 85 c0 test %eax,%eax
801069a9: 0f 84 da 00 00 00 je 80106a89 <switchuvm+0xf9>
801069af: 8b 7e 04 mov 0x4(%esi),%edi
801069b2: 85 ff test %edi,%edi
801069b4: 0f 84 c3 00 00 00 je 80106a7d <switchuvm+0xed>
801069ba: e8 21 da ff ff call 801043e0 <pushcli>
801069bf: e8 8c cc ff ff call 80103650 <mycpu>
801069c4: 89 c3 mov %eax,%ebx
801069c6: e8 85 cc ff ff call 80103650 <mycpu>
801069cb: 89 c7 mov %eax,%edi
801069cd: e8 7e cc ff ff call 80103650 <mycpu>
801069d2: 83 c7 08 add $0x8,%edi
801069d5: 89 45 e4 mov %eax,-0x1c(%ebp)
801069d8: e8 73 cc ff ff call 80103650 <mycpu>
801069dd: 8b 4d e4 mov -0x1c(%ebp),%ecx
801069e0: ba 67 00 00 00 mov $0x67,%edx
801069e5: 66 89 93 98 00 00 00 mov %dx,0x98(%ebx)
801069ec: 66 89 bb 9a 00 00 00 mov %di,0x9a(%ebx)
801069f3: c6 83 9d 00 00 00 99 movb $0x99,0x9d(%ebx)
801069fa: 83 c1 08 add $0x8,%ecx
801069fd: c1 e9 10 shr $0x10,%ecx
80106a00: 83 c0 08 add $0x8,%eax
80106a03: c1 e8 18 shr $0x18,%eax
80106a06: 88 8b 9c 00 00 00 mov %cl,0x9c(%ebx)
80106a0c: c6 83 9e 00 00 00 40 movb $0x40,0x9e(%ebx)
80106a13: 88 83 9f 00 00 00 mov %al,0x9f(%ebx)
80106a19: bb ff ff ff ff mov $0xffffffff,%ebx
80106a1e: e8 2d cc ff ff call 80103650 <mycpu>
80106a23: 80 a0 9d 00 00 00 ef andb $0xef,0x9d(%eax)
80106a2a: e8 21 cc ff ff call 80103650 <mycpu>
80106a2f: b9 10 00 00 00 mov $0x10,%ecx
80106a34: 66 89 48 10 mov %cx,0x10(%eax)
80106a38: e8 13 cc ff ff call 80103650 <mycpu>
80106a3d: 8b 56 08 mov 0x8(%esi),%edx
80106a40: 8d 8a 00 10 00 00 lea 0x1000(%edx),%ecx
80106a46: 89 48 0c mov %ecx,0xc(%eax)
80106a49: e8 02 cc ff ff call 80103650 <mycpu>
80106a4e: 66 89 58 6e mov %bx,0x6e(%eax)
80106a52: b8 28 00 00 00 mov $0x28,%eax
80106a57: 0f 00 d8 ltr %ax
80106a5a: 8b 46 04 mov 0x4(%esi),%eax
80106a5d: 05 00 00 00 80 add $0x80000000,%eax
80106a62: 0f 22 d8 mov %eax,%cr3
80106a65: 83 c4 1c add $0x1c,%esp
80106a68: 5b pop %ebx
80106a69: 5e pop %esi
80106a6a: 5f pop %edi
80106a6b: 5d pop %ebp
80106a6c: e9 af d9 ff ff jmp 80104420 <popcli>
80106a71: c7 04 24 5a 79 10 80 movl $0x8010795a,(%esp)
80106a78: e8 e3 98 ff ff call 80100360 <panic>
80106a7d: c7 04 24 85 79 10 80 movl $0x80107985,(%esp)
80106a84: e8 d7 98 ff ff call 80100360 <panic>
80106a89: c7 04 24 70 79 10 80 movl $0x80107970,(%esp)
80106a90: e8 cb 98 ff ff call 80100360 <panic>
80106a95: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106a99: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
80106aa0 <inituvm>:
80106aa0: 55 push %ebp
80106aa1: 89 e5 mov %esp,%ebp
80106aa3: 57 push %edi
80106aa4: 56 push %esi
80106aa5: 53 push %ebx
80106aa6: 83 ec 1c sub $0x1c,%esp
80106aa9: 8b 75 10 mov 0x10(%ebp),%esi
80106aac: 8b 45 08 mov 0x8(%ebp),%eax
80106aaf: 8b 7d 0c mov 0xc(%ebp),%edi
80106ab2: 81 fe ff 0f 00 00 cmp $0xfff,%esi
80106ab8: 89 45 e4 mov %eax,-0x1c(%ebp)
80106abb: 77 54 ja 80106b11 <inituvm+0x71>
80106abd: e8 de b9 ff ff call 801024a0 <kalloc>
80106ac2: c7 44 24 08 00 10 00 movl $0x1000,0x8(%esp)
80106ac9: 00
80106aca: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80106ad1: 00
80106ad2: 89 c3 mov %eax,%ebx
80106ad4: 89 04 24 mov %eax,(%esp)
80106ad7: e8 b4 da ff ff call 80104590 <memset>
80106adc: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax
80106ae2: b9 00 10 00 00 mov $0x1000,%ecx
80106ae7: 89 04 24 mov %eax,(%esp)
80106aea: 8b 45 e4 mov -0x1c(%ebp),%eax
80106aed: 31 d2 xor %edx,%edx
80106aef: c7 44 24 04 06 00 00 movl $0x6,0x4(%esp)
80106af6: 00
80106af7: e8 94 fc ff ff call 80106790 <mappages>
80106afc: 89 75 10 mov %esi,0x10(%ebp)
80106aff: 89 7d 0c mov %edi,0xc(%ebp)
80106b02: 89 5d 08 mov %ebx,0x8(%ebp)
80106b05: 83 c4 1c add $0x1c,%esp
80106b08: 5b pop %ebx
80106b09: 5e pop %esi
80106b0a: 5f pop %edi
80106b0b: 5d pop %ebp
80106b0c: e9 1f db ff ff jmp 80104630 <memmove>
80106b11: c7 04 24 99 79 10 80 movl $0x80107999,(%esp)
80106b18: e8 43 98 ff ff call 80100360 <panic>
80106b1d: 8d 76 00 lea 0x0(%esi),%esi
80106b20 <loaduvm>:
80106b20: 55 push %ebp
80106b21: 89 e5 mov %esp,%ebp
80106b23: 57 push %edi
80106b24: 56 push %esi
80106b25: 53 push %ebx
80106b26: 83 ec 1c sub $0x1c,%esp
80106b29: f7 45 0c ff 0f 00 00 testl $0xfff,0xc(%ebp)
80106b30: 0f 85 98 00 00 00 jne 80106bce <loaduvm+0xae>
80106b36: 8b 75 18 mov 0x18(%ebp),%esi
80106b39: 31 db xor %ebx,%ebx
80106b3b: 85 f6 test %esi,%esi
80106b3d: 75 1a jne 80106b59 <loaduvm+0x39>
80106b3f: eb 77 jmp 80106bb8 <loaduvm+0x98>
80106b41: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80106b48: 81 c3 00 10 00 00 add $0x1000,%ebx
80106b4e: 81 ee 00 10 00 00 sub $0x1000,%esi
80106b54: 39 5d 18 cmp %ebx,0x18(%ebp)
80106b57: 76 5f jbe 80106bb8 <loaduvm+0x98>
80106b59: 8b 55 0c mov 0xc(%ebp),%edx
80106b5c: 31 c9 xor %ecx,%ecx
80106b5e: 8b 45 08 mov 0x8(%ebp),%eax
80106b61: 01 da add %ebx,%edx
80106b63: e8 98 fb ff ff call 80106700 <walkpgdir>
80106b68: 85 c0 test %eax,%eax
80106b6a: 74 56 je 80106bc2 <loaduvm+0xa2>
80106b6c: 8b 00 mov (%eax),%eax
80106b6e: bf 00 10 00 00 mov $0x1000,%edi
80106b73: 8b 4d 14 mov 0x14(%ebp),%ecx
80106b76: 25 00 f0 ff ff and $0xfffff000,%eax
80106b7b: 81 fe 00 10 00 00 cmp $0x1000,%esi
80106b81: 0f 42 fe cmovb %esi,%edi
80106b84: 05 00 00 00 80 add $0x80000000,%eax
80106b89: 89 44 24 04 mov %eax,0x4(%esp)
80106b8d: 8b 45 10 mov 0x10(%ebp),%eax
80106b90: 01 d9 add %ebx,%ecx
80106b92: 89 7c 24 0c mov %edi,0xc(%esp)
80106b96: 89 4c 24 08 mov %ecx,0x8(%esp)
80106b9a: 89 04 24 mov %eax,(%esp)
80106b9d: e8 be ad ff ff call 80101960 <readi>
80106ba2: 39 f8 cmp %edi,%eax
80106ba4: 74 a2 je 80106b48 <loaduvm+0x28>
80106ba6: 83 c4 1c add $0x1c,%esp
80106ba9: b8 ff ff ff ff mov $0xffffffff,%eax
80106bae: 5b pop %ebx
80106baf: 5e pop %esi
80106bb0: 5f pop %edi
80106bb1: 5d pop %ebp
80106bb2: c3 ret
80106bb3: 90 nop
80106bb4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106bb8: 83 c4 1c add $0x1c,%esp
80106bbb: 31 c0 xor %eax,%eax
80106bbd: 5b pop %ebx
80106bbe: 5e pop %esi
80106bbf: 5f pop %edi
80106bc0: 5d pop %ebp
80106bc1: c3 ret
80106bc2: c7 04 24 b3 79 10 80 movl $0x801079b3,(%esp)
80106bc9: e8 92 97 ff ff call 80100360 <panic>
80106bce: c7 04 24 54 7a 10 80 movl $0x80107a54,(%esp)
80106bd5: e8 86 97 ff ff call 80100360 <panic>
80106bda: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106be0 <allocuvm>:
80106be0: 55 push %ebp
80106be1: 89 e5 mov %esp,%ebp
80106be3: 57 push %edi
80106be4: 56 push %esi
80106be5: 53 push %ebx
80106be6: 83 ec 1c sub $0x1c,%esp
80106be9: 8b 7d 10 mov 0x10(%ebp),%edi
80106bec: 85 ff test %edi,%edi
80106bee: 0f 88 7e 00 00 00 js 80106c72 <allocuvm+0x92>
80106bf4: 3b 7d 0c cmp 0xc(%ebp),%edi
80106bf7: 8b 45 0c mov 0xc(%ebp),%eax
80106bfa: 72 78 jb 80106c74 <allocuvm+0x94>
80106bfc: 8d 98 ff 0f 00 00 lea 0xfff(%eax),%ebx
80106c02: 81 e3 00 f0 ff ff and $0xfffff000,%ebx
80106c08: 39 df cmp %ebx,%edi
80106c0a: 77 4a ja 80106c56 <allocuvm+0x76>
80106c0c: eb 72 jmp 80106c80 <allocuvm+0xa0>
80106c0e: 66 90 xchg %ax,%ax
80106c10: c7 44 24 08 00 10 00 movl $0x1000,0x8(%esp)
80106c17: 00
80106c18: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80106c1f: 00
80106c20: 89 04 24 mov %eax,(%esp)
80106c23: e8 68 d9 ff ff call 80104590 <memset>
80106c28: 8d 86 00 00 00 80 lea -0x80000000(%esi),%eax
80106c2e: b9 00 10 00 00 mov $0x1000,%ecx
80106c33: 89 04 24 mov %eax,(%esp)
80106c36: 8b 45 08 mov 0x8(%ebp),%eax
80106c39: 89 da mov %ebx,%edx
80106c3b: c7 44 24 04 06 00 00 movl $0x6,0x4(%esp)
80106c42: 00
80106c43: e8 48 fb ff ff call 80106790 <mappages>
80106c48: 85 c0 test %eax,%eax
80106c4a: 78 44 js 80106c90 <allocuvm+0xb0>
80106c4c: 81 c3 00 10 00 00 add $0x1000,%ebx
80106c52: 39 df cmp %ebx,%edi
80106c54: 76 2a jbe 80106c80 <allocuvm+0xa0>
80106c56: e8 45 b8 ff ff call 801024a0 <kalloc>
80106c5b: 85 c0 test %eax,%eax
80106c5d: 89 c6 mov %eax,%esi
80106c5f: 75 af jne 80106c10 <allocuvm+0x30>
80106c61: c7 04 24 d1 79 10 80 movl $0x801079d1,(%esp)
80106c68: e8 e3 99 ff ff call 80100650 <cprintf>
80106c6d: 3b 7d 0c cmp 0xc(%ebp),%edi
80106c70: 77 48 ja 80106cba <allocuvm+0xda>
80106c72: 31 c0 xor %eax,%eax
80106c74: 83 c4 1c add $0x1c,%esp
80106c77: 5b pop %ebx
80106c78: 5e pop %esi
80106c79: 5f pop %edi
80106c7a: 5d pop %ebp
80106c7b: c3 ret
80106c7c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106c80: 83 c4 1c add $0x1c,%esp
80106c83: 89 f8 mov %edi,%eax
80106c85: 5b pop %ebx
80106c86: 5e pop %esi
80106c87: 5f pop %edi
80106c88: 5d pop %ebp
80106c89: c3 ret
80106c8a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106c90: c7 04 24 e9 79 10 80 movl $0x801079e9,(%esp)
80106c97: e8 b4 99 ff ff call 80100650 <cprintf>
80106c9c: 3b 7d 0c cmp 0xc(%ebp),%edi
80106c9f: 76 0d jbe 80106cae <allocuvm+0xce>
80106ca1: 8b 4d 0c mov 0xc(%ebp),%ecx
80106ca4: 89 fa mov %edi,%edx
80106ca6: 8b 45 08 mov 0x8(%ebp),%eax
80106ca9: e8 62 fb ff ff call 80106810 <deallocuvm.part.0>
80106cae: 89 34 24 mov %esi,(%esp)
80106cb1: e8 3a b6 ff ff call 801022f0 <kfree>
80106cb6: 31 c0 xor %eax,%eax
80106cb8: eb ba jmp 80106c74 <allocuvm+0x94>
80106cba: 8b 4d 0c mov 0xc(%ebp),%ecx
80106cbd: 89 fa mov %edi,%edx
80106cbf: 8b 45 08 mov 0x8(%ebp),%eax
80106cc2: e8 49 fb ff ff call 80106810 <deallocuvm.part.0>
80106cc7: 31 c0 xor %eax,%eax
80106cc9: eb a9 jmp 80106c74 <allocuvm+0x94>
80106ccb: 90 nop
80106ccc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106cd0 <deallocuvm>:
80106cd0: 55 push %ebp
80106cd1: 89 e5 mov %esp,%ebp
80106cd3: 8b 55 0c mov 0xc(%ebp),%edx
80106cd6: 8b 4d 10 mov 0x10(%ebp),%ecx
80106cd9: 8b 45 08 mov 0x8(%ebp),%eax
80106cdc: 39 d1 cmp %edx,%ecx
80106cde: 73 08 jae 80106ce8 <deallocuvm+0x18>
80106ce0: 5d pop %ebp
80106ce1: e9 2a fb ff ff jmp 80106810 <deallocuvm.part.0>
80106ce6: 66 90 xchg %ax,%ax
80106ce8: 89 d0 mov %edx,%eax
80106cea: 5d pop %ebp
80106ceb: c3 ret
80106cec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106cf0 <freevm>:
80106cf0: 55 push %ebp
80106cf1: 89 e5 mov %esp,%ebp
80106cf3: 56 push %esi
80106cf4: 53 push %ebx
80106cf5: 83 ec 10 sub $0x10,%esp
80106cf8: 8b 75 08 mov 0x8(%ebp),%esi
80106cfb: 85 f6 test %esi,%esi
80106cfd: 74 59 je 80106d58 <freevm+0x68>
80106cff: 31 c9 xor %ecx,%ecx
80106d01: ba 00 00 00 80 mov $0x80000000,%edx
80106d06: 89 f0 mov %esi,%eax
80106d08: 31 db xor %ebx,%ebx
80106d0a: e8 01 fb ff ff call 80106810 <deallocuvm.part.0>
80106d0f: eb 12 jmp 80106d23 <freevm+0x33>
80106d11: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80106d18: 83 c3 01 add $0x1,%ebx
80106d1b: 81 fb 00 04 00 00 cmp $0x400,%ebx
80106d21: 74 27 je 80106d4a <freevm+0x5a>
80106d23: 8b 14 9e mov (%esi,%ebx,4),%edx
80106d26: f6 c2 01 test $0x1,%dl
80106d29: 74 ed je 80106d18 <freevm+0x28>
80106d2b: 81 e2 00 f0 ff ff and $0xfffff000,%edx
80106d31: 83 c3 01 add $0x1,%ebx
80106d34: 81 c2 00 00 00 80 add $0x80000000,%edx
80106d3a: 89 14 24 mov %edx,(%esp)
80106d3d: e8 ae b5 ff ff call 801022f0 <kfree>
80106d42: 81 fb 00 04 00 00 cmp $0x400,%ebx
80106d48: 75 d9 jne 80106d23 <freevm+0x33>
80106d4a: 89 75 08 mov %esi,0x8(%ebp)
80106d4d: 83 c4 10 add $0x10,%esp
80106d50: 5b pop %ebx
80106d51: 5e pop %esi
80106d52: 5d pop %ebp
80106d53: e9 98 b5 ff ff jmp 801022f0 <kfree>
80106d58: c7 04 24 05 7a 10 80 movl $0x80107a05,(%esp)
80106d5f: e8 fc 95 ff ff call 80100360 <panic>
80106d64: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106d6a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80106d70 <setupkvm>:
80106d70: 55 push %ebp
80106d71: 89 e5 mov %esp,%ebp
80106d73: 56 push %esi
80106d74: 53 push %ebx
80106d75: 83 ec 10 sub $0x10,%esp
80106d78: e8 23 b7 ff ff call 801024a0 <kalloc>
80106d7d: 85 c0 test %eax,%eax
80106d7f: 89 c6 mov %eax,%esi
80106d81: 74 6d je 80106df0 <setupkvm+0x80>
80106d83: c7 44 24 08 00 10 00 movl $0x1000,0x8(%esp)
80106d8a: 00
80106d8b: bb 20 a4 10 80 mov $0x8010a420,%ebx
80106d90: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
80106d97: 00
80106d98: 89 04 24 mov %eax,(%esp)
80106d9b: e8 f0 d7 ff ff call 80104590 <memset>
80106da0: 8b 53 0c mov 0xc(%ebx),%edx
80106da3: 8b 43 04 mov 0x4(%ebx),%eax
80106da6: 8b 4b 08 mov 0x8(%ebx),%ecx
80106da9: 89 54 24 04 mov %edx,0x4(%esp)
80106dad: 8b 13 mov (%ebx),%edx
80106daf: 89 04 24 mov %eax,(%esp)
80106db2: 29 c1 sub %eax,%ecx
80106db4: 89 f0 mov %esi,%eax
80106db6: e8 d5 f9 ff ff call 80106790 <mappages>
80106dbb: 85 c0 test %eax,%eax
80106dbd: 78 19 js 80106dd8 <setupkvm+0x68>
80106dbf: 83 c3 10 add $0x10,%ebx
80106dc2: 81 fb 60 a4 10 80 cmp $0x8010a460,%ebx
80106dc8: 72 d6 jb 80106da0 <setupkvm+0x30>
80106dca: 89 f0 mov %esi,%eax
80106dcc: 83 c4 10 add $0x10,%esp
80106dcf: 5b pop %ebx
80106dd0: 5e pop %esi
80106dd1: 5d pop %ebp
80106dd2: c3 ret
80106dd3: 90 nop
80106dd4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106dd8: 89 34 24 mov %esi,(%esp)
80106ddb: e8 10 ff ff ff call 80106cf0 <freevm>
80106de0: 83 c4 10 add $0x10,%esp
80106de3: 31 c0 xor %eax,%eax
80106de5: 5b pop %ebx
80106de6: 5e pop %esi
80106de7: 5d pop %ebp
80106de8: c3 ret
80106de9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80106df0: 31 c0 xor %eax,%eax
80106df2: eb d8 jmp 80106dcc <setupkvm+0x5c>
80106df4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106dfa: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80106e00 <kvmalloc>:
80106e00: 55 push %ebp
80106e01: 89 e5 mov %esp,%ebp
80106e03: 83 ec 08 sub $0x8,%esp
80106e06: e8 65 ff ff ff call 80106d70 <setupkvm>
80106e0b: a3 a4 58 11 80 mov %eax,0x801158a4
80106e10: 05 00 00 00 80 add $0x80000000,%eax
80106e15: 0f 22 d8 mov %eax,%cr3
80106e18: c9 leave
80106e19: c3 ret
80106e1a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106e20 <clearpteu>:
80106e20: 55 push %ebp
80106e21: 31 c9 xor %ecx,%ecx
80106e23: 89 e5 mov %esp,%ebp
80106e25: 83 ec 18 sub $0x18,%esp
80106e28: 8b 55 0c mov 0xc(%ebp),%edx
80106e2b: 8b 45 08 mov 0x8(%ebp),%eax
80106e2e: e8 cd f8 ff ff call 80106700 <walkpgdir>
80106e33: 85 c0 test %eax,%eax
80106e35: 74 05 je 80106e3c <clearpteu+0x1c>
80106e37: 83 20 fb andl $0xfffffffb,(%eax)
80106e3a: c9 leave
80106e3b: c3 ret
80106e3c: c7 04 24 16 7a 10 80 movl $0x80107a16,(%esp)
80106e43: e8 18 95 ff ff call 80100360 <panic>
80106e48: 90 nop
80106e49: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80106e50 <copyuvm>:
80106e50: 55 push %ebp
80106e51: 89 e5 mov %esp,%ebp
80106e53: 57 push %edi
80106e54: 56 push %esi
80106e55: 53 push %ebx
80106e56: 83 ec 2c sub $0x2c,%esp
80106e59: e8 12 ff ff ff call 80106d70 <setupkvm>
80106e5e: 85 c0 test %eax,%eax
80106e60: 89 45 e0 mov %eax,-0x20(%ebp)
80106e63: 0f 84 b9 00 00 00 je 80106f22 <copyuvm+0xd2>
80106e69: 8b 45 0c mov 0xc(%ebp),%eax
80106e6c: 85 c0 test %eax,%eax
80106e6e: 0f 84 94 00 00 00 je 80106f08 <copyuvm+0xb8>
80106e74: 31 ff xor %edi,%edi
80106e76: eb 48 jmp 80106ec0 <copyuvm+0x70>
80106e78: 81 c6 00 00 00 80 add $0x80000000,%esi
80106e7e: c7 44 24 08 00 10 00 movl $0x1000,0x8(%esp)
80106e85: 00
80106e86: 89 74 24 04 mov %esi,0x4(%esp)
80106e8a: 89 04 24 mov %eax,(%esp)
80106e8d: e8 9e d7 ff ff call 80104630 <memmove>
80106e92: 8b 45 e4 mov -0x1c(%ebp),%eax
80106e95: b9 00 10 00 00 mov $0x1000,%ecx
80106e9a: 89 fa mov %edi,%edx
80106e9c: 89 44 24 04 mov %eax,0x4(%esp)
80106ea0: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax
80106ea6: 89 04 24 mov %eax,(%esp)
80106ea9: 8b 45 e0 mov -0x20(%ebp),%eax
80106eac: e8 df f8 ff ff call 80106790 <mappages>
80106eb1: 85 c0 test %eax,%eax
80106eb3: 78 63 js 80106f18 <copyuvm+0xc8>
80106eb5: 81 c7 00 10 00 00 add $0x1000,%edi
80106ebb: 39 7d 0c cmp %edi,0xc(%ebp)
80106ebe: 76 48 jbe 80106f08 <copyuvm+0xb8>
80106ec0: 8b 45 08 mov 0x8(%ebp),%eax
80106ec3: 31 c9 xor %ecx,%ecx
80106ec5: 89 fa mov %edi,%edx
80106ec7: e8 34 f8 ff ff call 80106700 <walkpgdir>
80106ecc: 85 c0 test %eax,%eax
80106ece: 74 62 je 80106f32 <copyuvm+0xe2>
80106ed0: 8b 00 mov (%eax),%eax
80106ed2: a8 01 test $0x1,%al
80106ed4: 74 50 je 80106f26 <copyuvm+0xd6>
80106ed6: 89 c6 mov %eax,%esi
80106ed8: 25 ff 0f 00 00 and $0xfff,%eax
80106edd: 89 45 e4 mov %eax,-0x1c(%ebp)
80106ee0: 81 e6 00 f0 ff ff and $0xfffff000,%esi
80106ee6: e8 b5 b5 ff ff call 801024a0 <kalloc>
80106eeb: 85 c0 test %eax,%eax
80106eed: 89 c3 mov %eax,%ebx
80106eef: 75 87 jne 80106e78 <copyuvm+0x28>
80106ef1: 8b 45 e0 mov -0x20(%ebp),%eax
80106ef4: 89 04 24 mov %eax,(%esp)
80106ef7: e8 f4 fd ff ff call 80106cf0 <freevm>
80106efc: 31 c0 xor %eax,%eax
80106efe: 83 c4 2c add $0x2c,%esp
80106f01: 5b pop %ebx
80106f02: 5e pop %esi
80106f03: 5f pop %edi
80106f04: 5d pop %ebp
80106f05: c3 ret
80106f06: 66 90 xchg %ax,%ax
80106f08: 8b 45 e0 mov -0x20(%ebp),%eax
80106f0b: 83 c4 2c add $0x2c,%esp
80106f0e: 5b pop %ebx
80106f0f: 5e pop %esi
80106f10: 5f pop %edi
80106f11: 5d pop %ebp
80106f12: c3 ret
80106f13: 90 nop
80106f14: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106f18: 89 1c 24 mov %ebx,(%esp)
80106f1b: e8 d0 b3 ff ff call 801022f0 <kfree>
80106f20: eb cf jmp 80106ef1 <copyuvm+0xa1>
80106f22: 31 c0 xor %eax,%eax
80106f24: eb d8 jmp 80106efe <copyuvm+0xae>
80106f26: c7 04 24 3a 7a 10 80 movl $0x80107a3a,(%esp)
80106f2d: e8 2e 94 ff ff call 80100360 <panic>
80106f32: c7 04 24 20 7a 10 80 movl $0x80107a20,(%esp)
80106f39: e8 22 94 ff ff call 80100360 <panic>
80106f3e: 66 90 xchg %ax,%ax
80106f40 <uva2ka>:
80106f40: 55 push %ebp
80106f41: 31 c9 xor %ecx,%ecx
80106f43: 89 e5 mov %esp,%ebp
80106f45: 83 ec 08 sub $0x8,%esp
80106f48: 8b 55 0c mov 0xc(%ebp),%edx
80106f4b: 8b 45 08 mov 0x8(%ebp),%eax
80106f4e: e8 ad f7 ff ff call 80106700 <walkpgdir>
80106f53: 8b 00 mov (%eax),%eax
80106f55: 89 c2 mov %eax,%edx
80106f57: 83 e2 05 and $0x5,%edx
80106f5a: 83 fa 05 cmp $0x5,%edx
80106f5d: 75 11 jne 80106f70 <uva2ka+0x30>
80106f5f: 25 00 f0 ff ff and $0xfffff000,%eax
80106f64: 05 00 00 00 80 add $0x80000000,%eax
80106f69: c9 leave
80106f6a: c3 ret
80106f6b: 90 nop
80106f6c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80106f70: 31 c0 xor %eax,%eax
80106f72: c9 leave
80106f73: c3 ret
80106f74: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80106f7a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
80106f80 <copyout>:
80106f80: 55 push %ebp
80106f81: 89 e5 mov %esp,%ebp
80106f83: 57 push %edi
80106f84: 56 push %esi
80106f85: 53 push %ebx
80106f86: 83 ec 1c sub $0x1c,%esp
80106f89: 8b 5d 14 mov 0x14(%ebp),%ebx
80106f8c: 8b 4d 0c mov 0xc(%ebp),%ecx
80106f8f: 8b 7d 10 mov 0x10(%ebp),%edi
80106f92: 85 db test %ebx,%ebx
80106f94: 75 3a jne 80106fd0 <copyout+0x50>
80106f96: eb 68 jmp 80107000 <copyout+0x80>
80106f98: 8b 4d e4 mov -0x1c(%ebp),%ecx
80106f9b: 89 f2 mov %esi,%edx
80106f9d: 89 7c 24 04 mov %edi,0x4(%esp)
80106fa1: 29 ca sub %ecx,%edx
80106fa3: 81 c2 00 10 00 00 add $0x1000,%edx
80106fa9: 39 da cmp %ebx,%edx
80106fab: 0f 47 d3 cmova %ebx,%edx
80106fae: 29 f1 sub %esi,%ecx
80106fb0: 01 c8 add %ecx,%eax
80106fb2: 89 54 24 08 mov %edx,0x8(%esp)
80106fb6: 89 04 24 mov %eax,(%esp)
80106fb9: 89 55 e4 mov %edx,-0x1c(%ebp)
80106fbc: e8 6f d6 ff ff call 80104630 <memmove>
80106fc1: 8b 55 e4 mov -0x1c(%ebp),%edx
80106fc4: 8d 8e 00 10 00 00 lea 0x1000(%esi),%ecx
80106fca: 01 d7 add %edx,%edi
80106fcc: 29 d3 sub %edx,%ebx
80106fce: 74 30 je 80107000 <copyout+0x80>
80106fd0: 8b 45 08 mov 0x8(%ebp),%eax
80106fd3: 89 ce mov %ecx,%esi
80106fd5: 81 e6 00 f0 ff ff and $0xfffff000,%esi
80106fdb: 89 74 24 04 mov %esi,0x4(%esp)
80106fdf: 89 4d e4 mov %ecx,-0x1c(%ebp)
80106fe2: 89 04 24 mov %eax,(%esp)
80106fe5: e8 56 ff ff ff call 80106f40 <uva2ka>
80106fea: 85 c0 test %eax,%eax
80106fec: 75 aa jne 80106f98 <copyout+0x18>
80106fee: 83 c4 1c add $0x1c,%esp
80106ff1: b8 ff ff ff ff mov $0xffffffff,%eax
80106ff6: 5b pop %ebx
80106ff7: 5e pop %esi
80106ff8: 5f pop %edi
80106ff9: 5d pop %ebp
80106ffa: c3 ret
80106ffb: 90 nop
80106ffc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80107000: 83 c4 1c add $0x1c,%esp
80107003: 31 c0 xor %eax,%eax
80107005: 5b pop %ebx
80107006: 5e pop %esi
80107007: 5f pop %edi
80107008: 5d pop %ebp
80107009: c3 ret
| 45.21924 | 74 | 0.517869 |
c101666b127f26edb11cdde8f3bb0d609dde83bc | 675 | asm | Assembly | oeis/005/A005246.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/005/A005246.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/005/A005246.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A005246: a(n) = (1 + a(n-1)*a(n-2))/a(n-3), a(0) = a(1) = a(2) = 1.
; 1,1,1,2,3,7,11,26,41,97,153,362,571,1351,2131,5042,7953,18817,29681,70226,110771,262087,413403,978122,1542841,3650401,5757961,13623482,21489003,50843527,80198051,189750626,299303201,708158977,1117014753,2642885282,4168755811,9863382151,15558008491,36810643322,58063278153,137379191137,216695104121,512706121226,808717138331,1913445293767,3018173449203,7141075053842,11263976658481,26650854921601,42037733184721,99462344632562,156886956080403,371198523608647,585510091136891,1385331749802026
lpb $0
sub $0,1
add $2,1
add $2,$1
add $2,$1
add $1,$2
sub $1,$0
trn $1,2
lpe
add $1,1
mov $0,$1
| 45 | 492 | 0.76 |
e50420797d511de13a8a265277cc7c62db793d04 | 95,155 | asm | Assembly | Library/User/Vis/visSpec.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/User/Vis/visSpec.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/User/Vis/visSpec.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: User/Spec
FILE: visSpec.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 7/91 Initial version
DESCRIPTION:
This file contains visual handlers that are needed for the specific
UI implementation only.
$Id: visSpec.asm,v 1.1 97/04/07 11:44:31 newdeal Exp $
****************************************************************************
Generic to Specific Visual World concepts & definitions
****************************************************************************
Generic/Specific object visual types
------------------------------------
GS_USABLE - Indicates if application allows generic
object to be used in interface. All parent
objects must have this bit set in order
for the object to really be usable.
VTF_IS_WIN_GROUP - Set to indicate a WIN_GROUP
Specific visual attributes stored in every visual object generated
to implement the generic objects:
VTF_USES_DUAL_BUILD - Indicates specific UI creates non-WIN_GROUP
visual component(s) as well for this
object. These components will become
realized if WIN_GROUP they are on is realized.
Specific visual attributes for Generic Objects which the specific
UI makes into visual WIN_GROUP's only:
VSA_ATTACHED - Indicates application & this object are
attached for use. Cleared
to force down windows of application.
VSA_REALIZABLE - Indicates whether the specific UI wishes
for the WIN_GROUP portion (if object can
appear as a WIN_GROUP), may be realized.
Generic/Specific object visual states, changing/updating messages
----------------------------------------------------------------
In order to make a WIN_GROUP come up on screen or go away,
you used to use MSG_VIS_SET_ATTR to set/clear VA_VISIBLE. This
bit is now reserved for the VISIBLE world & should not be used
directly by Specific UI code. Instead, You manipulate the bits
GS_USABLE, SA_ATTACHED,& SA_REALIZABLE. All three must be set
before the object is made visible. In addition, the bit
SA_BRANCH_MINIMIZED may be set, which will prevent ANY objects
having WIN_GROUP's below this point in the generic tree from
being VISIBLE. These bits may be set using:
For generic objects created by the specific UI (normally these
messages are reserved for use by the application):
GS_USABLE: MSG_GEN_SET_USABLE,
MSG_GEN_SET_NOT_USABLE
VSA_ATTACHED,
VSA_REALIZABLE,
VSA_BRANCH_MINIMIZED:
MSG_SPEC_SET_ATTR
The above messages end up checking to see if all three bits are set,
& that all generic parents are usable & that no generic parents
have the BRANCH_MINIMIZED bit set. If all of this is true,
the object is marked as VISIBLE, else it is marked as not VISIBLE,
& it is updated (based on the VisUpdateMode passed)
Many GENERIC messages, such as MSG_GEN_SET_USABLE, accept VisUpdateMode
flags in dl, & will perform the appropriate visual update once the
generic change has been made.
Specific Visual state MESSAGES
-----------------------------
MSG_SPEC_BUILD_BRANCH
MSG_SPEC_BUILD
MSG_SPEC_GET_SPECIFIC_VIS_OBJECT
MSG_SPEC_GET_VIS_PARENT
MSG_SPEC_DETERMINE_VIS_PARENT_FOR_CHILD
****************************************************************************
How to write MSG_SPEC_BUILD_BRANCH, MSG_SPEC_BUILD, & other stuff
****************************************************************************
Overview
--------
Generic trees are converted to visual by virtue of any sequence of
message calls which result in their being USABLE & VISIBLE.
This triggers a MSG_VIS_VUP_UPDATE_WIN_GROUP, which when
executed travels up to the first object marked as a WIN GROUP,
& proceeds to visually validate it: It is
1) Generic objects which are marked USABLE by the application, &
determined by the specific UI to be visible are recursively sent
MSG_SPEC_BUILD, which requests the object to add itself
visually. The specific UI makes this determination & performs
the action.
2) Geometric layout is performed for all managed objects.
3) Windows are laid out according to the visible bounds
4) The window images are redrawn.
MSG_SPEC_BUILD
----------------
The result of the specific build is to create a visual tree out of
the generic tree. For each generic object in a branch headed by
a WIN_GROUP, a MSG_SPEC_BUILD_BRANCH message is sent to the object.
The default handler for this is to send a MSG_SPEC_BUILD to the
object, & then send a MSG_SPEC_BUILD_BRANCH to all of the object's
generic children. This message is rarely replaced. The
MSG_SPEC_BUILD is rather frequently replaced or augmented, though.
Objects may rely on the default MSG_SPEC_BUILD for the following
cases:
* Generic object becomes sole visible object.
(VTF_SIMPLE_GEN_OBJ must be set) NOTE that objects
that visually appear as different objects that their
generic object (dual build menus, a GenText in a View)
must respond to the MSG_SPEC_GET_SPECIFIC_VIS_OBJECT so that
THIS routine can place new objects created & added between
the correct visual children.
* Generic object has NOT set VTF_USES_DUAL_BUILD
* Object is to be placed visually on its generic parent,
or if not, object must respond to the MSG_SPEC_GET_VIS_PARENT
(for when the object knows it goes somewhere other than its
generic parent) or its generic parent should respond to
MSG_SPEC_DETERMINE_VIS_PARENT_FOR_CHILD (when the gen parent
knows under what visual object its child should be placed).
If an object must replace this message in whole, it should do the
following:
0) If object is already specifically built, just return. This
check need NOT be performed for WIN_GROUP objects,
since they will never be sent a MSG_SPEC_BUILD if they are already
built.
1) Visually construct any object(s) necessary to visually implement
the generic object. The visual object(s) should be added into the
visible tree at the desired place. The routine VisAddChildRelativeToGen
which adds an object in the visual tree in the same place relative
to the objects around it in the generic tree, may prove quite useful
in your attempt to do this.
2) You must invalidate any aspects of the visual objects you have
added that are not up to date. In addition, if your changes affect
the visual parent (such as screwing up its geometry), you should
invalidate any aspects of it that is wrong as well. The routine
VisMarkFullyInvalid may be useful to you.
4) If you have created visual objects which are in a different
WIN_GROUP than the generic object being built, you must send the
visible objects created a MSG_VIS_VUP_UPDATE_WIN_GROUP, to ensure
that they are updated. You should pass along the VisUpdateMode
portion of the VisBuildFlags passed to you, in dl, for this message,
so that objects on other trees are updated as well, in the manner
desired by the app writer.
Visual vs. Generic trees
------------------------
First, some problems w/Generic -VS- Visual trees. Basically,
they're not the same. Therein lies the problems. We have a
few basic variations:
a) A generic object's visible portion may have a different
visual parent than generic.
b) "Dual build": A generic object may have a visible portion
that is created at a later point, normally visually building
seperate visual object(s) other than itself (GenInteraction ->
Button + Menu) (Visible portion of generic object is
marked w/ VTF_USES_DUAL_BUILD)
Mechanisms used to solve these problems:
1) Creation of MSG_SPEC_GET_VIS_PARENT, which allows an
instance of a UI object to specify where its WIN_GROUP or
non-WIN_GROUP portion of its visible implementation
generic object should be placed visually. Or, MSG_SPEC_-
DETERMINE_VIS_PARENT_FOR_CHILD (called by the default version
of MSG_SPEC_GET_VIS_PARENT), which the generic parent of a
UI object can use to return where that object gets placed
visually.
NOTE: if the flag VTF_CUSTOM_VIS_PARENT in the visible part of
the generic object is NOT set, then the object need not respond
to this message, & those interested should use the generic
parent by default. The routine VisGetVisParent handles this.
2) Creation of MSG_SPEC_GET_SPECIFIC_VIS_OBJECT which will
retrieve the specifically built top object for any generic object,
given whether we're interested in the WIN_GROUP implementation
or non-WIN_GROUP implementation (in order to cover dual-build)
This does a few different things. First, it allows us to see
if the object is specifically built. Second, it allows us to
figure out where our generic siblings have attached themselves
visually, so we can figure out where to add ourselves when
made suddenly usable.
NOTE: If the bit VTF_SIMPLE_GEN_OBJ
in the visible part of the generic object IS set, then the
object need not respond to this message, & those interested
may assume that the visible portion of the generic object
IS the visible object, & that the object is visually built
if it is in a visual composite. The routine
VisGetSpecificVisObject handles this.
Now, we can talk about top level visible state issues. Problems
to solve are:
1) When a menu or dialog box, or even a display, is brought down,
we want to be able to mark it as not in use, so that the block can
be "compressed". The problem is, that visual linkage must be unhooked
across block boundaries:
| BLOCK A | BLOCK B
| |
| GenInteraction <|> Gen children
| ~ ~ | ~ ~ ~ ~
OLField <|> OLMenuWin ~ <|> Vis children
-------------| ~ |
OLDisplay <|> OLMenuButton |
| |
2) We want to redo as little as necessary to bring a menu or display
back up (geometry, vis linkage)
Visible states that might help to solve these problems (In order
of a life cycle)
GENERIC ONLY:
* A generic branch starts out w/o any visible parts or
objects, or in a visible tree. Block is not marked as in
use.
VIS BUILT BUT NOT REALIZED:
* It is then "SpecBuilt" in which visible master parts, visible
& new generic objects are created, & placed in a visual tree.
* Block is marked as "In Use", since we may have visual links
across blocks.
REALIZED:
* Windows are realized in specifically built tree, causing the
WIN GROUP to be visible
* Block is marked as "In Use".
VIS UNBUILT:
* First unrealized, then visual tree is broken down. We
may keep around the visual parent to make it easier to
rebuild later.
* Created generic & visual objects (within same block)
are left intact. Any objects which should be trashed
if the block were discarded now should be marked as not
dirty (thinking of created generic objects here...)
* Geometry values are left intact, with the assumption that
objects if brought back up will be placed in the same spot.
Wherever this logic is broken, the objects should be marked
as invalid.
* Block is marked as "NOT In Use", since we may have no links
across blocks.
VIS DEATH:
* Beyond VIS STANDBY, created visual & generic objects are
destroyed, which should get us almost to Generic only level
Life cycle:
GENERIC ONLY
VIS BUILT BUT NOT REALIZED
REALIZED
VIS BUILT BUT NOT REALIZED
REALIZED
VIS BUILT BUT NOT REALIZED
VIS UNBUILT
VIS BUILT BUT NOT REALIZED
REALIZED
VIS UNBUILT
VIS DEATH
Recursive messages that will cause a transition between the states:
MSG_SPEC_BUILD -> VIS BUILT BUT NOT REALIZED
MSG_VIS_OPEN -> REALIZED
MSG_VIS_CLOSE -> VIS BUILT BUT NOT REALIZED
MSG_SPEC_UNBUILD -> VIS UNBUILT
States for the WIN_GROUP:
GS_USABLE - if app says object is usable
VA_VISIBLE - if specific UI says object may be visible
VA_ATTACHED - normally set, is cleared to force down app
when quitting
When ALL of these bits are set, the object will make the
transition to REALIZED. When any are cleared, the object will be
brought to the UNBUILT stage.
POSSIBLE LIFE CYCLE FOR GENERIC TREE:
GenAddGenChild ; WIN_GROUP added to generic tree
GenSetUsable ; Set usable by application
VisUpdateGenWinGroup ; Check for if we want visualizid
MSG_SPEC_BUILD_BRANCH ; FIRST, tree is specifically built
MSG_SPEC_BUILD ; Individual object built
VisCompVupUpdateWinGroup ; THEN, we invoke a visual update
VisCompUpdateWinGroup ; & this reaches the update routine
MSG_VIS_UPDATE_GEOMETRY ; THEN, geometry is updated
MSG_VIS_OPEN ; & we realized all the windows.
MSG_VIS_OPEN_WIN
VisCompExposed ; Window sys generates EXPOSURE
VisCompDraw ; A redraw occurs
MSG_VIS_DRAW
GenSetVisMoniker ; Suddenly, user changes a moniker
VisCompVupUpdateWinGroup ; which does a visual update
VisCompUpdateWinGroup ; & this reaches the update routine
MSG_VIS_UPDATE_GEOMETRY ; THEN, window positions are updated
; THEN, window positions & screen images
; are updated
MSG_VIS_UPDATE_WINDOWS_AND_IMAGE
VisCompExposed ; Window sys generates EXPOSURE
VisCompDraw ; A redraw occurs
MSG_VIS_DRAW
; ...
GenSetNotUsable ; App marks WIN_GROUP as not usable
VisCompVupUpdateWinGroup ; which invokes a visual update
VisCompUpdateWinGroup ; & this reaches the update routine
VisCompClose ; visual closure of tree occurs
MSG_VIS_CLOSE ; ALL objects in tree are notified
MSG_VIS_CLOSE_WIN ; Individual windows are closed
GenRemoveGenChild ; WIN_GROUP is removed from generic
; tree.
------------------------------------------------------------------------------@
idata segment
method VisCallParentEnsureStack, VisClass, MSG_SPEC_NAVIGATE_TO_NEXT_FIELD
method VisCallParentEnsureStack, VisClass, MSG_SPEC_NAVIGATE_TO_PREVIOUS_FIELD
method VisCallParentEnsureStack, VisClass, MSG_SPEC_ACTIVATE_INTERACTION_DEFAULT
method VisGotoParentTailRecurse, VisClass, MSG_SPEC_UPDATE_MENU_SEPARATORS
method VisGotoParentTailRecurse, VisClass, MSG_SPEC_VUP_GET_WIN_SIZE_INFO
method VisCallParentEnsureStack, VisClass, MSG_GEN_MAKE_APPLYABLE
method VisCallParentEnsureStack, VisClass, MSG_GEN_MAKE_NOT_APPLYABLE
method GenCallParentEnsureStack, VisClass, MSG_SPEC_GUP_QUERY
idata ends
Build segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecBuild -- MSG_SPEC_BUILD for VisClass
DESCRIPTION: Default visual build message for Generic objects having
a visible part. VTF_IS_GEN must be set, or this routine
will do nothing.
MAY be used in cases where:
* Generic object becomes sole visible object.
(SA_SIMPLE_GEN_OBJ must be set) NOTE that objects
that visually appear as different objects that their
generic object (dual build menus, a GenText in a View)
must respond to the MSG_SPEC_GET_SPECIFIC_VIS_OBJECT so that
THIS routine can place new objects created & added between
the correct visual children.
* Generic object has NOT set SA_USES_DUAL_BUILD
* Object is to be placed visually on its generic parent,
or, if not, then SA_CUSTOM_VIS_PARENT must be set, &
object must respond to the MSG_GEN_GET_VIS_PARENT.
If an object must replace this message in whole, it should do the
following:
0) If object is already specifically built, just return. This
check need NOT be performed for the WIN_GROUP portion of
a WIN_GROUP object, since they will never be sent a
MSG_SPEC_BUILD for the WIN_GROUP portion if is already built.
1) Visually construct any object(s) necessary to visually implement
the generic object. The visual object(s) should be added into the
visible tree at the desired place. The routine VisAddChildRelativeToGen
may prove quite useful in your attempt to do this.
2) You must invalidate any aspects of the visual objects you have
added that are not up to date. In addition, if your changes affect
the visual parent (such as screwing up its geometry), you should
invalidate any aspects of it that is wrong as well. The routine
VisMarkFullyInvalid may be useful to you.
3) If you have created visual objects which are in a different
WIN_GROUP than the generic object being built, you must send the
visible objects created a MSG_VIS_VUP_UPDATE_WIN_GROUP, to ensure
that they are updated. The field SBF_UPDATE_MODE passed in the
SpecBuildFlags indicates how this update should be done.
4) If the generic portion of this object has a moniker handle,
see if the moniker is actually a list of monikers. If so, choose
the most appropriate moniker from the list and replace the list chunk
with that single moniker. (use VisFindMoniker or GenFindMoniker)
PASS:
*ds:si - instance data (vis part indirect through offset Vis_offset)
es - segment of VisClass
bp - SpecBuildFlags
ax, bx -- DON'T CARE (may safely be called using CallMod)
RETURN:
ds - updated to point at segment of same block as on entry
ax, cx, dx, bp - destroyed
DESTROYED:
none (can be called via static binding)
WARNING: This routine MAY resize LMem and/or object blocks, moving
them on the heap and invalidating stored segment pointers
to them.
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 2/89 Initial version
Doug 9/89 Revised to solve object on different vis tree
than generic, etc.
------------------------------------------------------------------------------@
VisSpecBuild method static VisClass, MSG_SPEC_BUILD uses bx, si, di
.enter
Destroy ax, bx ; test CallMod tolerance
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
LONG jz VVB_Done
EC < ; Make sure IN generic composite >
EC < ; (Default message requires it) >
EC < mov bx, ds:[si] >
EC < add bx, ds:[bx].Gen_offset >
EC < tst ds:[bx].GI_link.LP_next.handle >
EC < ERROR_Z UI_SPEC_BUILD_NOT_IN_GENERIC_TREE >
EC < >
EC < ; Make sure object DOESN'T >
EC < ; require dual build, since this >
EC < ; default message can't handle it. >
EC < mov di, ds:[si] >
EC < add di, ds:[di].Vis_offset >
EC < test ds:[di].VI_specAttrs, mask SA_USES_DUAL_BUILD >
EC < ERROR_NZ UI_SPEC_BUILD_DEFAULT_MSG_CANNOT_HANDLE_DUAL_BUILD >
EC < >
call VisCheckIfSpecBuilt ; Make sure NOT vis built yet. Note
; that we CAN do this check without
; using VisGetSpecificVisObject,
; since the header specifically says
; that this routine will only work
; w/generic objects which are also
; the visible object to be built.
jc VVB_Done ; if it is, quit.
; VISUALLY BUILD this object.
EC < mov di, UI_MAXIMUM_THREAD_BORROW_STACK_SPACE_AMOUNT >
EC < call ThreadBorrowStackSpace >
EC < push di >
; set state based on SpecBuildFlags and
call VisSpecBuildSetEnabledState
; GS_ENABLED
; ASSUME that gen object will be
; visual object when built.
call VisGetVisParent ; Fetch visible parent to use
EC < tst cx ; if no parent, quit >
EC < ERROR_Z UI_SPEC_BUILD_NO_VIS_PARENT >
EC < push bx >
EC < push cx >
EC < push dx >
EC < push si >
EC < mov bx, cx >
EC < mov si, dx >
EC < call ObjLockObjBlock ; lock the block >
EC < push ds >
EC < mov ds, ax >
EC < mov di, ds:[si] >
EC < add di, ds:[di].Vis_offset >
EC < ; if parent is win group, >
EC < ; OK if not built (FOR NOW) >
EC < test ds:[di].VI_typeFlags, mask VTF_IS_WIN_GROUP >
EC < jnz VVB_e30 >
EC < call VisCheckIfSpecBuilt ; see if visually built >
EC < ERROR_NC UI_VIS_PARENT_NOT_BUILT >
EC <VVB_e30: >
EC < pop ds >
EC < call MemUnlock ; unlock block in any case >
EC < pop si >
EC < pop dx >
EC < pop cx >
EC < pop bx >
; *ds:si is generic object
mov ax, ds:[LMBH_handle] ; ^lax:bx is visual object (same)
mov bx, si
; Call routine to add object
call VisAddChildRelativeToGen
;now search this object's VisMonikerList for the moniker
;which matches the DisplayType for this application, and replace
;the list with that moniker.
push bp
mov bp, mask VMSF_REPLACE_LIST or mask VMSF_GSTRING \
or (VMS_ICON shl offset VMSF_STYLE)
;return non-textual GString if any,
;otherwise GString, otherwise
;non-abbreviated text string.
clc ;flag: use this object's list
call GenFindMoniker ;trashes ax, di, es,
;may move ds segment
pop bp
EC < pop di >
EC < call ThreadReturnStackSpace >
;
; Check for position hints. If there aren't any, we're done. Otherwise
; we'll mark this object as needing a NOTIFY_GEOMETRY_VALID so we can
; always set the size then.
;
call VisSpecCheckForPosHints
jnc VVB_Done
mov di, ds:[si]
add di, ds:[di].Vis_offset
or ds:[di].VI_geoAttrs, mask VGA_NOTIFY_GEOMETRY_VALID
VVB_Done:
.leave
Destroy ax, cx, dx, bp
ret
VisSpecBuild endm
COMMENT @----------------------------------------------------------------------
FUNCTION: VisGetVisParent
DESCRIPTION: Determine visual parent to use for visually building an object.
If optimization flag is set for visual parent being generic
parent, then the generic parent is returned without bothering
to send out a message to figure out what to use. If not,
then the message is sent, to the same object, assuming that
a subclass will respond with the correct visual parent to use.
CALLED BY: EXTERNAL
VisSpecBuild
PASS:
*ds:si - Generic object to get vis parent for
bp - SpecBuildFlags
RETURN:
cx:dx - visual object
bp - SpecBuildFlags - If visible parent is within same WIN_GROUP
as object, this bit MAY be set, to speed
build up:
mask SBF_VIS_PARENT_WITHIN_SCOPE_OF_TREE_BUILD
ds - updated to point at segment of same block as on entry
DESTROYED:
Nothing
WARNING: This routine MAY resize LMem and/or object blocks, moving
them on the heap and invalidating stored segment pointers
to them.
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 9/89 Initial version
------------------------------------------------------------------------------@
VisGetVisParent proc far uses ax, bx, di
class VisClass ; Indicate function is a friend
; of VisClass so it can play with
; instance data.
.enter
EC < call VisCheckVisAssumption >
push bx
push si
call GenFindParent ; makes ^lbx:si = parent
mov cx, bx ; move to have ^lcx:dx = parent
mov dx, si
pop si
pop bx
; If uses generic parent for vis,
; just fetch Gen parent & return.
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_specAttrs, mask SA_CUSTOM_VIS_PARENT
jz CheckGenParent
;UseQuery:
pushdw cxdx ; save gen parent
mov ax, MSG_SPEC_GET_VIS_PARENT
call ObjCallInstanceNoLock
popdw axbx ; get gen parent in ^lax:bx
; If responded to, branch, test for
; optimization
jc SeeIfGenParentIsVisParent
movdw cxdx, axbx ; Else use gen parent by default
CheckGenParent:
;
; If the object doesn't know where to go, the parent might.
;
test bp, mask SBF_WIN_GROUP
jnz GenParentIsVisParent ;win group part, won't check out
; parent, (somewhat arbitrary)
push si
call GenSwapLockParent
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_specAttrs, mask SA_CUSTOM_VIS_PARENT_FOR_CHILD
call ObjSwapUnlock
pop si
jz GenParentIsVisParent
pushdw cxdx ; save gen parent
mov cx, ds:[LMBH_handle] ;pass ourselves
mov dx, si
mov ax, MSG_SPEC_DETERMINE_VIS_PARENT_FOR_CHILD
call GenCallParent ;and get from view
popdw axbx ; get gen parent in ^lax:bx
jc SeeIfGenParentIsVisParent
; If responded to, branch, test for
; optimization
movdw cxdx, axbx ; ^lcx:dx <- gen parent
SeeIfGenParentIsVisParent:
cmp ax, cx
jne Done
cmp bx, dx
jne Done
; If match, then set optimization flag
GenParentIsVisParent:
; See if this object is a win group
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_WIN_GROUP
jnz Done ; if so, not adding within win group
; Adding within win group
or bp, mask SBF_VIS_PARENT_WITHIN_SCOPE_OF_TREE_BUILD
Done:
.leave
ret
VisGetVisParent endp
COMMENT @----------------------------------------------------------------------
METHOD: VisUnbuild -- MSG_SPEC_UNBUILD for VisClass
DESCRIPTION: Default visual unbuild message for Generic objects having
a visible part. VTF_IS_GEN must be set, or this routine
will do nothing.
MAY be used in cases where:
VisGetSpecificVisObject returns the correct visible
object, which need only be visibly removed from
its parent, & not destroyed.
If an object must replace this message in whole, it should do the
following:
0) If object is already visibly unbuilt, just return. This
check need NOT be performed for the WIN_GROUP portion of
a WIN_GROUP object, since they will never be sent a
MSG_SPEC_UNBUILD for the WIN_GROUP portion if is already unbuilt.
1) Visually unconstruct any visual object(s) that have been created
for the object (if a WIN_GROUP, then only the WIN_GROUP or
non-WIN_GROUP portion as is specified. This is typically done by
just using MSG_VIS_REMOVE_CHILD, plus the removal of any created
objects.
2) You must invalidate any aspects of the visual objects left after
the removal that are not up to date. In addition, if your changes
affect the visual parent (such as screwing up its geometry), you should
invalidate any aspects of it that is wrong as well.
3) If you have created visual objects which are in a different
WIN_GROUP than the generic object being built, you must send the
visible objects created a MSG_VIS_VUP_UPDATE_WIN_GROUP, to ensure
that they are updated. The field SBF_UPDATE_MODE passed in the
SpecBuildFlags indicates how this update should be done.
PASS:
*ds:si - instance data (vis part indirect through offset Vis_offset)
es - segment of VisClass
ax - MSG_SPEC_UNBUILD
bp - SpecBuildFlags
RETURN:
nothing
ax, cx, dx, bp - destroyed
DESTROYED:
none (can be called via static binding)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 1/90 Initial version
------------------------------------------------------------------------------@
VisSpecUnbuild method dynamic VisClass, MSG_SPEC_UNBUILD
mov di, ds:[si]
add di, ds:[di].Vis_offset
; Handle separately if not a
; generic object
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz UnbuildVisObject
push bp
call VisGetSpecificVisObject ; get visual object to remove
pop bp
tst cx ; if doesn't exist, done
jz Done ; else skip & close down
push si
mov bx, cx ; setup ^lbx:si as visible object
mov si, dx
mov dx, bp ; Get copy of update mode in dx
call ObjSwapLock ; *ds:si is visible object to unbuild
call VisRemove ; Call primitive routine to unbuild
; this visual object
call ObjSwapUnlock ; restore *ds:si to be gen object
pop si
Done:
EC < call VisCheckOptFlags >
ret
UnbuildVisObject:
; mov dl, VUM_MANUAL ; update will happen at top node
mov dx, bp ; use update mode passed
call VisRemove ; For a plain visible object, just
; close down & remove from vis tree.
Destroy ax, cx, dx, bp
ret
VisSpecUnbuild endm
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecSetUsable
DESCRIPTION: Make visual changes necessary when an object is suddenly
GS_USABLE. For objects with dual build, do both parts.
PASS:
*ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_SET_USABLE
dl - VisUpdateMode
RETURN:
nothing
ax, cx, dx, bp - destroyed
DESTROYED:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 6/89 Initial version
------------------------------------------------------------------------------@
VisSpecSetUsable method dynamic VisClass, MSG_SPEC_SET_USABLE
EC < ; Make sure that instance data is not hosed >
EC < call ECCheckVisFlags >
EC < test dl, 0ffh AND (not mask SBF_UPDATE_MODE) >
EC < ERROR_NZ UI_BAD_VIS_UPDATE_MODE >
EC < call VisCheckOptFlags >
; See if we're dealing with a win
; group here.
mov di, ds:[si]
add di, ds:[di].Vis_offset
EC < test ds:[di].VI_typeFlags, mask VTF_IS_GEN >
EC < ERROR_Z UI_EXPECTED_VIS_TYPE_VTF_IS_GEN >
test ds:[di].VI_typeFlags, mask VTF_IS_WIN_GROUP
jnz HasWinGroup
;NoWinGroup:
call VisSetNonWinGroupUsable
EC < call VisCheckOptFlags >
Destroy ax, cx, dx, bp
ret
HasWinGroup:
; If a WIN_GROUP marked as built but
; not realized, then we need to nuke
; the upward-only link, to make sure
; that the object is placed on the
; correct visible parent (can't use
; any left-over value from when
; set NOT_USABLE)
test ds:[di].VI_specAttrs, mask SA_TREE_BUILT_BUT_NOT_REALIZED
jz AfterBuiltFix
and ds:[di].VI_specAttrs, not mask SA_TREE_BUILT_BUT_NOT_REALIZED
; Nuke the stored vis parent.
clr ax
mov ds:[di].VI_link.LP_next.handle, ax
mov ds:[di].VI_link.LP_next.chunk, ax
AfterBuiltFix:
; But if one of these funny suckers,
; need to do both parts
test ds:[di].VI_specAttrs, mask SA_USES_DUAL_BUILD
jz VMU_AfterNonWinGroup
; Do non-WIN_GROUP part.
call VisSetNonWinGroupUsable
VMU_AfterNonWinGroup:
; Do WIN_GROUP part
push dx ; save update mode
call QuickGenAppGetStateFar ; ax = ApplicationStates
mov cx, 0 ; UpdateWindowFlags
test ax, mask AS_ATTACHING
jz haveAttachUWF
ornf cx, mask UWF_ATTACHING
haveAttachUWF:
test ax, mask AS_DETACHING
jz haveDetachUWF
ornf cx, mask UWF_DETACHING
haveDetachUWF:
pop dx ; dl = update mode
call VisCompUpdateWindow
ret
VisSpecSetUsable endm
COMMENT @----------------------------------------------------------------------
ROUTINE: VisSetNonWinGroupUsable
DESCRIPTION: Make visual changes necessary for non-WIN_GROUP portions
of generic objects when they become GS_USABLE.
CALLED BY: INTERNAL
VisSetUsable
PASS:
*ds:si - instance data
dl - VisUpdateMode
RETURN:
nothing
DESTROYED:
ax, bx, bp, di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 6/89 Initial version
------------------------------------------------------------------------------@
VisSetNonWinGroupUsable proc near
class VisClass ; Indicate function is a friend
; of VisClass so it can play with
; instance data.
push dx
push si
; IF our visible-parent-to-be is not VIS_BUILT, then we don't want to
; be either. If it IS, we want to be, as well.
;
push dx ; PRESERVE update mode
push si ; & object chunk
; Fetch the visual parent that this object should be attached to.
clr bp ; clear BuildFlags, not doing WIN_GROUP
call VisGetVisParent
tst cx ; IF NO PARENT,
LONG jz VSNWGU_popQuit ; then quit out-doesn't need building
; If the visual parent is built, then go ahead & build this one.
mov bx, cx
mov si, dx
call ObjSwapLock ; setup *ds:si as object
call VisCheckIfSpecBuilt ; see if visually built
pushf ; preserve flags returned
; FOR now, just get attributes (will change w/spec build/linkage
; changes (Changed to check GS_USABLE flag rather than VA_REALIZED
; to decide whether to update this thing, to attempt to handle more
; cases of an object getting set usable right before its parent is
; opened. -cbh 2/12/93)
mov di, ds:[si]
add di, ds:[di].Vis_offset
mov al, ds:[di].VI_attrs ; get attributes
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz 5$ ; not generic, branch
mov di, ds:[si]
add di, ds:[di].Gen_offset
test ds:[di].GI_states, mask GS_USABLE
jz 5$
or al, mask VA_REALIZED ; usable, treat as realized.
5$:
popf
call ObjSwapUnlock ; restore our old object
pop si ; fetch chunk handle of object
pop dx ; RESTORE update mode
; Carry set if parent is vis built
jnc VSNWGU_quit ; if parent not built, then we don't
; need to build yet.
; VISUALLY BUILD JUST NEW ADDED OBJECT
push ax
push dx ; preserve update mode
clr bp ; default flags to pass UPDATE_SPEC_BUILD
clr dh ; null out top byte for OR
or bp, dx ; set update flags
clr cx ; Allow optimized check. Will not
; look at this object because is not
; yet specifically built, which is
; good, because the FULLY_ENABLED bit
; isn't set for it yet. On the other
; hand, the optimization saves time
; by stopping at the first specifically
; built object & grabbing its
; FULLY_ENABLED flag.
call GenCheckIfFullyEnabled ; see if fully enabled
jnc 10$ ; no, branch
or bp, mask SBF_VIS_PARENT_FULLY_ENABLED
10$:
mov ax, MSG_SPEC_BUILD_BRANCH
call ObjCallInstanceNoLock ; Visibly build the new branch
; NOW, get visible object that has been built, & update it.
clr bp ; not top
call VisGetSpecificVisObject ; get visual object to remove, in
; cx:dx
mov bx, cx ; move to bx:si
mov si, dx
pop dx ; get update mode
pop ax
; THIS should not have to be done here, as the MSG_SPEC_BUILD handler
; is supposed to do this, if it is necessary. - Doug 1/90
; (I think this is wrong, nothing sets geometry invalid for a new object
; except for its initial invalid flags. I think we've been getting lucky
; that things work, and I need for geometry to start at the parent level
; here rather than at the child. -cbh 11/ 1/91)
;
tst si ; no object for some reason, exit
jz VSNWGU_quit ; (cbh 11/18/91)
push dx, ax ; set the geometry invalid on parent
mov cl, mask VOF_GEOMETRY_INVALID
mov dl, VUM_MANUAL
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov ax, MSG_VIS_MARK_INVALID
push bx, si
mov bx, segment VisClass
mov si, offset VisClass
mov di, mask MF_RECORD
call ObjMessage
pop bx, si
mov cx, di
mov ax, MSG_VIS_CALL_PARENT
mov di, mask MF_CALL or mask MF_FIXUP_DS
call ObjMessage
pop dx, ax
test al, mask VA_REALIZED ; is parent realized?
jz VSNWGU_quit ; if not, we won't be, don't update.
; Update the display that the object
; is on. Mark window as invalid to
; make sure that a VIS_OPEN is done
; on the branch.
mov cl, mask VOF_WINDOW_INVALID
mov ax, MSG_VIS_MARK_INVALID
mov di, mask MF_CALL or mask MF_FIXUP_DS
call ObjMessage
VSNWGU_quit:
pop si
pop dx
ret
VSNWGU_popQuit:
pop si
pop dx
jmp VSNWGU_quit
VisSetNonWinGroupUsable endp
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecSetNotUsable
DESCRIPTION: Make visual changes necessary when an object is suddenly
no longer GS_USABLE. Sends MSG_SPEC_SET_NOT_USABLE
recursively down to ALL generic children marked as
USABLE which are specifically grown, & visible shuts down
and unbuilds at each level.
PASS:
*ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_SET_NOT_USABLE
dl - VisUpdateMode
RETURN:
nothing
ax, cx, dx, bp - destroyed
DESTROYED:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 6/89 Initial version
------------------------------------------------------------------------------@
VisSpecSetNotUsable method dynamic VisClass, MSG_SPEC_SET_NOT_USABLE
EC < ; Make sure that instance data is not hosed >
EC < call ECCheckVisFlags >
EC < test dl, 0ffh AND (not mask SBF_UPDATE_MODE) >
EC < ERROR_NZ UI_BAD_VIS_UPDATE_MODE >
EC < call VisCheckOptFlags >
; See if we're dealing with a win
; group here.
mov di, ds:[si]
add di, ds:[di].Vis_offset
EC < test ds:[di].VI_typeFlags, mask VTF_IS_GEN >
EC < ERROR_Z UI_EXPECTED_VIS_TYPE_VTF_IS_GEN >
; Finally, Visibly unbuild this
; entire generic branch
mov ax, MSG_SPEC_UNBUILD_BRANCH
clr dh
mov bp, dx ; Copy VisUpdateMode to SpecBuildFlags
GOTO ObjCallInstanceNoLock
VisSpecSetNotUsable endm
Build ends
;
;---------------
;
VisUpdate segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecUpdateVisual
DESCRIPTION: Default message to Visibly update a generic object.
This default message CAN NOT handle dual build cases, nor can it
invalidate any visible objects from with the generic portion
is not subclassed. The SPECIFIC UI should replace this message to
handle those cases. The idea is to simply run the visual update
code on each visual pieced generated from this generic object.
PASS:
*ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_UPDATE_VISUAL
dl - VisUpdateMode
RETURN:
nothing
ax, cx, dx, bp - destroyed
DESTROYED:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 6/89 Initial version
------------------------------------------------------------------------------@
VisSpecUpdateVisual method dynamic VisClass, MSG_SPEC_UPDATE_VISUAL
EC < test dl, 0ffh AND (not mask SBF_UPDATE_MODE) >
EC < ERROR_NZ UI_BAD_VIS_UPDATE_MODE >
EC < call VisCheckOptFlags >
EC < ; Make sure object DOESN'T >
EC < ; require dual build, since this >
EC < ; default message can't handle it.>
EC < mov di, ds:[si] >
EC < add di, ds:[di].Vis_offset >
EC < test ds:[di].VI_typeFlags, mask VTF_IS_GEN >
EC < ERROR_Z UI_EXPECTED_VIS_TYPE_VTF_IS_GEN >
EC < test ds:[di].VI_specAttrs, mask SA_USES_DUAL_BUILD >
EC < ERROR_NZ UI_SPEC_BUILD_BRANCH_DEFAULT_MSG_CANNOT_HANDLE_DUAL_BUILD >
; Do visual update for simple object
; mov ax, MSG_VIS_VUP_UPDATE_WIN_GROUP
; call ObjCallInstanceNoLock
call VisVupUpdateWinGroup ; call statically
Destroy ax, cx, dx, bp
ret
VisSpecUpdateVisual endm
VisUpdate ends
;
;-------------------
;
VisOpenClose segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecSetAttrs
DESCRIPTION: Change specific flags stored in visible instance data for
specific objects.
PASS:
*ds:si - instance data (vis part indirect through offset Vis_offset)
es - segment of VisClass
ax - MSG_SPEC_SET_ATTRS
cl - bits to set
ch - bits to reset
The bits which may be changed:
SA_ATTACHED
SA_REALIZABLE
SA_BRANCH_MINIMIZED
dl - VisUpdateMode - To be used for bringing up window,
or updating visible WIN_GROUPs OTHER than this
one which have objects removed from them as a result
of this window coming down. If window is brought
down, it is always done immediately, so that the
branch may be visibly unlinked immediately.
RETURN:
cx, dx, bp - preserved
ax destroyed
DESTROYED:
ax, bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
If we never add any more attr bits, this could be simplified slightly.
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 10/89 Initial version
------------------------------------------------------------------------------@
VisSpecSetAttrs method dynamic VisClass, MSG_SPEC_SET_ATTRS
EC < test dl, 0ffh AND (not mask SBF_UPDATE_MODE) >
EC < ERROR_NZ UI_BAD_VIS_UPDATE_MODE >
EC < test cl, not SpecAttrs >
EC < ERROR_NZ UI_BAD_SET_SPEC_ATTR_FLAGS >
EC < test ch, not SpecAttrs >
EC < ERROR_NZ UI_BAD_SET_SPEC_ATTR_FLAGS >
push cx
mov di, ds:[si] ; Point to instance data
add di, ds:[di].Vis_offset
EC < test ds:[di].VI_typeFlags, mask VTF_IS_GEN >
EC < ERROR_Z UI_EXPECTED_VIS_TYPE_VTF_IS_GEN >
mov al, ds:[di].VI_specAttrs ; get OLD bits
or ds:[di].VI_specAttrs, cl ; SET bits
not ch ; get AND mask
and ds:[di].VI_specAttrs, ch ; RESET bits
xor al, ds:[di].VI_specAttrs ; get CHANGED bits
test al, mask SA_BRANCH_MINIMIZED ; change in branch minimization?
pushf ; save result
push dx ; save VisUpdateMode
call QuickGenAppGetState ; ax = ApplicationStates
; (better preserve dx!)
mov cx, 0 ; UpdateWindowFlags
test ax, mask AS_DETACHING
jz haveDetachUWF
ornf cx, mask UWF_DETACHING
haveDetachUWF:
test ax, mask AS_ATTACHING
jz haveAttachUWF
ornf cx, mask UWF_ATTACHING
haveAttachUWF:
pop dx ; restore VisUpdateMode
popf ; restore branch minimization change
jz VSSA_80 ; skip if not
mov di, 600
call ThreadBorrowStackSpace
push di
; OTHERWISE, notify anyone in
; window list.
; Pass message requesting update
; of any generic WIN_GROUP's
push dx ; save VisUpdateMode
push si ; save object
clr bx ; message for all entries
clr si
mov ax, MSG_META_UPDATE_WINDOW
; Send this message to anything on
; the window list. This object having
; the BRANCH_MINIMZED flag changed
; may change the visibility of
; some objects on the active list.
mov di, mask MF_RECORD
call ObjMessage ; di = event
pop si ; *ds:si = object
push cx ; save UpdateWindowFlags
mov dx, size GCNListMessageParams
sub sp, dx
mov bp, sp
mov ss:[bp].GCNLMP_ID.GCNLT_manuf, MANUFACTURER_ID_GEOWORKS
mov ss:[bp].GCNLMP_ID.GCNLT_type, GAGCNLT_WINDOWS
mov ss:[bp].GCNLMP_block, 0
mov ss:[bp].GCNLMP_event, di
mov ss:[bp].GCNLMP_flags, 0
mov ax, MSG_META_GCN_LIST_SEND
push si
call GeodeGetAppObject ; ^lbx:si = app object
tst bx ; any?
jz noAppObj
mov di, mask MF_CALL or mask MF_FIXUP_DS or mask MF_STACK
call ObjMessage
noAppObj:
pop si
add sp, size GCNListMessageParams
pop cx ; cx = UpdateWindowFlags
pop dx ; dl = VisUpdateMode`
pop di
call ThreadReturnStackSpace
VSSA_80:
; cx = UpdateWindowFlags
; dl = VisUpdateMode
; Do update of generic
; WIN_GROUP
call VisCompUpdateWindow
pop cx
Destroy ax
ret
VisSpecSetAttrs endm
VisOpenClose ends
;
;---------------
;
Build segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecBuildBranch -- MSG_SPEC_BUILD_BRANCH for VisClass
DESCRIPTION: Default handler for Generic objects having visible parts
to visibly build this object if it needs it,
and to call all non-GROUP_WIN children, to get them build, too.
VTF_IS_GEN must be set, or this routine will do nothing.
PASS:
*ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_BUILD_BRANCH
bp - SpecBuildFlags
RETURN:
nothing
ax, cx, dx, bp - destroyed
DESTROYED:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 5/89 Initial version
------------------------------------------------------------------------------@
VisSpecBuildBranch method dynamic VisClass, MSG_SPEC_BUILD_BRANCH
EC < ; Make sure that instance data is not hosed >
EC < call ECCheckVisFlags >
; Quit if not a generic object.
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz done
mov di, UI_STACK_SPACE_REQUIREMENT_FOR_RECURSE_ITERATION
call ThreadBorrowStackSpace
push di
; It is possible that in the course of getting here the actions of
; our subclass have made us enabled where before we were not enabled
; Check for this case.
and bp, not mask SBF_VIS_PARENT_FULLY_ENABLED
mov cx, 1 ; Cannot optimize here
call GenCheckIfFullyEnabled ; see if fully enabled
jnc 5$ ; no, branch
or bp, mask SBF_VIS_PARENT_FULLY_ENABLED
5$:
; If doing WIN_GROUP, then we
; can rely on fact that gen object
; = vis object, & easily test to
; see if the WIN_GROUP is already
; specifically built or not, just
; using VisCheckIfSpecBuilt.
;
; If NOT doing a WIN_GROUP, we
; can make this optimization, since
; we don't know what object is
; visually representing the gen object.
; Instead of wasting time here,
; objects should check for themselves
; to see if they are already vis
; built before undertaking visual
; construction.
test bp, mask SBF_WIN_GROUP
jz visBuildNode
call VisCheckIfSpecBuilt ; check to see if this object
; is already visually built
jc afterBuilt ; if so, skip build here
visBuildNode:
; Make sure the fully-enabled bit is clear if this object is not
; enabled.
mov di, ds:[si]
add di, ds:[di].Gen_offset
test ds:[di].GI_states, mask GS_ENABLED
jnz 10$ ; This object's enabled, branch
and bp, not mask SBF_VIS_PARENT_FULLY_ENABLED
10$:
; VISUALLY BUILD this object (pass flag in bp)
push bp
mov ax, MSG_SPEC_BUILD
call ObjCallInstanceNoLock
pop bp
afterBuilt:
; If we've just specifically built
; the top object in a win group,
; then go on to do children
test bp, mask SBF_WIN_GROUP
jnz buildChildren
; Otherwise, see if we should
; send on down to children or not:
; Let's remove this comment & test below if this fatal error is never hit.
; I don't know why the code was in here, as the case should never happen.
;
; Old comment ; If object doesn't have a visible
; Old comment ; part, then we can't make any
; Old comment ; assumptions. Go
; Old comment ; on to do generic children.
;
EC < call VisCheckIfVisGrown >
EC < ; This should never happen >
EC < ERROR_NC UI_VIS_UPDATE_SPEC_BUILD_BUT_VIS_NOT_GROWN >
; The test is this: Is it a dual
; build object? If so, we're just
; building the non-win group part,
; so we can quit here.
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_specAttrs, mask SA_USES_DUAL_BUILD
jnz afterChildren
buildChildren:
; Send on down through children
;
mov ax, MSG_SPEC_BUILD_BRANCH
and bp, not mask SBF_WIN_GROUP ; not top object
or bp, mask SBF_TREE_BUILD ; but doing tree build.
clr dl ; to ALL children
call VisIfFlagSetCallGenChildren
afterChildren:
pop di
call ThreadReturnStackSpace
done:
Destroy ax, cx, dx, bp
ret
VisSpecBuildBranch endm
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecUnbuildBranch -- MSG_SPEC_UNBUILD_BRANCH for VisClass
DESCRIPTION: Default handler for generic objects to unbuild the visible
tree. This message may be passed to visible-only branch as
well, in which case the branch will be made non-visible &
destroyed. The generic branch must be not-usable before
this routine may be called.
PLEASE note that this message WILL traverse generic objects
which are USABLE, have been specifically grown, but are
NOT specifically built. This is because it is possible that they
have a child somewhere below which HAS been specifically built at
some time, & we need to unbuild that object now. (i.e. no
optimizations regarding children allowed here if object
already visibly unbuilt)
PASS:
*ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_UNBUILD_BRANCH
bp - SpecBuildFlags
SBF_WIN_GROUP not used
SBF_VIS_PARENT_UNBUILDING valid here
RETURN:
nothing
ax, cx, dx, bp - destroyed
DESTROYED:
ax, bx, cx, dx, bp, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 1/90 Initial version
------------------------------------------------------------------------------@
VisSpecUnbuildBranch method dynamic VisClass, MSG_SPEC_UNBUILD_BRANCH
mov bx, di
mov di, UI_STACK_SPACE_REQUIREMENT_FOR_RECURSE_ITERATION
call ThreadBorrowStackSpace
push di
mov di, bx
; Handle separately if not a
; generic object
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
LONG jz UpdateUnbuildVisObject
EC < mov di, ds:[si] >
EC < add di, ds:[di].Vis_offset >
EC < ; don't do check if forced to unbuild dynamically >
EC < test bp, mask SBF_VIS_PARENT_UNBUILDING >
EC < jnz afterUsableCheck >
EC < push cx >
EC < mov cx, -1 ; no optimized check >
EC < call GenCheckIfFullyUsable >
EC < pop cx >
EC < ERROR_C UI_GENERIC_BRANCH_MUST_BE_NOT_USABLE_BEFORE_VISIBLY_UNGROWN >
EC < mov di, ds:[si] >
EC < add di, ds:[di].Vis_offset >
EC <afterUsableCheck: >
; First, make sure that object is visibly closed, i.e. NOT REALIZED.
;
test ds:[di].VI_typeFlags, mask VTF_IS_WIN_GROUP
jnz unrealizeWinGroup
;unrealizeNonWinGroup:
call VisSetNotRealized ; Visibly close any non-win group
; visible branch which the specific
; UI has set up in the visible
; portion of this object. (IF it is
; still REALIZED.) This is
; for aesthetic reasons only, as
; the VIS_UNBUILD sent later will
; do the same thing, PLUS visibly
; unbuild the object -- we want the
; entire group to come down visually
; at once, instead of from each leaf
; upwards. Note that this may not have
; any effect, if the specific
; implementation has visible objects
; BESIDES this one on screen to
; represent the generic object. This
; is a better solution that the
; previous "unbuild this object, then
; children", for that route resulted
; in problems because the visible
; linkage was chopped off before visibly
; closing object (thereby killing
; VUP queries)
jmp short afterUnrealized
unrealizeWinGroup:
push bp
mov dx, bp ; Pass VisUpdateMode in dx
call QuickGenAppGetStateFar ; ax = ApplicationStates
; (better preserve dx!)
mov cx, 0 ; UpdateWindowFlags
test ax, mask AS_DETACHING
jz haveUWF
ornf cx, mask UWF_DETACHING
haveUWF:
call VisCompUpdateWindow ; bring down visually
pop bp
; Should no longer be visible
EC < mov di, ds:[si] >
EC < add di, ds:[di].Vis_offset >
EC < test ds:[di].VI_attrs, mask VA_VISIBLE >
EC < ERROR_NZ UI_STILL_VISIBLE_AFTER_VIS_UNBUILD >
afterUnrealized:
; NEXT, visibly unbuild the children, before visibly unbuilding THIS
; object. This is an attempt to do things in the reverse order of
; the SPEC_BUILD, so that the visible linkage is destroyed from the
; bottom up.
call VisUnbuildChildren ; Send on down through children
; FINALLY, visibly unbuild this object itself.
;
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_WIN_GROUP
jz NonWinGroup ; branch if does NOT have a WIN_GROUP
; If dual build
test ds:[di].VI_specAttrs, mask SA_USES_DUAL_BUILD
jz AfterNonWinGroupPart
; OK, we're a generic object w/
; dual-build. Normally, we should
; proceed to unbuild both non-win-group
; & win-group parts. If
; SBF_VIS_PARENT_UNBUILDING is set,
; however, we'll unbuild the win-group
; only. WHY? Because the above flag
; is only sent to visible children
; of generic objects that have already
; been BRANCH_SPEC_UNBUILDed. Since
; the visible parent of a dual-build
; object is the vis parent of the win-
; group portion, it is the
; win-group portion that needs to
; be unbuilt. The button portion
; may or may not have been sent a
; similar message, but visible button
; objects are not dual build, & at
; least currently, not generic, so
; that case would never end up at
; this point in the code. QED unbuild
; win-group only.
;
test bp, mask SBF_VIS_PARENT_UNBUILDING
jnz AfterNonWinGroupPart
; VISUALLY UNBUILD non-win group
push bp
and bp, not (mask SBF_WIN_GROUP)
mov ax, MSG_SPEC_UNBUILD
call ObjCallInstanceNoLock
pop bp
AfterNonWinGroupPart:
; VISUALLY UNBUILD win group
push bp
or bp, mask SBF_WIN_GROUP
mov ax, MSG_SPEC_UNBUILD
call ObjCallInstanceNoLock
pop bp
jmp short AfterUnbuild
NonWinGroup:
; VISUALLY UNBUILD non-win group
push bp
and bp, not (mask SBF_WIN_GROUP)
mov ax, MSG_SPEC_UNBUILD
call ObjCallInstanceNoLock
pop bp
AfterUnbuild:
; Make sure this object no longer
; is referenced anywhere. (particularly
; the flow object grabs)
EC < push ax, cx, dx, bp >
EC < mov cx, ds:[LMBH_handle] >
EC < mov dx, si >
EC < mov ax, MSG_VIS_VUP_EC_ENSURE_OD_NOT_REFERENCED >
EC < call ObjCallInstanceNoLock >
EC < pop ax, cx, dx, bp >
done:
pop di
call ThreadReturnStackSpace
Destroy ax, cx, dx, bp
ret
UpdateUnbuildVisObject:
;
; We want to unbuild the visible children, not just destroy them.
; atw - 8/5/93
;
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_COMPOSITE
jz AfterVisChildrenNotified
or bp, mask SBF_VIS_PARENT_UNBUILDING
; SBF_WIN_GROUP not used for UNBUILD_BRANCH message.
; and bp, not mask SBF_WIN_GROUP ; not top object
mov ax, MSG_SPEC_UNBUILD_BRANCH
call VisSendToChildren
AfterVisChildrenNotified:
; To visually unbuild a visual object, it & all children have
; to be completely destroyed.
;
mov dx, bp ; pass update mode to use
andnf dx, mask SBF_UPDATE_MODE
mov ax, MSG_VIS_DESTROY
call ObjCallInstanceNoLock
jmp done
VisSpecUnbuildBranch endm
COMMENT @----------------------------------------------------------------------
FUNCTION: VisUnbuildChildren
built. The message stops traversal only for the following
reasons:
1) Object is NOT_USABLE. We may presume that every-
thing below this branch has been visibly unbuilt.
2) Object does not have specific instance data. It
could not possibly be specifically built, & the
"specifically grown" rule says that it will have no
generic children which are specifically grown.
PLEASE note that this message WILL traverse objects which
are USABLE, have been specifically grown, but are NOT visibly
built. This is because it is possible that they have a
child somewhere below which HAS been specifically built at some
time, & we need to unbuild that object now.
ALSO NOTE that if the object is a WIN_GROUP w/dual build,
then the object is called twice, once with SBF_WIN_GROUP clear,
& once with it set. If the object is marked as a WIN_GROUP
only, without DUAL_BUILD, it is called once only w/
SBF_WIN_GROUP set.
CALLED BY: INTERNAL
PASS:
ax - message to pass
*ds:si - instance
bp - SpecBuildFlags (SBF_WIN_GROUP bit not used here)
RETURN:
bp - Unchanged
DESTROYED:
ax, bx, cx, dx, di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 5/89 Initial version
------------------------------------------------------------------------------@
VisUnbuildChildren proc far uses bp
class GenClass
.enter
; If unbuilding only because visual parent is unbuilding (i.e. not
; because we're being set NOT_USABLE), then continue this process
; by asking only visible children to unbuild themselves. Will
; actually hit most generic child objects, since most gen objects
; vis-build onto their generic parent, but there is a conceptual
; difference here -- SBF_VIS_PARENT_UNBUILDING is a *visual* unbuild,
; as opposed to the normal *generic* unbuild.
;
test bp, mask SBF_VIS_PARENT_UNBUILDING
jnz afterGenChildren
mov di, ds:[si] ; make sure composite
add di, ds:[di].Gen_offset
cmp ds:[di].GI_comp.CP_firstChild.handle, 0
je afterGenChildren ;if not, exit
clr bx ; initial child (first
push bx ; child of
push bx ; composite)
mov bx,offset GI_link
push bx ;push offset to LinkPart
NOFXIP < push cs ;pass callback routine >
FXIP < mov bx, SEGMENT_CS >
FXIP < push bx >
mov bx,offset UnbuildableCallBack
push bx
mov bx,offset Gen_offset
mov di,offset GI_comp
call ObjCompProcessChildren ;must use a call (no GOTO) since
;parameters are passed on the stack
afterGenChildren:
; At this point, all generic children will have visually unhooked
; themselves from this object. There is still one more issue
; to deal with: Any remaining visible children. It is possible
; that a generic object NOT in this generic branch has placed
; a child visually under this object. In order to solve this little
; problem, we'll send any remaining visible children a
; MSG_SPEC_UNBUILD_BRANCH, with flag SBF_VIS_PARENT_UNBUILDING
; set, so that they can communicate with their source generic
; object, in order to remove the visible child before its parent's
; visible part is destroyed, thereby resulting in bad linkage in
; the child. Non-generic objects will simply be destroyed.
;
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_COMPOSITE
jz AfterVisChildrenNotified
or bp, mask SBF_VIS_PARENT_UNBUILDING
; SBF_WIN_GROUP not used for UNBUILD_BRANCH message.
; and bp, not mask SBF_WIN_GROUP ; not top object
mov ax, MSG_SPEC_UNBUILD_BRANCH
call VisSendToChildren
AfterVisChildrenNotified:
.leave
ret
VisUnbuildChildren endp
COMMENT @----------------------------------------------------------------------
FUNCTION: UnbuildableCallBack
DESCRIPTION:
CALLED BY: VisUnbuildChildren
PASS:
*ds:si - child
*es:di - composite
bp - SpecBuildFlags
RETURN:
carry - set to end processing
DESTROYED:
ax, bx, cx, dx
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 2/90 Initial version
------------------------------------------------------------------------------@
UnbuildableCallBack proc far
class VisClass
; Make sure we don't send it to something not usable
push di
mov di, ds:[si]
add di, ds:[di].Gen_offset
test ds:[di].GI_states, mask GS_USABLE
pop di
jz done ; If not usable, skip sending message
call GenCheckIfSpecGrown ; See if specifically grown
jnc done ; If not, doesn't need to un-spec build
; Use ES version since *es:di is
; composite object
push bp ; Save SpecBuildFlags
; Unbuild the branch at this child.
mov ax, MSG_SPEC_UNBUILD_BRANCH
call ObjCallInstanceNoLockES ; send it
pop bp
done:
clc
ret
UnbuildableCallBack endp
Build ends
;
;---------------
;
Navigation segment resource
COMMENT @----------------------------------------------------------------------
FUNCTION: VisSpecNavigationQuery -
MSG_SPEC_NAVIGATION_QUERY handler for VisClass
DESCRIPTION: This message is used to implement the keyboard navigation
within-a-window mechanism. See message declaration for full
details.
CALLED BY: utility
PASS: *ds:si = instance data for object
^lcx:dx = object which originated the navigation message
bp = NavigationFlags
RETURN: ds, si = same
^lcx:dx = replying object
bp = NavigationFlags (in reply)
al = NavigateCommonFlags
ah destroyed
carry set if found the next/previous object we were seeking
DESTROYED: bx, es, di, ds, si
PSEUDO CODE/STRATEGY:
VisClass handler:
Since we have received this message at this class level, we know
that this object is not a composite, and if is subclassed by
something in the specific UI, it is something that is never
focused, and so is excluded from navigation. So all we need
to do is forward this message to the next visible child.
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 2/90 initial version
------------------------------------------------------------------------------@
VisSpecNavigationQuery method dynamic VisClass, MSG_SPEC_NAVIGATION_QUERY
;ERROR CHECKING is in VisNavigateCommon
;call utility routine, passing flags to indicate that this is
;a leaf node in visible tree, and that this object cannot
;get the focus (although it may have siblings that do).
;This routine will check the passed NavigationFlags and decide
;what to respond.
clr bl ;pass flags: not root node,
;not composite, not focusable.
mov di, si ;if this object has generic part,
;ok to scan it for hints.
call VisNavigateCommon
Destroy ah
ret
VisSpecNavigationQuery endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
VisNavigateCommonMsg --
MSG_SPEC_NAVIGATE_COMMON for VisClass
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: C message version of VisNavigateCommon.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_NAVIGATE_COMMON
ss:bp -- NavigateCommonParams
dx -- size NavigateCommonParams
RETURN: ss:bp -- NavigateCommonParams, with:
NCP_object -- set to final recipient of message
NCP_navFlags -- flags returned by final recipient
NCP_backtrackFlag -- set if object is focusable
via backtracking.
carry set if found the next/previous object we were seeking
ax, cx, dx - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
chris 7/20/94 Initial version.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
VisNavigateCommonMsg method dynamic VisClass, \
MSG_SPEC_NAVIGATE_COMMON
.enter
push bp
movdw cxdx, ss:[bp].NCP_object
mov bl, ss:[bp].NCP_navCommonFlags
mov di, ss:[bp].NCP_genPart
mov bp, ss:[bp].NCP_navFlags
call VisNavigateCommon
mov bx, bp
pop bp
mov ss:[bp].NCP_navFlags, bx
movdw ss:[bp].NCP_object, cxdx
mov ss:[bp].NCP_backtrackFlag, al
.leave
ret
VisNavigateCommonMsg endm
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecActivateObjectWithMnemonic
DESCRIPTION: Figures out if the keyboard data passed matches the mnemonic
for this object or one of its children.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_FIND_MNEMONIC
same as MSG_META_KBD_CHAR:
cl - Character (Chars or VChar)
ch - CharacterSet (CS_BSW or CS_CONTROL)
dl - CharFlags
dh - ShiftState (left from conversion)
bp low - ToggleState
bp high - scan code
RETURN: carry set if match found
ax, cx, dx, bp - destroyed
DESTROYED: bx, si, di, ds, REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 4/17/90 Initial version
------------------------------------------------------------------------------@
VisSpecActivateObjectWithMnemonic method dynamic VisClass,
MSG_SPEC_ACTIVATE_OBJECT_WITH_MNEMONIC
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz tryChildren ; not generic object, skip self
push cx
clr cx ; allow optimized approach, as
; this is a "steady state"
; scenerio.
call GenCheckIfFullyEnabled ;enabled?
pop cx
jnc tryChildren ;not enabled, don't check
mov di, ds:[si] ;point to instance
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_WIN_GROUP
jnz tryChildren ;don't match on win groups
call VisCheckMnemonic ;see if mnemonic matches
jnc tryChildren ;doesn't match, branch
mov ax, MSG_GEN_ACTIVATE ;found match, activate
call ObjCallInstanceNoLock
stc ;say match found
jmp short exit
tryChildren:
mov di, ds:[si] ;point to instance
add di, ds:[di].Vis_offset ;ds:[di] -- VisInstance
test ds:[di].VI_typeFlags, mask VTF_IS_COMPOSITE
clc
jz exit ;not composite, exit no match
mov di, UI_STACK_SPACE_REQUIREMENT_FOR_RECURSE_ITERATION
call ThreadBorrowStackSpace
push di
mov ax, MSG_SPEC_ACTIVATE_OBJECT_WITH_MNEMONIC
mov di, OCCT_SAVE_PARAMS_TEST_ABORT
call VisCallCommon ;call children 'til match found
pop di
call ThreadReturnStackSpace
exit:
Destroy ax, cx, dx, bp
ret
VisSpecActivateObjectWithMnemonic endm
Navigation ends
;
;---------------
;
VisCommon segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisNotifyEnabled --
MSG_SPEC_NOTIFY_ENABLED for VisClass
DESCRIPTION: Notification that the tree above this object is now enabled.
Adjust our fully-enabled flag, redraw, and call GenChildren
if necessary.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_NOTIFY_ENABLED
dl - VisUpdateMode
dh - NotifyEnabledFlags:
mask NEF_STATE_CHANGING if this is the object
getting its enabled state changed
RETURN: ax, cx, dx, bp - destroyed
DESTROYED: bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
if (not the item that changed) and GS_ENABLED and not VA_FULLY_ENABLED
send on to generic children
redraw ourselves
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 5/ 8/90 Initial version
------------------------------------------------------------------------------@
VisSpecNotifyEnabled method static VisClass, MSG_SPEC_NOTIFY_ENABLED \
uses bx, si, di
.enter
Destroy ax, bx, di, bx
;
; We need to check the entire lineage before we visually enable an
; object. Previously, if we enabled an object that had a disabled
; parent, it would incorrectly become visually enabled. -cbh 9/ 6/90
;
mov di, ds:[si] ;point to instance
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz 10$ ; not generic, just look at vis flag
mov cx, -1 ; No optimization, do full check, as
; the state of the VA_FULLY_ENABLED
; flag must be re-determined.
call GenCheckIfFullyEnabled ; see if we should be visually enabled
jnc exit ; no, exit now
10$:
mov di, ds:[si] ; point to instance
add di, ds:[di].Vis_offset ; ds:[di] -- VisInstance
test ds:[di].VI_attrs, mask VA_FULLY_ENABLED
clc ; assume no state change necessary
jnz exit ; already fully enabled, exit now
;
; Object is changing state, and is now fully enabled.
; Send this down to its children, and have it redraw itself.
;
or ds:[di].VI_attrs, mask VA_FULLY_ENABLED
call HandleEnabledStateChange ; handle state change
;
; New exciting code to give this object the focus if its wants the
; default and the parent focus node has no focus. -cbh 2/18/92
; Newer, exciting code not to waste time if not realized. cbh 2/24/93
;
mov di, ds:[si] ; get ptr to child instance data
add di, ds:[di].Vis_offset ; ds:di = VisInstance
test ds:[di].VI_attrs, mask VA_REALIZED
jz dontGrabFocus ; not realized, skip this.
mov ax, MSG_VIS_FUP_QUERY_FOCUS_EXCL
call VisCallParentEnsureStack
tst cx ; anything returned?
jnz dontGrabFocus ; yes, don't bother grabbing focus
clr cx ; see if we want the focus
mov ax, MSG_SPEC_BROADCAST_FOR_DEFAULT_FOCUS
call ObjCallInstanceNoLock
tst cx
jz dontGrabFocus ; apparently not, branch
call MetaGrabFocusExclLow ; else grab the focus
dontGrabFocus:
stc ; say visual state changed
exit:
Destroy ax, cx, dx, bp
.leave
ret
VisSpecNotifyEnabled endm
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecNotifyNotEnabled --
MSG_SPEC_NOTIFY_NOT_ENABLED for VisClass
DESCRIPTION: Notification that the tree above this object is now disabled.
Adjust our fully-enabled flag, redraw, and call GenChildren
if necessary.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_NOTIFY_NOT_ENABLED
dl - VisUpdateMode
dh - NotifyEnabledFlags:
mask NEF_STATE_CHANGING if this is the object
getting its enabled state changed
RETURN: nothing
ax, cx, dx, bp - destroyed
DESTROYED: bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
if (not the item that changed) and GS_ENABLED and VA_FULLY_ENABLED
send on to generic children
redraw ourselves
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 5/ 8/90 Initial version
------------------------------------------------------------------------------@
VisSpecNotifyNotEnabled method static VisClass, MSG_SPEC_NOTIFY_NOT_ENABLED \
uses bx, si, di
.enter
test dh, mask NEF_STATE_CHANGING
jnz 10$ ; this object's changing, continue
mov di, ds:[si] ;point to instance
add di, ds:[di].Vis_offset
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz 10$ ; not generic, just look at vis flag
mov di, ds:[si] ; point to instance
add di, ds:[di].Gen_offset ; ds:[di] -- GenInstance
test ds:[di].GI_states, mask GS_ENABLED
jz exit ; object is disabled, exit now
10$:
mov di, ds:[si] ; point to instance
add di, ds:[di].Vis_offset ; ds:[di] -- VisInstance
test ds:[di].VI_attrs, mask VA_FULLY_ENABLED
clc ; assume no change
jz exit ; already not fully enabled, exit now
;
; Object is changing state and is no longer fully enabled.
; Send this down to its children, and have it redraw itself.
;
and ds:[di].VI_attrs, not mask VA_FULLY_ENABLED
call HandleEnabledStateChange ; handle state change
stc ; say visual state changed
exit:
Destroy ax, cx, dx, bp
.leave
ret
VisSpecNotifyNotEnabled endm
COMMENT @----------------------------------------------------------------------
ROUTINE: HandleEnabledStateChange
SYNOPSIS: Enabled state has changed, so lets send the notify message down
to the children, and redraw ourselves.
CALLED BY: VisNotifyEnabled, VisNotifyNotEnabled
PASS: *ds:si -- object
ax -- spec notify message
dl - VisUpdateMode
dh - NotifyEnabledFlags:
mask NEF_STATE_CHANGING if this is the object
getting its enabled state changed
RETURN: carry set if visual state changed
DESTROYED: ax, bx, cx, dx, bp, si, di
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 5/ 8/90 Initial version
------------------------------------------------------------------------------@
HandleEnabledStateChange proc near
class VisClass
mov cl, mask DF_DONT_DRAW_CHILDREN ;we don't need to worry
; about children
call ShouldObjBeDrawn? ; is it appropriate to redraw?
jnc exit ; no, forget it
;
; Clear this flag for all children.
;
tst dl ; do we need to invalidate stuff?
js exit ; no, get out
cmp dl, VUM_NOW ; if update now, draw the thing.
je drawNow
; Otherwise, mark image as invalid
; & update based on flags in dl
mov cl, mask VOF_IMAGE_INVALID
mov ax, MSG_VIS_MARK_INVALID
mov di, mask MF_FIXUP_DS
mov bx, ds:[LMBH_handle]
call ObjMessage
jmp short exit
drawNow:
;
; Create a gstate and draw directory, instructing visComp objects
; to avoid drawing their children.
;
mov ax,MSG_VIS_VUP_CREATE_GSTATE
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov bx, ds:[LMBH_handle]
call ObjMessage
EC < ; Should not be possible for this not to be answered >
EC < ERROR_NC VIS_MSG_VIS_VUP_CREATE_GSTATE_NOT_ANSWERED >
push bp ; Save the gstate handle
mov cl, mask DF_DONT_DRAW_CHILDREN
mov ax, MSG_VIS_DRAW
mov di, mask MF_FIXUP_DS
call ObjMessage
pop di ; Recover the gstate handle
call GrDestroyState ; and destroy it
exit:
ret
HandleEnabledStateChange endp
COMMENT @----------------------------------------------------------------------
METHOD: VisConvertDesiredSize --
MSG_SPEC_CONVERT_DESIRED_SIZE_HINT for VisClass
DESCRIPTION: Converts desired size arguments for this class. For non-
composite objects, we'll convert the SpecSizeSpec arguments,
add any extra size that our specific part returns for us,
and returns the sum.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_CONVERT_DESIRED_SIZE_HINT
cx - {SpecSizeSpec} desired width
dx - {SpecSizeSpec} desired height
bp - {SpecSizeSpec} number of children (comps only)
RETURN: cx, dx - converted width, height
ax, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 4/30/91 Initial version
------------------------------------------------------------------------------@
VisSpecConvertDesiredSizeHint method VisClass,
MSG_SPEC_CONVERT_DESIRED_SIZE_HINT
push dx ;save desired height, width
push cx
mov ax, MSG_SPEC_GET_EXTRA_SIZE ;return any non-moniker space
call ObjCallInstanceNoLock ; in cx, dx
push cx, dx ;what was I thinking
mov ax, MSG_VIS_VUP_CREATE_GSTATE
call ObjCallInstanceNoLock ;get a gstate to work with
pop cx, dx ;what was I thinking
mov di, bp ;gstate in di
pop ax ;restore passed width in ax
tst ax ;is there one?
jnz 10$ ;yes, continue
mov cx, ax ;else don't return anything
jmp short 20$
10$:
call VisConvertSpecVisSize ;calc a real width in ax
add cx, ax ;add to extra size
20$:
pop ax ;restore passed height
tst ax ;is there one?
jnz 30$ ;yes, continue
mov dx, ax ;else don't return anything
jmp short 40$
30$:
call VisConvertSpecVisSize ;calc a real height in ax
add dx, ax ;add to extra height
40$:
call GrDestroyState
Destroy ax, bp
ret
VisSpecConvertDesiredSizeHint endm
VisCommon ends
;
;-------------------
;
VisUncommon segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisGetSpecAttrs --
MSG_SPEC_GET_ATTRS for VisClass
DESCRIPTION: Returns spec attributes.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_GET_ATTRS
RETURN: cl - SpecAttrs
ax, ch, dx, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 7/10/91 Initial version
------------------------------------------------------------------------------@
VisSpecGetAttrs method dynamic VisClass, MSG_SPEC_GET_ATTRS
Destroy ax, cx, dx, bp
mov cl, ds:[di].VI_specAttrs
ret
VisSpecGetAttrs endm
VisUncommon ends
;
;-------------------
;
VisUpdate segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
VisSpecUpdateVisMoniker
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: This message handler just checks to see if the size of the
moniker has changed. If so, it sets the image AND geometry
invalid. Otherwise, it sets just the image invalid.
CALLED BY: GLOBAL
PASS: dl - update mode
cx - old width (or NO_VIS_MONIKER if there was none)
bp - old height (or NO_VIS_MONIKER if there was none)
RETURN: ax, cx, dx, bp - destroyed
DESTROYED: bx, si, di, ds, es
PSEUDO CODE/STRATEGY:
This page intentionally left blank
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
atw 1/ 7/90 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
VisSpecUpdateVisMoniker method dynamic VisClass, MSG_SPEC_UPDATE_VIS_MONIKER
EC < ; Make sure that instance data is not hosed >
EC < call ECCheckVisFlags >
;
; If not yet specifically built, then moniker changing does not affect
; us visually.
;
call VisCheckIfSpecBuilt
jnc done
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz fullInvalid ;not a gen object, just inval
push dx ;Save VisUpdateMode
push cx,bp ;Save old dimensions
EC < test dl, 0ffh AND (not mask SBF_UPDATE_MODE) >
EC < ERROR_NZ UI_BAD_VIS_UPDATE_MODE >
push es ;Save idata segment
segmov es,ds,di ;*ES:DI <- new vis moniker
mov di,ds:[si]
add di,ds:[di].Gen_offset ;Get vis moniker chunk
mov di,ds:[di].GI_visMoniker ;
clr bp ;
clr ax ;don't know text height
call VisGetMonikerSize ;Returns CX,DX as size
mov bp,dx ;CX,BP <- new dimensions
pop es ;Restore idata segment
pop ax,bx ;AX,BX <- old dimensions
pop dx ;Restore VisUpdateMode
; COMPARE SIZES AND MARK OBJECT INVALID ACCORDINGLY
cmp ax,cx ;Test sizes. If any difference,
jne fullInvalid ; set geometry invalid. Else,
cmp bx,bp ; just set image invalid
jne fullInvalid
mov cl,mask VOF_IMAGE_INVALID ;CL <- what to mark invalid
GOTO VisMarkInvalid ; Mark object image as invalid
fullInvalid:
call VisMarkFullyInvalid ;Invalidate GEOMETRY and IMAGE
; & do a visual update
; (pass update mode in dl)
; mov ax,MSG_VIS_VUP_UPDATE_WIN_GROUP
; call ObjCallInstanceNoLock
call VisVupUpdateWinGroup ;call statically
done:
Destroy ax, cx, dx, bp
ret
VisSpecUpdateVisMoniker endm
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecUpdateKbdAccelerator --
MSG_SPEC_UPDATE_KBD_ACCELERATOR for VisClass
DESCRIPTION: Does visual fixup after accelerator changes.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_UPDATE_KBD_ACCELERATOR
dl - VisUpdateMode
RETURN: nothing
ax, cx, dx, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
chris 4/22/92 Initial Version
------------------------------------------------------------------------------@
VisSpecUpdateKbdAccelerator method dynamic VisClass, \
MSG_SPEC_UPDATE_KBD_ACCELERATOR
mov cl, mask VOF_GEOMETRY_INVALID or mask VOF_IMAGE_INVALID
call VisMarkInvalid
ret
VisSpecUpdateKbdAccelerator endm
VisUpdate ends
;
;-------------------
;
VisCommon segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecGupQueryVisParent
DESCRIPTION: Queries for a certain kind of VisParent.
This method forces specific building of object, & therefore shouldn't
be done prior to setting up pre-specifically built hints, attributes,
& for some objects, tree location.
WHO CAN USE: Anyone
PASS: *ds:si - object
ax - MSG_SPEC_GUP_QUERY_VIS_PARENT
cx - SpecQueryVisParentType
RETURN: carry - Set if data found & returned, clear if no object
responded
^lcx:dx - object suitable to be this object's
visible parent
ax, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 2/89 Initial version
------------------------------------------------------------------------------@
VisSpecGupQueryVisParent method dynamic VisClass,
MSG_SPEC_GUP_QUERY_VIS_PARENT
EC < test ds:[di].VI_typeFlags, mask VTF_IS_GEN >
EC < ERROR_Z UI_GUP_QUERY_CALLED_ON_NON_GEN_OBJECT >
call GenCallParentEnsureStack ; send to parent by default
jc exit ; query answered, exit
clr cx
mov dx, cx ; else make sure ^lcx:dx is zeroed
exit:
ret
VisSpecGupQueryVisParent endm
VisCommon ends
;
;---------------
;
Navigation segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisSpecNavigate --
MSG_SPEC_NAVIGATE for VisClass
DESCRIPTION: Handles navigation for most objects.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_NAVIGATE
bp - NavigateFlags
RETURN: carry set if answered,
^lcx:dx - object responding to navigation
ax, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
chris 12/ 9/91 Initial Version
------------------------------------------------------------------------------@
VisSpecNavigate method dynamic VisClass, MSG_SPEC_NAVIGATE
lastFocusableObj local optr
originatorObj local optr
navigateFlags local NavigateFlags
mov di, bp
.enter
mov navigateFlags, di ;initialize local vars
mov originatorObj.chunk, si
mov bx, ds:[LMBH_handle]
mov originatorObj.handle, bx
clr lastFocusableObj.handle, lastFocusableObj.chunk
queryLoop:
;
; ^lbx:si is next object to query. Query the object.
;
push bx, si ;save destination object
mov cx, originatorObj.handle ;pass originator
mov dx, originatorObj.chunk
push bp
mov bp, navigateFlags ;pass navigate flags
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov ax, MSG_SPEC_NAVIGATION_QUERY
call ObjMessage ;query the objects
mov di, bp
pop bp
mov navigateFlags, di ;return navigate flags here
jc matchFound ;found match, branch
tst cx ;anywhere to go next?
jz exit ;no, branch (carry clear)
mov si, dx ;^lbx:si <- next object to query
mov bx, cx
pop cx, dx ;restore object we queried
tst al ;last object focusable?
jz queryLoop ;nope, move on
mov lastFocusableObj.handle, cx ;else save as last focusable obj
mov lastFocusableObj.chunk, dx
jmp short queryLoop ;and loop to do another
matchFound:
add sp, 4 ;unload stack stuff
;
; If we're going backwards, we'll return the last focusable object
; *before* the one that matched.
;
test navigateFlags, mask NF_BACKTRACK_AFTER_TRAVELING
jz exitMatch
mov cx, lastFocusableObj.handle
mov dx, lastFocusableObj.chunk
VSN_reachedPrevious label near ;THIS LABEL USED BY SHOWCALLS IN SWAT.
ForceRef VSN_reachedPrevious
;this backtrack query has found the object which is considered
;"previous" from the starting point.
EC < nop ;make labels distinct >
exitMatch:
;
; Let the object know it has won the navigation contest. Left here
; for the object's benefit, since it can't really sniff out if it is
; the recipient of backwards navigation.
;
push cx, dx
mov bx, cx
mov si, dx
push bp
mov bp, navigateFlags ;pass navigate flags
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov ax, MSG_SPEC_NOTIFY_NAVIGATION_COMPLETE
call ObjMessage
pop bp
pop cx, dx
stc ;signal a match
exit:
mov di, navigateFlags ;restore bp
.leave
mov bp, di
ret
VisSpecNavigate endm
Navigation ends
;
;---------------
;
VisUpdate segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisNotifyGeometryValid --
MSG_VIS_NOTIFY_GEOMETRY_VALID for VisClass
DESCRIPTION: Notifies the object that the geometry is valid. If this
handler is reached, we'll assume that there is some kind
of position hint on the object and scan for it.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_VIS_NOTIFY_GEOMETRY_VALID
RETURN: nothing
ax, cx, dx, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
chris 2/ 4/92 Initial Version
------------------------------------------------------------------------------@
VisNotifyGeometryValid method dynamic VisClass, MSG_VIS_NOTIFY_GEOMETRY_VALID
test ds:[di].VI_typeFlags, mask VTF_IS_GEN
jz exit ;not generic, exit
call VisSpecCheckForPosHints
jnc exit ;no position hints, exit
mov ax, MSG_VIS_POSITION_BRANCH
call ObjCallInstanceNoLock ;set a new position, and make
; sure we do children, too!
; 6/21/93 cbh
; This error checking dies in a few cases where we really don't want
; it to die, even though it is not *exactly* kosher -- tony 12/14/92
if 0
if ERROR_CHECK
;
; Make sure the object's bounds are still within the parent's.
;
push ax, cx, dx, bp, di
mov ax, MSG_VIS_GET_BOUNDS
call VisCallParent ;parent bounds in ax,bp,cx,dx
mov di, ds:[si]
add di, ds:[di].Vis_offset
cmp ds:[di].VI_bounds.R_left, ax
ERROR_B UI_POSITION_HINT_FORCES_OBJECT_OUTSIDE_VIS_PARENT_BOUNDS
cmp ds:[di].VI_bounds.R_right, cx
ERROR_A UI_POSITION_HINT_FORCES_OBJECT_OUTSIDE_VIS_PARENT_BOUNDS
cmp ds:[di].VI_bounds.R_top, bp
ERROR_B UI_POSITION_HINT_FORCES_OBJECT_OUTSIDE_VIS_PARENT_BOUNDS
cmp ds:[di].VI_bounds.R_bottom, dx
ERROR_A UI_POSITION_HINT_FORCES_OBJECT_OUTSIDE_VIS_PARENT_BOUNDS
pop ax, cx, dx, bp, di
endif
endif
exit:
ret
VisNotifyGeometryValid endm
VisUpdate ends
;
;-------------------
;
VisUpdate segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisRescanGeoAndUpdate --
MSG_SPEC_RESCAN_GEO_AND_UPDATE for VisClass
DESCRIPTION: Rescans geometry and performs a geometry update if needed.
PASS: *ds:si - instance data
es - segment of MetaClass
ax - MSG_SPEC_RESCAN_GEO_AND_UPDATE
cl - VisOptFlags to mark invalid
dl - VisUpdateMode
RETURN: nothing
ax, cx, dx, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
chris 2/ 5/92 Initial Version
------------------------------------------------------------------------------@
VisSpecRescanGeoAndUpdate method dynamic VisClass,
MSG_SPEC_RESCAN_GEO_AND_UPDATE
;
; Reset size hint flag in specific UI.
;
mov al, cl ;VisOptFlags
mov ah, dl ;VisUpdateMode
push ax ;save 'em
mov cx, mask VGA_NO_SIZE_HINTS shl 8 ;else clear this flag
mov dl, VUM_MANUAL ;update comes later
mov ax, MSG_VIS_SET_GEO_ATTRS
call ObjCallInstanceNoLock
mov ax, MSG_SPEC_SCAN_GEOMETRY_HINTS ;scan in generic instance
call ObjCallInstanceNoLock
clr bp ;get non-win-group first
call VisGetSpecificVisObject ; in ^lcx:dx
movdw bxdi, cxdx
mov bp, mask SBF_WIN_GROUP ;now win-group
call VisGetSpecificVisObject ; in ^lcx:dx
cmpdw bxsi, cxdx ;are they the same?
pop ax ;(VisOptFlags, VisUpdateMode)
je winGroup ;yes, do win group part
push cx, dx, ax ;save winGroup part
movdw cxdx, bxdi ;pass non winGroupPart
call UpdateSpecObject ;update stuff
pop cx, dx, ax
winGroup:
call UpdateSpecObject ;do win group part
ret
VisSpecRescanGeoAndUpdate endm
UpdateSpecObject proc near
;
; ^lcx:dx -- object, al -- VisOptFlags, ah -- VisUpdateMode
;
tst dx ;nothing to do, exit
jz exit
movdw bxsi, cxdx
mov dl, ah ;VisUpdateMode
mov cl, al ;VisOptFlags
mov ax, MSG_VIS_MARK_INVALID
mov di, mask MF_CALL
call ObjMessage
exit:
ret
UpdateSpecObject endp
VisUpdate ends
;
;-------------------
;
Build segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisResolveMonikerList --
MSG_SPEC_RESOLVE_MONIKER_LIST for VisClass
DESCRIPTION: Used by Generic UI to implement the MSG_GEN_REPLACE_VIS_MONIKER,
MSG_GEN_PRIMARY_REPLACE_LONG_TERM_MONIKER case where a moniker
list is passed and the object is already built -- the specific
UI must choose one of the monikers in the moniker list.
PASS: *ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_RESOLVE_MONIKER_LIST
cx - chunk handle of moniker list, to be replaced by
most appropriate moniker
(IN SAME BLOCK AS THIS OBJECT)
RETURN: most appropriate moniker choosen from moniker list and replaces
passed moniker list chunk
ax, cx, dx, bp - destroyed
ALLOWED TO DESTROY:
bx, si, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 4/1/92 Initial Version
------------------------------------------------------------------------------@
VisSpecResolveMonikerList method dynamic VisClass,
MSG_SPEC_RESOLVE_MONIKER_LIST
call UserGetDisplayType ; ah = DisplayType
call UserLimitDisplayTypeToStandard
mov bh, ah ; bh = DisplayType
; bp = VisMonikerSearchFlags
; (we don't pass VMSF_REPLACE_LIST as
; we manually replace below)
mov bp, mask VMSF_GSTRING or \
(VMS_ICON shl offset VMSF_STYLE)
; return non-textual GString if any,
; otherwise GString, otherwise
; non-abbreviated text string.
mov di, cx ; *ds:di = VisMoniker or VisMonikerList
call VisFindMoniker ; ^lcx:dx = VisMoniker
mov ax, ds:[LMBH_handle] ; ax = object block handle
sub sp, CopyChunkOVerFrame
mov bp, sp
mov ss:[bp].CCOVF_source.handle, cx ; source =
; found moniker
mov ss:[bp].CCOVF_source.chunk, dx
mov ss:[bp].CCOVF_dest.handle, ax ; dest = passed chunk
mov ss:[bp].CCOVF_dest.chunk, di
; XXX don't mark dirty?
mov ss:[bp].CCOVF_copyFlags, CCM_OPTR shl offset CCF_MODE
mov dx, size CopyChunkOVerFrame
call UserHaveProcessCopyChunkOver
add sp, size CopyChunkOVerFrame
ret
VisSpecResolveMonikerList endm
Build ends
BuildUncommon segment resource
COMMENT @----------------------------------------------------------------------
METHOD: VisResolveTokenMoniker --
MSG_SPEC_RESOLVE_TOKEN_MONIKER for VisClass
DESCRIPTION: Used by Generic UI to implement MSG_GEN_REPLACE_VIS_MONIKER,
MSG_GEN_PRIMARY_REPLACE_LONG_TERM_MONIKER, and
MSG_GEN_DYNAMIC_LIST_COPY_ITEM_MONIKER. The specific UI
chooses a moniker passed on the passed token chunk and replaces
the chunk with the appropriate moniker.
PASS: *ds:si - instance data
es - segment of VisClass
ax - MSG_SPEC_RESOLVE_TOKEN_MONIKER
cx - chunk handle of GeodeToken, to be replaced by
most appropriate moniker in Token Database's
moniker list for the token
(IN SAME BLOCK AS THIS OBJECT)
RETURN: carry clear if successful (token found)
passed chunk now contains most appropriate moniker
carry set if unsuccessful (token not in Token Database)
passed chunk unchanged!! -- DO NOT use for moniker
as it is not a moniker chunk
ax, cx, dx, si, bp - destroyed
ALLOWED TO DESTROY:
bx, di, ds, es
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 3/27/92 Initial Version
------------------------------------------------------------------------------@
VisSpecResolveTokenMoniker method dynamic VisClass,
MSG_SPEC_RESOLVE_TOKEN_MONIKER
call UserGetDisplayType ; ah = DisplayType
mov dh, ah ; dh = DisplayType
mov di, cx ; di = chunk
mov bx, ds:[di] ; deref. chunk
mov si, ({GeodeToken} ds:[bx]).GT_manufID
mov ax, {word} ({GeodeToken} ds:[bx]).GT_chars+0
mov bx, {word} ({GeodeToken} ds:[bx]).GT_chars+2
; bp = VisMonikerSearchFlags
mov bp, mask VMSF_GSTRING or \
(VMS_ICON shl offset VMSF_STYLE)
; return non-textual GString if any,
; otherwise GString, otherwise
; non-abbreviated text string.
call TokenLookupMoniker ; cx/dx = dbase group/item
; ax <- shared/local
; token DB file flag
jc done ; not found, exit with carry set
push ax
mov si, ds:[LMBH_handle] ; si = object block handle
call TokenLockTokenMoniker ; *ds:bx = moniker chunk
mov bx, ds:[bx] ; ds:bx = moniker chunk
ChunkSizePtr ds, bx, cx ; cx = moniker chunk size
EC < test cx, not mask CCF_SIZE >
EC < ERROR_NZ UI_ERROR_CREATE_VIS_MONIKER_SOURCE_TOO_LARGE >
ornf cx, mask CCF_DIRTY or (CCM_FPTR shl offset CCF_MODE)
mov dx, size CopyChunkOVerFrame
sub sp, dx
mov bp, sp
mov ss:[bp].CCOVF_source.segment, ds ; source = token moniker
mov ss:[bp].CCOVF_source.offset, bx
mov ss:[bp].CCOVF_dest.handle, si ; dest = passed chunk
mov ss:[bp].CCOVF_dest.chunk, di
mov ss:[bp].CCOVF_copyFlags, cx
call UserHaveProcessCopyChunkOver
add sp, size CopyChunkOVerFrame
pop ax ; ax <- shared/local
; token DB flag
call TokenUnlockTokenMoniker ; release our grasp
clc ; indicate success
done:
ret
VisSpecResolveTokenMoniker endm
BuildUncommon ends
| 28.904921 | 85 | 0.664715 |
1e015463487c292b0b83caec5bbc568d53b6ded1 | 4,378 | asm | Assembly | FreeRTOS/Demo/CORTEX_M4_SimpleLink_CC3220SF_CCS/Full_Demo/RegTest.asm | FMD-AE/FreeRTOS | 426ad44c056c1b41b4a9dca8349d44fbcdfed8ae | [
"MIT"
] | 1 | 2021-11-18T12:37:39.000Z | 2021-11-18T12:37:39.000Z | FreeRTOS/Demo/CORTEX_M4_SimpleLink_CC3220SF_CCS/Full_Demo/RegTest.asm | FMD-AE/FreeRTOS | 426ad44c056c1b41b4a9dca8349d44fbcdfed8ae | [
"MIT"
] | null | null | null | FreeRTOS/Demo/CORTEX_M4_SimpleLink_CC3220SF_CCS/Full_Demo/RegTest.asm | FMD-AE/FreeRTOS | 426ad44c056c1b41b4a9dca8349d44fbcdfed8ae | [
"MIT"
] | 1 | 2020-11-24T18:31:01.000Z | 2020-11-24T18:31:01.000Z | ;/*
; * FreeRTOS V202111.00
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * Permission is hereby granted, free of charge, to any person obtaining a copy of
; * this software and associated documentation files (the "Software"), to deal in
; * the Software without restriction, including without limitation the rights to
; * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
; * the Software, and to permit persons to whom the Software is furnished to do so,
; * subject to the following conditions:
; *
; * The above copyright notice and this permission notice shall be included in all
; * copies or substantial portions of the Software.
; *
; * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
; * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
; * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
; * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
; * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
; *
; * http://www.FreeRTOS.org
; * http://aws.amazon.com/freertos
; *
; * 1 tab == 4 spaces!
; */
.thumb
.ref ulRegTest1LoopCounter
.ref ulRegTest2LoopCounter
.def vRegTest1Implementation
.def vRegTest2Implementation
ulRegTest1LoopCounterConst: .word ulRegTest1LoopCounter
ulRegTest2LoopCounterConst: .word ulRegTest2LoopCounter
ulNVIC_INT_CTRL: .word 0xe000ed04
;/*-----------------------------------------------------------*/
.align 4
vRegTest1Implementation: .asmfunc
;/* Fill the core registers with known values. */
mov r0, #100
mov r1, #101
mov r2, #102
mov r3, #103
mov r4, #104
mov r5, #105
mov r6, #106
mov r7, #107
mov r8, #108
mov r9, #109
mov r10, #110
mov r11, #111
mov r12, #112
reg1_loop:
cmp r0, #100
bne reg1_error_loop
cmp r1, #101
bne reg1_error_loop
cmp r2, #102
bne reg1_error_loop
cmp r3, #103
bne reg1_error_loop
cmp r4, #104
bne reg1_error_loop
cmp r5, #105
bne reg1_error_loop
cmp r6, #106
bne reg1_error_loop
cmp r7, #107
bne reg1_error_loop
cmp r8, #108
bne reg1_error_loop
cmp r9, #109
bne reg1_error_loop
cmp r10, #110
bne reg1_error_loop
cmp r11, #111
bne reg1_error_loop
cmp r12, #112
bne reg1_error_loop
;/* Everything passed, increment the loop counter. */
push { r0-r1 }
ldr r0, ulRegTest1LoopCounterConst
ldr r1, [r0]
adds r1, r1, #1
str r1, [r0]
pop { r0-r1 }
;/* Start again. */
b reg1_loop
reg1_error_loop:
;/* If this line is hit then there was an error in a core register value.
;The loop ensures the loop counter stops incrementing. */
b reg1_error_loop
.endasmfunc
;/*-----------------------------------------------------------*/
.align 4
vRegTest2Implementation: .asmfunc
;/* Set all the core registers to known values. */
mov r0, #-1
mov r1, #1
mov r2, #2
mov r3, #3
mov r4, #4
mov r5, #5
mov r6, #6
mov r7, #7
mov r8, #8
mov r9, #9
mov r10, #10
mov r11, #11
mov r12, #12
reg2_loop:
cmp r0, #-1
bne reg2_error_loop
cmp r1, #1
bne reg2_error_loop
cmp r2, #2
bne reg2_error_loop
cmp r3, #3
bne reg2_error_loop
cmp r4, #4
bne reg2_error_loop
cmp r5, #5
bne reg2_error_loop
cmp r6, #6
bne reg2_error_loop
cmp r7, #7
bne reg2_error_loop
cmp r8, #8
bne reg2_error_loop
cmp r9, #9
bne reg2_error_loop
cmp r10, #10
bne reg2_error_loop
cmp r11, #11
bne reg2_error_loop
cmp r12, #12
bne reg2_error_loop
;/* Increment the loop counter to indicate this test is still functioning
;correctly. */
push { r0-r1 }
ldr r0, ulRegTest2LoopCounterConst
ldr r1, [r0]
adds r1, r1, #1
str r1, [r0]
;/* Yield to increase test coverage. */
movs r0, #0x01
ldr r1, ulNVIC_INT_CTRL
lsl r0, r0, #28 ;/* Shift to PendSV bit */
str r0, [r1]
dsb
pop { r0-r1 }
;/* Start again. */
b reg2_loop
reg2_error_loop:
;/* If this line is hit then there was an error in a core register value.
;This loop ensures the loop counter variable stops incrementing. */
b reg2_error_loop
;/*-----------------------------------------------------------*/
.end
| 23.923497 | 85 | 0.653038 |
cecfa6aedd25868053d27c76ec555d421d5ad90a | 517 | asm | Assembly | programs/oeis/070/A070803.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/070/A070803.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/070/A070803.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A070803: Number of primes not exceeding sum of divisors of n.
; 0,2,2,4,3,5,4,6,6,7,5,9,6,9,9,11,7,12,8,13,11,11,9,17,11,13,12,16,10,20,11,18,15,16,15,24,12,17,16,24,13,24,14,23,21,20,15,30,16,24,20,25,16,30,20,30,22,24,17,39,18,24,27,31,23,34,19,30,24,34,20,44,21,30,30,34,24,39,22,42,30,30,23,48,28,32,30,41,24,51,29,39,31,34,30,54,25,39,36,47
seq $0,203 ; a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).
sub $0,1
seq $0,36234 ; Number of primes <= n, if 1 is counted as a prime.
sub $0,1
| 64.625 | 283 | 0.65764 |
6f22ed34800a9fa697c79d162ff8cac5a21f4645 | 7,274 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0xca_notsx.log_21829_1302.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0xca_notsx.log_21829_1302.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0xca_notsx.log_21829_1302.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x11193, %rsi
lea addresses_A_ht+0x75d3, %rdi
nop
nop
nop
nop
nop
dec %r12
mov $35, %rcx
rep movsw
inc %rdi
lea addresses_WT_ht+0x1be93, %rax
nop
nop
nop
nop
nop
and $63517, %r12
movb (%rax), %r15b
sub %rax, %rax
lea addresses_WT_ht+0x1d493, %rcx
clflush (%rcx)
nop
dec %r15
mov (%rcx), %rsi
nop
nop
nop
dec %rcx
lea addresses_UC_ht+0x119e6, %rcx
clflush (%rcx)
nop
nop
nop
nop
and $61339, %r11
mov $0x6162636465666768, %rax
movq %rax, %xmm4
movups %xmm4, (%rcx)
nop
nop
nop
nop
nop
xor $3852, %r12
lea addresses_WC_ht+0xea53, %rsi
nop
nop
nop
nop
nop
sub %r12, %r12
mov $0x6162636465666768, %r15
movq %r15, (%rsi)
lfence
lea addresses_D_ht+0x19493, %r15
nop
nop
nop
nop
nop
xor $35937, %rdi
mov $0x6162636465666768, %rax
movq %rax, (%r15)
nop
nop
nop
nop
nop
cmp %rsi, %rsi
lea addresses_WC_ht+0x1a193, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
xor %r11, %r11
mov (%rcx), %r12w
nop
and $64084, %r11
lea addresses_normal_ht+0x7a93, %rsi
nop
nop
nop
nop
nop
xor $52206, %r11
movw $0x6162, (%rsi)
nop
nop
dec %r15
lea addresses_WT_ht+0x19d3, %rsi
lea addresses_WT_ht+0x174b3, %rdi
nop
add $34536, %r15
mov $12, %rcx
rep movsb
xor $19218, %rax
lea addresses_WC_ht+0x14b83, %r11
nop
nop
nop
nop
cmp %rcx, %rcx
movl $0x61626364, (%r11)
nop
sub $60409, %r12
lea addresses_WT_ht+0x59fb, %rdi
nop
nop
nop
and $15886, %rcx
movl $0x61626364, (%rdi)
nop
inc %r11
lea addresses_A_ht+0xeb13, %r12
nop
nop
mfence
mov (%r12), %r11w
nop
nop
nop
nop
nop
cmp $61475, %r11
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r15
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r8
push %rcx
push %rdi
// Store
lea addresses_A+0x13c93, %rcx
nop
add $15446, %r8
movb $0x51, (%rcx)
add $49459, %r8
// Store
lea addresses_A+0x13c93, %r8
nop
nop
xor %rcx, %rcx
movw $0x5152, (%r8)
xor %rdi, %rdi
// Faulty Load
lea addresses_A+0x13c93, %r12
nop
nop
nop
xor $8580, %rdi
mov (%r12), %r13d
lea oracles, %r10
and $0xff, %r13
shlq $12, %r13
mov (%r10,%r13,1), %r13
pop %rdi
pop %rcx
pop %r8
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_A', 'size': 1, 'AVXalign': True}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_A', 'size': 1, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': True, 'type': 'addresses_A', 'size': 2, 'AVXalign': True}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_A', 'size': 4, 'AVXalign': True}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 0, 'same': True}}
{'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': True}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 8, 'NT': True, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_A_ht', 'size': 2, 'AVXalign': True}, 'OP': 'LOAD'}
{'52': 21829}
52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52
*/
| 34.150235 | 2,999 | 0.654798 |
5d6d27244db80e145d6c21c52043e3899728aaf6 | 7,877 | asm | Assembly | master/rcpod-1.0/rcpod-1.0/firmware/descript.asm | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/rcpod-1.0/rcpod-1.0/firmware/descript.asm | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/rcpod-1.0/rcpod-1.0/firmware/descript.asm | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | ;################################################################################
;
; descript.asm - USB descriptors for the rcpod project
;
; This file is part of the rcpod project. This file is based on the revision 2.00
; USB firmware distributed by Microchip for use with the PIC16C745 and PIC16C765
; microcontrollers. New code added for the rcpod project is placed in the public domain.
;
; rcpod modifications done by Micah Dowty <micah@picogui.org>
;
;###############################################################################
;
; The original license agreement and author information for the USB firmware follow:
;
; Software License Agreement
;
; The software supplied herewith by Microchip Technology Incorporated (the "Company")
; for its PICmicro(r) Microcontroller is intended and supplied to you, the Company's
; customer, for use solely and exclusively on Microchip PICmicro Microcontroller
; products.
;
; The software is owned by the Company and/or its supplier, and is protected under
; applicable copyright laws. All rights are reserved. Any use in violation of the
; foregoing restrictions may subject the user to criminal sanctions under applicable
; laws, as well as to civil liability for the breach of the terms and conditions of
; this license.
;
; THIS SOFTWARE IS PROVIDED IN AN "AS IS" CONDITION. NO WARRANTIES, WHETHER EXPRESS,
; IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
; MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE
; COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
; CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
;
; Author: Dan Butler and Reston Condit
; Company: Microchip Technology Inc
;
;################################################################################
#include <p16C765.inc>
#include "usb_defs.inc"
#include "../include/rcpod_protocol.h"
USBBANK code
global Config_desc_index
global Descriptions
global DeviceDescriptor
global String0
global StringDescriptions
global GetStringIndex
extern EP0_start
extern temp ; temp var used in get config index
extern temp2 ; another temp, in bank2
; ******************************************************************
; Given a configuration descriptor index, returns the beginning address
; of the descriptor within the descriptions table
; ******************************************************************
Config_desc_index
movwf temp
movlw HIGH CDI_start
movwf PCLATH
movlw low CDI_start
addwf temp,w
btfsc STATUS,C
incf PCLATH,f
movwf PCL
CDI_start ; this table calculates the offsets for each
retlw low Config1 ; configuration descriptor from the beginning
retlw high Config1 ; of the table
; more configurations can be added here
; retlw low Config2
; retlw high Config2
; etc....
; ******************************************************************
; This table is polled by the host immediately after USB Reset has been released.
; This table defines the maximum packet size EP0 can take.
; See section 9.6.1 of the Rev 1.0 USB specification.
; These fields are application DEPENDENT. Modify these to meet
; your specifications.
; the offset is passed in P0 and P1 (P0 is low order byte).
; ******************************************************************
Descriptions
banksel EP0_start
movf EP0_start+1,w
movwf PCLATH
movf EP0_start,w
movwf PCL
DeviceDescriptor
StartDevDescr
retlw 0x12 ; bLengthLength of this descriptor
retlw 0x01 ; bDescType This is a DEVICE descriptor
retlw 0x10 ; bcdUSBUSB revision 1.10 (low byte)
retlw 0x01 ; high byte
retlw 0x00 ; bDeviceClasszero means each interface operates independently
retlw 0x00 ; bDeviceSubClass
retlw 0x00 ; bDeviceProtocol
retlw 0x08 ; bMaxPacketSize0 - inited in UsbInit()
retlw RCPOD_VENDOR_ID & 0xFF ; idVendor
retlw RCPOD_VENDOR_ID >> 8
retlw RCPOD_PRODUCT_ID & 0xFF ; idProduct
retlw RCPOD_PRODUCT_ID >> 8
retlw RCPOD_PROTOCOL_VERSION & 0xFF ; bcdDevice
retlw RCPOD_PROTOCOL_VERSION >> 8
retlw 0x01 ; iManufacturer
retlw 0x02 ; iProduct
retlw 0x00 ; iSerialNumber - 3
retlw NUM_CONFIGURATIONS ; bNumConfigurations
; ******************************************************************
; This table is retrieved by the host after the address has been set.
; This table defines the configurations available for the device.
; See section 9.6.2 of the Rev 1.0 USB specification (page 184).
; These fields are application DEPENDENT.
; Modify these to meet your specifications.
; ******************************************************************
Config1
retlw 0x09 ; bLengthLength of this descriptor
retlw 0x02 ; bDescType2 = CONFIGURATION
retlw EndConfig1 - Config1
retlw 0x00
retlw 0x01 ; bNumInterfacesNumber of interfaces
retlw 0x01 ; bConfigValueConfiguration Value
retlw 0x00 ; iConfigString Index for this config = none
retlw 0xA0 ; bmAttributesattributes - bus powered
retlw 0x32 ; MaxPowerself-powered draws 100 mA from the bus.
Interface1
retlw 0x09 ; length of descriptor
retlw INTERFACE
retlw 0x00 ; number of interface, 0 based array
retlw 0x00 ; alternate setting
retlw 0x00 ; number of endpoints used in this interface
retlw 0xFF ; interface class - vendor specific
retlw 0xFF ; vendor specific subclass (not a boot device)
retlw 0xFF ; vendor specific protocol
retlw 0x00 ; index to string descriptor that describes this interface = none
EndConfig1
; ******************************************************************
; Given a string descriptor index, returns the beginning address
; of the descriptor within the descriptions table
; ******************************************************************
GetStringIndex ; langid in W reg, string offset in EP0_start
movwf temp
movlw HIGH StringIndexTable
movwf PCLATH
movlw LOW StringIndexTable
addwf temp,w
btfsc STATUS,C
incf PCLATH,f
movwf PCL
StringIndexTable
retlw low String0 ; LangIDs
retlw high String0
retlw low String1
retlw high String1
retlw low String2
retlw high String2
StringDescriptions
banksel EP0_start
movf EP0_start+1,w
movwf PCLATH
movf EP0_start,w
movwf PCL
String0
retlw low (String1 - String0) ; length of string
retlw 0x03 ; descriptor type 3?
retlw 0x09 ; language ID (as defined by MS 0x0409)
retlw 0x04
String1
retlw String2-String1 ; length of string
retlw 0x03 ; string descriptor type 3
retlw 'M'
retlw 0x00
retlw 'i'
retlw 0x00
retlw 'c'
retlw 0x00
retlw 'a'
retlw 0x00
retlw 'h'
retlw 0x00
retlw ' '
retlw 0x00
retlw 'D'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'w'
retlw 0x00
retlw 't'
retlw 0x00
retlw 'y'
retlw 0x00
retlw ' '
retlw 0x00
retlw '<'
retlw 0x00
retlw 'm'
retlw 0x00
retlw 'i'
retlw 0x00
retlw 'c'
retlw 0x00
retlw 'a'
retlw 0x00
retlw 'h'
retlw 0x00
retlw '@'
retlw 0x00
retlw 'p'
retlw 0x00
retlw 'i'
retlw 0x00
retlw 'c'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'g'
retlw 0x00
retlw 'u'
retlw 0x00
retlw 'i'
retlw 0x00
retlw '.'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'r'
retlw 0x00
retlw 'g'
retlw 0x00
retlw '>'
retlw 0x00
String2
retlw String3-String2
retlw 0x03
retlw 'R'
retlw 0x00
retlw 'e'
retlw 0x00
retlw 'm'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 't'
retlw 0x00
retlw 'e'
retlw 0x00
retlw ' '
retlw 0x00
retlw 'C'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'n'
retlw 0x00
retlw 't'
retlw 0x00
retlw 'r'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'l'
retlw 0x00
retlw 'l'
retlw 0x00
retlw 'e'
retlw 0x00
retlw 'd'
retlw 0x00
retlw ' '
retlw 0x00
retlw 'P'
retlw 0x00
retlw 'I'
retlw 0x00
retlw 'C'
retlw 0x00
retlw ' '
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'f'
retlw 0x00
retlw ' '
retlw 0x00
retlw 'D'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'o'
retlw 0x00
retlw 'm'
retlw 0x00
String3
end
;### The End ###
| 25.74183 | 88 | 0.673861 |
f2b4e5570c9e152f04a751121b6e57a10b87f23b | 1,114 | asm | Assembly | programs/oeis/099/A099188.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/099/A099188.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/099/A099188.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A099188: a(n) = 2*ceiling(n/sqrt(2)).
; 0,2,4,6,6,8,10,10,12,14,16,16,18,20,20,22,24,26,26,28,30,30,32,34,34,36,38,40,40,42,44,44,46,48,50,50,52,54,54,56,58,58,60,62,64,64,66,68,68,70,72,74,74,76,78,78,80,82,84,84,86,88,88,90,92,92,94,96,98,98,100,102,102,104,106,108,108,110,112,112,114,116,116,118,120,122,122,124,126,126,128,130,132,132,134,136,136,138,140,142,142,144,146,146,148,150,150,152,154,156,156,158,160,160,162,164,166,166,168,170,170,172,174,174,176,178,180,180,182,184,184,186,188,190,190,192,194,194,196,198,198,200,202,204,204,206,208,208,210,212,214,214,216,218,218,220,222,224,224,226,228,228,230,232,232,234,236,238,238,240,242,242,244,246,248,248,250,252,252,254,256,256,258,260,262,262,264,266,266,268,270,272,272,274,276,276,278,280,282,282,284,286,286,288,290,290,292,294,296,296,298,300,300,302,304,306,306,308,310,310,312,314,314,316,318,320,320,322,324,324,326,328,330,330,332,334,334,336,338,338,340,342,344,344,346,348,348,350,352,354
mov $2,$0
lpb $0,1
lpb $0,1
sub $0,1
add $4,$2
lpe
add $3,2
mov $5,$4
lpb $5,1
add $1,2
trn $5,$3
add $3,4
lpe
lpe
| 61.888889 | 925 | 0.683124 |
d676aba2b75b4652ff5762106c9f5688af095cc3 | 583 | asm | Assembly | caesar.asm | rec0de/RO18 | bf5b17d087243dee78501b515f397f7fe96ee1f5 | [
"Unlicense"
] | null | null | null | caesar.asm | rec0de/RO18 | bf5b17d087243dee78501b515f397f7fe96ee1f5 | [
"Unlicense"
] | null | null | null | caesar.asm | rec0de/RO18 | bf5b17d087243dee78501b515f397f7fe96ee1f5 | [
"Unlicense"
] | null | null | null | .data:
message: .asciiz "JEVGVATZVCFNFFRZOYLFHPXF"
.text
# Find start and end of string and store in $t3 / $t2
la $t2, message
add $t3, $0, $t2
fndloop:
addi $t2, $t2, 1
lb $t0, 0($t2)
bne $t0, $0, fndloop
# Store data length in $t5
sub $t5, $t2, $t3
li $t1, 26
cryptbyte:
lb $t0, 0($t3) # Load next byte
subi $t0, $t0, 52 # - 65 + 13
div $t0, $t1 # Take modulo 26
mfhi $t0
addi $t0, $t0, 65 # + 65
add $t4, $t3, $t5 # Calculate storage addr for encrypted byte
sb $t0, 1($t4)
addi $t3, $t3, 1 # Move to next byte
bne $t3, $t2, cryptbyte # Loop if next byte is not end of input
| 20.103448 | 63 | 0.634648 |
d6deebd9c3687c783a809f1d9d57a5a7829b18c1 | 719 | asm | Assembly | oeis/012/A012244.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/012/A012244.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/012/A012244.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A012244: a(n+2) = (2n+3)*a(n+1) + (n+1)^2*a(n), a(0) = 1, a(1) = 1.
; Submitted by Christian Krause
; 1,1,4,24,204,2220,29520,463680,8401680,172504080,3958113600,100370793600,2787459998400,84139894238400,2742857884166400,96034297911552000,3594206259195552000,143193586818810528000,6050501147565883008000,270263264589232282368000,12724498233251342778240000,629809733398997966855040000,32693322257020754739970560000,1776027412531048979256514560000,100768055862923281282500610560000,5960626526901124994894282304000000,366971987786284425541171279104000000,23478898884858235050230612630016000000
mov $3,1
lpb $0
add $3,$1
mov $2,$3
add $3,$1
mov $1,$0
sub $0,1
mul $3,$1
mul $1,$2
sub $1,$2
lpe
mov $0,$3
| 42.294118 | 490 | 0.794159 |
b3bccf3e1ef4eb3c0c8f02879260dcf6d6a8ebd4 | 3,347 | asm | Assembly | libsrc/graphics/putsprite2.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/graphics/putsprite2.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/graphics/putsprite2.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | ;
; Sprite Rendering Routine
; original code by Patrick Davidson (TI 85)
; modified by Stefano Bodrato - Jan 2001
;
; Sept 2003 - Stefano: Fixed bug for sprites wider than 8.
;
; Much More Generic version
; Uses plotpixel, respixel and xorpixel
;
;
; $Id: putsprite2.asm,v 1.4 2003/09/22 13:30:52 stefano Exp $
;
XLIB putsprite
LIB plotpixel
LIB respixel
LIB xorpixel
; coords: h,l (vert-horz)
; sprite: (ix)
.putsprite
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,(hl) ;sprite address
push de
pop ix
inc hl
ld e,(hl)
inc hl
inc hl
ld d,(hl) ; x and y coords
inc hl
inc hl
ld a,(hl) ; and/or/xor mode
ld h,d
ld l,e
cp 166 ; and(hl) opcode
jr z,doand
cp 182 ; or(hl) opcode
jr z,door
; 182 - or
; 174 - xor
.doxor
ld a,(ix+0) ; Width
ld b,(ix+1) ; Height
.oloopx push bc ;Save # of rows
push af
;ld b,a ;Load width
ld b,0 ; Better, start from zero !!
ld c,(ix+2) ;Load one line of image
.iloopx sla c ;Test leftmost pixel
jr nc,noplotx ;See if a plot is needed
pop af
push af
push hl
;push bc ; this should be done by the called routine
push de
ld a,h
add a,b
ld h,a
call xorpixel
pop de
;pop bc
pop hl
.noplotx
inc b ; witdh counter
pop af
push af
cp b ; end of row ?
jr nz,noblkx
inc ix
ld c,(ix+2) ;Load next byte of image
jr noblockx
.noblkx
ld a,b ; next byte in row ?
;dec a
and a
jr z,iloopx
and 7
jr nz,iloopx
.blockx
inc ix
ld c,(ix+2) ;Load next byte of image
jr iloopx
.noblockx
inc l
pop af
pop bc ;Restore data
djnz oloopx
ret
.doand
ld a,(ix+0) ; Width
ld b,(ix+1) ; Height
.oloopa push bc ;Save # of rows
push af
;ld b,a ;Load width
ld b,0 ; Better, start from zero !!
ld c,(ix+2) ;Load one line of image
.iloopa sla c ;Test leftmost pixel
jr nc,noplota ;See if a plot is needed
pop af
push af
push hl
;push bc ; this should be done by the called routine
push de
ld a,h
add a,b
ld h,a
call respixel
pop de
;pop bc
pop hl
.noplota
inc b ; witdh counter
pop af
push af
cp b ; end of row ?
jr nz,noblka
inc ix
ld c,(ix+2) ;Load next byte of image
jr noblocka
.noblka
ld a,b ; next byte in row ?
;dec a
and a
jr z,iloopa
and 7
jr nz,iloopa
.blocka
inc ix
ld c,(ix+2) ;Load next byte of image
jr iloopa
.noblocka
inc l
pop af
pop bc ;Restore data
djnz oloopa
ret
.door
ld a,(ix+0) ; Width
ld b,(ix+1) ; Height
.oloopo push bc ;Save # of rows
push af
;ld b,a ;Load width
ld b,0 ; Better, start from zero !!
ld c,(ix+2) ;Load one line of image
.iloopo sla c ;Test leftmost pixel
jr nc,noploto ;See if a plot is needed
pop af
push af
push hl
;push bc ; this should be done by the called routine
push de
ld a,h
add a,b
ld h,a
call plotpixel
pop de
;pop bc
pop hl
.noploto
inc b ; witdh counter
pop af
push af
cp b ; end of row ?
jr nz,noblko
inc ix
ld c,(ix+2) ;Load next byte of image
jr noblocko
.noblko
ld a,b ; next byte in row ?
;dec a
and a
jr z,iloopo
and 7
jr nz,iloopo
.blocko
inc ix
ld c,(ix+2) ;Load next byte of image
jr iloopo
.noblocko
;djnz iloopo
inc l
pop af
pop bc ;Restore data
djnz oloopo
ret
| 12.582707 | 61 | 0.608306 |
8e7d341c54d3212518a10065ccee22fae3d567da | 590 | asm | Assembly | programs/oeis/059/A059293.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/059/A059293.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/059/A059293.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A059293: a(n) = round(n*(5*n - 14)/12) + 1.
; 1,0,0,1,3,6,9,13,18,24,31,39,47,56,66,77,89,102,115,129,144,160,177,195,213,232,252,273,295,318,341,365,390,416,443,471,499,528,558,589,621,654,687,721,756,792,829,867,905,944,984,1025,1067,1110,1153,1197,1242,1288,1335,1383,1431,1480,1530,1581,1633,1686,1739,1793,1848,1904,1961,2019,2077,2136,2196,2257,2319,2382,2445,2509,2574,2640,2707,2775,2843,2912,2982,3053,3125,3198,3271,3345,3420,3496,3573,3651,3729,3808,3888,3969
mov $1,1
mov $2,1
mov $3,$0
add $3,1
lpb $0
sub $0,1
sub $1,$2
add $1,$0
trn $3,6
sub $1,$3
lpe
mov $0,$1
| 36.875 | 426 | 0.684746 |
1dd85e06bf724acc5605c18ee1c523e602a83bfa | 201 | asm | Assembly | asm/amd64/windows-post.asm | dd86k/ddcput | 01f206a6c824f72b94f39c051790ecdaabcf2be4 | [
"MIT"
] | 1 | 2018-09-15T23:29:35.000Z | 2018-09-15T23:29:35.000Z | asm/amd64/windows-post.asm | dd86k/ddcputester | 01f206a6c824f72b94f39c051790ecdaabcf2be4 | [
"MIT"
] | 1 | 2019-11-22T16:34:37.000Z | 2019-11-22T16:34:37.000Z | asm/amd64/windows-post.asm | dd86k/ddcputester | 01f206a6c824f72b94f39c051790ecdaabcf2be4 | [
"MIT"
] | null | null | null | BITS 64
pre_test:
dec edi
jnz near pre_test ; translates to a DWORD
; -- Test finished at this point --
rdtsc
mov [rsi + 8], eax ; __TEST_SETTINGS.ts2_l
mov [rsi + 12], edx ; __TEST_SETTINGS.ts2_h
ret | 20.1 | 43 | 0.721393 |
72310000227209929a29241de9ba24615a956713 | 430 | asm | Assembly | programs/oeis/220/A220494.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/220/A220494.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/220/A220494.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A220494: Number of toothpicks and D-toothpicks after n-th stage in the structure of the D-toothpick "wide" triangle of the first kind.
; 0,1,3,7,11,15,19,27,35,39,43,51,59,67,75,91,107,111,115,123,131,139,147,163,179,187,195,211,227,243,259,291,323,327,331,339,347,355,363,379,395,403,411,427,443,459,475,507,539,547,555,571,587,603
cal $0,160742 ; a(n) = A151566(n)*2.
mov $2,$0
cmp $2,0
add $0,$2
add $0,1
add $1,$0
sub $1,2
| 39.090909 | 197 | 0.697674 |
e99ede0ed0dabd13278a7058889e0a552c5a2ed8 | 25,550 | asm | Assembly | Driver/Mouse/PS2/ps2.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Mouse/PS2/ps2.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Mouse/PS2/ps2.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: MOUSE DRIVER -- Any Mouse in IBM PS/2 port
FILE: ps2.asm
AUTHOR: Adam de Boor, September 29, 1989
ROUTINES:
Name Description
---- -----------
MouseDevInit Initialize device
MouseDevExit Exit device
MouseDevHandler Interrupt routine
MouseDevSetRate Routine to change rate.
REVISION HISTORY:
Name Date Description
---- ---- -----------
Adam 9/29/89 Initial revision
DESCRIPTION:
Device-dependent support for PS2 mouse port. The PS2 BIOS defines
a protocol that all mice connected to the port employ. Rather
than interpreting it ourselves, we trust the BIOS to be efficient
and just register a routine with it. Keeps the driver smaller and
avoids problems with incompatibility etc.
$Id: ps2.asm,v 1.1 97/04/18 11:47:57 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
;
MOUSE_NUM_BUTTONS = 2 ; Most have only 2
MOUSE_MIN_BUTTONS = 1 ; Maybe something has 1...Better give us
; the state on the left button...
MOUSE_IM_MAX_BUTTONS = 3 ; This be all we can handle.
MOUSE_SEPARATE_INIT = 1 ; We use a separate Init resource
include ../mouseCommon.asm ; Include common definitions/code.
include Internal/interrup.def
include Internal/dos.def ; for equipment configuration...
include system.def
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
include Internal/powerDr.def
include ui.def
CHECK_MOUSE_AFTER_POWER_RESUME_DELAY equ 6 ; # ticks
endif
LOG_EVENTS = FALSE
if LOG_EVENTS
%out EVENT LOGGING IS ON. ARE YOU SURE YOU WANT THAT?
endif
;------------------------------------------------------------------------------
; DEVICE STRINGS
;------------------------------------------------------------------------------
MouseExtendedInfoSeg segment lmem LMEM_TYPE_GENERAL
mouseExtendedInfo DriverExtendedInfoTable <
{}, ; lmem header added by Esp
length mouseNameTable, ; Number of supported devices
offset mouseNameTable,
offset mouseInfoTable
>
if PZ_PCGEOS
mouseNameTable lptr.char msps2
lptr.char 0 ; null-terminator
LocalDefString msps2 <'Microsoft PS/2 Mouse', 0>
mouseInfoTable MouseExtendedInfo \
0 ; msps2
else
mouseNameTable lptr.char ibmPS2Mouse,
int12Mouse,
auxPortMouse,
ps2StyleMouse,
logips2,
logiSeries2,
msps2,
logiPS2TrackMan
lptr.char 0 ; null-terminator
LocalDefString ibmPS2Mouse <'IBM PS/2 Mouse', 0>
LocalDefString int12Mouse <'Interrupt-12-type Mouse', 0>
LocalDefString auxPortMouse <'Auxiliary Port Mouse', 0>
LocalDefString ps2StyleMouse <'PS/2-style Mouse', 0>
LocalDefString logips2 <'Logitech PS/2 Mouse', 0>
LocalDefString logiSeries2 <'Logitech Series 2 Mouse', 0>
LocalDefString msps2 <'Microsoft PS/2 Mouse', 0>
LocalDefString logiPS2TrackMan <'Logitech TrackMan Portable (PS/2-style)', 0>
mouseInfoTable MouseExtendedInfo \
0, ; ibmPS2Mouse
0, ; int12Mouse
0, ; auxPortMouse
0, ; ps2StyleMouse
0, ; logips2
0, ; logiSeries2
0, ; msps2
0 ; logiPS2TrackMan
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
;
; The following strings actually have nothing to do with the driver extended
; info. They are placed here only because they need to be localizable and
; need to be in an lmem resource. Creating a separate lmem resource for them
; seems overkill, so we put them in MouseExtendedInfoSeg to save some bytes.
;
LocalDefString mouseNotConnectedErrorStr <'The mouse is not connected. Please turn off your PC, re-connect the mouse, then turn on the PC again. (Or, you can press the Enter key to continue using Ensemble without a mouse.)', 0>
localize "This is the string that is displayed when the mouse is not connected during power-on. The user must power-off and on for the mouse to work."
LocalDefString mouseNotConnectedErrorReconnectStr <'The mouse is not connected. Please re-connect the mouse and then press the Enter key. (Or, you can press the Esc key to continue using Ensemble without a mouse.)', 0>
localize "This is the string that is displayed when the mouse is not connected during power resume. The user doesn't need to power-off and on for the mouse to work again."
endif ; CHECK_MOUSE_AFTER_POWER_RESUME
endif
MouseExtendedInfoSeg ends
;------------------------------------------------------------------------------
; VARIABLES/DATA/CONSTANTS
;------------------------------------------------------------------------------
idata segment
;
; All the mouse BIOS calls are through interrupt 15h, function c2h.
; All functions return CF set on error, ah = MouseStatus
;
MOUSE_ENABLE_DISABLE equ 0c200h ; Enable or disable the mouse.
; BH = 0 to disable, 1 to enable
MOUSE_RESET equ 0c201h ; Reset the mouse.
MAX_NUM_RESETS equ 3 ; # times we will send MOUSE_RESET
; command
MOUSE_SET_RATE equ 0c202h ; Set sample rate:
MOUSE_RATE_10 equ 0
MOUSE_RATE_20 equ 1
MOUSE_RATE_40 equ 2
MOUSE_RATE_60 equ 3
MOUSE_RATE_80 equ 4
MOUSE_RATE_100 equ 5
MOUSE_RATE_200 equ 6
MOUSE_SET_RESOLUTION equ 0c203h ; Set device resolution BH =
MOUSE_RES_1_PER_MM equ 0 ; 1 count per mm
MOUSE_RES_2_PER_MM equ 1 ; 2 counts per mm
MOUSE_RES_4_PER_MM equ 2 ; 4 counts per mm
MOUSE_RES_8_PER_MM equ 3 ; 8 counts per mm
MOUSE_GET_TYPE equ 0c204h ; Get device ID.
MOUSE_INIT equ 0c205h ; Set interface parameters
; BH = # bytes per packet.
MOUSE_EXTENDED_CMD equ 0c206h ; Extended command. BH =
MOUSE_EXTC_STATUS equ 0 ; Get device status
MOUSE_EXTC_SINGLE_SCALE equ 1 ; Set scaling to 1:1
MOUSE_EXTC_DOUBLE_SCALE equ 2 ; Set scaling to 2:1
MOUSE_SET_HANDLER equ 0c207h ; Set mouse handler.
; ES:BX is address of routine
MouseStatus etype byte
MS_SUCCESSFUL enum MouseStatus, 0
MS_INVALID_FUNC enum MouseStatus, 1
MS_INVALID_INPUT enum MouseStatus, 2
MS_INTERFACE_ERROR enum MouseStatus, 3
MS_NEED_TO_RESEND enum MouseStatus, 4
MS_NO_HANDLER_INSTALLED enum MouseStatus, 5
mouseRates byte 10, 20, 40, 60, 80, 100, 200, 255
MOUSE_NUM_RATES equ size mouseRates
mouseRateCmds byte MOUSE_RATE_10, MOUSE_RATE_20, MOUSE_RATE_40
byte MOUSE_RATE_60, MOUSE_RATE_80, MOUSE_RATE_100
byte MOUSE_RATE_200, MOUSE_RATE_200
idata ends
udata segment
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
errorDialogOnScreen BooleanByte BB_FALSE
endif
udata ends
MDHStatus record
MDHS_Y_OVERFLOW:1, ; Y overflow
MDHS_X_OVERFLOW:1, ; X overflow
MDHS_Y_NEGATIVE:1, ; Y delta is negative (just need to
; sign-extend, as delta is already in
; single-byte two's complement form)
MDHS_X_NEGATIVE:1, ; X delta is negative
MDHS_MUST_BE_ONE:1=1,
MDHS_MIDDLE_DOWN:1, ; Middle button is down
MDHS_RIGHT_DOWN:1, ; Right button is down
MDHS_LEFT_DOWN:1, ; Left button is down
MDHStatus end
if LOG_EVENTS
udata segment
xdeltas byte 1024 dup (?)
ydeltas byte 1024 dup (?)
statii MDHStatus 1024 dup (?)
index word 0
udata ends
endif
;------------------------------------------------------------------------------
; INITIALIZATION/EXIT CODE
;
;------------------------------------------------------------------------------
Resident segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseDevHandler
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: HandleMem the receipt of an interrupt
CALLED BY: BIOS
PASS: ON STACK:
RETURN: Nothing
DESTROYED: Nothing
PSEUDO CODE/STRATEGY:
Overflow is ignored.
For delta Y, positive => up, which is the opposite of what we think
KNOWN BUGS/SIDE EFFECTS/IDEAS:
Some BIOSes rely on DS not being altered, while others do not.
To err on the side of safety, we save everything we biff.
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 10/12/89 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseDevHandler proc far deltaZ:sbyte,
:byte, ; For future expansion
deltaY:sbyte,
:byte, ; FFE
deltaX:sbyte,
:byte, ; FFE
status:MDHStatus
uses ds, ax, bx, cx, dx, si, di
.enter
;
; Prevent switch while sending
;
call SysEnterInterrupt
if LOG_EVENTS
segmov ds, dgroup, bx
mov bx, ds:[index]
mov al, ss:[deltaY]
mov ds:ydeltas[bx], al
mov al, ss:[deltaX]
mov ds:xdeltas[bx], al
mov al, ss:[status]
mov ds:statii[bx], al
inc bx
andnf bx, length ydeltas - 1
mov ds:[index], bx
endif
;
; The deltas are already two's-complement, so just sign extend them
; ourselves.
; XXX: verify sign against bits in status byte to confirm its validity?
; what if overflow bit is set?
;
mov al, ss:[deltaY]
cbw
xchg dx, ax ; (1-byte inst)
mov al, ss:[deltaX]
cbw
xchg cx, ax ; (1-byte inst)
;
; Fetch the status, copying the middle and right button bits
; into BH.
;
mov al, ss:[status]
test al, mask MDHS_Y_OVERFLOW or mask MDHS_X_OVERFLOW
jnz packetDone ; if overflow, drop the packet on the
; floor, since the semantics for such
; an event are undefined...
mov bh, al
and bh, 00000110b
;
; Make sure the packet makes sense by checking the ?_NEGATIVE bits
; against the actual signs of their respective deltas. If the two
; don't match (as indicated by the XOR of the sign bit of the delta
; with the ?_NEGATIVE bit resulting in a one), then hooey this packet.
;
shl al
shl al
tst dx
lahf
xor ah, al
js packetDone
shl al
tst cx
lahf
xor ah, al
js packetDone
;
; Mask out all but the left button and merge it into the
; middle and right buttons that are in BH. We then have
; 0000LMR0
; in BH, which is one bit off from what we need (and also
; the wrong polarity), so shift it right once and complement
; the thing.
;
and al, mask MDHS_LEFT_DOWN shl 3
or bh, al
shr bh, 1
not bh
;
; Make delta Y be positive if going down, rather than
; positive if up, as the BIOS provides it.
;
neg dx
;
; Point ds at our data for MouseSendEvents
;
mov ax, segment dgroup
mov ds, ax
;
; Registers now all loaded properly -- send the event.
;
call MouseSendEvents
;
; Allow context switches.
;
packetDone:
call SysExitInterrupt
;
; Recover and return.
;
.leave
ret
MouseDevHandler endp
Init segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseDevInit
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Turn on the device.
CALLED BY: MouseSetDevice, MouseCheckDevAfterResumeStep3
PASS: nothing
RETURN: CF set on error
ah = MouseStatus
DESTROYED: al, bx, es
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ayuen 10/17/00 Initial version (moved code from
MouseSetDevice)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseDevInit proc far
call SysLockBIOS
;
; These are all done in this order by the Microsoft PS/2 mouse
; driver. I suspect the really important one is setting the
; report rate to 60, else RESEND bytes get inserted into the
; packet stream...
;
mov ax, MOUSE_SET_RESOLUTION
mov bh, MOUSE_RES_8_PER_MM
int 15h
segmov es, <segment Resident>
mov bx, offset Resident:MouseDevHandler
mov ax, MOUSE_SET_HANDLER
int 15h
mov ax, MOUSE_ENABLE_DISABLE
mov bh, 1 ; Enable it please
int 15h
mov ax, MOUSE_EXTENDED_CMD
mov bh, MOUSE_EXTC_SINGLE_SCALE
int 15h
mov ax, MOUSE_SET_RATE
mov bh, MOUSE_RATE_60
int 15h
call SysUnlockBIOS
ret
MouseDevInit endp
Init ends
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseDevExit
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Finish things out
CALLED BY: MouseExit
PASS: DS=ES=CS
RETURN: Carry clear
DESTROYED: BX, AX
PSEUDO CODE/STRATEGY:
Just calls the serial driver to close down the port
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 5/20/89 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseDevExit proc near
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
;
; Unhook from power driver for on/off notification.
;
push di
mov di, DR_POWER_ON_OFF_UNREGISTER
call OnOffNotifyRegUnreg
pop di
endif ; CHECK_MOUSE_AFTER_POWER_RESUME
;
; Disable the mouse by setting the handler to 0
; XXX: How can we restore it? Do we need to?
;
mov ax, MOUSE_ENABLE_DISABLE
mov bh, 0 ; Disable it please
int 15h
clr bx
mov es, bx
mov ax, MOUSE_SET_HANDLER
int 15h
ret
MouseDevExit endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseSetDevice
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Turn on the device.
CALLED BY: DRE_SET_DEVICE
PASS: dx:si = pointer to null-terminated device name string
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 9/27/90 Initial version
ayuen 10/17/00 Moved most of the code to MouseDevInit
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseSetDevice proc near uses es, bx, ax
.enter
call MouseDevInit
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
;
; Hook up to the power driver, so that we get on/off notified on a
; power resume.
;
push di
mov di, DR_POWER_ON_OFF_NOTIFY
call OnOffNotifyRegUnreg
pop di
endif ; CHECK_MOUSE_AFTER_POWER_RESUME
.leave
ret
MouseSetDevice endp
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
Init segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
OnOffNotifyRegUnreg
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Register/unregister with the PM driver for on/off notification
CALLED BY: MouseSetDevice, MouseDevExit
PASS: di = DR_POWER_ON_OFF_NOTIFY / DR_POWER_ON_OFF_UNREGISTER
RETURN: CF set if driver not present or too many callbacks registered
DESTROYED: nothing
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ayuen 10/16/00 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
OnOffNotifyRegUnreg proc far
uses ds
.enter
pusha
mov ax, GDDT_POWER_MANAGEMENT
call GeodeGetDefaultDriver ; ax = driver handle
tst ax
stc ; assume not present
jz afterRegister ; => driver not present
mov_tr bx, ax ; bx = driver handle
call GeodeInfoDriver ; ds:si = DriverInfoStruct
mov dx, segment MouseCheckDevAfterResume
mov cx, offset MouseCheckDevAfterResume
call ds:[si].DIS_strategy ; CF set on error
afterRegister:
popa
.leave
ret
OnOffNotifyRegUnreg endp
Init ends
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseCheckDevAfterResume
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Callback routine for on/off notification
CALLED BY: Power driver
PASS: ax = PowerNotifyChange
RETURN: nothing
DESTROYED: nothing
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
Here's the scenario:
If the mouse is not connected, both MOUSE_ENABLE_DISABLE(BH=1) and
MOUSE_GET_TYPE return MS_INTERACE_ERROR.
If the mouse was disconnected and then re-connected, it defaults to
disabled state. At this point Both MOUSE_GET_TYPE and
MOUSE_ENABLE_DISABLE(BH=1) return no error.
We can use MOUSE_GET_TYPE to check if the mouse is connected without
touching its state, and inform the user if it's not. But if we find
that it is connected, we then have no way to check if it is enabled or
not. Then we still have to enable it again to make sure it is
enabled.
So, to simplify things, we just re-eanble the mouse and check for any
errors. The downside is that we will be re-enabling an enabled mouse
which *may* re-initialize the mouse (I'm not sure), but I think that's
okay.
REVISION HISTORY:
Name Date Description
---- ---- -----------
ayuen 10/16/00 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseCheckDevAfterResume proc far
uses es
.enter
pusha
CheckHack <PNC_POWER_TURNING_ON eq 1>
CheckHack <PNC_POWER_TURNED_OFF_AND_ON eq 2>
CheckHack <PowerNotifyChange eq 4>
or ax, ax
jp done ; => _SHUTTING_OFF or _AUTO_OFF
;
; It seems like If we try to enable the mouse right away during a
; resume notification, it doesn't always work. Sometimes BIOS
; returns MS_INTERFACE_ERROR and the mouse acts funny afterwards.
; Delaying the enable calls seems to solve the problem. So we set a
; timer to do it on the UI thread later. 0.1 sec seems to work fine.
;
; We can't call BIOS in a timer routine because it'll be in interrupt
; time. So we use the UI thread to call our routine to do the work.
; But then we can't use MSG_PROCESS_CALL_ROUTINE to set up an event
; timer either, because there's no way to pass parameters to a timer
; event. So, we have to use a routine timer to send the message to
; the UI thread to call our routine. On well ...
;
mov al, TIMER_ROUTINE_ONE_SHOT
mov bx, segment MouseCheckDevAfterResumeStep2
mov si, offset MouseCheckDevAfterResumeStep2
mov cx, CHECK_MOUSE_AFTER_POWER_RESUME_DELAY
mov bp, handle 0
call TimerStartSetOwner
; Timer is short enough that we don't need to worry about stopping it
; on the next resume or on shutdown.
done:
popa
.leave
ret
MouseCheckDevAfterResume endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseCheckDevAfterResumeStep2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check the mouse after a power resume.
CALLED BY: MouseCheckDevAfterResume via TimerStartSetOwner
PASS: nothing
RETURN: nothing
DESTROYED: ax, bx, dx, di, bp (everything allowed)
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ayuen 10/17/00 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseCheckDevAfterResumeStep2 proc far
;
; Can't call BIOS during interrupt time, so do it on the UI thread.
;
mov ax, SGIT_UI_PROCESS
call SysGetInfo ;ax = ui handle
mov_tr bx, ax
push vseg MouseCheckDevAfterResumeStep3
push offset MouseCheckDevAfterResumeStep3
mov bp, sp ; ss:bp = PCRP_address
mov ax, MSG_PROCESS_CALL_ROUTINE
mov di, mask MF_STACK or mask MF_FORCE_QUEUE
mov dx, size ProcessCallRoutineParams
call ObjMessage
popdw axax ; discard PCRP_address
ret
MouseCheckDevAfterResumeStep2 endp
Init segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseCheckDevAfterResumeStep3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check the mouse after a power resume.
CALLED BY: MouseCheckDevAfterResumeStep2 via MSG_PROCESS_CALL_ROUTINE
PASS: nothing
RETURN: nothing
DESTROYED: ax, bp, ds (everything allowed)
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ayuen 10/17/00 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
triggerTable StandardDialogResponseTriggerTable <2>
StandardDialogResponseTriggerEntry <NULL, IC_OK>
StandardDialogResponseTriggerEntry <NULL, IC_DISMISS>
MouseCheckDevAfterResumeStep3 proc far
checkAgain:
call MouseDevInit ; CF set on error, ah = MouseStatus
jnc done
;
; If the user hits On/Off button again while the dialog is still on
; screen, this routine will be called on the UI thread again. This
; is because when the thread is blocked in UserStandardDialogOptr,
; it can actually watch its message queue and keeps on processing
; messages. So this routine can be called again while the first call
; is still blocked inside UserStandardDialogOptr. In order to
; prevent putting up two error dialogs on screen, we keep a flag
; around, and skip putting up a dialog if one is already on screen.
;
segmov ds, dgroup
tst ds:[errorDialogOnScreen]
jnz done ; => already on screen
dec ds:[errorDialogOnScreen]; BB_TRUE
;
; Display the dialog.
;
sub sp, size StandardDialogOptrParams
mov bp, sp
mov ss:[bp].SDOP_customFlags, CustomDialogBoxFlags \
<1, CDT_ERROR, GIT_MULTIPLE_RESPONSE, >
mov ss:[bp].SDOP_customString.handle, \
handle mouseNotConnectedErrorReconnectStr
mov ss:[bp].SDOP_customString.chunk, \
offset mouseNotConnectedErrorReconnectStr
clr ax ; for czr below
czr ax, ss:[bp].SDOP_stringArg1.handle, \
ss:[bp].SDOP_stringArg2.handle, \
ss:[bp].SDOP_helpContext.segment
mov ss:[bp].SDOP_customTriggers.segment, cs
mov ss:[bp].SDOP_customTriggers.offset, offset triggerTable
call UserStandardDialogOptr ; ax = InteractionCommand
inc ds:[errorDialogOnScreen]; BB_FALSE
;
; If the user pressed Enter, check the mouse again.
;
cmp ax, IC_OK
je checkAgain
done:
ret
MouseCheckDevAfterResumeStep3 endp
Init ends
endif ; CHECK_MOUSE_AFTER_POWER_RESUME
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseTestDevice
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: See if the device specified is present.
CALLED BY: DRE_TEST_DEVICE
PASS: dx:si = null-terminated name of device (ignored, here)
RETURN: ax = DevicePresent enum
carry set if string invalid, clear otherwise
DESTROYED: di
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 9/27/90 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseTestDevice proc near uses bx, es, cx
.enter
mov ax, BIOS_DATA_SEG
mov es, ax
test es:[BIOS_EQUIPMENT], mask EC_POINTER
jz notPresent
mov ax, MOUSE_INIT ; Assume 3-byte packets
mov bh, 3
int 15h
mov cx, MAX_NUM_RESETS ;# times we will resend this
; command
resetLoop:
mov ax, MOUSE_RESET
int 15h
jnc noerror ;If no error, branch
cmp ah, MS_NEED_TO_RESEND
jne notPresent ;If not "resend" error, just exit with
; carry set.
loop resetLoop ;
notPresent:
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
call DisplayMouseNotConnectedDialog
endif ; CHECK_MOUSE_AFTER_POWER_RESUME
mov ax, DP_NOT_PRESENT
jmp done
noerror:
mov ax, DP_PRESENT
done:
clc
.leave
ret
MouseTestDevice endp
ifdef CHECK_MOUSE_AFTER_POWER_RESUME
Init segment
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DisplayMouseNotConnectedDialog
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Display the mouse not connected error dialog.
CALLED BY: MouseTestDevice
PASS: nothing
RETURN: nothing
DESTROYED: nothing
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ayuen 10/19/00 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DisplayMouseNotConnectedDialog proc far
pusha
sub sp, size StandardDialogOptrParams
mov bp, sp
mov ss:[bp].SDOP_customFlags, CustomDialogBoxFlags \
<1, CDT_ERROR, GIT_NOTIFICATION, >
mov ss:[bp].SDOP_customString.handle, \
handle mouseNotConnectedErrorStr
mov ss:[bp].SDOP_customString.chunk, \
offset mouseNotConnectedErrorStr
clr ax ; for czr below
czr ax, ss:[bp].SDOP_stringArg1.handle, \
ss:[bp].SDOP_stringArg2.handle, \
ss:[bp].SDOP_helpContext.segment
call UserStandardDialogOptr
popa
ret
DisplayMouseNotConnectedDialog endp
Init ends
endif ; CHECK_MOUSE_AFTER_POWER_RESUME
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MouseDevSetRate
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Set the report rate for the mouse
CALLED BY: MouseSetRate
PASS: CX = index of rate to set
RETURN: carry clear if successful
DESTROYED:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 10/12/89 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MouseDevSetRate proc near
push ax, bx, cx, si
mov si, cx
mov bh, ds:mouseRateCmds[si]
mov ax, MOUSE_SET_RATE
int 15h
pop ax, bx, cx, si
ret
MouseDevSetRate endp
Resident ends
end
| 27.35546 | 230 | 0.62454 |
9a7fca0d445a6fa4523ae08202efca41ed352c94 | 401 | asm | Assembly | programs/oeis/302/A302406.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/302/A302406.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/302/A302406.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A302406: Total domination number of the n X n torus grid graph.
; 0,1,2,3,4,8,10,14,16,23,26,33,36,46,50,60,64,77,82,95,100,116,122,138,144,163,170,189,196,218,226,248,256,281,290,315,324,352,362,390,400,431,442,473,484,518,530,564,576,613,626,663,676,716,730,770,784,827,842,885
mov $2,$0
mov $4,$0
lpb $4
add $1,$2
lpb $1
add $3,$0
mov $1,$3
lpe
sub $2,1
trn $4,2
lpe
mov $0,$1
| 25.0625 | 215 | 0.643392 |
d9f68f960b526dcd92e4ca322b752c49d37bb7c3 | 483 | asm | Assembly | oeis/225/A225919.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/225/A225919.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/225/A225919.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A225919: a(n) is the least k such that f(a(n-1)+1) + ... + f(k) > f(a(n-2)+1) + ... + f(a(n-1)) for n > 1, where f(n) = 1/(n+4) and a(1) = 1.
; Submitted by Christian Krause
; 1,11,40,124,367,1070,3104,8989,26016,75280,217815,630210,1823388,5275597,15263836,44162700,127775471,369691398,1069624136
add $0,3
mov $2,2
lpb $0
sub $0,1
add $2,$3
add $3,$2
mul $2,2
sub $3,$1
sub $2,$3
mul $2,2
add $3,1
add $1,$3
div $3,2
lpe
mov $0,$2
sub $0,42
div $0,8
add $0,1
| 21 | 143 | 0.583851 |
95d2e6021a2c73688f030adfb06dd80a94f437ed | 342 | asm | Assembly | programs/oeis/069/A069996.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/069/A069996.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/069/A069996.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A069996: Number of spanning trees on the bipartite graph K_{3,n}.
; 1,12,81,432,2025,8748,35721,139968,531441,1968300,7144929,25509168,89813529,312487308,1076168025,3673320192,12440502369,41841412812,139858796529,464904586800,1537671920841,5062810950252,16600580533161
add $0,1
mov $1,$0
pow $0,2
lpb $1
mul $0,3
sub $1,1
lpe
div $0,3
| 28.5 | 202 | 0.777778 |
8573e9ed924707b4554867a0262daf5362ff6549 | 268 | asm | Assembly | libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_amx_init.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_amx_init.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_amx_init.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; void in_mouse_amx_init(uint8_t x_vector, uint8_t y_vector)
SECTION code_input
PUBLIC in_mouse_amx_init
EXTERN asm_in_mouse_amx_init
in_mouse_amx_init:
pop af
pop bc
pop de
push de
push bc
push af
ld b,e
jp asm_in_mouse_amx_init
| 12.181818 | 60 | 0.727612 |
a0c4aacb7a0f4fc15f3c8a0f98e4aaa4fb6c0ff4 | 7,309 | asm | Assembly | lib/sc3000_crt0.asm | RC2014Z80/z88dk | e5b9447b970e5fae26544b6d8aa5957c98ba0e6a | [
"ClArtistic"
] | 8 | 2017-01-18T12:02:17.000Z | 2021-06-12T09:40:28.000Z | lib/sc3000_crt0.asm | RC2014Z80/z88dk | e5b9447b970e5fae26544b6d8aa5957c98ba0e6a | [
"ClArtistic"
] | 1 | 2017-03-06T07:41:56.000Z | 2017-03-06T07:41:56.000Z | lib/sc3000_crt0.asm | RC2014Z80/z88dk | e5b9447b970e5fae26544b6d8aa5957c98ba0e6a | [
"ClArtistic"
] | 3 | 2017-03-07T03:19:40.000Z | 2021-09-15T17:59:19.000Z | ; CRT0 stub for the SEGA SC-3000
;
; Stefano Bodrato - Jun 2010
;
; $Id: sc3000_crt0.asm,v 1.18 2016-07-13 22:12:25 dom Exp $
;
; Constants for ROM mode (-startup=2)
DEFC ROM_Start = $0000
DEFC INT_Start = $0038
DEFC NMI_Start = $0066
DEFC CODE_Start = $0100
DEFC RAM_Start = $C000
DEFC RAM_Length = $2000
DEFC Stack_Top = $dff0
MODULE sc3000_crt0
;
; Initially include the zcc_opt.def file to find out lots of lovely
; information about what we should do..
;
defc crt0 = 1
INCLUDE "zcc_opt.def"
; No matter what set up we have, main is always, always external to
; this file
EXTERN _main
; Some variables which are needed for both app and basic startup
PUBLIC cleanup
PUBLIC l_dcal
;Exit variables
PUBLIC exitsp
PUBLIC exitcount
;For stdin, stdout, stder
PUBLIC __sgoioblk
PUBLIC heaplast ;Near malloc heap variables
PUBLIC heapblocks
; Graphics stuff
PUBLIC pixelbyte ; Temp store for non-buffered mode
PUBLIC base_graphics
; 1 bit sound status byte
PUBLIC snd_tick
PUBLIC bit_irqstatus ; current irq status when DI is necessary
; SEGA and MSX specific
PUBLIC msxbios
; Now, getting to the real stuff now!
;--------
; Set an origin for the application (-zorg=) default to $9817 (just after a CALL in a BASIC program)
;--------
IF (startup=2)
defc CRT_ORG_CODE = ROM_Start
ELSE
IF !CRT_ORG_CODE
defc CRT_ORG_CODE = $9817
ENDIF
ENDIF
org CRT_ORG_CODE
IF (startup=2)
; ******************** ********************
; R O M M O D E
; ******************** ********************
di
jp start
defm "Small C+ SC-3000"
filler1:
defs (INT_Start - filler1)
int_RASTER:
push hl
ld a, ($BF)
or a
jp p, int_not_VBL ; Bit 7 not set
jr int_VBL
int_not_VBL:
pop hl
reti
int_VBL:
ld hl, timer
ld a, (hl)
inc a
ld (hl), a
inc hl
ld a, (hl)
adc a, 1
ld (hl), a ;Increments the timer
ld hl, raster_procs
jr int_handler
filler2:
defs (NMI_Start - filler2)
int_PAUSE:
push hl
ld hl, _pause_flag
ld a, (hl)
xor a, 1
ld (hl), a
ld hl, pause_procs
jr int_handler
int_handler:
push af
push bc
push de
int_loop:
ld a, (hl)
inc hl
or (hl)
jr z, int_done
push hl
ld a, (hl)
dec hl
ld l, (hl)
ld h, a
call call_int_handler
pop hl
inc hl
jr int_loop
int_done:
pop de
pop bc
pop af
pop hl
ei
reti
call_int_handler:
jp (hl)
;-------
; Beginning of the actual code
;-------
filler3:
defs (CODE_Start - filler3)
start:
; Make room for the atexit() stack
ld hl,Stack_Top-64
ld sp,hl
; Clear static memory
ld hl,RAM_Start
ld de,RAM_Start+1
ld bc,RAM_Length-1
ld (hl),0
ldir
ELSE
; ******************** ********************
; B A S I C M O D E
; ******************** ********************
start:
ld hl,0
add hl,sp
ld (start1+1),hl
ld hl,-64
add hl,sp
ld sp,hl
ENDIF
; ******************** ********************
; BACK TO COMMON CODE FOR ROM AND BASIC
; ******************** ********************
call crt0_init_bss
ld (exitsp),sp
; Optional definition for auto MALLOC init
; it assumes we have free space between the end of
; the compiled program and the stack pointer
IF DEFINED_USING_amalloc
INCLUDE "amalloc.def"
ENDIF
IF (startup=2)
call DefaultInitialiseVDP
im 1
ei
ENDIF
; Entry to the user code
call _main
cleanup:
;
; Deallocate memory which has been allocated here!
;
push hl
IF !DEFINED_nostreams
EXTERN closeall
call closeall
ENDIF
IF (startup=2)
endloop:
jr endloop
ELSE
start1:
ld sp,0
ret
ENDIF
l_dcal:
jp (hl)
INCLUDE "crt0_runtime_selection.asm"
; ---------------
; MSX specific stuff
; ---------------
; Safe BIOS call
msxbios:
push ix
ret
IF (startup=2)
;---------------------------------
; VDP Initialization
;---------------------------------
DefaultInitialiseVDP:
push hl
push bc
ld hl,_Data
ld b,_End-_Data
ld c,$bf
otir
pop bc
pop hl
ret
DEFC SpriteSet = 0 ; 0 for sprites to use tiles 0-255, 1 for 256+
DEFC NameTableAddress = $3800 ; must be a multiple of $800; usually $3800; fills $700 bytes (unstretched)
DEFC SpriteTableAddress = $3f00 ; must be a multiple of $100; usually $3f00; fills $100 bytes
_Data:
defb @00000100,$80
; |||||||`- Disable synch
; ||||||`-- Enable extra height modes
; |||||`--- SMS mode instead of SG
; ||||`---- Shift sprites left 8 pixels
; |||`----- Enable line interrupts
; ||`------ Blank leftmost column for scrolling
; |`------- Fix top 2 rows during horizontal scrolling
; `-------- Fix right 8 columns during vertical scrolling
defb @10000100,$81
; |||| |`- Zoomed sprites -> 16x16 pixels
; |||| `-- Doubled sprites -> 2 tiles per sprite, 8x16
; |||`---- 30 row/240 line mode
; ||`----- 28 row/224 line mode
; |`------ Enable VBlank interrupts
; `------- Enable display
defb (NameTableAddress/1024) |@11110001,$82
defb (SpriteTableAddress/128)|@10000001,$85
defb (SpriteSet/4) |@11111011,$86
defb $f|$f0,$87
; `-------- Border palette colour (sprite palette)
defb $00,$88
; ``------- Horizontal scroll
defb $00,$89
; ``------- Vertical scroll
defb $ff,$8a
; ``------- Line interrupt spacing ($ff to disable)
_End:
ENDIF
defm "Small C+ SC-3000"
defb 0
IF (startup=2)
defc __crt_org_bss = RAM_Start
; If we were given a model then use it
IF DEFINED_CRT_MODEL
defc __crt_model = CRT_MODEL
ELSE
defc __crt_model = 1
ENDIF
ENDIF
INCLUDE "crt0_section.asm"
SECTION bss_crt
PUBLIC fputc_vdp_offs ;Current character pointer
PUBLIC aPLibMemory_bits;apLib support variable
PUBLIC aPLibMemory_byte;apLib support variable
PUBLIC aPLibMemory_LWM ;apLib support variable
PUBLIC aPLibMemory_R0 ;apLib support variable
PUBLIC raster_procs ;Raster interrupt handlers
PUBLIC pause_procs ;Pause interrupt handlers
PUBLIC timer ;This is incremented every time a VBL/HBL interrupt happens
PUBLIC _pause_flag ;This alternates between 0 and 1 every time pause is pressed
PUBLIC RG0SAV ;keeping track of VDP register values
PUBLIC RG1SAV
PUBLIC RG2SAV
PUBLIC RG3SAV
PUBLIC RG4SAV
PUBLIC RG5SAV
PUBLIC RG6SAV
PUBLIC RG7SAV
; imported form the pre-existing Sega Master System libs
fputc_vdp_offs: defw 0 ;Current character pointer
aPLibMemory_bits: defb 0 ;apLib support variable
aPLibMemory_byte: defb 0 ;apLib support variable
aPLibMemory_LWM: defb 0 ;apLib support variable
aPLibMemory_R0: defw 0 ;apLib support variable
raster_procs: defw 0 ;Raster interrupt handlers
pause_procs: defs 8 ;Pause interrupt handlers
timer: defw 0 ;This is incremented every time a VBL/HBL interrupt happens
_pause_flag: defb 0 ;This alternates between 0 and 1 every time pause is pressed
RG0SAV: defb 0 ;keeping track of VDP register values
RG1SAV: defb 0
RG2SAV: defb 0
RG3SAV: defb 0
RG4SAV: defb 0
RG5SAV: defb 0
RG6SAV: defb 0
RG7SAV: defb 0
| 20.705382 | 113 | 0.614858 |
5caa4c52f6c247c6ceef35dfe1bac52c61189e62 | 145 | asm | Assembly | libsrc/_DEVELOPMENT/input/sms/c/sdcc/in_stick_2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/input/sms/c/sdcc/in_stick_2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/input/sms/c/sdcc/in_stick_2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; uint16_t in_stick_2(void)
SECTION code_clib
SECTION code_input
PUBLIC _in_stick_2
EXTERN asm_in_stick_2
defc _in_stick_2 = asm_in_stick_2
| 12.083333 | 33 | 0.834483 |
d708f87f4c558a6f37fb47429671dbee9921faf5 | 687 | asm | Assembly | src/unison/test/fast/Hexagon/speed/gcc.xexit.xexit.asm | Patstrom/disUnison | 94731ad37cefa9dc3b6472de3adea8a8d5f0a44b | [
"BSD-3-Clause"
] | 88 | 2016-09-27T15:20:07.000Z | 2022-03-24T15:23:06.000Z | src/unison/test/fast/Hexagon/speed/gcc.xexit.xexit.asm | Patstrom/disUnison | 94731ad37cefa9dc3b6472de3adea8a8d5f0a44b | [
"BSD-3-Clause"
] | 56 | 2018-02-26T16:44:15.000Z | 2019-02-23T17:07:32.000Z | src/unison/test/fast/Hexagon/speed/gcc.xexit.xexit.asm | Patstrom/disUnison | 94731ad37cefa9dc3b6472de3adea8a8d5f0a44b | [
"BSD-3-Clause"
] | 10 | 2016-11-22T15:03:46.000Z | 2020-07-13T21:34:31.000Z | .text
.file "gcc.xexit.xexit.ll"
.globl xexit
.align 16
.type xexit,@function
xexit: // @xexit
// BB#0:
{
r16 = r0
memd(r29 + #-16) = r17:16
allocframe(#8)
}
{
r1 = memw(##_xexit_cleanup)
if (cmp.eq(r1.new, #0)) jump:t .LBB0_2
}
{
jump .LBB0_1
}
.LBB0_1:
{
callr r1
}
.LBB0_2:
{
call exit
r0 = r16
}
{
r17:16 = memd(r29 + #0)
deallocframe
}
.Lfunc_end0:
.size xexit, .Lfunc_end0-xexit
.ident "clang version 3.8.0 (http://llvm.org/git/clang.git 2d49f0a0ae8366964a93e3b7b26e29679bee7160) (http://llvm.org/git/llvm.git 60bc66b44837125843b58ed3e0fd2e6bb948d839)"
.section ".note.GNU-stack","",@progbits
| 17.615385 | 174 | 0.604076 |
f7a51cc39e6417b698f3940b462bcd4d9fe8e9df | 1,818 | asm | Assembly | programs/oeis/097/A097809.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/097/A097809.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/097/A097809.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A097809: a(n) = 5*2^n-2*n-4.
; 1,4,12,30,68,146,304,622,1260,2538,5096,10214,20452,40930,81888,163806,327644,655322,1310680,2621398,5242836,10485714,20971472,41942990,83886028,167772106,335544264,671088582,1342177220,2684354498,5368709056,10737418174,21474836412,42949672890,85899345848,171798691766,343597383604,687194767282,1374389534640,2748779069358,5497558138796,10995116277674,21990232555432,43980465110950,87960930221988,175921860444066,351843720888224,703687441776542,1407374883553180,2814749767106458,5629499534213016,11258999068426134,22517998136852372,45035996273704850,90071992547409808,180143985094819726,360287970189639564,720575940379279242,1441151880758558600,2882303761517117318,5764607523034234756,11529215046068469634,23058430092136939392,46116860184273878910,92233720368547757948,184467440737095516026,368934881474191032184,737869762948382064502,1475739525896764129140,2951479051793528258418,5902958103587056516976,11805916207174113034094,23611832414348226068332,47223664828696452136810,94447329657392904273768,188894659314785808547686,377789318629571617095524,755578637259143234191202,1511157274518286468382560,3022314549036572936765278,6044629098073145873530716,12089258196146291747061594,24178516392292583494123352,48357032784585166988246870,96714065569170333976493908,193428131138340667952987986,386856262276681335905976144,773712524553362671811952462,1547425049106725343623905100,3094850098213450687247810378,6189700196426901374495620936,12379400392853802748991242054,24758800785707605497982484292,49517601571415210995964968770,99035203142830421991929937728,198070406285660843983859875646,396140812571321687967719751484,792281625142643375935439503162,1584563250285286751870879006520,3169126500570573503741758013238
mov $1,1
lpb $0
sub $0,1
mul $1,2
add $2,2
add $1,$2
lpe
mov $0,$1
| 151.5 | 1,710 | 0.913641 |
9e533805b8a573b6310ce41dff0da4e847595335 | 231 | asm | Assembly | programs/oeis/107/A107973.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/107/A107973.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/107/A107973.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A107973: Numbers of the form a^2 + b for a= 21 to 40 and b= 20 to 1 step -1.
; 461,503,547,593,641,691,743,797,853,911,971,1033,1097,1163,1231,1301,1373,1447,1523,1601
add $0,21
bin $0,2
mov $1,$0
sub $1,210
mul $1,2
add $1,461
| 23.1 | 90 | 0.666667 |
350ebd62f21bbd4cfee04a9c80f948dc4f9cfd11 | 1,261 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_86_3126.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_86_3126.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_86_3126.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %rbp
push %rdx
push %rsi
// Store
lea addresses_WC+0x221a, %rbp
nop
nop
nop
nop
nop
add $34671, %rsi
mov $0x5152535455565758, %r15
movq %r15, (%rbp)
nop
nop
nop
nop
sub $35359, %r11
// Faulty Load
lea addresses_US+0x1fe1a, %r11
nop
nop
nop
cmp $5938, %r12
movups (%r11), %xmm0
vpextrq $1, %xmm0, %rsi
lea oracles, %r12
and $0xff, %rsi
shlq $12, %rsi
mov (%r12,%rsi,1), %rsi
pop %rsi
pop %rdx
pop %rbp
pop %r15
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'00': 86}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 20.672131 | 257 | 0.65345 |
e656b80cbc3a5421c0b4995c0d3a55a021c6cf36 | 402 | asm | Assembly | data/maps/objects/VermilionPokecenter.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/maps/objects/VermilionPokecenter.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/maps/objects/VermilionPokecenter.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | VermilionPokecenter_Object:
db $0 ; border block
def_warps
warp 3, 7, 0, LAST_MAP
warp 4, 7, 0, LAST_MAP
def_signs
def_objects
object SPRITE_NURSE, 3, 1, STAY, DOWN, 1 ; person
object SPRITE_FISHING_GURU, 10, 5, STAY, NONE, 2 ; person
object SPRITE_SAILOR, 5, 4, STAY, NONE, 3 ; person
object SPRITE_LINK_RECEPTIONIST, 11, 2, STAY, DOWN, 4 ; person
def_warps_to VERMILION_POKECENTER
| 23.647059 | 63 | 0.728856 |
1d8608d41b54ab88655f49025ce520ffa34ee269 | 48 | asm | Assembly | gfx/pokemon/remoraid/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | gfx/pokemon/remoraid/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | gfx/pokemon/remoraid/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | frame 1, 05
frame 2, 10
frame 3, 10
endanim
| 9.6 | 12 | 0.645833 |
bf5da475936f17786b9d5c471e7ea3f23924b11c | 1,904 | asm | Assembly | Altair101/asm/programs/opOutPlayerGame.asm | tigerfarm/arduino | e51f111a092fe6737646b146a825f4eecbd05d44 | [
"OLDAP-2.4",
"OLDAP-2.7"
] | 2 | 2021-12-12T23:27:10.000Z | 2022-02-17T14:01:21.000Z | Altair101/asm/programs/opOutPlayerGame.asm | tigerfarm/arduino | e51f111a092fe6737646b146a825f4eecbd05d44 | [
"OLDAP-2.4",
"OLDAP-2.7"
] | null | null | null | Altair101/asm/programs/opOutPlayerGame.asm | tigerfarm/arduino | e51f111a092fe6737646b146a825f4eecbd05d44 | [
"OLDAP-2.4",
"OLDAP-2.7"
] | 4 | 2021-08-29T19:55:49.000Z | 2022-02-15T08:30:15.000Z | ; ----------------------------------------
; Test MP3 player out ports.
;
; OUT 13, play MP3 and delay based on the default of 300.
; regA is the MP3 file number to be played.
;
; OUT 14, play MP3 and delay based on the regB value.
; regA is the MP3 file number to be played.
; regA is the time in milliseconds, to play the MP3.
;
; ----------------------------------------
Start:
; ----------------------------------------
sta regA
MVI A,3 ; Set: play MP3 file.
OUT 13 ; Play game sound effect.
lda regA
;
HLT
; ----------------------------------------
HIT:
sta regA
sta regB
MVI A,7 ; Set: play MP3 file.
MVI B,500 ; Set: play MP3 file for 500 milliseconds.
OUT 14 ; Play game sound effect.
lda regA
lda regB
;
HLT
; ----------------------------------------
JMP Start
; ----------------------------------------
regA: DB 0
regB: DB 0
; ----------------------------------------
end
| 50.105263 | 97 | 0.215861 |
26afe1d3d77b9ab99c6b21afbbe3341f5947fc17 | 543 | asm | Assembly | oeis/177/A177353.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/177/A177353.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/177/A177353.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A177353: n! (mod n^2+1).
; Submitted by Christian Krause
; 1,2,6,7,16,17,40,20,30,72,108,45,20,188,206,115,240,0,12,266,0,355,440,17,612,271,260,485,302,459,884,750,930,936,1064,1088,860,0,196,1430,1218,1725,0,143,916,870,0,1990,2024,2419,2,2610,2770,1355,2040,99,0,465,310,2015,432,3125,1480,2074,2982,3912,740,0,3950,0,200,0,0,219,3944,2809,4460,975,5726,4551,306,1925,0,3992,3980,3965,2600,3800,6188,4220,738,1420,7150,5091,3734,4680,8840,255,0,803
add $0,1
pow $0,2
add $0,1
mov $2,$0
seq $0,214080 ; a(n) = (floor(sqrt(n)))!
mod $0,$2
| 49.363636 | 394 | 0.699816 |
8d3b98772bdb28b21b5374fbc546d57e8245ae3a | 1,077 | asm | Assembly | programs/oeis/006/A006579.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/006/A006579.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/006/A006579.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A006579: Sum of gcd(n,k) for k = 1 to n-1.
; 0,1,2,4,4,9,6,12,12,17,10,28,12,25,30,32,16,45,18,52,44,41,22,76,40,49,54,76,28,105,30,80,72,65,82,132,36,73,86,140,40,153,42,124,144,89,46,192,84,145,114,148,52,189,134,204,128,113,58,300,60,121,210,192,160,249,66,196,156,281,70,348,72,145,250,220,196,297,78,352,216,161,82,436,212,169,198,332,88,477,234,268,212,185,238,464,96,301,342,420,100,393,102,396,480,209,106,540,108,457,254,512,112,441,290,340,408,233,310,780,220,241,282,364,300,693,126,448,296,545,130,708,348,265,594,524,136,537,138,796,324,281,382,864,368,289,518,436,148,825,150,588,540,665,394,844,156,313,366,848,424,729,162,484,780,329,166,1132,312,721,606,508,172,681,670,832,408,353,178,1332,180,793,422,716,472,729,506,556,864,809,190,1088,192,385,930,868,196,1125,198,1100,464,401,538,1116,524,409,738,992,568,1545,210,628,492,425,550,1404,576,433,506,1292,604,873,222,1232,1140,449,226,1252,228,985,1134,908,232,1341,602,700,548,1049,238,1920,240,781,810,724,952,969,678,972,576,1025
lpb $0,1
add $2,1
mov $3,$2
gcd $3,$0
sub $0,1
add $1,$3
lpe
| 97.909091 | 959 | 0.712163 |
a7b3da75ac0c1579df1a74f7ced10a2fe3e785a6 | 1,907 | asm | Assembly | dv3/qlsd/getstr.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/qlsd/getstr.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/qlsd/getstr.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; get_str3
; get ONE string from the basic interpreter updating A3
; entry exit
; d0 0 or error
; a1 top of math stack pointer to string on math stack
; a3 ptr to start of parameter updated to point to next parameter
; a5 ptr to end of all parameters preserved
;
; all other registers presered
section procs
xdef get_str
include dev8_keys_sbasic
include dev8_keys_qlv
include dev8_keys_err
myregs2 reg d1-d4/d6/d7/a0/a2/a5
get_str movem.l myregs2,-(a7)
moveq #0,d0 ; no string yet
cmp.l a3,a5 ; any param at all?
beq.s err ; no->
move.b 1(a6,a3.l),d0 ; type of parameter
andi.b #$f,d0
subq.b #1,d0 ; was it a string?
beq.s is_str ; yes, get it
move.l d0,d7 ; zero upper word of d7
move.w 2(a6,a3.l),d7 ; point to name table
lsl.l #3,d7 ; * 8 (eight bytes per entry)
add.l sb_nmtbb(a6),d7 ; add offset
move.w 2(a6,d7.l),a0 ; point to value now
add.l sb_nmlsb(a6),a0 ; add offset
moveq #0,d1
move.b (a6,a0.l),d1 ; length of string
move.l d1,d7 ; keep
addq.w #3,d1
bclr #0,d1 ; add length word & make even
move.l a0,d6 ; keep
move.w qa.resri,a2
jsr (a2) ; get space on ari stack
move.l sb_arthp(a6),a1 , point to top of ari stack
move.l d6,a0 ; pointer to string
move.w d7,(a6,a1.l) ; set length
beq.s ok ; no length, done
addq.l #2,a1 ; point first char
subq.l #1,d7 ; dbf
loop addq.l #1,a0 ; point next char
move.b (a6,a0.l),(a6,a1.l) ; transfer it
addq.l #1,a1 ; space for next char
dbf d7,loop
move.l sb_arthp(a6),a1
bra.s ok
err moveq #err.ipar,d0
bra.s out
is_str lea 8(a3),a5 ; point to end of this param
move.w sb.gtstr,a2
move.w (a6,a3.l),d7 ; keep type word!
jsr (a2) ; get string
move.w d7,(a6,a3.l)
subq.w #1,d3 ; one string param
bne.s err ; ooops
moveq #0,d1
move.w (a6,a1.l),d1
addq.w #3,d1
bclr #0,d1
add.l d1,sb_arthp(a6)
ok moveq #0,d0
out movem.l (a7)+,myregs2
rts
end
| 24.766234 | 66 | 0.657053 |
c4d02806bcb6381d9316079c087d3d838bd29bd6 | 662 | asm | Assembly | programs/oeis/123/A123567.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/123/A123567.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/123/A123567.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A123567: Recursive sum of 2*Omega(n), where Omega(n) is the sequence A001222.
; 3,5,7,11,13,17,19,25,29,33,35,41,43,47,51,59,61,67,69,75,79,83,85,93,97,101,107,113,115,121,123,133,137,141,145,153,155,159,163,171,173,179,181,187,193,197,199,209,213,219,223,229,231,239,243,251,255,259,261,269,271,275,281,293,297,303,305,311,315,321,323,333,335,339,345,351,355,361,363,373,381,385,387,395,399,403,407,415,417,425,429,435,439,443,447,459,461,467,473,481
lpb $0
mov $2,$0
sub $0,1
seq $2,86436 ; Maximum number of parts possible in a factorization of n; a(1) = 1, and for n > 1, a(n) = A001222(n) = bigomega(n).
add $1,$2
lpe
mul $1,2
add $1,3
mov $0,$1
| 50.923077 | 373 | 0.685801 |
a0343677eac21557c6d292c16b048c765e9587cf | 1,745 | asm | Assembly | programs/oeis/064/A064061.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/064/A064061.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/064/A064061.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A064061: Eighth column of Catalan triangle A009766.
; 429,1430,3432,7072,13260,23256,38760,62016,95931,144210,211508,303600,427570,592020,807300,1085760,1442025,1893294,2459664,3164480,4034712,5101360,6399888,7970688,9859575,12118314,14805180,17985552,21732542,26127660,31261516
mov $23,$0
mov $25,$0
add $25,1
lpb $25
clr $0,23
mov $0,$23
sub $25,1
sub $0,$25
mov $20,$0
mov $22,$0
add $22,1
lpb $22
clr $0,20
mov $0,$20
sub $22,1
sub $0,$22
mov $17,$0
mov $19,$0
add $19,1
lpb $19
mov $0,$17
sub $19,1
sub $0,$19
mov $13,$0
mov $15,2
lpb $15
mov $0,$13
sub $15,1
add $0,$15
sub $0,1
mov $9,$0
mov $11,2
lpb $11
mov $0,$9
sub $11,1
add $0,$11
sub $0,1
mov $4,$0
mov $0,6
mov $1,$4
lpb $0
sub $0,1
mov $3,$1
add $3,2
pow $4,$6
clr $2,1
add $1,$0
sub $0,8
add $1,7
add $2,$4
add $1,$2
bin $1,5
mul $2,$1
mov $1,$6
lpe
mul $2,$3
mov $1,$2
mov $12,$11
lpb $12
mov $10,$1
sub $12,1
lpe
lpe
lpb $9
mov $9,0
sub $10,$1
lpe
mov $1,$10
mov $16,$15
lpb $16
mov $14,$1
sub $16,1
lpe
lpe
lpb $13
mov $13,0
sub $14,$1
lpe
mov $1,$14
sub $1,858
div $1,6
add $1,143
add $18,$1
lpe
add $21,$18
lpe
add $24,$21
lpe
mov $1,$24
| 18.763441 | 226 | 0.40745 |
8f155052a9237947bc32086f0c1aa8a0fb414cdb | 438 | asm | Assembly | programs/oeis/213/A213443.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/213/A213443.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/213/A213443.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A213443: a(0)=5, thereafter a(n) = chromatic number (or Heawood number) Chi(n) of surface of genus n.
; 5,7,8,9,10,11,12,12,13,13,14,15,15,16,16,16,17,17,18,18,19,19,19,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,24,25,25,25,25,26,26,26,27,27,27,27,28,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,31,32,32
mov $1,$0
mul $0,2
trn $0,1
add $1,$0
mov $0,$1
add $0,$1
mov $1,5
lpb $0,1
add $0,3
sub $0,$1
trn $0,1
add $1,1
lpe
| 25.764706 | 207 | 0.621005 |
97166433ad7bf87e7adf82050f56fcb59605e57e | 1,484 | asm | Assembly | ispw/src/test/demo-workspace/rjk2/ASM/CLASMS01.asm | david-kennedy/vscode-ispw | 3d0688ba0038870961879e7dc34c4472d7f7ae72 | [
"MIT"
] | 5 | 2021-03-20T01:09:50.000Z | 2022-01-06T21:51:15.000Z | ispw/src/test/demo-workspace/rjk2/ASM/CLASMS01.asm | david-kennedy/vscode-ispw | 3d0688ba0038870961879e7dc34c4472d7f7ae72 | [
"MIT"
] | null | null | null | ispw/src/test/demo-workspace/rjk2/ASM/CLASMS01.asm | david-kennedy/vscode-ispw | 3d0688ba0038870961879e7dc34c4472d7f7ae72 | [
"MIT"
] | 2 | 2021-11-04T14:45:48.000Z | 2022-02-09T20:04:03.000Z | TITLE 'SEE IF MEMBER IS IN THE PDS'
SPACE 3
CLEQUM01
BASEREG EQU 12
CLASMS01 CSECT
*******************************************************************
** SAVE REGISTERS, ETC.
*******************************************************************
STM R14,R12,12(R13) SAVE REGISTERS R14 THRU 12
LR BASEREG,R15 LOAD ENTRY POINT
USING CLASMS01,BASEREG ESTABLISH REGISTER
LA R4,SAVE GET ADDRESS OF SAVE AREA
ST R4,8(R13) CALLERS FORWARD CHAIN
ST R13,4(R4) MY BACKWARD CHAIN
LR R13,R4 LOAD R13 TO MY SAVE AREA
WTO ' Message from ASM Subroutine CLASMS01', *
ROUTCDE=(11),DESC=(7)
*******************************************************************
** GO BACK TO CALLING PROGRAM
*******************************************************************
GOBACK EQU *
L R13,SAVE+4 RESTORE REG 13
LM R14,R12,12(R13) RESTORE REGS 14 THRU 12
SR R15,R15 SET CONDCODE=0
BR R14 RETURN
*******************************************************************
* MAIN STORAGE
*******************************************************************
LTORG
DS 0F
SAVE DS 18F
END CLASMS01 | 46.375 | 73 | 0.328841 |
db147eafb5b1957b238c42e47aba60aab1ec97d2 | 844 | asm | Assembly | oeis/033/A033814.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/033/A033814.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/033/A033814.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A033814: Convolution of positive integers n with Lucas numbers L(k)(A000032) for k >= 4.
; 7,25,61,126,238,426,737,1247,2079,3432,5628,9188,14955,24293,39409,63874,103466,167534,271205,438955,710387,1149580,1860216,3010056,4870543,7880881,12751717,20632902,33384934,54018162,87403433,141421943,228825735,370248048,599074164,969322604,1568397171,2537720189,4106117785,6643838410,10749956642,17393795510,28143752621,45537548611,73681301723,119218850836,192900153072,312119004432,505019158039,817138163017,1322157321613,2139295485198,3461452807390,5600748293178,9062201101169,14662949394959
mov $7,$0
add $0,4
mov $5,4
mov $6,4
lpb $0
sub $0,1
mov $2,$5
trn $3,6
add $3,2
add $3,$6
sub $3,13
mov $4,3
add $5,$6
mov $6,$2
add $6,3
lpe
sub $3,1
add $4,5
add $3,$4
mov $1,$3
lpb $7
add $1,6
sub $7,1
lpe
sub $1,7
mov $0,$1
| 28.133333 | 498 | 0.75 |
bd5455bbe8ac5640ba559dea660b000dafc9909d | 149 | asm | Assembly | 47-Automated-Pleasantries.speed.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | 47-Automated-Pleasantries.speed.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | 47-Automated-Pleasantries.speed.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | -- 7 Billion Humans --
-- 47: Automated Pleasantries --
-- Size: 3/3 --
-- Speed: 7/8 --
if w != nothing:
listenfor morning
endif
tell e morning
| 12.416667 | 32 | 0.624161 |
3fd558c1dcc6bcba26cded5d2037759e60703005 | 998 | asm | Assembly | libsrc/input/sc3000/in_KeyPressed.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/input/sc3000/in_KeyPressed.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/input/sc3000/in_KeyPressed.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; uint in_KeyPressed(uint scancode)
SECTION code_clib
PUBLIC in_KeyPressed
PUBLIC _in_KeyPressed
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed & HL = 1
; no carry = key not pressed & HL = 0
; used : AF,BC,HL
.in_KeyPressed
._in_KeyPressed
ld c,@00001100
in a,($de)
and 248
or 6
out ($de),a
in a,($dd)
bit 7,l
jr z,no_shift
bit 3,a
jr nz,fail
res 3,c
no_shift:
bit 6,l
jr z,no_control
bit 2,a
jr nz,fail
res 2,c
no_control:
; Check that we don't have any unwanted modifiers
cpl
and c
jr nz,fail
; We've passed all requirements for modifiers, now find out what port
ld a,l ; Select the key row
and 7
ld c,a
in a,($de)
and 248
or c
out ($de),a
ld c,$dc
bit 5,l
jr z,read_port
ld c,$dd
read_port:
in a,(c)
cpl
and h ;Mask
jr z,fail
ld hl,1
scf
ret
fail:
ld hl,0
and a
ret
| 15.121212 | 70 | 0.618236 |
2906bdaad56f01a522dd58f540068b07f0ef98e3 | 337 | asm | Assembly | programs/oeis/261/A261424.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/261/A261424.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/261/A261424.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A261424: Difference between n and the largest palindrome <= n.
; 0,0,0,0,0,0,0,0,0,0,1,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0
mov $1,$0
seq $1,261423 ; Largest palindrome <= n.
sub $0,$1
| 48.142857 | 209 | 0.578635 |
ec9a5da8d0f5adefcda89134c2fb94399373c545 | 6,573 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1881.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1881.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1881.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd7f4, %rcx
nop
nop
nop
cmp $33607, %r13
movl $0x61626364, (%rcx)
xor %rbp, %rbp
lea addresses_normal_ht+0x1e694, %rax
add %rsi, %rsi
movw $0x6162, (%rax)
nop
nop
nop
nop
nop
sub $25444, %rax
lea addresses_normal_ht+0xfd94, %rsi
lea addresses_A_ht+0x3ae4, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
sub $61478, %r13
mov $12, %rcx
rep movsq
nop
nop
nop
mfence
lea addresses_D_ht+0xbc58, %r13
nop
nop
sub %r15, %r15
mov (%r13), %r8
nop
nop
nop
nop
sub %r13, %r13
lea addresses_D_ht+0x17059, %rax
nop
nop
nop
dec %r13
mov $0x6162636465666768, %r15
movq %r15, %xmm1
vmovups %ymm1, (%rax)
and %rdi, %rdi
lea addresses_normal_ht+0x2394, %rax
nop
nop
dec %rbp
movb (%rax), %r13b
add $37087, %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r15
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
// Store
lea addresses_WC+0xa294, %rbx
nop
nop
nop
nop
nop
add %rcx, %rcx
movl $0x51525354, (%rbx)
nop
nop
nop
nop
and $34166, %r12
// Store
mov $0x154, %r14
nop
nop
nop
nop
cmp %rcx, %rcx
movb $0x51, (%r14)
sub $7779, %rcx
// Store
lea addresses_RW+0x1f79a, %r14
nop
nop
nop
sub %r12, %r12
mov $0x5152535455565758, %rbx
movq %rbx, (%r14)
nop
nop
nop
and %rcx, %rcx
// Store
lea addresses_WC+0x12f94, %rcx
nop
inc %rdi
movw $0x5152, (%rcx)
nop
nop
and $39509, %rdi
// Store
mov $0xc94, %r8
and %rdi, %rdi
movw $0x5152, (%r8)
nop
nop
nop
nop
nop
and $62500, %rbx
// Faulty Load
lea addresses_WC+0xa294, %rdi
xor %rcx, %rcx
vmovups (%rdi), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %r14
lea oracles, %rdx
and $0xff, %r14
shlq $12, %r14
mov (%rdx,%r14,1), %r14
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r14
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': False, 'congruent': 6, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 1, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': False, 'congruent': 9, 'size': 2, 'same': False, 'NT': True}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 1, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 10, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 2, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': True, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 6, 'size': 1, 'same': False, 'NT': False}}
{'54': 21829}
54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54
*/
| 35.52973 | 2,999 | 0.65267 |
a6781d80264078883df40bdf2d6cbd18415c824c | 62,666 | asm | Assembly | Appl/Bindery/Main/mainProcess.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/Bindery/Main/mainProcess.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/Bindery/Main/mainProcess.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @----------------------------------------------------------------------
Copyright (c) Geoworks 1992-1994 -- All Rights Reserved
PROJECT: GEOS
MODULE: Studio
FILE: mainProcess.asm
ROUTINES:
Name Description
---- -----------
INT EncapsulateToTargetVisText
Send a message to the target VisText
INT GetNowAsTimeStamp Convert the current date and time into two
16-bit records (FileDate and FileTime)
INT StudioProcessInsertVariableCommon
Common routine to handle inserting a
number, date, or time
METHODS:
Name Description
---- -----------
StudioProcessUIInstallToken Install the tokens for Studio
MSG_GEN_PROCESS_INSTALL_TOKEN
StudioProcessClass
StudioProcessInsertColumnBreak
Insert a C_COLUMN_BREAK character
MSG_STUDIO_PROCESS_INSERT_COLUMN_BREAK
StudioProcessClass
StudioProcessInsertTextualDateTime
Insert a textual representation of the
current date or time into the document at
the current insertion point.
MSG_STUDIO_PROCESS_INSERT_TEXTUAL_DATE_TIME
StudioProcessClass
StudioProcessInsertNumber Insert a number
MSG_STUDIO_PROCESS_INSERT_NUMBER
StudioProcessClass
StudioProcessInsertDate Insert a date
MSG_STUDIO_PROCESS_INSERT_DATE
StudioProcessClass
StudioProcessInsertTime Insert a time
MSG_STUDIO_PROCESS_INSERT_TIME
StudioProcessClass
StudioProcessInsertVariableGraphic
Insert a variable type graphic
MSG_STUDIO_PROCESS_INSERT_VARIABLE_GRAPHIC
StudioProcessClass
StudioProcessPrintDialog MSG_STUDIO_PROCESS_PRINT_DIALOG
StudioProcessClass
StudioProcessMergeFile MSG_STUDIO_PROCESS_MERGE_FILE
StudioProcessClass
MergeFileCheck Checks to see if the current selection is a
directory or a normal file and enables or
disables the "OK" button accordingly. Also
edits or creates double-clicked file.
MSG_STUDIO_PROCESS_MERGE_FILE_CHECK
StudioProcessClass
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/92 Initial version
DESCRIPTION:
This file contains the code for StudioProcessClass
$Id: mainProcess.asm,v 1.1 97/04/04 14:39:42 newdeal Exp $
------------------------------------------------------------------------------@
idata segment
StudioProcessClass
miscSettings StudioMiscSettings
idata ends
AppInitExit segment resource
COMMENT @----------------------------------------------------------------------
MESSAGE: StudioProcessUIInstallToken -- MSG_GEN_PROCESS_INSTALL_TOKEN
for StudioProcessClass
DESCRIPTION: Install the tokens for Studio
PASS:
*ds:si - instance data
es - segment of StudioProcessClass
ax - The message
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/18/92 Initial version
------------------------------------------------------------------------------@
StudioProcessUIInstallToken method dynamic StudioProcessClass,
MSG_GEN_PROCESS_INSTALL_TOKEN
;
; Call our superclass to get the ball rolling...
;
mov di, offset StudioProcessClass
call ObjCallSuperNoLock
; install Bindery datafile token
mov ax, ('S') or ('D' shl 8) ; ax:bx:si = token used for
mov bx, ('A') or ('T' shl 8) ; datafile
mov si, MANUFACTURER_ID_GEOWORKS
call TokenGetTokenInfo ; is it there yet?
jnc installBookToken ; yes, do nothing
mov cx, handle DatafileMonikerList ; cx:dx = OD of moniker list
mov dx, offset DatafileMonikerList
clr bp ; list is in data resource, so
; it's already relocated
call TokenDefineToken ; add icon to token database
installBookToken:
mov ax, ('c') or ('n' shl 8) ; ax:bx:si = token used for
mov bx, ('t') or ('b' shl 8) ; Book datafile
mov si, MANUFACTURER_ID_GEOWORKS
call TokenGetTokenInfo ; is it there yet?
jnc done ; yes, do nothing
mov cx, handle BookFileMonikerList ; cx:dx = OD of moniker list
mov dx, offset BookFileMonikerList
clr bp ; list is in data resource, so
; it's already relocated
call TokenDefineToken ; add icon to token database
done:
ret
StudioProcessUIInstallToken endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessCloseApplication
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: The app is being closed, save book name to state block
CALLED BY: MSG_GEN_PROCESS_CLOSE_APPLICATION
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of StudioProcessClass
ax - the message
RETURN: cx - handle of extra state block
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/29/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessCloseApplication method dynamic StudioProcessClass,
MSG_GEN_PROCESS_CLOSE_APPLICATION
; get name of current book (this assumes because name is in
; GenText that book file has been created for it, which might
; not be the case if user has not closed the dialog yet...)
clr bp ;no state block yet
sub sp, size FileLongName
mov dx, sp
mov cx, ss
mov di, offset BookNameText
call GetNameFromText
jz noBook
; allocate a block
mov ax, size FileLongName
mov cx, ALLOC_DYNAMIC_LOCK
call MemAlloc
mov es, ax
clr di
segmov ds, ss, ax
mov si, dx
mov cx, size FileLongName / 2
rep movsw
call MemUnlock
mov bp, bx
noBook:
mov cx, bp
add sp, size FileLongName
ret
StudioProcessCloseApplication endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessOpenApplication
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: The app is being closed, save book name to state block
CALLED BY: MSG_GEN_PROCESS_OPEN_APPLICATION
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of StudioProcessClass
ax - the message
bp - handle of extra state block
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/29/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessOpenApplication method dynamic StudioProcessClass,
MSG_GEN_PROCESS_OPEN_APPLICATION
; let our superclass actually open the sucker
push bp
mov di, offset StudioProcessClass
call ObjCallSuperNoLock
;
; Make the StudioPageNameControl enablable.
;
GetResourceHandleNS StudioPageNameControl, bx
mov si, offset StudioPageNameControl
mov cx, TRUE
mov ax, MSG_SLPNC_SET_ALLOW_ENABLE
clr di
call ObjMessage
;
; if there is an extra state block, get the book name from it
; and copy it to the BookNameStatusBar
pop bp
mov ax, MSG_STUDIO_APPLICATION_RESET_BOOK_INFO
tst bp
jz noStateBlock
mov bx, bp
call MemLock
mov cx, ax
clr dx
mov si, offset BookNameStatusBar
call SetText
call MemUnlock
; now that the Book name is in the text field, we can
; restore UI state based on its contents
mov cx, si ;pass chunk of BookNameText
mov ax, MSG_STUDIO_APPLICATION_LOAD_BOOK
noStateBlock:
call GenCallApplication
ret
StudioProcessOpenApplication endm
AppInitExit ends
;---
DocDrawScroll segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetNowAsTimeStamp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Convert the current date and time into two 16-bit records
(FileDate and FileTime)
CALLED BY: INTERNAL
PASS: nothing
RETURN: ax = FileDate
bx = FileTime
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 11/4/92 Stolen from primary IFS drivers (hence the
formatting)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetNowAsTimeStamp proc far
uses cx, dx
.enter
call TimerGetDateAndTime
;
; Create the FileDate record first, as we need to use CL to the end...
;
sub ax, 1980 ; convert to fit in FD_YEAR
CheckHack <offset FD_YEAR eq 9>
mov ah, al
shl ah ; shift year into FD_YEAR
mov al, bh ; install FD_DAY in low 5 bits
mov cl, offset FD_MONTH
clr bh
shl bx, cl ; shift month into place
or ax, bx ; and merge it into the record
xchg dx, ax ; dx <- FileDate, al <- minutes,
; ah <- seconds
xchg al, ah
;
; Now for FileTime. Need seconds/2 and both AH and AL contain important
; stuff, so we can't just sacrifice one. The seconds live in b<0:5> of
; AL (minutes are in b<0:5> of AH), so left-justify them in AL and
; shift the whole thing enough to put the MSB of FT_2SEC in the right
; place, which will divide the seconds by 2 at the same time.
;
shl al
shl al ; seconds now left justified
mov cl, (8 - width FT_2SEC)
shr ax, cl ; slam them into place, putting 0 bits
; in the high part
;
; Similar situation for FT_HOUR as we need to left-justify the thing
; in CH, so just shift it up and merge the whole thing.
;
CheckHack <(8 - width FT_2SEC) eq (8 - width FT_HOUR)>
shl ch, cl
or ah, ch
mov_tr bx, ax ; bx <- time
mov_tr ax, dx ; ax <- date
.leave
ret
GetNowAsTimeStamp endp
DocDrawScroll ends
;---
DocMiscFeatures segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessInsertTextualDateTime
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Insert a textual representation of the current date or
time into the document at the current insertion point.
CALLED BY: MSG_STUDIO_PROCESS_INSERT_TEXTUAL_DATE_TIME
PASS: cx = DateTimeFormat to use
RETURN: nothing
DESTROYED: everything
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 11/ 5/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessInsertTextualDateTime method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_INSERT_TEXTUAL_DATE_TIME
.enter
;
; Allocate a block into which we can put the text, since we can't
; make this call synchronous.
;
push cx
mov ax, DATE_TIME_BUFFER_SIZE
mov cx, ALLOC_DYNAMIC_LOCK
call MemAlloc
pop si ; si <- DateTimeFormat
jc done
;
; Format the current time appropriately.
;
mov es, ax
push bx
clr di ; es:di <- destination
call TimerGetDateAndTime ; get now
call LocalFormatDateTime ; format now
pop dx ; dx <- handle
mov bx, dx
call MemUnlock ; guess what?
;
; Now send the block off to the target text object to replace the
; current selection.
;
mov ax, 1
call MemInitRefCount ; set reference count to 1 so when the
; target vistext decrements it for us
; it will go away
mov ax, MSG_VIS_TEXT_REPLACE_SELECTION_BLOCK
mov di, mask MF_RECORD
push dx
call EncapsulateToTargetVisText
pop cx
;
; Send a message to the same place to decrement the reference count
; for that block so it goes away when the text object is done with it.
;
mov ax, MSG_META_DEC_BLOCK_REF_COUNT
clr dx ; no second handle
mov di, mask MF_RECORD
call EncapsulateToTargetVisText
done:
.leave
ret
StudioProcessInsertTextualDateTime endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessTOCContextListVisible
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS:
CALLED BY: MSG_STUDIO_PROCESS_TOC_CONTEXT_LIST_VISIBLE
PASS: ^lcx:dx = list
bp = non-zero if visible
RETURN:
DESTROYED:
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 3/30/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessTOCContextListVisible method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_TOC_CONTEXT_LIST_VISIBLE
.enter
tst bp
jz done
mov ax, MSG_STUDIO_DOCUMENT_TOC_CONTEXT_LIST_VISIBLE
mov bx, es
mov si, offset StudioDocumentClass
mov di, mask MF_RECORD
call ObjMessage
mov cx, di
mov ax, MSG_META_SEND_CLASSED_EVENT
mov dx, TO_MODEL
GetResourceHandleNS StudioDocGroup, bx
mov si, offset StudioDocGroup
mov di, mask MF_CALL
call ObjMessage
done:
.leave
ret
StudioProcessTOCContextListVisible endm
COMMENT @----------------------------------------------------------------------
MESSAGE: StudioProcessInsertNumber -- MSG_STUDIO_PROCESS_INSERT_NUMBER
for StudioProcessClass
DESCRIPTION: Insert a number
PASS:
*ds:si - instance data
es - segment of StudioProcessClass
ax - The message
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/30/92 Initial version
------------------------------------------------------------------------------@
StudioProcessInsertNumber method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_INSERT_NUMBER
mov si, offset NumberTypeList
mov di, offset NumberFormatList
GOTO StudioProcessInsertVariableCommon
StudioProcessInsertNumber endm
COMMENT @----------------------------------------------------------------------
MESSAGE: StudioProcessInsertNumber -- MSG_STUDIO_PROCESS_INSERT_DATE
for StudioProcessClass
DESCRIPTION: Insert a date
PASS:
*ds:si - instance data
es - segment of StudioProcessClass
ax - The message
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/30/92 Initial version
------------------------------------------------------------------------------@
StudioProcessInsertDate method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_INSERT_DATE
mov si, offset DateTypeList
mov di, offset DateFormatList
GOTO StudioProcessInsertVariableCommon
StudioProcessInsertDate endm
COMMENT @----------------------------------------------------------------------
MESSAGE: StudioProcessInsertTime -- MSG_STUDIO_PROCESS_INSERT_TIME
for StudioProcessClass
DESCRIPTION: Insert a time
PASS:
*ds:si - instance data
es - segment of StudioProcessClass
ax - The message
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/30/92 Initial version
------------------------------------------------------------------------------@
StudioProcessInsertTime method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_INSERT_TIME
mov si, offset TimeTypeList
mov di, offset TimeFormatList
FALL_THRU StudioProcessInsertVariableCommon
StudioProcessInsertTime endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessInsertVariableCommon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Common routine to handle inserting a number, date, or time
CALLED BY: (INTERNAL) StudioProcessInsertNumber,
StudioProcessInsertDate,
StudioProcessInsertTime
PASS: ^lbx:si = GenItemGroup with selected number/date/time
^lbx:si = GenItemGroup with selected format
RETURN: nothing
DESTROYED: ax, cx, dx, bp, si, di
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 11/ 3/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessInsertVariableCommon proc far
CheckHack <segment NumberTypeList eq segment DateTypeList>
CheckHack <segment NumberTypeList eq segment TimeTypeList>
GetResourceHandleNS NumberTypeList, bx
push di
mov ax, MSG_GEN_ITEM_GROUP_GET_SELECTION
mov di, mask MF_CALL
call ObjMessage ;ax = type
pop si
push ax
mov ax, MSG_GEN_ITEM_GROUP_GET_SELECTION
mov di, mask MF_CALL
call ObjMessage ;ax = format
mov_tr bp, ax ;bp = format
pop dx
mov cx, MANUFACTURER_ID_GEOWORKS
FALL_THRU StudioProcessInsertVariableGraphic
StudioProcessInsertVariableCommon endp
COMMENT @----------------------------------------------------------------------
MESSAGE: StudioProcessInsertVariableGraphic --
MSG_STUDIO_PROCESS_INSERT_VARIABLE_GRAPHIC for StudioProcessClass
DESCRIPTION: Insert a variable type graphic
PASS:
*ds:si - instance data
es - segment of StudioProcessClass
ax - The message
cx - manufacturer ID
dx - VisTextVariableType
bp - data
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/29/92 Initial version
------------------------------------------------------------------------------@
StudioProcessInsertVariableGraphic method StudioProcessClass,
MSG_STUDIO_PROCESS_INSERT_VARIABLE_GRAPHIC
mov bx, bp ;bx = data
sub sp, size ReplaceWithGraphicParams
mov bp, sp
; zero out the structure
segmov es, ss
mov di, bp
push cx
mov cx, size ReplaceWithGraphicParams
clr ax
rep stosb
pop cx
mov ss:[bp].RWGP_graphic.VTG_type, VTGT_VARIABLE
mov ss:[bp].RWGP_graphic.VTG_flags, mask VTGF_DRAW_FROM_BASELINE
mov ss:[bp].RWGP_graphic.VTG_data.VTGD_variable.VTGV_manufacturerID,
cx
mov ss:[bp].RWGP_graphic.VTG_data.VTGD_variable.VTGV_type, dx
mov {word} \
ss:[bp].RWGP_graphic.VTG_data.VTGD_variable.VTGV_privateData, bx
;
; If it's MANUFACTURER_ID_GEOWORKS:VTVT_STORED_DATE_TIME, we need to get
; the current date and time and store them in the 2d and 3d words of
; private data.
;
cmp cx, MANUFACTURER_ID_GEOWORKS
jne doReplace
cmp dx, VTVT_STORED_DATE_TIME
jne doReplace
call GetNowAsTimeStamp
mov {word} \
ss:[bp].RWGP_graphic.VTG_data.VTGD_variable.VTGV_privateData[2],
ax ; date
mov {word} \
ss:[bp].RWGP_graphic.VTG_data.VTGD_variable.VTGV_privateData[4],
bx ; time
doReplace:
mov ax, VIS_TEXT_RANGE_SELECTION
mov ss:[bp].RWGP_range.VTR_start.high, ax
mov ss:[bp].RWGP_range.VTR_end.high, ax
mov ax, MSG_VIS_TEXT_REPLACE_WITH_GRAPHIC
mov dx, size ReplaceWithGraphicParams
mov di, mask MF_RECORD or mask MF_STACK
call EncapsulateToTargetVisText
add sp, size ReplaceWithGraphicParams
ret
StudioProcessInsertVariableGraphic endm
COMMENT @----------------------------------------------------------------------
MESSAGE: StudioProcessInsertColumnBreak --
MSG_STUDIO_PROCESS_INSERT_COLUMN_BREAK for StudioProcessClass
DESCRIPTION: Insert a C_COLUMN_BREAK character
PASS:
*ds:si - instance data
es - segment of StudioProcessClass
ax - The message
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 6/ 9/92 Initial version
------------------------------------------------------------------------------@
StudioProcessInsertColumnBreak method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_INSERT_COLUMN_BREAK
SBCS < mov cx, (VC_ISCTRL shl 8) or VC_ENTER >
DBCS < mov cx, C_SYS_ENTER >
mov dx, (mask SS_LCTRL) shl 8
mov ax, MSG_META_KBD_CHAR
mov di, mask MF_RECORD
call EncapsulateToTargetVisText
ret
StudioProcessInsertColumnBreak endm
DocMiscFeatures ends
;---
DocSTUFF segment resource
EncapsulateToTargetVisText proc far
;
; Encapsulate the message the caller wants, sending it to a VisText
; object.
;
push si
mov bx, segment VisTextClass
mov si, offset VisTextClass
call ObjMessage
pop si
;
; Now queue the thing to the app target, since we can't rely on the
; model hierarchy to match the target hierarchy (e.g. when editing
; a master page, the StudioDocument still has the model, but the
; StudioMasterPageContent object has the target). This bones anything
; that must be synchronous, but such is life.
;
mov cx, di
mov dx, TO_APP_TARGET
mov ax, MSG_META_SEND_CLASSED_EVENT
clr bx
call GeodeGetAppObject
mov di, mask MF_FORCE_QUEUE ;keep that stack usage down
call ObjMessage
ret
EncapsulateToTargetVisText endp
DocSTUFF ends
;---
HelpEditCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SPStudioProcessLoadBook
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: User has selected something in BookFileSelector.
If they have opened a file, call
MSG_STUDIO_APPLICATION_LOAD_BOOK
CALLED BY: MSG_STUDIO_PROCESS_LOAD_BOOK
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of StudioProcessClass
ax - the message
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SPStudioProcessLoadBook method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_LOAD_BOOK
GetResourceHandleNS BookFileSelector, bx
mov si, offset BookFileSelector
mov ax, MSG_GEN_FILE_SELECTOR_GET_SELECTION
clr cx ;Don't need name.
call HE_ObjMessageCall
;
; See if something is being opened. Exit if not.
;
test bp, mask GFSEF_OPEN
jz noOpen
;
; Close the file selector's GenInteraction
;
mov cx, IC_DISMISS
mov ax, MSG_GEN_GUP_INTERACTION_COMMAND
mov si, offset BookFileSelector
call HE_ObjMessageCall
;
; Tell the app to load the Book.
;
mov cx, si
mov ax, MSG_STUDIO_APPLICATION_LOAD_BOOK
call GenCallApplication
noOpen:
ret
SPStudioProcessLoadBook endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessGenerateBookFile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Generate a content Book file from
CALLED BY: MSG_STUDIO_PROCESS_GENERATE_BOOK_FILE
PASS: *ds:si - instance data
es - seg addr of StudioProcessClass
ax - the message
RETURN: none
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 6/15/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessGenerateBookFile method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_GENERATE_BOOK_FILE
bookFile local hptr
bookName local FileLongName
.enter
; go to the directory where the book file is located.
call SetBookFilePath
cmp ax, OBFE_NONE
mov ax, offset ErrorCreatingBookFileString
jne error
clr ss:bookFile
mov cx, ss
lea dx, ss:bookName
mov di, offset BookNameStatusBar
call OpenBookFile
cmp ax, OBFE_NONE
je haveFile
mov al, HFT_BOOK
call CreateFileLow ;bx <- file
mov ax, offset ErrorCreatingBookFileString
jc error
mov cx, (size BookFileHeader) ;cx <- size of block
mov ax, 0
call VMAlloc ;ax <- vm block
call VMSetMapBlock
haveFile:
mov ss:bookFile, bx
push bp
call VMGetMapBlock
call VMLock
mov es, ax
mov es:[BFH_protocolMajor], BOOK_FILE_PROTO_MAJOR
mov es:[BFH_protocolMinor], BOOK_FILE_PROTO_MINOR
call GenerateBookFileLow ;ax <- error string chunk
pushf
call VMDirty
call VMUnlock
popf
pop bp
jc error ;destroy file on error???
done:
tst ss:bookFile
jz noFile
mov bx, ss:bookFile
mov al, FILE_NO_ERRORS
call VMClose
noFile:
call FilePopDir
.leave
ret
error:
call DisplayError
jmp done
StudioProcessGenerateBookFile endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
OpenBookFile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Open a book file
CALLED BY:
PASS: cx:dx - buffer for filename
di - chunk handle of object with book name
RETURN: carry flag clear if file was opened
bx = file handle
ax = OBFE_NONE
carry set if couldn't open book
ax = OBFE_NAME_NOT_FOUND if no name in passed object
ax = OBFE_FILE_NOT_FOUND if no such file
ax = OBFE_WRONG_PROTOCOL if wrong protocol
ax = OBFE_ERROR_OPENING_FILE if file exists but can't
be opened
DESTROYED: ax, di, es
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
OpenBookFile proc far
uses cx, dx
.enter
; go to the directory where the book file is located.
call SetBookFilePath
cmp ax, OBFE_NONE
jne noBook
call GetBookName ;cx:dx <- filled w/name
mov ax, OBFE_NAME_NOT_FOUND
jc noBook
mov ds, cx ;ds:dx <- file name
mov ah, VMO_OPEN
mov al, mask VMAF_FORCE_READ_WRITE
clr cx
call VMOpen ;^hbx <- file
jnc verify
mov bx, OBFE_FILE_NOT_FOUND
cmp ax, VM_FILE_NOT_FOUND
je $10
mov bx, OBFE_ERROR_OPENING_FILE
$10:
mov ax, bx
stc
jmp noBook
verify:
call VerifyBookFile ;ax <- OpenBookFileErr
cmp ax, OBFE_NONE
je noBook
push ax
mov al, FILE_NO_ERRORS
call VMClose
pop ax
noBook:
call FilePopDir
.leave
ret
OpenBookFile endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SetBookFilePath
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Move to the proper director for the book file
(as found in BookFileSelector)
CALLED BY: OpenBookFile, StudioProcessGenerateBookFile
PASS: nothing
RETURN: ax = OBFE_NONE if no error setting path
caller must call FilePopDir
ax = OBFE_PATH_NOT_FOUND if could not set path
DESTROYED: bx
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/18/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SetBookFilePath proc far
uses cx, dx, si, ds, bp
.enter
call FilePushDir
sub sp, size PathName
mov dx, ss
mov bp, sp ;dx:bp <- path buffer
GetResourceHandleNS BookFileSelector, bx
mov si, offset BookFileSelector
mov ax, MSG_GEN_PATH_GET ;cx <- disk handle
call HE_ObjMessageCall
mov ds, dx
mov dx, bp ;ds:dx <- path buffer
mov bx, cx
call FileSetCurrentPath ;carry set if error
mov ax, OBFE_NONE
jnc done
mov ax, OBFE_PATH_NOT_FOUND
done:
add sp, size PathName
.leave
ret
SetBookFilePath endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetBookName
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get book name from text object or file selector.
CALLED BY: OpenBookFile
PASS: di - chunk of object which has book name
cx:dx - buffer to hold name
RETURN: carry set if no book name
DESTROYED:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/ 3/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetBookName proc near
uses si,cx,dx,bp
.enter
cmp di, offset BookFileSelector
je fileSelector
call GetNameFromText ; Z set if no name
jz error
clc
done:
.leave
ret
fileSelector:
call GetFileSelectorSelection
jnz error ; any selection?
andnf bp, mask GFSEF_TYPE
cmp bp, (GFSET_FILE shl offset GFSEF_TYPE)
jne error
clc
jmp done
error:
stc
jmp done
GetBookName endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
VerifyBookFile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check for right protocol. Destroy map block if out
of date.
CALLED BY: StudioProcessGenerateBookFile
PASS: ^hbx - book file
RETURN: ax = OpenBookFileError
= OBFE_NONE if is a valid book file
= OBFE_NOT_BOOK_FILE if not a book file
= OBFE_WRONG_PROTOCOL if out of date
DESTROYED: cx, dx, di, es
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 8/18/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
VerifyBookFile proc near
uses bp
.enter
;
; Check the token for the file
;
mov cx, (size GeodeToken)
sub sp, cx
segmov es, ss, ax
mov di, sp ;es:di <- ptr to buffer
mov ax, FEA_TOKEN ;ax <- FileExtendedAttribute
call FileGetHandleExtAttributes
mov ax, OBFE_NOT_BOOK_FILE
jc restoreStack
cmp es:[di].GT_manufID, MANUFACTURER_ID_GEOWORKS
jne restoreStack
cmp {word}es:[di].GT_chars, 'c' or ('n' shl 8)
jne restoreStack
cmp {word}es:[di+2].GT_chars, 't' or ('b' shl 8)
jne restoreStack
add sp, size GeodeToken
;
; Check the file protocol
;
call VMGetMapBlock
call VMLock
mov es, ax
mov ax, OBFE_WRONG_PROTOCOL
cmp es:[BFH_protocolMajor], BOOK_FILE_PROTO_MAJOR
jne done
cmp es:[BFH_protocolMinor], BOOK_FILE_PROTO_MINOR
jne done
mov ax, OBFE_NONE
done:
call VMUnlock
exit:
.leave
ret
restoreStack:
add sp, size GeodeToken
jmp exit
VerifyBookFile endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetNameFromText
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get the name for the book
CALLED BY: INTERNAL
PASS: cx:dx - buffer for name
di - chunk handle of text object
RETURN: zero flag set if no name
DESTROYED: ax, bx, dx, di
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 6/15/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetNameFromText proc far
uses bx, cx, dx, si, bp
.enter inherit
mov bp, cx
xchg dx, bp ; dx:bp <- name buffer
GetResourceHandleNS BookNameText, bx
mov si, di
mov ax, MSG_VIS_TEXT_GET_ALL_PTR
call HE_ObjMessageCall
tst cx
.leave
ret
GetNameFromText endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GenerateBookFileLow
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Do the dirty work of writing stuff to file
CALLED BY: StudioProcessGenerateBookFile
PASS: ^hbx - book file
es - segment of map block
RETURN: carry set if error,
ax - chunk handle of error string
DESTROYED: bx, cx, dx, si, di
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GenerateBookFileLow proc near
uses bp
.enter
mov si, offset ViewerFeaturesList
call GetViewerFlags ;ax <- flags
mov es:[BFH_featureFlags], ax
mov si, offset ViewerToolsList
call GetViewerFlags ;ax <- flags
mov es:[BFH_toolFlags], ax
; book title boolean is set by user in features list, and we
; want tool flags to have that bit set similarly
ornf es:[BFH_toolFlags], mask BFF_BOOK_TITLE
test es:[BFH_featureFlags], mask BFF_BOOK_TITLE
jnz $10
andnf es:[BFH_toolFlags], not mask BFF_BOOK_TITLE
$10:
mov cx, es
lea dx, es:[BFH_path]
mov di, offset BookPathFileSelector
call GetPathName
jc error ;no selection? no bookname
call GetFirstPageInfo
;; jc error
call GetFileCount ;cx <- # content files
tst es:[BFH_count] ;# of files in old list
jz noNames ;no files?
mov ax, es:[BFH_nameList]
EC < tst ax >
EC < ERROR_Z -1 >
call VMFree
noNames:
mov es:[BFH_count], cx ;save # of files in list
;
; alloc a new vm block
;
call getListSize ;ax <- list size
mov cx, ax ;cx <- size to alloc
jcxz noList ;if cx=0, ax=0
mov ax, 0
call VMAlloc ;ax <- vm block
noList:
mov es:[BFH_nameList], ax
call GetContentFileNames
clc
error:
.leave
ret
getListSize:
clr dx
mov ax, size FileLongName
mul cx ;ax <- list size
EC < tst dx >
EC < ERROR_NZ INVALID_CONTENT_FILE_LIST_LENGTH >
retn
GenerateBookFileLow endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetViewerFlags
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get viewer tool flags
CALLED BY: GenerateBookFileLow
PASS: si - chunk handle of GenBooleanGroup
RETURN: ax - ViewerToolFlags
DESTROYED: cx, dx, bp
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetViewerFlags proc near
uses bx, di
.enter
;
; Get the flags into ax
;
mov ax, MSG_GEN_BOOLEAN_GROUP_GET_SELECTED_BOOLEANS
GetResourceHandleNS ViewerToolsList, bx
call HE_ObjMessageCall
.leave
ret
GetViewerFlags endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetPathName
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get the full pathname from a file selector
CALLED BY: INTERNAL
PASS: cx:dx - buffer for path name
di - chunk handle of file selector
RETURN: Carry set did not get the file name,
cx:dx = null
ax = error string chunk handle
Carry clear if got file name
cx:dx = contains name
DESTROYED: ax
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 10/26/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetPathName proc far
uses bx, si, bp, es
.enter
GetResourceHandleNS BookPathFileSelector, bx
mov si, di
mov ax, MSG_GEN_FILE_SELECTOR_GET_FULL_SELECTION_PATH
call HE_ObjMessageCall
mov es, cx
mov si, dx
SBCS < cmp {byte}es:[si], 0 >
mov ax, offset BadBookPathString
stc ; assume it is NULL
jz done
clc
done:
.leave
ret
GetPathName endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetFileCount
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get number of files currently in list
CALLED BY: INTERNAL
PASS: nothing
RETURN: cx - number of files
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetFileCount proc near
uses ax, bx, dx, si, di, bp
.enter
GetResourceHandleNS BookContentFileList, bx
mov si, offset BookContentFileList
mov ax, MSG_GEN_DYNAMIC_LIST_GET_NUM_ITEMS
call HE_ObjMessageCall
.leave
ret
GetFileCount endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetFirstPageInfo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get the first page info into the BookFileHeader
CALLED BY: GenerateBookFileLow
PASS: es - segment of BookFileHeader
cx - number of content files
RETURN: carry set if error
ax - error string
DESTROYED: ax, bp, di
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/27/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetFirstPageInfo proc near
uses bx, cx, dx
.enter
; get the file name
call GetMainFileSelection
mov bx, offset NoMainFileWarningString
jc warning
mov es:[BFH_firstFile], ax
mov cx, es
lea dx, es:[BFH_firstPage]
mov di, offset FirstPageContextName
call GetNameFromText
clc
jnz done
mov bx, offset FirstPageEmptyWarningString
stc
warning:
;
; Something's wrong...warn the user
;
;; pushf
;; mov ax, (CDT_WARNING shl offset CDBF_DIALOG_TYPE) or \
;; (GIT_NOTIFICATION shl offset CDBF_INTERACTION_TYPE)
;; call PutupHelpBox
;; popf
done:
.leave
ret
GetFirstPageInfo endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetFileName
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS:
CALLED BY:
PASS: ax - file number
RETURN: es:ax - file name
bx - handle of file list (must be unlocked by caller)
DESTROYED: ax
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetFileName proc near
uses cx
.enter
push ax
segmov es, dgroup, ax
mov bx, es:contentFileList
call MemLock
mov es, ax
EC < mov ax, MGIT_SIZE >
EC < call MemGetInfo >
EC < mov cl, size FileLongName >
EC < div cl >
EC < mov cx, ax >
EC < pop ax >
EC < push ax >
EC < cmp ax, cx >
EC < ERROR_AE INVALID_CONTENT_FILE_LIST_LENGTH >
pop ax
mov cl, size FileLongName
mul cl ;ax <- offset to entry
.leave
ret
GetFileName endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetMainFileSelection
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get the selected file number
CALLED BY: GetFirstPageInfo
PASS: nothing
RETURN: ax - file number
carry set if no selection
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetMainFileSelection proc near
uses bx, si, cx, dx, bp
.enter
GetResourceHandleNS MainFileList, bx
mov si, offset MainFileList
mov ax, MSG_GEN_ITEM_GROUP_GET_SELECTION
call HE_ObjMessageCall
jc done
clc
done:
.leave
ret
GetMainFileSelection endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetContentFileNames
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Write the content file names to the book file
CALLED BY: GenerateBookFileLow
PASS: bx - book file handle
es - map block
RETURN: nothing
DESTROYED: ax,cx,dx,ds
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/27/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetContentFileNames proc near
uses bx, es
.enter
mov cx, es:[BFH_count]
jcxz done
mov ax, es:[BFH_nameList]
call VMLock ;bp - handle to use for unlock
mov es, ax
GetResourceSegmentNS dgroup, ds
mov bx, ds:contentFileList
EC < call ECCheckMemHandle >
call MemLock
mov ds, ax
mov ax, cx
mov cl, size FileLongName
mul cl
shr ax
mov cx, ax
clr si, di
rep movsw
call VMDirty
call VMUnlock
call MemUnlock
done:
.leave
ret
GetContentFileNames endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessGetContentFileMoniker
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get a moniker for an entry in the content file list
CALLED BY: MSG_STUDIO_PROCESS_GET_CONTENT_FILE_MONIKER
PASS: bp = index of needed moniker
^lcx:dx = list requesting it
RETURN: nothing
DESTROYED:
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessGetContentFileMoniker method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_GET_CONTENT_FILE_MONIKER
pushdw cxdx
mov ax, bp
call GetFileName ;es:ax <- filename
movdw cxdx, esax ;cx:dx <- filename
mov ax, bx ;ax <- handle of list
popdw bxsi
push ax
mov ax, MSG_GEN_DYNAMIC_LIST_REPLACE_ITEM_TEXT
call HE_ObjMessageCall
pop bx
call MemUnlock ;unlock file list
ret
StudioProcessGetContentFileMoniker endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessAddContentFile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Add a content file to the Book's list of files
CALLED BY: MSG_STUDIO_PROCESS_ADD_CONTENT_FILE
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of StudioProcessClass
ax - the message
RETURN:
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessAddContentFile method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_ADD_CONTENT_FILE
; get the name of the file to add
sub sp, size FileLongName
mov dx, sp
mov cx, ss ;cx:dx = buffer
mov di, offset ContentFileNameText
call GetNameFromText
EC < ERROR_Z STUDIO_NULL_CONTENT_FILE_NAME >
mov bx, es:contentFileList
call CheckForDuplicateFile
jz noAdd
;
; Save the current Main Files list selection so as to restore
; it later. If the selection is GIGS_NONE, that means we are
; now adding the very first file, so we'll "restore" the
; selection to be the first item in the list. Leaving a GIGS_NONE
; selection around to be saved as the BFH_firstFile index can
; wind up crashing Book Reader if users forget ever to set the
; selection themselves. - jenny, 8/03/94
;
call GetMainFileSelection ;ax <- selection #
cmp ax, GIGS_NONE
jne saveSelection
CheckHack <GIGS_NONE eq -1>
inc ax ; ax <- first item
saveSelection:
mov bp, ax
movdw dssi, cxdx
; resize the block to make room for one more entry
call AllocOrReAllocBlock ;cx:dx = new entry ptr
;ax = file count, ^hbx = list
mov es:contentFileList, bx
; copy the file name to the list
movdw esdi, cxdx
mov cx, size FileLongName/2
rep movsw
mov cx, ax ;cx <- new count
call InitializeContentFileList
call MemUnlock
; reset the main file selection
mov cx, bp
call SetMainFileSelection
done:
add sp, size FileLongName
; remove the name from the text field
GetResourceHandleNS ContentFileNameText, bx
mov si, offset ContentFileNameText
mov ax, MSG_VIS_TEXT_DELETE_ALL
call HE_ObjMessageSend
ret
noAdd:
mov ax, offset FileAlreadyInListString
call DisplayError
jmp done
StudioProcessAddContentFile endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CheckForDuplicateFile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check if passed name is already in file list
CALLED BY: StudioProcessAddContentFile,
PASS: ^hbx - file list
cx:dx - file name
RETURN: zero flag set if name is in list
ax - index of name
zero flag clear if file name is not in list
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/28/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CheckForDuplicateFile proc near
uses cx, dx, si, di, ds, es
.enter
movdw dssi, cxdx
call GetFileCount ;cx <- # files in list
tst cx
jz notFound
EC < call ECCheckMemHandle >
call MemLock
mov es, ax
clr di
mov dx, cx
clr ax, cx ;strings are null-term
checkLoop:
call LocalCmpStrings
jz foundIt
add di, size FileLongName
inc ax
cmp ax, dx
jne checkLoop
call MemUnlock
notFound:
or cx, 1 ;clears zero flag
foundIt:
.leave
ret
CheckForDuplicateFile endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
AllocOrReAllocBlock
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: alloc or realloc block with room for new entry
CALLED BY: StudioProcessAddContentFile
PASS: bx - block handle
RETURN: cx:dx - offset to new entry in block
bx - block handle
ax - file count
DESTROYED: ax
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/27/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
AllocOrReAllocBlock proc near
.enter
tst bx
jz alloc
call GetFileCount ;cx = count
clr dx
mov ax, size FileLongName
mul cx
EC < tst dx >
EC < ERROR_NZ INVALID_CONTENT_FILE_LIST_LENGTH >
inc cx
push cx ;save new count
push ax ;save offset to new entry
add ax, size FileLongName ;ax = new size
mov ch, mask HAF_NO_ERR or mask HAF_LOCK
call MemReAlloc
mov cx, ax
pop dx ;cx:dx <- offset to new entry
pop ax ;ax <- # files in list
done:
.leave
ret
alloc:
mov ax, size FileLongName
mov cx, ALLOC_DYNAMIC_LOCK or (mask HAF_ZERO_INIT shl 8)
call MemAlloc
mov cx, ax
clr dx
mov ax, 1
jmp done
AllocOrReAllocBlock endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
InitializeContentFileList
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Initialize the content file list
CALLED BY: INTERNAL
PASS: cx - number of items in list
RETURN: nothing
DESTROYED: ax, dx
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/27/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
InitializeContentFileList proc far
uses bx,cx,si,bp
.enter
push cx
GetResourceHandleNS BookContentFileList, bx
mov si, offset BookContentFileList
mov ax, MSG_GEN_DYNAMIC_LIST_INITIALIZE
call HE_ObjMessageSend
pop cx
mov si, offset MainFileList
mov ax, MSG_GEN_DYNAMIC_LIST_INITIALIZE
call HE_ObjMessageSend
mov ax, MSG_GEN_SET_NOT_ENABLED
mov si, offset BookContentFileRemoveTrigger
call SetStateLow
.leave
ret
InitializeContentFileList endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessRemoveContentFile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Remove a content file from the Book's list of files
CALLED BY: MSG_STUDIO_PROCESS_REMOVE_CONTENT_FILE
PASS: *ds:si - instance data
ds:di - *ds:si
es - segment of StudioProcessClass
ax - the message
RETURN:
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessRemoveContentFile method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_REMOVE_CONTENT_FILE
call GetFileCount ;cx <- # entries in list
EC < tst cx >
EC < ERROR_Z CONTENT_FILE_LIST_IS_EMPTY >
;
; Create a buffer large enough to hold all entries, and one filename
;
mov ax, cx
mov bp, ax ;save # selections in bp
mov cl, size word
mul cl ;ax <- size needed for selects.
add ax, size FileLongName ;add room for main file name
sub sp, ax
mov di, sp ;ss:di <- buffer for file name
mov dx, di ;ss:dx <- buffer
push ax ;save buffer size
;
; Copy the name of the Main file to the buffer
;
mov {char}ss:[di], 0 ;assume no main file yet
call GetMainFileSelection ;ax <- main file #
cmp ax, -1
je noMainFile
call GetFileName ;es:ax <- filename
push ds, si
segmov ds, es, si
mov si, ax ;ds:si <- filename
segmov es, ss, ax ;es:di <- buffer
mov cx, size FileLongName
rep movsb
pop ds, si
call MemUnlock ;unlock file list
noMainFile:
push dx
add dx, size FileLongName
mov cx, ss ;cx:dx <-buffer for selections
;
; Get the selected file numbers into the buffer
; bp = max number to get (= # items selected)
;
GetResourceHandleNS BookContentFileList, bx
mov si, offset BookContentFileList
mov ax, MSG_GEN_ITEM_GROUP_GET_MULTIPLE_SELECTIONS
call HE_ObjMessageCall ;ax = num selections
;
; Remove the selected files from the list
;
call RemoveFilesFromList ;cx = num files remaining
; old list is locked
segmov es, dgroup, ax
xchg bx, es:contentFileList ;store the new list handle
EC < call ECCheckMemHandle >
call MemFree ;free the old list
;
; Reinitialize the list with the new number of files
;
call InitializeContentFileList
;
; Now that the list has been reinitialized, see if the saved
; filename appears in the list, and if so, where it appears
; in the list.
;
pop dx ;ss:dx <- Main file name
mov cx, ss ;cx:dx <- main file name
mov bx, es:contentFileList ;get the new list handle
call CheckForDuplicateFile ;ax <- file number
jnz notInList
;
; The main file is still in the list, so select it.
;
mov cx, ax
call SetMainFileSelection
notInList:
pop ax
add sp, ax
ret
StudioProcessRemoveContentFile endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
RemoveFilesFromList
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: User has removed some files from content list.
Update the contentFileList block.
CALLED BY: StudioProcessRemoveContentFile
PASS: ss:dx - list of selections to remove
ax - number of files in list
es - dgroup
RETURN: cx - new number of files
bx - new block
old contentFileList is locked
DESTROYED: ax, di
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/27/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
RemoveFilesFromList proc near
uses bp,es
.enter
call GetFileCount ;cx <- count
sub cx, ax ;cx <- number file remaining
clr bx ;assume none left
tst cx
LONG jz noFiles
push cx ;save # entries left
; lock the old file list
mov bp, dx
mov cx, ax ;cx <- number of entries
; to remove
mov bx, es:contentFileList
EC < call ECCheckMemHandle >
call MemLock
mov es, ax
clr di
; zero out the names which are to be removed
removeLoop:
mov ax, ss:[bp] ;ax <- entry to remove
mov dl, size FileLongName
mul dl
mov di, ax ;es:di <- file name
mov {char}es:[di], 0 ;null it out
add bp, size word ;set up for next entry
loop removeLoop
; allocate a block to hold the new list
segmov ds, es, ax
pop ax ;ax <- # entries in new list
push ax
mov cl, size FileLongName
mul cl
mov cx, ALLOC_DYNAMIC_LOCK or (mask HAF_ZERO_INIT shl 8)
call MemAlloc ;bx <- new block
mov es, ax
clr di ;es:di <- new list
clr si ;ds:si <- old list
; copy old list to new list
call GetFileCount ;cx <- old count
copyLoop:
tst {char}ds:[si]
jz noCopy
push cx
mov cx, size FileLongName / 2
rep movsw
pop cx
jmp continue ;si, di are updated
noCopy:
add si, size FileLongName ;ds:si <- next in old list
continue:
loop copyLoop
pop cx ;cx <- # entries left
call MemUnlock
noFiles:
.leave
ret
RemoveFilesFromList endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessContentSelectionChanged
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: User has changed the content file selection. Update the
Remove File trigger accordingly.
CALLED BY: MSG_STUDIO_PROCESS_CONTENT_SELECTION_CHANGED
PASS: *ds:si - instance data
ds:di - *ds:si
es - segment of StudioProcessClass
ax - the message
cx - entry # of selection
bp - GenFileSelectorEntryFlags
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessContentSelectionChanged method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_CONTENT_SELECTION_CHANGED
mov ax, MSG_GEN_SET_ENABLED
tst bp
jnz setState
mov ax, MSG_GEN_SET_NOT_ENABLED
setState:
mov si, offset BookContentFileRemoveTrigger
FALL_THRU SetStateLow
StudioProcessContentSelectionChanged endm
;---
SetStateLow proc far
GetResourceHandleNS BookContentFileRemoveTrigger, bx
mov dl, VUM_NOW
call HE_ObjMessageSend
ret
SetStateLow endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessDefineBook
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: User has just named a new book.
CALLED BY: MSG_STUDIO_PROCESS_DEFINE_BOOK
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of StudioProcessClass
ax - the message
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/ 1/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessDefineBook method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_DEFINE_BOOK
;
; Set BookFileSelector path to SP_DOCUMENT so OpenBookFile()
; will work properly.
;
sub sp, size FileLongName
mov bp, sp
mov {char}ss:[bp], 0 ;no subdirectory
mov cx, ss
mov dx, sp ;cx:dx <- subdir
GetResourceHandleNS BookFileSelector, bx
mov si, offset BookFileSelector
mov bp, SP_DOCUMENT
mov ax, MSG_GEN_PATH_SET
call HE_ObjMessageCall
EC < ERROR_C -1 >
;
; See if we can open a file with this name
;
mov cx, ss
mov dx, sp ;cx:dx <- name buffer
mov di, offset BookNameText
call OpenBookFile
cmp ax, OBFE_FILE_NOT_FOUND
jne fileExists
continue:
;
; Reset UI for defining a new book
;
call ResetBookInfoCommon
;
; Change the name in the status bar
;
mov si, offset BookNameStatusBar
call SetText
add sp, size FileLongName
;
; Now that a book has been specified, enable other book gadgetry
;
mov ax, MSG_GEN_SET_ENABLED
mov si, offset ManageFilesTrigger
call SetStateLow
mov ax, MSG_GEN_SET_ENABLED
mov si, offset BookOptionsTrigger
call SetStateLow
call StudioProcessSaveBookOptions
ret
fileExists:
;
; If there was no error when opening the file, bx = file handle
; and we must close it now.
;
mov si, offset QueryReplaceBookFile
cmp ax, OBFE_WRONG_PROTOCOL
je $10
cmp ax, OBFE_NONE
jne $20
clr ax
call VMClose
$10:
call DisplayQuestion
cmp ax, IC_YES
je continue
jmp clearName
$20:
mov si, offset NameInUseString
cmp ax, OBFE_NOT_BOOK_FILE
je $30
mov si, offset ErrorCreatingBookFileString
$30:
mov ax, si
call DisplayError
jmp noClear
clearName:
GetResourceHandleNS BookNameText, bx
mov si, offset BookNameText
mov ax, MSG_VIS_TEXT_DELETE_ALL
call HE_ObjMessageSend
noClear:
add sp, size FileLongName
ret
StudioProcessDefineBook endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessSaveBookOptions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: User has just named a new book.
CALLED BY: MSG_STUDIO_PROCESS_SAVE_BOOK_OPTIONS
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of StudioProcessClass
ax - the message
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 9/ 1/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessSaveBookOptions method StudioProcessClass,
MSG_STUDIO_PROCESS_SAVE_BOOK_OPTIONS
mov ax, MSG_STUDIO_PROCESS_GENERATE_BOOK_FILE
call GeodeGetProcessHandle
clr si
mov di, mask MF_FORCE_QUEUE
GOTO ObjMessage
StudioProcessSaveBookOptions endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
StudioProcessBookFeaturesChanged
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: User has changed the book's features. Update the
Tool features accordingly.
CALLED BY: MSG_STUDIO_PROCESS_BOOK_FEATURES_CHANGED
PASS: *ds:si - instance data
ds:di - *ds:si
es - segment of StudioProcessClass
ax - the message
cx - selected booleans
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
StudioProcessBookFeaturesChanged method dynamic StudioProcessClass,
MSG_STUDIO_PROCESS_BOOK_FEATURES_CHANGED
mov dx, cx
mov bx, offset toolFeatureTable
mov cx, length toolFeatureTable ;cx <- # table entries
enableLoop:
mov ax, MSG_GEN_SET_NOT_ENABLED ;assume not selected
shr dx ;get the next flag
jnc haveMessage ;is this feature set?
mov ax, MSG_GEN_SET_ENABLED ;yes, enable tool bool
haveMessage:
mov si, cs:[bx] ;get chunk handle
tst si
jz noBoolean
push bx, cx, dx
;
; if we're about to disable the tool item, make sure the tool
; item is not selected
;
cmp ax, MSG_GEN_SET_ENABLED
je setState
push ax
GetResourceHandleNS ViewerToolsList, bx
mov ax, MSG_GEN_BOOLEAN_GET_IDENTIFIER
mov di, mask MF_CALL
call ObjMessage ;ax <- identifier
push si
mov cx, ax
clr dx ;zero to unselect
mov ax, MSG_GEN_BOOLEAN_GROUP_SET_BOOLEAN_STATE
mov si, offset ViewerToolsList
mov di, mask MF_CALL
call ObjMessage ;ax <- identifier
pop si
pop ax
setState:
call SetStateLow
pop bx, cx, dx
noBoolean:
add bx, size nptr
loop enableLoop
ret
StudioProcessBookFeaturesChanged endm
;
; Important: This list of chunks in the ViewerToolFeatures GenBooleanGroup
; is in reverse order with respect to the BookFeatureFlags.
;
toolFeatureTable nptr \
offset ViewerToolBackBoolean,
offset ViewerToolPrevNextPageBoolean,
offset ViewerToolHistoryListBoolean,
offset ViewerToolMainPageBoolean,
0, 0, 0, 0, 0, 0, 0, 0, 0,
offset ViewerToolSendBoolean,
offset ViewerToolFindBoolean
.assert (offset BFF_BACK eq 0)
.assert (offset BFF_PREV_NEXT eq 1)
.assert (offset BFF_HISTORY eq 2)
.assert (offset BFF_MAIN_PAGE eq 3)
.assert (offset BFF_UNUSED eq 4)
.assert (offset BFF_SEND eq 13)
.assert (offset BFF_FIND eq 14)
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetFileSelectorSelection
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get the selection from a file selector
CALLED BY: INTERNAL
PASS: cx:dx - buffer for name
di - chunk of file selector
RETURN: zero flag set if got a selection
zero flag clear if nothing selected
bp - GenFileSelectorEntryFlags
DESTROYED: ax
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 7/26/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetFileSelectorSelection proc near
uses bx, si, di
.enter
; get the path name from the file selector (they're all in
; the same resource)
GetResourceHandleNS BookPathFileSelector, bx
mov si, di
mov ax, MSG_GEN_FILE_SELECTOR_GET_SELECTION
call HE_ObjMessageCall
test bp, mask GFSEF_NO_ENTRIES
jnz done
xor ax, ax ;sets zero flag
done:
.leave
ret
GetFileSelectorSelection endp
HelpEditCode ends
| 25.238019 | 80 | 0.603469 |
b6e9f4a2c335d2e4e613a5b176994e8e33b7877d | 454 | asm | Assembly | programs/oeis/161/A161938.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/161/A161938.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/161/A161938.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A161938: a(n) = ((3+sqrt(2))*(2+sqrt(2))^n + (3-sqrt(2))*(2-sqrt(2))^n)/2.
; 3,8,26,88,300,1024,3496,11936,40752,139136,475040,1621888,5537472,18906112,64549504,220385792,752444160,2569005056,8771131904,29946517504,102243806208,349082189824,1191841146880,4069200207872,13893118537728,47434073735168,161950057865216,552932083990528,1887828220231680,6445448712945664
mov $1,5
lpb $0
sub $0,1
mul $1,2
trn $2,2
add $1,$2
add $2,$1
lpe
sub $1,2
| 34.923077 | 289 | 0.740088 |
6c253fef8ba8879846036ecde2e6ab8f5798edb1 | 191 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_fmul10u.asm | dikdom/z88dk | 40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0 | [
"ClArtistic"
] | 1 | 2022-03-08T11:55:58.000Z | 2022-03-08T11:55:58.000Z | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_fmul10u.asm | dikdom/z88dk | 40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0 | [
"ClArtistic"
] | 2 | 2022-03-20T22:17:35.000Z | 2022-03-24T16:10:00.000Z | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_fmul10u.asm | jorgegv/z88dk | 127130cf11f9ff268ba53e308138b12d2b9be90a | [
"ClArtistic"
] | null | null | null |
SECTION code_fp_am9511
PUBLIC cam32_sccz80_fmul10u
EXTERN asm_sccz80_read1, asm_am9511_fmul10u_fastcall
.cam32_sccz80_fmul10u
call asm_sccz80_read1
jp asm_am9511_fmul10u_fastcall
| 17.363636 | 52 | 0.863874 |
fe337853007e4fd60f0651e599d45b952b3c5e86 | 753 | asm | Assembly | oeis/290/A290990.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/290/A290990.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/290/A290990.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A290990: p-INVERT of the nonnegative integers (A000027), where p(S) = 1 - S - S^2.
; Submitted by Christian Krause
; 0,1,2,5,12,28,64,145,328,743,1686,3830,8704,19781,44950,102133,232048,527208,1197808,2721421,6183108,14048151,31917714,72517738,164761792,374342057,850512458,1932380869,4390407092,9975090996,22663602720,51492150953,116991179296,265806258855,603917043566,1372111389534,3117464037312,7082939547565,16092577826334,36562653031669,83071066127448,188739094551680,428818931459152,974285038364773,2213594751394140,5029330771222679,11426738336108714,25961774029474514,58985660731193984,134016580220843473
mov $1,1
lpb $0
sub $0,1
add $1,$3
sub $3,$4
mov $4,$2
sub $2,$3
mov $3,$5
add $4,$1
add $4,$2
add $5,$2
lpe
mov $0,$4
| 41.833333 | 497 | 0.783533 |
49b5a3b72b063a3c60251a577ce7dd740b3d53b3 | 279 | asm | Assembly | pwnlib/shellcraft/templates/arm/linux/setpgid.asm | IMULMUL/python3-pwntools | 61210a68cd88e9084c72292d3119c38c44f07966 | [
"MIT"
] | 325 | 2016-01-25T08:38:06.000Z | 2022-03-30T14:31:50.000Z | pwnlib/shellcraft/templates/arm/linux/setpgid.asm | IMULMUL/python3-pwntools | 61210a68cd88e9084c72292d3119c38c44f07966 | [
"MIT"
] | 8 | 2016-08-23T10:15:27.000Z | 2019-01-16T02:49:34.000Z | pwnlib/shellcraft/templates/arm/linux/setpgid.asm | IMULMUL/python3-pwntools | 61210a68cd88e9084c72292d3119c38c44f07966 | [
"MIT"
] | 71 | 2016-07-13T10:03:52.000Z | 2022-01-10T11:57:34.000Z | <%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="pid, pgid"/>
<%docstring>
Invokes the syscall setpgid. See 'man 2 setpgid' for more information.
Arguments:
pid(pid_t): pid
pgid(pid_t): pgid
</%docstring>
${syscall('SYS_setpgid', pid, pgid)}
| 19.928571 | 71 | 0.673835 |
33ce385baac67b8b20b0405d95bbe83fd704b7e3 | 588 | asm | Assembly | libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/heap_free_callee.asm | teknoplop/z88dk | bb03fbfd6b2ab0f397a1358559089f9cd3706485 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/heap_free_callee.asm | teknoplop/z88dk | bb03fbfd6b2ab0f397a1358559089f9cd3706485 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/heap_free_callee.asm | teknoplop/z88dk | bb03fbfd6b2ab0f397a1358559089f9cd3706485 | [
"ClArtistic"
] | 1 | 2019-12-03T23:57:48.000Z | 2019-12-03T23:57:48.000Z |
; void heap_free(void *heap, void *p)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC heap_free_callee
EXTERN asm_heap_free
heap_free_callee:
pop af
pop hl
pop de
push af
jp asm_heap_free
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC heap_free_callee
EXTERN heap_free_unlocked_callee
defc heap_free_callee = heap_free_unlocked_callee
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ENDIF
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
| 15.076923 | 49 | 0.527211 |
4831b9fe997998f0910d25cd52b5ec443eb502ae | 42,334 | asm | Assembly | Engine/Player.asm | gbcompo21/ReboundGB | 68611cf8e35bb03362dd9059173a03796ba3bde4 | [
"MIT"
] | null | null | null | Engine/Player.asm | gbcompo21/ReboundGB | 68611cf8e35bb03362dd9059173a03796ba3bde4 | [
"MIT"
] | null | null | null | Engine/Player.asm | gbcompo21/ReboundGB | 68611cf8e35bb03362dd9059173a03796ba3bde4 | [
"MIT"
] | null | null | null | ; ==================
; Player RAM defines
; ==================
section "Player RAM",wram0
PlayerRAM:
Player_MovementFlags:: db ; bit 0 = moving, bit 7 = dir (0 = left, 1 = right)
Player_XPos:: db ; current X position
Player_XSubpixel:: db ; current X subpixel
Player_YPos:: db ; current Y position
Player_YSubpixel:: db ; current Y subpixel
Player_XVelocity:: db ; current X velocity
Player_XVelocityS:: db ; current X fractional velocity
Player_YVelocity:: db ; current Y velocity
Player_YVelocityS:: db ; current Y fractional velocity
Player_LastBounceY:: db ; last bounce Y position (absolute)
Player_AnimPointer:: dw ; pointer to current animation sequence
Player_AnimTimer:: db ; time until next animation frame is displayed (if -1, frame will be displayed indefinitely)
Player_CurrentFrame:: db ; current animation frame being displayed
StageClear_Offset1:: db
StageClear_Offset2:: db
StageClear_Offset3:: db
StageClear_Offset4:: db
StageClear_Offset5:: db
StageClear_Delay2:: db
StageClear_Delay3:: db
StageClear_Delay4:: db
StageClear_Delay5:: db
PlayerRAM_End:
; the following are part of the player RAM but are not to be cleared after each level
Player_CoinCount:: dw
Player_LifeCount:: db
; initial player life count
PLAYER_LIVES equ 5
; player movement constants
Player_MaxSpeed equ $140
Player_MaxSpeedWater equ $e0
Player_Accel equ 24
Player_Decel equ 12
Player_Gravity equ $25
Player_BounceHeight equ -$340
Player_HighBounceHeight equ -$480
Player_LowBounceHeight equ -$1c0
Player_WallBounceHeight equ -$180
Player_HighWallBounceHeight equ -$400
Player_LowWallBounceHeight equ -$100
Player_TerminalVelocity equ $600
Player_HitboxSize equ 6
; Player_MovementFlags defines
bPlayerIsMoving = 0
bPlayerIsUnderwater = 1
bPlayerIsDead = 2
bPlayerVictory = 3
bPlayerHitEnemy = 4
bPlayerBounceCancel = 5
bPlayerUnused6 = 6
bPlayerDirection = 7
; ========================
; Player animation defines
; ========================
F_Player_Idle equ 0
F_Player_Idle_Blink1 equ 1
F_Player_Idle_Blink2 equ 2
F_Player_Idle_Blink3 equ 3
F_Player_Idle_Blink4 equ 4
F_Player_Left1 equ 8
F_Player_Left1_Blink1 equ 9
F_Player_Left1_Blink2 equ 10
F_Player_Left1_Blink3 equ 11
F_Player_Left1_Blink4 equ 12
F_Player_Left2 equ 16
F_Player_Left2_Blink1 equ 17
F_Player_Left2_Blink2 equ 18
F_Player_Left2_Blink3 equ 19
F_Player_Left2_Blink4 equ 20
F_Player_Right1 equ 24
F_Player_Right1_Blink1 equ 25
F_Player_Right1_Blink2 equ 26
F_Player_Right1_Blink3 equ 27
F_Player_Right1_Blink4 equ 28
F_Player_Right2 equ 32
F_Player_Right2_Blink1 equ 33
F_Player_Right2_Blink2 equ 34
F_Player_Right2_Blink3 equ 35
F_Player_Right2_Blink4 equ 36
F_Player_Win equ 5
F_Player_Hurt1 equ 6
F_Player_Hurt2 equ 7
F_Player_Angry equ 13
F_Player_Sad equ 14
F_Player_Surprise equ 15
F_Player_LookUp equ 21
F_Player_LookDown equ 22
; ===============
; Player routines
; ===============
section "Player routines",rom0
InitPlayer:
; init RAM
ld hl,PlayerRAM
ld b,PlayerRAM_End-PlayerRAM
xor a
call _FillRAMSmall
; initialize animation pointer
ld a,low(Anim_Player_Idle)
ld [Player_AnimPointer],a
ld a,high(Anim_Player_Idle)
ld [Player_AnimPointer+1],a
; initialize animation timer
ld a,-1
ld [Player_AnimTimer],a
; load player palette
ldfar hl,Pal_Player
ld a,8
call LoadPal
ld hl,Anim_Player_Idle
call Player_SetAnimation
resbank
ret
; ========
ProcessPlayer:
ld hl,Player_MovementFlags
res bPlayerHitEnemy,[hl]
ld a,[Player_MovementFlags]
bit bPlayerIsDead,a
jr z,.notdead
ld a,[Player_YVelocity]
bit 7,a ; is player falling?
jp nz,.moveair2
ld a,[Player_YPos]
and $f0
sub 16
ld b,a
ld a,[Engine_CameraY]
and $f0
add SCRN_Y
cp b
jp z,Player_Respawn
jp .moveair2
.notdead
ld a,[sys_btnRelease]
bit btnA,a
jr z,:+
ld a,[Player_YVelocity]
bit 7,a
jr z,:+
scf
rra
ld [Player_YVelocity],a
ld a,[Player_YVelocityS]
rra
ld [Player_YVelocityS],a
:
lb bc,0,1
ld a,[sys_btnHold]
bit btnLeft,a
jr nz,.accelLeft
bit btnRight,a
jr nz,.accelRight
; if left or right aren't being held...
ld a,[Player_MovementFlags]
res 0,a
ld [Player_MovementFlags],a
ld d,a
jp .noaccel
.accelLeft
ld a,[sys_FadeState]
bit 0,a
call z,Player_AccelerateLeft
jr .continue
.accelRight
ld a,[sys_FadeState]
bit 0,a
call z,Player_AccelerateRight
.continue
ld a,c
or e
ld d,a
.noaccel
res 1,d
; get tile underneath player
ld a,[Player_YPos]
ld l,a
ld a,[Player_XPos]
ld h,a
call GetTileCoordinates
ld e,a
and a ; clear carry
call GetTileL ; doesn't matter if we use GetTileL or GetTileR, the result is the same
; check if we're underwater
cp COLLISION_WATER ; are we touching a water tile?
jr nz,.checkcoin ; if not, skip
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a ; are we already underwater?
jr nz,:+ ; if not, skip playing splash sound
PlaySFX splash ; play splash sound
call Player_Splash
:
set 1,d ; set player's "is underwater" flag
jp .decel
.checkcoin
cp COLLISION_COIN ; are we touching a coin?
jr nz,.checkgoal
; replace coin tile with "blank" tile
; TODO: Get tile from background
push de
ld a,[Player_YPos]
ld l,a
ld a,[Player_XPos]
ld h,a
push bc
call GetTileCoordinates
pop bc
ld e,a
ld hl,Engine_LevelData
ld a,[Engine_CurrentScreen]
and $f
add h
ld h,a
ld a,[Engine_CurrentScreen]
and $30
swap a
add 2
ldh [rSVBK],a
ld l,e
ld a,b
cp $19 ; is coin underground?
jr nz,.aboveground
ld a,6
jr :+
.aboveground
xor a
: ld [hl],a
ld b,a
ld a,e
swap a
call DrawMetatile
; play sound effect
PlaySFX coin
; increment coin count
pop de
ld a,[Player_CoinCount]
add 1 ; inc a doesn't set carry
ld [Player_CoinCount],a
jr nc,.decel
ld a,[Player_CoinCount+1]
add 1 ; inc a doesn't set carry
ld [Player_CoinCount+1],a
jr nc,.decel
ld a,$ff
ld [Player_CoinCount],a
ld [Player_CoinCount+1],a
jr .decel
.checkgoal
; cp COLLISION_GOAL
; jr nz,.checkkill
;.dogoal
; ld a,1
; ld [Engine_LockCamera],a
; ld a,[Player_MovementFlags]
; set bPlayerVictory,a
; ld [Player_MovementFlags],a
; jp .moveair
.checkkill
cp COLLISION_KILL
jr nz,.donecollide
call KillPlayer
jp .moveair
.donecollide
.decel
ld a,d
ld [Player_MovementFlags],a
bit 0,a
jr nz,.nodecel
bit 7,a
jr z,.decelRight
.decelLeft
ld hl,Player_XVelocity
ld a,[hl+]
ld l,[hl]
ld h,a
ld bc,Player_Decel
add hl,bc
bit 7,h
jr nz,:+ ; reset X speed to zero on overflow
ld hl,0
: ld a,h
ld [Player_XVelocity],a
ld a,l
ld [Player_XVelocityS],a
jr .nodecel
.decelRight
ld hl,Player_XVelocity
ld a,[hl+]
ld l,[hl]
ld h,a
; sub hl,r16 doesn't exist so...
ld bc,-Player_Decel
add hl,bc
bit 7,h
jr z,:+ ; reset X speed to zero on overflow
ld hl,0
: ld a,h
ld [Player_XVelocity],a
ld a,l
ld [Player_XVelocity+1],a
jr .nodecel
; fall through
.nodecel
; Horizontal Movement
; Movement
ld a,[Player_XVelocity]
ld h,a
ld a,[Player_XVelocityS]
ld l,a
ld a,[Player_XPos]
ld d,a
ld a,[Player_XSubpixel]
ld e,a
add hl,de
ld a,h
ld [Player_XPos],a
ld a,l
ld [Player_XSubpixel],a
; Check Screen Crossing
ld a,[Player_XVelocity]
bit 7,a
jr z,:+
jp c,.xMoveDone
; Left edge crossed, decrement current screen
ld a,[Engine_CurrentScreen]
and $30
ld b,a
ld a,[Engine_CurrentScreen]
and $f
sub 1
jp c,.xMoveDone
or b
ld [Engine_CurrentScreen],a
jp .xMoveDone
:
jp nc,.xMoveDone
; Right edge crosses, increment current screen
ld a,[Engine_CurrentScreen]
and $30
ld b,a
ld a,[Engine_CurrentScreen]
and $f
push bc
ld b,a
ld a,[Engine_NumScreens]
cp b
ld a,b
pop bc
push af
inc a
or b
ld e,a
pop af
ld a,e
jp nz,.notvictory
ld hl,Player_MovementFlags
set bPlayerVictory,[hl]
ld a,1
ld [Engine_LockCamera],a
ld a,MUS_STAGE_CLEAR
farcall DS_Init
call EndSprites
ldfar hl,StageClearTiles
ld a,$20
ld b,0
call LoadSpriteTiles
xor a
ld [StageClear_Offset1],a
ld [StageClear_Offset2],a
ld [StageClear_Offset3],a
ld [StageClear_Offset4],a
ld [StageClear_Offset5],a
ld b,a
ld a,6
ld [StageClear_Delay2],a
add 6
ld [StageClear_Delay3],a
add 6
ld [StageClear_Delay4],a
add 6
ld [StageClear_Delay5],a
.stageclearloop
halt
push bc
; process "STAGE CLEAR" card
call BeginSprites
ld a,[sys_CurrentFrame]
call .getYSine
ldfar hl,StageClear_Scroll1
ld b,$20 ; S
ld a,[StageClear_Offset1]
call .getOffset1
ld a,[sys_CurrentFrame]
add 8
call .getYSine
ld hl,StageClear_Scroll2
ld b,$22 ; T
ld a,[StageClear_Offset2]
call .getOffset1
ld a,[sys_CurrentFrame]
add 16
call .getYSine
ld hl,StageClear_Scroll3
ld b,$24 ; A
ld a,[StageClear_Offset3]
call .getOffset1
ld a,[sys_CurrentFrame]
add 24
call .getYSine
ld hl,StageClear_Scroll4
ld b,$26 ; G
ld a,[StageClear_Offset4]
call .getOffset1
ld a,[sys_CurrentFrame]
add 32
call .getYSine
ld hl,StageClear_Scroll5
ld b,$28 ; E
ld a,[StageClear_Offset5]
call .getOffset1
ld a,[sys_CurrentFrame]
add 32
call .getYSine2
ldfar hl,StageClear_Scroll1
ld b,$2e ; R
ld a,[StageClear_Offset1]
call .getOffset2
ld a,[sys_CurrentFrame]
add 24
call .getYSine2
ld hl,StageClear_Scroll2
ld b,$24 ; A
ld a,[StageClear_Offset2]
call .getOffset2
ld a,[sys_CurrentFrame]
add 16
call .getYSine2
ld hl,StageClear_Scroll3
ld b,$28 ; E
ld a,[StageClear_Offset3]
call .getOffset2
ld a,[sys_CurrentFrame]
add 8
call .getYSine2
ld hl,StageClear_Scroll4
ld b,$2c ; L
ld a,[StageClear_Offset4]
call .getOffset2
ld a,[sys_CurrentFrame]
call .getYSine2
ld hl,StageClear_Scroll5
ld b,$2a ; C
ld a,[StageClear_Offset5]
call .getOffset2
jr .setoffsets
.getOffset1
ld c,%00001000
add l
ld l,a
jr nc,:+
inc h
: ld a,[hl]
ld e,a
jp AddSprite
.getOffset2
ld c,%00001000
add l
ld l,a
jr nc,:+
inc h
: ld a,[hl]
ld e,a
ld a,SCRN_X+6
sub e
ld e,a
jp AddSprite
.getYSine:
add a
add a
call GetSine
resbank
ld a,d
sra a ; /2
sra a ; /4
sra a ; /8
sra a ; /16
sra a ; /32
sra a ; /64
add 56+16
ld d,a
ret
.getYSine2:
add a
add a
call GetSine
resbank
ld a,e
sra a ; /2
sra a ; /4
sra a ; /8
sra a ; /16
sra a ; /32
sra a ; /64
add 72+16
ld d,a
ret
; ========
; update offsets + delays
.setoffsets
ld a,[StageClear_Offset1]
inc a
cp 64
jr nc,:+
ld [StageClear_Offset1],a
:
ld a,[StageClear_Delay2]
dec a
jr nz,:+
ld [StageClear_Delay2],a
ld a,[StageClear_Offset2]
inc a
cp 64
jr nc,:+
ld [StageClear_Offset2],a
ld a,1
: ld [StageClear_Delay2],a
ld a,[StageClear_Delay3]
dec a
jr nz,:+
ld [StageClear_Delay3],a
ld a,[StageClear_Offset3]
inc a
cp 64
jr nc,:+
ld [StageClear_Offset3],a
ld a,1
: ld [StageClear_Delay3],a
ld a,[StageClear_Delay4]
dec a
jr nz,:+
ld [StageClear_Delay4],a
ld a,[StageClear_Offset4]
inc a
cp 64
jr nc,:+
ld [StageClear_Offset4],a
ld a,1
: ld [StageClear_Delay4],a
ld a,[StageClear_Delay5]
dec a
jr nz,:+
ld [StageClear_Delay5],a
ld a,[StageClear_Offset5]
inc a
cp 64
jr nc,:+
ld [StageClear_Offset5],a
ld a,1
: ld [StageClear_Delay5],a
pop bc
dec b
jp nz,.stageclearloop
call PalFadeOutWhite
; wait for fade to finish
: halt
ld a,[sys_FadeState]
bit 0,a
jr nz,:-
xor a
ldh [rLCDC],a
ld a,[Engine_LevelID]
inc a
cp NUM_LEVELS
jp z,GM_EndScreen
ld [Engine_LevelID],a
; restore stack pointer
pop hl
pop hl
jp GM_Level
.notvictory
ld [Engine_CurrentScreen],a
.xMoveDone:
; Horizontal Collision
ld a,[Player_XVelocity]
bit 7,a
jp z,.rightCollision
; Check Left Collision
; Top Left
ld a,[Player_YPos]
sub Player_HitboxSize
jr c,:+
ld l,a
ld a,[Player_XPos]
sub Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileL
cp COLLISION_SOLID
jr z,:++
; Bottom Left
:
ld a,[Player_YPos]
add Player_HitboxSize
jp c,.xCollideEnd
ld l,a
ld a,[Player_XPos]
sub Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileL
cp COLLISION_SOLID
jp nz,.xCollideEnd
:
; Collision with left wall
; Negate velocity
ld a,[sys_btnHold]
bit btnB,a
jr nz,:+ ; don't bounce off walls if B is held
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.waterL
.airL
ld a,high(Player_MaxSpeed)
ld [Player_XVelocity],a
ld a,low(Player_MaxSpeed)
ld [Player_XVelocityS],a
jr :+
.waterL
ld a,high(Player_MaxSpeedWater)
ld [Player_XVelocity],a
ld a,low(Player_MaxSpeedWater)
ld [Player_XVelocityS],a
: ; Calculate penetration depth
ld a,[Player_XPos]
ld c,a
sub Player_HitboxSize
and $f
ld b,a
ld a,16
sub b
; Push player out of tile
add c
ld [Player_XPos],a
; Make player bounce vertically
push af
ld a,[sys_btnHold]
bit btnB,a
jr nz,:+ ; don't bounce off walls if B is held
call Player_WallBounce
: pop af
; Check Screen Crossing
jp nc,.xCollideEnd
; Right edge crosses, increment current screen
ld a,[Engine_CurrentScreen]
and $30
ld b,a
ld a,[Engine_CurrentScreen]
push bc
ld b,a
ld a,[Engine_NumScreens]
cp b
ld a,b
pop bc
jp z,.xCollideEnd
inc a
or b
ld [Engine_CurrentScreen],a
jp .xCollideEnd
.rightCollision:
; Check Right Collision
; Top Right
ld a,[Player_YPos]
sub Player_HitboxSize
jr c,:+
ld l,a
ld a,[Player_XPos]
add Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileR
cp COLLISION_SOLID
jr z,:++
; Bottom Right
:
ld a,[Player_YPos]
add Player_HitboxSize
jr c,.xCollideEnd
ld l,a
ld a,[Player_XPos]
add Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileR
cp COLLISION_SOLID
jr nz,.xCollideEnd
:
; Collision with right wall
; Bounce off of walls
ld a,[sys_btnHold]
bit btnB,a
jr nz,:+ ; don't bounce off walls if B is held
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.waterR
.airR
ld a,high(-Player_MaxSpeed)
ld [Player_XVelocity],a
ld a,low(-Player_MaxSpeed)
ld [Player_XVelocityS],a
jr :+
.waterR
ld a,high(-Player_MaxSpeedWater)
ld [Player_XVelocity],a
ld a,low(-Player_MaxSpeedWater)
ld [Player_XVelocityS],a
: ; Calculate penetration depth
ld a,[Player_XPos]
push af
add Player_HitboxSize
and $f
inc a
ld b,a
pop af
; Push player out of tile
sub b
ld [Player_XPos],a
; Make player bounce vertically
push af
ld a,[sys_btnHold]
bit btnB,a
jr nz,:+ ; don't bounce off walls if B is held
call Player_WallBounce
: pop af
; Check Screen Crossing
jr nc,.xCollideEnd
; Left edge crossed, decrement current screen
ld a,[Engine_CurrentScreen]
and $30
ld b,a
ld a,[Engine_CurrentScreen]
and $f
sub 1
jr c,.xCollideEnd
or b
ld [Engine_CurrentScreen],a
.xCollideEnd:
; Vertical Movement
; Gravity Acceleration
.moveair
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.movewater
.moveair2
ld a,[Player_YVelocity]
ld h,a
ld a,[Player_YVelocityS]
ld l,a
ld de,Player_Gravity
add hl,de
ld a,h
bit 7,a
jr nz,:+
ld b,h
ld c,l
ld de,Player_TerminalVelocity
call Compare16
jr c,:+
ld hl,Player_TerminalVelocity
:
ld a,h
ld [Player_YVelocity],a
ld a,l
ld [Player_YVelocityS],a
; Velocity
ld a,[Player_YPos]
ld b,a
ld a,[Player_YSubpixel]
add l
ld [Player_YSubpixel],a
ld a,[Player_YPos]
adc h
ld [Player_YPos],a
call Player_CheckSubscreenBoundary
jr .checkCollisionVertical
.movewater
ld a,[Player_YVelocity]
ld h,a
ld a,[Player_YVelocityS]
ld l,a
ld de,Player_Gravity/2
add hl,de
ld a,h
bit 7,a
jr nz,:+
ld b,h
ld c,l
ld de,Player_TerminalVelocity/4
call Compare16
jr c,:+
ld hl,Player_TerminalVelocity/4
:
ld a,h
ld [Player_YVelocity],a
ld a,l
ld [Player_YVelocityS],a
; Velocity
ld a,[Player_YPos]
ld b,a
ld a,[Player_YSubpixel]
add l
ld [Player_YSubpixel],a
ld a,[Player_YPos]
adc h
ld [Player_YPos],a
call Player_CheckSubscreenBoundary
; fall through
.checkCollisionVertical
ld a,[Player_MovementFlags]
bit bPlayerIsDead,a
jp nz,.yCollideEnd
; Vertical Collision
ld a,[Player_YVelocity]
bit 7,a
jr z,.bottomCollision
; Check Top Collision
; Top Left
ld a,[Player_YPos]
sub Player_HitboxSize
jr nc,:+
ld a,[Engine_CurrentScreen]
and $30
jr z,:++++ ; If this is the top of the level, ceiling should be solid
jr :++
:
ld l,a
ld a,[Player_XPos]
sub Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileL
cp COLLISION_SOLID
jr z,:+++
:
; Top Right
ld a,[Player_YPos]
sub Player_HitboxSize
jr nc,:+
ld a,[Engine_CurrentScreen]
and $30
jr z,:++
jp .yCollideEnd
:
ld l,a
ld a,[Player_XPos]
add Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileR
cp COLLISION_SOLID
jp nz,.yCollideEnd
:
; Collision with ceiling
; Clear Velocity
xor a
ld [Player_YVelocity],a
ld [Player_YVelocityS],a
; Calculate penetration depth
ld a,[Player_YPos]
ld c,a
sub Player_HitboxSize
and $f
ld b,a
ld a,16
sub b
; Push player out of tile
add c
ld [Player_YPos],a
jr .yCollideEnd
.bottomCollision:
; Check Bottom Collision
ld a,[Player_YPos]
add Player_HitboxSize
jr c,:+
ld l,a
ld a,[Player_XPos]
sub Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileL
cp COLLISION_TOPSOLID
jr nz,.nottopsolid1
ld b,a
ld a,[sys_btnHold]
bit btnDown,a
ld a,b
jr nz,.nottopsolid1
jr :++
.nottopsolid1
cp COLLISION_SOLID
jr z,:++
:
ld a,[Player_YPos]
add Player_HitboxSize
jr c,.yCollideEnd
ld l,a
ld a,[Player_XPos]
add Player_HitboxSize
push af
ld h,a
call GetTileCoordinates
ld e,a
pop af
call GetTileR
cp COLLISION_TOPSOLID
jr nz,.nottopsolid2
ld b,a
ld a,[sys_btnHold]
bit btnDown,a
ld a,b
jr nz,.nottopsolid2
jr :+
.nottopsolid2
cp COLLISION_SOLID
jr nz,.yCollideEnd
:
; Collision with floor
; Calculate penetration depth
ld a,[Player_YPos]
push af
add Player_HitboxSize
and $f
inc a
ld b,a
pop af
; Push player out of tile
sub b
ld [Player_YPos],a
; Bounce
call Player_Bounce
.yCollideEnd:
jp AnimatePlayer
Player_Bounce:
ld a,[Player_LastBounceY]
add 7
ld b,a
ld a,[Player_YPos]
add 7
ld [Player_LastBounceY],a
push af
cp b ; compare previous bounce Y with current bounce Y
jr nc,.skipcamtrack ; if old Y < new Y, skip tracking
ld a,1
ld [Engine_CameraIsTracking],a
.skipcamtrack
pop af
.checkup
sub SCRN_Y / 2
jr nc,.checkdown
xor a
jr .setcamy
.checkdown
cp 256 - SCRN_Y
jr c,.setcamy
ld a,256 - SCRN_Y
.setcamy
and %11110000
ld [Engine_BounceCamTarget],a
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.water
ld a,[sys_FadeState]
bit 0,a
jr nz,.normalbounce
ld a,[sys_btnHold]
bit btnA,a
jr nz,.highbounce
bit btnB,a
jr nz,.lowbounce
.normalbounce
ld a,high(Player_BounceHeight)
ld [Player_YVelocity],a
ld a,low(Player_BounceHeight)
ld [Player_YVelocityS],a
ret
.lowbounce
ld a,high(Player_LowBounceHeight)
ld [Player_YVelocity],a
ld a,low(Player_LowBounceHeight)
ld [Player_YVelocityS],a
ret
.highbounce
ld a,high(Player_HighBounceHeight)
ld [Player_YVelocity],a
ld a,low(Player_HighBounceHeight)
ld [Player_YVelocityS],a
ret
.water
ld a,[sys_FadeState]
bit 0,a
jr nz,.normalbouncewater
ld a,[sys_btnHold]
bit btnA,a
jr nz,.highbouncewater
bit btnB,a
jr nz,.lowbouncewater
.normalbouncewater
ld a,high(Player_BounceHeight/2)
ld [Player_YVelocity],a
ld a,low(Player_BounceHeight/2)
ld [Player_YVelocityS],a
ret
.lowbouncewater
ld a,high(Player_LowBounceHeight/2)
ld [Player_YVelocity],a
ld a,low(Player_LowBounceHeight/2)
ld [Player_YVelocityS],a
ret
.highbouncewater
ld a,high(Player_HighBounceHeight/2)
ld [Player_YVelocity],a
ld a,low(Player_HighBounceHeight/2)
ld [Player_YVelocityS],a
ret
Player_WallBounce:
ld a,[Player_LastBounceY]
add 7
ld b,a
ld a,[Player_YPos]
add 7
ld [Player_LastBounceY],a
push af
cp b ; compare previous bounce Y with current bounce Y
jr nc,.skipcamtrack ; if old Y < new Y, skip tracking
ld a,1
ld [Engine_CameraIsTracking],a
.skipcamtrack
pop af
.checkup
sub SCRN_Y / 2
jr nc,.checkdown
xor a
jr .setcamy
.checkdown
cp 256 - SCRN_Y
jr c,.setcamy
ld a,256 - SCRN_Y
.setcamy
and %11110000
ld [Engine_BounceCamTarget],a
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.water
ld a,[sys_btnHold]
bit btnA,a
ret z
ld a,high(Player_HighWallBounceHeight)
ld [Player_YVelocity],a
ld a,low(Player_HighWallBounceHeight)
ld [Player_YVelocityS],a
ret
.water
ld a,[sys_btnHold]
bit btnA,a
jr nz,.highbouncewater
bit btnB,a
ret nz
.normalbouncewater
ld a,high(Player_WallBounceHeight/2)
ld [Player_YVelocity],a
ld a,low(Player_WallBounceHeight/2)
ld [Player_YVelocityS],a
ret
.highbouncewater
ld a,high(Player_HighWallBounceHeight/2)
ld [Player_YVelocity],a
ld a,low(Player_HighWallBounceHeight/2)
ld [Player_YVelocityS],a
ret
; ========
Player_AccelerateLeft:
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.accelLeftWater
push bc
ld bc,-Player_Accel
ld hl,Player_XVelocity
ld a,[hl+]
ld l,[hl]
ld h,a
add hl,bc
ld b,h
ld c,l
ld de,-Player_MaxSpeed
call Compare16
jr nc,:+
ld de,$8000
call Compare16
jr c,:+
ld hl,-Player_MaxSpeed
: ld a,h
ld [Player_XVelocity],a
ld a,l
ld [Player_XVelocityS],a
pop bc
ld e,%10000000
ret
.accelLeftWater
push bc
ld bc,-Player_Accel/2
ld hl,Player_XVelocity
ld a,[hl+]
ld l,[hl]
ld h,a
add hl,bc
ld b,h
ld c,l
ld de,-Player_MaxSpeedWater
call Compare16
jr nc,:+
ld de,$8000
call Compare16
jr c,:+
ld hl,-Player_MaxSpeedWater
: ld a,h
ld [Player_XVelocity],a
ld a,l
ld [Player_XVelocityS],a
pop bc
ld e,%10000000
ret
Player_AccelerateRight:
ld a,[Player_MovementFlags]
bit bPlayerIsUnderwater,a
jr nz,.accelRightWater
push bc
ld bc,Player_Accel
ld hl,Player_XVelocity
ld a,[hl+]
ld l,[hl]
ld h,a
add hl,bc
ld d,h
ld e,l
ld bc,Player_MaxSpeed
call Compare16
jr nc,:+
ld bc,$8000
call Compare16
jr c,:+
ld hl,Player_MaxSpeed
: ld a,h
ld [Player_XVelocity],a
ld a,l
ld [Player_XVelocityS],a
pop bc
ld e,%00000000
ret
.accelRightWater
push bc
ld bc,Player_Accel/2
ld hl,Player_XVelocity
ld a,[hl+]
ld l,[hl]
ld h,a
add hl,bc
ld d,h
ld e,l
ld bc,Player_MaxSpeedWater
call Compare16
jr nc,:+
ld bc,$8000
call Compare16
jr c,:+
ld hl,Player_MaxSpeedWater
: ld a,h
ld [Player_XVelocity],a
ld a,l
ld [Player_XVelocityS],a
pop bc
ld e,%00000000
ret
; ========
DrawPlayer:
; load correct frame in player VRAM area
ld a,[Player_CurrentFrame]
add a
add a
ld l,a
ld h,0
add hl,hl ; x2
add hl,hl ; x4
add hl,hl ; x8
add hl,hl ; x16
ldfar de,PlayerTiles
add hl,de
ld b,$40
ld de,$8000
ld a,1
ldh [rVBK],a
.loadtiles
ldh a,[rSTAT]
and 2
jr nz,.loadtiles
ld a,[hl+]
ld [de],a
inc e
dec b
jr nz,.loadtiles
xor a
ldh [rVBK],a
ld hl,OAMBuffer
ld a,[Engine_CameraY]
ld e,a
ld a,[Player_YPos]
sub e
add 8
ld b,a
ld [hl+],a
ld a,[Engine_CameraX]
ld e,a
ld a,[Player_XPos]
sub e
ld c,a
ld [hl+],a
xor a
ld [hl+],a
ld a,%00001000
ld [hl+],a
ld a,b
ld [hl+],a
ld a,c
add 8
ld [hl+],a
ld a,2
ld [hl+],a
ld a,%00001000
ld [hl],a
ld hl,Sprite_NextSprite
inc [hl]
inc [hl]
ret
; ====
KillPlayer:
ld hl,Player_MovementFlags
bit bPlayerIsDead,[hl]
ret nz
push bc
xor a
ld [Player_XVelocity],a
ld [Player_XVelocityS],a
ld [Player_YVelocityS],a
ld a,-4
ld [Player_YVelocity],a
set bPlayerIsDead,[hl]
ld a,1
ld [Engine_LockCamera],a
ld hl,Anim_Player_Hurt
call Player_SetAnimation
PlaySFX death
pop bc
ret
Player_Respawn:
call PalFadeOutWhite
ld a,2
farcall DS_Fade
: halt
ld a,[sys_FadeState]
and a
jr nz,:-
call AllPalsWhite
call UpdatePalettes
: halt
ld a,[DS_FadeType]
and a
jr nz,:-
halt
xor a
ldh [rLCDC],a
ld a,[Player_LifeCount]
and a
jr nz,:+
jp GM_GameOver
: dec a
ld [Player_LifeCount],a
; restore stack
pop hl
pop hl
ld a,[Engine_LevelID]
jp GM_Level
Player_Splash:
; left splash particle
call GetParticleSlot
ld [hl],4
ld hl,Particle_XPosition
add hl,bc
ld a,[Player_XPos]
sub 4
ld [hl],a
ld hl,Particle_YPosition
add hl,bc
ld a,[Player_YPos]
ld [hl],a
ld hl,Particle_Lifetime
add hl,bc
ld [hl],32
ld hl,Particle_XVelocity
add hl,bc
ld [hl],high(-$0020)
ld a,low(-$0020)
ld hl,Particle_XVelocityS
add hl,bc
ld [hl],a
ld hl,Particle_YVelocity
add hl,bc
ld [hl],high(-$0240)
ld hl,Particle_YVelocityS
add hl,bc
ld [hl],low(-$0240)
ld hl,Particle_Attribute
add hl,bc
ld [hl],OAMF_BANK1
ld hl,Particle_Flags
add hl,bc
ld [hl],1<<PARTICLE_FLAG_GRAVITY
; right splash particle
call GetParticleSlot
ld [hl],4
ld hl,Particle_XPosition
add hl,bc
ld a,[Player_XPos]
add 4
ld [hl],a
ld hl,Particle_YPosition
add hl,bc
ld a,[Player_YPos]
ld [hl],a
ld hl,Particle_Lifetime
add hl,bc
ld [hl],32
ld hl,Particle_XVelocity
add hl,bc
ld [hl],high($0020)
ld hl,Particle_XVelocityS
add hl,bc
ld [hl],low($0020)
ld hl,Particle_YVelocity
add hl,bc
ld [hl],high(-$0240)
ld hl,Particle_YVelocityS
add hl,bc
ld [hl],low(-$0240)
ld hl,Particle_Attribute
add hl,bc
ld [hl],OAMF_BANK1 | OAMF_XFLIP | OAMF_YFLIP
ld hl,Particle_Flags
add hl,bc
ld [hl],1<<PARTICLE_FLAG_GRAVITY
ret
; INPUT: a = current Y position
; b = previous Y position
Player_CheckSubscreenBoundary:
ld hl,Player_MovementFlags
bit bPlayerVictory,[hl]
ret nz
ld e,a
ld a,[Player_YVelocity]
bit 7,a
ld a,e
jr nz,.up
.down
cp b
ret nc
jp Level_TransitionDown
.up
cp b
ret z
ret c
jp Level_TransitionUp
; ===================
; Animation constants
; ===================
C_SetAnim equ $80
; ================
; Animation macros
; ================
NUM_ANIMS set 0 ; no touchy!
defanim: macro
AnimID_\1 equ NUM_ANIMS
NUM_ANIMS set NUM_ANIMS+1
Anim_\1:
endm
; ==================
; Animation routines
; ==================
Player_SetAnimation:
ld a,l
ld [Player_AnimPointer],a
ld a,h
ld [Player_AnimPointer+1],a
ld a,1
ld [Player_AnimTimer],a
ret
AnimatePlayer:
ld a,[Player_AnimTimer]
cp -1
ret z ; return if current frame time = -1
dec a
ld [Player_AnimTimer],a
ret nz ; return if anim timer > 0
; get anim pointer
ld a,[Player_AnimPointer]
ld l,a
ld a,[Player_AnimPointer+1]
ld h,a
; get frame / command number
.getEntry
ld a,[hl+]
bit 7,a
jr nz,.cmdProc
ld [Player_CurrentFrame],a
ld a,[hl+]
ld [Player_AnimTimer],a
.doneEntry
ld a,l
ld [Player_AnimPointer],a
ld a,h
ld [Player_AnimPointer+1],a
ret
.cmdProc
push hl
ld hl,.cmdProcTable
add a
add l
ld l,a
jr nc,.nocarry
inc h
.nocarry
ld a,[hl+]
ld h,[hl]
ld l,a
jp hl
.cmdProcTable:
dw .setAnim
.setAnim
pop hl
ld a,[hl+]
ld h,[hl]
ld l,a
jr .getEntry
; ==============
; Animation data
; ==============
; Animation format:
; XX YY
; XX = Frame ID / command (if bit 7 set)
; YY = Wait time (one byte) / command parameter (can be more than one byte)
; defanim Player_Left2
; db F_Player_Left2,-1
; defanim Player_Left1
; db F_Player_Left1,-1
defanim Player_Idle
db F_Player_Idle,254
db F_Player_Idle_Blink1,1
db F_Player_Idle_Blink2,1
db F_Player_Idle_Blink3,1
db F_Player_Idle_Blink4,4
db F_Player_Idle_Blink3,1
db F_Player_Idle_Blink2,1
db F_Player_Idle_Blink1,1
db F_Player_Idle,192
db F_Player_Idle_Blink1,1
db F_Player_Idle_Blink2,1
db F_Player_Idle_Blink3,1
db F_Player_Idle_Blink4,4
db F_Player_Idle_Blink3,1
db F_Player_Idle_Blink2,1
db F_Player_Idle_Blink1,1
db F_Player_Idle,56
db F_Player_Idle_Blink1,1
db F_Player_Idle_Blink2,1
db F_Player_Idle_Blink3,1
db F_Player_Idle_Blink4,4
db F_Player_Idle_Blink3,1
db F_Player_Idle_Blink2,1
db F_Player_Idle_Blink1,1
db F_Player_Idle,254
db F_Player_Idle,254
dbw C_SetAnim,Anim_Player_Idle
; defanim Player_Right1
; db F_Player_Right1,-1
; defanim Player_Right2
; db F_Player_Right2,-1
; defanim Player_Left2Blink
; db F_Player_Left2_Blink1,1
; db F_Player_Left2_Blink2,1
; db F_Player_Left2_Blink3,1
; db F_Player_Left2_Blink4,4
; db F_Player_Left2_Blink3,1
; db F_Player_Left2_Blink2,1
; db F_Player_Left2_Blink1,1
; dbw C_SetAnim,Anim_Player_Left2
; defanim Player_Left1Blink
; db F_Player_Left1_Blink1,1
; db F_Player_Left1_Blink2,1
; db F_Player_Left1_Blink3,1
; db F_Player_Left1_Blink4,4
; db F_Player_Left1_Blink3,1
; db F_Player_Left1_Blink2,1
; db F_Player_Left1_Blink1,1
; dbw C_SetAnim,Anim_Player_Left1
; defanim Player_Right1Blink
; db F_Player_Right1_Blink1,1
; db F_Player_Right1_Blink2,1
; db F_Player_Right1_Blink3,1
; db F_Player_Right1_Blink4,4
; db F_Player_Right1_Blink3,1
; db F_Player_Right1_Blink2,1
; db F_Player_Right1_Blink1,1
; dbw C_SetAnim,Anim_Player_Right1
; defanim Player_Right2Blink
; db F_Player_Right2_Blink1,1
; db F_Player_Right2_Blink2,1
; db F_Player_Right2_Blink3,1
; db F_Player_Right2_Blink4,4
; db F_Player_Right2_Blink3,1
; db F_Player_Right2_Blink2,1
; db F_Player_Right2_Blink1,1
; dbw C_SetAnim,Anim_Player_Right2
defanim Player_Hurt
db F_Player_Hurt1,6
db F_Player_Hurt2,6
dbw C_SetAnim,Anim_Player_Hurt
; ================================
section "Player tiles",romx,align[8]
PlayerTiles:
incbin "GFX/PlayerTiles.2bpp"
; ================================
section "Stage clear sequence - Scroll data",romx,align[6]
StageClear_Scroll1: db 0,1,3,5,6,8,9,11,13,14,16,18,19,21,22,24,26,27,29,30,32,33,34,36,37,39,40,41,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,59,59,60,61,62,62,63,64,64,65,65,65,66,66,66,67,67,67,67,67,67,68
StageClear_Scroll2: db 0,1,3,5,7,9,11,12,14,16,18,20,22,23,25,27,29,30,32,34,35,37,39,40,42,43,45,46,48,49,51,52,53,55,56,57,58,59,61,62,63,64,65,66,67,67,68,69,70,70,71,72,72,73,73,74,74,74,75,75,75,75,75,75,76
StageClear_Scroll3: db 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,35,37,39,41,43,44,46,48,50,51,53,54,56,57,59,60,62,63,64,66,67,68,69,70,72,73,74,75,75,76,77,78,79,79,80,80,81,81,82,82,83,83,83,83,83,83,84
StageClear_Scroll4: db 0,2,4,6,9,11,13,15,17,20,22,24,26,28,30,33,35,37,39,41,43,45,47,49,51,52,54,56,58,60,61,63,65,66,68,69,71,72,73,75,76,77,78,80,81,82,83,84,84,85,86,87,88,88,89,89,90,90,91,91,91,91,91,91,92
StageClear_Scroll5: db 0,2,4,7,9,12,14,17,19,21,24,26,29,31,33,35,38,40,42,44,47,49,51,53,55,57,59,61,63,65,67,68,70,72,74,75,77,78,80,81,83,84,85,87,88,89,90,91,92,93,94,94,95,96,97,97,98,98,98,99,99,99,99,99,100 | 24.843897 | 214 | 0.51011 |
756b96a17e196771f5002ad229acc55c2c1ac551 | 275 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_copysign_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_copysign_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_copysign_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; double __CALLEE__ copysign(double x, double y)
SECTION code_fp_math48
PUBLIC cm48_sccz80_copysign_callee
EXTERN am48_copysign, cm48_sccz80p_dcallee2
cm48_sccz80_copysign_callee:
call cm48_sccz80p_dcallee2
; AC'= y
; AC = x
exx
jp am48_copysign
| 14.473684 | 48 | 0.756364 |
cefe698837676c978be571cd0bff502f236cbc4a | 856 | asm | Assembly | lib/target/sc3000/classic/sc3000_crt0.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | lib/target/sc3000/classic/sc3000_crt0.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | lib/target/sc3000/classic/sc3000_crt0.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
MODULE sc3000_crt
defc crt0 = 1
INCLUDE "zcc_opt.def"
EXTERN _main
PUBLIC cleanup
PUBLIC l_dcal
PUBLIC msxbios
; Always use the generic console unless overridden
defc TAR__fputc_cons_generic = 1
defc CONSOLE_COLUMNS = 32
defc CONSOLE_ROWS = 24
defc CRT_KEY_DEL = 12
IF startup = 2
INCLUDE "target/sc3000/classic/rom.asm"
ELSE
INCLUDE "target/sc3000/classic/ram.asm"
ENDIF
l_dcal:
jp (hl)
INCLUDE "crt/classic/crt_runtime_selection.asm"
; ---------------
; MSX specific stuff
; ---------------
; Safe BIOS call
msxbios:
push ix
ret
INCLUDE "crt/classic/crt_section.asm"
SECTION data_crt
PUBLIC _sc_cursor_pos
_sc_cursor_pos: defw 0x9489
| 16.784314 | 55 | 0.566589 |
b5ff53f4100065f34de3e11f31a4584999a06191 | 677 | asm | Assembly | projects/07/MemoryAccess/completed/StaticTest/StaticTest.asm | ITFS777/n2t | 5e794244d83c0b31fd172c183b6101dff466d0ee | [
"MIT"
] | null | null | null | projects/07/MemoryAccess/completed/StaticTest/StaticTest.asm | ITFS777/n2t | 5e794244d83c0b31fd172c183b6101dff466d0ee | [
"MIT"
] | null | null | null | projects/07/MemoryAccess/completed/StaticTest/StaticTest.asm | ITFS777/n2t | 5e794244d83c0b31fd172c183b6101dff466d0ee | [
"MIT"
] | null | null | null | @256
D=A
@SP
M=D
@MAIN
0;JMP
(PUSH_TRUE)
@SP
A=M
M=0
M=M-1
@SP
M=M+1
@LCL
A=M
0;JMP
(MAIN)
@111
D=A
@SP
A=M
M=D
@SP
M=M+1
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@16
A=A+1
A=A+1
A=A+1
A=A+1
A=A+1
A=A+1
A=A+1
A=A+1
M=D
@SP
M=M-1
A=M
D=M
@16
A=A+1
A=A+1
A=A+1
M=D
@SP
M=M-1
A=M
D=M
@16
A=A+1
M=D
@16
D=A
@3
A=A+D
D=M
@SP
A=M
M=D
@SP
M=M+1
@16
D=A
@1
A=A+D
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@SP
M=M-1
A=M
M=M-D
@SP
M=M+1
@16
D=A
@8
A=A+D
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@SP
M=M-1
A=M
M=M+D
@SP
M=M+1
| 5.689076 | 12 | 0.423929 |
18a8b0256cbdacd27d00a284cf683093ba0339da | 106 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/round_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/round_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/round_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_fp_math32
PUBLIC _round_fastcall
EXTERN _m32_roundf
defc _round_fastcall = _m32_roundf
| 15.142857 | 35 | 0.839623 |
c6c8ccf8729336e89dd5b042bef5f2a054d4dfb8 | 663 | asm | Assembly | programs/oeis/028/A028949.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/028/A028949.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/028/A028949.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A028949: Write numbers from 1 to n(n+1)/2 in a left-justified lower triangular array (a) downwards and (b) across; a(n) is number of numbers in same position in both.
; 1,3,4,4,5,4,4,6,4,6,4,6,6,4,6,4,6,6,4,6,4,5,8,4,10,4,4,6,6,10,4,4,6,4,6,4,4,10,6,6,4,6,10,4,6,6,6,8,4,6,8,4,6,6,8,6,6,6,6,8,6,4,10,6,6,6,4,10,6,6,4,4,8,4,6,6,6,6,6,14,4,6,6,4,6,4,4,10,4,10,6,4,10,6,10,6,10,10,4
lpb $0
sub $0,1
mov $2,$0
sub $0,1
sub $0,$2
pow $0,2
sub $0,1
mov $1,1
max $2,0
seq $2,160651 ; a(n) is the number of triangular nonnegative integers that are each equal to n(n+1)/2 - m(m+1)/2, for some m's where 0 <= m <= n.
add $1,$2
lpe
add $1,1
mov $0,$1
| 36.833333 | 212 | 0.597285 |
bf087b14091b6c4d3c8a414468af0878d4a385a6 | 878 | asm | Assembly | libsrc/sprites/software/sp1/spectrum/collision/SP1IsPt8InRect.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | 1 | 2018-09-04T23:07:24.000Z | 2018-09-04T23:07:24.000Z | libsrc/sprites/software/sp1/spectrum/collision/SP1IsPt8InRect.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/sprites/software/sp1/spectrum/collision/SP1IsPt8InRect.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null |
; SP1IsPt8InRect
; 05.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
; uses rectangles library
XLIB SP1IsPt8InRect
LIB RIsPtInRect8
; Determines if a pixel coordinate lies within an 8-bit
; rectangle described using character coordinates. The
; pixel coordinate is divided by 8 to change to character
; coordinates in this subroutine.
;
; enter : bc = x coordinate of pixel
; de = y coordinate of pixel
; hl = & struct sp1_Rect
; exit : carry flag set = in rectangle
; uses : af,af',bc,de,hl
.SP1IsPt8InRect
ld a,c
srl b
rra
srl b
rra
srl b
rra
ex af,af // a' = 8-bit x coord
ld a,e
srl d
rra
srl d
rra
srl d
rra // a = 8-bit y coord
ld d,(hl)
inc hl
ld b,(hl)
inc hl
ld c,(hl)
inc hl
ld e,(hl)
ld l,a
ex af,af
jp RIsPtInRect8
| 18.291667 | 57 | 0.6082 |
475b71a2595fffd63c004904e480aaa914814652 | 332 | asm | Assembly | programs/oeis/002/A002264.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/002/A002264.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/002/A002264.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A002264: Nonnegative integers repeated 3 times.
; 0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27,27,28,28,28,29,29,29,30,30,30,31,31,31,32,32,32,33
div $0,3
| 66.4 | 271 | 0.64759 |
62b639ac305fafe69bef4613c097d9827f7b2db7 | 21,118 | asm | Assembly | ASM-Homework/Refactor/Print.asm | SokolovVadim/ComputerScience | 226043aa89edaff3a633f7ce98be9f20cf767203 | [
"MIT"
] | null | null | null | ASM-Homework/Refactor/Print.asm | SokolovVadim/ComputerScience | 226043aa89edaff3a633f7ce98be9f20cf767203 | [
"MIT"
] | null | null | null | ASM-Homework/Refactor/Print.asm | SokolovVadim/ComputerScience | 226043aa89edaff3a633f7ce98be9f20cf767203 | [
"MIT"
] | null | null | null | ; DONE!
section .data
msg db '%c want to eat %x and drink %s coffee in %d cups with %x and %b classmates', 0xA, 0xD
msglen equ $ - msg
mystr db 'very-very hot'
mystrlen equ $ - mystr
STRLEN equ 22
STRHEX db '0123456789ABCDEF'
section .bss
buffer resb STRLEN
section .text
global _start
_start:
mov eax, msg
mov ebx, msglen
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CALL PRINTF
;----------------------------------------------------------------------------------------------------------------------------------------------------------
mov ecx, 30d
push ecx
mov ecx, 3565d
push ecx ; fif arg
mov ecx, 2d
push ecx ; fouth arg
mov ecx, mystr
push ecx ; third
mov ecx, 3802d ; sec
push ecx
mov ecx, 'I'
push ecx ; first arg
push eax ; &msg
push ebx ; strlen(msg)
call Printf
pop ebx
pop eax
pop ecx
jmp EndProg
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CALL DEC
;----------------------------------------------------------------------------------------------------------------------------------------------------------
DecCall:
mov ebx, buffer
push ebx
call Dec
pop ebx
pop eax
jmp RetForCicle
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CALL HEX
;----------------------------------------------------------------------------------------------------------------------------------------------------------
HexCall: mov ebx, buffer
push ebx
call Hex
pop ebx
pop eax
jmp RetForCicle
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CALL OCT
;----------------------------------------------------------------------------------------------------------------------------------------------------------
OctCall:
mov ebx, buffer
push ebx
call Oct
pop ebx
pop eax
jmp RetForCicle
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CALL OCT
;----------------------------------------------------------------------------------------------------------------------------------------------------------
BinCall: mov ebx, buffer
push ebx
call Bin
pop ebx
pop eax
jmp RetForCicle
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CALL CHAR
;----------------------------------------------------------------------------------------------------------------------------------------------------------
CharCall: mov ebx, buffer
push ebx
call Char
pop ebx
pop eax
jmp RetForCicle
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; StrCall
;----------------------------------------------------------------------------------------------------------------------------------------------------------
StrCall:
mov ebx, mystrlen ; strlen
push ebx
call Str
pop ebx
pop eax
jmp RetForCicle
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; END PROG
;----------------------------------------------------------------------------------------------------------------------------------------------------------
EndProg: xor eax, eax
xor ebx, ebx
mov eax, 1
mov ebx, 0
int 0x80
; ----------------
; | ...... |
; | [ebp] |
; | ret addr |
; | last arg |
; | prev arg |
; | ...... |
; ----------------
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; DEC
; PRINT NUMBER IN DEC FORMAT
;
; ATTENTION!!!
; THE FIRST ARG MOVES INTO STACK BY PRINT FUNCTION!!!
;
; ENTRY: EAX = [bp+12] = NUMBER
; EBX = [bp+8] = &BUFFER
;
; EXIT:
; DESTR: EAX, EBX, ECX, EDX, EDI, ESI
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Dec: push ebp
mov ebp, esp
xor eax, eax
mov eax, [ebp + 12] ; eax = number
mov edi, [ebp + 8] ; edi = adress of buffer
mov esi, edi
push eax ; clear buffer
cld
mov eax, 0
mov ecx, STRLEN
repne stosb
pop eax
mov edi, esi ; edi -= STRLEN
add edi, STRLEN - 1 ; size of buffer
mov ecx, 10d
std
DecTran:
xor edx, edx
div ecx
xchg eax, edx
add eax, '0'
stosb
xchg eax, edx
or eax, eax
jne DecTran
xor eax, eax
xor ebx, ebx
mov eax, 4
mov ebx, 1
xor ecx, ecx
mov ecx, esi
mov edx, STRLEN ; simbols to write from buffer
int 80h
push eax ; clear buffer
cld
mov eax, 0
mov ecx, STRLEN
repne stosb
pop eax
mov edi, esi ; edi -= STRLEN
pop ebp
ret
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; HEX
; PRINT NUMBER IN HEX FORMAT
;
; ATTENTION!!!
; THE FIRST ARG MOVES INTO STACK BY PRINT FUNCTION!!!
;
; ENTRY: EAX = [bp+12] = NUMBER
; EBX = [bp+8] = &BUFFER
;
; EXIT:
; DESTR: EAX, EBX, ECX, EDX, EDI, ESI
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Hex: push ebp
mov ebp, esp
xor eax, eax
mov eax, [ebp + 12] ; eax = number
mov edi, [ebp + 8] ; edi = adress of buffer
mov esi, edi
add edi, STRLEN - 1 ; size of buffer
std
mov edx, 1111b ; edx = mask
xor cl, cl ; counter
mov ebx, STRHEX ; for xlat
push esi
xor esi, esi
HexTran:
mov esi, eax
and esi, edx
shl edx, 4d
push eax
xor eax, eax
shr esi, cl
mov eax, esi
xlat
stosb
pop eax
add cl, 4d
cmp cl, 32
jne HexTran
pop esi
xor eax, eax
xor ebx, ebx
mov eax, 4
mov ebx, 1
xor ecx, ecx
mov ecx, esi ; addr buff
mov edx, STRLEN ; simbols to write from buffer
int 80h
push eax ; clear buffer
cld
mov eax, 0
mov ecx, STRLEN
repne stosb
pop eax
mov edi, esi ; edi -= STRLEN
pop ebp
ret
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; OCT
; PRINT NUMBER IN OCT FORMAT
;
; ATTENTION!!!
; THE FIRST ARG MOVES INTO STACK BY PRINT FUNCTION!!!
;
; ENTRY: EAX = [bp+12] = NUMBER
; EBX = [bp+8] = &BUFFER
;
; EXIT:
; DESTR: EAX, EBX, ECX, EDX, EDI, ESI
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Oct: push ebp
mov ebp, esp
xor eax, eax
mov eax, [ebp + 12] ; eax = number
mov edi, [ebp + 8] ; edi = adress of buffer
mov esi, edi
add edi, STRLEN - 1 ; size of buffer
std
mov edx, 111b ; edx = mask
xor cl, cl ; counter
push esi
xor esi, esi
OctTran:
mov esi, eax
and esi, edx
shl edx, 3d
push eax
xor eax, eax
mov eax, '0'
shr esi, cl
add eax, esi
stosb
pop eax
add cl, 3d
cmp cl, 24
jne OctTran
pop esi
xor eax, eax
xor ebx, ebx
mov eax, 4
mov ebx, 1
xor ecx, ecx
mov ecx, esi ; addr buff + strlen buff
mov edx, STRLEN ; simbols to write from buffer
int 80h
pop ebp
ret
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; BIN
; PRINT NUMBER IN BIN FORMAT
;
; ATTENTION!!!
; THE FIRST ARG MOVES INTO STACK BY PRINT FUNCTION!!!
;
; ENTRY: EAX = [bp+12] = NUMBER
; EBX = [bp+8] = &BUFFER
;
; EXIT:
; DESTR: EAX, EBX, ECX, EDX, EDI, ESI
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Bin: push ebp
mov ebp, esp
xor eax, eax
mov eax, [ebp + 12] ; eax = number
mov edi, [ebp + 8] ; edi = adress of buffer
mov esi, edi
add edi, STRLEN - 1 ; size of buffer
std
mov ecx, 1b ; edx = mask
BinTran:
mov ebx, eax
and ebx, ecx
shl ecx, 1d
push eax
xor eax, eax
mov eax, '0'
cmp ebx, 0
je PrintBit
add eax, 1
PrintBit: stosb
pop eax
cmp ecx, 0FFFFFFFh
jl BinTran
xor eax, eax
xor ebx, ebx
mov eax, 4
mov ebx, 1
xor ecx, ecx
xor edx, edx
mov ecx, esi ; addr buff + strlen buff
mov edx, STRLEN ; simbols to write from buffer
int 80h
push eax ; clear buffer
cld
mov eax, 0
mov ecx, STRLEN
repne stosb
pop eax
mov edi, esi ; edi -= STRLEN
pop ebp
ret
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; CHAR
; PRINT SYMBOL
;
; ATTENTION!!!
; THE FIRST ARG MOVES INTO STACK BY PRINT FUNCTION!!!
;
; ENTRY: EAX = [bp+12] = NUMBER
; EBX = [bp+8] = &BUFFER
;
; EXIT:
; DESTR: EAX, EBX, ECX, EDX, EDI, ESI
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Char: push ebp
mov ebp, esp
xor ecx, ecx
mov edi, [ebp+8] ; &buffer
mov eax, [ebp+12] ; symbol
mov esi, edi
add edi, 2
std
stosw
xor eax, eax
xor ebx, ebx
mov eax, 4
mov ebx, 1
xor ecx, ecx
mov ecx, esi ; addr buff + strlen buff
mov edx, STRLEN ; simbols to write from buffer
int 080x
push eax ; clear buffer
cld
mov eax, 0
mov ecx, STRLEN
repne stosb
pop eax
mov edi, esi ; edi -= STRLEN
pop ebp
ret
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; STR
; PRINT STRING
; ENTRY: EAX = [bp+12] = &STR
; EBX = [bp+8] = STRLEN
;
; EXIT: EAX = NUMBER OF WRITE FUNC, EBX = NUMBER OF EXIT FUNCTION, ECX = ADDR, EDX = LEN
; DESTR: EAX, EBX, ECX, EDX
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Str:
push ebp
mov ebp, esp
xor eax, eax
mov eax, 4
mov ebx, 1
mov ecx, [ebp+12] ; ADDR
mov edx, [ebp+8] ; STRLEN
int 0x80
pop ebp
ret
;----------------------------------------------------------------------------------------------------------------------------------------------------------
; PRINTF
; PRINT NUMBERS FROM REGS
; ENTRY: EAX = [bp+12] = &STR
; EBX = [bp+8] = STRLEN
; ECX... = [bp+16+..] = digits
; EXIT:
; DESTR: EAX, EBX, ECX, EDX, EDI, ESI, ESP
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Printf: push ebp
mov ebp, esp
xor ecx, ecx
mov edi, [ebp + 8] ; STRLEN
mov esi, [ebp + 12] ; addres of STRING
xor ebx, ebx ; counter of args
cld ; clear direct flag
;----------------------------------------------------------------------------------------------------------------------------------------------------------
Read:
xor eax, eax
lodsb ; al = symbol
inc ecx ; cx ++
cmp al, '%' ; if (al == '%') {jmp JMPCALL}
je Switch
jne PrintLetter
;----------------------------------------------------------------------------------------------------------------------------------------------------------
RetRead:
cmp ecx, edi ; if(ecx >= strlen){End}
jl Read ; else{Read}
jge EndProc
;----------------------------------------------------------------------------------------------------------------------------------------------------------
PrintLetter:
push ebx
push ecx
push edx
push edi
push esi
push eax
xor edi, edi
xor esi, esi
mov edi, buffer
mov esi, edi
add edi, 2
pop eax
std
stosb
push eax
xor eax, eax
xor ebx, ebx
mov eax, 4
mov ebx, 1
mov ecx, esi
mov edx, 4
int 0x80
cld ; clear buffer to putting new symbols
mov eax, 0
mov edi, buffer
stosb
pop eax
pop esi
pop edi
pop edx
pop ecx
pop ebx
jmp RetRead
Switch:
push edi ; str <==> &str[ecx]
push esi ; &buffer + sizebuff
push ecx ; position
xor ecx, ecx
mov ecx, [ebp + 16 + ebx] ; bp + 16 = first arg
add ebx, 4 ; count of args
push ebx ; counter of % *4
push ecx ; push arg
xor eax, eax
lodsb
cmp al, 'd'
je DecCall
cmp al, 'x'
je HexCall
cmp al, 'o'
je OctCall
cmp al, 'b'
je BinCall
cmp al, 'c'
je CharCall
cmp al, 's'
je StrCall
jne RetWrong
;----------------------------------------------------------------------------------------------------------------------------------------------------------
RetWrong:
pop ecx
pop ebx
pop ecx
pop esi
pop edi
jmp RetRead
;----------------------------------------------------------------------------------------------------------------------------------------------------------
RetForCicle:
pop ebx ; counter of % *4
pop ecx ; position on %
inc ecx ; str[ecx] = 'd'
pop esi ; addres of STRING
pop edi ; !!!!!!!!!!!!!
; inc esi ; *esi = d
inc esi ; *esi = d
cmp ecx, edi
jl RetRead
jge EndProc
;----------------------------------------------------------------------------------------------------------------------------------------------------------
EndProc:
pop ebp
ret
| 28.615176 | 173 | 0.231082 |
4dbdd90496d2715cc8d481f9775e997d93234b4e | 593 | asm | Assembly | oeis/004/A004158.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/004/A004158.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/004/A004158.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A004158: Triangular numbers written backwards.
; Submitted by Jon Maiga
; 0,1,3,6,1,51,12,82,63,54,55,66,87,19,501,21,631,351,171,91,12,132,352,672,3,523,153,873,604,534,564,694,825,165,595,36,666,307,147,87,28,168,309,649,99,5301,1801,8211,6711,5221,5721,6231,8731,1341,5841,451,6951,3561,1171,771,381,1981,3591,6102,802,5412,1122,8722,6432,5142,5842,6552,8262,1072,5772,582,6292,3003,1803,613,423,1233,3043,6843,753,5563,1473,8283,6193,5004,5904,6814,8724,1734,5644,654,6564,3574,1584,594
add $0,1
bin $0,2
lpb $0
mov $2,$0
div $0,10
mul $1,10
mod $2,10
add $1,$2
lpe
mov $0,$1
| 39.533333 | 418 | 0.718381 |
168595daa174b37db6f68b85f0b462b089a59711 | 327 | asm | Assembly | programs/oeis/090/A090529.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/090/A090529.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/090/A090529.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A090529: a(n) is the smallest m such that n <= m!.
; 1,1,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
sub $0,1
mov $1,2
lpb $0
div $0,$1
add $1,1
lpe
sub $1,1
mov $0,$1
| 27.25 | 201 | 0.519878 |
c9f308f5d23ecd1edca6f6b527e68ca12f1c82fc | 2,517 | asm | Assembly | tests/misc/ifused_test.asm | fengjixuchui/sjasmplus | df0fabd2411bf89e23637fce46d273f52dafbe16 | [
"BSD-3-Clause"
] | 220 | 2016-10-22T19:44:39.000Z | 2022-03-29T20:57:04.000Z | tests/misc/ifused_test.asm | ped7g/sjasmplus | 487635c8057cd5594c372d9b70bc00a3f3a1ecc4 | [
"BSD-3-Clause"
] | 153 | 2018-05-07T10:31:23.000Z | 2022-03-30T04:35:59.000Z | tests/misc/ifused_test.asm | ped7g/sjasmplus | 487635c8057cd5594c372d9b70bc00a3f3a1ecc4 | [
"BSD-3-Clause"
] | 51 | 2016-05-12T21:27:36.000Z | 2022-03-27T15:16:16.000Z | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Test case for IFUSED / IFNUSED ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Compilation:
;; sjasmplus.exe ifused_test.asm --lstlab --lst=ifused_test.lst
;;
;; After compilation, please check the listing file "ifused_test.lst"
;; This must generate syntax errors
IFUSED /* some white space */ ; in comments
IFNUSED /* some white space */ ; in comments
;; All rest of code must be compiled without errors
start
;; Some little user program :)
.noused call EnableInt
.used call Wait
jr .used
;; Some little direct tests
IFUSED /* some white space */ ; in comments
db 'ok'
ELSE
fail
ENDIF
IFNUSED /* some white space */ ; in comments
fail
ELSE
db 'ok'
ENDIF
IFUSED .used /* some white space */ ; in comments
db 'ok'
ELSE
fail
ENDIF
IFUSED start.used /* some white space */ ; in comments
org $-2 : db 'ok'
ELSE
fail
ENDIF
IFUSED @start.used /* some white space */ ; in comments
org $-2 : db 'ok'
ELSE
fail
ENDIF
IFUSED .noused /* some white space */ ; in comments
fail
ENDIF
IFUSED start.noused /* some white space */ ; in comments
fail
ENDIF
IFUSED @start.noused /* some white space */ ; in comments
fail
ENDIF
IFUSED not_defined_label /* some white space */ ; in comments
fail
ENDIF
;; Some little library :)
EnableInt
IFUSED EnableInt
ei
ret
ENDIF
Wait IFUSED
ld b,#FF
.loop
IFUSED EnableInt
.halter halt
ELSE
ld c,#FF ;; When the "call EnableInt" is commented out,
.cycle dec c ;; this branch after ELSE must be generated.
jr nz,.cycle
ENDIF ;; End of IFUSED EnableInt
djnz .loop
ret
ENDIF ;; End of IFUSED Wait
;; ADDENDUM: different code path to generate some more syntax errors
IFUSED Invalid&Label
IFNUSED Invalid%Label
IFUSED ..InvalidLabel
IFNUSED ..InvalidLabel
| 25.683673 | 78 | 0.474374 |
b31bdd50cd0cfb0d60ccd6b06012ae946395ce56 | 811 | asm | Assembly | oeis/135/A135593.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/135/A135593.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/135/A135593.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A135593: Number of n X n symmetric (0,1)-matrices with exactly n+1 entries equal to 1 and no zero rows or columns.
; Submitted by Jon Maiga
; 2,9,36,140,540,2142,8624,35856,152280,666380,2982672,13716144,64487696,310693320,1528801920,7691652992,39474925344,206758346256,1103332900160,5999356762560,33197323465152,186925844947424,1069977071943936,6225010338067200,36781106159907200,220661643838364352,1343284218678576384,8295373370026862336,51939654075612483840,329641985716146138240,2119676498419809800192,13805976878644366209024,91046983755689907872256,607793106631531238324480,4105721954640864158254080,28058407925954159197596672
mov $1,$0
add $0,2
seq $1,189940 ; Number of connected components in all simple labeled graphs with n nodes having degrees at most one.
mul $1,79
mul $1,$0
mov $0,$1
div $0,79
| 67.583333 | 491 | 0.844636 |
9cefa3c89916db22d112f2a2605cf6a4d2b8ade8 | 66,812 | asm | Assembly | Projects/PJZ2/Greetz/Greetz.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b | [
"MIT"
] | 21 | 2021-04-04T06:00:44.000Z | 2022-01-19T19:12:24.000Z | Projects/PJZ2/Greetz/Greetz.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b | [
"MIT"
] | null | null | null | Projects/PJZ2/Greetz/Greetz.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b | [
"MIT"
] | null | null | null | *****************************************************************************
; Name : Template.s
; Coded by : Antiriad (Jonathan Bennett <jon@autoitscript.com)
; Description : Template routine.
; Date last edited : 04/02/2020
*****************************************************************************
RasterTest set 0 ;color00 timing bar, 0=off, 1=overall, 2=show blitwaits
ifeq RasterTest
tmpcolor00 set color00 ;use tmpcolor00 in place of color00 everywhere so timing is easier
else
tmpcolor00 set $1fe ;dummy
endif
*****************************************************************************
include "hardware/custom.i"
include "hardware/intbits.i"
include "hardware/dmabits.i"
include "../IntroConfig.i"
include "../IntroSharedData.i"
include "../IntroSharedData_xref.i"
include "../Framework/CustomExtra.i"
include "../Framework/CustomMacros.i"
include "../Framework/IntroFramework_xref.i"
include "../Framework/IntroLibrary.i"
include "../Framework/IntroLibrary_xref.i"
include "../Framework/IntroPrototype.i"
include "../Framework/IntroPrototype_xref.i"
*****************************************************************************
section TMP_PublicCode,code ;Code section in Public memory
*****************************************************************************
; Photon:
; Best practice is to start with DDF 38,d0 and DIW 2c81,2cc1 and modify these
; symmetrically and always in whole 16px steps for compatibility.
; Note DDF start of less than 30 and you start to lose sprites.
*** Display Window ***
P0_DIW_V equ $2c ;Hardware Vstart ($2c normal, $24 overscan)
P0_DIW_H equ $81 ;Hardware Hstart ($81 normal, $71 overscan)
P0_DIW_WIDTH equ 320 ;Pixels (multiple of 16, 320 normal, 352 overscan)
P0_DIW_HEIGHT equ 256 ;Lines (256 normal PAL, 272 overscan)
P0_DDF_H equ $81 ;Hardware Hstart ($81 normal, $71 overscan)
P0_DDF_WIDTH equ 320 ;Pixels (320 normal pal, 352 overscan)
P0_DDF_BYTEWIDTH equ P0_DDF_WIDTH/8
P0_DDF_WORDWIDTH equ P0_DDF_BYTEWIDTH/2
P0_SCANLINE_EOF equ P0_DIW_V+P0_DIW_HEIGHT ; Safe to starting clearing after this scanline
; 0 is essentially vblank
; This value is used for loading the CL with colours and stuff, we might need
; to do it more than once, for example fading colours in a double-buffered CL
; we need to write the values twice so that after finishing both CLs have been updated
; Set to 1 for single CL, 2 for double-buffered, etc
P0_CL_NUM_BUFFERS equ 2
*****************************************************************************
*** Screen Definitions ***
;BPL_BUF_xxx is the underlying buffer, might not match visible
;We just allocate a blank line and repeat it
BPL_BUF_WIDTH equ 320
BPL_BUF_BYTEWIDTH equ BPL_BUF_WIDTH/8
BPL_BUF_WORDWIDTH equ BPL_BUF_BYTEWIDTH/2
BPL_BUF_HEIGHT equ 256
BPL_BUF_NUMPLANES equ 1
BPL_BUF_NUMCOLS equ (1<<BPL_BUF_NUMPLANES)
BPL_BUF_SIZE equ BPL_BUF_BYTEWIDTH*1 ;We just allocate a blank line and repeat it
BPL_BUF_TOTALSIZE equ BPL_BUF_SIZE*BPL_BUF_NUMPLANES
BPL_BUF_INTERLEAVED equ 1
ifne BPL_BUF_INTERLEAVED
BPL_BUF_MOD_LINE equ BPL_BUF_BYTEWIDTH*BPL_BUF_NUMPLANES
BPL_BUF_MOD_BPL equ BPL_BUF_BYTEWIDTH
else
BPL_BUF_MOD_LINE equ BPL_BUF_BYTEWIDTH
BPL_BUF_MOD_BPL equ BPL_BUF_SIZE
endif
;BPL_xxx is the visible size, might not always match buffer
BPL_WIDTH equ P0_DIW_WIDTH
BPL_HEIGHT equ P0_DIW_HEIGHT
; For perfect reflection (interleaved):
; Modulo is added at DDFStop so need to set before then.
; Before DDFStart at last line of display set modulo to repeat that line
; -P0_DDF_BYTEWIDTH
; Then, before DDFStart on first line of reflection
; (-BPL_BUF_MOD_LINE)-P0_DDF_BYTEWIDTH
BPL_BPLMOD equ BPL_BUF_MOD_LINE-P0_DDF_BYTEWIDTH
BPL_BPLMOD_REPTLINE equ -P0_DDF_BYTEWIDTH
BPL_BPLMOD_REPTPREVLINE equ (-BPL_BUF_MOD_LINE)-P0_DDF_BYTEWIDTH
BPL_BPLMOD_REPT2LINE equ BPL_BPLMOD_REPTPREVLINE-BPL_BUF_MOD_LINE
BPL_BPLMOD_SKIPLINE equ BPL_BPLMOD+(BPL_BUF_MOD_LINE)
;The scrolling font screen (2 screens high plus 2xTXT AREA)
BPL_BUF_VSCROLL_WIDTH equ BPL_BUF_WIDTH
BPL_BUF_VSCROLL_BYTEWIDTH equ BPL_BUF_VSCROLL_WIDTH/8
BPL_BUF_VSCROLL_WORDWIDTH equ BPL_BUF_VSCROLL_BYTEWIDTH/2
BPL_BUF_VSCROLL_HEIGHT equ (BPL_BUF_HEIGHT*2)+(BPL_BUF_TEXT_HEIGHT*3)
BPL_BUF_VSCROLL_NUMPLANES equ 2
BPL_BUF_VSCROLL_NUMCOLS equ (1<<BPL_BUF_VSCROLL_NUMPLANES)
BPL_BUF_VSCROLL_SIZE equ BPL_BUF_VSCROLL_BYTEWIDTH*BPL_BUF_VSCROLL_HEIGHT
BPL_BUF_VSCROLL_TOTALSIZE equ BPL_BUF_VSCROLL_SIZE*BPL_BUF_VSCROLL_NUMPLANES
BPL_BUF_VSCROLL_INTERLEAVED equ 1
ifne BPL_BUF_VSCROLL_INTERLEAVED
BPL_BUF_VSCROLL_MOD_LINE equ BPL_BUF_VSCROLL_BYTEWIDTH*BPL_BUF_VSCROLL_NUMPLANES
BPL_BUF_VSCROLL_MOD_BPL equ BPL_BUF_VSCROLL_BYTEWIDTH
else
BPL_BUF_VSCROLL_MOD_LINE equ BPL_BUF_VSCROLL_BYTEWIDTH
BPL_BUF_VSCROLL_MOD_BPL equ BPL_BUF_VSCROLL_SIZE
endif
BPL_VSCROLL_BPLMOD equ BPL_BUF_VSCROLL_MOD_LINE-P0_DDF_BYTEWIDTH
BPL_VSCROLL_BPLMOD_REPTLINE equ -P0_DDF_BYTEWIDTH
BPL_VSCROLL_BPLMOD_REPTPREVLINE equ (-BPL_BUF_VSCROLL_MOD_LINE)-P0_DDF_BYTEWIDTH
BPL_VSCROLL_BPLMOD_REPT2LINE equ BPL_VSCROLL_BPLMOD_REPTPREVLINE-BPL_BUF_VSCROLL_MOD_LINE
BPL_VSCROLL_BPLMOD_SKIPLINE equ BPL_VSCROLL_BPLMOD+(BPL_BUF_VSCROLL_MOD_LINE)
; Font screen buffer height, everything else is the same as scroller screen (modulos, width ,etc)
; Height implies the Y spacing
BPL_BUF_TEXT_HEIGHT equ FONT8PX_HEIGHT
BPL_BUF_TEXT_SIZE equ BPL_BUF_VSCROLL_BYTEWIDTH*BPL_BUF_TEXT_HEIGHT
BPL_BUF_TEXT_TOTALSIZE equ BPL_BUF_TEXT_SIZE*BPL_BUF_VSCROLL_NUMPLANES
VSCROLL_MIN equ BPL_BUF_TEXT_HEIGHT
VSCROLL_MAX equ VSCROLL_MIN+BPL_BUF_HEIGHT+BPL_BUF_TEXT_HEIGHT
VSCROLL_Y_SPACING equ FONT8PX_HEIGHT+(FONT8PX_HEIGHT/2)
; We limit how many char blits we do per frame to keep the time down. The frame cycle is
; Clear buffer, Blit chars * X, copy chars to screen. So that means we have this many frames free
; VSCROLL_MAX_CHARS_PER_LINE / (VSCROLL_Y_SPACING - 2) (-2 is the clear, copy frames)
VSCROLL_MAX_CHARS_PER_LINE equ 40 ;~Widest line in chars (proportional so guess)
VSCROLL_MAX_CHARS_PER_FRAME equ VSCROLL_MAX_CHARS_PER_LINE/(VSCROLL_Y_SPACING-2)
*****************************************************************************
PERFORM_ENABLE_MUSICSYNC equ 1
PERFORM_ENABLE_SINESET equ 0
PERFORM_ENABLE_USERVALWAIT equ 0
*****************************************************************************
PAL_NUMCOLS_MAIN equ 1 ; Only color 0, hadrcoded font colors
PAL_NUMCOLS_ALT equ 0 ; number of dark/refl cols
PAL_NUMCOLS_ALL equ (PAL_NUMCOLS_MAIN+PAL_NUMCOLS_ALT)
*****************************************************************************
;Local font changes
FONT8PX_MIN_X equ 8
FONT8PX_MAX_X equ (BPL_BUF_VSCROLL_WIDTH-1)-16
*****************************************************************************
ZOOM_BPLCON0_ON equ ((BPL_BUF_NUMPLANES+BPL_BUF_VSCROLL_NUMPLANES)*$1000)|$0600
ZOOM_BPLCON0_OFF equ $0600 ;0bpl screen
*****************************************************************************
BAR_MAX_Y equ (BPL_HEIGHT-1)
BAR_NUM_FADE_LEVELS equ 31 ;-15, 0, 15
BAR_FADE_LEVEL_MAX equ BAR_NUM_FADE_LEVELS-1
BAR_FADE_SPEED equ 3 ;Fade speed, 1= quicker
BAR_NUM_PAL equ 2 ;number of palettes to cycles
BAR_NUM_PAL_MASK equ BAR_NUM_PAL-1 ;and mask
COLOR_NEON_PINK equ $f09
COLOR_NEON_YELLOW equ $ee1
COLOR_NEON_PURPLE equ $70d
COLOR_NEON_GREEN equ $8f3
COLOR_NEON_ORANGE equ $f90
COLOR_NEON_RED equ $f44
COLOR_NEON_BLUE equ $33f
*****************************************************************************
* Start the effect (usually used for setting up the copper)
* This is called each time the effect is started
* IN: a0, script ptr
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
ifeq _INTROWRAPPER
xdef SubPartStart
SubPartStart:
endif
xdef GTZ1_Start
GTZ1_Start:
movem.l d2-d7/a2-a6,-(sp) ;save
lea ControllerScript,a0
lea _custom,a6
lea Controller_Info(pc),a5
;Save script pointer
move.l a0,CTRL_SCRIPT_PTR(a5)
;Alloc memory
bsr P0_Alloc
; Run intro startup precalc if not already done (only runs once)
bsr SubPartPreCalc_IntroStart ;T:None
;Start the P0 routine irq and copper
bsr P0_Init ;I:a5-a6, T:d0-d1/a0-a1
; Continue with main loop outside the irq
bsr P0_MainLoop ;I:a5-a6, T:d0-d1/a0-a1
;May want to do various things here. Leave copperlist active, but use
;default irq is common so that easy to transition.
jsr FW_SetBaseIrq
movem.l (sp)+,d2-d7/a2-a6 ;restore
rts
*****************************************************************************
* To be called during INTRO startup to do any permanent precalc required.
* i.e. the buffers used are unique for this effect.
* CPU ONLY - No Blitter
* IN:
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
;Only export one symbol depending if in demo or standalone mode
ifeq _INTROWRAPPER
xdef SubPartPreCalc_IntroStart
else
xdef GTZ1_PreCalc_IntroStart
endif
SubPartPreCalc_IntroStart:
GTZ1_PreCalc_IntroStart:
tst.w Controller_Info+CTRL_PRECALC_INTROSTART_DONE
bne.s .exit ;already done
movem.l d2-d7/a2-a6,-(sp) ;save
lea Controller_Info(pc),a5
; Multiply LIB_BOBTABLE_SIZEOF
lea Mult_LIB_BOBTABLE_SIZEOF,a0
move.w #LIB_BOBTABLE_SIZEOF,d0
move.w #128,d1 ;128 letters worth is fine
jsr FW_PreMultCreate_W
;Completed!
move.w #1,CTRL_PRECALC_INTROSTART_DONE(a5)
movem.l (sp)+,d2-d7/a2-a6 ;restore
.exit:
rts
*****************************************************************************
* To be called prior to a new phase for doing non permanent precalc.
* i.e. the buffers used may be only initialised just prior to effect running.
* This function should be reentrant if supports calling in batches and
* only setting CTRL_P0_PRECALC_DONE when complete.
* CPU ONLY - No Blitter
* IN:
* OUT: d0, 1=precalc completed, 0=need to run again
* TRASHED: d0-d1/a0-a1
*****************************************************************************
;Only export one symbol depending if in demo or standalone mode
ifeq _INTROWRAPPER
xdef SubPart_P0_PreCalc
else
xdef GTZ1_P0_PreCalc
endif
SubPart_P0_PreCalc:
GTZ1_P0_PreCalc:
movem.l d2-d7/a2-a6,-(sp) ;save (not d0)
lea Controller_Info(pc),a5
tst.w CTRL_P0_PRECALC_DONE(a5)
bne.s .exit ;already done
;Change color to show where this starts
;move.w #$fff,color00+_custom
; Create bars
lea Bar_Definitions,a3
lea Bar_List,a2
moveq #NUM_BARS-1,d4
.barinitloop:
move.l (a2)+,a0 ;Bar ptr
movem.w (a3)+,d0-d3 ;col,musicmask,sine1/sine2 offset
bsr Bar_Init_Bar ;I:d0-d5/a0, T:d0-d1/a0-a1
dbf d4,.barinitloop
;Generate sin table
bsr Ripple_Generate_Sine
;Generate sin table
bsr Bar_Generate_Sine
;Completed!
move.w #1,CTRL_P0_PRECALC_DONE(a5)
.exit:
move.w CTRL_P0_PRECALC_DONE(a5),d0
movem.l (sp)+,d2-d7/a2-a6 ;restore (not d0)
rts
*****************************************************************************
* Allocs memory for the effect. This will usually be called at effect start
* but may have to call it in previous effect if doing some funky precalc during
* previous effect.
* IN: a6, _custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
P0_Alloc:
;Switch memory allocation to opposite ends of shared buffer
;Note may have to do the switch in previous effect if precalc is involved
CUR_CHIP_BUF set 0
CUR_PUB_BUF set 0
jsr FW_Mem_NewEffect_Public
jsr FW_Mem_NewEffect_Chip
;Alloc mem and setup memory ptrs to static areas
ifgt P0_CL_NUM_BUFFERS-1
CUR_CHIP_BUF set CUR_CHIP_BUF+P0_CL_SIZE
move.l #P0_CL_SIZE,d0
jsr FW_Mem_Alloc_Chip
move.l d0,CTRL_CL_PHYS_PTR(a5)
lea P0_CL_Phys(pc),a0
move.l d0,a1
move.w #(P0_CL_SIZE/2),d0 ;size in words
jsr FW_CopyBuffer_CPU ;I:d0/a0-a1, T:d0-d7/a0-a2
CUR_CHIP_BUF set CUR_CHIP_BUF+P0_CL_SIZE
move.l #P0_CL_SIZE,d0
jsr FW_Mem_Alloc_Chip
move.l d0,CTRL_CL_LOG1_PTR(a5)
else
CUR_CHIP_BUF set CUR_CHIP_BUF+P0_CL_SIZE
move.l #P0_CL_SIZE,d0
jsr FW_Mem_Alloc_Chip
move.l d0,CTRL_CL_PHYS_PTR(a5)
move.l d0,CTRL_CL_LOG1_PTR(a5)
lea P0_CL_Phys,a0
move.l d0,a1
move.w #(P0_CL_SIZE/2),d0 ;size in words
jsr FW_CopyBuffer_CPU ;I:d0/a0-a1, T:d0-d7/a0-a2
endif ;P0_CL_NUM_BUFFERS>1
;Alloc font in chip mem and copy
CUR_CHIP_BUF set CUR_CHIP_BUF+BPL_FONT8PX_TOTALSIZE
move.l #BPL_FONT8PX_TOTALSIZE,d0 ;number of BYTES
jsr FW_Mem_Alloc_Chip ;I:d0.l, O:d0.l, T:d0-d1/a0-a1
move.l d0,CTRL_BPL_FONT(a5) ;save allocated address
lea BPL_Font8px_Source,a0 ;src
move.l d0,a1 ;destination
move.w #BPL_FONT8PX_TOTALSIZE/2,d0 ;number of WORDS
jsr FW_CopyBuffer_CPU ;I:d0/a0-a1, T:d0-d7,a0-a2
;Bitplane buffer, use single buffer
CUR_CHIP_BUF set CUR_CHIP_BUF+BPL_BUF_TOTALSIZE
moveq #BPL_BUF_TOTALSIZE,d0
jsr FW_Mem_Alloc_Chip
move.l d0,CTRL_BPL_PHYS_PTR(a5)
move.l d0,CTRL_BPL_LOG1_PTR(a5)
;Scroller is single buffer
CUR_CHIP_BUF set CUR_CHIP_BUF+BPL_BUF_VSCROLL_TOTALSIZE
move.l #BPL_BUF_VSCROLL_TOTALSIZE,d0
jsr FW_Mem_Alloc_Chip
move.l d0,CTRL_BPL_VSCROLL_PHYS_PTR(a5) ;no double buffer but use log1 for writing
move.l d0,CTRL_BPL_VSCROLL_LOG1_PTR(a5) ;to keep convention with other code
;Font buffer is single buffer
CUR_CHIP_BUF set CUR_CHIP_BUF+BPL_BUF_TEXT_TOTALSIZE
move.l #BPL_BUF_TEXT_TOTALSIZE,d0
jsr FW_Mem_Alloc_Chip
move.l d0,CTRL_BPL_TEXT_PHYS_PTR(a5) ;no double buffer but use log1 for writing
move.l d0,CTRL_BPL_TEXT_LOG1_PTR(a5) ;to keep convention with other code
;Allocate bars memory in public
CUR_PUB_BUF set CUR_PUB_BUF+(NUM_BARS*BAR_SIZEOF)
moveq #NUM_BARS-1,d2
lea Bar_List,a2
.baralloc:
move.l #BAR_SIZEOF,d0
jsr FW_Mem_Alloc_Public ;I:d0, T:d0-d1/a0-a1
move.l d0,(a2)+
dbf d2,.baralloc
;Allocs sine table for barpos
;Bar_Sin_Table:
; ds.w LIB_GENSIN_16384_2048W_NUMWORDS/4
;Bar_Cos_Table:
; ds.w LIB_GENSIN_16384_2048W_NUMWORDS
CUR_PUB_BUF set CUR_PUB_BUF+LIB_GENSIN_16384_2048W_SIZEOF+(LIB_GENSIN_16384_2048W_SIZEOF/4)
move.l #LIB_GENSIN_16384_2048W_SIZEOF+(LIB_GENSIN_16384_2048W_SIZEOF/4),d0
jsr FW_Mem_Alloc_Public
move.l d0,CTRL_SINETAB_BARPOS_PTR(a5)
;Allocs sine table for ripple
CUR_PUB_BUF set CUR_PUB_BUF+LIB_GENSIN_16384_2048W_SIZEOF+(LIB_GENSIN_16384_2048W_SIZEOF/4)
move.l #LIB_GENSIN_16384_2048W_SIZEOF+(LIB_GENSIN_16384_2048W_SIZEOF/4),d0
jsr FW_Mem_Alloc_Public
move.l d0,CTRL_SINETAB_RIPPLE_PTR(a5)
;Print out allocated memory usage
ifne _VERBOSE
printt ""
printt "CUR_CHIP_BUF:"
printv CUR_CHIP_BUF
printt "CUR_PUB_BUF:"
printv CUR_PUB_BUF
endif
rts
*****************************************************************************
* Start the effect. Any precalc/slow ops should be done in the precalc code.
* Will also call PreCalc routes if not already been done (for safety)
* IN: a6, _custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
P0_Init:
movem.l d2-d7/a2-a4,-(sp)
; Run phase startup precalc if not already done - may be in batches
.precalc_effectstart:
tst.w CTRL_P0_PRECALC_DONE(a5)
bne.s .precalc_effectstart_done
bsr SubPart_P0_PreCalc ;O:d0, T:d0-d1/a0-a1
bra.s .precalc_effectstart
.precalc_effectstart_done:
;Reset anything that needs resetting for subsequent runs (bss section will
;be zero on first run - so only clear as required)
clr.w CTRL_PHASE(a5)
clr.w CTRL_FINISHED(a5)
clr.w CTRL_FRAME_COUNT(a5)
clr.w CTRL_PAUSE_COUNTER(a5)
clr.w CTRL_PALETTE_ACTIVE(a5)
clr.w CTRL_MUSICSYNC(a5)
clr.w CTRL_MUSICSYNCMASK(a5)
clr.w CTRL_MUSICSYNCMASKWAIT(a5)
clr.w CTRL_RIPPLE_ACTIVE(a5)
clr.w CTRL_TEXT_VSCROLL_DELAY(a5)
clr.w CTRL_TEXT_VSCROLL_STATUS(a5)
clr.w CTRL_TEXT_FINISHED(a5)
move.l #Scroller_Text,CTRL_TEXT_PTR(a5)
move.w #VSCROLL_MIN,CTRL_TEXT_VSCROLL(a5)
move.w #BPL_BUF_TEXT_HEIGHT,CTRL_TEXT_VSCROLL_NEXTLINE_COUNTER(a5)
;Start at max fade (dark bars)
move.w #BAR_FADE_LEVEL_MAX,CTRL_BAR_FADE_VAL(a5)
; Clear all screen buffers (previous routine must have blanked screen/colors)
bsr Clear_ScreenBuffers_CPU
;Run script up to the first FX_PAUSE command - use for setting base effect
;settings and palette rather than wasting code here on it
bsr Controller_ReadCommands ;I:a5, T:d0-d7/a0-a4
;Setup phys/logical bpl and copperlist ptrs and load palette
bsr P0_CL_InitPtrs ;I:a5-a6, T:d0-d2/a0-a1
bsr Copper_Write_Palette ;I:a5, T:d0/a0-a2
;Swap buffers and load copper for next frame
bsr P0_ScreenBufferSwap ;I:a5-a6, T:d0-d1/a0
;Initialise our new irq and ensure phys copper loaded (should have had palette loaded above)
move.l CTRL_CL_PHYS_PTR(a5),a0
lea P0_FrameIrq(pc),a1
jsr FW_SetCopperIrq_A6 ;I:a0/a1/a6, T:a0
movem.l (sp)+,d2-d7/a2-a4
rts
*****************************************************************************
* Runs the effect.
* IN: a6, _custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0-a1
*
*****************************************************************************
P0_MainLoop:
movem.l d2-d7/a2-a4,-(sp)
.Mainloop1:
tst.w CTRL_FINISHED(a5) ;Check if script ended itself
bne.s .exit
jsr FW_CheckUserQuitSignal_A6 ;I:a6, O:d0, T:d0
beq.s .Mainloop1
ifne FW_RMB_QUIT_SECTION
;If user initiated section/intro exit then load default CL/Irq
;So that sprites/screen is blanked and next section will not have weird fx
jsr FW_SetBaseCopperIrq_A6 ;T:a0
jsr FW_WaitTOF_A6 ;T:None
endif
.exit
movem.l (sp)+,d2-d7/a2-a4
rts
*****************************************************************************
P0_FrameIrq:
TIMERON
movem.l d0-d7/a0-a6,-(sp)
lea _custom,a6
lea Controller_Info(pc),a5
;Clear screen bars in CL
bsr Bar_Clear_Bars_BLT ;I:a6, T:d0-d1/a0
addq.w #1,CTRL_FRAME_COUNT(a5) ;Update local frame count
jsr FW_VBlankProxy ;T:d0-d7/a0-a4
;Skip routine if exiting
tst.w CTRL_FINISHED(a5)
bne .exit
; Read new script lines and perform
bsr Controller_ReadCommands ;Read new commands
bsr Controller_Perform ;Do any ongoing time-based effects and update angles
; Scroll the text and write a new line if needed
bsr Text_Scroll ;I:a5/a6, T:d0-d2/a0
;Load current palette into CL if needed
bsr Copper_Write_Palette ;I:a5, T:d0/a0-a2
bsr Copper_Write_Ripple ;I:a5
; Check if fully started, if not increase bar fade val
tst.w CTRL_BAR_FULLY_STARTED(a5)
bne.s .checkdone
subq.w #1,CTRL_BAR_FADE_COUNT(a5) ;Update fade?
bpl.s .checkdone
move.w #3,CTRL_BAR_FADE_COUNT(a5)
subq.w #1,CTRL_BAR_FADE_VAL(a5)
bne.s .checkdone
move.w #1,CTRL_BAR_FULLY_STARTED(a5) ;Fade is zero, fully started
.checkdone:
; ; Check if scroller has finished
tst.w CTRL_TEXT_FINISHED(a5)
beq.s .dobars
; Text finished. Start exiting by fading down the colours
subq.w #1,CTRL_BAR_FADE_COUNT(a5) ;Update fade?
bpl.s .dobars
move.w #3,CTRL_BAR_FADE_COUNT(a5)
addq.w #1,CTRL_BAR_FADE_VAL(a5)
cmpi.w #BAR_FADE_LEVEL_MAX,CTRL_BAR_FADE_VAL(a5)
blt.s .dobars
move.w #1,CTRL_FINISHED(a5) ;Exit routine
.dobars:
bsr Bar_Animate_Bars ;I:a5, T:d0-d3/a0
bsr Bar_Draw_Bars ;T:d0-d7/a0-a2
;Swap buffers and load copper for next frame
;Let blitter finish before changing buffers. Important on super-fast machines
;When using interrupts near end-of-frame.
WAITBLIT_NASTY_A6
bsr P0_ScreenBufferSwap ;I:a5-a6, T:d0-d1/a0
.exit:
;Reset interrupt
moveq #FW_FRAME_IRQ_TYPE,d0
move.w d0,intreq(a6)
move.w d0,intreq(a6) ;A4000 compat
movem.l (sp)+,d0-d7/a0-a6
TIMEROFF
rte
*****************************************************************************
* Inits ptrs in the copper list.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d2/a0-a1
*****************************************************************************
P0_CL_InitPtrs:
;Setup items the same in front/back copper lists then copy the CL
;Scroller screen is single buffered but is handled in scroll routine as well
move.l CTRL_CL_PHYS_PTR(a5),a0
lea P0_CL_BPL_PF1_OFFSET(a0),a0 ;copper bpl pointer block
moveq #BPL_BUF_VSCROLL_NUMPLANES,d0
move.l CTRL_BPL_VSCROLL_PHYS_PTR(a5),d1 ;in d1 for InitCopperBplPtrs
moveq #BPL_BUF_VSCROLL_MOD_BPL,d2
jsr FW_InitCopperBplPtrs ;a0=bpl ptr block, d0=numplanes, d1=scr buffer, d2=modulo
;Background screen is single buffered
move.l CTRL_CL_PHYS_PTR(a5),a0
lea P0_CL_BPL_PF2_OFFSET(a0),a0 ;copper bpl pointer block
moveq #BPL_BUF_NUMPLANES,d0
move.l CTRL_BPL_PHYS_PTR(a5),d1 ;in d1 for InitCopperBplPtrs
moveq #BPL_BUF_MOD_BPL,d2
jsr FW_InitCopperBplPtrs ;a0=bpl ptr block, d0=numplanes, d1=scr buffer, d2=modulo
;Setup CL buffers and ptrs
ifgt P0_CL_NUM_BUFFERS-1
; Copper list buffers - copy screen list into 2nd buffer for doublebuffering
move.l CTRL_CL_PHYS_PTR(a5),a0
move.l CTRL_CL_LOG1_PTR(a5),a1
move.w #(P0_CL_SIZE/2),d0 ;size in words
jsr FW_CopyBuffer_CPU ;I:d0/a0-a1, T:d0-d7/a0-a2
endif ;P0_CL_NUM_BUFFERS>1
rts
*****************************************************************************
* Swaps the frame buffers, copperlists, and activates the CL next frame.
* NOTE: Call before vblank so new copper takes effect next frame.
* IN: a5, Controller_Info
* a6, _custom
* OUT:
* TRASHED: d0-d1/a0
*****************************************************************************
P0_ScreenBufferSwap:
;If single CL buffer then don't swap the ptrs and leave cop1lch alone
ifgt P0_CL_NUM_BUFFERS-1
;Double buffered CL, just swap pointer
lea CTRL_CL_PHYS_PTR(a5),a0
movem.l (a0),d0-d1 ;Swap CL ptrs
move.l d1,(a0)+
move.l d0,(a0) ;d1 is phys
; and activate next frame - d1 is physical
move.l d1,cop1lch(a6) ; Active NEXT frame
else
;d1.l = physical screen
lea P0_CL_Bpl+2,a0 ;Adr of phys copper pointers PTH
move.l #BPL_BUF_MOD_BPL,d0 ;next bpl
REPT BPL_BUF_NUMPLANES
swap d1 ;Swap high & low words
move.w d1,(a0) ;High ptr
swap d1 ;Swap high & low words
move.w d1,4(a0) ;Low ptr
addq.l #8,a0 ;Next set of ptrs
add.l d0,d1 ;Next bitplane (interleaved)
ENDR
endif
rts
*****************************************************************************
* Clears all the buffers we will use. Done once at startup to ensure clean
* environment. Uses CPU for precalc routine.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
Clear_ScreenBuffers_CPU:
movem.l d2-d7/a2-a6,-(sp)
;Background buffers
move.l CTRL_BPL_PHYS_PTR(a5),a0
move.w #(BPL_BUF_TOTALSIZE/2),d0
jsr FW_ClearBuffer_CPU ;I:d0/a0, T:d0-d7/a0-a4
;Same buffer
;move.l CTRL_BPL_LOG1_PTR(a5),a0
;move.w #(BPL_BUF_TOTALSIZE/2),d0
;jsr FW_ClearBuffer_CPU ;I:d0/a0, T:d0-d7/a0-a4
;Scroller buffer
move.l CTRL_BPL_VSCROLL_PHYS_PTR(a5),a0
move.w #(BPL_BUF_VSCROLL_TOTALSIZE/2),d0
jsr FW_ClearBuffer_CPU ;I:d0/a0, T:d0-d7/a0-a4
movem.l (sp)+,d2-d7/a2-a6
rts
*****************************************************************************
* Generate sine values between -16 and 16. Genrates an extra 256 words
* so can use for sine and cosine.
* IN:
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
Ripple_Generate_Sine:
movem.l d2-d3,-(sp)
;move.l CTRL_SINETAB_RIPPLE_PTR(a5),a0
;jsr LIB_GenSin_16384_2048W
;Note need to be a little careful when shifting right to change range as -16383 >> 1 = -8192
;so ranges change as follows when shifting right
;-8192 to 8191 etc
;-4096 to 4095
;If rounding with addx means this becomes:
;-8191 to 8192
;change range from -16384 to 16383 to 0 to 256
.changerange:
lea GenSin_Table_16384_2048W,a0
move.l CTRL_SINETAB_RIPPLE_PTR(a5),a1
;move.w #128,d0
move.w #(LIB_GENSIN_16384_2048W_NUMWORDS+(LIB_GENSIN_16384_2048W_NUMWORDS/4))-1,d1
moveq #0,d2
.cl:
move.w (a0)+,d3
asr.w #8,d3 ;change range to -64 to 64
asr.w #2,d3 ;change range to -16 to 16
addx.w d2,d3 ;round up
move.w d3,(a1)+
dbf d1,.cl
movem.l (sp)+,d2-d3
rts
*****************************************************************************
* Generate sine values between 0 and 256. Genrates an extra 256 words
* so can use for sine and cosine.
* IN:
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
Bar_Generate_Sine:
movem.l d2-d3,-(sp)
;move.l CTRL_SINETAB_BARPOS_PTR(a5),a0
;jsr LIB_GenSin_16384_2048W
;Note need to be a little careful when shifting right to change range as -16383 >> 1 = -8192
;so ranges change as follows when shifting right
;-8192 to 8191 etc
;-4096 to 4095
;If rounding with addx means this becomes:
;-8191 to 8192
;change range from -16384 to 16384 to 0 to 256
.changerange:
lea GenSin_Table_16384_2048W,a0
move.l CTRL_SINETAB_BARPOS_PTR(a5),a1
move.w #128,d0
move.w #(LIB_GENSIN_16384_2048W_NUMWORDS+(LIB_GENSIN_16384_2048W_NUMWORDS/4))-1,d1
moveq #0,d2
.cl:
move.w (a0)+,d3
asr.w #7,d3 ;change range to -128 to 128
addx.w d2,d3 ;round up
add.w d0,d3 ;0-256
move.w d3,(a1)+
dbf d1,.cl
movem.l (sp)+,d2-d3
rts
*****************************************************************************
* Runs the controller script.
* Note the commands are read until a FX_PAUSE command is reached. So beware
* of hogging the CPU with too many commands at once.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d7/a0-a4
*****************************************************************************
Controller_ReadCommands:
move.l CTRL_SCRIPT_PTR(a5),a4 ;Get current script ptr
;First check if any types of pause/wait are happening
move.w CTRL_PAUSE_COUNTER(a5),d0
bne.s .pausing
ifne PERFORM_ENABLE_MUSICSYNC
tst.w CTRL_MUSICSYNCMASKWAIT(a5) ;Are we waiting for a music sync signal?
bne.s .exit ;handled in Controller_MusicSync_Perform
endif
ifne PERFORM_ENABLE_USERVALWAIT
tst.w CTRL_USERVALWAIT_ACTIVE(a5)
bne .uservalwait
endif
move.w CTRL_ISFRAMEOVER_COUNTER(a5),d0
bne.s .isframeover
move.w CTRL_ISMASTERFRAMEOVER_COUNTER(a5),d0
bne.s .ismasterframeover
tst.w CTRL_FINISHED(a5)
bne.s .exit
.loop:
move.w (a4)+,d0 ;Get script command, will be a long offset which matches the bra.w xxx jmptable
jmp .jmptable(pc,d0.w) ;Run routine, must preserve a4-a6
.jmptable:
bra.w .fx_end ;FX_END_FLAG
bra.w .fx_pause ;FX_PAUSE_FLAG
bra.w .fx_start_masterframe ;FX_STARTWAIT_MASTERFRAME_FLAG
bra.w .fx_get_masterframe ;FX_GET_MASTERFRAME_FLAG
bra.w .fx_ismasterframeover ;FX_ISMASTERFRAMEOVER_FLAG
bra.w .fx_isframeover ;FX_ISFRAMEOVER_FLAG
bra.w .fx_scriptjmp ;FX_SCRIPTJMP_FLAG
bra.w .fx_pallete ;FX_PALETTE_FLAG
bra.w .fx_next_phase ;FX_NEXT_PHASE_FLAG
bra.w .fx_musicsyncmask ;FX_MUSICSYNCMASK
bra.w .fx_musicsyncmaskwait ;FX_MUSICSYNCMASKWAIT
bra.w .fx_userval ;FX_USERVAL
bra.w .fx_uservalwait ;FX_USERVALWAIT
bra.w .fx_sineset ;FX_SINE_SET_FLAG
bra.w .fx_ripple ;FX_RIPPLE_FLAG
.fx_end:
move.w #1,CTRL_FINISHED(a5) ;exit entire effect
.exit:
move.l a4,CTRL_SCRIPT_PTR(a5) ;save current script position
rts
.pausing:
subq.w #1,CTRL_PAUSE_COUNTER(a5)
beq.s .loop
rts
.isframeover:
cmp.w CTRL_FRAME_COUNT(a5),d0
bhi.s .isframeover_exit
clr.w CTRL_ISFRAMEOVER_COUNTER(a5) ;finished
.isframeover_exit
rts
.ismasterframeover:
jsr FW_IsFrameOver ;I:d0, O:d0
beq.s .ismasterframeover_exit
clr.w CTRL_ISMASTERFRAMEOVER_COUNTER(a5) ;finished
.ismasterframeover_exit
rts
.uservalwait:
move.w CTRL_USERVALWAIT_OFFSET(a5),d0
move.w (a5,d0.w),d0
cmp.w CTRL_USERVALWAIT_VAL(a5),d0
bne.s .uservalwait_exit
clr.w CTRL_USERVALWAIT_ACTIVE(a5) ;finished
.uservalwait_exit:
rts
.fx_pause:
move.w (a4)+,CTRL_PAUSE_COUNTER(a5)
bra.s .exit ;save script pos and exit
.fx_start_masterframe:
move.w (a4),d0 ;frame to wait for
jsr FW_IsFrameOver ;I:d0, O:d0
beq.s .fx_start_masterframe
addq.l #2,a4 ;skip frame to wait for
bra.s .exit ;save script pos and exit
.fx_pallete:
move.w (a4)+,d0 ;Speed
move.l (a4)+,a0 ;New pallete
pea .loop(pc)
bra Controller_FX_Palette ;I:d0/a0/a5, T:d0/a0-a1
.fx_ismasterframeover:
move.w (a4)+,d0 ;frame to wait for
move.w d0,CTRL_ISMASTERFRAMEOVER_COUNTER(a5)
bra.s .exit ;save script pos and exit
.fx_isframeover:
move.w (a4)+,d0 ;frame to wait for
move.w d0,CTRL_ISFRAMEOVER_COUNTER(a5)
bra.s .exit ;save script pos and exit
.fx_scriptjmp:
move.l (a4)+,a4 ;New script
bra .loop
.fx_get_masterframe:
jsr FW_GetFrame ;Get master frame count
tst.w d0 ;Set breakpoint here
move.w CTRL_FRAME_COUNT(a5),d0
bra.s .exit ;save script pos and exit
.fx_next_phase:
addq.w #1,CTRL_PHASE(a5)
bra .exit ;save script pos and exit
.fx_musicsyncmask:
move.w (a4)+,CTRL_MUSICSYNCMASK(a5)
bra .loop
.fx_musicsyncmaskwait:
move.w (a4)+,CTRL_MUSICSYNCMASKWAIT(a5)
bra .exit ;save script pos and exit
.fx_userval:
move.w (a4)+,d0 ;CTRL_xxx offset
move.w (a4)+,(a5,d0.w) ;Write value into that CTRL offset
bra .loop
.fx_uservalwait:
move.w (a4)+,CTRL_USERVALWAIT_OFFSET(a5) ;CTRL_xxx offset
move.w (a4)+,CTRL_USERVALWAIT_VAL(a5) ;Value to wait for
move.w #1,CTRL_USERVALWAIT_ACTIVE(a5)
bra .exit ;save script pos and exit
.fx_sineset: ;sets a sine value in offset,speed,step ordering
movem.w (a4)+,d0-d4 ;offset,speed,step,Controller_Info offset
pea .loop(pc)
bra Controller_FX_SineSet
.fx_ripple:
move.w (a4)+,d0 ;enable/disable
pea .loop(pc)
bra Controller_FX_Ripple
*****************************************************************************
* Performs any time-based controller routines.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d7/a2-a4
*****************************************************************************
Controller_Perform:
;Note that routines are called in reverse order to avoid lots of jumping around
pea Controller_FX_Ripple_Perform
ifne PERFORM_ENABLE_SINESET
pea Controller_FX_SineSet_Perform(pc) ;I:a5, T:d0-d1/a0
endif
ifne PERFORM_ENABLE_MUSICSYNC
pea Controller_MusicSync_Perform(pc) ;I:a5, T:d0-d2/a0
endif
bra Controller_FX_Palette_Perform ;I:a5, T:d0-d6/a0-a2
;rts
*****************************************************************************
* Gets any music sync commands a sets up the response.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0
*****************************************************************************
ifne PERFORM_ENABLE_MUSICSYNC
Controller_MusicSync_Perform:
;bits 0-3 are new note channels
;bits 4-7 are E8x values shifted << 4
;Values between $0-$ff
jsr FW_MusicGetSyncVal ;O:d0.w, T:d0/d1
;Is there a musicsyncmaskwait in progress that we can release?
move.w CTRL_MUSICSYNCMASKWAIT(a5),d1
move.w d0,d2
and.w d1,d2
cmp.w d1,d2
bne.s .nowait
clr.w CTRL_MUSICSYNCMASKWAIT(a5) ;wait is over
.nowait:
;And with our mask, this gives our script the option to mask events
;if needed without having to be complicated with other code
and.w CTRL_MUSICSYNCMASK(a5),d0
move.w d0,CTRL_MUSICSYNC(a5)
;DO OTHER THINGS HERE
.exit:
rts
endif ;PERFORM_ENABLE_MUSICSYNC
*****************************************************************************
* Sets up the palette change process.
* IN: a5, Controller_Info
* a0, new pallete
* d0, speed
* OUT:
* TRASHED: d0/a0-a1
*****************************************************************************
Controller_FX_Palette:
; If speed is 0 just instastransform
tst.w d0
bne.s .palette
move.w d0,CTRL_PALETTE_ACTIVE(a5) ;disable change, d0 is zero here
move.w #P0_CL_NUM_BUFFERS,CTRL_PALETTE_LOAD_FLAG(a5) ;request copper loads immediately twice for double buffer CL issues
lea PAL_Current(pc),a1
rept PAL_NUMCOLS_ALL/2 ;Number of longs
move.l (a0)+,(a1)+
endr
rts
.palette:
move.l a0,CTRL_PALETTE_PTR(a5) ; supplied pallete now the master
move.w d0,CTRL_PALETTE_COUNTER(a5) ; Setup counter and speed
move.w d0,CTRL_PALETTE_SPEED(a5)
moveq #1,d0 ; Initial step is 1 (we run 1-15)
move.w d0,CTRL_PALETTE_STEP(a5)
move.w d0,CTRL_PALETTE_ACTIVE(a5) ; Set pallete flag to 1
lea PAL_Current(pc),a0 ;current active colors
lea PAL_Current_Src(pc),a1 ;store original active colors
rept PAL_NUMCOLS_ALL/2 ;Number of longs
move.l (a0)+,(a1)+
endr
rts
*****************************************************************************
* Performs the pallete change.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d6/a0-a3
*****************************************************************************
Controller_FX_Palette_Perform:
tst.w CTRL_PALETTE_ACTIVE(a5)
bne.s .active
rts
.active:
subq.w #1,CTRL_PALETTE_COUNTER(a5) ;check counter
bgt.s .exit ;1 or greater we skip
;Reset counter for next time
move.w CTRL_PALETTE_SPEED(a5),CTRL_PALETTE_COUNTER(a5)
lea PAL_Current_Src(pc),a0 ;starting colors
move.l CTRL_PALETTE_PTR(a5),a1 ;final colors
lea PAL_Current(pc),a2 ;active colors
moveq #PAL_NUMCOLS_ALL,d0 ;number of colours to touch
move.w CTRL_PALETTE_STEP(a5),d1 ;step
;In, d0=numcols, d1=step, a0-a2 palettes
;Out, d1=step
;trashes d0/d2-d7,a0-a2
jsr LIB_RGB12_Interpolate_Fast_Palette ;I:d0-d1/a0-a2, T:d0-d6/a0-a3
;Request copper load this palette twice for double buffer cl issues
move.w #P0_CL_NUM_BUFFERS,CTRL_PALETTE_LOAD_FLAG(a5)
; Increase step
addq.w #1,d1 ;increase step
move.w d1,CTRL_PALETTE_STEP(a5)
cmpi.w #16,d1 ;Was this the final step?
blt.s .exit
clr.w CTRL_PALETTE_ACTIVE(a5) ;finish routine
.exit:
rts
*****************************************************************************
* Sets up the pallet change process.
* IN: a5, Controller_Info
* d0, change speed (0 instant)
* d1, offset
* d2, speed
* d3, step
* d4, CTRL_SINE offset from a5
* OUT:
* TRASHED: d0/a0-a1
*****************************************************************************
Controller_FX_SineSet:
lea (a5,d4.w),a0 ;Address of this sine structure
; If speed is 0 just instastransform
tst.w d0
bne.s .gradual
.instant:
move.w d0,CTRL_SINESET_ACTIVE(a0) ;d0=0
tst.w d1
bpl.s .changeoffset
.keepoffset:
movem.w d2-d3,CTRL_SINE_SPEED(a0) ;leave current offset alone if d0 is -1
rts
.changeoffset:
movem.w d1-d3,CTRL_SINE_OFFSET(a0) ;change all values
rts
.gradual
move.w d0,CTRL_SINESET_ACTIVE(a0) ;active flag >0 and is the speed (initial counter value)
movem.w d2-d3,CTRL_SINE_SPEEDNEW(a0) ;leave current offset alone for gradual changes
rts
*****************************************************************************
* Performs the pallete change.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0
*****************************************************************************
ifne PERFORM_ENABLE_SINESET
Controller_FX_SineSet_Perform:
lea CTRL_SINE1(a5),a0
bsr.s .checksine
lea CTRL_BAR1_SINE1(a5),a0
;bra.s .checksine
;fallthrough
.checksine:
tst.w CTRL_SINESET_ACTIVE(a0)
bne.s .active
rts
.active:
subq.w #1,CTRL_SINESET_COUNTER(a0) ;check counter
bgt.s .exit ;1 or greater we skip
moveq #0,d1 ;1 if still changing speed/step
move.w CTRL_SINE_SPEED(a0),d0
cmp.w CTRL_SINE_SPEEDNEW(a0),d0
beq.s .checkstep
bgt.s .speedgt
.speedlt:
addq.w #2,CTRL_SINE_SPEED(a0) ;2 is the smallest change value (a single even offset)
moveq #1,d1
bra.s .checkstep
.speedgt:
subq.w #2,CTRL_SINE_SPEED(a0)
moveq #1,d1
.checkstep
move.w CTRL_SINE_FREQ(a0),d0
cmp.w CTRL_SINE_FREQNEW(a0),d0
beq.s .checkdone
bgt.s .stepgt
.steplt:
addq.w #2,CTRL_SINE_FREQ(a0)
moveq #1,d1
bra.s .checkdone
.stepgt:
subq.w #2,CTRL_SINE_FREQ(a0)
moveq #1,d1
.checkdone:
;Any changes left?
tst.w d1
bne.s .stillactive
clr.w CTRL_SINESET_ACTIVE(a0) ;finished
rts
.stillactive
;Reset counter for next time
move.w CTRL_SINESET_ACTIVE(a0),CTRL_SINESET_COUNTER(a0) ;using active as the initial count
.exit:
rts
endif
*****************************************************************************
* Ripple.
* IN: a5, vec controller info
* d0.w, enable/disable 1/0
* OUT:
* TRASHED: d0-d7/a0-a3
*****************************************************************************
Controller_FX_Ripple:
move.w d0,CTRL_RIPPLE_ACTIVE(a5)
bne.s .exit ;all done
;To disable just change all entries to 0
move.l a4,-(sp)
lea Ripple_Table,a0
move.w #RIPPLE_TABLE_NUMWORDS,d0
jsr FW_ClearBuffer_CPU ;I:d0/a0, T:d0-d7/a0-a4
move.w #RIPPLE_TABLE_NUMWORDS,CTRL_RIPPLE_VISIBLE_LINES(a5) ;All lines visible
move.l (sp)+,a4
.exit:
move.w #P0_CL_NUM_BUFFERS,CTRL_RIPPLE_LOAD_FLAG(a5)
rts
*****************************************************************************
* Performs move change
* IN: a5, VEC_Controller_Info
* a0, current object info
* OUT:
* TRASHED: d0-d7/a0-a3
*****************************************************************************
Controller_FX_Ripple_Perform:
tst.w CTRL_RIPPLE_ACTIVE(a5)
bne.s .active
rts
.active:
;Request copper load this twice for double buffer cl issues
move.w #P0_CL_NUM_BUFFERS,CTRL_RIPPLE_LOAD_FLAG(a5)
move.l CTRL_SINETAB_RIPPLE_PTR(a5),a0
lea Ripple_Table,a1
; Sine 1
lea CTRL_SINE1(a5),a4 ;get sine structure
move.w CTRL_SINE_OFFSET(a4),d4 ;Offset in words
add.w CTRL_SINE_SPEED(a4),d4 ;Get speed (movement per frame)
and.w #LIB_GENSIN_16384_2048W_OFFSET_MASK,d4 ;Ensure in range
move.w d4,CTRL_SINE_OFFSET(a4) ;Save for next frame
move.w CTRL_SINE_FREQ(a4),a2 ;Get step (movement per pixel)
;d2=cur offset, d3=step
moveq #0,d6 ;num visible lines
move.w #LIB_GENSIN_16384_2048W_OFFSET_MASK,d3
move.w #RIPPLE_TABLE_NUMWORDS-1,d7
move.w (a0,d4.w),d0 ;Do first iteration outside loop
bra.s .show ;always show first line
.l0:
move.w (a0,d4.w),d0 ;-16 to 16
cmp.w d1,d0
blt.s .skip
bgt.s .rept
.show:
move.w d0,d1
moveq #0,d0
;addq.w #1,d6 ;1 more visible line
bra.s .write
.rept:
move.w d0,d1
moveq #1,d0
;addq.w #2,d6 ;rept lines counts as 2
bra.s .write
.skip:
move.w d0,d1
;subq.w #1,d6 ;no visble line
moveq #-1,d0
.write:
move.w d0,(a1)+ ;save value
add.w a2,d4 ;Sine1 offset+=step
and.w d3,d4 ;Ensure in range
;add.w a3,d5 ;Sine1 offset+=step
;and.w d3,d5 ;Ensure in range
dbf d7,.l0
;Write number of visible lines
;subq.w #1,d6
move.w #BPL_BUF_HEIGHT-1,CTRL_RIPPLE_VISIBLE_LINES(a5)
.exit:
rts
*****************************************************************************
* Loads the current colors into the current copperlist if changed.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0/a0-a1
*****************************************************************************
Copper_Write_Palette:
;Load flag may be > 1 if using double buffered CL or changing between CLs
tst.w CTRL_PALETTE_LOAD_FLAG(a5)
bne.s .active
rts
.active:
subq.w #1,CTRL_PALETTE_LOAD_FLAG(a5)
lea PAL_Current(pc),a0
move.l CTRL_CL_LOG1_PTR(a5),a1
;Normal colors
lea P0_CL_COL_OFFSET+2(a1),a1
rept PAL_NUMCOLS_MAIN
move.w (a0)+,(a1)
addq.l #4,a1 ;next color
endr
.exit:
rts
*****************************************************************************
* Loads the current zoom into the current copperlist if changed.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d7/a0-a4
*****************************************************************************
Copper_Write_Ripple:
;Load flag may be > 1 if using double buffered CL or changing between CLs
tst.w CTRL_RIPPLE_LOAD_FLAG(a5)
beq .exit
subq.w #1,CTRL_RIPPLE_LOAD_FLAG(a5)
move.l CTRL_CL_LOG1_PTR(a5),a0
lea P0_CL_PATTERN_OFFSET+CL_PATTERN_BPLCON0+2(a0),a1
move.w #CL_PATTERN_SIZEOF,a2
lea Ripple_Table,a3
move.w #BPL_BUF_HEIGHT-1,d4
move.w #BPL_VSCROLL_BPLMOD_REPTLINE,d0
move.w #BPL_VSCROLL_BPLMOD,d1
move.w #BPL_VSCROLL_BPLMOD_SKIPLINE,d2
move.w #ZOOM_BPLCON0_ON,d3
move.w CTRL_RIPPLE_VISIBLE_LINES(a5),d5
;move.w d1,d0
;move.w d1,d2
;move.w #ZOOM_BPLCON0_ON,d0
.clearloop:
;move.w d0,(a1) ;bplcon0 (zoom routine may have changed)
tst.w (a3)+
;bra.s .show
beq.s .show
bmi.s .skip
.rept:
move.w d3,(a1) ;bplcon0
move.w d0,4(a1) ;bpl1mod
;move.w d0,8(a1) ;bpl2mod
bra.s .next
.show:
move.w d3,(a1) ;bplcon0
move.w d1,4(a1)
;move.w d1,8(a1)
bra.s .next
.skip:
move.w d3,(a1) ;bplcon0
move.w d2,4(a1)
;move.w d2,8(a1)
.next:
;May need to turn off bplcon0 if number of visible lines is less than visible buf
subq.w #1,d5
bgt.s .nextloop
move.w #ZOOM_BPLCON0_OFF,d3
.nextloop:
add.w a2,a1
dbf d4,.clearloop
.exit:
rts
****************************************************************************
* Changes the scroll position of the text. And draws new text if needed
* IN: a6, custom
* a5, Controller_Info
* OUT:
* TRASHED: None
*****************************************************************************
Text_Scroll:
;Scroll text?
subq.w #1,CTRL_TEXT_VSCROLL_DELAY(a5)
bpl.s .updatecopper ;Even if skipping, because double buffered
move.w #1,CTRL_TEXT_VSCROLL_DELAY(a5)
move.w CTRL_TEXT_VSCROLL(a5),d0
addq.w #1,d0
cmp.w #VSCROLL_MAX,d0
blt.s .vscrollok
move.w #VSCROLL_MIN,d0
.vscrollok:
move.w d0,CTRL_TEXT_VSCROLL(a5)
;Time to draw text (line spacing counter)?
subq.w #1,CTRL_TEXT_VSCROLL_NEXTLINE_COUNTER(a5)
.updatecopper:
move.w CTRL_TEXT_VSCROLL(a5),d0
move.l CTRL_CL_LOG1_PTR(a5),a0
lea P0_CL_BPL_PF1_OFFSET+2(a0),a0 ;copper bpl pointer block
mulu #BPL_BUF_VSCROLL_BYTEWIDTH*BPL_BUF_VSCROLL_NUMPLANES,d0
add.l CTRL_BPL_VSCROLL_LOG1_PTR(a5),d0
moveq #BPL_BUF_VSCROLL_BYTEWIDTH,d1
moveq #BPL_BUF_VSCROLL_NUMPLANES-1,d2
.l:
swap d0 ;Swap high & low words
move.w d0,(a0) ;High ptr
swap d0 ;Swap high & low words
move.w d0,4(a0) ;Low ptr
addq.l #8,a0 ;Next set of ptrs
add.l d1,d0 ;Next bitplane
dbf d2,.l
;Check current status for what to do with text
;0=clear,1=draw,2=wait
move.w CTRL_TEXT_VSCROLL_STATUS(a5),d0
beq.s .clear
cmp.w #1,d0
beq.s .draw
;fallthrough - wait until ready to copy line to screen
tst.w CTRL_TEXT_VSCROLL_NEXTLINE_COUNTER(a5)
ble.s .copy
;Have to clear a line as we allowing variable Y spacing
bsr Text_Draw_ClearLine
rts
.clear:
;Have to clear a line as we allowing variable Y spacing
bsr Text_Draw_ClearLine
bra Text_Draw_ClearBuffer ;Clear font buffer
;rts
.draw:
;Have to clear a line as we allowing variable Y spacing
bsr Text_Draw_ClearLine
bra Text_Draw_BlitChars ;Blit a number of chars to current line
rts
.copy:
;reset line counter
;move.w #BPL_BUF_TEXT_HEIGHT,CTRL_TEXT_VSCROLL_NEXTLINE_COUNTER(a5)
move.w #VSCROLL_Y_SPACING,CTRL_TEXT_VSCROLL_NEXTLINE_COUNTER(a5)
bra Text_Draw_CopyBuffer ;Copy font buffer to screen
;rts
****************************************************************************
* Clears the font draw buffer, and gets ready to draw new chars.
* IN: a6, custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d3/a0/a2/a3
*****************************************************************************
Text_Draw_ClearBuffer:
;Clear the text draw area
WAITBLIT_NASTY_A6
move.l #$01000000,bltcon0(a6)
move.l CTRL_BPL_TEXT_LOG1_PTR(a5),bltdpth(a6)
move.w #0,bltdmod(a6)
move.w #((BPL_BUF_TEXT_HEIGHT*BPL_BUF_VSCROLL_NUMPLANES)*64)+BPL_BUF_VSCROLL_WORDWIDTH,bltsize(a6)
;Work out number of chars and centering start X
bsr Text_Calc_Line_Details ;T:d0-d1/a0-a4
addq.w #1,CTRL_TEXT_VSCROLL_STATUS(a5) ;next stage is draw letters
rts
****************************************************************************
* Copies the font buffer to the screen in two places for scrolling.
* IN: a6, custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d3/a0/a2/a3
*****************************************************************************
Text_Draw_CopyBuffer:
;Source is easy, our font buffer
move.l CTRL_BPL_TEXT_LOG1_PTR(a5),a0
;Top draw area
move.w CTRL_TEXT_VSCROLL(a5),d0
sub.w #BPL_BUF_TEXT_HEIGHT,d0
mulu #BPL_BUF_VSCROLL_MOD_LINE,d0
move.l CTRL_BPL_VSCROLL_LOG1_PTR(a5),a1
add.l d0,a1
;Copy the text draw area
WAITBLIT_NASTY_A6
move.l #$09f00000,bltcon0(a6)
move.l #-1,bltafwm(a6)
move.l #0,bltamod(a6) ;A/DMOD
move.l a0,bltapth(a6) ;Font buffer
move.l a1,bltdpth(a6) ;Screen
move.w #((BPL_BUF_TEXT_HEIGHT*BPL_BUF_VSCROLL_NUMPLANES)*64)+BPL_BUF_VSCROLL_WORDWIDTH,bltsize(a6)
;Also copy the text drawn to CTRL_TEXT_VSCROLL+BPL_BUF_HEIGHT as well, remember we subbed
;BPL_BUF_TEXT_HEIGHT above so have to fix that with + BPL_BUF_TEXT_HEIGHT here
lea (BPL_BUF_HEIGHT+BPL_BUF_TEXT_HEIGHT)*BPL_BUF_VSCROLL_MOD_LINE(a1),a1
WAITBLIT_NASTY_A6
;move.l #$09f00000,bltcon0(a6)
;move.l #-1,bltafwm(a6)
;move.l #0,bltamod(a6) ;A/DMOD
move.l a0,bltapth(a6) ;Font buffer
move.l a1,bltdpth(a6) ;Screen
move.w #((BPL_BUF_TEXT_HEIGHT*BPL_BUF_VSCROLL_NUMPLANES)*64)+BPL_BUF_VSCROLL_WORDWIDTH,bltsize(a6)
clr.w CTRL_TEXT_VSCROLL_STATUS(a5) ;reset stage to clear
rts
****************************************************************************
* Clears a single line so that we can do variable Y spacing much larger than font
* buffer. Must be done each frame unless running Text_Draw_CopyBuffer
* IN: a6, custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d3/a0/a2/a3
*****************************************************************************
Text_Draw_ClearLine:
;Top draw area
move.w CTRL_TEXT_VSCROLL(a5),d0
;sub.w #BPL_BUF_TEXT_HEIGHT,d0
;Clearing just the LAST line in BPL_BUF_TEXT_HEIGHT buf just above top of visible
subq.w #1,d0
mulu #BPL_BUF_VSCROLL_MOD_LINE,d0
move.l CTRL_BPL_VSCROLL_LOG1_PTR(a5),a0
add.l d0,a0
;Clear the text draw area
WAITBLIT_NASTY_A6
move.l #$01000000,bltcon0(a6)
move.l a0,bltdpth(a6)
move.w #0,bltdmod(a6)
move.w #((1*BPL_BUF_VSCROLL_NUMPLANES)*64)+BPL_BUF_VSCROLL_WORDWIDTH,bltsize(a6)
;Clear last line of bottom draw area. Last line of buffer is BPL_BUF_TEXT_HEIGHT-1
;-1 above so have to fix that with +1 here.
;+1 +BPL_BUF_TEXT_HEIGHT -1 = BPL_BUF_TEXT_HEIGHT
lea (BPL_BUF_HEIGHT+BPL_BUF_TEXT_HEIGHT)*BPL_BUF_VSCROLL_MOD_LINE(a0),a0
WAITBLIT_NASTY_A6
;move.l #$01000000,bltcon0(a6)
move.l a0,bltdpth(a6)
;move.w #0,bltdmod(a6)
move.w #((1*BPL_BUF_VSCROLL_NUMPLANES)*64)+BPL_BUF_VSCROLL_WORDWIDTH,bltsize(a6)
rts
****************************************************************************
* Draws a line of text to the text buffer. May be called multiple times
* until entire line is drawn.
* IN: a6, custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d3/a0/a2/a3
*****************************************************************************
Text_Draw_BlitChars:
tst.w CTRL_TEXT_FINISHED(a5)
beq.s .notfinished
rts
.notfinished:
moveq #VSCROLL_MAX_CHARS_PER_FRAME,d7
move.l CTRL_TEXT_PTR(a5),a4
move.b (a4)+,d2 ;Get first letter of line or null or lf
bne.s .notnull ;End of scroller
lea Scroller_Text,a4
move.w #1,CTRL_TEXT_FINISHED(a5)
bra.s .endline ;Copy blank line cleared aboive
.notnull:
move.w CTRL_TEXT_X(a5),d4 ;Current X
.letterloop:
cmp.b #10,d2 ;linefeed?
beq.s .endline
cmp.b #32,d2 ;Space?
bne.s .notspace
addq.w #FONT8PX_SPACE_WIDTH,d4
bra.s .nextletter ;Done for this letter
.notspace:
cmp.w #FONT8PX_MAX_X,d4
bgt.s .nextletter
.drawletter:
subq.w #1,d7 ;Another blitted char
move.w d4,d0 ;Current x
;moveq #0,d1 ;Y is always 0
move.l CTRL_BPL_TEXT_LOG1_PTR(a5),a0
bsr Text_Blit_Letter ;I:a0/a6, O:d0, T:d0-d3/a0/a2/a3
add.w d0,d4 ;next X based on previous letter
.nextletter:
tst.w d7
beq.s .exit ;Save pointer and rerun next frame
move.b (a4)+,d2 ;Next letter
bra.s .letterloop
.endline:
move.w #2,CTRL_TEXT_VSCROLL_STATUS(a5) ;next stage is wait
.exit:
move.l a4,CTRL_TEXT_PTR(a5) ;Save pointer for next time
move.w d4,CTRL_TEXT_X(a5) ;Save current X
rts
****************************************************************************
* Prepares a line of text, works out starting x value for centered text
* also gets the kingcon bobtable offsets for all the letters so don't need
* to repeat the calculation when blitting.
* IN: a6, custom
* a5, Controller_Info
* OUT:
* TRASHED: d0-d1/a0-a4
*****************************************************************************
Text_Calc_Line_Details:
tst.w CTRL_TEXT_FINISHED(a5)
beq.s .notfinished
rts
.notfinished:
lea Mult_LIB_BOBTABLE_SIZEOF,a1 ;premult
lea FAR_Font8px,a2 ;char to bob number
lea BOB_Font8px,a3 ;bob number to bpl
move.l CTRL_TEXT_PTR(a5),a0
move.b (a0)+,d0 ;Get first letter of line or null
bne.s .new ;End of scroller?
clr.w CTRL_TEXT_X(a5)
rts
.new:
moveq #0,d1 ;Initial width
moveq #0,d2 ;Initial number of chars
.letterloop:
addq.w #1,d2 ;numchars++
cmp.b #10,d0 ;linefeed?
beq.s .linefeed
cmp.b #32,d0 ;Space?
bne.s .notspace
addq.w #FONT8PX_SPACE_WIDTH,d1
bra.s .nextletter
.notspace:
;Work out the size of text
ext.w d0
move.b (a2,d0.w),d0 ;bob number (top d0 still clear)
bmi.s .nextletter ;is letter valid? ($ff is invalid, we assume >127 for bmi)
;mulu #LIB_BOBTABLE_SIZEOF,d0
add.w d0,d0 ;bob num to word offset
move.w (a1,d0.w),d0 ;LIB_BOBTABLE_SIZEOF*bob num
add.w LIB_BOBTABLE_WIDTH(a3,d0.w),d1 ;Increase X by width
.nextletter:
move.b (a0)+,d0
cmp.b #10,d0 ;linefeed?
beq.s .linefeed
IFNE FONT8PX_X_SPACING ;Additional spacing
addq.w #FONT8PX_X_SPACING,d1
ENDC
bra .letterloop
.linefeed
;We have the width so work out the centered X start
lsr.w #1,d1 ;W/2
move.w #BPL_BUF_VSCROLL_WIDTH/2,d0
sub.w d1,d0
move.w d0,CTRL_TEXT_X(a5) ;Store starting X
rts
****************************************************************************
* Draws a letter from font1 at given x,y using blitter copy.
* Note assumes BOB BPL is interleaved.
* This routine only plots at any x position. Slower than Aligned version.
* IN: a6, custom
* a5, Controller_Info
* a0, screen
* (a1, y premult)
* d0.w, x
* d1.w, y
* d2.b, ascii value
* OUT:
* TRASHED: d0-d3/a0/a2/a3
*****************************************************************************
Text_Blit_Letter:
lea FAR_Font8px,a2
ext.w d2 ;clear top
move.b (a2,d2.w),d2 ;bob number (top d2 still clear)
bmi .badletter ;is letter valid? $ff = not valid, assume >127 bad with bmi
lea BOB_Font8px,a2
mulu #LIB_BOBTABLE_SIZEOF,d2 ;find bob entry for this letter
lea (a2,d2.w),a2
move.l CTRL_BPL_FONT(a5),a3 ;root bob bitplane data
add.l LIB_BOBTABLE_OFFSET(a2),a3 ;offset to bob bpl
;If premult table available, use it
;add.w d1,d1 ;y value, access table in words
;add.w (a1,d1.w),a0 ;add y value to screen adr
;Removed as Y always 0
;mulu #BPL_BUF_VSCROLL_BYTEWIDTH*BPL_BUF_VSCROLL_NUMPLANES,d1
;add.l d1,a0
ext.l d0 ;ensure top word clear
ror.l #4,d0 ;hiword of d0 contains shift in highest nibble
add.w d0,d0 ;loword d0 contains byte offset into screen
add.w d0,a0 ;add byte offset to y address
swap d0 ;d0 word now contains shift value
or.w #BLT_SRC_ACD+(BLT_A|BLT_C),d0 ;$bfa,D=A|C
swap d0 ;d0=bltcon0 and bltcon1
clr.w d0 ;bltcon1=0
; Need to have an extra word for shifting, so artificially increased
; bob size by 1 word (and -2 for modulos)
IFEQ FONT8PX_MONO ;proportional, have to work out widths
move.w LIB_BOBTABLE_WIDTHINWORDS(a2),d3
addq.w #1,d3 ;extra word for shifting
move.w d3,d1
add.w #FONT8PX_HEIGHT*FONT8PX_NUMPLANES*64,d1 ;bltsize
add.w d3,d3 ;bytewidth
moveq #BPL_BUF_VSCROLL_BYTEWIDTH,d2 ;ensure top of d2 is 0
sub.w d3,d2 ;modulo
ELSE
move.w #FONT8PX_BLTSIZE+1,d1 ;same for all bobs (mono font)
moveq #BPL_BUF_VSCROLL_BYTEWIDTH-(FONT8PX_BLT_BYTEWIDTH+2),d2 ;modulo (top of d2 is 0)
;+1/+2 extra word for shifting,
ENDC
WAITBLIT_NASTY_A6
move.l d0,bltcon0(a6)
move.l #$ffff0000,bltafwm(a6) ;mask last word as it part of next letter!
move.w d2,bltcmod(a6)
move.w #-2,bltamod(a6) ; interleaved (mod 0) but have extra word for shifting
move.w d2,bltdmod(a6)
move.l a0,bltcpth(a6) ;Screen
move.l a3,bltapth(a6) ;BOB data
move.l a0,bltdpth(a6) ;Screen
move.w d1,bltsize(a6)
.exit:
move.w LIB_BOBTABLE_WIDTH(a2),d0 ;Actual pixel width we used
IFNE FONT8PX_X_SPACING ;Additional spacing
addq.w #FONT8PX_X_SPACING,d0
ENDC
rts
.badletter:
moveq #0,d0 ;Moved on 0 px
rts
*****************************************************************************
* Intialises a bar..
* IN: a0, bar address
* a5, Controller_Info
* d0, colour
* d1, pos
* d2, vel
* d3, music mask
* d4, sine offset 1
* d5, sine offset 1
* OUT:
* TRASHED: d0-d1/a0-a1
*****************************************************************************
Bar_Init_Bar:
movem.l d2-d7/a2-a6,-(sp)
move.w d0,BAR_COL(a0)
move.w d1,BAR_MUSICSYNCMASK(a0)
move.w d2,BAR_SINE1_OFFSET(a0)
move.w d3,BAR_SINE2_OFFSET(a0)
move.w #BAR_FADE_LEVEL_MAX,BAR_FADE_LEVEL(a0) ;darkest
clr.w BAR_POS(a0) ;set by sine wave
clr.w BAR_COUNTER(a0)
bsr Bar_Create_Bar_Palette ;I:a0, T:d0-d7/a0-a4
movem.l (sp)+,d2-d7/a2-a6
rts
*****************************************************************************
* Clears the bar at given position (rather than clearing whole list)
* IN: a0, bar address
** OUT:
* TRASHED: d0-d2/a0
*****************************************************************************
Bar_Clear_Bars_BLT:
; move.l CL_Log1_Ptr(pc),a0
; lea P0_CL_BAR_OFFSET+CL_BAR_CMOVE_COL+2(a0),a0 ;Ptr to first COLOR value
; moveq #CL_PATTERN_SIZEOF,d1
; moveq #0,d2
; move.w #BPL_BUF_HEIGHT-1,d0
;.loop:
; move.w d2,(a0)
; add.w d1,a0
; dbf d0,.loop
;For blit clear we are just clearing a single word (the color00 value)
;and then using bltdmod to skip to next line
move.l CTRL_CL_LOG1_PTR(a5),a0
lea P0_CL_PATTERN_OFFSET+CL_BAR_CMOVE_COL+2(a0),a0 ;Ptr to first COLOR value
WAITBLIT_NASTY_A6
move.l #$01000000,bltcon0(a6)
move.w #CL_PATTERN_SIZEOF-2,bltdmod(a6)
move.l a0,bltdpth(a6)
move.w #(BPL_HEIGHT*64)+1,bltsize(a6) ;single word per line clear
rts
*****************************************************************************
* Draws a bar at given position.
* IN:
* OUT:
* TRASHED: d0-d7/a1-a2
*****************************************************************************
Bar_Draw_Bars:
lea Bar_List,a3
WAITBLIT_NASTY_A6 ;Let bar clear finish
;Draw first bar with less checks as screen is already black
bsr Bar_Draw_First_Bar ;T:d0-d5/a0-a2
;draw the remaining bars (one less bar)
moveq #NUM_BARS-1-1,d7
.barloop:
move.l (a3)+,a0
bsr Bar_Draw_Bar ;T:d0-d5/a0-a2
dbf d7,.barloop
rts
*****************************************************************************
* Draws a bar at given position.
* IN: a0, bar address
* OUT:
* TRASHED: d0-d6/a1-a2
*****************************************************************************
Bar_Draw_First_Bar:
; Get a pointer to the current palette
move.l CTRL_CL_LOG1_PTR(a5),a1
lea P0_CL_PATTERN_OFFSET+CL_BAR_CMOVE_COL+2(a1),a1 ;Ptr to 1st COLOR value
move.w BAR_POS(a0),d0
lea BAR_PAL(a0),a2 ;source palette
moveq #BAR_HEIGHT,d6
;Check min and may values
sub.w #BAR_HEIGHT/2,d0 ;Pos is the centre of bar
bpl.s .minyok
add.w d0,d6 ;Subtract overflow from height
neg.w d0 ;Have to skip this many bar entries
add.w d0,d0 ;pal entries in words
add.w d0,a2
moveq #0,d0 ;Start at CL pos 0
bra.s .draw ;No more checks needed
.minyok:
move.w d0,d1
moveq #BAR_HEIGHT,d2
add.w d2,d1 ;Y+barheight
sub.w #BPL_HEIGHT-1,d1 ;Check if overrun
bmi.s .maxyok
sub.w d1,d2 ;How many entries to cut from end?
sub.w d1,d6
.maxyok:
;For this bar position find the correct starting place in CL
mulu #CL_PATTERN_SIZEOF,d0
add.l d0,a1
.draw:
;If flicker on then force half brightness to simulate a flicker
move.w BAR_FADE_LEVEL(a0),d0 ;level
tst.w BAR_FLICKER(a0)
beq.s .getpalette
addq.w #2,d0 ;increase fade by 2
cmp.w #BAR_FADE_LEVEL_MAX,d0
ble.s .getpalette
move.w #BAR_FADE_LEVEL_MAX,d0
.getpalette:
mulu #BAR_PAL_SIZEOF,d0
add.l d0,a2 ;Find palette for this level
;We can blit this straight into the CL, d6 is number of lines to blit
;Note: removed as it requires bars to be in chipmem at ~55KB
; lsl.w #6,d6 ;*64
; addq.w #1,d6 ;+1 word, d6 is bltsize
; WAITBLIT_NASTY_A6
; move.l #$09f00000,bltcon0(a6)
; move.l #-1,bltafwm(a6)
; move.w #0,bltamod(a6) ;no mod
; move.w #CL_PATTERN_SIZEOF-2,bltdmod(a6)
; move.l a2,bltapth(a6) ;bar colors
; move.l a1,bltdpth(a6) ;cl
; move.w d6,bltsize(a6)
; rts
subq.w #1,d6 ;-1 for dbf
bmi.s .exit
.line:
move.w (a2)+,(a1) ;Bar colour straight into CL
lea CL_PATTERN_SIZEOF(a1),a1 ;next line
dbf d6,.line
.exit:
rts
*****************************************************************************
* Draws a bar at given position.
* IN: a0, bar address
* OUT:
* TRASHED: d0-d6/a1-a2
*****************************************************************************
Bar_Draw_Bar:
; Get a pointer to the current palette
move.l CTRL_CL_LOG1_PTR(a5),a1
lea P0_CL_PATTERN_OFFSET+CL_BAR_CMOVE_COL+2(a1),a1 ;Ptr to 1st COLOR value
move.w BAR_POS(a0),d0
lea BAR_PAL(a0),a2 ;source palette
moveq #BAR_HEIGHT,d6
;Check min and may values
sub.w #BAR_HEIGHT/2,d0 ;Pos is the centre of bar
bpl.s .minyok
add.w d0,d6 ;Subtract overflow from height
neg.w d0 ;Have to skip this many bar entries
add.w d0,d0 ;pal entries in words
add.w d0,a2
moveq #0,d0 ;Start at CL pos 0
bra.s .draw ;No more checks needed
.minyok:
move.w d0,d1
moveq #BAR_HEIGHT,d2
add.w d2,d1 ;Y+barheight
sub.w #BPL_HEIGHT-1,d1 ;Check if overrun
bmi.s .maxyok
sub.w d1,d2 ;How many entries to cut from end?
sub.w d1,d6
.maxyok:
;For this bar position find the correct starting place in CL
mulu #CL_PATTERN_SIZEOF,d0
add.l d0,a1
.draw:
;If flicker on then force half brightness to simulate a flicker
move.w BAR_FADE_LEVEL(a0),d0 ;level
tst.w BAR_FLICKER(a0)
beq.s .getpalette
addq.w #1,d0 ;increase fade by 4
cmp.w #BAR_FADE_LEVEL_MAX,d0
ble.s .getpalette
move.w #BAR_FADE_LEVEL_MAX,d0
.getpalette:
mulu #BAR_PAL_SIZEOF,d0
add.l d0,a2 ;Find palette for this level
subq.w #1,d6 ;-1 for dbf
bmi.s .exit
.line:
move.w (a2)+,d0 ;Bar colour
beq.s .nextloop ;No calc needed
move.w (a1),d1 ;Screen colour
bne.s .notblack
move.w d0,(a1) ;Store new colour
bra.s .nextloop
.notblack:
RGB12_ADD ;I:d0-d1, O:d0, T:d0-d5
move.w d0,(a1) ;Store new colour
.nextloop:
lea CL_PATTERN_SIZEOF(a1),a1 ;next line
dbf d6,.line
.exit:
rts
*****************************************************************************
* Updates the animation and level for all bars.
* IN: a5, Controller_Info
* OUT:
* TRASHED: d0-d3/a0
*****************************************************************************
Bar_Animate_Bars:
moveq #NUM_BARS-1,d7
lea Bar_List,a4
.barloop:
move.l (a4)+,a0
bsr Bar_Animate ;I:a0/a5, T:d0-d2/a0
dbf d7,.barloop
rts
*****************************************************************************
* Sets the bar level and moves position.
* IN: a0, bar address
* a5, Controller_Info
* OUT:
* TRASHED: d0-d3/a0-a1
*****************************************************************************
Bar_Animate:
move.w #LIB_GENSIN_16384_2048W_OFFSET_MASK,d2
move.w BAR_SINE1_OFFSET(a0),a1 ;get sine structure offset
lea (a5,a1.w),a1 ;Get offset from Controller_Info
move.w CTRL_SINE_OFFSET(a1),d0 ;Offset in words
add.w CTRL_SINE_SPEED(a1),d0 ;Get speed (movement per frame)
and.w d2,d0 ;Ensure in range
move.w d0,CTRL_SINE_OFFSET(a1) ;Save for next frame
move.w BAR_SINE2_OFFSET(a0),a1 ;get sine structure offset
lea (a5,a1.w),a1 ;Get offset from Controller_Info
move.w CTRL_SINE_OFFSET(a1),d1 ;Offset in words
add.w CTRL_SINE_SPEED(a1),d1 ;Get speed (movement per frame)
and.w d2,d1 ;Ensure in range
move.w d1,CTRL_SINE_OFFSET(a1) ;Save for next frame
move.l CTRL_SINETAB_BARPOS_PTR(a5),a1
move.w (a1,d0.w),d0 ;Get actual value
add.w (a1,d1.w),d0
asr.w #1,d0
move.w d0,BAR_POS(a0) ;save new pos
;Animate new flashes in time with music
move.w CTRL_MUSICSYNC(a5),d0
move.w BAR_MUSICSYNCMASK(a0),d1
and.w d1,d0
cmp.w d1,d0
bne.s .checkflicker
;Set bar to max current brightness on music sync
move.w CTRL_BAR_FADE_VAL(a5),BAR_FADE_LEVEL(a0)
move.w #BAR_FADE_SPEED,BAR_COUNTER(a0)
clr.w BAR_FLICKER(a0)
rts
.checkflicker:
;If currently set to flicker mode, turn it off
tst.w BAR_FLICKER(a0)
beq.s .randomflicker
clr.w BAR_FLICKER(a0)
.randomflicker:
movem.l .seed(pc),d1-d2
move.l d2,d3
swap d3
add.l d1,d2
add.l d3,d1
movem.l d1-d2,.seed
cmp.w #32767,d3 ;65536/32767 chance of flicker
bhi.s .fade
move.w #1,BAR_FLICKER(a0)
.fade:
move.w BAR_COUNTER(a0),d0
bgt.s .dec
move.w #BAR_FADE_SPEED,BAR_COUNTER(a0) ;Quickness of fade
move.w BAR_FADE_LEVEL(a0),d1
moveq #BAR_FADE_LEVEL_MAX,d2
cmp.w d2,d1
bge.s .alreadydark
addq.w #1,d1 ;increase fade
cmp.w d2,d1
ble.s .storelevel
move.w d2,d1
.storelevel:
move.w d1,BAR_FADE_LEVEL(a0)
.alreadydark:
rts
.dec:
subq.w #1,d0 ;update counter
move.w d0,BAR_COUNTER(a0)
rts
.seed:
dc.l $3E50B28C,$D461A7F9
*****************************************************************************
* Sets up the palette for a bar based on its brightness
* IN: a0, bar address
* OUT:
* TRASHED: d0-d7/a0-a4
*****************************************************************************
;Pal_Mapping defines the colours of a bar from 15 to -15
;Take the base color, if fade level is +ve then this represents a fade
;step to black. So 14 is almost completely black
;A negative value is a fade level to white. -14 is step 14 to white.
;0 is the base colour
; We then have a global fade level from 0 to 15 (black) so
; we create 16 versions of the palette from 0 (no fade) to
; 15 (black) we can then quickly take a bars current fade level
; and the palette.
ifne 0
Bar_Create_Bar_Palette2:
move.l a0,-(sp)
; Get a pointer to the current palette
lea BAR_PAL(a0),a1 ;initial palette
lea PAL_Mapping,a2
move.w BAR_COL(a0),d5 ;base colour
moveq #BAR_HEIGHT-1,d6
.bar:
move.w d5,d0 ;source col
move.w (a2)+,d2 ;step
bpl.s .positive
neg.w d2 ;ASSERT: d2<=15
move.w #$fff,d1 ;dest col is white
jsr LIB_RGB12_Interpolate_Fast ;trashes d0-d4
bra.s .store1
.positive: ;d0 is base colour or lightened base colour
moveq #0,d1 ;dest col is black
jsr LIB_RGB12_Interpolate_Fast ;trashes d0-d4/a0
.store1:
move.w d0,(a1)+
dbf d6,.bar
;a1 is pointer to next palette
;We've just createed fade level 0 verion of the palette
;Now we create BAR_NUM_FADE_LEVELS-1 more from 1-15
moveq #BAR_NUM_FADE_LEVELS-1-1,d7
moveq #1,d6 ;Done step 0, start at 1
.fadepal:
move.l (sp),a0
lea BAR_PAL(a0),a2 ;source palette
moveq #BAR_HEIGHT-1,d5
.fadebar:
move.w (a2)+,d0
move.w #0,d1 ;dest col is black
move.w d6,d2 ;current step
jsr LIB_RGB12_Interpolate_Fast ;trashes d0-d4
move.w d0,(a1)+ ;Save new colour
dbf d5,.fadebar
addq.w #1,d6
dbf d7,.fadepal
move.l (sp)+,a0
rts
endif
Bar_Create_Bar_Palette:
;clear down the cache
lea Bar_Palette_Cache,a4
move.l a4,a3
moveq #BAR_NUM_FADE_LEVELS-1,d1
moveq #-1,d0 ;-1 is "no cached" value
.clearcache:
move.w d0,(a3)+
dbf d1,.clearcache
; Get a pointer to the current palette
lea BAR_PAL(a0),a1 ;initial palette
moveq #0,d7 ;starting step, 0-14
move.w BAR_COL(a0),d5 ;base colour
.palette:
moveq #BAR_HEIGHT-1,d6
lea PAL_Mapping,a2
.loop
move.w d5,d0 ;source col
move.w (a2)+,d2 ;step -15 to 15
add.w d7,d2 ;increase darkness by global step
moveq #15,d3
cmp.w d3,d2 ;keep in range -15 to 15
ble.s .stepok
move.w d3,d2 ;set to max
.stepok:
move.w d2,d3
add.w d3,d3 ;cache access in words
lea ((BAR_NUM_FADE_LEVELS/2)*2)(a4,d3.w),a3 ;still in -15 to 15 range
move.w (a3),d3 ;a3 is cache entry
bmi.s .calc
move.w d3,d0
bra.s .store
.calc:
tst.w d2
bpl.s .darken
neg.w d2 ;ASSERT: d2<=15
move.w #$fff,d1 ;dest col is white
jsr LIB_RGB12_Interpolate_Fast ;T:d0-d4/a0
move.w d0,(a3) ;Store value in cache
bra.s .store
.darken: ;d0 is base colour or lightened base colour
moveq #0,d1 ;dest col is black
jsr LIB_RGB12_Interpolate_Fast ;T:d0-d4/a0
move.w d0,(a3) ;Store value in cache
.store:
move.w d0,(a1)+
dbf d6,.loop
addq.w #1,d7 ;next step
cmpi.w #BAR_FADE_LEVEL_MAX,d7 ;Fade levels 0-15
ble.s .palette
rts
*****************************************************************************
*****************************************************************************
*****************************************************************************
;Include additional public data
include "SectionData_PublicData.asm"
*****************************************************************************
*****************************************************************************
*****************************************************************************
;Include additional chip data
include "SectionData_ChipData.asm"
*****************************************************************************
*****************************************************************************
*****************************************************************************
| 29.239387 | 122 | 0.639331 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.