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
d3318a26d4fbd81a96184c10f846932635527d7a
377
asm
Assembly
solutions/51 - Identify Yourselves/size-20_speed-16.asm
michaelgundlach/7billionhumans
02c6f3963364362c95cb516cbc6ef1efc073bb2e
[ "MIT" ]
45
2018-09-05T04:56:59.000Z
2021-11-22T08:57:26.000Z
solutions/51 - Identify Yourselves/size-20_speed-16.asm
michaelgundlach/7billionhumans
02c6f3963364362c95cb516cbc6ef1efc073bb2e
[ "MIT" ]
36
2018-09-01T11:34:26.000Z
2021-05-19T23:20:49.000Z
solutions/51 - Identify Yourselves/size-20_speed-16.asm
michaelgundlach/7billionhumans
02c6f3963364362c95cb516cbc6ef1efc073bb2e
[ "MIT" ]
36
2018-09-01T07:44:19.000Z
2021-09-10T19:07:35.000Z
-- 7 Billion Humans (2145) -- -- 51: Identify Yourselves -- -- Author: landfillbaby -- Size: 20 -- Speed: 16 step s pickup c if w == nothing: write 1 jump a endif if e == nothing: write 10 jump b endif write 0 c: mem1 = set w if mem1 > 0: mem1 = calc mem1 + 1 jump d endif mem1 = set e if mem1 > 0: mem1 = calc mem1 - 1 jump e endif jump c d: e: write mem1 a: b: drop
10.472222
29
0.633952
59316af08b763fd5be7983ec05d169a77c7843cf
1,932
asm
Assembly
c2000/C2000Ware_1_00_06_00/libraries/dsp/FPU/c28/source/utility/memset_fast.asm
ramok/Themis_ForHPSDR
d0f323a843ac0a488ef816ccb7c828032855a40a
[ "Unlicense" ]
null
null
null
c2000/C2000Ware_1_00_06_00/libraries/dsp/FPU/c28/source/utility/memset_fast.asm
ramok/Themis_ForHPSDR
d0f323a843ac0a488ef816ccb7c828032855a40a
[ "Unlicense" ]
null
null
null
c2000/C2000Ware_1_00_06_00/libraries/dsp/FPU/c28/source/utility/memset_fast.asm
ramok/Themis_ForHPSDR
d0f323a843ac0a488ef816ccb7c828032855a40a
[ "Unlicense" ]
1
2021-07-21T08:10:37.000Z
2021-07-21T08:10:37.000Z
;;############################################################################# ;;! \file source/vector/memset_fast.asm ;;! ;;! \brief Optimized memory set, int->dest ;;! \author David M. Alter ;;! \date 07/15/11 ;; ;; HISTORY: ;; 07/15/11 - original (D. Alter) ;; ;; DESCRIPTION: Optimized memory set, int->dest. ;; ;; FUNCTION: extern void memset_fast(void*, int16, Uint16); ;; ;; USAGE: memset_fast(dst, value, N); ;; ;; PARAMETERS: void* dst = pointer to destination ;; int16 value = initialization value ;; N = number of 16-bit words to initialize ;; ;; RETURNS: none ;; ;; BENCHMARK: 1 cycle per copy + ~20 cycles of overhead (including ;; the call and return). This assumes src and dst are located in ;; different internal RAM blocks. ;; ;; NOTES: ;; 1) The function checks for the case of N=0 and just returns if true. ;; ;; Group: C2000 ;; Target Family: C28x+FPU32 ;; ;;############################################################################# ;;$TI Release: C28x Floating Point Unit Library V1.50.00.00 $ ;;$Release Date: Oct 18, 2018 $ ;;$Copyright: Copyright (C) 2018 Texas Instruments Incorporated - ;; http://www.ti.com/ ALL RIGHTS RESERVED $ ;;############################################################################# .global _memset_fast .text _memset_fast: ADDB AH, #-1 ;Repeat "N-1" times BF done, NC ;Branch if N was zero RPT @AH || MOV *XAR4++, AL ;Initialize the memory ;Finish up done: LRETR ;return ;end of function memset_fast() ;********************************************************************* .end ;;############################################################################# ;; End of File ;;#############################################################################
32.2
79
0.441511
d5ba05b945e48c40b0f7771921b094712103b918
1,328
asm
Assembly
programs/oeis/057/A057682.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/057/A057682.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/057/A057682.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A057682: a(n) = Sum_{j=0..floor(n/3)} (-1)^j*binomial(n,3*j+1). ; 0,1,2,3,3,0,-9,-27,-54,-81,-81,0,243,729,1458,2187,2187,0,-6561,-19683,-39366,-59049,-59049,0,177147,531441,1062882,1594323,1594323,0,-4782969,-14348907,-28697814,-43046721,-43046721,0,129140163,387420489,774840978,1162261467,1162261467,0,-3486784401,-10460353203,-20920706406,-31381059609,-31381059609,0,94143178827,282429536481,564859072962,847288609443,847288609443,0,-2541865828329,-7625597484987,-15251194969974,-22876792454961,-22876792454961,0,68630377364883,205891132094649,411782264189298,617673396283947,617673396283947,0,-1853020188851841,-5559060566555523,-11118121133111046,-16677181699666569,-16677181699666569,0,50031545098999707,150094635296999121,300189270593998242,450283905890997363,450283905890997363,0,-1350851717672992089,-4052555153018976267,-8105110306037952534,-12157665459056928801,-12157665459056928801,0,36472996377170786403,109418989131512359209,218837978263024718418,328256967394537077627,328256967394537077627,0,-984770902183611232881,-2954312706550833698643,-5908625413101667397286,-8862938119652501095929,-8862938119652501095929,0,26588814358957503287787,79766443076872509863361,159532886153745019726722,239299329230617529590083 mov $2,2 lpb $0 sub $0,1 mov $1,$2 add $3,$2 mul $2,3 sub $2,$3 lpe div $1,2 mov $0,$1
94.857143
1,163
0.832078
2802631d0e0958b8d0bfccf78a2f0c818d2dce8d
180,029
asm
Assembly
src/x86/ipred.asm
ignatenkobrain/rav1e
a421d78fc6f1fd443b02edf8a3093c86275d0f0c
[ "BSD-2-Clause" ]
null
null
null
src/x86/ipred.asm
ignatenkobrain/rav1e
a421d78fc6f1fd443b02edf8a3093c86275d0f0c
[ "BSD-2-Clause" ]
null
null
null
src/x86/ipred.asm
ignatenkobrain/rav1e
a421d78fc6f1fd443b02edf8a3093c86275d0f0c
[ "BSD-2-Clause" ]
1
2021-01-29T08:25:44.000Z
2021-01-29T08:25:44.000Z
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright notice, this ; list of conditions and the following disclaimer. ; ; 2. 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 OWNER 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. %include "ext/x86/x86inc.asm" %if ARCH_X86_64 SECTION_RODATA 64 %macro SMOOTH_WEIGHT_TABLE 1-* %rep %0 db %1-128, 127-%1 %rotate 1 %endrep %endmacro ; sm_weights[], but modified to precalculate x and 256-x with offsets to ; enable efficient use of pmaddubsw (which requires signed values) smooth_weights: SMOOTH_WEIGHT_TABLE \ 0, 0, 255, 128, 255, 149, 85, 64, \ 255, 197, 146, 105, 73, 50, 37, 32, \ 255, 225, 196, 170, 145, 123, 102, 84, \ 68, 54, 43, 33, 26, 20, 17, 16, \ 255, 240, 225, 210, 196, 182, 169, 157, \ 145, 133, 122, 111, 101, 92, 83, 74, \ 66, 59, 52, 45, 39, 34, 29, 25, \ 21, 17, 14, 12, 10, 9, 8, 8, \ 255, 248, 240, 233, 225, 218, 210, 203, \ 196, 189, 182, 176, 169, 163, 156, 150, \ 144, 138, 133, 127, 121, 116, 111, 106, \ 101, 96, 91, 86, 82, 77, 73, 69, \ 65, 61, 57, 54, 50, 47, 44, 41, \ 38, 35, 32, 29, 27, 25, 22, 20, \ 18, 16, 15, 13, 12, 10, 9, 8, \ 7, 6, 6, 5, 5, 4, 4, 4 pb_1to32: db 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 db 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 pb_32to1: db 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17 pb_16to1: db 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 z_filter_wh: db 7, 7, 11, 11, 15, 15, 19, 19, 19, 23, 23, 23, 31, 31, 31, 39 db 39, 39, 47, 47, 47, 63, 63, 63, 79, 79, 79, -1 z_filter_k: db 0, 16, 0, 16, 0, 20, 0, 20, 8, 16, 8, 16 db 32, 16, 32, 16, 24, 20, 24, 20, 16, 16, 16, 16 db 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 8, 0 z_filter_s: db 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7 db 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15 db 15, 15, 15, 15, 15, 15, 15, 15 ; should be in one cache line pb_128: times 4 db 128 ; those are just placed here for alignment. pb_36_m4: times 2 db 36, -4 z3_shuf: db 8, 7, 7, 6, 6, 5, 5, 4, 4, 3, 3, 2, 2, 1, 1, 0 z_filter_t0: db 55,127, 39,127, 39,127, 7, 15, 31, 7, 15, 31, 0, 3, 31, 0 z_filter_t1: db 39, 63, 19, 47, 19, 47, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0 z_upsample1: db 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 5, 7, 6, 8, 7 z_upsample2: db 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8 z2_upsample: db 7, 6, 15, 14, 5, 4, 13, 12, 3, 2, 11, 10, 1, 0, 9, 8 z1_shuf_w4: db 0, 1, 1, 2, 2, 3, 3, 4, 8, 9, 9, 10, 10, 11, 11, 12 z2_shuf_h2: db 3, 2, 7, 6, 11, 10, 15, 14, 2, 1, 6, 5, 10, 9, 14, 13 z2_shuf_h4: db 7, 6, 15, 14, 6, 5, 14, 13, 5, 4, 13, 12, 4, 3, 12, 11 z3_shuf_w4: db 4, 3, 3, 2, 2, 1, 1, 0, 12, 11, 11, 10, 10, 9, 9, 8 z_transpose4: db 0, 4, 8, 12, 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15 z_base_inc: dw 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64 dw 16*64, 17*64, 18*64, 19*64, 20*64, 21*64, 22*64, 23*64 z2_base_inc: dw 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64, 8*64 dw 9*64, 10*64, 11*64, 12*64, 13*64, 14*64, 15*64, 16*64 z2_ymul: dw 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 z2_y_shuf_h4: db 90, 90, 90, 90, 14, 14, 14, 14, 27, 27, 27, 27, 31, 31, 31, 31 ; 2, 6, 3, 7 db 32, 32, 32, 32, 12, 12, 12, 12, 1, 0, 1, 0, 5, -1, -1, -1 ; 0, 4, 1, 5 ; vpermd indices in bits 4..6 of filter_shuf1: 0, 2, 6, 4, 1, 3, 7, 5 filter_shuf1: db 10, 4, 10, 4, 37, 6, 5, 6,103, 9, 7, 9, 72, -1, 8, -1 db 16, 4, 0, 4, 53, 6, 5, 6,119, 11, 7, 11, 95, -1, 15, -1 filter_shuf2: db 3, 4, 3, 4, 5, 6, 5, 6, 7, 2, 7, 2, 1, -1, 1, -1 filter_shuf3: db 3, 4, 3, 4, 5, 6, 5, 6, 7, 11, 7, 11; 15, -1, 15, -1 pb_127_m127: times 2 db 127, -127 ipred_v_shuf: db 0, 1, 0, 1, 4, 5, 4, 5, 8, 9, 8, 9, 12, 13, 12, 13 db 2, 3, 2, 3, 6, 7, 6, 7, 10, 11, 10, 11, 14, 15, 14, 15 ipred_h_shuf: db 7, 7, 7, 7, 3, 3, 3, 3, 5, 5, 5, 5, 1, 1, 1, 1 db 6, 6, 6, 6, 2, 2, 2, 2, 4, 4, 4, 4; 0, 0, 0, 0 pw_64: times 2 dw 64 cfl_ac_w16_pad_shuffle: ; w=16, w_pad=1 db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ; w=8, w_pad=1 as well as second half of previous one cfl_ac_w8_pad1_shuffle: db 0, 1, 2, 3, 4, 5 times 5 db 6, 7 ; w=16,w_pad=2 db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 times 8 db 14, 15 ; w=16,w_pad=3 db 0, 1, 2, 3, 4, 5 times 13 db 6, 7 pb_15to0: db 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 %define pb_0to15 cfl_ac_w16_pad_shuffle %define pb_1 (ipred_h_shuf+12) %define pb_2 (ipred_h_shuf+20) %define pb_3 (ipred_h_shuf+ 4) %define pb_4 (ipred_h_shuf+24) %define pb_5 (ipred_h_shuf+ 8) %define pb_7 (ipred_h_shuf+ 0) %define pb_8 (z_upsample2 +12) %define pb_12 (z2_y_shuf_h4+20) %define pb_14 (z2_y_shuf_h4+ 4) %define pb_15 (z_filter_s +32) %define pb_27 (z2_y_shuf_h4+ 8) %define pb_31 (z2_y_shuf_h4+12) %define pb_32 (z2_y_shuf_h4+16) %define pb_90 (z2_y_shuf_h4+ 0) %define pw_1 (z2_y_shuf_h4+24) %define pw_8 (z_filter_k +32) pw_62: times 2 dw 62 pw_128: times 2 dw 128 pw_255: times 2 dw 255 pw_512: times 2 dw 512 %macro JMP_TABLE 3-* %xdefine %1_%2_table (%%table - 2*4) %xdefine %%base mangle(private_prefix %+ _%1_%2) %%table: %rep %0 - 2 dd %%base %+ .%3 - (%%table - 2*4) %rotate 1 %endrep %endmacro %define ipred_dc_splat_avx2_table (ipred_dc_avx2_table + 10*4) %define ipred_cfl_splat_avx2_table (ipred_cfl_avx2_table + 8*4) JMP_TABLE ipred_smooth, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_smooth_v, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_smooth_h, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_paeth, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_filter, avx2, w4, w8, w16, w32 JMP_TABLE ipred_dc, avx2, h4, h8, h16, h32, h64, w4, w8, w16, w32, w64, \ s4-10*4, s8-10*4, s16-10*4, s32-10*4, s64-10*4 JMP_TABLE ipred_dc_left, avx2, h4, h8, h16, h32, h64 JMP_TABLE ipred_h, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_z1, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_z2, avx2, w4, w8, w16, w32, w64 JMP_TABLE ipred_z3, avx2, h4, h8, h16, h32, h64 JMP_TABLE ipred_cfl, avx2, h4, h8, h16, h32, w4, w8, w16, w32, \ s4-8*4, s8-8*4, s16-8*4, s32-8*4 JMP_TABLE ipred_cfl_left, avx2, h4, h8, h16, h32 JMP_TABLE ipred_cfl_ac_420, avx2, w16_pad1, w16_pad2, w16_pad3 JMP_TABLE ipred_cfl_ac_422, avx2, w16_pad1, w16_pad2, w16_pad3 JMP_TABLE pal_pred, avx2, w4, w8, w16, w32, w64 cextern dr_intra_derivative cextern filter_intra_taps SECTION .text INIT_YMM avx2 cglobal ipred_dc_top, 3, 7, 6, dst, stride, tl, w, h lea r5, [ipred_dc_left_avx2_table] tzcnt wd, wm inc tlq movu m0, [tlq] movifnidn hd, hm mov r6d, 0x8000 shrx r6d, r6d, wd movd xm3, r6d movsxd r6, [r5+wq*4] pcmpeqd m2, m2 pmaddubsw m0, m2 add r6, r5 add r5, ipred_dc_splat_avx2_table-ipred_dc_left_avx2_table movsxd wq, [r5+wq*4] add wq, r5 jmp r6 cglobal ipred_dc_left, 3, 7, 6, dst, stride, tl, w, h, stride3 mov hd, hm ; zero upper half tzcnt r6d, hd sub tlq, hq tzcnt wd, wm movu m0, [tlq] mov r5d, 0x8000 shrx r5d, r5d, r6d movd xm3, r5d lea r5, [ipred_dc_left_avx2_table] movsxd r6, [r5+r6*4] pcmpeqd m2, m2 pmaddubsw m0, m2 add r6, r5 add r5, ipred_dc_splat_avx2_table-ipred_dc_left_avx2_table movsxd wq, [r5+wq*4] add wq, r5 jmp r6 .h64: movu m1, [tlq+32] ; unaligned when jumping here from dc_top pmaddubsw m1, m2 paddw m0, m1 .h32: vextracti128 xm1, m0, 1 paddw xm0, xm1 .h16: punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 .h8: psrlq xm1, xm0, 32 paddw xm0, xm1 .h4: pmaddwd xm0, xm2 pmulhrsw xm0, xm3 lea stride3q, [strideq*3] vpbroadcastb m0, xm0 mova m1, m0 jmp wq cglobal ipred_dc, 3, 7, 6, dst, stride, tl, w, h, stride3 movifnidn hd, hm movifnidn wd, wm tzcnt r6d, hd lea r5d, [wq+hq] movd xm4, r5d tzcnt r5d, r5d movd xm5, r5d lea r5, [ipred_dc_avx2_table] tzcnt wd, wd movsxd r6, [r5+r6*4] movsxd wq, [r5+wq*4+5*4] pcmpeqd m3, m3 psrlw xm4, 1 add r6, r5 add wq, r5 lea stride3q, [strideq*3] jmp r6 .h4: movd xm0, [tlq-4] pmaddubsw xm0, xm3 jmp wq .w4: movd xm1, [tlq+1] pmaddubsw xm1, xm3 psubw xm0, xm4 paddw xm0, xm1 pmaddwd xm0, xm3 cmp hd, 4 jg .w4_mul psrlw xm0, 3 jmp .w4_end .w4_mul: punpckhqdq xm1, xm0, xm0 lea r2d, [hq*2] mov r6d, 0x55563334 paddw xm0, xm1 shrx r6d, r6d, r2d psrlq xm1, xm0, 32 paddw xm0, xm1 movd xm1, r6d psrlw xm0, 2 pmulhuw xm0, xm1 .w4_end: vpbroadcastb xm0, xm0 .s4: movd [dstq+strideq*0], xm0 movd [dstq+strideq*1], xm0 movd [dstq+strideq*2], xm0 movd [dstq+stride3q ], xm0 lea dstq, [dstq+strideq*4] sub hd, 4 jg .s4 RET ALIGN function_align .h8: movq xm0, [tlq-8] pmaddubsw xm0, xm3 jmp wq .w8: movq xm1, [tlq+1] vextracti128 xm2, m0, 1 pmaddubsw xm1, xm3 psubw xm0, xm4 paddw xm0, xm2 punpckhqdq xm2, xm0, xm0 paddw xm0, xm2 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 8 je .w8_end mov r6d, 0x5556 mov r2d, 0x3334 cmp hd, 32 cmovz r6d, r2d movd xm1, r6d pmulhuw xm0, xm1 .w8_end: vpbroadcastb xm0, xm0 .s8: movq [dstq+strideq*0], xm0 movq [dstq+strideq*1], xm0 movq [dstq+strideq*2], xm0 movq [dstq+stride3q ], xm0 lea dstq, [dstq+strideq*4] sub hd, 4 jg .s8 RET ALIGN function_align .h16: mova xm0, [tlq-16] pmaddubsw xm0, xm3 jmp wq .w16: movu xm1, [tlq+1] vextracti128 xm2, m0, 1 pmaddubsw xm1, xm3 psubw xm0, xm4 paddw xm0, xm2 paddw xm0, xm1 punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 16 je .w16_end mov r6d, 0x5556 mov r2d, 0x3334 test hb, 8|32 cmovz r6d, r2d movd xm1, r6d pmulhuw xm0, xm1 .w16_end: vpbroadcastb xm0, xm0 .s16: mova [dstq+strideq*0], xm0 mova [dstq+strideq*1], xm0 mova [dstq+strideq*2], xm0 mova [dstq+stride3q ], xm0 lea dstq, [dstq+strideq*4] sub hd, 4 jg .s16 RET ALIGN function_align .h32: mova m0, [tlq-32] pmaddubsw m0, m3 jmp wq .w32: movu m1, [tlq+1] pmaddubsw m1, m3 paddw m0, m1 vextracti128 xm1, m0, 1 psubw xm0, xm4 paddw xm0, xm1 punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 32 je .w32_end lea r2d, [hq*2] mov r6d, 0x33345556 shrx r6d, r6d, r2d movd xm1, r6d pmulhuw xm0, xm1 .w32_end: vpbroadcastb m0, xm0 .s32: mova [dstq+strideq*0], m0 mova [dstq+strideq*1], m0 mova [dstq+strideq*2], m0 mova [dstq+stride3q ], m0 lea dstq, [dstq+strideq*4] sub hd, 4 jg .s32 RET ALIGN function_align .h64: mova m0, [tlq-64] mova m1, [tlq-32] pmaddubsw m0, m3 pmaddubsw m1, m3 paddw m0, m1 jmp wq .w64: movu m1, [tlq+ 1] movu m2, [tlq+33] pmaddubsw m1, m3 pmaddubsw m2, m3 paddw m0, m1 paddw m0, m2 vextracti128 xm1, m0, 1 psubw xm0, xm4 paddw xm0, xm1 punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 64 je .w64_end mov r6d, 0x33345556 shrx r6d, r6d, hd movd xm1, r6d pmulhuw xm0, xm1 .w64_end: vpbroadcastb m0, xm0 mova m1, m0 .s64: mova [dstq+strideq*0+32*0], m0 mova [dstq+strideq*0+32*1], m1 mova [dstq+strideq*1+32*0], m0 mova [dstq+strideq*1+32*1], m1 mova [dstq+strideq*2+32*0], m0 mova [dstq+strideq*2+32*1], m1 mova [dstq+stride3q +32*0], m0 mova [dstq+stride3q +32*1], m1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .s64 RET cglobal ipred_dc_128, 2, 7, 6, dst, stride, tl, w, h, stride3 lea r5, [ipred_dc_splat_avx2_table] tzcnt wd, wm movifnidn hd, hm movsxd wq, [r5+wq*4] vpbroadcastd m0, [r5-ipred_dc_splat_avx2_table+pb_128] mova m1, m0 add wq, r5 lea stride3q, [strideq*3] jmp wq cglobal ipred_v, 3, 7, 6, dst, stride, tl, w, h, stride3 lea r5, [ipred_dc_splat_avx2_table] tzcnt wd, wm movu m0, [tlq+ 1] movu m1, [tlq+33] movifnidn hd, hm movsxd wq, [r5+wq*4] add wq, r5 lea stride3q, [strideq*3] jmp wq %macro IPRED_H 2 ; w, store_type vpbroadcastb m0, [tlq-1] vpbroadcastb m1, [tlq-2] vpbroadcastb m2, [tlq-3] sub tlq, 4 vpbroadcastb m3, [tlq+0] mov%2 [dstq+strideq*0], m0 mov%2 [dstq+strideq*1], m1 mov%2 [dstq+strideq*2], m2 mov%2 [dstq+stride3q ], m3 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w%1 RET ALIGN function_align %endmacro INIT_XMM avx2 cglobal ipred_h, 3, 6, 4, dst, stride, tl, w, h, stride3 lea r5, [ipred_h_avx2_table] tzcnt wd, wm movifnidn hd, hm movsxd wq, [r5+wq*4] add wq, r5 lea stride3q, [strideq*3] jmp wq .w4: IPRED_H 4, d .w8: IPRED_H 8, q .w16: IPRED_H 16, a INIT_YMM avx2 .w32: IPRED_H 32, a .w64: vpbroadcastb m0, [tlq-1] vpbroadcastb m1, [tlq-2] vpbroadcastb m2, [tlq-3] sub tlq, 4 vpbroadcastb m3, [tlq+0] mova [dstq+strideq*0+32*0], m0 mova [dstq+strideq*0+32*1], m0 mova [dstq+strideq*1+32*0], m1 mova [dstq+strideq*1+32*1], m1 mova [dstq+strideq*2+32*0], m2 mova [dstq+strideq*2+32*1], m2 mova [dstq+stride3q +32*0], m3 mova [dstq+stride3q +32*1], m3 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w64 RET %macro PAETH 2 ; top, ldiff pavgb m1, m%1, m3 ; Calculating tldiff normally requires pxor m0, m%1, m3 ; 10-bit intermediates, but we can do it pand m0, m4 ; in 8-bit with some tricks which avoids psubusb m2, m5, m1 ; having to unpack everything to 16-bit. psubb m1, m0 psubusb m1, m5 por m1, m2 paddusb m1, m1 por m1, m0 ; min(tldiff, 255) psubusb m2, m5, m3 psubusb m0, m3, m5 por m2, m0 ; tdiff pminub m2, m%2 pcmpeqb m0, m%2, m2 ; ldiff <= tdiff vpblendvb m0, m%1, m3, m0 pminub m1, m2 pcmpeqb m1, m2 ; ldiff <= tldiff || tdiff <= tldiff vpblendvb m0, m5, m0, m1 %endmacro cglobal ipred_paeth, 3, 6, 9, dst, stride, tl, w, h %define base r5-ipred_paeth_avx2_table lea r5, [ipred_paeth_avx2_table] tzcnt wd, wm vpbroadcastb m5, [tlq] ; topleft movifnidn hd, hm movsxd wq, [r5+wq*4] vpbroadcastd m4, [base+pb_1] add wq, r5 jmp wq .w4: vpbroadcastd m6, [tlq+1] ; top mova m8, [base+ipred_h_shuf] lea r3, [strideq*3] psubusb m7, m5, m6 psubusb m0, m6, m5 por m7, m0 ; ldiff .w4_loop: sub tlq, 8 vpbroadcastq m3, [tlq] pshufb m3, m8 ; left PAETH 6, 7 vextracti128 xm1, m0, 1 movd [dstq+strideq*0], xm0 movd [dstq+strideq*1], xm1 pextrd [dstq+strideq*2], xm0, 2 pextrd [dstq+r3 ], xm1, 2 cmp hd, 4 je .ret lea dstq, [dstq+strideq*4] pextrd [dstq+strideq*0], xm0, 1 pextrd [dstq+strideq*1], xm1, 1 pextrd [dstq+strideq*2], xm0, 3 pextrd [dstq+r3 ], xm1, 3 lea dstq, [dstq+strideq*4] sub hd, 8 jg .w4_loop .ret: RET ALIGN function_align .w8: vpbroadcastq m6, [tlq+1] mova m8, [base+ipred_h_shuf] lea r3, [strideq*3] psubusb m7, m5, m6 psubusb m0, m6, m5 por m7, m0 .w8_loop: sub tlq, 4 vpbroadcastd m3, [tlq] pshufb m3, m8 PAETH 6, 7 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+strideq*2], xm0 movhps [dstq+r3 ], xm1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w8_loop RET ALIGN function_align .w16: vbroadcasti128 m6, [tlq+1] mova xm8, xm4 ; lower half = 1, upper half = 0 psubusb m7, m5, m6 psubusb m0, m6, m5 por m7, m0 .w16_loop: sub tlq, 2 vpbroadcastd m3, [tlq] pshufb m3, m8 PAETH 6, 7 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w16_loop RET ALIGN function_align .w32: movu m6, [tlq+1] psubusb m7, m5, m6 psubusb m0, m6, m5 por m7, m0 .w32_loop: dec tlq vpbroadcastb m3, [tlq] PAETH 6, 7 mova [dstq], m0 add dstq, strideq dec hd jg .w32_loop RET ALIGN function_align .w64: movu m6, [tlq+ 1] movu m7, [tlq+33] %if WIN64 movaps r4m, xmm9 %endif psubusb m8, m5, m6 psubusb m0, m6, m5 psubusb m9, m5, m7 psubusb m1, m7, m5 por m8, m0 por m9, m1 .w64_loop: dec tlq vpbroadcastb m3, [tlq] PAETH 6, 8 mova [dstq+32*0], m0 PAETH 7, 9 mova [dstq+32*1], m0 add dstq, strideq dec hd jg .w64_loop %if WIN64 movaps xmm9, r4m %endif RET %macro SMOOTH 6 ; src[1-2], mul[1-2], add[1-2] ; w * a = (w - 128) * a + 128 * a ; (256 - w) * b = (127 - w) * b + 129 * b pmaddubsw m0, m%3, m%1 pmaddubsw m1, m%4, m%2 paddw m0, m%5 paddw m1, m%6 psrlw m0, 8 psrlw m1, 8 packuswb m0, m1 %endmacro cglobal ipred_smooth_v, 3, 7, 0, dst, stride, tl, w, h, weights %define base r6-ipred_smooth_v_avx2_table lea r6, [ipred_smooth_v_avx2_table] tzcnt wd, wm mov hd, hm movsxd wq, [r6+wq*4] vpbroadcastd m0, [base+pb_127_m127] vpbroadcastd m1, [base+pw_128] lea weightsq, [base+smooth_weights+hq*4] neg hq vpbroadcastb m5, [tlq+hq] ; bottom add wq, r6 jmp wq .w4: vpbroadcastd m2, [tlq+1] punpcklbw m2, m5 ; top, bottom mova m5, [base+ipred_v_shuf] lea r3, [strideq*3] punpckldq m4, m5, m5 punpckhdq m5, m5 pmaddubsw m3, m2, m0 paddw m1, m2 ; 1 * top + 256 * bottom + 128, overflow is ok paddw m3, m1 ; 128 * top + 129 * bottom + 128 .w4_loop: vbroadcasti128 m1, [weightsq+hq*2] pshufb m0, m1, m4 pshufb m1, m5 SMOOTH 0, 1, 2, 2, 3, 3 vextracti128 xm1, m0, 1 movd [dstq+strideq*0], xm0 movd [dstq+strideq*1], xm1 pextrd [dstq+strideq*2], xm0, 1 pextrd [dstq+r3 ], xm1, 1 cmp hd, -4 je .ret lea dstq, [dstq+strideq*4] pextrd [dstq+strideq*0], xm0, 2 pextrd [dstq+strideq*1], xm1, 2 pextrd [dstq+strideq*2], xm0, 3 pextrd [dstq+r3 ], xm1, 3 lea dstq, [dstq+strideq*4] add hq, 8 jl .w4_loop .ret: RET ALIGN function_align .w8: vpbroadcastq m2, [tlq+1] punpcklbw m2, m5 mova m5, [base+ipred_v_shuf] lea r3, [strideq*3] pshufd m4, m5, q0000 pshufd m5, m5, q1111 pmaddubsw m3, m2, m0 paddw m1, m2 paddw m3, m1 .w8_loop: vpbroadcastq m1, [weightsq+hq*2] pshufb m0, m1, m4 pshufb m1, m5 SMOOTH 0, 1, 2, 2, 3, 3 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+strideq*2], xm0 movhps [dstq+r3 ], xm1 lea dstq, [dstq+strideq*4] add hq, 4 jl .w8_loop RET ALIGN function_align .w16: WIN64_SPILL_XMM 7 vbroadcasti128 m3, [tlq+1] mova m6, [base+ipred_v_shuf] punpcklbw m2, m3, m5 punpckhbw m3, m5 pmaddubsw m4, m2, m0 pmaddubsw m5, m3, m0 paddw m0, m1, m2 paddw m1, m3 paddw m4, m0 paddw m5, m1 .w16_loop: vpbroadcastd m1, [weightsq+hq*2] pshufb m1, m6 SMOOTH 1, 1, 2, 3, 4, 5 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 lea dstq, [dstq+strideq*2] add hq, 2 jl .w16_loop RET ALIGN function_align .w32: %assign stack_offset stack_offset - stack_size_padded WIN64_SPILL_XMM 6 movu m3, [tlq+1] punpcklbw m2, m3, m5 punpckhbw m3, m5 pmaddubsw m4, m2, m0 pmaddubsw m5, m3, m0 paddw m0, m1, m2 paddw m1, m3 paddw m4, m0 paddw m5, m1 .w32_loop: vpbroadcastw m1, [weightsq+hq*2] SMOOTH 1, 1, 2, 3, 4, 5 mova [dstq], m0 add dstq, strideq inc hq jl .w32_loop RET ALIGN function_align .w64: WIN64_SPILL_XMM 11 movu m4, [tlq+ 1] movu m8, [tlq+33] punpcklbw m3, m4, m5 punpckhbw m4, m5 punpcklbw m7, m8, m5 punpckhbw m8, m5 pmaddubsw m5, m3, m0 pmaddubsw m6, m4, m0 pmaddubsw m9, m7, m0 pmaddubsw m10, m8, m0 paddw m2, m1, m3 paddw m5, m2 paddw m2, m1, m4 paddw m6, m2 paddw m0, m1, m7 paddw m9, m0 paddw m1, m8 paddw m10, m1 .w64_loop: vpbroadcastw m2, [weightsq+hq*2] SMOOTH 2, 2, 3, 4, 5, 6 mova [dstq+32*0], m0 SMOOTH 2, 2, 7, 8, 9, 10 mova [dstq+32*1], m0 add dstq, strideq inc hq jl .w64_loop RET %macro SETUP_STACK_FRAME 3 ; stack_size, regs_used, xmm_regs_used %assign stack_offset 0 %assign stack_size_padded 0 %assign regs_used %2 %xdefine rstk rsp SETUP_STACK_POINTER %1 %if regs_used != %2 && WIN64 PUSH r%2 %endif ALLOC_STACK %1, %3 %endmacro cglobal ipred_smooth_h, 3, 7, 0, dst, stride, tl, w, h %define base r6-ipred_smooth_h_avx2_table lea r6, [ipred_smooth_h_avx2_table] mov wd, wm vpbroadcastb m3, [tlq+wq] ; right tzcnt wd, wd mov hd, hm movsxd wq, [r6+wq*4] vpbroadcastd m4, [base+pb_127_m127] vpbroadcastd m5, [base+pw_128] add wq, r6 jmp wq .w4: WIN64_SPILL_XMM 8 vpbroadcastq m6, [base+smooth_weights+4*2] mova m7, [base+ipred_h_shuf] sub tlq, 8 sub tlq, hq lea r3, [strideq*3] .w4_loop: vpbroadcastq m2, [tlq+hq] pshufb m2, m7 punpcklbw m1, m2, m3 ; left, right punpckhbw m2, m3 pmaddubsw m0, m1, m4 ; 127 * left - 127 * right paddw m0, m1 ; 128 * left + 129 * right pmaddubsw m1, m6 paddw m1, m5 paddw m0, m1 pmaddubsw m1, m2, m4 paddw m1, m2 pmaddubsw m2, m6 paddw m2, m5 paddw m1, m2 psrlw m0, 8 psrlw m1, 8 packuswb m0, m1 vextracti128 xm1, m0, 1 movd [dstq+strideq*0], xm0 movd [dstq+strideq*1], xm1 pextrd [dstq+strideq*2], xm0, 2 pextrd [dstq+r3 ], xm1, 2 cmp hd, 4 je .ret lea dstq, [dstq+strideq*4] pextrd [dstq+strideq*0], xm0, 1 pextrd [dstq+strideq*1], xm1, 1 pextrd [dstq+strideq*2], xm0, 3 pextrd [dstq+r3 ], xm1, 3 lea dstq, [dstq+strideq*4] sub hd, 8 jg .w4_loop .ret: RET ALIGN function_align .w8: %assign stack_offset stack_offset - stack_size_padded WIN64_SPILL_XMM 8 vbroadcasti128 m6, [base+smooth_weights+8*2] mova m7, [base+ipred_h_shuf] sub tlq, 4 lea r3, [strideq*3] sub tlq, hq .w8_loop: vpbroadcastd m2, [tlq+hq] pshufb m2, m7 punpcklbw m1, m2, m3 punpckhbw m2, m3 pmaddubsw m0, m1, m4 paddw m0, m1 pmaddubsw m1, m6 paddw m1, m5 paddw m0, m1 pmaddubsw m1, m2, m4 paddw m1, m2 pmaddubsw m2, m6 paddw m2, m5 paddw m1, m2 psrlw m0, 8 psrlw m1, 8 packuswb m0, m1 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+strideq*2], xm0 movhps [dstq+r3 ], xm1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w8_loop RET ALIGN function_align .w16: SETUP_STACK_FRAME 32*4, 7, 8 lea r3, [rsp+64*2-4] call .prep ; only worthwhile for for w16 and above sub tlq, 2 vpbroadcastd xm6, [base+pb_1] mova xm7, [base+ipred_v_shuf+16] vinserti128 m7, [base+ipred_v_shuf+ 0], 1 vbroadcasti128 m4, [base+smooth_weights+16*2] vbroadcasti128 m5, [base+smooth_weights+16*3] .w16_loop: vpbroadcastd m1, [tlq+hq] vpbroadcastd m2, [r3+hq*2] pshufb m1, m6 punpcklbw m1, m3 pshufb m2, m7 SMOOTH 4, 5, 1, 1, 2, 2 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w16_loop RET ALIGN function_align .w32: SETUP_STACK_FRAME 32*4, 7, 6 lea r3, [rsp+64*2-2] call .prep dec tlq mova xm4, [base+smooth_weights+16*4] vinserti128 m4, [base+smooth_weights+16*6], 1 mova xm5, [base+smooth_weights+16*5] vinserti128 m5, [base+smooth_weights+16*7], 1 .w32_loop: vpbroadcastb m1, [tlq+hq] punpcklbw m1, m3 vpbroadcastw m2, [r3+hq*2] SMOOTH 4, 5, 1, 1, 2, 2 mova [dstq], m0 add dstq, strideq dec hd jg .w32_loop RET ALIGN function_align .w64: SETUP_STACK_FRAME 32*4, 7, 9 lea r3, [rsp+64*2-2] call .prep add r6, smooth_weights+16*15-ipred_smooth_h_avx2_table dec tlq mova xm5, [r6-16*7] vinserti128 m5, [r6-16*5], 1 mova xm6, [r6-16*6] vinserti128 m6, [r6-16*4], 1 mova xm7, [r6-16*3] vinserti128 m7, [r6-16*1], 1 mova xm8, [r6-16*2] vinserti128 m8, [r6-16*0], 1 .w64_loop: vpbroadcastb m2, [tlq+hq] punpcklbw m2, m3 vpbroadcastw m4, [r3+hq*2] SMOOTH 5, 6, 2, 2, 4, 4 mova [dstq+32*0], m0 SMOOTH 7, 8, 2, 2, 4, 4 mova [dstq+32*1], m0 add dstq, strideq dec hd jg .w64_loop RET ALIGN function_align .prep: vpermq m2, [tlq-32*1], q3120 punpckhbw m1, m2, m3 punpcklbw m2, m3 pmaddubsw m0, m1, m4 ; 127 * left - 127 * right paddw m1, m5 ; 1 * left + 256 * right + 128 paddw m0, m1 ; 128 * left + 129 * right + 128 pmaddubsw m1, m2, m4 paddw m2, m5 paddw m1, m2 vpermq m2, [tlq-32*2], q3120 mova [rsp+gprsize+32*3], m0 mova [rsp+gprsize+32*2], m1 punpckhbw m1, m2, m3 punpcklbw m2, m3 pmaddubsw m0, m1, m4 paddw m1, m5 paddw m0, m1 pmaddubsw m1, m2, m4 paddw m2, m5 paddw m1, m2 mova [rsp+gprsize+32*1], m0 mova [rsp+gprsize+32*0], m1 sub r3, hq sub tlq, hq sub r3, hq ret %macro SMOOTH_2D_END 6 ; src[1-2], mul[1-2], add[1-2] pmaddubsw m0, m%3, m%1 pmaddubsw m1, m%4, m%2 %ifnum %5 paddw m0, m%5 %else paddw m0, %5 %endif %ifnum %6 paddw m1, m%6 %else paddw m1, %6 %endif pavgw m0, m2 pavgw m1, m3 psrlw m0, 8 psrlw m1, 8 packuswb m0, m1 %endmacro cglobal ipred_smooth, 3, 7, 0, dst, stride, tl, w, h, v_weights %define base r6-ipred_smooth_avx2_table lea r6, [ipred_smooth_avx2_table] mov wd, wm vpbroadcastb m4, [tlq+wq] ; right tzcnt wd, wd mov hd, hm mov r5, tlq sub r5, hq movsxd wq, [r6+wq*4] vpbroadcastd m5, [base+pb_127_m127] vpbroadcastb m0, [r5] ; bottom vpbroadcastd m3, [base+pw_255] add wq, r6 lea v_weightsq, [base+smooth_weights+hq*2] jmp wq .w4: WIN64_SPILL_XMM 12 mova m10, [base+ipred_h_shuf] vpbroadcastq m11, [base+smooth_weights+4*2] mova m7, [base+ipred_v_shuf] vpbroadcastd m8, [tlq+1] sub tlq, 8 lea r3, [strideq*3] sub tlq, hq punpcklbw m8, m0 ; top, bottom pshufd m6, m7, q2200 pshufd m7, m7, q3311 pmaddubsw m9, m8, m5 paddw m3, m8 ; 1 * top + 255 * bottom + 255 paddw m9, m3 ; 128 * top + 129 * bottom + 255 .w4_loop: vpbroadcastq m1, [tlq+hq] pshufb m1, m10 punpcklbw m0, m1, m4 ; left, right punpckhbw m1, m4 pmaddubsw m2, m0, m5 ; 127 * left - 127 * right pmaddubsw m3, m1, m5 paddw m2, m0 ; 128 * left + 129 * right paddw m3, m1 pmaddubsw m0, m11 pmaddubsw m1, m11 paddw m2, m0 paddw m3, m1 vbroadcasti128 m1, [v_weightsq] add v_weightsq, 16 pshufb m0, m1, m6 pshufb m1, m7 SMOOTH_2D_END 0, 1, 8, 8, 9, 9 vextracti128 xm1, m0, 1 movd [dstq+strideq*0], xm0 movd [dstq+strideq*1], xm1 pextrd [dstq+strideq*2], xm0, 2 pextrd [dstq+r3 ], xm1, 2 cmp hd, 4 je .ret lea dstq, [dstq+strideq*4] pextrd [dstq+strideq*0], xm0, 1 pextrd [dstq+strideq*1], xm1, 1 pextrd [dstq+strideq*2], xm0, 3 pextrd [dstq+r3 ], xm1, 3 lea dstq, [dstq+strideq*4] sub hd, 8 jg .w4_loop .ret: RET ALIGN function_align .w8: %assign stack_offset stack_offset - stack_size_padded WIN64_SPILL_XMM 12 mova m10, [base+ipred_h_shuf] vbroadcasti128 m11, [base+smooth_weights+8*2] mova m7, [base+ipred_v_shuf] vpbroadcastq m8, [tlq+1] sub tlq, 4 lea r3, [strideq*3] sub tlq, hq punpcklbw m8, m0 pshufd m6, m7, q0000 pshufd m7, m7, q1111 pmaddubsw m9, m8, m5 paddw m3, m8 paddw m9, m3 .w8_loop: vpbroadcastd m1, [tlq+hq] pshufb m1, m10 punpcklbw m0, m1, m4 punpckhbw m1, m4 pmaddubsw m2, m0, m5 pmaddubsw m3, m1, m5 paddw m2, m0 paddw m3, m1 pmaddubsw m0, m11 pmaddubsw m1, m11 paddw m2, m0 paddw m3, m1 vpbroadcastq m1, [v_weightsq] add v_weightsq, 8 pshufb m0, m1, m6 pshufb m1, m7 SMOOTH_2D_END 0, 1, 8, 8, 9, 9 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+strideq*2], xm0 movhps [dstq+r3 ], xm1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w8_loop RET ALIGN function_align .w16: SETUP_STACK_FRAME 32*4, 7, 14 vbroadcasti128 m11, [tlq+1] lea r3, [rsp+64*2-4] punpcklbw m10, m11, m0 ; top, bottom punpckhbw m11, m0 call .prep_v sub tlq, 2 pmaddubsw m12, m10, m5 pmaddubsw m13, m11, m5 vpbroadcastd xm5, [base+pb_1] mova m9, [base+ipred_v_shuf] vbroadcasti128 m6, [base+smooth_weights+16*2] vbroadcasti128 m7, [base+smooth_weights+16*3] vpermq m8, m9, q1032 paddw m0, m10, m3 paddw m3, m11 paddw m12, m0 paddw m13, m3 .w16_loop: vpbroadcastd m3, [tlq+hq] vpbroadcastd m0, [r3+hq*2] vpbroadcastd m1, [v_weightsq] add v_weightsq, 4 pshufb m3, m5 punpcklbw m3, m4 ; left, right pmaddubsw m2, m3, m6 pmaddubsw m3, m7 pshufb m0, m8 pshufb m1, m9 paddw m2, m0 paddw m3, m0 SMOOTH_2D_END 1, 1, 10, 11, 12, 13 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w16_loop RET ALIGN function_align .w32: SETUP_STACK_FRAME 32*4, 7, 11 movu m8, [tlq+1] lea r3, [rsp+64*2-2] punpcklbw m7, m8, m0 punpckhbw m8, m0 call .prep_v dec tlq pmaddubsw m9, m7, m5 pmaddubsw m10, m8, m5 mova xm5, [base+smooth_weights+16*4] vinserti128 m5, [base+smooth_weights+16*6], 1 mova xm6, [base+smooth_weights+16*5] vinserti128 m6, [base+smooth_weights+16*7], 1 paddw m0, m7, m3 paddw m3, m8 paddw m9, m0 paddw m10, m3 .w32_loop: vpbroadcastb m3, [tlq+hq] punpcklbw m3, m4 vpbroadcastw m0, [r3+hq*2] vpbroadcastw m1, [v_weightsq] add v_weightsq, 2 pmaddubsw m2, m3, m5 pmaddubsw m3, m6 paddw m2, m0 paddw m3, m0 SMOOTH_2D_END 1, 1, 7, 8, 9, 10 mova [dstq], m0 add dstq, strideq dec hd jg .w32_loop RET ALIGN function_align .w64: SETUP_STACK_FRAME 32*8, 7, 16 movu m13, [tlq+1 ] movu m15, [tlq+33] add r6, smooth_weights+16*15-ipred_smooth_avx2_table lea r3, [rsp+64*2-2] punpcklbw m12, m13, m0 punpckhbw m13, m0 punpcklbw m14, m15, m0 punpckhbw m15, m0 call .prep_v dec tlq pmaddubsw m0, m12, m5 pmaddubsw m1, m13, m5 pmaddubsw m2, m14, m5 pmaddubsw m5, m15, m5 mova xm8, [r6-16*7] vinserti128 m8, [r6-16*5], 1 mova xm9, [r6-16*6] vinserti128 m9, [r6-16*4], 1 mova xm10, [r6-16*3] vinserti128 m10, [r6-16*1], 1 mova xm11, [r6-16*2] vinserti128 m11, [r6-16*0], 1 lea r6, [rsp+32*4] paddw m0, m3 paddw m1, m3 paddw m2, m3 paddw m3, m5 paddw m0, m12 paddw m1, m13 paddw m2, m14 paddw m3, m15 mova [r6+32*0], m0 mova [r6+32*1], m1 mova [r6+32*2], m2 mova [r6+32*3], m3 .w64_loop: vpbroadcastb m5, [tlq+hq] punpcklbw m5, m4 vpbroadcastw m6, [r3+hq*2] vpbroadcastw m7, [v_weightsq] add v_weightsq, 2 pmaddubsw m2, m5, m8 pmaddubsw m3, m5, m9 paddw m2, m6 paddw m3, m6 SMOOTH_2D_END 7, 7, 12, 13, [r6+32*0], [r6+32*1] mova [dstq+32*0], m0 pmaddubsw m2, m5, m10 pmaddubsw m3, m5, m11 paddw m2, m6 paddw m3, m6 SMOOTH_2D_END 7, 7, 14, 15, [r6+32*2], [r6+32*3] mova [dstq+32*1], m0 add dstq, strideq dec hd jg .w64_loop RET ALIGN function_align .prep_v: vpermq m2, [tlq-32*1], q3120 punpckhbw m1, m2, m4 punpcklbw m2, m4 pmaddubsw m0, m1, m5 ; 127 * left - 127 * right paddw m0, m1 ; 128 * left + 129 * right pmaddubsw m1, m2, m5 paddw m1, m2 vpermq m2, [tlq-32*2], q3120 mova [rsp+gprsize+32*3], m0 mova [rsp+gprsize+32*2], m1 punpckhbw m1, m2, m4 punpcklbw m2, m4 pmaddubsw m0, m1, m5 paddw m0, m1 pmaddubsw m1, m2, m5 paddw m1, m2 mova [rsp+gprsize+32*1], m0 mova [rsp+gprsize+32*0], m1 sub r3, hq sub tlq, hq sub r3, hq ret cglobal ipred_z1, 3, 8, 0, dst, stride, tl, w, h, angle, dx, maxbase %assign org_stack_offset stack_offset lea r6, [ipred_z1_avx2_table] tzcnt wd, wm movifnidn angled, anglem movifnidn hd, hm lea r7, [dr_intra_derivative] inc tlq movsxd wq, [r6+wq*4] add wq, r6 mov dxd, angled and dxd, 0x7e add angled, 165 ; ~90 movzx dxd, word [r7+dxq] xor angled, 0x4ff ; d = 90 - angle vpbroadcastd m3, [pw_512] vpbroadcastd m4, [pw_62] vpbroadcastd m5, [pw_64] jmp wq .w4: cmp angleb, 40 jae .w4_no_upsample lea r3d, [angleq-1024] sar r3d, 7 add r3d, hd jg .w4_no_upsample ; !enable_intra_edge_filter || h > 8 || (h == 8 && is_sm) ALLOC_STACK -32, 8 mova xm1, [tlq-1] pshufb xm0, xm1, [z_upsample1] pshufb xm1, [z_upsample2] vpbroadcastd xm2, [pb_36_m4] ; upshifted by 2 to be able to reuse add dxd, dxd ; pw_512 (which is already in m3) pmaddubsw xm0, xm2 ; for rounding instead of pw_2048 pextrd [rsp+16], xm1, 3 ; top[max_base_x] pmaddubsw xm1, xm2 movd xm7, dxd mov r3d, dxd ; xpos vpbroadcastw m7, xm7 paddw xm1, xm0 movq xm0, [tlq] pmulhrsw xm1, xm3 pslldq m6, m7, 8 paddw xm2, xm7, xm7 lea r2, [strideq*3] paddw m6, m7 packuswb xm1, xm1 paddw m6, m2 ; xpos2 xpos3 xpos0 xpos1 punpcklbw xm0, xm1 psllw m7, 2 mova [rsp], xm0 .w4_upsample_loop: lea r5d, [r3+dxq] shr r3d, 6 ; base0 vpbroadcastq m1, [rsp+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base1 vpbroadcastq m2, [rsp+r5] lea r5d, [r3+dxq] shr r3d, 6 ; base2 movq xm0, [rsp+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base3 movhps xm0, [rsp+r5] vpblendd m1, m2, 0xc0 pand m2, m4, m6 ; frac vpblendd m0, m1, 0xf0 psubw m1, m5, m2 ; 64-frac psllw m2, 8 por m1, m2 ; 64-frac, frac pmaddubsw m0, m1 paddw m6, m7 ; xpos += dx pmulhrsw m0, m3 packuswb m0, m0 vextracti128 xm1, m0, 1 movd [dstq+strideq*2], xm0 pextrd [dstq+r2 ], xm0, 1 movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w4_upsample_loop RET ALIGN function_align .filter_strength: ; w4/w8/w16 ; The C version uses a lot of branches, but we can do all the comparisons ; in parallel and use popcnt to get the final filter strength value. %define base r3-z_filter_t0 lea r3, [z_filter_t0] movd xm0, maxbased movd xm2, angled shr angled, 8 ; is_sm << 1 vpbroadcastb m0, xm0 vpbroadcastb m2, xm2 pcmpeqb m1, m0, [base+z_filter_wh] pand m1, m2 mova xm2, [r3+angleq*8] ; upper ymm half zero in both cases pcmpgtb m1, m2 pmovmskb r5d, m1 popcnt r5d, r5d ; sets ZF which can be used by caller ret .w4_no_upsample: %assign stack_offset org_stack_offset ALLOC_STACK -16, 11 mov maxbased, 7 test angled, 0x400 ; !enable_intra_edge_filter jnz .w4_main lea maxbased, [hq+3] call .filter_strength mov maxbased, 7 jz .w4_main ; filter_strength == 0 vpbroadcastd m7, [base+pb_8] vbroadcasti128 m2, [tlq-1] pminub m1, m7, [base+z_filter_s] vpbroadcastd m8, [base+z_filter_k-4+r5*4+12*0] pminub m7, [base+z_filter_s+8] vpbroadcastd m9, [base+z_filter_k-4+r5*4+12*1] vpbroadcastd m10, [base+z_filter_k-4+r5*4+12*2] pshufb m0, m2, m1 shufps m1, m7, q2121 pmaddubsw m0, m8 pshufb m1, m2, m1 pmaddubsw m1, m9 pshufb m2, m7 pmaddubsw m2, m10 paddw m0, m1 paddw m0, m2 pmulhrsw m0, m3 mov r3d, 9 mov tlq, rsp cmp hd, 4 cmova maxbased, r3d vextracti128 xm1, m0, 1 packuswb xm0, xm1 mova [tlq], xm0 .w4_main: movd xm6, dxd vpbroadcastq m0, [z_base_inc] ; base_inc << 6 vpbroadcastb m7, [tlq+maxbaseq] shl maxbased, 6 vpbroadcastw m6, xm6 mov r3d, dxd ; xpos movd xm9, maxbased vpbroadcastw m9, xm9 vbroadcasti128 m8, [z1_shuf_w4] psrlw m7, 8 ; top[max_base_x] paddw m10, m6, m6 psubw m9, m0 ; max_base_x vpblendd m6, m10, 0xcc mova xm0, xm10 paddw m6, m0 ; xpos2 xpos3 xpos0 xpos1 paddw m10, m10 .w4_loop: lea r5d, [r3+dxq] shr r3d, 6 ; base0 vpbroadcastq m1, [tlq+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base1 vpbroadcastq m2, [tlq+r5] lea r5d, [r3+dxq] shr r3d, 6 ; base2 movq xm0, [tlq+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base3 movhps xm0, [tlq+r5] vpblendd m1, m2, 0xc0 pand m2, m4, m6 ; frac vpblendd m0, m1, 0xf0 psubw m1, m5, m2 ; 64-frac psllw m2, 8 pshufb m0, m8 por m1, m2 ; 64-frac, frac pmaddubsw m0, m1 pcmpgtw m1, m9, m6 ; base < max_base_x pmulhrsw m0, m3 paddw m6, m10 ; xpos += dx lea r5, [dstq+strideq*2] vpblendvb m0, m7, m0, m1 packuswb m0, m0 vextracti128 xm1, m0, 1 movd [r5 +strideq*0], xm0 pextrd [r5 +strideq*1], xm0, 1 movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 sub hd, 4 jz .w4_end lea dstq, [dstq+strideq*4] cmp r3d, maxbased jb .w4_loop packuswb xm7, xm7 lea r6, [strideq*3] .w4_end_loop: movd [dstq+strideq*0], xm7 movd [dstq+strideq*1], xm7 movd [dstq+strideq*2], xm7 movd [dstq+r6 ], xm7 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w4_end_loop .w4_end: RET ALIGN function_align .w8: lea r3d, [angleq+216] mov r3b, hb cmp r3d, 8 ja .w8_no_upsample ; !enable_intra_edge_filter || is_sm || d >= 40 || h > 8 %assign stack_offset org_stack_offset ALLOC_STACK -32, 8 movu xm2, [z_filter_s+6] mova xm0, [tlq-1] movd xm6, hd vinserti128 m0, [tlq+7], 1 vpbroadcastb xm6, xm6 vbroadcasti128 m1, [z_upsample1] pminub xm6, xm2 vpbroadcastd m7, [pb_36_m4] vinserti128 m2, xm6, 1 add dxd, dxd pshufb m1, m0, m1 pshufb m2, m0, m2 movd xm6, dxd pmaddubsw m1, m7 pmaddubsw m2, m7 vpbroadcastw m6, xm6 mov r3d, dxd psrldq m0, 1 lea r2, [strideq*3] paddw m7, m6, m6 paddw m1, m2 vpblendd m6, m7, 0xf0 pmulhrsw m1, m3 pslldq m2, m7, 8 paddw m7, m7 paddw m6, m2 packuswb m1, m1 punpcklbw m0, m1 mova [rsp], m0 .w8_upsample_loop: lea r5d, [r3+dxq] shr r3d, 6 ; base0 movu xm0, [rsp+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base1 vinserti128 m0, [rsp+r5], 1 lea r5d, [r3+dxq] shr r3d, 6 ; base2 pand m1, m4, m6 psubw m2, m5, m1 psllw m1, 8 por m2, m1 punpcklqdq m1, m2, m2 ; frac0 frac1 pmaddubsw m0, m1 movu xm1, [rsp+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base3 vinserti128 m1, [rsp+r5], 1 punpckhqdq m2, m2 ; frac2 frac3 pmaddubsw m1, m2 pmulhrsw m0, m3 paddw m6, m7 pmulhrsw m1, m3 packuswb m0, m1 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movhps [dstq+strideq*2], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+r2 ], xm1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w8_upsample_loop RET .w8_no_intra_edge_filter: and maxbased, 7 or maxbased, 8 ; imin(h+7, 15) jmp .w8_main .w8_no_upsample: %assign stack_offset org_stack_offset ALLOC_STACK -32, 10 lea maxbased, [hq+7] test angled, 0x400 jnz .w8_no_intra_edge_filter call .filter_strength jz .w8_main ; filter_strength == 0 movu xm2, [tlq] pminub xm1, xm0, [base+z_filter_s+14] vinserti128 m2, [tlq-1], 1 vinserti128 m1, [base+z_filter_s+ 0], 1 vpbroadcastd m7, [base+z_filter_k-4+r5*4+12*0] pminub xm0, [base+z_filter_s+22] vinserti128 m0, [base+z_filter_s+ 8], 1 pshufb m6, m2, m1 pmaddubsw m6, m7 vpbroadcastd m7, [base+z_filter_k-4+r5*4+12*1] movzx r3d, byte [tlq+15] shufps m1, m0, q2121 pshufb m1, m2, m1 pmaddubsw m1, m7 paddw m1, m6 sub r5d, 3 jnz .w8_3tap ; filter_strength == 3 uses a 5-tap filter instead of a 3-tap one, ; which also results in an awkward edge case where out[w*2] is ; slightly different from out[max_base_x] when h > w. vpbroadcastd m7, [z_filter_k+4*8] movzx r2d, byte [tlq+14] pshufb m2, m0 pmaddubsw m2, m7 sub r2d, r3d lea r2d, [r2+r3*8+4] shr r2d, 3 ; (tlq[w*2-2] + tlq[w*2-1]*7 + 4) >> 3 mov [rsp+16], r2b paddw m1, m2 .w8_3tap: pmulhrsw m1, m3 sar r5d, 1 mov tlq, rsp add r5d, 17 ; w*2 + (filter_strength == 3) cmp hd, 8 cmova maxbased, r5d mov [tlq+r5], r3b vextracti128 xm0, m1, 1 packuswb xm0, xm1 mova [tlq], xm0 .w8_main: movd xm2, dxd vbroadcasti128 m0, [z_base_inc] vpbroadcastw m2, xm2 vpbroadcastb m7, [tlq+maxbaseq] shl maxbased, 6 movd xm9, maxbased vbroadcasti128 m8, [z_filter_s+2] vpbroadcastw m9, xm9 psrlw m7, 8 psubw m9, m0 mov r3d, dxd paddw m6, m2, m2 vpblendd m2, m6, 0xf0 .w8_loop: lea r5d, [r3+dxq] shr r3d, 6 pand m0, m4, m2 psubw m1, m5, m0 psllw m0, 8 por m1, m0 movu xm0, [tlq+r3] lea r3d, [r5+dxq] shr r5d, 6 ; base1 vinserti128 m0, [tlq+r5], 1 pshufb m0, m8 pmaddubsw m0, m1 pcmpgtw m1, m9, m2 paddw m2, m6 pmulhrsw m0, m3 vpblendvb m0, m7, m0, m1 vextracti128 xm1, m0, 1 packuswb xm0, xm1 movq [dstq+strideq*0], xm0 movhps [dstq+strideq*1], xm0 sub hd, 2 jz .w8_end lea dstq, [dstq+strideq*2] cmp r3d, maxbased jb .w8_loop packuswb xm7, xm7 .w8_end_loop: movq [dstq+strideq*0], xm7 movq [dstq+strideq*1], xm7 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w8_end_loop .w8_end: RET .w16_no_intra_edge_filter: and maxbased, 15 or maxbased, 16 ; imin(h+15, 31) jmp .w16_main ALIGN function_align .w16: %assign stack_offset org_stack_offset ALLOC_STACK -64, 12 lea maxbased, [hq+15] test angled, 0x400 jnz .w16_no_intra_edge_filter call .filter_strength jz .w16_main ; filter_strength == 0 vpbroadcastd m1, [base+pb_12] vbroadcasti128 m6, [base+z_filter_s+8] vinserti128 m2, m6, [base+z_filter_s], 0 vinserti128 m6, [base+z_filter_s+16], 1 mova xm10, [tlq-1] vinserti128 m10, [tlq+3], 1 vpbroadcastd m9, [base+z_filter_k-4+r5*4+12*0] vbroadcasti128 m7, [base+z_filter_s+14] vinserti128 m8, m7, [base+z_filter_s+6], 0 vinserti128 m7, [base+z_filter_s+22], 1 psubw m0, m1 movu xm11, [tlq+12] vinserti128 m11, [tlq+16], 1 pminub m8, m0 pminub m7, m0 pshufb m0, m10, m2 shufps m2, m6, q2121 pmaddubsw m0, m9 pshufb m1, m11, m8 shufps m8, m7, q2121 pmaddubsw m1, m9 vpbroadcastd m9, [base+z_filter_k-4+r5*4+12*1] movzx r3d, byte [tlq+31] pshufb m2, m10, m2 pmaddubsw m2, m9 pshufb m8, m11, m8 pmaddubsw m8, m9 paddw m0, m2 paddw m1, m8 sub r5d, 3 jnz .w16_3tap vpbroadcastd m9, [z_filter_k+4*8] movzx r2d, byte [tlq+30] pshufb m10, m6 pmaddubsw m10, m9 pshufb m11, m7 pmaddubsw m11, m9 sub r2d, r3d lea r2d, [r2+r3*8+4] shr r2d, 3 mov [rsp+32], r2b paddw m0, m10 paddw m1, m11 .w16_3tap: pmulhrsw m0, m3 pmulhrsw m1, m3 sar r5d, 1 mov tlq, rsp add r5d, 33 cmp hd, 16 cmova maxbased, r5d mov [tlq+r5], r3b packuswb m0, m1 vpermq m0, m0, q3120 mova [tlq], m0 .w16_main: movd xm6, dxd vbroadcasti128 m0, [z_base_inc] vpbroadcastb m7, [tlq+maxbaseq] shl maxbased, 6 vpbroadcastw m6, xm6 movd xm9, maxbased vbroadcasti128 m8, [z_filter_s+2] vpbroadcastw m9, xm9 mov r3d, dxd psubw m9, m0 paddw m11, m6, m6 psubw m10, m9, m3 ; 64*8 vpblendd m6, m11, 0xf0 .w16_loop: lea r5d, [r3+dxq] shr r3d, 6 ; base0 pand m1, m4, m6 psubw m2, m5, m1 psllw m1, 8 por m2, m1 movu xm0, [tlq+r3+0] movu xm1, [tlq+r3+8] lea r3d, [r5+dxq] shr r5d, 6 ; base1 vinserti128 m0, [tlq+r5+0], 1 vinserti128 m1, [tlq+r5+8], 1 pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m2 pmaddubsw m1, m2 pmulhrsw m0, m3 pmulhrsw m1, m3 packuswb m0, m1 pcmpgtw m1, m9, m6 pcmpgtw m2, m10, m6 packsswb m1, m2 paddw m6, m11 vpblendvb m0, m7, m0, m1 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 sub hd, 2 jz .w16_end lea dstq, [dstq+strideq*2] cmp r3d, maxbased jb .w16_loop .w16_end_loop: mova [dstq+strideq*0], xm7 mova [dstq+strideq*1], xm7 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w16_end_loop .w16_end: RET ALIGN function_align .w32: %assign stack_offset org_stack_offset ALLOC_STACK -96, 15 lea r3d, [hq+31] mov maxbased, 63 cmp hd, 32 cmovb maxbased, r3d test angled, 0x400 ; !enable_intra_edge_filter jnz .w32_main vbroadcasti128 m0, [pb_0to15] sub r3d, 29 ; h+2 movu xm13, [tlq+29] ; 32-39 movd xm1, r3d movu xm14, [tlq+37] ; 40-47 sub r3d, 8 ; h-6 vinserti128 m14, [tlq+51], 1 ; 56-63 vpbroadcastb xm1, xm1 mova xm11, [tlq- 1] ; 0- 7 vinserti128 m11, [tlq+13], 1 ; 16-23 movd xm2, r3d movu xm12, [tlq+ 5] ; 8-15 vinserti128 m12, [tlq+19], 1 ; 24-31 pminub xm1, xm0 ; clip 32x8 mova m7, [z_filter_s+0] pshufb xm13, xm1 vpbroadcastd m1, [pb_12] vpbroadcastb xm2, xm2 vinserti128 m13, [tlq+43], 1 ; 48-55 vinserti128 m8, m7, [z_filter_s+4], 1 vpblendd m2, m1, 0xf0 vinserti128 m7, [z_filter_s+12], 0 pminub m2, m0 ; clip 32x16 and 32x(32|64) vpbroadcastd m9, [z_filter_k+4*2+12*0] pshufb m14, m2 pshufb m0, m11, m8 shufps m8, m7, q1021 pmaddubsw m0, m9 pshufb m2, m12, m8 pmaddubsw m2, m9 pshufb m1, m13, m8 pmaddubsw m1, m9 pshufb m6, m14, m8 pmaddubsw m6, m9 vpbroadcastd m9, [z_filter_k+4*2+12*1] pshufb m10, m11, m8 shufps m8, m7, q2121 pmaddubsw m10, m9 paddw m0, m10 pshufb m10, m12, m8 pmaddubsw m10, m9 paddw m2, m10 pshufb m10, m13, m8 pmaddubsw m10, m9 paddw m1, m10 pshufb m10, m14, m8 pmaddubsw m10, m9 paddw m6, m10 vpbroadcastd m9, [z_filter_k+4*2+12*2] pshufb m11, m8 pmaddubsw m11, m9 pshufb m12, m7 pmaddubsw m12, m9 movzx r3d, byte [tlq+63] movzx r2d, byte [tlq+62] paddw m0, m11 paddw m2, m12 pshufb m13, m7 pmaddubsw m13, m9 pshufb m14, m7 pmaddubsw m14, m9 paddw m1, m13 paddw m6, m14 sub r2d, r3d lea r2d, [r2+r3*8+4] ; edge case for 32x64 pmulhrsw m0, m3 pmulhrsw m2, m3 pmulhrsw m1, m3 pmulhrsw m6, m3 shr r2d, 3 mov [rsp+64], r2b mov tlq, rsp mov [tlq+65], r3b mov r3d, 65 cmp hd, 32 cmova maxbased, r3d packuswb m0, m2 packuswb m1, m6 mova [tlq+ 0], m0 mova [tlq+32], m1 .w32_main: movd xm6, dxd vpbroadcastb m7, [tlq+maxbaseq] shl maxbased, 6 vpbroadcastw m6, xm6 movd xm9, maxbased vbroadcasti128 m8, [z_filter_s+2] vpbroadcastw m9, xm9 mov r5d, dxd psubw m9, [z_base_inc] mova m11, m6 psubw m10, m9, m3 ; 64*8 .w32_loop: mov r3d, r5d shr r3d, 6 pand m1, m4, m6 psubw m2, m5, m1 psllw m1, 8 por m2, m1 movu m0, [tlq+r3+0] movu m1, [tlq+r3+8] add r5d, dxd pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m2 pmaddubsw m1, m2 pmulhrsw m0, m3 pmulhrsw m1, m3 packuswb m0, m1 pcmpgtw m1, m9, m6 pcmpgtw m2, m10, m6 packsswb m1, m2 paddw m6, m11 vpblendvb m0, m7, m0, m1 mova [dstq], m0 dec hd jz .w32_end add dstq, strideq cmp r5d, maxbased jb .w32_loop test hb, 1 jz .w32_end_loop mova [dstq], m7 add dstq, strideq dec hd jz .w32_end .w32_end_loop: mova [dstq+strideq*0], m7 mova [dstq+strideq*1], m7 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w32_end_loop .w32_end: RET ALIGN function_align .w64: %assign stack_offset org_stack_offset ALLOC_STACK -128, 16 lea maxbased, [hq+63] test angled, 0x400 ; !enable_intra_edge_filter jnz .w64_main mova xm11, [tlq- 1] ; 0- 7 vinserti128 m11, [tlq+13], 1 ; 16-23 movu xm12, [tlq+ 5] ; 8-15 vinserti128 m12, [tlq+19], 1 ; 24-31 mova m7, [z_filter_s+0] vinserti128 m8, m7, [z_filter_s+4], 1 vinserti128 m7, [z_filter_s+12], 0 vpbroadcastd m9, [z_filter_k+4*2+12*0] movu xm13, [tlq+29] ; 32-39 vinserti128 m13, [tlq+43], 1 ; 48-55 movu xm14, [tlq+37] ; 40-47 vinserti128 m14, [tlq+51], 1 ; 56-63 pshufb m0, m11, m8 shufps m8, m7, q1021 pmaddubsw m0, m9 pshufb m2, m12, m8 pmaddubsw m2, m9 pshufb m1, m13, m8 pmaddubsw m1, m9 pshufb m6, m14, m8 pmaddubsw m6, m9 vpbroadcastd m9, [z_filter_k+4*2+12*1] pshufb m10, m11, m8 shufps m15, m8, m7, q2121 pmaddubsw m10, m9 paddw m0, m10 pshufb m10, m12, m15 pmaddubsw m10, m9 paddw m2, m10 pshufb m10, m13, m15 pmaddubsw m10, m9 paddw m1, m10 pshufb m10, m14, m15 pmaddubsw m10, m9 paddw m6, m10 vpbroadcastd m10, [z_filter_k+4*2+12*2] pshufb m11, m15 pmaddubsw m11, m10 pshufb m12, m7 pmaddubsw m12, m10 pshufb m13, m7 pmaddubsw m13, m10 pshufb m14, m7 pmaddubsw m14, m10 paddw m0, m11 paddw m2, m12 paddw m1, m13 paddw m6, m14 movu xm11, [tlq+ 61] ; 64- 71 vinserti128 m11, [tlq+ 75], 1 ; 80- 87 movu xm12, [tlq+ 69] ; 72- 79 vinserti128 m12, [tlq+ 83], 1 ; 88- 95 movu xm13, [tlq+ 93] ; 96-103 vinserti128 m13, [tlq+107], 1 ; 112-119 movu xm14, [tlq+101] ; 104-111 vinserti128 m14, [tlq+115], 1 ; 120-127 pmulhrsw m0, m3 pmulhrsw m2, m3 pmulhrsw m1, m3 pmulhrsw m6, m3 lea r3d, [hq-20] mov tlq, rsp packuswb m0, m2 packuswb m1, m6 vpbroadcastd xm2, [pb_14] vbroadcasti128 m6, [pb_0to15] mova [tlq+32*0], m0 mova [tlq+32*1], m1 movd xm0, r3d vpbroadcastd m1, [pb_12] vpbroadcastb m0, xm0 paddb m0, m2 pminub m0, m6 ; clip 64x16 and 64x32 pshufb m12, m0 pminub m1, m6 ; clip 64x64 pshufb m14, m1 pshufb m0, m11, m7 pmaddubsw m0, m10 pshufb m2, m12, m7 pmaddubsw m2, m10 pshufb m1, m13, m7 pmaddubsw m1, m10 pshufb m6, m14, m7 pmaddubsw m6, m10 pshufb m7, m11, m15 pmaddubsw m7, m9 pshufb m10, m12, m15 pmaddubsw m10, m9 paddw m0, m7 pshufb m7, m13, m15 pmaddubsw m7, m9 paddw m2, m10 pshufb m10, m14, m15 pmaddubsw m10, m9 paddw m1, m7 paddw m6, m10 vpbroadcastd m9, [z_filter_k+4*2+12*0] pshufb m11, m8 pmaddubsw m11, m9 pshufb m12, m8 pmaddubsw m12, m9 pshufb m13, m8 pmaddubsw m13, m9 pshufb m14, m8 pmaddubsw m14, m9 paddw m0, m11 paddw m2, m12 paddw m1, m13 paddw m6, m14 pmulhrsw m0, m3 pmulhrsw m2, m3 pmulhrsw m1, m3 pmulhrsw m6, m3 packuswb m0, m2 packuswb m1, m6 mova [tlq+32*2], m0 mova [tlq+32*3], m1 .w64_main: movd xm12, dxd vpbroadcastb m7, [tlq+maxbaseq] lea r3d, [dxq-64] shl maxbased, 6 vpbroadcastw m12, xm12 sub r3d, maxbased vbroadcasti128 m8, [z_filter_s+2] movd xm6, r3d mov r5d, dxd mova m10, [pb_1to32] vpbroadcastd m11, [pb_32] vpbroadcastw m6, xm6 .w64_loop: mov r3d, r5d shr r3d, 6 movu m0, [tlq+r3+ 0] movu m1, [tlq+r3+ 8] pand m2, m4, m6 psubw m9, m5, m2 psllw m2, 8 por m9, m2 pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m9 pmaddubsw m1, m9 psraw m2, m6, 6 pmulhrsw m0, m3 pmulhrsw m1, m3 packsswb m2, m2 paddb m2, m10 packuswb m0, m1 vpblendvb m0, m7, m0, m2 mova [dstq+ 0], m0 movu m0, [tlq+r3+32] movu m1, [tlq+r3+40] add r5d, dxd pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m9 pmaddubsw m1, m9 paddb m2, m11 pmulhrsw m0, m3 pmulhrsw m1, m3 paddw m6, m12 packuswb m0, m1 vpblendvb m0, m7, m0, m2 mova [dstq+32], m0 dec hd jz .w64_end add dstq, strideq cmp r5d, maxbased jb .w64_loop .w64_end_loop: mova [dstq+ 0], m7 mova [dstq+32], m7 add dstq, strideq dec hd jg .w64_end_loop .w64_end: RET cglobal ipred_z2, 3, 10, 16, 224, dst, stride, tl, w, h, angle, dx, dy %define base r9-z_filter_t0 lea r9, [ipred_z2_avx2_table] tzcnt wd, wm movifnidn angled, anglem movifnidn hd, hm lea dxq, [dr_intra_derivative-90] movsxd wq, [r9+wq*4] movzx dyd, angleb xor angled, 0x400 mov r8, dxq sub dxq, dyq add wq, r9 add r9, z_filter_t0-ipred_z2_avx2_table mova m2, [tlq-64] mova m0, [tlq-32] mova m1, [tlq] and dyd, ~1 and dxq, ~1 movzx dyd, word [r8+dyq] ; angle - 90 movzx dxd, word [dxq+270] ; 180 - angle vpbroadcastd m13, [base+pw_512] vpbroadcastd m14, [base+pw_62] vpbroadcastd m15, [base+pw_64] mova [rsp+ 0], m2 mova [rsp+32], m0 mova [rsp+64], m1 neg dxd neg dyd jmp wq .w4: vpbroadcastq m6, [base+z2_base_inc] ; base_inc << 6 vbroadcasti128 m10, [base+z1_shuf_w4] vbroadcasti128 m11, [base+z2_shuf_h4] lea r2d, [dxq+(65<<6)] ; xpos movd xm5, dyd mov r8d, (63-4)<<6 mov dyq, -4 pshuflw xm5, xm5, q0000 pmullw xm5, [base+z2_ymul] test angled, 0x400 jnz .w4_main ; !enable_intra_edge_filter lea r3d, [hq+2] add angled, 1022 shl r3d, 6 test r3d, angled jnz .w4_no_upsample_above ; angle >= 130 || h > 8 || (is_sm && h == 8) vpbroadcastd xm3, [base+pb_4] call .upsample_above sub angled, 1075 ; angle - 53 lea r3d, [hq+3] xor angled, 0x7f ; 180 - angle call .filter_strength jmp .w4_filter_left ALIGN function_align .filter_strength: movd xm8, r3d mov r3d, angled movd xm7, angled vpbroadcastb m8, xm8 shr r3d, 8 ; is_sm << 1 vpbroadcastb m7, xm7 pcmpeqb m8, [base+z_filter_wh] mova xm9, [r9+r3*8] pand m0, m8, m7 pcmpgtb m0, m9 pmovmskb r3d, m0 popcnt r3d, r3d ret ALIGN function_align .upsample_above: ; w4/w8 pshufb xm2, xm1, [base+z_upsample1-2] pminub xm3, [base+z_filter_s+4] vpbroadcastd xm4, [base+pb_36_m4] vbroadcasti128 m10, [base+pb_0to15] pshufb xm3, xm1, xm3 pmaddubsw xm2, xm4 pmaddubsw xm3, xm4 lea r2d, [r2+dxq+(1<<6)] add dxd, dxd paddw xm2, xm3 pmulhrsw xm2, xm13 sub r8d, 3<<6 paddw m6, m6 packuswb xm2, xm2 punpcklbw xm1, xm2 mova [rsp+gprsize+64], xm1 ret ALIGN function_align .upsample_left: ; h4/h8 mov r3d, hd and r3d, 4 movd xm2, [rsp+gprsize+64] movddup xm0, [rsp+gprsize+56] movd xm1, r3d palignr xm2, xm0, 1 vpbroadcastb xm1, xm1 pshufb xm2, [base+z_filter_s+18] vpbroadcastd xm3, [base+pb_36_m4] pmaxub xm1, [base+z_upsample1-2] pshufb xm1, xm0, xm1 pmaddubsw xm2, xm3 pmaddubsw xm1, xm3 paddw xm5, xm5 add dyq, dyq paddw xm1, xm2 pmulhrsw xm1, xm13 vbroadcasti128 m11, [base+z2_upsample] paddw xm5, xm15 packuswb xm1, xm1 punpcklbw xm0, xm1 mova [rsp+gprsize+48], xm0 ret .w4_no_upsample_above: lea r3d, [hq+3] sub angled, 1112 ; angle - 90 call .filter_strength jz .w4_no_filter_above vpbroadcastd xm2, [base+pb_4] pminub xm2, [base+z_filter_s] vpbroadcastd xm0, [base+z_filter_k-4+r3*4+12*0] vpbroadcastd xm4, [base+z_filter_k-4+r3*4+12*1] pshufb xm3, xm1, xm2 ; 00 01 12 23 pshufd xm2, xm2, q0321 pmaddubsw xm0, xm3, xm0 pshufb xm2, xm1, xm2 ; 12 23 34 44 pmaddubsw xm2, xm4 vpbroadcastd xm4, [base+z_filter_k-4+r3*4+12*2] punpckhqdq xm3, xm3 ; 34 44 44 44 pmaddubsw xm3, xm4 movd xm4, r6m ; max_width pminsw xm4, xm15 vpbroadcastb xm4, xm4 paddw xm0, xm2 paddw xm0, xm3 pmulhrsw xm0, xm13 psubb xm4, [base+pb_1to32] psrlq xm1, 8 packuswb xm0, xm0 vpblendvb xm0, xm1, xm4 movd [rsp+65], xm0 .w4_no_filter_above: lea r3d, [hq+2] add angled, 973 ; angle + 883 shl r3d, 6 test r3d, angled jz .w4_upsample_left ; angle <= 140 || h > 8 || (is_sm && h == 8) vpbroadcastd xm0, [base+pb_90] psubb xm0, xm7 ; 180 - angle pand xm0, xm8 ; reuse from previous filter_strength call pcmpgtb xm0, xm9 pmovmskb r3d, xm0 popcnt r3d, r3d .w4_filter_left: jz .w4_main mov r5d, 10 cmp hd, 16 movu xm2, [rsp+49] vinserti128 m2, [rsp+43], 1 cmovl r5d, hd xor r5d, 15 ; h == 16 ? 5 : 15 - h movd xm0, r5d vbroadcasti128 m1, [base+z_filter_s+12] vbroadcasti128 m4, [base+z_filter_s+16] vinserti128 m3, m1, [z_filter_s+8], 1 ; 56 67 78 89 9a ab bc cd 55 55 56 67 78 89 9a ab vpblendd m1, m4, 0x0f ; 78 89 9a ab bc cd de ef 56 67 78 89 9a ab bc cd vinserti128 m4, [base+z_filter_s+20], 0 ; 9a ab bc cd de ef ff ff 78 89 9a ab bc cd de ef vpbroadcastb m0, xm0 pmaxub m0, m3 vpbroadcastd m3, [base+z_filter_k-4+r3*4+12*0] pshufb m0, m2, m0 pmaddubsw m0, m3 vpbroadcastd m3, [base+z_filter_k-4+r3*4+12*1] pshufb m1, m2, m1 pmaddubsw m1, m3 vpbroadcastd m3, [base+z_filter_k-4+r3*4+12*2] pshufb m2, m4 pmaddubsw m2, m3 movd xm4, r7m ; max_height pminsw xm4, xm15 vpbroadcastb xm4, xm4 psubb xm4, [base+pb_16to1] paddw m1, m0 paddw m1, m2 pmulhrsw m1, m13 vextracti128 xm0, m1, 1 packuswb xm0, xm1 vpblendvb xm0, [rsp+48], xm4 mova [rsp+48], xm0 jmp .w4_main .w4_upsample_left: call .upsample_left .w4_main: movd xm0, dxd mova m12, [base+z2_y_shuf_h4] lea r5, [rsp+56] ; left-7 vpbroadcastw m0, xm0 lea r9, [strideq*3] psraw xm1, xm5, 6 pand xm5, xm14 ; frac_y pxor xm2, xm2 paddw m7, m0, m0 psubw xm4, xm2, xm1 ; base_y vpblendd m0, m7, 0xcc mova xm1, xm7 punpcklwd xm4, xm2 paddw m0, m1 ; xpos2 xpos3 xpos0 xpos1 psubw xm1, xm15, xm5 ; 64-frac_y psllw xm5, 8 paddw m7, m7 paddw m6, m0 por xm5, xm1 ; 64-frac_y, frac_y vpbroadcastq m5, xm5 .w4_loop: lea r3d, [r2+dxq] shr r2d, 6 ; base_x0 vpbroadcastq m1, [rsp+r2] lea r2d, [r3+dxq] shr r3d, 6 ; base_x1 vpbroadcastq m2, [rsp+r3] lea r3d, [r2+dxq] shr r2d, 6 ; base_x2 movq xm0, [rsp+r2] lea r2d, [r3+dxq] shr r3d, 6 ; base_x3 movhps xm0, [rsp+r3] vpblendd m1, m2, 0xc0 pand m2, m14, m6 ; frac_x vpblendd m0, m1, 0xf0 psubw m1, m15, m2 ; 64-frac_x psllw m2, 8 pshufb m0, m10 por m1, m2 ; 64-frac_x, frac_x pmaddubsw m0, m1 cmp r3d, 64 jge .w4_toponly mova m1, m7 ; arbitrary negative value vpgatherdq m3, [r5+xm4], m1 pshufb m1, m3, m11 vpermd m1, m12, m1 pmaddubsw m1, m5 psraw m2, m6, 15 ; base_x < topleft vpblendvb m0, m1, m2 .w4_toponly: pmulhrsw m0, m13 paddw m6, m7 ; xpos += dx add r5, dyq packuswb m0, m0 vextracti128 xm1, m0, 1 movd [dstq+strideq*2], xm0 pextrd [dstq+r9 ], xm0, 1 movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 sub hd, 4 jz .w4_end lea dstq, [dstq+strideq*4] cmp r2d, r8d jge .w4_loop .w4_leftonly_loop: mova m1, m7 vpgatherdq m2, [r5+xm4], m1 add r5, dyq pshufb m0, m2, m11 vpermd m0, m12, m0 pmaddubsw m0, m5 pmulhrsw m0, m13 packuswb m0, m0 vextracti128 xm1, m0, 1 movd [dstq+strideq*2], xm0 pextrd [dstq+r9 ], xm0, 1 movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w4_leftonly_loop .w4_end: RET .w8: vbroadcasti128 m6, [base+z2_base_inc] ; base_inc << 6 movd xm5, dyd vbroadcasti128 m10, [base+z_filter_s+2] vbroadcasti128 m11, [base+z2_shuf_h4] lea r2d, [dxq+(65<<6)] ; xpos vpbroadcastw xm5, xm5 mov r8d, (63-8)<<6 mov dyq, -4 pmullw xm5, [base+z2_ymul] test angled, 0x400 jnz .w8_main lea r3d, [angleq+126] mov r3b, hb cmp r3d, 8 ja .w8_no_upsample_above ; angle >= 130 || h > 8 || is_sm vpbroadcastd xm3, [base+pb_8] movhps [rsp+80], xm1 call .upsample_above sub angled, 53 ; angle - 53 lea r3d, [hq+7] xor angled, 0x7f ; 180 - angle call .filter_strength jmp .w8_filter_left .w8_no_upsample_above: lea r3d, [hq+7] sub angled, 90 ; angle - 90 call .filter_strength jz .w8_no_filter_above vpbroadcastd xm3, [base+pb_8] pminub xm3, [base+z_filter_s+8] vpbroadcastd xm0, [base+z_filter_k-4+r3*4+12*0] vpbroadcastd xm4, [base+z_filter_k-4+r3*4+12*1] pshufb xm2, xm1, [base+z_filter_s] ; 00 01 12 23 34 45 56 67 pmaddubsw xm0, xm2, xm0 pshufb xm3, xm1, xm3 ; 34 45 56 67 78 88 88 88 shufps xm2, xm3, q2121 ; 12 23 34 45 56 67 78 88 pmaddubsw xm2, xm4 vpbroadcastd xm4, [base+z_filter_k-4+r3*4+12*2] pmaddubsw xm3, xm4 movd xm4, r6m ; max_width pminuw xm4, xm15 vpbroadcastb xm4, xm4 paddw xm0, xm2 paddw xm0, xm3 pmulhrsw xm0, xm13 psubb xm4, [base+pb_1to32] psrldq xm1, 1 packuswb xm0, xm0 vpblendvb xm0, xm1, xm4 movq [rsp+65], xm0 .w8_no_filter_above: lea r3d, [angleq-51] mov r3b, hb cmp r3d, 8 jbe .w8_upsample_left ; angle > 140 && h <= 8 && !is_sm vpbroadcastd m0, [base+pb_90] psubb m0, m7 pand m0, m8 pcmpgtb m0, m9 pmovmskb r3d, m0 popcnt r3d, r3d .w8_filter_left: jz .w8_main vpbroadcastd m7, [base+z_filter_k-4+r3*4+12*0] vpbroadcastd m8, [base+z_filter_k-4+r3*4+12*1] vpbroadcastd m9, [base+z_filter_k-4+r3*4+12*2] cmp hd, 32 jne .w8_filter_left_h16 movu xm2, [rsp+27] vinserti128 m2, [rsp+35], 1 vpbroadcastd xm0, [base+pb_5] vbroadcasti128 m3, [base+z_filter_s+ 8] vbroadcasti128 m1, [base+z_filter_s+12] vbroadcasti128 m4, [base+z_filter_s+16] pmaxub m3, m0 pshufb m3, m2, m3 pmaddubsw m3, m7 pshufb m1, m2, m1 pmaddubsw m1, m8 pshufb m2, m4 pmaddubsw m2, m9 paddw m3, m1 paddw m3, m2 pmulhrsw m3, m13 jmp .w8_filter_left_top16 .w8_filter_left_h16: mov r5d, 10 cmp hd, 16 cmovl r5d, hd xor r5d, 15 ; h == 16 ? 5 : 15 - h movd xm0, r5d vpbroadcastb m0, xm0 .w8_filter_left_top16: vbroadcasti128 m1, [base+z_filter_s+12] vinserti128 m2, m1, [base+z_filter_s+8], 1 ; 56 67 78 89 9a ab bc cd 55 55 56 67 78 89 9a ab vbroadcasti128 m4, [base+z_filter_s+16] vpblendd m1, m4, 0x0f ; 78 89 9a ab bc cd de ef 56 67 78 89 9a ab bc cd vinserti128 m4, [base+z_filter_s+20], 0 ; 9a ab bc cd de ef ff ff 78 89 9a ab bc cd de ef pmaxub m0, m2 movu xm2, [rsp+49] vinserti128 m2, [rsp+43], 1 pshufb m0, m2, m0 pmaddubsw m0, m7 movd xm7, r7m ; max_height pshufb m1, m2, m1 pmaddubsw m1, m8 pshufb m2, m4 pmaddubsw m2, m9 pminsw xm7, xm15 paddw m1, m0 vpbroadcastb m7, xm7 paddw m1, m2 pmulhrsw m1, m13 psubb m7, [base+pb_32to1] packuswb m3, m1 vpermq m3, m3, q1320 vpblendvb m3, [rsp+32], m7 mova [rsp+32], m3 jmp .w8_main .w8_upsample_left: call .upsample_left .w8_main: movd xm3, dxd lea r5, [rsp+56] ; left-7 pshufd xm1, xm5, q3120 pand xm5, xm14 vpbroadcastw m3, xm3 pxor xm0, xm0 psubw xm2, xm15, xm5 psraw xm1, 6 lea r9, [strideq*3] paddw m7, m3, m3 psubw xm9, xm0, xm1 ; base_y psllw xm5, 8 punpcklwd xm8, xm9, xm0 ; base_y 0, 1, 4, 5 vpblendd m3, m7, 0xf0 ; xpos0 xpos1 por xm5, xm2 ; 64-frac_y, frac_y punpckhwd xm9, xm0 ; base_y 2, 3, 6, 7 paddw m6, m3 vinserti128 m12, m5, xm5, 1 .w8_loop: lea r3d, [r2+dxq] shr r2d, 6 ; base_x0 movu xm0, [rsp+r2] lea r2d, [r3+dxq] shr r3d, 6 ; base_x1 vinserti128 m0, [rsp+r3], 1 lea r3d, [r2+dxq] shr r2d, 6 ; base_x2 movu xm1, [rsp+r2] lea r2d, [r3+dxq] shr r3d, 6 ; base_x3 vinserti128 m1, [rsp+r3], 1 pand m2, m14, m6 paddsw m4, m6, m7 psubw m5, m15, m2 psllw m2, 8 pshufb m0, m10 por m2, m5 pmaddubsw m0, m2 pand m2, m14, m4 psubw m5, m15, m2 psllw m2, 8 pshufb m1, m10 por m2, m5 pmaddubsw m1, m2 cmp r3d, 64 jge .w8_toponly mova m5, m7 vpgatherdq m3, [r5+xm9], m7 mova m7, m5 vpgatherdq m2, [r5+xm8], m5 pshufb m3, m11 pshufb m2, m11 punpckldq m5, m2, m3 ; a0 b0 c0 d0 a1 b1 c1 d1 e0 f0 g0 h0 e1 f1 g1 h1 punpckhdq m2, m3 ; a2 b2 c2 d2 a3 b3 c3 d3 e2 f2 g2 h2 e3 f3 g3 h3 vpermq m5, m5, q3120 ; y0 y1 vpermq m2, m2, q3120 ; y2 y3 pmaddubsw m5, m12 pmaddubsw m2, m12 psraw m6, 15 ; base_x < topleft vpblendvb m0, m5, m6 psraw m3, m4, 15 vpblendvb m1, m2, m3 .w8_toponly: pmulhrsw m0, m13 pmulhrsw m1, m13 paddw m6, m4, m7 ; xpos += dx add r5, dyq packuswb m0, m1 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movhps [dstq+strideq*2], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+r9 ], xm1 sub hd, 4 jz .w8_end lea dstq, [dstq+strideq*4] cmp r2d, r8d jge .w8_loop .w8_leftonly_loop: mova m0, m7 vpgatherdq m5, [r5+xm9], m7 mova m7, m0 vpgatherdq m3, [r5+xm8], m0 add r5, dyq pshufb m2, m5, m11 pshufb m1, m3, m11 punpckldq m0, m1, m2 punpckhdq m1, m2 vpermq m0, m0, q3120 vpermq m1, m1, q3120 pmaddubsw m0, m12 pmaddubsw m1, m12 pmulhrsw m0, m13 pmulhrsw m1, m13 packuswb m0, m1 vextracti128 xm1, m0, 1 movq [dstq+strideq*0], xm0 movhps [dstq+strideq*2], xm0 movq [dstq+strideq*1], xm1 movhps [dstq+r9 ], xm1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w8_leftonly_loop .w8_end: RET .w16: mov r8d, hd test angled, 0x400 jnz .w16_main lea r3d, [hq+15] sub angled, 90 call .filter_strength jz .w16_no_filter_above vbroadcasti128 m6, [tlq+1] mova xm2, [base+z_filter_s] vinserti128 m2, [base+z_filter_s+14], 1 ; 00 01 12 23 34 45 56 67 67 78 89 9a ab bc cd de movu xm3, [base+z_filter_s+8] vinserti128 m3, [base+z_filter_s+22], 1 ; 34 45 56 67 78 89 9a ab ab bc cd de ef ff ff ff vpblendd m1, m6, 0xf0 vpbroadcastd m0, [base+z_filter_k-4+r3*4+12*0] vpbroadcastd m4, [base+z_filter_k-4+r3*4+12*1] vpbroadcastd m5, [base+z_filter_k-4+r3*4+12*2] pshufb m2, m1, m2 pshufb m1, m3 pmaddubsw m0, m2, m0 shufps m2, m1, q2121 ; 12 23 34 45 56 67 78 89 89 9a ab bc cd de ef ff pmaddubsw m2, m4 pmaddubsw m1, m5 movd xm4, r6m ; max_width pminsw xm4, xm15 vpbroadcastb xm4, xm4 paddw m0, m2 paddw m0, m1 pmulhrsw m0, m13 psubb xm4, [base+pb_1to32] vextracti128 xm2, m0, 1 packuswb xm0, xm2 vpblendvb xm0, xm6, xm4 movu [rsp+65], xm0 .w16_no_filter_above: vpbroadcastd m0, [base+pb_90] psubb m0, m7 pand m0, m8 pcmpgtb m0, m9 pmovmskb r3d, m0 popcnt r3d, r3d jz .w16_main vpbroadcastd m7, [base+z_filter_k-4+r3*4+12*0] vpbroadcastd m8, [base+z_filter_k-4+r3*4+12*1] vpbroadcastd m9, [base+z_filter_k-4+r3*4+12*2] .w16_filter_left: movd xm6, r7m ; max_height pminsw xm6, xm15 vpbroadcastb m6, xm6 cmp hd, 32 jl .w16_filter_left_h16 vpbroadcastd xm0, [base+pb_5] vbroadcasti128 m10, [base+z_filter_s+ 8] vbroadcasti128 m11, [base+z_filter_s+12] vbroadcasti128 m12, [base+z_filter_s+16] je .w16_filter_left_h32 movu m3, [tlq-69] movu m5, [tlq-61] pmaxub m1, m10, m0 pshufb m1, m3, m1 pmaddubsw m1, m7 pshufb m2, m3, m11 pmaddubsw m2, m8 pshufb m3, m12 pmaddubsw m3, m9 paddw m1, m2 pshufb m2, m5, m10 pmaddubsw m2, m7 pshufb m4, m5, m11 pmaddubsw m4, m8 pshufb m5, m12 pmaddubsw m5, m9 paddw m1, m3 vpbroadcastd m3, [base+pb_32] paddb m3, [base+pb_32to1] paddw m2, m4 paddw m2, m5 pmulhrsw m1, m13 pmulhrsw m2, m13 psubb m3, m6, m3 packuswb m1, m2 vpblendvb m1, [tlq-64], m3 mova [rsp], m1 jmp .w16_filter_left_top32 .w16_filter_left_h32: pmaxub m10, m0 .w16_filter_left_top32: movu xm2, [tlq-37] vinserti128 m2, [tlq-29], 1 pshufb m3, m2, m10 pshufb m1, m2, m11 pshufb m2, m12 pmaddubsw m3, m7 pmaddubsw m1, m8 pmaddubsw m2, m9 paddw m3, m1 paddw m3, m2 pmulhrsw m3, m13 jmp .w16_filter_left_top16 .w16_filter_left_h16: mov r5d, 10 cmp hd, 16 cmovl r5d, hd xor r5d, 15 ; h == 16 ? 5 : 15 - h movd xm0, r5d vpbroadcastb m0, xm0 .w16_filter_left_top16: movu xm2, [tlq-15] vinserti128 m2, [tlq-21], 1 vbroadcasti128 m1, [base+z_filter_s+12] vbroadcasti128 m4, [base+z_filter_s+16] vinserti128 m5, m1, [base+z_filter_s+8], 1 ; 56 67 78 89 9a ab bc cd 34 45 56 67 78 89 9a ab vpblendd m1, m4, 0x0f ; 78 89 9a ab bc cd de ef 56 67 78 89 9a ab bc cd vinserti128 m4, [base+z_filter_s+20], 0 ; 9a ab bc cd de ef ff ff 78 89 9a ab bc cd de ef pmaxub m0, m5 pshufb m0, m2, m0 pmaddubsw m0, m7 pshufb m1, m2, m1 pmaddubsw m1, m8 pshufb m2, m4 pmaddubsw m2, m9 psubb m6, [base+pb_32to1] paddw m1, m0 paddw m1, m2 pmulhrsw m1, m13 packuswb m3, m1 vpermq m3, m3, q1320 vpblendvb m3, [tlq-32], m6 mova [rsp+32], m3 .w16_main: movd xm1, dyd vbroadcasti128 m10, [base+z_filter_s+2] movd xm7, dxd vbroadcasti128 m11, [base+z2_shuf_h2] vpbroadcastw m1, xm1 vpbroadcastw m7, xm7 mov r7, dstq pmullw m0, m1, [base+z2_ymul] psllw xm1, 4 paddw m6, m7, [base+z2_base_inc] lea r9d, [dxq+(65<<6)] ; xpos movd [rsp+156], xm1 .w16_loop0: mov r2d, r9d mova [rsp+160], m0 lea r5, [rsp+60] ; left-3 mova [rsp+192], m6 pxor m1, m1 psraw m2, m0, 6 pand m0, m14 psubw m9, m1, m2 ; base_y psubw m12, m15, m0 punpcklwd m8, m9, m1 ; base_y 0, 1, 2, 3, 8, 9, 10, 11 psllw m0, 8 punpckhwd m9, m1 ; base_y 4, 5, 6, 7, 12, 13, 14, 15 por m12, m0 ; 64-frac_y, frac_y .w16_loop: lea r3d, [r2+dxq] shr r2d, 6 ; base_x0 movu xm0, [rsp+r2] vinserti128 m0, [rsp+r2+8], 1 lea r2d, [r3+dxq] shr r3d, 6 ; base_x1 movu xm1, [rsp+r3] vinserti128 m1, [rsp+r3+8], 1 pand m2, m14, m6 paddsw m5, m6, m7 psubw m3, m15, m2 psllw m2, 8 pshufb m0, m10 por m2, m3 pmaddubsw m0, m2 pand m2, m14, m5 psubw m3, m15, m2 psllw m2, 8 pshufb m1, m10 por m2, m3 pmaddubsw m1, m2 cmp r3d, 64 jge .w16_toponly punpckhwd m2, m5, m5 ; mask out unnecessary loads vpgatherdd m4, [r5+m9], m2 punpcklwd m2, m5, m5 vpgatherdd m3, [r5+m8], m2 pshufb m4, m11 ; e0 f0 g0 h0 e1 f1 g1 h1 m0 n0 o0 p0 m1 n1 o1 p1 pshufb m3, m11 ; a0 b0 c0 d0 a1 b1 c1 d1 i0 j0 k0 l0 i1 j1 k1 l1 punpcklqdq m2, m3, m4 ; y0 punpckhqdq m3, m4 ; y1 pmaddubsw m2, m12 pmaddubsw m3, m12 psraw m6, 15 ; base_x < topleft vpblendvb m0, m2, m6 psraw m6, m5, 15 vpblendvb m1, m3, m6 .w16_toponly: pmulhrsw m0, m13 pmulhrsw m1, m13 paddw m6, m5, m7 ; xpos += dx sub r5, 2 packuswb m0, m1 vpermq m0, m0, q3120 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 sub hd, 2 jz .w16_end lea dstq, [dstq+strideq*2] cmp r2d, (63-16)<<6 jge .w16_loop .w16_leftonly_loop: mova m0, m7 vpgatherdd m4, [r5+m9], m7 mova m7, m0 vpgatherdd m3, [r5+m8], m0 sub r5, 2 pshufb m2, m4, m11 pshufb m1, m3, m11 punpcklqdq m0, m1, m2 punpckhqdq m1, m2 pmaddubsw m0, m12 pmaddubsw m1, m12 pmulhrsw m0, m13 pmulhrsw m1, m13 packuswb m0, m1 vpermq m0, m0, q3120 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w16_leftonly_loop .w16_end: sub r8d, 1<<8 jl .w16_ret vpbroadcastd m0, [rsp+156] paddw m0, [rsp+160] ; base_y += 16*dy paddw m6, m13, [rsp+192] add r7, 16 add r9d, 16<<6 movzx hd, r8b mov dstq, r7 paddw m6, m13 ; base_x += 16*64 jmp .w16_loop0 .w16_ret: RET .w32: mova m2, [tlq+32] lea r8d, [hq+(1<<8)] mova [rsp+96], m2 test angled, 0x400 jnz .w16_main vpbroadcastd m7, [base+z_filter_k+4*2+12*0] vpbroadcastd m8, [base+z_filter_k+4*2+12*1] vpbroadcastd m9, [base+z_filter_k+4*2+12*2] mova xm5, [base+z_filter_s] vinserti128 m5, [base+z_filter_s+10], 1 ; 00 01 12 23 34 45 56 67 45 56 67 78 89 9a ab bc vinserti128 m1, [tlq+11], 1 movu xm6, [base+z_filter_s+12] vinserti128 m6, [base+z_filter_s+22], 1 ; 56 67 78 89 9a ab bc cd ab bc cd de ef ff ff ff movu xm3, [tlq+ 6] vinserti128 m3, [tlq+17], 1 movd xm0, r6m ; max_width pminsw xm0, xm15 vpbroadcastb m10, xm0 .w32_filter_above: pshufb m0, m1, m5 shufps m4, m5, m6, q1021 ; 12 23 34 45 56 67 78 89 67 78 89 9a ab bc cd de pmaddubsw m0, m7 pshufb m2, m1, m4 shufps m5, m6, q2132 ; 34 45 56 67 78 89 9a ab 89 9a ab bc cd de ef ff pmaddubsw m2, m8 pshufb m1, m5 pmaddubsw m1, m9 paddw m0, m2 paddw m0, m1 pshufb m1, m3, m4 pmaddubsw m1, m7 pshufb m2, m3, m5 pmaddubsw m2, m8 pshufb m3, m6 pmaddubsw m3, m9 paddw m1, m2 paddw m1, m3 pmulhrsw m0, m13 pmulhrsw m1, m13 psubb m10, [base+pb_1to32] packuswb m0, m1 vpblendvb m0, [tlq+1], m10 movu [rsp+65], m0 jmp .w16_filter_left .w64: mova m2, [tlq+32] mov r3d, [tlq+64] lea r8d, [hq+(3<<8)] mova [rsp+ 96], m2 mov [rsp+128], r3d test angled, 0x400 jnz .w16_main vpbroadcastd m7, [base+z_filter_k+4*2+12*0] vpbroadcastd m8, [base+z_filter_k+4*2+12*1] vpbroadcastd m9, [base+z_filter_k+4*2+12*2] movu xm6, [base+z_filter_s+ 4] vinserti128 m6, [base+z_filter_s+10], 1 ; 12 23 34 45 56 67 78 89 45 56 67 78 89 9a ab bc movu xm3, [tlq+30] vinserti128 m3, [tlq+43], 1 movu xm5, [base+z_filter_s+16] vinserti128 m5, [base+z_filter_s+22], 1 ; 78 89 9a ab bc cd de ef ab bc cd de ef ff ff ff pshufb m0, m3, m6 shufps m4, m6, m5, q1021 ; 34 45 56 67 78 89 9a ab 67 78 89 9a ab bc cd de pmaddubsw m0, m7 pshufb m2, m3, m4 shufps m6, m5, q2132 ; 56 67 78 89 9a ab bc cd 89 9a ab bc cd de ef ff pmaddubsw m2, m8 pshufb m3, m6 pmaddubsw m3, m9 paddw m0, m2 paddw m0, m3 movu xm2, [tlq+36] vinserti128 m2, [tlq+49], 1 pshufb m4, m2, m4 pmaddubsw m4, m7 pshufb m3, m2, m6 pmaddubsw m3, m8 pshufb m2, m5 pmaddubsw m2, m9 movd xm5, r6m ; max_width pminsw xm5, xm15 vpbroadcastb m10, xm5 paddw m3, m4 paddw m2, m3 vpbroadcastd m3, [base+pb_32] pmulhrsw m0, m13 pmulhrsw m2, m13 mova xm5, [base+z_filter_s] vinserti128 m5, [base+z_filter_s+6], 1 psubb m3, m10, m3 psubb m3, [base+pb_1to32] vinserti128 m1, [tlq+13], 1 packuswb m0, m2 vpblendvb m0, [tlq+33], m3 movu xm3, [tlq+ 6] vinserti128 m3, [tlq+19], 1 movu [rsp+97], m0 jmp .w32_filter_above cglobal ipred_z3, 4, 9, 0, dst, stride, tl, w, h, angle, dy, org_w, maxbase %assign org_stack_offset stack_offset lea r6, [ipred_z3_avx2_table] tzcnt hd, hm movifnidn angled, anglem lea r7, [dr_intra_derivative+45*2-1] dec tlq movsxd hq, [r6+hq*4] sub angled, 180 add hq, r6 mov dyd, angled neg dyd xor angled, 0x400 or dyq, ~0x7e movzx dyd, word [r7+dyq] vpbroadcastd m3, [pw_512] vpbroadcastd m4, [pw_62] vpbroadcastd m5, [pw_64] mov org_wd, wd jmp hq .h4: lea r7, [strideq*3] cmp angleb, 40 jae .h4_no_upsample lea r4d, [angleq-1024] sar r4d, 7 add r4d, wd jg .h4_no_upsample ; !enable_intra_edge_filter || w > 8 || (w == 8 && is_sm) ALLOC_STACK -32, 9 movu xm8, [tlq-7] pshufb xm0, xm8, [z_upsample1-4] vpbroadcastb xm2, xm8 pshufb xm1, xm8, [z_filter_s+2] mova [rsp+16], xm2 ; top[max_base_y] vpbroadcastd xm2, [pb_36_m4] add dyd, dyd pmaddubsw xm0, xm2 pmaddubsw xm1, xm2 movd xm7, dyd mov r2d, dyd vpbroadcastw m7, xm7 paddw xm1, xm0 pmulhrsw xm1, xm3 pslldq m6, m7, 8 paddw xm2, xm7, xm7 paddw m6, m7 packuswb xm1, xm1 paddw m6, m2 punpcklbw xm1, xm8 mova xm8, [z_transpose4] psllw m7, 2 pshufb xm1, [pb_15to0] mova [rsp], xm1 .h4_upsample_loop: lea r4d, [r2+dyq] shr r2d, 6 vpbroadcastq m1, [rsp+r2] lea r2d, [r4+dyq] shr r4d, 6 vpbroadcastq m2, [rsp+r4] lea r4d, [r2+dyq] shr r2d, 6 movq xm0, [rsp+r2] lea r2d, [r4+dyq] shr r4d, 6 movhps xm0, [rsp+r4] vpblendd m1, m2, 0xc0 pand m2, m4, m6 vpblendd m0, m1, 0xf0 psubw m1, m5, m2 psllw m2, 8 por m1, m2 pmaddubsw m0, m1 paddw m6, m7 pmulhrsw m0, m3 vextracti128 xm1, m0, 1 packuswb xm1, xm0 pshufb xm1, xm8 movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 pextrd [dstq+strideq*2], xm1, 2 pextrd [dstq+r7 ], xm1, 3 add dstq, 4 sub wd, 4 jg .h4_upsample_loop RET ALIGN function_align .filter_strength: ; h4/h8/h16 %define base r4-z_filter_t0 lea r4, [z_filter_t0] movd xm0, maxbased movd xm2, angled shr angled, 8 ; is_sm << 1 vpbroadcastb m0, xm0 vpbroadcastb m2, xm2 pcmpeqb m1, m0, [base+z_filter_wh] pand m1, m2 mova xm2, [r4+angleq*8] pcmpgtb m1, m2 pmovmskb r5d, m1 popcnt r5d, r5d ret .h4_no_upsample: %assign stack_offset org_stack_offset ALLOC_STACK -16, 12 mov maxbased, 7 test angled, 0x400 ; !enable_intra_edge_filter jnz .h4_main lea maxbased, [wq+3] call .filter_strength mov maxbased, 7 jz .h4_main ; filter_strength == 0 vpbroadcastd m7, [base+pb_7] vbroadcasti128 m2, [tlq-14] pmaxub m1, m7, [base+z_filter_s-4] vpbroadcastd m8, [base+z_filter_k-4+r5*4+12*0] pmaxub m7, [base+z_filter_s+4] vpbroadcastd m9, [base+z_filter_k-4+r5*4+12*1] vpbroadcastd m10, [base+z_filter_k-4+r5*4+12*2] pshufb m0, m2, m1 shufps m1, m7, q2121 pmaddubsw m0, m8 pshufb m1, m2, m1 pmaddubsw m1, m9 pshufb m2, m7 pmaddubsw m2, m10 paddw m0, m1 paddw m0, m2 pmulhrsw m0, m3 mov r4d, 9 lea tlq, [rsp+15] cmp wd, 4 cmova maxbased, r4d vextracti128 xm1, m0, 1 packuswb xm0, xm1 mova [rsp], xm0 .h4_main: movd xm6, dyd vpbroadcastq m0, [z_base_inc] ; base_inc << 6 mov r4, tlq sub tlq, 4 neg dyq vpbroadcastw m6, xm6 sub r4, maxbaseq shl maxbased, 6 vpbroadcastb m7, [r4] lea r4, [dyq+63] ; ypos movd xm9, maxbased not maxbased vbroadcasti128 m8, [z3_shuf_w4] add maxbased, 64 vpbroadcastw m9, xm9 psrlw m7, 8 ; top[max_base_y] paddw m10, m6, m6 psubw m9, m0 ; max_base_y vpblendd m6, m10, 0xcc mova xm0, xm10 paddw m6, m0 ; ypos2 ypos3 ypos0 ypos1 paddw m10, m10 mova xm11, [z_transpose4] .h4_loop: lea r5, [r4+dyq] sar r4, 6 ; base0 vpbroadcastq m1, [tlq+r4] lea r4, [r5+dyq] sar r5, 6 ; base1 vpbroadcastq m2, [tlq+r5] lea r5, [r4+dyq] sar r4, 6 ; base2 movq xm0, [tlq+r4] lea r4, [r5+dyq] sar r5, 6 ; base3 movhps xm0, [tlq+r5] vpblendd m1, m2, 0xc0 pand m2, m4, m6 ; frac vpblendd m0, m1, 0xf0 psubw m1, m5, m2 ; 64-frac psllw m2, 8 pshufb m0, m8 por m1, m2 ; 64-frac, frac pmaddubsw m0, m1 pcmpgtw m1, m9, m6 ; base < max_base_y pmulhrsw m0, m3 paddw m6, m10 ; ypos += dy vpblendvb m0, m7, m0, m1 vextracti128 xm1, m0, 1 packuswb xm1, xm0 pshufb xm1, xm11 ; transpose movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 pextrd [dstq+strideq*2], xm1, 2 pextrd [dstq+r7 ], xm1, 3 sub wd, 4 jz .h4_end add dstq, 4 cmp r4d, maxbased jg .h4_loop packuswb xm7, xm7 .h4_end_loop: movd [dstq+strideq*0], xm7 movd [dstq+strideq*1], xm7 movd [dstq+strideq*2], xm7 movd [dstq+r7 ], xm7 add dstq, 4 sub wd, 4 jg .h4_end_loop .h4_end: RET ALIGN function_align .h8: lea r4d, [angleq+216] mov r4b, wb cmp r4d, 8 ja .h8_no_upsample ; !enable_intra_edge_filter || is_sm || d >= 40 || w > 8 %assign stack_offset org_stack_offset ALLOC_STACK -32, 8 and r4d, 4 mova xm0, [tlq-15] vinserti128 m0, [tlq- 9], 1 movd xm1, r4d movu xm2, [z_filter_s+2] vinserti128 m2, [z_filter_s+6], 1 vpbroadcastb xm1, xm1 ; w & 4 vpbroadcastd m7, [pb_36_m4] pmaxub xm1, [z_upsample1-4] ; clip 4x8 vinserti128 m1, [z_upsample1], 1 add dyd, dyd pshufb m1, m0, m1 pshufb m2, m0, m2 vinserti128 m0, [tlq-7], 1 movd xm6, dyd pmaddubsw m1, m7 pmaddubsw m2, m7 vpbroadcastw m6, xm6 mov r2d, dyd lea r5, [strideq*3] paddw m7, m6, m6 paddw m1, m2 vpblendd m6, m7, 0xf0 pmulhrsw m1, m3 pslldq m2, m7, 8 paddw m7, m7 paddw m6, m2 vbroadcasti128 m2, [pb_15to0] packuswb m1, m1 punpcklbw m1, m0 pshufb m1, m2 vextracti128 [rsp+ 0], m1, 1 mova [rsp+16], xm1 .h8_upsample_loop: lea r4d, [r2+dyq] shr r2d, 6 ; base0 movu xm0, [rsp+r2] lea r2d, [r4+dyq] shr r4d, 6 ; base1 vinserti128 m0, [rsp+r4], 1 lea r4d, [r2+dyq] shr r2d, 6 ; base2 pand m1, m4, m6 psubw m2, m5, m1 psllw m1, 8 por m2, m1 punpcklqdq m1, m2, m2 ; frac0 frac1 pmaddubsw m0, m1 movu xm1, [rsp+r2] lea r2d, [r4+dyq] shr r4d, 6 ; base3 vinserti128 m1, [rsp+r4], 1 punpckhqdq m2, m2 ; frac2 frac3 pmaddubsw m1, m2 pmulhrsw m0, m3 paddw m6, m7 pmulhrsw m1, m3 lea r4, [dstq+strideq*4] psllw m1, 8 por m0, m1 vextracti128 xm1, m0, 1 punpcklbw xm2, xm0, xm1 punpckhbw xm0, xm1 movd [dstq+strideq*0], xm2 pextrd [dstq+strideq*1], xm2, 1 pextrd [dstq+strideq*2], xm2, 2 pextrd [dstq+r5 ], xm2, 3 movd [r4 +strideq*0], xm0 pextrd [r4 +strideq*1], xm0, 1 pextrd [r4 +strideq*2], xm0, 2 pextrd [r4 +r5 ], xm0, 3 add dstq, 4 sub wd, 4 jg .h8_upsample_loop RET .h8_no_intra_edge_filter: and maxbased, 7 or maxbased, 8 ; imin(w+7, 15) jmp .h8_main .h8_no_upsample: %assign stack_offset org_stack_offset ALLOC_STACK -32, 10 lea maxbased, [wq+7] test angled, 0x400 jnz .h8_no_intra_edge_filter call .filter_strength jz .h8_main ; filter_strength == 0 vpbroadcastd xm6, [base+pb_15] pcmpeqb xm1, xm1 psubusb xm6, xm0 psubb xm6, xm1 ; w == 4 ? 5 : 1 movu xm2, [tlq-16] pmaxub xm1, xm6, [base+z_filter_s] vinserti128 m2, [tlq-14], 1 vinserti128 m1, [base+z_filter_s+12], 1 vpbroadcastd m7, [base+z_filter_k-4+r5*4+12*0] pmaxub xm6, [base+z_filter_s+ 8] vinserti128 m6, [base+z_filter_s+20], 1 pshufb m0, m2, m1 pmaddubsw m0, m7 vpbroadcastd m7, [base+z_filter_k-4+r5*4+12*1] movzx r4d, byte [tlq-15] shufps m1, m6, q2121 pshufb m1, m2, m1 pmaddubsw m1, m7 paddw m0, m1 sub r5d, 3 jnz .h8_3tap vpbroadcastd m7, [z_filter_k+4*8] movzx r2d, byte [tlq-14] pshufb m2, m6 pmaddubsw m2, m7 sub r2d, r4d lea r2d, [r2+r4*8+4] shr r2d, 3 mov [rsp+15], r2b paddw m0, m2 .h8_3tap: pmulhrsw m0, m3 sar r5d, 1 lea tlq, [rsp+31] add r5d, 17 cmp wd, 8 cmova maxbased, r5d neg r5 mov [tlq+r5], r4b vextracti128 xm1, m0, 1 packuswb xm0, xm1 mova [tlq-15], xm0 .h8_main: movd xm2, dyd vbroadcasti128 m0, [z_base_inc] mov r4, tlq sub tlq, 8 neg dyq vpbroadcastw m2, xm2 sub r4, maxbaseq shl maxbased, 6 vpbroadcastb m7, [r4] lea r4, [dyq+63] movd xm9, maxbased not maxbased vbroadcasti128 m8, [z3_shuf] add maxbased, 64 vpbroadcastw m9, xm9 psrlw m7, 8 psubw m9, m0 paddw m6, m2, m2 vpblendd m2, m6, 0x0f .h8_loop: lea r5, [r4+dyq] sar r4, 6 pand m0, m4, m2 psubw m1, m5, m0 psllw m0, 8 por m1, m0 vbroadcasti128 m0, [tlq+r4] lea r4, [r5+dyq] sar r5, 6 vinserti128 m0, [tlq+r5], 0 sub rsp, 8*2 pshufb m0, m8 pmaddubsw m0, m1 pcmpgtw m1, m9, m2 paddw m2, m6 pmulhrsw m0, m3 vpblendvb m0, m7, m0, m1 vextracti128 xm1, m0, 1 psllw xm0, 8 por xm0, xm1 ; interleave rows (partial transpose) mova [rsp], xm0 sub wd, 2 jz .h8_transpose cmp r4d, maxbased jg .h8_loop packuswb xm0, xm7, xm7 .h8_end_loop: sub rsp, 8*2 mova [rsp], xm0 sub wd, 2 jg .h8_end_loop .h8_transpose: mova xm2, [rsp+16*1] sub org_wd, 8 lea r2, [strideq*3] lea r6, [dstq+org_wq] cmovg dstq, r6 punpcklwd xm1, xm2, xm0 punpckhwd xm2, xm0 lea r6, [dstq+strideq*4] jge .h8_w8 add rsp, 16*2 movd [dstq+strideq*0], xm1 pextrd [dstq+strideq*1], xm1, 1 pextrd [dstq+strideq*2], xm1, 2 pextrd [dstq+r2 ], xm1, 3 movd [r6 +strideq*0], xm2 pextrd [r6 +strideq*1], xm2, 1 pextrd [r6 +strideq*2], xm2, 2 pextrd [r6 +r2 ], xm2, 3 jmp .h8_end .h8_w8_loop: mova xm0, [rsp+16*0] mova xm2, [rsp+16*1] punpcklwd xm1, xm2, xm0 punpckhwd xm2, xm0 .h8_w8: ; w8/w16/w32 mova xm0, [rsp+16*2] mova xm4, [rsp+16*3] add rsp, 16*4 punpcklwd xm3, xm4, xm0 punpckhwd xm4, xm0 punpckldq xm0, xm3, xm1 punpckhdq xm3, xm1 punpckldq xm1, xm4, xm2 punpckhdq xm4, xm2 movq [dstq+strideq*0], xm0 movhps [dstq+strideq*1], xm0 movq [dstq+strideq*2], xm3 movhps [dstq+r2 ], xm3 movq [r6 +strideq*0], xm1 movhps [r6 +strideq*1], xm1 movq [r6 +strideq*2], xm4 movhps [r6 +r2 ], xm4 sub dstq, 8 sub r6, 8 sub org_wd, 8 jge .h8_w8_loop .h8_end: RET .h16_no_intra_edge_filter: and maxbased, 15 or maxbased, 16 ; imin(w+15, 31) jmp .h16_main ALIGN function_align .h16: %assign stack_offset org_stack_offset ALLOC_STACK -64, 12 lea maxbased, [wq+15] test angled, 0x400 jnz .h16_no_intra_edge_filter call .filter_strength jz .h16_main ; filter_strength == 0 vpbroadcastd m11, [base+pb_27] vpbroadcastd m1, [base+pb_1] vbroadcasti128 m6, [base+z_filter_s+12] vinserti128 m2, m6, [base+z_filter_s+4], 0 vinserti128 m6, [base+z_filter_s+20], 1 movu xm10, [tlq-18] vinserti128 m10, [tlq-14], 1 vpbroadcastd m9, [base+z_filter_k-4+r5*4+12*0] vbroadcasti128 m7, [base+z_filter_s+8] vinserti128 m8, m7, [base+z_filter_s+0], 0 vinserti128 m7, [base+z_filter_s+16], 1 psubusb m11, m0 por m1, m11 movu xm11, [tlq-32] vinserti128 m11, [tlq-28], 1 pmaxub m8, m1 pmaxub m7, m1 pshufb m0, m10, m2 shufps m2, m6, q2121 pmaddubsw m0, m9 pshufb m1, m11, m8 shufps m8, m7, q2121 pmaddubsw m1, m9 vpbroadcastd m9, [base+z_filter_k-4+r5*4+12*1] movzx r4d, byte [tlq-31] pshufb m2, m10, m2 pmaddubsw m2, m9 pshufb m8, m11, m8 pmaddubsw m8, m9 paddw m0, m2 paddw m1, m8 sub r5d, 3 jnz .h16_3tap vpbroadcastd m9, [z_filter_k+4*8] movzx r2d, byte [tlq-30] pshufb m10, m6 pmaddubsw m10, m9 pshufb m11, m7 pmaddubsw m11, m9 sub r2d, r4d lea r2d, [r2+r4*8+4] shr r2d, 3 mov [rsp+31], r2b paddw m0, m10 paddw m1, m11 .h16_3tap: pmulhrsw m0, m3 pmulhrsw m1, m3 sar r5d, 1 lea tlq, [rsp+63] add r5d, 33 cmp wd, 16 cmova maxbased, r5d neg r5 mov [tlq+r5], r4b packuswb m0, m1 vpermq m0, m0, q2031 mova [tlq-31], m0 .h16_main: movd xm6, dyd vbroadcasti128 m0, [z_base_inc] mov r4, tlq sub tlq, 8 neg dyq vpbroadcastw m6, xm6 sub r4, maxbaseq shl maxbased, 6 vpbroadcastb m7, [r4] lea r4, [dyq+63] movd xm9, maxbased not maxbased vbroadcasti128 m8, [z3_shuf] add maxbased, 64 vpbroadcastw m9, xm9 psubw m9, m0 paddw m11, m6, m6 psubw m10, m9, m3 ; 64*8 vpblendd m6, m11, 0xf0 .h16_loop: lea r5, [r4+dyq] sar r4, 6 pand m1, m4, m6 psubw m2, m5, m1 psllw m1, 8 por m2, m1 movu xm0, [tlq+r4-0] movu xm1, [tlq+r4-8] lea r4, [r5+dyq] sar r5, 6 vinserti128 m0, [tlq+r5-0], 1 vinserti128 m1, [tlq+r5-8], 1 sub rsp, 32 pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m2 pmaddubsw m1, m2 pmulhrsw m0, m3 pmulhrsw m1, m3 packuswb m0, m1 pcmpgtw m1, m9, m6 pcmpgtw m2, m10, m6 packsswb m1, m2 paddw m6, m11 vpblendvb m0, m7, m0, m1 vpermq m0, m0, q3120 mova [rsp], m0 sub wd, 2 jz .h16_transpose cmp r4d, maxbased jg .h16_loop mova m0, m7 .h16_end_loop: sub rsp, 32 mova [rsp], m7 sub wd, 2 jg .h16_end_loop .h16_transpose: mova m2, [rsp+32*1] sub org_wd, 8 lea r2, [strideq*3] lea r6, [dstq+org_wq] cmovg dstq, r6 punpcklbw m1, m2, m0 punpckhbw m2, m0 lea r3, [strideq*5] punpcklbw m0, m1, m2 punpckhbw m1, m2 lea r4, [strideq+r2*2] ; stride*7 jge .h16_w8 add rsp, 32*2 movd [dstq+strideq*0], xm0 pextrd [dstq+strideq*1], xm0, 1 pextrd [dstq+strideq*2], xm0, 2 pextrd [dstq+r2 ], xm0, 3 vextracti128 xm0, m0, 1 movd [dstq+strideq*4], xm1 pextrd [dstq+r3 ], xm1, 1 pextrd [dstq+r2*2 ], xm1, 2 pextrd [dstq+r4 ], xm1, 3 lea dstq, [dstq+strideq*8] vextracti128 xm1, m1, 1 movd [dstq+strideq*0], xm0 pextrd [dstq+strideq*1], xm0, 1 pextrd [dstq+strideq*2], xm0, 2 pextrd [dstq+r2 ], xm0, 3 movd [dstq+strideq*4], xm1 pextrd [dstq+r3 ], xm1, 1 pextrd [dstq+r2*2 ], xm1, 2 pextrd [dstq+r4 ], xm1, 3 jmp .h16_end .h16_w8_loop: mova m0, [rsp+32*0] mova m2, [rsp+32*1] punpcklbw m1, m2, m0 punpckhbw m2, m0 punpcklbw m0, m1, m2 punpckhbw m1, m2 .h16_w8: mova m2, [rsp+32*2] mova m4, [rsp+32*3] lea r6, [dstq+strideq*8] add rsp, 32*4 punpcklbw m3, m4, m2 punpckhbw m4, m2 punpcklbw m2, m3, m4 punpckhbw m3, m4 punpckldq m4, m2, m0 punpckhdq m2, m0 punpckldq m0, m3, m1 punpckhdq m3, m1 movq [dstq+strideq*0], xm4 movhps [dstq+strideq*1], xm4 vextracti128 xm4, m4, 1 movq [dstq+strideq*2], xm2 movhps [dstq+r2 ], xm2 vextracti128 xm2, m2, 1 movq [dstq+strideq*4], xm0 movhps [dstq+r3 ], xm0 vextracti128 xm0, m0, 1 movq [dstq+r2*2 ], xm3 movhps [dstq+r4 ], xm3 vextracti128 xm3, m3, 1 movq [r6+strideq*0], xm4 movhps [r6+strideq*1], xm4 movq [r6+strideq*2], xm2 movhps [r6+r2 ], xm2 movq [r6+strideq*4], xm0 movhps [r6+r3 ], xm0 movq [r6+r2*2 ], xm3 movhps [r6+r4 ], xm3 sub dstq, 8 sub org_wd, 8 jge .h16_w8_loop .h16_end: RET ALIGN function_align .h32: %assign stack_offset org_stack_offset ALLOC_STACK -96, 15 lea maxbased, [wq+31] and maxbased, 31 or maxbased, 32 ; imin(w+31, 63) test angled, 0x400 ; !enable_intra_edge_filter jnz .h32_main vbroadcasti128 m0, [pb_0to15] mov r4d, 21 mov r5d, 3 movu xm11, [tlq-66] ; 56-63 vinserti128 m11, [tlq-52], 1 ; 40-47 sub r4d, wd ; 21-w cmovg r5d, r4d movu xm12, [tlq-58] ; 48-55 vinserti128 m12, [tlq-44], 1 ; 32-39 sub r4d, 8 ; 13-w movd xm1, r5d movu xm13, [tlq-34] ; 24-31 vinserti128 m13, [tlq-20], 1 ; 8-15 movd xm2, r4d vpbroadcastb m1, xm1 movu xm14, [tlq-28] ; 16-23 vinserti128 m14, [tlq-14], 1 ; 0- 7 vpbroadcastb m2, xm2 pmaxsb m1, m0 ; clip 16x32 and (32|64)x32 movu m7, [z_filter_s+4] pshufb m11, m1 vinserti128 m8, m7, [z_filter_s+8], 1 vinserti128 m7, [z_filter_s+16], 0 pmaxsb m2, m0 ; clip 8x32 vpbroadcastd m9, [z_filter_k+4*2+12*0] pshufb m12, m2 pshufb m0, m11, m8 pmaddubsw m0, m9 pshufb m2, m12, m8 pmaddubsw m2, m9 pshufb m1, m13, m8 pmaddubsw m1, m9 shufps m8, m7, q1021 pshufb m6, m14, m8 pmaddubsw m6, m9 vpbroadcastd m9, [z_filter_k+4*2+12*1] pshufb m10, m11, m8 pmaddubsw m10, m9 paddw m0, m10 pshufb m10, m12, m8 pmaddubsw m10, m9 paddw m2, m10 pshufb m10, m13, m8 pmaddubsw m10, m9 shufps m8, m7, q2121 paddw m1, m10 pshufb m10, m14, m8 pmaddubsw m10, m9 paddw m6, m10 vpbroadcastd m9, [z_filter_k+4*2+12*2] pshufb m11, m8 pmaddubsw m11, m9 pshufb m12, m8 pmaddubsw m12, m9 movzx r4d, byte [tlq-63] movzx r2d, byte [tlq-62] paddw m0, m11 paddw m2, m12 pshufb m13, m8 pmaddubsw m13, m9 pshufb m14, m7 pmaddubsw m14, m9 paddw m1, m13 paddw m6, m14 sub r2d, r4d lea r2d, [r2+r4*8+4] ; edge case for 64x32 pmulhrsw m0, m3 pmulhrsw m2, m3 pmulhrsw m1, m3 pmulhrsw m6, m3 shr r2d, 3 mov [rsp+31], r2b lea tlq, [rsp+95] mov [tlq-65], r4b mov r4d, 65 cmp wd, 32 cmova maxbased, r4d packuswb m0, m2 packuswb m1, m6 mova [tlq-63], m0 mova [tlq-31], m1 .h32_main: movd xm6, dyd mov r4, tlq sub tlq, 8 neg dyq vpbroadcastw m6, xm6 sub r4, maxbaseq shl maxbased, 6 vpbroadcastb m7, [r4] lea r4, [dyq+63] movd xm9, maxbased not maxbased vbroadcasti128 m8, [z3_shuf] add maxbased, 64 vpbroadcastw m9, xm9 psubw m9, [z_base_inc] mova m11, m6 psubw m10, m9, m3 ; 64*8 .h32_loop: mov r5, r4 sar r5, 6 pand m1, m4, m6 psubw m2, m5, m1 psllw m1, 8 por m2, m1 movu xm0, [tlq+r5- 0] vinserti128 m0, [tlq+r5-16], 1 movu xm1, [tlq+r5- 8] vinserti128 m1, [tlq+r5-24], 1 sub rsp, 32 add r4, dyq pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m2 pmaddubsw m1, m2 pmulhrsw m0, m3 pmulhrsw m1, m3 packuswb m0, m1 pcmpgtw m1, m9, m6 pcmpgtw m2, m10, m6 packsswb m1, m2 paddw m6, m11 vpblendvb m0, m7, m0, m1 mova [rsp], m0 dec wd jz .h32_transpose cmp r4d, maxbased jg .h32_loop .h32_end_loop: sub rsp, 32 mova [rsp], m7 dec wd jg .h32_end_loop .h32_transpose: lea dstq, [dstq+org_wq-8] lea r2, [strideq*3] lea r3, [strideq*5] lea r4, [strideq+r2*2] ; stride*7 .h32_w8_loop: mova m7, [rsp+32*0] mova m6, [rsp+32*1] mova m5, [rsp+32*2] mova m4, [rsp+32*3] mova m3, [rsp+32*4] mova m2, [rsp+32*5] mova m1, [rsp+32*6] mova m0, [rsp+32*7] lea r6, [dstq+strideq*8] add rsp, 32*8 punpcklbw m8, m0, m1 punpckhbw m0, m1 punpcklbw m1, m2, m3 punpckhbw m2, m3 punpcklbw m3, m4, m5 punpckhbw m4, m5 punpcklbw m5, m6, m7 punpckhbw m6, m7 punpcklwd m7, m8, m1 punpckhwd m8, m1 punpcklwd m1, m0, m2 punpckhwd m0, m2 punpcklwd m2, m3, m5 punpckhwd m3, m5 punpcklwd m5, m4, m6 punpckhwd m4, m6 punpckldq m6, m7, m2 punpckhdq m7, m2 punpckldq m2, m8, m3 punpckhdq m8, m3 punpckldq m3, m1, m5 punpckhdq m1, m5 punpckldq m5, m0, m4 punpckhdq m0, m4 movq [dstq+strideq*0], xm6 movhps [dstq+strideq*1], xm6 vextracti128 xm6, m6, 1 movq [dstq+strideq*2], xm7 movhps [dstq+r2 ], xm7 vextracti128 xm7, m7, 1 movq [dstq+strideq*4], xm2 movhps [dstq+r3 ], xm2 vextracti128 xm2, m2, 1 movq [dstq+r2*2 ], xm8 movhps [dstq+r4 ], xm8 vextracti128 xm8, m8, 1 movq [r6+strideq*0], xm3 movhps [r6+strideq*1], xm3 vextracti128 xm3, m3, 1 movq [r6+strideq*2], xm1 movhps [r6+r2 ], xm1 vextracti128 xm1, m1, 1 movq [r6+strideq*4], xm5 movhps [r6+r3 ], xm5 vextracti128 xm5, m5, 1 movq [r6+r2*2 ], xm0 movhps [r6+r4 ], xm0 lea r6, [r6+strideq*8] vextracti128 xm0, m0, 1 movq [r6+strideq*0], xm6 movhps [r6+strideq*1], xm6 movq [r6+strideq*2], xm7 movhps [r6+r2 ], xm7 movq [r6+strideq*4], xm2 movhps [r6+r3 ], xm2 movq [r6+r2*2 ], xm8 movhps [r6+r4 ], xm8 lea r6, [r6+strideq*8] movq [r6+strideq*0], xm3 movhps [r6+strideq*1], xm3 movq [r6+strideq*2], xm1 movhps [r6+r2 ], xm1 movq [r6+strideq*4], xm5 movhps [r6+r3 ], xm5 movq [r6+r2*2 ], xm0 movhps [r6+r4 ], xm0 sub dstq, 8 sub org_wd, 8 jg .h32_w8_loop RET ALIGN function_align .h64: %assign stack_offset org_stack_offset ALLOC_STACK -128, 16 lea maxbased, [wq+63] test angled, 0x400 ; !enable_intra_edge_filter jnz .h64_main mov r4d, 21 vpbroadcastb xm11, [tlq-127] vpblendd xm11, [tlq-130], 0x0e ; 120-127 sub r4d, wd ; 21-w mov r5d, 3 vinserti128 m11, [tlq-116], 1 ; 104-111 movu m7, [z_filter_s+4] cmp wd, 32 cmove r4d, r5d vinserti128 m8, m7, [z_filter_s+8], 1 vbroadcasti128 m6, [pb_0to15] movd xm1, r4d vpbroadcastd m9, [z_filter_k+4*2+12*0] movu xm12, [tlq-122] ; 112-119 vinserti128 m12, [tlq-108], 1 ; 96-103 vpbroadcastb m1, xm1 movu xm13, [tlq- 98] ; 88- 95 vinserti128 m13, [tlq- 84], 1 ; 72- 79 movu xm14, [tlq- 90] ; 80- 87 vinserti128 m14, [tlq- 76], 1 ; 64- 71 vinserti128 m7, [z_filter_s+16], 0 pshufb m0, m11, m8 pmaddubsw m0, m9 pshufb m2, m12, m8 pmaddubsw m2, m9 pmaxsb m1, m6 ; clip (16|32)x64 pshufb m13, m1 pshufb m1, m13, m8 pmaddubsw m1, m9 pshufb m6, m14, m8 pmaddubsw m6, m9 vpbroadcastd m9, [z_filter_k+4*2+12*1] shufps m15, m8, m7, q1021 pshufb m10, m11, m15 pmaddubsw m10, m9 paddw m0, m10 pshufb m10, m12, m15 pmaddubsw m10, m9 paddw m2, m10 pshufb m10, m13, m15 pmaddubsw m10, m9 paddw m1, m10 pshufb m10, m14, m15 pmaddubsw m10, m9 paddw m6, m10 vpbroadcastd m9, [z_filter_k+4*2+12*2] shufps m10, m8, m7, q2132 pshufb m11, m10 pmaddubsw m11, m9 pshufb m12, m10 pmaddubsw m12, m9 pshufb m13, m10 pmaddubsw m13, m9 pshufb m14, m10 pmaddubsw m14, m9 paddw m0, m11 paddw m2, m12 paddw m1, m13 paddw m6, m14 movu xm11, [tlq-66] ; 56-63 vinserti128 m11, [tlq-52], 1 ; 40-47 movu xm12, [tlq-58] ; 48-55 vinserti128 m12, [tlq-44], 1 ; 32-39 movu xm13, [tlq-34] ; 24-31 vinserti128 m13, [tlq-20], 1 ; 8-15 movu xm14, [tlq-28] ; 16-23 vinserti128 m14, [tlq-14], 1 ; 0- 7 pmulhrsw m0, m3 pmulhrsw m2, m3 pmulhrsw m1, m3 pmulhrsw m6, m3 lea tlq, [rsp+127] packuswb m0, m2 packuswb m1, m6 mova [tlq-127], m0 mova [tlq- 95], m1 pshufb m0, m11, m10 pmaddubsw m0, m9 pshufb m2, m12, m10 pmaddubsw m2, m9 pshufb m1, m13, m10 pmaddubsw m1, m9 pshufb m6, m14, m7 pmaddubsw m6, m9 vpbroadcastd m9, [z_filter_k+4*2+12*1] pshufb m7, m11, m15 pmaddubsw m7, m9 paddw m0, m7 pshufb m7, m12, m15 pmaddubsw m7, m9 paddw m2, m7 pshufb m7, m13, m15 pmaddubsw m7, m9 paddw m1, m7 pshufb m7, m14, m10 pmaddubsw m7, m9 paddw m6, m7 vpbroadcastd m9, [z_filter_k+4*2+12*0] pshufb m11, m8 pmaddubsw m11, m9 pshufb m12, m8 pmaddubsw m12, m9 pshufb m13, m8 pmaddubsw m13, m9 pshufb m14, m15 pmaddubsw m14, m9 paddw m0, m11 paddw m2, m12 paddw m1, m13 paddw m6, m14 pmulhrsw m0, m3 pmulhrsw m2, m3 pmulhrsw m1, m3 pmulhrsw m6, m3 packuswb m0, m2 packuswb m1, m6 mova [tlq-63], m0 mova [tlq-31], m1 .h64_main: movd xm12, dyd neg maxbaseq vbroadcasti128 m8, [z3_shuf] vpbroadcastb m7, [tlq+maxbaseq] shl maxbased, 6 vpbroadcastw m12, xm12 lea r5d, [dyq+maxbaseq-64] neg dyq or maxbased, 63 lea r4, [dyq+63] movd xm6, r5d mova xm10, [pb_1to32+16] vinserti128 m10, [pb_1to32], 1 vpbroadcastd m11, [pb_32] vpbroadcastw m6, xm6 .h64_loop: mov r5, r4 sar r5, 6 movu m0, [tlq+r5-24] movu m1, [tlq+r5-32] pand m2, m4, m6 psubw m9, m5, m2 psllw m2, 8 por m9, m2 pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m9 pmaddubsw m1, m9 psraw m2, m6, 6 sub rsp, 64 pmulhrsw m0, m3 pmulhrsw m1, m3 packsswb m2, m2 paddb m2, m10 packuswb m0, m1 vpblendvb m0, m7, m0, m2 mova [rsp+32], m0 movu m0, [tlq+r5-56] movu m1, [tlq+r5-64] add r4, dyq pshufb m0, m8 pshufb m1, m8 pmaddubsw m0, m9 pmaddubsw m1, m9 paddb m2, m11 pmulhrsw m0, m3 pmulhrsw m1, m3 paddw m6, m12 packuswb m0, m1 vpblendvb m0, m7, m0, m2 mova [rsp], m0 dec wd jz .h64_transpose cmp r4d, maxbased jg .h64_loop .h64_end_loop: sub rsp, 64 mova [rsp+32], m7 mova [rsp+ 0], m7 dec wd jg .h64_end_loop .h64_transpose: lea r2, [strideq*3] lea r3, [strideq*5] imul r5, strideq, -8 lea dstq, [dstq+org_wq-16] lea r4, [strideq+r2*2] ; stride*7 .h64_transpose_loop0: lea r6, [rsp+16*3] .h64_transpose_loop: mova xm0, [r6+64*15] vinserti128 m0, [r6+64* 7], 1 mova xm1, [r6+64*14] vinserti128 m1, [r6+64* 6], 1 mova xm2, [r6+64*13] vinserti128 m2, [r6+64* 5], 1 mova xm3, [r6+64*12] vinserti128 m3, [r6+64* 4], 1 mova xm4, [r6+64*11] vinserti128 m4, [r6+64* 3], 1 mova xm5, [r6+64*10] vinserti128 m5, [r6+64* 2], 1 mova xm6, [r6+64* 9] vinserti128 m6, [r6+64* 1], 1 mova xm7, [r6+64* 8] vinserti128 m7, [r6+64* 0], 1 sub r6, 16 punpcklbw m8, m0, m1 punpckhbw m0, m1 punpcklbw m1, m2, m3 punpckhbw m2, m3 punpcklbw m3, m4, m5 punpckhbw m4, m5 punpcklbw m5, m6, m7 punpckhbw m6, m7 punpcklwd m7, m8, m1 punpckhwd m8, m1 punpcklwd m1, m0, m2 punpckhwd m0, m2 punpcklwd m2, m3, m5 punpckhwd m3, m5 punpcklwd m5, m4, m6 punpckhwd m4, m6 punpckldq m6, m7, m2 punpckhdq m7, m2 punpckldq m2, m8, m3 punpckhdq m8, m3 punpckldq m3, m1, m5 punpckhdq m1, m5 punpckldq m5, m0, m4 punpckhdq m0, m4 vpermq m6, m6, q3120 vpermq m7, m7, q3120 vpermq m2, m2, q3120 vpermq m8, m8, q3120 vpermq m3, m3, q3120 vpermq m1, m1, q3120 vpermq m5, m5, q3120 vpermq m0, m0, q3120 mova [dstq+strideq*0], xm6 vextracti128 [dstq+strideq*1], m6, 1 mova [dstq+strideq*2], xm7 vextracti128 [dstq+r2 ], m7, 1 mova [dstq+strideq*4], xm2 vextracti128 [dstq+r3 ], m2, 1 mova [dstq+r2*2 ], xm8 vextracti128 [dstq+r4 ], m8, 1 sub dstq, r5 mova [dstq+strideq*0], xm3 vextracti128 [dstq+strideq*1], m3, 1 mova [dstq+strideq*2], xm1 vextracti128 [dstq+r2 ], m1, 1 mova [dstq+strideq*4], xm5 vextracti128 [dstq+r3 ], m5, 1 mova [dstq+r2*2 ], xm0 vextracti128 [dstq+r4 ], m0, 1 sub dstq, r5 cmp r6, rsp jae .h64_transpose_loop add rsp, 64*16 lea dstq, [dstq+r5*8-16] sub org_wd, 16 jg .h64_transpose_loop0 .h64_end: RET %macro FILTER_XMM 4 ; dst, src, tmp, shuf %ifnum %4 pshufb xm%2, xm%4 %else pshufb xm%2, %4 %endif pshufd xm%1, xm%2, q0000 ; p0 p1 pmaddubsw xm%1, xm2 pshufd xm%3, xm%2, q1111 ; p2 p3 pmaddubsw xm%3, xm3 paddw xm%1, xm1 paddw xm%1, xm%3 pshufd xm%3, xm%2, q2222 ; p4 p5 pmaddubsw xm%3, xm4 paddw xm%1, xm%3 pshufd xm%3, xm%2, q3333 ; p6 __ pmaddubsw xm%3, xm5 paddw xm%1, xm%3 psraw xm%1, 4 packuswb xm%1, xm%1 %endmacro %macro FILTER_YMM 4 ; dst, src, tmp, shuf pshufb m%2, m%4 pshufd m%1, m%2, q0000 pmaddubsw m%1, m2 pshufd m%3, m%2, q1111 pmaddubsw m%3, m3 paddw m%1, m1 paddw m%1, m%3 pshufd m%3, m%2, q2222 pmaddubsw m%3, m4 paddw m%1, m%3 pshufd m%3, m%2, q3333 pmaddubsw m%3, m5 paddw m%1, m%3 psraw m%1, 4 vpermq m%3, m%1, q1032 packuswb m%1, m%3 %endmacro ; The ipred_filter SIMD processes 4x2 blocks in the following order which ; increases parallelism compared to doing things row by row. One redundant ; block is calculated for w8 and w16, two for w32. ; w4 w8 w16 w32 ; 1 1 2 1 2 3 5 1 2 3 5 b c d f ; 2 2 3 2 4 5 7 2 4 5 7 c e f h ; 3 3 4 4 6 7 9 4 6 7 9 e g h j ; ___ 4 ___ 4 5 ___ 6 8 9 a ___ 6 8 9 a g i j k ___ ; 5 8 8 i cglobal ipred_filter, 3, 7, 0, dst, stride, tl, w, h, filter %define base r6-ipred_filter_avx2_table lea r6, [filter_intra_taps] tzcnt wd, wm %ifidn filterd, filterm movzx filterd, filterb %else movzx filterd, byte filterm %endif shl filterd, 6 add filterq, r6 lea r6, [ipred_filter_avx2_table] movq xm0, [tlq-3] ; _ 6 5 0 1 2 3 4 movsxd wq, [r6+wq*4] vpbroadcastd m1, [base+pw_8] vbroadcasti128 m2, [filterq+16*0] vbroadcasti128 m3, [filterq+16*1] vbroadcasti128 m4, [filterq+16*2] vbroadcasti128 m5, [filterq+16*3] add wq, r6 mov hd, hm jmp wq .w4: WIN64_SPILL_XMM 9 mova xm8, [base+filter_shuf2] sub tlq, 3 sub tlq, hq jmp .w4_loop_start .w4_loop: pinsrd xm0, xm6, [tlq+hq], 0 lea dstq, [dstq+strideq*2] .w4_loop_start: FILTER_XMM 6, 0, 7, 8 movd [dstq+strideq*0], xm6 pextrd [dstq+strideq*1], xm6, 1 sub hd, 2 jg .w4_loop RET ALIGN function_align .w8: %assign stack_offset stack_offset - stack_size_padded WIN64_SPILL_XMM 10 mova m8, [base+filter_shuf1] FILTER_XMM 7, 0, 6, [base+filter_shuf2] vpbroadcastd m0, [tlq+4] vpbroadcastd m6, [tlq+5] sub tlq, 4 sub tlq, hq vpbroadcastq m7, xm7 vpblendd m7, m6, 0x20 .w8_loop: vpbroadcastd xm6, [tlq+hq] palignr m6, m0, 12 vpblendd m0, m6, m7, 0xeb ; _ _ _ _ 1 2 3 4 6 5 0 _ _ _ _ _ ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 mova xm6, xm7 call .main vpblendd xm6, xm7, 0x0c pshufd xm6, xm6, q3120 movq [dstq+strideq*0], xm6 movhps [dstq+strideq*1], xm6 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w8_loop RET ALIGN function_align .w16: %if WIN64 %assign stack_offset stack_offset - stack_size_padded %assign xmm_regs_used 15 %assign stack_size_padded 0x98 SUB rsp, stack_size_padded %endif sub hd, 2 TAIL_CALL .w16_main, 0 .w16_main: %if WIN64 movaps [rsp+0xa8], xmm6 movaps [rsp+0xb8], xmm7 movaps [rsp+0x28], xmm8 movaps [rsp+0x38], xmm9 movaps [rsp+0x48], xmm10 movaps [rsp+0x58], xmm11 movaps [rsp+0x68], xmm12 movaps [rsp+0x78], xmm13 movaps [rsp+0x88], xmm14 %endif FILTER_XMM 12, 0, 7, [base+filter_shuf2] vpbroadcastd m0, [tlq+5] vpblendd m0, [tlq-12], 0x14 mova m8, [base+filter_shuf1] vpbroadcastq m7, xm12 vpblendd m0, m7, 0xc2 ; _ _ _ _ 1 2 3 4 6 5 0 _ _ _ _ _ ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 call .main ; c0 d0 a1 b1 a1 b1 c0 d0 movlps xm9, xm7, [tlq+5] ; _ _ _ 0 1 2 3 4 _ _ _ 5 _ _ _ 6 vinserti128 m14, m8, [base+filter_shuf3], 0 vpblendd xm12, xm7, 0x0c ; a0 b0 a1 b1 FILTER_XMM 6, 9, 10, 14 vpbroadcastq m6, xm6 ; a2 b2 __ __ __ __ a2 b2 vpbroadcastd m9, [tlq+13] vpbroadcastd m10, [tlq+12] psrld m11, m8, 4 vpblendd m6, m9, 0x20 ; top sub tlq, 6 sub tlq, hq .w16_loop: vpbroadcastd xm9, [tlq+hq] palignr m9, m0, 12 vpblendd m0, m9, m7, 0xe2 ; _ _ _ _ 1 2 3 4 6 5 0 _ _ _ _ _ ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 mova xm13, xm7 call .main ; e0 f0 c1 d1 c1 d1 e0 f0 vpblendd m9, m12, m10, 0xf0 vpblendd m12, m6, 0xc0 pshufd m9, m9, q3333 vpblendd m9, m6, 0xee vpblendd m10, m9, m7, 0x0c ; _ _ _ 0 1 2 3 4 _ _ _ 5 _ _ _ 6 ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 FILTER_YMM 6, 10, 9, 14 ; c2 d2 a3 b3 a3 b3 c2 d2 vpblendd m12, m6, 0x30 ; a0 b0 a1 b1 a3 b3 a2 b2 vpermd m9, m11, m12 ; a0 a1 a2 a3 b0 b1 b2 b3 vpblendd xm12, xm13, xm7, 0x0c ; c0 d0 c1 d1 mova [dstq+strideq*0], xm9 vextracti128 [dstq+strideq*1], m9, 1 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w16_loop vpblendd xm7, xm6, xm10, 0x04 ; _ _ _ 5 _ _ _ 6 0 _ _ _ 1 2 3 4 pshufd xm7, xm7, q1032 ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 FILTER_XMM 0, 7, 9, [base+filter_shuf1+16] vpblendd xm6, xm0, 0x0c ; c2 d2 c3 d3 shufps xm0, xm12, xm6, q2020 ; c0 c1 c2 c3 shufps xm6, xm12, xm6, q3131 ; d0 d1 d2 d3 mova [dstq+strideq*0], xm0 mova [dstq+strideq*1], xm6 ret ALIGN function_align .w32: sub rsp, stack_size_padded sub hd, 2 lea r3, [dstq+16] lea r5d, [hq-2] call .w16_main add tlq, r5 mov dstq, r3 lea r3, [strideq-4] lea r4, [r3+strideq*2] movq xm0, [tlq+21] pinsrd xm0, [dstq-4], 2 pinsrd xm0, [dstq+r3*1], 3 FILTER_XMM 12, 0, 7, 14 ; a0 b0 a0 b0 movq xm7, [dstq+r3*2] pinsrd xm7, [dstq+r4], 2 palignr xm7, xm0, 12 ; 0 _ _ _ _ _ _ _ _ _ _ 5 _ _ _ 6 vpbroadcastd m0, [tlq+28] vpbroadcastd m9, [tlq+29] vbroadcasti128 m8, [base+filter_shuf1+16] vpblendd m0, m9, 0x20 vpblendd m0, m7, 0x0f vpbroadcastq m7, xm12 vpblendd m0, m7, 0xc2 ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 call .main ; c0 d0 a1 b1 a1 b1 c0 d0 add r3, 2 lea r4, [r4+strideq*2] movlps xm9, xm7, [tlq+29] ; _ _ _ 0 1 2 3 4 _ _ _ 5 _ _ _ 6 vpblendd xm12, xm7, 0x0c ; a0 b0 a1 b1 FILTER_XMM 6, 9, 10, 14 vpbroadcastq m6, xm6 ; a2 b2 __ __ __ __ a2 b2 vpbroadcastd m9, [tlq+37] vpbroadcastd m10, [tlq+36] vpblendd m6, m9, 0x20 ; top .w32_loop: movq xm9, [dstq+r3*4] pinsrd xm9, [dstq+r4], 2 .w32_loop_last: palignr m9, m0, 12 vpblendd m0, m9, m7, 0xe2 ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 mova xm13, xm7 ; c0 d0 call .main ; e0 f0 c1 d1 c1 d1 e0 f0 vpblendd m9, m12, m10, 0xf0 vpblendd m12, m6, 0xc0 pshufd m9, m9, q3333 vpblendd m9, m6, 0xee vpblendd m10, m9, m7, 0x0c ; _ _ _ 0 1 2 3 4 _ _ _ 5 _ _ _ 6 ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 FILTER_YMM 6, 10, 9, 14 ; c2 d2 a3 b3 a3 b3 c2 d2 vpblendd m12, m6, 0x30 ; a0 b0 a1 b1 a3 b3 a2 b2 vpermd m9, m11, m12 ; a0 a1 a2 a3 b0 b1 b2 b3 vpblendd xm12, xm13, xm7, 0x0c ; c0 d0 c1 d1 mova [dstq+strideq*0], xm9 vextracti128 [dstq+strideq*1], m9, 1 lea dstq, [dstq+strideq*2] sub r5d, 2 jg .w32_loop jz .w32_loop_last vpblendd xm7, xm6, xm10, 0x04 ; _ _ _ 5 _ _ _ 6 0 _ _ _ 1 2 3 4 pshufd xm7, xm7, q1032 ; 0 _ _ _ 1 2 3 4 _ _ _ 5 _ _ _ 6 FILTER_XMM 0, 7, 9, [base+filter_shuf1+16] vpblendd xm6, xm0, 0x0c ; c2 d2 c3 d3 shufps xm0, xm12, xm6, q2020 ; c0 c1 c2 c3 shufps xm6, xm12, xm6, q3131 ; d0 d1 d2 d3 mova [dstq+strideq*0], xm0 mova [dstq+strideq*1], xm6 RET ALIGN function_align .main: FILTER_YMM 7, 0, 9, 8 ret %if WIN64 DECLARE_REG_TMP 5 %else DECLARE_REG_TMP 7 %endif %macro IPRED_CFL 1 ; ac in, unpacked pixels out psignw m3, m%1, m1 pabsw m%1, m%1 pmulhrsw m%1, m2 psignw m%1, m3 paddw m%1, m0 %endmacro cglobal ipred_cfl_top, 3, 7, 6, dst, stride, tl, w, h, ac, alpha lea t0, [ipred_cfl_left_avx2_table] tzcnt wd, wm inc tlq movu m0, [tlq] movifnidn hd, hm mov r6d, 0x8000 shrx r6d, r6d, wd movd xm3, r6d movsxd r6, [t0+wq*4] pcmpeqd m2, m2 pmaddubsw m0, m2 add r6, t0 add t0, ipred_cfl_splat_avx2_table-ipred_cfl_left_avx2_table movsxd wq, [t0+wq*4] add wq, t0 movifnidn acq, acmp jmp r6 cglobal ipred_cfl_left, 3, 7, 6, dst, stride, tl, w, h, ac, alpha mov hd, hm ; zero upper half tzcnt r6d, hd sub tlq, hq tzcnt wd, wm movu m0, [tlq] mov t0d, 0x8000 shrx t0d, t0d, r6d movd xm3, t0d lea t0, [ipred_cfl_left_avx2_table] movsxd r6, [t0+r6*4] pcmpeqd m2, m2 pmaddubsw m0, m2 add r6, t0 add t0, ipred_cfl_splat_avx2_table-ipred_cfl_left_avx2_table movsxd wq, [t0+wq*4] add wq, t0 movifnidn acq, acmp jmp r6 .h32: vextracti128 xm1, m0, 1 paddw xm0, xm1 .h16: punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 .h8: psrlq xm1, xm0, 32 paddw xm0, xm1 .h4: pmaddwd xm0, xm2 pmulhrsw xm0, xm3 vpbroadcastw m0, xm0 jmp wq cglobal ipred_cfl, 3, 7, 6, dst, stride, tl, w, h, ac, alpha movifnidn hd, hm movifnidn wd, wm tzcnt r6d, hd lea t0d, [wq+hq] movd xm4, t0d tzcnt t0d, t0d movd xm5, t0d lea t0, [ipred_cfl_avx2_table] tzcnt wd, wd movsxd r6, [t0+r6*4] movsxd wq, [t0+wq*4+4*4] pcmpeqd m3, m3 psrlw xm4, 1 add r6, t0 add wq, t0 movifnidn acq, acmp jmp r6 .h4: movd xm0, [tlq-4] pmaddubsw xm0, xm3 jmp wq .w4: movd xm1, [tlq+1] pmaddubsw xm1, xm3 psubw xm0, xm4 paddw xm0, xm1 pmaddwd xm0, xm3 cmp hd, 4 jg .w4_mul psrlw xm0, 3 jmp .w4_end .w4_mul: punpckhqdq xm1, xm0, xm0 lea r2d, [hq*2] mov r6d, 0x55563334 paddw xm0, xm1 shrx r6d, r6d, r2d psrlq xm1, xm0, 32 paddw xm0, xm1 movd xm1, r6d psrlw xm0, 2 pmulhuw xm0, xm1 .w4_end: vpbroadcastw m0, xm0 .s4: vpbroadcastw m1, alpham lea r6, [strideq*3] pabsw m2, m1 psllw m2, 9 .s4_loop: mova m4, [acq] IPRED_CFL 4 packuswb m4, m4 vextracti128 xm5, m4, 1 movd [dstq+strideq*0], xm4 pextrd [dstq+strideq*1], xm4, 1 movd [dstq+strideq*2], xm5 pextrd [dstq+r6 ], xm5, 1 lea dstq, [dstq+strideq*4] add acq, 32 sub hd, 4 jg .s4_loop RET ALIGN function_align .h8: movq xm0, [tlq-8] pmaddubsw xm0, xm3 jmp wq .w8: movq xm1, [tlq+1] vextracti128 xm2, m0, 1 pmaddubsw xm1, xm3 psubw xm0, xm4 paddw xm0, xm2 punpckhqdq xm2, xm0, xm0 paddw xm0, xm2 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 8 je .w8_end mov r6d, 0x5556 mov r2d, 0x3334 cmp hd, 32 cmovz r6d, r2d movd xm1, r6d pmulhuw xm0, xm1 .w8_end: vpbroadcastw m0, xm0 .s8: vpbroadcastw m1, alpham lea r6, [strideq*3] pabsw m2, m1 psllw m2, 9 .s8_loop: mova m4, [acq] mova m5, [acq+32] IPRED_CFL 4 IPRED_CFL 5 packuswb m4, m5 vextracti128 xm5, m4, 1 movq [dstq+strideq*0], xm4 movq [dstq+strideq*1], xm5 movhps [dstq+strideq*2], xm4 movhps [dstq+r6 ], xm5 lea dstq, [dstq+strideq*4] add acq, 64 sub hd, 4 jg .s8_loop RET ALIGN function_align .h16: mova xm0, [tlq-16] pmaddubsw xm0, xm3 jmp wq .w16: movu xm1, [tlq+1] vextracti128 xm2, m0, 1 pmaddubsw xm1, xm3 psubw xm0, xm4 paddw xm0, xm2 paddw xm0, xm1 punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 16 je .w16_end mov r6d, 0x5556 mov r2d, 0x3334 test hb, 8|32 cmovz r6d, r2d movd xm1, r6d pmulhuw xm0, xm1 .w16_end: vpbroadcastw m0, xm0 .s16: vpbroadcastw m1, alpham pabsw m2, m1 psllw m2, 9 .s16_loop: mova m4, [acq] mova m5, [acq+32] IPRED_CFL 4 IPRED_CFL 5 packuswb m4, m5 vpermq m4, m4, q3120 mova [dstq+strideq*0], xm4 vextracti128 [dstq+strideq*1], m4, 1 lea dstq, [dstq+strideq*2] add acq, 64 sub hd, 2 jg .s16_loop RET ALIGN function_align .h32: mova m0, [tlq-32] pmaddubsw m0, m3 jmp wq .w32: movu m1, [tlq+1] pmaddubsw m1, m3 paddw m0, m1 vextracti128 xm1, m0, 1 psubw xm0, xm4 paddw xm0, xm1 punpckhqdq xm1, xm0, xm0 paddw xm0, xm1 psrlq xm1, xm0, 32 paddw xm0, xm1 pmaddwd xm0, xm3 psrlw xm0, xm5 cmp hd, 32 je .w32_end lea r2d, [hq*2] mov r6d, 0x33345556 shrx r6d, r6d, r2d movd xm1, r6d pmulhuw xm0, xm1 .w32_end: vpbroadcastw m0, xm0 .s32: vpbroadcastw m1, alpham pabsw m2, m1 psllw m2, 9 .s32_loop: mova m4, [acq] mova m5, [acq+32] IPRED_CFL 4 IPRED_CFL 5 packuswb m4, m5 vpermq m4, m4, q3120 mova [dstq], m4 add dstq, strideq add acq, 64 dec hd jg .s32_loop RET cglobal ipred_cfl_128, 3, 7, 6, dst, stride, tl, w, h, ac, alpha lea t0, [ipred_cfl_splat_avx2_table] tzcnt wd, wm movifnidn hd, hm movsxd wq, [t0+wq*4] vpbroadcastd m0, [t0-ipred_cfl_splat_avx2_table+pw_128] add wq, t0 movifnidn acq, acmp jmp wq cglobal ipred_cfl_ac_420, 4, 9, 5, ac, y, stride, wpad, hpad, w, h, sz, ac_bak movifnidn hpadd, hpadm movifnidn wd, wm mov hd, hm mov szd, wd mov ac_bakq, acq imul szd, hd shl hpadd, 2 sub hd, hpadd vpbroadcastd m2, [pb_2] pxor m4, m4 cmp wd, 8 jg .w16 je .w8 ; fall-through DEFINE_ARGS ac, y, stride, wpad, hpad, stride3, h, sz, ac_bak .w4: lea stride3q, [strideq*3] .w4_loop: movq xm0, [yq] movq xm1, [yq+strideq] movhps xm0, [yq+strideq*2] movhps xm1, [yq+stride3q] pmaddubsw xm0, xm2 pmaddubsw xm1, xm2 paddw xm0, xm1 mova [acq], xm0 paddw xm4, xm0 lea yq, [yq+strideq*4] add acq, 16 sub hd, 2 jg .w4_loop test hpadd, hpadd jz .calc_avg vpermq m0, m0, q1111 .w4_hpad_loop: mova [acq], m0 paddw m4, m0 add acq, 32 sub hpadd, 4 jg .w4_hpad_loop jmp .calc_avg .w8: lea stride3q, [strideq*3] test wpadd, wpadd jnz .w8_wpad .w8_loop: mova xm0, [yq] mova xm1, [yq+strideq] vinserti128 m0, [yq+strideq*2], 1 vinserti128 m1, [yq+stride3q], 1 pmaddubsw m0, m2 pmaddubsw m1, m2 paddw m0, m1 mova [acq], m0 paddw m4, m0 lea yq, [yq+strideq*4] add acq, 32 sub hd, 2 jg .w8_loop test hpadd, hpadd jz .calc_avg jmp .w8_hpad .w8_wpad: vbroadcasti128 m3, [cfl_ac_w8_pad1_shuffle] .w8_wpad_loop: movq xm0, [yq] movq xm1, [yq+strideq] vinserti128 m0, [yq+strideq*2], 1 vinserti128 m1, [yq+stride3q], 1 pmaddubsw m0, m2 pmaddubsw m1, m2 paddw m0, m1 pshufb m0, m3 mova [acq], m0 paddw m4, m0 lea yq, [yq+strideq*4] add acq, 32 sub hd, 2 jg .w8_wpad_loop test hpadd, hpadd jz .calc_avg .w8_hpad: vpermq m0, m0, q3232 .w8_hpad_loop: mova [acq], m0 paddw m4, m0 add acq, 32 sub hpadd, 2 jg .w8_hpad_loop jmp .calc_avg .w16: test wpadd, wpadd jnz .w16_wpad .w16_loop: mova m0, [yq] mova m1, [yq+strideq] pmaddubsw m0, m2 pmaddubsw m1, m2 paddw m0, m1 mova [acq], m0 paddw m4, m0 lea yq, [yq+strideq*2] add acq, 32 dec hd jg .w16_loop test hpadd, hpadd jz .calc_avg jmp .w16_hpad_loop .w16_wpad: DEFINE_ARGS ac, y, stride, wpad, hpad, iptr, h, sz, ac_bak lea iptrq, [ipred_cfl_ac_420_avx2_table] shl wpadd, 2 mova m3, [iptrq+cfl_ac_w16_pad_shuffle- \ ipred_cfl_ac_420_avx2_table+wpadq*8-32] movsxd wpadq, [iptrq+wpadq+4] add iptrq, wpadq jmp iptrq .w16_pad3: vpbroadcastq m0, [yq] vpbroadcastq m1, [yq+strideq] jmp .w16_wpad_end .w16_pad2: vbroadcasti128 m0, [yq] vbroadcasti128 m1, [yq+strideq] jmp .w16_wpad_end .w16_pad1: mova m0, [yq] mova m1, [yq+strideq] ; fall-through .w16_wpad_end: pmaddubsw m0, m2 pmaddubsw m1, m2 paddw m0, m1 pshufb m0, m3 mova [acq], m0 paddw m4, m0 lea yq, [yq+strideq*2] add acq, 32 dec hd jz .w16_wpad_done jmp iptrq .w16_wpad_done: test hpadd, hpadd jz .calc_avg .w16_hpad_loop: mova [acq], m0 paddw m4, m0 add acq, 32 dec hpadd jg .w16_hpad_loop ; fall-through .calc_avg: vpbroadcastd m2, [pw_1] pmaddwd m0, m4, m2 vextracti128 xm1, m0, 1 tzcnt r1d, szd paddd xm0, xm1 movd xm2, r1d movd xm3, szd punpckhqdq xm1, xm0, xm0 paddd xm0, xm1 psrad xm3, 1 psrlq xm1, xm0, 32 paddd xm0, xm3 paddd xm0, xm1 psrad xm0, xm2 vpbroadcastw m0, xm0 .sub_loop: mova m1, [ac_bakq] psubw m1, m0 mova [ac_bakq], m1 add ac_bakq, 32 sub szd, 16 jg .sub_loop RET cglobal ipred_cfl_ac_422, 4, 9, 6, ac, y, stride, wpad, hpad, w, h, sz, ac_bak movifnidn hpadd, hpadm movifnidn wd, wm mov hd, hm mov szd, wd mov ac_bakq, acq imul szd, hd shl hpadd, 2 sub hd, hpadd vpbroadcastd m2, [pb_4] pxor m4, m4 pxor m5, m5 cmp wd, 8 jg .w16 je .w8 ; fall-through DEFINE_ARGS ac, y, stride, wpad, hpad, stride3, h, sz, ac_bak .w4: lea stride3q, [strideq*3] .w4_loop: movq xm1, [yq] movhps xm1, [yq+strideq] movq xm0, [yq+strideq*2] movhps xm0, [yq+stride3q] pmaddubsw xm0, xm2 pmaddubsw xm1, xm2 mova [acq], xm1 mova [acq+16], xm0 paddw xm4, xm0 paddw xm5, xm1 lea yq, [yq+strideq*4] add acq, 32 sub hd, 4 jg .w4_loop test hpadd, hpadd jz .calc_avg vpermq m0, m0, q1111 .w4_hpad_loop: mova [acq], m0 paddw m4, m0 add acq, 32 sub hpadd, 4 jg .w4_hpad_loop jmp .calc_avg .w8: lea stride3q, [strideq*3] test wpadd, wpadd jnz .w8_wpad .w8_loop: mova xm1, [yq] vinserti128 m1, [yq+strideq], 1 mova xm0, [yq+strideq*2] vinserti128 m0, [yq+stride3q], 1 pmaddubsw m0, m2 pmaddubsw m1, m2 mova [acq], m1 mova [acq+32], m0 paddw m4, m0 paddw m5, m1 lea yq, [yq+strideq*4] add acq, 64 sub hd, 4 jg .w8_loop test hpadd, hpadd jz .calc_avg jmp .w8_hpad .w8_wpad: vbroadcasti128 m3, [cfl_ac_w8_pad1_shuffle] .w8_wpad_loop: movq xm1, [yq] vinserti128 m1, [yq+strideq], 1 movq xm0, [yq+strideq*2] vinserti128 m0, [yq+stride3q], 1 pmaddubsw m0, m2 pmaddubsw m1, m2 pshufb m0, m3 pshufb m1, m3 mova [acq], m1 mova [acq+32], m0 paddw m4, m0 paddw m5, m1 lea yq, [yq+strideq*4] add acq, 64 sub hd, 4 jg .w8_wpad_loop test hpadd, hpadd jz .calc_avg .w8_hpad: vpermq m0, m0, q3232 .w8_hpad_loop: mova [acq], m0 paddw m4, m0 add acq, 32 sub hpadd, 2 jg .w8_hpad_loop jmp .calc_avg .w16: test wpadd, wpadd jnz .w16_wpad .w16_loop: mova m1, [yq] mova m0, [yq+strideq] pmaddubsw m0, m2 pmaddubsw m1, m2 mova [acq], m1 mova [acq+32], m0 paddw m4, m0 paddw m5, m1 lea yq, [yq+strideq*2] add acq, 64 sub hd, 2 jg .w16_loop test hpadd, hpadd jz .calc_avg jmp .w16_hpad_loop .w16_wpad: DEFINE_ARGS ac, y, stride, wpad, hpad, iptr, h, sz, ac_bak lea iptrq, [ipred_cfl_ac_422_avx2_table] shl wpadd, 2 mova m3, [iptrq+cfl_ac_w16_pad_shuffle- \ ipred_cfl_ac_422_avx2_table+wpadq*8-32] movsxd wpadq, [iptrq+wpadq+4] add iptrq, wpadq jmp iptrq .w16_pad3: vpbroadcastq m1, [yq] vpbroadcastq m0, [yq+strideq] jmp .w16_wpad_end .w16_pad2: vbroadcasti128 m1, [yq] vbroadcasti128 m0, [yq+strideq] jmp .w16_wpad_end .w16_pad1: mova m1, [yq] mova m0, [yq+strideq] ; fall-through .w16_wpad_end: pmaddubsw m0, m2 pmaddubsw m1, m2 pshufb m0, m3 pshufb m1, m3 mova [acq], m1 mova [acq+32], m0 paddw m4, m0 paddw m5, m1 lea yq, [yq+strideq*2] add acq, 64 sub hd, 2 jz .w16_wpad_done jmp iptrq .w16_wpad_done: test hpadd, hpadd jz .calc_avg .w16_hpad_loop: mova [acq], m0 mova [acq+32], m0 paddw m4, m0 paddw m5, m0 add acq, 64 sub hpadd, 2 jg .w16_hpad_loop ; fall-through .calc_avg: vpbroadcastd m2, [pw_1] pmaddwd m5, m5, m2 pmaddwd m0, m4, m2 paddd m0, m5 vextracti128 xm1, m0, 1 tzcnt r1d, szd paddd xm0, xm1 movd xm2, r1d movd xm3, szd punpckhqdq xm1, xm0, xm0 paddd xm0, xm1 psrad xm3, 1 psrlq xm1, xm0, 32 paddd xm0, xm3 paddd xm0, xm1 psrad xm0, xm2 vpbroadcastw m0, xm0 .sub_loop: mova m1, [ac_bakq] psubw m1, m0 mova [ac_bakq], m1 add ac_bakq, 32 sub szd, 16 jg .sub_loop RET cglobal pal_pred, 4, 6, 5, dst, stride, pal, idx, w, h vbroadcasti128 m4, [palq] lea r2, [pal_pred_avx2_table] tzcnt wd, wm movifnidn hd, hm movsxd wq, [r2+wq*4] packuswb m4, m4 add wq, r2 lea r2, [strideq*3] jmp wq .w4: pshufb xm0, xm4, [idxq] add idxq, 16 movd [dstq+strideq*0], xm0 pextrd [dstq+strideq*1], xm0, 1 pextrd [dstq+strideq*2], xm0, 2 pextrd [dstq+r2 ], xm0, 3 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w4 RET ALIGN function_align .w8: pshufb xm0, xm4, [idxq+16*0] pshufb xm1, xm4, [idxq+16*1] add idxq, 16*2 movq [dstq+strideq*0], xm0 movhps [dstq+strideq*1], xm0 movq [dstq+strideq*2], xm1 movhps [dstq+r2 ], xm1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w8 RET ALIGN function_align .w16: pshufb m0, m4, [idxq+32*0] pshufb m1, m4, [idxq+32*1] add idxq, 32*2 mova [dstq+strideq*0], xm0 vextracti128 [dstq+strideq*1], m0, 1 mova [dstq+strideq*2], xm1 vextracti128 [dstq+r2 ], m1, 1 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w16 RET ALIGN function_align .w32: pshufb m0, m4, [idxq+32*0] pshufb m1, m4, [idxq+32*1] pshufb m2, m4, [idxq+32*2] pshufb m3, m4, [idxq+32*3] add idxq, 32*4 mova [dstq+strideq*0], m0 mova [dstq+strideq*1], m1 mova [dstq+strideq*2], m2 mova [dstq+r2 ], m3 lea dstq, [dstq+strideq*4] sub hd, 4 jg .w32 RET ALIGN function_align .w64: pshufb m0, m4, [idxq+32*0] pshufb m1, m4, [idxq+32*1] pshufb m2, m4, [idxq+32*2] pshufb m3, m4, [idxq+32*3] add idxq, 32*4 mova [dstq+strideq*0+32*0], m0 mova [dstq+strideq*0+32*1], m1 mova [dstq+strideq*1+32*0], m2 mova [dstq+strideq*1+32*1], m3 lea dstq, [dstq+strideq*2] sub hd, 2 jg .w64 RET %endif
35.052375
107
0.427442
8fc9d50c5ed0d7b929432e9ecbdc23c78822ac4c
5,288
asm
Assembly
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1927_631.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1927_631.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1927_631.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 %rbx push %rdx lea addresses_WT_ht+0x8318, %r10 clflush (%r10) nop nop nop sub $1851, %rdx movb $0x61, (%r10) nop nop nop nop nop and $33170, %rbx pop %rdx pop %rbx pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi // Store lea addresses_RW+0x9758, %rdi nop nop and $55823, %rcx movb $0x51, (%rdi) nop nop nop nop sub $32061, %r9 // Store lea addresses_A+0x10ea8, %r15 nop add %r12, %r12 movl $0x51525354, (%r15) nop sub $10875, %rdi // Store lea addresses_US+0xe718, %r12 nop nop xor %rcx, %rcx mov $0x5152535455565758, %r11 movq %r11, (%r12) add %r9, %r9 // Store lea addresses_D+0x8c6c, %rcx nop nop nop nop add %rdi, %rdi movl $0x51525354, (%rcx) nop nop and $32893, %r11 // Load lea addresses_US+0xe718, %r11 clflush (%r11) nop nop nop nop nop add $18774, %rdi mov (%r11), %rcx and $3477, %r12 // Faulty Load lea addresses_US+0xe718, %r15 and $1043, %rbx vmovups (%r15), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %rdi lea oracles, %r15 and $0xff, %rdi shlq $12, %rdi mov (%r15,%rdi,1), %rdi pop %rdi pop %rcx pop %rbx pop %r9 pop %r15 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_US', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'00': 1927} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
42.645161
2,999
0.653555
95f0ea256129356e639c96fadb2bb2588c58bfad
1,157
asm
Assembly
engine/predefs12.asm
etdv-thevoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
engine/predefs12.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
engine/predefs12.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
; b = new colour for BG colour 0 (usually white) for 4 frames ChangeBGPalColor0_4Frames: call GetPredefRegisters ld a, [rBGP] or b ld [rBGP], a ld c, 4 call DelayFrames ld a, [rBGP] and %11111100 ld [rBGP], a ret PredefShakeScreenVertically: ; Moves the window down and then back in a sequence of progressively smaller ; numbers of pixels, starting at b. call GetPredefRegisters ld a, 1 ld [wDisableVBlankWYUpdate], a xor a .loop ld [$ff96], a call .MutateWY call .MutateWY dec b ld a, b jr nz, .loop xor a ld [wDisableVBlankWYUpdate], a ret .MutateWY ld a, [$ff96] xor b ld [$ff96], a ld [rWY], a ld c, 3 jp DelayFrames PredefShakeScreenHorizontally: ; Moves the window right and then back in a sequence of progressively smaller ; numbers of pixels, starting at b. call GetPredefRegisters xor a .loop ld [$ff97], a call .MutateWX ld c, 1 call DelayFrames call .MutateWX dec b ld a, b jr nz, .loop ; restore normal WX ld a, 7 ld [rWX], a ret .MutateWX ld a, [$ff97] xor b ld [$ff97], a bit 7, a jr z, .skipZeroing xor a ; zero a if it's negative .skipZeroing add 7 ld [rWX], a ld c, 4 jp DelayFrames
16.069444
77
0.694901
f9bd84952d56b85d76789c989eec603f968c5b5c
450
asm
Assembly
programs/oeis/168/A168458.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/168/A168458.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/168/A168458.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A168458: a(n) = 7 + 10*floor((n-1)/2). ; 7,7,17,17,27,27,37,37,47,47,57,57,67,67,77,77,87,87,97,97,107,107,117,117,127,127,137,137,147,147,157,157,167,167,177,177,187,187,197,197,207,207,217,217,227,227,237,237,247,247,257,257,267,267,277,277,287,287,297,297,307,307,317,317,327,327,337,337,347,347,357,357,367,367,377,377,387,387,397,397,407,407,417,417,427,427,437,437,447,447,457,457,467,467,477,477,487,487,497,497 div $0,2 mul $0,10 add $0,7
64.285714
379
0.697778
b5ec97eb9dfd5674ff4b224b931bc1be2bb6633e
64
asm
Assembly
src/kernel/arch/aarch32/asm/utils.asm
aryanmaurya1/ArvernOS
a8452c01cd180ffbdabf949c80329ccfcc84d2e9
[ "MIT" ]
77
2021-11-19T15:56:32.000Z
2022-03-30T04:02:02.000Z
src/kernel/arch/aarch32/asm/utils.asm
aryanmaurya1/ArvernOS
a8452c01cd180ffbdabf949c80329ccfcc84d2e9
[ "MIT" ]
57
2021-11-19T12:38:52.000Z
2022-03-03T08:56:35.000Z
src/kernel/arch/aarch32/asm/utils.asm
aryanmaurya1/ArvernOS
a8452c01cd180ffbdabf949c80329ccfcc84d2e9
[ "MIT" ]
2
2022-03-01T06:39:25.000Z
2022-03-24T15:47:45.000Z
.global get_el get_el: mrs r1, cpsr and r0, r1, #0x1f bx lr
9.142857
18
0.65625
143f60ae5a5583dae5f4a932177f52cf4cefbeb9
1,274
asm
Assembly
scripts/Route6Gate.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
1
2022-02-15T00:19:44.000Z
2022-02-15T00:19:44.000Z
scripts/Route6Gate.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
scripts/Route6Gate.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
Route6Gate_Script: call EnableAutoTextBoxDrawing ld hl, Route6Gate_ScriptPointers ld a, [wRoute6GateCurScript] call CallFunctionInTable ret Route6Gate_ScriptPointers: dw Route6GateScript0 dw Route6GateScript1 Route6GateScript0: ld a, [wd728] bit 6, a ret nz ld hl, CoordsData_1e08c call ArePlayerCoordsInArray ret nc ld a, PLAYER_DIR_RIGHT ld [wPlayerMovingDirection], a xor a ldh [hJoyHeld], a farcall RemoveGuardDrink ldh a, [hItemToRemoveID] and a jr nz, .asm_1e080 ld a, $2 ldh [hSpriteIndexOrTextID], a call DisplayTextID call Route6GateScript_1e0a1 ld a, $1 ld [wRoute6GateCurScript], a ret .asm_1e080 ld hl, wd728 set 6, [hl] ld a, $3 ldh [hSpriteIndexOrTextID], a jp DisplayTextID CoordsData_1e08c: dbmapcoord 3, 2 dbmapcoord 4, 2 db -1 ; end Route6GateScript1: ld a, [wSimulatedJoypadStatesIndex] and a ret nz call Delay3 xor a ld [wJoyIgnore], a ld [wRoute6GateCurScript], a ret Route6GateScript_1e0a1: ld hl, wd730 set 7, [hl] ld a, $80 ld [wSimulatedJoypadStatesEnd], a ld a, $1 ld [wSimulatedJoypadStatesIndex], a xor a ld [wSpritePlayerStateData2MovementByte1], a ld [wOverrideSimulatedJoypadStatesMask], a ret Route6Gate_TextPointers: dw Route6GateText1 dw Route6GateText2 dw Route6GateText3
17.694444
45
0.765306
b13b58501184df4d30c27ae487b040b7f3d8c47f
474
asm
Assembly
programs/oeis/044/A044551.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/044/A044551.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/044/A044551.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A044551: Numbers n such that string 4,4 occurs in the base 7 representation of n but not of n+1. ; 32,81,130,179,230,277,326,375,424,473,522,573,620,669,718,767,816,865,916,963,1012,1061,1110,1159,1208,1259,1306,1355,1404,1453,1502,1551,1616,1649,1698,1747,1796,1845,1894,1945,1992 mov $5,$0 mul $0,3 add $0,3 lpb $0 sub $0,1 gcd $0,49 mov $3,2 mov $6,$0 mov $0,$4 sub $6,2 add $3,$6 lpe mov $1,$3 div $1,3 add $1,32 mov $2,$5 mul $2,49 add $1,$2 mov $0,$1
20.608696
184
0.656118
5e2d8ff5b3ca0c02f5f45204e9a44a9a8a09940e
356
asm
Assembly
oeis/274/A274384.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/274/A274384.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/274/A274384.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A274384: Numbers n such that 2^n is not the average of three positive cubes. ; Submitted by Jamie Morken(w1) ; 1,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26,28,29,31,32,34,37,40,43,46 mov $3,$0 mul $3,3 lpb $3 add $2,1 add $4,$2 add $1,$4 div $1,51884 add $1,$2 mov $2,$1 sub $3,1 add $5,$1 add $4,$5 lpe div $2,2 add $2,1 mov $0,$2
16.952381
78
0.598315
b5d9335cf219ef5cc68969fe852e304db23def9b
10,853
asm
Assembly
audit/video.asm
zellyn/a2audit
b5bb6fa18dfab8f3e96432d799f9e772f4a7824b
[ "MIT" ]
22
2016-11-13T04:56:49.000Z
2021-12-04T20:04:49.000Z
audit/video.asm
cbeust/a2audit
5c377d6bd06294a4326a590caa5ffdb290068903
[ "MIT" ]
11
2017-02-24T20:48:59.000Z
2020-09-21T18:15:19.000Z
audit/video.asm
cbeust/a2audit
5c377d6bd06294a4326a590caa5ffdb290068903
[ "MIT" ]
3
2017-02-24T17:43:39.000Z
2021-01-09T16:55:20.000Z
;;; Apple II video audit routines ;;; Copyright © 2017 Zellyn Hunter <zellyn@gmail.com> !zone video { VIDEOTESTS jsr RESETALL +print !text "VIDEO TESTS:",$8D !text "SPACE TO SWAP BETWEEN MODES",$8D !text "Y/N TO LOG MODE EQUALITY & MOVE TO NEXT",$8D !text "ESC TO SKIP TO END",$8D !text "HIT SPACE TO START",$8D +printed - jsr YNESCSPACE bpl - bcs - jsr .first ;;; Main loop over test data. Quit when high addr of text to be printed is $ff. --- jsr RESETALL jsr HOME jsr .this sta getch+1 jsr .next sta getch+2 cmp #$ff beq .done jsr getch jsr YNESCSPACE cmp #$9B beq .done jsr .next jsr .load400aux jsr .load400 jsr .load2000aux jsr .load2000 ldx #0 -- ;; Loop back and forth between modes as "space" is pressed. jsr .setswitches txa eor #1 tax jsr YNESCSPACE bpl + cmp #$a0 beq -- jmp .done ; ESC + ;; 'Y' or 'N' jsr .next jsr .next cmp #$ff bne --- .done jsr RESETALL jsr HOME rts .setswitches jsr .thisx ;; 0: TEXT lsr bcs + sta RESET_TEXT bcc ++ + sta SET_TEXT ++ ;; 1: MIXED lsr bcs + sta RESET_MIXED bcc ++ + sta SET_MIXED ++ ;; 2: HIRES lsr bcs + sta RESET_HIRES bcc ++ + sta SET_HIRES ++ ;; 3: 80COL lsr bcs + sta RESET_80COL bcc ++ + sta SET_80COL ++ ;; 4: (NOT) AN3 lsr bcs + sta SET_AN3 bcc ++ + sta RESET_AN3 ++ ;; 5: ALTCHRSET lsr bcs + sta RESET_ALTCHRSET bcc ++ + sta SET_ALTCHRSET ++ ;; 6: PAGE2 lsr bcs + sta RESET_PAGE2 bcc ++ + sta SET_PAGE2 ++ ;; 7: 80STORE lsr bcs + sta RESET_80STORE rts + sta SET_80STORE rts .load ;; A1L/A1H is start addr ;; tmp0 is # pages ;; tmp1 is even ;; tmp2 is odd ;; During loop: ;; PCL/PCH is looper ;; y is index ;; X is # pages lda A1L sta PCL lda A1H sta PCH ldx tmp0 lda tmp1 ldy #0 - sta (PCL),y iny iny bne - inc PCH dex bne - lda A1H sta PCH inc PCL ldx tmp0 lda tmp2 ldy #0 - sta (PCL),y iny iny bne - inc PCH dex bne - rts ;;; Read next even/odd values and store them for .load in tmp1/tmp2 .evenodd jsr .this sta tmp1 jsr .next sta tmp2 jsr .next rts ;;; Setup A1L, A1H, and tmp0 for fill of $400-$7FF .set400 lda #<$400 sta A1L lda #>$400 sta A1H lda #4 sta tmp0 rts ;;; Setup A1L, A1H, and tmp0 for fill of $2000-$3fff .set2000 lda #<$2000 sta A1L lda #>$2000 sta A1H lda #$20 sta tmp0 rts .load400 jsr .evenodd jsr .set400 jsr .load rts .load400aux jsr .evenodd jsr .set400 sta SET_RAMWRT jsr .load sta RESET_RAMWRT rts .load2000 jsr .evenodd jsr .set2000 jsr .load rts .load2000aux jsr .evenodd jsr .set2000 sta SET_RAMWRT jsr .load sta RESET_RAMWRT rts .first lda #<.testdata sta .thisx+1 lda #>.testdata sta .thisx+2 rts .next lda .testdata inc .thisx+1 bne .this inc .thisx+2 .this ldx #0 .thisx lda .testdata,x rts ;; Mode bits: ;; 0: TEXT ;; 1: MIXED ;; 2: HIRES ;; 3: 80COL ;; 4: (NOT) AN3 ;; 5: ALTCHRSET ;; 6: PAGE2 ;; 7: 80STORE .md_text = $01 .md_mixed = $02 .md_hires = $04 .md_80col = $08 .md_an3off = $10 .md_altchrset = $20 .md_page2 = $40 .md_80store = $80 foo !text "FOOBAR",$8D,$0 .testdata ;; Aux lores even/odd, lores even/odd, aux hires even/odd, hires even/odd, mode 1, mode 2 !ifndef SKIP { ;; 40COL and 80COL Text, inverse space. +string !text "40-COL AND 80-COL TEXT INVERSE SPACES:",$8D !text "ALL WHITE, WITH 1/80 SHIFT LEFT" +stringed !byte $20, $20, $20, $20, 0, 0, 0, 0, .md_text, .md_text | .md_80col ;; LORES patterns that correspond to HIRES patterns. +string !text "LORES VIOLET, HIRES VIOLET:SAME" +stringed !byte 0, 0, $33, $33, 0, 0, $55, $2a, 0, .md_hires ; purple +string !text "LORES GREEN, HIRES GREEN:SAME" +stringed !byte 0, 0, $cc, $cc, 0, 0, $2a, $55, 0, .md_hires ; green +string !text "LORES LIGHT BLUE, HIRES LIGHT BLUE:SAME" +stringed !byte 0, 0, $66, $66, 0, 0, $d5, $aa, 0, .md_hires ; light blue +string !text "LORES ORANGE, HIRES ORANGE:LEFT",$8D !text "EDGE SHIFTS RIGHT A COUPLE OF PIXELS" +stringed !byte 0, 0, $99, $99, 0, 0, $aa, $d5, 0, .md_hires ; orange - left column should budge ;; LORES patterns and corresponding DBL HIRES patterns. +string !text "LORES AND DBL HIRES DARK MAGENTA:SHIFT",$8D !text "LEFT" +stringed !byte 0, 0, $11, $11, $88, $22, $11, $44, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES DARK BLUE:SHIFT LEFT" +stringed !byte 0, 0, $22, $22, $11, $44, $22, $88, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES VIOLET:SHIFT LEFT" +stringed !byte 0, 0, $33, $33, $99, $66, $33, $cc, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES DARK BLUEGREEN:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $44, $44, $22, $88, $44, $11, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES GRAY $5:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $55, $55, $aa, $aa, $55, $55, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES BLUE:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $66, $66, $33, $cc, $66, $99, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES LIGHT BLUE:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $77, $77, $bb, $ee, $77, $dd, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES DARK BROWN:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $88, $88, $44, $11, $88, $22, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES ORANGE:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $99, $99, $cc, $33, $99, $66, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES GRAY $A:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $aa, $aa, $55, $55, $aa, $aa, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES LIGHT MAGENTA:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $bb, $bb, $dd, $77, $bb, $ee, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES GREEN:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $cc, $cc, $66, $99, $cc, $33, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES LIGHT BROWN:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $dd, $dd, $ee, $bb, $dd, $77, 0, .md_hires | .md_80col | .md_an3off +string !text "LORES AND DBL HIRES LIGHT BLUEGREEN:",$8D !text "SHIFT LEFT" +stringed !byte 0, 0, $ee, $ee, $77, $dd, $ee, $bb, 0, .md_hires | .md_80col | .md_an3off ;; DBL LORES patterns and corresponding DBL HIRES patterns. +string !text "DBL LORES AND DBL HIRES DARK MAGENTA:",$8D !text "SAME" +stringed !byte $88, $88, $11, $11, $88, $22, $11, $44, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES DARK BLUE:SAME" +stringed !byte $11, $11, $22, $22, $11, $44, $22, $88, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES VIOLET:SAME" +stringed !byte $99, $99, $33, $33, $99, $66, $33, $cc, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES DARK BLUEGREEN:",$8D !text "SAME" +stringed !byte $22, $22, $44, $44, $22, $88, $44, $11, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES GRAY $5:SAME" +stringed !byte $aa, $aa, $55, $55, $aa, $aa, $55, $55, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES BLUE:SAME" +stringed !byte $33, $33, $66, $66, $33, $cc, $66, $99, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES LIGHT BLUE:SAME" +stringed !byte $bb, $bb, $77, $77, $bb, $ee, $77, $dd, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES DARK BROWN:SAME" +stringed !byte $44, $44, $88, $88, $44, $11, $88, $22, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES ORANGE:SAME" +stringed !byte $cc, $cc, $99, $99, $cc, $33, $99, $66, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES GRAY $A:SAME" +stringed !byte $55, $55, $aa, $aa, $55, $55, $aa, $aa, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES LIGHT MAGENTA:",$8D !text "SAME" +stringed !byte $dd, $dd, $bb, $bb, $dd, $77, $bb, $ee, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES GREEN:SAME" +stringed !byte $66, $66, $cc, $cc, $66, $99, $cc, $33, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES LIGHT BROWN:SAME" +stringed !byte $ee, $ee, $dd, $dd, $ee, $bb, $dd, $77, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off +string !text "DBL LORES AND DBL HIRES LIGHT BLUEGREEN:",$8D !text "SAME" +stringed !byte $77, $77, $ee, $ee, $77, $dd, $ee, $bb, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off } ; ifndef SKIP ;; Tests that LORES stays the same in 80COL mode if AN3 is on. ;; OpenEmulator bug: https://github.com/OpenEmulatorProject/libemulation/issues/24 +string !text "LIGHT BROWN:LORES VS 80-COL+AN3 ON.",$8D,$8D !text "SHOULD STAY IN 40-COL GRAPHICS MODE AND",$8D !text "*NOT* SHOW BLACK VERTICAL STRIPES OF",$8D !text "80-COL AUXMEM." +stringed !byte 0, 0, $dd, $dd, $0, $0, $0, $0, 0, .md_80col +string !text "LIGHT MAGENTA:LORES VS 80-COL+AN3 ON,",$8D !text "MIXED GRAPHICS AND TEXT",$8D !text "GRAPHICS PART SHOULD STAY IN 40-COL",$8D !text "GRAPHICS MODE AND *NOT* SHOW VERTICAL",$8D !text "STRIPES OF 80-COL AUXMEM.",$8D,$8D !text "BOTTOM FOUR ROWS SHOULD START OUT AS",$8D !text "SEMI-COLONS (;;;) AND SWITCH TO 80-COL",$8D !text "ASTERISKS AND SEMI-COLONS (*;*;*;)" +stringed !byte $aa, $aa, $bb, $bb, $0, $0, $0, $0, .md_mixed, .md_mixed | .md_80col ;; Tests that HIRES stays the same in 80COL mode if AN3 is on. +string !text "LIGHT BLUE:HIRES VS 80-COL+AN3 ON.",$8D,$8D !text "SHOULD STAY IN 40-COL GRAPHICS MODE AND",$8D !text "*NOT* SHOW BLACK VERTICAL STRIPES OF",$8D !text "80-COL AUXMEM." +stringed !byte 0, 0, 0, 0, 0, 0, $d5, $aa, .md_hires, .md_hires | .md_80col +string !text "LIGHT BLUE:HIRES VS 80-COL+AN3 ON,",$8D !text "MIXED GRAPHICS AND TEXT",$8D !text "GRAPHICS PART SHOULD STAY IN 40-COL",$8D !text "GRAPHICS MODE AND *NOT* SHOW VERTICAL",$8D !text "STRIPES OF 80-COL AUXMEM.",$8D,$8D !text "BOTTOM FOUR ROWS SHOULD START OUT AS",$8D !text "SEMI-COLONS (;;;) AND SWITCH TO 80-COL",$8D !text "ASTERISKS AND SEMI-COLONS (*;*;*;)" +stringed !byte $aa, $aa, $bb, $bb, 0, 0, $d5, $aa, .md_hires | .md_mixed, .md_hires | .md_mixed | .md_80col !byte $ff, $ff } ;video !eof LORES $1 DDDDDDD....... DDDDDDD....... 10001000100010 00100010001000 0010001 0100010 1000100 0001000
22.10387
105
0.635308
460061461899ff1d189d0bb6ee749508b78ea460
1,579
asm
Assembly
programs/oeis/056/A056106.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/056/A056106.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/056/A056106.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A056106: Second spoke of a hexagonal spiral. ; 1,3,11,25,45,71,103,141,185,235,291,353,421,495,575,661,753,851,955,1065,1181,1303,1431,1565,1705,1851,2003,2161,2325,2495,2671,2853,3041,3235,3435,3641,3853,4071,4295,4525,4761,5003,5251,5505,5765,6031,6303,6581,6865,7155,7451,7753,8061,8375,8695,9021,9353,9691,10035,10385,10741,11103,11471,11845,12225,12611,13003,13401,13805,14215,14631,15053,15481,15915,16355,16801,17253,17711,18175,18645,19121,19603,20091,20585,21085,21591,22103,22621,23145,23675,24211,24753,25301,25855,26415,26981,27553,28131,28715,29305,29901,30503,31111,31725,32345,32971,33603,34241,34885,35535,36191,36853,37521,38195,38875,39561,40253,40951,41655,42365,43081,43803,44531,45265,46005,46751,47503,48261,49025,49795,50571,51353,52141,52935,53735,54541,55353,56171,56995,57825,58661,59503,60351,61205,62065,62931,63803,64681,65565,66455,67351,68253,69161,70075,70995,71921,72853,73791,74735,75685,76641,77603,78571,79545,80525,81511,82503,83501,84505,85515,86531,87553,88581,89615,90655,91701,92753,93811,94875,95945,97021,98103,99191,100285,101385,102491,103603,104721,105845,106975,108111,109253,110401,111555,112715,113881,115053,116231,117415,118605,119801,121003,122211,123425,124645,125871,127103,128341,129585,130835,132091,133353,134621,135895,137175,138461,139753,141051,142355,143665,144981,146303,147631,148965,150305,151651,153003,154361,155725,157095,158471,159853,161241,162635,164035,165441,166853,168271,169695,171125,172561,174003,175451,176905,178365,179831,181303,182781,184265,185755 mov $1,$0 mul $0,3 sub $0,1 mul $1,$0 add $1,1
175.444444
1,483
0.818873
da5fef5ac8a097926ff2a6772c94fe6c0a4ca399
241
asm
Assembly
ffight/lcs/1p/95.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
ffight/lcs/1p/95.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
ffight/lcs/1p/95.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 00A36C clr.b ($95,A4) 00A370 clr.b ($94,A4) 00BCB0 rts 00BDA4 moveq #$0, D0 [1p+95] 00BDAC moveq #$1, D0 [1p+95] copyright zengfr site:http://github.com/zengfr/romhack
24.1
54
0.676349
252933371b968370161a8f10690a45aa4cbd6de7
621
asm
Assembly
oeis/294/A294328.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/294/A294328.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/294/A294328.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A294328: a(n) = ((9*n + 8)*10^n - 8)/81. ; 0,2,32,432,5432,65432,765432,8765432,98765432,1098765432,12098765432,132098765432,1432098765432,15432098765432,165432098765432,1765432098765432,18765432098765432,198765432098765432,2098765432098765432,22098765432098765432,232098765432098765432,2432098765432098765432,25432098765432098765432,265432098765432098765432,2765432098765432098765432,28765432098765432098765432,298765432098765432098765432,3098765432098765432098765432,32098765432098765432098765432,332098765432098765432098765432 add $0,1 lpb $0 add $2,$0 sub $0,1 mul $2,10 mov $1,$2 lpe div $1,100 mov $0,$1
47.769231
488
0.837359
5b6c0ba9051a919e34b167d4c0237c815b2b4398
195
asm
Assembly
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc/zx_saddr2aaddr_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc/zx_saddr2aaddr_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc/zx_saddr2aaddr_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void *zx_saddr2aaddr_fastcall(void *saddr) SECTION code_clib SECTION code_arch PUBLIC _zx_saddr2aaddr_fastcall EXTERN asm_zx_saddr2aaddr defc _zx_saddr2aaddr_fastcall = asm_zx_saddr2aaddr
16.25
50
0.861538
15389ab01637f37a133c72b6b2814002d7688214
1,314
asm
Assembly
boot_sector_2_stages/stage2/protected_mod.asm
lolblat/OrOS
baf253c50c506a099112232329e4ca126f674340
[ "MIT" ]
4
2018-03-18T20:26:43.000Z
2018-09-20T13:52:38.000Z
boot_sector_2_stages/stage2/protected_mod.asm
lolblat/OrOS
baf253c50c506a099112232329e4ca126f674340
[ "MIT" ]
1
2018-01-15T06:57:39.000Z
2018-01-15T06:57:39.000Z
boot_sector_2_stages/stage2/protected_mod.asm
lolblat/OrOS
baf253c50c506a099112232329e4ca126f674340
[ "MIT" ]
null
null
null
;code switch to protected mode [bits 16] switch_to_protected: cli ; disable int lgdt[gdt_start.size] ; load the idt into the memory mov eax, cr0 or al, 1 ; switch flag true mov cr0, eax jmp 08h:protected_mod_init ; far jump to code ret [bits 32] protected_mod_init: mov ax,gdt_start.gdt_data_descriptor mov ds,ax mov es,ax mov ss,ax mov fs,ax mov gs,ax mov esp,0x7c00 mov ebp,esp call protected_mode gdt_start: .gdt_data: dd 0x0 ; 8 bytes of null descriptor dd 0x0 ;-----------------------------; .gdt_code_descriptor: equ $ - gdt_start dw 0xFFFF ; limit low dw 0x0 ;base low db 0x0 ; base middle db 10011010b ; access db 11001111b ; granularity db 0x0 .gdt_data_descriptor: equ $ - gdt_start dw 0xFFFF ; limit low dw 0 db 0 db 10010010b db 11001111b db 0 .gdt_user_code: equ $ - gdt_start dw 0xFFFF dw 0x0 db 0x0 db 11111010b db 11001111b db 0x0 .gdt_user_data: equ $ - gdt_start dw 0xFFFF dw 0x0 db 0x0 db 11110010b db 11001111b db 0x0 .gdt_tss_entry: equ $ - gdt_start dw 0xFFFF ;limit low 0:15 dw 0x0; base low 0:15 db 0x0 ;base 16:23 db 11101001b ; access db 11001111b ; 4 last bits is limit 16:19 db 0x0; another base 24:31 .end_of_gdt: .size: dw .end_of_gdt - .gdt_data - 1 dd .gdt_data
18.25
52
0.670472
5dc0f471a06c31a9fff47efbce314f21f54222e2
361
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_atan2_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_atan2_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_atan2_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_math32 PUBLIC cm32_sdcc_atan2_callee EXTERN _m32_atan2f cm32_sdcc_atan2_callee: pop hl ; return pop bc ; LHS pop de pop af ; RHS ex (sp),hl ; return to stack push hl ; RHS push af push de ; LHS push bc call _m32_atan2f pop af pop af pop af pop af ret
13.884615
33
0.573407
5e7c6524c71ecf4f07234c35dae2788d4b894224
6,512
asm
Assembly
picdiv/pd15.asm
thinkfat/TICC
1378e7eebdc1a61dae5ef38dea00a3c11dea3084
[ "MIT" ]
25
2016-04-04T15:03:02.000Z
2022-01-23T06:52:56.000Z
picdiv/pd15.asm
thinkfat/TICC
1378e7eebdc1a61dae5ef38dea00a3c11dea3084
[ "MIT" ]
31
2016-04-18T01:09:14.000Z
2020-10-06T19:19:04.000Z
picdiv/pd15.asm
thinkfat/TICC
1378e7eebdc1a61dae5ef38dea00a3c11dea3084
[ "MIT" ]
20
2016-03-28T13:15:03.000Z
2022-01-17T08:33:12.000Z
; ------------------------------------------------------------------------ ; ; Title: ; ; PD15 -- PIC 10 MHz to three frequencies divider (1-1k-10k Hz), with sync ; ; Function: ; ; This PIC program implements a digital frequency divider: cpu hardware ; and isochronous software divide the input clock by 7 powers of ten. ; This allows generation of decade outputs from 10 kHz to 1 Hz (1PPS). ; ; - In this version a 10 MHz input clock is divided to create three ; simultaneous square wave outputs: 1 Hz, 1 kHz, 10 kHz. ; ; - Two inputs support optional manual 1PPS synchronization. Pull Arm ; pin low for a second to stop divider. All outputs will synchronize ; to next rising edge of Sync pin (within one instruction cycle). ; ; Diagram: ; ---__--- ; 5V (Vdd) +++++|1 8|===== Ground (Vss) ; 10 MHz clock in ---->|2 pD 7|----> 10 kHz out ; 1 Hz out <----|3 15 6|----> 1 kHz out ; Arm o--->|4 5|<+--- Sync ; -------- ; Notes: ; ; o External pull-up required on Arm input (pin4/GP3). ; + Sync input (pin5/GP2) has internal WPU. ; Output frequency accuracy is the same as clock input accuracy. ; Output drive current is 25 mA maximum per pin. ; Coded for Microchip 12F675 but any '609 '615 '629 '635 '675 '683 works. ; ; Version: ; ; 29-Jan-2013 Tom Van Baak (tvb) www.LeapSecond.com/pic ; ; ------------------------------------------------------------------------ ; Microchip MPLAB IDE assembler code (mpasm). list p=pic12f675 include p12f675.inc __config _EC_OSC & _MCLRE_OFF & _WDT_OFF ; Register definitions. cblock 0x20 ; define register base gpcopy ; shadow of output pins dig4, dig3, dig2, dig1, dig0 endc ; Define entry points. org 0 ; power-on entry goto init ; org 4 ; interrupt entry goto sync ; ; One-time PIC 12F675 initialization. init: bcf STATUS,RP0 ; bank 0 movlw 0x07 ; turn comparator off movwf CMCON ; clrf GPIO ; set output latches low bsf STATUS,RP0 ; bank 1 errorlevel -302 clrf ANSEL ; all digital (no analog) pins movlw ~(1<<GP4 | 1<<GP1 | 1<<GP0) movwf TRISIO ; set pin directions (0=output) movlw 1<<GP2 movwf WPU ; enable weak pullup (1=enable) movlw 1<<INTEDG ; WPU, GP2/INT rising edge trigger movwf OPTION_REG ; errorlevel +302 bcf STATUS,RP0 ; bank 0 call clear ; initialize counter and pins ; To create multiple frequency outputs the PIC increments a virtual ; '7490-style decade counter chain in a continuous isochronous loop. ; Clocking the counter at twice the output rate allows each LSB to ; generate a square wave at the desired decade frequency. ; ; A 50 us (20 kHz) toggle loop can generate a 10 kHz square wave. ; With a 10 MHz clock (400 ns Tcy) 125 instructions is 50 us. loop: movf gpcopy,W ; gpcopy -> W movwf GPIO ; W -> GPIO call Delay5 ; (sync alignment) sync: call armed ; check for Arm request ; Update counter and map each output pin to decade LSB. call count ; increment counter clrf gpcopy ; btfss dig0,0 ; 10 kHz decade LSB bsf gpcopy,GP0 ; btfss dig1,0 ; 1 kHz decade LSB bsf gpcopy,GP1 ; btfss dig4,0 ; 1 Hz decade LSB bsf gpcopy,GP4 ; ; Pad loop for exactly 125 instructions (use MPLAB SIM). movlw d'67' ; call DelayW1 ; delay (15 <= W <= 255) goto loop ; ; Initialize counter (zero) and output pins (high). clear: clrf dig0 clrf dig1 clrf dig2 clrf dig3 clrf dig4 movlw 1<<GP4 | 1<<GP1 | 1<<GP0 movwf gpcopy return ; Increment 5-digit decimal counter (isochronous code). count: incf dig0,F ; always increment LSDigit movlw d'10' ; subwf dig0,W ; check overflow skpnz ; clrf dig0 ; reset to zero skpnz ; incf dig1,F ; apply previous carry movlw d'10' ; subwf dig1,W ; check overflow skpnz ; clrf dig1 ; reset to zero skpnz ; incf dig2,F ; apply previous carry movlw d'10' ; subwf dig2,W ; check overflow skpnz ; clrf dig2 ; reset to zero skpnz ; incf dig3,F ; apply previous carry movlw d'10' ; subwf dig3,W ; check overflow skpnz ; clrf dig3 ; reset to zero skpnz ; incf dig4,F ; apply previous carry movlw d'10' ; subwf dig4,W ; check overflow skpnz ; clrf dig4 ; reset to zero return ; Implement two-pin 1PPS Arm-Sync synchronization protocol. ; - Accept Arm (low) request when output(s) are high. ; - Use GP2/INT interrupt to keep accuracy within 1 Tcy. ; - Divider resets and resumes on rising edge of Sync pin. ; - Re-enter main loop late to compensate for interrupt/code latency. armed: movf GPIO,W ; GPIO -> W andlw (1<<GP4 | 1<<GP3 | 1<<GP1 | 1<<GP0) xorlw (1<<GP4 | 1<<GP1 | 1<<GP0) skpz ; Arm low, output(s) high? return ; no, continue running call clear ; initialize counter and pins movlw 1<<GIE|1<<INTE ; enable GP2 edge-trigger interrupt movwf INTCON ; (and clear interrupt flags) goto $ ; no deposit, no return, no retfie include delayw.asm ; precise delay functions end
36.379888
76
0.496622
21c15ac816ddbffd289d0d006cccc8f0205b910a
967
asm
Assembly
data/pokemon/base_stats/cubone.asm
AtmaBuster/pokeplat-gen2
fa83b2e75575949b8f72cb2c48f7a1042e97f70f
[ "blessing" ]
6
2021-06-19T06:41:19.000Z
2022-02-15T17:12:33.000Z
data/pokemon/base_stats/cubone.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
data/pokemon/base_stats/cubone.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
2
2021-08-11T19:47:07.000Z
2022-01-01T07:07:56.000Z
db 0 ; species ID placeholder db 50, 50, 95, 35, 40, 50 ; hp atk def spd sat sdf db GROUND, GROUND ; type db 190 ; catch rate db 87 ; base exp db NO_ITEM, THICK_CLUB ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/cubone/front.dimensions" db GROWTH_MEDIUM_FAST ; growth rate dn EGG_MONSTER, EGG_MONSTER ; egg groups db 70 ; happiness ; tm/hm learnset tmhm FOCUS_PUNCH, TOXIC, HIDDEN_POWER, SUNNY_DAY, ICE_BEAM, BLIZZARD, PROTECT, FRUSTRATION, IRON_TAIL, EARTHQUAKE, RETURN, DIG, BRICK_BREAK, DOUBLE_TEAM, FLAMETHROWER, SANDSTORM, FIRE_BLAST, ROCK_TOMB, AERIAL_ACE, FACADE, SECRET_POWER, REST, ATTRACT, THIEF, FALSE_SWIPE, FLING, ENDURE, SWORDS_DANCE, STEALTH_ROCK, CAPTIVATE, ROCK_SLIDE, SLEEP_TALK, NATURAL_GIFT, SWAGGER, SUBSTITUTE, STRENGTH, ROCK_SMASH, ROCK_CLIMB, EARTH_POWER, ENDEAVOR, FIRE_PUNCH, FURY_CUTTER, ICY_WIND, IRON_DEFENSE, KNOCK_OFF, MUD_SLAP, SNORE, THUNDERPUNCH, UPROAR ; end
48.35
540
0.759049
259c38cd08c2d0469fa881d80e2fdf862119d2a2
2,619
asm
Assembly
programs/oeis/061/A061087.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/061/A061087.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/061/A061087.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A061087: a(n) = A061086(n) / n. ; 11,14,109,116,1025,1036,1049,1064,1081,10100,10121,10144,10169,10196,10225,10256,10289,10324,10361,10400,10441,100484,100529,100576,100625,100676,100729,100784,100841,100900,100961,101024,101089,101156,101225,101296,101369,101444,101521,101600,101681,101764,101849,101936,102025,102116,1002209,1002304,1002401,1002500,1002601,1002704,1002809,1002916,1003025,1003136,1003249,1003364,1003481,1003600,1003721,1003844,1003969,1004096,1004225,1004356,1004489,1004624,1004761,1004900,1005041,1005184,1005329,1005476,1005625,1005776,1005929,1006084,1006241,1006400,1006561,1006724,1006889,1007056,1007225,1007396,1007569,1007744,1007921,1008100,1008281,1008464,1008649,1008836,1009025,1009216,1009409,1009604,1009801,10010000,10010201,10010404,10010609,10010816,10011025,10011236,10011449,10011664,10011881,10012100,10012321,10012544,10012769,10012996,10013225,10013456,10013689,10013924,10014161,10014400,10014641,10014884,10015129,10015376,10015625,10015876,10016129,10016384,10016641,10016900,10017161,10017424,10017689,10017956,10018225,10018496,10018769,10019044,10019321,10019600,10019881,10020164,10020449,10020736,10021025,10021316,10021609,10021904,10022201,10022500,10022801,10023104,10023409,10023716,10024025,10024336,10024649,10024964,10025281,10025600,10025921,10026244,10026569,10026896,10027225,10027556,10027889,10028224,10028561,10028900,10029241,10029584,10029929,10030276,10030625,10030976,10031329,10031684,10032041,10032400,10032761,10033124,10033489,10033856,10034225,10034596,10034969,10035344,10035721,10036100,10036481,10036864,10037249,10037636,10038025,10038416,10038809,10039204,10039601,10040000,10040401,10040804,10041209,10041616,10042025,10042436,10042849,10043264,10043681,10044100,10044521,10044944,10045369,10045796,10046225,100046656,100047089,100047524,100047961,100048400,100048841,100049284,100049729,100050176,100050625,100051076,100051529,100051984,100052441,100052900,100053361,100053824,100054289,100054756,100055225,100055696,100056169,100056644,100057121,100057600,100058081,100058564,100059049,100059536,100060025,100060516,100061009,100061504,100062001,100062500 mov $4,$0 mov $5,$0 add $5,1 mov $9,$0 lpb $5 mov $0,$9 sub $5,1 sub $0,$5 mov $8,$0 mov $11,2 lpb $11 mov $0,$8 sub $11,1 add $0,$11 pow $0,3 mov $6,2 lpb $0 div $0,10 mul $6,10 lpe mov $1,$6 mov $10,$11 lpb $10 mov $2,$1 sub $10,1 lpe lpe lpb $8 sub $2,$1 mov $8,0 lpe mov $1,$2 div $1,20 mul $1,10 add $1,1 add $7,$1 lpe mov $1,$7 add $1,$4 mov $3,$4 mul $3,$4 add $1,$3
56.934783
2,105
0.793814
d7607de0119dae74074b733c83e3465a0413fbe5
97,409
asm
Assembly
src/sound/song100restored.asm
MusicTheorist/Mother2GbaTranslation
70de3975a3284c4002a33e8ef8c20e4c2b039037
[ "MIT" ]
1
2021-04-18T04:26:52.000Z
2021-04-18T04:26:52.000Z
src/sound/song100restored.asm
MusicTheorist/Mother2GbaTranslation
70de3975a3284c4002a33e8ef8c20e4c2b039037
[ "MIT" ]
null
null
null
src/sound/song100restored.asm
MusicTheorist/Mother2GbaTranslation
70de3975a3284c4002a33e8ef8c20e4c2b039037
[ "MIT" ]
null
null
null
song100restored_pri equ 0 song100restored_rev equ 0 song100restored_mvl equ 127 song100restored_key equ 0 song100restored_tbs equ 1 song100restored_exg equ 0 song100restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.1) ****************; @song100restored_1: .byte TEMPO , 63 .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 20 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 94*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 94*song100restored_mvl/mxv .byte 94*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 94*song100restored_mvl/mxv .byte 94*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 94*song100restored_mvl/mxv .byte BEND , c_v+0 .byte W24 .byte W03 .byte VOL , 39*song100restored_mvl/mxv .byte PAN , c_v+63 .byte BEND , c_v+0 .byte N68 , Cn3 , v088 .byte W68 .byte W01 ; 001 ---------------------------------------- .byte W01 .byte N68 .byte W68 .byte W02 .byte N32 .byte W24 .byte W01 ; 002 ---------------------------------------- .byte W10 .byte N32 .byte W84 .byte W02 ; 003 ---------------------------------------- .byte W20 .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N05 .byte W06 ; 004 ---------------------------------------- .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W08 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W05 ; 005 ---------------------------------------- .byte W03 .byte VOL , 31*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W05 ; 006 ---------------------------------------- .byte W04 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W04 ; 007 ---------------------------------------- .byte W05 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+27 .byte VOL , 31*song100restored_mvl/mxv .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W03 ; 008 ---------------------------------------- .byte W05 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W72 .byte W01 ; 009 ---------------------------------------- .byte W06 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W02 ; 010 ---------------------------------------- .byte W07 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W01 ; 011 ---------------------------------------- .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 44*song100restored_mvl/mxv .byte W01 .byte 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte W01 ; 012 ---------------------------------------- .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 ; 013 ---------------------------------------- .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 ; 014 ---------------------------------------- .byte W01 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W07 ; 015 ---------------------------------------- .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W08 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W06 ; 016 ---------------------------------------- .byte W02 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte W01 .byte N04 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N05 .byte W09 .byte PAN , c_v+27 .byte VOL , 31*song100restored_mvl/mxv .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+63 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte VOL , 31*song100restored_mvl/mxv .byte N05 .byte W08 .byte VOL , 24*song100restored_mvl/mxv .byte N04 .byte W09 .byte PAN , c_v+42 .byte VOL , 50*song100restored_mvl/mxv .byte N05 .byte W06 ; 017 ---------------------------------------- .byte W03 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte N04 .byte W54 .byte VOICE , 20 .byte VOL , 94*song100restored_mvl/mxv .byte PAN , c_v+0 .byte W01 .byte VOICE , 20 .byte BENDR , 12 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+63 .byte VOL , 31*song100restored_mvl/mxv .byte BEND , c_v+0 .byte GOTO .word @song100restored_1 ;**************** Track 2 (Midi-Chn.2) ****************; @song100restored_2: .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 22 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte BEND , c_v-2 .byte W24 .byte W03 .byte VOL , 65*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BEND , c_v-2 .byte N68 , En3 , v088 .byte W68 .byte W01 ; 001 ---------------------------------------- .byte W01 .byte N68 .byte W68 .byte W02 .byte N32 .byte W24 .byte W01 ; 002 ---------------------------------------- .byte W10 .byte N32 .byte W44 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W08 .byte VOL , 54*song100restored_mvl/mxv .byte PAN , c_v-26 .byte W01 .byte c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte N06 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W07 ; 003 ---------------------------------------- .byte W02 .byte N03 .byte W05 .byte VOL , 39*song100restored_mvl/mxv .byte N02 .byte W05 .byte VOL , 59*song100restored_mvl/mxv .byte N02 .byte W04 .byte VOL , 65*song100restored_mvl/mxv .byte N02 .byte W21 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W24 ; 004 ---------------------------------------- .byte W12 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W03 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W05 ; 005 ---------------------------------------- .byte W21 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W05 ; 006 ---------------------------------------- .byte W30 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte N07 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W03 .byte VOL , 65*song100restored_mvl/mxv .byte N14 .byte W30 ; 007 ---------------------------------------- .byte W05 .byte VOL , 24*song100restored_mvl/mxv .byte N06 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W12 ; 008 ---------------------------------------- .byte W14 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W18 .byte N02 .byte W04 .byte VOL , 24*song100restored_mvl/mxv .byte N03 .byte W05 .byte N02 .byte W04 .byte N02 .byte W04 .byte VOL , 65*song100restored_mvl/mxv .byte N02 .byte W05 .byte VOL , 24*song100restored_mvl/mxv .byte N03 .byte W04 .byte N02 .byte W05 .byte N02 .byte W04 .byte VOL , 65*song100restored_mvl/mxv .byte N02 .byte W04 .byte VOL , 24*song100restored_mvl/mxv .byte N02 .byte W05 .byte N02 .byte W04 .byte N02 .byte W05 .byte VOL , 39*song100restored_mvl/mxv .byte N02 .byte W04 .byte VOL , 50*song100restored_mvl/mxv .byte N02 .byte W04 .byte VOL , 59*song100restored_mvl/mxv .byte W01 .byte N02 .byte W02 ; 009 ---------------------------------------- .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N02 .byte W22 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W02 ; 010 ---------------------------------------- .byte W07 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte PAN , c_v-5 .byte VOL , 61*song100restored_mvl/mxv .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W19 ; 011 ---------------------------------------- .byte W08 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W18 ; 012 ---------------------------------------- .byte W17 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 ; 013 ---------------------------------------- .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W03 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W01 ; 014 ---------------------------------------- .byte W01 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W24 .byte W01 ; 015 ---------------------------------------- .byte W10 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte N06 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W03 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W06 ; 016 ---------------------------------------- .byte W20 .byte VOL , 65*song100restored_mvl/mxv .byte N14 .byte W32 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N23 .byte W24 .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N15 .byte W06 ; 017 ---------------------------------------- .byte W12 .byte N03 .byte W04 .byte VOL , 24*song100restored_mvl/mxv .byte N02 .byte W05 .byte N02 .byte W04 .byte N02 .byte W04 .byte VOL , 65*song100restored_mvl/mxv .byte N02 .byte W05 .byte VOL , 24*song100restored_mvl/mxv .byte N02 .byte W04 .byte N02 .byte W04 .byte N02 .byte W05 .byte VOL , 65*song100restored_mvl/mxv .byte N07 .byte W10 .byte VOICE , 22 .byte W01 .byte 22 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 65*song100restored_mvl/mxv .byte BEND , c_v-2 .byte GOTO .word @song100restored_2 ;**************** Track 3 (Midi-Chn.3) ****************; @song100restored_3: .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 0 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 72*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 72*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 72*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 72*song100restored_mvl/mxv .byte BEND , c_v-2 .byte W24 .byte W03 .byte VOICE , 0 .byte VOL , 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BEND , c_v+1 .byte N15 , Gs1 , v088 .byte W01 .byte BEND , c_v+5 .byte W01 .byte c_v+8 .byte W66 .byte W01 ; 001 ---------------------------------------- .byte W01 .byte c_v-1 .byte N16 , Cs2 .byte W01 .byte BEND , c_v+5 .byte W01 .byte c_v+8 .byte W68 .byte c_v-3 .byte N15 , Gs1 .byte W01 .byte BEND , c_v+1 .byte W01 .byte c_v+7 .byte W01 .byte c_v+8 .byte W22 ; 002 ---------------------------------------- .byte W10 .byte c_v-2 .byte N32 , As1 .byte W12 .byte BEND , c_v-3 .byte W01 .byte c_v-4 .byte W01 .byte c_v-5 .byte W01 .byte c_v-6 .byte W01 .byte c_v-7 .byte W01 .byte c_v-9 .byte W01 .byte c_v-10 .byte W01 .byte c_v-11 .byte W01 .byte c_v-13 .byte W01 .byte c_v-15 .byte W01 .byte c_v-15 .byte W01 .byte c_v-17 .byte W01 .byte c_v-19 .byte W01 .byte c_v-20 .byte W01 .byte c_v-21 .byte W01 .byte c_v-23 .byte W01 .byte c_v-24 .byte W01 .byte c_v-25 .byte W01 .byte c_v-26 .byte W01 .byte c_v-28 .byte W01 .byte c_v-30 .byte W01 .byte c_v-31 .byte W11 .byte c_v-2 .byte N07 , Fn2 .byte W09 .byte N06 .byte W09 .byte N07 .byte W09 .byte N06 .byte W08 .byte N07 .byte W07 ; 003 ---------------------------------------- .byte W02 .byte N07 .byte W09 .byte N07 .byte W09 .byte Ds2 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W09 .byte N07 .byte W09 .byte As2 .byte W09 .byte N07 .byte W08 .byte Cn3 .byte W09 .byte As2 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , Ds2 .byte W06 ; 004 ---------------------------------------- .byte W03 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W08 .byte N07 .byte W09 .byte As2 .byte W09 .byte N07 .byte W09 .byte Cn3 .byte W08 .byte As2 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , As1 .byte W09 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Dn2 .byte W09 .byte N07 .byte W05 ; 005 ---------------------------------------- .byte W04 .byte Fn2 .byte W08 .byte N07 .byte W09 .byte Gn2 .byte W09 .byte Fn2 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , As1 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Dn2 .byte W09 .byte N07 .byte W09 .byte Fn2 .byte W09 .byte N07 .byte W08 .byte Gn2 .byte W05 ; 006 ---------------------------------------- .byte W04 .byte Fn2 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N06 .byte W09 .byte N07 .byte W08 .byte VOL , 50*song100restored_mvl/mxv .byte W01 .byte N07 , An2 .byte W08 .byte N07 .byte W09 .byte Cn3 .byte W09 .byte N07 .byte W09 .byte Dn3 .byte W08 .byte Cn3 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , Ds2 .byte W09 .byte N07 .byte W04 ; 007 ---------------------------------------- .byte W05 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W09 .byte N07 .byte W08 .byte As2 .byte W09 .byte N07 .byte W09 .byte Cn3 .byte W09 .byte As2 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte W01 .byte N07 , As1 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Dn2 .byte W09 .byte N07 .byte W09 .byte N06 , Ds2 .byte W03 ; 008 ---------------------------------------- .byte W06 .byte N07 .byte W08 .byte En2 .byte W09 .byte N07 .byte W18 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , Fn2 .byte W08 .byte VOL , 50*song100restored_mvl/mxv .byte N07 .byte W09 .byte N05 .byte W09 .byte N05 .byte W09 .byte N05 .byte W09 .byte N05 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte W01 .byte N05 .byte W02 ; 009 ---------------------------------------- .byte W06 .byte N07 , As1 .byte W09 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Dn2 .byte W09 .byte N07 .byte W08 .byte Fn2 .byte W09 .byte N07 .byte W09 .byte N06 , Gn2 .byte W09 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , As2 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W02 ; 010 ---------------------------------------- .byte W07 .byte N07 .byte W09 .byte Fn2 .byte W09 .byte N07 .byte W08 .byte Dn2 .byte W09 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , As1 .byte W09 .byte N07 .byte W08 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Dn2 .byte W09 .byte N06 .byte W09 .byte N07 , Fn2 .byte W09 .byte N07 .byte W01 ; 011 ---------------------------------------- .byte W08 .byte Gn2 .byte W08 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , As2 .byte W09 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W09 .byte N07 .byte W08 .byte Fn2 .byte W09 .byte N07 .byte W09 .byte Dn2 .byte W09 .byte N07 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte W01 ; 012 ---------------------------------------- .byte N07 , Ds2 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte BEND , c_v-3 .byte N07 , Gn1 .byte W09 .byte N06 .byte W09 .byte BEND , c_v-3 .byte N07 , Gs1 .byte W09 .byte N07 .byte W08 .byte An1 .byte W09 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 , As1 .byte W09 .byte N07 .byte W08 .byte VOL , 50*song100restored_mvl/mxv .byte BEND , c_v-3 .byte N07 , Cn2 .byte W09 ; 013 ---------------------------------------- .byte N06 .byte W09 .byte BEND , c_v-2 .byte N07 , Cs2 .byte W09 .byte N07 .byte W09 .byte Dn2 .byte W08 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , As1 .byte W09 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Dn2 .byte W09 .byte N07 .byte W08 .byte Fn2 .byte W09 .byte N07 .byte W08 ; 014 ---------------------------------------- .byte W01 .byte Gn2 .byte W09 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , Gs2 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W09 .byte N07 .byte W09 .byte Fn2 .byte W08 .byte N07 .byte W09 .byte Dn2 .byte W09 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 ; 015 ---------------------------------------- .byte W02 .byte N07 .byte W08 .byte VOL , 50*song100restored_mvl/mxv .byte W01 .byte N06 , An2 .byte W08 .byte N07 .byte W09 .byte As2 .byte W09 .byte N07 .byte W09 .byte Bn2 .byte W08 .byte Cn3 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 , Ds2 .byte W09 .byte N06 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gn2 .byte W09 .byte N07 .byte W06 ; 016 ---------------------------------------- .byte W02 .byte Gs2 .byte W09 .byte N07 .byte W09 .byte N06 , An2 .byte W09 .byte N07 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte W01 .byte N06 , As2 .byte W08 .byte N07 .byte W09 .byte VOL , 50*song100restored_mvl/mxv .byte N07 , Gs2 .byte W09 .byte N07 .byte W09 .byte Gn2 .byte W08 .byte N07 .byte W09 .byte Fs2 .byte W06 ; 017 ---------------------------------------- .byte W03 .byte N07 .byte W18 .byte Fn2 .byte W08 .byte N07 .byte W09 .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N07 .byte W11 .byte VOICE , 0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 72*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 72*song100restored_mvl/mxv .byte BEND , c_v-2 .byte GOTO .word @song100restored_3 ;**************** Track 4 (Midi-Chn.4) ****************; @song100restored_4: .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 28 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 50*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 50*song100restored_mvl/mxv .byte 50*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 50*song100restored_mvl/mxv .byte 50*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 50*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 , Gs3 , v088 .byte W09 .byte BEND , c_v-2 .byte N07 , An3 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-1 .byte W03 .byte VOL , 39*song100restored_mvl/mxv .byte PAN , c_v+63 .byte BEND , c_v-1 .byte N06 , En4 .byte W01 .byte BEND , c_v+0 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W02 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 ; 001 ---------------------------------------- .byte W01 .byte c_v-2 .byte N07 , Bn3 .byte W01 .byte BEND , c_v+0 .byte W01 .byte c_v+2 .byte W04 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , En4 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Cn4 .byte W07 .byte BEND , c_v-1 .byte W01 ; 002 ---------------------------------------- .byte W01 .byte c_v-2 .byte N07 , Dn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , En4 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Dn4 .byte W07 .byte BEND , c_v-1 .byte W11 .byte c_v-2 .byte N48 .byte W03 .byte BEND , c_v-2 .byte W03 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W02 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+4 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 ; 003 ---------------------------------------- .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W11 .byte PAN , c_v+0 .byte VOL , 50*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W11 .byte c_v-2 .byte N16 , Gs3 .byte W02 .byte BEND , c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W04 .byte c_v+4 .byte W01 .byte c_v+5 .byte W01 .byte c_v+7 .byte W01 .byte c_v+7 .byte W04 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W10 .byte c_v-2 .byte N15 , Gs3 .byte W02 .byte BEND , c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W04 .byte c_v+4 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+7 .byte W10 ; 004 ---------------------------------------- .byte W03 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N15 , Gs3 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W03 .byte c_v+3 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+7 .byte W04 .byte c_v-2 .byte N15 , As3 .byte W07 .byte BEND , c_v-1 .byte W01 .byte c_v-2 .byte W02 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W03 .byte N16 , Gs3 .byte W01 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W03 .byte c_v+3 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+7 .byte W04 .byte c_v-2 .byte N07 , En4 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W02 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W02 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , En4 .byte W05 ; 005 ---------------------------------------- .byte W01 .byte BEND , c_v-1 .byte W03 .byte c_v-1 .byte N07 .byte W01 .byte BEND , c_v+0 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W02 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W02 .byte c_v+3 .byte W01 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W10 .byte c_v-2 .byte N07 , Gs4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Ds4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Gs3 .byte W05 ; 006 ---------------------------------------- .byte W02 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn3 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N15 , An3 .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W02 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+4 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v-2 .byte N15 .byte W01 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W02 .byte c_v+1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W02 .byte c_v-2 .byte N07 , Gs3 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+5 .byte W01 .byte c_v+8 .byte W01 .byte c_v+8 .byte W01 .byte c_v+8 .byte W01 .byte c_v+9 .byte W02 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Gs3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Fn3 .byte W07 .byte BEND , c_v-2 .byte W11 .byte c_v-2 .byte N07 .byte W04 ; 007 ---------------------------------------- .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Ds3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Bn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 , As2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 , Gs2 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N07 , Fn2 .byte W06 .byte BEND , c_v-2 .byte W11 .byte c_v-2 .byte N24 , An3 .byte W02 .byte BEND , c_v-2 .byte W02 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W02 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W02 .byte c_v-2 .byte N06 , Ds4 .byte W03 ; 008 ---------------------------------------- .byte W03 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , As3 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 , Gs3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W19 .byte c_v-2 .byte N32 , Cn3 .byte W07 .byte BEND , c_v-1 .byte W01 .byte c_v-2 .byte W02 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte W02 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W02 .byte c_v-1 .byte W05 ; 009 ---------------------------------------- .byte W06 .byte VOICE , 27 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Gs1 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W08 .byte N06 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W08 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W02 ; 010 ---------------------------------------- .byte W05 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W09 .byte N06 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W09 .byte N06 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W09 .byte N06 .byte W01 ; 011 ---------------------------------------- .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W08 .byte N06 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 ; 012 ---------------------------------------- .byte Cs2 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N06 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 ; 013 ---------------------------------------- .byte PAN , c_v+27 .byte VOL , 31*song100restored_mvl/mxv .byte PAN , c_v+0 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N06 , Gs1 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W08 .byte N06 .byte W09 .byte N06 .byte W08 ; 014 ---------------------------------------- .byte W01 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W08 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W08 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte Ds2 .byte W07 ; 015 ---------------------------------------- .byte W02 .byte N06 .byte W08 .byte VOL , 39*song100restored_mvl/mxv .byte W01 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W09 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte Cs2 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W06 ; 016 ---------------------------------------- .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N06 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N06 , Gs1 .byte W08 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W09 .byte N06 .byte W08 .byte N06 .byte W09 .byte VOL , 39*song100restored_mvl/mxv .byte N07 .byte W06 ; 017 ---------------------------------------- .byte W01 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 .byte W18 .byte N07 , Ds2 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N05 .byte W10 .byte VOICE , 28 .byte VOL , 50*song100restored_mvl/mxv .byte PAN , c_v+0 .byte W01 .byte VOICE , 27 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 39*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte GOTO .word @song100restored_4 ;**************** Track 5 (Midi-Chn.5) ****************; @song100restored_5: .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 28 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte BEND , c_v-2 .byte W24 .byte W03 .byte VOL , 50*song100restored_mvl/mxv .byte PAN , c_v-21 .byte BEND , c_v-1 .byte N06 , Bn3 , v088 .byte W01 .byte BEND , c_v+0 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W09 .byte N07 .byte W09 .byte N07 .byte W08 .byte N07 .byte W32 .byte W03 ; 001 ---------------------------------------- .byte W01 .byte Gn3 .byte W01 .byte BEND , c_v+0 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W05 .byte c_v-2 .byte N07 , Gs3 .byte W09 .byte N07 .byte W09 .byte N07 .byte W09 .byte N07 .byte W32 .byte W03 .byte Bn3 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W04 .byte c_v+3 .byte W18 ; 002 ---------------------------------------- .byte W10 .byte c_v-2 .byte N07 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W36 .byte W01 .byte c_v-2 .byte N48 , Gn4 .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W04 .byte c_v+1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W02 .byte c_v+2 .byte W03 .byte c_v+3 .byte W01 .byte c_v+4 .byte W01 .byte c_v+4 .byte W04 .byte c_v+5 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+6 .byte W03 .byte c_v+7 .byte W01 .byte c_v+7 .byte W01 .byte c_v+8 .byte W01 .byte c_v+8 .byte W04 .byte c_v+8 .byte W01 .byte c_v+8 .byte W01 .byte c_v+9 .byte W01 .byte c_v+8 .byte W02 ; 003 ---------------------------------------- .byte c_v+8 .byte W02 .byte c_v+8 .byte W02 .byte c_v+9 .byte W01 .byte c_v+8 .byte W01 .byte c_v+8 .byte W03 .byte c_v+8 .byte W84 .byte W03 ; 004 ---------------------------------------- .byte W64 .byte c_v-2 .byte N07 , Bn3 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W09 .byte N07 .byte W09 .byte Bn3 .byte W05 ; 005 ---------------------------------------- .byte W04 .byte BEND , c_v-1 .byte N07 .byte W01 .byte BEND , c_v+0 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W03 .byte c_v+3 .byte W02 .byte c_v-2 .byte N07 .byte W09 .byte Cn4 .byte W66 ; 006 ---------------------------------------- .byte W96 ; 007 ---------------------------------------- .byte W72 .byte W03 .byte N07 .byte W09 .byte Fn4 .byte W07 .byte BEND , c_v-2 .byte W05 ; 008 ---------------------------------------- .byte W96 ; 009 ---------------------------------------- .byte W06 .byte VOICE , 27 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W08 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v+0 .byte VOL , 24*song100restored_mvl/mxv .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W09 .byte N06 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , Ds2 .byte W09 .byte N06 .byte W09 .byte N06 .byte W09 ; 010 ---------------------------------------- .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W01 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte Fs2 .byte W09 .byte Ds2 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W01 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W09 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W08 ; 011 ---------------------------------------- .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W08 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte Fs2 .byte W09 .byte Ds2 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W08 ; 012 ---------------------------------------- .byte W01 .byte Gs2 .byte W09 .byte N06 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , As2 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , Gs2 .byte W09 .byte N06 .byte W09 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , As2 .byte W08 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte W01 .byte N06 , Gs2 .byte W08 .byte N06 .byte W09 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , As2 .byte W07 ; 013 ---------------------------------------- .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , Gs2 .byte W08 .byte Bn2 .byte W09 .byte Gs2 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , As2 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , Gs2 .byte W09 .byte Ds2 .byte W08 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W08 .byte N06 .byte W07 ; 014 ---------------------------------------- .byte W02 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W02 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W09 .byte N06 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W08 .byte BEND , c_v-2 .byte W01 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte Fs2 .byte W09 .byte Ds2 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W01 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte As2 .byte W06 ; 015 ---------------------------------------- .byte W03 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Cn3 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , As2 .byte W08 .byte N06 .byte W09 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Cn3 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , As2 .byte W09 .byte Gs2 .byte W08 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , As2 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , Gs2 .byte W05 ; 016 ---------------------------------------- .byte W04 .byte N06 .byte W09 .byte N06 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , As2 .byte W09 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte N06 , Gs2 .byte W09 .byte Ds2 .byte W09 .byte N06 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W08 .byte BEND , c_v-2 .byte W01 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W09 .byte N06 .byte W09 .byte N06 .byte W09 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N07 , Fn2 .byte W04 ; 017 ---------------------------------------- .byte W03 .byte BEND , c_v-2 .byte W01 .byte PAN , c_v-64 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N06 , Ds2 .byte W18 .byte VOL , 24*song100restored_mvl/mxv .byte PAN , c_v-18 .byte VOL , 31*song100restored_mvl/mxv .byte N07 , As2 .byte W09 .byte N07 .byte W09 .byte N07 .byte W08 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte N05 .byte W09 .byte VOICE , 28 .byte VOL , 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte W01 .byte VOICE , 27 .byte BENDR , 12 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v-32 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte GOTO .word @song100restored_5 ;**************** Track 6 (Midi-Chn.6) ****************; @song100restored_6: .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 21 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte BEND , c_v-2 .byte W96 ; 001 ---------------------------------------- .byte W96 ; 002 ---------------------------------------- .byte W80 .byte W01 .byte VOL , 39*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 , Cs3 , v088 .byte W08 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W07 ; 003 ---------------------------------------- .byte W02 .byte VOL , 65*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N07 .byte W09 .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W06 ; 004 ---------------------------------------- .byte W20 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W24 .byte W03 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W05 ; 005 ---------------------------------------- .byte W04 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W24 .byte W02 .byte PAN , c_v+12 .byte VOL , 65*song100restored_mvl/mxv .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W22 ; 006 ---------------------------------------- .byte W13 .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W13 ; 007 ---------------------------------------- .byte W14 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W08 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W36 .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W03 ; 008 ---------------------------------------- .byte W32 .byte N15 .byte W17 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W28 .byte W01 ; 009 ---------------------------------------- .byte W06 .byte N15 .byte W24 .byte W03 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W08 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W36 .byte N15 .byte W19 ; 010 ---------------------------------------- .byte W07 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W10 ; 011 ---------------------------------------- .byte W24 .byte W01 .byte N15 .byte W24 .byte W03 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W08 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W36 ; 012 ---------------------------------------- .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W24 .byte W02 ; 013 ---------------------------------------- .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W24 .byte W03 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W08 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W17 ; 014 ---------------------------------------- .byte W19 .byte N15 .byte W17 .byte N07 .byte W09 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W07 ; 015 ---------------------------------------- .byte W19 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W32 .byte W03 .byte N15 .byte W24 .byte W03 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W06 ; 016 ---------------------------------------- .byte W02 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W36 .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W09 .byte VOL , 72*song100restored_mvl/mxv .byte N30 .byte W23 ; 017 ---------------------------------------- .byte W12 .byte N15 .byte W24 .byte W02 .byte VOL , 59*song100restored_mvl/mxv .byte N07 .byte W19 .byte VOICE , 21 .byte VOL , 59*song100restored_mvl/mxv .byte PAN , c_v+0 .byte W01 .byte VOICE , 21 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 59*song100restored_mvl/mxv .byte BEND , c_v-2 .byte GOTO .word @song100restored_6 ;**************** Track 7 (Midi-Chn.7) ****************; @song100restored_7: .byte KEYSH , song100restored_key+0 ; 000 ---------------------------------------- .byte VOICE , 28 .byte MODT , 0 .byte LFOS , 44 .byte PAN , c_v+0 .byte VOL , 12*song100restored_mvl/mxv .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 12*song100restored_mvl/mxv .byte 12*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 12*song100restored_mvl/mxv .byte 12*song100restored_mvl/mxv .byte PAN , c_v+0 .byte BENDR , 12 .byte PAN , c_v+0 .byte VOL , 12*song100restored_mvl/mxv .byte BEND , c_v-1 .byte W02 .byte PAN , c_v-64 .byte BEND , c_v-2 .byte N07 , Gs3 , v088 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , An3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N05 , Cn4 .byte W09 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 ; 001 ---------------------------------------- .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Cn4 .byte W07 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Dn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W05 ; 002 ---------------------------------------- .byte W01 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Dn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W10 .byte c_v-2 .byte N48 .byte W04 .byte BEND , c_v-2 .byte W02 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+4 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 ; 003 ---------------------------------------- .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W22 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W10 .byte c_v-2 .byte N16 , Gs3 .byte W02 .byte BEND , c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W02 .byte c_v+2 .byte W01 .byte c_v+4 .byte W01 .byte c_v+5 .byte W01 .byte c_v+7 .byte W05 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W11 .byte c_v-2 .byte N15 , Gs3 .byte W01 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W02 .byte c_v+2 .byte W01 ; 004 ---------------------------------------- .byte c_v+3 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+7 .byte W13 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N16 , Gs3 .byte W01 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W02 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+7 .byte W04 .byte c_v-2 .byte N16 , As3 .byte W07 .byte BEND , c_v-1 .byte W01 .byte c_v-2 .byte W02 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte W02 .byte c_v-3 .byte W02 .byte c_v-2 .byte N16 , Gs3 .byte W01 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W03 .byte c_v+3 .byte W01 .byte c_v+5 .byte W01 .byte c_v+6 .byte W01 .byte c_v+7 .byte W04 .byte c_v-2 .byte N07 , Fn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W01 ; 005 ---------------------------------------- .byte W05 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , En4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Fn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , En4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W10 .byte c_v-2 .byte N07 , Gs4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn4 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Ds4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 ; 006 ---------------------------------------- .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , Gs3 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn3 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N15 , An3 .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W02 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+4 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W02 .byte c_v-2 .byte N16 .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W02 .byte c_v+1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+4 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 .byte c_v+2 .byte W02 .byte c_v-2 .byte N07 , Gs3 .byte W01 .byte BEND , c_v-1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+5 .byte W01 .byte c_v+7 .byte W01 .byte c_v+8 .byte W01 .byte c_v+8 .byte W01 .byte c_v+9 .byte W02 .byte c_v-2 .byte N07 , As3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Gs3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 ; 007 ---------------------------------------- .byte W09 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Ds3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Bn2 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , As2 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Gs2 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn2 .byte W07 .byte BEND , c_v-2 .byte W11 .byte c_v-2 .byte N16 , An3 .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+1 .byte W01 .byte c_v+0 .byte W01 .byte c_v+0 .byte W01 .byte c_v+1 .byte W01 .byte c_v+2 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+3 .byte W01 .byte c_v+2 .byte W01 ; 008 ---------------------------------------- .byte W01 .byte c_v-2 .byte N07 , Fn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Ds4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cn4 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 , As3 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Gs3 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Fn3 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W19 .byte c_v-2 .byte N28 , Cn3 .byte W07 .byte BEND , c_v-1 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W01 .byte c_v-2 .byte W01 ; 009 ---------------------------------------- .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-2 .byte W01 .byte c_v-3 .byte W01 .byte c_v-3 .byte W02 .byte VOICE , 27 .byte W03 .byte BEND , c_v-2 .byte N07 , Gs1 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W01 ; 010 ---------------------------------------- .byte W01 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 ; 011 ---------------------------------------- .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte W01 .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 ; 012 ---------------------------------------- .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 , Cs2 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 ; 013 ---------------------------------------- .byte W01 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Gs1 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W05 ; 014 ---------------------------------------- .byte W02 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 , Ds2 .byte W04 ; 015 ---------------------------------------- .byte W02 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Cs2 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-1 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W04 ; 016 ---------------------------------------- .byte W03 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W01 .byte c_v-1 .byte W01 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 , Gs1 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W03 .byte c_v-2 .byte N07 .byte W06 .byte BEND , c_v-2 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte VOL , 24*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W03 ; 017 ---------------------------------------- .byte W04 .byte BEND , c_v-2 .byte W02 .byte VOL , 0*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 .byte W07 .byte BEND , c_v-2 .byte W10 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-2 .byte N07 , Ds2 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W02 .byte c_v-2 .byte N07 .byte W07 .byte BEND , c_v-1 .byte W09 .byte VOICE , 28 .byte VOL , 12*song100restored_mvl/mxv .byte PAN , c_v+0 .byte W01 .byte VOICE , 27 .byte BENDR , 12 .byte VOL , 10*song100restored_mvl/mxv .byte BENDR , 12 .byte VOL , 10*song100restored_mvl/mxv .byte BEND , c_v-1 .byte GOTO .word @song100restored_7 ;******************************************************; .align 4 song100restored: .byte 7 ; NumTrks .byte 0 ; NumBlks .byte song100restored_pri ; Priority .byte song100restored_rev ; Reverb. //emit_clean_voicegroup_offset_for_song 100 .word 0x810872C //Voice Table .word @song100restored_1 .word @song100restored_2 .word @song100restored_3 .word @song100restored_4 .word @song100restored_5 .word @song100restored_6 .word @song100restored_7
19.579698
56
0.530742
f9827307117525df841480bfff5fc3050feae851
4,873
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1373.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1373.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1373.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x42f1, %r10 clflush (%r10) nop and %r15, %r15 mov (%r10), %di nop nop cmp %r14, %r14 lea addresses_D_ht+0x1dc0d, %r13 nop nop nop cmp $40670, %rax movl $0x61626364, (%r13) nop nop nop nop nop xor %r10, %r10 lea addresses_WC_ht+0x6327, %r11 nop nop nop nop sub %r10, %r10 movw $0x6162, (%r11) nop nop nop nop nop add %r14, %r14 lea addresses_WT_ht+0x1bc0d, %rsi lea addresses_A_ht+0x418d, %rdi nop nop nop and %rax, %rax mov $81, %rcx rep movsw add %r14, %r14 pop %rsi pop %rdi pop %rcx pop %rax pop %r15 pop %r14 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r14 push %r15 push %r8 push %rcx push %rdi push %rdx // Faulty Load lea addresses_WT+0x740d, %r14 nop nop nop nop nop add %rdx, %rdx mov (%r14), %r15w lea oracles, %rdi and $0xff, %r15 shlq $12, %r15 mov (%rdi,%r15,1), %r15 pop %rdx pop %rdi pop %rcx pop %r8 pop %r15 pop %r14 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': True, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WT', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': True, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_WT_ht', 'congruent': 10}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 7}} {'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 */
44.706422
2,999
0.659963
72fdfea3a9f6698eb3d44208feb5f421688b75df
228
asm
Assembly
asm/kernel/basic/handlers/common.asm
majacQ/retroputer
807fef1c17feeaf54dcc0f8b0d5c79f5fcdfe2c4
[ "MIT" ]
58
2017-11-16T18:53:24.000Z
2021-11-02T18:14:10.000Z
asm/kernel/basic/handlers/common.asm
kerrishotts/retroputer
807fef1c17feeaf54dcc0f8b0d5c79f5fcdfe2c4
[ "MIT" ]
28
2019-05-23T12:21:44.000Z
2022-02-12T22:40:37.000Z
asm/kernel/basic/handlers/common.asm
majacQ/retroputer
807fef1c17feeaf54dcc0f8b0d5c79f5fcdfe2c4
[ "MIT" ]
4
2021-01-02T18:49:55.000Z
2021-04-24T23:54:22.000Z
.segment __current__ kmemmap.basic.code-start .append { token-not-impl: { _main: dl := brodata.NOT_IMPLEMENTED ret } handler-syntax-error: { dl := brodata.SYNTAX_ERROR ret } }
19
55
0.574561
bf0dd71fafafd48ed82e61179eecab1846f1fafb
7,278
asm
Assembly
src/sys/boot/cdemboot.asm
germix/sanos
5f6668985083d1114d1699a3a724b15f413e0cbb
[ "Spencer-94" ]
57
2015-10-31T23:26:31.000Z
2022-03-19T21:32:44.000Z
src/sys/boot/cdemboot.asm
germix/sanos
5f6668985083d1114d1699a3a724b15f413e0cbb
[ "Spencer-94" ]
3
2017-05-28T14:08:43.000Z
2021-03-01T10:43:00.000Z
src/sys/boot/cdemboot.asm
germix/sanos
5f6668985083d1114d1699a3a724b15f413e0cbb
[ "Spencer-94" ]
31
2015-10-24T16:25:21.000Z
2022-03-02T21:35:48.000Z
; ; cdemboot.asm ; ; CD-ROM 1.44 MB Floppy Emulation Boot sector ; ; Copyright (C) 2002 Michael Ringgaard. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; ; 1. Redistributions of source code must retain the above copyright ; notice, this list of conditions and the following disclaimer. ; 2. 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. ; 3. Neither the name of the project nor the names of its contributors ; may be used to endorse or promote products derived from this software ; without specific prior written permission. ; ; 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 OWNER 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. ; OSLDRSEG equ 0x9000 OSLDRBASE equ (OSLDRSEG * 16) OSLDRSTART equ 8 OSLDRSIZE equ 32 ; The image is the first 512K of the 1.44 MB emulated floppy device. The first ; sector of the image is the boot sector. IMGSTART equ 1 IMGSEG equ 0x7E0 IMGSIZE equ (512 * 2) - 1 ORG 0x7c00 BITS 16 SECTION .text ; Entry point for initial bootstap code boot: jmp short start nop nop db 'SANOS ' ldrsize dw OSLDRSIZE ldrstrt dd OSLDRSTART start: ; Setup initial environment jmp 0:start1 start1: cli mov ax, cs mov ds, ax mov ss, ax mov sp, 0x7c00 sti ; Save boot drive mov [bootdrv], dl ; Display boot message mov si, bootmsg call print readimg: ; Get boot drive geometry mov dl, [bootdrv] mov ah, 8 xor di, di mov es, di int 0x13 and cl, 0x3F mov byte [sectors], cl inc dh mov byte [heads], dh ; Load disk image from emulated floppy loadnext: xor eax, eax mov ax, [sectno] ; eax = image sector number mov bx, ax shl bx, 5 ; 512/16 segments per sector add bx, IMGSEG mov es, bx ; es = segment for next image sector mov di, IMGSIZE sub di, ax ; di = number of image sectors left to read mov cx, [sectno] ; make sure we do not cross a 64KB boundary and cx, 0x7F neg cx add cx, 0x80 cmp cx, di jg loadnext1 mov di, cx loadnext1: mov ebx, IMGSTART ; eax = LBA of next image sector add eax, ebx call readsectors mov ax, [sectno] ; update next image sector to read add ax, di mov [sectno], ax cmp ax, IMGSIZE jnz loadnext ; Copy os loader from ram boot image push ds mov cx, [ldrsize] ; cx = number of bytes to copy shl cx, 9 ; convert from sectors to bytes mov eax, [ldrstrt] ; ds = loader start segment shl eax, 5 ; convert from sectors to segments add eax, 0x7c0 mov ds, ax mov ax, OSLDRSEG ; es = loader segment mov es, ax xor di, di xor si, si cld ; copy os loader from boot image rep movsb pop ds ; Call real mode entry point in os loader mov ax, OSLDRSEG mov ds, ax add ax, [0x16] ; cs push ax push word [0x14] ; ip mov dl, 0xFD ; boot drive (0xFD for CD emulation) mov ebx, 0x7C00 ; RAM disk image retf ; Read sectors from boot drive ; input: ; eax = LBA ; di = maximum sector count ; es = segment for buffer ; output: ; di = sectors read readsectors: ; Convert LBA to CHS cdq ; edx = 0 movzx ebx, word [sectors] div ebx ; eax = track, edx = sector - 1 mov cx, dx ; cl = sector - 1, ch = 0 inc cx ; cl = sector number xor dx, dx mov bl, [heads] div ebx mov dh, dl ; head mov dl, [bootdrv] ; boot drive xchg ch, al ; ch = low 8 bits of cylinder number, al = 0 shr ax, 2 ; al[6:7] = high two bits of cylinder, ah = 0 or cl, al ; cx = cylinder and sector ; Determine number of sectors to read mov al, cl mov ah, 0 add ax, di ; ax = last sector to xfer cmp ax, [sectors] jbe readall mov ax, [sectors] ; read to end of track inc ax sub al, cl push ax jmp read readall: mov ax, di ; we can read all sectors push ax jmp read readagain: pusha mov al, '#' ; print # to mark errror call printchar mov ax, 0 ; reset disk system mov dx, 0 int 0x13 popa read: mov ah, 2 ; read sector using bios xor bx, bx int 0x13 jc readagain pop di ret ; Print string to console ; si = ptr to first character of a null terminated string print: push ax cld nextchar: mov al, [si] cmp al, 0 je printdone call printchar inc si jmp nextchar printdone: pop ax ret ; Print a single character to the console ; al = character to be printed printchar: mov ah, 0x0e int 0x10 ret ; Variables sectno dw 0 sectors dw 0 heads dw 0 bootdrv db 0 ; Message strings bootmsg: db 'Loading boot image from CD-ROM... ', 0 ; Boot signature times 510-($-$$) db 0 dw 0xAA55
28.319066
84
0.517587
a47ae28381957a11897ce70463fda6ebf6c7b590
8,359
asm
Assembly
sha1_mb/sha1_mb_mgr_flush_avx2.asm
intelkevinputnam/isa-l_crypto
99d3b44924279c4f82108a035dc8d91062a54446
[ "BSD-3-Clause" ]
178
2019-05-07T21:09:12.000Z
2022-03-24T06:17:51.000Z
sha1_mb/sha1_mb_mgr_flush_avx2.asm
intelkevinputnam/isa-l_crypto
99d3b44924279c4f82108a035dc8d91062a54446
[ "BSD-3-Clause" ]
761
2019-05-13T09:35:59.000Z
2022-03-31T18:18:06.000Z
sha1_mb/sha1_mb_mgr_flush_avx2.asm
intelkevinputnam/isa-l_crypto
99d3b44924279c4f82108a035dc8d91062a54446
[ "BSD-3-Clause" ]
57
2019-05-30T13:41:29.000Z
2022-02-20T17:13:01.000Z
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 Intel Corporation All rights reserved. ; ; 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. ; * Neither the name of Intel Corporation nor the names of its ; contributors may be used to endorse or promote products derived ; from this software without specific prior written permission. ; ; 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 ; OWNER 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %include "sha1_job.asm" %include "sha1_mb_mgr_datastruct.asm" %include "reg_sizes.asm" extern sha1_mb_x8_avx2 extern sha1_opt_x1 [bits 64] default rel section .text %ifidn __OUTPUT_FORMAT__, elf64 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; LINUX register definitions %define arg1 rdi ; rcx %define arg2 rsi ; rdx %define tmp4 rdx ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %else ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; WINDOWS register definitions %define arg1 rcx %define arg2 rdx %define tmp4 rsi ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %endif ; Common register definitions %define state arg1 %define job arg2 %define len2 arg2 ; idx must be a register not clobberred by sha1_mb_x8_avx2 and sha1_opt_x1 %define idx rbp %define unused_lanes rbx %define lane_data rbx %define tmp2 rbx %define job_rax rax %define tmp1 rax %define size_offset rax %define tmp rax %define start_offset rax %define tmp3 arg1 %define extra_blocks arg2 %define p arg2 ; STACK_SPACE needs to be an odd multiple of 8 _XMM_SAVE_SIZE equ 10*16 _GPR_SAVE_SIZE equ 8*8 _ALIGN_SIZE equ 8 _XMM_SAVE equ 0 _GPR_SAVE equ _XMM_SAVE + _XMM_SAVE_SIZE STACK_SPACE equ _GPR_SAVE + _GPR_SAVE_SIZE + _ALIGN_SIZE %define APPEND(a,b) a %+ b ; SHA1_JOB* sha1_mb_mgr_flush_avx2(SHA1_MB_JOB_MGR *state) ; arg 1 : rcx : state mk_global sha1_mb_mgr_flush_avx2, function sha1_mb_mgr_flush_avx2: endbranch sub rsp, STACK_SPACE mov [rsp + _GPR_SAVE + 8*0], rbx mov [rsp + _GPR_SAVE + 8*3], rbp mov [rsp + _GPR_SAVE + 8*4], r12 mov [rsp + _GPR_SAVE + 8*5], r13 mov [rsp + _GPR_SAVE + 8*6], r14 mov [rsp + _GPR_SAVE + 8*7], r15 %ifidn __OUTPUT_FORMAT__, win64 mov [rsp + _GPR_SAVE + 8*1], rsi mov [rsp + _GPR_SAVE + 8*2], rdi vmovdqa [rsp + _XMM_SAVE + 16*0], xmm6 vmovdqa [rsp + _XMM_SAVE + 16*1], xmm7 vmovdqa [rsp + _XMM_SAVE + 16*2], xmm8 vmovdqa [rsp + _XMM_SAVE + 16*3], xmm9 vmovdqa [rsp + _XMM_SAVE + 16*4], xmm10 vmovdqa [rsp + _XMM_SAVE + 16*5], xmm11 vmovdqa [rsp + _XMM_SAVE + 16*6], xmm12 vmovdqa [rsp + _XMM_SAVE + 16*7], xmm13 vmovdqa [rsp + _XMM_SAVE + 16*8], xmm14 vmovdqa [rsp + _XMM_SAVE + 16*9], xmm15 %endif ; use num_lanes_inuse to judge all lanes are empty cmp dword [state + _num_lanes_inuse], 0 jz return_null ; find a lane with a non-null job xor idx, idx cmp qword [state + _ldata + 1 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [one] cmp qword [state + _ldata + 2 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [two] cmp qword [state + _ldata + 3 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [three] cmp qword [state + _ldata + 4 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [four] cmp qword [state + _ldata + 5 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [five] cmp qword [state + _ldata + 6 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [six] cmp qword [state + _ldata + 7 * _LANE_DATA_size + _job_in_lane], 0 cmovne idx, [seven] ; copy idx to empty lanes copy_lane_data: mov tmp, [state + _args + _data_ptr + 8*idx] %assign I 0 %rep 8 cmp qword [state + _ldata + I * _LANE_DATA_size + _job_in_lane], 0 jne APPEND(skip_,I) mov [state + _args + _data_ptr + 8*I], tmp mov dword [state + _lens + 4*I], 0xFFFFFFFF APPEND(skip_,I): %assign I (I+1) %endrep ; Find min length vmovdqa xmm0, [state + _lens + 0*16] vmovdqa xmm1, [state + _lens + 1*16] vpminud xmm2, xmm0, xmm1 ; xmm2 has {D,C,B,A} vpalignr xmm3, xmm3, xmm2, 8 ; xmm3 has {x,x,D,C} vpminud xmm2, xmm2, xmm3 ; xmm2 has {x,x,E,F} vpalignr xmm3, xmm3, xmm2, 4 ; xmm3 has {x,x,x,E} vpminud xmm2, xmm2, xmm3 ; xmm2 has min value in low dword vmovd DWORD(idx), xmm2 mov len2, idx and idx, 0xF shr len2, 4 jz len_is_0 ; compare with sha-sb threshold, if num_lanes_inuse <= threshold, using sb func cmp dword [state + _num_lanes_inuse], SHA1_SB_THRESHOLD_AVX2 ja mb_processing ; lensN-len2=idx mov [state + _lens + idx*4], DWORD(idx) mov r10, idx or r10, 0x2000 ; avx2 has 8 lanes *4, r10b is idx, r10b2 is 32 ; "state" and "args" are the same address, arg1 ; len is arg2, idx and nlane in r10 call sha1_opt_x1 ; state and idx are intact jmp len_is_0 mb_processing: vpand xmm2, xmm2, [rel clear_low_nibble] vpshufd xmm2, xmm2, 0 vpsubd xmm0, xmm0, xmm2 vpsubd xmm1, xmm1, xmm2 vmovdqa [state + _lens + 0*16], xmm0 vmovdqa [state + _lens + 1*16], xmm1 ; "state" and "args" are the same address, arg1 ; len is arg2 call sha1_mb_x8_avx2 ; state and idx are intact len_is_0: ; process completed job "idx" imul lane_data, idx, _LANE_DATA_size lea lane_data, [state + _ldata + lane_data] mov job_rax, [lane_data + _job_in_lane] mov qword [lane_data + _job_in_lane], 0 mov dword [job_rax + _status], STS_COMPLETED mov unused_lanes, [state + _unused_lanes] shl unused_lanes, 4 or unused_lanes, idx mov [state + _unused_lanes], unused_lanes sub dword [state + _num_lanes_inuse], 1 vmovd xmm0, [state + _args_digest + 4*idx + 0*32] vpinsrd xmm0, [state + _args_digest + 4*idx + 1*32], 1 vpinsrd xmm0, [state + _args_digest + 4*idx + 2*32], 2 vpinsrd xmm0, [state + _args_digest + 4*idx + 3*32], 3 mov DWORD(tmp2), [state + _args_digest + 4*idx + 4*32] vmovdqa [job_rax + _result_digest + 0*16], xmm0 mov [job_rax + _result_digest + 1*16], DWORD(tmp2) return: %ifidn __OUTPUT_FORMAT__, win64 vmovdqa xmm6, [rsp + _XMM_SAVE + 16*0] vmovdqa xmm7, [rsp + _XMM_SAVE + 16*1] vmovdqa xmm8, [rsp + _XMM_SAVE + 16*2] vmovdqa xmm9, [rsp + _XMM_SAVE + 16*3] vmovdqa xmm10, [rsp + _XMM_SAVE + 16*4] vmovdqa xmm11, [rsp + _XMM_SAVE + 16*5] vmovdqa xmm12, [rsp + _XMM_SAVE + 16*6] vmovdqa xmm13, [rsp + _XMM_SAVE + 16*7] vmovdqa xmm14, [rsp + _XMM_SAVE + 16*8] vmovdqa xmm15, [rsp + _XMM_SAVE + 16*9] mov rsi, [rsp + _GPR_SAVE + 8*1] mov rdi, [rsp + _GPR_SAVE + 8*2] %endif mov rbx, [rsp + _GPR_SAVE + 8*0] mov rbp, [rsp + _GPR_SAVE + 8*3] mov r12, [rsp + _GPR_SAVE + 8*4] mov r13, [rsp + _GPR_SAVE + 8*5] mov r14, [rsp + _GPR_SAVE + 8*6] mov r15, [rsp + _GPR_SAVE + 8*7] add rsp, STACK_SPACE ret return_null: xor job_rax, job_rax jmp return section .data align=16 align 16 clear_low_nibble: dq 0x00000000FFFFFFF0, 0x0000000000000000 one: dq 1 two: dq 2 three: dq 3 four: dq 4 five: dq 5 six: dq 6 seven: dq 7
30.507299
80
0.653069
1c0e0ba04637d1d7cbfff31ed011c39b2f27ca79
341
asm
Assembly
Examples/pointer tester.asm
cubed-guy/ice
80771dcaeab4e4ac8b0a937b0262c87325c58f9e
[ "MIT" ]
3
2021-01-27T14:54:32.000Z
2021-02-01T10:49:05.000Z
Examples/pointer tester.asm
cubed-guy/cool-lang
80771dcaeab4e4ac8b0a937b0262c87325c58f9e
[ "MIT" ]
2
2021-01-30T12:59:22.000Z
2021-01-31T16:34:51.000Z
Examples/pointer tester.asm
cubed-guy/ice
80771dcaeab4e4ac8b0a937b0262c87325c58f9e
[ "MIT" ]
null
null
null
extern _printf extern _malloc global _main segment .bss $pointer: resd 1 segment .data _p: db `%u\n`, 0 _c: db 0, 0 _ln: db 0, 10, 0 segment .text _main: ;2: pointer = 5 push 1 call _malloc mov dword [$pointer], eax mov byte [eax], 5 ;3: printnum(pointer) xor eax, eax xor eax, dword [$pointer] push eax push _p call _printf add esp, 8
11.758621
25
0.692082
05b7ca0697655e855586d8d45f3ea4c5afbbb89d
2,005
asm
Assembly
programs/oeis/081/A081435.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/081/A081435.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/081/A081435.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A081435: Diagonal in array of n-gonal numbers A081422. ; 1,5,18,46,95,171,280,428,621,865,1166,1530,1963,2471,3060,3736,4505,5373,6346,7430,8631,9955,11408,12996,14725,16601,18630,20818,23171,25695,28396,31280,34353,37621,41090,44766,48655,52763,57096,61660,66461,71505,76798,82346,88155,94231,100580,107208,114121,121325,128826,136630,144743,153171,161920,170996,180405,190153,200246,210690,221491,232655,244188,256096,268385,281061,294130,307598,321471,335755,350456,365580,381133,397121,413550,430426,447755,465543,483796,502520,521721,541405,561578,582246,603415,625091,647280,669988,693221,716985,741286,766130,791523,817471,843980,871056,898705,926933,955746,985150,1015151,1045755,1076968,1108796,1141245,1174321,1208030,1242378,1277371,1313015,1349316,1386280,1423913,1462221,1501210,1540886,1581255,1622323,1664096,1706580,1749781,1793705,1838358,1883746,1929875,1976751,2024380,2072768,2121921,2171845,2222546,2274030,2326303,2379371,2433240,2487916,2543405,2599713,2656846,2714810,2773611,2833255,2893748,2955096,3017305,3080381,3144330,3209158,3274871,3341475,3408976,3477380,3546693,3616921,3688070,3760146,3833155,3907103,3981996,4057840,4134641,4212405,4291138,4370846,4451535,4533211,4615880,4699548,4784221,4869905,4956606,5044330,5133083,5222871,5313700,5405576,5498505,5592493,5687546,5783670,5880871,5979155,6078528,6178996,6280565,6383241,6487030,6591938,6697971,6805135,6913436,7022880,7133473,7245221,7358130,7472206,7587455,7703883,7821496,7940300,8060301,8181505,8303918,8427546,8552395,8678471,8805780,8934328,9064121,9195165,9327466,9461030,9595863,9731971,9869360,10008036,10148005,10289273,10431846,10575730,10720931,10867455,11015308,11164496,11315025,11466901,11620130,11774718,11930671,12087995,12246696,12406780,12568253,12731121,12895390,13061066,13228155,13396663,13566596,13737960,13910761,14085005,14260698,14437846,14616455,14796531,14978080,15161108,15345621,15531625 mul $0,2 add $0,1 mov $2,$0 add $2,$0 pow $0,2 add $0,3 mul $0,$2 mov $1,$0 div $1,16 add $1,1
143.214286
1,851
0.845387
d383b3174bb0f3b48808d3c8acd71910e8f07c98
644
asm
Assembly
libsrc/stdio/vfprintf.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/stdio/vfprintf.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/stdio/vfprintf.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
; int vfprintf(FILE *fp, unsigned char *fmt,void *ap) MODULE vfprintf SECTION code_clib PUBLIC vfprintf EXTERN fputc_callee EXTERN asm_printf ; Cores have signature (in __smallc) ; int vfprintf1(FILE *fp, void (*output_fn)(FILE *fp,int c), int sccz80, unsigned char *fmt,void *ap) ; sccz80 vfprintf: pop af pop hl ; ap pop de ; fmt pop bc ; fp push bc push de push hl push af IF !__CPU_INTEL__ push ix ENDIF push bc ;fp ld bc,fputc_callee ;output_fn push bc ld bc,1 ;sccz80 push bc push de ;fmt push hl ;ap call asm_printf pop bc pop bc pop bc pop bc pop bc IF !__CPU_INTEL__ pop ix ENDIF ret
14.311111
101
0.692547
8f0e2ce40051deb344df8d31d12b59e0028b1f5b
5,564
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_718.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_718.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_718.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 %r12 push %r14 push %r15 push %rdi push %rdx push %rsi lea addresses_WT_ht+0xe7c4, %r14 nop xor %r15, %r15 mov (%r14), %rsi nop nop nop nop and $53982, %r10 lea addresses_D_ht+0x112fe, %r12 clflush (%r12) nop xor $48048, %rsi mov (%r12), %rdi nop nop nop nop nop and $55064, %r10 lea addresses_WT_ht+0x90fe, %rsi clflush (%rsi) nop cmp $64948, %r14 mov $0x6162636465666768, %r12 movq %r12, (%rsi) nop add %rsi, %rsi lea addresses_UC_ht+0x9ac6, %r12 nop nop nop dec %rdx mov $0x6162636465666768, %r14 movq %r14, (%r12) nop nop nop cmp %rsi, %rsi lea addresses_A_ht+0xbafe, %rdx clflush (%rdx) nop nop and $55250, %r10 movl $0x61626364, (%rdx) nop nop nop dec %rdx lea addresses_WT_ht+0x1c0fe, %rdx nop nop nop nop nop xor %r12, %r12 mov (%rdx), %r15d nop nop xor $64657, %rdi lea addresses_WT_ht+0xb9aa, %r14 nop nop nop nop sub $47659, %rdi movw $0x6162, (%r14) nop xor $42218, %rsi pop %rsi pop %rdx pop %rdi pop %r15 pop %r14 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r14 push %r8 push %r9 push %rdi push %rsi // Faulty Load lea addresses_WC+0x188fe, %r9 nop nop nop xor %rsi, %rsi vmovups (%r9), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $0, %xmm7, %r14 lea oracles, %rsi and $0xff, %r14 shlq $12, %r14 mov (%rsi,%r14,1), %r14 pop %rsi pop %rdi pop %r9 pop %r8 pop %r14 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 11, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 11, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': False}} {'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 */
41.834586
2,999
0.657261
263fe44ec34b82a9a83052e5556b025a819f1729
98,712
asm
Assembly
Code/CustomControl/RAResEd/Src/Property.asm
CherryDT/FbEditMOD
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
[ "Unlicense" ]
11
2016-12-03T16:35:42.000Z
2022-03-26T06:02:53.000Z
Code/CustomControl/RAResEd/Src/Property.asm
CherryDT/FbEditMOD
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
[ "Unlicense" ]
1
2018-02-24T20:17:46.000Z
2018-03-02T08:57:40.000Z
Code/CustomControl/RAResEd/Src/Property.asm
CherryDT/FbEditMOD
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
[ "Unlicense" ]
4
2018-10-19T01:14:55.000Z
2021-09-11T18:51:48.000Z
.const PRP_NUM_ID equ 1 PRP_NUM_POSL equ 2 PRP_NUM_POST equ 3 PRP_NUM_SIZEW equ 4 PRP_NUM_SIZEH equ 5 PRP_NUM_STARTID equ 6 PRP_NUM_TAB equ 7 PRP_NUM_HELPID equ 8 PRP_STR_NAME equ 100 PRP_STR_NAMEBTN equ 101 PRP_STR_NAMESTC equ 102 PRP_STR_CAPTION equ 103 PRP_STR_CAPMULTI equ 104 PRP_STR_FONT equ 1000 PRP_STR_CLASS equ 1001 PRP_STR_MENU equ 1002 PRP_STR_IMAGE equ 1005 PRP_STR_AVI equ 1006 PRP_STR_FILE equ 1008 PRP_FUN_STYLE equ 1003 PRP_FUN_EXSTYLE equ 1004 PRP_FUN_LANG equ 1007 PRP_BOOL_SYSMENU equ 200 PRP_BOOL_MAXBUTTON equ 201 PRP_BOOL_MINBUTTON equ 202 PRP_BOOL_ENABLED equ 203 PRP_BOOL_VISIBLE equ 204 PRP_BOOL_DEFAULT equ 205 PRP_BOOL_AUTO equ 206 PRP_BOOL_MNEMONIC equ 207 PRP_BOOL_WORDWRAP equ 208 PRP_BOOL_MULTI equ 209 PRP_BOOL_LOCK equ 210 PRP_BOOL_CHILD equ 211 PRP_BOOL_SIZE equ 212 PRP_BOOL_TABSTOP equ 213 PRP_BOOL_NOTIFY equ 214 PRP_BOOL_WANTCR equ 215 PRP_BOOL_SORT equ 216 PRP_BOOL_FLAT equ 217 PRP_BOOL_GROUP equ 218 PRP_BOOL_ICON equ 219 PRP_BOOL_USETAB equ 220 PRP_BOOL_SETBUDDY equ 221 PRP_BOOL_HIDE equ 222 PRP_BOOL_TOPMOST equ 223 PRP_BOOL_INTEGRAL equ 224 PRP_BOOL_BUTTON equ 225 PRP_BOOL_POPUP equ 226 PRP_BOOL_OWNERDRAW equ 227 PRP_BOOL_TRANSP equ 228 PRP_BOOL_TIME equ 229 PRP_BOOL_WEEK equ 230 PRP_BOOL_TOOLTIP equ 231 PRP_BOOL_WRAP equ 232 PRP_BOOL_DIVIDER equ 233 PRP_BOOL_DRAGDROP equ 234 PRP_BOOL_SMOOTH equ 235 PRP_BOOL_AUTOSCROLL equ 236 PRP_BOOL_AUTOPLAY equ 237 PRP_BOOL_AUTOSIZE equ 238 PRP_BOOL_HASSTRINGS equ 239 PRP_BOOL_MENUEX equ 240 PRP_BOOL_SAVESEL equ 241 PRP_MULTI_CLIP equ 300 PRP_MULTI_SCROLL equ 301 PRP_MULTI_ALIGN equ 302 PRP_MULTI_AUTOSCROLL equ 303 PRP_MULTI_FORMAT equ 304 PRP_MULTI_STARTPOS equ 305 PRP_MULTI_ORIENT equ 306 PRP_MULTI_SORT equ 307 PRP_MULTI_OWNERDRAW equ 308 PRP_MULTI_ELLIPSIS equ 309 PRP_MULTI_BORDER equ 400 PRP_MULTI_TYPE equ 401 IDD_PROPERTY equ 1600 IDC_EDTSTYLE equ 3301 IDC_BTNLEFT equ 3302 IDC_BTNRIGHT equ 3303 IDC_BTNSET equ 3304 IDC_STCWARN equ 3305 IDC_STCTXT equ 3306 .data szNameExist db 'Name already exist.',0Dh,0Ah,0Dh,0Ah,0 szFalse db 'False',0 szTrue db 'True',0 ;False/True Styles SysMDlg dd -1 xor WS_SYSMENU,0 dd -1 xor WS_SYSMENU,WS_SYSMENU MaxBDlg dd -1 xor WS_MAXIMIZEBOX,0 dd -1 xor WS_MAXIMIZEBOX,WS_MAXIMIZEBOX MinBDlg dd -1 xor WS_MINIMIZEBOX,0 dd -1 xor WS_MINIMIZEBOX,WS_MINIMIZEBOX EnabAll dd -1 xor WS_DISABLED,WS_DISABLED dd -1 xor WS_DISABLED,0 VisiAll dd -1 xor WS_VISIBLE,0 dd -1 xor WS_VISIBLE,WS_VISIBLE DefaBtn dd -1 xor BS_DEFPUSHBUTTON,0 dd -1 xor BS_DEFPUSHBUTTON,BS_DEFPUSHBUTTON AutoChk dd -1 xor (BS_AUTOCHECKBOX or BS_CHECKBOX),BS_CHECKBOX dd -1 xor (BS_AUTOCHECKBOX or BS_CHECKBOX),BS_AUTOCHECKBOX AutoRbt dd -1 xor (BS_AUTORADIOBUTTON or BS_RADIOBUTTON),BS_RADIOBUTTON dd -1 xor (BS_AUTORADIOBUTTON or BS_RADIOBUTTON),BS_AUTORADIOBUTTON AutoCbo dd -1 xor CBS_AUTOHSCROLL,0 dd -1 xor CBS_AUTOHSCROLL,CBS_AUTOHSCROLL AutoSpn dd -1 xor UDS_AUTOBUDDY,0 dd -1 xor UDS_AUTOBUDDY,UDS_AUTOBUDDY AutoTbr dd -1 xor CCS_NORESIZE,CCS_NORESIZE dd -1 xor CCS_NORESIZE,0 AutoAni dd -1 xor ACS_AUTOPLAY,0 dd -1 xor ACS_AUTOPLAY,ACS_AUTOPLAY MnemStc dd -1 xor SS_NOPREFIX,SS_NOPREFIX dd -1 xor SS_NOPREFIX,0 WordStc dd -1 xor (SS_LEFTNOWORDWRAP or SS_CENTER or SS_RIGHT),SS_LEFTNOWORDWRAP dd -1 xor (SS_LEFTNOWORDWRAP or SS_CENTER or SS_RIGHT),0 MultEdt dd -1 xor ES_MULTILINE,0 dd -1 xor ES_MULTILINE,ES_MULTILINE MultBtn dd -1 xor BS_MULTILINE,0 dd -1 xor BS_MULTILINE,BS_MULTILINE MultTab dd -1 xor TCS_MULTILINE,0 dd -1 xor TCS_MULTILINE,TCS_MULTILINE MultLst dd -1 xor (LBS_MULTIPLESEL or LBS_EXTENDEDSEL),0 dd -1 xor (LBS_MULTIPLESEL or LBS_EXTENDEDSEL),LBS_MULTIPLESEL or LBS_EXTENDEDSEL MultMvi dd -1 xor MCS_MULTISELECT,0 dd -1 xor MCS_MULTISELECT,MCS_MULTISELECT LockEdt dd -1 xor ES_READONLY,0 dd -1 xor ES_READONLY,ES_READONLY ChilAll dd -1 xor WS_CHILD,0 dd -1 xor WS_CHILD,WS_CHILD SizeDlg dd -1 xor WS_SIZEBOX,0 dd -1 xor WS_SIZEBOX,WS_SIZEBOX SizeSbr dd -1 xor SBARS_SIZEGRIP,0 dd -1 xor SBARS_SIZEGRIP,SBARS_SIZEGRIP TabSAll dd -1 xor WS_TABSTOP,0 dd -1 xor WS_TABSTOP,WS_TABSTOP NotiStc dd -1 xor SS_NOTIFY,0 dd -1 xor SS_NOTIFY,SS_NOTIFY NotiBtn dd -1 xor BS_NOTIFY,0 dd -1 xor BS_NOTIFY,BS_NOTIFY NotiLst dd -1 xor LBS_NOTIFY,0 dd -1 xor LBS_NOTIFY,LBS_NOTIFY WantEdt dd -1 xor ES_WANTRETURN,0 dd -1 xor ES_WANTRETURN,ES_WANTRETURN SortCbo dd -1 xor CBS_SORT,0 dd -1 xor CBS_SORT,CBS_SORT SortLst dd -1 xor LBS_SORT,0 dd -1 xor LBS_SORT,LBS_SORT FlatTbr dd -1 xor TBSTYLE_FLAT,0 dd -1 xor TBSTYLE_FLAT,TBSTYLE_FLAT GrouAll dd -1 xor WS_GROUP,0 dd -1 xor WS_GROUP,WS_GROUP UseTLst dd -1 xor LBS_USETABSTOPS,0 dd -1 xor LBS_USETABSTOPS,LBS_USETABSTOPS SetBUdn dd -1 xor UDS_SETBUDDYINT,0 dd -1 xor UDS_SETBUDDYINT,UDS_SETBUDDYINT HideEdt dd -1 xor ES_NOHIDESEL,ES_NOHIDESEL dd -1 xor ES_NOHIDESEL,0 HideTrv dd -1 xor TVS_SHOWSELALWAYS,TVS_SHOWSELALWAYS dd -1 xor TVS_SHOWSELALWAYS,0 HideLsv dd -1 xor LVS_SHOWSELALWAYS,LVS_SHOWSELALWAYS dd -1 xor LVS_SHOWSELALWAYS,0 IntHtCbo dd -1 xor CBS_NOINTEGRALHEIGHT,CBS_NOINTEGRALHEIGHT dd -1 xor CBS_NOINTEGRALHEIGHT,0 IntHtLst dd -1 xor LBS_NOINTEGRALHEIGHT,LBS_NOINTEGRALHEIGHT dd -1 xor LBS_NOINTEGRALHEIGHT,0 ButtTab dd -1 xor TCS_BUTTONS,0 dd -1 xor TCS_BUTTONS,TCS_BUTTONS ButtTrv dd -1 xor TVS_HASBUTTONS,0 dd -1 xor TVS_HASBUTTONS,TVS_HASBUTTONS ButtHdr dd -1 xor HDS_BUTTONS,0 dd -1 xor HDS_BUTTONS,HDS_BUTTONS PopUAll dd -1 xor WS_POPUP,0 dd -1 xor WS_POPUP,WS_POPUP OwneLsv dd -1 xor LVS_OWNERDRAWFIXED,0 dd -1 xor LVS_OWNERDRAWFIXED,LVS_OWNERDRAWFIXED TranAni dd -1 xor ACS_TRANSPARENT,0 dd -1 xor ACS_TRANSPARENT,ACS_TRANSPARENT TimeAni dd -1 xor ACS_TIMER,0 dd -1 xor ACS_TIMER,ACS_TIMER WeekMvi dd -1 xor MCS_WEEKNUMBERS,0 dd -1 xor MCS_WEEKNUMBERS,MCS_WEEKNUMBERS ToolTbr dd -1 xor TBSTYLE_TOOLTIPS,0 dd -1 xor TBSTYLE_TOOLTIPS,TBSTYLE_TOOLTIPS ToolSbr dd -1 xor SBARS_TOOLTIPS,0 dd -1 xor SBARS_TOOLTIPS,SBARS_TOOLTIPS ToolTab dd -1 xor TCS_TOOLTIPS,0 dd -1 xor TCS_TOOLTIPS,TCS_TOOLTIPS WrapTbr dd -1 xor TBSTYLE_WRAPABLE,0 dd -1 xor TBSTYLE_WRAPABLE,TBSTYLE_WRAPABLE DiviTbr dd -1 xor CCS_NODIVIDER,CCS_NODIVIDER dd -1 xor CCS_NODIVIDER,0 DragHdr dd -1 xor HDS_DRAGDROP,0 dd -1 xor HDS_DRAGDROP,HDS_DRAGDROP SmooPgb dd -1 xor PBS_SMOOTH,0 dd -1 xor PBS_SMOOTH,PBS_SMOOTH HasStcb dd -1 xor CBS_HASSTRINGS,0 dd -1 xor CBS_HASSTRINGS,CBS_HASSTRINGS HasStlb dd -1 xor LBS_HASSTRINGS,0 dd -1 xor LBS_HASSTRINGS,LBS_HASSTRINGS MenuEx dd -1 xor TRUE,0 dd -1 xor TRUE,TRUE SaveRich dd -1 xor ES_SAVESEL,0 dd -1 xor ES_SAVESEL,ES_SAVESEL ;False/True ExStyles TopMost dd -1 xor WS_EX_TOPMOST,0 dd -1 xor WS_EX_TOPMOST,WS_EX_TOPMOST ;Multi styles ClipAll db 'None,Children,Siblings,Both',0 dd -1 xor (WS_CLIPCHILDREN or WS_CLIPSIBLINGS),0 dd -1,0 dd -1 xor (WS_CLIPCHILDREN or WS_CLIPSIBLINGS),WS_CLIPCHILDREN dd -1,0 dd -1 xor (WS_CLIPCHILDREN or WS_CLIPSIBLINGS),WS_CLIPSIBLINGS dd -1,0 dd -1 xor (WS_CLIPCHILDREN or WS_CLIPSIBLINGS),WS_CLIPCHILDREN or WS_CLIPSIBLINGS dd -1,0 ScroAll db 'None,Horizontal,Vertical,Both',0 dd -1 xor (WS_HSCROLL or WS_VSCROLL),0 dd -1,0 dd -1 xor (WS_HSCROLL or WS_VSCROLL),WS_HSCROLL dd -1,0 dd -1 xor (WS_HSCROLL or WS_VSCROLL),WS_VSCROLL dd -1,0 dd -1 xor (WS_HSCROLL or WS_VSCROLL),WS_HSCROLL or WS_VSCROLL dd -1,0 AligStc db 'TopLeft,TopCenter,TopRight,CenterLeft,CenterCenter,CenterRight',0 dd -1 xor (SS_CENTER or SS_RIGHT or SS_CENTERIMAGE),0 dd -1,0 dd -1 xor (SS_LEFTNOWORDWRAP or SS_CENTER or SS_RIGHT or SS_CENTERIMAGE),SS_CENTER dd -1,0 dd -1 xor (SS_LEFTNOWORDWRAP or SS_CENTER or SS_RIGHT or SS_CENTERIMAGE),SS_RIGHT dd -1,0 dd -1 xor (SS_CENTER or SS_RIGHT or SS_CENTERIMAGE),SS_CENTERIMAGE dd -1,0 dd -1 xor (SS_LEFTNOWORDWRAP or SS_CENTER or SS_RIGHT or SS_CENTERIMAGE),SS_CENTER or SS_CENTERIMAGE dd -1,0 dd -1 xor (SS_LEFTNOWORDWRAP or SS_CENTER or SS_RIGHT or SS_CENTERIMAGE),SS_RIGHT or SS_CENTERIMAGE dd -1,0 AligEdt db 'Left,Center,Right',0 dd -1 xor (ES_CENTER or ES_RIGHT),0 dd -1,0 dd -1 xor (ES_CENTER or ES_RIGHT),ES_CENTER dd -1,0 dd -1 xor (ES_CENTER or ES_RIGHT),ES_RIGHT dd -1,0 AligBtn db 'Default,TopLeft,TopCenter,TopRight,CenterLeft,CenterCenter,CenterRight,BottomLeft,BottomCenter,BottomRight',0 dd -1 xor (BS_CENTER or BS_VCENTER),0 dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_TOP or BS_LEFT dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_CENTER or BS_TOP dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_TOP or BS_RIGHT dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_LEFT or BS_VCENTER dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_CENTER or BS_VCENTER dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_RIGHT or BS_VCENTER dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_BOTTOM or BS_LEFT dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_CENTER or BS_BOTTOM dd -1,0 dd -1 xor (BS_CENTER or BS_VCENTER),BS_BOTTOM or BS_RIGHT dd -1,0 AligChk db 'Left,Right',0 dd -1 xor (BS_LEFTTEXT),0 dd -1,0 dd -1 xor (BS_LEFTTEXT),BS_LEFTTEXT dd -1,0 AligTab db 'Left,Top,Right,Bottom',0 dd -1 xor (TCS_BOTTOM or TCS_VERTICAL),TCS_VERTICAL dd -1,0 dd -1 xor (TCS_BOTTOM or TCS_VERTICAL),0 dd -1,0 dd -1 xor (TCS_BOTTOM or TCS_VERTICAL),TCS_BOTTOM or TCS_VERTICAL dd -1,0 dd -1 xor (TCS_BOTTOM or TCS_VERTICAL),TCS_BOTTOM dd -1,0 AligLsv db 'Left,Top',0 dd -1 xor LVS_ALIGNLEFT,LVS_ALIGNLEFT dd -1,0 dd -1 xor LVS_ALIGNLEFT,0 dd -1,0 AligSpn db 'None,Left,Right',0 dd -1 xor (UDS_ALIGNLEFT or UDS_ALIGNRIGHT),0 dd -1,0 dd -1 xor (UDS_ALIGNLEFT or UDS_ALIGNRIGHT),UDS_ALIGNLEFT dd -1,0 dd -1 xor (UDS_ALIGNLEFT or UDS_ALIGNRIGHT),UDS_ALIGNRIGHT dd -1,0 AligIco db 'AutoSize,Center',0 dd -1 xor SS_CENTERIMAGE,0 dd -1,0 dd -1 xor SS_CENTERIMAGE,SS_CENTERIMAGE dd -1,0 AligTbr db 'Left,Top,Right,Bottom',0 dd -1 xor (CCS_VERT or CCS_BOTTOM or CCS_TOP),CCS_TOP or CCS_VERT dd -1,0 dd -1 xor (CCS_VERT or CCS_BOTTOM or CCS_TOP),CCS_TOP dd -1,0 dd -1 xor (CCS_VERT or CCS_BOTTOM or CCS_TOP),CCS_BOTTOM or CCS_VERT dd -1,0 dd -1 xor (CCS_VERT or CCS_BOTTOM or CCS_TOP),CCS_BOTTOM dd -1,0 AligAni db 'AutoSize,Center',0 dd -1 xor ACS_CENTER,0 dd -1,0 dd -1 xor ACS_CENTER,ACS_CENTER dd -1,0 BordDlg db 'Flat,Boarder,Dialog,Tool,ModalFrame',0 dd -1 xor (WS_DLGFRAME or WS_BORDER or DS_MODALFRAME or WS_POPUP),WS_POPUP dd -1 xor (WS_EX_TOOLWINDOW or WS_EX_DLGMODALFRAME),0 dd -1 xor (WS_DLGFRAME or WS_BORDER or DS_MODALFRAME or WS_POPUP),WS_BORDER or WS_POPUP dd -1 xor (WS_EX_TOOLWINDOW or WS_EX_DLGMODALFRAME),0 dd -1 xor (WS_DLGFRAME or WS_BORDER or DS_MODALFRAME or WS_POPUP),WS_BORDER or WS_DLGFRAME dd -1 xor (WS_EX_TOOLWINDOW or WS_EX_DLGMODALFRAME),0 dd -1 xor (WS_DLGFRAME or WS_BORDER or DS_MODALFRAME or WS_POPUP),WS_BORDER or WS_DLGFRAME dd -1 xor (WS_EX_TOOLWINDOW or WS_EX_DLGMODALFRAME),WS_EX_TOOLWINDOW dd -1 xor (WS_DLGFRAME or WS_BORDER or DS_MODALFRAME or WS_POPUP),WS_BORDER or WS_DLGFRAME or DS_MODALFRAME dd -1 xor (WS_EX_TOOLWINDOW or WS_EX_DLGMODALFRAME),WS_EX_DLGMODALFRAME BordAll db 'Flat,Boarder,Raised,Sunken,3D-Look,Edge',0 dd -1 xor WS_BORDER,0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),0 dd -1 xor WS_BORDER,WS_BORDER dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),0 dd -1 xor WS_BORDER,0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_DLGMODALFRAME dd -1 xor WS_BORDER,0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_STATICEDGE dd -1 xor WS_BORDER,0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_CLIENTEDGE dd -1 xor WS_BORDER,0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_CLIENTEDGE or WS_EX_DLGMODALFRAME BordStc db 'Flat,Boarder,Raised,Sunken,3D-Look,Edge',0 dd -1 xor (WS_BORDER or SS_SUNKEN),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE),0 dd -1 xor (WS_BORDER or SS_SUNKEN),WS_BORDER dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE),0 dd -1 xor (WS_BORDER or SS_SUNKEN),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE),WS_EX_DLGMODALFRAME dd -1 xor (WS_BORDER or SS_SUNKEN),SS_SUNKEN dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE),0 dd -1 xor (WS_BORDER or SS_SUNKEN),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE),WS_EX_CLIENTEDGE dd -1 xor WS_BORDER,0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE),WS_EX_CLIENTEDGE or WS_EX_DLGMODALFRAME BordBtn db 'Flat,Boarder,Raised,Sunken,3D-Look,Edge',0 dd -1 xor (WS_BORDER or BS_FLAT),BS_FLAT dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),0 dd -1 xor (WS_BORDER or BS_FLAT),WS_BORDER or BS_FLAT dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),0 dd -1 xor (WS_BORDER or BS_FLAT),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_DLGMODALFRAME dd -1 xor (WS_BORDER or BS_FLAT),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_STATICEDGE dd -1 xor (WS_BORDER or BS_FLAT),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),0 dd -1 xor (WS_BORDER or BS_FLAT),0 dd -1 xor (WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE),WS_EX_DLGMODALFRAME or WS_EX_CLIENTEDGE TypeEdt db 'Normal,Upper,Lower,Number,Password',0 dd -1 xor (ES_UPPERCASE or ES_LOWERCASE or ES_PASSWORD or ES_NUMBER),0 dd -1,0 dd -1 xor (ES_UPPERCASE or ES_LOWERCASE or ES_PASSWORD or ES_NUMBER),ES_UPPERCASE dd -1,0 dd -1 xor (ES_UPPERCASE or ES_LOWERCASE or ES_PASSWORD or ES_NUMBER),ES_LOWERCASE dd -1,0 dd -1 xor (ES_UPPERCASE or ES_LOWERCASE or ES_PASSWORD or ES_NUMBER),ES_NUMBER dd -1,0 dd -1 xor (ES_UPPERCASE or ES_LOWERCASE or ES_PASSWORD or ES_NUMBER),ES_PASSWORD dd -1,0 TypeCbo db 'DropDownCombo,DropDownList,SimpleCombo',0 dd -1 xor (CBS_DROPDOWN or CBS_DROPDOWNLIST or CBS_SIMPLE),CBS_DROPDOWN dd -1,0 dd -1 xor (CBS_DROPDOWN or CBS_DROPDOWNLIST or CBS_SIMPLE),CBS_DROPDOWNLIST dd -1,0 dd -1 xor (CBS_DROPDOWN or CBS_DROPDOWNLIST or CBS_SIMPLE),CBS_SIMPLE dd -1,0 TypeBtn db 'Text,Bitmap,Icon',0 dd -1 xor (BS_BITMAP or BS_ICON),0 dd -1,0 dd -1 xor (BS_BITMAP or BS_ICON),BS_BITMAP dd -1,0 dd -1 xor (BS_BITMAP or BS_ICON),BS_ICON dd -1,0 TypeTrv db 'NoLines,Lines,LinesAtRoot',0 dd -1 xor (TVS_HASLINES or TVS_LINESATROOT),0 dd -1,0 dd -1 xor (TVS_HASLINES or TVS_LINESATROOT),TVS_HASLINES dd -1,0 dd -1 xor (TVS_HASLINES or TVS_LINESATROOT),TVS_HASLINES or TVS_LINESATROOT dd -1,0 TypeLsv db 'Icon,List,Report,SmallIcon',0 dd -1 xor LVS_TYPEMASK,LVS_ICON dd -1,0 dd -1 xor LVS_TYPEMASK,LVS_LIST dd -1,0 dd -1 xor LVS_TYPEMASK,LVS_REPORT dd -1,0 dd -1 xor LVS_TYPEMASK,LVS_SMALLICON dd -1,0 TypeImg db 'Bitmap,Icon',0 dd -1 xor (SS_BITMAP or SS_ICON),SS_BITMAP dd -1,0 dd -1 xor (SS_BITMAP or SS_ICON),SS_ICON dd -1,0 TypeDtp db 'Normal,UpDown,CheckBox,Both',0 dd -1 xor 03h,00h dd -1,0 dd -1 xor 03h,01h dd -1,0 dd -1 xor 03h,02h dd -1,0 dd -1 xor 03h,03h dd -1,0 TypeStc db 'BlackRect,GrayRect,WhiteRect,HollowRect,BlackFrame,GrayFrame,WhiteFrame,EtchedFrame,H-Line,V-Line',0 dd -1 xor 1Fh,SS_BLACKRECT dd -1,0 dd -1 xor 1Fh,SS_GRAYRECT dd -1,0 dd -1 xor 1Fh,SS_WHITERECT dd -1,0 dd -1 xor 1Fh,SS_OWNERDRAW dd -1,0 dd -1 xor 1Fh,SS_BLACKFRAME dd -1,0 dd -1 xor 1Fh,SS_GRAYFRAME dd -1,0 dd -1 xor 1Fh,SS_WHITEFRAME dd -1,0 dd -1 xor 1Fh,SS_ETCHEDFRAME dd -1,0 dd -1 xor 1Fh,SS_ETCHEDHORZ dd -1,0 dd -1 xor 1Fh,SS_ETCHEDVERT dd -1,0 AutoEdt db 'None,Horizontal,Vertical,Both',0 dd -1 xor (ES_AUTOHSCROLL or ES_AUTOVSCROLL),0 dd -1,0 dd -1 xor (ES_AUTOHSCROLL or ES_AUTOVSCROLL),ES_AUTOHSCROLL dd -1,0 dd -1 xor (ES_AUTOHSCROLL or ES_AUTOVSCROLL),ES_AUTOVSCROLL dd -1,0 dd -1 xor (ES_AUTOHSCROLL or ES_AUTOVSCROLL),ES_AUTOHSCROLL or ES_AUTOVSCROLL dd -1,0 FormDtp db 'Short,Medium,Long,Time',0 dd -1 xor 0Ch,00h dd -1,0 dd -1 xor 0Ch,0Ch dd -1,0 dd -1 xor 0Ch,04h dd -1,0 dd -1 xor 0Ch,08h dd -1,0 StarDlg db 'Normal,CenterScreen,CenterMouse',0 dd -1 xor (DS_CENTER or DS_CENTERMOUSE),0 dd -1,0 dd -1 xor (DS_CENTER or DS_CENTERMOUSE),DS_CENTER dd -1,0 dd -1 xor (DS_CENTER or DS_CENTERMOUSE),DS_CENTERMOUSE dd -1,0 OriePgb db 'Horizontal,Vertical',0 dd -1 xor PBS_VERTICAL,0 dd -1,0 dd -1 xor PBS_VERTICAL,PBS_VERTICAL dd -1,0 OrieUdn db 'Vertical,Horizontal',0 dd -1 xor UDS_HORZ,0 dd -1,0 dd -1 xor UDS_HORZ,UDS_HORZ dd -1,0 SortLsv db 'None,Ascending,Descending',0 dd -1 xor (LVS_SORTASCENDING or LVS_SORTDESCENDING),0 dd -1,0 dd -1 xor (LVS_SORTASCENDING or LVS_SORTDESCENDING),LVS_SORTASCENDING dd -1,0 dd -1 xor (LVS_SORTASCENDING or LVS_SORTDESCENDING),LVS_SORTDESCENDING dd -1,0 OwneCbo db 'None,Fixed,Variable',0 dd -1 xor (CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE),0 dd -1,0 dd -1 xor (CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE),CBS_OWNERDRAWFIXED dd -1,0 dd -1 xor (CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE),CBS_OWNERDRAWVARIABLE dd -1,0 ElliStc db 'None,EndEllipsis,PathEllipsis,WordEllipsis',0 dd -1 xor SS_ELLIPSISMASK,0 dd -1,0 dd -1 xor SS_ELLIPSISMASK,SS_ENDELLIPSIS dd -1,0 dd -1 xor SS_ELLIPSISMASK,SS_PATHELLIPSIS dd -1,0 dd -1 xor SS_ELLIPSISMASK,SS_WORDELLIPSIS dd -1,0 szPropErr db 'Invalid property value.',0 StyleEx dd 0 szMaxWt db 'QwnerDraw',0 .data? lbtxtbuffer db 4096 dup(?) szLbString db 64 dup(?) OldPrpCboDlgProc dd ? hPrpLstDlg dd ? OldPrpLstDlgProc dd ? hPrpEdtDlgCld dd ? OldPrpEdtDlgCldProc dd ? hPrpEdtDlgCldMulti dd ? OldPrpEdtDlgCldMultiProc dd ? hPrpLstDlgCld dd ? OldPrpLstDlgCldProc dd ? hPrpBtnDlgCld dd ? tempbuff db 256 dup(?) lpResType dd ? lpResName dd ? lpResID dd ? lpResStartID dd ? lpResFile dd ? lpResLang dd ? lpResHeight dd ? lpResWidth dd ? lpResMenuEx dd ? .code UpdateCbo proc uses esi,lpData:DWORD LOCAL nInx:DWORD LOCAL buffer[128]:BYTE LOCAL buffer1[1024]:BYTE LOCAL buffer2[64]:BYTE mov nInx,0 invoke SendMessage,hPrpCboDlg,CB_RESETCONTENT,0,0 mov esi,lpData add esi,sizeof DLGHEAD @@: mov eax,[esi].DIALOG.hwnd .if eax .if eax!=-1 mov al,[esi].DIALOG.idname .if al invoke strcpy,addr buffer,addr [esi].DIALOG.idname .else invoke ResEdBinToDec,[esi].DIALOG.id,addr buffer .endif invoke strcpy,addr buffer1,addr szCtlText mov eax,[esi].DIALOG.ntype inc eax .while eax push eax invoke GetStrItem,addr buffer1,addr buffer2 pop eax dec eax .endw push esi invoke strlen,addr buffer lea esi,buffer add esi,eax mov al,' ' mov [esi],al inc esi invoke strcpy,esi,addr buffer2 pop esi invoke SendMessage,hPrpCboDlg,CB_ADDSTRING,0,addr buffer invoke SendMessage,hPrpCboDlg,CB_SETITEMDATA,eax,nInx .endif inc nInx add esi,sizeof DIALOG jmp @b .endif ret UpdateCbo endp SetCbo proc nID:DWORD LOCAL nInx:DWORD invoke SendMessage,hPrpCboDlg,CB_GETCOUNT,0,0 mov nInx,eax @@: .if nInx dec nInx invoke SendMessage,hPrpCboDlg,CB_GETITEMDATA,nInx,0 .if eax==nID invoke SendMessage,hPrpCboDlg,CB_SETCURSEL,nInx,0 .endif jmp @b .endif ret SetCbo endp PropListSetTxt proc uses esi,hWin:HWND LOCAL nInx:DWORD LOCAL buffer[512]:BYTE invoke SendMessage,hWin,LB_GETCURSEL,0,0 .if eax!=LB_ERR mov nInx,eax invoke SendMessage,hWin,LB_GETTEXT,nInx,addr buffer lea esi,buffer @@: mov al,[esi] inc esi cmp al,09h jne @b invoke SendMessage,hWin,LB_GETITEMDATA,nInx,0 .if eax==PRP_STR_CAPTION || eax==PRP_STR_CAPMULTI || eax==PRP_STR_IMAGE || eax==PRP_STR_AVI invoke SendMessage,hPrpEdtDlgCld,EM_LIMITTEXT,MaxCap-1,0 invoke SendMessage,hPrpEdtDlgCldMulti,EM_LIMITTEXT,MaxCap-1,0 .elseif eax==PRP_STR_NAME || eax==PRP_STR_NAMEBTN || eax==PRP_STR_NAMESTC invoke SendMessage,hPrpEdtDlgCld,EM_LIMITTEXT,MaxName-1,0 .elseif eax==PRP_STR_FILE invoke SendMessage,hPrpEdtDlgCld,EM_LIMITTEXT,MAX_PATH-1,0 .elseif eax==PRP_FUN_STYLE || eax==PRP_FUN_EXSTYLE invoke SendMessage,hPrpEdtDlgCld,EM_LIMITTEXT,8,0 .else invoke SendMessage,hPrpEdtDlgCld,EM_LIMITTEXT,32-1,0 .endif invoke SetWindowText,hPrpEdtDlgCld,esi .endif ret PropListSetTxt endp PropListSetPos proc LOCAL rect:RECT LOCAL nInx:DWORD LOCAL lbid:DWORD invoke ShowWindow,hPrpEdtDlgCld,SW_HIDE invoke ShowWindow,hPrpEdtDlgCldMulti,SW_HIDE invoke ShowWindow,hPrpBtnDlgCld,SW_HIDE invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 .if eax!=LB_ERR mov nInx,eax invoke SendMessage,hPrpLstDlg,LB_GETTEXT,nInx,addr lbtxtbuffer mov ecx,offset lbtxtbuffer mov edx,offset szLbString .while byte ptr [ecx]!=VK_TAB mov al,[ecx] mov [edx],al inc ecx inc edx .endw mov byte ptr [edx],0 invoke SendMessage,hPrpLstDlg,LB_GETITEMRECT,nInx,addr rect invoke SendMessage,hPrpLstDlg,LB_GETITEMDATA,nInx,0 mov lbid,eax invoke SetWindowLong,hPrpBtnDlgCld,GWL_USERDATA,eax mov eax,lbid .if (eax>=PRP_BOOL_SYSMENU && eax<=499) || eax==PRP_FUN_LANG || eax>65535 mov ecx,nPropHt sub rect.right,ecx mov eax,rect.right sub eax,rect.left mov edx,nPropWt add edx,32 sub edx,ecx .if eax<edx mov rect.right,edx .endif invoke SetWindowPos,hPrpBtnDlgCld,HWND_TOP,rect.right,rect.top,nPropHt,nPropHt,0 invoke ShowWindow,hPrpBtnDlgCld,SW_SHOWNOACTIVATE .elseif eax==PRP_FUN_STYLE || eax==PRP_FUN_EXSTYLE invoke PropListSetTxt,hPrpLstDlg mov ecx,nPropHt sub rect.right,ecx mov eax,rect.right sub eax,rect.left mov edx,nPropWt add edx,32 sub edx,ecx .if eax<edx mov rect.right,edx .endif invoke SetWindowPos,hPrpBtnDlgCld,HWND_TOP,rect.right,rect.top,nPropHt,nPropHt,0 invoke ShowWindow,hPrpBtnDlgCld,SW_SHOWNOACTIVATE mov edx,nPropWt add edx,1 mov rect.left,edx sub rect.right,edx invoke SetWindowPos,hPrpEdtDlgCld,HWND_TOP,rect.left,rect.top,rect.right,nPropHt,0 invoke ShowWindow,hPrpEdtDlgCld,SW_SHOWNOACTIVATE mov rect.left,1 mov rect.top,0 mov eax,nPropHt mov rect.bottom,eax invoke SendMessage,hPrpEdtDlgCld,EM_SETRECT,0,addr rect .else invoke PropListSetTxt,hPrpLstDlg mov eax,lbid .if eax==PRP_STR_MENU || eax==PRP_STR_IMAGE || eax==PRP_STR_AVI || eax==PRP_STR_NAMEBTN || eax==PRP_STR_NAMESTC || eax==PRP_STR_FILE || eax==PRP_STR_FONT mov ecx,nPropHt dec ecx sub rect.right,ecx invoke SetWindowPos,hPrpBtnDlgCld,HWND_TOP,rect.right,rect.top,nPropHt,nPropHt,0 invoke ShowWindow,hPrpBtnDlgCld,SW_SHOWNOACTIVATE .elseif lbid==PRP_STR_CAPMULTI mov ecx,nPropHt dec ecx sub rect.right,ecx invoke SetWindowPos,hPrpBtnDlgCld,HWND_TOP,rect.right,rect.top,nPropHt,nPropHt,0 invoke ShowWindow,hPrpBtnDlgCld,SW_SHOWNOACTIVATE .endif mov edx,nPropWt add edx,1 mov rect.left,edx sub rect.right,edx invoke SetWindowPos,hPrpEdtDlgCld,HWND_TOP,rect.left,rect.top,rect.right,nPropHt,0 invoke ShowWindow,hPrpEdtDlgCld,SW_SHOWNOACTIVATE mov rect.left,1 mov rect.top,0 mov eax,nPropHt mov rect.bottom,eax invoke SendMessage,hPrpEdtDlgCld,EM_SETRECT,0,addr rect .endif xor eax,eax .endif ret PropListSetPos endp TxtLstFalseTrue proc uses esi,CtlVal:DWORD,lpVal:DWORD invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szFalse mov eax,lpVal invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,0,eax invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szTrue mov eax,lpVal add eax,8 invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,1,eax mov esi,lpVal mov eax,[esi] xor eax,-1 and eax,CtlVal .if eax==[esi+4] invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,0,0 .else invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,1,0 .endif ret TxtLstFalseTrue endp TxtLstMulti proc uses esi,CtlValSt:DWORD,CtlValExSt:DWORD,lpVal:DWORD LOCAL buffer[512]:BYTE LOCAL buffer1[64]:BYTE LOCAL nInx:DWORD invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke strcpy,addr buffer,lpVal invoke strlen,lpVal add lpVal,eax inc lpVal @@: invoke GetStrItem,addr buffer,addr buffer1 invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr buffer1 mov nInx,eax invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,nInx,lpVal mov esi,lpVal mov eax,[esi] xor eax,-1 and eax,CtlValSt .if eax==[esi+4] mov eax,[esi+8] xor eax,-1 and eax,CtlValExSt .if eax==[esi+12] invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,nInx,0 .endif .endif add lpVal,16 mov al,buffer[0] or al,al jne @b ret TxtLstMulti endp PropTxtLst proc uses ebx esi edi,hCtl:DWORD,lbid:DWORD LOCAL nType:DWORD LOCAL buffer[32]:BYTE invoke SetWindowLong,hPrpLstDlgCld,GWL_USERDATA,hCtl ; invoke SetWindowLong,hPrpLstDlgCld,GWL_ID,lbid .if hCtl==-7 .if lbid==PRP_BOOL_MENUEX mov eax,lpResMenuEx mov eax,[eax] invoke TxtLstFalseTrue,eax,addr MenuEx .endif .else invoke GetCtrlMem,hCtl mov esi,eax assume esi:ptr DIALOG push [esi].ntype pop nType mov eax,lbid .if eax==PRP_BOOL_SYSMENU invoke TxtLstFalseTrue,[esi].style,addr SysMDlg .elseif eax==PRP_BOOL_MAXBUTTON invoke TxtLstFalseTrue,[esi].style,addr MaxBDlg .elseif eax==PRP_BOOL_MINBUTTON invoke TxtLstFalseTrue,[esi].style,addr MinBDlg .elseif eax==PRP_BOOL_ENABLED invoke TxtLstFalseTrue,[esi].style,addr EnabAll .elseif eax==PRP_BOOL_VISIBLE invoke TxtLstFalseTrue,[esi].style,addr VisiAll .elseif eax==PRP_BOOL_DEFAULT invoke TxtLstFalseTrue,[esi].style,addr DefaBtn .elseif eax==PRP_BOOL_AUTO .if nType==5 invoke TxtLstFalseTrue,[esi].style,addr AutoChk .elseif nType==6 invoke TxtLstFalseTrue,[esi].style,addr AutoRbt .elseif nType==16 invoke TxtLstFalseTrue,[esi].style,addr AutoSpn .endif .elseif eax==PRP_BOOL_AUTOSCROLL .if nType==7 invoke TxtLstFalseTrue,[esi].style,addr AutoCbo .endif .elseif eax==PRP_BOOL_AUTOPLAY .if nType==27 invoke TxtLstFalseTrue,[esi].style,addr AutoAni .endif .elseif eax==PRP_BOOL_AUTOSIZE .if nType==18 || nType==19 invoke TxtLstFalseTrue,[esi].style,addr AutoTbr .endif .elseif eax==PRP_BOOL_MNEMONIC invoke TxtLstFalseTrue,[esi].style,addr MnemStc .elseif eax==PRP_BOOL_WORDWRAP invoke TxtLstFalseTrue,[esi].style,addr WordStc .elseif eax==PRP_BOOL_MULTI .if nType==1 || nType==22 invoke TxtLstFalseTrue,[esi].style,addr MultEdt .elseif nType==4 || nType==5 || nType==6 invoke TxtLstFalseTrue,[esi].style,addr MultBtn .elseif nType==8 invoke TxtLstFalseTrue,[esi].style,addr MultLst .elseif nType==11 invoke TxtLstFalseTrue,[esi].style,addr MultTab .elseif nType==21 invoke TxtLstFalseTrue,[esi].style,addr MultMvi .endif .elseif eax==PRP_BOOL_LOCK invoke TxtLstFalseTrue,[esi].style,addr LockEdt .elseif eax==PRP_BOOL_CHILD invoke TxtLstFalseTrue,[esi].style,addr ChilAll .elseif eax==PRP_BOOL_SIZE .if nType==0 invoke TxtLstFalseTrue,[esi].style,addr SizeDlg .elseif nType==19 invoke TxtLstFalseTrue,[esi].style,addr SizeSbr .endif .elseif eax==PRP_BOOL_TABSTOP invoke TxtLstFalseTrue,[esi].style,addr TabSAll .elseif eax==PRP_BOOL_NOTIFY .if nType==2 || nType==17 || nType==25 invoke TxtLstFalseTrue,[esi].style,addr NotiStc .elseif nType==4 || nType==5 || nType==6 invoke TxtLstFalseTrue,[esi].style,addr NotiBtn .elseif nType==8 invoke TxtLstFalseTrue,[esi].style,addr NotiLst .endif .elseif eax==PRP_BOOL_WANTCR invoke TxtLstFalseTrue,[esi].style,addr WantEdt .elseif eax==PRP_BOOL_SORT .if nType==7 invoke TxtLstFalseTrue,[esi].style,addr SortCbo .elseif nType==8 invoke TxtLstFalseTrue,[esi].style,addr SortLst .endif .elseif eax==PRP_BOOL_FLAT invoke TxtLstFalseTrue,[esi].style,addr FlatTbr .elseif eax==PRP_BOOL_GROUP invoke TxtLstFalseTrue,[esi].style,addr GrouAll .elseif eax==PRP_BOOL_ICON ; invoke TxtLstFalseTrue,[esi].style,addr IconBtn .elseif eax==PRP_BOOL_USETAB invoke TxtLstFalseTrue,[esi].style,addr UseTLst .elseif eax==PRP_BOOL_SETBUDDY invoke TxtLstFalseTrue,[esi].style,addr SetBUdn .elseif eax==PRP_BOOL_HIDE .if nType==1 || nType==22 invoke TxtLstFalseTrue,[esi].style,addr HideEdt .elseif nType==13 invoke TxtLstFalseTrue,[esi].style,addr HideTrv .elseif nType==14 invoke TxtLstFalseTrue,[esi].style,addr HideLsv .endif .elseif eax==PRP_BOOL_TOPMOST invoke TxtLstFalseTrue,[esi].exstyle,addr TopMost .elseif eax==PRP_BOOL_INTEGRAL .if nType==7 invoke TxtLstFalseTrue,[esi].style,addr IntHtCbo .elseif nType==8 invoke TxtLstFalseTrue,[esi].style,addr IntHtLst .endif .elseif eax==PRP_BOOL_BUTTON .if nType==11 invoke TxtLstFalseTrue,[esi].style,addr ButtTab .elseif nType==13 invoke TxtLstFalseTrue,[esi].style,addr ButtTrv .elseif nType==32 invoke TxtLstFalseTrue,[esi].style,addr ButtHdr .endif .elseif eax==PRP_BOOL_POPUP invoke TxtLstFalseTrue,[esi].style,addr PopUAll .elseif eax==PRP_BOOL_OWNERDRAW invoke TxtLstFalseTrue,[esi].style,addr OwneLsv .elseif eax==PRP_BOOL_TRANSP invoke TxtLstFalseTrue,[esi].style,addr TranAni .elseif eax==PRP_BOOL_TIME invoke TxtLstFalseTrue,[esi].style,addr TimeAni .elseif eax==PRP_BOOL_WEEK invoke TxtLstFalseTrue,[esi].style,addr WeekMvi .elseif eax==PRP_BOOL_TOOLTIP .if nType==11 invoke TxtLstFalseTrue,[esi].style,addr ToolTab .elseif nType==18 invoke TxtLstFalseTrue,[esi].style,addr ToolTbr .else invoke TxtLstFalseTrue,[esi].style,addr ToolSbr .endif .elseif eax==PRP_BOOL_WRAP invoke TxtLstFalseTrue,[esi].style,addr WrapTbr .elseif eax==PRP_BOOL_DIVIDER invoke TxtLstFalseTrue,[esi].style,addr DiviTbr .elseif eax==PRP_BOOL_DRAGDROP invoke TxtLstFalseTrue,[esi].style,addr DragHdr .elseif eax==PRP_BOOL_SMOOTH invoke TxtLstFalseTrue,[esi].style,addr SmooPgb .elseif eax==PRP_BOOL_HASSTRINGS .if nType==7 invoke TxtLstFalseTrue,[esi].style,addr HasStcb .elseif nType==8 invoke TxtLstFalseTrue,[esi].style,addr HasStlb .endif .elseif eax==PRP_BOOL_SAVESEL invoke TxtLstFalseTrue,[esi].style,addr SaveRich .elseif eax==PRP_MULTI_CLIP invoke TxtLstMulti,[esi].style,[esi].exstyle,addr ClipAll .elseif eax==PRP_MULTI_SCROLL invoke TxtLstMulti,[esi].style,[esi].exstyle,addr ScroAll .elseif eax==PRP_MULTI_ALIGN .if nType==1 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligEdt .elseif nType==2 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligStc .elseif nType==4 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligBtn .elseif nType==5 || nType==6 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligChk .elseif nType==11 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligTab .elseif nType==14 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligLsv .elseif nType==16 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligSpn .elseif nType==17 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligIco .elseif nType==18 || nType==19 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligTbr .elseif nType==27 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AligAni .endif .elseif eax==PRP_MULTI_AUTOSCROLL invoke TxtLstMulti,[esi].style,[esi].exstyle,addr AutoEdt .elseif eax==PRP_MULTI_FORMAT invoke TxtLstMulti,[esi].style,[esi].exstyle,addr FormDtp .elseif eax==PRP_MULTI_STARTPOS invoke TxtLstMulti,[esi].style,[esi].exstyle,addr StarDlg .elseif eax==PRP_MULTI_ORIENT .if nType==12 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr OriePgb .elseif nType==16 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr OrieUdn .endif .elseif eax==PRP_MULTI_SORT invoke TxtLstMulti,[esi].style,[esi].exstyle,addr SortLsv .elseif eax==PRP_MULTI_OWNERDRAW invoke TxtLstMulti,[esi].style,[esi].exstyle,addr OwneCbo .elseif eax==PRP_MULTI_ELLIPSIS invoke TxtLstMulti,[esi].style,[esi].exstyle,addr ElliStc .elseif eax==PRP_MULTI_BORDER mov eax,nType .if eax==0 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr BordDlg .elseif eax==2 || eax==17 || eax==25 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr BordStc .elseif eax==3 || eax==4 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr BordBtn .else invoke TxtLstMulti,[esi].style,[esi].exstyle,addr BordAll .endif .elseif eax==PRP_MULTI_TYPE mov eax,nType .if eax==1 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeEdt .elseif eax==4 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeBtn .elseif eax==7 || eax==24 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeCbo .elseif eax==13 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeTrv .elseif eax==14 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeLsv .elseif eax==17 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeImg .elseif eax==20 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeDtp .elseif eax==25 invoke TxtLstMulti,[esi].style,[esi].exstyle,addr TypeStc .endif .elseif eax==PRP_STR_MENU ;Dialog Menu invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke GetWindowLong,hPrj,0 mov edi,eax .while [edi].PROJECT.hmem .if [edi].PROJECT.ntype==TPE_MENU mov edx,[edi].PROJECT.hmem .if [edx].MNUHEAD.menuname lea edx,[edx].MNUHEAD.menuname .else invoke ResEdBinToDec,[edx].MNUHEAD.menuid,addr buffer lea edx,buffer .endif invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,edx .endif lea edi,[edi+sizeof PROJECT] .endw .elseif eax==PRP_STR_IMAGE ;Image invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke GetWindowLong,hPrj,0 mov edi,eax .while [edi].PROJECT.hmem .if [edi].PROJECT.ntype==TPE_RESOURCE mov edx,[edi].PROJECT.hmem .while [edx].RESOURCEMEM.szname || [edx].RESOURCEMEM.value mov eax,[esi].DIALOG.style and eax,SS_TYPEMASK .if eax==SS_BITMAP mov eax,0 .elseif eax==SS_ICON mov eax,2 .endif .if eax==[edx].RESOURCEMEM.ntype push edx .if [edx].RESOURCEMEM.szname lea edx,[edx].RESOURCEMEM.szname .else mov buffer,'#' invoke ResEdBinToDec,[edx].RESOURCEMEM.value,addr buffer[1] lea edx,buffer .endif invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,edx pop edx .endif lea edx,[edx+sizeof RESOURCEMEM] .endw .endif lea edi,[edi+sizeof PROJECT] .endw .elseif eax==PRP_STR_AVI ;Avi invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke GetWindowLong,hPrj,0 mov edi,eax .while [edi].PROJECT.hmem .if [edi].PROJECT.ntype==TPE_RESOURCE mov edx,[edi].PROJECT.hmem .while [edx].RESOURCEMEM.szname || [edx].RESOURCEMEM.value .if [edx].RESOURCEMEM.ntype==3 push edx .if [edx].RESOURCEMEM.szname lea edx,[edx].RESOURCEMEM.szname .else mov buffer,'#' invoke ResEdBinToDec,[edx].RESOURCEMEM.value,addr buffer[1] lea edx,buffer .endif invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,edx pop edx .endif lea edx,[edx+sizeof RESOURCEMEM] .endw .endif lea edi,[edi+sizeof PROJECT] .endw .elseif eax==PRP_STR_NAMEBTN ;(Name) invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDOK invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDOK invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDCANCEL invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDCANCEL invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDABORT invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDABORT invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDRETRY invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDRETRY invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDIGNORE invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDIGNORE invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDYES invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDYES invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDNO invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDNO invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDCLOSE invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDCLOSE invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDHELP invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,IDHELP xor ebx,ebx .while TRUE invoke SendMessage,hPrpLstDlgCld,LB_GETTEXT,ebx,addr buffer .break .if eax==LB_ERR invoke strcmpi,addr [esi].idname,addr buffer .if !eax invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,ebx,0 .break .endif inc ebx .endw .elseif eax==PRP_STR_NAMESTC ;(Name) invoke SendMessage,hPrpLstDlgCld,LB_RESETCONTENT,0,0 invoke SendMessage,hPrpLstDlgCld,LB_ADDSTRING,0,addr szIDC_STATIC invoke SendMessage,hPrpLstDlgCld,LB_SETITEMDATA,eax,-1;IDC_STATIC invoke strcmpi,addr [esi].idname,addr szIDC_STATIC .if !eax invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,0,0 .endif .elseif eax==PRP_FUN_LANG ;Language .elseif eax>65535 ;Custom control mov edx,[eax+4] .if dword ptr [eax]==1 invoke TxtLstFalseTrue,[esi].style,edx .elseif dword ptr [eax]==2 invoke TxtLstFalseTrue,[esi].exstyle,edx .elseif dword ptr [eax]==3 invoke TxtLstMulti,[esi].style,[esi].exstyle,edx .endif .endif .endif assume esi:nothing ret PropTxtLst endp SetTxtLstPos proc lpRect:DWORD LOCAL rect:RECT LOCAL lbht:DWORD LOCAL ht:DWORD invoke GetClientRect,hPrpLstDlg,addr rect mov eax,rect.bottom mov ht,eax invoke CopyRect,addr rect,lpRect invoke SendMessage,hPrpLstDlgCld,LB_GETITEMHEIGHT,0,0 push eax invoke SendMessage,hPrpLstDlgCld,LB_GETCOUNT,0,0 .if eax>8 mov eax,8 .endif pop edx mul edx add eax,2 mov lbht,eax add eax,rect.top .if eax>ht mov eax,lbht inc eax add eax,nPropHt sub rect.top,eax .endif invoke SetWindowPos,hPrpLstDlgCld,HWND_TOP,rect.left,rect.top,rect.right,lbht,0 invoke ShowWindow,hPrpLstDlgCld,SW_SHOWNOACTIVATE invoke SendMessage,hPrpLstDlgCld,LB_GETCURSEL,0,0 .if eax!=LB_ERR invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,eax,0 .endif ret SetTxtLstPos endp PropEditChkVal proc uses esi,lpTxt:DWORD,nTpe:DWORD,lpfErr:DWORD LOCAL buffer[16]:BYTE LOCAL val:DWORD mov eax,lpfErr mov dword ptr [eax],FALSE invoke ResEdDecToBin,lpTxt mov val,eax invoke ResEdBinToDec,val,addr buffer invoke strcmp,lpTxt,addr buffer .if eax mov eax,lpfErr mov dword ptr [eax],TRUE invoke MessageBox,hPrp,addr szPropErr,addr szAppName,MB_OK or MB_ICONERROR .endif mov eax,val ret PropEditChkVal endp PropEditUpdList proc uses ebx esi edi,lpPtr:DWORD LOCAL nInx:DWORD LOCAL buffer[512]:BYTE LOCAL buffer1[512]:BYTE LOCAL hCtl:DWORD LOCAL lpTxt:DWORD LOCAL fErr:DWORD LOCAL lbid:DWORD LOCAL val:DWORD LOCAL hMem:DWORD LOCAL nDefault:DWORD mov fErr,FALSE mov nDefault,0 invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 .if eax!=LB_ERR mov nInx,eax ;Get type invoke SendMessage,hPrpLstDlg,LB_GETITEMDATA,nInx,0 mov lbid,eax invoke SendMessage,hPrpLstDlg,LB_SETCURSEL,-1,0 invoke ShowWindow,hPrpEdtDlgCld,SW_HIDE invoke ShowWindow,hPrpEdtDlgCldMulti,SW_HIDE invoke ShowWindow,hPrpBtnDlgCld,SW_HIDE invoke ShowWindow,hPrpLstDlgCld,SW_HIDE ;Get text invoke SendMessage,hPrpLstDlg,LB_GETTEXT,nInx,addr buffer invoke GetWindowText,hPrpEdtDlgCld,addr buffer1,sizeof buffer1 ;Find TAB char lea esi,buffer @@: mov al,[esi] inc esi cmp al,09h jne @b mov lpTxt,esi ;Text changed ? invoke strcmp,lpTxt,addr buffer1 .if hMultiSel && (lbid==PRP_STR_NAME || lbid==PRP_STR_CAPTION) mov eax,1 .endif .if eax ;Get controls hwnd invoke GetWindowLong,hPrpLstDlg,GWL_USERDATA mov hCtl,eax mov eax,lbid ;Pos, Size, ID or HelpID .if eax>=PRP_NUM_ID && eax<=PRP_NUM_HELPID ;Test valid num invoke PropEditChkVal,addr buffer1,lbid,addr fErr mov val,eax .endif .if !fErr .if hMultiSel push 0 mov eax,hMultiSel .while eax push eax invoke GetParent,eax mov edx,eax pop eax push edx mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw invoke GlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,4096 mov ebx,eax mov hMem,eax pop eax .while eax mov hCtl,eax call SetCtrlData pop eax .endw invoke GlobalFree,hMem invoke GetWindowLong,hDEd,DEWM_MEMORY invoke MakeDialog,eax,-1 invoke PropertyList,-1 invoke SetChanged,TRUE .else .if hCtl==-2 || hCtl==-3 || hCtl==-4 || hCtl==-6 || hCtl==-7 || hCtl==-8 || hCtl==-9 mov eax,lbid .if eax==PRP_STR_NAME invoke CheckName,addr buffer1 .if !eax invoke strcpy,lpResName,addr buffer1 .endif .elseif eax==PRP_NUM_ID mov eax,lpResID push val pop [eax] .elseif eax==PRP_NUM_SIZEW mov eax,lpResWidth push val pop [eax] .elseif eax==PRP_NUM_SIZEH mov eax,lpResHeight push val pop [eax] .elseif eax==PRP_NUM_STARTID mov eax,lpResStartID push val pop [eax] .elseif eax==PRP_BOOL_MENUEX mov edi,lpPtr mov esi,lpResMenuEx mov eax,[esi] and eax,[edi] or eax,[edi+4] mov [esi],eax .elseif eax==PRP_STR_FILE invoke GetFileAttributes,lpResFile .if eax!=INVALID_HANDLE_VALUE invoke MoveFile,lpResFile,addr buffer1 .endif invoke strcpy,lpResFile,addr buffer1 .endif invoke PropertyList,hCtl invoke SendMessage,hRes,PRO_SETMODIFY,TRUE,0 .else call SetCtrlData .if (lbid==PRP_STR_NAMEBTN || lbid==PRP_STR_NAMESTC) && nDefault mov eax,nDefault mov val,eax mov lbid,PRP_NUM_ID call SetCtrlData .endif invoke GetCtrlMem,hCtl invoke GetCtrlID,eax push eax invoke GetWindowLong,hDEd,DEWM_MEMORY pop edx invoke MakeDialog,eax,edx invoke SetChanged,TRUE .endif .endif .endif .endif .endif ret SetCtrlData: ;Get ptr data invoke GetCtrlMem,hCtl mov esi,eax assume esi:ptr DIALOG ;What is changed mov eax,lbid .if eax==PRP_STR_NAME || eax==PRP_STR_NAMEBTN || eax==PRP_STR_NAMESTC invoke IsNameDefault,addr buffer1 .if !eax invoke NameExists,addr buffer1,esi .else mov nDefault,eax xor eax,eax .endif .if eax invoke strcpy,addr buffer,addr szNameExist invoke strcat,addr buffer,addr buffer1 invoke MessageBox,hDEd,addr buffer,addr szAppName,MB_OK or MB_ICONERROR .else invoke CheckName,addr buffer1 .if !eax invoke strcpy,addr [esi].idname,addr buffer1 .if ![esi].ntype invoke GetWindowLong,hDEd,DEWM_PROJECT mov edx,eax push edx invoke GetProjectItemName,edx,addr buffer1 pop edx invoke SetProjectItemName,edx,addr buffer1 .endif .endif .endif .elseif eax==PRP_STR_FONT invoke ResEdDecToBin,addr buffer1 mov val,eax mov edx,esi sub edx,sizeof DLGHEAD mov [edx].DLGHEAD.fontsize,eax lea eax,buffer1 .while byte ptr [eax] && byte ptr [eax]!=',' inc eax .endw .if byte ptr [eax]==',' inc eax .else lea eax,buffer1 .endif invoke lstrcpy,addr [edx].DLGHEAD.font,eax mov edx,esi sub edx,sizeof DLGHEAD mov eax,[edx].DLGHEAD.fontsize mov edx,96 imul edx mov ecx,72 xor edx,edx idiv ecx .if edx>=36 inc eax .endif neg eax mov edx,esi sub edx,sizeof DLGHEAD sub esi,sizeof DLGHEAD add esi,sizeof DLGHEAD .elseif eax==PRP_NUM_ID push val pop [esi].id .if ![esi].ntype invoke GetWindowLong,hDEd,DEWM_PROJECT mov edx,eax push edx invoke GetProjectItemName,edx,addr buffer1 pop edx invoke SetProjectItemName,edx,addr buffer1 .endif .elseif eax==PRP_NUM_POSL mov eax,val mov [esi].dux,eax .elseif eax==PRP_NUM_POST mov eax,val mov [esi].duy,eax .elseif eax==PRP_NUM_SIZEW mov eax,val mov [esi].duccx,eax .elseif eax==PRP_NUM_SIZEH mov eax,val mov [esi].duccy,eax .elseif eax==PRP_NUM_STARTID sub esi,sizeof DLGHEAD push val pop (DLGHEAD ptr [esi]).ctlid add esi,sizeof DLGHEAD .elseif eax==PRP_NUM_TAB invoke SetNewTab,hCtl,val .elseif eax==PRP_NUM_HELPID mov eax,val mov [esi].helpid,eax .elseif eax==PRP_STR_CAPTION || eax==PRP_STR_CAPMULTI invoke strcpy,addr [esi].caption,addr buffer1 .elseif eax==PRP_STR_IMAGE invoke strcpy,addr [esi].caption,addr buffer1 .elseif eax==PRP_STR_AVI invoke strcpy,addr [esi].caption,addr buffer1 .elseif eax==PRP_STR_CLASS mov eax,[esi].ntype .if eax==0 mov edx,esi sub edx,sizeof DLGHEAD invoke strcpy,addr (DLGHEAD ptr [edx]).class,addr buffer1 .elseif eax==23 invoke strcpy,addr [esi].class,addr buffer1 .endif .elseif eax==PRP_STR_MENU mov edx,esi sub edx,sizeof DLGHEAD invoke strcpy,addr (DLGHEAD ptr [edx]).menuid,addr buffer1 .elseif eax==PRP_FUN_STYLE || eax==PRP_FUN_EXSTYLE .if eax==PRP_FUN_STYLE invoke HexToBin,addr buffer1 mov [esi].style,eax .else invoke HexToBin,addr buffer1 mov [esi].exstyle,eax .endif .endif mov eax,lbid ;Is True/False Style or Multi Style changed mov edi,lpPtr .if eax>=PRP_BOOL_SYSMENU && eax<=499 .if eax==223 mov eax,[esi].exstyle and eax,[edi] or eax,[edi+4] mov [esi].exstyle,eax .else mov eax,[esi].style and eax,[edi] or eax,[edi+4] mov [esi].style,eax .endif ;Is Multi Style changed mov eax,lbid .if eax>=PRP_MULTI_CLIP mov eax,[esi].exstyle and eax,[edi+8] or eax,[edi+12] mov [esi].exstyle,eax .endif .elseif eax>65535 .if dword ptr [eax]==1 mov eax,[esi].style and eax,[edi] or eax,[edi+4] mov [esi].style,eax .elseif dword ptr [eax]==2 mov eax,[esi].exstyle and eax,[edi] or eax,[edi+4] mov [esi].exstyle,eax .elseif dword ptr [eax]==3 mov eax,[esi].style and eax,[edi] or eax,[edi+4] mov [esi].style,eax mov eax,[esi].exstyle and eax,[edi+8] or eax,[edi+12] mov [esi].exstyle,eax .endif .endif assume esi:nothing retn PropEditUpdList endp ListFalseTrue proc uses esi,CtlVal:DWORD,lpVal:DWORD,lpBuff:DWORD mov esi,lpVal mov eax,[esi] xor eax,-1 and eax,CtlVal .if eax==[esi+4] invoke strcpy,lpBuff,addr szFalse .else invoke strcpy,lpBuff,addr szTrue .endif ret ListFalseTrue endp ListMultiStyle proc uses esi,CtlValSt:DWORD,CtlValExSt:DWORD,lpVal:DWORD,lpBuff:DWORD LOCAL buffer[512]:BYTE LOCAL buffer1[64]:BYTE invoke strcpy,addr buffer,lpVal invoke strlen,lpVal add lpVal,eax inc lpVal @@: invoke GetStrItem,addr buffer,addr buffer1 mov esi,lpVal mov eax,[esi] xor eax,-1 and eax,CtlValSt .if eax==[esi+4] mov eax,[esi+8] xor eax,-1 and eax,CtlValExSt .if eax==[esi+12] invoke strcpy,lpBuff,addr buffer1 ret .endif .endif add lpVal,16 mov al,buffer[0] or al,al jne @b ret ListMultiStyle endp GetCustProp proc nType:DWORD,nProp:DWORD invoke GetTypePtr,nType mov edx,nProp sub edx,[eax].TYPES.nmethod mov eax,[eax].TYPES.methods .if eax lea eax,[eax+edx*8] .endif ret GetCustProp endp PropertyList proc uses ebx esi edi,hCtl:DWORD LOCAL buffer[1024]:BYTE LOCAL buffer1[512]:BYTE LOCAL nType:DWORD LOCAL lbid:DWORD LOCAL fList1:DWORD LOCAL fList2:DWORD LOCAL fList3:DWORD LOCAL fList4:DWORD LOCAL nInx:DWORD LOCAL tInx:DWORD invoke ShowWindow,hPrpEdtDlgCld,SW_HIDE invoke ShowWindow,hPrpEdtDlgCldMulti,SW_HIDE invoke ShowWindow,hPrpBtnDlgCld,SW_HIDE invoke ShowWindow,hPrpLstDlgCld,SW_HIDE invoke SendMessage,hPrpCboDlg,CB_RESETCONTENT,0,0 invoke SendMessage,hPrpLstDlg,LB_GETTOPINDEX,0,0 mov tInx,eax invoke SendMessage,hPrpLstDlg,WM_SETREDRAW,FALSE,0 invoke SendMessage,hPrpLstDlg,LB_RESETCONTENT,0,0 invoke SetWindowLong,hPrpLstDlg,GWL_USERDATA,hCtl .if hCtl .if hCtl==-1 mov fList1,11111110100111000000000001000000b ; NILTWHCBCMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00001000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; invoke GetParent,hMultiSel mov hCtl,eax invoke GetCtrlMem,hCtl mov esi,eax mov eax,[esi].DIALOG.ntype mov nType,eax mov eax,hMultiSel @@: push eax invoke GetParent,eax invoke GetCtrlMem,eax mov eax,[eax].DIALOG.ntype .if eax!=nType mov nType,-1 .endif mov ecx,8 pop eax .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw or eax,eax jne @b .if nType!=-1 ; Enable Style and ExStyle or fList2,00000000000000011000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD .endif invoke SetWindowLong,hPrpLstDlg,GWL_USERDATA,hCtl mov eax,hMultiSel @@: push eax invoke GetParent,eax invoke GetCtrlMem,eax mov edi,eax mov eax,[edi].DIALOG.ntype mov nType,eax invoke GetTypePtr,nType mov edi,eax mov eax,(TYPES ptr [edi]).flist and fList1,eax mov eax,(TYPES ptr [edi]).flist+4 and fList2,eax mov eax,(TYPES ptr [edi]).flist+8 and fList3,eax mov eax,(TYPES ptr [edi]).flist+12 and fList4,eax mov ecx,8 pop eax .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw or eax,eax jne @b .elseif hCtl==-2 ;Version mov fList1,11000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00000000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-3 ;XP Manifest mov fList1,11000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00000100000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-4 ;Accelerator mov fList1,11000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00100000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-5 ;Stringtable mov fList1,00000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00100000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-6 ;Toolbar mov fList1,11001100000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00000000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-7 ;Menu mov fList1,11000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00100000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00100010000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-8 ;RCDATA mov fList1,11000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00100000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .elseif hCtl==-9 ;USERDATA mov fList1,11000000000000000000000000000000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW mov fList2,00000000000000000000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD mov fList3,00000000000000000000000000000000b ; SELHHFM mov fList4,00000000000000000000000000000000b ; mov nType,-2 .else invoke GetCtrlMem,hCtl mov esi,eax mov eax,[esi].DIALOG.ntype mov nType,eax invoke GetTypePtr,nType push (TYPES ptr [eax]).flist pop fList1 push (TYPES ptr [eax]).flist+4 pop fList2 push (TYPES ptr [eax]).flist+8 pop fList3 push (TYPES ptr [eax]).flist+12 pop fList4 .if fSimpleProperty and fList1,11111110000110000000000001001000b ; NILTWHCBSMMEVCSDAAMWMTLCSTFMCNAW and fList2,00110000000000011000000000000000b ; SFSTFSGIUSOSMHTxxIIBPOTTAWAATWDD and fList3,00001000000000000000000000000000b ; SELHHFM and fList4,00000000000000000000000000000000b ; .endif .endif invoke strcpy,addr buffer,addr PrAll mov nInx,0 @@: invoke GetStrItem,addr buffer,addr buffer1 xor eax,eax mov al,buffer1[0] or al,al je @f shl fList4,1 rcl fList3,1 rcl fList2,1 rcl fList1,1 .if CARRY? invoke strlen,addr buffer1 lea edi,buffer1[eax] mov ax,09h stosw dec edi mov eax,nType mov edx,nInx mov lbid,0 .if edx==0 ;(Name) mov lbid,PRP_STR_NAME push eax .if eax==-2 mov eax,lpResName .else lea eax,[esi].DIALOG.idname .endif invoke strcpy,edi,eax pop eax .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax invoke strcmp,addr [esi].DIALOG.idname,addr [ebx].DIALOG.idname .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .else .if eax==4 ;Button mov lbid,PRP_STR_NAMEBTN .elseif eax==2 || eax==17 || eax==25 ;Static, Image and Shape mov lbid,PRP_STR_NAMESTC .endif .endif .elseif edx==1 ;(ID) mov lbid,PRP_NUM_ID .if eax==-2 mov eax,lpResID mov eax,[eax] .else mov eax,[esi].DIALOG.id .endif invoke ResEdBinToDec,eax,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.id sub eax,[ebx].DIALOG.id .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==2 ;Left mov lbid,PRP_NUM_POSL invoke ResEdBinToDec,[esi].DIALOG.dux,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.dux sub eax,[ebx].DIALOG.dux .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==3 ;Top mov lbid,PRP_NUM_POST invoke ResEdBinToDec,[esi].DIALOG.duy,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.duy sub eax,[ebx].DIALOG.duy .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==4 ;Width mov lbid,PRP_NUM_SIZEW .if hCtl==-6 mov eax,lpResWidth mov eax,[eax] invoke ResEdBinToDec,eax,edi .else invoke ResEdBinToDec,[esi].DIALOG.duccx,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.duccx sub eax,[ebx].DIALOG.duccx .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .endif .elseif edx==5 ;Height mov lbid,PRP_NUM_SIZEH .if hCtl==-6 mov eax,lpResHeight mov eax,[eax] invoke ResEdBinToDec,eax,edi .else invoke ResEdBinToDec,[esi].DIALOG.duccy,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.duccy sub eax,[ebx].DIALOG.duccy .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .endif .elseif edx==6 ;Caption mov lbid,PRP_STR_CAPTION push eax invoke strcpy,edi,addr [esi].DIALOG.caption pop eax .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax invoke strcmp,addr [esi].DIALOG.caption,addr [ebx].DIALOG.caption .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .else .if eax==1 ;Edit mov eax,[esi].DIALOG.style test eax,ES_MULTILINE .if !ZERO? mov lbid,PRP_STR_CAPMULTI .endif .elseif eax==2 ;Static mov lbid,PRP_STR_CAPMULTI .elseif eax==4 ;Button mov eax,[esi].DIALOG.style test eax,BS_MULTILINE .if !ZERO? mov lbid,PRP_STR_CAPMULTI .endif .elseif eax==22 ;RichEdit mov eax,[esi].DIALOG.style test eax,ES_MULTILINE .if !ZERO? mov lbid,PRP_STR_CAPMULTI .endif .endif .endif .elseif edx==7 ;Border mov lbid,PRP_MULTI_BORDER .if eax==0 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr BordDlg,edi .elseif eax==2 || eax==17 || eax==25 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr BordStc,edi .elseif eax==3 || eax==4 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr BordBtn,edi .else invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr BordAll,edi .endif .elseif edx==8 ;SysMenu mov lbid,PRP_BOOL_SYSMENU invoke ListFalseTrue,[esi].DIALOG.style,addr SysMDlg,edi .elseif edx==9 ;MaxButton mov lbid,PRP_BOOL_MAXBUTTON invoke ListFalseTrue,[esi].DIALOG.style,addr MaxBDlg,edi .elseif edx==10 ;MinButton mov lbid,PRP_BOOL_MINBUTTON invoke ListFalseTrue,[esi].DIALOG.style,addr MinBDlg,edi .elseif edx==11 ;Enabled mov lbid,PRP_BOOL_ENABLED invoke ListFalseTrue,[esi].DIALOG.style,addr EnabAll,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.style and eax,WS_DISABLED mov edx,[ebx].DIALOG.style and edx,WS_DISABLED sub eax,edx .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==12 ;Visible mov lbid,PRP_BOOL_VISIBLE invoke ListFalseTrue,[esi].DIALOG.style,addr VisiAll,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.style and eax,WS_VISIBLE mov edx,[ebx].DIALOG.style and edx,WS_VISIBLE sub eax,edx .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==13 ;Clipping mov lbid,PRP_MULTI_CLIP invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr ClipAll,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.style and eax,WS_CLIPCHILDREN or WS_CLIPSIBLINGS mov edx,[ebx].DIALOG.style and edx,WS_CLIPCHILDREN or WS_CLIPSIBLINGS sub eax,edx .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==14 ;ScrollBar mov lbid,PRP_MULTI_SCROLL invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr ScroAll,edi .elseif edx==15 ;Default mov lbid,PRP_BOOL_DEFAULT invoke ListFalseTrue,[esi].DIALOG.style,addr DefaBtn,edi .elseif edx==16 ;Auto mov lbid,PRP_BOOL_AUTO .if eax==5 invoke ListFalseTrue,[esi].DIALOG.style,addr AutoChk,edi .elseif eax==6 invoke ListFalseTrue,[esi].DIALOG.style,addr AutoRbt,edi .elseif eax==16 invoke ListFalseTrue,[esi].DIALOG.style,addr AutoSpn,edi .endif .elseif edx==17 ;Alignment mov lbid,PRP_MULTI_ALIGN .if eax==1 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligEdt,edi .elseif eax==2 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligStc,edi .elseif eax==4 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligBtn,edi .elseif eax==5 || eax==6 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligChk,edi .elseif eax==11 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligTab,edi .elseif eax==14 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligLsv,edi .elseif eax==16 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligSpn,edi .elseif eax==17 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligIco,edi .elseif eax==18 || eax==19 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligTbr,edi .elseif eax==27 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AligAni,edi .endif .elseif edx==18 ;Mnemonic mov lbid,PRP_BOOL_MNEMONIC invoke ListFalseTrue,[esi].DIALOG.style,addr MnemStc,edi .elseif edx==19 ;WordWrap mov lbid,PRP_BOOL_WORDWRAP invoke ListFalseTrue,[esi].DIALOG.style,addr WordStc,edi .elseif edx==20 ;MultiLine mov lbid,PRP_BOOL_MULTI .if eax==1 || eax==22 invoke ListFalseTrue,[esi].DIALOG.style,addr MultEdt,edi .elseif eax==4 || eax==5 || eax==6 invoke ListFalseTrue,[esi].DIALOG.style,addr MultBtn,edi .elseif eax==11 invoke ListFalseTrue,[esi].DIALOG.style,addr MultTab,edi .endif .elseif edx==21 ;Type mov lbid,PRP_MULTI_TYPE .if eax==1 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeEdt,edi .elseif eax==4 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeBtn,edi .elseif eax==7 || eax==24 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeCbo,edi .elseif eax==13 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeTrv,edi .elseif eax==14 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeLsv,edi .elseif eax==17 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeImg,edi .elseif eax==20 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeDtp,edi .elseif eax==25 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr TypeStc,edi .endif .elseif edx==22 ;Locked mov lbid,PRP_BOOL_LOCK invoke ListFalseTrue,[esi].DIALOG.style,addr LockEdt,edi .elseif edx==23 ;Child mov lbid,PRP_BOOL_CHILD invoke ListFalseTrue,[esi].DIALOG.style,addr ChilAll,edi .elseif edx==24 ;SizeBorder mov lbid,PRP_BOOL_SIZE .if eax==0 invoke ListFalseTrue,[esi].DIALOG.style,addr SizeDlg,edi .endif .elseif edx==25 ;TabStop mov lbid,PRP_BOOL_TABSTOP invoke ListFalseTrue,[esi].DIALOG.style,addr TabSAll,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.style and eax,WS_TABSTOP mov edx,[ebx].DIALOG.style and edx,WS_TABSTOP sub eax,edx .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==26 ;Font mov lbid,PRP_STR_FONT sub esi,sizeof DLGHEAD .if byte ptr (DLGHEAD ptr [esi]).font mov eax,(DLGHEAD ptr [esi]).fontsize invoke ResEdBinToDec,eax,edi invoke strlen,edi lea edi,[edi+eax] mov ax,' ,' stosw .endif invoke strcpy,edi,addr (DLGHEAD ptr [esi]).font add esi,sizeof DLGHEAD .elseif edx==27 ;Menu mov lbid,PRP_STR_MENU sub esi,sizeof DLGHEAD invoke strcpy,edi,addr (DLGHEAD ptr [esi]).menuid add esi,sizeof DLGHEAD .elseif edx==28 ;Class mov lbid,PRP_STR_CLASS .if eax==0 sub esi,sizeof DLGHEAD invoke strcpy,edi,addr (DLGHEAD ptr [esi]).class add esi,sizeof DLGHEAD .elseif eax==23 invoke strcpy,edi,addr (DIALOG ptr [esi]).class .endif .elseif edx==29 ;Notify mov lbid,PRP_BOOL_NOTIFY .if eax==2 || eax==17 || eax==25 invoke ListFalseTrue,[esi].DIALOG.style,addr NotiStc,edi .elseif eax==4 || eax==5 || eax==6 invoke ListFalseTrue,[esi].DIALOG.style,addr NotiBtn,edi .elseif eax==8 invoke ListFalseTrue,[esi].DIALOG.style,addr NotiLst,edi .endif .elseif edx==30 ;AutoScroll .if eax==1 || eax==22 mov lbid,PRP_MULTI_AUTOSCROLL invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr AutoEdt,edi .elseif eax==7 mov lbid,PRP_BOOL_AUTOSCROLL invoke ListFalseTrue,[esi].DIALOG.style,addr AutoCbo,edi .endif .elseif edx==31 ;WantCr mov lbid,PRP_BOOL_WANTCR invoke ListFalseTrue,[esi].DIALOG.style,addr WantEdt,edi ;**** .elseif edx==32 ;Sort mov lbid,PRP_BOOL_SORT .if eax==7 invoke ListFalseTrue,[esi].DIALOG.style,addr SortCbo,edi .elseif eax==8 invoke ListFalseTrue,[esi].DIALOG.style,addr SortLst,edi .elseif eax==14 mov lbid,PRP_MULTI_SORT invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr SortLsv,edi .endif .elseif edx==33 ;Flat mov lbid,PRP_BOOL_FLAT invoke ListFalseTrue,[esi].DIALOG.style,addr FlatTbr,edi .elseif edx==34 ;(StartID) mov lbid,PRP_NUM_STARTID .if hCtl==-7 mov eax,lpResStartID mov eax,[eax] invoke ResEdBinToDec,eax,edi .else sub esi,sizeof DLGHEAD invoke ResEdBinToDec,(DLGHEAD ptr [esi]).ctlid,edi add esi,sizeof DLGHEAD .endif .elseif edx==35 ;TabIndex mov lbid,PRP_NUM_TAB invoke ResEdBinToDec,[esi].DIALOG.tab,edi .elseif edx==36 ;Format mov lbid,PRP_MULTI_FORMAT invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr FormDtp,edi .elseif edx==37 ;SizeGrip mov lbid,PRP_BOOL_SIZE .if eax==19 invoke ListFalseTrue,[esi].DIALOG.style,addr SizeSbr,edi .endif .elseif edx==38 ;Group mov lbid,PRP_BOOL_GROUP invoke ListFalseTrue,[esi].DIALOG.style,addr GrouAll,edi .elseif edx==39 ;Icon mov lbid,PRP_BOOL_ICON .elseif edx==40 ;UseTabs mov lbid,PRP_BOOL_USETAB invoke ListFalseTrue,[esi].DIALOG.style,addr UseTLst,edi .elseif edx==41 ;StartupPos mov lbid,PRP_MULTI_STARTPOS invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr StarDlg,edi .elseif edx==42 ;Orientation mov lbid,PRP_MULTI_ORIENT .if eax==12 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr OriePgb,edi .elseif eax==16 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr OrieUdn,edi .endif .elseif edx==43 ;SetBuddy mov lbid,PRP_BOOL_SETBUDDY invoke ListFalseTrue,[esi].DIALOG.style,addr SetBUdn,edi .elseif edx==44 ;MultiSelect mov lbid,PRP_BOOL_MULTI .if eax==8 invoke ListFalseTrue,[esi].DIALOG.style,addr MultLst,edi .elseif eax==21 invoke ListFalseTrue,[esi].DIALOG.style,addr MultMvi,edi .endif .elseif edx==45 ;HideSel mov lbid,PRP_BOOL_HIDE .if eax==1 || eax==22 invoke ListFalseTrue,[esi].DIALOG.style,addr HideEdt,edi .elseif eax==13 invoke ListFalseTrue,[esi].DIALOG.style,addr HideTrv,edi .elseif eax==14 invoke ListFalseTrue,[esi].DIALOG.style,addr HideLsv,edi .endif .elseif edx==46 ;TopMost mov lbid,PRP_BOOL_TOPMOST invoke ListFalseTrue,[esi].DIALOG.exstyle,addr TopMost,edi .elseif edx==47 ;xExStyle mov lbid,PRP_FUN_EXSTYLE mov eax,[esi].DIALOG.exstyle invoke hexEax invoke strcpy,edi,addr strHex .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.exstyle sub eax,[ebx].DIALOG.exstyle .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==48 ;xStyle mov lbid,PRP_FUN_STYLE mov eax,[esi].DIALOG.style invoke hexEax invoke strcpy,edi,addr strHex .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.style sub eax,[ebx].DIALOG.style .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==49 ;IntegralHgt mov lbid,PRP_BOOL_INTEGRAL .if eax==7 invoke ListFalseTrue,[esi].DIALOG.style,addr IntHtCbo,edi .elseif eax==8 invoke ListFalseTrue,[esi].DIALOG.style,addr IntHtLst,edi .endif .elseif edx==50 ;Image mov lbid,PRP_STR_IMAGE invoke strcpy,edi,addr [esi].DIALOG.caption .elseif edx==51 ;Buttons mov lbid,PRP_BOOL_BUTTON .if eax==11 invoke ListFalseTrue,[esi].DIALOG.style,addr ButtTab,edi .elseif eax==13 invoke ListFalseTrue,[esi].DIALOG.style,addr ButtTrv,edi .elseif eax==32 invoke ListFalseTrue,[esi].DIALOG.style,addr ButtHdr,edi .endif .elseif edx==52 ;PopUp mov lbid,PRP_BOOL_POPUP invoke ListFalseTrue,[esi].DIALOG.style,addr PopUAll,edi .elseif edx==53 ;OwnerDraw mov lbid,PRP_BOOL_OWNERDRAW .if eax==14 invoke ListFalseTrue,[esi].DIALOG.style,addr OwneLsv,edi .elseif eax==7 || eax==8 mov lbid,PRP_MULTI_OWNERDRAW invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr OwneCbo,edi .endif .elseif edx==54 ;Transp mov lbid,PRP_BOOL_TRANSP invoke ListFalseTrue,[esi].DIALOG.style,addr TranAni,edi .elseif edx==55 ;Timer mov lbid,PRP_BOOL_TIME invoke ListFalseTrue,[esi].DIALOG.style,addr TimeAni,edi .elseif edx==56 ;AutoPlay mov lbid,PRP_BOOL_AUTOPLAY .if eax==27 invoke ListFalseTrue,[esi].DIALOG.style,addr AutoAni,edi .endif .elseif edx==57 ;WeekNum mov lbid,PRP_BOOL_WEEK invoke ListFalseTrue,[esi].DIALOG.style,addr WeekMvi,edi .elseif edx==58 ;AviClip mov lbid,PRP_STR_AVI invoke strcpy,edi,addr [esi].DIALOG.caption .elseif edx==59 ;AutoSize mov lbid,PRP_BOOL_AUTOSIZE .if eax==18 || eax==19 invoke ListFalseTrue,[esi].DIALOG.style,addr AutoTbr,edi .endif .elseif edx==60 ;ToolTip mov lbid,PRP_BOOL_TOOLTIP .if eax==11 invoke ListFalseTrue,[esi].DIALOG.style,addr ToolTab,edi .elseif eax==18 invoke ListFalseTrue,[esi].DIALOG.style,addr ToolTbr,edi .elseif eax==19 invoke ListFalseTrue,[esi].DIALOG.style,addr ToolSbr,edi .endif .elseif edx==61 ;Wrap mov lbid,PRP_BOOL_WRAP invoke ListFalseTrue,[esi].DIALOG.style,addr WrapTbr,edi .elseif edx==62 ;Divider mov lbid,PRP_BOOL_DIVIDER invoke ListFalseTrue,[esi].DIALOG.style,addr DiviTbr,edi .elseif edx==63 ;DragDrop mov lbid,PRP_BOOL_DRAGDROP invoke ListFalseTrue,[esi].DIALOG.style,addr DragHdr,edi .elseif edx==64 ;Smooth mov lbid,PRP_BOOL_SMOOTH invoke ListFalseTrue,[esi].DIALOG.style,addr SmooPgb,edi .elseif edx==65 ;Ellipsis mov lbid,PRP_MULTI_ELLIPSIS invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,addr ElliStc,edi .elseif edx==66 ;Language mov lbid,PRP_FUN_LANG .if hCtl==-4 || hCtl==-5 || hCtl==-7 || hCtl==-8 mov esi,lpResLang mov eax,[esi].LANGUAGEMEM.lang invoke ResEdBinToDec,eax,edi invoke strlen,edi lea edi,[edi+eax] mov byte ptr [edi],',' inc edi mov eax,[esi].LANGUAGEMEM.sublang invoke ResEdBinToDec,eax,edi .else sub esi,sizeof DLGHEAD mov eax,(DLGHEAD ptr [esi]).lang invoke ResEdBinToDec,eax,edi invoke strlen,edi lea edi,[edi+eax] mov byte ptr [edi],',' inc edi mov eax,(DLGHEAD ptr [esi]).sublang invoke ResEdBinToDec,eax,edi add esi,sizeof DLGHEAD .endif .elseif edx==67 ;HasStrings mov lbid,PRP_BOOL_HASSTRINGS .if eax==7 invoke ListFalseTrue,[esi].DIALOG.style,addr HasStcb,edi .elseif eax==8 invoke ListFalseTrue,[esi].DIALOG.style,addr HasStlb,edi .endif .elseif edx==68 ;HelpID mov lbid,PRP_NUM_HELPID invoke ResEdBinToDec,[esi].DIALOG.helpid,edi .if hMultiSel mov eax,hMultiSel .while eax push eax invoke GetParent,eax invoke GetCtrlMem,eax mov ebx,eax mov eax,[esi].DIALOG.helpid sub eax,[ebx].DIALOG.helpid .if eax mov byte ptr [edi],0 .endif pop eax mov ecx,8 .while ecx push ecx invoke GetWindowLong,eax,GWL_USERDATA pop ecx dec ecx .endw .endw .endif .elseif edx==69 ;File mov lbid,PRP_STR_FILE .if eax==-2 invoke strcpy,edi,lpResFile .endif .elseif edx==70 ;MenuEx mov lbid,PRP_BOOL_MENUEX .if eax==-2 mov eax,lpResMenuEx mov eax,[eax] invoke ListFalseTrue,eax,addr MenuEx,edi .endif .elseif edx==71 ;SaveSel mov lbid,PRP_BOOL_SAVESEL invoke ListFalseTrue,[esi].DIALOG.style,addr SaveRich,edi .elseif eax>=NoOfButtons ;Custom properties invoke GetCustProp,eax,edx mov lbid,eax .if eax .if dword ptr [eax]==1 invoke ListFalseTrue,[esi].DIALOG.style,[eax+4],edi .elseif dword ptr [eax]==2 invoke ListFalseTrue,[esi].DIALOG.exstyle,[eax+4],edi .elseif dword ptr [eax]==3 invoke ListMultiStyle,[esi].DIALOG.style,[esi].DIALOG.exstyle,[eax+4],edi .endif .endif .endif invoke SendMessage,hPrpLstDlg,LB_ADDSTRING,0,addr buffer1 invoke SendMessage,hPrpLstDlg,LB_SETITEMDATA,eax,lbid .endif Nxt: inc nInx jmp @b @@: invoke SendMessage,hPrpLstDlg,LB_SETTOPINDEX,tInx,0 .if hCtl==-2 || hCtl==-3 || hCtl==-4 || hCtl==-5 || hCtl==-6 || hCtl==-7 || hCtl==-8 || hCtl==-9 invoke SendMessage,hPrpCboDlg,CB_RESETCONTENT,0,0 invoke SendMessage,hPrpCboDlg,CB_ADDSTRING,0,lpResType invoke SendMessage,hPrpCboDlg,CB_SETCURSEL,0,0 .else invoke GetWindowLong,hDEd,DEWM_MEMORY .if eax invoke UpdateCbo,eax invoke GetWindowLong,hCtl,GWL_ID invoke SetCbo,eax .endif .endif .endif invoke SetFocus,hDEd invoke SendMessage,hPrpLstDlg,LB_FINDSTRING,-1,addr szLbString .if eax==LB_ERR xor eax,eax .endif invoke SendMessage,hPrpLstDlg,LB_SETCURSEL,eax,0 invoke SendMessage,hPrpLstDlg,WM_SETREDRAW,TRUE,0 ret PropertyList endp PrpCboDlgProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL nInx:DWORD mov eax,uMsg .if eax==WM_COMMAND mov eax,wParam shr eax,16 .if eax==CBN_SELCHANGE invoke SendMessage,hWin,CB_GETCURSEL,0,0 mov nInx,eax invoke SendMessage,hWin,CB_GETITEMDATA,nInx,0 .if !eax invoke GetWindowLong,hDEd,DEWM_DIALOG .else push eax invoke GetWindowLong,hDEd,DEWM_DIALOG pop edx invoke GetDlgItem,eax,edx .endif .if eax invoke SizeingRect,eax,FALSE push eax invoke ShowWindow,hInvisible,SW_HIDE invoke ShowWindow,hInvisible,SW_SHOWNA pop eax .endif .endif .endif invoke CallWindowProc,OldPrpCboDlgProc,hWin,uMsg,wParam,lParam ret PrpCboDlgProc endp PrpLstDlgProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL nInx:DWORD LOCAL rect:RECT LOCAL hCtl:DWORD LOCAL lbid:DWORD LOCAL lf:LOGFONT LOCAL hDC:DWORD LOCAL cf:CHOOSEFONT LOCAL buffer[MAX_PATH]:BYTE LOCAL ofn:OPENFILENAME mov eax,uMsg .if eax==WM_LBUTTONDBLCLK invoke SendMessage,hWin,LB_GETCURSEL,0,0 mov nInx,eax invoke SendMessage,hWin,LB_GETITEMDATA,nInx,0 mov lbid,eax .if (eax>=PRP_BOOL_SYSMENU && eax<=499) || eax>65535 || eax==PRP_STR_NAMEBTN || eax==PRP_STR_NAMESTC invoke SendMessage,hWin,WM_SETREDRAW,FALSE,0 invoke SendMessage,hWin,WM_COMMAND,1,0 invoke ShowWindow,hPrpLstDlgCld,SW_HIDE invoke ShowWindow,hPrpEdtDlgCld,SW_HIDE invoke SendMessage,hPrpLstDlgCld,LB_GETCURSEL,0,0 inc eax mov nInx,eax invoke SendMessage,hPrpLstDlgCld,LB_GETCOUNT,0,0 .if eax==nInx mov nInx,0 .endif invoke SendMessage,hPrpLstDlgCld,LB_SETCURSEL,nInx,0 invoke SendMessage,hPrpLstDlgCld,WM_LBUTTONUP,0,0 invoke SendMessage,hWin,WM_SETREDRAW,TRUE,0 invoke SetFocus,hWin .elseif eax==PRP_STR_FONT || eax==PRP_STR_MENU || eax==1003 || eax==1004 || eax==PRP_STR_IMAGE || eax==PRP_STR_AVI || eax==PRP_FUN_LANG || eax==PRP_STR_CAPMULTI || eax==PRP_STR_FILE invoke SendMessage,hWin,WM_COMMAND,1,0 .else invoke PropListSetPos invoke ShowWindow,hPrpEdtDlgCld,SW_SHOW invoke SetFocus,hPrpEdtDlgCld invoke SendMessage,hPrpEdtDlgCld,EM_SETSEL,0,-1 .endif xor eax,eax ret .elseif eax==WM_LBUTTONDOWN invoke ShowWindow,hPrpLstDlgCld,SW_HIDE .elseif eax==WM_MOUSEMOVE .if hStatus invoke SendMessage,hStatus,SB_SETTEXT,nStatus,offset szNULL .endif .elseif eax==WM_COMMAND mov edx,wParam movzx eax,dx shr edx,16 .if edx==BN_CLICKED && eax==1 invoke GetWindowLong,hPrpLstDlgCld,GWL_STYLE and eax,WS_VISIBLE .if eax invoke ShowWindow,hPrpLstDlgCld,SW_HIDE .else invoke SendMessage,hWin,LB_GETCURSEL,0,0 .if eax!=LB_ERR mov nInx,eax invoke GetWindowLong,hWin,GWL_USERDATA mov hCtl,eax invoke SendMessage,hWin,LB_GETITEMDATA,nInx,0 mov lbid,eax .if eax==PRP_STR_FONT ;Font invoke RtlZeroMemory,addr lf,sizeof lf invoke GetCtrlMem,hCtl mov esi,eax sub esi,sizeof DLGHEAD invoke strcpy,addr lf.lfFaceName,addr [esi].DLGHEAD.font mov eax,[esi].DLGHEAD.fontsize mov ecx,96 mul ecx mov ecx,72 xor edx,edx div ecx neg eax mov lf.lfHeight,eax mov al,[esi].DLGHEAD.charset mov lf.lfCharSet,al mov al,[esi].DLGHEAD.italic mov lf.lfItalic,al movzx eax,word ptr [esi].DLGHEAD.weight mov lf.lfWeight,eax mov cf.lStructSize,sizeof CHOOSEFONT invoke GetDC,hWin mov hDC, eax mov cf.hDC,eax push hWin pop cf.hWndOwner lea eax,lf mov cf.lpLogFont,eax mov cf.iPointSize,0 mov cf.Flags,CF_SCREENFONTS or CF_INITTOLOGFONTSTRUCT mov cf.rgbColors,0 mov cf.lCustData,0 mov cf.lpfnHook,0 mov cf.lpTemplateName,0 mov cf.hInstance,0 mov cf.lpszStyle,0 mov cf.nFontType,0 mov cf.Alignment,0 mov cf.nSizeMin,0 mov cf.nSizeMax,0 invoke ChooseFont,addr cf push eax invoke ReleaseDC,hWin,hDC pop eax .if eax .if !fSizeToFont mov eax,cf.iPointSize mov ecx,10 xor edx,edx div ecx invoke DlgResize,esi,addr [esi].DLGHEAD.font,[esi].DLGHEAD.fontsize,addr lf.lfFaceName,eax .endif mov al,lf.lfItalic mov [esi].DLGHEAD.italic,al mov al,lf.lfCharSet mov [esi].DLGHEAD.charset,al mov eax,lf.lfWeight mov [esi].DLGHEAD.weight,ax mov eax,cf.iPointSize mov ecx,10 xor edx,edx div ecx mov [esi].DLGHEAD.fontsize,eax invoke strcpy,addr [esi].DLGHEAD.font,addr lf.lfFaceName invoke MakeDialog,esi,0 invoke SetChanged,TRUE .endif .elseif eax==PRP_STR_MENU ;Dialog Memu invoke SendMessage,hWin,LB_GETITEMRECT,nInx,addr rect mov ecx,nPropHt add rect.top,ecx mov edx,nPropWt add edx,1 add rect.left,edx mov eax,rect.left sub rect.right,eax invoke PropTxtLst,hCtl,lbid invoke SetTxtLstPos,addr rect .elseif eax==PRP_FUN_EXSTYLE ;xExStyle mov StyleEx,TRUE invoke GetCtrlMem,hCtl invoke DialogBoxParam,hInstance,IDD_DLGSTYLEMANA,hWin,addr StyleManaDialogProc,eax .elseif eax==PRP_FUN_STYLE ;xStyle mov StyleEx,FALSE invoke GetCtrlMem,hCtl invoke DialogBoxParam,hInstance,IDD_DLGSTYLEMANA,hWin,addr StyleManaDialogProc,eax .elseif eax==PRP_STR_IMAGE ;Image invoke SendMessage,hWin,LB_GETITEMRECT,nInx,addr rect mov ecx,nPropHt add rect.top,ecx mov edx,nPropWt add edx,1 add rect.left,edx mov eax,rect.left sub rect.right,eax invoke PropTxtLst,hCtl,lbid invoke SetTxtLstPos,addr rect .elseif eax==PRP_STR_AVI ;Avi invoke SendMessage,hWin,LB_GETITEMRECT,nInx,addr rect mov ecx,nPropHt add rect.top,ecx mov edx,nPropWt add edx,1 add rect.left,edx mov eax,rect.left sub rect.right,eax invoke PropTxtLst,hCtl,lbid invoke SetTxtLstPos,addr rect .elseif eax==PRP_STR_CAPMULTI ;Multiline caption invoke SendMessage,hWin,LB_GETITEMRECT,nInx,addr rect mov eax,nPropHt add rect.top,eax mov eax,nPropWt inc eax add rect.left,eax mov eax,rect.left sub rect.right,eax invoke GetCtrlMem,hCtl mov esi,eax invoke ConvertCaption,addr lbtxtbuffer,addr (DIALOG ptr [esi]).caption invoke SetWindowText,hPrpEdtDlgCldMulti,addr lbtxtbuffer mov eax,nPropHt shl eax,3 invoke SetWindowPos,hPrpEdtDlgCldMulti,HWND_TOP,rect.left,rect.top,rect.right,eax,0 invoke ShowWindow,hPrpEdtDlgCldMulti,SW_SHOWNA invoke SetFocus,hPrpEdtDlgCldMulti ;jmp Ex .elseif eax==PRP_FUN_LANG ;Language .if hCtl==-4 || hCtl==-5 || hCtl==-7 || hCtl==-8 invoke DialogBoxParam,hInstance,IDD_LANGUAGE,hPrj,offset LanguageEditProc2,lpResLang .else invoke GetCtrlMem,hCtl mov esi,eax sub esi,sizeof DLGHEAD invoke DialogBoxParam,hInstance,IDD_LANGUAGE,hPrj,offset LanguageEditProc2,addr [esi].DLGHEAD.lang .if [esi+DLGHEAD].DIALOG.idname invoke lstrcpy,addr buffer,addr [esi+DLGHEAD].DIALOG.idname .else mov edx,[esi+DLGHEAD].DIALOG.id invoke ResEdBinToDec,edx,addr buffer .endif invoke GetWindowLong,hDEd,DEWM_PROJECT mov edx,eax invoke SetProjectItemName,edx,addr buffer .endif .if eax invoke PropertyList,hCtl .if hCtl==-4 || hCtl==-5 || hCtl==-7 || hCtl==-8 invoke SendMessage,hRes,PRO_SETMODIFY,TRUE,0 .else invoke SetChanged,TRUE .endif .endif .elseif eax==PRP_STR_FILE ;File ;Setup the ofn struct invoke RtlZeroMemory,addr ofn,sizeof ofn mov ofn.lStructSize,sizeof ofn mov eax,offset szFilterManifest mov ofn.lpstrFilter,eax invoke strcpy,addr buffer,lpResFile push hWin pop ofn.hwndOwner push hInstance pop ofn.hInstance mov ofn.lpstrInitialDir,offset szProjectPath lea eax,buffer mov ofn.lpstrFile,eax mov ofn.nMaxFile,sizeof buffer mov ofn.lpstrDefExt,NULL mov ofn.Flags,OFN_FILEMUSTEXIST or OFN_HIDEREADONLY or OFN_PATHMUSTEXIST ;Show the Open dialog invoke GetOpenFileName,addr ofn .if eax invoke RemovePath,addr buffer,addr szProjectPath invoke strcpy,lpResFile,eax invoke PropertyList,hCtl invoke SendMessage,hRes,PRO_SETMODIFY,TRUE,0 .endif .else invoke SendMessage,hWin,LB_GETITEMRECT,nInx,addr rect mov ecx,nPropHt add rect.top,ecx mov edx,nPropWt add edx,1 add rect.left,edx mov eax,rect.left sub rect.right,eax invoke PropTxtLst,hCtl,lbid invoke SetTxtLstPos,addr rect .endif .endif .endif .endif .elseif eax==WM_CHAR .if wParam==VK_RETURN invoke SendMessage,hWin,WM_LBUTTONDBLCLK,0,0 .elseif wParam==VK_TAB invoke SetFocus,hDEd invoke SendMessage,hDEd,WM_KEYDOWN,VK_TAB,0 .endif .elseif eax==WM_DRAWITEM push esi mov esi,lParam invoke GetWindowLong,[esi].DRAWITEMSTRUCT.hwndItem,GWL_USERDATA .if eax<1000 || eax>65535 || eax==PRP_STR_MENU || eax==PRP_STR_IMAGE || eax==PRP_STR_AVI mov edx,DFCS_SCROLLDOWN mov eax,[esi].DRAWITEMSTRUCT.itemState and eax,ODS_FOCUS or ODS_SELECTED .if eax==ODS_FOCUS or ODS_SELECTED mov edx,DFCS_SCROLLDOWN or DFCS_PUSHED .endif invoke DrawFrameControl,[esi].DRAWITEMSTRUCT.hdc,addr [esi].DRAWITEMSTRUCT.rcItem,DFC_SCROLL,edx .else mov edx,DFCS_BUTTONPUSH mov eax,[esi].DRAWITEMSTRUCT.itemState and eax,ODS_FOCUS or ODS_SELECTED .if eax==ODS_FOCUS or ODS_SELECTED mov edx,DFCS_BUTTONPUSH or DFCS_PUSHED .endif invoke DrawFrameControl,[esi].DRAWITEMSTRUCT.hdc,addr [esi].DRAWITEMSTRUCT.rcItem,DFC_BUTTON,edx invoke SetBkMode,[esi].DRAWITEMSTRUCT.hdc,TRANSPARENT invoke DrawText,[esi].DRAWITEMSTRUCT.hdc,addr szDots,3,addr [esi].DRAWITEMSTRUCT.rcItem,DT_CENTER or DT_SINGLELINE .endif pop esi .elseif eax==WM_KEYDOWN mov edx,wParam mov eax,lParam shr eax,16 and eax,3FFh .if edx==2Eh && (eax==153h || eax==53h) invoke SendMessage,hWin,LB_GETCURSEL,0,0 .if eax!=LB_ERR invoke SendMessage,hWin,LB_GETITEMDATA,eax,0 .if eax==PRP_STR_FONT invoke GetWindowLong,hWin,GWL_USERDATA mov hCtl,eax invoke GetCtrlMem,hCtl sub eax,sizeof DLGHEAD mov esi,eax mov [esi].DLGHEAD.font,0 mov [esi].DLGHEAD.fontsize,0 .endif .endif .endif .elseif eax==WM_VSCROLL invoke ShowWindow,hPrpBtnDlgCld,SW_HIDE invoke ShowWindow,hPrpLstDlgCld,SW_HIDE invoke ShowWindow,hPrpEdtDlgCld,SW_HIDE .elseif eax==WM_CTLCOLORLISTBOX invoke SetBkColor,wParam,color.back invoke SetTextColor,wParam,color.text mov eax,hBrBack jmp Ex .elseif eax==WM_CTLCOLOREDIT invoke SetBkColor,wParam,color.back invoke SetTextColor,wParam,color.text mov eax,hBrBack jmp Ex .endif invoke CallWindowProc,OldPrpLstDlgProc,hWin,uMsg,wParam,lParam Ex: assume esi:nothing ret PrpLstDlgProc endp PrpEdtDlgCldProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL nInx:DWORD LOCAL buffer[512]:BYTE LOCAL hCtl:HWND mov eax,uMsg .if eax==WM_KILLFOCUS invoke PropEditUpdList,0 .elseif eax==WM_CHAR .if wParam==VK_RETURN || wParam==VK_TAB invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 mov nInx,eax invoke SetFocus,hDEd invoke SendMessage,hPrpLstDlg,LB_SETCURSEL,nInx,0 invoke PropListSetPos .if wParam==VK_RETURN invoke SetFocus,hPrpLstDlg .else invoke SendMessage,hDEd,WM_KEYDOWN,VK_TAB,0 .endif xor eax,eax ret .endif .elseif eax==WM_KEYUP invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 mov edx,eax invoke SendMessage,hPrpLstDlg,LB_GETTEXT,edx,addr buffer .if dword ptr buffer=='tpaC' push esi invoke GetWindowText,hWin,addr buffer,sizeof buffer invoke ConvertCaption,addr buffer,addr buffer invoke GetWindowLong,hPrpLstDlg,GWL_USERDATA mov hCtl,eax invoke SetWindowText,hCtl,addr buffer pop esi .endif .endif invoke CallWindowProc,OldPrpEdtDlgCldProc,hWin,uMsg,wParam,lParam ret PrpEdtDlgCldProc endp PrpEdtDlgCldMultiProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL nInx:DWORD LOCAL buffer[256]:BYTE LOCAL buffer1[256]:BYTE LOCAL hCtl:HWND mov eax,uMsg .if eax==WM_KILLFOCUS invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 push eax invoke PropEditUpdList,0 pop eax invoke SendMessage,hPrpLstDlg,LB_SETCURSEL,eax,0 invoke PropListSetPos invoke SetFocus,hDEd .elseif eax==WM_CHAR .if wParam==VK_RETURN invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 mov nInx,eax invoke SetFocus,hRes invoke SendMessage,hPrpLstDlg,LB_SETCURSEL,nInx,0 invoke PropListSetPos invoke SetFocus,hPrpLstDlg xor eax,eax ret .endif .elseif eax==WM_KEYUP invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 mov edx,eax invoke SendMessage,hPrpLstDlg,LB_GETTEXT,edx,addr buffer .if dword ptr buffer=='tpaC' push esi invoke GetWindowText,hWin,addr buffer,sizeof buffer invoke GetWindowLong,hPrpLstDlg,GWL_USERDATA mov hCtl,eax invoke SetWindowText,hCtl,addr buffer invoke DeConvertCaption,addr buffer1,addr buffer invoke SetWindowText,hPrpEdtDlgCld,addr buffer1 pop esi .endif .endif invoke CallWindowProc,OldPrpEdtDlgCldMultiProc,hWin,uMsg,wParam,lParam Ex: ret PrpEdtDlgCldMultiProc endp PrpLstDlgCldProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL nInx:DWORD LOCAL buffer[512]:BYTE mov eax,uMsg .if eax==WM_LBUTTONUP invoke SendMessage,hWin,LB_GETCURSEL,0,0 .if eax!=LB_ERR mov nInx,eax invoke SendMessage,hPrpLstDlg,LB_GETCURSEL,0,0 push eax invoke SendMessage,hWin,LB_GETTEXT,nInx,addr buffer invoke SetWindowText,hPrpEdtDlgCld,addr buffer invoke SendMessage,hWin,LB_GETITEMDATA,nInx,0 invoke PropEditUpdList,eax pop nInx invoke SendMessage,hPrpLstDlg,LB_SETCURSEL,nInx,0 invoke PropListSetPos invoke SetFocus,hDEd .endif xor eax,eax ret .elseif uMsg==WM_CHAR .if wParam==13 invoke SendMessage,hWin,WM_LBUTTONUP,0,0 xor eax,eax ret .endif .endif invoke CallWindowProc,OldPrpLstDlgCldProc,hWin,uMsg,wParam,lParam ret PrpLstDlgCldProc endp Do_Property proc hWin:HWND invoke CreateWindowEx,0,addr szComboBoxClass,NULL,WS_CHILD or WS_VISIBLE or WS_CLIPCHILDREN or WS_CLIPSIBLINGS or CBS_DROPDOWNLIST or WS_VSCROLL or CBS_SORT,0,0,0,0,hWin,0,hInstance,0 mov hPrpCboDlg,eax invoke SetWindowLong,hPrpCboDlg,GWL_WNDPROC,addr PrpCboDlgProc mov OldPrpCboDlgProc,eax invoke CreateWindowEx,WS_EX_CLIENTEDGE,addr szListBoxClass,NULL,WS_CHILD or WS_VISIBLE or WS_VSCROLL or WS_CLIPCHILDREN or WS_CLIPSIBLINGS or LBS_HASSTRINGS or LBS_NOINTEGRALHEIGHT or LBS_USETABSTOPS or LBS_SORT or LBS_OWNERDRAWFIXED or LBS_NOTIFY,0,0,0,0,hWin,0,hInstance,0 mov hPrpLstDlg,eax invoke SetWindowLong,hWin,0,eax invoke SetWindowLong,hPrpLstDlg,GWL_WNDPROC,addr PrpLstDlgProc mov OldPrpLstDlgProc,eax invoke CreateWindowEx,0,addr szEditClass,NULL,WS_CHILD or WS_CLIPCHILDREN or WS_CLIPSIBLINGS or ES_AUTOHSCROLL or ES_MULTILINE,0,0,0,0,hPrpLstDlg,0,hInstance,0 mov hPrpEdtDlgCld,eax invoke SetWindowLong,hPrpEdtDlgCld,GWL_WNDPROC,addr PrpEdtDlgCldProc mov OldPrpEdtDlgCldProc,eax invoke CreateWindowEx,0,addr szEditClass,NULL,WS_CHILD or WS_CLIPCHILDREN or WS_CLIPSIBLINGS or WS_BORDER or ES_AUTOHSCROLL or ES_AUTOVSCROLL or ES_MULTILINE or ES_WANTRETURN,0,0,0,0,hPrpLstDlg,0,hInstance,0 mov hPrpEdtDlgCldMulti,eax invoke SetWindowLong,hPrpEdtDlgCldMulti,GWL_WNDPROC,addr PrpEdtDlgCldMultiProc mov OldPrpEdtDlgCldMultiProc,eax invoke CreateWindowEx,0,addr szListBoxClass,NULL,WS_CHILD or WS_VSCROLL or WS_CLIPCHILDREN or WS_CLIPSIBLINGS or WS_BORDER or LBS_HASSTRINGS,0,0,0,0,hPrpLstDlg,0,hInstance,0 mov hPrpLstDlgCld,eax invoke SetWindowLong,hPrpLstDlgCld,GWL_WNDPROC,addr PrpLstDlgCldProc mov OldPrpLstDlgCldProc,eax invoke CreateWindowEx,0,addr szButtonClass,NULL,WS_CHILD or WS_CLIPCHILDREN or WS_CLIPSIBLINGS or BS_OWNERDRAW,0,0,0,0,hPrpLstDlg,1,hInstance,0 mov hPrpBtnDlgCld,eax ret Do_Property endp
30.307645
276
0.674376
feeaf6692c0f2e0c2e4deb92a4ad1c853e2bd58a
584
asm
Assembly
oeis/079/A079429.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/079/A079429.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/079/A079429.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A079429: a(0) = 2, a(1) = 3, a(2) = 5; a(n) = a(n-1) + [a(n-1)-a(n-2)] * [a(n-2)-a(n-3)]. ; 2,3,5,7,11,19,51,307,8499,2105651,17181974835,36028814200938803,618970019678718951650500915,22300745198530623760505737951367313156481331,13803492693581127574869511746854796103432841704846511061692361604079923,307828173409331868845930000782371982852185476854003995674473617090181448194618061334515659962799465136163385254195 lpb $0 sub $0,1 mov $2,$0 max $2,0 seq $2,301 ; a(n) = a(n-1)*a(n-2) with a(0) = 1, a(1) = 2; also a(n) = 2^Fibonacci(n). add $3,$2 lpe mov $0,$3 add $0,2
44.923077
325
0.719178
ecea2fda2c4d8e7c3690e8e893c542e5a1abfbc1
3,012
asm
Assembly
programs/oeis/010/A010806.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/010/A010806.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/010/A010806.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A010806: 18th powers: a(n) = n^18. ; 0,1,262144,387420489,68719476736,3814697265625,101559956668416,1628413597910449,18014398509481984,150094635296999121,1000000000000000000,5559917313492231481,26623333280885243904,112455406951957393129,426878854210636742656,1477891880035400390625,4722366482869645213696,14063084452067724991009,39346408075296537575424,104127350297911241532841,262144000000000000000000,630880792396715529789561,1457498964228107529355264,3244150909895248285300369,6979147079584381377970176,14551915228366851806640625,29479510200013918864408576,58149737003040059690390169,111903730358193158266814464,210457284365172120330305161,387420489000000000000000000,699053619999045038539170241,1237940039285380274899124224,2154025884392726618070214209,3686553210602841700043063296,6211904899255558013916015625,10314424798490535546171949056,16890053810563300749953435929,27296360116495644500385071104,43567528752021332753202420081,68719476736000000000000000000,107178930967531784356353269521,165381614442044595841154678784,252599333573498060811820806649,382074608478613020175306326016,572565594852444156646728515625,850434696123579966501779931136,1252453015827223091648143056289,1829541532030568071946613817344,2651730845859653471779023381601,3814697265625000000000000000000,5448327055268375077134227383401,7727876721872448746791521746944,10888439761782913818722623349689,15243604656924933407477640462336,21209401372879911350250244140625,29334891491018187280695810850816,40341068970691068873250369779249,55170114352623680311867516125184,75047496554032956760519149093721,101559956668416000000000000000000,136753052840548005895349735207881,183252712161029662582812243656704,244416145091043012544965789715329,324518553658426726783156020576256,428983333404378483310699462890625,564664961438246926567398233604096,740195513856780056217081017732809,966407804840271334616088784666624,1256850531901412029467480469860441,1628413597910449000000000000000000,2102085018129621311776010144838961,2703864574375502950215699413336064,3465863721549107204083472585375569,4427626266116305911795793508171776,5637710113660432398319244384765625,7155577026378634231908944079486976,9053844956548482455683535816644969,11420966257169880253255495209713664,14364405059580771582276370834385761,18014398509481984000000000000000000,22528399544939174411840147874772641,28096313679552652078311871485313024,34946659039493167390823397237402409,43353797936295338532183652115152896,53646409805556201900516510009765625,66217399700291075653453953538195456,81535464022367037427533666993843729,100158566165017531560835501527138304,122749609618842355502421774953773681,150094635296999121000000000000000000,183123913839120657539940631629904921,222936352980619746738642598267715584,270827695297250208363869180422467849,328323043381011570137010813347823616,397214318458218542224277496337890625,479603335372621236652373132533825536,577951262543040979328274795306257089,695135330857032999706040305346412544,834513761450087614416078625185528201 pow $0,18
602.4
2,963
0.959495
f2c8d3d84962059a8e297df2fa8c74c8b709cc9b
855
asm
Assembly
programs/oeis/231/A231151.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/231/A231151.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/231/A231151.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A231151: Least integer k such that n+1 + ... + n+k > 1 + ... + n. ; 2,2,2,3,3,4,4,4,5,5,6,6,7,7,7,8,8,9,9,9,10,10,11,11,11,12,12,13,13,14,14,14,15,15,16,16,16,17,17,18,18,19,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,26,26,26,27,27,28,28,28,29,29,30,30,31,31,31,32,32,33,33,33,34,34,35,35,36,36,36,37,37,38,38,38,39,39,40,40,40,41,41,42,42,43 mov $7,$0 mov $9,$0 add $9,1 lpb $9 mov $0,$7 sub $9,1 sub $0,$9 mov $3,2 mov $11,$0 lpb $3 mov $0,$11 sub $3,1 add $0,$3 add $0,1 mov $2,$0 pow $0,2 add $0,$2 mov $6,$5 lpb $0 add $6,1 sub $0,$6 trn $0,1 mov $10,3 mul $10,$6 lpe mov $4,$10 mov $8,$3 lpb $8 sub $8,1 mov $12,$4 lpe lpe lpb $11 mov $11,0 sub $12,$4 lpe mov $4,$12 sub $4,3 div $4,3 add $1,$4 lpe mov $0,$1
18.586957
281
0.490058
75bb0306101cc4ce4f560044c7b3240a34f3cfad
390
asm
Assembly
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_seek_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_seek_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_seek_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; ulong esxdos_f_seek(uchar handle, ulong dist, uchar whence) SECTION code_clib SECTION code_esxdos PUBLIC _esxdos_f_seek_callee PUBLIC l0_esxdos_f_seek_callee EXTERN asm_esxdos_f_seek _esxdos_f_seek_callee: pop hl dec sp pop af pop de pop bc dec sp ex (sp),hl l0_esxdos_f_seek_callee: ld l,h push iy call asm_esxdos_f_seek pop iy ret
12.580645
61
0.720513
515add465d1f7b01315bab1f108f25b2ab4d8bfb
265,368
asm
Assembly
roms/CCD-OSX.asm
isene/hp-41_GEIR.ROM
d5998226dad76b2e81a7dc1a56e486c7d128fd19
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2019-09-22T20:41:45.000Z
2021-02-18T00:55:54.000Z
roms/CCD-OSX.asm
isene/hp-41_GEIR.ROM
d5998226dad76b2e81a7dc1a56e486c7d128fd19
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
roms/CCD-OSX.asm
isene/hp-41_GEIR.ROM
d5998226dad76b2e81a7dc1a56e486c7d128fd19
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
;:LISTING GENERATED: 1/26/2018 12:22:16 by MLDL Manager version 1.70.0 by MLDL Manager version ;:OPEN FILE: Z:\home\geir\Dropbox\Cur\0_HP-41CL\2_AMASTRO\CCD-OSX.ROM .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP LB_A073: .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x0BF ; .NAME "B?" ;B?: .con 0x3B5 ; GSB41C LB_AD51 AD51 ; GSUBNC 23ED, address in 4th Quad B?: RXQ LB_AD51 ; .con 0x08C ; ; .con 0x151 ; .con 0x070 ; N=C .con 0x284 ; ST=0 7 .con 0x045 ; GOLNC XX$0? 1611 ; HP41 SYSTEM ROM 1 .con 0x05A ; ; .con 0x127 ; GOC +24 LB_A0B1 A0B1 goc LB_A0B1 .con 0x082 ; .con 0x00C ; .NAME "CLB" ;CLB: .con 0x3B5 ; GSB41C LB_AD51 AD51 ; GSUBNC 23ED, address in 4th Quad CLB: RXQ LB_AD51 ; .con 0x08C ; ; .con 0x151 ; .con 0x2EE ; ?C#0 ALL .con 0x3A0 ; RTNNC .con 0x05E ; C=0 MS .con 0x2F0 ; DATA=C .con 0x04E ; C=0 ALL .con 0x270 ; DADD=C .con 0x051 ; GOLNC PKIOAS 2114 ; HP41 SYSTEM ROM 2 .con 0x086 ; .con 0x000 ; NOP ; .con 0x123 ; GONC +24 LB_A0C1 A0C1 gonc LB_A0C1 .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x122 ; A=A+B @R .con 0x140 ; ENROM3 .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x160 ; ?LLD .con 0x126 ; A=A+B S&X ; .con 0x23B ; GONC -39 LB_A073 A073 gonc LB_A073 ; .con 0x15F ; GOC +2B LB_A0D8 A0D8 goc LB_A0D8 .con 0x200 ; HPIL=C 0 .con 0x15C ; PT= 6 ; .con 0x17B ; GONC +2F LB_A0DF A0DF gonc LB_A0DF LB_A0B1: .con 0x101 ; GOLNC 4040 .con 0x102 ; ; .con 0x103 ; GONC +20 LB_A0D3 A0D3 gonc LB_A0D3 .con 0x104 ; ST=0 8 .con 0x105 ; GOLNC 4141 .con 0x106 ; ; .con 0x107 ; GOC +20 LB_A0D7 A0D7 goc LB_A0D7 .con 0x108 ; ST=1 8 .con 0x109 ; GOLC 8742 .con 0x21F ; .con 0x000 ; NOP .con 0x128 ; REGN=C ( 4)L .con 0x10C ; ST=1? 8 .con 0x129 ; GSUBC 484A .con 0x121 ; .con 0x000 ; NOP LB_A0C1: .con 0x161 ; GOLNC 5858 .con 0x162 ; ; .con 0x163 ; GONC +2C LB_A0EF A0EF gonc LB_A0EF .con 0x164 ; SELPF 5 ; Peripheral 5: HP-IL .con 0x165 ; GOLNC 5959 .con 0x166 ; ; .con 0x167 ; GOC +2C LB_A0F3 A0F3 goc LB_A0F3 .con 0x168 ; REGN=C ( 5)M .con 0x169 ; GOLNC 5A5A .con 0x16A ; ; .con 0x16B ; GONC +2D LB_A0F8 A0F8 gonc LB_A0F8 .con 0x16C ; FLG=1? 6 ; ?IFCR, HP-IL Interface Clear .con 0x16D ; GOLNC 5B5B .con 0x16E ; ; .con 0x16F ; GOC +2D LB_A0FC A0FC goc LB_A0FC .con 0x170 ; STK=C .con 0x171 ; GOLNC 5C5C .con 0x172 ; ;LB_A0D3: .con 0x173 ; GONC +2E LB_A101 A101 LB_A0D3: gonc LB_A101 .con 0x174 ; UNDEF174 .con 0x175 ; GOLNC 5D5D .con 0x176 ; ;LB_A0D7: .con 0x177 ; GOC +2E LB_A105 A105 LB_A0D7: goc LB_A105 LB_A0D8: .con 0x178 ; C=REGN ( 5)M .con 0x179 ; GOLNC 5E5E .con 0x17A ; .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP LB_A0DF: .con 0x000 ; NOP .con 0x000 ; NOP ; .con 0x10F ; GOC +21 LB_A102 A102 goc LB_A102 .con 0x10E ; A=C ALL .con 0x10A ; A=C R<- ; .con 0x15B ; GONC +2B LB_A10F A10F gonc LB_A10F _DATA: .con 0x15D ; .DATA 15D .con 0x090 ; .con 0x013 ; .con 0x002 ; .NAME "ABSP" ABSP: .con 0x31C ; PT= 1 .con 0x238 ; C=REGN ( 8)P .con 0x0EA ; BCEX R<- .con 0x17C ; RCR 6 .con 0x04A ; C=0 R<- LB_A0EF: .con 0x0FC ; RCR 10 .con 0x228 ; REGN=C ( 8)P .con 0x1F8 ; C=REGN ( 7)O .con 0x0EA ; BCEX R<- LB_A0F3: .con 0x23C ; RCR 2 .con 0x1E8 ; REGN=C ( 7)O .con 0x1B8 ; C=REGN ( 6)N .con 0x0EA ; BCEX R<- .con 0x23C ; RCR 2 LB_A0F8: .con 0x1A8 ; REGN=C ( 6)N .con 0x178 ; C=REGN ( 5)M .con 0x0EA ; BCEX R<- .con 0x23C ; RCR 2 LB_A0FC: .con 0x168 ; REGN=C ( 5)M .con 0x3E0 ; RTN ; .con 0x11B ; GONC +23 LB_A121 A121 gonc LB_A121 ; .con 0x17F ; GOC +2F LB_A12E A12E goc LB_A12E .con 0x30C ; ST=1? 1 ;LB_A101: .con 0x023 ; GONC +04 LB_A105 A105 LB_A101: gonc LB_A105 LB_A102: .con 0x130 ; LDI 02E .con 0x02E ; ; .con 0x033 ; GONC +06 LB_A10A A10A gonc LB_A10A LB_A105: .con 0x3B8 ; C=REGN (14)d .con 0x3D8 ; CSTEX .con 0x288 ; ST=1 7 .con 0x144 ; ST=0 6 .con 0x3D8 ; CSTEX LB_A10A: .con 0x3E8 ; REGN=C (15)e .con 0x3E0 ; RTN LB_A10C: .con 0x384 ; ST=0 0 .con 0x278 ; C=REGN ( 9)Q .con 0x106 ; A=C S&X LB_A10F: .con 0x33C ; RCR 1 ; .con 0x073 ; GONC +0E LB_A11E A11E gonc LB_A11E LB_A111: .con 0x3E6 ; ASL S&X .con 0x3E6 ; ASL S&X .con 0x166 ; A=A+1 S&X .con 0x166 ; A=A+1 S&X .con 0x388 ; ST=1 0 .con 0x304 ; ST=0 1 ; .con 0x033 ; GONC +06 LB_A11D A11D gonc LB_A11D LB_A118: .con 0x308 ; ST=1 1 ; .con 0x013 ; GONC +02 LB_A11B A11B gonc LB_A11B LB_A11A: .con 0x304 ; ST=0 1 LB_A11B: .con 0x384 ; ST=0 0 .con 0x016 ; A=0 XS LB_A11D: .con 0x04E ; C=0 ALL LB_A11E: .con 0x0AE ; ACEX ALL .con 0x106 ; A=C S&X .con 0x3EE ; ASL ALL LB_A121: .con 0x116 ; A=C XS .con 0x39C ; PT= 0 .con 0x102 ; A=C @R .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x0AE ; ACEX ALL .con 0x268 ; REGN=C ( 9)Q LB_A128: .con 0x278 ; C=REGN ( 9)Q .con 0x10E ; A=C ALL .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x086 ; B=A S&X .con 0x38E ; ASR ALL LB_A12E: .con 0x39C ; PT= 0 LB_A12F: .con 0x322 ; ?A<B @R .con 0x3E9 ; GSUBNC GSB768 23FA ; HP41 SYSTEM ROM 2 .con 0x08C ; .con 0x130 ; LDI 01F .con 0x01F ; LB_A134: .con 0x3E8 ; REGN=C (15)e .con 0x1A2 ; A=A-1 @R ; .con 0x3F3 ; GONC -02 LB_A134 A134 gonc LB_A134 .con 0x062 ; ABEX @R .con 0x082 ; B=A @R .con 0x1B6 ; A=A-1 XS ; .con 0x3AB ; GONC -0B LB_A12F A12F gonc LB_A12F .con 0x31C ; PT= 1 .con 0x3D8 ; CSTEX .con 0x010 ; LC 0 .con 0x3D8 ; CSTEX .con 0x204 ; ST=0 2 .con 0x004 ; ST=0 3 .con 0x398 ; C=ST .con 0x058 ; G=C .con 0x141 ; GSUBNC NEXT 0E50 ; HP41 SYSTEM ROM 0 .con 0x038 ; .con 0x208 ; ST=1 2 .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x278 ; C=REGN ( 9)Q .con 0x01C ; PT= 3 .con 0x10A ; A=C R<- .con 0x08A ; B=A R<- .con 0x38A ; ASR R<- .con 0x39C ; PT= 0 .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x130 ; LDI 020 .con 0x020 ; LB_A152: .con 0x322 ; ?A<B @R ; .con 0x027 ; GOC +04 LB_A157 A157 goc LB_A157 .con 0x30C ; ST=1? 1 ; .con 0x013 ; GONC +02 LB_A157 A157 gonc LB_A157 .con 0x3A8 ; REGN=C (14)d LB_A157: .con 0x1B6 ; A=A-1 XS ; .con 0x03F ; GOC +07 LB_A15F A15F goc LB_A15F LB_A159: .con 0x3A8 ; REGN=C (14)d .con 0x1A2 ; A=A-1 @R ; .con 0x3F3 ; GONC -02 LB_A159 A159 gonc LB_A159 .con 0x062 ; ABEX @R .con 0x082 ; B=A @R ; .con 0x3A3 ; GONC -0C LB_A152 A152 gonc LB_A152 LB_A15F: .con 0x0E6 ; BCEX S&X .con 0x30C ; ST=1? 1 ; .con 0x037 ; GOC +06 LB_A167 A167 goc LB_A167 .con 0x3B8 ; C=REGN (14)d .con 0x3D8 ; CSTEX .con 0x284 ; ST=0 7 .con 0x3D8 ; CSTEX .con 0x3E8 ; REGN=C (15)e LB_A167: .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x3D8 ; CSTEX .con 0x0A6 ; ACEX S&X .con 0x215 ; GSUBNC RSTSQ 0385 ; HP41 SYSTEM ROM 0 .con 0x00C ; .con 0x0A6 ; ACEX S&X .con 0x3D8 ; CSTEX .con 0x278 ; C=REGN ( 9)Q .con 0x106 ; A=C S&X .con 0x33C ; RCR 1 .con 0x31C ; PT= 1 .con 0x102 ; A=C @R .con 0x366 ; ?A#C S&X ; .con 0x16F ; GOC +2D LB_A1A2 A1A2 goc LB_A1A2 .con 0x04E ; C=0 ALL .con 0x0F0 ; CNEX .con 0x106 ; A=C S&X .con 0x20C ; ST=1? 2 ; .con 0x03B ; GONC +07 LB_A181 A181 gonc LB_A181 .con 0x3E0 ; RTN LB_A17C: .con 0x148 ; ST=1 6 LB_A17D: .con 0x1B0 ; C=STK .con 0x23A ; C=C+1 M .con 0x23A ; C=C+1 M .con 0x1E0 ; GOTOC LB_A181: .con 0x38C ; ST=1? 0 ; .con 0x103 ; GONC +20 LB_A1A2 A1A2 gonc LB_A1A2 .con 0x130 ; LDI 120 .con 0x120 ; .con 0x366 ; ?A#C S&X ; .con 0x3BB ; GONC -09 LB_A17D A17D gonc LB_A17D .con 0x130 ; LDI 030 .con 0x030 ; .con 0x366 ; ?A#C S&X ; .con 0x393 ; GONC -0E LB_A17C A17C gonc LB_A17C .con 0x08C ; ST=1? 5 ; .con 0x387 ; GOC -10 LB_A17C A17C goc LB_A17C .con 0x30C ; ST=1? 1 ; .con 0x043 ; GONC +08 LB_A196 A196 gonc LB_A196 .con 0x28C ; ST=1? 7 ; .con 0x093 ; GONC +12 LB_A1A2 A1A2 gonc LB_A1A2 .con 0x304 ; ST=0 1 .con 0x278 ; C=REGN ( 9)Q .con 0x090 ; LC 2 .con 0x090 ; LC 2 ; .con 0x04B ; GONC +09 LB_A19E A19E gonc LB_A19E LB_A196: .con 0x130 ; LDI 210 .con 0x210 ; .con 0x366 ; ?A#C S&X ; .con 0x04F ; GOC +09 LB_A1A2 A1A2 goc LB_A1A2 .con 0x308 ; ST=1 1 .con 0x278 ; C=REGN ( 9)Q .con 0x050 ; LC 1 .con 0x050 ; LC 1 LB_A19E: .con 0x268 ; REGN=C ( 9)Q ;LB_A19F: .con 0x369 ; GOL41C LB_A128 A128 ; GSUBNC 0FDA, address in same Quad LB_A19F: RGO LB_A128 ; .con 0x03C ; ; .con 0x128 ; LB_A1A2: .con 0x39C ; PT= 0 .con 0x20C ; ST=1? 2 ; .con 0x133 ; GONC +26 LB_A1CA A1CA gonc LB_A1CA .con 0x204 ; ST=0 2 .con 0x278 ; C=REGN ( 9)Q .con 0x106 ; A=C S&X .con 0x33C ; RCR 1 .con 0x3DA ; CSR M .con 0x026 ; B=0 S&X .con 0x222 ; C=C+1 @R .con 0x362 ; ?A#C @R ; .con 0x017 ; GOC +02 LB_A1AF A1AF goc LB_A1AF .con 0x088 ; ST=1 5 LB_A1AF: .con 0x302 ; ?A<C @R ; .con 0x01B ; GONC +03 LB_A1B3 A1B3 gonc LB_A1B3 .con 0x042 ; C=0 @R .con 0x236 ; C=C+1 XS LB_A1B3: .con 0x2FC ; RCR 13 .con 0x268 ; REGN=C ( 9)Q .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x2C6 ; ?B#0 S&X ; .con 0x047 ; GOC +08 LB_A1C0 A1C0 goc LB_A1C0 .con 0x3B8 ; C=REGN (14)d .con 0x30C ; ST=1? 1 ; .con 0x053 ; GONC +0A LB_A1C5 A1C5 gonc LB_A1C5 .con 0x08C ; ST=1? 5 ; .con 0x043 ; GONC +08 LB_A1C5 A1C5 gonc LB_A1C5 .con 0x3B8 ; C=REGN (14)d ; .con 0x033 ; GONC +06 LB_A1C5 A1C5 gonc LB_A1C5 LB_A1C0: .con 0x08C ; ST=1? 5 .con 0x3E9 ; GSUBC GSB768 23FA ; HP41 SYSTEM ROM 2 .con 0x08D ; .con 0x0E6 ; BCEX S&X .con 0x3E8 ; REGN=C (15)e LB_A1C5: .con 0x20C ; ST=1? 2 ; .con 0x157 ; GOC +2A LB_A1F0 A1F0 goc LB_A1F0 .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; ; .con 0x2B3 ; GONC -2A LB_A19F A19F gonc LB_A19F LB_A1CA: .con 0x04E ; C=0 ALL .con 0x130 ; LDI 093 .con 0x093 ; .con 0x00C ; ST=1? 3 ; .con 0x057 ; GOC +0A LB_A1D8 A1D8 goc LB_A1D8 .con 0x23C ; RCR 2 .con 0x30C ; ST=1? 1 ; .con 0x273 ; GONC -32 LB_A19F A19F gonc LB_A19F .con 0x04C ; ST=1? 4 ; .con 0x263 ; GONC -34 LB_A19F A19F gonc LB_A19F .con 0x15E ; A=A+C MS ; .con 0x257 ; GOC -36 LB_A19F A19F goc LB_A19F .con 0x37E ; ?A#C MS ; .con 0x243 ; GONC -38 LB_A19F A19F gonc LB_A19F LB_A1D8: .con 0x25E ; C=A-C MS .con 0x2FC ; RCR 13 .con 0x056 ; C=0 XS .con 0x0E6 ; BCEX S&X .con 0x278 ; C=REGN ( 9)Q .con 0x33C ; RCR 1 .con 0x0AE ; ACEX ALL .con 0x3FA ; ASL M .con 0x0AE ; ACEX ALL .con 0x07C ; RCR 4 .con 0x0BE ; ACEX MS .con 0x27C ; RCR 9 .con 0x106 ; A=C S&X .con 0x33C ; RCR 1 .con 0x362 ; ?A#C @R ; .con 0x017 ; GOC +02 LB_A1E9 A1E9 goc LB_A1E9 .con 0x088 ; ST=1 5 LB_A1E9: .con 0x262 ; C=C-1 @R ; .con 0x24B ; GONC -37 LB_A1B3 A1B3 gonc LB_A1B3 .con 0x0A2 ; ACEX @R .con 0x276 ; C=C-1 XS ; .con 0x233 ; GONC -3A LB_A1B3 A1B3 gonc LB_A1B3 .con 0x208 ; ST=1 2 ; .con 0x223 ; GONC -3C LB_A1B3 A1B3 gonc LB_A1B3 LB_A1F0: .con 0x1B0 ; C=STK .con 0x23A ; C=C+1 M .con 0x23A ; C=C+1 M .con 0x23A ; C=C+1 M .con 0x170 ; STK=C LB_A1F5: .con 0x3DD ; GSUBNC LEFTJ 2BF7 ; HP41 SYSTEM ROM 2 .con 0x0AC ; LB_A1F7: .con 0x108 ; ST=1 8 .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x130 ; LDI 240 .con 0x240 ; .con 0x1E6 ; C=C+C S&X LB_A1FD: .con 0x3C8 ; RSTKB .con 0x3CC ; CHKKB .con 0x26D ; GOLNC RST05 009B ; HP41 SYSTEM ROM 0 .con 0x002 ; .con 0x266 ; C=C-1 S&X ; .con 0x3DB ; GONC -05 LB_A1FD A1FD gonc LB_A1FD .con 0x104 ; ST=0 8 .con 0x1B1 ; GSUBNC MSGA 1C6C ; 1C6C: display message "NULL" .con 0x070 ; .con 0x03C ; .con 0x261 ; GSUBNC RSTKB 0098 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x171 ; GSUBNC ANNOUT 075C ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x215 ; GOLNC RSTSQ 0385 ; HP41 SYSTEM ROM 0 .con 0x00E ; LB_A20F: .con 0x0AE ; ACEX ALL .con 0x2FC ; RCR 13 .con 0x00E ; A=0 ALL .con 0x17E ; A=A+1 MS .con 0x17E ; A=A+1 MS .con 0x25C ; PT= 9 LB_A215: .con 0x046 ; C=0 S&X .con 0x2FC ; RCR 13 .con 0x3ED ; GSUBNC INTINT 02FB ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x3ED ; GSUBNC INTINT 02FB ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x106 ; A=C S&X .con 0x130 ; LDI 100 .con 0x100 ; .con 0x306 ; ?A<C S&X .con 0x0B5 ; GOLNC ERRDE 282D ; HP41 SYSTEM ROM 2 .con 0x0A2 ; .con 0x3E6 ; ASL S&X .con 0x3EA ; ASL R<- .con 0x3EA ; ASL R<- .con 0x1BE ; A=A-1 MS ; .con 0x383 ; GONC -10 LB_A215 A215 gonc LB_A215 .con 0x3EE ; ASL ALL .con 0x3E0 ; RTN .con 0x3A1 ; GSUBNC ERRSUB 22E8 ; HP41 SYSTEM ROM 2 .con 0x088 ; LB_A22A: .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; LB_A22C: .con 0x3BD ; GOLNC MESSL 07EF ; HP41 SYSTEM ROM 0 .con 0x01E ; .con 0x3BD ; GSUBNC MESSL 07EF ; 020 005 012 212 .con 0x01C ; .con 0x020 ; .con 0x005 ; .con 0x012 ; .con 0x212 ; LB_A234: .con 0x3DD ; GSUBNC LEFTJ 2BF7 ; HP41 SYSTEM ROM 2 .con 0x0AC ; .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x215 ; GSUBNC RSTSQ 0385 ; HP41 SYSTEM ROM 0 .con 0x00C ; LB_A23A: .con 0x108 ; ST=1 8 .con 0x201 ; GSUBNC MSG105 1C80 ; HP41 SYSTEM ROM 1 .con 0x070 ; .con 0x3ED ; GOLNC ERR110 22FB ; HP41 SYSTEM ROM 2 .con 0x08A ; LB_A23F: .con 0x3A1 ; GSUBNC ERRSUB 22E8 ; HP41 SYSTEM ROM 2 .con 0x088 ; ; .con 0x379 ; GSB41C LB_A22A A22A ; GSUBNC 0FDE, address in same Quad RXQ LB_A22A ; .con 0x03C ; ; .con 0x22A ; .con 0x00E ; A=0 ALL ; .con 0x00F ; GOC +01 LB_A246 A246 goc LB_A246 LB_A246: .con 0x220 ; C=KEYS ; .con 0x32B ; GONC -1B LB_A22C A22C gonc LB_A22C LB_A248: .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x01E ; A=0 MS .con 0x31C ; PT= 1 LB_A24C: .con 0x130 ; LDI 020 .con 0x020 ; .con 0x106 ; A=C S&X LB_A24F: .con 0x17E ; A=A+1 MS ; .con 0x097 ; GOC +12 LB_A262 A262 goc LB_A262 .con 0x3B8 ; C=REGN (14)d .con 0x36A ; ?A#C R<- ; .con 0x3E3 ; GONC -04 LB_A24F A24F gonc LB_A24F .con 0x1A6 ; A=A-1 S&X .con 0x36A ; ?A#C R<- ; .con 0x3B3 ; GONC -0A LB_A24C A24C gonc LB_A24C .con 0x3E8 ; REGN=C (15)e ; .con 0x053 ; GONC +0A LB_A262 A262 gonc LB_A262 LB_A259: .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x1B0 ; C=STK LB_A25C: .con 0x330 ; CXISA .con 0x3A8 ; REGN=C (14)d .con 0x23A ; C=C+1 M .con 0x2F6 ; ?C#0 XS ; .con 0x3E3 ; GONC -04 LB_A25C A25C gonc LB_A25C .con 0x170 ; STK=C LB_A262: .con 0x149 ; GOLNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x026 ; LB_A264: .con 0x378 ; C=REGN (13)c .con 0x1BC ; RCR 11 .con 0x1FE ; C=C+C MS ; .con 0x04B ; GONC +09 LB_A270 A270 gonc LB_A270 ; .con 0x379 ; GSB41C LB_A259 A259 ; GSUBNC 0FDE, address in same Quad RXQ LB_A259 ; .con 0x03C ; ;LB_A26A: .con 0x259 ; .con 0x020 ; SPOPND .con 0x00E ; A=0 ALL ; .con 0x013 ; GONC +02 LB_A26F A26F gonc LB_A26F .con 0x201 ; GSUBNC F880 LB_A26F: .con 0x3E0 ; ;LB_A270: .con 0x379 ; GSB41C LB_A259 A259 ; GSUBNC 0FDE, address in same Quad LB_A270: RXQ LB_A259 ; .con 0x03C ; ; .con 0x259 ; .con 0x020 ; SPOPND .con 0x011 ; GSUBC IOSERV 0104 ; HP41 SYSTEM ROM 0 .con 0x005 ; .con 0x218 ; UNDEF218 .con 0x3E0 ; RTN LB_A278: .con 0x39C ; PT= 0 .con 0x2C9 ; GSUBNC IAUNA 6DB2 ; Printer ROM .con 0x1B4 ; .con 0x3E0 ; RTN .con 0x001 ; GSUBNC PRTMSG 6400 ; Printer ROM .con 0x190 ; .con 0x041 ; GOLC 1410 .con 0x053 ; .con 0x04E ; C=0 ALL .con 0x120 ; ?P=Q ; .con 0x053 ; GONC +0A LB_A28C A28C gonc LB_A28C LB_A283: .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x104 ; ST=0 8 .con 0x39C ; PT= 0 .con 0x398 ; C=ST .con 0x058 ; G=C .con 0x2CD ; GSUBNC IAUALL 6DB3 ; Printer ROM .con 0x1B4 ; ; .con 0x02B ; GONC +05 LB_A290 A290 gonc LB_A290 LB_A28C: .con 0x2E5 ; GSUBNC PRTLCD 6BB9 ; Printer ROM .con 0x1AC ; .con 0x375 ; GSUBNC OUTPCT 63DD ; Printer ROM .con 0x18C ; LB_A290: .con 0x39C ; PT= 0 .con 0x098 ; C=G .con 0x358 ; ST=C .con 0x3E0 ; RTN LB_A294: .con 0x3F8 ; C=REGN (15)e .con 0x10E ; A=C ALL .con 0x2B8 ; C=REGN (10)+ .con 0x370 ; C=CORA .con 0x10E ; A=C ALL .con 0x04E ; C=0 ALL .con 0x29C ; PT= 7 .con 0x210 ; LC 8 .con 0x2AE ; C=-C-1 ALL .con 0x05C ; PT= 4 .con 0x04A ; C=0 R<- .con 0x3B0 ; C=C&A .con 0x2EE ; ?C#0 ALL .con 0x360 ; RTNC ; .con 0x379 ; GSB41C LB_A23F A23F ; GSUBNC 0FDE, address in same Quad RXQ LB_A23F ; .con 0x03C ; ; .con 0x23F ; ; .con 0x00B ; GONC +01 LB_A2A6 A2A6 gonc LB_A2A6 LB_A2A6: .con 0x005 ; GSUBC 0601 .con 0x019 ; ; .con 0x213 ; GONC -3E LB_A26A A26A gonc LB_A26A ; .con 0x06B ; GONC +0D LB_A2B6 A2B6 gonc LB_A2B6 LB_A2AA: .con 0x04E ; C=0 ALL .con 0x375 ; GSUBNC 72DD .con 0x1C8 ; .con 0x2EE ; ?C#0 ALL .con 0x360 ; RTNC ; .con 0x379 ; GSB41C LB_A23F A23F ; GSUBNC 0FDE, address in same Quad RXQ LB_A23F ; .con 0x03C ; ; .con 0x23F ; .con 0x008 ; ST=1 3 .con 0x010 ; LC 0 .con 0x009 ; GSUBNC 8302 .con 0x20C ; ;LB_A2B6: .con 0x369 ; GOL41C LB_A234 A234 ; GSUBNC 0FDA, address in same Quad LB_A2B6: RGO LB_A234 ; .con 0x03C ; ; .con 0x234 ; LB_A2B9: .con 0x238 ; C=REGN ( 8)P .con 0x37C ; RCR 12 .con 0x106 ; A=C S&X .con 0x166 ; A=A+1 S&X .con 0x304 ; ST=0 1 .con 0x201 ; GSUBNC GCPKC 2B80 ; HP41 SYSTEM ROM 2 .con 0x0AC ; .con 0x10E ; A=C ALL .con 0x00C ; ST=1? 3 ; .con 0x02B ; GONC +05 LB_A2C7 A2C7 gonc LB_A2C7 .con 0x204 ; ST=0 2 .con 0x319 ; GSUBNC TXTLB1 2FC6 ; HP41 SYSTEM ROM 2 .con 0x0BC ; ; .con 0x17B ; GONC +2F LB_A2F5 A2F5 gonc LB_A2F5 LB_A2C7: .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x01C ; PT= 3 .con 0x342 ; ?A#0 @R ; .con 0x027 ; GOC +04 LB_A2CF A2CF goc LB_A2CF .con 0x31D ; GSUBNC PROMFC 05C7 ; HP41 SYSTEM ROM 0 .con 0x014 ; ; .con 0x13B ; GONC +27 LB_A2F5 A2F5 gonc LB_A2F5 LB_A2CF: .con 0x04E ; C=0 ALL .con 0x20A ; C=A+C R<- .con 0x222 ; C=C+1 @R ; .con 0x063 ; GONC +0C LB_A2DE A2DE gonc LB_A2DE .con 0x3BD ; GSUBNC MESSL 07EF ; 014 005 018 014 220 .con 0x01C ; .con 0x014 ; .con 0x005 ; .con 0x018 ; .con 0x014 ; .con 0x220 ; .con 0x386 ; ASR S&X .con 0x386 ; ASR S&X .con 0x01E ; A=0 MS ; .con 0x0A3 ; GONC +14 LB_A2F1 A2F1 gonc LB_A2F1 LB_A2DE: .con 0x3D8 ; CSTEX .con 0x250 ; LC 9 .con 0x01C ; PT= 3 .con 0x362 ; ?A#C @R ; .con 0x0A7 ; GOC +14 LB_A2F6 A2F6 goc LB_A2F6 LB_A2E3: .con 0x28C ; ST=1? 7 ; .con 0x11B ; GONC +23 LB_A307 A307 gonc LB_A307 .con 0x38A ; ASR R<- .con 0x38A ; ASR R<- LB_A2E7: .con 0x31D ; GSUBNC PROMFC 05C7 ; HP41 SYSTEM ROM 0 .con 0x014 ; .con 0x3BD ; GSUBNC MESSL 07EF ; 009 220 .con 0x01C ; .con 0x009 ; .con 0x220 ; .con 0x284 ; ST=0 7 .con 0x04E ; C=0 ALL .con 0x3D8 ; CSTEX .con 0x10E ; A=C ALL LB_A2F1: .con 0x1D9 ; GSUBNC ROW936 0476 ; HP41 SYSTEM ROM 0 .con 0x010 ; .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; ;LB_A2F5: .con 0x133 ; GONC +26 LB_A31B A31B LB_A2F5: gonc LB_A31B LB_A2F6: .con 0x222 ; C=C+1 @R .con 0x362 ; ?A#C @R ; .con 0x07F ; GOC +0F LB_A307 A307 goc LB_A307 .con 0x1F6 ; C=C+C XS ; .con 0x12B ; GONC +25 LB_A31F A31F gonc LB_A31F .con 0x1F6 ; C=C+C XS ; .con 0x33B ; GONC -19 LB_A2E3 A2E3 gonc LB_A2E3 .con 0x1F6 ; C=C+C XS ; .con 0x32B ; GONC -1B LB_A2E3 A2E3 gonc LB_A2E3 .con 0x130 ; LDI 0E0 .con 0x0E0 ; .con 0x28C ; ST=1? 7 ; .con 0x01F ; GOC +03 LB_A305 A305 goc LB_A305 .con 0x130 ; LDI 0D0 .con 0x0D0 ; LB_A305: .con 0x106 ; A=C S&X ; .con 0x30B ; GONC -1F LB_A2E7 A2E7 gonc LB_A2E7 LB_A307: .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x184 ; ST=0 11 .con 0x0CC ; ST=1? 10 ; .con 0x013 ; GONC +02 LB_A30D A30D gonc LB_A30D .con 0x188 ; ST=1 11 LB_A30D: .con 0x0C4 ; ST=0 10 .con 0x04E ; C=0 ALL .con 0x206 ; C=A+C S&X .con 0x23C ; RCR 2 .con 0x130 ; LDI 00A .con 0x00A ; .con 0x0AA ; ACEX R<- .con 0x07C ; RCR 4 .con 0x268 ; REGN=C ( 9)Q .con 0x235 ; GSUBNC DF100 058D ; HP41 SYSTEM ROM 0 .con 0x014 ; .con 0x18C ; ST=1? 11 ; .con 0x013 ; GONC +02 LB_A31B A31B gonc LB_A31B .con 0x0C8 ; ST=1 10 ;LB_A31B: .con 0x379 ; GSB41C LB_A248 A248 ; GSUBNC 0FDE, address in same Quad LB_A31B: RXQ LB_A248 ; .con 0x03C ; ; .con 0x248 ; ; .con 0x10B ; GONC +21 LB_A33F A33F gonc LB_A33F LB_A31F: .con 0x0A6 ; ACEX S&X .con 0x001 ; GSUBNC GTRMAD 0800 ; HP41 SYSTEM ROM 0 .con 0x020 ; ; .con 0x0D3 ; GONC +1A LB_A33C A33C gonc LB_A33C .con 0x0AE ; ACEX ALL .con 0x1BC ; RCR 11 .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x00C ; ST=1? 3 ; .con 0x08B ; GONC +11 LB_A339 A339 gonc LB_A339 .con 0x23A ; C=C+1 M .con 0x23A ; C=C+1 M .con 0x330 ; CXISA .con 0x106 ; A=C S&X .con 0x1A6 ; A=A-1 S&X .con 0x03C ; RCR 3 .con 0x22E ; C=C+1 ALL .con 0x0EE ; BCEX ALL .con 0x3BD ; GSUBNC MESSL 07EF ; 207 .con 0x01C ; .con 0x207 ; .con 0x3F8 ; C=REGN (15)e .con 0x104 ; ST=0 8 .con 0x3D5 ; GSUBNC TXTROM 04F5 ; HP41 SYSTEM ROM 0 .con 0x010 ; ; .con 0x31B ; GONC -1D LB_A31B A31B gonc LB_A31B LB_A339: .con 0x34D ; GSUBNC PROMF2 05D3 ; HP41 SYSTEM ROM 0 .con 0x014 ; ; .con 0x303 ; GONC -20 LB_A31B A31B gonc LB_A31B LB_A33C: .con 0x1B1 ; GSUBNC XROMNF 2F6C ; HP41 SYSTEM ROM 2 .con 0x0BC ; ; .con 0x2EB ; GONC -23 LB_A31B A31B gonc LB_A31B LB_A33F: .con 0x238 ; C=REGN ( 8)P .con 0x1BC ; RCR 11 .con 0x070 ; N=C .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; ; .con 0x143 ; GONC +28 LB_A36C A36C gonc LB_A36C LB_A345: .con 0x125 ; GSUBNC OFSHFT 0749 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x130 ; LDI 020 .con 0x020 ; .con 0x3E8 ; REGN=C (15)e .con 0x3E8 ; REGN=C (15)e LB_A34D: .con 0x115 ; GSUBNC NEXT1 0E45 ; HP41 SYSTEM ROM 0 .con 0x038 ; .con 0x000 ; NOP .con 0x14C ; ST=1? 6 ; .con 0x083 ; GONC +10 LB_A361 A361 gonc LB_A361 .con 0x3B8 ; C=REGN (14)d .con 0x0B0 ; C=N .con 0x1E2 ; C=C+C @R ; .con 0x027 ; GOC +04 LB_A359 A359 goc LB_A359 .con 0x130 ; LDI 02D .con 0x02D ; ; .con 0x01B ; GONC +03 LB_A35B A35B gonc LB_A35B LB_A359: .con 0x130 ; LDI 020 .con 0x020 ; LB_A35B: .con 0x3E8 ; REGN=C (15)e .con 0x395 ; GSUBNC TOGSHF 1FE5 ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; ; .con 0x36B ; GONC -13 LB_A34D A34D gonc LB_A34D LB_A361: .con 0x130 ; LDI 0C3 .con 0x0C3 ; .con 0x106 ; A=C S&X .con 0x220 ; C=KEYS .con 0x03C ; RCR 3 .con 0x30A ; ?A<C R<- ; .con 0x023 ; GONC +04 LB_A36B A36B gonc LB_A36B .con 0x265 ; GSUBNC BLINK 0899 ; HP41 SYSTEM ROM 0 .con 0x020 ; ; .con 0x31B ; GONC -1D LB_A34D A34D gonc LB_A34D LB_A36B: .con 0x3B8 ; C=REGN (14)d LB_A36C: .con 0x130 ; LDI 334 .con 0x334 ; .con 0x106 ; A=C S&X .con 0x0B0 ; C=N .con 0x3C6 ; CSR S&X .con 0x3D8 ; CSTEX .con 0x0E6 ; BCEX S&X .con 0x130 ; LDI 020 .con 0x020 ; .con 0x00C ; ST=1? 3 ; .con 0x01B ; GONC +03 LB_A379 A379 gonc LB_A379 .con 0x130 ; LDI 02D .con 0x02D ; LB_A379: .con 0x3E8 ; REGN=C (15)e .con 0x31C ; PT= 1 .con 0x398 ; C=ST .con 0x004 ; ST=0 3 .con 0x3D8 ; CSTEX .con 0x0A2 ; ACEX @R .con 0x226 ; C=C+1 S&X .con 0x3E8 ; REGN=C (15)e .con 0x39C ; PT= 0 .con 0x104 ; ST=0 8 .con 0x362 ; ?A#C @R ; .con 0x017 ; GOC +02 LB_A386 A386 goc LB_A386 .con 0x108 ; ST=1 8 LB_A386: .con 0x0A6 ; ACEX S&X .con 0x3C6 ; CSR S&X .con 0x10C ; ST=1? 8 ; .con 0x01B ; GONC +03 LB_A38C A38C gonc LB_A38C .con 0x2E2 ; ?C#0 @R ; .con 0x017 ; GOC +02 LB_A38D A38D goc LB_A38D LB_A38C: .con 0x226 ; C=C+1 S&X LB_A38D: .con 0x3E8 ; REGN=C (15)e .con 0x0E6 ; BCEX S&X .con 0x3D8 ; CSTEX .con 0x226 ; C=C+1 S&X .con 0x106 ; A=C S&X .con 0x149 ; GOLNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x026 ; LB_A394: .con 0x2B8 ; C=REGN (10)+ .con 0x046 ; C=0 S&X .con 0x0A2 ; ACEX @R .con 0x3C6 ; CSR S&X .con 0x2A0 ; SETDEC .con 0x226 ; C=C+1 S&X .con 0x266 ; C=C-1 S&X .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x166 ; A=A+1 S&X .con 0x1A6 ; A=A-1 S&X .con 0x146 ; A=A+C S&X .con 0x260 ; SETHEX .con 0x3E6 ; ASL S&X .con 0x38A ; ASR R<- .con 0x0AA ; ACEX R<- .con 0x1EA ; C=C+C R<- .con 0x1EA ; C=C+C R<- .con 0x1EA ; C=C+C R<- .con 0x386 ; ASR S&X .con 0x386 ; ASR S&X .con 0x0A2 ; ACEX @R .con 0x20A ; C=A+C R<- .con 0x2A8 ; REGN=C (10)+ .con 0x1BC ; RCR 11 .con 0x0FA ; BCEX M .con 0x130 ; LDI 044 .con 0x044 ; .con 0x30A ; ?A<C R<- ; .con 0x053 ; GONC +0A LB_A3BD A3BD gonc LB_A3BD .con 0x130 ; LDI 013 .con 0x013 ; .con 0x36A ; ?A#C R<- ; .con 0x033 ; GONC +06 LB_A3BD A3BD gonc LB_A3BD .con 0x2B8 ; C=REGN (10)+ .con 0x106 ; A=C S&X .con 0x3E6 ; ASL S&X .con 0x205 ; GOLNC TBITMP 2F81 ; HP41 SYSTEM ROM 2 .con 0x0BE ; LB_A3BD: .con 0x04E ; C=0 ALL .con 0x3E0 ; RTN .con 0x0A4 ; .con 0x03E ; .NAME "X>$" X>$: .con 0x0F8 ; C=REGN ( 3)X .con 0x05E ; C=0 MS .con 0x23E ; C=C+1 MS .con 0x0E8 ; REGN=C ( 3)X .con 0x3E0 ; RTN ; .con 0x08B ; GONC +11 LB_A3D8 A3D8 gonc LB_A3D8 .con 0x299 ; GSUBNC IACHR 6DA6 ; Printer ROM .con 0x1B4 ; ; .con 0x05B ; GONC +0B LB_A3D5 A3D5 gonc LB_A3D5 ; .con 0x379 ; GSB41C LB_A3D8 A3D8 ; GSUBNC 0FDE, address in same Quad RXQ LB_A3D8 ; .con 0x03C ; ; .con 0x3D8 ; .con 0x28C ; ST=1? 7 ; .con 0x023 ; GONC +04 LB_A3D3 A3D3 gonc LB_A3D3 .con 0x259 ; GSUBNC IPRT 6D96 ; Printer ROM .con 0x1B4 ; ; .con 0x01B ; GONC +03 LB_A3D5 A3D5 gonc LB_A3D5 LB_A3D3: .con 0x275 ; GSUBNC 6D9D .con 0x1B4 ; LB_A3D5: .con 0x1B0 ; C=STK .con 0x23A ; C=C+1 M .con 0x170 ; STK=C LB_A3D8: .con 0x04E ; C=0 ALL .con 0x15C ; PT= 6 .con 0x190 ; LC 6 .con 0x330 ; CXISA .con 0x2E6 ; ?C#0 S&X ; .con 0x053 ; GONC +0A LB_A3E7 A3E7 gonc LB_A3E7 .con 0x010 ; LC 0 .con 0x0D0 ; LC 3 .con 0x150 ; LC 5 .con 0x284 ; ST=0 7 .con 0x330 ; CXISA .con 0x2E6 ; ?C#0 S&X .con 0x360 ; RTNC .con 0x288 ; ST=1 7 .con 0x3E0 ; RTN ;LB_A3E7: .con 0x379 ; GSB41C LB_A23F A23F ; GSUBNC 0FDE, address in same Quad LB_A3E7: RXQ LB_A23F ; .con 0x03C ; ; .con 0x23F ; .con 0x010 ; LC 0 .con 0x012 ; A=0 P-Q .con 0x009 ; GOLNC 0302 .con 0x00E ; .con 0x014 ; ?PT= 3 .con 0x005 ; GOLNC 8401 .con 0x212 ; ; .con 0x369 ; GOL41C LB_A234 A234 ; GSUBNC 0FDA, address in same Quad RGO LB_A234 ; .con 0x03C ; ; .con 0x234 ; .con 0x085 ; .con 0x02F ; .NAME "F/E" F/E: .con 0x3B8 ; C=REGN (14)d .con 0x03C ; RCR 3 .con 0x3D8 ; CSTEX .con 0x208 ; ST=1 2 .con 0x008 ; ST=1 3 .con 0x3D8 ; CSTEX .con 0x1BC ; RCR 11 .con 0x3A8 ; REGN=C (14)d .con 0x3E0 ; RTN LB_A400: .con 0x10C ; ST=1? 8 .con 0x360 ; RTNC .con 0x130 ; LDI 008 .con 0x008 ; LB_A404: .con 0x0E6 ; BCEX S&X LB_A405: .con 0x1A6 ; A=A-1 S&X ; .con 0x0D7 ; GOC +1A LB_A420 A420 goc LB_A420 .con 0x3CC ; CHKKB ; .con 0x3EB ; GONC -03 LB_A405 A405 gonc LB_A405 .con 0x04E ; C=0 ALL .con 0x220 ; C=KEYS .con 0x3C8 ; RSTKB .con 0x130 ; LDI 018 .con 0x018 ; .con 0x0A6 ; ACEX S&X .con 0x03C ; RCR 3 .con 0x0A6 ; ACEX S&X .con 0x366 ; ?A#C S&X .con 0x321 ; GOLNC OFF 11C8 ; HP41 SYSTEM ROM 1 .con 0x046 ; .con 0x130 ; LDI 087 .con 0x087 ; .con 0x366 ; ?A#C S&X .con 0x3A0 ; RTNNC .con 0x1BC ; RCR 11 .con 0x106 ; A=C S&X LB_A41A: .con 0x186 ; A=A-B S&X ; .con 0x02F ; GOC +05 LB_A420 A420 goc LB_A420 .con 0x3C8 ; RSTKB .con 0x3CC ; CHKKB ; .con 0x3E7 ; GOC -04 LB_A41A A41A goc LB_A41A ; .con 0x32B ; GONC -1B LB_A404 A404 gonc LB_A404 LB_A420: .con 0x108 ; ST=1 8 .con 0x3E0 ; RTN LB_A422: .con 0x23A ; C=C+1 M LB_A423: .con 0x23A ; C=C+1 M .con 0x330 ; CXISA .con 0x23A ; C=C+1 M .con 0x276 ; C=C-1 XS ; .con 0x047 ; GOC +08 LB_A42F A42F goc LB_A42F .con 0x0A6 ; ACEX S&X .con 0x3D8 ; CSTEX .con 0x004 ; ST=0 3 .con 0x3D8 ; CSTEX .con 0x0A6 ; ACEX S&X .con 0x276 ; C=C-1 XS ; .con 0x01B ; GONC +03 LB_A431 A431 gonc LB_A431 LB_A42F: .con 0x36A ; ?A#C R<- ; .con 0x397 ; GOC -0E LB_A422 A422 goc LB_A422 LB_A431: .con 0x1E0 ; GOTOC LB_A432: .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x238 ; C=REGN ( 8)P .con 0x13C ; RCR 8 .con 0x1EE ; C=C+C ALL .con 0x125 ; GSUBC 7C49 .con 0x1F1 ; .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; LB_A43B: .con 0x39C ; PT= 0 .con 0x398 ; C=ST .con 0x058 ; G=C LB_A43E: .con 0x130 ; LDI 010 .con 0x010 ; .con 0x270 ; DADD=C .con 0x141 ; GSUBNC NEXT 0E50 ; HP41 SYSTEM ROM 0 .con 0x038 ; ; .con 0x37B ; GONC -11 LB_A432 A432 gonc LB_A432 .con 0x30C ; ST=1? 1 .con 0x3DD ; GSUBNC LEFTJ 2BF7 ; HP41 SYSTEM ROM 2 .con 0x0AC ; .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x14C ; ST=1? 6 ; .con 0x023 ; GONC +04 LB_A44E A44E gonc LB_A44E .con 0x39D ; GSUBNC TGSHF1 1FE7 ; HP41 SYSTEM ROM 1 .con 0x07C ; ; .con 0x38B ; GONC -0F LB_A43E A43E gonc LB_A43E LB_A44E: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x358 ; ST=C .con 0x204 ; ST=0 2 .con 0x0B0 ; C=N .con 0x3C6 ; CSR S&X .con 0x1B0 ; C=STK .con 0x10E ; A=C ALL .con 0x35D ; GSUBNC PCTOC 00D7 ; HP41 SYSTEM ROM 0 .con 0x000 ; ; .con 0x25B ; GONC -35 LB_A423 A423 gonc LB_A423 .con 0x04A ; C=0 R<- .con 0x008 ; ST=1 3 ; .con 0x10B ; GONC +21 LB_A47C A47C gonc LB_A47C .con 0x042 ; C=0 @R .con 0x004 ; ST=0 3 ; .con 0x0F3 ; GONC +1E LB_A47C A47C gonc LB_A47C ; .con 0x03F ; GOC +07 LB_A466 A466 goc LB_A466 .con 0x008 ; ST=1 3 ; .con 0x0C3 ; GONC +18 LB_A479 A479 gonc LB_A479 ; .con 0x037 ; GOC +06 LB_A468 A468 goc LB_A468 .con 0x004 ; ST=0 3 ; .con 0x0AB ; GONC +15 LB_A479 A479 gonc LB_A479 .con 0x120 ; ?P=Q ;LB_A466: .con 0x0CB ; GONC +19 LB_A47F A47F LB_A466: gonc LB_A47F .con 0x000 ; NOP LB_A468: .con 0x112 ; A=C P-Q .con 0x044 ; ST=0 4 ; .con 0x0A3 ; GONC +14 LB_A47E A47E gonc LB_A47E .con 0x100 ; ENROM1 .con 0x048 ; ST=1 4 ; .con 0x08B ; GONC +11 LB_A47E A47E gonc LB_A47E ; .con 0x103 ; GONC +20 LB_A48E A48E gonc LB_A48E ; .con 0x023 ; GONC +04 LB_A473 A473 gonc LB_A473 .con 0x000 ; NOP .con 0x200 ; HPIL=C 0 ; .con 0x073 ; GONC +0E LB_A480 A480 gonc LB_A480 LB_A473: .con 0x08C ; ST=1? 5 ; .con 0x01B ; GONC +03 LB_A477 A477 gonc LB_A477 .con 0x084 ; ST=0 5 ; .con 0x03B ; GONC +07 LB_A47D A47D gonc LB_A47D LB_A477: .con 0x088 ; ST=1 5 ; .con 0x02B ; GONC +05 LB_A47D A47D gonc LB_A47D LB_A479: .con 0x208 ; ST=1 2 .con 0x261 ; GSUBNC RSTKB 0098 ; HP41 SYSTEM ROM 0 .con 0x000 ; LB_A47C: .con 0x17A ; A=A+1 M LB_A47D: .con 0x17A ; A=A+1 M LB_A47E: .con 0x17A ; A=A+1 M LB_A47F: .con 0x17A ; A=A+1 M LB_A480: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x398 ; C=ST .con 0x13C ; RCR 8 .con 0x228 ; REGN=C ( 8)P .con 0x0BA ; ACEX M .con 0x1E0 ; GOTOC LB_A487: .con 0x0AE ; ACEX ALL .con 0x03C ; RCR 3 .con 0x00E ; A=0 ALL .con 0x0A6 ; ACEX S&X .con 0x166 ; A=A+1 S&X .con 0x206 ; C=A+C S&X .con 0x206 ; C=A+C S&X LB_A48E: .con 0x1BC ; RCR 11 .con 0x330 ; CXISA .con 0x1F6 ; C=C+C XS .con 0x1F6 ; C=C+C XS .con 0x106 ; A=C S&X .con 0x3EE ; ASL ALL .con 0x3EE ; ASL ALL .con 0x23A ; C=C+1 M .con 0x330 ; CXISA .con 0x0B6 ; ACEX XS .con 0x0A6 ; ACEX S&X .con 0x03C ; RCR 3 .con 0x01C ; PT= 3 .con 0x142 ; A=A+C @R .con 0x0AE ; ACEX ALL .con 0x1BC ; RCR 11 .con 0x3E0 ; RTN .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP LB_A4A2: .con 0x006 ; A=0 S&X ; .con 0x349 ; GSB41C LB_A118 A118 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A118 ; .con 0x08C ; ; .con 0x118 ; LB_A4A6: .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; .con 0x000 ; NOP .con 0x10C ; ST=1? 8 ; .con 0x3E3 ; GONC -04 LB_A4A6 A4A6 gonc LB_A4A6 .con 0x201 ; GSUBNC MSG105 1C80 ; HP41 SYSTEM ROM 1 .con 0x070 ; .con 0x239 ; GSUBNC RSTMS0 038E ; HP41 SYSTEM ROM 0 .con 0x00C ; .con 0x278 ; C=REGN ( 9)Q .con 0x3CE ; CSR ALL .con 0x046 ; C=0 S&X .con 0x1BC ; RCR 11 .con 0x330 ; CXISA .con 0x2E6 ; ?C#0 S&X ; .con 0x017 ; GOC +02 LB_A4B7 A4B7 goc LB_A4B7 .con 0x104 ; ST=0 8 LB_A4B7: .con 0x046 ; C=0 S&X .con 0x03C ; RCR 3 .con 0x01C ; PT= 3 .con 0x10E ; A=C ALL .con 0x142 ; A=A+C @R ; .con 0x10F ; GOC +21 LB_A4DD A4DD goc LB_A4DD .con 0x15A ; A=A+C M .con 0x17A ; A=A+1 M .con 0x35D ; GSUBNC PCTOC 00D7 ; HP41 SYSTEM ROM 0 .con 0x000 ; ; .con 0x08B ; GONC +11 LB_A4D2 A4D2 gonc LB_A4D2 ; .con 0x369 ; GOL41C LB_A5F4 A5F4 ; GSUBNC 0FDA, address in same Quad RGO LB_A5F4 ; .con 0x03C ; ; .con 0x1F4 ; LB_A4C5: .con 0x166 ; A=A+1 S&X .con 0x201 ; GOLNC XCAT 0B80 ; HP41 SYSTEM ROM 0 .con 0x02E ; .con 0x04E ; C=0 ALL .con 0x15C ; PT= 6 ; .con 0x14B ; GONC +29 LB_A4F3 A4F3 gonc LB_A4F3 .con 0x166 ; A=A+1 S&X .con 0x166 ; A=A+1 S&X ; .con 0x3C3 ; GONC -08 LB_A4C5 A4C5 gonc LB_A4C5 .con 0x130 ; LDI 327 .con 0x327 ; ; .con 0x0EB ; GONC +1D LB_A4ED A4ED gonc LB_A4ED ; .con 0x06B ; GONC +0D LB_A4DE A4DE gonc LB_A4DE LB_A4D2: .con 0x21A ; C=A+C M .con 0x1E0 ; GOTOC ; .con 0x369 ; GOL41C LB_A5EF A5EF ; GSUBNC 0FDA, address in same Quad RGO LB_A5EF ; .con 0x03C ; ; .con 0x1EF ; ; .con 0x349 ; GSB41C LB_A2AA A2AA ; GSUBNC 23D2, address in 1st Quad RXQ LB_A2AA ; .con 0x08C ; ; .con 0x2AA ; ; .con 0x391 ; GSB41C LB_A9F4 A9F4 ; GSUBNC 23E4, address in 3rd Quad RXQ LB_A9F4 ; .con 0x08C ; ; .con 0x1F4 ; ;LB_A4DD: .con 0x11B ; GONC +23 LB_A500 A500 LB_A4DD: gonc LB_A500 LB_A4DE: .con 0x10C ; ST=1? 8 ; .con 0x067 ; GOC +0C LB_A4EB A4EB goc LB_A4EB ; .con 0x349 ; GSB41C LB_A23F A23F ; GSUBNC 23D2, address in 1st Quad RXQ LB_A23F ; .con 0x08C ; ; .con 0x23F ; .con 0x014 ; ?PT= 3 .con 0x009 ; GSUBC 0302 .con 0x00D ; .con 0x005 ; GOLNC 8401 .con 0x212 ; ;LB_A4E8: .con 0x341 ; GOL41C LB_A234 A234 ; GSUBNC 23D0, address in 1st Quad LB_A4E8: RGO LB_A234 ; .con 0x08C ; ; .con 0x234 ; LB_A4EB: .con 0x130 ; LDI 341 .con 0x341 ; LB_A4ED: .con 0x1E6 ; C=C+C S&X .con 0x21C ; PT= 2 .con 0x058 ; G=C .con 0x358 ; ST=C .con 0x2BD ; GOLNC XROM 2FAF ; HP41 SYSTEM ROM 2 .con 0x0BE ; LB_A4F3: .con 0x090 ; LC 2 .con 0x15C ; PT= 6 .con 0x102 ; A=C @R .con 0x142 ; A=A+C @R LB_A4F7: .con 0x222 ; C=C+1 @R .con 0x330 ; CXISA .con 0x362 ; ?A#C @R ; .con 0x3EB ; GONC -03 LB_A4F7 A4F7 gonc LB_A4F7 .con 0x2E6 ; ?C#0 S&X ; .con 0x3DB ; GONC -05 LB_A4F7 A4F7 gonc LB_A4F7 .con 0x130 ; LDI 024 .con 0x024 ; ; .con 0x0CB ; GONC +19 LB_A518 A518 gonc LB_A518 LB_A500: .con 0x10C ; ST=1? 8 ; .con 0x047 ; GOC +08 LB_A509 A509 goc LB_A509 ; .con 0x349 ; GSB41C LB_A23F A23F ; GSUBNC 23D2, address in 1st Quad RXQ LB_A23F ; .con 0x08C ; ; .con 0x23F ; .con 0x012 ; A=0 P-Q ; .con 0x00F ; GOC +01 LB_A507 A507 goc LB_A507 LB_A507: .con 0x20D ; GOLC C083 .con 0x303 ; LB_A509: .con 0x1BC ; RCR 11 .con 0x23A ; C=C+1 M .con 0x330 ; CXISA .con 0x27A ; C=C-1 M .con 0x2E6 ; ?C#0 S&X ; .con 0x047 ; GOC +08 LB_A516 A516 goc LB_A516 ; .con 0x349 ; GSB41C LB_A23F A23F ; GSUBNC 23D2, address in 1st Quad RXQ LB_A23F ; .con 0x08C ; ; .con 0x23F ; .con 0x006 ; A=0 S&X .con 0x001 ; GSUBNC 8500 .con 0x214 ; ; .con 0x29B ; GONC -2D LB_A4E8 A4E8 gonc LB_A4E8 LB_A516: .con 0x130 ; LDI 004 .con 0x004 ; LB_A518: .con 0x10E ; A=C ALL .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x29C ; PT= 7 .con 0x0AA ; ACEX R<- .con 0x13C ; RCR 8 .con 0x228 ; REGN=C ( 8)P LB_A51F: .con 0x108 ; ST=1 8 ; .con 0x013 ; GONC +02 LB_A522 A522 gonc LB_A522 LB_A521: .con 0x104 ; ST=0 8 LB_A522: .con 0x238 ; C=REGN ( 8)P LB_A523: .con 0x17C ; RCR 6 .con 0x358 ; ST=C .con 0x10E ; A=C ALL .con 0x15C ; PT= 6 .con 0x110 ; LC 4 .con 0x0AE ; ACEX ALL .con 0x3CA ; CSR R<- .con 0x3CA ; CSR R<- .con 0x3CA ; CSR R<- .con 0x15C ; PT= 6 .con 0x144 ; ST=0 6 .con 0x106 ; A=C S&X .con 0x10C ; ST=1? 8 ; .con 0x0AF ; GOC +15 LB_A545 A545 goc LB_A545 .con 0x00C ; ST=1? 3 ; .con 0x1F3 ; GONC +3E LB_A570 A570 gonc LB_A570 .con 0x1A6 ; A=A-1 S&X ; .con 0x08B ; GONC +11 LB_A545 A545 gonc LB_A545 LB_A535: .con 0x1A2 ; A=A-1 @R .con 0x362 ; ?A#C @R ; .con 0x19B ; GONC +33 LB_A56A A56A gonc LB_A56A .con 0x162 ; A=A+1 @R LB_A539: .con 0x262 ; C=C-1 @R .con 0x362 ; ?A#C @R ; .con 0x3F3 ; GONC -02 LB_A539 A539 gonc LB_A539 .con 0x330 ; CXISA .con 0x2E6 ; ?C#0 S&X ; .con 0x3BB ; GONC -09 LB_A535 A535 gonc LB_A535 .con 0x23A ; C=C+1 M .con 0x330 ; CXISA .con 0x27A ; C=C-1 M .con 0x266 ; C=C-1 S&X ; .con 0x397 ; GOC -0E LB_A535 A535 goc LB_A535 .con 0x106 ; A=C S&X LB_A545: .con 0x346 ; ?A#0 S&X ; .con 0x017 ; GOC +02 LB_A548 A548 goc LB_A548 .con 0x148 ; ST=1 6 LB_A548: .con 0x03C ; RCR 3 .con 0x0A6 ; ACEX S&X .con 0x1BC ; RCR 11 .con 0x070 ; N=C .con 0x10E ; A=C ALL ; .con 0x379 ; GSB41C LB_A487 A487 ; GSUBNC 0FDE, address in same Quad RXQ LB_A487 ; .con 0x03C ; ; .con 0x087 ; .con 0x158 ; M=C .con 0x27A ; C=C-1 M .con 0x130 ; LDI 02D .con 0x02D ; .con 0x106 ; A=C S&X .con 0x330 ; CXISA .con 0x366 ; ?A#C S&X ; .con 0x017 ; GOC +02 LB_A559 A559 goc LB_A559 .con 0x148 ; ST=1 6 LB_A559: .con 0x0B0 ; C=N .con 0x398 ; C=ST .con 0x13C ; RCR 8 .con 0x070 ; N=C .con 0x08C ; ST=1? 5 ; .con 0x01B ; GONC +03 LB_A561 A561 gonc LB_A561 .con 0x14C ; ST=1? 6 ; .con 0x21B ; GONC -3D LB_A523 A523 gonc LB_A523 ;LB_A561: .con 0x379 ; GSB41C LB_A400 A400 ; GSUBNC 0FDE, address in same Quad LB_A561: RXQ LB_A400 ; .con 0x03C ; ; .con 0x000 ; .con 0x10C ; ST=1? 8 ; .con 0x1E3 ; GONC +3C LB_A5A1 A5A1 gonc LB_A5A1 .con 0x0B0 ; C=N .con 0x228 ; REGN=C ( 8)P .con 0x104 ; ST=0 8 ; .con 0x0B3 ; GONC +16 LB_A57F A57F gonc LB_A57F LB_A56A: .con 0x20C ; ST=1? 2 ; .con 0x1CB ; GONC +39 LB_A5A4 A5A4 gonc LB_A5A4 LB_A56C: .con 0x261 ; GSUBNC RSTKB 0098 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; LB_A570: .con 0x166 ; A=A+1 S&X LB_A571: .con 0x23A ; C=C+1 M .con 0x330 ; CXISA .con 0x27A ; C=C-1 M .con 0x306 ; ?A<C S&X ; .con 0x287 ; GOC -30 LB_A545 A545 goc LB_A545 .con 0x006 ; A=0 S&X LB_A577: .con 0x222 ; C=C+1 @R ; .con 0x397 ; GOC -0E LB_A56A A56A goc LB_A56A .con 0x362 ; ?A#C @R ; .con 0x3EB ; GONC -03 LB_A577 A577 gonc LB_A577 .con 0x330 ; CXISA .con 0x2E6 ; ?C#0 S&X ; .con 0x3D3 ; GONC -06 LB_A577 A577 gonc LB_A577 ; .con 0x39B ; GONC -0D LB_A571 A571 gonc LB_A571 LB_A57F: .con 0x198 ; C=M .con 0x03C ; RCR 3 .con 0x10E ; A=C ALL .con 0x05C ; PT= 4 .con 0x1E2 ; C=C+C @R ; .con 0x02B ; GONC +05 LB_A589 A589 gonc LB_A589 .con 0x208 ; ST=1 2 .con 0x319 ; GSUBNC TXTLB1 2FC6 ; HP41 SYSTEM ROM 2 .con 0x0BC ; ; .con 0x04B ; GONC +09 LB_A591 A591 gonc LB_A591 LB_A589: .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x198 ; C=M .con 0x34D ; GSUBNC PROMF2 05D3 ; HP41 SYSTEM ROM 0 .con 0x014 ; .con 0x304 ; ST=0 1 .con 0x209 ; GSUBNC DF150 0482 ; HP41 SYSTEM ROM 0 .con 0x010 ; ;LB_A591: .con 0x349 ; GSB41C LB_A283 A283 ; GSUBNC 23D2, address in 1st Quad LB_A591: RXQ LB_A283 ; .con 0x08C ; ; .con 0x283 ; .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x358 ; ST=C .con 0x20C ; ST=1? 2 ; .con 0x04B ; GONC +09 LB_A5A1 A5A1 gonc LB_A5A1 .con 0x130 ; LDI 180 .con 0x180 ; .con 0x106 ; A=C S&X ; .con 0x379 ; GSB41C LB_A400 A400 ; GSUBNC 0FDE, address in same Quad RXQ LB_A400 ; .con 0x03C ; ; .con 0x000 ; .con 0x10C ; ST=1? 8 ; .con 0x047 ; GOC +08 LB_A5A8 A5A8 goc LB_A5A8 ;LB_A5A1: .con 0x379 ; GSB41C LB_A43B A43B ; GSUBNC 0FDE, address in same Quad LB_A5A1: RXQ LB_A43B ; .con 0x03C ; ; .con 0x03B ; ;LB_A5A4: .con 0x0DB ; GONC +1B LB_A5BF A5BF LB_A5A4: gonc LB_A5BF ; .con 0x0D3 ; GONC +1A LB_A5BF A5BF gonc LB_A5BF ; .con 0x0BB ; GONC +17 LB_A5BD A5BD gonc LB_A5BD ; .con 0x023 ; GONC +04 LB_A5AB A5AB gonc LB_A5AB ;LB_A5A8: .con 0x369 ; GOL41C LB_A521 A521 ; GSUBNC 0FDA, address in same Quad LB_A5A8: RGO LB_A521 ; .con 0x03C ; ; .con 0x121 ; LB_A5AB: .con 0x125 ; GSUBNC OFSHFT 0749 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x08C ; ST=1? 5 ; .con 0x027 ; GOC +04 LB_A5B2 A5B2 goc LB_A5B2 .con 0x208 ; ST=1 2 .con 0x004 ; ST=0 3 ; .con 0x023 ; GONC +04 LB_A5B5 A5B5 gonc LB_A5B5 LB_A5B2: .con 0x14C ; ST=1? 6 ; .con 0x067 ; GOC +0C LB_A5BF A5BF goc LB_A5BF .con 0x008 ; ST=1 3 LB_A5B5: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x398 ; C=ST .con 0x13C ; RCR 8 .con 0x228 ; REGN=C ( 8)P ; .con 0x373 ; GONC -12 LB_A5A8 A5A8 gonc LB_A5A8 .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; LB_A5BD: .con 0x08C ; ST=1? 5 ; .con 0x023 ; GONC +04 LB_A5C2 A5C2 gonc LB_A5C2 LB_A5BF: .con 0x265 ; GSUBNC BLINK 0899 ; HP41 SYSTEM ROM 0 .con 0x020 ; ; .con 0x303 ; GONC -20 LB_A5A1 A5A1 gonc LB_A5A1 LB_A5C2: .con 0x14C ; ST=1? 6 ; .con 0x2F7 ; GOC -22 LB_A5A1 A5A1 goc LB_A5A1 ; .con 0x3B5 ; GSB41C LB_AF77 AF77 ; GSUBNC 23ED, address in 4th Quad RXQ LB_AF77 ; .con 0x08C ; ; .con 0x377 ; .con 0x04C ; ST=1? 4 ; .con 0x023 ; GONC +04 LB_A5CC A5CC gonc LB_A5CC ; .con 0x3B5 ; GSB41C LB_AF72 AF72 ; GSUBNC 23ED, address in 4th Quad RXQ LB_AF72 ; .con 0x08C ; ; .con 0x372 ; ;LB_A5CC: .con 0x349 ; GSB41C LB_A264 A264 ; GSUBNC 23D2, address in 1st Quad LB_A5CC: RXQ LB_A264 ; .con 0x08C ; ; .con 0x264 ; ; .con 0x349 ; GSB41C LB_A1F7 A1F7 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A1F7 ; .con 0x08C ; ; .con 0x1F7 ; .con 0x10C ; ST=1? 8 ; .con 0x027 ; GOC +04 LB_A5D7 A5D7 goc LB_A5D7 ; .con 0x369 ; GOL41C LB_A51F A51F ; GSUBNC 0FDA, address in same Quad RGO LB_A51F ; .con 0x03C ; ; .con 0x11F ; LB_A5D7: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x09C ; PT= 5 .con 0x3CA ; CSR R<- .con 0x3CA ; CSR R<- .con 0x3CA ; CSR R<- .con 0x106 ; A=C S&X .con 0x330 ; CXISA .con 0x0E6 ; BCEX S&X ; .con 0x369 ; GOL41C LB_A71F A71F ; GSUBNC 0FDA, address in same Quad RGO LB_A71F ; .con 0x03C ; ; .con 0x31F ; ;LB_A5E3: .con 0x349 ; GSB41C LB_A23F A23F ; GSUBNC 23D2, address in 1st Quad LB_A5E3: RXQ LB_A23F ; .con 0x08C ; ; .con 0x23F ; .con 0x004 ; ST=0 3 .con 0x005 ; GOLNC 0501 .con 0x016 ; .con 0x009 ; GOLC 0002 .con 0x003 ; .con 0x205 ; GSUBC D081 .con 0x341 ; .con 0x08C ; ST=1? 5 .con 0x234 ; UNDEF234 LB_A5EF: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x130 ; LDI 006 .con 0x006 ; ; .con 0x043 ; GONC +08 LB_A5FB A5FB gonc LB_A5FB ;LB_A5F4: .con 0x349 ; GSB41C LB_A2AA A2AA ; GSUBNC 23D2, address in 1st Quad LB_A5F4: RXQ LB_A2AA ; .con 0x08C ; ; .con 0x2AA ; .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x130 ; LDI 084 .con 0x084 ; LB_A5FB: .con 0x05C ; PT= 4 .con 0x3D0 ; LC F .con 0x3D0 ; LC F .con 0x13C ; RCR 8 .con 0x228 ; REGN=C ( 8)P LB_A600: .con 0x108 ; ST=1 8 ; .con 0x013 ; GONC +02 LB_A603 A603 gonc LB_A603 LB_A602: .con 0x104 ; ST=0 8 LB_A603: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x358 ; ST=C .con 0x30C ; ST=1? 1 ; .con 0x043 ; GONC +08 LB_A60F A60F gonc LB_A60F ; .con 0x349 ; GSB41C LB_A294 A294 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A294 ; .con 0x08C ; ; .con 0x294 ; LB_A60B: .con 0x130 ; LDI 04D .con 0x04D ; .con 0x0E6 ; BCEX S&X ; .con 0x043 ; GONC +08 LB_A616 A616 gonc LB_A616 LB_A60F: .con 0x18D ; GSUBNC 7063 .con 0x1C0 ; .con 0x0D9 ; GSUBNC 7336 .con 0x1CC ; .con 0x1A6 ; A=A-1 S&X ; .con 0x27F ; GOC -31 LB_A5E3 A5E3 goc LB_A5E3 .con 0x086 ; B=A S&X LB_A616: .con 0x238 ; C=REGN ( 8)P .con 0x27C ; RCR 9 LB_A618: .con 0x31C ; PT= 1 .con 0x06A ; ABEX R<- .con 0x08A ; B=A R<- .con 0x00C ; ST=1? 3 ; .con 0x063 ; GONC +0C LB_A628 A628 gonc LB_A628 .con 0x26A ; C=C-1 R<- ; .con 0x06B ; GONC +0D LB_A62B A62B gonc LB_A62B LB_A61F: .con 0x20C ; ST=1? 2 ; .con 0x023 ; GONC +04 LB_A624 A624 gonc LB_A624 ; .con 0x369 ; GOL41C LB_A56C A56C ; GSUBNC 0FDA, address in same Quad RGO LB_A56C ; .con 0x03C ; ; .con 0x16C ; LB_A624: .con 0x10C ; ST=1? 8 ; .con 0x103 ; GONC +20 LB_A645 A645 gonc LB_A645 .con 0x008 ; ST=1 3 ; .con 0x323 ; GONC -1C LB_A60B A60B gonc LB_A60B LB_A628: .con 0x36A ; ?A#C R<- ; .con 0x3B3 ; GONC -0A LB_A61F A61F gonc LB_A61F .con 0x22A ; C=C+1 R<- LB_A62B: .con 0x070 ; N=C .con 0x30C ; ST=1? 1 ; .con 0x04B ; GONC +09 LB_A636 A636 gonc LB_A636 .con 0x106 ; A=C S&X ; .con 0x349 ; GSB41C LB_A394 A394 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A394 ; .con 0x08C ; ; .con 0x394 ; .con 0x2EE ; ?C#0 ALL ; .con 0x01F ; GOC +03 LB_A636 A636 goc LB_A636 .con 0x0B0 ; C=N ; .con 0x31B ; GONC -1D LB_A618 A618 gonc LB_A618 LB_A636: .con 0x006 ; A=0 S&X .con 0x166 ; A=A+1 S&X ; .con 0x379 ; GSB41C LB_A400 A400 ; GSUBNC 0FDE, address in same Quad RXQ LB_A400 ; .con 0x03C ; ; .con 0x000 ; .con 0x10C ; ST=1? 8 ; .con 0x12B ; GONC +25 LB_A661 A661 gonc LB_A661 .con 0x2B8 ; C=REGN (10)+ .con 0x10E ; A=C ALL .con 0x0B0 ; C=N .con 0x03C ; RCR 3 .con 0x31C ; PT= 1 .con 0x0AA ; ACEX R<- .con 0x23C ; RCR 2 .con 0x228 ; REGN=C ( 8)P LB_A645: .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x358 ; ST=C .con 0x30C ; ST=1? 1 ; .con 0x02B ; GONC +05 LB_A64E A64E gonc LB_A64E ; .con 0x349 ; GSB41C LB_A2B9 A2B9 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A2B9 ; .con 0x08C ; ; .con 0x2B9 ; ; .con 0x023 ; GONC +04 LB_A651 A651 gonc LB_A651 ;LB_A64E: .con 0x379 ; GSB41C LB_A795 A795 ; GSUBNC 0FDE, address in same Quad LB_A64E: RXQ LB_A795 ; .con 0x03C ; ; .con 0x395 ; ;LB_A651: .con 0x349 ; GSB41C LB_A283 A283 ; GSUBNC 23D2, address in 1st Quad LB_A651: RXQ LB_A283 ; .con 0x08C ; ; .con 0x283 ; .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x358 ; ST=C .con 0x20C ; ST=1? 2 ; .con 0x04B ; GONC +09 LB_A661 A661 gonc LB_A661 .con 0x130 ; LDI 3FF .con 0x3FF ; .con 0x106 ; A=C S&X ; .con 0x379 ; GSB41C LB_A400 A400 ; GSUBNC 0FDE, address in same Quad RXQ LB_A400 ; .con 0x03C ; ; .con 0x000 ; .con 0x10C ; ST=1? 8 ; .con 0x087 ; GOC +10 LB_A670 A670 goc LB_A670 LB_A661: .con 0x30C ; ST=1? 1 ; .con 0x03F ; GOC +07 LB_A669 A669 goc LB_A669 .con 0x238 ; C=REGN ( 8)P .con 0x27C ; RCR 9 .con 0x226 ; C=C+1 S&X .con 0x340 ; HPIL=C 5 .con 0x375 ; GSUBNC 70DD .con 0x1C0 ; ;LB_A669: .con 0x379 ; GSB41C LB_A43B A43B ; GSUBNC 0FDE, address in same Quad LB_A669: RXQ LB_A43B ; .con 0x03C ; ; .con 0x03B ; ; .con 0x153 ; GONC +2A LB_A696 A696 gonc LB_A696 ; .con 0x06B ; GONC +0D LB_A67A A67A gonc LB_A67A ; .con 0x143 ; GONC +28 LB_A696 A696 gonc LB_A696 ; .con 0x023 ; GONC +04 LB_A673 A673 gonc LB_A673 ;LB_A670: .con 0x369 ; GOL41C LB_A602 A602 ; GSUBNC 0FDA, address in same Quad LB_A670: RGO LB_A602 ; .con 0x03C ; ; .con 0x202 ; LB_A673: .con 0x30C ; ST=1? 1 ; .con 0x117 ; GOC +22 LB_A696 A696 goc LB_A696 .con 0x238 ; C=REGN ( 8)P .con 0x27C ; RCR 9 .con 0x226 ; C=C+1 S&X .con 0x300 ; HPIL=C 4 ; .con 0x263 ; GONC -34 LB_A645 A645 gonc LB_A645 LB_A67A: .con 0x30C ; ST=1? 1 ; .con 0x07B ; GONC +0F LB_A68A A68A gonc LB_A68A .con 0x238 ; C=REGN ( 8)P .con 0x37C ; RCR 12 .con 0x106 ; A=C S&X .con 0x166 ; A=A+1 S&X .con 0x13C ; RCR 8 .con 0x004 ; ST=0 3 .con 0x398 ; C=ST .con 0x13C ; RCR 8 .con 0x228 ; REGN=C ( 8)P .con 0x331 ; GSUBNC ASN20 27CC ; HP41 SYSTEM ROM 2 .con 0x09C ; ; .con 0x369 ; GOL41C LB_A600 A600 ; GSUBNC 0FDA, address in same Quad RGO LB_A600 ; .con 0x03C ; ; .con 0x200 ; LB_A68A: .con 0x18D ; GSUBNC 7063 .con 0x1C0 ; .con 0x39D ; GSUBNC 77E7 .con 0x1DC ; .con 0x375 ; GSUBNC 70DD .con 0x1C0 ; .con 0x130 ; LDI 004 .con 0x004 ; .con 0x2E9 ; GSUBNC 70BA .con 0x1C0 ; .con 0x39D ; GSUBNC 77E7 .con 0x1DC ; LB_A696: .con 0x265 ; GSUBNC BLINK 0899 ; HP41 SYSTEM ROM 0 .con 0x020 ; ; .con 0x28B ; GONC -2F LB_A669 A669 gonc LB_A669 LB_A699: .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x3B8 ; C=REGN (14)d LB_A69C: .con 0x006 ; A=0 S&X .con 0x166 ; A=A+1 S&X ; .con 0x349 ; GSB41C LB_A111 A111 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A111 ; .con 0x08C ; ; .con 0x111 ; LB_A6A1: .con 0x049 ; GSUBNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x034 ; ; .con 0x06B ; GONC +0D LB_A6B0 A6B0 gonc LB_A6B0 .con 0x10C ; ST=1? 8 ; .con 0x3E3 ; GONC -04 LB_A6A1 A6A1 gonc LB_A6A1 .con 0x278 ; C=REGN ( 9)Q .con 0x10E ; A=C ALL .con 0x30C ; ST=1? 1 ; .con 0x027 ; GOC +04 LB_A6AD A6AD goc LB_A6AD ; .con 0x349 ; GSB41C LB_A20F A20F ; GSUBNC 23D2, address in 1st Quad RXQ LB_A20F ; .con 0x08C ; ; .con 0x20F ; LB_A6AD: .con 0x0AE ; ACEX ALL .con 0x244 ; ST=0 9 ; .con 0x1B3 ; GONC +36 LB_A6E5 A6E5 gonc LB_A6E5 LB_A6B0: .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x130 ; LDI 020 .con 0x020 ; .con 0x3E8 ; REGN=C (15)e .con 0x14C ; ST=1? 6 ; .con 0x183 ; GONC +30 LB_A6E6 A6E6 gonc LB_A6E6 .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x378 ; C=REGN (13)c .con 0x1BC ; RCR 11 .con 0x1FE ; C=C+C MS ; .con 0x0AB ; GONC +15 LB_A6D1 A6D1 gonc LB_A6D1 .con 0x08C ; ST=1? 5 ; .con 0x2DB ; GONC -25 LB_A699 A699 gonc LB_A699 .con 0x2B8 ; C=REGN (10)+ .con 0x05C ; PT= 4 .con 0x010 ; LC 0 .con 0x3D0 ; LC F .con 0x2A8 ; REGN=C (10)+ .con 0x010 ; LC 0 .con 0x210 ; LC 8 ; .con 0x0E3 ; GONC +1C LB_A6E2 A6E2 gonc LB_A6E2 LB_A6C7: .con 0x378 ; C=REGN (13)c .con 0x1BC ; RCR 11 .con 0x130 ; LDI 1A0 .con 0x1A0 ; .con 0x1FE ; C=C+C MS ; .con 0x01F ; GOC +03 LB_A6CF A6CF goc LB_A6CF .con 0x130 ; LDI 270 .con 0x270 ; LB_A6CF: .con 0x070 ; N=C .con 0x084 ; ST=0 5 LB_A6D1: .con 0x2B8 ; C=REGN (10)+ .con 0x08C ; ST=1? 5 ; .con 0x02F ; GOC +05 LB_A6D8 A6D8 goc LB_A6D8 .con 0x03C ; RCR 3 .con 0x106 ; A=C S&X .con 0x291 ; GOLNC NAME4A 0FA4 ; HP41 SYSTEM ROM 0 .con 0x03E ; LB_A6D8: .con 0x05C ; PT= 4 .con 0x050 ; LC 1 .con 0x390 ; LC E .con 0x2A8 ; REGN=C (10)+ .con 0x3B8 ; C=REGN (14)d .con 0x31C ; PT= 1 .con 0x010 ; LC 0 .con 0x1E6 ; C=C+C S&X .con 0x090 ; LC 2 .con 0x39C ; PT= 0 LB_A6E2: .con 0x058 ; G=C .con 0x365 ; GOLNC NAMEA 0ED9 ; HP41 SYSTEM ROM 0 .con 0x03A ; ;LB_A6E5: .con 0x07B ; GONC +0F LB_A6F4 A6F4 LB_A6E5: gonc LB_A6F4 LB_A6E6: .con 0x3B9 ; GSUBNC OUTROM 2FEE ; HP41 SYSTEM ROM 2 .con 0x0BC ; .con 0x3B8 ; C=REGN (14)d ; .con 0x02B ; GONC +05 LB_A6EE A6EE gonc LB_A6EE LB_A6EA: .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x3B8 ; C=REGN (14)d .con 0x3B8 ; C=REGN (14)d LB_A6EE: .con 0x006 ; A=0 S&X .con 0x166 ; A=A+1 S&X ; .con 0x349 ; GSB41C LB_A11A A11A ; GSUBNC 23D2, address in 1st Quad RXQ LB_A11A ; .con 0x08C ; ; .con 0x11A ; ; .con 0x2A3 ; GONC -2C LB_A6C7 A6C7 gonc LB_A6C7 ;LB_A6F4: .con 0x1AB ; GONC +35 LB_A729 A729 LB_A6F4: gonc LB_A729 .con 0x000 ; NOP .con 0x10C ; ST=1? 8 ; .con 0x0AB ; GONC +15 LB_A70C A70C gonc LB_A70C .con 0x130 ; LDI 031 .con 0x031 ; .con 0x106 ; A=C S&X .con 0x278 ; C=REGN ( 9)Q .con 0x07C ; RCR 4 .con 0x2E6 ; ?C#0 S&X ; .con 0x0CB ; GONC +19 LB_A717 A717 gonc LB_A717 .con 0x306 ; ?A<C S&X ; .con 0x0BF ; GOC +17 LB_A717 A717 goc LB_A717 .con 0x3E1 ; GSUBNC GOTINT 02F8 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x0FC ; RCR 10 .con 0x268 ; REGN=C ( 9)Q ; .con 0x349 ; GSB41C LB_A248 A248 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A248 ; .con 0x08C ; ; .con 0x248 ; ; .con 0x349 ; GSB41C LB_A10C A10C ; GSUBNC 23D2, address in 1st Quad RXQ LB_A10C ; .con 0x08C ; ; .con 0x10C ; ; .con 0x2FB ; GONC -21 LB_A6EA A6EA gonc LB_A6EA LB_A70C: .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; .con 0x10C ; ST=1? 8 ; .con 0x3EB ; GONC -03 LB_A70C A70C gonc LB_A70C .con 0x278 ; C=REGN ( 9)Q .con 0x03C ; RCR 3 .con 0x3C6 ; CSR S&X .con 0x106 ; A=C S&X .con 0x130 ; LDI 064 .con 0x064 ; .con 0x306 ; ?A<C S&X LB_A717: .con 0x0B5 ; GOLNC ERRDE 282D ; HP41 SYSTEM ROM 2 .con 0x0A2 ; .con 0x03C ; RCR 3 .con 0x0E6 ; BCEX S&X .con 0x0A6 ; ACEX S&X .con 0x3E1 ; GSUBNC GOTINT 02F8 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x106 ; A=C S&X LB_A71F: .con 0x0E6 ; BCEX S&X .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x0A6 ; ACEX S&X .con 0x3E6 ; ASL S&X .con 0x206 ; C=A+C S&X .con 0x01C ; PT= 3 .con 0x290 ; LC A .con 0x0FC ; RCR 10 .con 0x248 ; ST=1 9 LB_A729: .con 0x10E ; A=C ALL .con 0x268 ; REGN=C ( 9)Q .con 0x378 ; C=REGN (13)c .con 0x1BC ; RCR 11 .con 0x1FE ; C=C+C MS ; .con 0x143 ; GONC +28 LB_A756 A756 gonc LB_A756 ; .con 0x349 ; GSB41C LB_A248 A248 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A248 ; .con 0x08C ; ; .con 0x248 ; .con 0x278 ; C=REGN ( 9)Q .con 0x0BE ; ACEX MS .con 0x24C ; ST=1? 9 ; .con 0x017 ; GOC +02 LB_A737 A737 goc LB_A737 .con 0x27E ; C=C-1 MS LB_A737: .con 0x268 ; REGN=C ( 9)Q ; .con 0x349 ; GSB41C LB_A345 A345 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A345 ; .con 0x08C ; ; .con 0x345 ; .con 0x319 ; GSUBNC NULTST 0EC6 ; HP41 SYSTEM ROM 0 .con 0x038 ; .con 0x215 ; GSUBNC RSTSQ 0385 ; HP41 SYSTEM ROM 0 .con 0x00C ; .con 0x2B8 ; C=REGN (10)+ .con 0x206 ; C=A+C S&X .con 0x2A8 ; REGN=C (10)+ .con 0x208 ; ST=1 2 .con 0x1E9 ; GSUBNC 277A .con 0x09C ; .con 0x278 ; C=REGN ( 9)Q .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x130 ; LDI 020 .con 0x020 ; ; .con 0x013 ; GONC +02 LB_A74C A74C gonc LB_A74C LB_A74B: .con 0x3E8 ; REGN=C (15)e LB_A74C: .con 0x27E ; C=C-1 MS .con 0x2FE ; ?C#0 MS ; .con 0x3EF ; GOC -03 LB_A74B A74B goc LB_A74B .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; ; .con 0x349 ; GSB41C LB_A278 A278 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A278 ; .con 0x08C ; ; .con 0x278 ; .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; LB_A756: .con 0x0AE ; ACEX ALL .con 0x07C ; RCR 4 .con 0x10E ; A=C ALL .con 0x01C ; PT= 3 .con 0x2E2 ; ?C#0 @R .con 0x029 ; GOLC RAK70 070A ; HP41 SYSTEM ROM 0 .con 0x01F ; .con 0x016 ; A=0 XS .con 0x291 ; GOLNC NAME4A 0FA4 ; HP41 SYSTEM ROM 0 .con 0x03E ; LB_A760: .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x04E ; C=0 ALL .con 0x130 ; LDI 020 .con 0x020 ; .con 0x10E ; A=C ALL .con 0x31C ; PT= 1 ; .con 0x01B ; GONC +03 LB_A76A A76A gonc LB_A76A LB_A768: .con 0x17E ; A=A+1 MS ; .con 0x027 ; GOC +04 LB_A76D A76D goc LB_A76D LB_A76A: .con 0x3B8 ; C=REGN (14)d .con 0x36A ; ?A#C R<- ; .con 0x3E3 ; GONC -04 LB_A768 A768 gonc LB_A768 LB_A76D: .con 0x104 ; ST=0 8 .con 0x1A6 ; A=A-1 S&X .con 0x36A ; ?A#C R<- ; .con 0x01F ; GOC +03 LB_A773 A773 goc LB_A773 .con 0x108 ; ST=1 8 .con 0x3B8 ; C=REGN (14)d LB_A773: .con 0x28C ; ST=1? 7 .con 0x360 ; RTNC .con 0x24C ; ST=1? 9 ; .con 0x08B ; GONC +11 LB_A787 A787 gonc LB_A787 .con 0x3D8 ; CSTEX .con 0x144 ; ST=0 6 .con 0x284 ; ST=0 7 .con 0x3D8 ; CSTEX .con 0x166 ; A=A+1 S&X .con 0x36A ; ?A#C R<- ; .con 0x02F ; GOC +05 LB_A782 A782 goc LB_A782 .con 0x098 ; C=G .con 0x3C6 ; CSR S&X .con 0x36A ; ?A#C R<- ; .con 0x02F ; GOC +05 LB_A786 A786 goc LB_A786 LB_A782: .con 0x3E8 ; REGN=C (15)e .con 0x35E ; ?A#0 MS ; .con 0x013 ; GONC +02 LB_A786 A786 gonc LB_A786 .con 0x1BE ; A=A-1 MS LB_A786: .con 0x1A6 ; A=A-1 S&X LB_A787: .con 0x066 ; ABEX S&X .con 0x0A6 ; ACEX S&X .con 0x175 ; GSUBNC ASCLCD 2C5D ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x0E6 ; BCEX S&X .con 0x10C ; ST=1? 8 ; .con 0x013 ; GONC +02 LB_A78F A78F gonc LB_A78F .con 0x3E8 ; REGN=C (15)e LB_A78F: .con 0x226 ; C=C+1 S&X LB_A790: .con 0x1BE ; A=A-1 MS .con 0x149 ; GOLC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x027 ; .con 0x3E8 ; REGN=C (15)e ; .con 0x3E3 ; GONC -04 LB_A790 A790 gonc LB_A790 LB_A795: .con 0x18D ; GSUBNC 7063 .con 0x1C0 ; .con 0x238 ; C=REGN ( 8)P .con 0x27C ; RCR 9 .con 0x226 ; C=C+1 S&X .con 0x340 ; HPIL=C 5 .con 0x106 ; A=C S&X .con 0x016 ; A=0 XS .con 0x2D5 ; GSUBNC 70B5 .con 0x1C0 ; .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x086 ; B=A S&X .con 0x01E ; A=0 MS .con 0x3A1 ; GSUBNC GENNUM 05E8 ; HP41 SYSTEM ROM 0 .con 0x014 ; .con 0x124 ; SELPF 4 ; Peripheral 4: HP-IL .con 0x13A ; A=A+B M ; .con 0x103 ; GONC +20 LB_A7C7 A7C7 gonc LB_A7C7 .con 0x066 ; ABEX S&X .con 0x366 ; ?A#C S&X ; .con 0x027 ; GOC +04 LB_A7AE A7AE goc LB_A7AE .con 0x130 ; LDI 02A .con 0x02A ; ; .con 0x01B ; GONC +03 LB_A7B0 A7B0 gonc LB_A7B0 LB_A7AE: .con 0x130 ; LDI 020 .con 0x020 ; LB_A7B0: .con 0x3E8 ; REGN=C (15)e .con 0x2DC ; PT= 13 .con 0x250 ; LC 9 .con 0x0FE ; BCEX MS .con 0x064 ; SELPF 1 ; Peripheral 1: HP-IL .con 0x285 ; GSUBNC 29A1 .con 0x0A4 ; .con 0x189 ; GOLC 0462 .con 0x013 ; LB_A7B9: .con 0x280 ; HPIL=C 2 .con 0x041 ; GSUBNC 7110 .con 0x1C4 ; .con 0x24C ; ST=1? 9 ; .con 0x0A7 ; GOC +14 LB_A7D1 A7D1 goc LB_A7D1 .con 0x106 ; A=C S&X .con 0x086 ; B=A S&X .con 0x130 ; LDI 00D .con 0x00D ; .con 0x366 ; ?A#C S&X ; .con 0x043 ; GONC +08 LB_A7CB A7CB gonc LB_A7CB .con 0x130 ; LDI 00A .con 0x00A ; .con 0x366 ; ?A#C S&X ;LB_A7C7: .con 0x03B ; GONC +07 LB_A7CE A7CE LB_A7C7: gonc LB_A7CE .con 0x0A6 ; ACEX S&X .con 0x175 ; GSUBNC ASCLCD 2C5D ; HP41 SYSTEM ROM 2 .con 0x0B0 ; LB_A7CB: .con 0x0C6 ; C=B S&X .con 0x2DE ; ?B#0 MS ; .con 0x367 ; GOC -14 LB_A7B9 A7B9 goc LB_A7B9 LB_A7CE: .con 0x3D9 ; GSUBNC 70F6 .con 0x1C0 ; ; .con 0x09B ; GONC +13 LB_A7E3 A7E3 gonc LB_A7E3 LB_A7D1: .con 0x244 ; ST=0 9 .con 0x106 ; A=C S&X .con 0x130 ; LDI 040 .con 0x040 ; .con 0x366 ; ?A#C S&X ; .con 0x06B ; GONC +0D LB_A7E3 A7E3 gonc LB_A7E3 .con 0x3BD ; GSUBNC MESSL 07EF ; 001 009 004 220 .con 0x01C ; .con 0x001 ; .con 0x009 ; .con 0x004 ; .con 0x220 ; .con 0x0D1 ; GSUBNC 7134 .con 0x1C4 ; .con 0x386 ; ASR S&X .con 0x01E ; A=0 MS .con 0x3A1 ; GSUBNC GENNUM 05E8 ; HP41 SYSTEM ROM 0 .con 0x014 ; LB_A7E3: .con 0x395 ; GSUBNC 77E5 .con 0x1DC ; .con 0x3DD ; GOLNC LEFTJ 2BF7 ; HP41 SYSTEM ROM 2 .con 0x0AE ; LB_A7E7: .con 0x3B8 ; C=REGN (14)d .con 0x23C ; RCR 2 .con 0x3D8 ; CSTEX .con 0x30C ; ST=1? 1 ; .con 0x1C3 ; GONC +38 LB_A823 A823 gonc LB_A823 .con 0x3D8 ; CSTEX .con 0x1A0 ; CLRABC .con 0x1B0 ; C=STK .con 0x170 ; STK=C .con 0x11A ; A=C M .con 0x09C ; PT= 5 .con 0x350 ; LC D .con 0x3D0 ; LC F .con 0x290 ; LC A .con 0x37A ; ?A#C M ; .con 0x1AF ; GOC +35 LB_A82B A82B goc LB_A82B .con 0x149 ; GSUBNC 0E52 .con 0x038 ; .con 0x3E0 ; RTN .con 0x0C6 ; C=B S&X .con 0x3A8 ; REGN=C (14)d .con 0x3A8 ; REGN=C (14)d .con 0x3A8 ; REGN=C (14)d .con 0x36D ; GSUBNC GTACOD 1FDB ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x106 ; A=C S&X .con 0x01E ; A=0 MS .con 0x35D ; GSUBNC PCTOC 00D7 ; HP41 SYSTEM ROM 0 .con 0x000 ; ; .con 0x0A3 ; GONC +14 LB_A818 A818 gonc LB_A818 .con 0x054 ; ?PT= 4 .con 0x05A ; C=0 M .con 0x059 ; GSUBNC 1616 .con 0x058 ; .con 0x04C ; ST=1? 4 .con 0x04D ; GOLNC 1313 .con 0x04E ; ; .con 0x04F ; GOC +09 LB_A815 A815 goc LB_A815 .con 0x050 ; LC 1 .con 0x051 ; GOLC 1214 .con 0x04B ; .con 0x041 ; GOLNC 1010 .con 0x042 ; ; .con 0x043 ; GONC +08 LB_A81A A81A gonc LB_A81A .con 0x044 ; ST=0 4 .con 0x045 ; GOLNC 5F11 LB_A815: .con 0x17E ; .con 0x079 ; GOLC STK15 0E1E ; HP41 SYSTEM ROM 0 .con 0x03B ; LB_A818: .con 0x23A ; C=C+1 M .con 0x330 ; CXISA LB_A81A: .con 0x366 ; ?A#C S&X ; .con 0x3D7 ; GOC -06 LB_A815 A815 goc LB_A815 .con 0x130 ; LDI 04B .con 0x04B ; .con 0x306 ; ?A<C S&X ; .con 0x02B ; GONC +05 LB_A824 A824 gonc LB_A824 .con 0x130 ; LDI 020 .con 0x020 ; ; .con 0x033 ; GONC +06 LB_A828 A828 gonc LB_A828 ;LB_A823: .con 0x173 ; GONC +2E LB_A851 A851 LB_A823: gonc LB_A851 LB_A824: .con 0x366 ; ?A#C S&X ; .con 0x027 ; GOC +04 LB_A829 A829 goc LB_A829 .con 0x130 ; LDI 034 .con 0x034 ; LB_A828: .con 0x146 ; A=A+C S&X LB_A829: .con 0x025 ; GOLNC STK05 0E09 ; HP41 SYSTEM ROM 0 .con 0x03A ; LB_A82B: .con 0x28C ; ST=1? 7 ; .con 0x1D7 ; GOC +3A LB_A866 A866 goc LB_A866 .con 0x39C ; PT= 0 .con 0x006 ; A=0 S&X .con 0x3EE ; ASL ALL .con 0x2B8 ; C=REGN (10)+ .con 0x046 ; C=0 S&X .con 0x33C ; RCR 1 .con 0x01C ; PT= 3 .con 0x10A ; A=C R<- .con 0x0B0 ; C=N .con 0x3C6 ; CSR S&X .con 0x146 ; A=A+C S&X .con 0x04E ; C=0 ALL .con 0x130 ; LDI 00B .con 0x00B ; .con 0x36A ; ?A#C R<- ; .con 0x05F ; GOC +0B LB_A847 A847 goc LB_A847 .con 0x0F0 ; CNEX .con 0x2B8 ; C=REGN (10)+ .con 0x222 ; C=C+1 @R .con 0x2A8 ; REGN=C (10)+ ; .con 0x349 ; GSB41C LB_A248 A248 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A248 ; .con 0x08C ; ; .con 0x248 ; ; .con 0x365 ; GOL41C LB_A4A2 A4A2 ; GSUBNC 23D9, address in 2nd Quad RGO LB_A4A2 ; .con 0x08C ; ; .con 0x0A2 ; LB_A847: .con 0x130 ; LDI 01A .con 0x01A ; .con 0x276 ; C=C-1 XS .con 0x36A ; ?A#C R<- ; .con 0x03F ; GOC +07 LB_A852 A852 goc LB_A852 .con 0x0F0 ; CNEX ; .con 0x3B5 ; GSB41C LB_AF72 AF72 ; GSUBNC 23ED, address in 4th Quad RXQ LB_AF72 ; .con 0x08C ; ; .con 0x372 ; ; .con 0x083 ; GONC +10 LB_A860 A860 gonc LB_A860 ;LB_A851: .con 0x0D3 ; GONC +1A LB_A86B A86B LB_A851: gonc LB_A86B LB_A852: .con 0x15C ; PT= 6 .con 0x310 ; LC C .con 0x390 ; LC E .con 0x350 ; LC D .con 0x390 ; LC E .con 0x130 ; LDI 003 .con 0x003 ; .con 0x15C ; PT= 6 .con 0x36A ; ?A#C R<- ; .con 0x05F ; GOC +0B LB_A866 A866 goc LB_A866 .con 0x0F0 ; CNEX ; .con 0x3B5 ; GSB41C LB_AF77 AF77 ; GSUBNC 23ED, address in 4th Quad RXQ LB_AF77 ; .con 0x08C ; ; .con 0x377 ; ;LB_A860: .con 0x349 ; GSB41C LB_A248 A248 ; GSUBNC 23D2, address in 1st Quad LB_A860: RXQ LB_A248 ; .con 0x08C ; ; .con 0x248 ; ; .con 0x365 ; GOL41C LB_A69C A69C ; GSUBNC 23D9, address in 2nd Quad RGO LB_A69C ; .con 0x08C ; ; .con 0x29C ; LB_A866: .con 0x3B8 ; C=REGN (14)d .con 0x358 ; ST=C .con 0x198 ; C=M .con 0x3CD ; GOLNC RMCK10 27F3 ; HP41 SYSTEM ROM 2 .con 0x09E ; LB_A86B: .con 0x3B8 ; C=REGN (14)d .con 0x33C ; RCR 1 .con 0x3D8 ; CSTEX .con 0x30C ; ST=1? 1 ; .con 0x3BB ; GONC -09 LB_A866 A866 gonc LB_A866 .con 0x14C ; ST=1? 6 ; .con 0x3AB ; GONC -0B LB_A866 A866 gonc LB_A866 .con 0x00C ; ST=1? 3 ; .con 0x39B ; GONC -0D LB_A866 A866 gonc LB_A866 .con 0x378 ; C=REGN (13)c .con 0x0FC ; RCR 10 .con 0x1FE ; C=C+C MS ; .con 0x37F ; GOC -11 LB_A866 A866 goc LB_A866 .con 0x3B8 ; C=REGN (14)d .con 0x358 ; ST=C .con 0x00C ; ST=1? 3 ; .con 0x07B ; GONC +0F LB_A88A A88A gonc LB_A88A .con 0x338 ; C=REGN (12)b .con 0x33C ; RCR 1 .con 0x05A ; C=0 M .con 0x2FC ; RCR 13 .con 0x328 ; REGN=C (12)b .con 0x2F8 ; C=REGN (11)a .con 0x11E ; A=C MS .con 0x278 ; C=REGN ( 9)Q .con 0x2E8 ; REGN=C (11)a .con 0x23E ; C=C+1 MS ; .con 0x01B ; GONC +03 LB_A889 A889 gonc LB_A889 .con 0x17E ; A=A+1 MS ; .con 0x2F7 ; GOC -22 LB_A866 A866 goc LB_A866 LB_A889: .con 0x3B8 ; C=REGN (14)d LB_A88A: .con 0x2BC ; RCR 7 .con 0x3D8 ; CSTEX .con 0x38C ; ST=1? 0 ; .con 0x2CF ; GOC -27 LB_A866 A866 goc LB_A866 .con 0x3D8 ; CSTEX .con 0x04E ; C=0 ALL .con 0x26E ; C=C-1 ALL .con 0x0F0 ; CNEX .con 0x15C ; PT= 6 .con 0x04A ; C=0 R<- .con 0x2EE ; ?C#0 ALL ; .con 0x28F ; GOC -2F LB_A866 A866 goc LB_A866 .con 0x39C ; PT= 0 .con 0x098 ; C=G .con 0x106 ; A=C S&X .con 0x2E6 ; ?C#0 S&X ; .con 0x263 ; GONC -34 LB_A866 A866 gonc LB_A866 .con 0x130 ; LDI 07F .con 0x07F ; .con 0x366 ; ?A#C S&X ;LB_A89E: .con 0x243 ; GONC -38 LB_A866 A866 LB_A89E: gonc LB_A866 .con 0x35D ; GSUBNC PCTOC 00D7 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x03C ; RCR 3 .con 0x130 ; LDI 080 .con 0x080 ; .con 0x206 ; C=A+C S&X .con 0x1BC ; RCR 11 .con 0x330 ; CXISA .con 0x058 ; G=C .con 0x0E6 ; BCEX S&X .con 0x00C ; ST=1? 3 ; .con 0x0FF ; GOC +1F LB_A8C9 A8C9 goc LB_A8C9 .con 0x05A ; C=0 M .con 0x1B0 ; C=STK .con 0x11A ; A=C M .con 0x09C ; PT= 5 .con 0x310 ; LC C .con 0x250 ; LC 9 .con 0x0D0 ; LC 3 .con 0x37A ; ?A#C M ; .con 0x35F ; GOC -15 LB_A89E A89E goc LB_A89E .con 0x2D6 ; ?B#0 XS ; .con 0x153 ; GONC +2A LB_A8DF A8DF gonc LB_A8DF .con 0x178 ; C=REGN ( 5)M .con 0x39C ; PT= 0 .con 0x098 ; C=G .con 0x168 ; REGN=C ( 5)M .con 0x0D6 ; C=B XS .con 0x276 ; C=C-1 XS .con 0x2F6 ; ?C#0 XS ; .con 0x033 ; GONC +06 LB_A8C3 A8C3 gonc LB_A8C3 .con 0x108 ; ST=1 8 .con 0x2E0 ; DISOFF .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; ; .con 0x2E3 ; GONC -24 LB_A89E A89E gonc LB_A89E LB_A8C3: .con 0x244 ; ST=0 9 LB_A8C4: .con 0x284 ; ST=0 7 ; .con 0x36D ; GSB41C LB_A760 A760 ; GSUBNC 23DB, address in 2nd Quad RXQ LB_A760 ; .con 0x08C ; ; .con 0x360 ; ; .con 0x2B3 ; GONC -2A LB_A89E A89E gonc LB_A89E LB_A8C9: .con 0x2D6 ; ?B#0 XS ; .con 0x0AB ; GONC +15 LB_A8DF A8DF gonc LB_A8DF .con 0x278 ; C=REGN ( 9)Q .con 0x10E ; A=C ALL .con 0x0C6 ; C=B S&X .con 0x08D ; GSUBNC PTBYTA 2323 ; HP41 SYSTEM ROM 2 .con 0x08C ; .con 0x0D6 ; C=B XS .con 0x276 ; C=C-1 XS .con 0x2F6 ; ?C#0 XS ; .con 0x383 ; GONC -10 LB_A8C3 A8C3 gonc LB_A8C3 .con 0x276 ; C=C-1 XS .con 0x2F6 ; ?C#0 XS ; .con 0x247 ; GOC -38 LB_A89E A89E goc LB_A89E .con 0x329 ; GSUBNC DECADA 29CA ; HP41 SYSTEM ROM 2 .con 0x0A4 ; .con 0x2ED ; GSUBNC GTBYTA 29BB ; HP41 SYSTEM ROM 2 .con 0x0A4 ; .con 0x39C ; PT= 0 .con 0x058 ; G=C .con 0x248 ; ST=1 9 ; .con 0x333 ; GONC -1A LB_A8C4 A8C4 gonc LB_A8C4 LB_A8DF: .con 0x288 ; ST=1 7 ; .con 0x36D ; GSB41C LB_A760 A760 ; GSUBNC 23DB, address in 2nd Quad RXQ LB_A760 ; .con 0x08C ; ; .con 0x360 ; .con 0x130 ; LDI 020 .con 0x020 ; .con 0x3E8 ; REGN=C (15)e LB_A8E6: .con 0x006 ; A=0 S&X ; .con 0x349 ; GSB41C LB_A111 A111 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A111 ; .con 0x08C ; ; .con 0x111 ; ; .con 0x3E3 ; GONC -04 LB_A8E6 A8E6 gonc LB_A8E6 .con 0x000 ; NOP ; .con 0x3D3 ; GONC -06 LB_A8E6 A8E6 gonc LB_A8E6 .con 0x10C ; ST=1? 8 ; .con 0x3C3 ; GONC -08 LB_A8E6 A8E6 gonc LB_A8E6 .con 0x278 ; C=REGN ( 9)Q .con 0x10E ; A=C ALL .con 0x07C ; RCR 4 .con 0x106 ; A=C S&X .con 0x30C ; ST=1? 1 ; .con 0x08F ; GOC +11 LB_A905 A905 goc LB_A905 .con 0x130 ; LDI 256 .con 0x256 ; .con 0x306 ; ?A<C S&X ; .con 0x057 ; GOC +0A LB_A902 A902 goc LB_A902 .con 0x36D ; GSUBNC TONE7X 16DB ; HP41 SYSTEM ROM 1 .con 0x058 ; .con 0x288 ; ST=1 7 ; .con 0x36D ; GSB41C LB_A760 A760 ; GSUBNC 23DB, address in 2nd Quad RXQ LB_A760 ; .con 0x08C ; ; .con 0x360 ; .con 0x3B8 ; C=REGN (14)d .con 0x3B8 ; C=REGN (14)d ; .con 0x32B ; GONC -1B LB_A8E6 A8E6 gonc LB_A8E6 ;LB_A902: .con 0x349 ; GSB41C LB_A20F A20F ; GSUBNC 23D2, address in 1st Quad LB_A902: RXQ LB_A20F ; .con 0x08C ; ; .con 0x20F ; LB_A905: .con 0x0AE ; ACEX ALL .con 0x07C ; RCR 4 .con 0x106 ; A=C S&X .con 0x29D ; GSUBNC STFLGS 16A7 ; HP41 SYSTEM ROM 1 .con 0x058 ; .con 0x358 ; ST=C .con 0x00C ; ST=1? 3 ; .con 0x057 ; GOC +0A LB_A916 A916 goc LB_A916 .con 0x178 ; C=REGN ( 5)M .con 0x31C ; PT= 1 .con 0x0AA ; ACEX R<- .con 0x168 ; REGN=C ( 5)M .con 0x108 ; ST=1 8 .con 0x2E0 ; DISOFF .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; ; .con 0x06B ; GONC +0D LB_A922 A922 gonc LB_A922 LB_A916: .con 0x2F8 ; C=REGN (11)a .con 0x268 ; REGN=C ( 9)Q .con 0x070 ; N=C .con 0x0AE ; ACEX ALL .con 0x08D ; GSUBNC PTBYTA 2323 ; HP41 SYSTEM ROM 2 .con 0x08C ; .con 0x104 ; ST=0 8 .con 0x17E ; A=A+1 MS ; .con 0x017 ; GOC +02 LB_A920 A920 goc LB_A920 .con 0x108 ; ST=1 8 LB_A920: .con 0x18D ; GSUBNC DFILLF 0563 ; HP41 SYSTEM ROM 0 .con 0x014 ; ;LB_A922: .con 0x369 ; GOL41C LB_A866 A866 ; GSUBNC 0FDA, address in same Quad LB_A922: RGO LB_A866 ; .con 0x03C ; ; .con 0x066 ; LB_A925: .con 0x104 ; ST=0 8 .con 0x248 ; ST=1 9 ; .con 0x04B ; GONC +09 LB_A930 A930 gonc LB_A930 LB_A928: .con 0x108 ; ST=1 8 .con 0x0B0 ; C=N .con 0x35C ; PT= 12 .con 0x2EA ; ?C#0 R<- ; .con 0x01F ; GOC +03 LB_A92F A92F goc LB_A92F .con 0x03E ; B=0 MS LB_A92E: .con 0x104 ; ST=0 8 LB_A92F: .con 0x244 ; ST=0 9 ;LB_A930: .con 0x3AD ; GOL41C LB_AD60 AD60 ; GSUBNC 23EB, address in 4th Quad LB_A930: RGO LB_AD60 ; .con 0x08C ; ; .con 0x160 ; .NAME "WSIZE" WSIZE: .con 0x0F8 ; C=REGN ( 3)X .con 0x38D ; GSUBNC BCDBIN 02E3 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x106 ; A=C S&X .con 0x130 ; LDI 021 .con 0x021 ; .con 0x306 ; ?A<C S&X .con 0x0B5 ; GOLNC ERRDE 282D ; HP41 SYSTEM ROM 2 .con 0x0A2 ; .con 0x086 ; B=A S&X .con 0x130 ; LDI 004 .con 0x004 ; .con 0x31C ; PT= 1 LB_A945: .con 0x3DC ; INCPT .con 0x1C6 ; A=A-C S&X ; .con 0x3F3 ; GONC -02 LB_A945 A945 gonc LB_A945 .con 0x146 ; A=A+C S&X .con 0x04E ; C=0 ALL .con 0x2AA ; C=-C-1 R<- LB_A94B: .con 0x1A6 ; A=A-1 S&X ; .con 0x01F ; GOC +03 LB_A94F A94F goc LB_A94F .con 0x1EE ; C=C+C ALL ; .con 0x3EB ; GONC -03 LB_A94B A94B gonc LB_A94B LB_A94F: .con 0x0C6 ; C=B S&X .con 0x27E ; C=C-1 MS LB_A951: .con 0x070 ; N=C ;LB_A952: .con 0x379 ; GSB41C LB_A928 A928 ; GSUBNC 0FDE, address in same Quad LB_A952: RXQ LB_A928 ; .con 0x03C ; ; .con 0x128 ; .con 0x2EE ; ?C#0 ALL .con 0x360 ; RTNC .con 0x10C ; ST=1? 8 .con 0x051 ; GOLNC PKIOAS 2114 ; HP41 SYSTEM ROM 2 .con 0x086 ; ; .con 0x341 ; GOL41C LB_A23F A23F ; GSUBNC 23D0, address in 1st Quad RGO LB_A23F ; .con 0x08C ; ; .con 0x23F ; .con 0x084 ; .con 0x005 ; .con 0x005 ; .NAME "SEED" SEED: .con 0x0F8 ; C=REGN ( 3)X .con 0x361 ; GSUBNC CHK$S 14D8 ; HP41 SYSTEM ROM 1 .con 0x050 ; .con 0x084 ; ST=0 5 .con 0x0ED ; GSUBNC INTFRC 193B ; HP41 SYSTEM ROM 1 .con 0x064 ; .con 0x260 ; SETHEX .con 0x05E ; C=0 MS .con 0x23E ; C=C+1 MS ; .con 0x33B ; GONC -19 LB_A951 A951 gonc LB_A951 .con 0x08D ; .con 0x004 ; .con 0x00E ; .NAME "RNDM" RNDM: .con 0x05E ; C=0 MS .con 0x23E ; C=C+1 MS .con 0x0FE ; BCEX MS ; .con 0x379 ; GSB41C LB_A92E A92E ; GSUBNC 0FDE, address in same Quad RXQ LB_A92E ; .con 0x03C ; ; .con 0x12E ; .con 0x2EE ; ?C#0 ALL ; .con 0x10F ; GOC +21 LB_A997 A997 goc LB_A997 .con 0x130 ; LDI 010 .con 0x010 ; .con 0x270 ; DADD=C .con 0x130 ; LDI 0FB .con 0x0FB ; .AD=C .con 0x3E8 ; REGN=C (15)e .con 0x038 ; C=REGN ( 0)T .con 0x03C ; RCR 3 .con 0x10E ; A=C ALL .con 0x0BC ; RCR 5 .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x2A0 ; SETDEC .con 0x14E ; A=A+C ALL .con 0x378 ; C=REGN (13)c .con 0x14E ; A=A+C ALL .con 0x0F8 ; C=REGN ( 3)X .con 0x20E ; C=A+C ALL .con 0x000 ; NOP LB_A98B: .con 0x2FC ; RCR 13 .con 0x2FE ; ?C#0 MS ; .con 0x3F3 ; GONC -02 LB_A98B A98B gonc LB_A98B .con 0x3CE ; CSR ALL .con 0x046 ; C=0 S&X .con 0x266 ; C=C-1 S&X .con 0x23E ; C=C+1 MS .con 0x260 ; SETHEX .con 0x070 ; N=C ; .con 0x379 ; GSB41C LB_A952 A952 ; GSUBNC 0FDE, address in same Quad RXQ LB_A952 ; .con 0x03C ; ; .con 0x152 ; LB_A997: .con 0x05E ; C=0 MS .con 0x10E ; A=C ALL .con 0x04E ; C=0 ALL .con 0x35C ; PT= 12 .con 0x250 ; LC 9 .con 0x210 ; LC 8 .con 0x090 ; LC 2 .con 0x050 ; LC 1 .con 0x130 ; LDI 003 .con 0x003 ; .con 0x2A0 ; SETDEC .con 0x135 ; GSUBNC MP2-10 184D ; HP41 SYSTEM ROM 1 .con 0x060 ; .con 0x04E ; C=0 ALL .con 0x266 ; C=C-1 S&X .con 0x000 ; NOP .con 0x35C ; PT= 12 .con 0x090 ; LC 2 .con 0x050 ; LC 1 .con 0x050 ; LC 1 .con 0x0D0 ; LC 3 .con 0x090 ; LC 2 .con 0x1D0 ; LC 7 .con 0x025 ; GSUBNC AD1-10 1809 ; HP41 SYSTEM ROM 1 .con 0x060 ; .con 0x084 ; ST=0 5 .con 0x0ED ; GSUBNC INTFRC 193B ; HP41 SYSTEM ROM 1 .con 0x064 ; .con 0x23E ; C=C+1 MS .con 0x2F0 ; DATA=C .con 0x05E ; C=0 MS .con 0x0A5 ; GOLNC LXEX 1229 ; HP41 SYSTEM ROM 1 .con 0x04A ; .con 0x000 ; NOP .con 0x0BF ; .con 0x018 ; .con 0x016 ; .con 0x005 ; .NAME "REVX?" REVX?: .con 0x0F8 ; C=REGN ( 3)X .con 0x38D ; GSUBNC BCDBIN 02E3 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x106 ; A=C S&X .con 0x130 ; LDI 010 .con 0x010 ; .con 0x306 ; ?A<C S&X .con 0x289 ; GOLNC ERROF 00A2 ; HP41 SYSTEM ROM 0 .con 0x002 ; .con 0x0A6 ; ACEX S&X .con 0x106 ; A=C S&X .con 0x1BC ; RCR 11 .con 0x046 ; C=0 S&X .con 0x266 ; C=C-1 S&X .con 0x1BC ; RCR 11 .con 0x05E ; C=0 MS .con 0x23E ; C=C+1 MS .con 0x130 ; LDI 003 .con 0x003 ; .con 0x306 ; ?A<C S&X ; .con 0x01F ; GOC +03 LB_A9D5 A9D5 goc LB_A9D5 .con 0x2DC ; PT= 13 .con 0x110 ; LC 4 LB_A9D5: .con 0x39C ; PT= 0 .con 0x0EE ; BCEX ALL .con 0x108 ; ST=1 8 LB_A9D8: .con 0x0CE ; C=B ALL .con 0x10C ; ST=1? 8 ; .con 0x01B ; GONC +03 LB_A9DD A9DD gonc LB_A9DD .con 0x27E ; C=C-1 MS .con 0x360 ; RTNC LB_A9DD: .con 0x27A ; C=C-1 M .con 0x330 ; CXISA .con 0x0EE ; BCEX ALL .con 0x0C6 ; C=B S&X .con 0x358 ; ST=C .con 0x14C ; ST=1? 6 ; .con 0x03B ; GONC +07 LB_A9EA A9EA gonc LB_A9EA .con 0x33C ; RCR 1 .con 0x130 ; LDI 2C0 .con 0x2C0 ; .con 0x0FC ; RCR 10 .con 0x330 ; CXISA ; .con 0x033 ; GONC +06 LB_A9EF A9EF gonc LB_A9EF LB_A9EA: .con 0x08C ; ST=1? 5 ; .con 0x017 ; GOC +02 LB_A9ED A9ED goc LB_A9ED .con 0x148 ; ST=1 6 LB_A9ED: .con 0x284 ; ST=0 7 .con 0x3D8 ; CSTEX LB_A9EF: .con 0x3D5 ; GSUBNC APND10 1FF5 ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x28C ; ST=1? 7 ; .con 0x333 ; GONC -1A LB_A9D8 A9D8 gonc LB_A9D8 .con 0x3E0 ; RTN LB_A9F4: .con 0x1B0 ; C=STK .con 0x09C ; PT= 5 .con 0x110 ; LC 4 .con 0x390 ; LC E .con 0x390 ; LC E .con 0x1D0 ; LC 7 .con 0x210 ; LC 8 .con 0x2D0 ; LC B .con 0x070 ; N=C .con 0x001 ; GSUBNC GTRMAD 0800 ; HP41 SYSTEM ROM 0 .con 0x020 ; ; .con 0x05B ; GONC +0B LB_AA0A AA0A gonc LB_AA0A .con 0x130 ; LDI 391 .con 0x391 ; .con 0x01C ; PT= 3 .con 0x0AA ; ACEX R<- .con 0x1BC ; RCR 11 .con 0x330 ; CXISA .con 0x366 ; ?A#C S&X ; .con 0x01F ; GOC +03 LB_AA0A AA0A goc LB_AA0A .con 0x0B0 ; C=N .con 0x1E0 ; GOTOC LB_AA0A: .con 0x0B0 ; C=N .con 0x31C ; PT= 1 .con 0x010 ; LC 0 .con 0x090 ; LC 2 .con 0x1E0 ; GOTOC LB_AA0F: .con 0x004 ; ST=0 3 LB_AA10: .con 0x2DC ; PT= 13 .con 0x3D0 ; LC F .con 0x0FE ; BCEX MS .con 0x378 ; C=REGN (13)c .con 0x13C ; RCR 8 .con 0x398 ; C=ST .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x3C6 ; CSR S&X .con 0x358 ; ST=C ; .con 0x379 ; GSB41C LB_A92E A92E ; GSUBNC 0FDE, address in same Quad RXQ LB_A92E ; .con 0x03C ; ; .con 0x12E ; .con 0x2EE ; ?C#0 ALL ; .con 0x02F ; GOC +05 LB_AA23 AA23 goc LB_AA23 .con 0x266 ; C=C-1 S&X .con 0x37C ; RCR 12 .con 0x130 ; LDI 008 .con 0x008 ; LB_AA23: .con 0x05E ; C=0 MS .con 0x070 ; N=C .con 0x04E ; C=0 ALL .con 0x270 ; DADD=C .con 0x30C ; ST=1? 1 .con 0x360 ; RTNC .con 0x20C ; ST=1? 2 ; .con 0x0E3 ; GONC +1C LB_AA46 AA46 gonc LB_AA46 .con 0x0DC ; PT= 10 ; .con 0x3B5 ; GSB41C LB_ACFB ACFB ; GSUBNC 23ED, address in 4th Quad RXQ LB_ACFB ; .con 0x08C ; ; .con 0x0FB ; .con 0x0B0 ; C=N .con 0x306 ; ?A<C S&X ; .con 0x093 ; GONC +12 LB_AA43 AA43 gonc LB_AA43 .con 0x04E ; C=0 ALL .con 0x130 ; LDI 004 .con 0x004 ; .con 0x21C ; PT= 2 LB_AA36: .con 0x3DC ; INCPT .con 0x1C6 ; A=A-C S&X ; .con 0x3F3 ; GONC -02 LB_AA36 AA36 gonc LB_AA36 .con 0x050 ; LC 1 .con 0x3DC ; INCPT .con 0x146 ; A=A+C S&X .con 0x046 ; C=0 S&X LB_AA3D: .con 0x1A6 ; A=A-1 S&X ; .con 0x14F ; GOC +29 LB_AA67 AA67 goc LB_AA67 .con 0x1E2 ; C=C+C @R ; .con 0x3EB ; GONC -03 LB_AA3D AA3D gonc LB_AA3D LB_AA41: .con 0x008 ; ST=1 3 ; .con 0x273 ; GONC -32 LB_AA10 AA10 gonc LB_AA10 ;LB_AA43: .con 0x3B5 ; GSB41C LB_AC94 AC94 ; GSUBNC 23ED, address in 4th Quad LB_AA43: RXQ LB_AC94 ; .con 0x08C ; ; .con 0x094 ; LB_AA46: .con 0x21C ; PT= 2 ; .con 0x3B5 ; GSB41C LB_ACFB ACFB ; GSUBNC 23ED, address in 4th Quad RXQ LB_ACFB ; .con 0x08C ; ; .con 0x0FB ; .con 0x012 ; A=0 P-Q .con 0x0B0 ; C=N .con 0x14C ; ST=1? 6 ; .con 0x037 ; GOC +06 LB_AA53 AA53 goc LB_AA53 .con 0x28C ; ST=1? 7 ; .con 0x027 ; GOC +04 LB_AA53 AA53 goc LB_AA53 .con 0x2DE ; ?B#0 MS ; .con 0x387 ; GOC -10 LB_AA41 AA41 goc LB_AA41 ; .con 0x053 ; GONC +0A LB_AA5C AA5C gonc LB_AA5C LB_AA53: .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x3DA ; CSR M .con 0x2DE ; ?B#0 MS ; .con 0x023 ; GONC +04 LB_AA5C AA5C gonc LB_AA5C .con 0x14C ; ST=1? 6 ; .con 0x013 ; GONC +02 LB_AA5C AA5C gonc LB_AA5C .con 0x1AE ; A=A-1 ALL LB_AA5C: .con 0x0AE ; ACEX ALL .con 0x1BC ; RCR 11 .con 0x31A ; ?A<C M ; .con 0x317 ; GOC -1E LB_AA41 AA41 goc LB_AA41 .con 0x2DE ; ?B#0 MS ; .con 0x013 ; GONC +02 LB_AA63 AA63 gonc LB_AA63 .con 0x2BA ; C=-C-1 M LB_AA63: .con 0x10E ; A=C ALL .con 0x0B0 ; C=N .con 0x0AE ; ACEX ALL .con 0x3B0 ; C=C&A LB_AA67: .con 0x00C ; ST=1? 3 ; .con 0x03B ; GONC +07 LB_AA6F AA6F gonc LB_AA6F .con 0x158 ; M=C .con 0x004 ; ST=0 3 .con 0x21C ; PT= 2 ; .con 0x3B5 ; GSB41C LB_AD00 AD00 ; GSUBNC 23ED, address in 4th Quad RXQ LB_AD00 ; .con 0x08C ; ; .con 0x100 ; LB_AA6F: .con 0x38C ; ST=1? 0 .con 0x3A0 ; RTNNC .con 0x10E ; A=C ALL .con 0x198 ; C=M .con 0x3E0 ; RTN LB_AA74: .con 0x104 ; ST=0 8 .con 0x0B0 ; C=N .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x3DA ; CSR M .con 0x0AE ; ACEX ALL .con 0x31A ; ?A<C M ; .con 0x04B ; GONC +09 LB_AA85 AA85 gonc LB_AA85 .con 0x28C ; ST=1? 7 ; .con 0x027 ; GOC +04 LB_AA82 AA82 goc LB_AA82 .con 0x14C ; ST=1? 6 ; .con 0x02B ; GONC +05 LB_AA85 AA85 gonc LB_AA85 .con 0x27A ; C=C-1 M LB_AA82: .con 0x2BA ; C=-C-1 M .con 0x000 ; NOP .con 0x108 ; ST=1 8 LB_AA85: .con 0x0AE ; ACEX ALL .con 0x0B0 ; C=N .con 0x3B0 ; C=C&A .con 0x10E ; A=C ALL ; .con 0x3B5 ; GSB41C LB_AD2C AD2C ; GSUBNC 23ED, address in 4th Quad RXQ LB_AD2C ; .con 0x08C ; ; .con 0x12C ; .con 0x0AE ; ACEX ALL .con 0x10C ; ST=1? 8 ; .con 0x01B ; GONC +03 LB_AA91 AA91 gonc LB_AA91 .con 0x2DC ; PT= 13 .con 0x250 ; LC 9 LB_AA91: .con 0x0EE ; BCEX ALL .con 0x30C ; ST=1? 1 .con 0x360 ; RTNC .con 0x38C ; ST=1? 0 .con 0x3A9 ; GOLNC FILLXL 00EA ; HP41 SYSTEM ROM 0 .con 0x002 ; .con 0x391 ; GOLNC DROPST 00E4 ; HP41 SYSTEM ROM 0 .con 0x002 ; .con 0x088 ; .con 0x017 ; .con 0x005 ; .con 0x009 ; .NAME "VIEWH" VIEWH: .con 0x3C4 ; CLRST ; .con 0x083 ; GONC +10 LB_AAAF AAAF gonc LB_AAAF .con 0x088 ; .con 0x001 ; .con 0x00F ; .con 0x014 ; .NAME "XTOAH" XTOAH: .con 0x3C4 ; CLRST .con 0x288 ; ST=1 7 ; .con 0x03B ; GONC +07 LB_AAAE AAAE gonc LB_AAAE .con 0x088 ; .con 0x00C ; .con 0x003 ; .con 0x012 ; .NAME "ARCLH" ARCLH: .con 0x3C4 ; CLRST LB_AAAE: .con 0x148 ; ST=1 6 ;LB_AAAF: .con 0x379 ; GSB41C LB_AA0F AA0F ; GSUBNC 0FDE, address in same Quad LB_AAAF: RXQ LB_AA0F ; .con 0x03C ; ; .con 0x20F ; .con 0x1A6 ; A=A-1 S&X .con 0x03C ; RCR 3 .con 0x158 ; M=C .con 0x04C ; ST=1? 4 ; .con 0x03F ; GOC +07 LB_AABD AABD goc LB_AABD .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x2E0 ; DISOFF .con 0x3BD ; GSUBNC MESSL 07EF ; 227 .con 0x01C ; .con 0x227 ; LB_AABD: .con 0x39C ; PT= 0 .con 0x130 ; LDI 004 .con 0x004 ; LB_AAC0: .con 0x3DC ; INCPT .con 0x1C6 ; A=A-C S&X ; .con 0x3F3 ; GONC -02 LB_AAC0 AAC0 gonc LB_AAC0 .con 0x08C ; ST=1? 5 ; .con 0x03B ; GONC +07 LB_AACB AACB gonc LB_AACB .con 0x0B0 ; C=N .con 0x266 ; C=C-1 S&X .con 0x33C ; RCR 1 .con 0x1FE ; C=C+C MS .con 0x1FE ; C=C+C MS ; .con 0x023 ; GONC +04 LB_AACE AACE gonc LB_AACE LB_AACB: .con 0x08C ; ST=1? 5 ; .con 0x013 ; GONC +02 LB_AACE AACE gonc LB_AACE .con 0x3D4 ; DECPT LB_AACE: .con 0x3D4 ; DECPT .con 0x198 ; C=M .con 0x058 ; G=C .con 0x0E0 ; SELQ .con 0x39C ; PT= 0 .con 0x098 ; C=G .con 0x08C ; ST=1? 5 ; .con 0x07F ; GOC +0F LB_AAE4 AAE4 goc LB_AAE4 .con 0x2A0 ; SETDEC .con 0x31C ; PT= 1 .con 0x042 ; C=0 @R .con 0x226 ; C=C+1 S&X .con 0x266 ; C=C-1 S&X .con 0x2E2 ; ?C#0 @R ; .con 0x01F ; GOC +03 LB_AADF AADF goc LB_AADF .con 0x0D0 ; LC 3 ; .con 0x01B ; GONC +03 LB_AAE1 AAE1 gonc LB_AAE1 LB_AADF: .con 0x110 ; LC 4 .con 0x226 ; C=C+1 S&X LB_AAE1: .con 0x260 ; SETHEX .con 0x058 ; G=C .con 0x106 ; A=C S&X LB_AAE4: .con 0x04C ; ST=1? 4 .con 0x051 ; GSUBC APNDNW 2D14 ; HP41 SYSTEM ROM 2 .con 0x0B5 ; .con 0x04C ; ST=1? 4 .con 0x221 ; GSUBNC MASK 2C88 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x0A0 ; SELP .con 0x394 ; ?PT= 0 ; .con 0x2FB ; GONC -21 LB_AACB AACB gonc LB_AACB .con 0x108 ; ST=1 8 .con 0x04C ; ST=1? 4 .con 0x201 ; GSUBNC MSG105 1C80 ; HP41 SYSTEM ROM 1 .con 0x070 ; .con 0x3C1 ; GOLNC NFRPU 00F0 ; HP41 SYSTEM ROM 0 .con 0x002 ; .con 0x088 ; .con 0x014 ; .con 0x00D ; .NAME "PMTH" ;PMTH: .con 0x3B5 ; GSB41C LB_AF6C AF6C ; GSUBNC 23ED, address in 4th Quad PMTH: RXQ LB_AF6C ; .con 0x08C ; ; .con 0x36C ; LB_AAFA: .con 0x25D ; GSUBNC LDSST0 0797 ; HP41 SYSTEM ROM 0 .con 0x01C ; ; .con 0x379 ; GSB41C LB_AA41 AA41 ; GSUBNC 0FDE, address in same Quad RXQ LB_AA41 ; .con 0x03C ; ; .con 0x241 ; .con 0x0B0 ; C=N .con 0x266 ; C=C-1 S&X .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x3C6 ; CSR S&X .con 0x226 ; C=C+1 S&X .con 0x070 ; N=C .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x2CC ; ST=1? 13 ; .con 0x01F ; GOC +03 LB_AB0C AB0C goc LB_AB0C .con 0x20C ; ST=1? 2 ; .con 0x0AB ; GONC +15 LB_AB20 AB20 gonc LB_AB20 LB_AB0C: .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x109 ; GSUBNC ROLBAK 2E42 ; HP41 SYSTEM ROM 2 .con 0x0B8 ; .con 0x2DE ; ?B#0 MS .con 0x371 ; GSUBNC SCROLL 2CDC ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x0B0 ; C=N .con 0x33C ; RCR 1 .con 0x11E ; A=C MS .con 0x19E ; A=A-B MS ; .con 0x037 ; GOC +06 LB_AB1D AB1D goc LB_AB1D .con 0x11E ; A=C MS LB_AB19: .con 0x2DD ; GSUBNC BLANK 05B7 ; HP41 SYSTEM ROM 0 .con 0x014 ; .con 0x1BE ; A=A-1 MS ; .con 0x3EB ; GONC -03 LB_AB19 AB19 gonc LB_AB19 ;LB_AB1D: .con 0x349 ; GSB41C LB_A248 A248 ; GSUBNC 23D2, address in 1st Quad LB_AB1D: RXQ LB_A248 ; .con 0x08C ; ; .con 0x248 ; LB_AB20: .con 0x0B0 ; C=N .con 0x266 ; C=C-1 S&X .con 0x106 ; A=C S&X ; .con 0x349 ; GSB41C LB_A118 A118 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A118 ; .con 0x08C ; ; .con 0x118 ; .con 0x2C4 ; ST=0 13 .con 0x049 ; GOLNC ABTSEQ 0D12 ; HP41 SYSTEM ROM 0 .con 0x036 ; .con 0x10C ; ST=1? 8 ; .con 0x283 ; GONC -30 LB_AAFA AAFA gonc LB_AAFA ; .con 0x379 ; GSB41C LB_AA41 AA41 ; GSUBNC 0FDE, address in same Quad RXQ LB_AA41 ; .con 0x03C ; ; .con 0x241 ; .con 0x278 ; C=REGN ( 9)Q .con 0x3CE ; CSR ALL .con 0x10E ; A=C ALL .con 0x0B0 ; C=N .con 0x3B0 ; C=C&A .con 0x37A ; ?A#C M ; .con 0x237 ; GOC -3A LB_AAFA AAFA goc LB_AAFA .con 0x308 ; ST=1 1 ; .con 0x379 ; GSB41C LB_AA74 AA74 ; GSUBNC 0FDE, address in same Quad RXQ LB_AA74 ; .con 0x03C ; ; .con 0x274 ; .con 0x0EE ; BCEX ALL .con 0x158 ; M=C .con 0x108 ; ST=1 8 .con 0x201 ; GSUBNC MSG105 1C80 ; HP41 SYSTEM ROM 1 .con 0x070 ; .con 0x1D8 ; CMEX .con 0x0EE ; BCEX ALL ; .con 0x369 ; GOL41C LB_ABCF ABCF ; GSUBNC 0FDA, address in same Quad RGO LB_ABCF ; .con 0x03C ; ; .con 0x3CF ; .con 0x08B ; .con 0x014 ; .con 0x00D ; .NAME "PMTK" ;PMTK: .con 0x3B5 ; GSB41C LB_AF6C AF6C ; GSUBNC 23ED, address in 4th Quad PMTK: RXQ LB_AF6C ; .con 0x08C ; ; .con 0x36C ; .con 0x130 ; LDI 020 .con 0x020 ; .con 0x106 ; A=C S&X LB_AB4D: .con 0x178 ; C=REGN ( 5)M .con 0x056 ; C=0 XS .con 0x366 ; ?A#C S&X ; .con 0x02F ; GOC +05 LB_AB55 AB55 goc LB_AB55 ; .con 0x349 ; GSB41C ABSP A0EA ; GSUBNC 23D2, address in 1st Quad RXQ ABSP ; .con 0x08C ; ; .con 0x0EA ; ; .con 0x3CB ; GONC -07 LB_AB4D AB4D gonc LB_AB4D LB_AB55: .con 0x2E6 ; ?C#0 S&X ; .con 0x027 ; GOC +04 LB_AB5A AB5A goc LB_AB5A ; .con 0x369 ; GOL41C -CCD_OS/X ABEE ; GSUBNC 0FDA, address in same Quad RGO -CCD_OS/X ; .con 0x03C ; ; .con 0x3EE ; LB_AB5A: .con 0x104 ; ST=0 8 .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; ; .con 0x349 ; GSB41C LB_A248 A248 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A248 ; .con 0x08C ; ; .con 0x248 ; .con 0x166 ; A=A+1 S&X .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x19C ; PT= 11 .con 0x3B8 ; C=REGN (14)d LB_AB65: .con 0x3B8 ; C=REGN (14)d .con 0x116 ; A=C XS .con 0x366 ; ?A#C S&X ; .con 0x05B ; GONC +0B LB_AB73 AB73 gonc LB_AB73 .con 0x3D8 ; CSTEX .con 0x288 ; ST=1 7 .con 0x3D8 ; CSTEX .con 0x3E8 ; REGN=C (15)e .con 0x3B8 ; C=REGN (14)d .con 0x17E ; A=A+1 MS .con 0x3D4 ; DECPT .con 0x394 ; ?PT= 0 ; .con 0x3A3 ; GONC -0C LB_AB65 AB65 gonc LB_AB65 .con 0x1BE ; A=A-1 MS LB_AB73: .con 0x3F8 ; C=REGN (15)e .con 0x1BE ; A=A-1 MS ; .con 0x3F3 ; GONC -02 LB_AB73 AB73 gonc LB_AB73 .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x238 ; C=REGN ( 8)P .con 0x17C ; RCR 6 .con 0x01C ; PT= 3 .con 0x04A ; C=0 R<- .con 0x13C ; RCR 8 .con 0x228 ; REGN=C ( 8)P .con 0x086 ; B=A S&X .con 0x130 ; LDI 005 .con 0x005 ; .con 0x106 ; A=C S&X .con 0x01A ; A=0 M LB_AB83: .con 0x2ED ; GSUBNC GTBYTA 29BB ; HP41 SYSTEM ROM 2 .con 0x0A4 ; .con 0x31C ; PT= 1 .con 0x2EA ; ?C#0 R<- ; .con 0x053 ; GONC +0A LB_AB91 AB91 gonc LB_AB91 .con 0x066 ; ABEX S&X .con 0x24A ; C=A-C R<- .con 0x066 ; ABEX S&X .con 0x2EA ; ?C#0 R<- ; .con 0x02B ; GONC +05 LB_AB91 AB91 gonc LB_AB91 .con 0x01C ; PT= 3 .con 0x329 ; GSUBNC DECADA 29CA ; HP41 SYSTEM ROM 2 .con 0x0A4 ; ; .con 0x39B ; GONC -0D LB_AB83 AB83 gonc LB_AB83 LB_AB91: .con 0x0AE ; ACEX ALL .con 0x268 ; REGN=C ( 9)Q LB_AB93: .con 0x149 ; GSUBNC 0E52 .con 0x038 ; .con 0x000 ; NOP ; .con 0x349 ; GSB41C LB_A1F5 A1F5 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A1F5 ; .con 0x08C ; ; .con 0x1F5 ; .con 0x10C ; ST=1? 8 ; .con 0x203 ; GONC -40 LB_AB5A AB5A gonc LB_AB5A .con 0x130 ; LDI 059 .con 0x059 ; .con 0x375 ; GSUBNC TONEB 16DD ; HP41 SYSTEM ROM 1 .con 0x058 ; .con 0x36D ; GSUBNC GTACOD 1FDB ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x39C ; PT= 0 .con 0x058 ; G=C .con 0x0B0 ; C=N .con 0x3D8 ; CSTEX .con 0x288 ; ST=1 7 .con 0x3D8 ; CSTEX .con 0x070 ; N=C .con 0x36D ; GSUBNC GTACOD 1FDB ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x070 ; N=C .con 0x278 ; C=REGN ( 9)Q .con 0x01C ; PT= 3 .con 0x10E ; A=C ALL LB_ABAE: .con 0x2E5 ; GSUBNC NXBYTA 29B9 ; HP41 SYSTEM ROM 2 .con 0x0A4 ; .con 0x0AE ; ACEX ALL .con 0x33C ; RCR 1 .con 0x23A ; C=C+1 M .con 0x2FC ; RCR 13 .con 0x0EE ; BCEX ALL .con 0x0B0 ; C=N .con 0x31C ; PT= 1 .con 0x36A ; ?A#C R<- ; .con 0x073 ; GONC +0E LB_ABC6 ABC6 gonc LB_ABC6 .con 0x39C ; PT= 0 .con 0x098 ; C=G LB_ABBB: .con 0x31C ; PT= 1 .con 0x36A ; ?A#C R<- ; .con 0x04B ; GONC +09 LB_ABC6 ABC6 gonc LB_ABC6 .con 0x06E ; ABEX ALL .con 0x04E ; C=0 ALL .con 0x130 ; LDI 005 .con 0x005 ; .con 0x01C ; PT= 3 .con 0x36A ; ?A#C R<- ; .con 0x357 ; GOC -16 LB_ABAE ABAE goc LB_ABAE ; .con 0x273 ; GONC -32 LB_AB93 AB93 gonc LB_AB93 ;LB_ABC6: .con 0x3B5 ; GSB41C CLA- AF8F ; GSUBNC 23ED, address in 4th Quad LB_ABC6: RXQ CLA- ; .con 0x08C ; ; .con 0x38F ; .con 0x3BA ; BSR M .con 0x06E ; ABEX ALL ; .con 0x3B5 ; GSB41C LB_AD2C AD2C ; GSUBNC 23ED, address in 4th Quad RXQ LB_AD2C ; .con 0x08C ; ; .con 0x12C ; .con 0x06E ; ABEX ALL LB_ABCF: .con 0x3C1 ; GSUBNC CLLCDE 2CF0 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x130 ; LDI 02E .con 0x02E ; .con 0x3A8 ; REGN=C (14)d .con 0x149 ; GSUBNC ENCP00 0952 ; HP41 SYSTEM ROM 0 .con 0x024 ; .con 0x215 ; GSUBNC RSTSQ 0385 ; HP41 SYSTEM ROM 0 .con 0x00C ; .con 0x04C ; ST=1? 4 ; .con 0x01F ; GOC +03 LB_ABDC ABDC goc LB_ABDC .con 0x2CC ; ST=1? 13 ; .con 0x03B ; GONC +07 LB_ABE2 ABE2 gonc LB_ABE2 LB_ABDC: .con 0x141 ; GSUBNC GETPC 2950 ; HP41 SYSTEM ROM 2 .con 0x0A4 ; .con 0x3E5 ; GSUBNC SKPLIN 2AF9 ; HP41 SYSTEM ROM 2 .con 0x0A8 ; .con 0x0C5 ; GSUBNC PUTPCF 2331 ; HP41 SYSTEM ROM 2 .con 0x08C ; LB_ABE2: .con 0x0B9 ; GOLNC RCL 122E ; HP41 SYSTEM ROM 1 .con 0x04A ; ;LB_ABE4: .con 0x35B ; GONC -15 LB_ABCF ABCF LB_ABE4: gonc LB_ABCF .con 0x098 ; .con 0x02F ; .con 0x013 ; .con 0x00F ; .con 0x020 ; .con 0x004 ; .con 0x003 ; .con 0x003 ; .NAME "-CCD ;-CCD_OS/X: .con 0x349 ; GSB41C LB_A22A A22A ; GSUBNC 23D2, address in 1st Quad -CCD_OS/X: RXQ LB_A22A ; .con 0x08C ; ; .con 0x22A ; ; .con 0x00B ; GONC +01 LB_ABF2 ABF2 gonc LB_ABF2 LB_ABF2: .con 0x005 ; GSUBC 0601 .con 0x019 ; ; .con 0x23F ; GOC -39 LB_ABBB ABBB goc LB_ABBB .con 0x141 ; GSUBNC NEXT 0E50 ; HP41 SYSTEM ROM 0 .con 0x038 ; .con 0x000 ; NOP .con 0x0B0 ; C=N .con 0x3C6 ; CSR S&X .con 0x106 ; A=C S&X .con 0x130 ; LDI 044 .con 0x044 ; .con 0x306 ; ?A<C S&X ; .con 0x04F ; GOC +09 LB_AC07 AC07 goc LB_AC07 .con 0x0E6 ; BCEX S&X .con 0x3E8 ; REGN=C (15)e .con 0x130 ; LDI 187 .con 0x187 ; .con 0x206 ; C=A+C S&X .con 0x2A6 ; C=-C-1 S&X .con 0x3E8 ; REGN=C (15)e ; .con 0x033 ; GONC +06 LB_AC0C AC0C gonc LB_AC0C ;LB_AC07: .con 0x349 ; GSB41C LB_A36C A36C ; GSUBNC 23D2, address in 1st Quad LB_AC07: RXQ LB_A36C ; .con 0x08C ; ; .con 0x36C ; .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; LB_AC0C: .con 0x038 ; C=REGN ( 0)T .con 0x1BC ; RCR 11 .con 0x05A ; C=0 M .con 0x106 ; A=C S&X .con 0x046 ; C=0 S&X .con 0x37C ; RCR 12 .con 0x206 ; C=A+C S&X .con 0x23C ; RCR 2 .con 0x2FE ; ?C#0 MS ; .con 0x01B ; GONC +03 LB_AC18 AC18 gonc LB_AC18 LB_AC16: .con 0x33C ; RCR 1 .con 0x226 ; C=C+1 S&X LB_AC18: .con 0x0EE ; BCEX ALL ; .con 0x349 ; GSB41C LB_A1F7 A1F7 ; GSUBNC 23D2, address in 1st Quad RXQ LB_A1F7 ; .con 0x08C ; ; .con 0x1F7 ; .con 0x10C ; ST=1? 8 ; .con 0x28B ; GONC -2F -CCD_OS/X ABEE gonc -CCD_OS/X .con 0x130 ; LDI 059 .con 0x059 ; .con 0x375 ; GSUBNC TONEB 16DD ; HP41 SYSTEM ROM 1 .con 0x058 ; ; .con 0x213 ; GONC -3E LB_ABE4 ABE4 gonc LB_ABE4 .con 0x081 ; .con 0x014 ; .con 0x00D ; .NAME "PMTA" PMTA: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x30C ; ST=1? 1 ; .con 0x08B ; GONC +11 LB_AC3C AC3C gonc LB_AC3C .con 0x304 ; ST=0 1 .con 0x3D8 ; CSTEX .con 0x0BC ; RCR 5 .con 0x368 ; REGN=C (13)c .con 0x178 ; C=REGN ( 5)M .con 0x2EE ; ?C#0 ALL ; .con 0x043 ; GONC +08 LB_AC3A AC3A gonc LB_AC3A .con 0x3B8 ; C=REGN (14)d .con 0x13C ; RCR 8 .con 0x3D8 ; CSTEX .con 0x388 ; ST=1 0 .con 0x3D8 ; CSTEX .con 0x17C ; RCR 6 .con 0x3A8 ; REGN=C (14)d LB_AC3A: .con 0x115 ; GOLNC 1345 .con 0x04E ; LB_AC3C: .con 0x3D8 ; CSTEX .con 0x0BC ; RCR 5 .con 0x368 ; REGN=C (13)c .con 0x0F1 ; GSUBNC AON 133C ; HP41 SYSTEM ROM 1 .con 0x04C ; ; .con 0x379 ; GSB41C LB_AF6C AF6C ; GSUBNC 0FDE, address in same Quad RXQ LB_AF6C ; .con 0x03C ; ; .con 0x36C ; .con 0x178 ; C=REGN ( 5)M .con 0x2EE ; ?C#0 ALL ; .con 0x08F ; GOC +11 LB_AC57 AC57 goc LB_AC57 .con 0x130 ; LDI 007 .con 0x007 ; .con 0x33C ; RCR 1 .con 0x268 ; REGN=C ( 9)Q ; .con 0x349 ; GSB41C LB_A22A A22A ; GSUBNC 23D2, address in 1st Quad RXQ LB_A22A ; .con 0x08C ; ; .con 0x22A ; .con 0x014 ; ?PT= 3 .con 0x005 ; GSUBNC 0601 .con 0x018 ; .con 0x014 ; ?PT= 3 .con 0x020 ; SPOPND ; .con 0x21F ; GOC -3D LB_AC16 AC16 goc LB_AC16 .con 0x3DD ; GSUBNC LEFTJ 2BF7 ; HP41 SYSTEM ROM 2 .con 0x0AC ; ; .con 0x043 ; GONC +08 LB_AC5E AC5E gonc LB_AC5E LB_AC57: .con 0x104 ; ST=0 8 .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x108 ; ST=1 8 .con 0x2E0 ; DISOFF .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; LB_AC5E: .con 0x188 ; ST=1 11 LB_AC5F: .con 0x149 ; GSUBNC 0E52 .con 0x038 ; .con 0x3BD ; GOLNC NAME33 0EEF ; HP41 SYSTEM ROM 0 .con 0x03A ; .con 0x25D ; GSUBNC LDSST0 0797 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x33C ; RCR 1 .con 0x3D8 ; CSTEX .con 0x084 ; ST=0 5 .con 0x18C ; ST=1? 11 ; .con 0x01B ; GONC +03 LB_AC6C AC6C gonc LB_AC6C .con 0x148 ; ST=1 6 .con 0x108 ; ST=1 8 LB_AC6C: .con 0x3D8 ; CSTEX .con 0x2FC ; RCR 13 .con 0x3A8 ; REGN=C (14)d .con 0x278 ; C=REGN ( 9)Q .con 0x11E ; A=C MS .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x0C9 ; GSUBNC AOUTR0 2C32 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; .con 0x18C ; ST=1? 11 .con 0x345 ; GSUBC CLA 10D1 ; HP41 SYSTEM ROM 1 .con 0x041 ; .con 0x04C ; ST=1? 4 ; .con 0x01F ; GOC +03 LB_AC7C AC7C goc LB_AC7C .con 0x2CC ; ST=1? 13 ; .con 0x043 ; GONC +08 LB_AC83 AC83 gonc LB_AC83 LB_AC7C: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x308 ; ST=1 1 .con 0x3D8 ; CSTEX .con 0x0BC ; RCR 5 .con 0x368 ; REGN=C (13)c LB_AC83: .con 0x2C4 ; ST=0 13 .con 0x015 ; GOLNC PARSE 0C05 ; HP41 SYSTEM ROM 0 .con 0x032 ; LB_AC86: .con 0x3F8 ; C=REGN (15)e .con 0x0E0 ; SELQ .con 0x05C ; PT= 4 .con 0x050 ; LC 1 .con 0x210 ; LC 8 LB_AC8B: .con 0x3E8 ; REGN=C (15)e .con 0x0A0 ; SELP .con 0x3E0 ; RTN LB_AC8E: .con 0x3F8 ; C=REGN (15)e .con 0x0E0 ; SELQ .con 0x05C ; PT= 4 .con 0x050 ; LC 1 .con 0x250 ; LC 9 ; .con 0x3C3 ; GONC -08 LB_AC8B AC8B gonc LB_AC8B LB_AC94: .con 0x3F8 ; C=REGN (15)e .con 0x03C ; RCR 3 .con 0x0E6 ; BCEX S&X .con 0x3A1 ; GSUBNC ERRSUB 22E8 ; HP41 SYSTEM ROM 2 .con 0x088 ; .con 0x104 ; ST=0 8 .con 0x1B1 ; GSUBNC MSGA 1C6C ; 1C6C: display message "DATA ERROR" .con 0x070 ; .con 0x022 ; .con 0x3D9 ; GSUBNC ENLCD 07F6 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x3B8 ; C=REGN (14)d .con 0x0C6 ; C=B S&X .con 0x056 ; C=0 XS .con 0x3E8 ; REGN=C (15)e ; .con 0x349 ; GSB41C LB_A23A A23A ; GSUBNC 23D2, address in 1st Quad RXQ LB_A23A ; .con 0x08C ; ; .con 0x23A ; .con 0x19C ; PT= 11 ; .con 0x023 ; GONC +04 LB_ACAB ACAB gonc LB_ACAB .con 0x078 ; C=REGN ( 1)Z ; .con 0x083 ; GONC +10 LB_ACB9 ACB9 gonc LB_ACB9 .con 0x25C ; PT= 9 ;LB_ACAB: .con 0x379 ; GSB41C LB_AC86 AC86 ; GSUBNC 0FDE, address in same Quad LB_ACAB: RXQ LB_AC86 ; .con 0x03C ; ; .con 0x086 ; .con 0x0F8 ; C=REGN ( 3)X ; .con 0x053 ; GONC +0A LB_ACB9 ACB9 gonc LB_ACB9 .con 0x19C ; PT= 11 ; .con 0x023 ; GONC +04 LB_ACB5 ACB5 gonc LB_ACB5 .con 0x0DC ; PT= 10 ; .con 0x013 ; GONC +02 LB_ACB5 ACB5 gonc LB_ACB5 .con 0x25C ; PT= 9 ;LB_ACB5: .con 0x379 ; GSB41C LB_AC8E AC8E ; GSUBNC 0FDE, address in same Quad LB_ACB5: RXQ LB_AC8E ; .con 0x03C ; ; .con 0x08E ; .con 0x0B8 ; C=REGN ( 2)Y LB_ACB9: .con 0x361 ; GSUBNC CHK$S 14D8 ; HP41 SYSTEM ROM 1 .con 0x050 ; .con 0x0E0 ; SELQ .con 0x00E ; A=0 ALL .con 0x0BA ; ACEX M .con 0x3EE ; ASL ALL .con 0x06E ; ABEX ALL .con 0x10E ; A=C ALL .con 0x260 ; SETHEX .con 0x130 ; LDI 04D .con 0x04D ; .con 0x33C ; RCR 1 .con 0x356 ; ?A#0 XS ; .con 0x01F ; GOC +03 LB_ACC9 ACC9 goc LB_ACC9 .con 0x306 ; ?A<C S&X ; .con 0x183 ; GONC +30 LB_ACF8 ACF8 gonc LB_ACF8 LB_ACC9: .con 0x266 ; C=C-1 S&X LB_ACCA: .con 0x366 ; ?A#C S&X ; .con 0x043 ; GONC +08 LB_ACD3 ACD3 gonc LB_ACD3 .con 0x2A0 ; SETDEC .con 0x166 ; A=A+1 S&X .con 0x260 ; SETHEX .con 0x3AE ; BSR ALL .con 0x27E ; C=C-1 MS ; .con 0x3CB ; GONC -07 LB_ACCA ACCA gonc LB_ACCA .con 0x106 ; A=C S&X LB_ACD3: .con 0x0CE ; C=B ALL .con 0x158 ; M=C .con 0x25C ; PT= 9 .con 0x048 ; ST=1 4 LB_ACD7: .con 0x04A ; C=0 R<- .con 0x2FC ; RCR 13 LB_ACD9: .con 0x1EA ; C=C+C R<- .con 0x10A ; A=C R<- .con 0x1EA ; C=C+C R<- .con 0x1EA ; C=C+C R<- .con 0x14A ; A=A+C R<- .con 0x04A ; C=0 R<- .con 0x2FC ; RCR 13 .con 0x20A ; C=A+C R<- .con 0x3DC ; INCPT .con 0x354 ; ?PT= 12 ; .con 0x3B3 ; GONC -0A LB_ACD9 ACD9 gonc LB_ACD9 .con 0x01C ; PT= 3 .con 0x2E2 ; ?C#0 @R ; .con 0x097 ; GOC +12 LB_ACF8 ACF8 goc LB_ACF8 .con 0x04C ; ST=1? 4 ; .con 0x043 ; GONC +08 LB_ACF0 ACF0 gonc LB_ACF0 .con 0x0E6 ; BCEX S&X .con 0x198 ; C=M .con 0x1BC ; RCR 11 .con 0x0A0 ; SELP .con 0x05E ; C=0 MS .con 0x044 ; ST=0 4 ; .con 0x343 ; GONC -18 LB_ACD7 ACD7 gonc LB_ACD7 LB_ACF0: .con 0x1BC ; RCR 11 .con 0x11A ; A=C M .con 0x066 ; ABEX S&X .con 0x130 ; LDI 200 .con 0x200 ; .con 0x1E6 ; C=C+C S&X .con 0x306 ; ?A<C S&X .con 0x360 ; RTNC ;LB_ACF8: .con 0x369 ; GOL41C LB_AC94 AC94 ; GSUBNC 0FDA, address in same Quad LB_ACF8: RGO LB_AC94 ; .con 0x03C ; ; .con 0x094 ; ;LB_ACFB: .con 0x379 ; GSB41C LB_AC86 AC86 ; GSUBNC 0FDE, address in same Quad LB_ACFB: RXQ LB_AC86 ; .con 0x03C ; ; .con 0x086 ; .con 0x0F8 ; C=REGN ( 3)X ; .con 0x02B ; GONC +05 LB_AD04 AD04 gonc LB_AD04 ;LB_AD00: .con 0x379 ; GSB41C LB_AC8E AC8E ; GSUBNC 0FDE, address in same Quad LB_AD00: RXQ LB_AC8E ; .con 0x03C ; ; .con 0x08E ; .con 0x0B8 ; C=REGN ( 2)Y LB_AD04: .con 0x361 ; GSUBNC CHK$S 14D8 ; HP41 SYSTEM ROM 1 .con 0x050 ; .con 0x260 ; SETHEX .con 0x10E ; A=C ALL .con 0x356 ; ?A#0 XS ; .con 0x013 ; GONC +02 LB_AD0B AD0B gonc LB_AD0B .con 0x00E ; A=0 ALL LB_AD0B: .con 0x09E ; B=A MS .con 0x086 ; B=A S&X .con 0x0E0 ; SELQ .con 0x2DC ; PT= 13 .con 0x0A0 ; SELP .con 0x00A ; A=0 R<- .con 0x3DC ; INCPT LB_AD12: .con 0x3F2 ; ASL P-Q .con 0x04E ; C=0 ALL .con 0x0BE ; ACEX MS .con 0x2FC ; RCR 13 .con 0x20A ; C=A+C R<- .con 0x10A ; A=C R<- .con 0x0E6 ; BCEX S&X .con 0x266 ; C=C-1 S&X ; .con 0x06F ; GOC +0D LB_AD27 AD27 goc LB_AD27 .con 0x0E6 ; BCEX S&X .con 0x1EA ; C=C+C R<- .con 0x1EA ; C=C+C R<- .con 0x1EA ; C=C+C R<- .con 0x20A ; C=A+C R<- .con 0x14A ; A=A+C R<- .con 0x3DC ; INCPT .con 0x120 ; ?P=Q ; .con 0x37B ; GONC -11 LB_AD12 AD12 gonc LB_AD12 ; .con 0x369 ; GOL41C LB_AC94 AC94 ; GSUBNC 0FDA, address in same Quad RGO LB_AC94 ; .con 0x03C ; ; .con 0x094 ; LB_AD27: .con 0x012 ; A=0 P-Q .con 0x3E0 ; RTN .con 0x3EE ; ASL ALL .con 0x3EE ; ASL ALL .con 0x3EE ; ASL ALL LB_AD2C: .con 0x006 ; A=0 S&X .con 0x02E ; B=0 ALL .con 0x11C ; PT= 8 LB_AD2F: .con 0x04E ; C=0 ALL .con 0x3EE ; ASL ALL .con 0x35E ; ?A#0 MS ; .con 0x01F ; GOC +03 LB_AD35 AD35 goc LB_AD35 .con 0x2DA ; ?B#0 M ; .con 0x07B ; GONC +0F LB_AD43 AD43 gonc LB_AD43 LB_AD35: .con 0x0BE ; ACEX MS .con 0x0FC ; RCR 10 .con 0x2A0 ; SETDEC .con 0x23A ; C=C+1 M .con 0x27A ; C=C-1 M .con 0x07A ; ABEX M .con 0x0BA ; ACEX M .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x1FA ; C=C+C M .con 0x15A ; A=A+C M .con 0x260 ; SETHEX .con 0x07A ; ABEX M LB_AD43: .con 0x3D4 ; DECPT .con 0x354 ; ?PT= 12 ; .con 0x353 ; GONC -16 LB_AD2F AD2F gonc LB_AD2F .con 0x07A ; ABEX M .con 0x34E ; ?A#0 ALL .con 0x3A0 ; RTNNC .con 0x130 ; LDI 009 .con 0x009 ; .con 0x0A6 ; ACEX S&X LB_AD4C: .con 0x342 ; ?A#0 @R .con 0x360 ; RTNC .con 0x1A6 ; A=A-1 S&X .con 0x3FA ; ASL M ; .con 0x3E3 ; GONC -04 LB_AD4C AD4C gonc LB_AD4C LB_AD51: .con 0x0F8 ; C=REGN ( 3)X .con 0x38D ; GSUBNC BCDBIN 02E3 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x2E6 ; ?C#0 S&X LB_AD55: .con 0x0B5 ; GOLNC ERRDE 282D ; HP41 SYSTEM ROM 2 .con 0x0A2 ; .con 0x106 ; A=C S&X .con 0x33C ; RCR 1 .con 0x11E ; A=C MS .con 0x130 ; LDI 00F .con 0x00F ; .con 0x306 ; ?A<C S&X ; .con 0x3C3 ; GONC -08 LB_AD55 AD55 gonc LB_AD55 .con 0x104 ; ST=0 8 .con 0x248 ; ST=1 9 LB_AD60: .con 0x24C ; ST=1? 9 ; .con 0x013 ; GONC +02 LB_AD63 AD63 gonc LB_AD63 .con 0x09E ; B=A MS LB_AD63: .con 0x01E ; A=0 MS ; .con 0x05B ; GONC +0B LB_AD6F AD6F gonc LB_AD6F LB_AD65: .con 0x04E ; C=0 ALL .con 0x0A6 ; ACEX S&X .con 0x1BC ; RCR 11 .con 0x0FA ; BCEX M .con 0x2DC ; PT= 13 .con 0x0DE ; C=B MS .con 0x24C ; ST=1? 9 ; .con 0x017 ; GOC +02 LB_AD6E AD6E goc LB_AD6E .con 0x150 ; LC 5 LB_AD6E: .con 0x11E ; A=C MS LB_AD6F: .con 0x04E ; C=0 ALL .con 0x21E ; C=A+C MS .con 0x3CE ; CSR ALL .con 0x35C ; PT= 12 .con 0x102 ; A=C @R .AD=C .con 0x270 ; DADD=C .con 0x378 ; C=REGN (13)c .con 0x0E6 ; BCEX S&X .con 0x130 ; LDI 0BF .con 0x0BF ; .con 0x106 ; A=C S&X LB_AD7B: .con 0x166 ; A=A+1 S&X LB_AD7C: .con 0x326 ; ?A<B S&X ; .con 0x0AB ; GONC +15 LB_AD92 AD92 gonc LB_AD92 .con 0x0A6 ; ACEX S&X .con 0x106 ; A=C S&X .con 0x270 ; DADD=C .con 0x038 ; C=REGN ( 0)T .con 0x23E ; C=C+1 MS ; .con 0x3C7 ; GOC -08 LB_AD7B AD7B goc LB_AD7B .con 0x27E ; C=C-1 MS .con 0x362 ; ?A#C @R ; .con 0x0DB ; GONC +1B LB_ADA1 ADA1 gonc LB_ADA1 .con 0x0FC ; RCR 10 .con 0x056 ; C=0 XS .con 0x146 ; A=A+C S&X .con 0x2EE ; ?C#0 ALL ; .con 0x38F ; GOC -0F LB_AD7C AD7C goc LB_AD7C .con 0x10C ; ST=1? 8 .con 0x3A0 ; RTNNC .con 0x20E ; C=A+C ALL .con 0x166 ; A=A+1 S&X .con 0x186 ; A=A-B S&X ; .con 0x02F ; GOC +05 LB_AD96 AD96 goc LB_AD96 LB_AD92: .con 0x342 ; ?A#0 @R ; .con 0x293 ; GONC -2E LB_AD65 AD65 gonc LB_AD65 LB_AD94: .con 0x04E ; C=0 ALL .con 0x3E0 ; RTN LB_AD96: .con 0x19C ; PT= 11 .con 0x010 ; LC 0 .con 0x090 ; LC 2 .con 0x35C ; PT= 12 .con 0x2F0 ; DATA=C .con 0x226 ; C=C+1 S&X .con 0x270 ; DADD=C .con 0x106 ; A=C S&X LB_AD9E: .con 0x0B0 ; C=N LB_AD9F: .con 0x2F0 ; DATA=C .con 0x3E0 ; RTN LB_ADA1: .con 0x35E ; ?A#0 MS ; .con 0x21B ; GONC -3D LB_AD65 AD65 gonc LB_AD65 .con 0x0BE ; ACEX MS .con 0x11E ; A=C MS .con 0x24C ; ST=1? 9 ; .con 0x3CF ; GOC -07 LB_AD9F AD9F goc LB_AD9F .con 0x0FC ; RCR 10 .con 0x056 ; C=0 XS .con 0x206 ; C=A+C S&X .con 0x086 ; B=A S&X .con 0x0E6 ; BCEX S&X .con 0x0DA ; C=B M .con 0x1BC ; RCR 11 .con 0x0FA ; BCEX M .con 0x01E ; A=0 MS .con 0x10C ; ST=1? 8 ; .con 0x01F ; GOC +03 LB_ADB4 ADB4 goc LB_ADB4 .con 0x2DE ; ?B#0 MS ; .con 0x027 ; GOC +04 LB_ADB7 ADB7 goc LB_ADB7 LB_ADB4: .con 0x03E ; B=0 MS .con 0x0B0 ; C=N .con 0x11E ; A=C MS LB_ADB7: .con 0x13E ; A=A+B MS LB_ADB8: .con 0x166 ; A=A+1 S&X .con 0x326 ; ?A<B S&X ; .con 0x063 ; GONC +0C LB_ADC6 ADC6 gonc LB_ADC6 .con 0x0A6 ; ACEX S&X .con 0x270 ; DADD=C .con 0x0A6 ; ACEX S&X .con 0x038 ; C=REGN ( 0)T .con 0x37E ; ?A#C MS ; .con 0x3C7 ; GOC -08 LB_ADB8 ADB8 goc LB_ADB8 .con 0x10C ; ST=1? 8 ; .con 0x2E7 ; GOC -24 LB_AD9E AD9E goc LB_AD9E .con 0x2DE ; ?B#0 MS .con 0x360 ; RTNC ; .con 0x123 ; GONC +24 LB_ADE9 ADE9 gonc LB_ADE9 LB_ADC6: .con 0x10C ; ST=1? 8 ; .con 0x26B ; GONC -33 LB_AD94 AD94 gonc LB_AD94 .con 0x0DA ; C=B M .con 0x17C ; RCR 6 .con 0x270 ; DADD=C .con 0x0E6 ; BCEX S&X .con 0x1BC ; RCR 11 .con 0x106 ; A=C S&X .con 0x038 ; C=REGN ( 0)T .con 0x2EE ; ?C#0 ALL ; .con 0x227 ; GOC -3C LB_AD94 AD94 goc LB_AD94 .con 0x206 ; C=A+C S&X .con 0x270 ; DADD=C .con 0x038 ; C=REGN ( 0)T .con 0x0FC ; RCR 10 .con 0x226 ; C=C+1 S&X .con 0x07C ; RCR 4 .con 0x2F0 ; DATA=C LB_ADD8: .con 0x0A6 ; ACEX S&X .con 0x226 ; C=C+1 S&X .con 0x106 ; A=C S&X .con 0x270 ; DADD=C .con 0x038 ; C=REGN ( 0)T .con 0x0F0 ; CNEX .con 0x2F0 ; DATA=C .con 0x326 ; ?A<B S&X ; .con 0x3C7 ; GOC -08 LB_ADD8 ADD8 goc LB_ADD8 .con 0x0CE ; C=B ALL .con 0x03C ; RCR 3 .con 0x226 ; C=C+1 S&X .con 0x270 ; DADD=C .con 0x106 ; A=C S&X .con 0x038 ; C=REGN ( 0)T .con 0x070 ; N=C .con 0x3E0 ; RTN LB_ADE9: .con 0x04E ; C=0 ALL .con 0x070 ; N=C .con 0x0DA ; C=B M .con 0x17C ; RCR 6 LB_ADED: .con 0x266 ; C=C-1 S&X .con 0x270 ; DADD=C .con 0x0E6 ; BCEX S&X .con 0x038 ; C=REGN ( 0)T .con 0x0F0 ; CNEX .con 0x2F0 ; DATA=C .con 0x0E6 ; BCEX S&X .con 0x306 ; ?A<C S&X ; .con 0x3C7 ; GOC -08 LB_ADED ADED goc LB_ADED .con 0x0DA ; C=B M .con 0x03C ; RCR 3 .con 0x270 ; DADD=C .con 0x038 ; C=REGN ( 0)T .con 0x0FC ; RCR 10 .con 0x266 ; C=C-1 S&X .con 0x106 ; A=C S&X .con 0x07C ; RCR 4 .con 0x2F0 ; DATA=C .con 0x016 ; A=0 XS .con 0x1A6 ; A=A-1 S&X .con 0x1A6 ; A=A-1 S&X .con 0x3A0 ; RTNNC .con 0x05E ; C=0 MS .con 0x2F0 ; DATA=C .con 0x04E ; C=0 ALL .con 0x270 ; DADD=C .con 0x3E0 ; RTN .con 0x089 ; .con 0x00C ; .con 0x003 ; .con 0x012 ; .NAME "ARCLI" ARCLI: .con 0x0F8 ; C=REGN ( 3)X .con 0x0EE ; BCEX ALL .con 0x0CE ; C=B ALL .con 0x27E ; C=C-1 MS .con 0x27E ; C=C-1 MS .con 0x259 ; GOLC XARCL 1696 ; HP41 SYSTEM ROM 1 .con 0x05B ; .con 0x3B8 ; C=REGN (14)d .con 0x070 ; N=C .con 0x04E ; C=0 ALL .con 0x01C ; PT= 3 .con 0x210 ; LC 8 .con 0x3A8 ; REGN=C (14)d .con 0x0F8 ; C=REGN ( 3)X .con 0x088 ; ST=1 5 .con 0x0ED ; GSUBNC INTFRC 193B ; HP41 SYSTEM ROM 1 .con 0x064 ; .con 0x0EE ; BCEX ALL .con 0x0A1 ; GSUBNC AFORMT 0628 ; HP41 SYSTEM ROM 0 .con 0x018 ; .con 0x0B0 ; C=N .con 0x3A8 ; REGN=C (14)d .con 0x3E0 ; RTN .con 0x08D ; .con 0x00F ; .con 0x012 ; .con 0x005 ; .con 0x016 ; .con 0x001 ; .NAME "SAVEROM" ;SAVEROM: .con 0x349 ; GSB41C LB_A2AA A2AA ; GSUBNC 23D2, address in 1st Quad SAVEROM: RXQ LB_A2AA ; .con 0x08C ; ; .con 0x2AA ; ; .con 0x379 ; GSB41C LB_AEC0 AEC0 ; GSUBNC 0FDE, address in same Quad RXQ LB_AEC0 ; .con 0x03C ; ; .con 0x2C0 ; .con 0x05E ; C=0 MS .con 0x02D ; GSUBNC 780B .con 0x1E0 ; .con 0x198 ; C=M .con 0x2EE ; ?C#0 ALL .con 0x249 ; GOLC 7692 .con 0x1DB ; .con 0x04E ; C=0 ALL .con 0x130 ; LDI 078 .con 0x078 ; .con 0x23C ; RCR 2 .con 0x130 ; LDI 280 .con 0x280 ; .con 0x07C ; RCR 4 .con 0x130 ; LDI 014 .con 0x014 ; .con 0x07C ; RCR 4 .con 0x2F1 ; GSUBNC 76BC .con 0x1D8 ; .con 0x1C9 ; GSUBNC 7F72 .con 0x1FC ; .con 0x130 ; LDI 0A2 .con 0x0A2 ; .con 0x2E9 ; GSUBNC 70BA .con 0x1C0 ; .con 0x369 ; GSUBNC 70DA .con 0x1C0 ; .con 0x39D ; GSUBNC 77E7 .con 0x1DC ; .con 0x124 ; SELPF 4 ; Peripheral 4: HP-IL .con 0x005 ; GSUBC DE01 .con 0x379 ; .con 0x03C ; RCR 3 .con 0x2C0 ; HPIL=C 3 LB_AE53: .con 0x266 ; C=C-1 S&X ; .con 0x12F ; GOC +25 LB_AE79 AE79 goc LB_AE79 .con 0x05C ; PT= 4 .con 0x006 ; A=0 S&X .con 0x0E6 ; BCEX S&X LB_AE58: .con 0x330 ; CXISA .con 0x23A ; C=C+1 M .con 0x0B6 ; ACEX XS .con 0x0A6 ; ACEX S&X .con 0x3E6 ; ASL S&X .con 0x3EE ; ASL ALL .con 0x3EE ; ASL ALL .con 0x1E6 ; C=C+C S&X .con 0x1E6 ; C=C+C S&X .con 0x3C6 ; CSR S&X .con 0x0A6 ; ACEX S&X .con 0x3D4 ; DECPT .con 0x394 ; ?PT= 0 ; .con 0x39B ; GONC -0D LB_AE58 AE58 gonc LB_AE58 .con 0x0E6 ; BCEX S&X .con 0x158 ; M=C .con 0x3E6 ; ASL S&X .con 0x3EE ; ASL ALL .con 0x0AE ; ACEX ALL .con 0x09C ; PT= 5 .con 0x268 ; REGN=C ( 9)Q LB_AE6D: .con 0x278 ; C=REGN ( 9)Q .con 0x23C ; RCR 2 .con 0x268 ; REGN=C ( 9)Q .con 0x099 ; GSUBNC 7126 .con 0x1C4 ; .con 0x39D ; GSUBNC 77E7 .con 0x1DC ; .con 0x3D4 ; DECPT .con 0x394 ; ?PT= 0 ; .con 0x3BB ; GONC -09 LB_AE6D AE6D gonc LB_AE6D .con 0x198 ; C=M ; .con 0x2DB ; GONC -25 LB_AE53 AE53 gonc LB_AE53 LB_AE79: .con 0x130 ; LDI 0A8 .con 0x0A8 ; .con 0x2E9 ; GSUBNC 70BA .con 0x1C0 ; .con 0x2BD ; GOLNC 70AF .con 0x1C2 ; .con 0x08D ; .con 0x00F ; .con 0x012 ; .con 0x014 ; .con 0x005 ; .NAME "GETROM" ;GETROM: .con 0x349 ; GSB41C LB_A2AA A2AA ; GSUBNC 23D2, address in 1st Quad GETROM: RXQ LB_A2AA ; .con 0x08C ; ; .con 0x2AA ; ; .con 0x379 ; GSB41C LB_AEC0 AEC0 ; GSUBNC 0FDE, address in same Quad RXQ LB_AEC0 ; .con 0x03C ; ; .con 0x2C0 ; .con 0x130 ; LDI 007 .con 0x007 ; .con 0x029 ; GSUBNC 780A .con 0x1E0 ; .con 0x1DD ; GSUBNC 7F77 .con 0x1FC ; .con 0x399 ; GSUBNC 70E6 .con 0x1C0 ; ; .con 0x379 ; GSB41C LB_AEC0 AEC0 ; GSUBNC 0FDE, address in same Quad RXQ LB_AEC0 ; .con 0x03C ; ; .con 0x2C0 ; LB_AE96: .con 0x266 ; C=C-1 S&X .con 0x2B1 ; GOLC 70AC .con 0x1C3 ; .con 0x158 ; M=C .con 0x09C ; PT= 5 LB_AE9B: .con 0x041 ; GSUBNC 7110 .con 0x1C4 ; .con 0x24C ; ST=1? 9 .con 0x0D1 ; GOLC 7634 .con 0x1DB ; .con 0x280 ; HPIL=C 2 .con 0x0A6 ; ACEX S&X .con 0x278 ; C=REGN ( 9)Q .con 0x0A6 ; ACEX S&X .con 0x23C ; RCR 2 .con 0x268 ; REGN=C ( 9)Q .con 0x3D4 ; DECPT .con 0x394 ; ?PT= 0 ; .con 0x39B ; GONC -0D LB_AE9B AE9B gonc LB_AE9B .con 0x10E ; A=C ALL .con 0x23C ; RCR 2 .con 0x0EE ; BCEX ALL .con 0x198 ; C=M .con 0x05C ; PT= 4 .con 0x0EE ; BCEX ALL LB_AEAF: .con 0x0AE ; ACEX ALL .con 0x37C ; RCR 12 .con 0x0AE ; ACEX ALL .con 0x0B6 ; ACEX XS .con 0x0A6 ; ACEX S&X .con 0x0FA ; BCEX M .con 0x040 ; WMLDL .con 0x23A ; C=C+1 M .con 0x0FA ; BCEX M .con 0x1EE ; C=C+C ALL .con 0x1EE ; C=C+C ALL .con 0x33C ; RCR 1 .con 0x3D4 ; DECPT .con 0x394 ; ?PT= 0 ; .con 0x393 ; GONC -0E LB_AEAF AEAF gonc LB_AEAF .con 0x0EE ; BCEX ALL ; .con 0x2BB ; GONC -29 LB_AE96 AE96 gonc LB_AE96 LB_AEC0: .con 0x0F8 ; C=REGN ( 3)X .con 0x38D ; GSUBNC BCDBIN 02E3 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x106 ; A=C S&X .con 0x130 ; LDI 010 .con 0x010 ; .con 0x306 ; ?A<C S&X .con 0x289 ; GOLNC ERROF 00A2 ; HP41 SYSTEM ROM 0 .con 0x002 ; .con 0x0A6 ; ACEX S&X .con 0x13C ; RCR 8 .con 0x21C ; PT= 2 .con 0x110 ; LC 4 .con 0x3E0 ; RTN .con 0x094 ; .con 0x010 ; .con 0x00E ; .NAME "INPT" INPT: .con 0x115 ; GSUBNC 1345 .con 0x04C ; .con 0x04C ; ST=1? 4 ; .con 0x02F ; GOC +05 LB_AEDA AEDA goc LB_AEDA .con 0x2CC ; ST=1? 13 ; .con 0x01F ; GOC +03 LB_AEDA AEDA goc LB_AEDA .con 0x3C1 ; GOLNC NFRPU 00F0 ; HP41 SYSTEM ROM 0 .con 0x002 ; LB_AEDA: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x30C ; ST=1? 1 ; .con 0x16B ; GONC +2D LB_AF0B AF0B gonc LB_AF0B .con 0x304 ; ST=0 1 .con 0x3D8 ; CSTEX .con 0x0BC ; RCR 5 .con 0x368 ; REGN=C (13)c .con 0x3C4 ; CLRST .con 0x388 ; ST=1 0 .con 0x011 ; GSUBNC ADRFCH 0004 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x070 ; N=C .con 0x198 ; C=M .con 0x2A0 ; SETDEC .con 0x2FE ; ?C#0 MS ; .con 0x023 ; GONC +04 LB_AEEF AEEF gonc LB_AEEF .con 0x23E ; C=C+1 MS ; .con 0x143 ; GONC +28 LB_AF15 AF15 gonc LB_AF15 .con 0x27E ; C=C-1 MS LB_AEEF: .con 0x10E ; A=C ALL .con 0x085 ; GSUBNC Y-X 1421 ; HP41 SYSTEM ROM 1 .con 0x050 ; .con 0x260 ; SETHEX .con 0x2FE ; ?C#0 MS ; .con 0x127 ; GOC +24 LB_AF18 AF18 goc LB_AF18 .con 0x3C4 ; CLRST .con 0x308 ; ST=1 1 .con 0x011 ; GSUBNC ADRFCH 0004 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x10E ; A=C ALL .con 0x198 ; C=M .con 0x070 ; N=C .con 0x085 ; GSUBNC Y-X 1421 ; HP41 SYSTEM ROM 1 .con 0x050 ; .con 0x260 ; SETHEX .con 0x2FE ; ?C#0 MS ; .con 0x0C7 ; GOC +18 LB_AF18 AF18 goc LB_AF18 LB_AF01: .con 0x3C4 ; CLRST .con 0x288 ; ST=1 7 .con 0x011 ; GSUBNC ADRFCH 0004 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x198 ; C=M .con 0x2F0 ; DATA=C .con 0x011 ; GSUBNC ADRFCH 0004 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x281 ; GOLNC XISG 15A0 ; HP41 SYSTEM ROM 1 .con 0x056 ; ;LB_AF0B: .con 0x113 ; GONC +22 LB_AF2D AF2D LB_AF0B: gonc LB_AF2D LB_AF0C: .con 0x104 ; ST=0 8 .con 0x1B1 ; GSUBNC MSGA 1C6C ; 1C6C: display message "ALPHA DATA" .con 0x070 ; .con 0x018 ; LB_AF10: .con 0x046 ; C=0 S&X .con 0x375 ; GSUBNC TONEB 16DD ; HP41 SYSTEM ROM 1 .con 0x058 ; .con 0x184 ; ST=0 11 ; .con 0x233 ; GONC -3A LB_AEDA AEDA gonc LB_AEDA LB_AF15: .con 0x260 ; SETHEX .con 0x104 ; ST=0 8 ; .con 0x013 ; GONC +02 LB_AF19 AF19 gonc LB_AF19 LB_AF18: .con 0x108 ; ST=1 8 LB_AF19: .con 0x25D ; GSUBNC LDSST0 0797 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x2BC ; RCR 7 .con 0x358 ; ST=C .con 0x204 ; ST=0 2 .con 0x3D8 ; CSTEX .con 0x10C ; ST=1? 8 ; .con 0x01B ; GONC +03 LB_AF23 AF23 gonc LB_AF23 .con 0x00C ; ST=1? 3 ; .con 0x2FF ; GOC -21 LB_AF01 AF01 goc LB_AF01 LB_AF23: .con 0x2BC ; RCR 7 .con 0x3A8 ; REGN=C (14)d .con 0x20C ; ST=1? 2 ; .con 0x2DF ; GOC -25 LB_AF01 AF01 goc LB_AF01 .con 0x10C ; ST=1? 8 ; .con 0x323 ; GONC -1C LB_AF0C AF0C gonc LB_AF0C .con 0x1B1 ; GSUBNC MSGA 1C6C ; 1C6C: display message "OUT OF RANGE" .con 0x070 ; .con 0x04F ; ; .con 0x323 ; GONC -1C LB_AF10 AF10 gonc LB_AF10 LB_AF2D: .con 0x3C4 ; CLRST .con 0x308 ; ST=1 1 .con 0x011 ; GSUBNC ADRFCH 0004 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x10E ; A=C ALL .con 0x0B0 ; C=N .con 0x266 ; C=C-1 S&X .con 0x270 ; DADD=C .con 0x038 ; C=REGN ( 0)T .con 0x351 ; GSUBNC CHK$S1 14D4 ; HP41 SYSTEM ROM 1 .con 0x050 ; .con 0x260 ; SETHEX .con 0x3C4 ; CLRST .con 0x288 ; ST=1 7 .con 0x011 ; GSUBNC ADRFCH 0004 ; HP41 SYSTEM ROM 0 .con 0x000 ; .con 0x046 ; C=0 S&X .con 0x270 ; DADD=C .con 0x130 ; LDI 03A .con 0x03A ; .con 0x3D5 ; GSUBNC APND10 1FF5 ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x130 ; LDI 020 .con 0x020 ; .con 0x3D5 ; GSUBNC APND10 1FF5 ; HP41 SYSTEM ROM 1 .con 0x07C ; .con 0x18C ; ST=1? 11 .con 0x3B5 ; GSUBC R^SUB 14ED ; HP41 SYSTEM ROM 1 .con 0x051 ; .con 0x0CE ; C=B ALL .con 0x0E8 ; REGN=C ( 3)X .con 0x259 ; GSUBNC XARCL 1696 ; HP41 SYSTEM ROM 1 .con 0x058 ; .con 0x379 ; GSUBNC BSTEP 28DE ; HP41 SYSTEM ROM 2 .con 0x0A0 ; .con 0x104 ; ST=0 8 .con 0x041 ; GSUBNC ARGOUT 2C10 ; HP41 SYSTEM ROM 2 .con 0x0B0 ; ; .con 0x379 ; GSB41C LB_AF88 AF88 ; GSUBNC 0FDE, address in same Quad RXQ LB_AF88 ; .con 0x03C ; ; .con 0x388 ; ; .con 0x349 ; GSB41C ABSP A0EA ; GSUBNC 23D2, address in 1st Quad RXQ ABSP ; .con 0x08C ; ; .con 0x0EA ; .con 0x184 ; ST=0 11 .con 0x3B8 ; C=REGN (14)d .con 0x13C ; RCR 8 .con 0x3D8 ; CSTEX .con 0x304 ; ST=0 1 .con 0x3D8 ; CSTEX .con 0x17C ; RCR 6 .con 0x3A8 ; REGN=C (14)d ; .con 0x369 ; GOL41C LB_AC5F AC5F ; GSUBNC 0FDA, address in same Quad RGO LB_AC5F ; .con 0x03C ; ; .con 0x05F ; .con 0x093 ; .con 0x001 ; .NAME "CAS" CAS: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x204 ; ST=0 2 ; .con 0x0C3 ; GONC +18 LB_AF83 AF83 gonc LB_AF83 LB_AF6C: .con 0x04C ; ST=1? 4 ; .con 0x01F ; GOC +03 LB_AF70 AF70 goc LB_AF70 .con 0x2CC ; ST=1? 13 .con 0x3A0 ; RTNNC LB_AF70: .con 0x379 ; GOLNC BSTEP 28DE ; HP41 SYSTEM ROM 2 .con 0x0A2 ; LB_AF72: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x288 ; ST=1 7 ; .con 0x06B ; GONC +0D LB_AF83 AF83 gonc LB_AF83 LB_AF77: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x284 ; ST=0 7 ; .con 0x043 ; GONC +08 LB_AF83 AF83 gonc LB_AF83 .con 0x093 ; .con 0x001 ; .NAME "SAS" SAS: .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x3D8 ; CSTEX .con 0x208 ; ST=1 2 LB_AF83: .con 0x3D8 ; CSTEX .con 0x0BC ; RCR 5 ; .con 0x00B ; GONC +01 LB_AF86 AF86 gonc LB_AF86 LB_AF86: .con 0x368 ; REGN=C (13)c .con 0x3E0 ; RTN LB_AF88: .con 0x130 ; LDI 03A .con 0x03A ; ; .con 0x03B ; GONC +07 LB_AF91 AF91 gonc LB_AF91 .con 0x0AD ; .con 0x001 ; .con 0x00C ; .NAME "CLA-" CLA-: .con 0x130 ; LDI 020 .con 0x020 ; LB_AF91: .con 0x31C ; PT= 1 .con 0x10A ; A=C R<- LB_AF93: .con 0x178 ; C=REGN ( 5)M .con 0x36A ; ?A#C R<- ; .con 0x037 ; GOC +06 LB_AF9B AF9B goc LB_AF9B ; .con 0x349 ; GSB41C ABSP A0EA ; GSUBNC 23D2, address in 1st Quad RXQ ABSP ; .con 0x08C ; ; .con 0x0EA ; ; .con 0x3D3 ; GONC -06 LB_AF93 AF93 gonc LB_AF93 LB_AF9A: .con 0x178 ; C=REGN ( 5)M LB_AF9B: .con 0x2EA ; ?C#0 R<- .con 0x345 ; GOLNC CLA 10D1 ; HP41 SYSTEM ROM 1 .con 0x042 ; .con 0x36A ; ?A#C R<- ; .con 0x027 ; GOC +04 LB_AFA3 AFA3 goc LB_AFA3 .con 0x23C ; RCR 2 .con 0x36A ; ?A#C R<- .con 0x360 ; RTNC ;LB_AFA3: .con 0x349 ; GSB41C ABSP A0EA ; GSUBNC 23D2, address in 1st Quad LB_AFA3: RXQ ABSP ; .con 0x08C ; ; .con 0x0EA ; ; .con 0x3A3 ; GONC -0C LB_AF9A AF9A gonc LB_AF9A .con 0x098 ; .con 0x006 ; .NAME "CFX" CFX: .con 0x130 ; LDI 0A9 .con 0x0A9 ; ; .con 0x033 ; GONC +06 LB_AFB2 AFB2 gonc LB_AFB2 .con 0x098 ; .con 0x006 ; .NAME "SFX" SFX: .con 0x130 ; LDI 0A8 .con 0x0A8 ; LB_AFB2: .con 0x39C ; PT= 0 .con 0x058 ; G=C .con 0x0F8 ; C=REGN ( 3)X .con 0x38D ; GSUBNC BCDBIN 02E3 ; HP41 SYSTEM ROM 0 .con 0x008 ; .con 0x106 ; A=C S&X .con 0x130 ; LDI 038 .con 0x038 ; .con 0x306 ; ?A<C S&X .con 0x0B5 ; GOLNC ERRDE 282D ; HP41 SYSTEM ROM 2 .con 0x0A2 ; .con 0x08E ; B=A ALL .con 0x335 ; GOLNC ALLOK 02CD ; HP41 SYSTEM ROM 0 .con 0x00A ; .con 0x097 ; .con 0x005 ; .con 0x009 ; .con 0x016 ; .NAME "CVIEW" CVIEW: .con 0x3B8 ; C=REGN (14)d .con 0x398 ; C=ST .con 0x38C ; ST=1? 0 .con 0x1A9 ; GOLNC AVW10 036A ; HP41 SYSTEM ROM 0 .con 0x00E ; .con 0x365 ; GSUBNC PRT11 6FD9 ; Printer ROM .con 0x1BC ; .con 0x3E0 ; RTN .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP .con 0x000 ; NOP LB_AFD3: .con 0x158 ; M=C .con 0x378 ; C=REGN (13)c .con 0x27C ; RCR 9 .con 0x358 ; ST=C .con 0x304 ; ST=0 1 .con 0x398 ; C=ST .con 0x0BC ; RCR 5 .con 0x368 ; REGN=C (13)c .con 0x2EC ; FLG=1? 13 ; ?SERV, Peripheral Service ; .con 0x04F ; GOC +09 LB_AFE5 AFE5 goc LB_AFE5 .con 0x20C ; ST=1? 2 ; .con 0x03B ; GONC +07 LB_AFE5 AFE5 gonc LB_AFE5 .con 0x19C ; PT= 11 .con 0x00E ; A=0 ALL .con 0x162 ; A=A+1 @R .con 0x3B8 ; C=REGN (14)d .con 0x370 ; C=CORA .con 0x3A8 ; REGN=C (14)d LB_AFE5: .con 0x2DC ; PT= 13 .con 0x150 ; LC 5 .con 0x11E ; A=C MS ; .con 0x391 ; GSB41C LB_A925 A925 ; GSUBNC 23E4, address in 3rd Quad RXQ LB_A925 ; .con 0x08C ; ; .con 0x125 ; .con 0x25D ; GSUBNC LDSST0 0797 ; HP41 SYSTEM ROM 0 .con 0x01C ; .con 0x198 ; C=M .con 0x3CD ; GOLNC RMCK10 27F3 ; HP41 SYSTEM ROM 2 .con 0x09E ; LB_AFF0: .con 0x158 ; M=C ; .con 0x365 ; GOL41C LB_A7E7 A7E7 ; GSUBNC 23D9, address in 2nd Quad RGO LB_A7E7 ; .con 0x08C ; ; .con 0x3E7 ; _EN_PSE: .con 0x000 ; NOP _EN_PRGM: .con 0x000 ; NOP _EN_SLEEP: .con 0x000 ; NOP _EN_OFF: .con 0x000 ; NOP ;_EN_IOSVC: .con 0x3C3 ; GONC -08 LB_AFF0 AFF0 ; I/O service flag set _EN_IOSVC: gonc LB_AFF0 ;_EN_ON: .con 0x2D3 ; GONC -26 LB_AFD3 AFD3 ; Awaken by pressing ON key _EN_ON: gonc LB_AFD3 _EN_MEMLST:.con 0x000 ; NOP _ROMREV: .con 0x084 ; .ROMREV CC-DD _ROMREV: .con 0x004 ; _ROMREV: .con 0x003 ; _ROMREV: .con 0x003 ; _CHKSUM: .con 0x397 ; .CHKSUM 397 ; Calculated Checksum: 397 ;:Label Cross reference table ;:LOCAL LABELS ;:SYMBOL--------ADDR----REFERENCES------------- ;:_CHKSUM .con 0x ;:_DATA .con 0x ;:_EN_IOSVC .con 0x ;:_EN_MEMLST .con 0x ;:_EN_OFF .con 0x ;:_EN_ON .con 0x ;:_EN_PRGM .con 0x ;:_EN_PSE .con 0x ;:_EN_SLEEP .con 0x ;:_FATEND .con 0x ;:_FATEND .con 0x ;:_FCNS .con 0x ;:_ROMREV .con 0x ;:_ROMREV .con 0x ;:_ROMREV .con 0x ;:_ROMREV .con 0x ;:_XR_005.00 .con 0x ;:_XR_005.01 .con 0x ;:_XR_005.02 .con 0x ;:_XR_005.03 .con 0x ;:_XR_005.04 .con 0x ;:_XR_005.05 .con 0x ;:_XR_005.06 .con 0x ;:_XR_005.07 .con 0x ;:_XR_005.08 .con 0x ;:_XR_005.09 .con 0x ;:_XR_005.10 .con 0x ;:_XR_005.11 .con 0x ;:_XR_005.12 .con 0x ;:_XR_005.13 .con 0x ;:_XR_005.14 .con 0x ;:_XR_005.15 .con 0x ;:_XR_005.16 .con 0x ;:_XR_005.17 .con 0x ;:_XR_005.18 .con 0x ;:_XR_005.19 .con 0x ;:_XR_005.20 .con 0x ;:_XR_005.21 .con 0x ;:_XR_005.22 .con 0x ;:_XR_005.23 .con 0x ;:_XR_005.24 .con 0x ;:_XR_005.25 .con 0x ;:_XROM .con 0x ;:ABSP .con 0x A004 AB51 AF56 AF96 AFA3 ;:ARCLH .con 0x A006 ;:ARCLI .con 0x A008 ;:B? .con 0x A00A ;:CAS .con 0x A00C ;:-CCD_OS/X .con 0x A002 AB57 AC1D ;:CFX .con 0x A00E ;:CLA- .con 0x A010 ABC6 ;:CLB .con 0x A012 ;:CVIEW .con 0x A014 ;:F/E .con 0x A016 ;:GETROM .con 0x A018 ;:INPT .con 0x A01A ;:LB_A073 .con 0x A0AC ;:LB_A0B1 .con 0x A08D ;:LB_A0C1 .con 0x A09D ;:LB_A0D3 .con 0x A0B3 ;:LB_A0D7 .con 0x A0B7 ;:LB_A0D8 .con 0x A0AD ;:LB_A0DF .con 0x A0B0 ;:LB_A0EF .con 0x A0C3 ;:LB_A0F3 .con 0x A0C7 ;:LB_A0F8 .con 0x A0CB ;:LB_A0FC .con 0x A0CF ;:LB_A101 .con 0x A0D3 ;:LB_A102 .con 0x A0E1 ;:LB_A105 .con 0x A0D7 A101 ;:LB_A10A .con 0x A104 ;:LB_A10C .con 0x A708 ;:LB_A10F .con 0x A0E4 ;:LB_A111 .con 0x A69E A8E7 ;:LB_A118 .con 0x A4A3 AB23 ;:LB_A11A .con 0x A6F0 ;:LB_A11B .con 0x A119 ;:LB_A11D .con 0x A117 ;:LB_A11E .con 0x A110 ;:LB_A121 .con 0x A0FE ;:LB_A128 .con 0x A19F ;:LB_A12E .con 0x A0FF ;:LB_A12F .con 0x A13A ;:LB_A134 .con 0x A136 ;:LB_A152 .con 0x A15E ;:LB_A157 .con 0x A153 A155 ;:LB_A159 .con 0x A15B ;:LB_A15F .con 0x A158 ;:LB_A167 .con 0x A161 ;:LB_A17C .con 0x A18A A18C ;:LB_A17D .con 0x A186 ;:LB_A181 .con 0x A17A ;:LB_A196 .con 0x A18E ;:LB_A19E .con 0x A195 ;:LB_A19F .con 0x A1C9 A1D1 A1D3 A1D5 A1D7 ;:LB_A1A2 .con 0x A175 A182 A190 A199 ;:LB_A1AF .con 0x A1AD ;:LB_A1B3 .con 0x A1B0 A1EA A1ED A1EF ;:LB_A1C0 .con 0x A1B8 ;:LB_A1C5 .con 0x A1BB A1BD A1BF ;:LB_A1CA .con 0x A1A4 ;:LB_A1D8 .con 0x A1CE ;:LB_A1E9 .con 0x A1E7 ;:LB_A1F0 .con 0x A1C6 ;:LB_A1F5 .con 0x AB96 ;:LB_A1F7 .con 0x A5CF AC19 ;:LB_A1FD .con 0x A202 ;:LB_A20F .con 0x A6AA A902 ;:LB_A215 .con 0x A225 ;:LB_A22A .con 0x A241 ABEE AC4B ;:LB_A22C .con 0x A247 ;:LB_A234 .con 0x A2B6 A3F1 A4E8 ;:LB_A23A .con 0x ACA3 ;:LB_A23F .con 0x A2A2 A2AF A3E7 A4E0 A502 A50F A5E3 A95A ;:LB_A246 .con 0x A245 ;:LB_A248 .con 0x A31B A705 A72F A841 A860 AB1D AB5D ;:LB_A24C .con 0x A256 ;:LB_A24F .con 0x A253 ;:LB_A259 .con 0x A268 A270 ;:LB_A25C .con 0x A260 ;:LB_A262 .con 0x A250 A258 ;:LB_A264 .con 0x A5CC ;:LB_A26A .con 0x A2A8 ;:LB_A26F .con 0x A26D ;:LB_A270 .con 0x A267 ;:LB_A278 .con 0x A751 ;:LB_A283 .con 0x A591 A651 ;:LB_A28C .con 0x A282 ;:LB_A290 .con 0x A28B ;:LB_A294 .con 0x A608 ;:LB_A2A6 .con 0x A2A5 ;:LB_A2AA .con 0x A4D7 A5F4 AE2B AE85 ;:LB_A2B6 .con 0x A2A9 ;:LB_A2B9 .con 0x A64A ;:LB_A2C7 .con 0x A2C2 ;:LB_A2CF .con 0x A2CB ;:LB_A2DE .con 0x A2D2 ;:LB_A2E3 .con 0x A2FC A2FE ;:LB_A2E7 .con 0x A306 ;:LB_A2F1 .con 0x A2DD ;:LB_A2F5 .con 0x A2C6 A2CE ;:LB_A2F6 .con 0x A2E2 ;:LB_A305 .con 0x A302 ;:LB_A307 .con 0x A2E4 A2F8 ;:LB_A30D .con 0x A30B ;:LB_A31B .con 0x A2F5 A319 A338 A33B A33E ;:LB_A31F .con 0x A2FA ;:LB_A339 .con 0x A328 ;:LB_A33C .con 0x A322 ;:LB_A33F .con 0x A31E ;:LB_A345 .con 0x A738 ;:LB_A34D .con 0x A360 A36A ;:LB_A359 .con 0x A355 ;:LB_A35B .con 0x A358 ;:LB_A361 .con 0x A351 ;:LB_A36B .con 0x A367 ;:LB_A36C .con 0x A344 AC07 ;:LB_A379 .con 0x A376 ;:LB_A386 .con 0x A384 ;:LB_A38C .con 0x A389 ;:LB_A38D .con 0x A38B ;:LB_A394 .con 0x A62F ;:LB_A3BD .con 0x A3B3 A3B7 ;:LB_A3D3 .con 0x A3CF ;:LB_A3D5 .con 0x A3CA A3D2 ;:LB_A3D8 .con 0x A3C7 A3CB ;:LB_A3E7 .con 0x A3DD ;:LB_A400 .con 0x A561 A59C A638 A65C ;:LB_A404 .con 0x A41F ;:LB_A405 .con 0x A408 ;:LB_A41A .con 0x A41E ;:LB_A420 .con 0x A406 A41B ;:LB_A422 .con 0x A430 ;:LB_A423 .con 0x A458 ;:LB_A42F .con 0x A427 ;:LB_A431 .con 0x A42E ;:LB_A432 .con 0x A443 ;:LB_A43B .con 0x A5A1 A669 ;:LB_A43E .con 0x A44D ;:LB_A44E .con 0x A44A ;:LB_A466 .con 0x A45F ;:LB_A468 .con 0x A462 ;:LB_A473 .con 0x A46F ;:LB_A477 .con 0x A474 ;:LB_A479 .con 0x A461 A464 ;:LB_A47C .con 0x A45B A45E ;:LB_A47D .con 0x A476 A478 ;:LB_A47E .con 0x A46A A46D ;:LB_A47F .con 0x A466 ;:LB_A480 .con 0x A472 ;:LB_A487 .con 0x A54D ;:LB_A48E .con 0x A46E ;:LB_A4A2 .con 0x A844 ;:LB_A4A6 .con 0x A4AA ;:LB_A4B7 .con 0x A4B5 ;:LB_A4C5 .con 0x A4CD ;:LB_A4D2 .con 0x A4C1 ;:LB_A4DD .con 0x A4BC ;:LB_A4DE .con 0x A4D1 ;:LB_A4E8 .con 0x A515 ;:LB_A4EB .con 0x A4DF ;:LB_A4ED .con 0x A4D0 ;:LB_A4F3 .con 0x A4CA ;:LB_A4F7 .con 0x A4FA A4FC ;:LB_A500 .con 0x A4DD ;:LB_A507 .con 0x A506 ;:LB_A509 .con 0x A501 ;:LB_A516 .con 0x A50E ;:LB_A518 .con 0x A4FF ;:LB_A51F .con 0x A5D4 ;:LB_A521 .con 0x A5A8 ;:LB_A522 .con 0x A520 ;:LB_A523 .con 0x A560 ;:LB_A535 .con 0x A53E A543 ;:LB_A539 .con 0x A53B ;:LB_A545 .con 0x A530 A534 A575 ;:LB_A548 .con 0x A546 ;:LB_A559 .con 0x A557 ;:LB_A561 .con 0x A55E ;:LB_A56A .con 0x A537 A578 ;:LB_A56C .con 0x A621 ;:LB_A570 .con 0x A532 ;:LB_A571 .con 0x A57E ;:LB_A577 .con 0x A57A A57D ;:LB_A57F .con 0x A569 ;:LB_A589 .con 0x A584 ;:LB_A591 .con 0x A588 ;:LB_A5A1 .con 0x A565 A598 A5C1 A5C3 ;:LB_A5A4 .con 0x A56B ;:LB_A5A8 .con 0x A5A0 A5BA ;:LB_A5AB .con 0x A5A7 ;:LB_A5B2 .con 0x A5AE ;:LB_A5B5 .con 0x A5B1 ;:LB_A5BD .con 0x A5A6 ;:LB_A5BF .con 0x A5A4 A5A5 A5B3 ;:LB_A5C2 .con 0x A5BE ;:LB_A5CC .con 0x A5C8 ;:LB_A5D7 .con 0x A5D3 ;:LB_A5E3 .con 0x A614 ;:LB_A5EF .con 0x A4D4 ;:LB_A5F4 .con 0x A4C2 ;:LB_A5FB .con 0x A5F3 ;:LB_A600 .con 0x A687 ;:LB_A602 .con 0x A670 ;:LB_A603 .con 0x A601 ;:LB_A60B .con 0x A627 ;:LB_A60F .con 0x A607 ;:LB_A616 .con 0x A60E ;:LB_A618 .con 0x A635 ;:LB_A61F .con 0x A629 ;:LB_A624 .con 0x A620 ;:LB_A628 .con 0x A61C ;:LB_A62B .con 0x A61E ;:LB_A636 .con 0x A62D A633 ;:LB_A645 .con 0x A625 A679 ;:LB_A64E .con 0x A649 ;:LB_A651 .con 0x A64D ;:LB_A661 .con 0x A63C A658 ;:LB_A669 .con 0x A662 A698 ;:LB_A670 .con 0x A660 ;:LB_A673 .con 0x A66F ;:LB_A67A .con 0x A66D ;:LB_A68A .con 0x A67B ;:LB_A696 .con 0x A66C A66E A674 ;:LB_A699 .con 0x A6BE ;:LB_A69C .con 0x A863 ;:LB_A6A1 .con 0x A6A5 ;:LB_A6AD .con 0x A6A9 ;:LB_A6B0 .con 0x A6A3 ;:LB_A6C7 .con 0x A6F3 ;:LB_A6CF .con 0x A6CC ;:LB_A6D1 .con 0x A6BC ;:LB_A6D8 .con 0x A6D3 ;:LB_A6E2 .con 0x A6C6 ;:LB_A6E5 .con 0x A6AF ;:LB_A6E6 .con 0x A6B6 ;:LB_A6EA .con 0x A70B ;:LB_A6EE .con 0x A6E9 ;:LB_A6F4 .con 0x A6E5 ;:LB_A70C .con 0x A6F7 A70F ;:LB_A717 .con 0x A6FE A700 ;:LB_A71F .con 0x A5E0 ;:LB_A729 .con 0x A6F4 ;:LB_A737 .con 0x A735 ;:LB_A74B .con 0x A74E ;:LB_A74C .con 0x A74A ;:LB_A756 .con 0x A72E ;:LB_A760 .con 0x A8C5 A8E0 A8FC ;:LB_A768 .con 0x A76C ;:LB_A76A .con 0x A767 ;:LB_A76D .con 0x A769 ;:LB_A773 .con 0x A770 ;:LB_A782 .con 0x A77D ;:LB_A786 .con 0x A781 A784 ;:LB_A787 .con 0x A776 ;:LB_A78F .con 0x A78D ;:LB_A790 .con 0x A794 ;:LB_A795 .con 0x A64E ;:LB_A7AE .con 0x A7AA ;:LB_A7B0 .con 0x A7AD ;:LB_A7B9 .con 0x A7CD ;:LB_A7C7 .con 0x A7A7 ;:LB_A7CB .con 0x A7C3 ;:LB_A7CE .con 0x A7C7 ;:LB_A7D1 .con 0x A7BD ;:LB_A7E3 .con 0x A7D0 A7D6 ;:LB_A7E7 .con 0x AFF1 ;:LB_A815 .con 0x A80C A81B ;:LB_A818 .con 0x A804 ;:LB_A81A .con 0x A812 ;:LB_A823 .con 0x A7EB ;:LB_A824 .con 0x A81F ;:LB_A828 .con 0x A822 ;:LB_A829 .con 0x A825 ;:LB_A82B .con 0x A7F6 ;:LB_A847 .con 0x A83C ;:LB_A851 .con 0x A823 ;:LB_A852 .con 0x A84B ;:LB_A860 .con 0x A850 ;:LB_A866 .con 0x A82C A85B A86F A871 A873 A877 A888 A88D A895 A89A A89E A922 ;:LB_A86B .con 0x A851 ;:LB_A889 .con 0x A886 ;:LB_A88A .con 0x A87B ;:LB_A89E .con 0x A8B3 A8C2 A8C8 A8D6 ;:LB_A8C3 .con 0x A8BD A8D3 ;:LB_A8C4 .con 0x A8DE ;:LB_A8C9 .con 0x A8AA ;:LB_A8DF .con 0x A8B5 A8CA ;:LB_A8E6 .con 0x A8EA A8EC A8EE A901 ;:LB_A902 .con 0x A8F8 ;:LB_A905 .con 0x A8F4 ;:LB_A916 .con 0x A90C ;:LB_A920 .con 0x A91E ;:LB_A922 .con 0x A915 ;:LB_A925 .con 0x AFE8 ;:LB_A928 .con 0x A952 ;:LB_A92E .con 0x A972 AA1A ;:LB_A92F .con 0x A92C ;:LB_A930 .con 0x A927 ;:LB_A945 .con 0x A947 ;:LB_A94B .con 0x A94E ;:LB_A94F .con 0x A94C ;:LB_A951 .con 0x A96A ;:LB_A952 .con 0x A994 ;:LB_A98B .con 0x A98D ;:LB_A997 .con 0x A976 ;:LB_A9D5 .con 0x A9D2 ;:LB_A9D8 .con 0x A9F2 ;:LB_A9DD .con 0x A9DA ;:LB_A9EA .con 0x A9E3 ;:LB_A9ED .con 0x A9EB ;:LB_A9EF .con 0x A9E9 ;:LB_A9F4 .con 0x A4DA ;:LB_AA0A .con 0x A9FF AA07 ;:LB_AA0F .con 0x AAAF ;:LB_AA10 .con 0x AA42 ;:LB_AA23 .con 0x AA1E ;:LB_AA36 .con 0x AA38 ;:LB_AA3D .con 0x AA40 ;:LB_AA41 .con 0x AA51 AA5F AAFC AB2B ;:LB_AA43 .con 0x AA31 ;:LB_AA46 .con 0x AA2A ;:LB_AA53 .con 0x AA4D AA4F ;:LB_AA5C .con 0x AA52 AA58 AA5A ;:LB_AA63 .con 0x AA61 ;:LB_AA67 .con 0x AA3E ;:LB_AA6F .con 0x AA68 ;:LB_AA74 .con 0x AB36 ;:LB_AA82 .con 0x AA7E ;:LB_AA85 .con 0x AA7C AA80 ;:LB_AA91 .con 0x AA8E ;:LB_AAAE .con 0x AAA7 ;:LB_AAAF .con 0x AA9F ;:LB_AABD .con 0x AAB6 ;:LB_AAC0 .con 0x AAC2 ;:LB_AACB .con 0x AAC4 AAEC ;:LB_AACE .con 0x AACA AACC ;:LB_AADF .con 0x AADC ;:LB_AAE1 .con 0x AADE ;:LB_AAE4 .con 0x AAD5 ;:LB_AAFA .con 0x AB2A AB34 ;:LB_AB0C .con 0x AB09 ;:LB_AB19 .con 0x AB1C ;:LB_AB1D .con 0x AB17 ;:LB_AB20 .con 0x AB0B ;:LB_AB4D .con 0x AB54 ;:LB_AB55 .con 0x AB50 ;:LB_AB5A .con 0x AB56 AB9A ;:LB_AB65 .con 0x AB71 ;:LB_AB73 .con 0x AB68 AB75 ;:LB_AB83 .con 0x AB90 ;:LB_AB91 .con 0x AB87 AB8C ;:LB_AB93 .con 0x ABC5 ;:LB_ABAE .con 0x ABC4 ;:LB_ABBB .con 0x ABF4 ;:LB_ABC6 .con 0x ABB8 ABBD ;:LB_ABCF .con 0x AB40 ABE4 ;:LB_ABDC .con 0x ABD9 ;:LB_ABE2 .con 0x ABDB ;:LB_ABE4 .con 0x AC22 ;:LB_ABF2 .con 0x ABF1 ;:LB_AC07 .con 0x ABFE ;:LB_AC0C .con 0x AC06 ;:LB_AC16 .con 0x AC53 ;:LB_AC18 .con 0x AC15 ;:LB_AC3A .con 0x AC32 ;:LB_AC3C .con 0x AC2B ;:LB_AC57 .con 0x AC46 ;:LB_AC5E .con 0x AC56 ;:LB_AC5F .con 0x AF61 ;:LB_AC6C .con 0x AC69 ;:LB_AC7C .con 0x AC79 ;:LB_AC83 .con 0x AC7B ;:LB_AC86 .con 0x ACAB ACFB ;:LB_AC8B .con 0x AC93 ;:LB_AC8E .con 0x ACB5 AD00 ;:LB_AC94 .con 0x AA43 ACF8 AD24 ;:LB_ACAB .con 0x ACA7 ;:LB_ACB5 .con 0x ACB1 ACB3 ;:LB_ACB9 .con 0x ACA9 ACAF ;:LB_ACC9 .con 0x ACC6 ;:LB_ACCA .con 0x ACD1 ;:LB_ACD3 .con 0x ACCB ;:LB_ACD7 .con 0x ACEF ;:LB_ACD9 .con 0x ACE3 ;:LB_ACF0 .con 0x ACE8 ;:LB_ACF8 .con 0x ACC8 ACE6 ;:LB_ACFB .con 0x AA2C AA47 ;:LB_AD00 .con 0x AA6C ;:LB_AD04 .con 0x ACFF ;:LB_AD0B .con 0x AD09 ;:LB_AD12 .con 0x AD23 ;:LB_AD27 .con 0x AD1A ;:LB_AD2C .con 0x AA89 ABCB ;:LB_AD2F .con 0x AD45 ;:LB_AD35 .con 0x AD32 ;:LB_AD43 .con 0x AD34 ;:LB_AD4C .con 0x AD50 ;:LB_AD51 .con 0x A086 A091 ;:LB_AD55 .con 0x AD5D ;:LB_AD60 .con 0x A930 ;:LB_AD63 .con 0x AD61 ;:LB_AD65 .con 0x AD93 ADA2 ;:LB_AD6E .con 0x AD6C ;:LB_AD6F .con 0x AD64 ;:LB_AD7B .con 0x AD83 ;:LB_AD7C .con 0x AD8B ;:LB_AD92 .con 0x AD7D ;:LB_AD94 .con 0x ADC7 ADD0 ;:LB_AD96 .con 0x AD91 ;:LB_AD9E .con 0x ADC2 ;:LB_AD9F .con 0x ADA6 ;:LB_ADA1 .con 0x AD86 ;:LB_ADB4 .con 0x ADB1 ;:LB_ADB7 .con 0x ADB3 ;:LB_ADB8 .con 0x ADC0 ;:LB_ADC6 .con 0x ADBA ;:LB_ADD8 .con 0x ADE0 ;:LB_ADE9 .con 0x ADC5 ;:LB_ADED .con 0x ADF5 ;:LB_AE53 .con 0x AE78 ;:LB_AE58 .con 0x AE65 ;:LB_AE6D .con 0x AE76 ;:LB_AE79 .con 0x AE54 ;:LB_AE96 .con 0x AEBF ;:LB_AE9B .con 0x AEA8 ;:LB_AEAF .con 0x AEBD ;:LB_AEC0 .con 0x AE2E AE88 AE93 ;:LB_AEDA .con 0x AED5 AED7 AF14 ;:LB_AEEF .con 0x AEEB ;:LB_AF01 .con 0x AF22 AF26 ;:LB_AF0B .con 0x AEDE ;:LB_AF0C .con 0x AF28 ;:LB_AF10 .con 0x AF2C ;:LB_AF15 .con 0x AEED ;:LB_AF18 .con 0x AEF4 AF00 ;:LB_AF19 .con 0x AF17 ;:LB_AF23 .con 0x AF20 ;:LB_AF2D .con 0x AF0B ;:LB_AF6C .con 0x AAF7 AB47 AC41 ;:LB_AF70 .con 0x AF6D ;:LB_AF72 .con 0x A5C9 A84D ;:LB_AF77 .con 0x A5C4 A85D ;:LB_AF83 .con 0x AF6B AF76 AF7B ;:LB_AF86 .con 0x AF85 ;:LB_AF88 .con 0x AF53 ;:LB_AF91 .con 0x AF8A ;:LB_AF93 .con 0x AF99 ;:LB_AF9A .con 0x AFA6 ;:LB_AF9B .con 0x AF95 ;:LB_AFA3 .con 0x AF9F ;:LB_AFB2 .con 0x AFAC ;:LB_AFD3 .con 0x AFF9 ;:LB_AFE5 .con 0x AFDC AFDE ;:LB_AFF0 .con 0x AFF8 ;:PMTA .con 0x A01C ;:PMTH .con 0x A01E ;:PMTK .con 0x A020 ;:REVX? .con 0x A022 ;:RNDM .con 0x A024 ;:SAS .con 0x A026 ;:SAVEROM .con 0x A028 ;:SEED .con 0x A02A ;:SFX .con 0x A02C ;:VIEWH .con 0x A02E ;:WSIZE .con 0x A030 ;:X>$ .con 0x A034 ;:XTOAH .con 0x A032 ;:EXTERNAL REFERENCES ;:SYMBOL--------VALUE---REFERENCES------------- ;:ABTSEQ 0D12 .con 0x A4A6 A56E A5BB A6A1 A70C A754 AB27 ;:AD1-10 1809 .con 0x ;:ADRFCH 0004 .con 0x AEF7 AF03 AF07 AF2F AF3B ;:AFORMT 0628 .con 0x ;:ALLOK 02CD .con 0x ;:ANNOUT 075C .con 0x ;:AON 133C .con 0x ;:AOUTR0 2C32 .con 0x ;:APND10 1FF5 .con 0x AF41 AF45 ;:APNDNW 2D14 .con 0x ;:ARGOUT 2C10 .con 0x A913 AB0C AB5B AC58 AC5C AF51 ;:ASCLCD 2C5D .con 0x A7C9 ;:ASN20 27CC .con 0x ;:AVW10 036A .con 0x ;:BCDBIN 02E3 .con 0x A9BF AD52 AEC1 AFB5 ;:BLANK 05B7 .con 0x ;:BLINK 0899 .con 0x A5BF A696 ;:BSTEP 28DE .con 0x AF70 ;:CHK$S 14D8 .con 0x ACB9 AD04 ;:CHK$S1 14D4 .con 0x ;:CLA 10D1 .con 0x AF9C ;:CLLCDE 2CF0 .con 0x A22A A2C7 A589 A79F AAB7 AB06 ABCF ;:DECADA 29CA .con 0x AB8E ;:DF100 058D .con 0x ;:DF150 0482 .con 0x ;:DFILLF 0563 .con 0x ;:DROPST 00E4 .con 0x ;:ENCP00 0952 .con 0x A146 A167 A1C7 A1F8 A236 A262 A283 A2F3 A307 A392 A432 A447 A6B7 A74F A791 A982 AB76 ABD4 ;:ENLCD 07F6 .con 0x A14E A1B5 A248 A259 A325 A342 A347 A35E A699 A6B0 A6EA A746 A760 AB61 AC0A AC71 AC9D ;:ERR110 22FB .con 0x ;:ERRDE 282D .con 0x A717 A93F AD55 AFBB ;:ERROF 00A2 .con 0x AEC7 ;:ERRSUB 22E8 .con 0x A23F AC97 ;:FILLXL 00EA .con 0x ;:GCPKC 2B80 .con 0x ;:GENNUM 05E8 .con 0x A7E1 ;:GETPC 2950 .con 0x ;:GOTINT 02F8 .con 0x A71C ;:GSB768 23FA .con 0x A1C1 ;:GTACOD 1FDB .con 0x AB9F ABA8 ;:GTBYTA 29BB .con 0x AB83 ;:GTRMAD 0800 .con 0x A9FD ;:IACHR 6DA6 .con 0x ;:IAUALL 6DB3 .con 0x ;:IAUNA 6DB2 .con 0x ;:INTFRC 193B .con 0x A9B1 AE1C ;:INTINT 02FB .con 0x A219 ;:IOSERV 0104 .con 0x ;:IPRT 6D96 .con 0x ;:LDSST0 0797 .con 0x AC63 AF19 AFEB ;:LEFTJ 2BF7 .con 0x A234 A445 A7E5 AC54 ;:LXEX 1229 .con 0x ;:MASK 2C88 .con 0x ;:MESSL 07EF .con 0x A22E A2D3 A2E9 A331 A7D7 AABA ;:MP2-10 184D .con 0x ;:MSG105 1C80 .con 0x A4AB AAEF AB3C ;:MSGA 1C6C .con 0x AC9A AF0D AF29 ;:NAME33 0EEF .con 0x ;:NAME4A 0FA4 .con 0x A75E ;:NAMEA 0ED9 .con 0x ;:NEXT 0E50 .con 0x A441 ABF5 ;:NEXT1 0E45 .con 0x ;:NFRPU 00F0 .con 0x AED8 ;:NULTST 0EC6 .con 0x ;:NXBYTA 29B9 .con 0x ;:OFF 11C8 .con 0x ;:OFSHFT 0749 .con 0x A5AB ;:OUTPCT 63DD .con 0x ;:OUTROM 2FEE .con 0x ;:PARSE 0C05 .con 0x ;:PCTOC 00D7 .con 0x A4BF A802 A89F ;:PKIOAS 2114 .con 0x A958 ;:PROMF2 05D3 .con 0x A58C ;:PROMFC 05C7 .con 0x A2E7 ;:PRT11 6FD9 .con 0x ;:PRTLCD 6BB9 .con 0x ;:PRTMSG 6400 .con 0x ;:PTBYTA 2323 .con 0x A91A ;:PUTPCF 2331 .con 0x ;:R^SUB 14ED .con 0x ;:RAK70 070A .con 0x ;:RCL 122E .con 0x ;:RMCK10 27F3 .con 0x AFEE ;:ROLBAK 2E42 .con 0x ;:ROW936 0476 .con 0x ;:RST05 009B .con 0x ;:RSTKB 0098 .con 0x A47A A56C ;:RSTMS0 038E .con 0x ;:RSTSQ 0385 .con 0x A20D A238 A73D ABD6 ;:SCROLL 2CDC .con 0x ;:SKPLIN 2AF9 .con 0x ;:STFLGS 16A7 .con 0x ;:STK05 0E09 .con 0x ;:STK15 0E1E .con 0x ;:TBITMP 2F81 .con 0x ;:TGSHF1 1FE7 .con 0x ;:TOGSHF 1FE5 .con 0x ;:TONE7X 16DB .con 0x ;:TONEB 16DD .con 0x AC20 AF11 ;:TXTLB1 2FC6 .con 0x A586 ;:TXTROM 04F5 .con 0x ;:XARCL 1696 .con 0x AF4C ;:XCAT 0B80 .con 0x ;:XISG 15A0 .con 0x ;:XROM 2FAF .con 0x ;:XROMNF 2F6C .con 0x ;:XX$0? 1611 .con 0x ;:Y-X 1421 .con 0x AEFC
50.45019
139
0.319161
a28782e510f15a2c288118cc6c8ed87059e0d167
373
asm
Assembly
programs/oeis/338/A338206.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/338/A338206.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/338/A338206.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A338206: Inverse of A160016. ; 0,2,1,6,3,10,4,14,5,18,7,22,8,26,9,30,11,34,12,38,13,42,15,46,16,50,17,54,19,58,20,62,21,66,23,70,24,74,25,78,27,82,28,86,29,90,31,94,32,98,33,102,35,106,36,110,37,114,39,118,40,122,41,126,43,130,44,134,45,138,47,142,48,146,49,150,51,154,52,158 mov $1,$0 mod $0,2 sub $0,1 mul $1,2 lpb $0 mul $0,$2 add $3,1 add $1,$3 div $1,3 lpe
26.642857
246
0.630027
dba0c823a25b74ce020356d15d19cd5823a7d53a
5,735
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_363.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_363.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_363.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x16bff, %rsi lea addresses_D_ht+0x11712, %rdi nop nop nop nop add %r12, %r12 mov $122, %rcx rep movsb cmp %r11, %r11 lea addresses_WT_ht+0x19a3f, %r10 nop nop nop and $36488, %rdx movb $0x61, (%r10) nop and $41784, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r8 push %rbp push %rcx push %rdi push %rsi // REPMOV lea addresses_WC+0x12863, %rsi lea addresses_WC+0xd597, %rdi nop dec %r12 mov $75, %rcx rep movsl nop nop nop nop sub %rbp, %rbp // Load lea addresses_UC+0xd43f, %r8 nop nop cmp $52594, %rbp movups (%r8), %xmm1 vpextrq $0, %xmm1, %rdi nop nop nop nop dec %rcx // Store lea addresses_UC+0x14dbf, %rdi nop nop nop nop add $45204, %rbp mov $0x5152535455565758, %r12 movq %r12, %xmm2 movups %xmm2, (%rdi) nop nop inc %r12 // Load lea addresses_WT+0xeac9, %r11 and %rsi, %rsi movb (%r11), %cl and %r12, %r12 // Store lea addresses_PSE+0x1307f, %rdi nop nop nop cmp %rcx, %rcx mov $0x5152535455565758, %rbp movq %rbp, %xmm7 vmovntdq %ymm7, (%rdi) nop nop add %rsi, %rsi // Faulty Load lea addresses_WT+0x1303f, %r11 nop nop nop inc %rcx vmovups (%r11), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $1, %xmm7, %rdi lea oracles, %rcx and $0xff, %rdi shlq $12, %rdi mov (%rcx,%rdi,1), %rdi pop %rsi pop %rdi pop %rcx pop %rbp pop %r8 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 2, 'AVXalign': True}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC', 'congruent': 2, 'same': False}} {'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_UC', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_UC', 'size': 16, 'AVXalign': False}} {'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_WT', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': True, 'type': 'addresses_PSE', 'size': 32, 'AVXalign': False}} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': 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 */
39.551724
2,999
0.657193
844f7beb7776103f90cb623b7ef5b9541683102f
5,767
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_3000.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_3000.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_3000.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 %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xaf9b, %rsi lea addresses_normal_ht+0x601b, %rdi clflush (%rsi) clflush (%rdi) nop nop nop add $13455, %r8 mov $126, %rcx rep movsw nop nop nop nop nop dec %rbp lea addresses_WC_ht+0x9737, %r8 nop nop nop cmp $48347, %rcx movups (%r8), %xmm0 vpextrq $0, %xmm0, %rdi nop nop nop add $33903, %rdi lea addresses_UC_ht+0x1db0b, %rsi lea addresses_D_ht+0x241b, %rdi nop cmp $41925, %r11 mov $97, %rcx rep movsq sub %r11, %r11 lea addresses_normal_ht+0x1dd9b, %rsi nop nop nop nop sub $22938, %r14 mov (%rsi), %r11d nop nop add $6419, %rbp lea addresses_UC_ht+0x579b, %r8 nop nop nop nop sub %rbp, %rbp vmovups (%r8), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $0, %xmm1, %rcx sub $34643, %rdi lea addresses_D_ht+0x439b, %rsi lea addresses_WT_ht+0x1b59b, %rdi nop nop nop nop xor $54492, %rbp mov $17, %rcx rep movsl nop nop nop nop xor %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %r8 pop %r14 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r8 push %rax push %rcx push %rdi push %rdx // Store lea addresses_D+0x1f313, %rax nop nop nop nop nop dec %rdi movw $0x5152, (%rax) nop nop nop nop xor $53555, %r8 // Faulty Load lea addresses_UC+0xef9b, %rax cmp $27221, %rdx mov (%rax), %r8w lea oracles, %r11 and $0xff, %r8 shlq $12, %r8 mov (%r11,%r8,1), %r8 pop %rdx pop %rdi pop %rcx pop %rax pop %r8 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_UC', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_D', 'same': False, 'size': 2, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} [Faulty Load] {'src': {'type': 'addresses_UC', 'same': True, 'size': 2, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'same': True, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'} {'37': 21829} 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 */
39.5
2,999
0.659962
4173e760856c96bed83aa39b26f45174a2721e77
801
asm
Assembly
oeis/154/A154250.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/154/A154250.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/154/A154250.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A154250: a(n) = ( (9 + sqrt(7))^n - (9 - sqrt(7))^n )/(2*sqrt(7)). ; Submitted by Jamie Morken(s4) ; 1,18,250,3168,38524,459000,5411224,63436032,741418000,8651257632,100857705376,1175245632000,13690951178176,159468944439168,1857310612720000,21630889140461568,251915019187028224,2933784548972352000,34166410461662247424,397895331685966405632,4633801596184388992000,53964174186557487839232,628453817240389995698176,7318819820521765822464000,85233174293602925122686976,992604470566241981346029568,11559625572465739205149696000,134620529482481399073088339968,1567757238322200482134512615424 add $0,1 mov $2,1 mov $3,$0 lpb $3 mul $1,$3 mul $2,$3 add $1,$2 mul $2,7 mul $4,2 cmp $6,0 add $5,$6 div $1,$5 div $2,$5 add $2,$1 add $4,$1 mul $1,6 sub $3,1 mov $6,0 lpe mov $0,$4
32.04
487
0.757803
794c35d938455fd03ceef1355a419c03947e5696
10,108
asm
Assembly
src/title.asm
santiontanon/talesofpopolon-ext
a7c7fd1164d506d6b0c6245fdf3ad0b634facd84
[ "Apache-2.0" ]
4
2019-10-20T08:14:01.000Z
2021-09-24T19:41:47.000Z
src/title.asm
santiontanon/talesofpopolon-ext
a7c7fd1164d506d6b0c6245fdf3ad0b634facd84
[ "Apache-2.0" ]
1
2019-10-20T12:21:06.000Z
2019-10-21T21:52:35.000Z
src/title.asm
santiontanon/talesofpopolon-ext
a7c7fd1164d506d6b0c6245fdf3ad0b634facd84
[ "Apache-2.0" ]
null
null
null
;----------------------------------------------- ; Title screen loop TitleScreen_Loop: call StopPlayingMusic call clearScreenLeftToRight ;; 16x16 sprites: ld bc,#e201 ;; write #e2 in VDP register #01 (activate sprites, generate interrupts, 16x16 sprites with no magnification) call WRTVDP ; render title: ld a,1 ld (title_state),a TitleScreen_Loop_loop1: ;; "TALES OF" coming in ld hl,title_talesof_patterns cp 9 jp p,TitleScreen_Loop_loop1_larger TitleScreen_Loop_loop1_smaller: ld b,0 ld c,a neg add a,9 ADD_HL_A ld de,NAMTBL2+32*5 jr TitleScreen_Loop_loop1_draw TitleScreen_Loop_loop1_larger: sub 9 ld de,NAMTBL2+32*5 ADD_DE_A ld bc,9 TitleScreen_Loop_loop1_draw: call LDIRVM call increaseTitleState_and_HaltTwice cp 21 jr nz,TitleScreen_Loop_loop1 ld a,31 ld (title_state),a TitleScreen_Loop_loop2: ;; "POPOLON" coming in cp 31-14 jp m,TitleScreen_Loop_loop2_larger TitleScreen_Loop_loop2_smaller: neg add a,32 ld b,0 ld c,a jr TitleScreen_Loop_loop2_render TitleScreen_Loop_loop2_larger: ld bc,15 TitleScreen_Loop_loop2_render: ld a,(title_state) push af push bc ; de = NAMTBL2+32*6 + a ld de,NAMTBL2+32*6 ADD_DE_A ld hl,title_popolon_line1_patterns call LDIRVM pop bc pop af ld de,NAMTBL2+32*7 ADD_DE_A ld hl,title_popolon_line2_patterns call LDIRVM call decreaseTitleState_and_HaltTwice cp 8 jr nz,TitleScreen_Loop_loop2 ld a,22 ld (title_state),a TitleScreen_Loop_loop3: ;; "underline" coming in ; de = NAMTBL2 + a*32 call hl_equal_a_times_32 ld bc,NAMTBL2+7 add hl,bc push hl ex de,hl ld hl,title_undertitle_patterns ld bc,18 call LDIRVM ; clear the line underneath pop hl ld bc,32 add hl,bc xor a ld bc,18 call FILVRM call decreaseTitleState_and_HaltTwice cp 7 jr nz,TitleScreen_Loop_loop3 call TitleScreen_setupsprites ; display credits ld hl,title_credits1 ld de,NAMTBL2+32*11+8 ld bc,16 call LDIRVM ld hl,title_credits2 ld de,NAMTBL2+32*23+6 ld bc,20 call LDIRVM ; display m for password ld hl,title_m_for_password ld de,NAMTBL2+32*20+9 ld bc,title_m_for_password_end-title_m_for_password call LDIRVM xor a ld (title_state),a ld (previous_trigger1),a TitleScreen_Loop_loop: call TitleScreen_update_bg_sprites ; press space to play ld a,(title_state) push af and #08 call TitleScreen_Loop_update_press_space ; animate warriors: pop af sra a sra a and #03 jr z,TitleScreen_render_warrior1 dec a jr z,TitleScreen_render_warrior2 dec a jr z,TitleScreen_render_warrior3 jr TitleScreen_render_warrior2 TitleScreen_render_warrior2: ld hl,title_warrior_left_2 jr TitleScreen_render_warrior1_after ; call TitleScreen_render_warrior ; jp TitleScreen_Loop_loop_continue TitleScreen_render_warrior3: ld hl,title_warrior_left_3 jr TitleScreen_render_warrior1_after ; call TitleScreen_render_warrior ; jp TitleScreen_Loop_loop_continue TitleScreen_render_warrior1: ld hl,title_warrior_left_1 TitleScreen_render_warrior1_after: call TitleScreen_render_warrior ; jr TitleScreen_Loop_loop_continue TitleScreen_Loop_loop_continue: call increaseTitleState_and_HaltTwice or a jp z,TitleScreen_Loop_go_to_story ;; if trigger 2 is pressed, enter password push bc call checkTrigger2 pop bc jp nz,Password_loop ;; wait for space to be pressed: push bc call checkTrigger1updatingPrevious pop bc jr z,TitleScreen_Loop_loop ld a,6 ld hl,ToPStartSongPletter call PlayCompressedSong ;; transition animation before playing: xor a ld (title_state2),a TitleScreen_Loop_pressed_space_loop: call TitleScreen_update_bg_sprites ; press space to play flashing fast ld a,(title_state2) push af and #02 call TitleScreen_Loop_update_press_space ; animate warriors: pop af and #08 jp z,TitleScreen_render_warrior4 call TitleScreen_render_warrior5 TitleScreen_Loop_pressed_space_loop_continue: call increaseTitleState_and_HaltTwice ld hl,title_state2 inc (hl) ld a,(hl) cp 64 jr nz,TitleScreen_Loop_pressed_space_loop TitleScreen_Loop_play: ld a,GAME_STATE_PLAYING jp change_game_state TitleScreen_Loop_go_to_story: ld a,GAME_STATE_STORY jp change_game_state TitleScreen_setupsprites: ; decompress the title sprites ld hl,title_bg_sprites_pletter ld de,raycast_buffer call pletter_unpack ; we zero out the copy that will be rendered, which will be modified later on: xor a ld hl,raycast_color_buffer ld de,raycast_color_buffer+1 ld (hl),a ld bc,32*12-1 ldir ld hl,raycast_color_buffer ld de,SPRTBL2 ld bc,32*12 call LDIRVM ld hl,knight_sprite_attributes ld e,16 xor a TitleScreen_setupsprites_loop: ld d,104 ld b,3 TitleScreen_setupsprites_loop2: ld (hl),e inc hl ld (hl),d inc hl ld (hl),a inc hl ld (hl),4 inc hl push af ld a,d add a,16 ld d,a pop af add a,4 djnz TitleScreen_setupsprites_loop2 push af ld a,e add a,16 ld e,a pop af cp 48 jr nz,TitleScreen_setupsprites_loop ld hl,knight_sprite_attributes ld de,SPRATR2 ld bc,48 jp LDIRVM TitleScreen_Loop_update_press_space: jr z,TitleScreen_Loop_update_press_space_draw TitleScreen_Loop_update_press_space_clear: xor a ld hl,NAMTBL2+32*16+(32 - (title_press_space_end - title_press_space))/2 ld bc,title_press_space_end - title_press_space jp FILVRM TitleScreen_Loop_update_press_space_draw: ld hl,title_press_space ld de,NAMTBL2+32*16+(32 - (title_press_space_end - title_press_space))/2 ld bc,title_press_space_end - title_press_space jp LDIRVM decreaseTitleState_and_HaltTwice: ld hl,title_state dec (hl) ld a,(hl) ; ld a,(title_state) ; dec a ; ld (title_state),a halt halt ret increaseTitleState_and_HaltTwice: ld hl,title_state inc (hl) ld a,(hl) ; ld a,(title_state) ; inc a ; ld (title_state),a halt halt ret TitleScreen_update_bg_sprites: ld a,(title_state) push af and #80 jr nz,TitleScreen_update_bg_sprites_second_sprite ld hl,raycast_buffer jr TitleScreen_update_bg_sprites_copy_sprite TitleScreen_update_bg_sprites_second_sprite: ld hl,raycast_buffer+12*32 TitleScreen_update_bg_sprites_copy_sprite: ld de,raycast_color_buffer ld bc,32*12 ldir pop af and #7f cp 14 jp p,TitleScreen_update_bg_sprites_second_half and #fe jr TitleScreen_update_bg_sprites_apply_mask TitleScreen_update_bg_sprites_second_half: cp 114 jp m,TitleScreen_update_bg_sprites_mask_applied neg add a,127 and #fe TitleScreen_update_bg_sprites_apply_mask: add a,a ; apply a mask: ld hl,title_bg_masks ADD_HL_A exx ld bc,32*12 ld hl,raycast_color_buffer TitleScreen_update_bg_sprites_loop: ld e,3 TitleScreen_update_bg_sprites_loop_internal: ld a,(hl) exx ld d,(hl) inc hl and d exx ld (hl),a inc hl dec bc dec e jr nz,TitleScreen_update_bg_sprites_loop_internal ld a,(hl) exx ld d,(hl) dec hl dec hl dec hl and d exx ld (hl),a inc hl dec bc ld a,c or b jr nz,TitleScreen_update_bg_sprites_loop TitleScreen_update_bg_sprites_mask_applied: ld hl,raycast_color_buffer ld de,SPRTBL2 ld bc,32*12 jp LDIRVM TitleScreen_render_warrior4: ld hl,title_warrior_left_top_4 ld de,NAMTBL2+5*32+7 ld bc,2 push bc call LDIRVM ld hl,title_warrior_right_top_4 ld de,NAMTBL2+5*32+23 pop bc call LDIRVM ld hl,title_warrior_left_4 call TitleScreen_render_warrior jp TitleScreen_Loop_pressed_space_loop_continue TitleScreen_render_warrior5: ld hl,title_warrior_left_top_5 ld de,NAMTBL2+5*32+7 ld bc,2 call LDIRVM ld hl,title_warrior_right_top_5 ld de,NAMTBL2+5*32+23 ld bc,2 call LDIRVM ld hl,title_warrior_left_5 ; jr TitleScreen_render_warrior ; jp TitleScreen_Loop_pressed_space_loop_continue TitleScreen_render_warrior: push hl ld de,NAMTBL2+6*32+7 ld bc,2 call LDIRVM pop hl inc hl inc hl push hl ld de,NAMTBL2+7*32+7 ld bc,2 call LDIRVM pop hl inc hl inc hl push hl ld de,NAMTBL2+6*32+23 ld bc,2 call LDIRVM pop hl inc hl inc hl ld de,NAMTBL2+7*32+23 ld bc,2 jp LDIRVM title_talesof_patterns: ; length: 9 db " TALES OF" title_popolon_line1_patterns: ; length 15 db 1,2,3,4,1,2,3,4, 9, 0,3,4,12,13,0 title_popolon_line2_patterns: ; length 15 db 5,6,7,8,5,6,7,8,10,11,7,8,14,15,0 title_undertitle_patterns: ; length 18 db 16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,18 title_warrior_left_1: db 19,20 db 21,22 title_warrior_right_1: db 36,37 db 38,39 title_warrior_left_2: db 23,24 db 25,26 title_warrior_right_2: db 40,41 db 42,43 title_warrior_left_3: db 27,24 db 25,26 title_warrior_right_3: db 40,47 db 42,43 title_warrior_left_top_4: db 28,0 title_warrior_right_top_4: db 0,44 title_warrior_left_4: db 29,30 db 21,22 title_warrior_right_4: db 61,62 db 38,39 title_warrior_left_top_5: db 31,98 title_warrior_right_top_5: db 99,64 title_warrior_left_5: db 95,96 db 97,35 title_warrior_right_5: db 91,92 db 93,94 title_bg_masks: db #08,#00,#80,#00 db #08,#80,#08,#80 db #88,#22,#08,#22 db #bb,#55,#bb,#55 db #77,#dd,#77,#dd db #f7,#7f,#f7,#7f db #f7,#ff,#7f,#ff title_bg_sprites_pletter: incbin "tocompress/title-sprites.plt"
20.338028
126
0.691828
c6c0b76759a783a472082fe7cf65239ecafd9e13
222,795
asm
Assembly
sources/ippcp/asm_intel64_gas_converted/linux/pic/l9/merged/pcpbnumulschoolsrvl9.asm
ymarkovitch/ipp-crypto
ac8f1c443cc79e9f2f8508f8c707c9ed0caa22c8
[ "Apache-2.0" ]
null
null
null
sources/ippcp/asm_intel64_gas_converted/linux/pic/l9/merged/pcpbnumulschoolsrvl9.asm
ymarkovitch/ipp-crypto
ac8f1c443cc79e9f2f8508f8c707c9ed0caa22c8
[ "Apache-2.0" ]
null
null
null
sources/ippcp/asm_intel64_gas_converted/linux/pic/l9/merged/pcpbnumulschoolsrvl9.asm
ymarkovitch/ipp-crypto
ac8f1c443cc79e9f2f8508f8c707c9ed0caa22c8
[ "Apache-2.0" ]
null
null
null
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") contained herein is # owned by Intel Corporation or its suppliers or licensors, and title to such # Material remains with Intel Corporation or its suppliers or licensors. The # Material contains proprietary information of Intel or its suppliers and # licensors. The Material is protected by worldwide copyright laws and treaty # provisions. No part of the Material may be used, copied, reproduced, # modified, published, uploaded, posted, transmitted, distributed or disclosed # in any way without Intel's prior express written permission. No license under # any patent, copyright or other intellectual property rights in the Material # is granted to or conferred upon you, either expressly, by implication, # inducement, estoppel or otherwise. Any license under such intellectual # property rights must be express and approved by Intel in writing. # # Unless otherwise agreed by Intel in writing, you may not remove or alter this # notice or any other notice embedded in Materials by Intel or Intel's # suppliers or licensors in any way. # # # If this software was obtained under the Apache License, Version 2.0 (the # "License"), the following terms apply: # # 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. ############################################################################### .section .note.GNU-stack,"",%progbits .text .p2align 5, 0x90 .type mla_1x1, @function mla_1x1: movq (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mov %rbx, %r8 ret .Lfe1: .size mla_1x1, .Lfe1-(mla_1x1) .p2align 5, 0x90 .type mul_1x1, @function mul_1x1: movq (%rcx), %rdx mulxq (%rsi), %rax, %rdx movq %rax, (%rdi) movq %rdx, (8)(%rdi) ret .Lfe2: .size mul_1x1, .Lfe2-(mul_1x1) .p2align 5, 0x90 .type mla_2x2, @function mla_2x2: movq (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mov %rbp, %r9 movq (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mov %rbp, %r9 ret .Lfe3: .size mla_2x2, .Lfe3-(mla_2x2) .p2align 5, 0x90 .type mul_2x2, @function mul_2x2: call mla_2x2 movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) ret .Lfe4: .size mul_2x2, .Lfe4-(mul_2x2) .p2align 5, 0x90 .type mla_3x3, @function mla_3x3: movq (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 movq (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 movq (16)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (16)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 ret .Lfe5: .size mla_3x3, .Lfe5-(mla_3x3) .p2align 5, 0x90 .type mul_3x3, @function mul_3x3: call mla_3x3 movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) ret .Lfe6: .size mul_3x3, .Lfe6-(mul_3x3) .p2align 5, 0x90 .type mla_4x2, @function mla_4x2: movq (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 movq (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 ret .Lfe7: .size mla_4x2, .Lfe7-(mla_4x2) .p2align 5, 0x90 .type mla_4x4, @function mla_4x4: call mla_4x2 add $(16), %rdi add $(16), %rcx call mla_4x2 sub $(16), %rdi sub $(16), %rcx ret .Lfe8: .size mla_4x4, .Lfe8-(mla_4x4) .p2align 5, 0x90 .type mul_4x4, @function mul_4x4: call mla_4x4 movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) ret .Lfe9: .size mul_4x4, .Lfe9-(mul_4x4) .p2align 5, 0x90 .type mla_5x2, @function mla_5x2: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 ret .Lfe10: .size mla_5x2, .Lfe10-(mla_5x2) .p2align 5, 0x90 .type mla_5x5, @function mla_5x5: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 add $(8), %rdi add $(8), %rcx call mla_5x2 add $(16), %rdi add $(16), %rcx call mla_5x2 sub $(24), %rdi sub $(24), %rcx ret .Lfe11: .size mla_5x5, .Lfe11-(mla_5x5) .p2align 5, 0x90 .type mul_5x5, @function mul_5x5: call mla_5x5 movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) movq %r11, (64)(%rdi) movq %r12, (72)(%rdi) ret .Lfe12: .size mul_5x5, .Lfe12-(mul_5x5) .p2align 5, 0x90 .type mla_6x2, @function mla_6x2: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mov %rbp, %r13 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mov %rbp, %r13 ret .Lfe13: .size mla_6x2, .Lfe13-(mla_6x2) .p2align 5, 0x90 .type mla_6x6, @function mla_6x6: call mla_6x2 add $(16), %rdi add $(16), %rcx call mla_6x2 add $(16), %rdi add $(16), %rcx call mla_6x2 sub $(32), %rdi sub $(32), %rcx ret .Lfe14: .size mla_6x6, .Lfe14-(mla_6x6) .p2align 5, 0x90 .type mul_6x6, @function mul_6x6: call mla_6x6 movq %r8, (48)(%rdi) movq %r9, (56)(%rdi) movq %r10, (64)(%rdi) movq %r11, (72)(%rdi) movq %r12, (80)(%rdi) movq %r13, (88)(%rdi) ret .Lfe15: .size mul_6x6, .Lfe15-(mul_6x6) .p2align 5, 0x90 .type mla_7x2, @function mla_7x2: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mov %rbx, %r14 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mov %rbx, %r14 ret .Lfe16: .size mla_7x2, .Lfe16-(mla_7x2) .p2align 5, 0x90 .type mla_7x7, @function mla_7x7: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mov %rbx, %r14 add $(8), %rdi add $(8), %rcx call mla_7x2 add $(16), %rdi add $(16), %rcx call mla_7x2 add $(16), %rdi add $(16), %rcx call mla_7x2 sub $(40), %rdi sub $(40), %rcx ret .Lfe17: .size mla_7x7, .Lfe17-(mla_7x7) .p2align 5, 0x90 .type mul_7x7, @function mul_7x7: call mla_7x7 movq %r8, (56)(%rdi) movq %r9, (64)(%rdi) movq %r10, (72)(%rdi) movq %r11, (80)(%rdi) movq %r12, (88)(%rdi) movq %r13, (96)(%rdi) movq %r14, (104)(%rdi) ret .Lfe18: .size mul_7x7, .Lfe18-(mul_7x7) .p2align 5, 0x90 .type mla_8x1, @function mla_8x1: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (56)(%rsi), %r14, %rbp add %r15, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mov %rbp, %r15 ret .Lfe19: .size mla_8x1, .Lfe19-(mla_8x1) .p2align 5, 0x90 .type mla_8x2, @function mla_8x2: mov (%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (56)(%rsi), %r14, %rbp add %r15, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mov %rbp, %r15 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (56)(%rsi), %r14, %rbp add %r15, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mov %rbp, %r15 ret .Lfe20: .size mla_8x2, .Lfe20-(mla_8x2) .p2align 5, 0x90 .type mla_8x3, @function mla_8x3: call mla_8x1 add $(8), %rdi add $(8), %rcx call mla_8x2 sub $(8), %rdi sub $(8), %rcx ret .Lfe21: .size mla_8x3, .Lfe21-(mla_8x3) .p2align 5, 0x90 .type mla_8x4, @function mla_8x4: call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(16), %rdi sub $(16), %rcx ret .Lfe22: .size mla_8x4, .Lfe22-(mla_8x4) .p2align 5, 0x90 .type mla_8x5, @function mla_8x5: call mla_8x1 add $(8), %rdi add $(8), %rcx call mla_8x4 sub $(8), %rdi sub $(8), %rcx ret .Lfe23: .size mla_8x5, .Lfe23-(mla_8x5) .p2align 5, 0x90 .type mla_8x6, @function mla_8x6: call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x4 sub $(16), %rdi sub $(16), %rcx ret .Lfe24: .size mla_8x6, .Lfe24-(mla_8x6) .p2align 5, 0x90 .type mla_8x7, @function mla_8x7: call mla_8x1 add $(8), %rdi add $(8), %rcx call mla_8x6 sub $(8), %rdi sub $(8), %rcx ret .Lfe25: .size mla_8x7, .Lfe25-(mla_8x7) .p2align 5, 0x90 .type mla_8x8, @function mla_8x8: call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(48), %rdi sub $(48), %rcx ret .Lfe26: .size mla_8x8, .Lfe26-(mla_8x8) .p2align 5, 0x90 .type mul_8x8, @function mul_8x8: call mla_8x8 movq %r8, (64)(%rdi) movq %r9, (72)(%rdi) movq %r10, (80)(%rdi) movq %r11, (88)(%rdi) movq %r12, (96)(%rdi) movq %r13, (104)(%rdi) movq %r14, (112)(%rdi) movq %r15, (120)(%rdi) ret .Lfe27: .size mul_8x8, .Lfe27-(mul_8x8) .p2align 5, 0x90 .type mul_9x9, @function mul_9x9: call mla_8x8 mov (64)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (64)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (56)(%rsi), %r14, %rbp add %r15, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mov %rbp, %r15 push %r15 mov (64)(%rsi), %rdx mov (64)(%rdi), %r15 mulx (%rcx), %rax, %rbx add %r15, %rax adc $(0), %rbx mov %rax, (64)(%rdi) mulx (8)(%rcx), %r15, %rbp add %r8, %r15 adc $(0), %rbp add %rbx, %r15 adc $(0), %rbp mulx (16)(%rcx), %r8, %rbx add %r9, %r8 adc $(0), %rbx add %rbp, %r8 adc $(0), %rbx mulx (24)(%rcx), %r9, %rbp add %r10, %r9 adc $(0), %rbp add %rbx, %r9 adc $(0), %rbp mulx (32)(%rcx), %r10, %rbx add %r11, %r10 adc $(0), %rbx add %rbp, %r10 adc $(0), %rbx mulx (40)(%rcx), %r11, %rbp add %r12, %r11 adc $(0), %rbp add %rbx, %r11 adc $(0), %rbp mulx (48)(%rcx), %r12, %rbx add %r13, %r12 adc $(0), %rbx add %rbp, %r12 adc $(0), %rbx mulx (56)(%rcx), %r13, %rbp add %r14, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mov %rbp, %r14 movq %r15, (72)(%rdi) mulx (64)(%rcx), %rbp, %r15 pop %rax add %rax, %r14 adc $(0), %r15 add %rbp, %r14 adc $(0), %r15 movq %r8, (80)(%rdi) movq %r9, (88)(%rdi) movq %r10, (96)(%rdi) movq %r11, (104)(%rdi) movq %r12, (112)(%rdi) movq %r13, (120)(%rdi) movq %r14, (128)(%rdi) movq %r15, (136)(%rdi) ret .Lfe28: .size mul_9x9, .Lfe28-(mul_9x9) .p2align 5, 0x90 .type mul_10x10, @function mul_10x10: call mla_8x8 add $(64), %rdi add $(64), %rcx call mla_8x2 push %r15 push %r14 add $(64), %rsi sub $(64), %rcx xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx mov %r13, %r15 mov %r12, %r14 mov %r11, %r13 mov %r10, %r12 mov %r9, %r11 mov %r8, %r10 movq (8)(%rdi), %r9 movq (%rdi), %r8 call mla_8x2 movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) movq %r10, (32)(%rdi) movq %r11, (40)(%rdi) movq %r12, (48)(%rdi) movq %r13, (56)(%rdi) add $(64), %rdi xor %r10, %r10 pop %r8 pop %r9 add %r14, %r8 adc %r15, %r9 adc $(0), %r10 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx add $(64), %rcx call mla_2x2 add $(16), %rdi add %r10, %r8 adc $(0), %r9 movq %r8, (%rdi) movq %r9, (8)(%rdi) ret .Lfe29: .size mul_10x10, .Lfe29-(mul_10x10) .p2align 5, 0x90 .type mul_11x11, @function mul_11x11: call mla_8x8 add $(64), %rdi add $(64), %rcx call mla_8x3 push %r15 push %r14 push %r13 add $(64), %rsi sub $(64), %rcx xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx mov %r12, %r15 mov %r11, %r14 mov %r10, %r13 mov %r9, %r12 mov %r8, %r11 movq (16)(%rdi), %r10 movq (8)(%rdi), %r9 movq (%rdi), %r8 call mla_8x3 movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) movq %r11, (48)(%rdi) movq %r12, (56)(%rdi) add $(64), %rdi xor %r11, %r11 pop %r8 pop %r9 pop %r10 add %r13, %r8 adc %r14, %r9 adc %r15, %r10 adc $(0), %r11 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx add $(64), %rcx call mla_3x3 add $(24), %rdi add %r11, %r8 adc $(0), %r9 adc $(0), %r10 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) ret .Lfe30: .size mul_11x11, .Lfe30-(mul_11x11) .p2align 5, 0x90 .type mul_12x12, @function mul_12x12: call mla_8x8 add $(64), %rdi add $(64), %rcx call mla_8x4 push %r15 push %r14 push %r13 push %r12 add $(64), %rsi sub $(64), %rcx xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx mov %r11, %r15 mov %r10, %r14 mov %r9, %r13 mov %r8, %r12 movq (24)(%rdi), %r11 movq (16)(%rdi), %r10 movq (8)(%rdi), %r9 movq (%rdi), %r8 call mla_8x4 movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) add $(64), %rdi xor %rax, %rax pop %r8 pop %r9 pop %r10 pop %r11 add %r12, %r8 adc %r13, %r9 adc %r14, %r10 adc %r15, %r11 adc $(0), %rax push %rax xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx add $(64), %rcx call mla_4x4 add $(32), %rdi pop %rax add %rax, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) ret .Lfe31: .size mul_12x12, .Lfe31-(mul_12x12) .p2align 5, 0x90 .type mul_13x13, @function mul_13x13: call mla_8x8 add $(64), %rdi add $(64), %rcx call mla_8x5 push %r15 push %r14 push %r13 push %r12 push %r11 add $(64), %rsi sub $(64), %rcx xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx mov %r10, %r15 mov %r9, %r14 mov %r8, %r13 movq (32)(%rdi), %r12 movq (24)(%rdi), %r11 movq (16)(%rdi), %r10 movq (8)(%rdi), %r9 movq (%rdi), %r8 call mla_8x5 movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) add $(64), %rdi xor %rax, %rax pop %r8 pop %r9 pop %r10 pop %rbx pop %rbp add %r11, %r8 adc %r12, %r9 adc %r13, %r10 adc %r14, %rbx adc %r15, %rbp adc $(0), %rax push %rax mov %rbx, %r11 mov %rbp, %r12 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx add $(64), %rcx call mla_5x5 add $(40), %rdi pop %rax add %rax, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) ret .Lfe32: .size mul_13x13, .Lfe32-(mul_13x13) .p2align 5, 0x90 .type mul_14x14, @function mul_14x14: call mla_7x7 add $(56), %rdi add $(56), %rsi call mla_7x7 movq %r8, (56)(%rdi) movq %r9, (64)(%rdi) movq %r10, (72)(%rdi) movq %r11, (80)(%rdi) movq %r12, (88)(%rdi) movq %r13, (96)(%rdi) movq %r14, (104)(%rdi) movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 add $(56), %rcx sub $(56), %rsi call mla_7x7 xor %rdx, %rdx movq (56)(%rdi), %rax add %rax, %r8 movq (64)(%rdi), %rax adc %rax, %r9 movq (72)(%rdi), %rax adc %rax, %r10 movq (80)(%rdi), %rax adc %rax, %r11 movq (88)(%rdi), %rax adc %rax, %r12 movq (96)(%rdi), %rax adc %rax, %r13 movq (104)(%rdi), %rax adc %rax, %r14 adc $(0), %rdx push %rdx add $(56), %rdi add $(56), %rsi call mla_7x7 sub $(112), %rdi sub $(56), %rsi sub $(56), %rcx pop %rdx add %rdx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 movq %r8, (168)(%rdi) movq %r9, (176)(%rdi) movq %r10, (184)(%rdi) movq %r11, (192)(%rdi) movq %r12, (200)(%rdi) movq %r13, (208)(%rdi) movq %r14, (216)(%rdi) ret .Lfe33: .size mul_14x14, .Lfe33-(mul_14x14) .p2align 5, 0x90 .type mul_15x15, @function mul_15x15: call mla_8x8 add $(64), %rdi add $(64), %rcx call mla_8x7 movq %r8, (56)(%rdi) movq %r9, (64)(%rdi) movq %r10, (72)(%rdi) movq %r11, (80)(%rdi) movq %r12, (88)(%rdi) movq %r13, (96)(%rdi) movq %r14, (104)(%rdi) movq %r15, (112)(%rdi) add $(64), %rsi sub $(64), %rcx xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mla_8x7 movq %r8, (56)(%rdi) add $(64), %rdi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx add $(64), %rcx mov %r9, %r8 mov %r10, %r9 mov %r11, %r10 mov %r12, %r11 mov %r13, %r12 mov %r14, %r13 mov %r15, %r14 xor %rdx, %rdx movq (%rdi), %rax add %rax, %r8 movq (8)(%rdi), %rax adc %rax, %r9 movq (16)(%rdi), %rax adc %rax, %r10 movq (24)(%rdi), %rax adc %rax, %r11 movq (32)(%rdi), %rax adc %rax, %r12 movq (40)(%rdi), %rax adc %rax, %r13 movq (48)(%rdi), %rax adc %rax, %r14 adc $(0), %rdx push %rdx call mla_7x7 add $(56), %rdi pop %rax add %rax, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) ret .Lfe34: .size mul_15x15, .Lfe34-(mul_15x15) .p2align 5, 0x90 .type mul_16x16, @function mul_16x16: call mla_8x8 add $(64), %rdi add $(64), %rsi call mla_8x8 movq %r8, (64)(%rdi) movq %r9, (72)(%rdi) movq %r10, (80)(%rdi) movq %r11, (88)(%rdi) movq %r12, (96)(%rdi) movq %r13, (104)(%rdi) movq %r14, (112)(%rdi) movq %r15, (120)(%rdi) movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 add $(64), %rcx sub $(64), %rsi call mla_8x8 xor %rdx, %rdx movq (64)(%rdi), %rax add %rax, %r8 movq (72)(%rdi), %rax adc %rax, %r9 movq (80)(%rdi), %rax adc %rax, %r10 movq (88)(%rdi), %rax adc %rax, %r11 movq (96)(%rdi), %rax adc %rax, %r12 movq (104)(%rdi), %rax adc %rax, %r13 movq (112)(%rdi), %rax adc %rax, %r14 movq (120)(%rdi), %rax adc %rax, %r15 adc $(0), %rdx push %rdx add $(64), %rdi add $(64), %rsi call mla_8x8 sub $(128), %rdi sub $(64), %rsi sub $(64), %rcx pop %rdx add %rdx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 movq %r8, (192)(%rdi) movq %r9, (200)(%rdi) movq %r10, (208)(%rdi) movq %r11, (216)(%rdi) movq %r12, (224)(%rdi) movq %r13, (232)(%rdi) movq %r14, (240)(%rdi) movq %r15, (248)(%rdi) ret .Lfe35: .size mul_16x16, .Lfe35-(mul_16x16) mul_lxl_basic: .quad mul_1x1 - mul_lxl_basic .quad mul_2x2 - mul_lxl_basic .quad mul_3x3 - mul_lxl_basic .quad mul_4x4 - mul_lxl_basic .quad mul_5x5 - mul_lxl_basic .quad mul_6x6 - mul_lxl_basic .quad mul_7x7 - mul_lxl_basic .quad mul_8x8 - mul_lxl_basic .quad mul_9x9 - mul_lxl_basic .quad mul_10x10-mul_lxl_basic .quad mul_11x11-mul_lxl_basic .quad mul_12x12-mul_lxl_basic .quad mul_13x13-mul_lxl_basic .quad mul_14x14-mul_lxl_basic .quad mul_15x15-mul_lxl_basic .quad mul_16x16-mul_lxl_basic mla_lxl_short: .quad mla_1x1 - mla_lxl_short .quad mla_2x2 - mla_lxl_short .quad mla_3x3 - mla_lxl_short .quad mla_4x4 - mla_lxl_short .quad mla_5x5 - mla_lxl_short .quad mla_6x6 - mla_lxl_short .quad mla_7x7 - mla_lxl_short mla_8xl_tail: .quad mla_8x1 - mla_8xl_tail .quad mla_8x2 - mla_8xl_tail .quad mla_8x3 - mla_8xl_tail .quad mla_8x4 - mla_8xl_tail .quad mla_8x5 - mla_8xl_tail .quad mla_8x6 - mla_8xl_tail .quad mla_8x7 - mla_8xl_tail .p2align 5, 0x90 .type mul_8Nx8M, @function mul_8Nx8M: push %rbx push %rdi push %rsi push %rdx .Lmul_loopAgas_36: push %rdx call mla_8x8 add $(64), %rdi add $(64), %rsi pop %rdx sub $(8), %rdx jnz .Lmul_loopAgas_36 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) jmp .Lmla_enrtygas_36 .Lmla_loopBgas_36: push %rbx push %rdi push %rsi push %rdx xor %rax, %rax push %rax movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 .LloopAgas_36: push %rdx call mla_8x8 add $(64), %rdi add $(64), %rsi pop %rdx sub $(8), %rdx jz .Lexit_loopAgas_36 pop %rax neg %rax movq (%rdi), %rax adc %rax, %r8 movq (8)(%rdi), %rax adc %rax, %r9 movq (16)(%rdi), %rax adc %rax, %r10 movq (24)(%rdi), %rax adc %rax, %r11 movq (32)(%rdi), %rax adc %rax, %r12 movq (40)(%rdi), %rax adc %rax, %r13 movq (48)(%rdi), %rax adc %rax, %r14 movq (56)(%rdi), %rax adc %rax, %r15 sbb %rax, %rax push %rax jmp .LloopAgas_36 .Lexit_loopAgas_36: pop %rax neg %rax adc $(0), %r8 movq %r8, (%rdi) adc $(0), %r9 movq %r9, (8)(%rdi) adc $(0), %r10 movq %r10, (16)(%rdi) adc $(0), %r11 movq %r11, (24)(%rdi) adc $(0), %r12 movq %r12, (32)(%rdi) adc $(0), %r13 movq %r13, (40)(%rdi) adc $(0), %r14 movq %r14, (48)(%rdi) adc $(0), %r15 movq %r15, (56)(%rdi) .Lmla_enrtygas_36: pop %rdx pop %rsi pop %rdi add $(64), %rdi add $(64), %rcx pop %rbx sub $(8), %rbx jnz .Lmla_loopBgas_36 ret .Lfe36: .size mul_8Nx8M, .Lfe36-(mul_8Nx8M) .p2align 5, 0x90 .type mla_simple, @function mla_simple: xor %rax, %rax mov %rdx, %r11 cmp %rbx, %r11 jge .Lms_mla_entrygas_37 xor %rbx, %r11 xor %r11, %rbx xor %rbx, %r11 xor %rcx, %rsi xor %rsi, %rcx xor %rcx, %rsi jmp .Lms_mla_entrygas_37 .Lms_loopBgas_37: push %rbx push %rdi push %rsi push %r11 push %rax movq (%rcx), %rdx xor %r10, %r10 .Lms_loopAgas_37: mulxq (%rsi), %r8, %r9 add $(8), %rdi add $(8), %rsi add %r10, %r8 adc $(0), %r9 addq (-8)(%rdi), %r8 adc $(0), %r9 movq %r8, (-8)(%rdi) mov %r9, %r10 sub $(1), %r11 jnz .Lms_loopAgas_37 pop %rax shr $(1), %rax adcq (%rdi), %r10 movq %r10, (%rdi) adc $(0), %rax pop %r11 pop %rsi pop %rdi pop %rbx add $(8), %rdi add $(8), %rcx .Lms_mla_entrygas_37: sub $(1), %rbx jnc .Lms_loopBgas_37 ret .Lfe37: .size mla_simple, .Lfe37-(mla_simple) .p2align 5, 0x90 .type mul_NxM, @function mul_NxM: sub $(56), %rsp cmp $(8), %rbx jge .Lregular_entrygas_38 cmp $(8), %rdx jge .Lirregular_entrygas_38 mov %rdx, %r8 add %rbx, %r8 mov %rdi, %rbp xor %rax, %rax .L__0000gas_38: movq %rax, (%rbp) add $(8), %rbp sub $(1), %r8 jnz .L__0000gas_38 call mla_simple jmp .Lquitgas_38 .Lirregular_entrygas_38: mov %rbx, (%rsp) mov %rdx, (24)(%rsp) mov %rdx, (32)(%rsp) lea mla_8xl_tail(%rip), %rax mov (-8)(%rax,%rbx,8), %rbp add %rbp, %rax mov %rax, (48)(%rsp) jmp .Lirr_init_entrygas_38 .Lirr_init_loopgas_38: mov %rdx, (32)(%rsp) call *%rax mov (%rsp), %rbx movq %r8, (%rdi,%rbx,8) movq %r9, (8)(%rdi,%rbx,8) movq %r10, (16)(%rdi,%rbx,8) movq %r11, (24)(%rdi,%rbx,8) movq %r12, (32)(%rdi,%rbx,8) movq %r13, (40)(%rdi,%rbx,8) movq %r14, (48)(%rdi,%rbx,8) movq %r15, (56)(%rdi,%rbx,8) add $(64), %rsi add $(64), %rdi xor %r8, %r8 xor %r9, %r9 xor %r10, %r10 xor %r11, %r11 xor %r12, %r12 xor %r13, %r13 xor %r14, %r14 xor %r15, %r15 movq (%rdi), %r8 cmp $(1), %rbx jz .Lcontinuegas_38 movq (8)(%rdi), %r9 cmp $(2), %rbx jz .Lcontinuegas_38 movq (16)(%rdi), %r10 cmp $(3), %rbx jz .Lcontinuegas_38 movq (24)(%rdi), %r11 cmp $(4), %rbx jz .Lcontinuegas_38 movq (32)(%rdi), %r12 cmp $(5), %rbx jz .Lcontinuegas_38 movq (40)(%rdi), %r13 cmp $(6), %rbx jz .Lcontinuegas_38 movq (48)(%rdi), %r14 .Lcontinuegas_38: mov (32)(%rsp), %rdx .Lirr_init_entrygas_38: sub $(8), %rdx mov (48)(%rsp), %rax jnc .Lirr_init_loopgas_38 add $(8), %rdx jz .Lquitgas_38 lea (%rdi,%rbx,8), %rbp xor %rax, %rax .L__0001gas_38: movq %rax, (%rbp) add $(8), %rbp sub $(1), %rdx jnz .L__0001gas_38 mov (32)(%rsp), %rdx call mla_simple jmp .Lquitgas_38 .Lregular_entrygas_38: sub $(8), %rbx xor %rax, %rax mov %rbx, (%rsp) mov %rdi, (8)(%rsp) mov %rsi, (16)(%rsp) mov %rdx, (24)(%rsp) mov %rdx, (32)(%rsp) mov %rax, (40)(%rsp) mov %rdx, %rbp and $(7), %rbp lea mla_8xl_tail(%rip), %rax mov (-8)(%rax,%rbp,8), %rbp add %rbp, %rax mov %rax, (48)(%rsp) sub $(8), %rdx .Linit_loopAgas_38: mov %rdx, (32)(%rsp) call mla_8x8 mov (32)(%rsp), %rdx add $(64), %rdi add $(64), %rsi sub $(8), %rdx jnc .Linit_loopAgas_38 add $(8), %rdx jz .Linit_completegas_38 mov %rdx, (32)(%rsp) mov (48)(%rsp), %rax xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call *%rax xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx mov (32)(%rsp), %rdx lea (%rdi,%rdx,8), %rdi .Linit_completegas_38: movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) jmp .Lmla_enrtygas_38 .Lmla_loopBgas_38: mov %rbx, (%rsp) mov %rdi, (8)(%rsp) xor %rax, %rax mov %rax, (40)(%rsp) movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 sub $(8), %rdx .LloopAgas_38: mov %rdx, (32)(%rsp) call mla_8x8 mov (32)(%rsp), %rdx add $(64), %rdi add $(64), %rsi sub $(8), %rdx jc .Lexit_loopAgas_38 mov (40)(%rsp), %rax shr $(1), %rax movq (%rdi), %rbx adc %rbx, %r8 movq (8)(%rdi), %rbx adc %rbx, %r9 movq (16)(%rdi), %rbx adc %rbx, %r10 movq (24)(%rdi), %rbx adc %rbx, %r11 movq (32)(%rdi), %rbx adc %rbx, %r12 movq (40)(%rdi), %rbx adc %rbx, %r13 movq (48)(%rdi), %rbx adc %rbx, %r14 movq (56)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax mov %rax, (40)(%rsp) jmp .LloopAgas_38 .Lexit_loopAgas_38: add $(8), %rdx jz .Lcomplete_reg_loopBgas_38 mov %rdx, (32)(%rsp) xor %rax, %rax .Lput_zerogas_38: movq %rax, (%rdi,%rdx,8) add $(1), %rdx cmp $(8), %rdx jl .Lput_zerogas_38 mov (40)(%rsp), %rax shr $(1), %rax mov (%rdi), %rbx adc %rbx, %r8 mov (8)(%rdi), %rbx adc %rbx, %r9 mov (16)(%rdi), %rbx adc %rbx, %r10 mov (24)(%rdi), %rbx adc %rbx, %r11 mov (32)(%rdi), %rbx adc %rbx, %r12 mov (40)(%rdi), %rbx adc %rbx, %r13 mov (48)(%rdi), %rbx adc %rbx, %r14 mov (56)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax mov %rax, (40)(%rsp) mov (48)(%rsp), %rax xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call *%rax xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx mov (32)(%rsp), %rdx lea (%rdi,%rdx,8), %rdi mov (40)(%rsp), %rax shr $(1), %rax dec %rdx jz .Lmt_1gas_38 dec %rdx jz .Lmt_2gas_38 dec %rdx jz .Lmt_3gas_38 dec %rdx jz .Lmt_4gas_38 dec %rdx jz .Lmt_5gas_38 dec %rdx jz .Lmt_6gas_38 .Lmt_7gas_38: adc $(0), %r9 .Lmt_6gas_38: adc $(0), %r10 .Lmt_5gas_38: adc $(0), %r11 .Lmt_4gas_38: adc $(0), %r12 .Lmt_3gas_38: adc $(0), %r13 .Lmt_2gas_38: adc $(0), %r14 .Lmt_1gas_38: adc $(0), %r15 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) jmp .Lmla_enrtygas_38 .Lcomplete_reg_loopBgas_38: mov (40)(%rsp), %rax add %rax, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) .Lmla_enrtygas_38: mov (%rsp), %rbx mov (8)(%rsp), %rdi mov (24)(%rsp), %rdx mov (16)(%rsp), %rsi add $(64), %rcx add $(64), %rdi sub $(8), %rbx jnc .Lmla_loopBgas_38 add $(8), %rbx jz .Lquitgas_38 mov %rbx, (%rsp) lea mla_8xl_tail(%rip), %rax mov (-8)(%rax,%rbx,8), %rbp add %rbp, %rax mov %rax, (48)(%rsp) lea (%rdi,%rdx,8), %rbp xor %rax, %rax .L__0002gas_38: movq %rax, (%rbp) add $(8), %rbp sub $(1), %rbx jnz .L__0002gas_38 xor %rax, %rax mov %rax, (40)(%rsp) sub $(8), %rdx .Ltail_loopAgas_38: movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov %rdx, (32)(%rsp) mov (48)(%rsp), %rax call *%rax .Lenrty_tail_loopAgas_38: mov (40)(%rsp), %rax shr $(1), %rax adc $(0), %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 adc $(0), %rax mov (%rsp), %rbx mov %rbx, %rbp dec %rbp jz .Ltt_1gas_38 dec %rbp jz .Ltt_2gas_38 dec %rbp jz .Ltt_3gas_38 dec %rbp jz .Ltt_4gas_38 dec %rbp jz .Ltt_5gas_38 dec %rbp jz .Ltt_6gas_38 .Ltt_7gas_38: mov (8)(%rdi,%rbx,8), %rbp adc %rbp, %r9 .Ltt_6gas_38: mov (16)(%rdi,%rbx,8), %rbp adc %rbp, %r10 .Ltt_5gas_38: mov (24)(%rdi,%rbx,8), %rbp adc %rbp, %r11 .Ltt_4gas_38: mov (32)(%rdi,%rbx,8), %rbp adc %rbp, %r12 .Ltt_3gas_38: mov (40)(%rdi,%rbx,8), %rbp adc %rbp, %r13 .Ltt_2gas_38: mov (48)(%rdi,%rbx,8), %rbp adc %rbp, %r14 .Ltt_1gas_38: mov (56)(%rdi,%rbx,8), %rbp adc %rbp, %r15 adc $(0), %rax mov %rax, (40)(%rsp) movq %r8, (%rdi,%rbx,8) movq %r9, (8)(%rdi,%rbx,8) movq %r10, (16)(%rdi,%rbx,8) movq %r11, (24)(%rdi,%rbx,8) movq %r12, (32)(%rdi,%rbx,8) movq %r13, (40)(%rdi,%rbx,8) movq %r14, (48)(%rdi,%rbx,8) movq %r15, (56)(%rdi,%rbx,8) mov (32)(%rsp), %rdx add $(64), %rsi add $(64), %rdi sub $(8), %rdx jnc .Ltail_loopAgas_38 add $(8), %rdx jz .Lquitgas_38 mov (40)(%rsp), %rax mov %rbx, %rbp dec %rbp movq (%rdi,%rbx,8), %r8 add %rax, %r8 movq %r8, (%rdi,%rbx,8) jz .Lsimplegas_38 dec %rbp movq (8)(%rdi,%rbx,8), %r9 adc $(0), %r9 movq %r9, (8)(%rdi,%rbx,8) jz .Lsimplegas_38 dec %rbp movq (16)(%rdi,%rbx,8), %r10 adc $(0), %r10 movq %r10, (16)(%rdi,%rbx,8) jz .Lsimplegas_38 dec %rbp movq (24)(%rdi,%rbx,8), %r11 adc $(0), %r11 movq %r11, (24)(%rdi,%rbx,8) jz .Lsimplegas_38 dec %rbp movq (32)(%rdi,%rbx,8), %r12 adc $(0), %r12 movq %r12, (32)(%rdi,%rbx,8) jz .Lsimplegas_38 dec %rbp movq (40)(%rdi,%rbx,8), %r13 adc $(0), %r13 movq %r13, (40)(%rdi,%rbx,8) jz .Lsimplegas_38 dec %rbp movq (48)(%rdi,%rbx,8), %r14 adc $(0), %r14 movq %r14, (48)(%rdi,%rbx,8) .Lsimplegas_38: call mla_simple .Lquitgas_38: add $(56), %rsp ret .Lfe38: .size mul_NxM, .Lfe38-(mul_NxM) .p2align 5, 0x90 .type sqr_1, @function sqr_1: movq (%rsi), %rdx mulx %rdx, %rax, %rdx movq %rax, (%rdi) movq %rdx, (8)(%rdi) ret .Lfe39: .size sqr_1, .Lfe39-(sqr_1) .p2align 5, 0x90 .type sqr_2, @function sqr_2: movq (%rsi), %rdx mulxq (8)(%rsi), %r8, %r9 mulx %rdx, %r10, %r11 movq (8)(%rsi), %rdx mulx %rdx, %rax, %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc $(0), %rcx movq %r10, (%rdi) add %r8, %r11 movq %r11, (8)(%rdi) adc %r9, %rax movq %rax, (16)(%rdi) adc %rcx, %rdx movq %rdx, (24)(%rdi) ret .Lfe40: .size sqr_2, .Lfe40-(sqr_2) .p2align 5, 0x90 .type sqr_3, @function sqr_3: mov (%rsi), %rdx mulx (8)(%rsi), %r8, %r9 mulx (16)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 movq (8)(%rsi), %rdx mulxq (16)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 movq (%rsi), %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %rcx, %rcx mulx %rdx, %rdx, %rax mov %rdx, (%rdi) mov (8)(%rsi), %rdx add %rax, %r8 mov %r8, (8)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r9 mov %r9, (16)(%rdi) mov (16)(%rsi), %rdx adc %rax, %r10 mov %r10, (24)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r11 mov %r11, (32)(%rdi) adc %rax, %rcx mov %rcx, (40)(%rdi) ret .Lfe41: .size sqr_3, .Lfe41-(sqr_3) .p2align 5, 0x90 .type sqr_4, @function sqr_4: mov (%rsi), %rdx mulx (8)(%rsi), %r8, %r9 mulx (16)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 mulx (24)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 movq (8)(%rsi), %rdx mulxq (16)(%rsi), %rax, %rcx xor %r12, %r12 add %rax, %r10 adc %rcx, %r11 adc $(0), %r12 mulxq (24)(%rsi), %rax, %rcx add %rax, %r11 adc %rcx, %r12 movq (16)(%rsi), %rdx mulxq (24)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 mov (%rsi), %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc $(0), %rcx mulx %rdx, %rdx, %rax mov %rdx, (%rdi) mov (8)(%rsi), %rdx add %rax, %r8 mov %r8, (8)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r9 mov %r9, (16)(%rdi) mov (16)(%rsi), %rdx adc %rax, %r10 mov %r10, (24)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r11 mov %r11, (32)(%rdi) mov (24)(%rsi), %rdx adc %rax, %r12 mov %r12, (40)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r13 mov %r13, (48)(%rdi) adc %rax, %rcx mov %rcx, (56)(%rdi) ret .Lfe42: .size sqr_4, .Lfe42-(sqr_4) .p2align 5, 0x90 .type sqr_5, @function sqr_5: mov (%rsi), %rdx mulx (8)(%rsi), %r8, %r9 mulx (16)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 mulx (24)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 mulx (32)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 mov (8)(%rsi), %rdx mulx (16)(%rsi), %rax, %rbp add %rax, %r10 adc $(0), %rbp mulx (24)(%rsi), %rax, %rcx add %rax, %r11 adc $(0), %rcx add %rbp, %r11 adc $(0), %rcx mov %rcx, %rbp mulx (32)(%rsi), %rax, %rcx add %rax, %r12 adc $(0), %rcx add %rbp, %r12 adc $(0), %rcx mov %rcx, %rbp mov %rbp, %r13 movq (16)(%rsi), %rdx mulxq (24)(%rsi), %rax, %rcx xor %r14, %r14 add %rax, %r12 adc %rcx, %r13 adc $(0), %r14 mulxq (32)(%rsi), %rax, %rcx add %rax, %r13 adc %rcx, %r14 movq (24)(%rsi), %rdx mulxq (32)(%rsi), %rax, %r15 add %rax, %r14 adc $(0), %r15 mov (%rsi), %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc %r14, %r14 adc %r15, %r15 adc $(0), %rcx mulx %rdx, %rdx, %rax mov %rdx, (%rdi) mov (8)(%rsi), %rdx add %rax, %r8 mov %r8, (8)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r9 mov %r9, (16)(%rdi) mov (16)(%rsi), %rdx adc %rax, %r10 mov %r10, (24)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r11 mov %r11, (32)(%rdi) mov (24)(%rsi), %rdx adc %rax, %r12 mov %r12, (40)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r13 mov %r13, (48)(%rdi) mov (32)(%rsi), %rdx adc %rax, %r14 mov %r14, (56)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r15 mov %r15, (64)(%rdi) mov (40)(%rsi), %rdx adc %rax, %rcx mov %rcx, (72)(%rdi) ret .Lfe43: .size sqr_5, .Lfe43-(sqr_5) .p2align 5, 0x90 .type sqr_6, @function sqr_6: mov (%rsi), %rdx mulx (8)(%rsi), %r8, %r9 mulx (16)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 mulx (24)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 mulx (32)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 mulx (40)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 mov (8)(%rsi), %rdx mulx (16)(%rsi), %rax, %rbp add %rax, %r10 adc $(0), %rbp mulx (24)(%rsi), %rax, %rcx add %rax, %r11 adc $(0), %rcx add %rbp, %r11 adc $(0), %rcx mov %rcx, %rbp mulx (32)(%rsi), %rax, %rcx add %rax, %r12 adc $(0), %rcx add %rbp, %r12 adc $(0), %rcx mov %rcx, %rbp mulx (40)(%rsi), %rax, %rcx add %rax, %r13 adc $(0), %rcx add %rbp, %r13 adc $(0), %rcx mov %rcx, %rbp mov %rbp, %r14 mov (16)(%rsi), %rdx mulx (24)(%rsi), %rax, %rbp add %rax, %r12 adc $(0), %rbp mulx (32)(%rsi), %rax, %rcx add %rax, %r13 adc $(0), %rcx add %rbp, %r13 adc $(0), %rcx mov %rcx, %rbp mulx (40)(%rsi), %rax, %rcx add %rax, %r14 adc $(0), %rcx add %rbp, %r14 adc $(0), %rcx mov %rcx, %rbp mov %rbp, %r15 movq (24)(%rsi), %rdx mulxq (32)(%rsi), %rax, %rcx xor %rbx, %rbx add %rax, %r14 adc %rcx, %r15 adc $(0), %rbx mulxq (40)(%rsi), %rax, %rcx add %rax, %r15 adc %rcx, %rbx movq (32)(%rsi), %rdx mulxq (40)(%rsi), %rax, %rbp add %rax, %rbx adc $(0), %rbp mov (%rsi), %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc %r14, %r14 adc %r15, %r15 adc %rbx, %rbx adc %rbp, %rbp adc $(0), %rcx mulx %rdx, %rdx, %rax mov %rdx, (%rdi) mov (8)(%rsi), %rdx add %rax, %r8 mov %r8, (8)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r9 mov %r9, (16)(%rdi) mov (16)(%rsi), %rdx adc %rax, %r10 mov %r10, (24)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r11 mov %r11, (32)(%rdi) mov (24)(%rsi), %rdx adc %rax, %r12 mov %r12, (40)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r13 mov %r13, (48)(%rdi) mov (32)(%rsi), %rdx adc %rax, %r14 mov %r14, (56)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r15 mov %r15, (64)(%rdi) mov (40)(%rsi), %rdx adc %rax, %rbx mov %rbx, (72)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %rbp mov %rbp, (80)(%rdi) adc %rax, %rcx mov %rcx, (88)(%rdi) ret .Lfe44: .size sqr_6, .Lfe44-(sqr_6) .p2align 5, 0x90 .type sqr_7, @function sqr_7: mov (%rsi), %rdx mulx (8)(%rsi), %r8, %r9 mulx (16)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 mulx (24)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 mulx (32)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 mulx (40)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 mulx (48)(%rsi), %rax, %r14 add %rax, %r13 adc $(0), %r14 mov (8)(%rsi), %rdx mulx (16)(%rsi), %rax, %rbp add %rax, %r10 adc $(0), %rbp mulx (24)(%rsi), %rax, %rcx add %rax, %r11 adc $(0), %rcx add %rbp, %r11 adc $(0), %rcx mov %rcx, %rbp mulx (32)(%rsi), %rax, %rcx add %rax, %r12 adc $(0), %rcx add %rbp, %r12 adc $(0), %rcx mov %rcx, %rbp mulx (40)(%rsi), %rax, %rcx add %rax, %r13 adc $(0), %rcx add %rbp, %r13 adc $(0), %rcx mov %rcx, %rbp mulx (48)(%rsi), %rax, %rcx add %rax, %r14 adc $(0), %rcx add %rbp, %r14 adc $(0), %rcx mov %rcx, %rbp mov %rbp, %r15 mov (16)(%rsi), %rdx mulx (24)(%rsi), %rax, %rbp add %rax, %r12 adc $(0), %rbp xor %rbx, %rbx mulx (32)(%rsi), %rax, %rcx add %rax, %r13 adc $(0), %rcx add %rbp, %r13 adc $(0), %rcx mov %rcx, %rbp mulx (40)(%rsi), %rax, %rcx add %rax, %r14 adc $(0), %rcx add %rbp, %r14 adc $(0), %rcx mov %rcx, %rbp add %rbp, %r15 adc $(0), %rbx mov (24)(%rsi), %rax mulq (32)(%rsi) add %rax, %r14 adc $(0), %rdx add %rdx, %r15 adc $(0), %rbx mov (%rsi), %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc %r14, %r14 adc $(0), %rcx mulx %rdx, %rdx, %rax mov %rdx, (%rdi) mov (8)(%rsi), %rdx add %rax, %r8 mov %r8, (8)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r9 mov %r9, (16)(%rdi) mov (16)(%rsi), %rdx adc %rax, %r10 mov %r10, (24)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r11 mov %r11, (32)(%rdi) mov (24)(%rsi), %rdx adc %rax, %r12 mov %r12, (40)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r13 mov %r13, (48)(%rdi) adc %rax, %r14 mov %r14, (56)(%rdi) adc $(0), %rcx mov (16)(%rsi), %rax xor %r8, %r8 mulq (48)(%rsi) add %rax, %r15 adc $(0), %rdx add %rdx, %rbx adc $(0), %r8 mov (24)(%rsi), %rdx mulx (40)(%rsi), %rax, %r14 add %rax, %r15 adc %r14, %rbx adc $(0), %r8 mulx (48)(%rsi), %rax, %r14 add %rax, %rbx adc %r14, %r8 mov (32)(%rsi), %rdx mulx (40)(%rsi), %rax, %r14 xor %r9, %r9 add %rax, %rbx adc %r14, %r8 adc $(0), %r9 mulx (48)(%rsi), %rax, %r14 add %rax, %r8 adc %r14, %r9 mov (40)(%rsi), %rax xor %r10, %r10 mulq (48)(%rsi) add %rax, %r9 adc %rdx, %r10 mov (32)(%rsi), %rdx xor %r11, %r11 add %r15, %r15 adc %rbx, %rbx adc %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc $(0), %r11 mulx %rdx, %rdx, %rax add %rcx, %rdx adc $(0), %rax add %rdx, %r15 mov (40)(%rsi), %rdx mov %r15, (64)(%rdi) adc %rax, %rbx mov %rbx, (72)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r8 mov %r8, (80)(%rdi) mov (48)(%rsi), %rdx adc %rax, %r9 mov %r9, (88)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r10 mov %r10, (96)(%rdi) adc %rax, %r11 mov %r11, (104)(%rdi) ret .Lfe45: .size sqr_7, .Lfe45-(sqr_7) .p2align 5, 0x90 .type sqr_8, @function sqr_8: mov (%rsi), %rdx mulx (8)(%rsi), %r8, %r9 mulx (16)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 mulx (24)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 mulx (32)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 mulx (40)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 mulx (48)(%rsi), %rax, %r14 add %rax, %r13 adc $(0), %r14 mulx (56)(%rsi), %rax, %r15 add %rax, %r14 adc $(0), %r15 mov (8)(%rsi), %rdx mulx (16)(%rsi), %rax, %rbp add %rax, %r10 adc $(0), %rbp xor %rbx, %rbx mulx (24)(%rsi), %rax, %rcx add %rax, %r11 adc $(0), %rcx add %rbp, %r11 adc $(0), %rcx mov %rcx, %rbp mulx (32)(%rsi), %rax, %rcx add %rax, %r12 adc $(0), %rcx add %rbp, %r12 adc $(0), %rcx mov %rcx, %rbp mulx (40)(%rsi), %rax, %rcx add %rax, %r13 adc $(0), %rcx add %rbp, %r13 adc $(0), %rcx mov %rcx, %rbp mulx (48)(%rsi), %rax, %rcx add %rax, %r14 adc $(0), %rcx add %rbp, %r14 adc $(0), %rcx mov %rcx, %rbp add %rbp, %r15 adc $(0), %rbx mov (16)(%rsi), %rdx mulx (24)(%rsi), %rax, %rbp add %rax, %r12 adc $(0), %rbp mulx (32)(%rsi), %rax, %rcx add %rax, %r13 adc $(0), %rcx add %rbp, %r13 adc $(0), %rcx mov %rcx, %rbp mulx (40)(%rsi), %rax, %rcx add %rax, %r14 adc $(0), %rcx add %rbp, %r14 adc $(0), %rcx mov %rcx, %rbp add %rbp, %r15 adc $(0), %rbx mov (24)(%rsi), %rax mulq (32)(%rsi) add %rax, %r14 adc $(0), %rdx add %rdx, %r15 adc $(0), %rbx mov (%rsi), %rdx xor %rcx, %rcx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc %r14, %r14 adc $(0), %rcx mulx %rdx, %rdx, %rax mov %rdx, (%rdi) mov (8)(%rsi), %rdx add %rax, %r8 mov %r8, (8)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r9 mov %r9, (16)(%rdi) mov (16)(%rsi), %rdx adc %rax, %r10 mov %r10, (24)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r11 mov %r11, (32)(%rdi) mov (24)(%rsi), %rdx adc %rax, %r12 mov %r12, (40)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r13 mov %r13, (48)(%rdi) adc %rax, %r14 mov %r14, (56)(%rdi) adc $(0), %rcx mov (8)(%rsi), %rax xor %r8, %r8 mulq (56)(%rsi) add %rax, %r15 adc $(0), %rdx add %rdx, %rbx adc $(0), %r8 mov (16)(%rsi), %rdx mulx (48)(%rsi), %rax, %r14 add %rax, %r15 adc %r14, %rbx adc $(0), %r8 mulx (56)(%rsi), %rax, %r14 xor %r9, %r9 add %rax, %rbx adc %r14, %r8 adc $(0), %r9 mov (24)(%rsi), %rdx mulx (40)(%rsi), %rax, %r14 add %rax, %r15 adc $(0), %r14 add %r14, %rbx adc $(0), %r8 adc $(0), %r9 mulx (48)(%rsi), %rax, %r14 add %rax, %rbx adc $(0), %r14 add %r14, %r8 adc $(0), %r9 mulx (56)(%rsi), %rax, %r14 add %rax, %r8 adc $(0), %r14 add %r14, %r9 mov (32)(%rsi), %rdx mulx (40)(%rsi), %rax, %r10 add %rax, %rbx adc $(0), %r10 mulx (48)(%rsi), %rax, %r14 add %rax, %r8 adc $(0), %r14 add %r10, %r8 adc $(0), %r14 mov %r14, %r10 mulx (56)(%rsi), %rax, %r14 add %rax, %r9 adc $(0), %r14 add %r10, %r9 adc $(0), %r14 mov %r14, %r10 mov (40)(%rsi), %rdx mulx (48)(%rsi), %rax, %r11 add %rax, %r9 adc $(0), %r11 mulx (56)(%rsi), %rax, %r14 add %rax, %r10 adc $(0), %r14 add %r11, %r10 adc $(0), %r14 mov %r14, %r11 mov (48)(%rsi), %rax mulq (56)(%rsi) add %rax, %r11 adc $(0), %rdx mov %rdx, %r12 mov (32)(%rsi), %rdx xor %r13, %r13 add %r15, %r15 adc %rbx, %rbx adc %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc $(0), %r13 mulx %rdx, %rdx, %rax add %rcx, %rdx adc $(0), %rax add %rdx, %r15 mov (40)(%rsi), %rdx mov %r15, (64)(%rdi) adc %rax, %rbx mov %rbx, (72)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r8 mov %r8, (80)(%rdi) mov (48)(%rsi), %rdx adc %rax, %r9 mov %r9, (88)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r10 mov %r10, (96)(%rdi) mov (56)(%rsi), %rdx adc %rax, %r11 mov %r11, (104)(%rdi) mulx %rdx, %rdx, %rax adc %rdx, %r12 mov %r12, (112)(%rdi) adc %rax, %r13 mov %r13, (120)(%rdi) ret .Lfe46: .size sqr_8, .Lfe46-(sqr_8) .p2align 5, 0x90 .type add_diag_4, @function add_diag_4: movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc %r14, %r14 adc %r15, %r15 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 mov (8)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r10 adc %rdx, %r11 mov (16)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r12 adc %rdx, %r13 mov (24)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r14 adc %rdx, %r15 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) ret .Lfe47: .size add_diag_4, .Lfe47-(add_diag_4) .p2align 5, 0x90 .type sqr8_triangle, @function sqr8_triangle: mov (%rsi), %rdx mov %r8, (%rdi) mulx (8)(%rsi), %rax, %rbp add %rax, %r9 adc $(0), %rbp mulx (16)(%rsi), %rax, %rbx add %rax, %r10 adc $(0), %rbx add %rbp, %r10 adc $(0), %rbx mulx (24)(%rsi), %rax, %rbp add %rax, %r11 adc $(0), %rbp add %rbx, %r11 adc $(0), %rbp mulx (32)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx add %rbp, %r12 adc $(0), %rbx mulx (40)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (48)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (56)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 mov (8)(%rsi), %rdx mov %r9, (8)(%rdi) mulx (16)(%rsi), %rax, %rbx add %rax, %r11 adc $(0), %rbx mulx (24)(%rsi), %rax, %rbp add %rax, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (32)(%rsi), %rax, %rbx add %rax, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (40)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mulx (48)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (56)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 mov (16)(%rsi), %rdx mov %r10, (16)(%rdi) mulx (24)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp mulx (32)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (40)(%rsi), %rax, %rbp add %rax, %r15 adc $(0), %rbp add %rbx, %r15 adc $(0), %rbp mulx (48)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx add %rbp, %r8 adc $(0), %rbx mulx (56)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 mov (24)(%rsi), %rdx mov %r11, (24)(%rdi) mulx (32)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx mulx (40)(%rsi), %rax, %rbp add %rax, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (48)(%rsi), %rax, %rbx add %rax, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (56)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 add %rbx, %r10 adc $(0), %r11 mov (32)(%rsi), %rdx mov %r12, (32)(%rdi) mulx (40)(%rsi), %rax, %rbp add %rax, %r9 adc $(0), %rbp mulx (48)(%rsi), %rax, %rbx add %rax, %r10 adc $(0), %rbx add %rbp, %r10 adc $(0), %rbx mulx (56)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 add %rbx, %r11 adc $(0), %r12 mov (40)(%rsi), %rdx mov %r13, (40)(%rdi) mulx (48)(%rsi), %rax, %rbx add %rax, %r11 adc $(0), %rbx mulx (56)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 add %rbx, %r12 adc $(0), %r13 mov (48)(%rsi), %rdx mov %r14, (48)(%rdi) mulx (56)(%rsi), %rax, %r14 add %rax, %r13 adc $(0), %r14 ret .Lfe48: .size sqr8_triangle, .Lfe48-(sqr8_triangle) .p2align 5, 0x90 .type sqr_9, @function sqr_9: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x1 movq %r8, (8)(%rdi) movq %r9, (16)(%rdi) movq %r10, (24)(%rdi) movq %r11, (32)(%rdi) movq %r12, (40)(%rdi) movq %r13, (48)(%rdi) movq %r14, (56)(%rdi) movq %r15, (64)(%rdi) xor %rbx, %rbx movq %rbx, (72)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) sub $(64), %rsi sub $(128), %rdi ret .Lfe49: .size sqr_9, .Lfe49-(sqr_9) .p2align 5, 0x90 .type sqr_10, @function sqr_10: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x2 movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) movq %r10, (32)(%rdi) movq %r11, (40)(%rdi) movq %r12, (48)(%rdi) movq %r13, (56)(%rdi) movq %r14, (64)(%rdi) movq (64)(%rsi), %rdx mulx (72)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 xor %rbx, %rbx movq %r15, (72)(%rdi) movq %r8, (80)(%rdi) movq %rbx, (88)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 mov (8)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r10 adc %rdx, %r11 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) sub $(64), %rsi sub $(128), %rdi ret .Lfe50: .size sqr_10, .Lfe50-(sqr_10) .p2align 5, 0x90 .type sqr_11, @function sqr_11: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x1 add $(8), %rdi add $(8), %rcx call mla_8x2 sub $(8), %rdi sub $(8), %rcx movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) movq %r11, (48)(%rdi) movq %r12, (56)(%rdi) movq (64)(%rsi), %rdx mov %r13, (64)(%rdi) mulx (72)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx mulx (80)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r14, (72)(%rdi) mulx (80)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 xor %rbx, %rbx movq %r15, (80)(%rdi) movq %r8, (88)(%rdi) movq %r9, (96)(%rdi) movq %rbx, (104)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 mov (8)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r10 adc %rdx, %r11 mov (16)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r12 adc %rdx, %r13 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) sub $(64), %rsi sub $(128), %rdi ret .Lfe51: .size sqr_11, .Lfe51-(sqr_11) .p2align 5, 0x90 .type sqr_12, @function sqr_12: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(16), %rdi sub $(16), %rcx movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) movq (64)(%rsi), %rdx mov %r12, (64)(%rdi) mulx (72)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp mulx (80)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (88)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r13, (72)(%rdi) mulx (80)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx mulx (88)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r14, (80)(%rdi) mulx (88)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 xor %rbx, %rbx movq %r15, (88)(%rdi) movq %r8, (96)(%rdi) movq %r9, (104)(%rdi) movq %r10, (112)(%rdi) movq %rbx, (120)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 sub $(64), %rsi sub $(128), %rdi ret .Lfe52: .size sqr_12, .Lfe52-(sqr_12) .p2align 5, 0x90 .type sqr_13, @function sqr_13: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x1 add $(8), %rdi add $(8), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(24), %rdi sub $(24), %rcx movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) movq (64)(%rsi), %rdx mov %r11, (64)(%rdi) mulx (72)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx mulx (80)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (96)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r12, (72)(%rdi) mulx (80)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (96)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r13, (80)(%rdi) mulx (88)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx mulx (96)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 movq (88)(%rsi), %rdx mov %r14, (88)(%rdi) mulx (96)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 xor %rbx, %rbx movq %r15, (96)(%rdi) movq %r8, (104)(%rdi) movq %r9, (112)(%rdi) movq %r10, (120)(%rdi) movq %r11, (128)(%rdi) movq %rbx, (136)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) sub $(96), %rsi sub $(192), %rdi ret .Lfe53: .size sqr_13, .Lfe53-(sqr_13) .p2align 5, 0x90 .type sqr_14, @function sqr_14: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(32), %rdi sub $(32), %rcx movq %r8, (48)(%rdi) movq %r9, (56)(%rdi) movq (64)(%rsi), %rdx mov %r10, (64)(%rdi) mulx (72)(%rsi), %rax, %rbp add %rax, %r11 adc $(0), %rbp mulx (80)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx add %rbp, %r12 adc $(0), %rbx mulx (88)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (96)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (104)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r11, (72)(%rdi) mulx (80)(%rsi), %rax, %rbx add %rax, %r13 adc $(0), %rbx mulx (88)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mulx (96)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (104)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r12, (80)(%rdi) mulx (88)(%rsi), %rax, %rbp add %rax, %r15 adc $(0), %rbp mulx (96)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx add %rbp, %r8 adc $(0), %rbx mulx (104)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 movq (88)(%rsi), %rdx mov %r13, (88)(%rdi) mulx (96)(%rsi), %rax, %rbx add %rax, %r9 adc $(0), %rbx mulx (104)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 add %rbx, %r10 adc $(0), %r11 movq (96)(%rsi), %rdx mov %r14, (96)(%rdi) mulx (104)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 xor %rbx, %rbx movq %r15, (104)(%rdi) movq %r8, (112)(%rdi) movq %r9, (120)(%rdi) movq %r10, (128)(%rdi) movq %r11, (136)(%rdi) movq %r12, (144)(%rdi) movq %rbx, (152)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 mov (8)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r10 adc %rdx, %r11 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) sub $(96), %rsi sub $(192), %rdi ret .Lfe54: .size sqr_14, .Lfe54-(sqr_14) .p2align 5, 0x90 .type sqr_15, @function sqr_15: call sqr8_triangle movq %r15, (56)(%rdi) lea (64)(%rsi), %rcx add $(64), %rdi xor %r15, %r15 call mla_8x1 add $(8), %rdi add $(8), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(40), %rdi sub $(40), %rcx movq %r8, (56)(%rdi) movq (64)(%rsi), %rdx mov %r9, (64)(%rdi) mulx (72)(%rsi), %rax, %rbx add %rax, %r10 adc $(0), %rbx mulx (80)(%rsi), %rax, %rbp add %rax, %r11 adc $(0), %rbp add %rbx, %r11 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx add %rbp, %r12 adc $(0), %rbx mulx (96)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (112)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r10, (72)(%rdi) mulx (80)(%rsi), %rax, %rbp add %rax, %r12 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (96)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (112)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r11, (80)(%rdi) mulx (88)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx mulx (96)(%rsi), %rax, %rbp add %rax, %r15 adc $(0), %rbp add %rbx, %r15 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx add %rbp, %r8 adc $(0), %rbx mulx (112)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 movq (88)(%rsi), %rdx mov %r12, (88)(%rdi) mulx (96)(%rsi), %rax, %rbp add %rax, %r8 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (112)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 add %rbx, %r10 adc $(0), %r11 movq (96)(%rsi), %rdx mov %r13, (96)(%rdi) mulx (104)(%rsi), %rax, %rbx add %rax, %r10 adc $(0), %rbx mulx (112)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 add %rbx, %r11 adc $(0), %r12 movq (104)(%rsi), %rdx mov %r14, (104)(%rdi) mulx (112)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 xor %rbx, %rbx movq %r15, (112)(%rdi) movq %r8, (120)(%rdi) movq %r9, (128)(%rdi) movq %r10, (136)(%rdi) movq %r11, (144)(%rdi) movq %r12, (152)(%rdi) movq %r13, (160)(%rdi) movq %rbx, (168)(%rdi) sub $(64), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %r12, %r12 adc %r13, %r13 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 mov (8)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r10 adc %rdx, %r11 mov (16)(%rsi), %rdx mulx %rdx, %rax, %rdx adc %rax, %r12 adc %rdx, %r13 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) sub $(96), %rsi sub $(192), %rdi ret .Lfe55: .size sqr_15, .Lfe55-(sqr_15) .p2align 5, 0x90 .type sqr_16, @function sqr_16: call sqr8_triangle movq %r15, (56)(%rdi) mov %rsi, %rcx add $(64), %rsi add $(64), %rdi xor %r15, %r15 call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 add $(16), %rdi add $(16), %rcx call mla_8x2 sub $(48), %rdi sub $(48), %rcx add $(64), %rdi call sqr8_triangle xor %rbx, %rbx movq %r15, (56)(%rdi) movq %r8, (64)(%rdi) movq %r9, (72)(%rdi) movq %r10, (80)(%rdi) movq %r11, (88)(%rdi) movq %r12, (96)(%rdi) movq %r13, (104)(%rdi) movq %r14, (112)(%rdi) movq %rbx, (120)(%rdi) sub $(64), %rsi sub $(128), %rdi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 add $(64), %rdi add $(32), %rsi call add_diag_4 sub $(96), %rsi sub $(192), %rdi ret .Lfe56: .size sqr_16, .Lfe56-(sqr_16) .p2align 5, 0x90 .type sqr9_triangle, @function sqr9_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x1 xor %rax, %rax movq %r8, (8)(%rdi) movq %r9, (16)(%rdi) movq %r10, (24)(%rdi) movq %r11, (32)(%rdi) movq %r12, (40)(%rdi) movq %r13, (48)(%rdi) movq %r14, (56)(%rdi) movq %r15, (64)(%rdi) movq %rax, (72)(%rdi) sub $(64), %rdi ret .Lfe57: .size sqr9_triangle, .Lfe57-(sqr9_triangle) .p2align 5, 0x90 .type sqr10_triangle, @function sqr10_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x2 movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) movq %r10, (32)(%rdi) movq %r11, (40)(%rdi) movq %r12, (48)(%rdi) movq %r13, (56)(%rdi) movq %r14, (64)(%rdi) movq (64)(%rsi), %rdx mulx (72)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 xor %rax, %rax movq %r15, (72)(%rdi) movq %r8, (80)(%rdi) movq %rax, (88)(%rdi) sub $(64), %rdi ret .Lfe58: .size sqr10_triangle, .Lfe58-(sqr10_triangle) .p2align 5, 0x90 .type sqr11_triangle, @function sqr11_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x3 movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) movq %r11, (48)(%rdi) movq %r12, (56)(%rdi) movq (64)(%rsi), %rdx mov %r13, (64)(%rdi) mulx (72)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx mulx (80)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r14, (72)(%rdi) mulx (80)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 xor %rax, %rax movq %r15, (80)(%rdi) movq %r8, (88)(%rdi) movq %r9, (96)(%rdi) movq %rax, (104)(%rdi) sub $(64), %rdi ret .Lfe59: .size sqr11_triangle, .Lfe59-(sqr11_triangle) .p2align 5, 0x90 .type sqr12_triangle, @function sqr12_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x4 movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) movq (64)(%rsi), %rdx mov %r12, (64)(%rdi) mulx (72)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp mulx (80)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (88)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r13, (72)(%rdi) mulx (80)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx mulx (88)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r14, (80)(%rdi) mulx (88)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 xor %rax, %rax movq %r15, (88)(%rdi) movq %r8, (96)(%rdi) movq %r9, (104)(%rdi) movq %r10, (112)(%rdi) movq %rax, (120)(%rdi) sub $(64), %rdi ret .Lfe60: .size sqr12_triangle, .Lfe60-(sqr12_triangle) .p2align 5, 0x90 .type sqr13_triangle, @function sqr13_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x5 movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) movq (64)(%rsi), %rdx mov %r11, (64)(%rdi) mulx (72)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx mulx (80)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (96)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r12, (72)(%rdi) mulx (80)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (96)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r13, (80)(%rdi) mulx (88)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx mulx (96)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 movq (88)(%rsi), %rdx mov %r14, (88)(%rdi) mulx (96)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 xor %rax, %rax movq %r15, (96)(%rdi) movq %r8, (104)(%rdi) movq %r9, (112)(%rdi) movq %r10, (120)(%rdi) movq %r11, (128)(%rdi) movq %rax, (136)(%rdi) sub $(64), %rdi ret .Lfe61: .size sqr13_triangle, .Lfe61-(sqr13_triangle) .p2align 5, 0x90 .type sqr14_triangle, @function sqr14_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x6 movq %r8, (48)(%rdi) movq %r9, (56)(%rdi) movq (64)(%rsi), %rdx mov %r10, (64)(%rdi) mulx (72)(%rsi), %rax, %rbp add %rax, %r11 adc $(0), %rbp mulx (80)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx add %rbp, %r12 adc $(0), %rbx mulx (88)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (96)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (104)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r11, (72)(%rdi) mulx (80)(%rsi), %rax, %rbx add %rax, %r13 adc $(0), %rbx mulx (88)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mulx (96)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (104)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r12, (80)(%rdi) mulx (88)(%rsi), %rax, %rbp add %rax, %r15 adc $(0), %rbp mulx (96)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx add %rbp, %r8 adc $(0), %rbx mulx (104)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 movq (88)(%rsi), %rdx mov %r13, (88)(%rdi) mulx (96)(%rsi), %rax, %rbx add %rax, %r9 adc $(0), %rbx mulx (104)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 add %rbx, %r10 adc $(0), %r11 movq (96)(%rsi), %rdx mov %r14, (96)(%rdi) mulx (104)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 xor %rax, %rax movq %r15, (104)(%rdi) movq %r8, (112)(%rdi) movq %r9, (120)(%rdi) movq %r10, (128)(%rdi) movq %r11, (136)(%rdi) movq %r12, (144)(%rdi) movq %rax, (152)(%rdi) sub $(64), %rdi ret .Lfe62: .size sqr14_triangle, .Lfe62-(sqr14_triangle) .p2align 5, 0x90 .type sqr15_triangle, @function sqr15_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 lea (64)(%rsi), %rcx add $(64), %rdi call mla_8x7 movq %r8, (56)(%rdi) movq (64)(%rsi), %rdx mov %r9, (64)(%rdi) mulx (72)(%rsi), %rax, %rbx add %rax, %r10 adc $(0), %rbx mulx (80)(%rsi), %rax, %rbp add %rax, %r11 adc $(0), %rbp add %rbx, %r11 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r12 adc $(0), %rbx add %rbp, %r12 adc $(0), %rbx mulx (96)(%rsi), %rax, %rbp add %rax, %r13 adc $(0), %rbp add %rbx, %r13 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx add %rbp, %r14 adc $(0), %rbx mulx (112)(%rsi), %rax, %r8 add %rax, %r15 adc $(0), %r8 add %rbx, %r15 adc $(0), %r8 movq (72)(%rsi), %rdx mov %r10, (72)(%rdi) mulx (80)(%rsi), %rax, %rbp add %rax, %r12 adc $(0), %rbp mulx (88)(%rsi), %rax, %rbx add %rax, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (96)(%rsi), %rax, %rbp add %rax, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r15 adc $(0), %rbx add %rbp, %r15 adc $(0), %rbx mulx (112)(%rsi), %rax, %r9 add %rax, %r8 adc $(0), %r9 add %rbx, %r8 adc $(0), %r9 movq (80)(%rsi), %rdx mov %r11, (80)(%rdi) mulx (88)(%rsi), %rax, %rbx add %rax, %r14 adc $(0), %rbx mulx (96)(%rsi), %rax, %rbp add %rax, %r15 adc $(0), %rbp add %rbx, %r15 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r8 adc $(0), %rbx add %rbp, %r8 adc $(0), %rbx mulx (112)(%rsi), %rax, %r10 add %rax, %r9 adc $(0), %r10 add %rbx, %r9 adc $(0), %r10 movq (88)(%rsi), %rdx mov %r12, (88)(%rdi) mulx (96)(%rsi), %rax, %rbp add %rax, %r8 adc $(0), %rbp mulx (104)(%rsi), %rax, %rbx add %rax, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (112)(%rsi), %rax, %r11 add %rax, %r10 adc $(0), %r11 add %rbx, %r10 adc $(0), %r11 movq (96)(%rsi), %rdx mov %r13, (96)(%rdi) mulx (104)(%rsi), %rax, %rbx add %rax, %r10 adc $(0), %rbx mulx (112)(%rsi), %rax, %r12 add %rax, %r11 adc $(0), %r12 add %rbx, %r11 adc $(0), %r12 movq (104)(%rsi), %rdx mov %r14, (104)(%rdi) mulx (112)(%rsi), %rax, %r13 add %rax, %r12 adc $(0), %r13 xor %rax, %rax movq %r15, (112)(%rdi) movq %r8, (120)(%rdi) movq %r9, (128)(%rdi) movq %r10, (136)(%rdi) movq %r11, (144)(%rdi) movq %r12, (152)(%rdi) movq %r13, (160)(%rdi) movq %rax, (168)(%rdi) sub $(64), %rdi ret .Lfe63: .size sqr15_triangle, .Lfe63-(sqr15_triangle) .p2align 5, 0x90 .type sqr16_triangle, @function sqr16_triangle: call sqr8_triangle movq %r15, (56)(%rdi) xor %r15, %r15 mov %rsi, %rcx add $(64), %rsi add $(64), %rdi call mla_8x8 add $(64), %rdi call sqr8_triangle xor %rax, %rax movq %r15, (56)(%rdi) movq %r8, (64)(%rdi) movq %r9, (72)(%rdi) movq %r10, (80)(%rdi) movq %r11, (88)(%rdi) movq %r12, (96)(%rdi) movq %r13, (104)(%rdi) movq %r14, (112)(%rdi) movq %rax, (120)(%rdi) sub $(64), %rsi sub $(128), %rdi ret .Lfe64: .size sqr16_triangle, .Lfe64-(sqr16_triangle) sqr_l_basic: .quad sqr_1 - sqr_l_basic .quad sqr_2 - sqr_l_basic .quad sqr_3 - sqr_l_basic .quad sqr_4 - sqr_l_basic .quad sqr_5 - sqr_l_basic .quad sqr_6 - sqr_l_basic .quad sqr_7 - sqr_l_basic .quad sqr_8 - sqr_l_basic .quad sqr_9 - sqr_l_basic .quad sqr_10- sqr_l_basic .quad sqr_11- sqr_l_basic .quad sqr_12- sqr_l_basic .quad sqr_13- sqr_l_basic .quad sqr_14- sqr_l_basic .quad sqr_15- sqr_l_basic .quad sqr_16- sqr_l_basic sqrN_triangle: .quad sqr9_triangle - sqrN_triangle .quad sqr10_triangle - sqrN_triangle .quad sqr11_triangle - sqrN_triangle .quad sqr12_triangle - sqrN_triangle .quad sqr13_triangle - sqrN_triangle .quad sqr14_triangle - sqrN_triangle .quad sqr15_triangle - sqrN_triangle .quad sqr16_triangle - sqrN_triangle .p2align 5, 0x90 .type sqr_8N, @function sqr_8N: push %rdi push %rsi push %rdx push %rdi push %rsi push %rdx push %rdx call sqr8_triangle pop %rdx movq %r15, (56)(%rdi) xor %r15, %r15 add $(64), %rdi sub $(8), %rdx mov %rsi, %rcx add $(64), %rsi .LinitLoopgas_65: push %rdx call mla_8x8 pop %rdx add $(64), %rsi add $(64), %rdi sub $(8), %rdx jnz .LinitLoopgas_65 movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) jmp .Lupdate_Trianglegas_65 .LouterLoopgas_65: push %rdi push %rsi push %rdx xor %rax, %rax push %rax movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 .LinnerLoop_entrygas_65: push %rdx call sqr8_triangle pop %rdx movq %r15, (56)(%rdi) xor %r15, %r15 add $(64), %rdi sub $(8), %rdx jz .LskipInnerLoopgas_65 mov %rsi, %rcx add $(64), %rsi .LinnerLoopgas_65: pop %rax neg %rax movq (%rdi), %rax adc %rax, %r8 movq (8)(%rdi), %rax adc %rax, %r9 movq (16)(%rdi), %rax adc %rax, %r10 movq (24)(%rdi), %rax adc %rax, %r11 movq (32)(%rdi), %rax adc %rax, %r12 movq (40)(%rdi), %rax adc %rax, %r13 movq (48)(%rdi), %rax adc %rax, %r14 movq (56)(%rdi), %rax adc %rax, %r15 sbb %rax, %rax push %rax push %rdx call mla_8x8 pop %rdx add $(64), %rsi add $(64), %rdi sub $(8), %rdx jnz .LinnerLoopgas_65 .LskipInnerLoopgas_65: pop %rax neg %rax adc $(0), %r8 movq %r8, (%rdi) adc $(0), %r9 movq %r9, (8)(%rdi) adc $(0), %r10 movq %r10, (16)(%rdi) adc $(0), %r11 movq %r11, (24)(%rdi) adc $(0), %r12 movq %r12, (32)(%rdi) adc $(0), %r13 movq %r13, (40)(%rdi) adc $(0), %r14 movq %r14, (48)(%rdi) adc $(0), %r15 movq %r15, (56)(%rdi) .Lupdate_Trianglegas_65: pop %rdx pop %rsi pop %rdi add $(64), %rsi add $(128), %rdi sub $(8), %rdx jnz .LouterLoopgas_65 pop %rcx pop %rsi pop %rdi xor %rbx, %rbx .Lupdate_loopgas_65: call add_diag_4 add $(64), %rdi add $(32), %rsi sub $(4), %rcx jnz .Lupdate_loopgas_65 ret .Lfe65: .size sqr_8N, .Lfe65-(sqr_8N) .p2align 5, 0x90 .type sqr_N, @function sqr_N: push %rdi push %rsi push %rdx push %rdi push %rsi push %rdx mov %rdx, %rbp and $(7), %rbp lea mla_8xl_tail(%rip), %rax mov (-8)(%rax,%rbp,8), %rbp add %rbp, %rax push %rax sub $(8), %rdx push %rdx call sqr8_triangle pop %rdx movq %r15, (56)(%rdi) add $(64), %rdi xor %r15, %r15 mov %rsi, %rcx add $(64), %rsi sub $(8), %rdx .LinitLoopgas_66: push %rdx call mla_8x8 pop %rdx add $(64), %rsi add $(64), %rdi sub $(8), %rdx jnc .LinitLoopgas_66 add $(8), %rdx xor %rcx, %rsi xor %rsi, %rcx xor %rcx, %rsi mov (%rsp), %rax push %rdx call *%rax pop %rdx lea (%rdi,%rdx,8), %rdi movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) jmp .Lupdate_Trianglegas_66 .LouterLoopgas_66: push %rdi push %rsi push %rdx push %rax xor %rax, %rax push %rax movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 sub $(8), %rdx push %rdx call sqr8_triangle pop %rdx movq %r15, (56)(%rdi) add $(64), %rdi xor %r15, %r15 mov %rsi, %rcx add $(64), %rsi sub $(8), %rdx .LinnerLoopgas_66: pop %rax neg %rax movq (%rdi), %rax adc %rax, %r8 movq (8)(%rdi), %rax adc %rax, %r9 movq (16)(%rdi), %rax adc %rax, %r10 movq (24)(%rdi), %rax adc %rax, %r11 movq (32)(%rdi), %rax adc %rax, %r12 movq (40)(%rdi), %rax adc %rax, %r13 movq (48)(%rdi), %rax adc %rax, %r14 movq (56)(%rdi), %rax adc %rax, %r15 sbb %rax, %rax push %rax push %rdx call mla_8x8 pop %rdx add $(64), %rsi add $(64), %rdi sub $(8), %rdx jnc .LinnerLoopgas_66 add $(8), %rdx pxor %xmm0, %xmm0 movdqu %xmm0, (%rdi,%rdx,8) movdqu %xmm0, (16)(%rdi,%rdx,8) movdqu %xmm0, (32)(%rdi,%rdx,8) movdqu %xmm0, (48)(%rdi,%rdx,8) pop %rax neg %rax movq (%rdi), %rax adc %rax, %r8 movq (8)(%rdi), %rax adc %rax, %r9 movq (16)(%rdi), %rax adc %rax, %r10 movq (24)(%rdi), %rax adc %rax, %r11 movq (32)(%rdi), %rax adc %rax, %r12 movq (40)(%rdi), %rax adc %rax, %r13 movq (48)(%rdi), %rax adc %rax, %r14 movq (56)(%rdi), %rax adc %rax, %r15 sbb %rax, %rax neg %rax movq %rax, (64)(%rdi) xor %rcx, %rsi xor %rsi, %rcx xor %rcx, %rsi mov (%rsp), %rax push %rdx call *%rax pop %rdx lea (%rdi,%rdx,8), %rdi xor %rax, %rax movq (%rdi), %rax add %rax, %r8 movq %r8, (%rdi) movq (8)(%rdi), %rax adc %rax, %r9 movq %r9, (8)(%rdi) movq (16)(%rdi), %rax adc %rax, %r10 movq %r10, (16)(%rdi) movq (24)(%rdi), %rax adc %rax, %r11 movq %r11, (24)(%rdi) movq (32)(%rdi), %rax adc %rax, %r12 movq %r12, (32)(%rdi) movq (40)(%rdi), %rax adc %rax, %r13 movq %r13, (40)(%rdi) movq (48)(%rdi), %rax adc %rax, %r14 movq %r14, (48)(%rdi) movq (56)(%rdi), %rax adc %rax, %r15 movq %r15, (56)(%rdi) .Lupdate_Trianglegas_66: pop %rax pop %rdx pop %rsi pop %rdi add $(64), %rsi add $(128), %rdi sub $(8), %rdx cmp $(16), %rdx jg .LouterLoopgas_66 mov %rdx, %rbp sub $(8), %rbp lea sqrN_triangle(%rip), %rax mov (-8)(%rax,%rbp,8), %rbp add %rbp, %rax sub $(256), %rsp push %rdi push %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 lea (16)(%rsp), %rdi call *%rax mov %rdi, %rsi pop %rdx pop %rdi movdqu (%rsi), %xmm0 movdqu (16)(%rsi), %xmm1 movdqu (32)(%rsi), %xmm2 movdqu (48)(%rsi), %xmm3 add $(64), %rsi movdqu %xmm0, (%rdi) movdqu %xmm1, (16)(%rdi) movdqu %xmm2, (32)(%rdi) movdqu %xmm3, (48)(%rdi) add $(64), %rdi lea (-8)(%rdx), %rax xor %rbx, %rbx .Lupdate1gas_66: movq (%rsi), %r8 movq (%rdi), %r9 add $(8), %rsi neg %rbx adc %r9, %r8 sbb %rbx, %rbx movq %r8, (%rdi) add $(8), %rdi sub $(1), %rax jg .Lupdate1gas_66 .Lupdate2gas_66: movq (%rsi), %r8 add $(8), %rsi neg %rbx adc $(0), %r8 sbb %rbx, %rbx movq %r8, (%rdi) add $(8), %rdi sub $(1), %rdx jg .Lupdate2gas_66 add $(256), %rsp .Ladd_diagonalsgas_66: pop %rcx pop %rsi pop %rdi sub $(4), %rcx xor %rbx, %rbx .Ladd_diagonal_loopgas_66: call add_diag_4 add $(64), %rdi add $(32), %rsi sub $(4), %rcx jnc .Ladd_diagonal_loopgas_66 add $(4), %rcx jz .Lquitgas_66 .Ladd_diagonal_restgas_66: movq (%rdi), %r8 movq (8)(%rdi), %r9 xor %rbp, %rbp add %r8, %r8 adc %r9, %r9 adc $(0), %rbp mov (%rsi), %rdx mulx %rdx, %rax, %rdx add %rbx, %rax adc $(0), %rdx add %rax, %r8 mov %rbp, %rbx adc %rdx, %r9 adc $(0), %rbx movq %r8, (%rdi) movq %r9, (8)(%rdi) add $(16), %rdi add $(8), %rsi sub $(1), %rcx jnz .Ladd_diagonal_restgas_66 .Lquitgas_66: ret .Lfe66: .size sqr_N, .Lfe66-(sqr_N) .p2align 5, 0x90 .type sub_N, @function sub_N: xor %rax, %rax .Lsub_nextgas_67: lea (8)(%rdi), %rdi movq (%rsi), %r8 movq (%rcx), %r9 lea (8)(%rsi), %rsi lea (8)(%rcx), %rcx sbb %r9, %r8 movq %r8, (-8)(%rdi) dec %rdx jnz .Lsub_nextgas_67 adc $(0), %rax ret .Lfe67: .size sub_N, .Lfe67-(sub_N) .p2align 5, 0x90 .type copy_ae_N, @function copy_ae_N: lea (8)(%rdi), %rdi movq (%rsi), %r8 movq (%rcx), %r9 lea (8)(%rsi), %rsi lea (8)(%rcx), %rcx cmovae %r9, %r8 movq %r8, (-8)(%rdi) dec %rdx jnz copy_ae_N ret .Lfe68: .size copy_ae_N, .Lfe68-(copy_ae_N) .p2align 5, 0x90 .type mred1_start, @function mred1_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rbx, %r8 ret .Lfe69: .size mred1_start, .Lfe69-(mred1_start) .p2align 5, 0x90 .type mred2_start, @function mred2_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mov %rbp, %r9 ret .Lfe70: .size mred2_start, .Lfe70-(mred2_start) .p2align 5, 0x90 .type mred3_start, @function mred3_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 ret .Lfe71: .size mred3_start, .Lfe71-(mred3_start) .p2align 5, 0x90 .type mred4_start, @function mred4_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 ret .Lfe72: .size mred4_start, .Lfe72-(mred4_start) .p2align 5, 0x90 .type mred5_start, @function mred5_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 ret .Lfe73: .size mred5_start, .Lfe73-(mred5_start) .p2align 5, 0x90 .type mred6_start, @function mred6_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mov %rbp, %r13 ret .Lfe74: .size mred6_start, .Lfe74-(mred6_start) .p2align 5, 0x90 .type mred7_start, @function mred7_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mov %rbx, %r14 ret .Lfe75: .size mred7_start, .Lfe75-(mred7_start) .p2align 5, 0x90 .type mred8_start, @function mred8_start: mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (32)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mulx (40)(%rsi), %r12, %rbp add %r13, %r12 adc $(0), %rbp add %rbx, %r12 adc $(0), %rbp mulx (48)(%rsi), %r13, %rbx add %r14, %r13 adc $(0), %rbx add %rbp, %r13 adc $(0), %rbx mulx (56)(%rsi), %r14, %rbp add %r15, %r14 adc $(0), %rbp add %rbx, %r14 adc $(0), %rbp mov %rbp, %r15 ret .Lfe76: .size mred8_start, .Lfe76-(mred8_start) .p2align 5, 0x90 .type mred8x1_start, @function mred8x1_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) pop %rdx ret .Lfe77: .size mred8x1_start, .Lfe77-(mred8x1_start) .p2align 5, 0x90 .type mred8x2_start, @function mred8x2_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) pop %rdx ret .Lfe78: .size mred8x2_start, .Lfe78-(mred8x2_start) .p2align 5, 0x90 .type mred8x3_start, @function mred8x3_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (16)(%rcx) call mred8_start mov %rax, (16)(%rdi) pop %rdx ret .Lfe79: .size mred8x3_start, .Lfe79-(mred8x3_start) .p2align 5, 0x90 .type mred8x4_start, @function mred8x4_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (16)(%rcx) call mred8_start mov %rax, (16)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (24)(%rcx) call mred8_start mov %rax, (24)(%rdi) pop %rdx ret .Lfe80: .size mred8x4_start, .Lfe80-(mred8x4_start) .p2align 5, 0x90 .type mred8x5_start, @function mred8x5_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (16)(%rcx) call mred8_start mov %rax, (16)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (24)(%rcx) call mred8_start mov %rax, (24)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (32)(%rcx) call mred8_start mov %rax, (32)(%rdi) pop %rdx ret .Lfe81: .size mred8x5_start, .Lfe81-(mred8x5_start) .p2align 5, 0x90 .type mred8x6_start, @function mred8x6_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (16)(%rcx) call mred8_start mov %rax, (16)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (24)(%rcx) call mred8_start mov %rax, (24)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (32)(%rcx) call mred8_start mov %rax, (32)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (40)(%rcx) call mred8_start mov %rax, (40)(%rdi) pop %rdx ret .Lfe82: .size mred8x6_start, .Lfe82-(mred8x6_start) .p2align 5, 0x90 .type mred8x7_start, @function mred8x7_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (16)(%rcx) call mred8_start mov %rax, (16)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (24)(%rcx) call mred8_start mov %rax, (24)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (32)(%rcx) call mred8_start mov %rax, (32)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (40)(%rcx) call mred8_start mov %rax, (40)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (48)(%rcx) call mred8_start mov %rax, (48)(%rdi) pop %rdx ret .Lfe83: .size mred8x7_start, .Lfe83-(mred8x7_start) .p2align 5, 0x90 .type mred8x8_start, @function mred8x8_start: push %rdx mulx %r8, %rdx, %rbx movq %rdx, (%rcx) call mred8_start mov %rax, (%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (8)(%rcx) call mred8_start mov %rax, (8)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (16)(%rcx) call mred8_start mov %rax, (16)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (24)(%rcx) call mred8_start mov %rax, (24)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (32)(%rcx) call mred8_start mov %rax, (32)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (40)(%rcx) call mred8_start mov %rax, (40)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (48)(%rcx) call mred8_start mov %rax, (48)(%rdi) mov (%rsp), %rdx mulx %r8, %rdx, %rbx movq %rdx, (56)(%rcx) call mred8_start mov %rax, (56)(%rdi) pop %rdx ret .Lfe84: .size mred8x8_start, .Lfe84-(mred8x8_start) .p2align 5, 0x90 .type mred_5, @function mred_5: push %r8 movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred5_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred5_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred5_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred5_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred5_start pop %rax xor %rax, %rax mov (40)(%rdi), %rbx add %rbx, %r8 movq %r8, (40)(%rdi) mov (48)(%rdi), %rbx adc %rbx, %r9 movq %r9, (48)(%rdi) mov (56)(%rdi), %rbx adc %rbx, %r10 movq %r10, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r11 movq %r11, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r12 movq %r12, (72)(%rdi) adc $(0), %rax mov (%rsi), %rbx sub %rbx, %r8 mov (8)(%rsi), %rbx sbb %rbx, %r9 mov (16)(%rsi), %rbx sbb %rbx, %r10 mov (24)(%rsi), %rbx sbb %rbx, %r11 mov (32)(%rsi), %rbx sbb %rbx, %r12 sbb $(0), %rax movq (40)(%rdi), %rax movq (48)(%rdi), %rbx movq (56)(%rdi), %rcx movq (64)(%rdi), %rdx movq (72)(%rdi), %rbp cmovae %r8, %rax cmovae %r9, %rbx cmovae %r10, %rcx cmovae %r11, %rdx cmovae %r12, %rbp movq %rax, (%r15) movq %rbx, (8)(%r15) movq %rcx, (16)(%r15) movq %rdx, (24)(%r15) movq %rbp, (32)(%r15) ret .Lfe85: .size mred_5, .Lfe85-(mred_5) .p2align 5, 0x90 .type mred_6, @function mred_6: push %r8 movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred6_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred6_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred6_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred6_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred6_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred6_start pop %rax xor %rax, %rax mov (48)(%rdi), %rbx add %rbx, %r8 movq %r8, (48)(%rdi) mov (56)(%rdi), %rbx adc %rbx, %r9 movq %r9, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r10 movq %r10, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r11 movq %r11, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r12 movq %r12, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r13 movq %r13, (88)(%rdi) adc $(0), %rax mov (%rsi), %rbx sub %rbx, %r8 mov (8)(%rsi), %rbx sbb %rbx, %r9 mov (16)(%rsi), %rbx sbb %rbx, %r10 mov (24)(%rsi), %rbx sbb %rbx, %r11 mov (32)(%rsi), %rbx sbb %rbx, %r12 mov (40)(%rsi), %rbx sbb %rbx, %r13 sbb $(0), %rax movq (48)(%rdi), %rax movq (56)(%rdi), %rbx movq (64)(%rdi), %rcx movq (72)(%rdi), %rdx movq (80)(%rdi), %rbp movq (88)(%rdi), %rsi cmovae %r8, %rax cmovae %r9, %rbx cmovae %r10, %rcx cmovae %r11, %rdx cmovae %r12, %rbp cmovae %r13, %rsi movq %rax, (%r15) movq %rbx, (8)(%r15) movq %rcx, (16)(%r15) movq %rdx, (24)(%r15) movq %rbp, (32)(%r15) movq %rsi, (40)(%r15) ret .Lfe86: .size mred_6, .Lfe86-(mred_6) .p2align 5, 0x90 .type mred_7, @function mred_7: push %r8 movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred7_start pop %rax xor %rax, %rax mov (56)(%rdi), %rbx add %rbx, %r8 movq %r8, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r9 movq %r9, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r10 movq %r10, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r11 movq %r11, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r12 movq %r12, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r13 movq %r13, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r14 movq %r14, (104)(%rdi) adc $(0), %rax mov (%rsi), %rbx sub %rbx, %r8 mov (8)(%rsi), %rbx sbb %rbx, %r9 mov (16)(%rsi), %rbx sbb %rbx, %r10 mov (24)(%rsi), %rbx sbb %rbx, %r11 mov (32)(%rsi), %rbx sbb %rbx, %r12 mov (40)(%rsi), %rbx sbb %rbx, %r13 mov (48)(%rsi), %rbx sbb %rbx, %r14 sbb $(0), %rax movq (56)(%rdi), %rax movq (64)(%rdi), %rbx movq (72)(%rdi), %rcx movq (80)(%rdi), %rdx movq (88)(%rdi), %rbp movq (96)(%rdi), %rsi movq (104)(%rdi), %rdi cmovae %r8, %rax cmovae %r9, %rbx cmovae %r10, %rcx cmovae %r11, %rdx cmovae %r12, %rbp cmovae %r13, %rsi cmovae %r14, %rdi movq %rax, (%r15) movq %rbx, (8)(%r15) movq %rcx, (16)(%r15) movq %rdx, (24)(%r15) movq %rbp, (32)(%r15) movq %rsi, (40)(%r15) movq %rdi, (48)(%r15) ret .Lfe87: .size mred_7, .Lfe87-(mred_7) .p2align 5, 0x90 .type mred_8, @function mred_8: push %r15 push %r8 movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start mov (%rsp), %rdx mulx %r8, %rdx, %rbx call mred8_start pop %rax xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 movq %r8, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r9 movq %r9, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r10 movq %r10, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r11 movq %r11, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r12 movq %r12, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r13 movq %r13, (104)(%rdi) mov (112)(%rdi), %rbx adc %rbx, %r14 movq %r14, (112)(%rdi) mov (120)(%rdi), %rbx adc %rbx, %r15 movq %r15, (120)(%rdi) adc $(0), %rax mov (%rsi), %rbx sub %rbx, %r8 mov (8)(%rsi), %rbx sbb %rbx, %r9 mov (16)(%rsi), %rbx sbb %rbx, %r10 mov (24)(%rsi), %rbx sbb %rbx, %r11 mov (32)(%rsi), %rbx sbb %rbx, %r12 mov (40)(%rsi), %rbx sbb %rbx, %r13 mov (48)(%rsi), %rbx sbb %rbx, %r14 mov (56)(%rsi), %rbx sbb %rbx, %r15 sbb $(0), %rax pop %rsi movq (64)(%rdi), %rax movq (72)(%rdi), %rbx movq (80)(%rdi), %rcx movq (88)(%rdi), %rdx cmovae %r8, %rax cmovae %r9, %rbx cmovae %r10, %rcx cmovae %r11, %rdx movq %rax, (%rsi) movq %rbx, (8)(%rsi) movq %rcx, (16)(%rsi) movq %rdx, (24)(%rsi) movq (96)(%rdi), %rax movq (104)(%rdi), %rbx movq (112)(%rdi), %rcx movq (120)(%rdi), %rdx cmovae %r12, %rax cmovae %r13, %rbx cmovae %r14, %rcx cmovae %r15, %rdx movq %rax, (32)(%rsi) movq %rbx, (40)(%rsi) movq %rcx, (48)(%rsi) movq %rdx, (56)(%rsi) ret .Lfe88: .size mred_8, .Lfe88-(mred_8) .p2align 5, 0x90 .type mred_9, @function mred_9: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x1 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (8)(%rdi) movq %r9, (16)(%rdi) movq %r10, (24)(%rdi) movq %r11, (32)(%rdi) movq %r12, (40)(%rdi) movq %r13, (48)(%rdi) movq %r14, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r15 mov %r15, (64)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x1_start xor %rax, %rax movq %r8, (8)(%rdi) movq %r9, (16)(%rdi) movq %r10, (24)(%rdi) movq %r11, (32)(%rdi) movq %r12, (40)(%rdi) movq %r13, (48)(%rdi) movq %r14, (56)(%rdi) mov %r15, %r8 addq (64)(%rdi), %r8 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_1x1 pop %rax shr $(1), %rax mov (8)(%rdi), %rbx adc %rbx, %r8 adc $(0), %rax pop %rbx add %rbx, %r8 movq %r8, (8)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-56)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(9), %rdx call sub_N sub %rax, %rbx sub $(72), %rdi sub $(72), %rsi mov %rdi, %rcx mov $(9), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe89: .size mred_9, .Lfe89-(mred_9) .p2align 5, 0x90 .type mred_10, @function mred_10: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x2 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) movq %r10, (32)(%rdi) movq %r11, (40)(%rdi) movq %r12, (48)(%rdi) movq %r13, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r14 mov %r14, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r15 mov %r15, (72)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x2_start xor %rax, %rax movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) movq %r10, (32)(%rdi) movq %r11, (40)(%rdi) movq %r12, (48)(%rdi) movq %r13, (56)(%rdi) mov %r14, %r8 mov %r15, %r9 addq (64)(%rdi), %r8 adcq (72)(%rdi), %r9 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_2x2 pop %rax shr $(1), %rax mov (16)(%rdi), %rbx adc %rbx, %r8 mov (24)(%rdi), %rbx adc %rbx, %r9 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-48)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(10), %rdx call sub_N sub %rax, %rbx sub $(80), %rdi sub $(80), %rsi mov %rdi, %rcx mov $(10), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe90: .size mred_10, .Lfe90-(mred_10) .p2align 5, 0x90 .type mred_11, @function mred_11: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x3 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) movq %r11, (48)(%rdi) movq %r12, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r13 mov %r13, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r14 mov %r14, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r15 mov %r15, (80)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x3_start xor %rax, %rax movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) movq %r11, (48)(%rdi) movq %r12, (56)(%rdi) mov %r13, %r8 mov %r14, %r9 mov %r15, %r10 addq (64)(%rdi), %r8 adcq (72)(%rdi), %r9 adcq (80)(%rdi), %r10 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_3x3 pop %rax shr $(1), %rax mov (24)(%rdi), %rbx adc %rbx, %r8 mov (32)(%rdi), %rbx adc %rbx, %r9 mov (40)(%rdi), %rbx adc %rbx, %r10 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-40)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(11), %rdx call sub_N sub %rax, %rbx sub $(88), %rdi sub $(88), %rsi mov %rdi, %rcx mov $(11), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe91: .size mred_11, .Lfe91-(mred_11) .p2align 5, 0x90 .type mred_12, @function mred_12: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x4 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r12 mov %r12, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r13 mov %r13, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r14 mov %r14, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r15 mov %r15, (88)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x4_start xor %rax, %rax movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) mov %r12, %r8 mov %r13, %r9 mov %r14, %r10 mov %r15, %r11 addq (64)(%rdi), %r8 adcq (72)(%rdi), %r9 adcq (80)(%rdi), %r10 adcq (88)(%rdi), %r11 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_4x4 pop %rax shr $(1), %rax mov (32)(%rdi), %rbx adc %rbx, %r8 mov (40)(%rdi), %rbx adc %rbx, %r9 mov (48)(%rdi), %rbx adc %rbx, %r10 mov (56)(%rdi), %rbx adc %rbx, %r11 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-32)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(12), %rdx call sub_N sub %rax, %rbx sub $(96), %rdi sub $(96), %rsi mov %rdi, %rcx mov $(12), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe92: .size mred_12, .Lfe92-(mred_12) .p2align 5, 0x90 .type mred_13, @function mred_13: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x5 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r11 mov %r11, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r12 mov %r12, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r13 mov %r13, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r14 mov %r14, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r15 mov %r15, (96)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x5_start xor %rax, %rax movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) mov %r11, %r8 mov %r12, %r9 mov %r13, %r10 mov %r14, %r11 mov %r15, %r12 addq (64)(%rdi), %r8 adcq (72)(%rdi), %r9 adcq (80)(%rdi), %r10 adcq (88)(%rdi), %r11 adcq (96)(%rdi), %r12 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_5x5 pop %rax shr $(1), %rax mov (40)(%rdi), %rbx adc %rbx, %r8 mov (48)(%rdi), %rbx adc %rbx, %r9 mov (56)(%rdi), %rbx adc %rbx, %r10 mov (64)(%rdi), %rbx adc %rbx, %r11 mov (72)(%rdi), %rbx adc %rbx, %r12 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 movq %r8, (40)(%rdi) movq %r9, (48)(%rdi) movq %r10, (56)(%rdi) movq %r11, (64)(%rdi) movq %r12, (72)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-24)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(13), %rdx call sub_N sub %rax, %rbx sub $(104), %rdi sub $(104), %rsi mov %rdi, %rcx mov $(13), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe93: .size mred_13, .Lfe93-(mred_13) .p2align 5, 0x90 .type mred_14, @function mred_14: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x6 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (48)(%rdi) movq %r9, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r10 mov %r10, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r11 mov %r11, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r12 mov %r12, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r13 mov %r13, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r14 mov %r14, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r15 mov %r15, (104)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x6_start xor %rax, %rax movq %r8, (48)(%rdi) movq %r9, (56)(%rdi) mov %r10, %r8 mov %r11, %r9 mov %r12, %r10 mov %r13, %r11 mov %r14, %r12 mov %r15, %r13 addq (64)(%rdi), %r8 adcq (72)(%rdi), %r9 adcq (80)(%rdi), %r10 adcq (88)(%rdi), %r11 adcq (96)(%rdi), %r12 adcq (104)(%rdi), %r13 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_6x6 pop %rax shr $(1), %rax mov (48)(%rdi), %rbx adc %rbx, %r8 mov (56)(%rdi), %rbx adc %rbx, %r9 mov (64)(%rdi), %rbx adc %rbx, %r10 mov (72)(%rdi), %rbx adc %rbx, %r11 mov (80)(%rdi), %rbx adc %rbx, %r12 mov (88)(%rdi), %rbx adc %rbx, %r13 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 movq %r8, (48)(%rdi) movq %r9, (56)(%rdi) movq %r10, (64)(%rdi) movq %r11, (72)(%rdi) movq %r12, (80)(%rdi) movq %r13, (88)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-16)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(14), %rdx call sub_N sub %rax, %rbx sub $(112), %rdi sub $(112), %rsi mov %rdi, %rcx mov $(14), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe94: .size mred_14, .Lfe94-(mred_14) .p2align 5, 0x90 .type mred_15, @function mred_15: push %r15 sub $(64), %rsp mov %rsp, %rcx push %r8 mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx call mla_8x7 xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx pop %rax shr $(1), %rax movq %r8, (56)(%rdi) mov (64)(%rdi), %rbx adc %rbx, %r9 mov %r9, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r10 mov %r10, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r11 mov %r11, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r12 mov %r12, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r13 mov %r13, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r14 mov %r14, (104)(%rdi) mov (112)(%rdi), %rbx adc %rbx, %r15 mov %r15, (112)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rdx call mred8x7_start xor %rax, %rax movq %r8, (56)(%rdi) mov %r9, %r8 mov %r10, %r9 mov %r11, %r10 mov %r12, %r11 mov %r13, %r12 mov %r14, %r13 mov %r15, %r14 addq (64)(%rdi), %r8 adcq (72)(%rdi), %r9 adcq (80)(%rdi), %r10 adcq (88)(%rdi), %r11 adcq (96)(%rdi), %r12 adcq (104)(%rdi), %r13 adcq (112)(%rdi), %r14 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_7x7 pop %rax shr $(1), %rax mov (56)(%rdi), %rbx adc %rbx, %r8 mov (64)(%rdi), %rbx adc %rbx, %r9 mov (72)(%rdi), %rbx adc %rbx, %r10 mov (80)(%rdi), %rbx adc %rbx, %r11 mov (88)(%rdi), %rbx adc %rbx, %r12 mov (96)(%rdi), %rbx adc %rbx, %r13 mov (104)(%rdi), %rbx adc %rbx, %r14 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 movq %r8, (56)(%rdi) movq %r9, (64)(%rdi) movq %r10, (72)(%rdi) movq %r11, (80)(%rdi) movq %r12, (88)(%rdi) movq %r13, (96)(%rdi) movq %r14, (104)(%rdi) adc $(0), %rax pop %rcx add $(64), %rsp lea (-64)(%rsi), %rcx lea (-8)(%rdi), %rsi pop %rdi mov %rax, %rbx mov $(15), %rdx call sub_N sub %rax, %rbx sub $(120), %rdi sub $(120), %rsi mov %rdi, %rcx mov $(15), %rdx shr $(1), %rbx call copy_ae_N ret .Lfe95: .size mred_15, .Lfe95-(mred_15) .p2align 5, 0x90 .type mred_16, @function mred_16: push %r15 sub $(64), %rsp mov %rsp, %rcx mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rsi add $(64), %rdi push %rdx call mla_8x8 pop %rdx pop %rax shr $(1), %rax mov (64)(%rdi), %rbx adc %rbx, %r8 mov %r8, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r9 mov %r9, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r10 mov %r10, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r11 mov %r11, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r12 mov %r12, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r13 mov %r13, (104)(%rdi) mov (112)(%rdi), %rbx adc %rbx, %r14 mov %r14, (112)(%rdi) mov (120)(%rdi), %rbx adc %rbx, %r15 mov %r15, (120)(%rdi) adc $(0), %rax push %rax sub $(64), %rsi movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi call mla_8x8 sub $(64), %rsi pop %rax shr $(1), %rax mov (64)(%rdi), %rbx adc %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 adc $(0), %rax movq %r8, (64)(%rdi) movq %r9, (72)(%rdi) movq %r10, (80)(%rdi) movq %r11, (88)(%rdi) movq %r12, (96)(%rdi) movq %r13, (104)(%rdi) movq %r14, (112)(%rdi) movq %r15, (120)(%rdi) add $(64), %rsp pop %rbp mov (%rdi), %rbx sub (%rsi), %rbx mov %rbx, (%rbp) mov (8)(%rdi), %rbx sbb (8)(%rsi), %rbx mov %rbx, (8)(%rbp) mov (16)(%rdi), %rbx sbb (16)(%rsi), %rbx mov %rbx, (16)(%rbp) mov (24)(%rdi), %rbx sbb (24)(%rsi), %rbx mov %rbx, (24)(%rbp) mov (32)(%rdi), %rbx sbb (32)(%rsi), %rbx mov %rbx, (32)(%rbp) mov (40)(%rdi), %rbx sbb (40)(%rsi), %rbx mov %rbx, (40)(%rbp) mov (48)(%rdi), %rbx sbb (48)(%rsi), %rbx mov %rbx, (48)(%rbp) mov (56)(%rdi), %rbx sbb (56)(%rsi), %rbx mov %rbx, (56)(%rbp) mov (64)(%rsi), %rbx sbb %rbx, %r8 mov (72)(%rsi), %rbx sbb %rbx, %r9 mov (80)(%rsi), %rbx sbb %rbx, %r10 mov (88)(%rsi), %rbx sbb %rbx, %r11 mov (96)(%rsi), %rbx sbb %rbx, %r12 mov (104)(%rsi), %rbx sbb %rbx, %r13 mov (112)(%rsi), %rbx sbb %rbx, %r14 mov (120)(%rsi), %rbx sbb %rbx, %r15 sbb $(0), %rax movq (64)(%rdi), %rax movq (72)(%rdi), %rbx movq (80)(%rdi), %rcx movq (88)(%rdi), %rdx cmovae %r8, %rax cmovae %r9, %rbx cmovae %r10, %rcx cmovae %r11, %rdx movq %rax, (64)(%rbp) movq %rbx, (72)(%rbp) movq %rcx, (80)(%rbp) movq %rdx, (88)(%rbp) movq (96)(%rdi), %rax movq (104)(%rdi), %rbx movq (112)(%rdi), %rcx movq (120)(%rdi), %rdx cmovae %r12, %rax cmovae %r13, %rbx cmovae %r14, %rcx cmovae %r15, %rdx movq %rax, (96)(%rbp) movq %rbx, (104)(%rbp) movq %rcx, (112)(%rbp) movq %rdx, (120)(%rbp) movq (%rbp), %r8 movq (8)(%rbp), %r9 movq (16)(%rbp), %r10 movq (24)(%rbp), %r11 movq (32)(%rbp), %r12 movq (40)(%rbp), %r13 movq (48)(%rbp), %r14 movq (56)(%rbp), %r15 movq (%rdi), %rax movq (8)(%rdi), %rbx movq (16)(%rdi), %rcx movq (24)(%rdi), %rdx cmovae %r8, %rax cmovae %r9, %rbx cmovae %r10, %rcx cmovae %r11, %rdx movq %rax, (%rbp) movq %rbx, (8)(%rbp) movq %rcx, (16)(%rbp) movq %rdx, (24)(%rbp) movq (32)(%rdi), %rax movq (40)(%rdi), %rbx movq (48)(%rdi), %rcx movq (56)(%rdi), %rdx cmovae %r12, %rax cmovae %r13, %rbx cmovae %r14, %rcx cmovae %r15, %rdx movq %rax, (32)(%rbp) movq %rbx, (40)(%rbp) movq %rcx, (48)(%rbp) movq %rdx, (56)(%rbp) ret .Lfe96: .size mred_16, .Lfe96-(mred_16) mred_short: .quad mred_5 - mred_short .quad mred_6 - mred_short .quad mred_7 - mred_short .quad mred_8 - mred_short .quad mred_9 - mred_short .quad mred_10 - mred_short .quad mred_11 - mred_short .quad mred_12 - mred_short .quad mred_13 - mred_short .quad mred_14 - mred_short .quad mred_15 - mred_short .quad mred_16 - mred_short mred8x_start: .quad mred8x1_start - mred8x_start .quad mred8x2_start - mred8x_start .quad mred8x3_start - mred8x_start .quad mred8x4_start - mred8x_start .quad mred8x5_start - mred8x_start .quad mred8x6_start - mred8x_start .quad mred8x7_start - mred8x_start .p2align 5, 0x90 .type mred_8N, @function mred_8N: push %r15 sub $(64), %rsp mov %rsp, %rcx mov %rdx, %rbx xor %rax, %rax .LpassLoopgas_97: push %rdi push %rsi push %rdx push %r8 push %rbx push %rax push %rdx mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start pop %rdx xor %rax, %rax mov (64)(%rdi), %rbx add %rbx, %r8 mov (72)(%rdi), %rbx adc %rbx, %r9 mov (80)(%rdi), %rbx adc %rbx, %r10 mov (88)(%rdi), %rbx adc %rbx, %r11 mov (96)(%rdi), %rbx adc %rbx, %r12 mov (104)(%rdi), %rbx adc %rbx, %r13 mov (112)(%rdi), %rbx adc %rbx, %r14 mov (120)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax jmp .LentryInnerLoopgas_97 .LinnerLoopgas_97: push %rdx call mla_8x8 pop %rdx pop %rax shr $(1), %rax mov (64)(%rdi), %rbx adc %rbx, %r8 mov %r8, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r9 mov %r9, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r10 mov %r10, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r11 mov %r11, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r12 mov %r12, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r13 mov %r13, (104)(%rdi) mov (112)(%rdi), %rbx adc %rbx, %r14 mov %r14, (112)(%rdi) mov (120)(%rdi), %rbx adc %rbx, %r15 mov %r15, (120)(%rdi) adc $(0), %rax push %rax .LentryInnerLoopgas_97: add $(64), %rdi add $(64), %rsi sub $(8), %rdx jg .LinnerLoopgas_97 pop %rax pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 adc $(0), %rax movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) pop %rbx pop %r8 pop %rdx pop %rsi pop %rdi add $(64), %rdi sub $(8), %rbx jg .LpassLoopgas_97 add $(64), %rsp mov %rdx, %r14 lea (,%rdx,8), %r15 mov %rax, %rbx mov %rsi, %rcx mov %rdi, %rsi pop %rdi call sub_N sub %rax, %rbx mov %r14, %rdx sub %r15, %rdi sub %r15, %rsi mov %rdi, %rcx shr $(1), %rbx call copy_ae_N ret .Lfe97: .size mred_8N, .Lfe97-(mred_8N) .p2align 5, 0x90 .type mred_N, @function mred_N: push %r15 sub $(64), %rsp mov %rsp, %rcx mov %rdx, %rbx sub $(8), %rbx xor %rax, %rax mov $(7), %r15 and %rdx, %r15 lea mla_8xl_tail(%rip), %rbp mov (-8)(%rbp,%r15,8), %r15 add %r15, %rbp .LpassLoopgas_98: push %rdi push %rsi push %rdx push %r8 push %rbx push %rax push %rbp sub $(8), %rdx push %rdx mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 call mred8x8_start pop %rdx xor %rax, %rax push %rax jmp .LentryInnerLoopgas_98 .LinnerLoopgas_98: push %rdx call mla_8x8 pop %rdx .LentryInnerLoopgas_98: pop %rax shr $(1), %rax mov (64)(%rdi), %rbx adc %rbx, %r8 mov %r8, (64)(%rdi) mov (72)(%rdi), %rbx adc %rbx, %r9 mov %r9, (72)(%rdi) mov (80)(%rdi), %rbx adc %rbx, %r10 mov %r10, (80)(%rdi) mov (88)(%rdi), %rbx adc %rbx, %r11 mov %r11, (88)(%rdi) mov (96)(%rdi), %rbx adc %rbx, %r12 mov %r12, (96)(%rdi) mov (104)(%rdi), %rbx adc %rbx, %r13 mov %r13, (104)(%rdi) mov (112)(%rdi), %rbx adc %rbx, %r14 mov %r14, (112)(%rdi) mov (120)(%rdi), %rbx adc %rbx, %r15 mov %r15, (120)(%rdi) adc $(0), %rax push %rax add $(64), %rdi add $(64), %rsi sub $(8), %rdx jnc .LinnerLoopgas_98 add $(8), %rdx jz .Lcomplete_regular_passgas_98 mov (8)(%rsp), %rax xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx push %rdx call *%rax pop %rdx xor %rsi, %rcx xor %rcx, %rsi xor %rsi, %rcx lea (%rdi,%rdx,8), %rdi pop %rax shr $(1), %rax mov %rdx, %rbx dec %rbx jz .Lmt_1gas_98 dec %rbx jz .Lmt_2gas_98 dec %rbx jz .Lmt_3gas_98 dec %rbx jz .Lmt_4gas_98 dec %rbx jz .Lmt_5gas_98 dec %rbx jz .Lmt_6gas_98 .Lmt_7gas_98: mov (8)(%rdi), %rbx adc %rbx, %r9 .Lmt_6gas_98: mov (16)(%rdi), %rbx adc %rbx, %r10 .Lmt_5gas_98: mov (24)(%rdi), %rbx adc %rbx, %r11 .Lmt_4gas_98: mov (32)(%rdi), %rbx adc %rbx, %r12 .Lmt_3gas_98: mov (40)(%rdi), %rbx adc %rbx, %r13 .Lmt_2gas_98: mov (48)(%rdi), %rbx adc %rbx, %r14 .Lmt_1gas_98: mov (56)(%rdi), %rbx adc %rbx, %r15 adc $(0), %rax push %rax .Lcomplete_regular_passgas_98: pop %rax pop %rbp pop %rbx add %rbx, %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 adc $(0), %rax movq %r8, (%rdi) movq %r9, (8)(%rdi) movq %r10, (16)(%rdi) movq %r11, (24)(%rdi) movq %r12, (32)(%rdi) movq %r13, (40)(%rdi) movq %r14, (48)(%rdi) movq %r15, (56)(%rdi) pop %rbx pop %r8 pop %rdx pop %rsi pop %rdi add $(64), %rdi sub $(8), %rbx jnc .LpassLoopgas_98 add $(8), %rbx jz .Lcomplete_reductiongas_98 push %rdi push %rsi push %rdx push %r8 push %rbx push %rax push %rbp sub $(8), %rdx push %rdx mov %r8, %rdx movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 lea mred8x_start(%rip), %rax mov (-8)(%rax,%rbx,8), %rbp add %rbp, %rax call *%rax pop %rdx xor %rax, %rax push %rax jmp .LentryTailLoopgas_98 .LtailLoopgas_98: movq (%rdi), %r8 movq (8)(%rdi), %r9 movq (16)(%rdi), %r10 movq (24)(%rdi), %r11 movq (32)(%rdi), %r12 movq (40)(%rdi), %r13 movq (48)(%rdi), %r14 movq (56)(%rdi), %r15 mov (8)(%rsp), %rax push %rdx call *%rax pop %rdx .LentryTailLoopgas_98: pop %rax shr $(1), %rax adc $(0), %r8 adc $(0), %r9 adc $(0), %r10 adc $(0), %r11 adc $(0), %r12 adc $(0), %r13 adc $(0), %r14 adc $(0), %r15 adc $(0), %rax mov (16)(%rsp), %rbx cmp $(1), %rbx jz .Ltt_1gas_98 cmp $(2), %rbx jz .Ltt_2gas_98 cmp $(3), %rbx jz .Ltt_3gas_98 cmp $(4), %rbx jz .Ltt_4gas_98 cmp $(5), %rbx jz .Ltt_5gas_98 cmp $(6), %rbx jz .Ltt_6gas_98 .Ltt_7gas_98: mov (8)(%rdi,%rbx,8), %rbp adc %rbp, %r9 .Ltt_6gas_98: mov (16)(%rdi,%rbx,8), %rbp adc %rbp, %r10 .Ltt_5gas_98: mov (24)(%rdi,%rbx,8), %rbp adc %rbp, %r11 .Ltt_4gas_98: mov (32)(%rdi,%rbx,8), %rbp adc %rbp, %r12 .Ltt_3gas_98: mov (40)(%rdi,%rbx,8), %rbp adc %rbp, %r13 .Ltt_2gas_98: mov (48)(%rdi,%rbx,8), %rbp adc %rbp, %r14 .Ltt_1gas_98: mov (56)(%rdi,%rbx,8), %rbp adc %rbp, %r15 adc $(0), %rax push %rax movq %r8, (%rdi,%rbx,8) movq %r9, (8)(%rdi,%rbx,8) movq %r10, (16)(%rdi,%rbx,8) movq %r11, (24)(%rdi,%rbx,8) movq %r12, (32)(%rdi,%rbx,8) movq %r13, (40)(%rdi,%rbx,8) movq %r14, (48)(%rdi,%rbx,8) movq %r15, (56)(%rdi,%rbx,8) add $(64), %rsi add $(64), %rdi sub $(8), %rdx jnc .LtailLoopgas_98 add $(8), %rdx mov %rdx, %rbx movq (%rdi), %r8 dec %rbx jz .Lget_tail_procgas_98 movq (8)(%rdi), %r9 dec %rbx jz .Lget_tail_procgas_98 movq (16)(%rdi), %r10 dec %rbx jz .Lget_tail_procgas_98 movq (24)(%rdi), %r11 dec %rbx jz .Lget_tail_procgas_98 movq (32)(%rdi), %r12 dec %rbx jz .Lget_tail_procgas_98 movq (40)(%rdi), %r13 dec %rbx jz .Lget_tail_procgas_98 movq (48)(%rdi), %r14 .Lget_tail_procgas_98: lea mla_lxl_short(%rip), %rax mov (-8)(%rax,%rdx,8), %rbp add %rbp, %rax push %rdx call *%rax pop %rdx lea (%rdi,%rdx,8), %rdi pop %rax shr $(1), %rax mov %rdx, %rbx mov (%rdi), %rbp adc %rbp, %r8 dec %rbx jz .Ladd_carry1gas_98 mov (8)(%rdi), %rbp adc %rbp, %r9 dec %rbx jz .Ladd_carry1gas_98 mov (16)(%rdi), %rbp adc %rbp, %r10 dec %rbx jz .Ladd_carry1gas_98 mov (24)(%rdi), %rbp adc %rbp, %r11 dec %rbx jz .Ladd_carry1gas_98 mov (32)(%rdi), %rbp adc %rbp, %r12 dec %rbx jz .Ladd_carry1gas_98 mov (40)(%rdi), %rbp adc %rbp, %r13 dec %rbx jz .Ladd_carry1gas_98 mov (48)(%rdi), %rbp adc %rbp, %r14 .Ladd_carry1gas_98: adc $(0), %rax pop %rbp pop %rbx add %rbx, %r8 movq %r8, (%rdi) dec %rdx jz .Ladd_carry2gas_98 adc $(0), %r9 movq %r9, (8)(%rdi) dec %rdx jz .Ladd_carry2gas_98 adc $(0), %r10 movq %r10, (16)(%rdi) dec %rdx jz .Ladd_carry2gas_98 adc $(0), %r11 movq %r11, (24)(%rdi) dec %rdx jz .Ladd_carry2gas_98 adc $(0), %r12 movq %r12, (32)(%rdi) dec %rdx jz .Ladd_carry2gas_98 adc $(0), %r13 movq %r13, (40)(%rdi) dec %rdx jz .Ladd_carry2gas_98 adc $(0), %r14 movq %r14, (48)(%rdi) .Ladd_carry2gas_98: adc $(0), %rax pop %rbx pop %r8 pop %rdx pop %rsi pop %rdi lea (%rdi,%rbx,8), %rdi .Lcomplete_reductiongas_98: add $(64), %rsp mov %rdx, %r14 lea (,%rdx,8), %r15 mov %rax, %rbx mov %rsi, %rcx mov %rdi, %rsi pop %rdi call sub_N sub %rax, %rbx mov %r14, %rdx sub %r15, %rdi sub %r15, %rsi mov %rdi, %rcx shr $(1), %rbx call copy_ae_N ret .Lfe98: .size mred_N, .Lfe98-(mred_N) .p2align 5, 0x90 .globl l9_cpMulAdc_BNU_school .type l9_cpMulAdc_BNU_school, @function l9_cpMulAdc_BNU_school: push %rbx push %rbp push %r12 push %r13 push %r14 push %r15 movslq %edx, %rdx movslq %r8d, %rbx xor %r8, %r8 xor %r9, %r9 xor %r10, %r10 xor %r11, %r11 xor %r12, %r12 xor %r13, %r13 xor %r14, %r14 xor %r15, %r15 cmp %rbx, %rdx jl .Lswap_operansgas_99 jg .Ltest_8N_casegas_99 cmp $(16), %rdx jg .Ltest_8N_casegas_99 cmp $(4), %rdx jg .Lmore_then_4gas_99 cmp $(3), %edx ja .Lmul_4_4gas_99 jz .Lmul_3_3gas_99 jp .Lmul_2_2gas_99 .Lmul_1_1gas_99: mov (%rcx), %rdx mulx (%rsi), %rbp, %r8 mov %rbp, (%rdi) movq %r8, (8)(%rdi) jmp .Lquitgas_99 .Lmul_2_2gas_99: mov (%rcx), %rdx mulx (%rsi), %rbp, %r8 mov %rbp, (%rdi) mulx (8)(%rsi), %rbx, %r9 add %rbx, %r8 adc $(0), %r9 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mov %rbp, %r9 movq %r8, (16)(%rdi) movq %r9, (24)(%rdi) jmp .Lquitgas_99 .Lmul_3_3gas_99: mov (%rcx), %rdx mulx (%rsi), %rbp, %r8 mov %rbp, (%rdi) mulx (8)(%rsi), %rbx, %r9 add %rbx, %r8 mulx (16)(%rsi), %rbp, %r10 adc %rbp, %r9 adc $(0), %r10 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 mov (16)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (16)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 movq %r8, (24)(%rdi) movq %r9, (32)(%rdi) movq %r10, (40)(%rdi) jmp .Lquitgas_99 .Lmul_4_4gas_99: mov (%rcx), %rdx mulx (%rsi), %rbp, %r8 mov %rbp, (%rdi) mulx (8)(%rsi), %rbx, %r9 add %rbx, %r8 mulx (16)(%rsi), %rbp, %r10 adc %rbp, %r9 mulx (24)(%rsi), %rbx, %r11 adc %rbx, %r10 adc $(0), %r11 mov (8)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (8)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 mov (16)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (16)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 mov (24)(%rcx), %rdx mulx (%rsi), %rax, %rbx add %r8, %rax adc $(0), %rbx mov %rax, (24)(%rdi) mulx (8)(%rsi), %r8, %rbp add %r9, %r8 adc $(0), %rbp add %rbx, %r8 adc $(0), %rbp mulx (16)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (24)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 movq %r8, (32)(%rdi) movq %r9, (40)(%rdi) movq %r10, (48)(%rdi) movq %r11, (56)(%rdi) jmp .Lquitgas_99 .Lmore_then_4gas_99: lea mul_lxl_basic(%rip), %rax mov (-8)(%rax,%rdx,8), %rbp add %rbp, %rax call *%rax jmp .Lquitgas_99 .Lswap_operansgas_99: xor %rcx, %rsi xor %rsi, %rcx xor %rcx, %rsi xor %rbx, %rdx xor %rdx, %rbx xor %rbx, %rdx .Ltest_8N_casegas_99: mov %rdx, %rax or %rbx, %rax and $(7), %rax jnz .Lgeneral_mulgas_99 call mul_8Nx8M jmp .Lquitgas_99 .Lgeneral_mulgas_99: call mul_NxM jmp .Lquitgas_99 .Lquitgas_99: vzeroupper pop %r15 pop %r14 pop %r13 pop %r12 pop %rbp pop %rbx ret .Lfe99: .size l9_cpMulAdc_BNU_school, .Lfe99-(l9_cpMulAdc_BNU_school) .p2align 5, 0x90 .globl l9_cpSqrAdc_BNU_school .type l9_cpSqrAdc_BNU_school, @function l9_cpSqrAdc_BNU_school: push %rbx push %rbp push %r12 push %r13 push %r14 push %r15 movslq %edx, %rdx xor %r8, %r8 xor %r9, %r9 xor %r10, %r10 xor %r11, %r11 xor %r12, %r12 xor %r13, %r13 xor %r14, %r14 xor %r15, %r15 cmp $(16), %rdx jg .Ltest_8N_casegas_100 lea sqr_l_basic(%rip), %rax mov (-8)(%rax,%rdx,8), %rbp add %rbp, %rax call *%rax jmp .Lquitgas_100 .Ltest_8N_casegas_100: test $(7), %rdx jnz .Lgeneral_sqrgas_100 call sqr_8N jmp .Lquitgas_100 .Lgeneral_sqrgas_100: call sqr_N .Lquitgas_100: vzeroupper pop %r15 pop %r14 pop %r13 pop %r12 pop %rbp pop %rbx ret .Lfe100: .size l9_cpSqrAdc_BNU_school, .Lfe100-(l9_cpSqrAdc_BNU_school) .p2align 5, 0x90 .globl l9_cpMontRedAdc_BNU .type l9_cpMontRedAdc_BNU, @function l9_cpMontRedAdc_BNU: push %rbx push %rbp push %r12 push %r13 push %r14 push %r15 mov %rdi, %r15 mov %rsi, %rdi mov %rdx, %rsi movslq %ecx, %rdx cmp $(16), %rdx ja .Ltest_8N_casegas_101 cmp $(4), %rdx ja .Labove4gas_101 cmp $(3), %rdx ja .Lred_4gas_101 jz .Lred_3gas_101 jp .Lred_2gas_101 .Lred_1gas_101: movq (%rdi), %r9 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mov %rbp, %r9 xor %rbx, %rbx addq (8)(%rdi), %r9 movq %r9, (8)(%rdi) adc $(0), %rbx subq (%rsi), %r9 sbb $(0), %rbx movq (8)(%rdi), %rax cmovae %r9, %rax movq %rax, (%r15) jmp .Lquitgas_101 .Lred_2gas_101: movq (%rdi), %r9 movq (8)(%rdi), %r10 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mov %rbx, %r10 xor %rbx, %rbx addq (16)(%rdi), %r9 movq %r9, (16)(%rdi) adcq (24)(%rdi), %r10 movq %r10, (24)(%rdi) adc $(0), %rbx subq (%rsi), %r9 sbbq (8)(%rsi), %r10 sbb $(0), %rbx movq (16)(%rdi), %rax cmovae %r9, %rax movq %rax, (%r15) movq (24)(%rdi), %rax cmovae %r10, %rax movq %rax, (8)(%r15) jmp .Lquitgas_101 .Lred_3gas_101: movq (%rdi), %r9 movq (8)(%rdi), %r10 movq (16)(%rdi), %r11 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mov %rbp, %r11 xor %rbx, %rbx addq (24)(%rdi), %r9 movq %r9, (24)(%rdi) adcq (32)(%rdi), %r10 movq %r10, (32)(%rdi) adcq (40)(%rdi), %r11 movq %r11, (40)(%rdi) adc $(0), %rbx subq (%rsi), %r9 sbbq (8)(%rsi), %r10 sbbq (16)(%rsi), %r11 sbb $(0), %rbx movq (24)(%rdi), %rax cmovae %r9, %rax movq %rax, (%r15) movq (32)(%rdi), %rax cmovae %r10, %rax movq %rax, (8)(%r15) movq (40)(%rdi), %rax cmovae %r11, %rax movq %rax, (16)(%r15) jmp .Lquitgas_101 .Lred_4gas_101: movq (%rdi), %r9 movq (8)(%rdi), %r10 movq (16)(%rdi), %r11 movq (24)(%rdi), %r12 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (24)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (24)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (24)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 mov %r8, %rdx imul %r9, %rdx mulx (%rsi), %rax, %rbp add %r9, %rax adc $(0), %rbp mulx (8)(%rsi), %r9, %rbx add %r10, %r9 adc $(0), %rbx add %rbp, %r9 adc $(0), %rbx mulx (16)(%rsi), %r10, %rbp add %r11, %r10 adc $(0), %rbp add %rbx, %r10 adc $(0), %rbp mulx (24)(%rsi), %r11, %rbx add %r12, %r11 adc $(0), %rbx add %rbp, %r11 adc $(0), %rbx mov %rbx, %r12 xor %rbx, %rbx addq (32)(%rdi), %r9 movq %r9, (32)(%rdi) adcq (40)(%rdi), %r10 movq %r10, (40)(%rdi) adcq (48)(%rdi), %r11 movq %r11, (48)(%rdi) adcq (56)(%rdi), %r12 movq %r12, (56)(%rdi) adc $(0), %rbx subq (%rsi), %r9 sbbq (8)(%rsi), %r10 sbbq (16)(%rsi), %r11 sbbq (24)(%rsi), %r12 sbb $(0), %rbx movq (32)(%rdi), %rax cmovae %r9, %rax movq %rax, (%r15) movq (40)(%rdi), %rax cmovae %r10, %rax movq %rax, (8)(%r15) movq (48)(%rdi), %rax cmovae %r11, %rax movq %rax, (16)(%r15) movq (56)(%rdi), %rax cmovae %r12, %rax movq %rax, (24)(%r15) jmp .Lquitgas_101 .Labove4gas_101: mov %rdx, %rbp sub $(4), %rbp lea mred_short(%rip), %rax mov (-8)(%rax,%rbp,8), %rbp add %rbp, %rax call *%rax jmp .Lquitgas_101 .Ltest_8N_casegas_101: test $(7), %rdx jnz .Lgeneral_casegas_101 call mred_8N jmp .Lquitgas_101 .Lgeneral_casegas_101: call mred_N .Lquitgas_101: vzeroupper pop %r15 pop %r14 pop %r13 pop %r12 pop %rbp pop %rbx ret .Lfe101: .size l9_cpMontRedAdc_BNU, .Lfe101-(l9_cpMontRedAdc_BNU)
27.461482
80
0.357064
67c6e1f4716d5841505fa3447785c78d05a4afc9
644
asm
Assembly
oeis/327/A327606.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/327/A327606.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/327/A327606.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A327606: Expansion of e.g.f. exp(x)*(1-x)*x/(1-2*x)^2. ; 0,1,8,69,712,8705,123456,1994293,36163184,727518177,16081980760,387499155461,10108673620728,283851555270049,8536572699232592,273759055527114165,9325469762472018016,336282091434597013313,12797935594025234906664,512609204063389138693957,21555874222152774037386920,949509971834339266134653121,43721621958883528998758446048,2100581037224581993229239119029,105118438288345039320748306552272,5470449339495507148324656769557025,295618791757835641191818706998022776,16565807764542865176220784146870332933 lpb $0 add $1,1 add $1,$0 sub $0,1 add $2,2 mul $1,$2 lpe mov $0,$1 div $0,4
49.538462
498
0.843168
08d10b611f8e41db47e5082542514e44a612fe19
1,385
asm
Assembly
chap15/ex12/saxpy32.asm
JamesType/optimization-manual
61cdcebb16e0768a6ab7e85ed535e64e9d8cc31a
[ "0BSD" ]
374
2021-06-08T10:42:01.000Z
2022-03-29T14:21:45.000Z
chap15/ex12/saxpy32.asm
JamesType/optimization-manual
61cdcebb16e0768a6ab7e85ed535e64e9d8cc31a
[ "0BSD" ]
1
2021-06-11T20:24:02.000Z
2021-06-11T20:24:02.000Z
chap15/ex12/saxpy32.asm
JamesType/optimization-manual
61cdcebb16e0768a6ab7e85ed535e64e9d8cc31a
[ "0BSD" ]
39
2021-06-08T11:25:29.000Z
2022-03-05T05:14:17.000Z
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ; AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, ; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR ; OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. ; ; .globl saxpy32 ; void saxpy32(float* src, float *src2, size_t len, float *dst, float alpha); ; On entry: ; rcx = src ; rdx = src2 ; r8 = len (length in bytes of all three arrays) ; r9 = dst ; [rsp+40] = alpha .code saxpy32 PROC public ; push rbx mov rax, rcx xor r10, r10 vbroadcastss ymm0, dword ptr[rsp+40];xmm0 start_loop: vmovups ymm1, [rax + r10] vmulps ymm1, ymm1, ymm0 vmovups ymm2, [rdx + r10] vaddps ymm1, ymm1, ymm2 vmovups [r9 + r10], ymm1 vmovups ymm1, [rax+r10+32] vmulps ymm1, ymm1, ymm0 vmovups ymm2, [rdx+r10+32] vaddps ymm1, ymm1, ymm2 vmovups [r9+r10+32], ymm1 add r10, 64 cmp r10, r8 jl start_loop vzeroupper ; pop rbx ret saxpy32 ENDP end
26.132075
79
0.714079
ac8b1e35595b45c6effd6c4fc7713210b37a7491
7,502
asm
Assembly
Transynther/x86/_processed/NC/_st_zr_/i7-7700_9_0xca.log_21829_370.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_st_zr_/i7-7700_9_0xca.log_21829_370.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_st_zr_/i7-7700_9_0xca.log_21829_370.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 %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1e215, %rsi lea addresses_D_ht+0xd911, %rdi nop nop and %rbp, %rbp mov $107, %rcx rep movsw nop nop nop nop mfence lea addresses_WC_ht+0xa991, %rbp nop nop nop nop nop dec %rbx mov $0x6162636465666768, %rsi movq %rsi, %xmm7 vmovups %ymm7, (%rbp) nop dec %rdi lea addresses_WT_ht+0x1ba91, %rsi lea addresses_A_ht+0x18691, %rdi clflush (%rdi) nop nop nop nop nop xor $18041, %r13 mov $10, %rcx rep movsw nop nop nop nop xor $16224, %rsi lea addresses_UC_ht+0xf091, %r13 nop dec %r15 mov (%r13), %rbp nop nop nop sub $3894, %r13 lea addresses_A_ht+0x18691, %rsi lea addresses_D_ht+0x1df51, %rdi nop nop nop sub %r12, %r12 mov $41, %rcx rep movsl nop nop nop nop dec %rbp lea addresses_UC_ht+0x5e91, %rcx nop nop inc %rdi mov $0x6162636465666768, %rsi movq %rsi, %xmm7 movups %xmm7, (%rcx) sub %r13, %r13 lea addresses_normal_ht+0x15291, %rsi lea addresses_A_ht+0x9f11, %rdi clflush (%rsi) nop nop nop xor $56545, %rbp mov $118, %rcx rep movsw nop nop sub %r15, %r15 lea addresses_A_ht+0x11091, %r12 nop nop nop nop nop dec %rsi vmovups (%r12), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %rbx nop nop nop nop nop dec %r13 pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %r15 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi // REPMOV lea addresses_PSE+0x1871, %rsi lea addresses_PSE+0x67d1, %rdi nop nop nop nop dec %r10 mov $121, %rcx rep movsq add %r8, %r8 // Load mov $0xe51, %rcx nop nop lfence vmovups (%rcx), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $1, %xmm1, %rsi nop nop nop nop nop add $19184, %rsi // Store mov $0x4f5d650000000e91, %rsi add $29945, %r8 mov $0x5152535455565758, %rdi movq %rdi, (%rsi) dec %rax // Load mov $0x291, %r10 nop nop nop nop dec %rbx movups (%r10), %xmm6 vpextrq $0, %xmm6, %rax nop nop nop nop nop cmp %rcx, %rcx // Store lea addresses_US+0x2d01, %rbx nop nop nop add $15867, %r10 mov $0x5152535455565758, %rsi movq %rsi, %xmm6 vmovups %ymm6, (%rbx) // Exception!!! nop nop mov (0), %r8 add $45096, %r8 // Faulty Load mov $0x4f5d650000000e91, %r8 cmp %rcx, %rcx movups (%r8), %xmm5 vpextrq $1, %xmm5, %rdi lea oracles, %rax and $0xff, %rdi shlq $12, %rdi mov (%rax,%rdi,1), %rdi pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r8 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'REPM', 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_PSE'}} {'src': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_P'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_NC'}} {'src': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_P'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_US'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WC_ht'}} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 9, 'AVXalign': False, 'same': True, 'size': 32, 'NT': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'33': 17479, '00': 4350} 33 33 33 33 33 33 33 33 33 33 00 33 33 33 33 00 33 33 33 33 33 33 33 33 00 33 33 33 00 33 33 33 33 00 00 33 33 33 33 33 33 33 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 00 33 33 00 33 33 33 00 33 33 33 33 00 33 33 00 33 33 33 33 33 33 33 33 33 00 00 33 33 00 33 33 33 33 33 33 33 00 00 33 33 33 33 33 00 00 33 33 33 33 33 33 33 00 33 33 33 33 33 00 33 00 33 33 33 33 33 00 33 33 33 33 33 33 33 00 33 33 00 33 00 33 00 33 33 33 33 33 33 33 33 00 33 33 00 00 33 33 33 33 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 00 33 33 00 33 33 33 33 33 33 33 33 33 00 33 33 33 33 00 33 00 33 00 33 33 33 00 33 33 33 33 00 33 33 33 33 00 33 33 00 33 33 33 33 00 33 33 33 00 33 00 00 33 33 33 33 33 00 00 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 00 33 00 00 33 33 33 00 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 00 00 33 33 00 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 00 33 33 33 00 33 33 00 00 33 33 33 33 33 33 00 33 00 33 33 33 33 00 33 00 00 33 33 33 33 33 00 33 33 33 33 33 00 33 00 33 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 00 33 33 33 00 33 00 33 33 33 33 33 33 33 00 33 33 33 33 33 33 00 33 33 33 00 00 33 33 33 33 33 33 33 33 33 00 33 33 33 00 33 33 33 00 33 33 33 33 33 00 33 33 33 33 33 33 33 33 00 33 00 33 33 33 33 33 00 33 33 33 00 33 33 00 33 00 33 33 33 33 33 33 33 33 33 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 00 33 00 33 33 33 33 33 33 33 00 33 00 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 33 33 00 33 00 33 33 33 33 33 00 33 33 33 00 33 00 33 33 00 33 33 33 00 33 00 33 33 33 00 00 33 33 33 33 00 00 33 33 00 33 00 33 33 00 33 33 00 33 33 33 00 33 00 33 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 00 33 33 33 00 33 00 00 00 33 33 33 33 00 33 33 00 33 33 00 33 00 33 33 00 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 00 33 33 33 33 33 00 33 33 33 00 33 33 00 33 33 33 33 00 33 00 00 33 00 33 33 00 33 33 00 33 33 33 33 00 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 00 33 00 33 33 00 33 33 33 00 33 33 33 33 00 33 00 33 33 33 33 33 00 00 33 33 33 33 00 33 00 33 33 33 00 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 33 33 00 33 00 00 00 00 00 33 33 00 33 33 33 00 33 33 33 33 33 33 33 33 00 33 33 33 33 00 33 33 00 33 33 33 00 33 33 33 33 33 33 33 33 33 33 00 33 00 33 33 33 33 33 33 33 33 33 33 33 00 33 00 33 00 33 00 33 33 33 00 00 33 33 00 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 00 33 33 33 33 33 00 33 00 33 00 33 33 33 33 33 33 33 33 00 33 33 33 00 33 00 33 33 33 00 33 33 00 33 00 33 33 33 33 33 33 00 00 33 33 33 33 00 33 33 33 33 33 33 33 33 00 00 33 33 33 33 33 33 33 33 00 33 33 33 33 33 33 33 33 33 33 33 33 33 00 00 33 33 33 33 33 33 33 00 00 33 33 33 33 33 33 33 00 33 33 00 33 00 33 33 00 00 33 00 33 00 33 00 33 33 33 33 00 33 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 33 00 33 33 33 33 33 33 33 00 33 33 33 33 33 33 00 00 33 33 33 00 33 00 00 33 33 33 33 33 00 33 33 33 00 33 33 33 33 33 */
31.923404
2,999
0.656492
d9653e9741f3a39894cd682ec11659135f5fb86f
522
asm
Assembly
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_destroy.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_destroy.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_destroy.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; =============================================================== ; Mar 2014 ; =============================================================== ; ; void ba_priority_queue_destroy(ba_priority_queue_t *q) ; ; Zero the queue structure. ; ; =============================================================== SECTION code_adt_ba_priority_queue PUBLIC asm_ba_priority_queue_destroy EXTERN l_setmem_hl asm_ba_priority_queue_destroy: xor a jp l_setmem_hl - 16 ; enter : hl = priority_queue * ; ; uses : af, hl
20.076923
65
0.457854
28d99e6216ef4e70bc734f4576c531d0f7814b0f
168
asm
Assembly
src/tests/generated/bug-cmpxgch-02-06-21.asm
mguarnieri/revizor
a3d91b19d91bcc9a266b7f10e5b9631906ebfedd
[ "MIT" ]
29
2021-05-24T12:45:19.000Z
2022-03-16T16:53:10.000Z
src/tests/generated/bug-cmpxgch-02-06-21.asm
mguarnieri/revizor
a3d91b19d91bcc9a266b7f10e5b9631906ebfedd
[ "MIT" ]
3
2021-11-23T15:37:25.000Z
2022-01-24T12:01:44.000Z
src/tests/generated/bug-cmpxgch-02-06-21.asm
mguarnieri/revizor
a3d91b19d91bcc9a266b7f10e5b9631906ebfedd
[ "MIT" ]
3
2021-06-17T09:00:27.000Z
2022-03-28T03:42:01.000Z
.intel_syntax noprefix .test_case_enter: MFENCE # instrumentation AND RBX, 0b0111111000000 # instrumentation CMPXCHG8B qword ptr [R14 + RBX] MFENCE # instrumentation
18.666667
42
0.809524
f707de8feb8714a2b24ee20595f6143e60be32c5
1,390
asm
Assembly
chap15/ex27/rsqrtps_newt_sse.asm
JamesType/optimization-manual
61cdcebb16e0768a6ab7e85ed535e64e9d8cc31a
[ "0BSD" ]
374
2021-06-08T10:42:01.000Z
2022-03-29T14:21:45.000Z
chap15/ex27/rsqrtps_newt_sse.asm
JamesType/optimization-manual
61cdcebb16e0768a6ab7e85ed535e64e9d8cc31a
[ "0BSD" ]
1
2021-06-11T20:24:02.000Z
2021-06-11T20:24:02.000Z
chap15/ex27/rsqrtps_newt_sse.asm
JamesType/optimization-manual
61cdcebb16e0768a6ab7e85ed535e64e9d8cc31a
[ "0BSD" ]
39
2021-06-08T11:25:29.000Z
2022-03-05T05:14:17.000Z
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ; AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, ; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR ; OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. ; ; .globl rsqrtps_newt_sse ; void rsqrtps_newt_sse(float *in, float *out, size_t len) ; On entry: ; rcx = in ; rdx = out ; r8 = len .data ALIGN 16 minus_half REAL4 -0.5, -0.5, -0.5, -0.5 three REAL4 3.0, 3.0, 3.0, 3.0 .code rsqrtps_newt_sse PROC public push rbx mov rax, rcx mov rbx, rdx mov rcx, r8 shl rcx, 2 ; rcx is size of inputs in bytes xor r8, r8 movups xmm3, xmmword ptr three movups xmm4, xmmword ptr minus_half loop1: movups xmm5, [rax+r8] rsqrtps xmm0, xmm5 movaps xmm2, xmm0 mulps xmm0, xmm0 mulps xmm0, xmm5 subps xmm0, xmm3 mulps xmm0, xmm2 mulps xmm0, xmm4 movups [rbx+r8], xmm0 add r8, 16 cmp r8, rcx jl loop1 pop rbx ret rsqrtps_newt_sse ENDP end
23.166667
79
0.722302
894e20efad95bd553271c3ab9acc2f8c02ad9d77
391
asm
Assembly
programs/oeis/206/A206544.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/206/A206544.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/206/A206544.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A206544: Period 12: repeat 1, 3, 5, 7, 9, 11, 11, 9, 7, 5, 3, 1. ; 1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1 mov $1,$0 lpb $0 sub $0,1 trn $0,4 add $1,2 add $1,$2 sub $1,$0 trn $0,1 add $2,2 add $2,$0 trn $0,6 trn $1,$2 add $1,$0 lpe mul $1,2 add $1,1
19.55
157
0.501279
bda61529e0de086f98a3b4ad3995674a8966e1b5
276
asm
Assembly
programs/oeis/040/A040342.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/040/A040342.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/040/A040342.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A040342: Continued fraction for sqrt(362). ; 19,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38 pow $1,$0 gcd $1,2 mul $1,19 mov $0,$1
34.5
190
0.655797
f13c9393ceb938cc9c8d581b8037aedcf17e168c
764
asm
Assembly
programs/oeis/158/A158135.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/158/A158135.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/158/A158135.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A158135: a(n) = 144*n^2 - 2*n. ; 142,572,1290,2296,3590,5172,7042,9200,11646,14380,17402,20712,24310,28196,32370,36832,41582,46620,51946,57560,63462,69652,76130,82896,89950,97292,104922,112840,121046,129540,138322,147392,156750,166396,176330,186552,197062,207860,218946,230320,241982,253932,266170,278696,291510,304612,318002,331680,345646,359900,374442,389272,404390,419796,435490,451472,467742,484300,501146,518280,535702,553412,571410,589696,608270,627132,646282,665720,685446,705460,725762,746352,767230,788396,809850,831592,853622,875940,898546,921440,944622,968092,991850,1015896,1040230,1064852,1089762,1114960,1140446,1166220,1192282,1218632,1245270,1272196,1299410,1326912,1354702,1382780,1411146,1439800 add $0,1 mul $0,72 bin $0,2 div $0,36 mul $0,2
84.888889
682
0.816754
c289792c2ba346a40d5f452f6004755f8f8130a8
726
asm
Assembly
oeis/034/A034738.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/034/A034738.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/034/A034738.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A034738: Dirichlet convolution of b_n = 2^(n-1) with phi(n). ; Submitted by Jamie Morken(w3) ; 1,3,6,12,20,42,70,144,270,540,1034,2112,4108,8274,16440,32928,65552,131418,262162,524880,1048740,2098206,4194326,8391024,16777300,33558564,67109418,134226120,268435484,536888520,1073741854,2147516736,4294969404,8590000176,17179869560,34359874200,68719476772,137439215670,274877915208,549756339840,1099511627816,2199024320892,4398046511146,8796095121528,17592186078360,35184376283202,70368744177710,140737496814048,281474976711082,562949970200700,1125899906973792,2251799847248016,4503599627370548 add $0,1 mov $2,$0 lpb $0 mov $3,$0 sub $0,1 mov $4,$2 gcd $4,$3 mov $3,2 pow $3,$4 add $1,$3 lpe mov $0,$1 div $0,2
40.333333
498
0.789256
e030dfec76ac24365b68da86ba09d85f2df25f0e
476
asm
Assembly
programs/oeis/054/A054087.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/054/A054087.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/054/A054087.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A054087: s(3n-2), s=A054086; also a bisection of A003511. ; 1,4,6,9,12,15,17,20,23,25,28,31,34,36,39,42,45,47,50,53,56,58,61,64,66,69,72,75,77,80,83,86,88,91,94,96,99,102,105,107,110,113,116,118,121,124,127,129,132,135,137,140,143,146,148,151 mov $2,$0 mov $4,3 lpb $4,1 lpb $0,1 mov $5,$0 add $5,$0 add $3,$5 add $3,$0 sub $0,1 lpe lpb $3,1 add $1,1 sub $3,$1 trn $3,1 lpe mov $4,1 lpe lpb $2,1 add $1,1 sub $2,1 lpe add $1,1
18.307692
184
0.569328
6452704f1631cb6feeb31f183d20e25c05293203
521
asm
Assembly
data/baseStats/oddish.asm
etdv-thevoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
1
2022-01-09T05:28:52.000Z
2022-01-09T05:28:52.000Z
data/baseStats/oddish.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
data/baseStats/oddish.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
db ODDISH ; pokedex id db 45 ; base hp db 50 ; base attack db 55 ; base defense db 30 ; base speed db 75 ; base special db GRASS ; species type 1 db POISON ; species type 2 db 255 ; catch rate db 78 ; base exp yield INCBIN "pic/gsmon/oddish.pic",0,1 ; 55, sprite dimensions dw OddishPicFront dw OddishPicBack ; attacks known at lvl 0 db ABSORB db 0 db 0 db 0 db 3 ; growth rate ; learnset tmlearn 3,6 tmlearn 9,10,12 tmlearn 20,21,22 tmlearn 31,32 tmlearn 33,34,37 tmlearn 44 tmlearn 50,51 db BANK(OddishPicFront)
17.965517
57
0.731286
da4ccea843a348f67d9d25b7d57ce14675f6a5a1
1,948
a51
Assembly
OrgEVM/OEVM_L1/main_asm.a51
sandyre/ifmo_course3
f697b2308acec149c67b1fbba326e2264da88f29
[ "MIT" ]
3
2017-06-19T20:39:26.000Z
2020-09-14T04:15:53.000Z
OrgEVM/OEVM_L1/main_asm.a51
sandyre/ifmo_course3
f697b2308acec149c67b1fbba326e2264da88f29
[ "MIT" ]
null
null
null
OrgEVM/OEVM_L1/main_asm.a51
sandyre/ifmo_course3
f697b2308acec149c67b1fbba326e2264da88f29
[ "MIT" ]
2
2018-11-12T18:42:09.000Z
2019-12-20T03:12:34.000Z
$TITLE(LAB1_1) XSEG AT 70 SORTED_MSG: ds 50 CSEG AT 0 JMP START ORIGINAL_MSG: DB 'itmoeneclassic', 00h START: CLR A // copy string to XSEG // r0 is an address of xdata // r1 is a counter MOV r0, #SORTED_MSG MOV r1, #0 COPY_CICLE_ITERATION: MOV DPTR, #ORIGINAL_MSG MOV A, r1 MOVC A, @A+DPTR JZ COPY_CICLE_END MOVX @r0, A INC r0 INC r1 AJMP COPY_CICLE_ITERATION COPY_CICLE_END: // write EOL symbol to the end CLR A INC r0 MOVX @r0, A SORTING_START: // r0 stores result string address // r1 stores line length // r3 stores i // r4 stores j // r7 stores Swapped? flag MOV r0, #SORTED_MSG MOV r2, #0 MOV r3, #0 MOV r4, #0 MOV r7, #0 SORTING_OUTER_CICLE_IF: // for( i = 0; i < STRINGLEN-1 ) MOV A, r3 // A = i MOV B, r1 DEC B // B = STRLEN-1 CJNE A, B, SORTING_OUTER_CICLE_START AJMP SORTING_END SORTING_OUTER_CICLE_START: MOV r7, #0 // Swapped = 0 SORTING_INNER_CICLE_IF: MOV A, r1 SUBB A, r3 DEC A MOV B, A // B = STRLEN-i-1 MOV A, r4 // A = j CJNE A, B, SORTING_INNER_CICLE_START AJMP SORTING_OUTER_CICLE_END SORTING_INNER_CICLE_START: // check if SWAP is needed MOV A, #SORTED_MSG ADD A, r4 MOV r0, A MOVX A, @r0 MOV B, A // LEFT char stored in B INC r0 MOVX A, @r0 // RIGHT char stored in A MOV r5, A // r5 = A MOV r6, B // r6 = B SUBB A, B JNC SORTING_INNER_CICLE_END SORTING_INNER_CICLE_SWAP_CHARS: MOV A, #SORTED_MSG ADD A, r4 MOV r0, A MOV A, r5 MOVX @r0, A INC r0 MOV A, r6 MOVX @r0, A MOV r7, #1 SORTING_INNER_CICLE_END: INC r4 AJMP SORTING_INNER_CICLE_IF SORTING_OUTER_CICLE_END: MOV A, r7 JZ SORTING_END INC r3 MOV r4, #0 AJMP SORTING_OUTER_CICLE_IF SORTING_END: MOV r0, #SORTED_MSG INC r0 INC r0 MOVX A, @r0 NOP JMP $ END
19.877551
42
0.605749
db629cff9a47c2836ce75b1c3aff952e3bf98b12
1,107
asm
Assembly
programs/oeis/166/A166810.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/166/A166810.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/166/A166810.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A166810: Number of n X 6 1..2 arrays containing at least one of each value, all equal values connected, rows considered as a single number in nondecreasing order, and columns considered as a single number in nondecreasing order. ; 5,26,82,208,460,922,1714,3001,5003,8006,12374,18562,27130,38758,54262,74611,100945,134594,177098,230228,296008,376738,475018,593773,736279,906190,1107566,1344902,1623158,1947790,2324782,2760679,3262621,3838378,4496386,5245784,6096452,7059050,8145058,9366817,10737571,12271510,13983814,15890698,18009458,20358518,22957478,25827163,28989673,32468434,36288250,40475356,45057472,50063858,55525370,61474517,67945519,74974366,82598878,90858766,99795694,109453342,119877470,131115983,143218997,156238906,170230450,185250784,201359548,218618938,237093778,256851593,277962683,300500198,324540214,350161810,377447146,406481542,437353558,470155075,504981377,541931234,581106986,622614628,666563896,713068354,762245482,814216765,869107783,927048302,988172366,1052618390,1120529254,1192052398,1267339918,1346548663,1429840333,1517381578,1609344098,1705904744 add $0,7 bin $0,6 sub $0,2
158.142857
847
0.853659
918f1c05544bcf07461281188969225e2db8fcd8
2,137
asm
Assembly
programs/oeis/208/A208138.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/208/A208138.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/208/A208138.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A208138: Number of n X 4 0..1 arrays avoiding 0 0 1 and 0 1 1 horizontally and 0 0 1 and 1 0 1 vertically. ; 9,81,324,900,2025,3969,7056,11664,18225,27225,39204,54756,74529,99225,129600,166464,210681,263169,324900,396900,480249,576081,685584,810000,950625,1108809,1285956,1483524,1703025,1946025,2214144,2509056,2832489,3186225,3572100,3992004,4447881,4941729,5475600,6051600,6671889,7338681,8054244,8820900,9641025,10517049,11451456,12446784,13505625,14630625,15824484,17089956,18429849,19847025,21344400,22924944,24591681,26347689,28196100,30140100,32182929,34327881,36578304,38937600,41409225,43996689,46703556,49533444,52490025,55577025,58798224,62157456,65658609,69305625,73102500,77053284,81162081,85433049,89870400,94478400,99261369,104223681,109369764,114704100,120231225,125955729,131882256,138015504,144360225,150921225,157703364,164711556,171950769,179426025,187142400,195105024,203319081,211789809,220522500,229522500,238795209,248346081,258180624,268304400,278723025,289442169,300467556,311804964,323460225,335439225,347747904,360392256,373378329,386712225,400400100,414448164,428862681,443649969,458816400,474368400,490312449,506655081,523402884,540562500,558140625,576144009,594579456,613453824,632774025,652547025,672779844,693479556,714653289,736308225,758451600,781090704,804232881,827885529,852056100,876752100,901981089,927750681,954068544,980942400,1008380025,1036389249,1064977956,1094154084,1123925625,1154300625,1185287184,1216893456,1249127649,1281998025,1315512900,1349680644,1384509681,1420008489,1456185600,1493049600,1530609129,1568872881,1607849604,1647548100,1687977225,1729145889,1771063056,1813737744,1857179025,1901396025,1946397924,1992193956,2038793409,2086205625,2134440000,2183505984,2233413081,2284170849,2335788900,2388276900,2441644569,2495901681,2551058064,2607123600,2664108225,2722021929,2780874756,2840676804,2901438225,2963169225,3025880064,3089581056,3154282569,3219995025,3286728900,3354494724,3423303081,3493164609,3564090000,3636090000,3709175409,3783357081,3858645924,3935052900,4012589025,4091265369,4171093056,4252083264,4334247225,4417596225 mov $1,-3 bin $1,$0 pow $1,2 mul $1,9
267.125
1,988
0.87693
2fa0b4772151bf718e8ac626f6e64e2154927c71
890
asm
Assembly
programs/oeis/268/A268227.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/268/A268227.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/268/A268227.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A268227: a(n) = sum of digits of (2n)^2. ; 0,4,7,9,10,1,9,16,13,9,4,16,18,19,19,9,7,13,18,13,7,18,19,10,9,7,13,18,13,16,9,19,19,18,16,13,18,22,25,18,10,19,18,25,22,9,22,25,18,19,1,9,16,13,18,4,16,27,19,19,9,25,22,27,22,16,18,28,28,18,16,13,18,13,16,9,10,19,18,25,13,18,31,25,18,19,28,18,25,22,9,13,25,27,19,10,27,25,22,18,4,16,18,19,19,9,25,31,27,22,16,27,19,19,27,16,22,27,31,25,18,28,28,18,16,13,18,22,25,27,19,28,36,25,22,18,31,25,27,28,19,27,25,31,27,13,25,27,28,28,9,16,22,27,31,16,27,37,37,9,7,22,27,22,25,18,10,19,27,16,13,27,22,25,9,10,19,18,25,22,18,13,25,27,19,19,27,34,22,27,13,25,27,37,19,9,25,22,27,22,7,18,19,28,27,16,31,27,22,25,18,28,37,27,25,22,27,31,25,27,19,28,27,34,13,9,13,16,27,28,10,18,25,22,18,13,25,27,28,28,9,16,22,27,22,7,18,19,19,18 mul $0,2 pow $0,2 add $0,1 lpb $0,1 mov $2,$0 div $0,10 mod $2,10 add $3,$2 lpe add $0,3 add $0,$3 mov $1,$0 sub $1,4
52.352941
719
0.626966
391d1fe4ecb5fc403401fd0079171cf2ac634f59
395
asm
Assembly
oeis/119/A119698.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/119/A119698.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/119/A119698.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A119698: n^3*binomial(2*n, n)*Fibonacci(n)^2. ; Submitted by Jon Maiga ; 0,2,48,2160,40320,787500,12773376,198942744,2905943040,40973240880,558886900000,7437264466632,96894798594048,1240510066959800,15645553270401600,194802398523000000,2398428702498447360,29240457953102773740,353391128284307097600 mov $2,$0 seq $0,119699 ; n^2*binomial(2*n, n)*Fibonacci(n)^2. mov $1,$2 mul $1,$0 mov $0,$1
39.5
227
0.787342
39c2a81849889f9cb48853b2420cef29eeed3627
165
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_floor.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_floor.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_floor.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_math32 PUBLIC cm32_sdcc_floor EXTERN cm32_sdcc_fsread1, m32_floor_fastcall cm32_sdcc_floor: call cm32_sdcc_fsread1 jp m32_floor_fastcall
15
44
0.842424
4d06fdc9d61d36a3cb18add93efbdb4bd050b532
6,837
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1030.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_0x48_notsx.log_21829_1030.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_0x48_notsx.log_21829_1030.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 %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xd2c0, %rbp nop nop add %r12, %r12 movb $0x61, (%rbp) nop nop sub $24681, %rdx lea addresses_WC_ht+0x19230, %rsi lea addresses_WC_ht+0x15db0, %rdi nop sub %rbp, %rbp mov $23, %rcx rep movsq xor %rdx, %rdx lea addresses_WC_ht+0x8b0, %rcx nop nop cmp $8099, %r12 mov $0x6162636465666768, %rsi movq %rsi, %xmm5 movups %xmm5, (%rcx) add %rsi, %rsi lea addresses_D_ht+0xc3a0, %rbp nop nop xor $26583, %rsi movl $0x61626364, (%rbp) nop xor %rsi, %rsi lea addresses_WC_ht+0x1a4b0, %rcx nop nop nop nop add %rsi, %rsi movl $0x61626364, (%rcx) nop nop add $20616, %rdi lea addresses_WC_ht+0x14fb0, %rsi lea addresses_WT_ht+0xd370, %rdi clflush (%rsi) sub %r15, %r15 mov $0, %rcx rep movsw nop nop nop cmp $57726, %rdi lea addresses_D_ht+0xf0b0, %rbp nop nop nop add $53625, %rdx mov (%rbp), %rbx nop nop nop nop nop cmp %r12, %r12 lea addresses_A_ht+0x1e0b0, %r12 nop nop and %rbx, %rbx mov (%r12), %rdi xor %rsi, %rsi lea addresses_UC_ht+0x1b38, %rsi lea addresses_UC_ht+0xa6b0, %rdi nop sub %rdx, %rdx mov $61, %rcx rep movsw nop add %rbp, %rbp lea addresses_D_ht+0x26b0, %rbx nop inc %rdi movl $0x61626364, (%rbx) nop dec %rdx lea addresses_D_ht+0x11618, %r15 nop nop nop nop and %rbp, %rbp movb (%r15), %bl cmp $29955, %rdi lea addresses_WT_ht+0x158b0, %rdx nop nop nop nop nop and %r15, %r15 mov $0x6162636465666768, %rbx movq %rbx, %xmm1 and $0xffffffffffffffc0, %rdx vmovntdq %ymm1, (%rdx) nop nop nop nop and %rdi, %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rbp pop %r15 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r15 push %rdx // Faulty Load lea addresses_RW+0x158b0, %rdx nop nop nop cmp %r10, %r10 mov (%rdx), %r15d lea oracles, %r14 and $0xff, %r15 shlq $12, %r15 mov (%r14,%r15,1), %r15 pop %rdx pop %r15 pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_RW', 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_RW', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_A_ht', 'congruent': 4}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WC_ht', 'congruent': 9}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D_ht', 'congruent': 2}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 9}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 6, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D_ht', 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A_ht', 'congruent': 10}} {'dst': {'same': True, 'congruent': 6, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D_ht', 'congruent': 7}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D_ht', 'congruent': 2}} {'dst': {'same': True, 'NT': True, 'AVXalign': False, 'size': 32, 'type': 'addresses_WT_ht', 'congruent': 11}, 'OP': 'STOR'} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
39.068571
2,999
0.656282
19b4bd960c75454dd6eb62188c66142ae12473cf
451
asm
Assembly
programs/oeis/045/A045929.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/045/A045929.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/045/A045929.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A045929: Generalized Connell sequence C_{5,3}. ; 1,2,7,12,17,18,23,28,33,38,43,48,49,54,59,64,69,74,79,84,89,94,95,100,105,110,115,120,125,130,135,140,145,150,155,156,161,166,171,176,181,186,191,196,201,206,211,216,221,226,231,232,237,242,247,252,257,262,267,272,277 mov $2,$0 mov $3,$0 add $3,$0 mov $4,$0 add $4,$0 add $4,$3 lpb $0,1 sub $0,1 add $1,3 trn $0,$1 sub $4,4 lpe mov $1,$4 add $1,2 lpb $2,1 add $1,1 sub $2,1 lpe sub $1,1
19.608696
219
0.631929
9a17ae722a11b2450c2cc625416440d6e0c6bfff
4,526
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_19193_1363.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_19193_1363.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_19193_1363.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %r9 push %rbp push %rdx lea addresses_D_ht+0x1c289, %r10 nop nop and %rdx, %rdx movw $0x6162, (%r10) nop nop nop nop inc %r8 lea addresses_WT_ht+0x8fd1, %r11 nop sub $57677, %rbp movups (%r11), %xmm2 vpextrq $0, %xmm2, %r9 nop xor $27277, %r11 lea addresses_D_ht+0x76a9, %rdx sub $54220, %r11 movb (%rdx), %r10b sub $39595, %r9 pop %rdx pop %rbp pop %r9 pop %r8 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r13 push %r8 push %rdi // Faulty Load lea addresses_RW+0x9429, %rdi nop nop nop nop inc %r8 movups (%rdi), %xmm3 vpextrq $0, %xmm3, %r10 lea oracles, %r12 and $0xff, %r10 shlq $12, %r10 mov (%r12,%r10,1), %r10 pop %rdi pop %r8 pop %r13 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'32': 19193} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
54.53012
2,999
0.659081
7ab72b15344c73ad0600abb80af007e18613f579
848
asm
Assembly
oeis/181/A181270.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/181/A181270.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/181/A181270.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A181270: Number of 2 X n binary matrices M with rows in strictly increasing order and rows of M*Mtranspose (mod 2) in strictly increasing order. ; Submitted by Jon Maiga ; 1,2,11,44,188,752,3056,12224,49088,196352,786176,3144704,12581888,50327552,201322496,805289984,3221209088,12884836352,51539542016,206158168064,824633458688,3298533834752,13194138484736,52776553938944,211106228338688,844424913354752,3377699703750656,13510798815002624,54043195461337088,216172781845348352,864691128186699776,3458764512746799104,13835058054208421888,55340232216833687552,221360928880219652096,885443715520878608384,3541774862135054041088,14167099448540216164352,56668397794367023087616 mov $3,2 pow $3,$0 add $0,1 mod $0,2 mov $1,2 mul $1,$3 add $0,$1 mov $2,$1 sub $1,2 sub $1,$3 add $1,$0 add $2,$3 mul $1,$2 mul $1,2 sub $1,24 div $1,24 add $1,1 mov $0,$1
36.869565
501
0.810142
87f5be6edb9ca9427997398e96295e0610fd8c25
1,483
asm
Assembly
programs/oeis/155/A155461.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/155/A155461.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/155/A155461.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A155461: a(n) = n^2 + 52*n + 30. ; 30,83,138,195,254,315,378,443,510,579,650,723,798,875,954,1035,1118,1203,1290,1379,1470,1563,1658,1755,1854,1955,2058,2163,2270,2379,2490,2603,2718,2835,2954,3075,3198,3323,3450,3579,3710,3843,3978,4115,4254,4395,4538,4683,4830,4979,5130,5283,5438,5595,5754,5915,6078,6243,6410,6579,6750,6923,7098,7275,7454,7635,7818,8003,8190,8379,8570,8763,8958,9155,9354,9555,9758,9963,10170,10379,10590,10803,11018,11235,11454,11675,11898,12123,12350,12579,12810,13043,13278,13515,13754,13995,14238,14483,14730,14979,15230,15483,15738,15995,16254,16515,16778,17043,17310,17579,17850,18123,18398,18675,18954,19235,19518,19803,20090,20379,20670,20963,21258,21555,21854,22155,22458,22763,23070,23379,23690,24003,24318,24635,24954,25275,25598,25923,26250,26579,26910,27243,27578,27915,28254,28595,28938,29283,29630,29979,30330,30683,31038,31395,31754,32115,32478,32843,33210,33579,33950,34323,34698,35075,35454,35835,36218,36603,36990,37379,37770,38163,38558,38955,39354,39755,40158,40563,40970,41379,41790,42203,42618,43035,43454,43875,44298,44723,45150,45579,46010,46443,46878,47315,47754,48195,48638,49083,49530,49979,50430,50883,51338,51795,52254,52715,53178,53643,54110,54579,55050,55523,55998,56475,56954,57435,57918,58403,58890,59379,59870,60363,60858,61355,61854,62355,62858,63363,63870,64379,64890,65403,65918,66435,66954,67475,67998,68523,69050,69579,70110,70643,71178,71715,72254,72795,73338,73883,74430,74979 add $0,26 mov $1,$0 pow $1,2 sub $1,646
185.375
1,406
0.805125
e200f0a55d3152e394a977ae4013aba85af5271f
639
asm
Assembly
oeis/282/A282023.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/282/A282023.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/282/A282023.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A282023: Start with 1; multiply alternately by 4 and 3. ; 1,4,12,48,144,576,1728,6912,20736,82944,248832,995328,2985984,11943936,35831808,143327232,429981696,1719926784,5159780352,20639121408,61917364224,247669456896,743008370688,2972033482752,8916100448256,35664401793024,106993205379072,427972821516288,1283918464548864,5135673858195456,15407021574586368,61628086298345472,184884258895036416,739537035580145664,2218611106740436992,8874444426961747968,26623333280885243904,106493333123540975616,319479999370622926848,1277919997482491707392 mov $1,8 lpb $0 sub $0,1 gcd $2,2 add $2,2 mul $1,$2 sub $2,3 lpe div $1,8 mov $0,$1
45.642857
484
0.834116
3ad0294f584f3254e35819449c4435781958d3a7
571
asm
Assembly
programs/oeis/088/A088003.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/088/A088003.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/088/A088003.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A088003: Take the list t(n,0) = {1,...,n}; denote by t(n,j) this list after rotating to left (or right) by j positions. Calculate inner product of t(n,0) and t(n,j) and denote the value by s(n,j). Compute this inner product for all j = 1..n and choose the smallest. This is a(n). ; 1,4,11,22,40,64,98,140,195,260,341,434,546,672,820,984,1173,1380,1615,1870,2156,2464,2806,3172,3575,4004,4473,4970,5510,6080,6696,7344,8041,8772,9555,10374,11248,12160,13130,14140,15211,16324,17501,18722,20010 add $0,1 mov $2,$0 lpb $2 add $3,$0 trn $0,2 add $1,$3 sub $2,1 lpe
47.583333
281
0.69352
c45df8c37c5e3d409ede90ad0bf42803a6089be1
386
asm
Assembly
programs/oeis/086/A086299.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/086/A086299.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/086/A086299.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A086299: a(n) = if n is 7-smooth then 1 else 0: characteristic function of 7-smooth numbers. ; 1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,1,0,1,1,0,0,1,1,0,1,1,0,1,0,1,0,0,1,1,0,0,0,1,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,1,0,0,0,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,1,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,1 seq $0,6530 ; Gpf(n): greatest prime dividing n, for n >= 2; a(1)=1. div $0,10 cmp $0,0
55.142857
201
0.57513
17a7b44b97447453dce8a88bf27049f5aa4292d2
101,139
asm
Assembly
src/z80asm/t/data/zx48_05.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
src/z80asm/t/data/zx48_05.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
src/z80asm/t/data/zx48_05.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
;************************************************** ;** Part 5. SCREEN AND PRINTER HANDLING ROUTINES ** ;************************************************** PUBLIC L09F4 PUBLIC L0BDB PUBLIC L0C0A PUBLIC L0D4D PUBLIC L0D6B PUBLIC L0D6E PUBLIC L0DAF PUBLIC L0DD9 PUBLIC L0E44 PUBLIC L0EAC PUBLIC L0ECD PUBLIC L0EDF PUBLIC L0F2C PUBLIC L0F81 PUBLIC L1097 PUBLIC L10A8 PUBLIC L111D PUBLIC L11A7 EXTERN L0095 EXTERN L03B5 EXTERN L15D4 EXTERN L1601 EXTERN L1615 EXTERN L1652 EXTERN L1655 EXTERN L1695 EXTERN L1795 EXTERN L1855 EXTERN L187D EXTERN L18E1 EXTERN L190F EXTERN L191C EXTERN L196E EXTERN L19E5 EXTERN L19E8 EXTERN L1E9F EXTERN L1F05 EXTERN L1F54 EXTERN L2211 ; -------------------------- ; THE 'PRINT OUTPUT' ROUTINE ; -------------------------- ; This is the routine most often used by the RST 10 restart although the ; subroutine is on two occasions called directly when it is known that ; output will definitely be to the lower screen. ;; PRINT-OUT L09F4: CALL L0B03 ; routine PO-FETCH fetches print position ; to HL register pair. CP $20 ; is character a space or higher ? JP NC,L0AD9 ; jump forward to PO-ABLE if so. CP $06 ; is character in range 00-05 ? JR C,L0A69 ; to PO-QUEST to print '?' if so. CP $18 ; is character in range 24d - 31d ? JR NC,L0A69 ; to PO-QUEST to also print '?' if so. LD HL,L0A11 - 6 ; address 0A0B - the base address of control ; character table - where zero would be. LD E,A ; control character 06 - 23d LD D,$00 ; is transferred to DE. ADD HL,DE ; index into table. LD E,(HL) ; fetch the offset to routine. ADD HL,DE ; add to make HL the address. PUSH HL ; push the address. JP L0B03 ; Jump forward to PO-FETCH, ; as the screen/printer position has been ; disturbed, and then indirectly to the PO-STORE ; routine on stack. ; ----------------------------- ; THE 'CONTROL CHARACTER' TABLE ; ----------------------------- ; For control characters in the range 6 - 23d the following table ; is indexed to provide an offset to the handling routine that ; follows the table. ;; ctlchrtab L0A11: DEFB L0A5F - ASMPC ; 06d offset $4E to Address: PO-COMMA DEFB L0A69 - ASMPC ; 07d offset $57 to Address: PO-QUEST DEFB L0A23 - ASMPC ; 08d offset $10 to Address: PO-BACK-1 DEFB L0A3D - ASMPC ; 09d offset $29 to Address: PO-RIGHT DEFB L0A69 - ASMPC ; 10d offset $54 to Address: PO-QUEST DEFB L0A69 - ASMPC ; 11d offset $53 to Address: PO-QUEST DEFB L0A69 - ASMPC ; 12d offset $52 to Address: PO-QUEST DEFB L0A4F - ASMPC ; 13d offset $37 to Address: PO-ENTER DEFB L0A69 - ASMPC ; 14d offset $50 to Address: PO-QUEST DEFB L0A69 - ASMPC ; 15d offset $4F to Address: PO-QUEST DEFB L0A7A - ASMPC ; 16d offset $5F to Address: PO-1-OPER DEFB L0A7A - ASMPC ; 17d offset $5E to Address: PO-1-OPER DEFB L0A7A - ASMPC ; 18d offset $5D to Address: PO-1-OPER DEFB L0A7A - ASMPC ; 19d offset $5C to Address: PO-1-OPER DEFB L0A7A - ASMPC ; 20d offset $5B to Address: PO-1-OPER DEFB L0A7A - ASMPC ; 21d offset $5A to Address: PO-1-OPER DEFB L0A75 - ASMPC ; 22d offset $54 to Address: PO-2-OPER DEFB L0A75 - ASMPC ; 23d offset $53 to Address: PO-2-OPER ; ------------------------- ; THE 'CURSOR LEFT' ROUTINE ; ------------------------- ; Backspace and up a line if that action is from the left of screen. ; For ZX printer backspace up to first column but not beyond. ;; PO-BACK-1 L0A23: INC C ; move left one column. LD A,$22 ; value $21 is leftmost column. CP C ; have we passed ? JR NZ,L0A3A ; to PO-BACK-3 if not and store new position. BIT 1,(IY+$01) ; test FLAGS - is printer in use ? JR NZ,L0A38 ; to PO-BACK-2 if so, as we are unable to ; backspace from the leftmost position. INC B ; move up one screen line LD C,$02 ; the rightmost column position. LD A,$18 ; Note. This should be $19 ; credit. Dr. Frank O'Hara, 1982 CP B ; has position moved past top of screen ? JR NZ,L0A3A ; to PO-BACK-3 if not and store new position. DEC B ; else back to $18. ;; PO-BACK-2 L0A38: LD C,$21 ; the leftmost column position. ;; PO-BACK-3 L0A3A: JP L0DD9 ; to CL-SET and PO-STORE to save new ; position in system variables. ; -------------------------- ; THE 'CURSOR RIGHT' ROUTINE ; -------------------------- ; This moves the print position to the right leaving a trail in the ; current background colour. ; "However the programmer has failed to store the new print position ; so CHR$ 9 will only work if the next print position is at a newly ; defined place. ; e.g. PRINT PAPER 2; CHR$ 9; AT 4,0; ; does work but is not very helpful" ; - Dr. Ian Logan, Understanding Your Spectrum, 1982. ;; PO-RIGHT L0A3D: LD A,($5C91) ; fetch P_FLAG value PUSH AF ; and save it on stack. LD (IY+$57),$01 ; temporarily set P_FLAG 'OVER 1'. LD A,$20 ; prepare a space. CALL L0B65 ; routine PO-CHAR to print it. ; Note. could be PO-ABLE which would update ; the column position. POP AF ; restore the permanent flag. LD ($5C91),A ; and restore system variable P_FLAG RET ; return without updating column position ; ----------------------- ; Perform carriage return ; ----------------------- ; A carriage return is 'printed' to screen or printer buffer. ;; PO-ENTER L0A4F: BIT 1,(IY+$01) ; test FLAGS - is printer in use ? JP NZ,L0ECD ; to COPY-BUFF if so, to flush buffer and reset ; the print position. LD C,$21 ; the leftmost column position. CALL L0C55 ; routine PO-SCR handles any scrolling required. DEC B ; to next screen line. JP L0DD9 ; jump forward to CL-SET to store new position. ; ----------- ; Print comma ; ----------- ; The comma control character. The 32 column screen has two 16 character ; tabstops. The routine is only reached via the control character table. ;; PO-COMMA L0A5F: CALL L0B03 ; routine PO-FETCH - seems unnecessary. LD A,C ; the column position. $21-$01 DEC A ; move right. $20-$00 DEC A ; and again $1F-$00 or $FF if trailing AND $10 ; will be $00 or $10. JR L0AC3 ; forward to PO-FILL ; ------------------- ; Print question mark ; ------------------- ; This routine prints a question mark which is commonly ; used to print an unassigned control character in range 0-31d. ; there are a surprising number yet to be assigned. ;; PO-QUEST L0A69: LD A,$3F ; prepare the character '?'. JR L0AD9 ; forward to PO-ABLE. ; -------------------------------- ; Control characters with operands ; -------------------------------- ; Certain control characters are followed by 1 or 2 operands. ; The entry points from control character table are PO-2-OPER and PO-1-OPER. ; The routines alter the output address of the current channel so that ; subsequent RST $10 instructions take the appropriate action ; before finally resetting the output address back to PRINT-OUT. ;; PO-TV-2 L0A6D: LD DE,L0A87 ; address: PO-CONT will be next output routine LD ($5C0F),A ; store first operand in TVDATA-hi JR L0A80 ; forward to PO-CHANGE >> ; --- ; -> This initial entry point deals with two operands - AT or TAB. ;; PO-2-OPER L0A75: LD DE,L0A6D ; address: PO-TV-2 will be next output routine JR L0A7D ; forward to PO-TV-1 ; --- ; -> This initial entry point deals with one operand INK to OVER. ;; PO-1-OPER L0A7A: LD DE,L0A87 ; address: PO-CONT will be next output routine ;; PO-TV-1 L0A7D: LD ($5C0E),A ; store control code in TVDATA-lo ;; PO-CHANGE L0A80: LD HL,($5C51) ; use CURCHL to find current output channel. LD (HL),E ; make it INC HL ; the supplied LD (HL),D ; address from DE. RET ; return. ; --- ;; PO-CONT L0A87: LD DE,L09F4 ; Address: PRINT-OUT CALL L0A80 ; routine PO-CHANGE to restore normal channel. LD HL,($5C0E) ; TVDATA gives control code and possible ; subsequent character LD D,A ; save current character LD A,L ; the stored control code CP $16 ; was it INK to OVER (1 operand) ? JP C,L2211 ; to CO-TEMP-5 JR NZ,L0AC2 ; to PO-TAB if not 22d i.e. 23d TAB. ; else must have been 22d AT. LD B,H ; line to H (0-23d) LD C,D ; column to C (0-31d) LD A,$1F ; the value 31d SUB C ; reverse the column number. JR C,L0AAC ; to PO-AT-ERR if C was greater than 31d. ADD A,$02 ; transform to system range $02-$21 LD C,A ; and place in column register. BIT 1,(IY+$01) ; test FLAGS - is printer in use ? JR NZ,L0ABF ; to PO-AT-SET as line can be ignored. LD A,$16 ; 22 decimal SUB B ; subtract line number to reverse ; 0 - 22 becomes 22 - 0. ;; PO-AT-ERR L0AAC: JP C,L1E9F ; to REPORT-B if higher than 22 decimal ; Integer out of range. INC A ; adjust for system range $01-$17 LD B,A ; place in line register INC B ; adjust to system range $02-$18 BIT 0,(IY+$02) ; TV_FLAG - Lower screen in use ? JP NZ,L0C55 ; exit to PO-SCR to test for scrolling CP (IY+$31) ; Compare against DF_SZ JP C,L0C86 ; to REPORT-5 if too low ; Out of screen. ;; PO-AT-SET L0ABF: JP L0DD9 ; print position is valid so exit via CL-SET ; --- ; Continue here when dealing with TAB. ; Note. In BASIC, TAB is followed by a 16-bit number and was initially ; designed to work with any output device. ;; PO-TAB L0AC2: LD A,H ; transfer parameter to A ; Losing current character - ; High byte of TAB parameter. ;; PO-FILL L0AC3: CALL L0B03 ; routine PO-FETCH, HL-addr, BC=line/column. ; column 1 (right), $21 (left) ADD A,C ; add operand to current column DEC A ; range 0 - 31+ AND $1F ; make range 0 - 31d RET Z ; return if result zero LD D,A ; Counter to D SET 0,(IY+$01) ; update FLAGS - signal suppress leading space. ;; PO-SPACE L0AD0: LD A,$20 ; space character. CALL L0C3B ; routine PO-SAVE prints the character ; using alternate set (normal output routine) DEC D ; decrement counter. JR NZ,L0AD0 ; to PO-SPACE until done RET ; return ; ---------------------- ; Printable character(s) ; ---------------------- ; This routine prints printable characters and continues into ; the position store routine ;; PO-ABLE L0AD9: CALL L0B24 ; routine PO-ANY ; and continue into position store routine. ; ---------------------------- ; THE 'POSITION STORE' ROUTINE ; ---------------------------- ; This routine updates the system variables associated with the main screen, ; the lower screen/input buffer or the ZX printer. ;; PO-STORE L0ADC: BIT 1,(IY+$01) ; Test FLAGS - is printer in use ? JR NZ,L0AFC ; Forward, if so, to PO-ST-PR BIT 0,(IY+$02) ; Test TV_FLAG - is lower screen in use ? JR NZ,L0AF0 ; Forward, if so, to PO-ST-E ; This section deals with the upper screen. LD ($5C88),BC ; Update S_POSN - line/column upper screen LD ($5C84),HL ; Update DF_CC - upper display file address RET ; Return. ; --- ; This section deals with the lower screen. ;; PO-ST-E L0AF0: LD ($5C8A),BC ; Update SPOSNL line/column lower screen LD ($5C82),BC ; Update ECHO_E line/column input buffer LD ($5C86),HL ; Update DFCCL lower screen memory address RET ; Return. ; --- ; This section deals with the ZX Printer. ;; PO-ST-PR L0AFC: LD (IY+$45),C ; Update P_POSN column position printer LD ($5C80),HL ; Update PR_CC - full printer buffer memory ; address RET ; Return. ; Note. that any values stored in location 23681 will be overwritten with ; the value 91 decimal. ; Credit April 1983, Dilwyn Jones. "Delving Deeper into your ZX Spectrum". ; ---------------------------- ; THE 'POSITION FETCH' ROUTINE ; ---------------------------- ; This routine fetches the line/column and display file address of the upper ; and lower screen or, if the printer is in use, the column position and ; absolute memory address. ; Note. that PR-CC-hi (23681) is used by this routine and if, in accordance ; with the manual (that says this is unused), the location has been used for ; other purposes, then subsequent output to the printer buffer could corrupt ; a 256-byte section of memory. ;; PO-FETCH L0B03: BIT 1,(IY+$01) ; Test FLAGS - is printer in use ? JR NZ,L0B1D ; Forward, if so, to PO-F-PR ; assume upper screen in use and thus optimize for path that requires speed. LD BC,($5C88) ; Fetch line/column from S_POSN LD HL,($5C84) ; Fetch DF_CC display file address BIT 0,(IY+$02) ; Test TV_FLAG - lower screen in use ? RET Z ; Return if upper screen in use. ; Overwrite registers with values for lower screen. LD BC,($5C8A) ; Fetch line/column from SPOSNL LD HL,($5C86) ; Fetch display file address from DFCCL RET ; Return. ; --- ; This section deals with the ZX Printer. ;; PO-F-PR L0B1D: LD C,(IY+$45) ; Fetch column from P_POSN. LD HL,($5C80) ; Fetch printer buffer address from PR_CC. RET ; Return. ; --------------------------------- ; THE 'PRINT ANY CHARACTER' ROUTINE ; --------------------------------- ; This routine is used to print any character in range 32d - 255d ; It is only called from PO-ABLE which continues into PO-STORE ;; PO-ANY L0B24: CP $80 ; ASCII ? JR C,L0B65 ; to PO-CHAR is so. CP $90 ; test if a block graphic character. JR NC,L0B52 ; to PO-T&UDG to print tokens and UDGs ; The 16 2*2 mosaic characters 128-143 decimal are formed from ; bits 0-3 of the character. LD B,A ; save character CALL L0B38 ; routine PO-GR-1 to construct top half ; then bottom half. CALL L0B03 ; routine PO-FETCH fetches print position. LD DE,$5C92 ; MEM-0 is location of 8 bytes of character JR L0B7F ; to PR-ALL to print to screen or printer ; --- ;; PO-GR-1 L0B38: LD HL,$5C92 ; address MEM-0 - a temporary buffer in ; systems variables which is normally used ; by the calculator. CALL L0B3E ; routine PO-GR-2 to construct top half ; and continue into routine to construct ; bottom half. ;; PO-GR-2 L0B3E: RR B ; rotate bit 0/2 to carry SBC A,A ; result $00 or $FF AND $0F ; mask off right hand side LD C,A ; store part in C RR B ; rotate bit 1/3 of original chr to carry SBC A,A ; result $00 or $FF AND $F0 ; mask off left hand side OR C ; combine with stored pattern LD C,$04 ; four bytes for top/bottom half ;; PO-GR-3 L0B4C: LD (HL),A ; store bit patterns in temporary buffer INC HL ; next address DEC C ; jump back to JR NZ,L0B4C ; to PO-GR-3 until byte is stored 4 times RET ; return ; --- ; Tokens and User defined graphics are now separated. ;; PO-T&UDG L0B52: SUB $A5 ; the 'RND' character JR NC,L0B5F ; to PO-T to print tokens ADD A,$15 ; add 21d to restore to 0 - 20 PUSH BC ; save current print position LD BC,($5C7B) ; fetch UDG to address bit patterns JR L0B6A ; to PO-CHAR-2 - common code to lay down ; a bit patterned character ; --- ;; PO-T L0B5F: CALL L0C10 ; routine PO-TOKENS prints tokens JP L0B03 ; exit via a JUMP to PO-FETCH as this routine ; must continue into PO-STORE. ; A JR instruction could be used. ; This point is used to print ASCII characters 32d - 127d. ;; PO-CHAR L0B65: PUSH BC ; save print position LD BC,($5C36) ; address CHARS ; This common code is used to transfer the character bytes to memory. ;; PO-CHAR-2 L0B6A: EX DE,HL ; transfer destination address to DE LD HL,$5C3B ; point to FLAGS RES 0,(HL) ; allow for leading space CP $20 ; is it a space ? JR NZ,L0B76 ; to PO-CHAR-3 if not SET 0,(HL) ; signal no leading space to FLAGS ;; PO-CHAR-3 L0B76: LD H,$00 ; set high byte to 0 LD L,A ; character to A ; 0-21 UDG or 32-127 ASCII. ADD HL,HL ; multiply ADD HL,HL ; by ADD HL,HL ; eight ADD HL,BC ; HL now points to first byte of character POP BC ; the source address CHARS or UDG EX DE,HL ; character address to DE ; ---------------------------------- ; THE 'PRINT ALL CHARACTERS' ROUTINE ; ---------------------------------- ; This entry point entered from above to print ASCII and UDGs but also from ; earlier to print mosaic characters. ; HL=destination ; DE=character source ; BC=line/column ;; PR-ALL L0B7F: LD A,C ; column to A DEC A ; move right LD A,$21 ; pre-load with leftmost position JR NZ,L0B93 ; but if not zero to PR-ALL-1 DEC B ; down one line LD C,A ; load C with $21 BIT 1,(IY+$01) ; test FLAGS - Is printer in use JR Z,L0B93 ; to PR-ALL-1 if not PUSH DE ; save source address CALL L0ECD ; routine COPY-BUFF outputs line to printer POP DE ; restore character source address LD A,C ; the new column number ($21) to C ;; PR-ALL-1 L0B93: CP C ; this test is really for screen - new line ? PUSH DE ; save source CALL Z,L0C55 ; routine PO-SCR considers scrolling POP DE ; restore source PUSH BC ; save line/column PUSH HL ; and destination LD A,($5C91) ; fetch P_FLAG to accumulator LD B,$FF ; prepare OVER mask in B. RRA ; bit 0 set if OVER 1 JR C,L0BA4 ; to PR-ALL-2 INC B ; set OVER mask to 0 ;; PR-ALL-2 L0BA4: RRA ; skip bit 1 of P_FLAG RRA ; bit 2 is INVERSE SBC A,A ; will be FF for INVERSE 1 else zero LD C,A ; transfer INVERSE mask to C LD A,$08 ; prepare to count 8 bytes AND A ; clear carry to signal screen BIT 1,(IY+$01) ; test FLAGS - is printer in use ? JR Z,L0BB6 ; to PR-ALL-3 if screen SET 1,(IY+$30) ; update FLAGS2 - signal printer buffer has ; been used. SCF ; set carry flag to signal printer. ;; PR-ALL-3 L0BB6: EX DE,HL ; now HL=source, DE=destination ;; PR-ALL-4 L0BB7: EX AF,AF' ; save printer/screen flag LD A,(DE) ; fetch existing destination byte AND B ; consider OVER XOR (HL) ; now XOR with source XOR C ; now with INVERSE MASK LD (DE),A ; update screen/printer EX AF,AF' ; restore flag JR C,L0BD3 ; to PR-ALL-6 - printer address update INC D ; gives next pixel line down screen ;; PR-ALL-5 L0BC1: INC HL ; address next character byte DEC A ; the byte count is decremented JR NZ,L0BB7 ; back to PR-ALL-4 for all 8 bytes EX DE,HL ; destination to HL DEC H ; bring back to last updated screen position BIT 1,(IY+$01) ; test FLAGS - is printer in use ? CALL Z,L0BDB ; if not, call routine PO-ATTR to update ; corresponding colour attribute. POP HL ; restore original screen/printer position POP BC ; and line column DEC C ; move column to right INC HL ; increase screen/printer position RET ; return and continue into PO-STORE ; within PO-ABLE ; --- ; This branch is used to update the printer position by 32 places ; Note. The high byte of the address D remains constant (which it should). ;; PR-ALL-6 L0BD3: EX AF,AF' ; save the flag LD A,$20 ; load A with 32 decimal ADD A,E ; add this to E LD E,A ; and store result in E EX AF,AF' ; fetch the flag JR L0BC1 ; back to PR-ALL-5 ; ----------------------------------- ; THE 'GET ATTRIBUTE ADDRESS' ROUTINE ; ----------------------------------- ; This routine is entered with the HL register holding the last screen ; address to be updated by PRINT or PLOT. ; The Spectrum screen arrangement leads to the L register holding the correct ; value for the attribute file and it is only necessary to manipulate H to ; form the correct colour attribute address. ;; PO-ATTR L0BDB: LD A,H ; fetch high byte $40 - $57 RRCA ; shift RRCA ; bits 3 and 4 RRCA ; to right. AND $03 ; range is now 0 - 2 OR $58 ; form correct high byte for third of screen LD H,A ; HL is now correct LD DE,($5C8F) ; make D hold ATTR_T, E hold MASK-T LD A,(HL) ; fetch existing attribute XOR E ; apply masks AND D ; XOR E ; BIT 6,(IY+$57) ; test P_FLAG - is this PAPER 9 ?? JR Z,L0BFA ; skip to PO-ATTR-1 if not. AND $C7 ; set paper BIT 2,A ; to contrast with ink JR NZ,L0BFA ; skip to PO-ATTR-1 XOR $38 ; ;; PO-ATTR-1 L0BFA: BIT 4,(IY+$57) ; test P_FLAG - Is this INK 9 ?? JR Z,L0C08 ; skip to PO-ATTR-2 if not AND $F8 ; make ink BIT 5,A ; contrast with paper. JR NZ,L0C08 ; to PO-ATTR-2 XOR $07 ; ;; PO-ATTR-2 L0C08: LD (HL),A ; save the new attribute. RET ; return. ; --------------------------------- ; THE 'MESSAGE PRINTING' SUBROUTINE ; --------------------------------- ; This entry point is used to print tape, boot-up, scroll? and error messages. ; On entry the DE register points to an initial step-over byte or the ; inverted end-marker of the previous entry in the table. ; Register A contains the message number, often zero to print first message. ; (HL has nothing important usually P_FLAG) ;; PO-MSG L0C0A: PUSH HL ; put hi-byte zero on stack to suppress LD H,$00 ; trailing spaces EX (SP),HL ; ld h,0; push hl would have done ?. JR L0C14 ; forward to PO-TABLE. ; --- ; This entry point prints the BASIC keywords, '<>' etc. from alt set ;; PO-TOKENS L0C10: LD DE,L0095 ; address: TKN-TABLE PUSH AF ; save the token number to control ; trailing spaces - see later * ; -> ;; PO-TABLE L0C14: CALL L0C41 ; routine PO-SEARCH will set carry for ; all messages and function words. JR C,L0C22 ; forward to PO-EACH if not a command, '<>' etc. LD A,$20 ; prepare leading space BIT 0,(IY+$01) ; test FLAGS - leading space if not set CALL Z,L0C3B ; routine PO-SAVE to print a space without ; disturbing registers. ;; PO-EACH L0C22: LD A,(DE) ; Fetch character from the table. AND $7F ; Cancel any inverted bit. CALL L0C3B ; Routine PO-SAVE to print using the alternate ; set of registers. LD A,(DE) ; Re-fetch character from table. INC DE ; Address next character in the table. ADD A,A ; Was character inverted ? ; (this also doubles character) JR NC,L0C22 ; back to PO-EACH if not. POP DE ; * re-fetch trailing space byte to D CP $48 ; was the last character '$' ? JR Z,L0C35 ; forward to PO-TR-SP to consider trailing ; space if so. CP $82 ; was it < 'A' i.e. '#','>','=' from tokens ; or ' ','.' (from tape) or '?' from scroll RET C ; Return if so as no trailing space required. ;; PO-TR-SP L0C35: LD A,D ; The trailing space flag (zero if an error msg) CP $03 ; Test against RND, INKEY$ and PI which have no ; parameters and therefore no trailing space. RET C ; Return if no trailing space. LD A,$20 ; Prepare the space character and continue to ; print and make an indirect return. ; ----------------------------------- ; THE 'RECURSIVE PRINTING' SUBROUTINE ; ----------------------------------- ; This routine which is part of PRINT-OUT allows RST $10 to be used ; recursively to print tokens and the spaces associated with them. ; It is called on three occasions when the value of DE must be preserved. ;; PO-SAVE L0C3B: PUSH DE ; Save DE value. EXX ; Switch in main set RST 10H ; PRINT-A prints using this alternate set. EXX ; Switch back to this alternate set. POP DE ; Restore the initial DE value. RET ; Return. ; ------------ ; Table search ; ------------ ; This subroutine searches a message or the token table for the ; message number held in A. DE holds the address of the table. ;; PO-SEARCH L0C41: PUSH AF ; save the message/token number EX DE,HL ; transfer DE to HL INC A ; adjust for initial step-over byte ;; PO-STEP L0C44: BIT 7,(HL) ; is character inverted ? INC HL ; address next JR Z,L0C44 ; back to PO-STEP if not inverted. DEC A ; decrease counter JR NZ,L0C44 ; back to PO-STEP if not zero EX DE,HL ; transfer address to DE POP AF ; restore message/token number CP $20 ; return with carry set RET C ; for all messages and function tokens LD A,(DE) ; test first character of token SUB $41 ; and return with carry set RET ; if it is less that 'A' ; i.e. '<>', '<=', '>=' ; --------------- ; Test for scroll ; --------------- ; This test routine is called when printing carriage return, when considering ; PRINT AT and from the general PRINT ALL characters routine to test if ; scrolling is required, prompting the user if necessary. ; This is therefore using the alternate set. ; The B register holds the current line. ;; PO-SCR L0C55: BIT 1,(IY+$01) ; test FLAGS - is printer in use ? RET NZ ; return immediately if so. LD DE,L0DD9 ; set DE to address: CL-SET PUSH DE ; and push for return address. LD A,B ; transfer the line to A. BIT 0,(IY+$02) ; test TV_FLAG - lower screen in use ? JP NZ,L0D02 ; jump forward to PO-SCR-4 if so. CP (IY+$31) ; greater than DF_SZ display file size ? JR C,L0C86 ; forward to REPORT-5 if less. ; 'Out of screen' RET NZ ; return (via CL-SET) if greater BIT 4,(IY+$02) ; test TV_FLAG - Automatic listing ? JR Z,L0C88 ; forward to PO-SCR-2 if not. LD E,(IY+$2D) ; fetch BREG - the count of scroll lines to E. DEC E ; decrease and jump JR Z,L0CD2 ; to PO-SCR-3 if zero and scrolling required. LD A,$00 ; explicit - select channel zero. CALL L1601 ; routine CHAN-OPEN opens it. LD SP,($5C3F) ; set stack pointer to LIST_SP RES 4,(IY+$02) ; reset TV_FLAG - signal auto listing finished. RET ; return ignoring pushed value, CL-SET ; to MAIN or EDITOR without updating ; print position >> ; --- ;; REPORT-5 L0C86: RST 08H ; ERROR-1 DEFB $04 ; Error Report: Out of screen ; continue here if not an automatic listing. ;; PO-SCR-2 L0C88: DEC (IY+$52) ; decrease SCR_CT JR NZ,L0CD2 ; forward to PO-SCR-3 to scroll display if ; result not zero. ; now produce prompt. LD A,$18 ; reset SUB B ; the LD ($5C8C),A ; SCR_CT scroll count LD HL,($5C8F) ; L=ATTR_T, H=MASK_T PUSH HL ; save on stack LD A,($5C91) ; P_FLAG PUSH AF ; save on stack to prevent lower screen ; attributes (BORDCR etc.) being applied. LD A,$FD ; select system channel 'K' CALL L1601 ; routine CHAN-OPEN opens it XOR A ; clear to address message directly LD DE,L0CF8 ; make DE address: scrl-mssg CALL L0C0A ; routine PO-MSG prints to lower screen SET 5,(IY+$02) ; set TV_FLAG - signal lower screen requires ; clearing LD HL,$5C3B ; make HL address FLAGS SET 3,(HL) ; signal 'L' mode. RES 5,(HL) ; signal 'no new key'. EXX ; switch to main set. ; as calling chr input from alternative set. CALL L15D4 ; routine WAIT-KEY waits for new key ; Note. this is the right routine but the ; stream in use is unsatisfactory. From the ; choices available, it is however the best. EXX ; switch back to alternate set. CP $20 ; space is considered as BREAK JR Z,L0D00 ; forward to REPORT-D if so ; 'BREAK - CONT repeats' CP $E2 ; is character 'STOP' ? JR Z,L0D00 ; forward to REPORT-D if so OR $20 ; convert to lower-case CP $6E ; is character 'n' ? JR Z,L0D00 ; forward to REPORT-D if so else scroll. LD A,$FE ; select system channel 'S' CALL L1601 ; routine CHAN-OPEN POP AF ; restore original P_FLAG LD ($5C91),A ; and save in P_FLAG. POP HL ; restore original ATTR_T, MASK_T LD ($5C8F),HL ; and reset ATTR_T, MASK-T as 'scroll?' has ; been printed. ;; PO-SCR-3 L0CD2: CALL L0DFE ; routine CL-SC-ALL to scroll whole display LD B,(IY+$31) ; fetch DF_SZ to B INC B ; increase to address last line of display LD C,$21 ; set C to $21 (was $21 from above routine) PUSH BC ; save the line and column in BC. CALL L0E9B ; routine CL-ADDR finds display address. LD A,H ; now find the corresponding attribute byte RRCA ; (this code sequence is used twice RRCA ; elsewhere and is a candidate for RRCA ; a subroutine.) AND $03 ; OR $58 ; LD H,A ; LD DE,$5AE0 ; start of last 'line' of attribute area LD A,(DE) ; get attribute for last line LD C,(HL) ; transfer to base line of upper part LD B,$20 ; there are thirty two bytes EX DE,HL ; swap the pointers. ;; PO-SCR-3A L0CF0: LD (DE),A ; transfer LD (HL),C ; attributes. INC DE ; address next. INC HL ; address next. DJNZ L0CF0 ; loop back to PO-SCR-3A for all adjacent ; attribute lines. POP BC ; restore the line/column. RET ; return via CL-SET (was pushed on stack). ; --- ; The message 'scroll?' appears here with last byte inverted. ;; scrl-mssg L0CF8: DEFB $80 ; initial step-over byte. DEFM "scroll" DEFB '?'+$80 ;; REPORT-D L0D00: RST 08H ; ERROR-1 DEFB $0C ; Error Report: BREAK - CONT repeats ; continue here if using lower display - A holds line number. ;; PO-SCR-4 L0D02: CP $02 ; is line number less than 2 ? JR C,L0C86 ; to REPORT-5 if so ; 'Out of Screen'. ADD A,(IY+$31) ; add DF_SZ SUB $19 ; RET NC ; return if scrolling unnecessary NEG ; Negate to give number of scrolls required. PUSH BC ; save line/column LD B,A ; count to B LD HL,($5C8F) ; fetch current ATTR_T, MASK_T to HL. PUSH HL ; and save LD HL,($5C91) ; fetch P_FLAG PUSH HL ; and save. ; to prevent corruption by input AT CALL L0D4D ; routine TEMPS sets to BORDCR etc LD A,B ; transfer scroll number to A. ;; PO-SCR-4A L0D1C: PUSH AF ; save scroll number. LD HL,$5C6B ; address DF_SZ LD B,(HL) ; fetch old value LD A,B ; transfer to A INC A ; and increment LD (HL),A ; then put back. LD HL,$5C89 ; address S_POSN_hi - line CP (HL) ; compare JR C,L0D2D ; forward to PO-SCR-4B if scrolling required INC (HL) ; else increment S_POSN_hi LD B,$18 ; set count to whole display ?? ; Note. should be $17 and the top line will be ; scrolled into the ROM which is harmless on ; the standard set up. ; credit P.Giblin 1984. ;; PO-SCR-4B L0D2D: CALL L0E00 ; routine CL-SCROLL scrolls B lines POP AF ; restore scroll counter. DEC A ; decrease JR NZ,L0D1C ; back to PO-SCR-4A until done POP HL ; restore original P_FLAG. LD (IY+$57),L ; and overwrite system variable P_FLAG. POP HL ; restore original ATTR_T/MASK_T. LD ($5C8F),HL ; and update system variables. LD BC,($5C88) ; fetch S_POSN to BC. RES 0,(IY+$02) ; signal to TV_FLAG - main screen in use. CALL L0DD9 ; call routine CL-SET for upper display. SET 0,(IY+$02) ; signal to TV_FLAG - lower screen in use. POP BC ; restore line/column RET ; return via CL-SET for lower display. ; ---------------------- ; Temporary colour items ; ---------------------- ; This subroutine is called 11 times to copy the permanent colour items ; to the temporary ones. ;; TEMPS L0D4D: XOR A ; clear the accumulator LD HL,($5C8D) ; fetch L=ATTR_P and H=MASK_P BIT 0,(IY+$02) ; test TV_FLAG - is lower screen in use ? JR Z,L0D5B ; skip to TEMPS-1 if not LD H,A ; set H, MASK P, to 00000000. LD L,(IY+$0E) ; fetch BORDCR to L which is used for lower ; screen. ;; TEMPS-1 L0D5B: LD ($5C8F),HL ; transfer values to ATTR_T and MASK_T ; for the print flag the permanent values are odd bits, temporary even bits. LD HL,$5C91 ; address P_FLAG. JR NZ,L0D65 ; skip to TEMPS-2 if lower screen using A=0. LD A,(HL) ; else pick up flag bits. RRCA ; rotate permanent bits to temporary bits. ;; TEMPS-2 L0D65: XOR (HL) ; AND $55 ; BIN 01010101 XOR (HL) ; permanent now as original LD (HL),A ; apply permanent bits to temporary bits. RET ; and return. ; ----------------- ; THE 'CLS' COMMAND ; ----------------- ; This command clears the display. ; The routine is also called during initialization and by the CLEAR command. ; If it's difficult to write it should be difficult to read. ;; CLS L0D6B: CALL L0DAF ; Routine CL-ALL clears the entire display and ; sets the attributes to the permanent ones ; from ATTR-P. ; Having cleared all 24 lines of the display area, continue into the ; subroutine that clears the lower display area. Note that at the moment ; the attributes for the lower lines are the same as upper ones and have ; to be changed to match the BORDER colour. ; -------------------------- ; THE 'CLS-LOWER' SUBROUTINE ; -------------------------- ; This routine is called from INPUT, and from the MAIN execution loop. ; This is very much a housekeeping routine which clears between 2 and 23 ; lines of the display, setting attributes and correcting situations where ; errors have occurred while the normal input and output routines have been ; temporarily diverted to deal with, say colour control codes. ;; CLS-LOWER L0D6E: LD HL,$5C3C ; address System Variable TV_FLAG. RES 5,(HL) ; TV_FLAG - signal do not clear lower screen. SET 0,(HL) ; TV_FLAG - signal lower screen in use. CALL L0D4D ; routine TEMPS applies permanent attributes, ; in this case BORDCR to ATTR_T. ; Note. this seems unnecessary and is repeated ; within CL-LINE. LD B,(IY+$31) ; fetch lower screen display file size DF_SZ CALL L0E44 ; routine CL-LINE clears lines to bottom of the ; display and sets attributes from BORDCR while ; preserving the B register. LD HL,$5AC0 ; set initial attribute address to the leftmost ; cell of second line up. LD A,($5C8D) ; fetch permanent attribute from ATTR_P. DEC B ; decrement lower screen display file size. JR L0D8E ; forward to enter the backfill loop at CLS-3 ; where B is decremented again. ; --- ; The backfill loop is entered at midpoint and ensures, if more than 2 ; lines have been cleared, that any other lines take the permanent screen ; attributes. ;; CLS-1 L0D87: LD C,$20 ; set counter to 32 character cells per line ;; CLS-2 L0D89: DEC HL ; decrease attribute address. LD (HL),A ; and place attributes in next line up. DEC C ; decrease the 32 counter. JR NZ,L0D89 ; loop back to CLS-2 until all 32 cells done. ;; CLS-3 L0D8E: DJNZ L0D87 ; decrease B counter and back to CLS-1 ; if not zero. LD (IY+$31),$02 ; now set DF_SZ lower screen to 2 ; This entry point is also called from CL-ALL below to ; reset the system channel input and output addresses to normal. ;; CL-CHAN L0D94: LD A,$FD ; select system channel 'K' CALL L1601 ; routine CHAN-OPEN opens it. LD HL,($5C51) ; fetch CURCHL to HL to address current channel LD DE,L09F4 ; set address to PRINT-OUT for first pass. AND A ; clear carry for first pass. ;; CL-CHAN-A L0DA0: LD (HL),E ; Insert the output address on the first pass INC HL ; or the input address on the second pass. LD (HL),D ; INC HL ; LD DE,L10A8 ; fetch address KEY-INPUT for second pass CCF ; complement carry flag - will set on pass 1. JR C,L0DA0 ; back to CL-CHAN-A if first pass else done. LD BC,$1721 ; line 23 for lower screen JR L0DD9 ; exit via CL-SET to set column ; for lower display ; --------------------------- ; Clearing whole display area ; --------------------------- ; This subroutine called from CLS, AUTO-LIST and MAIN-3 ; clears 24 lines of the display and resets the relevant system variables. ; This routine also recovers from an error situation where, for instance, an ; invalid colour or position control code has left the output routine addressing ; PO-TV-2 or PO-CONT. ;; CL-ALL L0DAF: LD HL,$0000 ; Initialize plot coordinates. LD ($5C7D),HL ; Set system variable COORDS to 0,0. RES 0,(IY+$30) ; update FLAGS2 - signal main screen is clear. CALL L0D94 ; routine CL-CHAN makes channel 'K' 'normal'. LD A,$FE ; select system channel 'S' CALL L1601 ; routine CHAN-OPEN opens it. CALL L0D4D ; routine TEMPS applies permanent attributes, ; in this case ATTR_P, to ATTR_T. ; Note. this seems unnecessary. LD B,$18 ; There are 24 lines. CALL L0E44 ; routine CL-LINE clears 24 text lines and sets ; attributes from ATTR-P. ; This routine preserves B and sets C to $21. LD HL,($5C51) ; fetch CURCHL make HL address output routine. LD DE,L09F4 ; address: PRINT-OUT LD (HL),E ; is made INC HL ; the normal LD (HL),D ; output address. LD (IY+$52),$01 ; set SCR_CT - scroll count - to default. ; Note. BC already contains $1821. LD BC,$1821 ; reset column and line to 0,0 ; and continue into CL-SET, below, exiting ; via PO-STORE (for the upper screen). ; -------------------- ; THE 'CL-SET' ROUTINE ; -------------------- ; This important subroutine is used to calculate the character output ; address for screens or printer based on the line/column for screens ; or the column for printer. ;; CL-SET L0DD9: LD HL,$5B00 ; the base address of printer buffer BIT 1,(IY+$01) ; test FLAGS - is printer in use ? JR NZ,L0DF4 ; forward to CL-SET-2 if so. LD A,B ; transfer line to A. BIT 0,(IY+$02) ; test TV_FLAG - lower screen in use ? JR Z,L0DEE ; skip to CL-SET-1 if handling upper part ADD A,(IY+$31) ; add DF_SZ for lower screen SUB $18 ; and adjust. ;; CL-SET-1 L0DEE: PUSH BC ; save the line/column. LD B,A ; transfer line to B ; (adjusted if lower screen) CALL L0E9B ; routine CL-ADDR calculates address at left ; of screen. POP BC ; restore the line/column. ;; CL-SET-2 L0DF4: LD A,$21 ; the column $01-$21 is reversed SUB C ; to range $00 - $20 LD E,A ; now transfer to DE LD D,$00 ; prepare for addition ADD HL,DE ; and add to base address JP L0ADC ; exit via PO-STORE to update the relevant ; system variables. ; ---------------- ; Handle scrolling ; ---------------- ; The routine CL-SC-ALL is called once from PO to scroll all the display ; and from the routine CL-SCROLL, once, to scroll part of the display. ;; CL-SC-ALL L0DFE: LD B,$17 ; scroll 23 lines, after 'scroll?'. ;; CL-SCROLL L0E00: CALL L0E9B ; routine CL-ADDR gets screen address in HL. LD C,$08 ; there are 8 pixel lines to scroll. ;; CL-SCR-1 L0E05: PUSH BC ; save counters. PUSH HL ; and initial address. LD A,B ; get line count. AND $07 ; will set zero if all third to be scrolled. LD A,B ; re-fetch the line count. JR NZ,L0E19 ; forward to CL-SCR-3 if partial scroll. ; HL points to top line of third and must be copied to bottom of previous 3rd. ; ( so HL = $4800 or $5000 ) ( but also sometimes $4000 ) ;; CL-SCR-2 L0E0D: EX DE,HL ; copy HL to DE. LD HL,$F8E0 ; subtract $08 from H and add $E0 to L - ADD HL,DE ; to make destination bottom line of previous ; third. EX DE,HL ; restore the source and destination. LD BC,$0020 ; thirty-two bytes are to be copied. DEC A ; decrement the line count. LDIR ; copy a pixel line to previous third. ;; CL-SCR-3 L0E19: EX DE,HL ; save source in DE. LD HL,$FFE0 ; load the value -32. ADD HL,DE ; add to form destination in HL. EX DE,HL ; switch source and destination LD B,A ; save the count in B. AND $07 ; mask to find count applicable to current RRCA ; third and RRCA ; multiply by RRCA ; thirty two (same as 5 RLCAs) LD C,A ; transfer byte count to C ($E0 at most) LD A,B ; store line count to A LD B,$00 ; make B zero LDIR ; copy bytes (BC=0, H incremented, L=0) LD B,$07 ; set B to 7, C is zero. ADD HL,BC ; add 7 to H to address next third. AND $F8 ; has last third been done ? JR NZ,L0E0D ; back to CL-SCR-2 if not. POP HL ; restore topmost address. INC H ; next pixel line down. POP BC ; restore counts. DEC C ; reduce pixel line count. JR NZ,L0E05 ; back to CL-SCR-1 if all eight not done. CALL L0E88 ; routine CL-ATTR gets address in attributes ; from current 'ninth line', count in BC. LD HL,$FFE0 ; set HL to the 16-bit value -32. ADD HL,DE ; and add to form destination address. EX DE,HL ; swap source and destination addresses. LDIR ; copy bytes scrolling the linear attributes. LD B,$01 ; continue to clear the bottom line. ; ------------------------------ ; THE 'CLEAR TEXT LINES' ROUTINE ; ------------------------------ ; This subroutine, called from CL-ALL, CLS-LOWER and AUTO-LIST and above, ; clears text lines at bottom of display. ; The B register holds on entry the number of lines to be cleared 1-24. ;; CL-LINE L0E44: PUSH BC ; save line count CALL L0E9B ; routine CL-ADDR gets top address LD C,$08 ; there are eight screen lines to a text line. ;; CL-LINE-1 L0E4A: PUSH BC ; save pixel line count PUSH HL ; and save the address LD A,B ; transfer the line to A (1-24). ;; CL-LINE-2 L0E4D: AND $07 ; mask 0-7 to consider thirds at a time RRCA ; multiply RRCA ; by 32 (same as five RLCA instructions) RRCA ; now 32 - 256(0) LD C,A ; store result in C LD A,B ; save line in A (1-24) LD B,$00 ; set high byte to 0, prepare for ldir. DEC C ; decrement count 31-255. LD D,H ; copy HL LD E,L ; to DE. LD (HL),$00 ; blank the first byte. INC DE ; make DE point to next byte. LDIR ; ldir will clear lines. LD DE,$0701 ; now address next third adjusting ADD HL,DE ; register E to address left hand side DEC A ; decrease the line count. AND $F8 ; will be 16, 8 or 0 (AND $18 will do). LD B,A ; transfer count to B. JR NZ,L0E4D ; back to CL-LINE-2 if 16 or 8 to do ; the next third. POP HL ; restore start address. INC H ; address next line down. POP BC ; fetch counts. DEC C ; decrement pixel line count JR NZ,L0E4A ; back to CL-LINE-1 till all done. CALL L0E88 ; routine CL-ATTR gets attribute address ; in DE and B * 32 in BC. LD H,D ; transfer the address LD L,E ; to HL. INC DE ; make DE point to next location. LD A,($5C8D) ; fetch ATTR_P - permanent attributes BIT 0,(IY+$02) ; test TV_FLAG - lower screen in use ? JR Z,L0E80 ; skip to CL-LINE-3 if not. LD A,($5C48) ; else lower screen uses BORDCR as attribute. ;; CL-LINE-3 L0E80: LD (HL),A ; put attribute in first byte. DEC BC ; decrement the counter. LDIR ; copy bytes to set all attributes. POP BC ; restore the line $01-$24. LD C,$21 ; make column $21. (No use is made of this) RET ; return to the calling routine. ; ------------------ ; Attribute handling ; ------------------ ; This subroutine is called from CL-LINE or CL-SCROLL with the HL register ; pointing to the 'ninth' line and H needs to be decremented before or after ; the division. Had it been done first then either present code or that used ; at the start of PO-ATTR could have been used. ; The Spectrum screen arrangement leads to the L register already holding ; the correct value for the attribute file and it is only necessary ; to manipulate H to form the correct colour attribute address. ;; CL-ATTR L0E88: LD A,H ; fetch H to A - $48, $50, or $58. RRCA ; divide by RRCA ; eight. RRCA ; $09, $0A or $0B. DEC A ; $08, $09 or $0A. OR $50 ; $58, $59 or $5A. LD H,A ; save high byte of attributes. EX DE,HL ; transfer attribute address to DE LD H,C ; set H to zero - from last LDIR. LD L,B ; load L with the line from B. ADD HL,HL ; multiply ADD HL,HL ; by ADD HL,HL ; thirty two ADD HL,HL ; to give count of attribute ADD HL,HL ; cells to the end of display. LD B,H ; transfer the result LD C,L ; to register BC. RET ; return. ; ------------------------------- ; Handle display with line number ; ------------------------------- ; This subroutine is called from four places to calculate the address ; of the start of a screen character line which is supplied in B. ;; CL-ADDR L0E9B: LD A,$18 ; reverse the line number SUB B ; to range $00 - $17. LD D,A ; save line in D for later. RRCA ; multiply RRCA ; by RRCA ; thirty-two. AND $E0 ; mask off low bits to make LD L,A ; L a multiple of 32. LD A,D ; bring back the line to A. AND $18 ; now $00, $08 or $10. OR $40 ; add the base address of screen. LD H,A ; HL now has the correct address. RET ; return. ; ------------------- ; Handle COPY command ; ------------------- ; This command copies the top 176 lines to the ZX Printer ; It is popular to call this from machine code at point ; L0EAF with B holding 192 (and interrupts disabled) for a full-screen ; copy. This particularly applies to 16K Spectrums as time-critical ; machine code routines cannot be written in the first 16K of RAM as ; it is shared with the ULA which has precedence over the Z80 chip. ;; COPY L0EAC: DI ; disable interrupts as this is time-critical. LD B,$B0 ; top 176 lines. L0EAF: LD HL,$4000 ; address start of the display file. ; now enter a loop to handle each pixel line. ;; COPY-1 L0EB2: PUSH HL ; save the screen address. PUSH BC ; and the line counter. CALL L0EF4 ; routine COPY-LINE outputs one line. POP BC ; restore the line counter. POP HL ; and display address. INC H ; next line down screen within 'thirds'. LD A,H ; high byte to A. AND $07 ; result will be zero if we have left third. JR NZ,L0EC9 ; forward to COPY-2 if not to continue loop. LD A,L ; consider low byte first. ADD A,$20 ; increase by 32 - sets carry if back to zero. LD L,A ; will be next group of 8. CCF ; complement - carry set if more lines in ; the previous third. SBC A,A ; will be FF, if more, else 00. AND $F8 ; will be F8 (-8) or 00. ADD A,H ; that is subtract 8, if more to do in third. LD H,A ; and reset address. ;; COPY-2 L0EC9: DJNZ L0EB2 ; back to COPY-1 for all lines. JR L0EDA ; forward to COPY-END to switch off the printer ; motor and enable interrupts. ; Note. Nothing else is required. ; ------------------------------ ; Pass printer buffer to printer ; ------------------------------ ; This routine is used to copy 8 text lines from the printer buffer ; to the ZX Printer. These text lines are mapped linearly so HL does ; not need to be adjusted at the end of each line. ;; COPY-BUFF L0ECD: DI ; disable interrupts LD HL,$5B00 ; the base address of the Printer Buffer. LD B,$08 ; set count to 8 lines of 32 bytes. ;; COPY-3 L0ED3: PUSH BC ; save counter. CALL L0EF4 ; routine COPY-LINE outputs 32 bytes POP BC ; restore counter. DJNZ L0ED3 ; loop back to COPY-3 for all 8 lines. ; then stop motor and clear buffer. ; Note. the COPY command rejoins here, essentially to execute the next ; three instructions. ;; COPY-END L0EDA: LD A,$04 ; output value 4 to port OUT ($FB),A ; to stop the slowed printer motor. EI ; enable interrupts. ; -------------------- ; Clear Printer Buffer ; -------------------- ; This routine clears an arbitrary 256 bytes of memory. ; Note. The routine seems designed to clear a buffer that follows the ; system variables. ; The routine should check a flag or HL address and simply return if COPY ; is in use. ; As a consequence of this omission the buffer will needlessly ; be cleared when COPY is used and the screen/printer position may be set to ; the start of the buffer and the line number to 0 (B) ; giving an 'Out of Screen' error. ; There seems to have been an unsuccessful attempt to circumvent the use ; of PR_CC_hi. ;; CLEAR-PRB L0EDF: LD HL,$5B00 ; the location of the buffer. LD (IY+$46),L ; update PR_CC_lo - set to zero - superfluous. XOR A ; clear the accumulator. LD B,A ; set count to 256 bytes. ;; PRB-BYTES L0EE7: LD (HL),A ; set addressed location to zero. INC HL ; address next byte - Note. not INC L. DJNZ L0EE7 ; back to PRB-BYTES. repeat for 256 bytes. RES 1,(IY+$30) ; set FLAGS2 - signal printer buffer is clear. LD C,$21 ; set the column position . JP L0DD9 ; exit via CL-SET and then PO-STORE. ; ----------------- ; Copy line routine ; ----------------- ; This routine is called from COPY and COPY-BUFF to output a line of ; 32 bytes to the ZX Printer. ; Output to port $FB - ; bit 7 set - activate stylus. ; bit 7 low - deactivate stylus. ; bit 2 set - stops printer. ; bit 2 reset - starts printer ; bit 1 set - slows printer. ; bit 1 reset - normal speed. ;; COPY-LINE L0EF4: LD A,B ; fetch the counter 1-8 or 1-176 CP $03 ; is it 01 or 02 ?. SBC A,A ; result is $FF if so else $00. AND $02 ; result is 02 now else 00. ; bit 1 set slows the printer. OUT ($FB),A ; slow the printer for the ; last two lines. LD D,A ; save the mask to control the printer later. ;; COPY-L-1 L0EFD: CALL L1F54 ; call BREAK-KEY to read keyboard immediately. JR C,L0F0C ; forward to COPY-L-2 if 'break' not pressed. LD A,$04 ; else stop the OUT ($FB),A ; printer motor. EI ; enable interrupts. CALL L0EDF ; call routine CLEAR-PRB. ; Note. should not be cleared if COPY in use. ;; REPORT-Dc L0F0A: RST 08H ; ERROR-1 DEFB $0C ; Error Report: BREAK - CONT repeats ;; COPY-L-2 L0F0C: IN A,($FB) ; test now to see if ADD A,A ; a printer is attached. RET M ; return if not - but continue with parent ; command. JR NC,L0EFD ; back to COPY-L-1 if stylus of printer not ; in position. LD C,$20 ; set count to 32 bytes. ;; COPY-L-3 L0F14: LD E,(HL) ; fetch a byte from line. INC HL ; address next location. Note. not INC L. LD B,$08 ; count the bits. ;; COPY-L-4 L0F18: RL D ; prepare mask to receive bit. RL E ; rotate leftmost print bit to carry RR D ; and back to bit 7 of D restoring bit 1 ;; COPY-L-5 L0F1E: IN A,($FB) ; read the port. RRA ; bit 0 to carry. JR NC,L0F1E ; back to COPY-L-5 if stylus not in position. LD A,D ; transfer command bits to A. OUT ($FB),A ; and output to port. DJNZ L0F18 ; loop back to COPY-L-4 for all 8 bits. DEC C ; decrease the byte count. JR NZ,L0F14 ; back to COPY-L-3 until 256 bits done. RET ; return to calling routine COPY/COPY-BUFF. ; ---------------------------------- ; Editor routine for BASIC and INPUT ; ---------------------------------- ; The editor is called to prepare or edit a BASIC line. ; It is also called from INPUT to input a numeric or string expression. ; The behaviour and options are quite different in the various modes ; and distinguished by bit 5 of FLAGX. ; ; This is a compact and highly versatile routine. ;; EDITOR L0F2C: LD HL,($5C3D) ; fetch ERR_SP PUSH HL ; save on stack ;; ED-AGAIN L0F30: LD HL,L107F ; address: ED-ERROR PUSH HL ; save address on stack and LD ($5C3D),SP ; make ERR_SP point to it. ; Note. While in editing/input mode should an error occur then RST 08 will ; update X_PTR to the location reached by CH_ADD and jump to ED-ERROR ; where the error will be cancelled and the loop begin again from ED-AGAIN ; above. The position of the error will be apparent when the lower screen is ; reprinted. If no error then the re-iteration is to ED-LOOP below when ; input is arriving from the keyboard. ;; ED-LOOP L0F38: CALL L15D4 ; routine WAIT-KEY gets key possibly ; changing the mode. PUSH AF ; save key. LD D,$00 ; and give a short click based LD E,(IY-$01) ; on PIP value for duration. LD HL,$00C8 ; and pitch. CALL L03B5 ; routine BEEPER gives click - effective ; with rubber keyboard. POP AF ; get saved key value. LD HL,L0F38 ; address: ED-LOOP is loaded to HL. PUSH HL ; and pushed onto stack. ; At this point there is a looping return address on the stack, an error ; handler and an input stream set up to supply characters. ; The character that has been received can now be processed. CP $18 ; range 24 to 255 ? JR NC,L0F81 ; forward to ADD-CHAR if so. CP $07 ; lower than 7 ? JR C,L0F81 ; forward to ADD-CHAR also. ; Note. This is a 'bug' and chr$ 6, the comma ; control character, should have had an ; entry in the ED-KEYS table. ; Steven Vickers, 1984, Pitman. CP $10 ; less than 16 ? JR C,L0F92 ; forward to ED-KEYS if editing control ; range 7 to 15 dealt with by a table LD BC,$0002 ; prepare for ink/paper etc. LD D,A ; save character in D CP $16 ; is it ink/paper/bright etc. ? JR C,L0F6C ; forward to ED-CONTR if so ; leaves 22d AT and 23d TAB ; which can't be entered via KEY-INPUT. ; so this code is never normally executed ; when the keyboard is used for input. INC BC ; if it was AT/TAB - 3 locations required BIT 7,(IY+$37) ; test FLAGX - Is this INPUT LINE ? JP Z,L101E ; jump to ED-IGNORE if not, else CALL L15D4 ; routine WAIT-KEY - input address is KEY-NEXT ; but is reset to KEY-INPUT LD E,A ; save first in E ;; ED-CONTR L0F6C: CALL L15D4 ; routine WAIT-KEY for control. ; input address will be key-next. PUSH DE ; saved code/parameters LD HL,($5C5B) ; fetch address of keyboard cursor from K_CUR RES 0,(IY+$07) ; set MODE to 'L' CALL L1655 ; routine MAKE-ROOM makes 2/3 spaces at cursor POP BC ; restore code/parameters INC HL ; address first location LD (HL),B ; place code (ink etc.) INC HL ; address next LD (HL),C ; place possible parameter. If only one ; then DE points to this location also. JR L0F8B ; forward to ADD-CH-1 ; ------------------------ ; Add code to current line ; ------------------------ ; this is the branch used to add normal non-control characters ; with ED-LOOP as the stacked return address. ; it is also the OUTPUT service routine for system channel 'R'. ;; ADD-CHAR L0F81: RES 0,(IY+$07) ; set MODE to 'L' X0F85: LD HL,($5C5B) ; fetch address of keyboard cursor from K_CUR CALL L1652 ; routine ONE-SPACE creates one space. ; either a continuation of above or from ED-CONTR with ED-LOOP on stack. ;; ADD-CH-1 L0F8B: LD (DE),A ; load current character to last new location. INC DE ; address next LD ($5C5B),DE ; and update K_CUR system variable. RET ; return - either a simple return ; from ADD-CHAR or to ED-LOOP on stack. ; --- ; a branch of the editing loop to deal with control characters ; using a look-up table. ;; ED-KEYS L0F92: LD E,A ; character to E. LD D,$00 ; prepare to add. LD HL,L0FA0 - 7 ; base address of editing keys table. $0F99 ADD HL,DE ; add E LD E,(HL) ; fetch offset to E ADD HL,DE ; add offset for address of handling routine. PUSH HL ; push the address on machine stack. LD HL,($5C5B) ; load address of cursor from K_CUR. RET ; Make an indirect jump forward to routine. ; ------------------ ; Editing keys table ; ------------------ ; For each code in the range $07 to $0F this table contains a ; single offset byte to the routine that services that code. ; Note. for what was intended there should also have been an ; entry for chr$ 6 with offset to ed-symbol. ;; ed-keys-t L0FA0: DEFB L0FA9 - ASMPC ; 07d offset $09 to Address: ED-EDIT DEFB L1007 - ASMPC ; 08d offset $66 to Address: ED-LEFT DEFB L100C - ASMPC ; 09d offset $6A to Address: ED-RIGHT DEFB L0FF3 - ASMPC ; 10d offset $50 to Address: ED-DOWN DEFB L1059 - ASMPC ; 11d offset $B5 to Address: ED-UP DEFB L1015 - ASMPC ; 12d offset $70 to Address: ED-DELETE DEFB L1024 - ASMPC ; 13d offset $7E to Address: ED-ENTER DEFB L1076 - ASMPC ; 14d offset $CF to Address: ED-SYMBOL DEFB L107C - ASMPC ; 15d offset $D4 to Address: ED-GRAPH ; --------------- ; Handle EDIT key ; --------------- ; The user has pressed SHIFT 1 to bring edit line down to bottom of screen. ; Alternatively the user wishes to clear the input buffer and start again. ; Alternatively ... ;; ED-EDIT L0FA9: LD HL,($5C49) ; fetch E_PPC the last line number entered. ; Note. may not exist and may follow program. BIT 5,(IY+$37) ; test FLAGX - input mode ? JP NZ,L1097 ; jump forward to CLEAR-SP if not in editor. CALL L196E ; routine LINE-ADDR to find address of line ; or following line if it doesn't exist. CALL L1695 ; routine LINE-NO will get line number from ; address or previous line if at end-marker. LD A,D ; if there is no program then DE will OR E ; contain zero so test for this. JP Z,L1097 ; jump to CLEAR-SP if so. ; Note. at this point we have a validated line number, not just an ; approximation and it would be best to update E_PPC with the true ; cursor line value which would enable the line cursor to be suppressed ; in all situations - see shortly. PUSH HL ; save address of line. INC HL ; address low byte of length. LD C,(HL) ; transfer to C INC HL ; next to high byte LD B,(HL) ; transfer to B. LD HL,$000A ; an overhead of ten bytes ADD HL,BC ; is added to length. LD B,H ; transfer adjusted value LD C,L ; to BC register. CALL L1F05 ; routine TEST-ROOM checks free memory. CALL L1097 ; routine CLEAR-SP clears editing area. LD HL,($5C51) ; address CURCHL EX (SP),HL ; swap with line address on stack PUSH HL ; save line address underneath LD A,$FF ; select system channel 'R' CALL L1601 ; routine CHAN-OPEN opens it POP HL ; drop line address DEC HL ; make it point to first byte of line num. DEC (IY+$0F) ; decrease E_PPC_lo to suppress line cursor. ; Note. ineffective when E_PPC is one ; greater than last line of program perhaps ; as a result of a delete. ; credit. Paul Harrison 1982. CALL L1855 ; routine OUT-LINE outputs the BASIC line ; to the editing area. INC (IY+$0F) ; restore E_PPC_lo to the previous value. LD HL,($5C59) ; address E_LINE in editing area. INC HL ; advance INC HL ; past space INC HL ; and digit characters INC HL ; of line number. LD ($5C5B),HL ; update K_CUR to address start of BASIC. POP HL ; restore the address of CURCHL. CALL L1615 ; routine CHAN-FLAG sets flags for it. RET ; RETURN to ED-LOOP. ; ------------------- ; Cursor down editing ; ------------------- ; The BASIC lines are displayed at the top of the screen and the user ; wishes to move the cursor down one line in edit mode. ; With INPUT LINE, this key must be used instead of entering STOP. ;; ED-DOWN L0FF3: BIT 5,(IY+$37) ; test FLAGX - Input Mode ? JR NZ,L1001 ; skip to ED-STOP if so LD HL,$5C49 ; address E_PPC - 'current line' CALL L190F ; routine LN-FETCH fetches number of next ; line or same if at end of program. JR L106E ; forward to ED-LIST to produce an ; automatic listing. ; --- ;; ED-STOP L1001: LD (IY+$00),$10 ; set ERR_NR to 'STOP in INPUT' code JR L1024 ; forward to ED-ENTER to produce error. ; ------------------- ; Cursor left editing ; ------------------- ; This acts on the cursor in the lower section of the screen in both ; editing and input mode. ;; ED-LEFT L1007: CALL L1031 ; routine ED-EDGE moves left if possible JR L1011 ; forward to ED-CUR to update K-CUR ; and return to ED-LOOP. ; -------------------- ; Cursor right editing ; -------------------- ; This acts on the cursor in the lower screen in both editing and input ; mode and moves it to the right. ;; ED-RIGHT L100C: LD A,(HL) ; fetch addressed character. CP $0D ; is it carriage return ? RET Z ; return if so to ED-LOOP INC HL ; address next character ;; ED-CUR L1011: LD ($5C5B),HL ; update K_CUR system variable RET ; return to ED-LOOP ; -------------- ; DELETE editing ; -------------- ; This acts on the lower screen and deletes the character to left of ; cursor. If control characters are present these are deleted first ; leaving the naked parameter (0-7) which appears as a '?' except in the ; case of chr$ 6 which is the comma control character. It is not mandatory ; to delete these second characters. ;; ED-DELETE L1015: CALL L1031 ; routine ED-EDGE moves cursor to left. LD BC,$0001 ; of character to be deleted. JP L19E8 ; to RECLAIM-2 reclaim the character. ; ------------------------------------------ ; Ignore next 2 codes from key-input routine ; ------------------------------------------ ; Since AT and TAB cannot be entered this point is never reached ; from the keyboard. If inputting from a tape device or network then ; the control and two following characters are ignored and processing ; continues as if a carriage return had been received. ; Here, perhaps, another Spectrum has said print #15; AT 0,0; "This is yellow" ; and this one is interpreting input #15; a$. ;; ED-IGNORE L101E: CALL L15D4 ; routine WAIT-KEY to ignore keystroke. CALL L15D4 ; routine WAIT-KEY to ignore next key. ; ------------- ; Enter/newline ; ------------- ; The enter key has been pressed to have BASIC line or input accepted. ;; ED-ENTER L1024: POP HL ; discard address ED-LOOP POP HL ; drop address ED-ERROR ;; ED-END L1026: POP HL ; the previous value of ERR_SP LD ($5C3D),HL ; is restored to ERR_SP system variable BIT 7,(IY+$00) ; is ERR_NR $FF (= 'OK') ? RET NZ ; return if so LD SP,HL ; else put error routine on stack RET ; and make an indirect jump to it. ; ----------------------------- ; Move cursor left when editing ; ----------------------------- ; This routine moves the cursor left. The complication is that it must ; not position the cursor between control codes and their parameters. ; It is further complicated in that it deals with TAB and AT characters ; which are never present from the keyboard. ; The method is to advance from the beginning of the line each time, ; jumping one, two, or three characters as necessary saving the original ; position at each jump in DE. Once it arrives at the cursor then the next ; legitimate leftmost position is in DE. ;; ED-EDGE L1031: SCF ; carry flag must be set to call the nested CALL L1195 ; subroutine SET-DE. ; if input then DE=WORKSP ; if editing then DE=E_LINE SBC HL,DE ; subtract address from start of line ADD HL,DE ; and add back. INC HL ; adjust for carry. POP BC ; drop return address RET C ; return to ED-LOOP if already at left ; of line. PUSH BC ; resave return address - ED-LOOP. LD B,H ; transfer HL - cursor address LD C,L ; to BC register pair. ; at this point DE addresses start of line. ;; ED-EDGE-1 L103E: LD H,D ; transfer DE - leftmost pointer LD L,E ; to HL INC HL ; address next leftmost character to ; advance position each time. LD A,(DE) ; pick up previous in A AND $F0 ; lose the low bits CP $10 ; is it INK to TAB $10-$1F ? ; that is, is it followed by a parameter ? JR NZ,L1051 ; to ED-EDGE-2 if not ; HL has been incremented once INC HL ; address next as at least one parameter. ; in fact since 'tab' and 'at' cannot be entered the next section seems ; superfluous. ; The test will always fail and the jump to ED-EDGE-2 will be taken. LD A,(DE) ; reload leftmost character SUB $17 ; decimal 23 ('tab') ADC A,$00 ; will be 0 for 'tab' and 'at'. JR NZ,L1051 ; forward to ED-EDGE-2 if not ; HL has been incremented twice INC HL ; increment a third time for 'at'/'tab' ;; ED-EDGE-2 L1051: AND A ; prepare for true subtraction SBC HL,BC ; subtract cursor address from pointer ADD HL,BC ; and add back ; Note when HL matches the cursor position BC, ; there is no carry and the previous ; position is in DE. EX DE,HL ; transfer result to DE if looping again. ; transfer DE to HL to be used as K-CUR ; if exiting loop. JR C,L103E ; back to ED-EDGE-1 if cursor not matched. RET ; return. ; ----------------- ; Cursor up editing ; ----------------- ; The main screen displays part of the BASIC program and the user wishes ; to move up one line scrolling if necessary. ; This has no alternative use in input mode. ;; ED-UP L1059: BIT 5,(IY+$37) ; test FLAGX - input mode ? RET NZ ; return if not in editor - to ED-LOOP. LD HL,($5C49) ; get current line from E_PPC CALL L196E ; routine LINE-ADDR gets address EX DE,HL ; and previous in DE CALL L1695 ; routine LINE-NO gets prev line number LD HL,$5C4A ; set HL to E_PPC_hi as next routine stores ; top first. CALL L191C ; routine LN-STORE loads DE value to HL ; high byte first - E_PPC_lo takes E ; this branch is also taken from ed-down. ;; ED-LIST L106E: CALL L1795 ; routine AUTO-LIST lists to upper screen ; including adjusted current line. LD A,$00 ; select lower screen again JP L1601 ; exit via CHAN-OPEN to ED-LOOP ; -------------------------------- ; Use of symbol and graphics codes ; -------------------------------- ; These will not be encountered with the keyboard but would be handled ; otherwise as follows. ; As noted earlier, Vickers says there should have been an entry in ; the KEYS table for chr$ 6 which also pointed here. ; If, for simplicity, two Spectrums were both using #15 as a bi-directional ; channel connected to each other:- ; then when the other Spectrum has said PRINT #15; x, y ; input #15; i ; j would treat the comma control as a newline and the ; control would skip to input j. ; You can get round the missing chr$ 6 handler by sending multiple print ; items separated by a newline '. ; chr$14 would have the same functionality. ; This is chr$ 14. ;; ED-SYMBOL L1076: BIT 7,(IY+$37) ; test FLAGX - is this INPUT LINE ? JR Z,L1024 ; back to ED-ENTER if not to treat as if ; enter had been pressed. ; else continue and add code to buffer. ; Next is chr$ 15 ; Note that ADD-CHAR precedes the table so we can't offset to it directly. ;; ED-GRAPH L107C: JP L0F81 ; jump back to ADD-CHAR ; -------------------- ; Editor error routine ; -------------------- ; If an error occurs while editing, or inputting, then ERR_SP ; points to the stack location holding address ED_ERROR. ;; ED-ERROR L107F: BIT 4,(IY+$30) ; test FLAGS2 - is K channel in use ? JR Z,L1026 ; back to ED-END if not. ; but as long as we're editing lines or inputting from the keyboard, then ; we've run out of memory so give a short rasp. LD (IY+$00),$FF ; reset ERR_NR to 'OK'. LD D,$00 ; prepare for beeper. LD E,(IY-$02) ; use RASP value. LD HL,$1A90 ; set the pitch - or tone period. CALL L03B5 ; routine BEEPER emits a warning rasp. JP L0F30 ; to ED-AGAIN to re-stack address of ; this routine and make ERR_SP point to it. ; --------------------- ; Clear edit/work space ; --------------------- ; The editing area or workspace is cleared depending on context. ; This is called from ED-EDIT to clear workspace if edit key is ; used during input, to clear editing area if no program exists ; and to clear editing area prior to copying the edit line to it. ; It is also used by the error routine to clear the respective ; area depending on FLAGX. ;; CLEAR-SP L1097: PUSH HL ; preserve HL CALL L1190 ; routine SET-HL ; if in edit HL = WORKSP-1, DE = E_LINE ; if in input HL = STKBOT, DE = WORKSP DEC HL ; adjust CALL L19E5 ; routine RECLAIM-1 reclaims space LD ($5C5B),HL ; set K_CUR to start of empty area LD (IY+$07),$00 ; set MODE to 'KLC' POP HL ; restore HL. RET ; return. ; ---------------------------- ; THE 'KEYBOARD INPUT' ROUTINE ; ---------------------------- ; This is the service routine for the input stream of the keyboard channel 'K'. ;; KEY-INPUT L10A8: BIT 3,(IY+$02) ; test TV_FLAG - has a key been pressed in ; editor ? CALL NZ,L111D ; routine ED-COPY, if so, to reprint the lower ; screen at every keystroke/mode change. AND A ; clear carry flag - required exit condition. BIT 5,(IY+$01) ; test FLAGS - has a new key been pressed ? RET Z ; return if not. >> LD A,($5C08) ; system variable LASTK will hold last key - ; from the interrupt routine. RES 5,(IY+$01) ; update FLAGS - reset the new key flag. PUSH AF ; save the input character. BIT 5,(IY+$02) ; test TV_FLAG - clear lower screen ? CALL NZ,L0D6E ; routine CLS-LOWER if so. POP AF ; restore the character code. CP $20 ; if space or higher then JR NC,L111B ; forward to KEY-DONE2 and return with carry ; set to signal key-found. CP $10 ; with 16d INK and higher skip JR NC,L10FA ; forward to KEY-CONTR. CP $06 ; for 6 - 15d JR NC,L10DB ; skip forward to KEY-M-CL to handle Modes ; and CapsLock. ; that only leaves 0-5, the flash bright inverse switches. LD B,A ; save character in B AND $01 ; isolate the embedded parameter (0/1). LD C,A ; and store in C LD A,B ; re-fetch copy (0-5) RRA ; halve it 0, 1 or 2. ADD A,$12 ; add 18d gives 'flash', 'bright' ; and 'inverse'. JR L1105 ; forward to KEY-DATA with the ; parameter (0/1) in C. ; --- ; Now separate capslock 06 from modes 7-15. ;; KEY-M-CL L10DB: JR NZ,L10E6 ; forward to KEY-MODE if not 06 (capslock) LD HL,$5C6A ; point to FLAGS2 LD A,$08 ; value 00001000 XOR (HL) ; toggle BIT 3 of FLAGS2 the capslock bit LD (HL),A ; and store result in FLAGS2 again. JR L10F4 ; forward to KEY-FLAG to signal no-key. ; --- ;; KEY-MODE L10E6: CP $0E ; compare with chr 14d RET C ; return with carry set "key found" for ; codes 7 - 13d leaving 14d and 15d ; which are converted to mode codes. SUB $0D ; subtract 13d leaving 1 and 2 ; 1 is 'E' mode, 2 is 'G' mode. LD HL,$5C41 ; address the MODE system variable. CP (HL) ; compare with existing value before LD (HL),A ; inserting the new value. JR NZ,L10F4 ; forward to KEY-FLAG if it has changed. LD (HL),$00 ; else make MODE zero - KLC mode ; Note. while in Extended/Graphics mode, ; the Extended Mode/Graphics key is pressed ; again to get out. ;; KEY-FLAG L10F4: SET 3,(IY+$02) ; update TV_FLAG - show key state has changed CP A ; clear carry and reset zero flags - ; no actual key returned. RET ; make the return. ; --- ; now deal with colour controls - 16-23 ink, 24-31 paper ;; KEY-CONTR L10FA: LD B,A ; make a copy of character. AND $07 ; mask to leave bits 0-7 LD C,A ; and store in C. LD A,$10 ; initialize to 16d - INK. BIT 3,B ; was it paper ? JR NZ,L1105 ; forward to KEY-DATA with INK 16d and ; colour in C. INC A ; else change from INK to PAPER (17d) if so. ;; KEY-DATA L1105: LD (IY-$2D),C ; put the colour (0-7)/state(0/1) in KDATA LD DE,L110D ; address: KEY-NEXT will be next input stream JR L1113 ; forward to KEY-CHAN to change it ... ; --- ; ... so that INPUT_AD directs control to here at next call to WAIT-KEY ;; KEY-NEXT L110D: LD A,($5C0D) ; pick up the parameter stored in KDATA. LD DE,L10A8 ; address: KEY-INPUT will be next input stream ; continue to restore default channel and ; make a return with the control code. ;; KEY-CHAN L1113: LD HL,($5C4F) ; address start of CHANNELS area using CHANS ; system variable. ; Note. One might have expected CURCHL to ; have been used. INC HL ; step over the INC HL ; output address LD (HL),E ; and update the input INC HL ; routine address for LD (HL),D ; the next call to WAIT-KEY. ;; KEY-DONE2 L111B: SCF ; set carry flag to show a key has been found RET ; and return. ; -------------------- ; Lower screen copying ; -------------------- ; This subroutine is called whenever the line in the editing area or ; input workspace is required to be printed to the lower screen. ; It is by calling this routine after any change that the cursor, for ; instance, appears to move to the left. ; Remember the edit line will contain characters and tokens ; e.g. "1000 LET a=1" is 8 characters. ;; ED-COPY L111D: CALL L0D4D ; routine TEMPS sets temporary attributes. RES 3,(IY+$02) ; update TV_FLAG - signal no change in mode RES 5,(IY+$02) ; update TV_FLAG - signal don't clear lower ; screen. LD HL,($5C8A) ; fetch SPOSNL PUSH HL ; and save on stack. LD HL,($5C3D) ; fetch ERR_SP PUSH HL ; and save also LD HL,L1167 ; address: ED-FULL PUSH HL ; is pushed as the error routine LD ($5C3D),SP ; and ERR_SP made to point to it. LD HL,($5C82) ; fetch ECHO_E PUSH HL ; and push also SCF ; set carry flag to control SET-DE CALL L1195 ; call routine SET-DE ; if in input DE = WORKSP ; if in edit DE = E_LINE EX DE,HL ; start address to HL CALL L187D ; routine OUT-LINE2 outputs entire line up to ; carriage return including initial ; characterized line number when present. EX DE,HL ; transfer new address to DE CALL L18E1 ; routine OUT-CURS considers a ; terminating cursor. LD HL,($5C8A) ; fetch updated SPOSNL EX (SP),HL ; exchange with ECHO_E on stack EX DE,HL ; transfer ECHO_E to DE CALL L0D4D ; routine TEMPS to re-set attributes ; if altered. ; the lower screen was not cleared, at the outset, so if deleting then old ; text from a previous print may follow this line and requires blanking. ;; ED-BLANK L1150: LD A,($5C8B) ; fetch SPOSNL_hi is current line SUB D ; compare with old JR C,L117C ; forward to ED-C-DONE if no blanking JR NZ,L115E ; forward to ED-SPACES if line has changed LD A,E ; old column to A SUB (IY+$50) ; subtract new in SPOSNL_lo JR NC,L117C ; forward to ED-C-DONE if no backfilling. ;; ED-SPACES L115E: LD A,$20 ; prepare a space. PUSH DE ; save old line/column. CALL L09F4 ; routine PRINT-OUT prints a space over ; any text from previous print. ; Note. Since the blanking only occurs when ; using $09F4 to print to the lower screen, ; there is no need to vector via a RST 10 ; and we can use this alternate set. POP DE ; restore the old line column. JR L1150 ; back to ED-BLANK until all old text blanked. ; ------------------------------- ; THE 'EDITOR-FULL' ERROR ROUTINE ; ------------------------------- ; This is the error routine addressed by ERR_SP. This is not for the out of ; memory situation as we're just printing. The pitch and duration are exactly ; the same as used by ED-ERROR from which this has been augmented. The ; situation is that the lower screen is full and a rasp is given to suggest ; that this is perhaps not the best idea you've had that day. ;; ED-FULL L1167: LD D,$00 ; prepare to moan. LD E,(IY-$02) ; fetch RASP value. LD HL,$1A90 ; set pitch or tone period. CALL L03B5 ; routine BEEPER. LD (IY+$00),$FF ; clear ERR_NR. LD DE,($5C8A) ; fetch SPOSNL. JR L117E ; forward to ED-C-END ; ------- ; the exit point from line printing continues here. ;; ED-C-DONE L117C: POP DE ; fetch new line/column. POP HL ; fetch the error address. ; the error path rejoins here. ;; ED-C-END L117E: POP HL ; restore the old value of ERR_SP. LD ($5C3D),HL ; update the system variable ERR_SP POP BC ; old value of SPOSN_L PUSH DE ; save new value CALL L0DD9 ; routine CL-SET and PO-STORE ; update ECHO_E and SPOSN_L from BC POP HL ; restore new value LD ($5C82),HL ; and overwrite ECHO_E LD (IY+$26),$00 ; make error pointer X_PTR_hi out of bounds RET ; return ; ----------------------------------------------- ; Point to first and last locations of work space ; ----------------------------------------------- ; These two nested routines ensure that the appropriate pointers are ; selected for the editing area or workspace. The routines that call ; these routines are designed to work on either area. ; this routine is called once ;; SET-HL L1190: LD HL,($5C61) ; fetch WORKSP to HL. DEC HL ; point to last location of editing area. AND A ; clear carry to limit exit points to first ; or last. ; this routine is called with carry set and exits at a conditional return. ;; SET-DE L1195: LD DE,($5C59) ; fetch E_LINE to DE BIT 5,(IY+$37) ; test FLAGX - Input Mode ? RET Z ; return now if in editing mode LD DE,($5C61) ; fetch WORKSP to DE RET C ; return if carry set ( entry = set-de) LD HL,($5C63) ; fetch STKBOT to HL as well RET ; and return (entry = set-hl (in input)) ; ----------------------------------- ; THE 'REMOVE FLOATING POINT' ROUTINE ; ----------------------------------- ; When a BASIC LINE or the INPUT BUFFER is parsed any numbers will have ; an invisible chr 14d inserted after them and the 5-byte integer or ; floating point form inserted after that. Similar invisible value holders ; are also created after the numeric and string variables in a DEF FN list. ; This routine removes these 'compiled' numbers from the edit line or ; input workspace. ;; REMOVE-FP L11A7: LD A,(HL) ; fetch character CP $0E ; is it the CHR$ 14 number marker ? LD BC,$0006 ; prepare to strip six bytes CALL Z,L19E8 ; routine RECLAIM-2 reclaims bytes if CHR$ 14. LD A,(HL) ; reload next (or same) character INC HL ; and advance address CP $0D ; end of line or input buffer ? JR NZ,L11A7 ; back to REMOVE-FP until entire line done. RET ; return.
42.370758
80
0.489673
3ff4aa1cbf6f5975be38eb474c933b2f5a2f3e8d
9,417
asm
Assembly
test/cmp.asm
clayne/AssemblyLine
cd0ac926117b6b8d3a377fba03b2bc048241eb02
[ "Apache-2.0" ]
null
null
null
test/cmp.asm
clayne/AssemblyLine
cd0ac926117b6b8d3a377fba03b2bc048241eb02
[ "Apache-2.0" ]
null
null
null
test/cmp.asm
clayne/AssemblyLine
cd0ac926117b6b8d3a377fba03b2bc048241eb02
[ "Apache-2.0" ]
null
null
null
SECTION .text GLOBAL test test: cmp rsp, 0x39a8 cmp r10, r11 cmp r10, r12 cmp r10, r13 cmp r10, r14 cmp r10, r15 cmp r10, r8 cmp r10, r9 cmp r10, rax cmp r10, rbp cmp r10, rbx cmp r10, rcx cmp r10, rdi cmp r10, rdx cmp r10, rsi cmp r10, [ rsp + 0x11f0 ] cmp r10, [ rsp + 0x19f0 ] cmp r10, [ rsp + 0x1b10 ] cmp r10, [ rsp + 0x1c10 ] cmp r10, [ rsp + 0x1c8 ] cmp r10, [ rsp + 0x1de8 ] cmp r10, [ rsp + 0x1f90 ] cmp r10, [ rsp + 0x2708 ] cmp r10, [ rsp + 0x2970 ] cmp r10, [ rsp + 0x2e10 ] cmp r10, [ rsp + 0x30e0 ] cmp r10, [ rsp + 0x35c0 ] cmp r10, [ rsp + 0x460 ] cmp r10, [ rsp + 0x680 ] cmp r10, [ rsp + 0xb48 ] cmp r11, r10 cmp r11, r12 cmp r11, r13 cmp r11, r14 cmp r11, r15 cmp r11, r8 cmp r11, r9 cmp r11, rax cmp r11, rcx cmp r11, rdi cmp r11, rsi cmp r11, [ rsp + 0x14a0 ] cmp r11, [ rsp + 0x158 ] cmp r11, [ rsp + 0x1750 ] cmp r11, [ rsp + 0x2218 ] cmp r11, [ rsp + 0x24b0 ] cmp r11, [ rsp + 0x2688 ] cmp r11, [ rsp + 0x26c0 ] cmp r11, [ rsp + 0x2920 ] cmp r11, [ rsp + 0x2938 ] cmp r11, [ rsp + 0x29b0 ] cmp r11, [ rsp + 0x3780 ] cmp r11, [ rsp + 0x37e8 ] cmp r11, [ rsp + 0xbd8 ] cmp r12, r10 cmp r12, r11 cmp r12, r13 cmp r12, r14 cmp r12, r15 cmp r12, r9 cmp r12, rax cmp r12, rbp cmp r12, rbx cmp r12, rcx cmp r12, rdi cmp r12, rdx cmp r12, rsi cmp r12, [ rsp + 0x1048 ] cmp r12, [ rsp + 0x12a0 ] cmp r12, [ rsp + 0x1428 ] cmp r12, [ rsp + 0x16c8 ] cmp r12, [ rsp + 0x220 ] cmp r12, [ rsp + 0x23b8 ] cmp r12, [ rsp + 0x2520 ] cmp r12, [ rsp + 0x2528 ] cmp r12, [ rsp + 0x29a8 ] cmp r12, [ rsp + 0x2be8 ] cmp r12, [ rsp + 0x910 ] cmp r13, r11 cmp r13, r12 cmp r13, r15 cmp r13, r8 cmp r13, r9 cmp r13, rax cmp r13, rbp cmp r13, rcx cmp r13, rdi cmp r13, rdx cmp r13, rsi cmp r13, [ rsp + 0x110 ] cmp r13, [ rsp + 0x14c0 ] cmp r13, [ rsp + 0x1d90 ] cmp r13, [ rsp + 0x1fe8 ] cmp r13, [ rsp + 0x2228 ] cmp r13, [ rsp + 0x2780 ] cmp r13, [ rsp + 0x27d0 ] cmp r13, [ rsp + 0x2c20 ] cmp r13, [ rsp + 0x3658 ] cmp r13, [ rsp + 0x3c8 ] cmp r13, [ rsp + 0xe08 ] cmp r14, r10 cmp r14, r11 cmp r14, r12 cmp r14, r13 cmp r14, r15 cmp r14, r8 cmp r14, r9 cmp r14, rax cmp r14, rbp cmp r14, rcx cmp r14, rdx cmp r14, rsi cmp r14, [ rsp + 0x13e8 ] cmp r14, [ rsp + 0x17b0 ] cmp r14, [ rsp + 0x18c8 ] cmp r14, [ rsp + 0x1aa0 ] cmp r14, [ rsp + 0x1e58 ] cmp r14, [ rsp + 0x2088 ] cmp r14, [ rsp + 0x20e8 ] cmp r14, [ rsp + 0x2498 ] cmp r14, [ rsp + 0x2a10 ] cmp r14, [ rsp + 0x2da0 ] cmp r14, [ rsp + 0x32c0 ] cmp r14, [ rsp + 0x34f8 ] cmp r14, [ rsp + 0x3600 ] cmp r14, [ rsp + 0x3a8 ] cmp r14, [ rsp + 0x600 ] cmp r14, [ rsp + 0x848 ] cmp r14, [ rsp + 0xdc8 ] cmp r15, r10 cmp r15, r11 cmp r15, r13 cmp r15, r8 cmp r15, r9 cmp r15, rax cmp r15, rbp cmp r15, rbx cmp r15, rcx cmp r15, rdi cmp r15, rdx cmp r15, rsi cmp r15, [ rsp + 0x1910 ] cmp r15, [ rsp + 0x1968 ] cmp r15, [ rsp + 0x1b58 ] cmp r15, [ rsp + 0x1d0 ] cmp r15, [ rsp + 0x30c8 ] cmp r15, [ rsp + 0x3110 ] cmp r15, [ rsp + 0x3140 ] cmp r15, [ rsp + 0x8f8 ] cmp r15, [ rsp + 0xb70 ] cmp r15, [ rsp + 0xbe0 ] cmp r15, [ rsp + 0xd50 ] cmp r8, r11 cmp r8, r12 cmp r8, r13 cmp r8, r14 cmp r8, r15 cmp r8, r9 cmp r8, rax cmp r8, rbp cmp r8, rbx cmp r8, rcx cmp r8, rdi cmp r8, rdx cmp r8, [ rsp + 0x1270 ] cmp r8, [ rsp + 0x14b0 ] cmp r8, [ rsp + 0x1700 ] cmp r8, [ rsp + 0x1730 ] cmp r8, [ rsp + 0x1c08 ] cmp r8, [ rsp + 0x1fe0 ] cmp r8, [ rsp + 0x2110 ] cmp r8, [ rsp + 0x2500 ] cmp r8, [ rsp + 0x2e48 ] cmp r8, [ rsp + 0x3380 ] cmp r8, [ rsp + 0x3488 ] cmp r8, [ rsp + 0x38e8 ] cmp r8, [ rsp + 0x440 ] cmp r8, [ rsp + 0x6b8 ] cmp r8, [ rsp + 0xb90 ] cmp r8, [ rsp + 0xe18 ] cmp r8, [ rsp + 0xea0 ] cmp r8, [ rsp + 0xf78 ] cmp r8, [ rsp + 0xfe0 ] cmp r9, r10 cmp r9, r11 cmp r9, r12 cmp r9, r14 cmp r9, r15 cmp r9, r8 cmp r9, rax cmp r9, rbp cmp r9, rbx cmp r9, rcx cmp r9, rdi cmp r9, rsi cmp r9, [ rsp + 0x1030 ] cmp r9, [ rsp + 0x1b70 ] cmp r9, [ rsp + 0x2310 ] cmp r9, [ rsp + 0x2318 ] cmp r9, [ rsp + 0x26f8 ] cmp r9, [ rsp + 0x27c8 ] cmp r9, [ rsp + 0x27d8 ] cmp r9, [ rsp + 0x3860 ] cmp r9, [ rsp + 0x3958 ] cmp r9, [ rsp + 0xf70 ] cmp rax, r10 cmp rax, r11 cmp rax, r12 cmp rax, r14 cmp rax, r15 cmp rax, r8 cmp rax, r9 cmp rax, rbp cmp rax, rbx cmp rax, rcx cmp rax, rdx cmp rax, rsi cmp rax, [ rsp + 0x1198 ] cmp rax, [ rsp + 0x11e8 ] cmp rax, [ rsp + 0x2b10 ] cmp rax, [ rsp + 0x2b70 ] cmp rax, [ rsp + 0x2ea0 ] cmp rax, [ rsp + 0x3118 ] cmp rax, [ rsp + 0x3288 ] cmp rax, [ rsp + 0x34b8 ] cmp rax, [ rsp + 0x35f0 ] cmp rax, [ rsp + 0x3700 ] cmp rax, [ rsp + 0x4b0 ] cmp rax, [ rsp + 0x978 ] cmp rax, [ rsp + 0xb88 ] cmp rbp, r10 cmp rbp, r12 cmp rbp, r13 cmp rbp, r15 cmp rbp, r8 cmp rbp, r9 cmp rbp, rax cmp rbp, rsi cmp rbp, [ rsp + 0x1470 ] cmp rbp, [ rsp + 0x1970 ] cmp rbp, [ rsp + 0x1f80 ] cmp rbp, [ rsp + 0x20a0 ] cmp rbp, [ rsp + 0x2878 ] cmp rbp, [ rsp + 0x29d0 ] cmp rbp, [ rsp + 0x2df8 ] cmp rbp, [ rsp + 0x2ec8 ] cmp rbp, [ rsp + 0x30d8 ] cmp rbp, [ rsp + 0x3320 ] cmp rbp, [ rsp + 0x3360 ] cmp rbp, [ rsp + 0x3500 ] cmp rbp, [ rsp + 0x37a0 ] cmp rbp, [ rsp + 0x5f0 ] cmp rbp, [ rsp + 0x858 ] cmp rbp, [ rsp + 0x980 ] cmp rbx, r10 cmp rbx, r11 cmp rbx, r12 cmp rbx, r14 cmp rbx, r15 cmp rbx, r8 cmp rbx, r9 cmp rbx, rbp cmp rbx, rcx cmp rbx, rdi cmp rbx, rdx cmp rbx, rsi cmp rbx, [ rsp + 0x12d0 ] cmp rbx, [ rsp + 0x1388 ] cmp rbx, [ rsp + 0x1890 ] cmp rbx, [ rsp + 0x1980 ] cmp rbx, [ rsp + 0x2248 ] cmp rbx, [ rsp + 0x22c8 ] cmp rbx, [ rsp + 0x2dc0 ] cmp rbx, [ rsp + 0x3098 ] cmp rbx, [ rsp + 0x32d8 ] cmp rbx, [ rsp + 0x3618 ] cmp rbx, [ rsp + 0x3758 ] cmp rbx, [ rsp + 0x620 ] cmp rbx, [ rsp + 0x730 ] cmp rbx, [ rsp + 0x8b8 ] cmp rbx, [ rsp + 0xa60 ] cmp rbx, [ rsp + 0xec0 ] cmp rcx, r10 cmp rcx, r11 cmp rcx, r12 cmp rcx, r13 cmp rcx, r14 cmp rcx, r15 cmp rcx, r8 cmp rcx, r9 cmp rcx, rbp cmp rcx, rbx cmp rcx, rdi cmp rcx, rdx cmp rcx, rsi cmp rcx, [ rsp + 0x1000 ] cmp rcx, [ rsp + 0x1238 ] cmp rcx, [ rsp + 0x1248 ] cmp rcx, [ rsp + 0x1790 ] cmp rcx, [ rsp + 0x1b38 ] cmp rcx, [ rsp + 0x1d58 ] cmp rcx, [ rsp + 0x1e88 ] cmp rcx, [ rsp + 0x1f8 ] cmp rcx, [ rsp + 0x2058 ] cmp rcx, [ rsp + 0x228 ] cmp rcx, [ rsp + 0x2460 ] cmp rcx, [ rsp + 0x2940 ] cmp rcx, [ rsp + 0x2ce8 ] cmp rcx, [ rsp + 0x3040 ] cmp rcx, [ rsp + 0x3208 ] cmp rcx, [ rsp + 0x35b8 ] cmp rcx, [ rsp + 0xd98 ] cmp rdi, r10 cmp rdi, r11 cmp rdi, r12 cmp rdi, r13 cmp rdi, r14 cmp rdi, r15 cmp rdi, r8 cmp rdi, r9 cmp rdi, rax cmp rdi, rbp cmp rdi, rcx cmp rdi, rdx cmp rdi, rsi cmp rdi, [ rsp + 0x1080 ] cmp rdi, [ rsp + 0x14d0 ] cmp rdi, [ rsp + 0x18f8 ] cmp rdi, [ rsp + 0x2038 ] cmp rdi, [ rsp + 0x2b80 ] cmp rdi, [ rsp + 0x3740 ] cmp rdi, [ rsp + 0x38a0 ] cmp rdi, [ rsp + 0x580 ] cmp rdi, [ rsp + 0x640 ] cmp rdi, [ rsp + 0x728 ] cmp rdi, [ rsp + 0x850 ] cmp rdi, [ rsp + 0xf20 ] cmp rdx, r10 cmp rdx, r12 cmp rdx, r13 cmp rdx, r14 cmp rdx, r15 cmp rdx, r8 cmp rdx, r9 cmp rdx, rax cmp rdx, rbp cmp rdx, rbx cmp rdx, rdi cmp rdx, rsi cmp rdx, [ rsp + 0x1078 ] cmp rdx, [ rsp + 0x1688 ] cmp rdx, [ rsp + 0x1ce0 ] cmp rdx, [ rsp + 0x21a8 ] cmp rdx, [ rsp + 0x2428 ] cmp rdx, [ rsp + 0x2620 ] cmp rdx, [ rsp + 0x2b18 ] cmp rdx, [ rsp + 0x2c80 ] cmp rdx, [ rsp + 0x2ed0 ] cmp rdx, [ rsp + 0x3748 ] cmp rdx, [ rsp + 0xa0 ] cmp rdx, [ rsp + 0xbd0 ] cmp rdx, [ rsp + 0xd68 ] cmp rsi, r10 cmp rsi, r11 cmp rsi, r12 cmp rsi, r13 cmp rsi, r14 cmp rsi, r15 cmp rsi, r8 cmp rsi, rax cmp rsi, rbp cmp rsi, rbx cmp rsi, rcx cmp rsi, rdi cmp rsi, rdx cmp rsi, [ rsp + 0x16b8 ] cmp rsi, [ rsp + 0x178 ] cmp rsi, [ rsp + 0x1b80 ] cmp rsi, [ rsp + 0x1d40 ] cmp rsi, [ rsp + 0x22b0 ] cmp rsi, [ rsp + 0x2560 ] cmp rsi, [ rsp + 0x2760 ] cmp rsi, [ rsp + 0x2bb8 ] cmp rsi, [ rsp + 0x2c50 ] cmp rsi, [ rsp + 0xc78 ] cmp r10, r11 cmp r10, rdi cmp r12, r11 cmp r13, r10 cmp r14, r8 cmp r14, rdi cmp r15, r10 cmp r15, r11 cmp r8, r10 cmp r8, r11 cmp r8, rdi cmp r9, r10 cmp r9, rdi cmp rax, r10 cmp rax, rbp cmp rbx, r11 cmp rbx, rdi cmp rcx, r11 cmp rcx, rdi cmp rdx, r10 cmp al, 0x0 cmp ax, 0xe1 cmp eax, 0xe11 cmp sil, 0x0 cmp si, 0xe1 cmp esi, 0xe11 cmp rax, 0xfffee12 cmp rax, 0xff6ee12 cmp rax, 0xf66ee12 cmp rax, 0x666ee12 cmp rax, 0x6666ee12 cmp rax, -0x1 cmp rax, -0xfffee12 cmp rax, -0xff6ee12 cmp rax, -0xf66ee12 cmp rax, -0x666ee12 cmp rax, -0x6666ee12 cmp rbp, -0xfffee12 cmp rbp, 0xfffee12 cmp rbp, 0xff6ee12 cmp rbp, 0xf66ee12 cmp rbp, 0x666ee12 cmp rbp, 0x6666ee12 cmp rbp, -0xf cmp rbp, -0xe cmp rbp, -0xd cmp rbp, -0x7 cmp rbp, -0x4 cmp rbp, -0x3 cmp rbp, -0x2 cmp rbp, -0xff cmp rbp, -0xef cmp rbp, -0xdf cmp rbp, -0xcf cmp rbp, -0xbf cmp rbp, -0xaf cmp rbp, -0x9f cmp rbp, -0x8f cmp rbp, -0x7f cmp rbp, -0x3e cmp rbp, -0x6f cmp rbp, -0x5f cmp rbp, -0x4f cmp rbp, -0x1f cmp rbp, -0xfa cmp rbp, -0xf9 cmp rbp, -0xf8 cmp rbp, -0xf7 cmp rbp, -0xf6 cmp rbp, -0xf5 cmp rbp, -0xf4 cmp rbp, -0xf3 cmp rbp, -0xf2 cmp rbp, -0xf1 cmp rbp, -0xf66 cmp rbp, -0x666ee cmp rbp, -0x6666ee12 cmp r13, -0xfffee12 cmp r13, 0xfffee12 cmp r13, 0xff6ee12 cmp r13, 0xf66ee12 cmp r13, 0x666ee12 cmp r13, 0x6666ee12 cmp r13, -0x1 cmp r13, -0xfffee12 cmp r13, -0xff6ee12 cmp r13, -0xf66ee12 cmp r13, -0x666ee12 cmp r13, -0x6666ee12 cmp rax, 0x12 cmp rax, 0xe12 cmp rax, 0x66ee12 cmp rax, 0x66ee12 cmp rax, 0x6ee12 cmp sp, 0x34ef cmp r8w, 0x1 cmp rax, [ rbx ] cmp rax, [ rbx + 0x10 ] cmp rax, 0x0 cmp rax, 0x0 ; with a comment cmp r12, r14 cmp r12, rbx cmp r12, [ rsp + 0x10 ] cmp rax, 0xfff cmp rax, r15 cmp rax, rbp cmp rbp, r12 cmp rbp, r8 cmp rbp, r9 cmp rbx, r9 cmp rbx, rdi cmp rdi, r10 cmp rdx, r14 cmp rsp, 0x138 cmp rsp, 0x48 cmp rsp, 0x50 cmp rsp, 0x80 cmp rax, -0xf
18.573964
29
0.625571
71e36c6db711b9d5285b3aca9af0809b85f6136a
903
asm
Assembly
programs/oeis/199/A199486.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/199/A199486.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/199/A199486.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A199486: (9*7^n+1)/2. ; 5,32,221,1544,10805,75632,529421,3705944,25941605,181591232,1271138621,8897970344,62285792405,436000546832,3052003827821,21364026794744,149548187563205,1046837312942432,7327861190597021,51295028334179144,359065198339254005,2513456388374778032,17594194718623446221,123159363030364123544,862115541212548864805,6034808788487842053632,42243661519414894375421,295705630635904260627944,2069939414451329824395605,14489575901159308770769232,101427031308115161395384621,709989219156806129767692344,4969924534097642908373846405,34789471738683500358616924832,243526302170784502510318473821,1704684115195491517572229316744,11932788806368440623005605217205,83529521644579084361039236520432,584706651512053590527274655643021,4092946560584375133690922589501144,28650625924090625935836458126508005,200554381468634381550855206885556032 mov $1,7 pow $1,$0 div $1,6 mul $1,27 add $1,5 mov $0,$1
90.3
820
0.908084
ef2ba840695eaed5a60c604a85826deefe09e2f9
2,531
asm
Assembly
src/shaders/h264/ildb/save_Top_UV_8x2_Mbaff.asm
tizenorg/platform.upstream.libva-intel-driver
9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90
[ "MIT" ]
null
null
null
src/shaders/h264/ildb/save_Top_UV_8x2_Mbaff.asm
tizenorg/platform.upstream.libva-intel-driver
9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90
[ "MIT" ]
null
null
null
src/shaders/h264/ildb/save_Top_UV_8x2_Mbaff.asm
tizenorg/platform.upstream.libva-intel-driver
9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90
[ "MIT" ]
null
null
null
/* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module name: save_Top_UV_8x2.asm // // Save UV 8x2 block (8x2U + 8x2V in NV12) // //---------------------------------------------------------------- // Symbols need to be defined before including this module // // Source region in :ud // SRC_UD: SRC_UD Base=rxx ElementSize=4 SrcRegion=REGION(8,1) Type=ud // 1 GRF // // Binding table index: // BI_DEST_UV: Binding table index of UV surface (NV12) // //---------------------------------------------------------------- #if defined(_DEBUG) mov (1) EntrySignatureC:w 0xDDD5:w #endif and.z.f0.1 (8) NULLREGW DualFieldMode<0;1,0>:w 1:w // FieldModeCurrentMbFlag determines how to access above MB and.z.f0.0 (1) null:w r[ECM_AddrReg, BitFlags]:ub FieldModeCurrentMbFlag:w // Pack U and V mov (1) MSGSRC.0:ud ORIX_TOP:w { NoDDClr } // Block origin asr (1) MSGSRC.1:ud ORIY_TOP:w 1:w { NoDDClr, NoDDChk } // NV12 U+V block origin y = half of Y comp mov (1) MSGSRC.2:ud 0x0001000F:ud { NoDDChk } // NV12 U+V block width and height (16x2) // Dual field mode (f0.1) mov (8) MSGPAYLOADD(0)<1> PREV_MB_UD(0) (-f0.1) mov (8) MSGPAYLOADD(0)<1> PREV_MB_UD(1) // for dual field mode, write last 2 rows // Set message descriptor and.nz.f0.1 (1) NULLREGW BitFields:w BotFieldFlag:w (f0.0) if (1) ELSE_UV_8X2_SAVE // Frame picture mov (1) MSGDSC MSG_LEN(1)+DWBWMSGDSC_WC+BI_DEST_UV:ud // Write 1 GRFs to DEST_UV // Add vertical offset 8 for bot MB in MBAFF mode (f0.1) add (1) MSGSRC.1:d MSGSRC.1:d 8:w ELSE_UV_8X2_SAVE: else (1) ENDIF_UV_8X2_SAVE asr (1) MSGSRC.1:d ORIY_CUR:w 2:w // asr 1: NV12 U+V block origin y = half of Y comp // asr 1: Reduce y by half in field access mode // Field picture (f0.1) mov (1) MSGDSC MSG_LEN(1)+DWBWMSGDSC_WC+ENMSGDSCBF+BI_DEST_UV:ud // Write 1 GRF to DEST_Y bottom field (-f0.1) mov (1) MSGDSC MSG_LEN(1)+DWBWMSGDSC_WC+ENMSGDSCTF+BI_DEST_UV:ud // Write 1 GRF to DEST_Y top field add (1) MSGSRC.1:d MSGSRC.1:d -2:w // for last 4 rows of above MB endif ENDIF_UV_8X2_SAVE: send (8) WritebackResponse(0)<1> MSGHDR MSGSRC<8;8,1>:ud DAPWRITE MSGDSC // End of save_Top_UV_8x2.asm
36.157143
115
0.612406
7b48a01d59db7c4d7065caae4003eea5be2317d0
4,001
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1957.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_1957.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_1957.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 %r8 push %rcx push %rdi lea addresses_WT_ht+0x128ca, %rdi nop nop nop nop nop and %rcx, %rcx mov $0x6162636465666768, %r8 movq %r8, %xmm2 movups %xmm2, (%rdi) sub %rdi, %rdi pop %rdi pop %rcx pop %r8 ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r9 push %rbx push %rcx // Faulty Load lea addresses_WT+0x1278a, %r11 nop nop sub %rbx, %rbx movb (%r11), %r14b lea oracles, %r9 and $0xff, %r14 shlq $12, %r14 mov (%r9,%r14,1), %r14 pop %rcx pop %rbx pop %r9 pop %r14 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_WT'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'} {'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 */
68.982759
2,999
0.662584
93f1eca34fe814bd92f78a546adb48014ea3e039
31,974
asm
Assembly
engine/pokegear/radio.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
6
2021-06-19T06:41:19.000Z
2022-02-15T17:12:33.000Z
engine/pokegear/radio.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
1
2020-12-16T01:11:20.000Z
2020-12-16T22:53:56.000Z
engine/pokegear/radio.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
3
2021-01-15T18:45:40.000Z
2021-10-16T03:35:27.000Z
PlayRadioShow: ; If we're already in the radio program proper, we don't need to be here. ld a, [wCurRadioLine] cp POKE_FLUTE_RADIO jr nc, .ok ; If Team Rocket is not occupying the radio tower, we don't need to be here. ld a, [wStatusFlags2] bit STATUSFLAGS2_ROCKETS_IN_RADIO_TOWER_F, a jr z, .ok ; If we're in Kanto, we don't need to be here. call IsInJohto and a jr nz, .ok ; Team Rocket broadcasts on all stations. ld a, ROCKET_RADIO ld [wCurRadioLine], a .ok ; Jump to the currently loaded station. The index to which we need to jump is in wCurRadioLine. ld a, [wCurRadioLine] ld e, a ld d, 0 ld hl, RadioJumptable add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a jp hl RadioJumptable: ; entries correspond to constants/radio_constants.asm dw OaksPKMNTalk1 ; $00 dw PokedexShow1 ; $01 dw BenMonMusic1 ; $02 dw LuckyNumberShow1 ; $03 dw BuenasPassword1 ; $04 dw PeoplePlaces1 ; $05 dw FernMonMusic1 ; $06 dw RocketRadio1 ; $07 dw PokeFluteRadio ; $08 dw UnownRadio ; $09 dw EvolutionRadio ; $0a ; OaksPKMNTalk dw OaksPKMNTalk2 ; $0b dw OaksPKMNTalk3 ; $0c dw OaksPKMNTalk4 ; $0d dw OaksPKMNTalk5 ; $0e dw OaksPKMNTalk6 ; $0f dw OaksPKMNTalk7 ; $10 dw OaksPKMNTalk8 ; $11 dw OaksPKMNTalk9 ; $12 dw PokedexShow2 ; $13 dw PokedexShow3 ; $14 dw PokedexShow4 ; $15 dw PokedexShow5 ; $16 ; Ben Music dw BenMonMusic2 ; $17 dw BenMonMusic3 ; $18 dw BenFernMusic4 ; $19 dw BenFernMusic5 ; $1a dw BenFernMusic6 ; $1b dw BenFernMusic7 ; $1c dw FernMonMusic2 ; $1d ; Lucky Number Show dw LuckyNumberShow2 ; $1e dw LuckyNumberShow3 ; $1f dw LuckyNumberShow4 ; $20 dw LuckyNumberShow5 ; $21 dw LuckyNumberShow6 ; $22 dw LuckyNumberShow7 ; $23 dw LuckyNumberShow8 ; $24 dw LuckyNumberShow9 ; $25 dw LuckyNumberShow10 ; $26 dw LuckyNumberShow11 ; $27 dw LuckyNumberShow12 ; $28 dw LuckyNumberShow13 ; $29 dw LuckyNumberShow14 ; $2a dw LuckyNumberShow15 ; $2b ; People & Places dw PeoplePlaces2 ; $2c dw PeoplePlaces3 ; $2d dw PeoplePlaces4 ; $2e dw PeoplePlaces5 ; $2f dw PeoplePlaces6 ; $30 dw PeoplePlaces7 ; $31 ; Rocket Radio dw RocketRadio2 ; $32 dw RocketRadio3 ; $33 dw RocketRadio4 ; $34 dw RocketRadio5 ; $35 dw RocketRadio6 ; $36 dw RocketRadio7 ; $37 dw RocketRadio8 ; $38 dw RocketRadio9 ; $39 dw RocketRadio10 ; $3a ; More Pokemon Channel stuff dw OaksPKMNTalk10 ; $3b dw OaksPKMNTalk11 ; $3c dw OaksPKMNTalk12 ; $3d dw OaksPKMNTalk13 ; $3e dw OaksPKMNTalk14 ; $3f ; Buenas Password dw BuenasPassword2 ; $40 dw BuenasPassword3 ; $41 dw BuenasPassword4 ; $42 dw BuenasPassword5 ; $43 dw BuenasPassword6 ; $44 dw BuenasPassword7 ; $45 dw BuenasPassword8 ; $46 dw BuenasPassword9 ; $47 dw BuenasPassword10 ; $48 dw BuenasPassword11 ; $49 dw BuenasPassword12 ; $4a dw BuenasPassword13 ; $4b dw BuenasPassword14 ; $4c dw BuenasPassword15 ; $4d dw BuenasPassword16 ; $4e dw BuenasPassword17 ; $4f dw BuenasPassword18 ; $50 dw BuenasPassword19 ; $51 dw BuenasPassword20 ; $52 dw BuenasPassword21 ; $53 dw RadioScroll ; $54 ; More Pokemon Channel stuff dw PokedexShow6 ; $55 dw PokedexShow7 ; $56 dw PokedexShow8 ; $57 PrintRadioLine: ld [wNextRadioLine], a ld hl, wRadioText ld a, [wNumRadioLinesPrinted] cp 2 jr nc, .print inc hl ld [hl], TX_START inc a ld [wNumRadioLinesPrinted], a cp 2 jr nz, .print bccoord 1, 16 call PlaceHLTextAtBC jr .skip .print call PrintTextboxText .skip ld a, RADIO_SCROLL ld [wCurRadioLine], a ld a, 100 ld [wRadioTextDelay], a ret ReplacePeriodsWithSpaces: push hl ld b, SCREEN_WIDTH * 2 .loop ld a, [hl] cp "." jr nz, .next ld [hl], " " .next inc hl dec b jr nz, .loop pop hl ret RadioScroll: ld hl, wRadioTextDelay ld a, [hl] and a jr z, .proceed dec [hl] ret .proceed ld a, [wNextRadioLine] ld [wCurRadioLine], a ld a, [wNumRadioLinesPrinted] cp 1 call nz, CopyBottomLineToTopLine jp ClearBottomLine OaksPKMNTalk1: ld a, 5 ld [wOaksPKMNTalkSegmentCounter], a call StartRadioStation ld hl, OPT_IntroText1 ld a, OAKS_POKEMON_TALK_2 jp NextRadioLine OaksPKMNTalk2: ld hl, OPT_IntroText2 ld a, OAKS_POKEMON_TALK_3 jp NextRadioLine OaksPKMNTalk3: ld hl, OPT_IntroText3 ld a, OAKS_POKEMON_TALK_4 jp NextRadioLine OaksPKMNTalk4: ; Choose a random route, and a random Pokemon from that route. .sample call Random and %11111 cp (OaksPKMNTalkRoutes.End - OaksPKMNTalkRoutes) / 2 jr nc, .sample ; We now have a number between 0 and 14. ld hl, OaksPKMNTalkRoutes ld c, a ld b, 0 add hl, bc add hl, bc ld a, [hli] ld d, a ld e, [hl] ; de now contains the chosen map's group and number indices. push de farcall LookUpGrassJohtoWildmons ; Generate a number, either 0, 1, or 2, to choose a time of day. .loop2 call Random maskbits NUM_DAYTIMES cp DARKNESS_F jr z, .loop2 ; Point hl to the list of Pokémon for that time of day, skipping the map ID and the percentages ld bc, 5 add hl, bc ld c, 3 * NUM_GRASSMON call AddNTimes .loop3 ; Choose one of the middle three Pokemon. call Random and NUM_GRASSMON cp 2 jr c, .loop3 cp 5 jr nc, .loop3 ld e, a ld d, 0 add hl, de add hl, de add hl, de inc hl ; skip level ld a, BANK(JohtoGrassWildMons) call GetFarHalfword call GetPokemonIDFromIndex ld [wNamedObjectIndexBuffer], a ld [wCurPartySpecies], a call GetPokemonName ld hl, wStringBuffer1 ld de, wMonOrItemNameBuffer ld bc, MON_NAME_LENGTH call CopyBytes ; Now that we've chosen our wild Pokemon, ; let's recover the map index info and get its name. pop bc call GetWorldMapLocation ld e, a farcall GetLandmarkName ld hl, OPT_OakText1 call CopyRadioTextToRAM ld a, OAKS_POKEMON_TALK_5 jp PrintRadioLine .overflow pop bc ld a, OAKS_POKEMON_TALK jp PrintRadioLine INCLUDE "data/radio/oaks_pkmn_talk_routes.asm" OaksPKMNTalk5: ld hl, OPT_OakText2 ld a, OAKS_POKEMON_TALK_6 jp NextRadioLine OaksPKMNTalk6: ld hl, OPT_OakText3 ld a, OAKS_POKEMON_TALK_7 jp NextRadioLine OPT_IntroText1: ; MARY: PROF.OAK'S text_far _OPT_IntroText1 text_end OPT_IntroText2: ; #MON TALK! text_far _OPT_IntroText2 text_end OPT_IntroText3: ; With me, MARY! text_far _OPT_IntroText3 text_end OPT_OakText1: ; OAK: @ @ text_far _OPT_OakText1 text_end OPT_OakText2: ; may be seen around text_far _OPT_OakText2 text_end OPT_OakText3: ; @ . text_far _OPT_OakText3 text_end OaksPKMNTalk7: ld a, [wCurPartySpecies] ld [wNamedObjectIndexBuffer], a call GetPokemonName ld hl, OPT_MaryText1 ld a, OAKS_POKEMON_TALK_8 jp NextRadioLine OPT_MaryText1: ; MARY: @ 's text_far _OPT_MaryText1 text_end OaksPKMNTalk8: ; 0-15 are all valid indexes into .Adverbs, ; so no need for a retry loop call Random maskbits NUM_OAKS_POKEMON_TALK_ADVERBS ld e, a ld d, 0 ld hl, .Adverbs add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a ld a, OAKS_POKEMON_TALK_9 jp NextRadioLine .Adverbs: ; there are NUM_OAKS_POKEMON_TALK_ADVERBS entries dw .sweetadorably dw .wigglyslickly dw .aptlynamed dw .undeniablykindof dw .unbearably dw .wowimpressively dw .almostpoisonously dw .sensually dw .mischievously dw .topically dw .addictively dw .looksinwater dw .evolutionmustbe dw .provocatively dw .flippedout dw .heartmeltingly .sweetadorably ; sweet and adorably text_far OPT_SweetAdorably text_end .wigglyslickly ; wiggly and slickly text_far OPT_WigglySlickly text_end .aptlynamed ; aptly named and text_far OPT_AptlyNamed text_end .undeniablykindof ; undeniably kind of text_far OPT_UndeniablyKindOf text_end .unbearably ; so, so unbearably text_far OPT_Unbearably text_end .wowimpressively ; wow, impressively text_far OPT_WowImpressively text_end .almostpoisonously ; almost poisonously text_far OPT_AlmostPoisonously text_end .sensually ; ooh, so sensually text_far OPT_Sensually text_end .mischievously ; so mischievously text_far OPT_Mischievously text_end .topically ; so very topically text_far OPT_Topically text_end .addictively ; sure addictively text_far OPT_Addictively text_end .looksinwater ; looks in water is text_far OPT_LooksInWater text_end .evolutionmustbe ; evolution must be text_far OPT_EvolutionMustBe text_end .provocatively ; provocatively text_far OPT_Provocatively text_end .flippedout ; so flipped out and text_far OPT_FlippedOut text_end .heartmeltingly ; heart-meltingly text_far OPT_HeartMeltingly text_end OaksPKMNTalk9: ; 0-15 are all valid indexes into .Adjectives, ; so no need for a retry loop call Random maskbits NUM_OAKS_POKEMON_TALK_ADJECTIVES ld e, a ld d, 0 ld hl, .Adjectives add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a ld a, [wOaksPKMNTalkSegmentCounter] dec a ld [wOaksPKMNTalkSegmentCounter], a ld a, OAKS_POKEMON_TALK_4 jr nz, .ok ld a, 5 ld [wOaksPKMNTalkSegmentCounter], a ld a, OAKS_POKEMON_TALK_10 .ok jp NextRadioLine .Adjectives: ; there are NUM_OAKS_POKEMON_TALK_ADJECTIVES entries dw .cute dw .weird dw .pleasant dw .boldsortof dw .frightening dw .suavedebonair dw .powerful dw .exciting dw .groovy dw .inspiring dw .friendly dw .hothothot dw .stimulating dw .guarded dw .lovely dw .speedy .cute ; cute. text_far OPT_Cute text_end .weird ; weird. text_far OPT_Weird text_end .pleasant ; pleasant. text_far OPT_Pleasant text_end .boldsortof ; bold, sort of. text_far OPT_BoldSortOf text_end .frightening ; frightening. text_far OPT_Frightening text_end .suavedebonair ; suave & debonair! text_far OPT_SuaveDebonair text_end .powerful ; powerful. text_far OPT_Powerful text_end .exciting ; exciting. text_far OPT_Exciting text_end .groovy ; groovy! text_far OPT_Groovy text_end .inspiring ; inspiring. text_far OPT_Inspiring text_end .friendly ; friendly. text_far OPT_Friendly text_end .hothothot ; hot, hot, hot! text_far OPT_HotHotHot text_end .stimulating ; stimulating. text_far OPT_Stimulating text_end .guarded ; guarded. text_far OPT_Guarded text_end .lovely ; lovely. text_far OPT_Lovely text_end .speedy ; speedy. text_far OPT_Speedy text_end OaksPKMNTalk10: farcall RadioMusicRestartPokemonChannel ld hl, OPT_RestartText call PrintText call WaitBGMap ld hl, OPT_PokemonChannelText call PrintText ld a, OAKS_POKEMON_TALK_11 ld [wCurRadioLine], a ld a, 100 ld [wRadioTextDelay], a ret OPT_PokemonChannelText: ; #MON text_far _OPT_PokemonChannelText text_end OPT_RestartText: text_end OaksPKMNTalk11: ld hl, wRadioTextDelay dec [hl] ret nz hlcoord 9, 14 ld de, .pokemon_string ld a, OAKS_POKEMON_TALK_12 jp PlaceRadioString .pokemon_string db "#MON@" OaksPKMNTalk12: ld hl, wRadioTextDelay dec [hl] ret nz hlcoord 1, 16 ld de, .pokemon_channel_string ld a, OAKS_POKEMON_TALK_13 jp PlaceRadioString .pokemon_channel_string db "#MON Channel@" OaksPKMNTalk13: ld hl, wRadioTextDelay dec [hl] ret nz hlcoord 12, 16 ld de, .terminator ld a, OAKS_POKEMON_TALK_14 jp PlaceRadioString .terminator db "@" OaksPKMNTalk14: ld hl, wRadioTextDelay dec [hl] ret nz ld de, MUSIC_POKEMON_TALK callfar RadioMusicRestartDE ld hl, .terminator call PrintText ld a, OAKS_POKEMON_TALK_4 ld [wNextRadioLine], a xor a ld [wNumRadioLinesPrinted], a ld a, RADIO_SCROLL ld [wCurRadioLine], a ld a, 10 ld [wRadioTextDelay], a ret .terminator db "@" PlaceRadioString: ld [wCurRadioLine], a ld a, 100 ld [wRadioTextDelay], a jp PlaceString CopyBottomLineToTopLine: hlcoord 0, 15 decoord 0, 13 ld bc, SCREEN_WIDTH * 2 jp CopyBytes ClearBottomLine: hlcoord 1, 15 ld bc, SCREEN_WIDTH - 2 ld a, " " call ByteFill hlcoord 1, 16 ld bc, SCREEN_WIDTH - 2 ld a, " " jp ByteFill PokedexShow1: call StartRadioStation .loop call Random ld e, a call Random and $f ld d, a cp HIGH(NUM_POKEMON) jr c, .ok jr nz, .loop ld a, e cp LOW(NUM_POKEMON) jr nc, .loop .ok inc de push de call CheckCaughtMonIndex pop hl jr z, .loop call GetPokemonIDFromIndex ld [wCurPartySpecies], a ld [wNamedObjectIndexBuffer], a call GetPokemonName ld hl, PokedexShowText ld a, POKEDEX_SHOW_2 jp NextRadioLine PokedexShow2: ld a, [wCurPartySpecies] call GetPokemonIndexFromID dec hl ld b, h ld c, l add hl, hl add hl, bc ld bc, PokedexDataPointerTable add hl, bc ld a, BANK(PokedexDataPointerTable) call GetFarByte ld b, a inc hl ld a, BANK(PokedexDataPointerTable) call GetFarHalfword ld a, b push af push hl call CopyDexEntryPart1 dec hl ld [hl], "<DONE>" ld hl, wPokedexShowPointerAddr call CopyRadioTextToRAM pop hl pop af call CopyDexEntryPart2 rept 4 inc hl endr ld a, l ld [wPokedexShowPointerAddr], a ld a, h ld [wPokedexShowPointerAddr + 1], a ld a, POKEDEX_SHOW_3 jp PrintRadioLine PokedexShow3: call CopyDexEntry ld a, POKEDEX_SHOW_4 jp PrintRadioLine PokedexShow4: call CopyDexEntry ld a, POKEDEX_SHOW_5 jp PrintRadioLine PokedexShow5: call CopyDexEntry ld a, POKEDEX_SHOW_6 jp PrintRadioLine PokedexShow6: call CopyDexEntry ld a, POKEDEX_SHOW_7 jp PrintRadioLine PokedexShow7: call CopyDexEntry ld a, POKEDEX_SHOW_8 jp PrintRadioLine PokedexShow8: call CopyDexEntry ld a, POKEDEX_SHOW jp PrintRadioLine CopyDexEntry: ld a, [wPokedexShowPointerAddr] ld l, a ld a, [wPokedexShowPointerAddr + 1] ld h, a ld a, [wPokedexShowPointerBank] push af push hl call CopyDexEntryPart1 dec hl ld [hl], "<DONE>" ld hl, wPokedexShowPointerAddr call CopyRadioTextToRAM pop hl pop af call CopyDexEntryPart2 ret CopyDexEntryPart1: ld de, wPokedexShowPointerBank ld bc, SCREEN_WIDTH - 1 call FarCopyBytes ld hl, wPokedexShowPointerAddr ld [hl], TX_START inc hl ld [hl], "<LINE>" inc hl .loop ld a, [hli] cp "@" ret z cp "<NEXT>" ret z cp "<DEXEND>" ret z jr .loop CopyDexEntryPart2: ld d, a .loop ld a, d call GetFarByte inc hl cp "@" jr z, .okay cp "<NEXT>" jr z, .okay cp "<DEXEND>" jr nz, .loop .okay ld a, l ld [wPokedexShowPointerAddr], a ld a, h ld [wPokedexShowPointerAddr + 1], a ld a, d ld [wPokedexShowPointerBank], a ret PokedexShowText: ; @ @ text_far _PokedexShowText text_end BenMonMusic1: call StartPokemonMusicChannel ld hl, BenIntroText1 ld a, POKEMON_MUSIC_2 jp NextRadioLine BenMonMusic2: ld hl, BenIntroText2 ld a, POKEMON_MUSIC_3 jp NextRadioLine BenMonMusic3: ld hl, BenIntroText3 ld a, POKEMON_MUSIC_4 jp NextRadioLine FernMonMusic1: call StartPokemonMusicChannel ld hl, FernIntroText1 ld a, LETS_ALL_SING_2 jp NextRadioLine FernMonMusic2: ld hl, FernIntroMusic2 ld a, POKEMON_MUSIC_4 jp NextRadioLine BenFernMusic4: ld hl, BenFernText1 ld a, POKEMON_MUSIC_5 jp NextRadioLine BenFernMusic5: call GetWeekday and 1 ld hl, BenFernText2A jr z, .SunTueThurSun ld hl, BenFernText2B .SunTueThurSun: ld a, POKEMON_MUSIC_6 jp NextRadioLine BenFernMusic6: call GetWeekday and 1 ld hl, BenFernText3A jr z, .SunTueThurSun ld hl, BenFernText3B .SunTueThurSun: ld a, POKEMON_MUSIC_7 jp NextRadioLine BenFernMusic7: ret StartPokemonMusicChannel: call RadioTerminator call PrintText ld de, MUSIC_POKEMON_MARCH call GetWeekday and 1 jr z, .SunTueThurSun ld de, MUSIC_POKEMON_LULLABY .SunTueThurSun: callfar RadioMusicRestartDE ret BenIntroText1: ; BEN: #MON MUSIC text_far _BenIntroText1 text_end BenIntroText2: ; CHANNEL! text_far _BenIntroText2 text_end BenIntroText3: ; It's me, DJ BEN! text_far _BenIntroText3 text_end FernIntroText1: ; FERN: #MUSIC! text_far _FernIntroText1 text_end FernIntroMusic2: ; With DJ FERN! text_far _FernIntroText2 text_end BenFernText1: ; Today's @ , text_far _BenFernText1 text_end BenFernText2A: ; so let us jam to text_far _BenFernText2A text_end BenFernText2B: ; so chill out to text_far _BenFernText2B text_end BenFernText3A: ; #MON March! text_far _BenFernText3A text_end BenFernText3B: ; #MON Lullaby! text_far _BenFernText3B text_end LuckyNumberShow1: call StartRadioStation callfar CheckLuckyNumberShowFlag jr nc, .dontreset callfar ResetLuckyNumberShowFlag .dontreset ld hl, LC_Text1 ld a, LUCKY_NUMBER_SHOW_2 jp NextRadioLine LuckyNumberShow2: ld hl, LC_Text2 ld a, LUCKY_NUMBER_SHOW_3 jp NextRadioLine LuckyNumberShow3: ld hl, LC_Text3 ld a, LUCKY_NUMBER_SHOW_4 jp NextRadioLine LuckyNumberShow4: ld hl, LC_Text4 ld a, LUCKY_NUMBER_SHOW_5 jp NextRadioLine LuckyNumberShow5: ld hl, LC_Text5 ld a, LUCKY_NUMBER_SHOW_6 jp NextRadioLine LuckyNumberShow6: ld hl, LC_Text6 ld a, LUCKY_NUMBER_SHOW_7 jp NextRadioLine LuckyNumberShow7: ld hl, LC_Text7 ld a, LUCKY_NUMBER_SHOW_8 jp NextRadioLine LuckyNumberShow8: ld hl, wStringBuffer1 ld de, wLuckyIDNumber lb bc, PRINTNUM_LEADINGZEROS | 2, 5 call PrintNum ld a, "@" ld [wStringBuffer1 + 5], a ld hl, LC_Text8 ld a, LUCKY_NUMBER_SHOW_9 jp NextRadioLine LuckyNumberShow9: ld hl, LC_Text9 ld a, LUCKY_NUMBER_SHOW_10 jp NextRadioLine LuckyNumberShow10: ld hl, LC_Text7 ld a, LUCKY_NUMBER_SHOW_11 jp NextRadioLine LuckyNumberShow11: ld hl, LC_Text8 ld a, LUCKY_NUMBER_SHOW_12 jp NextRadioLine LuckyNumberShow12: ld hl, LC_Text10 ld a, LUCKY_NUMBER_SHOW_13 jp NextRadioLine LuckyNumberShow13: ld hl, LC_Text11 call Random and a ld a, LUCKY_CHANNEL jr nz, .okay ld a, LUCKY_NUMBER_SHOW_14 .okay jp NextRadioLine LuckyNumberShow14: ld hl, LC_DragText1 ld a, LUCKY_NUMBER_SHOW_15 jp NextRadioLine LuckyNumberShow15: ld hl, LC_DragText2 ld a, LUCKY_CHANNEL jp NextRadioLine LC_Text1: ; REED: Yeehaw! How text_far _LC_Text1 text_end LC_Text2: ; y'all doin' now? text_far _LC_Text2 text_end LC_Text3: ; Whether you're up text_far _LC_Text3 text_end LC_Text4: ; or way down low, text_far _LC_Text4 text_end LC_Text5: ; don't you miss the text_far _LC_Text5 text_end LC_Text6: ; LUCKY NUMBER SHOW! text_far _LC_Text6 text_end LC_Text7: ; This week's Lucky text_far _LC_Text7 text_end LC_Text8: ; Number is @ ! text_far _LC_Text8 text_end LC_Text9: ; I'll repeat that! text_far _LC_Text9 text_end LC_Text10: ; Match it and go to text_far _LC_Text10 text_end LC_Text11: ; the RADIO TOWER! text_far _LC_Text11 text_end LC_DragText1: ; …Repeating myself text_far _LC_DragText1 text_end LC_DragText2: ; gets to be a drag… text_far _LC_DragText2 text_end PeoplePlaces1: call StartRadioStation ld hl, PnP_Text1 ld a, PLACES_AND_PEOPLE_2 jp NextRadioLine PeoplePlaces2: ld hl, PnP_Text2 ld a, PLACES_AND_PEOPLE_3 jp NextRadioLine PeoplePlaces3: ld hl, PnP_Text3 call Random cp 49 percent - 1 ld a, PLACES_AND_PEOPLE_4 ; People jr c, .ok ld a, PLACES_AND_PEOPLE_6 ; Places .ok jp NextRadioLine PnP_Text1: ; PLACES AND PEOPLE! text_far _PnP_Text1 text_end PnP_Text2: ; Brought to you by text_far _PnP_Text2 text_end PnP_Text3: ; me, DJ LILY! text_far _PnP_Text3 text_end PeoplePlaces4: ; People call Random maskbits NUM_TRAINER_CLASSES inc a cp NUM_TRAINER_CLASSES - 1 jr nc, PeoplePlaces4 push af ld hl, PnP_HiddenPeople ld a, [wStatusFlags] bit STATUSFLAGS_HALL_OF_FAME_F, a jr z, .ok ld hl, PnP_HiddenPeople_BeatE4 ld a, [wKantoBadges] cp %11111111 ; all badges jr nz, .ok ld hl, PnP_HiddenPeople_BeatKanto .ok pop af ld c, a ld de, 1 push bc call IsInArray pop bc jr c, PeoplePlaces4 push bc callfar GetTrainerClassName ld de, wStringBuffer1 call CopyName1 pop bc ld b, 1 callfar GetTrainerName ld hl, PnP_Text4 ld a, PLACES_AND_PEOPLE_5 jp NextRadioLine INCLUDE "data/radio/pnp_hidden_people.asm" PnP_Text4: ; @ @ @ text_far _PnP_Text4 text_end PeoplePlaces5: ; 0-15 are all valid indexes into .Adjectives, ; so no need for a retry loop call Random maskbits NUM_PNP_PEOPLE_ADJECTIVES ld e, a ld d, 0 ld hl, .Adjectives add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a call Random cp 4 percent ld a, PLACES_AND_PEOPLE jr c, .ok call Random cp 49 percent - 1 ld a, PLACES_AND_PEOPLE_4 ; People jr c, .ok ld a, PLACES_AND_PEOPLE_6 ; Places .ok jp NextRadioLine .Adjectives: ; there are NUM_PNP_PEOPLE_ADJECTIVES entries dw PnP_cute dw PnP_lazy dw PnP_happy dw PnP_noisy dw PnP_precocious dw PnP_bold dw PnP_picky dw PnP_sortofok dw PnP_soso dw PnP_great dw PnP_mytype dw PnP_cool dw PnP_inspiring dw PnP_weird dw PnP_rightforme dw PnP_odd PnP_cute: ; is cute. text_far _PnP_cute text_end PnP_lazy: ; is sort of lazy. text_far _PnP_lazy text_end PnP_happy: ; is always happy. text_far _PnP_happy text_end PnP_noisy: ; is quite noisy. text_far _PnP_noisy text_end PnP_precocious: ; is precocious. text_far _PnP_precocious text_end PnP_bold: ; is somewhat bold. text_far _PnP_bold text_end PnP_picky: ; is too picky! text_far _PnP_picky text_end PnP_sortofok: ; is sort of OK. text_far _PnP_sortofok text_end PnP_soso: ; is just so-so. text_far _PnP_soso text_end PnP_great: ; is actually great. text_far _PnP_great text_end PnP_mytype: ; is just my type. text_far _PnP_mytype text_end PnP_cool: ; is so cool, no? text_far _PnP_cool text_end PnP_inspiring: ; is inspiring! text_far _PnP_inspiring text_end PnP_weird: ; is kind of weird. text_far _PnP_weird text_end PnP_rightforme: ; is right for me? text_far _PnP_rightforme text_end PnP_odd: ; is definitely odd! text_far _PnP_odd text_end PeoplePlaces6: ; Places call Random cp (PnP_HiddenPlaces.End - PnP_HiddenPlaces) / 2 jr nc, PeoplePlaces6 ld hl, PnP_HiddenPlaces ld c, a ld b, 0 add hl, bc add hl, bc ld b, [hl] inc hl ld c, [hl] call GetWorldMapLocation ld e, a farcall GetLandmarkName ld hl, PnP_Text5 ld a, PLACES_AND_PEOPLE_7 jp NextRadioLine INCLUDE "data/radio/pnp_hidden_places.asm" PnP_Text5: ; @ @ text_far _PnP_Text5 text_end PeoplePlaces7: ; 0-15 are all valid indexes into .Adjectives, ; so no need for a retry loop call Random maskbits NUM_PNP_PLACES_ADJECTIVES ld e, a ld d, 0 ld hl, .Adjectives add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a call CopyRadioTextToRAM call Random cp 4 percent ld a, PLACES_AND_PEOPLE jr c, .ok call Random cp 49 percent - 1 ld a, PLACES_AND_PEOPLE_4 ; People jr c, .ok ld a, PLACES_AND_PEOPLE_6 ; Places .ok jp PrintRadioLine .Adjectives: ; there are NUM_PNP_PLACES_ADJECTIVES entries dw PnP_cute dw PnP_lazy dw PnP_happy dw PnP_noisy dw PnP_precocious dw PnP_bold dw PnP_picky dw PnP_sortofok dw PnP_soso dw PnP_great dw PnP_mytype dw PnP_cool dw PnP_inspiring dw PnP_weird dw PnP_rightforme dw PnP_odd RocketRadio1: call StartRadioStation ld hl, RocketRadioText1 ld a, ROCKET_RADIO_2 jp NextRadioLine RocketRadio2: ld hl, RocketRadioText2 ld a, ROCKET_RADIO_3 jp NextRadioLine RocketRadio3: ld hl, RocketRadioText3 ld a, ROCKET_RADIO_4 jp NextRadioLine RocketRadio4: ld hl, RocketRadioText4 ld a, ROCKET_RADIO_5 jp NextRadioLine RocketRadio5: ld hl, RocketRadioText5 ld a, ROCKET_RADIO_6 jp NextRadioLine RocketRadio6: ld hl, RocketRadioText6 ld a, ROCKET_RADIO_7 jp NextRadioLine RocketRadio7: ld hl, RocketRadioText7 ld a, ROCKET_RADIO_8 jp NextRadioLine RocketRadio8: ld hl, RocketRadioText8 ld a, ROCKET_RADIO_9 jp NextRadioLine RocketRadio9: ld hl, RocketRadioText9 ld a, ROCKET_RADIO_10 jp NextRadioLine RocketRadio10: ld hl, RocketRadioText10 ld a, ROCKET_RADIO jp NextRadioLine RocketRadioText1: ; … …Ahem, we are text_far _RocketRadioText1 text_end RocketRadioText2: ; TEAM ROCKET! text_far _RocketRadioText2 text_end RocketRadioText3: ; After three years text_far _RocketRadioText3 text_end RocketRadioText4: ; of preparation, we text_far _RocketRadioText4 text_end RocketRadioText5: ; have risen again text_far _RocketRadioText5 text_end RocketRadioText6: ; from the ashes! text_far _RocketRadioText6 text_end RocketRadioText7: ; GIOVANNI! @ Can you text_far _RocketRadioText7 text_end RocketRadioText8: ; hear?@ We did it! text_far _RocketRadioText8 text_end RocketRadioText9: ; @ Where is our boss? text_far _RocketRadioText9 text_end RocketRadioText10: ; @ Is he listening? text_far _RocketRadioText10 text_end PokeFluteRadio: call StartRadioStation ld a, 1 ld [wNumRadioLinesPrinted], a ret UnownRadio: call StartRadioStation ld a, 1 ld [wNumRadioLinesPrinted], a ret EvolutionRadio: call StartRadioStation ld a, 1 ld [wNumRadioLinesPrinted], a ret BuenasPassword1: ; Determine if we need to be here call BuenasPasswordCheckTime jp nc, .PlayPassword ld a, [wNumRadioLinesPrinted] and a jp z, BuenasPassword20 jp BuenasPassword8 .PlayPassword: call StartRadioStation ldh a, [hBGMapMode] push af xor a ldh [hBGMapMode], a ld de, BuenasPasswordChannelName hlcoord 2, 9 call PlaceString pop af ldh [hBGMapMode], a ld hl, BuenaRadioText1 ld a, BUENAS_PASSWORD_2 jp NextRadioLine BuenasPassword2: ld hl, BuenaRadioText2 ld a, BUENAS_PASSWORD_3 jp NextRadioLine BuenasPassword3: call BuenasPasswordCheckTime ld hl, BuenaRadioText3 jp c, BuenasPasswordAfterMidnight ld a, BUENAS_PASSWORD_4 jp NextRadioLine BuenasPassword4: call BuenasPasswordCheckTime jp c, BuenasPassword8 ld a, [wBuenasPassword] ; If we already generated the password today, we don't need to generate a new one. ld hl, wDailyFlags2 bit DAILYFLAGS2_BUENAS_PASSWORD_F, [hl] jr nz, .AlreadyGotIt ; There are only 11 groups to choose from. .greater_than_11 call Random maskbits NUM_PASSWORD_CATEGORIES cp NUM_PASSWORD_CATEGORIES jr nc, .greater_than_11 ; Store it in the high nybble of e. swap a ld e, a ; For each group, choose one of the three passwords. .greater_than_three call Random maskbits NUM_PASSWORDS_PER_CATEGORY cp NUM_PASSWORDS_PER_CATEGORY jr nc, .greater_than_three ; The high nybble of wBuenasPassword will now contain the password group index, and the low nybble contains the actual password. add e ld [wBuenasPassword], a ; Set the flag so that we don't generate a new password this week. ld hl, wDailyFlags2 set DAILYFLAGS2_BUENAS_PASSWORD_F, [hl] .AlreadyGotIt: ld c, a call GetBuenasPassword ld hl, BuenaRadioText4 ld a, BUENAS_PASSWORD_5 jp NextRadioLine GetBuenasPassword: ; The password indices are held in c. High nybble contains the group index, low nybble contains the word index. ; Load the password group pointer in hl. ld a, c swap a and $f ld hl, BuenasPasswordTable ld d, 0 ld e, a add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a ; Get the password type and store it in b. ld a, [hli] ld b, a push hl inc hl ; Get the password index. ld a, c and $f ld c, a push hl ld hl, .StringFunctionJumpTable ld e, b add hl, de add hl, de ld a, [hli] ld h, [hl] ld l, a pop de ; de now contains the pointer to the value of this week's password, in Blue Card Points. call _hl_ pop hl ld c, [hl] ret .StringFunctionJumpTable: ; entries correspond to BUENA_* constants dw .Mon ; BUENA_MON dw .Item ; BUENA_ITEM dw .Move ; BUENA_MOVE dw .RawString ; BUENA_STRING .Mon: ld h, 0 ld l, c add hl, hl add hl, de ld a, [hli] ld h, [hl] ld l, a call GetPokemonIDFromIndex call GetPokemonName ret .Item: ld h, 0 ld l, c add hl, de ld a, [hl] ld [wNamedObjectIndexBuffer], a call GetItemName ret .Move: ld h, 0 ld l, c add hl, hl add hl, de ld a, [hli] ld h, [hl] ld l, a call GetMoveIDFromIndex call GetMoveName ret .RawString: ; Get the string from the table... ld a, c and a jr z, .skip .read_loop ld a, [de] inc de cp "@" jr nz, .read_loop dec c jr nz, .read_loop ; ... and copy it into wStringBuffer1. .skip ld hl, wStringBuffer1 .copy_loop ld a, [de] inc de ld [hli], a cp "@" jr nz, .copy_loop ld de, wStringBuffer1 ret INCLUDE "data/radio/buenas_passwords.asm" BuenasPassword5: ld hl, BuenaRadioText5 ld a, BUENAS_PASSWORD_6 jp NextRadioLine BuenasPassword6: ld hl, BuenaRadioText6 ld a, BUENAS_PASSWORD_7 jp NextRadioLine BuenasPassword7: call BuenasPasswordCheckTime ld hl, BuenaRadioText7 jr c, BuenasPasswordAfterMidnight ld a, BUENAS_PASSWORD jp NextRadioLine BuenasPasswordAfterMidnight: push hl ld hl, wDailyFlags2 res DAILYFLAGS2_BUENAS_PASSWORD_F, [hl] pop hl ld a, BUENAS_PASSWORD_8 jp NextRadioLine BuenasPassword8: ld hl, wDailyFlags2 res DAILYFLAGS2_BUENAS_PASSWORD_F, [hl] ld hl, BuenaRadioMidnightText10 ld a, BUENAS_PASSWORD_9 jp NextRadioLine BuenasPassword9: ld hl, BuenaRadioMidnightText1 ld a, BUENAS_PASSWORD_10 jp NextRadioLine BuenasPassword10: ld hl, BuenaRadioMidnightText2 ld a, BUENAS_PASSWORD_11 jp NextRadioLine BuenasPassword11: ld hl, BuenaRadioMidnightText3 ld a, BUENAS_PASSWORD_12 jp NextRadioLine BuenasPassword12: ld hl, BuenaRadioMidnightText4 ld a, BUENAS_PASSWORD_13 jp NextRadioLine BuenasPassword13: ld hl, BuenaRadioMidnightText5 ld a, BUENAS_PASSWORD_14 jp NextRadioLine BuenasPassword14: ld hl, BuenaRadioMidnightText6 ld a, BUENAS_PASSWORD_15 jp NextRadioLine BuenasPassword15: ld hl, BuenaRadioMidnightText7 ld a, BUENAS_PASSWORD_16 jp NextRadioLine BuenasPassword16: ld hl, BuenaRadioMidnightText8 ld a, BUENAS_PASSWORD_17 jp NextRadioLine BuenasPassword17: ld hl, BuenaRadioMidnightText9 ld a, BUENAS_PASSWORD_18 jp NextRadioLine BuenasPassword18: ld hl, BuenaRadioMidnightText10 ld a, BUENAS_PASSWORD_19 jp NextRadioLine BuenasPassword19: ld hl, BuenaRadioMidnightText10 ld a, BUENAS_PASSWORD_20 jp NextRadioLine BuenasPassword20: ldh a, [hBGMapMode] push af farcall NoRadioMusic farcall NoRadioName pop af ldh [hBGMapMode], a ld hl, wDailyFlags2 res DAILYFLAGS2_BUENAS_PASSWORD_F, [hl] ld a, BUENAS_PASSWORD ld [wCurRadioLine], a xor a ld [wNumRadioLinesPrinted], a ld hl, BuenaOffTheAirText ld a, BUENAS_PASSWORD_21 jp NextRadioLine BuenasPassword21: ld a, BUENAS_PASSWORD ld [wCurRadioLine], a xor a ld [wNumRadioLinesPrinted], a call BuenasPasswordCheckTime jp nc, BuenasPassword1 ld hl, BuenaOffTheAirText ld a, BUENAS_PASSWORD_21 jp NextRadioLine BuenasPasswordCheckTime: call UpdateTime ldh a, [hHours] cp NITE_HOUR ret BuenasPasswordChannelName: db "BUENA'S PASSWORD@" BuenaRadioText1: ; BUENA: BUENA here! text_far _BuenaRadioText1 text_end BuenaRadioText2: ; Today's password! text_far _BuenaRadioText2 text_end BuenaRadioText3: ; Let me think… It's text_far _BuenaRadioText3 text_end BuenaRadioText4: ; @ ! text_far _BuenaRadioText4 text_end BuenaRadioText5: ; Don't forget it! text_far _BuenaRadioText5 text_end BuenaRadioText6: ; I'm in GOLDENROD's text_far _BuenaRadioText6 text_end BuenaRadioText7: ; RADIO TOWER! text_far _BuenaRadioText7 text_end BuenaRadioMidnightText1: ; BUENA: Oh my… text_far _BuenaRadioMidnightText1 text_end BuenaRadioMidnightText2: ; It's midnight! I text_far _BuenaRadioMidnightText2 text_end BuenaRadioMidnightText3: ; have to shut down! text_far _BuenaRadioMidnightText3 text_end BuenaRadioMidnightText4: ; Thanks for tuning text_far _BuenaRadioMidnightText4 text_end BuenaRadioMidnightText5: ; in to the end! But text_far _BuenaRadioMidnightText5 text_end BuenaRadioMidnightText6: ; don't stay up too text_far _BuenaRadioMidnightText6 text_end BuenaRadioMidnightText7: ; late! Presented to text_far _BuenaRadioMidnightText7 text_end BuenaRadioMidnightText8: ; you by DJ BUENA! text_far _BuenaRadioMidnightText8 text_end BuenaRadioMidnightText9: ; I'm outta here! text_far _BuenaRadioMidnightText9 text_end BuenaRadioMidnightText10: ; … text_far _BuenaRadioMidnightText10 text_end BuenaOffTheAirText: ; text_far _BuenaOffTheAirText text_end CopyRadioTextToRAM: ld a, [hl] cp TX_FAR jp z, FarCopyRadioText ld de, wRadioText ld bc, SCREEN_WIDTH * 2 jp CopyBytes StartRadioStation: ld a, [wNumRadioLinesPrinted] and a ret nz call RadioTerminator call PrintText ld hl, RadioChannelSongs ld a, [wCurRadioLine] ld c, a ld b, 0 add hl, bc add hl, bc ld e, [hl] inc hl ld d, [hl] callfar RadioMusicRestartDE ret INCLUDE "data/radio/channel_music.asm" NextRadioLine: push af call CopyRadioTextToRAM pop af jp PrintRadioLine
16.714062
128
0.759742
08955d4e91d4c91babd9e2646de0264cd46b7b24
9,466
asm
Assembly
MdePkg/Library/BaseLib/Ia32/Thunk16.asm
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
93
2016-10-27T12:03:57.000Z
2022-03-29T15:22:10.000Z
MdePkg/Library/BaseLib/Ia32/Thunk16.asm
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
16
2016-11-02T02:08:40.000Z
2021-06-03T21:18:06.000Z
MdePkg/Library/BaseLib/Ia32/Thunk16.asm
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
41
2016-11-02T00:05:02.000Z
2022-03-29T14:33:09.000Z
#include "BaseLibInternals.h" ;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text of the license may be found at ; http://opensource.org/licenses/bsd-license.php. ; ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. ; ; Module Name: ; ; Thunk.asm ; ; Abstract: ; ; Real mode thunk ; ;------------------------------------------------------------------------------ .686p .model flat,C EXTERNDEF C m16Start:BYTE EXTERNDEF C m16Size:WORD EXTERNDEF C mThunk16Attr:WORD EXTERNDEF C m16Gdt:WORD EXTERNDEF C m16GdtrBase:WORD EXTERNDEF C mTransition:WORD ; ; Here is the layout of the real mode stack. _ToUserCode() is responsible for ; loading all these registers from real mode stack. ; IA32_REGS STRUC 4t _EDI DD ? _ESI DD ? _EBP DD ? _ESP DD ? _EBX DD ? _EDX DD ? _ECX DD ? _EAX DD ? _DS DW ? _ES DW ? _FS DW ? _GS DW ? _EFLAGS DD ? _EIP DD ? _CS DW ? _SS DW ? IA32_REGS ENDS .const ; ; These are global constant to convey information to C code. ; m16Size DW InternalAsmThunk16 - m16Start mThunk16Attr DW _ThunkAttr - m16Start m16Gdt DW _NullSegDesc - m16Start m16GdtrBase DW _16GdtrBase - m16Start mTransition DW _EntryPoint - m16Start .code m16Start LABEL BYTE SavedGdt LABEL FWORD DW ? DD ? ;------------------------------------------------------------------------------ ; _BackFromUserCode() takes control in real mode after 'retf' has been executed ; by user code. It will be shadowed to somewhere in memory below 1MB. ;------------------------------------------------------------------------------ _BackFromUserCode PROC ; ; The order of saved registers on the stack matches the order they appears ; in IA32_REGS structure. This facilitates wrapper function to extract them ; into that structure. ; push ss push cs DB 66h call @Base ; push eip @Base: pushf ; pushfd actually cli ; disable interrupts push gs push fs push es push ds pushaw ; pushad actually DB 66h, 0bah ; mov edx, imm32 _ThunkAttr DD ? test dl, THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 jz @1 mov eax, 15cd2401h ; mov ax, 2401h & int 15h cli ; disable interrupts jnc @2 @1: test dl, THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL jz @2 in al, 92h or al, 2 out 92h, al ; deactivate A20M# @2: xor ax, ax ; xor eax, eax mov eax, ss ; mov ax, ss DB 67h lea bp, [esp + sizeof (IA32_REGS)] ; ; esi's in the following 2 instructions are indeed bp in 16-bit code. Fact ; is "esi" in 32-bit addressing mode has the same encoding of "bp" in 16- ; bit addressing mode. ; mov word ptr (IA32_REGS ptr [esi - sizeof (IA32_REGS)])._ESP, bp mov ebx, (IA32_REGS ptr [esi - sizeof (IA32_REGS)])._EIP shl ax, 4 ; shl eax, 4 add bp, ax ; add ebp, eax DB 66h, 0b8h ; mov eax, imm32 SavedCr4 DD ? mov cr4, eax DB 66h lgdt fword ptr cs:[edi + (SavedGdt - @Base)] DB 66h, 0b8h ; mov eax, imm32 SavedCr0 DD ? mov cr0, eax DB 0b8h ; mov ax, imm16 SavedSs DW ? mov ss, eax DB 66h, 0bch ; mov esp, imm32 SavedEsp DD ? DB 66h retf ; return to protected mode _BackFromUserCode ENDP _EntryPoint DD _ToUserCode - m16Start DW 8h _16Idtr FWORD (1 SHL 10) - 1 _16Gdtr LABEL FWORD DW GdtEnd - _NullSegDesc - 1 _16GdtrBase DD _NullSegDesc ;------------------------------------------------------------------------------ ; _ToUserCode() takes control in real mode before passing control to user code. ; It will be shadowed to somewhere in memory below 1MB. ;------------------------------------------------------------------------------ _ToUserCode PROC mov edx, ss mov ss, ecx ; set new segment selectors mov ds, ecx mov es, ecx mov fs, ecx mov gs, ecx mov cr0, eax ; real mode starts at next instruction ; which (per SDM) *must* be a far JMP. DB 0eah _RealAddr DW 0,0 ; filled in by InternalAsmThunk16 mov cr4, ebp mov ss, esi ; set up 16-bit stack segment xchg sp, bx ; set up 16-bit stack pointer ; mov bp, [esp + sizeof(IA32_REGS) DB 67h mov ebp, [esp + sizeof(IA32_REGS)] ; BackFromUserCode address from stack ; mov cs:[bp + (SavedSs - _BackFromUserCode)], dx mov cs:[esi + (SavedSs - _BackFromUserCode)], edx ; mov cs:[bp + (SavedEsp - _BackFromUserCode)], ebx DB 2eh, 66h, 89h, 9eh DW SavedEsp - _BackFromUserCode ; lidt cs:[bp + (_16Idtr - _BackFromUserCode)] DB 2eh, 66h, 0fh, 01h, 9eh DW _16Idtr - _BackFromUserCode popaw ; popad actually pop ds pop es pop fs pop gs popf ; popfd DB 66h ; Use 32-bit addressing for "retf" below retf ; transfer control to user code _ToUserCode ENDP _NullSegDesc DQ 0 _16CsDesc LABEL QWORD DW -1 DW 0 DB 0 DB 9bh DB 8fh ; 16-bit segment, 4GB limit DB 0 _16DsDesc LABEL QWORD DW -1 DW 0 DB 0 DB 93h DB 8fh ; 16-bit segment, 4GB limit DB 0 GdtEnd LABEL QWORD ;------------------------------------------------------------------------------ ; IA32_REGISTER_SET * ; EFIAPI ; InternalAsmThunk16 ( ; IN IA32_REGISTER_SET *RegisterSet, ; IN OUT VOID *Transition ; ); ;------------------------------------------------------------------------------ InternalAsmThunk16 PROC USES ebp ebx esi edi ds es fs gs mov esi, [esp + 36] ; esi <- RegSet, the 1st parameter movzx edx, (IA32_REGS ptr [esi])._SS mov edi, (IA32_REGS ptr [esi])._ESP add edi, - (sizeof (IA32_REGS) + 4) ; reserve stack space mov ebx, edi ; ebx <- stack offset imul eax, edx, 16 ; eax <- edx * 16 push sizeof (IA32_REGS) / 4 add edi, eax ; edi <- linear address of 16-bit stack pop ecx rep movsd ; copy RegSet mov eax, [esp + 40] ; eax <- address of transition code mov esi, edx ; esi <- 16-bit stack segment lea edx, [eax + (SavedCr0 - m16Start)] mov ecx, eax and ecx, 0fh shl eax, 12 lea ecx, [ecx + (_BackFromUserCode - m16Start)] mov ax, cx stosd ; [edi] <- return address of user code add eax, _RealAddr + 4 - _BackFromUserCode mov dword ptr [edx + (_RealAddr - SavedCr0)], eax sgdt fword ptr [edx + (SavedGdt - SavedCr0)] sidt fword ptr [esp + 36] ; save IDT stack in argument space mov eax, cr0 mov [edx], eax ; save CR0 in SavedCr0 and eax, 7ffffffeh ; clear PE, PG bits mov ebp, cr4 mov [edx + (SavedCr4 - SavedCr0)], ebp and ebp, NOT 30h ; clear PAE, PSE bits push 10h pop ecx ; ecx <- selector for data segments lgdt fword ptr [edx + (_16Gdtr - SavedCr0)] pushfd ; Save df/if indeed call fword ptr [edx + (_EntryPoint - SavedCr0)] popfd lidt fword ptr [esp + 36] ; restore protected mode IDTR lea eax, [ebp - sizeof (IA32_REGS)] ; eax <- the address of IA32_REGS ret InternalAsmThunk16 ENDP END
36.268199
85
0.462286
6921f5ed182f6e20c77dce83d7e2a591c0cd6ca3
321
asm
Assembly
programs/oeis/080/A080534.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/080/A080534.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/080/A080534.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A080534: Number of protons in longest known radioactive decay series ending with Lead 207 ("actinium series"), reversed. ; 82,81,83,82,84,83,85,87,89,88,90,92,94,96,98,100,102,104,106,108,110 mov $1,24 mov $2,6 mov $4,4 add $4,$0 trn $2,$4 sub $1,$2 div $1,$4 mul $1,3 add $1,67 mov $3,$0 mul $3,2 add $1,$3 mov $0,$1
18.882353
122
0.660436
91430690343fe44edaf29e70ca5397391c2cdefe
6,343
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_881.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.log_21829_881.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.log_21829_881.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 %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x96ce, %rsi lea addresses_A_ht+0x19327, %rdi nop nop add %r12, %r12 mov $78, %rcx rep movsb nop nop nop nop nop inc %r12 lea addresses_WC_ht+0x1342e, %rsi lea addresses_A_ht+0x1d532, %rdi nop add %r9, %r9 mov $95, %rcx rep movsl nop nop nop and %rcx, %rcx lea addresses_WC_ht+0x1342e, %r15 nop nop nop nop lfence mov (%r15), %r12w and $39042, %r15 lea addresses_normal_ht+0x1112e, %rsi nop nop nop nop nop xor $11975, %rdi mov (%rsi), %dx xor %rcx, %rcx lea addresses_UC_ht+0xb82e, %rsi nop nop nop nop nop dec %r15 movl $0x61626364, (%rsi) nop nop nop sub %r15, %r15 lea addresses_A_ht+0xd02e, %rsi nop dec %r15 movl $0x61626364, (%rsi) nop nop nop nop nop xor %rdi, %rdi lea addresses_D_ht+0xc42e, %rsi nop and %rdx, %rdx mov (%rsi), %di nop nop nop nop nop and $25230, %r9 lea addresses_A_ht+0x1342e, %r9 nop nop dec %rsi movl $0x61626364, (%r9) nop nop nop nop nop cmp %rsi, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r15 pop %r12 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r8 push %r9 push %rbx push %rdi push %rsi // Store lea addresses_D+0x62e, %r9 nop nop nop nop xor %rsi, %rsi mov $0x5152535455565758, %rbx movq %rbx, (%r9) nop nop nop and $46693, %rsi // Store lea addresses_UC+0x62e, %r8 nop nop nop nop nop xor %rdi, %rdi mov $0x5152535455565758, %r12 movq %r12, %xmm2 movntdq %xmm2, (%r8) and $36574, %rsi // Faulty Load lea addresses_D+0x1742e, %rdi nop nop nop nop xor %r12, %r12 mov (%rdi), %r9 lea oracles, %rsi and $0xff, %r9 shlq $12, %r9 mov (%rsi,%r9,1), %r9 pop %rsi pop %rdi pop %rbx pop %r9 pop %r8 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': True, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': True, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': True, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 7}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 5}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 0}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 9}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 2}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 10}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 10}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': True, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 11}} {'36': 21829} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
35.238889
2,999
0.656314
a5d7ebcad7ea44771a07e7b32a0e69ea57c81bc8
587
asm
Assembly
oeis/143/A143861.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/143/A143861.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/143/A143861.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A143861: Ulam's spiral (NNE spoke). ; 1,14,59,136,245,386,559,764,1001,1270,1571,1904,2269,2666,3095,3556,4049,4574,5131,5720,6341,6994,7679,8396,9145,9926,10739,11584,12461,13370,14311,15284,16289,17326,18395,19496,20629,21794,22991,24220,25481,26774,28099,29456,30845,32266,33719,35204,36721,38270,39851,41464,43109,44786,46495,48236,50009,51814,53651,55520,57421,59354,61319,63316,65345,67406,69499,71624,73781,75970,78191,80444,82729,85046,87395,89776,92189,94634,97111,99620,102161,104734,107339,109976,112645,115346,118079,120844 mov $1,$0 mul $1,16 sub $1,3 mul $0,$1 add $0,1
65.222222
499
0.787053
389971321fb283fcfbdb98599b0e90180c7eb1c2
8,678
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca.log_21829_1835.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca.log_21829_1835.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca.log_21829_1835.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x1935d, %r11 nop nop nop dec %r9 mov $0x6162636465666768, %r13 movq %r13, %xmm1 movups %xmm1, (%r11) nop inc %r12 lea addresses_D_ht+0x1c87d, %rsi lea addresses_D_ht+0x6ced, %rdi nop nop cmp %r10, %r10 mov $107, %rcx rep movsw nop nop nop nop nop sub $8048, %r11 lea addresses_D_ht+0x16a7d, %r11 clflush (%r11) nop nop nop nop nop and $21822, %rdi movl $0x61626364, (%r11) nop nop nop nop inc %rcx lea addresses_D_ht+0x14a55, %rcx nop xor $53938, %r10 movw $0x6162, (%rcx) nop nop nop sub %rsi, %rsi lea addresses_normal_ht+0xea7d, %r11 nop nop add %rdi, %rdi movb $0x61, (%r11) nop nop nop nop nop add %rsi, %rsi lea addresses_WT_ht+0xe47d, %rdi clflush (%rdi) nop nop nop nop nop sub $63183, %r12 mov (%rdi), %r9w nop nop nop xor $57279, %r13 lea addresses_A_ht+0x11415, %rsi lea addresses_UC_ht+0x113ca, %rdi nop nop nop nop dec %r9 mov $61, %rcx rep movsl add $61387, %r10 lea addresses_D_ht+0x1e97d, %r12 nop nop nop dec %rdi mov (%r12), %esi nop nop nop nop and %rsi, %rsi lea addresses_normal_ht+0xb9b5, %rsi lea addresses_A_ht+0x15b7d, %rdi nop nop nop nop nop sub %r12, %r12 mov $51, %rcx rep movsb dec %rcx lea addresses_WC_ht+0x8afd, %rsi lea addresses_WT_ht+0x7421, %rdi nop nop xor %r9, %r9 mov $8, %rcx rep movsb nop nop nop nop and %rdi, %rdi lea addresses_UC_ht+0x4f85, %rsi lea addresses_normal_ht+0x1dd7d, %rdi nop cmp %r9, %r9 mov $77, %rcx rep movsb nop nop nop sub %r10, %r10 lea addresses_WC_ht+0x12bf9, %r13 nop nop nop dec %rcx movups (%r13), %xmm3 vpextrq $0, %xmm3, %rsi nop nop nop nop and %r13, %r13 lea addresses_WC_ht+0x3fbd, %rsi lea addresses_D_ht+0xe87d, %rdi nop nop mfence mov $69, %rcx rep movsl inc %r9 lea addresses_WC_ht+0x8a7d, %rsi lea addresses_D_ht+0x1cbf5, %rdi nop nop add $5629, %r11 mov $35, %rcx rep movsl nop nop cmp $40364, %r11 pop %rsi pop %rdi pop %rcx pop %r9 pop %r13 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r8 push %r9 push %rax push %rbx // Store lea addresses_normal+0xdc0d, %r9 nop nop nop and %r8, %r8 movl $0x51525354, (%r9) nop nop nop nop cmp $45387, %r12 // Store lea addresses_PSE+0xc37d, %rax add %r9, %r9 mov $0x5152535455565758, %r12 movq %r12, %xmm5 vmovaps %ymm5, (%rax) add $52241, %rax // Store mov $0x76ab4d0000000575, %r14 nop nop nop nop nop sub %r10, %r10 movl $0x51525354, (%r14) nop nop nop inc %rax // Store lea addresses_A+0x7c7d, %r8 clflush (%r8) nop nop nop sub $15059, %r9 movl $0x51525354, (%r8) nop nop nop add $6437, %rax // Faulty Load lea addresses_UC+0x1827d, %r9 nop and $48604, %r14 vmovntdqa (%r9), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $0, %xmm6, %rax lea oracles, %r14 and $0xff, %rax shlq $12, %rax mov (%r14,%rax,1), %rax pop %rbx pop %rax pop %r9 pop %r8 pop %r14 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': True, 'same': True, 'size': 32, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal'}} {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': True, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_PSE'}} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_NC'}} {'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_A'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 32, 'NT': True, 'type': 'addresses_UC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_normal_ht'}} {'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}} {'src': {'congruent': 2, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_D_ht'}} {'46': 12, '00': 151, '48': 880, '45': 20786} 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 48 00 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 45 45 45 45 45 45 48 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 48 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 48 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 00 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 48 45 45 45 45 45 45 */
30.992857
2,999
0.655912
ef2410246d07fcdb4537ad4611e2d3e620281591
7,798
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_991.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_991.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_991.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 %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x135cd, %rcx nop nop nop nop dec %rbp mov $0x6162636465666768, %rdx movq %rdx, %xmm2 movups %xmm2, (%rcx) nop nop nop sub %r11, %r11 lea addresses_D_ht+0x9b73, %rbp nop nop nop nop lfence movb (%rbp), %r13b nop nop and $34674, %rbx lea addresses_A_ht+0x150cd, %rsi lea addresses_normal_ht+0x16dcd, %rdi nop nop sub %r11, %r11 mov $15, %rcx rep movsw nop nop nop xor %rbp, %rbp lea addresses_normal_ht+0x10a56, %rsi nop nop nop nop nop add %rbx, %rbx mov $0x6162636465666768, %rcx movq %rcx, %xmm5 vmovups %ymm5, (%rsi) nop nop nop nop sub %r11, %r11 lea addresses_D_ht+0x3dcd, %rbp clflush (%rbp) add %r13, %r13 movw $0x6162, (%rbp) nop nop and %rsi, %rsi lea addresses_WT_ht+0x1a225, %rdx nop nop nop nop nop cmp $51867, %rsi mov (%rdx), %r11 nop nop nop xor %rsi, %rsi lea addresses_A_ht+0xf31b, %rsi nop nop nop nop nop and $16226, %rbp mov $0x6162636465666768, %rbx movq %rbx, %xmm2 vmovups %ymm2, (%rsi) nop xor %rsi, %rsi lea addresses_UC_ht+0x125cd, %rsi lea addresses_A_ht+0x71cd, %rdi nop cmp $39401, %r11 mov $37, %rcx rep movsq nop nop nop nop nop add $64688, %rdi lea addresses_UC_ht+0x760d, %rsi lea addresses_normal_ht+0x5779, %rdi nop nop nop nop nop dec %rbx mov $53, %rcx rep movsq nop nop nop nop sub %r11, %r11 lea addresses_normal_ht+0x7b1d, %rsi lea addresses_normal_ht+0x1dced, %rdi add %rbp, %rbp mov $97, %rcx rep movsl nop nop add %rcx, %rcx lea addresses_WC_ht+0x35cd, %r13 add $17511, %rdx movb (%r13), %r11b nop nop nop nop nop and $5398, %rbx lea addresses_D_ht+0x1cd, %rsi nop nop nop add $59029, %rdi movb $0x61, (%rsi) nop nop nop sub %rbp, %rbp lea addresses_UC_ht+0x187cd, %r13 sub $413, %rdx mov (%r13), %ebp cmp $44104, %rbx lea addresses_WT_ht+0x10d, %rbx sub $24648, %rdi movl $0x61626364, (%rbx) nop nop nop nop dec %r13 pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rbp pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r9 push %rbx push %rdx push %rsi // Load lea addresses_WT+0x1fdcd, %rsi nop nop nop nop nop inc %r9 movups (%rsi), %xmm3 vpextrq $0, %xmm3, %r10 nop nop nop nop and %r10, %r10 // Faulty Load lea addresses_WT+0x25cd, %rdx nop nop nop nop nop add $44109, %rbx movb (%rdx), %r10b lea oracles, %rdx and $0xff, %r10 shlq $12, %r10 mov (%rdx,%r10,1), %r10 pop %rsi pop %rdx pop %rbx pop %r9 pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 10}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WT', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 10}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 6}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 11}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': True, 'congruent': 11}} {'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 1}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 10}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 5}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 4}, 'dst': {'same': True, 'type': 'addresses_normal_ht', 'congruent': 3}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': True, 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 10}} {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_UC_ht', 'same': True, 'AVXalign': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 6}} {'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 */
32.491667
2,999
0.65863
67d3e18f50bf5b80015470320d71422337481be0
311
asm
Assembly
programs/oeis/249/A249736.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/249/A249736.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/249/A249736.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A249736: Triangular numbers modulo 30. ; 0,1,3,6,10,15,21,28,6,15,25,6,18,1,15,0,16,3,21,10,0,21,13,6,0,25,21,18,16,15,15,16,18,21,25,0,6,13,21,0,10,21,3,16,0,15,1,18,6,25,15,6,28,21,15,10,6,3,1,0,0,1,3,6,10,15,21,28,6,15,25,6,18,1,15,0,16,3,21,10,0,21,13,6,0 mov $1,$0 pow $0,2 add $0,$1 mod $0,60 div $0,2
34.555556
220
0.617363
18af21d85bd2155c8fb38d64309a42326719ccb0
52,258
asm
Assembly
ls.asm
briansrls/xv6
a239977076a9bd2ede261e8d8bffd09a25d43598
[ "MIT-0" ]
null
null
null
ls.asm
briansrls/xv6
a239977076a9bd2ede261e8d8bffd09a25d43598
[ "MIT-0" ]
null
null
null
ls.asm
briansrls/xv6
a239977076a9bd2ede261e8d8bffd09a25d43598
[ "MIT-0" ]
null
null
null
_ls: file format elf32-i386 Disassembly of section .text: 00000000 <fmtname>: #include "user.h" #include "fs.h" char* fmtname(char *path) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 53 push %ebx 4: 83 ec 24 sub $0x24,%esp static char buf[DIRSIZ+1]; char *p; // Find first character after last slash. for(p=path+strlen(path); p >= path && *p != '/'; p--) 7: 8b 45 08 mov 0x8(%ebp),%eax a: 89 04 24 mov %eax,(%esp) d: e8 d1 03 00 00 call 3e3 <strlen> 12: 8b 55 08 mov 0x8(%ebp),%edx 15: 01 d0 add %edx,%eax 17: 89 45 f4 mov %eax,-0xc(%ebp) 1a: eb 03 jmp 1f <fmtname+0x1f> 1c: ff 4d f4 decl -0xc(%ebp) 1f: 8b 45 f4 mov -0xc(%ebp),%eax 22: 3b 45 08 cmp 0x8(%ebp),%eax 25: 72 09 jb 30 <fmtname+0x30> 27: 8b 45 f4 mov -0xc(%ebp),%eax 2a: 8a 00 mov (%eax),%al 2c: 3c 2f cmp $0x2f,%al 2e: 75 ec jne 1c <fmtname+0x1c> ; p++; 30: ff 45 f4 incl -0xc(%ebp) // Return blank-padded name. if(strlen(p) >= DIRSIZ) 33: 8b 45 f4 mov -0xc(%ebp),%eax 36: 89 04 24 mov %eax,(%esp) 39: e8 a5 03 00 00 call 3e3 <strlen> 3e: 83 f8 0d cmp $0xd,%eax 41: 76 05 jbe 48 <fmtname+0x48> return p; 43: 8b 45 f4 mov -0xc(%ebp),%eax 46: eb 5f jmp a7 <fmtname+0xa7> memmove(buf, p, strlen(p)); 48: 8b 45 f4 mov -0xc(%ebp),%eax 4b: 89 04 24 mov %eax,(%esp) 4e: e8 90 03 00 00 call 3e3 <strlen> 53: 89 44 24 08 mov %eax,0x8(%esp) 57: 8b 45 f4 mov -0xc(%ebp),%eax 5a: 89 44 24 04 mov %eax,0x4(%esp) 5e: c7 04 24 3c 0e 00 00 movl $0xe3c,(%esp) 65: e8 f4 04 00 00 call 55e <memmove> memset(buf+strlen(p), ' ', DIRSIZ-strlen(p)); 6a: 8b 45 f4 mov -0xc(%ebp),%eax 6d: 89 04 24 mov %eax,(%esp) 70: e8 6e 03 00 00 call 3e3 <strlen> 75: ba 0e 00 00 00 mov $0xe,%edx 7a: 89 d3 mov %edx,%ebx 7c: 29 c3 sub %eax,%ebx 7e: 8b 45 f4 mov -0xc(%ebp),%eax 81: 89 04 24 mov %eax,(%esp) 84: e8 5a 03 00 00 call 3e3 <strlen> 89: 05 3c 0e 00 00 add $0xe3c,%eax 8e: 89 5c 24 08 mov %ebx,0x8(%esp) 92: c7 44 24 04 20 00 00 movl $0x20,0x4(%esp) 99: 00 9a: 89 04 24 mov %eax,(%esp) 9d: e8 66 03 00 00 call 408 <memset> return buf; a2: b8 3c 0e 00 00 mov $0xe3c,%eax } a7: 83 c4 24 add $0x24,%esp aa: 5b pop %ebx ab: 5d pop %ebp ac: c3 ret 000000ad <ls>: void ls(char *path) { ad: 55 push %ebp ae: 89 e5 mov %esp,%ebp b0: 57 push %edi b1: 56 push %esi b2: 53 push %ebx b3: 81 ec 5c 02 00 00 sub $0x25c,%esp char buf[512], *p; int fd; struct dirent de; struct stat st; if((fd = open(path, 0)) < 0){ b9: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) c0: 00 c1: 8b 45 08 mov 0x8(%ebp),%eax c4: 89 04 24 mov %eax,(%esp) c7: e8 44 05 00 00 call 610 <open> cc: 89 45 e4 mov %eax,-0x1c(%ebp) cf: 83 7d e4 00 cmpl $0x0,-0x1c(%ebp) d3: 79 20 jns f5 <ls+0x48> printf(2, "ls: cannot open %s\n", path); d5: 8b 45 08 mov 0x8(%ebp),%eax d8: 89 44 24 08 mov %eax,0x8(%esp) dc: c7 44 24 04 27 0b 00 movl $0xb27,0x4(%esp) e3: 00 e4: c7 04 24 02 00 00 00 movl $0x2,(%esp) eb: e8 70 06 00 00 call 760 <printf> f0: e9 fc 01 00 00 jmp 2f1 <ls+0x244> return; } if(fstat(fd, &st) < 0){ f5: 8d 85 bc fd ff ff lea -0x244(%ebp),%eax fb: 89 44 24 04 mov %eax,0x4(%esp) ff: 8b 45 e4 mov -0x1c(%ebp),%eax 102: 89 04 24 mov %eax,(%esp) 105: e8 1e 05 00 00 call 628 <fstat> 10a: 85 c0 test %eax,%eax 10c: 79 2b jns 139 <ls+0x8c> printf(2, "ls: cannot stat %s\n", path); 10e: 8b 45 08 mov 0x8(%ebp),%eax 111: 89 44 24 08 mov %eax,0x8(%esp) 115: c7 44 24 04 3b 0b 00 movl $0xb3b,0x4(%esp) 11c: 00 11d: c7 04 24 02 00 00 00 movl $0x2,(%esp) 124: e8 37 06 00 00 call 760 <printf> close(fd); 129: 8b 45 e4 mov -0x1c(%ebp),%eax 12c: 89 04 24 mov %eax,(%esp) 12f: e8 c4 04 00 00 call 5f8 <close> 134: e9 b8 01 00 00 jmp 2f1 <ls+0x244> return; } switch(st.type){ 139: 8b 85 bc fd ff ff mov -0x244(%ebp),%eax 13f: 98 cwtl 140: 83 f8 01 cmp $0x1,%eax 143: 74 52 je 197 <ls+0xea> 145: 83 f8 02 cmp $0x2,%eax 148: 0f 85 98 01 00 00 jne 2e6 <ls+0x239> case T_FILE: printf(1, "%s %d %d %d\n", fmtname(path), st.type, st.ino, st.size); 14e: 8b bd cc fd ff ff mov -0x234(%ebp),%edi 154: 8b b5 c4 fd ff ff mov -0x23c(%ebp),%esi 15a: 8b 85 bc fd ff ff mov -0x244(%ebp),%eax 160: 0f bf d8 movswl %ax,%ebx 163: 8b 45 08 mov 0x8(%ebp),%eax 166: 89 04 24 mov %eax,(%esp) 169: e8 92 fe ff ff call 0 <fmtname> 16e: 89 7c 24 14 mov %edi,0x14(%esp) 172: 89 74 24 10 mov %esi,0x10(%esp) 176: 89 5c 24 0c mov %ebx,0xc(%esp) 17a: 89 44 24 08 mov %eax,0x8(%esp) 17e: c7 44 24 04 4f 0b 00 movl $0xb4f,0x4(%esp) 185: 00 186: c7 04 24 01 00 00 00 movl $0x1,(%esp) 18d: e8 ce 05 00 00 call 760 <printf> break; 192: e9 4f 01 00 00 jmp 2e6 <ls+0x239> case T_DIR: if(strlen(path) + 1 + DIRSIZ + 1 > sizeof buf){ 197: 8b 45 08 mov 0x8(%ebp),%eax 19a: 89 04 24 mov %eax,(%esp) 19d: e8 41 02 00 00 call 3e3 <strlen> 1a2: 83 c0 10 add $0x10,%eax 1a5: 3d 00 02 00 00 cmp $0x200,%eax 1aa: 76 19 jbe 1c5 <ls+0x118> printf(1, "ls: path too long\n"); 1ac: c7 44 24 04 5c 0b 00 movl $0xb5c,0x4(%esp) 1b3: 00 1b4: c7 04 24 01 00 00 00 movl $0x1,(%esp) 1bb: e8 a0 05 00 00 call 760 <printf> break; 1c0: e9 21 01 00 00 jmp 2e6 <ls+0x239> } strcpy(buf, path); 1c5: 8b 45 08 mov 0x8(%ebp),%eax 1c8: 89 44 24 04 mov %eax,0x4(%esp) 1cc: 8d 85 e0 fd ff ff lea -0x220(%ebp),%eax 1d2: 89 04 24 mov %eax,(%esp) 1d5: e8 9f 01 00 00 call 379 <strcpy> p = buf+strlen(buf); 1da: 8d 85 e0 fd ff ff lea -0x220(%ebp),%eax 1e0: 89 04 24 mov %eax,(%esp) 1e3: e8 fb 01 00 00 call 3e3 <strlen> 1e8: 8d 95 e0 fd ff ff lea -0x220(%ebp),%edx 1ee: 01 d0 add %edx,%eax 1f0: 89 45 e0 mov %eax,-0x20(%ebp) *p++ = '/'; 1f3: 8b 45 e0 mov -0x20(%ebp),%eax 1f6: c6 00 2f movb $0x2f,(%eax) 1f9: ff 45 e0 incl -0x20(%ebp) while(read(fd, &de, sizeof(de)) == sizeof(de)){ 1fc: e9 be 00 00 00 jmp 2bf <ls+0x212> if(de.inum == 0) 201: 8b 85 d0 fd ff ff mov -0x230(%ebp),%eax 207: 66 85 c0 test %ax,%ax 20a: 0f 84 ae 00 00 00 je 2be <ls+0x211> continue; memmove(p, de.name, DIRSIZ); 210: c7 44 24 08 0e 00 00 movl $0xe,0x8(%esp) 217: 00 218: 8d 85 d0 fd ff ff lea -0x230(%ebp),%eax 21e: 83 c0 02 add $0x2,%eax 221: 89 44 24 04 mov %eax,0x4(%esp) 225: 8b 45 e0 mov -0x20(%ebp),%eax 228: 89 04 24 mov %eax,(%esp) 22b: e8 2e 03 00 00 call 55e <memmove> p[DIRSIZ] = 0; 230: 8b 45 e0 mov -0x20(%ebp),%eax 233: 83 c0 0e add $0xe,%eax 236: c6 00 00 movb $0x0,(%eax) if(stat(buf, &st) < 0){ 239: 8d 85 bc fd ff ff lea -0x244(%ebp),%eax 23f: 89 44 24 04 mov %eax,0x4(%esp) 243: 8d 85 e0 fd ff ff lea -0x220(%ebp),%eax 249: 89 04 24 mov %eax,(%esp) 24c: e8 78 02 00 00 call 4c9 <stat> 251: 85 c0 test %eax,%eax 253: 79 20 jns 275 <ls+0x1c8> printf(1, "ls: cannot stat %s\n", buf); 255: 8d 85 e0 fd ff ff lea -0x220(%ebp),%eax 25b: 89 44 24 08 mov %eax,0x8(%esp) 25f: c7 44 24 04 3b 0b 00 movl $0xb3b,0x4(%esp) 266: 00 267: c7 04 24 01 00 00 00 movl $0x1,(%esp) 26e: e8 ed 04 00 00 call 760 <printf> continue; 273: eb 4a jmp 2bf <ls+0x212> } printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); 275: 8b bd cc fd ff ff mov -0x234(%ebp),%edi 27b: 8b b5 c4 fd ff ff mov -0x23c(%ebp),%esi 281: 8b 85 bc fd ff ff mov -0x244(%ebp),%eax 287: 0f bf d8 movswl %ax,%ebx 28a: 8d 85 e0 fd ff ff lea -0x220(%ebp),%eax 290: 89 04 24 mov %eax,(%esp) 293: e8 68 fd ff ff call 0 <fmtname> 298: 89 7c 24 14 mov %edi,0x14(%esp) 29c: 89 74 24 10 mov %esi,0x10(%esp) 2a0: 89 5c 24 0c mov %ebx,0xc(%esp) 2a4: 89 44 24 08 mov %eax,0x8(%esp) 2a8: c7 44 24 04 4f 0b 00 movl $0xb4f,0x4(%esp) 2af: 00 2b0: c7 04 24 01 00 00 00 movl $0x1,(%esp) 2b7: e8 a4 04 00 00 call 760 <printf> 2bc: eb 01 jmp 2bf <ls+0x212> strcpy(buf, path); p = buf+strlen(buf); *p++ = '/'; while(read(fd, &de, sizeof(de)) == sizeof(de)){ if(de.inum == 0) continue; 2be: 90 nop break; } strcpy(buf, path); p = buf+strlen(buf); *p++ = '/'; while(read(fd, &de, sizeof(de)) == sizeof(de)){ 2bf: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp) 2c6: 00 2c7: 8d 85 d0 fd ff ff lea -0x230(%ebp),%eax 2cd: 89 44 24 04 mov %eax,0x4(%esp) 2d1: 8b 45 e4 mov -0x1c(%ebp),%eax 2d4: 89 04 24 mov %eax,(%esp) 2d7: e8 0c 03 00 00 call 5e8 <read> 2dc: 83 f8 10 cmp $0x10,%eax 2df: 0f 84 1c ff ff ff je 201 <ls+0x154> printf(1, "ls: cannot stat %s\n", buf); continue; } printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); } break; 2e5: 90 nop } close(fd); 2e6: 8b 45 e4 mov -0x1c(%ebp),%eax 2e9: 89 04 24 mov %eax,(%esp) 2ec: e8 07 03 00 00 call 5f8 <close> } 2f1: 81 c4 5c 02 00 00 add $0x25c,%esp 2f7: 5b pop %ebx 2f8: 5e pop %esi 2f9: 5f pop %edi 2fa: 5d pop %ebp 2fb: c3 ret 000002fc <main>: int main(int argc, char *argv[]) { 2fc: 55 push %ebp 2fd: 89 e5 mov %esp,%ebp 2ff: 83 e4 f0 and $0xfffffff0,%esp 302: 83 ec 20 sub $0x20,%esp int i; if(argc < 2){ 305: 83 7d 08 01 cmpl $0x1,0x8(%ebp) 309: 7f 11 jg 31c <main+0x20> ls("."); 30b: c7 04 24 6f 0b 00 00 movl $0xb6f,(%esp) 312: e8 96 fd ff ff call ad <ls> exit(); 317: e8 b4 02 00 00 call 5d0 <exit> } for(i=1; i<argc; i++) 31c: c7 44 24 1c 01 00 00 movl $0x1,0x1c(%esp) 323: 00 324: eb 1e jmp 344 <main+0x48> ls(argv[i]); 326: 8b 44 24 1c mov 0x1c(%esp),%eax 32a: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx 331: 8b 45 0c mov 0xc(%ebp),%eax 334: 01 d0 add %edx,%eax 336: 8b 00 mov (%eax),%eax 338: 89 04 24 mov %eax,(%esp) 33b: e8 6d fd ff ff call ad <ls> if(argc < 2){ ls("."); exit(); } for(i=1; i<argc; i++) 340: ff 44 24 1c incl 0x1c(%esp) 344: 8b 44 24 1c mov 0x1c(%esp),%eax 348: 3b 45 08 cmp 0x8(%ebp),%eax 34b: 7c d9 jl 326 <main+0x2a> ls(argv[i]); exit(); 34d: e8 7e 02 00 00 call 5d0 <exit> 352: 66 90 xchg %ax,%ax 00000354 <stosb>: "cc"); } static inline void stosb(void *addr, int data, int cnt) { 354: 55 push %ebp 355: 89 e5 mov %esp,%ebp 357: 57 push %edi 358: 53 push %ebx asm volatile("cld; rep stosb" : 359: 8b 4d 08 mov 0x8(%ebp),%ecx 35c: 8b 55 10 mov 0x10(%ebp),%edx 35f: 8b 45 0c mov 0xc(%ebp),%eax 362: 89 cb mov %ecx,%ebx 364: 89 df mov %ebx,%edi 366: 89 d1 mov %edx,%ecx 368: fc cld 369: f3 aa rep stos %al,%es:(%edi) 36b: 89 ca mov %ecx,%edx 36d: 89 fb mov %edi,%ebx 36f: 89 5d 08 mov %ebx,0x8(%ebp) 372: 89 55 10 mov %edx,0x10(%ebp) "=D" (addr), "=c" (cnt) : "0" (addr), "1" (cnt), "a" (data) : "memory", "cc"); } 375: 5b pop %ebx 376: 5f pop %edi 377: 5d pop %ebp 378: c3 ret 00000379 <strcpy>: #include "x86.h" #include "signal.h" char* strcpy(char *s, char *t) { 379: 55 push %ebp 37a: 89 e5 mov %esp,%ebp 37c: 83 ec 10 sub $0x10,%esp char *os; os = s; 37f: 8b 45 08 mov 0x8(%ebp),%eax 382: 89 45 fc mov %eax,-0x4(%ebp) while((*s++ = *t++) != 0) 385: 90 nop 386: 8b 45 0c mov 0xc(%ebp),%eax 389: 8a 10 mov (%eax),%dl 38b: 8b 45 08 mov 0x8(%ebp),%eax 38e: 88 10 mov %dl,(%eax) 390: 8b 45 08 mov 0x8(%ebp),%eax 393: 8a 00 mov (%eax),%al 395: 84 c0 test %al,%al 397: 0f 95 c0 setne %al 39a: ff 45 08 incl 0x8(%ebp) 39d: ff 45 0c incl 0xc(%ebp) 3a0: 84 c0 test %al,%al 3a2: 75 e2 jne 386 <strcpy+0xd> ; return os; 3a4: 8b 45 fc mov -0x4(%ebp),%eax } 3a7: c9 leave 3a8: c3 ret 000003a9 <strcmp>: int strcmp(const char *p, const char *q) { 3a9: 55 push %ebp 3aa: 89 e5 mov %esp,%ebp while(*p && *p == *q) 3ac: eb 06 jmp 3b4 <strcmp+0xb> p++, q++; 3ae: ff 45 08 incl 0x8(%ebp) 3b1: ff 45 0c incl 0xc(%ebp) } int strcmp(const char *p, const char *q) { while(*p && *p == *q) 3b4: 8b 45 08 mov 0x8(%ebp),%eax 3b7: 8a 00 mov (%eax),%al 3b9: 84 c0 test %al,%al 3bb: 74 0e je 3cb <strcmp+0x22> 3bd: 8b 45 08 mov 0x8(%ebp),%eax 3c0: 8a 10 mov (%eax),%dl 3c2: 8b 45 0c mov 0xc(%ebp),%eax 3c5: 8a 00 mov (%eax),%al 3c7: 38 c2 cmp %al,%dl 3c9: 74 e3 je 3ae <strcmp+0x5> p++, q++; return (uchar)*p - (uchar)*q; 3cb: 8b 45 08 mov 0x8(%ebp),%eax 3ce: 8a 00 mov (%eax),%al 3d0: 0f b6 d0 movzbl %al,%edx 3d3: 8b 45 0c mov 0xc(%ebp),%eax 3d6: 8a 00 mov (%eax),%al 3d8: 0f b6 c0 movzbl %al,%eax 3db: 89 d1 mov %edx,%ecx 3dd: 29 c1 sub %eax,%ecx 3df: 89 c8 mov %ecx,%eax } 3e1: 5d pop %ebp 3e2: c3 ret 000003e3 <strlen>: uint strlen(char *s) { 3e3: 55 push %ebp 3e4: 89 e5 mov %esp,%ebp 3e6: 83 ec 10 sub $0x10,%esp int n; for(n = 0; s[n]; n++) 3e9: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) 3f0: eb 03 jmp 3f5 <strlen+0x12> 3f2: ff 45 fc incl -0x4(%ebp) 3f5: 8b 55 fc mov -0x4(%ebp),%edx 3f8: 8b 45 08 mov 0x8(%ebp),%eax 3fb: 01 d0 add %edx,%eax 3fd: 8a 00 mov (%eax),%al 3ff: 84 c0 test %al,%al 401: 75 ef jne 3f2 <strlen+0xf> ; return n; 403: 8b 45 fc mov -0x4(%ebp),%eax } 406: c9 leave 407: c3 ret 00000408 <memset>: void* memset(void *dst, int c, uint n) { 408: 55 push %ebp 409: 89 e5 mov %esp,%ebp 40b: 83 ec 0c sub $0xc,%esp stosb(dst, c, n); 40e: 8b 45 10 mov 0x10(%ebp),%eax 411: 89 44 24 08 mov %eax,0x8(%esp) 415: 8b 45 0c mov 0xc(%ebp),%eax 418: 89 44 24 04 mov %eax,0x4(%esp) 41c: 8b 45 08 mov 0x8(%ebp),%eax 41f: 89 04 24 mov %eax,(%esp) 422: e8 2d ff ff ff call 354 <stosb> return dst; 427: 8b 45 08 mov 0x8(%ebp),%eax } 42a: c9 leave 42b: c3 ret 0000042c <strchr>: char* strchr(const char *s, char c) { 42c: 55 push %ebp 42d: 89 e5 mov %esp,%ebp 42f: 83 ec 04 sub $0x4,%esp 432: 8b 45 0c mov 0xc(%ebp),%eax 435: 88 45 fc mov %al,-0x4(%ebp) for(; *s; s++) 438: eb 12 jmp 44c <strchr+0x20> if(*s == c) 43a: 8b 45 08 mov 0x8(%ebp),%eax 43d: 8a 00 mov (%eax),%al 43f: 3a 45 fc cmp -0x4(%ebp),%al 442: 75 05 jne 449 <strchr+0x1d> return (char*)s; 444: 8b 45 08 mov 0x8(%ebp),%eax 447: eb 11 jmp 45a <strchr+0x2e> } char* strchr(const char *s, char c) { for(; *s; s++) 449: ff 45 08 incl 0x8(%ebp) 44c: 8b 45 08 mov 0x8(%ebp),%eax 44f: 8a 00 mov (%eax),%al 451: 84 c0 test %al,%al 453: 75 e5 jne 43a <strchr+0xe> if(*s == c) return (char*)s; return 0; 455: b8 00 00 00 00 mov $0x0,%eax } 45a: c9 leave 45b: c3 ret 0000045c <gets>: char* gets(char *buf, int max) { 45c: 55 push %ebp 45d: 89 e5 mov %esp,%ebp 45f: 83 ec 28 sub $0x28,%esp int i, cc; char c; for(i=0; i+1 < max; ){ 462: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) 469: eb 42 jmp 4ad <gets+0x51> cc = read(0, &c, 1); 46b: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 472: 00 473: 8d 45 ef lea -0x11(%ebp),%eax 476: 89 44 24 04 mov %eax,0x4(%esp) 47a: c7 04 24 00 00 00 00 movl $0x0,(%esp) 481: e8 62 01 00 00 call 5e8 <read> 486: 89 45 f0 mov %eax,-0x10(%ebp) if(cc < 1) 489: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 48d: 7e 29 jle 4b8 <gets+0x5c> break; buf[i++] = c; 48f: 8b 55 f4 mov -0xc(%ebp),%edx 492: 8b 45 08 mov 0x8(%ebp),%eax 495: 01 c2 add %eax,%edx 497: 8a 45 ef mov -0x11(%ebp),%al 49a: 88 02 mov %al,(%edx) 49c: ff 45 f4 incl -0xc(%ebp) if(c == '\n' || c == '\r') 49f: 8a 45 ef mov -0x11(%ebp),%al 4a2: 3c 0a cmp $0xa,%al 4a4: 74 13 je 4b9 <gets+0x5d> 4a6: 8a 45 ef mov -0x11(%ebp),%al 4a9: 3c 0d cmp $0xd,%al 4ab: 74 0c je 4b9 <gets+0x5d> gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 4ad: 8b 45 f4 mov -0xc(%ebp),%eax 4b0: 40 inc %eax 4b1: 3b 45 0c cmp 0xc(%ebp),%eax 4b4: 7c b5 jl 46b <gets+0xf> 4b6: eb 01 jmp 4b9 <gets+0x5d> cc = read(0, &c, 1); if(cc < 1) break; 4b8: 90 nop buf[i++] = c; if(c == '\n' || c == '\r') break; } buf[i] = '\0'; 4b9: 8b 55 f4 mov -0xc(%ebp),%edx 4bc: 8b 45 08 mov 0x8(%ebp),%eax 4bf: 01 d0 add %edx,%eax 4c1: c6 00 00 movb $0x0,(%eax) return buf; 4c4: 8b 45 08 mov 0x8(%ebp),%eax } 4c7: c9 leave 4c8: c3 ret 000004c9 <stat>: int stat(char *n, struct stat *st) { 4c9: 55 push %ebp 4ca: 89 e5 mov %esp,%ebp 4cc: 83 ec 28 sub $0x28,%esp int fd; int r; fd = open(n, O_RDONLY); 4cf: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) 4d6: 00 4d7: 8b 45 08 mov 0x8(%ebp),%eax 4da: 89 04 24 mov %eax,(%esp) 4dd: e8 2e 01 00 00 call 610 <open> 4e2: 89 45 f4 mov %eax,-0xc(%ebp) if(fd < 0) 4e5: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 4e9: 79 07 jns 4f2 <stat+0x29> return -1; 4eb: b8 ff ff ff ff mov $0xffffffff,%eax 4f0: eb 23 jmp 515 <stat+0x4c> r = fstat(fd, st); 4f2: 8b 45 0c mov 0xc(%ebp),%eax 4f5: 89 44 24 04 mov %eax,0x4(%esp) 4f9: 8b 45 f4 mov -0xc(%ebp),%eax 4fc: 89 04 24 mov %eax,(%esp) 4ff: e8 24 01 00 00 call 628 <fstat> 504: 89 45 f0 mov %eax,-0x10(%ebp) close(fd); 507: 8b 45 f4 mov -0xc(%ebp),%eax 50a: 89 04 24 mov %eax,(%esp) 50d: e8 e6 00 00 00 call 5f8 <close> return r; 512: 8b 45 f0 mov -0x10(%ebp),%eax } 515: c9 leave 516: c3 ret 00000517 <atoi>: int atoi(const char *s) { 517: 55 push %ebp 518: 89 e5 mov %esp,%ebp 51a: 83 ec 10 sub $0x10,%esp int n; n = 0; 51d: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) while('0' <= *s && *s <= '9') 524: eb 21 jmp 547 <atoi+0x30> n = n*10 + *s++ - '0'; 526: 8b 55 fc mov -0x4(%ebp),%edx 529: 89 d0 mov %edx,%eax 52b: c1 e0 02 shl $0x2,%eax 52e: 01 d0 add %edx,%eax 530: d1 e0 shl %eax 532: 89 c2 mov %eax,%edx 534: 8b 45 08 mov 0x8(%ebp),%eax 537: 8a 00 mov (%eax),%al 539: 0f be c0 movsbl %al,%eax 53c: 01 d0 add %edx,%eax 53e: 83 e8 30 sub $0x30,%eax 541: 89 45 fc mov %eax,-0x4(%ebp) 544: ff 45 08 incl 0x8(%ebp) atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 547: 8b 45 08 mov 0x8(%ebp),%eax 54a: 8a 00 mov (%eax),%al 54c: 3c 2f cmp $0x2f,%al 54e: 7e 09 jle 559 <atoi+0x42> 550: 8b 45 08 mov 0x8(%ebp),%eax 553: 8a 00 mov (%eax),%al 555: 3c 39 cmp $0x39,%al 557: 7e cd jle 526 <atoi+0xf> n = n*10 + *s++ - '0'; return n; 559: 8b 45 fc mov -0x4(%ebp),%eax } 55c: c9 leave 55d: c3 ret 0000055e <memmove>: void* memmove(void *vdst, void *vsrc, int n) { 55e: 55 push %ebp 55f: 89 e5 mov %esp,%ebp 561: 83 ec 10 sub $0x10,%esp char *dst, *src; dst = vdst; 564: 8b 45 08 mov 0x8(%ebp),%eax 567: 89 45 fc mov %eax,-0x4(%ebp) src = vsrc; 56a: 8b 45 0c mov 0xc(%ebp),%eax 56d: 89 45 f8 mov %eax,-0x8(%ebp) while(n-- > 0) 570: eb 10 jmp 582 <memmove+0x24> *dst++ = *src++; 572: 8b 45 f8 mov -0x8(%ebp),%eax 575: 8a 10 mov (%eax),%dl 577: 8b 45 fc mov -0x4(%ebp),%eax 57a: 88 10 mov %dl,(%eax) 57c: ff 45 fc incl -0x4(%ebp) 57f: ff 45 f8 incl -0x8(%ebp) { char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 582: 83 7d 10 00 cmpl $0x0,0x10(%ebp) 586: 0f 9f c0 setg %al 589: ff 4d 10 decl 0x10(%ebp) 58c: 84 c0 test %al,%al 58e: 75 e2 jne 572 <memmove+0x14> *dst++ = *src++; return vdst; 590: 8b 45 08 mov 0x8(%ebp),%eax } 593: c9 leave 594: c3 ret 00000595 <trampoline>: 595: 5a pop %edx 596: 59 pop %ecx 597: 58 pop %eax 598: 03 25 04 00 00 00 add 0x4,%esp 59e: c9 leave 59f: c3 ret 000005a0 <signal>: "addl 4, %esp\n\t" "leave\n\t" "ret\n\t" ); int signal(int signum, sighandler_t handler) { 5a0: 55 push %ebp 5a1: 89 e5 mov %esp,%ebp 5a3: 83 ec 18 sub $0x18,%esp register_signal_handler(signum, handler, trampoline); 5a6: c7 44 24 08 95 05 00 movl $0x595,0x8(%esp) 5ad: 00 5ae: 8b 45 0c mov 0xc(%ebp),%eax 5b1: 89 44 24 04 mov %eax,0x4(%esp) 5b5: 8b 45 08 mov 0x8(%ebp),%eax 5b8: 89 04 24 mov %eax,(%esp) 5bb: e8 b8 00 00 00 call 678 <register_signal_handler> return 0; 5c0: b8 00 00 00 00 mov $0x0,%eax } 5c5: c9 leave 5c6: c3 ret 5c7: 90 nop 000005c8 <fork>: 5c8: b8 01 00 00 00 mov $0x1,%eax 5cd: cd 40 int $0x40 5cf: c3 ret 000005d0 <exit>: 5d0: b8 02 00 00 00 mov $0x2,%eax 5d5: cd 40 int $0x40 5d7: c3 ret 000005d8 <wait>: 5d8: b8 03 00 00 00 mov $0x3,%eax 5dd: cd 40 int $0x40 5df: c3 ret 000005e0 <pipe>: 5e0: b8 04 00 00 00 mov $0x4,%eax 5e5: cd 40 int $0x40 5e7: c3 ret 000005e8 <read>: 5e8: b8 05 00 00 00 mov $0x5,%eax 5ed: cd 40 int $0x40 5ef: c3 ret 000005f0 <write>: 5f0: b8 10 00 00 00 mov $0x10,%eax 5f5: cd 40 int $0x40 5f7: c3 ret 000005f8 <close>: 5f8: b8 15 00 00 00 mov $0x15,%eax 5fd: cd 40 int $0x40 5ff: c3 ret 00000600 <kill>: 600: b8 06 00 00 00 mov $0x6,%eax 605: cd 40 int $0x40 607: c3 ret 00000608 <exec>: 608: b8 07 00 00 00 mov $0x7,%eax 60d: cd 40 int $0x40 60f: c3 ret 00000610 <open>: 610: b8 0f 00 00 00 mov $0xf,%eax 615: cd 40 int $0x40 617: c3 ret 00000618 <mknod>: 618: b8 11 00 00 00 mov $0x11,%eax 61d: cd 40 int $0x40 61f: c3 ret 00000620 <unlink>: 620: b8 12 00 00 00 mov $0x12,%eax 625: cd 40 int $0x40 627: c3 ret 00000628 <fstat>: 628: b8 08 00 00 00 mov $0x8,%eax 62d: cd 40 int $0x40 62f: c3 ret 00000630 <link>: 630: b8 13 00 00 00 mov $0x13,%eax 635: cd 40 int $0x40 637: c3 ret 00000638 <mkdir>: 638: b8 14 00 00 00 mov $0x14,%eax 63d: cd 40 int $0x40 63f: c3 ret 00000640 <chdir>: 640: b8 09 00 00 00 mov $0x9,%eax 645: cd 40 int $0x40 647: c3 ret 00000648 <dup>: 648: b8 0a 00 00 00 mov $0xa,%eax 64d: cd 40 int $0x40 64f: c3 ret 00000650 <getpid>: 650: b8 0b 00 00 00 mov $0xb,%eax 655: cd 40 int $0x40 657: c3 ret 00000658 <sbrk>: 658: b8 0c 00 00 00 mov $0xc,%eax 65d: cd 40 int $0x40 65f: c3 ret 00000660 <sleep>: 660: b8 0d 00 00 00 mov $0xd,%eax 665: cd 40 int $0x40 667: c3 ret 00000668 <uptime>: 668: b8 0e 00 00 00 mov $0xe,%eax 66d: cd 40 int $0x40 66f: c3 ret 00000670 <halt>: 670: b8 16 00 00 00 mov $0x16,%eax 675: cd 40 int $0x40 677: c3 ret 00000678 <register_signal_handler>: 678: b8 17 00 00 00 mov $0x17,%eax 67d: cd 40 int $0x40 67f: c3 ret 00000680 <alarm>: 680: b8 18 00 00 00 mov $0x18,%eax 685: cd 40 int $0x40 687: c3 ret 00000688 <putc>: #include "stat.h" #include "user.h" static void putc(int fd, char c) { 688: 55 push %ebp 689: 89 e5 mov %esp,%ebp 68b: 83 ec 28 sub $0x28,%esp 68e: 8b 45 0c mov 0xc(%ebp),%eax 691: 88 45 f4 mov %al,-0xc(%ebp) write(fd, &c, 1); 694: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 69b: 00 69c: 8d 45 f4 lea -0xc(%ebp),%eax 69f: 89 44 24 04 mov %eax,0x4(%esp) 6a3: 8b 45 08 mov 0x8(%ebp),%eax 6a6: 89 04 24 mov %eax,(%esp) 6a9: e8 42 ff ff ff call 5f0 <write> } 6ae: c9 leave 6af: c3 ret 000006b0 <printint>: static void printint(int fd, int xx, int base, int sgn) { 6b0: 55 push %ebp 6b1: 89 e5 mov %esp,%ebp 6b3: 83 ec 48 sub $0x48,%esp static char digits[] = "0123456789ABCDEF"; char buf[16]; int i, neg; uint x; neg = 0; 6b6: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) if(sgn && xx < 0){ 6bd: 83 7d 14 00 cmpl $0x0,0x14(%ebp) 6c1: 74 17 je 6da <printint+0x2a> 6c3: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) 6c7: 79 11 jns 6da <printint+0x2a> neg = 1; 6c9: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp) x = -xx; 6d0: 8b 45 0c mov 0xc(%ebp),%eax 6d3: f7 d8 neg %eax 6d5: 89 45 ec mov %eax,-0x14(%ebp) 6d8: eb 06 jmp 6e0 <printint+0x30> } else { x = xx; 6da: 8b 45 0c mov 0xc(%ebp),%eax 6dd: 89 45 ec mov %eax,-0x14(%ebp) } i = 0; 6e0: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) do{ buf[i++] = digits[x % base]; 6e7: 8b 4d 10 mov 0x10(%ebp),%ecx 6ea: 8b 45 ec mov -0x14(%ebp),%eax 6ed: ba 00 00 00 00 mov $0x0,%edx 6f2: f7 f1 div %ecx 6f4: 89 d0 mov %edx,%eax 6f6: 8a 80 28 0e 00 00 mov 0xe28(%eax),%al 6fc: 8d 4d dc lea -0x24(%ebp),%ecx 6ff: 8b 55 f4 mov -0xc(%ebp),%edx 702: 01 ca add %ecx,%edx 704: 88 02 mov %al,(%edx) 706: ff 45 f4 incl -0xc(%ebp) }while((x /= base) != 0); 709: 8b 55 10 mov 0x10(%ebp),%edx 70c: 89 55 d4 mov %edx,-0x2c(%ebp) 70f: 8b 45 ec mov -0x14(%ebp),%eax 712: ba 00 00 00 00 mov $0x0,%edx 717: f7 75 d4 divl -0x2c(%ebp) 71a: 89 45 ec mov %eax,-0x14(%ebp) 71d: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 721: 75 c4 jne 6e7 <printint+0x37> if(neg) 723: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 727: 74 2c je 755 <printint+0xa5> buf[i++] = '-'; 729: 8d 55 dc lea -0x24(%ebp),%edx 72c: 8b 45 f4 mov -0xc(%ebp),%eax 72f: 01 d0 add %edx,%eax 731: c6 00 2d movb $0x2d,(%eax) 734: ff 45 f4 incl -0xc(%ebp) while(--i >= 0) 737: eb 1c jmp 755 <printint+0xa5> putc(fd, buf[i]); 739: 8d 55 dc lea -0x24(%ebp),%edx 73c: 8b 45 f4 mov -0xc(%ebp),%eax 73f: 01 d0 add %edx,%eax 741: 8a 00 mov (%eax),%al 743: 0f be c0 movsbl %al,%eax 746: 89 44 24 04 mov %eax,0x4(%esp) 74a: 8b 45 08 mov 0x8(%ebp),%eax 74d: 89 04 24 mov %eax,(%esp) 750: e8 33 ff ff ff call 688 <putc> buf[i++] = digits[x % base]; }while((x /= base) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 755: ff 4d f4 decl -0xc(%ebp) 758: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 75c: 79 db jns 739 <printint+0x89> putc(fd, buf[i]); } 75e: c9 leave 75f: c3 ret 00000760 <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, char *fmt, ...) { 760: 55 push %ebp 761: 89 e5 mov %esp,%ebp 763: 83 ec 38 sub $0x38,%esp char *s; int c, i, state; uint *ap; state = 0; 766: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) ap = (uint*)(void*)&fmt + 1; 76d: 8d 45 0c lea 0xc(%ebp),%eax 770: 83 c0 04 add $0x4,%eax 773: 89 45 e8 mov %eax,-0x18(%ebp) for(i = 0; fmt[i]; i++){ 776: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) 77d: e9 78 01 00 00 jmp 8fa <printf+0x19a> c = fmt[i] & 0xff; 782: 8b 55 0c mov 0xc(%ebp),%edx 785: 8b 45 f0 mov -0x10(%ebp),%eax 788: 01 d0 add %edx,%eax 78a: 8a 00 mov (%eax),%al 78c: 0f be c0 movsbl %al,%eax 78f: 25 ff 00 00 00 and $0xff,%eax 794: 89 45 e4 mov %eax,-0x1c(%ebp) if(state == 0){ 797: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 79b: 75 2c jne 7c9 <printf+0x69> if(c == '%'){ 79d: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 7a1: 75 0c jne 7af <printf+0x4f> state = '%'; 7a3: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp) 7aa: e9 48 01 00 00 jmp 8f7 <printf+0x197> } else { putc(fd, c); 7af: 8b 45 e4 mov -0x1c(%ebp),%eax 7b2: 0f be c0 movsbl %al,%eax 7b5: 89 44 24 04 mov %eax,0x4(%esp) 7b9: 8b 45 08 mov 0x8(%ebp),%eax 7bc: 89 04 24 mov %eax,(%esp) 7bf: e8 c4 fe ff ff call 688 <putc> 7c4: e9 2e 01 00 00 jmp 8f7 <printf+0x197> } } else if(state == '%'){ 7c9: 83 7d ec 25 cmpl $0x25,-0x14(%ebp) 7cd: 0f 85 24 01 00 00 jne 8f7 <printf+0x197> if(c == 'd'){ 7d3: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp) 7d7: 75 2d jne 806 <printf+0xa6> printint(fd, *ap, 10, 1); 7d9: 8b 45 e8 mov -0x18(%ebp),%eax 7dc: 8b 00 mov (%eax),%eax 7de: c7 44 24 0c 01 00 00 movl $0x1,0xc(%esp) 7e5: 00 7e6: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 7ed: 00 7ee: 89 44 24 04 mov %eax,0x4(%esp) 7f2: 8b 45 08 mov 0x8(%ebp),%eax 7f5: 89 04 24 mov %eax,(%esp) 7f8: e8 b3 fe ff ff call 6b0 <printint> ap++; 7fd: 83 45 e8 04 addl $0x4,-0x18(%ebp) 801: e9 ea 00 00 00 jmp 8f0 <printf+0x190> } else if(c == 'x' || c == 'p'){ 806: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp) 80a: 74 06 je 812 <printf+0xb2> 80c: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp) 810: 75 2d jne 83f <printf+0xdf> printint(fd, *ap, 16, 0); 812: 8b 45 e8 mov -0x18(%ebp),%eax 815: 8b 00 mov (%eax),%eax 817: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 81e: 00 81f: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp) 826: 00 827: 89 44 24 04 mov %eax,0x4(%esp) 82b: 8b 45 08 mov 0x8(%ebp),%eax 82e: 89 04 24 mov %eax,(%esp) 831: e8 7a fe ff ff call 6b0 <printint> ap++; 836: 83 45 e8 04 addl $0x4,-0x18(%ebp) 83a: e9 b1 00 00 00 jmp 8f0 <printf+0x190> } else if(c == 's'){ 83f: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp) 843: 75 43 jne 888 <printf+0x128> s = (char*)*ap; 845: 8b 45 e8 mov -0x18(%ebp),%eax 848: 8b 00 mov (%eax),%eax 84a: 89 45 f4 mov %eax,-0xc(%ebp) ap++; 84d: 83 45 e8 04 addl $0x4,-0x18(%ebp) if(s == 0) 851: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 855: 75 25 jne 87c <printf+0x11c> s = "(null)"; 857: c7 45 f4 71 0b 00 00 movl $0xb71,-0xc(%ebp) while(*s != 0){ 85e: eb 1c jmp 87c <printf+0x11c> putc(fd, *s); 860: 8b 45 f4 mov -0xc(%ebp),%eax 863: 8a 00 mov (%eax),%al 865: 0f be c0 movsbl %al,%eax 868: 89 44 24 04 mov %eax,0x4(%esp) 86c: 8b 45 08 mov 0x8(%ebp),%eax 86f: 89 04 24 mov %eax,(%esp) 872: e8 11 fe ff ff call 688 <putc> s++; 877: ff 45 f4 incl -0xc(%ebp) 87a: eb 01 jmp 87d <printf+0x11d> } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; while(*s != 0){ 87c: 90 nop 87d: 8b 45 f4 mov -0xc(%ebp),%eax 880: 8a 00 mov (%eax),%al 882: 84 c0 test %al,%al 884: 75 da jne 860 <printf+0x100> 886: eb 68 jmp 8f0 <printf+0x190> putc(fd, *s); s++; } } else if(c == 'c'){ 888: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp) 88c: 75 1d jne 8ab <printf+0x14b> putc(fd, *ap); 88e: 8b 45 e8 mov -0x18(%ebp),%eax 891: 8b 00 mov (%eax),%eax 893: 0f be c0 movsbl %al,%eax 896: 89 44 24 04 mov %eax,0x4(%esp) 89a: 8b 45 08 mov 0x8(%ebp),%eax 89d: 89 04 24 mov %eax,(%esp) 8a0: e8 e3 fd ff ff call 688 <putc> ap++; 8a5: 83 45 e8 04 addl $0x4,-0x18(%ebp) 8a9: eb 45 jmp 8f0 <printf+0x190> } else if(c == '%'){ 8ab: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 8af: 75 17 jne 8c8 <printf+0x168> putc(fd, c); 8b1: 8b 45 e4 mov -0x1c(%ebp),%eax 8b4: 0f be c0 movsbl %al,%eax 8b7: 89 44 24 04 mov %eax,0x4(%esp) 8bb: 8b 45 08 mov 0x8(%ebp),%eax 8be: 89 04 24 mov %eax,(%esp) 8c1: e8 c2 fd ff ff call 688 <putc> 8c6: eb 28 jmp 8f0 <printf+0x190> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); 8c8: c7 44 24 04 25 00 00 movl $0x25,0x4(%esp) 8cf: 00 8d0: 8b 45 08 mov 0x8(%ebp),%eax 8d3: 89 04 24 mov %eax,(%esp) 8d6: e8 ad fd ff ff call 688 <putc> putc(fd, c); 8db: 8b 45 e4 mov -0x1c(%ebp),%eax 8de: 0f be c0 movsbl %al,%eax 8e1: 89 44 24 04 mov %eax,0x4(%esp) 8e5: 8b 45 08 mov 0x8(%ebp),%eax 8e8: 89 04 24 mov %eax,(%esp) 8eb: e8 98 fd ff ff call 688 <putc> } state = 0; 8f0: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 8f7: ff 45 f0 incl -0x10(%ebp) 8fa: 8b 55 0c mov 0xc(%ebp),%edx 8fd: 8b 45 f0 mov -0x10(%ebp),%eax 900: 01 d0 add %edx,%eax 902: 8a 00 mov (%eax),%al 904: 84 c0 test %al,%al 906: 0f 85 76 fe ff ff jne 782 <printf+0x22> putc(fd, c); } state = 0; } } } 90c: c9 leave 90d: c3 ret 90e: 66 90 xchg %ax,%ax 00000910 <free>: static Header base; static Header *freep; void free(void *ap) { 910: 55 push %ebp 911: 89 e5 mov %esp,%ebp 913: 83 ec 10 sub $0x10,%esp Header *bp, *p; bp = (Header*)ap - 1; 916: 8b 45 08 mov 0x8(%ebp),%eax 919: 83 e8 08 sub $0x8,%eax 91c: 89 45 f8 mov %eax,-0x8(%ebp) for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 91f: a1 54 0e 00 00 mov 0xe54,%eax 924: 89 45 fc mov %eax,-0x4(%ebp) 927: eb 24 jmp 94d <free+0x3d> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 929: 8b 45 fc mov -0x4(%ebp),%eax 92c: 8b 00 mov (%eax),%eax 92e: 3b 45 fc cmp -0x4(%ebp),%eax 931: 77 12 ja 945 <free+0x35> 933: 8b 45 f8 mov -0x8(%ebp),%eax 936: 3b 45 fc cmp -0x4(%ebp),%eax 939: 77 24 ja 95f <free+0x4f> 93b: 8b 45 fc mov -0x4(%ebp),%eax 93e: 8b 00 mov (%eax),%eax 940: 3b 45 f8 cmp -0x8(%ebp),%eax 943: 77 1a ja 95f <free+0x4f> free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 945: 8b 45 fc mov -0x4(%ebp),%eax 948: 8b 00 mov (%eax),%eax 94a: 89 45 fc mov %eax,-0x4(%ebp) 94d: 8b 45 f8 mov -0x8(%ebp),%eax 950: 3b 45 fc cmp -0x4(%ebp),%eax 953: 76 d4 jbe 929 <free+0x19> 955: 8b 45 fc mov -0x4(%ebp),%eax 958: 8b 00 mov (%eax),%eax 95a: 3b 45 f8 cmp -0x8(%ebp),%eax 95d: 76 ca jbe 929 <free+0x19> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ 95f: 8b 45 f8 mov -0x8(%ebp),%eax 962: 8b 40 04 mov 0x4(%eax),%eax 965: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx 96c: 8b 45 f8 mov -0x8(%ebp),%eax 96f: 01 c2 add %eax,%edx 971: 8b 45 fc mov -0x4(%ebp),%eax 974: 8b 00 mov (%eax),%eax 976: 39 c2 cmp %eax,%edx 978: 75 24 jne 99e <free+0x8e> bp->s.size += p->s.ptr->s.size; 97a: 8b 45 f8 mov -0x8(%ebp),%eax 97d: 8b 50 04 mov 0x4(%eax),%edx 980: 8b 45 fc mov -0x4(%ebp),%eax 983: 8b 00 mov (%eax),%eax 985: 8b 40 04 mov 0x4(%eax),%eax 988: 01 c2 add %eax,%edx 98a: 8b 45 f8 mov -0x8(%ebp),%eax 98d: 89 50 04 mov %edx,0x4(%eax) bp->s.ptr = p->s.ptr->s.ptr; 990: 8b 45 fc mov -0x4(%ebp),%eax 993: 8b 00 mov (%eax),%eax 995: 8b 10 mov (%eax),%edx 997: 8b 45 f8 mov -0x8(%ebp),%eax 99a: 89 10 mov %edx,(%eax) 99c: eb 0a jmp 9a8 <free+0x98> } else bp->s.ptr = p->s.ptr; 99e: 8b 45 fc mov -0x4(%ebp),%eax 9a1: 8b 10 mov (%eax),%edx 9a3: 8b 45 f8 mov -0x8(%ebp),%eax 9a6: 89 10 mov %edx,(%eax) if(p + p->s.size == bp){ 9a8: 8b 45 fc mov -0x4(%ebp),%eax 9ab: 8b 40 04 mov 0x4(%eax),%eax 9ae: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx 9b5: 8b 45 fc mov -0x4(%ebp),%eax 9b8: 01 d0 add %edx,%eax 9ba: 3b 45 f8 cmp -0x8(%ebp),%eax 9bd: 75 20 jne 9df <free+0xcf> p->s.size += bp->s.size; 9bf: 8b 45 fc mov -0x4(%ebp),%eax 9c2: 8b 50 04 mov 0x4(%eax),%edx 9c5: 8b 45 f8 mov -0x8(%ebp),%eax 9c8: 8b 40 04 mov 0x4(%eax),%eax 9cb: 01 c2 add %eax,%edx 9cd: 8b 45 fc mov -0x4(%ebp),%eax 9d0: 89 50 04 mov %edx,0x4(%eax) p->s.ptr = bp->s.ptr; 9d3: 8b 45 f8 mov -0x8(%ebp),%eax 9d6: 8b 10 mov (%eax),%edx 9d8: 8b 45 fc mov -0x4(%ebp),%eax 9db: 89 10 mov %edx,(%eax) 9dd: eb 08 jmp 9e7 <free+0xd7> } else p->s.ptr = bp; 9df: 8b 45 fc mov -0x4(%ebp),%eax 9e2: 8b 55 f8 mov -0x8(%ebp),%edx 9e5: 89 10 mov %edx,(%eax) freep = p; 9e7: 8b 45 fc mov -0x4(%ebp),%eax 9ea: a3 54 0e 00 00 mov %eax,0xe54 } 9ef: c9 leave 9f0: c3 ret 000009f1 <morecore>: static Header* morecore(uint nu) { 9f1: 55 push %ebp 9f2: 89 e5 mov %esp,%ebp 9f4: 83 ec 28 sub $0x28,%esp char *p; Header *hp; if(nu < 4096) 9f7: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp) 9fe: 77 07 ja a07 <morecore+0x16> nu = 4096; a00: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp) p = sbrk(nu * sizeof(Header)); a07: 8b 45 08 mov 0x8(%ebp),%eax a0a: c1 e0 03 shl $0x3,%eax a0d: 89 04 24 mov %eax,(%esp) a10: e8 43 fc ff ff call 658 <sbrk> a15: 89 45 f4 mov %eax,-0xc(%ebp) if(p == (char*)-1) a18: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp) a1c: 75 07 jne a25 <morecore+0x34> return 0; a1e: b8 00 00 00 00 mov $0x0,%eax a23: eb 22 jmp a47 <morecore+0x56> hp = (Header*)p; a25: 8b 45 f4 mov -0xc(%ebp),%eax a28: 89 45 f0 mov %eax,-0x10(%ebp) hp->s.size = nu; a2b: 8b 45 f0 mov -0x10(%ebp),%eax a2e: 8b 55 08 mov 0x8(%ebp),%edx a31: 89 50 04 mov %edx,0x4(%eax) free((void*)(hp + 1)); a34: 8b 45 f0 mov -0x10(%ebp),%eax a37: 83 c0 08 add $0x8,%eax a3a: 89 04 24 mov %eax,(%esp) a3d: e8 ce fe ff ff call 910 <free> return freep; a42: a1 54 0e 00 00 mov 0xe54,%eax } a47: c9 leave a48: c3 ret 00000a49 <malloc>: void* malloc(uint nbytes) { a49: 55 push %ebp a4a: 89 e5 mov %esp,%ebp a4c: 83 ec 28 sub $0x28,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; a4f: 8b 45 08 mov 0x8(%ebp),%eax a52: 83 c0 07 add $0x7,%eax a55: c1 e8 03 shr $0x3,%eax a58: 40 inc %eax a59: 89 45 ec mov %eax,-0x14(%ebp) if((prevp = freep) == 0){ a5c: a1 54 0e 00 00 mov 0xe54,%eax a61: 89 45 f0 mov %eax,-0x10(%ebp) a64: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) a68: 75 23 jne a8d <malloc+0x44> base.s.ptr = freep = prevp = &base; a6a: c7 45 f0 4c 0e 00 00 movl $0xe4c,-0x10(%ebp) a71: 8b 45 f0 mov -0x10(%ebp),%eax a74: a3 54 0e 00 00 mov %eax,0xe54 a79: a1 54 0e 00 00 mov 0xe54,%eax a7e: a3 4c 0e 00 00 mov %eax,0xe4c base.s.size = 0; a83: c7 05 50 0e 00 00 00 movl $0x0,0xe50 a8a: 00 00 00 } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ a8d: 8b 45 f0 mov -0x10(%ebp),%eax a90: 8b 00 mov (%eax),%eax a92: 89 45 f4 mov %eax,-0xc(%ebp) if(p->s.size >= nunits){ a95: 8b 45 f4 mov -0xc(%ebp),%eax a98: 8b 40 04 mov 0x4(%eax),%eax a9b: 3b 45 ec cmp -0x14(%ebp),%eax a9e: 72 4d jb aed <malloc+0xa4> if(p->s.size == nunits) aa0: 8b 45 f4 mov -0xc(%ebp),%eax aa3: 8b 40 04 mov 0x4(%eax),%eax aa6: 3b 45 ec cmp -0x14(%ebp),%eax aa9: 75 0c jne ab7 <malloc+0x6e> prevp->s.ptr = p->s.ptr; aab: 8b 45 f4 mov -0xc(%ebp),%eax aae: 8b 10 mov (%eax),%edx ab0: 8b 45 f0 mov -0x10(%ebp),%eax ab3: 89 10 mov %edx,(%eax) ab5: eb 26 jmp add <malloc+0x94> else { p->s.size -= nunits; ab7: 8b 45 f4 mov -0xc(%ebp),%eax aba: 8b 40 04 mov 0x4(%eax),%eax abd: 89 c2 mov %eax,%edx abf: 2b 55 ec sub -0x14(%ebp),%edx ac2: 8b 45 f4 mov -0xc(%ebp),%eax ac5: 89 50 04 mov %edx,0x4(%eax) p += p->s.size; ac8: 8b 45 f4 mov -0xc(%ebp),%eax acb: 8b 40 04 mov 0x4(%eax),%eax ace: c1 e0 03 shl $0x3,%eax ad1: 01 45 f4 add %eax,-0xc(%ebp) p->s.size = nunits; ad4: 8b 45 f4 mov -0xc(%ebp),%eax ad7: 8b 55 ec mov -0x14(%ebp),%edx ada: 89 50 04 mov %edx,0x4(%eax) } freep = prevp; add: 8b 45 f0 mov -0x10(%ebp),%eax ae0: a3 54 0e 00 00 mov %eax,0xe54 return (void*)(p + 1); ae5: 8b 45 f4 mov -0xc(%ebp),%eax ae8: 83 c0 08 add $0x8,%eax aeb: eb 38 jmp b25 <malloc+0xdc> } if(p == freep) aed: a1 54 0e 00 00 mov 0xe54,%eax af2: 39 45 f4 cmp %eax,-0xc(%ebp) af5: 75 1b jne b12 <malloc+0xc9> if((p = morecore(nunits)) == 0) af7: 8b 45 ec mov -0x14(%ebp),%eax afa: 89 04 24 mov %eax,(%esp) afd: e8 ef fe ff ff call 9f1 <morecore> b02: 89 45 f4 mov %eax,-0xc(%ebp) b05: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) b09: 75 07 jne b12 <malloc+0xc9> return 0; b0b: b8 00 00 00 00 mov $0x0,%eax b10: eb 13 jmp b25 <malloc+0xdc> nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ b12: 8b 45 f4 mov -0xc(%ebp),%eax b15: 89 45 f0 mov %eax,-0x10(%ebp) b18: 8b 45 f4 mov -0xc(%ebp),%eax b1b: 8b 00 mov (%eax),%eax b1d: 89 45 f4 mov %eax,-0xc(%ebp) return (void*)(p + 1); } if(p == freep) if((p = morecore(nunits)) == 0) return 0; } b20: e9 70 ff ff ff jmp a95 <malloc+0x4c> } b25: c9 leave b26: c3 ret
35.025469
73
0.42958
14885927e88b5dae06a5b92768f46829705e5c8f
125
asm
Assembly
src/main/fragment/mos6502-common/vdum1=vdum2_band_vdum3.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/main/fragment/mos6502-common/vdum1=vdum2_band_vdum3.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/main/fragment/mos6502-common/vdum1=vdum2_band_vdum3.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
lda {m2} and {m3} sta {m1} lda {m2}+1 and {m3}+1 sta {m1}+1 lda {m2}+2 and {m3}+2 sta {m1}+2 lda {m2}+3 and {m3}+3 sta {m1}+3
10.416667
10
0.552
b79669a60e3e3235a846fa57752e7a22e7c0b32b
241
asm
Assembly
Assembly/init.asm
CaitSith2/Enemizer
53be2143063c5ca03216f76821ebbbce67313e34
[ "WTFPL" ]
2
2020-06-21T14:38:23.000Z
2021-02-03T00:43:49.000Z
Assembly/init.asm
CaitSith2/Enemizer
53be2143063c5ca03216f76821ebbbce67313e34
[ "WTFPL" ]
5
2020-07-16T22:12:30.000Z
2020-08-31T22:11:54.000Z
Assembly/init.asm
CaitSith2/Enemizer
53be2143063c5ca03216f76821ebbbce67313e34
[ "WTFPL" ]
2
2020-07-16T22:34:11.000Z
2020-11-18T19:39:50.000Z
OnInitFileSelect: { LDA.b #$10 : STA $BC LDA !RANDOM_SPRITE_FLAG : BEQ .continue JSL GetRandomInt : AND #$1F : !ADD #$60 : STA $BC .continue LDA #$00 : STA !SOUNDFX_LOADED JSL $00893D;Restore the previous code RTL }
20.083333
53
0.634855
9170e785ccbeac128107ee6c61a4f4972d12032c
74
asm
Assembly
gfx/pokemon/haunter/anim.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
gfx/pokemon/haunter/anim.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
gfx/pokemon/haunter/anim.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
frame 1, 10 frame 2, 10 frame 3, 44 frame 2, 10 frame 1, 10 endanim
10.571429
12
0.635135
18ea415b679d8115bf968ca846c748a7241fbe3c
274
asm
Assembly
programs/oeis/047/A047392.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/047/A047392.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/047/A047392.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A047392: Numbers that are congruent to {0, 1, 3, 5} mod 7. ; 0,1,3,5,7,8,10,12,14,15,17,19,21,22,24,26,28,29,31,33,35,36,38,40,42,43,45,47,49,50,52,54,56,57,59,61,63,64,66,68,70,71,73,75,77,78,80,82,84,85,87,89,91,92,94,96,98,99,101,103,105,106,108,110 mul $0,7 div $0,4
45.666667
193
0.649635
22afe9da44c3283b7130ad09bfc9c060088502b7
4,232
asm
Assembly
bvs/BvsGetMode.asm
osfree-project/FamilyAPI
2119a95cb2bbe6716ecacff4171866f6ea51b8d7
[ "BSD-3-Clause" ]
null
null
null
bvs/BvsGetMode.asm
osfree-project/FamilyAPI
2119a95cb2bbe6716ecacff4171866f6ea51b8d7
[ "BSD-3-Clause" ]
null
null
null
bvs/BvsGetMode.asm
osfree-project/FamilyAPI
2119a95cb2bbe6716ecacff4171866f6ea51b8d7
[ "BSD-3-Clause" ]
null
null
null
;/*! ; @file ; ; @brief BvsGetMode DOS wrapper ; ; (c) osFree Project 2008-2022, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (yuri.prokushev@gmail.com) ; ; * 0 NO_ERROR ; * 436 ERROR_VIO_INVALID_HANDLE ; * 438 ERROR_VIO_INVALID_LENGTH ; * 465 ERROR_VIO_DETACHED ; * 494 ERROR_VIO_EXTENDED_SG ; ;BIOS MODE TYPE COLOR COLS ROWS HRES VRES VALID ADAPTER/DISPLAY COMBINATIONS [EMULATED] ;0 5 4 40 25 320 200 [CGA/CD], CGA/Comp, [EGA/CD], [EGA/ECD], VGA/Mono, VGA/Color, VGA/Plasma ;0* 5 4 40 25 320 350 [EGA/ECD], VGA/Mono, VGA/Color, VGA/Plasma ;0+ 5 4 40 25 360 400 VGA/Mono, VGA/Color ;0# 5 4 40 25 320 400 VGA/Mono, VGA/Color, VGA/Plasma ;1 1 4 40 25 320 200 CGA/CD, CGA/Comp, EGA/CD, EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;1* 1 4 40 25 320 350 EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;1+ 1 4 40 25 360 400 [VGA/Mono], VGA/Color ;1# 1 4 40 25 320 400 [VGA/Mono], VGA/Color, [VGA/Plasma] ;2 5 4 80 25 640 200 [CGA/CD], CGA/Comp, [EGA/CD], [EGA/ECD], VGA/Mono, VGA/Color, VGA/Plasma ;2* 5 4 80 25 640 350 [EGA/ECD], VGA/Mono, VGA/Color, VGA/Plasma ;2+ 5 4 80 25 720 400 VGA/Mono, VGA/Color ;2# 5 4 80 25 640 400 VGA/Mono, VGA/Color, VGA/Plasma ;3 1 4 80 25 640 200 CGA/CD, CGA/Comp, EGA/CD, EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;3* 1 4 80 25 640 350 EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;3+ 1 4 80 25 720 400 [VGA/Mono], VGA/Color ;3# 1 4 80 25 640 400 [VGA/Mono], VGA/Color, [VGA/Plasma] ;7 0 0 80 25 720 350 MPA/MD, EGA/MD, VGA/Mono, VGA/Color ;7+ 0 0 80 25 720 400 VGA/Mono, VGA/Color ;7# 0 0 80 25 640 400 VGA/Mono, VGA/Color, VGA/Plasma ;n/a 0 0 80 25 640 350 VGA/Mono, VGA/Color, VGA/Plasma ;n/a 1 4 80 30 720 480 [VGA/Mono], VGA/Color ;n/a 1 4 80 30 640 480 [VGA/Mono], VGA/Color, [VGA/Plasma] ;4 3 2 [40] [25] 320 200 CGA/CD, CGA/Comp, EGA/CD, EGA/ECD, [VGA/Mono], VGA/Color,[VGA/Plasma] ;5 7 2 [40] [25] 320 200 [CGA/CD], CGA/Comp, [EGA/CD], [EGA/ECD], VGA/Mono, VGA/Color, VGA/Plasma ;6 3 1 [80] [25] 640 200 CGA/CD, CGA/Comp, EGA/CD, EGA/ECD, VGA/Mono, VGA/Color, VGA/Plasma ;D 3 4 [40] [25] 320 200 EGA/CD, EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;E 3 4 [80] [25] 640 200 EGA/CD, EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;F 2 0 [80] [25] 640 350 EGA/MD, VGA/Mono, VGA/Color, VGA/Plasma ;10 3 4 [80] [25] 640 350 EGA/ECD, [VGA/Mono], VGA/Color, [VGA/Plasma] ;11 3 1 [80] [30] 640 480 VGA/Mono, VGA/Color, VGA/Plasma ;12 3 4 [80] [30] 640 480 [VGA/Mono], VGA/Color, [VGA/Plasma] ;13 3 8 [40] [25] 320 200 [VGA/Mono], VGA/Color, [VGA/Plasma] ;n/a 11 8 [80] [30] 640 480 [8514A/Mono], 8514A/Color ;n/a 11 4 [80] [30] 640 480 [8514A/Mono], 8514A/Color ;n/a 11 8 [85] [38] 1024 768 [8514A/HMono], 8514A/HColor ;n/a 11 4 [85] [38] 1024 768 [8514A/HMono], 8514A/HColor ; ;*/ .8086 ; Helpers INCLUDE helpers.inc INCLUDE bios.inc INCL_SUB EQU 1 INCLUDE bseerr.inc INCLUDE bsesub.inc _TEXT SEGMENT BYTE PUBLIC 'CODE' USE16 @BVSPROLOG BVSGETMODE VIOHANDLE DW ? ;Video handle MODEINFO DD ? ; @BVSSTART BVSGETMODE EXTERN VIOCHECKHANDLE: PROC MOV BX,[DS:BP].ARGS.VIOHANDLE ; GET HANDLE CALL VIOCHECKHANDLE JNZ EXIT LDS SI, [DS:BP].ARGS.MODEINFO MOV CX, [DS:SI].VIOMODEINFO.VIOMI_CB CMP CX, 2 MOV AX, ERROR_VIO_INVALID_LENGTH JBE EXIT @GetMode MOV BX, AX ; Frame buffer type MOV AL,1 MOV [DS:SI].VIOMODEINFO.VIOMI_FBTYPE, AL ; TYPE: 1=TEXT MODE/3=GRAPH MODE CMP CX, 3 JBE OK_EXIT ; Number of Colors MOV AL,4 MOV [DS:SI].VIOMODEINFO.VIOMI_COLOR, AL ; COLOR: 16 COLORS CMP CX, 4 JBE OK_EXIT ; Number of Columns MOV AL, BH XOR AH, AH MOV [DS:SI].VIOMODEINFO.VIOMI_COL, AX ; Columns CMP CX, 6 JBE OK_EXIT ; Number of Rows MOV AX, 40H MOV ES, AX MOV AX, [ES:84H] ; Number of rows for EGA and higher CMP AX, 0 JZ OK_ROWS MOV AX, 24 OK_ROWS: INC AX MOV [DS:SI].VIOMODEINFO.VIOMI_ROW, AX ; Rows CMP CX, 8 JBE OK_EXIT ; Hres ; Vres ; fmt_id ; attrib ; buf_addr ; buf_length ; full_length ; partail_length ; ext_data_addr OK_EXIT: XOR AX,AX EXIT: @BVSEPILOG BVSGETMODE _TEXT ENDS END
28.213333
97
0.662571
2fc7c89a81601b1f34bc573f8e8c02a34ca3ce84
1,730
asm
Assembly
artwork/barbaro_camina_espada.asm
fjpena/sword-of-ianna-zx
fdd6bdb5775933756e75402a7c6be80d5334702d
[ "Apache-2.0" ]
67
2017-10-07T18:48:05.000Z
2022-02-01T20:37:40.000Z
artwork/barbaro_camina_espada.asm
fjpena/sword-of-ianna-zx
fdd6bdb5775933756e75402a7c6be80d5334702d
[ "Apache-2.0" ]
null
null
null
artwork/barbaro_camina_espada.asm
fjpena/sword-of-ianna-zx
fdd6bdb5775933756e75402a7c6be80d5334702d
[ "Apache-2.0" ]
9
2017-10-06T21:02:55.000Z
2022-01-06T03:11:58.000Z
; ASM source file created by SevenuP v1.20 ; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 24, 32) ;Char Size: ( 3, 4) ;Frames: 3 ;Sort Priorities: X char, Char line, Y char, Frame number ;Data Outputted: Gfx ;Interleave: Sprite ;Mask: No barbaro_camina_espada: DEFB 0, 0, 0, 6, 0, 0, 6, 0 DEFB 0, 3, 0, 0, 3, 1,240, 3 DEFB 2, 8, 1,132, 4, 1,136,164 DEFB 1,128,240, 0,220,240, 0,222 DEFB 100, 0,219, 0, 0,103,180, 1 DEFB 99,176, 3,104, 4, 3, 49,192 DEFB 3,164, 20, 1, 78,120, 0, 22 DEFB 112, 0, 56, 0, 0, 0, 0, 0 DEFB 28, 80, 0, 30,168, 0, 60, 16 DEFB 0, 62, 40, 0, 29, 0, 0, 34 DEFB 40, 0, 29, 0, 0, 3, 32, 0 DEFB 6, 0, 0, 14, 80, 0, 60, 40 DEFB 0, 0, 0, 1,128, 0, 1,128 DEFB 0, 0,192,124, 0,192,130, 0 DEFB 193, 1, 0, 98, 41, 0, 96, 60 DEFB 0,103, 60, 0, 55,152, 0, 55 DEFB 193, 0, 54,230, 0, 24,118, 0 DEFB 216, 52, 1,218, 65, 1,204,240 DEFB 0,233, 5, 0, 83,158, 0, 5 DEFB 156, 0, 14, 0, 0, 0, 0, 0 DEFB 3, 10, 0, 7,148, 0, 15,170 DEFB 0, 15, 4, 0, 14, 10, 0, 7 DEFB 68, 0, 8,144, 0, 7, 72, 0 DEFB 0, 96, 0, 3,232, 0, 15,132 DEFB 0, 0, 0, 96, 0, 0, 96, 0 DEFB 0, 48, 31, 0, 48, 32,128, 48 DEFB 64, 64, 24,138, 64, 24, 15, 64 DEFB 25,207, 0, 13,230, 0, 13,240 DEFB 64, 13,185,160, 6, 29,128, 54 DEFB 13, 32,118,144, 64,115, 60, 0 DEFB 58, 65, 64, 20,231,128, 1,103 DEFB 0, 3,128, 0, 0, 0, 0, 0 DEFB 2,128, 1,197, 64, 3,234,160 DEFB 7,193, 64, 7,128, 0, 0, 65 DEFB 64, 7,128, 0, 0, 65, 64, 1 DEFB 192,128, 3,193, 80, 15,224, 40
35.306122
72
0.512717
ab8049e323ba30b4e49a563e03bbfd41e3f27214
3,073
asm
Assembly
Miscellaneous/Chip16-Emulator/roms/Sources/Starfield.asm
ghivert/Student-Projects
43d7a61eac94365b3296ea09311f855ac00d71d1
[ "MIT" ]
2
2017-09-11T19:13:06.000Z
2020-01-20T09:05:40.000Z
Miscellaneous/Chip16-Emulator/roms/Sources/Starfield.asm
ghivert/Student-Projects
43d7a61eac94365b3296ea09311f855ac00d71d1
[ "MIT" ]
null
null
null
Miscellaneous/Chip16-Emulator/roms/Sources/Starfield.asm
ghivert/Student-Projects
43d7a61eac94365b3296ea09311f855ac00d71d1
[ "MIT" ]
3
2017-02-08T18:01:56.000Z
2018-10-04T21:30:08.000Z
; Starfield demo for chip16 ; By tykel ; Store 64 stars - 3 * 64 values in memory (x, y, z) ; See http://freespace.virgin.net/hugo.elias/graphics/x_stars.htm ; star_x: #1000 ; star_y: #2000 ; star_z: #3000 ; star_dir: #4000 -- on bits [0] && [1] ;------------------------------------------------------------------------------- :init ldi r6, 1 ldi r7, 2 ldi rf, 0 ; zero register ldi r8, 160 ; center of screen x ldi r9, 120 ; center of screen y spr #0101 ; stars are 2*1 (1*1 w/ mask) ldi r2, #FF ; loop on all stars :init_loop subi r2, 1 jc program ldi re, #1000 ldi r3, 0 call store_val ldi re, #2000 ldi r3, 0 call store_val ldi re, #3000 ldi r3, 1 call store_val ldi re, #4000 ldi r3, 2 call store_val jmp init_loop :store_val jme r3, rf, c_r_0 jme r3, r6, c_r_1 call random_dir :store_val2 mov r4, r2 shl r4, 2 add re, r4 stm r3, re ret :random_xy rnd r3, #FFFE addi r3,1 ret :random_z rnd r3, 2399 addi r3, 601 ret :random_dir rnd r3, 2 addi r3,1 ret :c_r_0 call random_xy jmp store_val2 :c_r_1 call random_z jmp store_val2 ;------------------------------------------------------------------------------- :program vblnk cls ldi r2, #FF :program_loop subi r2, 1 jc program ldi r3, #1000 ; address manipulation... mov r4, r2 muli r4, 4 add r3, r4 ldm ra, r3 ; this is star_x(i) addi r3, #1000 ldm rb, r3 ; this is star_y(i) addi r3, #1000 ldm rc, r3 ; this is star_z(i) subi rc, 15 ; star_z(i) -= 15 stm rc, r3 ; STORE IT! jz star_z_0 :screen_pos addi r3, #1000 ldm rd, r3 mov r0, ra div r0, rc add r0, r8 ; this is star_scr_x(i) ldi r3, 800 sub r3, r0 jc off_scr mov r1, rb div r1, rc ;muli r1, 5 add r1, r9 ; this is star_scr_y(i) ldi r3, 600 sub r3, r1 jc off_scr and rd, r6, r3 jz maybe_y_swap call x_swap :maybe_y_swap and rd, r7, r3 jz continue call y_swap :continue call draw jmp program_loop :off_scr call random_xy ldi r4, #1000 mov r5, r2 muli r5, 4 add r4, r5 stm r3, r4 call random_xy addi r4, #1000 stm r3, r4 call random_z addi r4, #1000 stm r3, r4 call random_dir addi r4, #1000 stm r3, r4 jmp program_loop :star_z_0 ldi rc, 1 jmp screen_pos :x_swap mov r3, r8 shl r3, 1 sub r3, r0, r0 ret :y_swap mov r3, r9 shl r3, 1 sub r3, r1, r1 ret ;------------------------------------------------------------------------------- :draw mov rd, rc divi rd, 334 subi rd, 1 jz draw_w subi rd, 1 jz draw_lg subi rd, 1 jz draw_g jmp draw_b :draw_w drw r0, r1, star_w ret :draw_lg drw r0, r1, star_lg ret :draw_g drw r0, r1, star_g ret :draw_b ret ;------------------------------------------------------------------------------- :star_w db #E0 db #00 :star_lg db #D0 db #00 :star_g db #C0 db #00
18.183432
81
0.519688
6f355b4b5376e11c8f19a2d1a5b1fe194ec6dbb6
2,464
asm
Assembly
programs/oeis/101/A101093.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/101/A101093.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/101/A101093.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A101093: Second partial sums of sixth powers (A001014). ; 1,66,860,5750,26265,93436,278256,725220,1703625,3682030,7431996,14167946,25730705,44823000,75305920,122566056,193963761,299373690,451829500,668285310,970507241,1386109076,1949746800,2704487500,3703368825,5011165926,6706383516,8883491410,11655422625,15156353840,19544788736,25006965456,31760610145,40059059250,50195773980,62509271046,77388494521,95278654380,116687558000,142192461620,172447469481,208191509086,250256911740,299578628250,357204110385,424303889416,502182883776,592292468600,696243340625,815819212650,952991372476,1109934141966,1289041272585,1492943314500,1724525997040,1986949659036,2283669768281,2618458570070,2995427905500,3419053240930,3894198950721,4426144896096,5020614343680,5683803268000,6422411082945,7243672847906,8155392995036,9165980624790,10284486417625,11520641210460,12884896287216,14388465433476,16043368806025,17862478668750,19859567047100,22049355354026,24447566041041,27070976328760,29937474072000,33066115815240,36477187094961,40192265046106,44234283370620,48627599726750,53398065598505,58573098705396,64181758013296,70254821407980,76824866093625,83926351779270,91595706716956,99871416655986,108794116778465,118406686682000,128754348476160,139884768060016,151848159648801,164697393618450,178488107737500,193278821856550,209131056126201,226109452815116,244281901800560,263719669804500,284497533449065,306693916205886,330391029314556,355675016746170,382636104288625,411368752831080,441971815925696,474548701705496,509207539237905,546061349394250,585228220316220,626831487561006,670999919007561,717867904607140,767575651062000,820269381516860,876101540348441,935231003139126,997823291921500,1064050795781250,1134092996906625,1208136702173376,1286376280354816,1369013905047360,1456259803402625,1548332510757890,1645459131257436,1747875604558006,1855826978712345,1969567689325500,2089361845079280,2215483519720996,2348217050613321,2487857343942830,2634710186685500,2789092565428170,2951332992145681,3121771837034136,3300761668501440,3488667600417000,3685867646723185,3892753083511866,4109728818670076,4337213769199550,4575641246315625,4825459348431700,5087131362136176,5361136171269516,5647968674209785,5948140209475750,6262178989757340,6590630544483986,6934058171042081,7293043394753520,7668186437728000,8060106696702480,8469443229981921,8896855253596146 add $0,1 lpb $0,1 mov $2,$0 cal $2,540 ; Sum of 6th powers: 0^6 + 1^6 + 2^6 + ... + n^6. sub $0,1 add $1,$2 lpe
224
2,284
0.901786
e4de2f92efed7cd823f6ac7042cbd1bd7a4c73f3
629
asm
Assembly
oeis/098/A098815.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/098/A098815.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/098/A098815.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A098815: 2^p - 7 where p is prime. ; -3,1,25,121,2041,8185,131065,524281,8388601,536870905,2147483641,137438953465,2199023255545,8796093022201,140737488355321,9007199254740985,576460752303423481,2305843009213693945,147573952589676412921,2361183241434822606841,9444732965739290427385,604462909807314587353081,9671406556917033397649401,618970019642690137449562105,158456325028528675187087900665,2535301200456458802993406410745,10141204801825835211973625643001,162259276829213363391578010288121,649037107316853453566312041152505 seq $0,6005 ; The odd prime numbers together with 1. max $0,2 mov $2,2 pow $2,$0 mov $0,$2 sub $0,7
62.9
490
0.868045
46f65a0ef430d8c51afc1b9c459ff32c01ad0ad3
8,081
asm
Assembly
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_995.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_995.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_995.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x62fd, %r13 xor $30751, %rbx movb (%r13), %r10b nop nop nop nop nop cmp %rbx, %rbx lea addresses_UC_ht+0x4b09, %rax clflush (%rax) nop nop nop dec %rdi movups (%rax), %xmm5 vpextrq $0, %xmm5, %r11 nop nop nop nop nop cmp $38368, %r11 lea addresses_A_ht+0x6d09, %rax nop nop nop nop cmp %r12, %r12 mov (%rax), %r11 nop nop dec %r12 lea addresses_A_ht+0x1ee09, %r10 and $12237, %r13 movw $0x6162, (%r10) nop nop nop sub %r12, %r12 lea addresses_normal_ht+0x18f09, %rbx nop nop nop nop and %r12, %r12 movups (%rbx), %xmm7 vpextrq $1, %xmm7, %r10 nop nop dec %r10 lea addresses_normal_ht+0x5909, %rsi lea addresses_WC_ht+0x1b369, %rdi nop nop dec %rax mov $70, %rcx rep movsb nop nop nop nop nop and $23801, %r12 lea addresses_normal_ht+0x11b09, %rsi lea addresses_D_ht+0x1e095, %rdi nop nop dec %r12 mov $20, %rcx rep movsl nop add %r12, %r12 lea addresses_A_ht+0x6509, %rsi lea addresses_normal_ht+0x1a109, %rdi nop nop nop xor $16670, %r12 mov $37, %rcx rep movsb nop xor $46835, %r13 lea addresses_A_ht+0xd083, %rsi lea addresses_UC_ht+0xb999, %rdi clflush (%rdi) sub %r13, %r13 mov $63, %rcx rep movsb nop nop xor %r13, %r13 lea addresses_WT_ht+0x1afc7, %r12 clflush (%r12) nop nop nop nop and %rax, %rax mov (%r12), %edi nop nop nop nop nop xor %rdi, %rdi lea addresses_normal_ht+0x18837, %r11 cmp $12276, %r12 mov $0x6162636465666768, %rcx movq %rcx, (%r11) nop nop xor %rcx, %rcx lea addresses_D_ht+0xc135, %rsi lea addresses_WT_ht+0x16849, %rdi inc %rbx mov $84, %rcx rep movsq nop inc %r13 lea addresses_A_ht+0x85c1, %rsi lea addresses_normal_ht+0xe4a9, %rdi clflush (%rsi) nop nop and $18188, %r12 mov $58, %rcx rep movsb nop nop nop nop nop cmp $59246, %rdi lea addresses_normal_ht+0xae89, %rax nop xor %r12, %r12 movups (%rax), %xmm1 vpextrq $1, %xmm1, %rcx nop nop nop nop add $6973, %rsi pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r13 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi // REPMOV mov $0xca9, %rsi lea addresses_D+0xe409, %rdi cmp %r9, %r9 mov $65, %rcx rep movsw nop sub $8000, %rdi // Store lea addresses_A+0x3c09, %r9 sub $27038, %r8 movb $0x51, (%r9) nop nop sub $54677, %rdi // Faulty Load lea addresses_US+0x10d09, %rcx nop nop sub $5826, %r9 movb (%rcx), %r14b lea oracles, %rdi and $0xff, %r14 shlq $12, %r14 mov (%rdi,%r14,1), %r14 pop %rsi pop %rdi pop %rcx pop %r9 pop %r8 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_US'}, 'OP': 'LOAD'} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_P'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_D'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': True, 'size': 1, 'congruent': 7, 'same': False, 'type': 'addresses_A'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_US'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 8, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 9, 'same': True, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 3, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 0, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'REPM'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 10, 'same': True, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'congruent': 1, 'same': True, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 1, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'congruent': 3, 'same': True, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, '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 */
33.811715
2,999
0.656354
6a01ee6118629ae494cf36a28240187c111c1464
3,850
asm
Assembly
base/ntos/ke/x86/ldtsup2.asm
MasonLeeBack/WRKRazzle
c852209285ffb5762ec1692d1786c690c4ffa0d1
[ "Intel" ]
54
2017-01-03T17:09:29.000Z
2021-08-24T10:56:43.000Z
base/ntos/ke/x86/ldtsup2.asm
OpenNT/WRKRazzle
c852209285ffb5762ec1692d1786c690c4ffa0d1
[ "Intel" ]
2
2019-01-17T04:52:33.000Z
2019-06-11T06:37:43.000Z
base/ntos/ke/x86/ldtsup2.asm
OpenNT/WRKRazzle
c852209285ffb5762ec1692d1786c690c4ffa0d1
[ "Intel" ]
36
2016-12-05T11:03:14.000Z
2021-10-24T01:39:25.000Z
title "Ldt Support 2 - Low Level" ;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt). ; If you do not agree to the terms, do not use the code. ; ; ; Module Name: ; ; ldtsup2.asm ; ; Abstract: ; ; This module implements procedures to load a new ldt and to flush ; segment descriptors. ; ;-- .386p .xlist include ks386.inc include x86\kimacro.inc include mac386.inc include callconv.inc .list _TEXT$00 SEGMENT DWORD PUBLIC 'CODE' ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING ;++ ; ; VOID ; KiLoadLdtr( ; VOID ; ) ; ; Routine Description: ; ; This routine copies the Ldt descriptor image out of the currently ; executing process object into the Ldt descriptor, and reloads the ; the Ldt descriptor into the Ldtr. The effect of this is to provide ; a new Ldt. ; ; If the Ldt descriptor image has a base or limit of 0, then NULL will ; be loaded into the Ldtr, and no copy to the Gdt will be done. ; ; Arguments: ; ; None. ; ; Return Value: ; ; None. ; ;-- cPublicProc _KiLoadLdtr, 0 push esi push edi mov eax,PCR[PcPrcbData+PbCurrentThread] ; (eax)->CurrentThread mov eax,[eax]+(ThApcState+AsProcess) ; (eax)->CurrentProcess lea esi,[eax]+PrLdtDescriptor ; (esi)->Ldt value xor dx,dx ; assume null value cmp word ptr [esi],0 ; limit == 0? jz kill10 ; yes limit 0, go load null ; ; We have a non-null Ldt Descriptor, copy it into the Gdt ; mov edi,PCR[PcGdt] add edi,KGDT_LDT ; (edi)->Ldt descriptor movsd movsd ; descrip. now matches value mov dx,KGDT_LDT kill10: lldt dx pop edi pop esi stdCall _KiFlushDescriptors stdRET _KiLoadLdtr stdENDP _KiLoadLdtr ;++ ; ; VOID ; KiFlushDescriptors( ; VOID ; ) ; ; Routine Description: ; ; Flush the in-processor descriptor registers for the segment registers. ; We do this by reloading each segment register. ; ; N.B. ; ; This procedure is only intended to support Ldt operations. ; It does not support operations on the Gdt. In particular, ; neither it nor Ke386SetDescriptorProcess are appropriate for ; editing descriptors used by 16bit kernel code (i.e. ABIOS.) ; ; Since we are in kernel mode, we know that CS and SS do NOT ; contain Ldt selectors, any such selectors will be save/restored ; by the interrupt that brought us here from user space. ; ; Since we are in kernel mode, DS must contain a flat GDT descriptor, ; since all entry sequences would have forced a reference to it. ; ; Since we are in kernel mode, FS points to the PCR, since all ; entry sequences force it to. ; ; Therefore, only ES and GS need to be flushed. ; ; Since no inline kernel code ever uses GS, we know it will be ; restored from a frame of some caller, or nobody cares. Therefore, ; we load null into GS. (Fastest possible load.) ; ; ES is restored to KGDT_R3_DATA, because kernel exit will not restore ; it for us. If we do not put the correct value in ES, we may wind ; up with zero in ES in user mode. ; ; Arguments: ; ; None. ; ; Return Value: ; ; None. ; ;-- cPublicProc _KiFlushDescriptors ,0 xor ax,ax mov gs,ax push ds pop es stdRET _KiFlushDescriptors stdENDP _KiFlushDescriptors _TEXT$00 ends end
24.213836
134
0.612208
eeb9b8e6887dfe44a1df95d1a1ac4ae73519b2fd
1,069
asm
Assembly
programs/oeis/020/A020745.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/020/A020745.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/020/A020745.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A020745: Pisot sequence T(3,5). ; 3,5,8,12,18,27,40,59,87,128,188,276,405,594,871,1277,1872,2744,4022,5895,8640,12663,18559,27200,39864,58424,85625,125490,183915,269541,395032,578948,848490,1243523,1822472,2670963,3914487,5736960,8407924,12322412,18059373,26467298,38789711,56849085,83316384,122106096,178955182,262271567,384377664,563332847,825604415,1209982080,1773314928,2598919344,3808901425,5582216354,8181135699,11990037125,17572253480,25753389180,37743426306,55315679787,81069068968,118812495275,174128175063,255197244032,374009739308,548137914372,803335158405,1177344897714,1725482812087,2528817970493,3706162868208,5431645680296,7960463650790,11666626518999,17098272199296,25058735850087,36725362369087,53823634568384,78882370418472,115607732787560,169431367355945,248313737774418,363921470561979,533352837917925,781666575692344,1145588046254324,1678940884172250,2460607459864595,3606195506118920,5285136390291171,7745743850155767 add $0,5 lpb $0,1 sub $0,1 mov $2,4 add $2,$1 trn $4,2 add $1,$4 sub $3,1 mov $4,$3 sub $3,$3 add $3,$2 lpe
66.8125
907
0.836296
0df9b56c204c21b0ead135dd9fedca1f27e43207
711
asm
Assembly
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/vfprintf_callee.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/vfprintf_callee.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/vfprintf_callee.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; int vfprintf_callee(FILE *stream, const char *format, void *arg) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _vfprintf_callee, l0_vfprintf_callee EXTERN asm_vfprintf _vfprintf_callee: pop af pop hl pop de pop bc push af l0_vfprintf_callee: push hl ex (sp),ix call asm_vfprintf pop ix ret ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ELSE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _vfprintf_callee EXTERN _vfprintf_unlocked_callee defc _vfprintf_callee = _vfprintf_unlocked_callee ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ENDIF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14.8125
66
0.54571
96fd48426472b4f01673f6b52184b46f99bec0cc
472
asm
Assembly
programs/oeis/313/A313045.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/313/A313045.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/313/A313045.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A313045: Coordination sequence Gal.6.258.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,4,9,14,18,23,27,32,36,41,46,50,54,59,64,68,73,77,82,86,91,96,100,104,109,114,118,123,127,132,136,141,146,150,154,159,164,168,173,177,182,186,191,196,200,204,209,214,218,223 mov $2,$0 mov $3,$0 mul $0,8 mov $1,$0 sub $0,1 div $0,11 add $0,1 mul $1,5 div $1,22 add $1,$0 add $1,$3 add $1,$2
29.5
177
0.692797
717604497bae43a53a68e430af65cd88c58eb1fb
1,616
asm
Assembly
text/maps/route_6.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
16
2018-08-28T21:47:01.000Z
2022-02-20T20:29:59.000Z
text/maps/route_6.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
5
2019-04-03T19:53:11.000Z
2022-03-11T22:49:34.000Z
text/maps/route_6.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
2
2019-12-09T19:46:02.000Z
2020-12-05T21:36:30.000Z
_Route6BattleText1:: text "I'm doing this" line "out of love." cont "Leave me alone!" done _Route6EndBattleText1:: text "No," line "this can't be..." prompt _Route6AfterBattleText1:: text "My love will leave" line "me in disgust." done _Route6BattleText2:: text "I'm training for" line "my love. Don't" cont "bother me!" done _Route6EndBattleText2:: text "My" line "textbook never..." prompt _Route6AfterBattleText2:: text "Now I understand," line "#MON isn't" cont "about calculated" cont "numbers." done _Route6BattleText3:: text "There aren't many" line "bugs out here." done _Route6EndBattleText3:: text "No!" line "You're kidding!" prompt _Route6AfterBattleText3:: text "I like bugs, so" line "I'm going back to" cont "VIRIDIAN FOREST." done _Route6BattleText4:: text "Huh? You want" line "to talk to me?" done _Route6EndBattleText4:: text "I" line "didn't start it!" prompt _Route6AfterBattleText4:: text "I should carry" line "more #MON with" cont "me for safety." done _Route6BattleText5:: text "Me? Well, OK." line "I'll play!" done _Route6EndBattleText5:: text "Just" line "didn't work!" prompt _Route6AfterBattleText5:: text "I want to get" line "stronger! What's" cont "your secret?" done _Route6BattleText6:: text "I've never seen" line "you around!" cont "Are you good?" done _Route6EndBattleText6:: text "You" line "are too good!" prompt _Route6AfterBattleText6:: text "Are my #MON" line "weak? Or, am I" cont "just bad?" done _Route6Text7:: text "UNDERGROUND PATH" line "CERULEAN CITY -" cont "VERMILION CITY" done
15.390476
26
0.70297
f3d42da3d658cd47001e0912b37338e5704bc874
864
asm
Assembly
programs/oeis/189/A189574.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/189/A189574.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/189/A189574.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A189574: Partial sums of A189572. ; 0,1,1,1,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,11,11,11,12,12,13,13,13,14,14,15,15,16,16,16,17,17,18,18,18,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,28,28,28,29,29,30,30,30,31,31,32,32,33,33,33,34,34 mov $3,$0 mov $5,$0 lpb $3,1 mov $0,$5 sub $3,1 sub $0,$3 mov $10,2 mov $12,$0 lpb $10,1 mov $0,$12 sub $10,1 add $0,$10 sub $0,1 mov $2,3 mov $6,$0 mul $6,$0 mov $7,$0 add $7,$0 add $7,1 mov $9,$0 lpb $2,1 lpb $6,1 add $0,2 add $7,2 trn $6,$7 lpe mov $2,1 lpe mov $4,$0 mov $11,$9 mul $11,5 add $4,$11 div $4,2 mov $8,$10 lpb $8,1 sub $8,1 mov $13,$4 lpe lpe lpb $12,1 mov $12,0 sub $13,$4 lpe mov $4,$13 sub $4,3 add $1,$4 lpe
16.941176
227
0.472222
ada14cebf8f1638630c2747c59ebaddc9c19a237
379
asm
Assembly
programs/oeis/165/A165972.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/165/A165972.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/165/A165972.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A165972: Nonprimes k such that the sum of the smallest and largest divisor of k is prime. ; 1,4,6,10,12,16,18,22,28,30,36,40,42,46,52,58,60,66,70,72,78,82,88,96,100,102,106,108,112,126,130,136,138,148,150,156,162,166,172,178,180,190,192,196,198,210,222,226,228,232,238,240,250,256,262,268,270,276 seq $0,140475 ; 1 along with primes greater than 3. sub $0,1 trn $0,1 add $0,1
47.375
206
0.71504
10f4f9af4dd14a2f00216b20ccbba5056945ed87
1,171
asm
Assembly
Framework/trackmo/framework/driver.asm
kosmonautdnb/TheLandsOfZador
66c9e8ab92f617838afe793a6c9ddaaf7273aadc
[ "MIT" ]
null
null
null
Framework/trackmo/framework/driver.asm
kosmonautdnb/TheLandsOfZador
66c9e8ab92f617838afe793a6c9ddaaf7273aadc
[ "MIT" ]
null
null
null
Framework/trackmo/framework/driver.asm
kosmonautdnb/TheLandsOfZador
66c9e8ab92f617838afe793a6c9ddaaf7273aadc
[ "MIT" ]
null
null
null
processor 6502 ORG $1001 DC.W $100B,0 DC.B $9E,"4109",0,0,0 ; SYS4107 JMP main org $1800,$00 include "fw_interface.asm" include "fw_bootstrap.asm" main SUBROUTINE lda #$00 jsr fw_init inc $ff19 sei sta $ff3f ldy #$10 lda #$00 .0 sta $0000,y iny bne .0 jsr fw_run sta $ff3f cli jmp startdemo demopart incbin "demopart.prg" demopart_end startdemo SUBROUTINE lda demopart sta .dst+1 sta .jmp+1 lda demopart+1 sta .dst+2 sta .jmp+2 lda #<[demopart+2] sta .src+1 lda #>[demopart+2] sta .src+2 .src lda demopart .dst sta $0fff inc .src+1 bne .1 inc .src+2 .1 inc .dst+1 bne .2 inc .dst+2 .2 lda .src+1 cmp #<demopart_end bne .src lda .src+2 cmp #>demopart_end bne .src cli ldy #$00 lda #$80 .wait70 cmp $ff1d bne .wait70 lda $ff1d .wait71 cmp $ff1d beq .wait71 iny bne .wait70 ldx kp_pattern_counter .wait_pattern lda #$80 .wait80 cmp $ff1d bne .wait80 lda $ff1d .wait81 cmp $ff1d beq .wait81 cpx kp_pattern_counter beq .wait_pattern ldx #$50 ldy #$13 lda #$01 jsr fw_initplayer .jmp jmp $1ffd echo "demopart end: ",.
10.27193
32
0.623399