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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4550bb956ef9393b84c17c18b841899896885453 | 665 | asm | Assembly | programs/oeis/166/A166350.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/166/A166350.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/166/A166350.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A166350: Table T(n,m) = m! read by rows.
; 1,1,2,1,2,6,1,2,6,24,1,2,6,24,120,1,2,6,24,120,720,1,2,6,24,120,720,5040,1,2,6,24,120,720,5040,40320,1,2,6,24,120,720,5040,40320,362880,1,2,6,24,120,720,5040,40320,362880,3628800,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,1,2,6,24,120,720,5040,40320,362880
mov $2,1
add $2,$0
lpb $0
mov $1,$0
mul $0,2
sub $0,$2
trn $0,1
mov $2,$1
lpe
seq $1,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric group S_n, number of permutations of n letters).
mov $0,$1
| 44.333333 | 402 | 0.687218 |
5dcc0f85dcd40d4f8d5140d947aa91e648c94aec | 662 | asm | Assembly | DCS216 Operating System/ep5/lib/test.asm | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | 1 | 2021-12-17T23:09:00.000Z | 2021-12-17T23:09:00.000Z | DCS216 Operating System/ep5/lib/test.asm | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | null | null | null | DCS216 Operating System/ep5/lib/test.asm | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | 1 | 2021-08-03T23:42:06.000Z | 2021-08-03T23:42:06.000Z | .file "test.c"
.code16gcc
.intel_syntax noprefix
.text
.p2align 2,,3
.globl _start
.def _start; .scl 2; .type 32; .endef
_start:
push ebx
sub esp, 44
call _getch
movsx eax, al
mov DWORD PTR [esp], eax
call _putchar
call _getchar
movsx eax, al
mov DWORD PTR [esp], eax
call _putchar
lea ebx, [esp+4]
mov DWORD PTR [esp], ebx
call _gets
mov DWORD PTR [esp], ebx
call _puts
add esp, 44
pop ebx
ret
.ident "GCC: (MinGW.org GCC-8.2.0-5) 8.2.0"
.def _getch; .scl 2; .type 32; .endef
.def _putchar; .scl 2; .type 32; .endef
.def _getchar; .scl 2; .type 32; .endef
.def _gets; .scl 2; .type 32; .endef
.def _puts; .scl 2; .type 32; .endef
| 20.060606 | 44 | 0.655589 |
be655bdc0bfd746550a1b6ac78ae03fef4ac4f5f | 599 | asm | Assembly | oeis/057/A057300.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/057/A057300.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/057/A057300.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A057300: Binary counter with odd/even bit positions swapped; base-4 counter with 1's replaced by 2's and vice versa.
; Submitted by Jamie Morken(s1.)
; 0,2,1,3,8,10,9,11,4,6,5,7,12,14,13,15,32,34,33,35,40,42,41,43,36,38,37,39,44,46,45,47,16,18,17,19,24,26,25,27,20,22,21,23,28,30,29,31,48,50,49,51,56,58,57,59,52,54,53,55,60,62,61,63,128,130,129,131,136,138,137,139,132,134,133,135,140,142,141,143,160,162,161,163,168,170,169,171,164,166,165,167,172,174,173,175,144,146,145,147
mov $1,$0
mov $2,3
lpb $0
mov $3,$0
div $0,4
mod $3,2
mul $3,$2
add $1,$3
mul $2,4
lpe
mov $0,$1
div $0,2
| 35.235294 | 327 | 0.66611 |
4401e600b0c7193e0b4630f9c451b88a3b2a303b | 4,726 | asm | Assembly | s3/music/Knuckles.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 9 | 2017-10-09T20:28:45.000Z | 2021-06-29T21:19:20.000Z | s3/music/Knuckles.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 12 | 2018-08-01T13:52:20.000Z | 2022-02-21T02:19:37.000Z | s3/music/Knuckles.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 2 | 2018-02-17T19:50:36.000Z | 2019-10-30T19:28:06.000Z | Snd_Knux_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_Knux_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $43
smpsHeaderDAC Snd_Knux_DAC
smpsHeaderFM Snd_Knux_FM1, $C2, $03
smpsHeaderFM Snd_Knux_FM2, $E0, $18
smpsHeaderFM Snd_Knux_FM3, $0C, $10
smpsHeaderFM Snd_Knux_FM4, $00, $14
smpsHeaderFM Snd_Knux_FM5, $00, $14
smpsHeaderPSG Snd_Knux_PSG1, $03, $01, $00, $00
smpsHeaderPSG Snd_Knux_PSG2, $00, $01, $00, $00
smpsHeaderPSG Snd_Knux_PSG3, $00, $00, $00, $00
; FM1 Data
Snd_Knux_FM1:
smpsSetvoice $01
dc.b nC1, $08, $04, nRst, $07, nC1, $05
smpsSetvoice $02
dc.b nE3, $0C
smpsSetvoice $01
dc.b nC1, nRst, nC1
smpsSetvoice $02
dc.b nE3, $18
smpsSetvoice $01
dc.b nC1, $0C, nRst, $07, nC1, $05
smpsSetvoice $02
dc.b nE3, $0C
smpsSetvoice $01
dc.b nC1, nRst, $07, nRst, $05, nC1, $0C
smpsSetvoice $02
dc.b nE3, $13, nRst, $05
smpsJump Snd_Knux_FM1
; FM2 Data
Snd_Knux_FM2:
smpsSetvoice $00
dc.b nC4, $07, $05, $07, nRst, $05, nRst, $07, nC4, $05, $07, $05
dc.b nC4, $07, $05, $07, $05, $07, $05, $07, $05
smpsJump Snd_Knux_FM2
; FM3 Data
Snd_Knux_FM3:
; FM4 Data
Snd_Knux_FM4:
; FM5 Data
Snd_Knux_FM5:
; PSG1 Data
Snd_Knux_PSG1:
; PSG2 Data
Snd_Knux_PSG2:
; PSG3 Data
Snd_Knux_PSG3:
smpsStop
; DAC Data
Snd_Knux_DAC:
smpsCall Snd_Knux_Call00
smpsLoop $00, $04, Snd_Knux_DAC
Snd_Knux_Jump00:
smpsCall Snd_Knux_Call01
Snd_Knux_Loop00:
smpsCall Snd_Knux_Call00
smpsLoop $00, $03, Snd_Knux_Loop00
smpsJump Snd_Knux_Jump00
Snd_Knux_Call00:
dc.b nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $0C, $08, $04, dEchoedClapHit_S3
dc.b $18, nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $14, $04, dEchoedClapHit_S3
dc.b $18, nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $0C, $08, $04
dc.b dEchoedClapHit_S3, $18, nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $14, $04
dc.b dEchoedClapHit_S3, $18
smpsReturn
Snd_Knux_Call01:
dc.b dBassHey, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $0C, $08, $04, dEchoedClapHit_S3
dc.b $18, nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $14, $04, dEchoedClapHit_S3
dc.b $18, nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $0C, $08, $04
dc.b dEchoedClapHit_S3, $18, nRst, $0C, dLowerEchoedClapHit_S3, dEchoedClapHit_S3, $08, dLowerEchoedClapHit_S3, $04, $0C, $14, $04
dc.b dEchoedClapHit_S3, $18
smpsReturn
Snd_Knux_Voices:
; Voice $00
; $01
; $02, $00, $00, $00, $1F, $1F, $1F, $1F, $10, $18, $18, $10
; $0E, $00, $00, $08, $FF, $FF, $FF, $0F, $12, $10, $10, $80
smpsVcAlgorithm $01
smpsVcFeedback $00
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $00, $00
smpsVcCoarseFreq $00, $00, $00, $02
smpsVcRateScale $00, $00, $00, $00
smpsVcAttackRate $1F, $1F, $1F, $1F
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $10, $18, $18, $10
smpsVcDecayRate2 $08, $00, $00, $0E
smpsVcDecayLevel $00, $0F, $0F, $0F
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $10, $10, $12
; Voice $01
; $05
; $00, $00, $00, $00, $1F, $1F, $1F, $1F, $12, $0C, $0C, $0C
; $12, $18, $1F, $1F, $1F, $1F, $1F, $1F, $07, $86, $86, $86
smpsVcAlgorithm $05
smpsVcFeedback $00
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $00, $00
smpsVcCoarseFreq $00, $00, $00, $00
smpsVcRateScale $00, $00, $00, $00
smpsVcAttackRate $1F, $1F, $1F, $1F
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $0C, $0C, $0C, $12
smpsVcDecayRate2 $1F, $1F, $18, $12
smpsVcDecayLevel $01, $01, $01, $01
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $06, $06, $06, $07
; Voice $02
; $3C
; $00, $00, $F0, $F1, $1F, $1F, $17, $1F, $1F, $1F, $14, $1F
; $09, $11, $3A, $1D, $02, $0F, $9F, $7F, $03, $80, $02, $80
smpsVcAlgorithm $04
smpsVcFeedback $07
smpsVcUnusedBits $00
smpsVcDetune $0F, $0F, $00, $00
smpsVcCoarseFreq $01, $00, $00, $00
smpsVcRateScale $00, $00, $00, $00
smpsVcAttackRate $1F, $17, $1F, $1F
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $1F, $14, $1F, $1F
smpsVcDecayRate2 $1D, $3A, $11, $09
smpsVcDecayLevel $07, $09, $00, $00
smpsVcReleaseRate $0F, $0F, $0F, $02
smpsVcTotalLevel $00, $02, $00, $03
| 33.28169 | 135 | 0.625688 |
7e3859eb883f41437d61efb5fd35ff2715e218a5 | 449 | asm | Assembly | programs/oeis/168/A168414.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/168/A168414.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/168/A168414.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A168414: a(n) = (18*n - 9*(-1)^n - 3)/4.
; 6,6,15,15,24,24,33,33,42,42,51,51,60,60,69,69,78,78,87,87,96,96,105,105,114,114,123,123,132,132,141,141,150,150,159,159,168,168,177,177,186,186,195,195,204,204,213,213,222,222,231,231,240,240,249,249,258,258,267,267,276,276,285,285,294,294,303,303,312,312,321,321,330,330,339,339,348,348,357,357,366,366,375,375,384,384,393,393,402,402,411,411,420,420,429,429,438,438,447,447
div $0,2
mul $0,9
add $0,6
| 64.142857 | 377 | 0.685969 |
a78aa97eb29d4c730d7dd4a08bc75f1c0b5f7690 | 485 | asm | Assembly | oeis/310/A310378.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/310/A310378.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/310/A310378.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A310378: Coordination sequence Gal.6.320.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 Jamie Morken(s1)
; 1,4,10,14,18,24,28,34,38,42,48,52,56,62,66,70,76,80,86,90,94,100,104,108,114,118,122,128,132,138,142,146,152,156,160,166,170,174,180,184,190,194,198,204,208,212,218,222,226,232
mul $0,13
mov $1,$0
mul $0,2
add $0,5
div $0,11
mul $1,2
sub $1,6
div $1,11
add $1,1
add $0,$1
| 32.333333 | 178 | 0.709278 |
92f0f92fde777071894072f8c636fe639a329fed | 180 | asm | Assembly | Assembly/MIPS/Atividades/AT01/01_somatorios.asm | Kaioguilherme1/PythonCodigos | 76d078c09f825d5fc81d21ba9cc14793a546847c | [
"MIT"
] | 2 | 2020-05-21T16:02:43.000Z | 2020-05-23T17:51:55.000Z | Assembly/MIPS/Atividades/AT01/01_somatorios.asm | Kaioguilherme1/EstudoDeLinguagens | f2acc5fc74178bd33d503de19f817c69959c1690 | [
"MIT"
] | null | null | null | Assembly/MIPS/Atividades/AT01/01_somatorios.asm | Kaioguilherme1/EstudoDeLinguagens | f2acc5fc74178bd33d503de19f817c69959c1690 | [
"MIT"
] | null | null | null | .text
li $s0, 12 #adicionar um valor em determinado registrator
li $s1, 5
add $t0, $s0, $s0 # t0 = s0 + s0
add $t1, $s0, $s1
sub $t2, $t0, $t1 # t2 = t0 + t1
| 22.5 | 61 | 0.522222 |
2391bd5ec2d3affd6ffee190320b1ec1a6804813 | 2,722 | asm | Assembly | Examples/ch08/Params.asm | satadriver/LiunuxOS | 693174ac2b3e503d72782fc7a14f18c8a4f2756c | [
"Apache-2.0"
] | null | null | null | Examples/ch08/Params.asm | satadriver/LiunuxOS | 693174ac2b3e503d72782fc7a14f18c8a4f2756c | [
"Apache-2.0"
] | null | null | null | Examples/ch08/Params.asm | satadriver/LiunuxOS | 693174ac2b3e503d72782fc7a14f18c8a4f2756c | [
"Apache-2.0"
] | null | null | null | TITLE Procedure Parameter Examples (Params.asm)
; Demonstration of the PROC, PROTO, and INVOKE directives.
; Last update: 07/21/01
INCLUDE Irvine32.inc
Sub1 PROTO someData:WORD
Sub2 PROTO dataPtr:PTR WORD
ArraySum PROTO,
ptrArray:PTR DWORD,
szArray:DWORD
AddThree PROTO,
val1:DWORD,
val2:DWORD,
val3:DWORD
FillArray PROTO,
pArray:PTR BYTE
.data
myData WORD 1000h
theSum DWORD ?
bArray BYTE 30 dup(0)
wArray WORD 30 dup(0)
dArray DWORD 10000h,20000h,30000h,40000h,50000h
.code
main PROC
INVOKE Sub2, ADDR myData ; pass by reference
INVOKE Sub2, ADDR dArray ; wrong type of pointer!
INVOKE Sub1, myData ; pass by value
; Pass variables as input parameters:
INVOKE ArraySum,
ADDR dArray, ; addr of the array
LENGTHOF dArray ; size of the array
mov theSum,eax ; returned in EAX
call WriteHex ; display the sum
call Crlf
; Pass registers as input parameters:
mov ecx,OFFSET dArray
mov esi,LENGTHOF dArray
INVOKE ArraySum,ecx,esi
; Demonstrate various parameter types:
INVOKE FillArray, ADDR bArray ; preferred
INVOKE FillArray, OFFSET bArray ; also works
INVOKE ExitProcess,0
main ENDP
;-----------------------------------------------------
; In a PROC definition, the USES clause must be on
; the same line as PROC. The parameter list can be on
; one or more separate lines, as long as there is a
; comma at the end of the first line:
;-----------------------------------------------------
;-----------------------------------------------------
ArraySum PROC USES esi ecx,
ptrArray:PTR DWORD, ; points to the array
szArray:DWORD ; array size
;
; Calculates the sum of an array of 32-bit integers.
; Returns: EAX = sum of the array elements
;-----------------------------------------------------
mov esi,ptrArray ; address of the array
mov ecx,szArray ; size of the array
mov eax,0 ; set the sum to zero
AS1:
add eax,[esi] ; add each integer to sum
add esi,4 ; point to next integer
loop AS1 ; repeat for array size
ret ; sum is in EAX
ArraySum ENDP
Sub1 PROC someData:WORD
mov someData,0
ret
Sub1 ENDP
Sub2 PROC dataPtr:PTR WORD
lea eax,dataPtr ; address of stack parameter
;mov eax,OFFSET dataPtr ; intentional error
mov esi,dataPtr ; address of the array
mov WORD PTR[esi],0 ; dereference, assign zero
ret
Sub2 ENDP
AddThree PROC val1:DWORD, val2:DWORD, val3:DWORD
ret
AddThree ENDP
FillArray PROC,
pArray:PTR BYTE
ret
FillArray ENDP
ShowArray PROC,
pArray:NEAR32
ret
ShowArray ENDP
Display PROC USES ecx edx,
pBuffer:PTR BYTE
LOCAL fileHandle:DWORD
ret
Display ENDP
END main | 21.265625 | 59 | 0.645481 |
a3622899ad017e30d7b9f049412a3431b2dbc687 | 330 | asm | Assembly | oeis/083/A083326.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/083/A083326.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/083/A083326.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A083326: a(n) = 6^n - 5^n + 4^n.
; Submitted by Jamie Morken(s1)
; 1,5,27,155,927,5675,35127,218195,1354527,8386715,51749127,318163235,1949418927,11907099755,72529083927,440741148275,2672816984127,16180899860795,97813978879527,590561131589315,3561890520050127
mov $2,4
pow $2,$0
seq $0,155639 ; 6^n-5^n+1^n.
add $0,$2
sub $0,1
| 33 | 194 | 0.748485 |
37b1abe293cc7cda130ce2f0fcf2b80bc1751be0 | 2,847 | asm | Assembly | Tests/MIPS/Macros/Macros.asm | Zeturic/armips | 10b827f4a951a1c8c4c64428dad84f51c801b179 | [
"MIT"
] | 2 | 2021-04-06T14:36:44.000Z | 2022-03-08T07:03:55.000Z | Tests/MIPS/Macros/Macros.asm | Zeturic/armips | 10b827f4a951a1c8c4c64428dad84f51c801b179 | [
"MIT"
] | null | null | null | Tests/MIPS/Macros/Macros.asm | Zeturic/armips | 10b827f4a951a1c8c4c64428dad84f51c801b179 | [
"MIT"
] | 1 | 2021-08-15T19:57:29.000Z | 2021-08-15T19:57:29.000Z | .ps2
.create "output.bin",0
; li
li a0,0x123456 ; standard li
li a0,-0x123456 ; negative value, lower half MSB set
li a0,0xFFFFF123 ; li that turns into addiu from r0
li a0,-0xEDD ; should give the same result
li a0,0x120000 ; only lui
li a0,0x7FF0 ; li that turns into ori from r0
li a0, 1.0 ; float
li a0, -1.0
li a0, 325.0
; load/store
lb a0,0x123456
lbu a0,0xFFFFF123
lh a0,0x12000000
lhu a0,0x7FF0
lw a0,0x7FF0
lwu a0,0xFFE0
ld a0,0xFFE0
.resetdelay
sb a0,0x123456
sh a0,0xFFFFF123
sw a0,0x7FF0
sd a0,0xFFE0
lb.u a0,0x1234 ; should turn into nop
lb.l a0,0x123456 ; should just be the second instruction
lb.u a0,0x123456 ; should just be first instruction
; load/store unaligned
ulh a0,0x1234(a1)
ulhu a0,0x1234(a1)
ulw a0,0x1234(a1)
uld a0,0x1234(a1)
ush a0,0x1234(a1)
usw a0,0x1234(a1)
usd a0,0x1234(a1)
; absolute value
abs a0,a1
dabs a0,a1
; branch macros
bne a0, 0x1234, 0x4444
beq a0, 0x1234, 0x4444
bnel a0, 0x1234, 0x4444
beql a0, 0x1234, 0x4444
bne a0, 0x12345, 0x4444
beq a0, 0x12345, 0x4444
bnel a0, 0x12345, 0x4444
beql a0, 0x12345, 0x4444
blt a0, a1, 0x4444
bltu a0, a1, 0x4444
bgt a0, a1, 0x4444
bgtu a0, a1, 0x4444
bge a0, a1, 0x4444
bgeu a0, a1, 0x4444
ble a0, a1, 0x4444
bleu a0, a1, 0x4444
bltl a0, a1, 0x4444
bltul a0, a1, 0x4444
bgtl a0, a1, 0x4444
bgtul a0, a1, 0x4444
bgel a0, a1, 0x4444
bgeul a0, a1, 0x4444
blel a0, a1, 0x4444
bleul a0, a1, 0x4444
blt a0, 0x1234, 0x4444
bltu a0, 0x1234, 0x4444
bgt a0, 0x1234, 0x4444
bgtu a0, 0x1234, 0x4444
bge a0, 0x1234, 0x4444
bgeu a0, 0x1234, 0x4444
ble a0, 0x1234, 0x4444
bleu a0, 0x1234, 0x4444
bltl a0, 0x1234, 0x4444
bltul a0, 0x1234, 0x4444
bgtl a0, 0x1234, 0x4444
bgtul a0, 0x1234, 0x4444
bgel a0, 0x1234, 0x4444
bgeul a0, 0x1234, 0x4444
blel a0, 0x1234, 0x4444
bleul a0, 0x1234, 0x4444
blt a0, 0x12345, 0x4444
bltu a0, 0x12345, 0x4444
bgt a0, 0x12345, 0x4444
bgtu a0, 0x12345, 0x4444
bge a0, 0x12345, 0x4444
bgeu a0, 0x12345, 0x4444
ble a0, 0x12345, 0x4444
bleu a0, 0x12345, 0x4444
bltl a0, 0x12345, 0x4444
bltul a0, 0x12345, 0x4444
bgtl a0, 0x12345, 0x4444
bgtul a0, 0x12345, 0x4444
bgel a0, 0x12345, 0x4444
bgeul a0, 0x12345, 0x4444
blel a0, 0x12345, 0x4444
bleul a0, 0x12345, 0x4444
; set macros
sne a0, a1, a2
seq a0, a1, a2
sge a0, a1, a2
sgeu a0, a1, a2
sle a0, a1, a2
sleu a0, a1, a2
sne a0, a1, 0x1234
seq a0, a1, 0x1234
slt a0, a1, 0x1234
sltu a0, a1, 0x1234
sgt a0, a1, 0x1234
sgtu a0, a1, 0x1234
sge a0, a1, 0x1234
sgeu a0, a1, 0x1234
sle a0, a1, 0x1234
sleu a0, a1, 0x1234
sne a0, a1, 0x12345
seq a0, a1, 0x12345
slt a0, a1, 0x12345
sltu a0, a1, 0x12345
sgt a0, a1, 0x12345
sgtu a0, a1, 0x12345
sge a0, a1, 0x12345
sgeu a0, a1, 0x12345
sle a0, a1, 0x12345
sleu a0, a1, 0x12345
; rotate macros
rol a0,a1,a2
rol a0,a1,12
ror a0,a1,a2
ror a0,a1,12
.close
| 18.487013 | 58 | 0.702845 |
d1b9a239ee2da2d66a18f5a179180b7d6c693342 | 543 | asm | Assembly | oeis/144/A144613.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/144/A144613.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/144/A144613.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A144613: a(n) = sigma(3*n) = A000203(3*n).
; Submitted by Jamie Morken(w2)
; 4,12,13,28,24,39,32,60,40,72,48,91,56,96,78,124,72,120,80,168,104,144,96,195,124,168,121,224,120,234,128,252,156,216,192,280,152,240,182,360,168,312,176,336,240,288,192,403,228,372,234,392,216,363,288,480,260,360,240,546,248,384,320,508,336,468,272,504,312,576,288,600,296,456,403,560,384,546,320,744,364,504,336,728,432,528,390,720,360,720,448,672,416,576,480,819,392,684,480,868
mul $0,3
add $0,3
seq $0,39653 ; a(0) = 0; for n > 0, a(n) = sigma(n)-1.
add $0,1
| 60.333333 | 382 | 0.683241 |
630871b48defce83982d61fb195b73702026a32b | 1,330 | asm | Assembly | unordnung_auch_assembler/asm/attiny13/tinyProg.asm | no-go/Blink_atmega328p | a81e41906c4a6d843a7fb87962288a0894105bd7 | [
"Unlicense"
] | null | null | null | unordnung_auch_assembler/asm/attiny13/tinyProg.asm | no-go/Blink_atmega328p | a81e41906c4a6d843a7fb87962288a0894105bd7 | [
"Unlicense"
] | null | null | null | unordnung_auch_assembler/asm/attiny13/tinyProg.asm | no-go/Blink_atmega328p | a81e41906c4a6d843a7fb87962288a0894105bd7 | [
"Unlicense"
] | null | null | null | .include "myTiny13.h"
; 320x240 Pixel
.equ PiXh, 1 ; width high byte
.equ PiXl, 64 ; width low byte
.equ PiYh, 0 ; height high byte
.equ PiYl, 240 ; height low byte
; Register X has line-width, register Y has image-hight
Main:
; set frequency higher in steps -> 69 = 166% (16MHz) / 40 = 150% (7F = 200%)
ldi A, 0x00
SetFreq:
inc A
out OSCCAL, A
cpi A, 0x69
brne SetFreq
; now, we have a higher frequency!!
;initial values
ldi A, 0b00011111 ; H: new line, V: new frame, Red Green Blue
out DDRB, A
out PORTB, A
ldi XH, PiXh
ldi XL, PiXl
ldi YH, PiYh
ldi YL, PiYl
Loop:
; colorCycle
ldi A, 0b00000101 ; bitmask = Black or Mangenta
in N, PINB
eor A, N ; A := A XOR N
out PORTB, A
; next pixel is 0 -> Line is ready?
sbiw X, 1 ; substact immediate from word X = X-1
breq LineReady
rjmp Loop
LineReady:
ldi XH, PiXh
ldi XL, PiXl
sbiw Y, 1 ; substact immediate from word Y = Y-1
breq FrameReady
; NewLine
cbi PORTB, 4 ; 4 = H ticks down, V still positive
rcall Wait1
sbi PORTB, 4 ; H ticks up - New Line starts
rjmp Loop
FrameReady:
ldi YH, PiYh
ldi YL, PiYl
; NewFrame
ldi A, 0
out PORTB, A ; RGB, H & V ticks down
rcall Wait1
rcall Wait1
sbi PORTB, 3 ; V ticks up - New Frame starts
rjmp Loop
;subroutine
Wait1:
ldi N, 250
WL1:
dec N
brne WL1
ret
| 17.733333 | 77 | 0.654135 |
3781ef1b95c0cb0e488cc92c2bcf21bc0dda0b4f | 1,662 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_20_1136.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_20_1136.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_20_1136.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 %r13
push %rcx
lea addresses_normal_ht+0x2541, %r13
nop
nop
nop
nop
inc %rcx
movb (%r13), %r12b
nop
add $13617, %r11
pop %rcx
pop %r13
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15
push %r9
push %rax
push %rdi
push %rsi
// Store
lea addresses_WC+0x1d4e1, %r9
clflush (%r9)
sub %r15, %r15
mov $0x5152535455565758, %rsi
movq %rsi, %xmm2
vmovups %ymm2, (%r9)
nop
nop
nop
nop
nop
cmp %r15, %r15
// Store
lea addresses_A+0x2a8b, %r9
nop
nop
nop
nop
nop
dec %rdi
mov $0x5152535455565758, %r10
movq %r10, %xmm7
movups %xmm7, (%r9)
nop
nop
nop
nop
xor %r15, %r15
// Faulty Load
lea addresses_normal+0x18601, %rax
nop
nop
nop
nop
nop
xor $25956, %r9
mov (%rax), %esi
lea oracles, %r15
and $0xff, %rsi
shlq $12, %rsi
mov (%r15,%rsi,1), %rsi
pop %rsi
pop %rdi
pop %rax
pop %r9
pop %r15
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_A', 'same': False, 'AVXalign': False, 'congruent': 1}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 6}}
{'34': 20}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 17.3125 | 128 | 0.652226 |
df267beaca5b1e1938aa8d333207460018d1a8eb | 255 | asm | Assembly | oeis/140/A140584.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/140/A140584.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/140/A140584.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A140584: Row sums of A140583.
; 1,3,5,6,9,10,13,12,15,18,21,20,25,26
mov $1,$0
mov $2,$0
seq $2,171462 ; Number of hands a bartender needs to have in order to win at the blind bartender's problem with n glasses in a cycle.
add $1,$2
mov $0,$1
add $0,1
| 25.5 | 133 | 0.682353 |
34c52c45415700e440579a3921c051cdcb8aef92 | 664 | asm | Assembly | oeis/052/A052923.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/052/A052923.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/052/A052923.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A052923: Expansion of (1-x)/(1 - x - 4*x^2).
; Submitted by Jamie Morken(l1)
; 1,0,4,4,20,36,116,260,724,1764,4660,11716,30356,77220,198644,507524,1302100,3332196,8540596,21869380,56031764,143509284,367636340,941673476,2412218836,6178912740,15827788084,40543439044,103854591380,266028347556,681446713076,1745560103300,4471346955604,11453587368804,29338975191220,75153324666436,192509225431316,493122524097060,1263159425822324,3235649522210564,8288287225499860,21230885314342116,54384034216341556,139307575473710020,356843712339076244,914074014233916324,2341448863590221300
mov $1,1
lpb $0
sub $0,1
mul $1,4
mov $3,$2
add $2,$1
mov $1,$3
lpe
mov $0,$1
| 47.428571 | 495 | 0.810241 |
c3dc791d1f73d9416022c90d0a34aa3349049bf4 | 615 | asm | Assembly | software/minol/source/commands/os.asm | paulscottrobson/retrochallenge-jan-2016 | 8bd340efc85969fa6f2fecc788aa21b27123a4db | [
"MIT"
] | null | null | null | software/minol/source/commands/os.asm | paulscottrobson/retrochallenge-jan-2016 | 8bd340efc85969fa6f2fecc788aa21b27123a4db | [
"MIT"
] | null | null | null | software/minol/source/commands/os.asm | paulscottrobson/retrochallenge-jan-2016 | 8bd340efc85969fa6f2fecc788aa21b27123a4db | [
"MIT"
] | null | null | null | ; ****************************************************************************************************************
; ****************************************************************************************************************
;
; OS command
;
; ****************************************************************************************************************
; ****************************************************************************************************************
jmp COS_Over
CMD_OS:
lpi p3,BootMonitor-1 ; monitor re-entry point
xppc p3 ; go there.
COS_Over: | 41 | 114 | 0.134959 |
13808c3b5222bc92dda61e43b44398fb68f9002f | 1,045 | asm | Assembly | 6502/sfc8.asm | tertu-m/8bit-prngs | bb0a83ebad518888045603cc67b5b37a315232ba | [
"CC0-1.0"
] | null | null | null | 6502/sfc8.asm | tertu-m/8bit-prngs | bb0a83ebad518888045603cc67b5b37a315232ba | [
"CC0-1.0"
] | null | null | null | 6502/sfc8.asm | tertu-m/8bit-prngs | bb0a83ebad518888045603cc67b5b37a315232ba | [
"CC0-1.0"
] | null | null | null | ;SFC8 for 6502
;Returns a random 8-bit number in RndResult and A
;Carry is indeterminate
;A port of SFC8 with constants by M. E. O'Neill based on Chris
;Doty-Humphrey's SFC PRNG scheme.
;Takes 75 cycles if state is in zpg, 90 if it is not.
_random:
;note: all arithmetic should be unsigned
;a, b, c, and d are the input variables
;a', b', c', d' are the outputs
;temp (the result) = a + b + d
lda RndD
clc
adc RndA
clc
adc RndB
sta RndResult
;d' = d++
inc RndD
;a' = b eor (b >> 2)
lda RndB
lsr a
lsr a
eor RndB
sta RndA
;b' = c + (c << 1)
lda RndC
asl a
clc
adc RndC
sta RndB
;c' = rol8(c, 3) + temp
lda RndC
asl a
adc #0
asl a
adc #0
asl a
adc #0
adc RndResult
sta RndC
lda RndResult
rts
;If you're okay with blowing 256 bytes of space on it and trashing X you could
;replace the rotation with
;ldx RndC
;lda Rol3Lut, X
;which saves 8 cycles assuming Rol3Lut is page-aligned (7-8 if it is not)
| 20.9 | 78 | 0.601914 |
be6c821eae62cd4dab623cafdcf9d6a8689d54fa | 755 | asm | Assembly | oeis/273/A273480.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/273/A273480.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/273/A273480.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A273480: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 737", based on the 5-celled von Neumann neighborhood.
; 1,5,30,79,160,281,450,675,964,1325,1766,2295,2920,3649,4490,5451,6540,7765,9134,10655,12336,14185,16210,18419,20820,23421,26230,29255,32504,35985,39706,43675,47900,52389,57150,62191,67520,73145,79074,85315,91876,98765,105990,113559,121480,129761,138410,147435,156844,166645,176846,187455,198480,209929,221810,234131,246900,260125,273814,287975,302616,317745,333370,349499,366140,383301,400990,419215,437984,457305,477186,497635,518660,540269,562470,585271,608680,632705,657354,682635,708556,735125
mov $2,$0
add $0,3
add $0,$2
bin $0,3
trn $0,6
add $0,1
| 75.5 | 499 | 0.796026 |
50878d0f48a21af0541f24a490a682c35659d989 | 3,094 | asm | Assembly | externals/mpir-3.0.0/mpn/x86_64w/k8/rshift.asm | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | 12 | 2021-09-29T14:50:06.000Z | 2022-03-31T15:01:21.000Z | externals/mpir-3.0.0/mpn/x86_64w/k8/rshift.asm | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | 15 | 2021-12-24T22:53:49.000Z | 2021-12-25T10:03:13.000Z | LibSource/mpir/mpn/x86_64w/k8/rshift.asm | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 10 | 2021-10-17T19:46:51.000Z | 2022-03-18T02:57:57.000Z | ; PROLOGUE(mpn_rshift)
; Verdxon 1.1.4.
;
; Copyright 2008 Jason Moxham
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the Free Software Foundation; either verdxon 2.1 of the License, or (at
; your option) any later verdxon.
; The MPIR Library is distributed in the hope that it will be useful, but
; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
; License for more details.
;
; You should have received a copy of the GNU Lesser General Public License
; along with the MPIR Library; see the file COPYING.LIB. If not, write
; to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
; Boston, MA 02110-1301, USA.
;
; mp_limb_t mpn_rshift(mp_ptr, mp_ptr, mp_size_t, mp_uint)
; rax rdi rsi rdx rcx
; rax rcx rdx r8 r9d
%include "yasm_mac.inc"
CPU Athlon64
BITS 64
LEAF_PROC mpn_rshift
mov r9d, r9d
movq mm0, r9
mov rax, 64
sub rax, r9
movq mm1, rax
mov rax, r8
mov r8, 4
lea rdx, [rdx+rax*8-32]
lea rcx, [rcx+rax*8-32]
sub r8, rax
movq mm5, [rdx+r8*8]
movq mm3, mm5
psllq mm5, mm1
movq rax, mm5
psrlq mm3, mm0
jge .2
xalign 16
.1: movq mm2, [rdx+r8*8+8]
movq mm4, mm2
psllq mm2, mm1
por mm3, mm2
movq [rcx+r8*8], mm3
psrlq mm4, mm0
movq mm5, [rdx+r8*8+16]
movq mm3, mm5
psllq mm5, mm1
por mm4, mm5
movq [rcx+r8*8+8], mm4
psrlq mm3, mm0
movq mm2, [rdx+r8*8+24]
movq mm4, mm2
psllq mm2, mm1
por mm3, mm2
movq mm5, [rdx+r8*8+32]
movq [rcx+r8*8+16], mm3
psrlq mm4, mm0
movq mm3, mm5
psllq mm5, mm1
por mm4, mm5
movq [rcx+r8*8+24], mm4
psrlq mm3, mm0
add r8, 4
jnc .1
.2: cmp r8, 2
ja .6
jz .5
jp .4
.3: movq mm2, [rdx+r8*8+8]
movq mm4, mm2
psllq mm2, mm1
por mm3, mm2
movq [rcx+r8*8], mm3
psrlq mm4, mm0
movq mm5, [rdx+r8*8+16]
movq mm3, mm5
psllq mm5, mm1
por mm4, mm5
movq [rcx+r8*8+8], mm4
psrlq mm3, mm0
movq mm2, [rdx+r8*8+24]
movq mm4, mm2
psllq mm2, mm1
por mm3, mm2
movq [rcx+r8*8+16], mm3
psrlq mm4, mm0
movq [rcx+r8*8+24], mm4
emms
ret
xalign 16
.4: movq mm2, [rdx+r8*8+8]
movq mm4, mm2
psllq mm2, mm1
por mm3, mm2
movq [rcx+r8*8], mm3
psrlq mm4, mm0
movq mm5, [rdx+r8*8+16]
movq mm3, mm5
psllq mm5, mm1
por mm4, mm5
movq [rcx+r8*8+8], mm4
psrlq mm3, mm0
movq [rcx+r8*8+16], mm3
emms
ret
xalign 16
.5: movq mm2, [rdx+r8*8+8]
movq mm4, mm2
psllq mm2, mm1
por mm3, mm2
movq [rcx+r8*8], mm3
psrlq mm4, mm0
movq [rcx+r8*8+8], mm4
emms
ret
xalign 16
.6: movq [rcx+r8*8], mm3
emms
ret
end
| 21.943262 | 77 | 0.596639 |
7fe70c9556d1880107afa7ca86069c0f34512584 | 3,791 | asm | Assembly | src/asm/interrupts.asm | antivir88/BasicOS | 8370e536a20b863253b8112546900f3fc02ef922 | [
"MIT"
] | null | null | null | src/asm/interrupts.asm | antivir88/BasicOS | 8370e536a20b863253b8112546900f3fc02ef922 | [
"MIT"
] | null | null | null | src/asm/interrupts.asm | antivir88/BasicOS | 8370e536a20b863253b8112546900f3fc02ef922 | [
"MIT"
] | null | null | null | section .text
extern isr_handler
extern irq_handler
extern gdt_ptr
extern idt_ptr
global load_gdt
global load_idt
global load_tss
; Загрузчик GDT векторов
load_gdt:
lgdt [gdt_ptr] ; Загружает новый указатель GDT
mov ax, 0x10 ; 0x10 является смещением, находящимся в таблице GDT и указываемым на наш сегмент данных
mov ds, ax ; Загрузка переключателей всех сегментов данных
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
jmp 0x08:.flush ; 0x08 является смещением на наш сегмент кода: Длинный переход!
.flush:
ret
; Загрузчик IDT векторов
load_idt:
lidt [idt_ptr] ; Загружает указатель IDT.
ret
; Загрузчик TSS
load_tss:
mov ax, 0x2b
ltr ax
ret
; IRQ sender to C
irq_common_stub:
pusha
push ds
push es
push fs
push gs
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov eax, esp
push eax
call irq_handler ; Дёргаем обработчик IRQ
;mov eax, irq_handler
;call eax
pop eax
pop gs
pop fs
pop es
pop ds
popa
add esp,8
iret
; ISR sender to C
isr_common_stub:
pusha
push ds
push es
push fs
push gs
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov eax, esp
push eax
call isr_handler ; Дёргаем обработчик ISR
;mov eax, isr_handler
;call eax
pop eax
pop gs
pop fs
pop es
pop ds
popa
add esp, 8
iret
; macro for ISR noerror
%macro ISR_NOERRCODE 1
global isr%1
isr%1:
cli
push byte 0
push byte %1
jmp isr_common_stub
%endmacro
; macro for ISR error
%macro ISR_ERRCODE 1
global isr%1
isr%1:
cli
push byte %1
jmp isr_common_stub
%endmacro
; macro for IRQ
%macro IRQ 2
global irq%1
irq%1:
cli
push byte 0
push byte %2
jmp irq_common_stub
%endmacro
; ISR definitions
ISR_NOERRCODE 0 ; 0: Divide By Zero Exception
ISR_NOERRCODE 1 ; 1: Debug Exception
ISR_NOERRCODE 2 ; 2: Non Maskable Interrupt Exception
ISR_NOERRCODE 3 ; 3: Int 3 Exception
ISR_NOERRCODE 4 ; 4: INTO Exception
ISR_NOERRCODE 5 ; 5: Out of Bounds Exception
ISR_NOERRCODE 6 ; 6: Invalid Opcode Exception
ISR_NOERRCODE 7 ; 7: Coprocessor Not Available Exception
ISR_ERRCODE 8 ; 8: Double Fault Exception (With Error Code!)
ISR_NOERRCODE 9 ; 9: Coprocessor Segment Overrun Exception
ISR_ERRCODE 10 ; 10: Bad TSS Exception (With Error Code!)
ISR_ERRCODE 11 ; 11: Segment Not Present Exception (With Error Code!)
ISR_ERRCODE 12 ; 12: Stack Fault Exception (With Error Code!)
ISR_ERRCODE 13 ; 13: General Protection Fault Exception (With Error Code!)
ISR_ERRCODE 14 ; 14: Page Fault Exception (With Error Code!)
ISR_NOERRCODE 15 ; 15: Reserved Exception
ISR_NOERRCODE 16 ; 16: Floating Point Exception
ISR_NOERRCODE 17 ; 17: Alignment Check Exception
ISR_NOERRCODE 18 ; 18: Machine Check Exception
ISR_NOERRCODE 19 ; 19: Reserved
ISR_NOERRCODE 20 ; 20: Reserved
ISR_NOERRCODE 21 ; 21: Reserved
ISR_NOERRCODE 22 ; 22: Reserved
ISR_NOERRCODE 23 ; 23: Reserved
ISR_NOERRCODE 24 ; 24: Reserved
ISR_NOERRCODE 25 ; 25: Reserved
ISR_NOERRCODE 26 ; 26: Reserved
ISR_NOERRCODE 27 ; 27: Reserved
ISR_NOERRCODE 28 ; 28: Reserved
ISR_NOERRCODE 29 ; 29: Reserved
ISR_NOERRCODE 30 ; 30: Reserved
ISR_NOERRCODE 31 ; 31: Reserved
; IRQs definitions
IRQ 0, 32 ; IRQ0 - timer PIT
IRQ 1, 33 ; IRQ1 - keyboard
IRQ 2, 34 ; IRQ2 - !cascade!
IRQ 3, 35 ; IRQ3 - com2
IRQ 4, 36 ; IRQ4 - com1
IRQ 5, 37 ; IRQ5 - lpt2
IRQ 6, 38 ; IRQ6 - floppy
IRQ 7, 39 ; IRQ7 - lpt1
IRQ 8, 40 ; IRQ8 - CMOS clock
IRQ 9, 41 ; IRQ9 - free
IRQ 10, 42 ; IRQ10 - free
IRQ 11, 43 ; IRQ11 - free
IRQ 12, 44 ; IRQ12 - PS/2 mouse
IRQ 13, 45 ; IRQ13 - FPU
IRQ 14, 46 ; IRQ14 - Prim. ATA h.disk
IRQ 15, 47 ; IRQ15 - Sec. ATA h.disk
| 21.297753 | 111 | 0.684252 |
fa85efa5c8736f7c16abc087aafda743f361c6b1 | 364 | asm | Assembly | test/asm/code-after-endm-endr-endc.asm | michealccc/rgbds | b51e1c7c2c4ce2769f01e016967d0115893a7a88 | [
"MIT"
] | 522 | 2017-02-25T21:10:13.000Z | 2020-09-13T14:26:18.000Z | test/asm/code-after-endm-endr-endc.asm | michealccc/rgbds | b51e1c7c2c4ce2769f01e016967d0115893a7a88 | [
"MIT"
] | 405 | 2017-02-25T21:32:37.000Z | 2020-09-13T16:43:29.000Z | test/asm/code-after-endm-endr-endc.asm | michealccc/rgbds | b51e1c7c2c4ce2769f01e016967d0115893a7a88 | [
"MIT"
] | 84 | 2017-02-25T21:10:26.000Z | 2020-09-13T14:28:25.000Z | println "start"
; will not define 'mac'
mac: MACRO
println \1
ENDM println "<_<"
mac "argument"
; will not repeat
REPT 3
println "hey!"
ENDR println "<_<"
IF 0
println "skipped"
bad syntax!?
ELSE println "<_<"
println "else clause"
ENDC println "<_<"
IF 1
println "if clause"
ELSE println "<_<"
println "not skipped"
ENDC println "<_<"
println "done"
| 13 | 23 | 0.67033 |
4e78f5eea3cc0e8b708b7d7a97cd1bf9fabf8256 | 79 | asm | Assembly | tut.fi/cpu.subsystem.test/core_example.setup/1.0/src/branchProgram.asm | berigei/ipxactexamplelib | ceb25816711a8d8e6e1af2299133e8a2bdca6838 | [
"MIT"
] | 13 | 2016-11-27T11:33:39.000Z | 2021-08-18T02:30:18.000Z | tut.fi/cpu.subsystem.test/core_example.setup/1.0/src/branchProgram.asm | berigei/ipxactexamplelib | ceb25816711a8d8e6e1af2299133e8a2bdca6838 | [
"MIT"
] | null | null | null | tut.fi/cpu.subsystem.test/core_example.setup/1.0/src/branchProgram.asm | berigei/ipxactexamplelib | ceb25816711a8d8e6e1af2299133e8a2bdca6838 | [
"MIT"
] | 4 | 2017-09-09T05:05:08.000Z | 2020-12-22T14:21:00.000Z | nop
set 4 1
set 3 0x7 @start
minus 3 4 @target
bne target
bra start
nop
nop
end | 8.777778 | 17 | 0.746835 |
c7c082c09428cd789e7d6197fa22853a28144a7d | 620 | asm | Assembly | oeis/000/A000540.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/000/A000540.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/000/A000540.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A000540: Sum of 6th powers: 0^6 + 1^6 + 2^6 + ... + n^6.
; 0,1,65,794,4890,20515,67171,184820,446964,978405,1978405,3749966,6735950,11562759,19092295,30482920,47260136,71397705,105409929,152455810,216455810,302221931,415601835,563637724,754740700,998881325,1307797101,1695217590,2177107894,2771931215,3500931215,4388434896,5462176720,6753644689,8298449105,10136714730,12313497066,14879223475,17890159859,21408903620,25504903620,30255007861,35744039605,42065402654,49321716510,57625482135,67099779031,77878994360,90109584824,103950872025,119575872025
lpb $0
mov $2,$0
sub $0,1
pow $2,6
add $1,$2
lpe
mov $0,$1
| 56.363636 | 492 | 0.808065 |
83a44ffa47d19dd2b1a0f024ddee56d276721a0f | 466 | asm | Assembly | oeis/203/A203799.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/203/A203799.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/203/A203799.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A203799: G.f.: Sum_{n>=0} (n-2*x)^n * x^n / (1 + n*x - 2*x^2)^n.
; Submitted by Jon Maiga
; 1,1,1,8,48,312,2280,18720,171360,1733760,19232640,232243200,3033676800,42631142400,641383142400,10287038361600,175228365312000,3159341273088000,60111175348224000,1203646256676864000,25302180885037056000,557134559872450560000,12823826485099069440000
lpb $0
add $1,$2
mov $2,2
bin $2,$1
add $1,$0
mul $1,$0
sub $0,1
mul $2,-4
lpe
div $1,2
mov $0,$1
add $0,1
| 27.411765 | 250 | 0.708155 |
32a8a15ab304f198260d41030a2ff686919628d9 | 5,747 | asm | Assembly | samples/boing/boing.asm | rwiker/c256emu | 4f4172e4bc87c63019f62b3ff0bf21489fcbd032 | [
"MIT"
] | 18 | 2019-06-04T00:47:10.000Z | 2021-06-23T04:59:33.000Z | samples/boing/boing.asm | rwiker/c256emu | 4f4172e4bc87c63019f62b3ff0bf21489fcbd032 | [
"MIT"
] | null | null | null | samples/boing/boing.asm | rwiker/c256emu | 4f4172e4bc87c63019f62b3ff0bf21489fcbd032 | [
"MIT"
] | 2 | 2019-06-10T14:42:43.000Z | 2020-04-21T18:58:03.000Z | .p816
.feature c_comments
.include "macros.inc"
.rodata
ball0_tile_set: .incbin "tiles-256.bin"
ball1_tile_set: .incbin "tiles-224.bin"
ball2_tile_set: .incbin "tiles-192.bin"
ball3_tile_set: .incbin "tiles-160.bin"
bmp_1: .incbin "grid-00000.bin"
bmp_2: .incbin "grid-10000.bin"
bmp_3: .incbin "grid-20000.bin"
bmp_4: .incbin "grid-30000.bin"
bmp_5: .incbin "grid-40000.bin"
lut_4: .incbin "grid.col"
.bss
ROW_CLEAR_BLOCK: .res 16
.zeropage
Ball0_x: .res 2 ; x position
Ball1_x: .res 2 ; x position
Ball2_x: .res 2 ; x position
Ball3_x: .res 2 ; x position
Ball0_y: .res 2 ; y position
Ball1_y: .res 2 ; y position
Ball2_y: .res 2 ; y position
Ball3_y: .res 2 ; y position
Ball0_ay: .res 2 ; y acceleration
Ball1_ay: .res 2 ; y acceleration
Ball2_ay: .res 2 ; y acceleration
Ball3_ay: .res 2 ; y acceleration
Ball0_dx: .res 2 ; x delta
Ball1_dx: .res 2 ; x delta
Ball2_dx: .res 2 ; x delta
Ball3_dx: .res 2 ; x delta
Ball0_dy: .res 2 ; y delta
Ball1_dy: .res 2 ; y delta
Ball2_dy: .res 2 ; y delta
Ball3_dy: .res 2 ; y delta
Ball0_sx: .res 2 ; x delta sign
Ball1_sx: .res 2 ; x delta sign
Ball2_sx: .res 2 ; x delta sign
Ball3_sx: .res 2 ; x delta sign
Ball0_sy: .res 2 ; y delta sign
Ball1_sy: .res 2 ; y delta sign
Ball2_sy: .res 2 ; y delta sign
Ball3_sy: .res 2 ; y delta sign
Param1Addr: .res 3
Param2Addr: .res 3
Param1Word: .res 2
Param2Word: .res 2
Lut0CycleLo: .res 3
Lut1CycleLo: .res 3
Lut2CycleLo: .res 3
Lut3CycleLo: .res 3
Lut0CycleHi: .res 3
Lut1CycleHi: .res 3
Lut2CycleHi: .res 3
Lut3CycleHi: .res 3
COLOR_SAVE_RG: .res 2 ; tmp storage for color values
COLOR_SAVE_BA: .res 2 ; tmp storage for color values
RC: .res 1
GC: .res 1
BC: .res 1
.code
INT_PENDING_REG0 = $000140
FNX0_INT00_SOF = $01
BORDER_CTRL_REG = $af0004
VICKY_CTRL_REG = $af0000
BG_R = $af0008
BG_G = $af0009
BG_B = $af000a
BMAP_CTRL = $af0140
BMAP_ADDR = $af0141
TILE_0_REG = $af0100
TILE_1_REG = $af0108
TILE_2_REG = $af0110
TILE_3_REG = $af0118
TILE_0_MAP = $af50
TILE_1_MAP = $af58
TILE_2_MAP = $af60
TILE_3_MAP = $af68
LUT_0 = $af20
LUT_1 = $af24
LUT_2 = $af28
LUT_3 = $af2c
; for tiles
BALL_0_DST = $b00000
BALL_1_DST = $b10000
BALL_2_DST = $b20000
BALL_3_DST = $b30000
; for background bitmap
; BMAP_HI/MD/LO must point to video ram relative to $000000
BMAP_HI = $04
BMAP_MD = $00
BMAP_LO = $00
BMAP_1 = $b40000
BMAP_2 = $b50000
BMAP_3 = $b60000
BMAP_4 = $b70000
BMAP_5 = $b80000
BMAP_LUT = $af3000
; The structure of a tile
.struct Tile
ctrl_reg .byte
start_addr .word
start_addr_page .byte
x_offset .byte ; x offset
y_offset .byte ; y offset
.endstruct
.import __ZEROPAGE_LOAD__ ; symbol defining the start of the ZP
begin:
jmp init
.include "place_tiles.asm"
.include "clear_tiles.asm"
.include "set_lut.asm"
.include "ball.asm"
init:
; set zero page to $fe00
acc16i16
lda #__ZEROPAGE_LOAD__
tcd
; stop IRQ handling
sei
;; copy the tile set data into $b0;
;; can't just use one MVP as this spans across the bank into the next
acc8i16
CopyBlock ball0_tile_set, BALL_0_DST, 0 ; 64k
CopyBlock ball1_tile_set, BALL_1_DST, 0 ; 64k
CopyBlock ball2_tile_set, BALL_2_DST, 0 ; 64k
CopyBlock ball3_tile_set, BALL_3_DST, 0 ; 64k
lda #(1 | 4 << 4) ; turn on bitmap with lut 4
; Point bitmap to where background data went
sta BMAP_CTRL
lda #BMAP_LO
sta BMAP_ADDR
lda #BMAP_MD
sta BMAP_ADDR+1
lda #BMAP_HI
sta BMAP_ADDR+2
CopyBlock bmp_1, BMAP_1, 0 ; 64k
CopyBlock bmp_2, BMAP_2, 0 ; 64k
CopyBlock bmp_3, BMAP_3, 0 ; 64k
CopyBlock bmp_4, BMAP_4, 0 ; 64k
CopyBlock bmp_5, BMAP_5, $b000
CopyBlock lut_4, BMAP_LUT, $400
; turn off border
lda #0
sta BORDER_CTRL_REG
; set tile and bitmap mode
lda #$18
sta VICKY_CTRL_REG
; black background
lda #$0
sta BG_R
sta BG_G
sta BG_B
; Enable tiles + options + desired LUT for each
EnableTiles TILE_0_REG, 0, $0000, $00
EnableTiles TILE_1_REG, 1, $0000, $01
EnableTiles TILE_2_REG, 2, $0000, $02
EnableTiles TILE_3_REG, 3, $0000, $03
; BallNum, XPos, YPos, XVelocity, YVelocity, YAccel
SetBallParameters 0, 32, 48, 1, 0, 1
SetBallParameters 1, 64, 64, 2, 0, 1
SetBallParameters 2, 128, 16, 2, 0, 1
SetBallParameters 3, 192, 86, 3, 0, 1
; Init LUT tables: LUTAddr, R, G, B
SetColorLut LUT_0, 127, 0, 0 ; Red
SetColorLut LUT_1, 0, 127, 0 ; Green
SetColorLut LUT_2, 127, 127, 0 ; Purple
SetColorLut LUT_3, 0, 0, 127 ; Blue
; Pre-compute lut hi/lo addresses for lut cycle macros
SetLUTAddress LUT_0, Lut0CycleHi, Lut0CycleLo
SetLUTAddress LUT_1, Lut1CycleHi, Lut1CycleLo
SetLUTAddress LUT_2, Lut2CycleHi, Lut2CycleLo
SetLUTAddress LUT_3, Lut3CycleHi, Lut3CycleLo
loop:
ClearBall TILE_0_MAP, Ball0_x, Ball0_y
BallPhysics 0
CycleLut Lut0CycleHi, Lut0CycleLo
DrawBall TILE_0_MAP, Ball0_x, Ball0_y
SetTileXScroll Ball0_x, TILE_0_REG
SetTileYScroll Ball0_y, TILE_0_REG
ClearBall TILE_1_MAP, Ball1_x, Ball1_y
BallPhysics 1
CycleLut Lut1CycleHi, Lut1CycleLo
DrawBall TILE_1_MAP, Ball1_x, Ball1_y
SetTileXScroll Ball1_x, TILE_1_REG
SetTileYScroll Ball1_y, TILE_1_REG
ClearBall TILE_2_MAP, Ball2_x, Ball2_y
BallPhysics 2
CycleLut Lut2CycleHi, Lut2CycleLo
DrawBall TILE_2_MAP, Ball2_x, Ball2_y
SetTileXScroll Ball2_x, TILE_2_REG
SetTileYScroll Ball2_y, TILE_2_REG
ClearBall TILE_3_MAP, Ball3_x, Ball3_y
BallPhysics 3
CycleLut Lut3CycleHi, Lut3CycleLo
DrawBall TILE_3_MAP, Ball3_x, Ball3_y
SetTileXScroll Ball3_x, TILE_3_REG
SetTileYScroll Ball3_y, TILE_3_REG
delay:
lda f:INT_PENDING_REG0 ; have to use far because DBR keeps
; getting clobbered
and #FNX0_INT00_SOF
cmp #FNX0_INT00_SOF ; check for SOF interrupt
bne delay ; not there, spin
sta f:INT_PENDING_REG0 ; if so, clear the interrupt
jmp loop ; and then cycle loop
| 22.449219 | 70 | 0.72925 |
f549aee97bde1e4eba2903eef97e92b4b43eb0fe | 453 | asm | Assembly | oeis/279/A279539.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/279/A279539.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/279/A279539.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A279539: Sum of ceilings of natural logs of first n integers.
; Submitted by Jamie Morken(s2)
; 0,1,3,5,7,9,11,14,17,20,23,26,29,32,35,38,41,44,47,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,191,196,201,206,211,216,221,226,231,236,241,246,251,256,261,266,271,276,281,286
add $0,1
mov $2,1
lpb $0
add $1,$0
add $3,$2
add $2,$3
trn $0,$2
lpe
mov $0,$1
sub $0,1
| 30.2 | 259 | 0.671082 |
ae346ff5f1dc4a7164b3c85fad4000b5b042b28a | 356 | asm | Assembly | 2e03.asm | sqph/td-micl | fbd130a6a741a38945c80bd8a1c2cfa7105754bd | [
"Unlicense"
] | null | null | null | 2e03.asm | sqph/td-micl | fbd130a6a741a38945c80bd8a1c2cfa7105754bd | [
"Unlicense"
] | null | null | null | 2e03.asm | sqph/td-micl | fbd130a6a741a38945c80bd8a1c2cfa7105754bd | [
"Unlicense"
] | null | null | null | ; 2e03.asm
global main
section .text
main:
nop
mov al, 'd' ; on charge une lettre minuscule dans AL
btr ax, 5 ; 'Bit Test and Reset(?)' sur bit #5
; Seulement sur 16 ou 32 bits! -> AX
nop ; ne fait rien
;fin
mov eax, 1
mov ebx, 0
int 0x80
| 18.736842 | 72 | 0.455056 |
0ba2e67b0aff618efc41aa8cbc94ae26e03726c8 | 289 | asm | Assembly | programs/oeis/040/A040305.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/040/A040305.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/040/A040305.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A040305: Continued fraction for sqrt(323).
; 17,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34
mov $1,17
lpb $0
mod $0,2
mul $1,2
lpe
gcd $1,$0
| 28.9 | 189 | 0.605536 |
8258fe1beb7af1e2548e2accb7fcf43e9a672850 | 4,914 | asm | Assembly | texmap/tmap_16g.asm | osgcc/descent-pc | 819ed672e9fde6eddea634154306c5154230b84d | [
"Unlicense"
] | 3 | 2016-03-22T12:32:01.000Z | 2017-11-07T12:14:28.000Z | texmap/tmap_16g.asm | osgcc/descent-pc | 819ed672e9fde6eddea634154306c5154230b84d | [
"Unlicense"
] | null | null | null | texmap/tmap_16g.asm | osgcc/descent-pc | 819ed672e9fde6eddea634154306c5154230b84d | [
"Unlicense"
] | 1 | 2021-03-30T07:34:36.000Z | 2021-03-30T07:34:36.000Z | ;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
;SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
;FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
;CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
;AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
;COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
;
; $Source: f:/miner/source/texmap/rcs/tmap_16g.asm $
; $Revision: 1.4 $
; $Author: mike $
; $Date: 1994/11/30 00:56:37 $
;
; inner loop of rgb lighted linear texture mapper for 16 bits/pixel
;
; $Log: tmap_16g.asm $
; Revision 1.4 1994/11/30 00:56:37 mike
; optimization.
;
; Revision 1.3 1994/11/12 16:39:23 mike
; jae to ja.
;
; Revision 1.2 1993/11/22 10:24:28 mike
; *** empty log message ***
;
; Revision 1.1 1993/09/08 17:29:17 mike
; Initial revision
;
;
;
.386
option oldstructs
.nolist
include psmacros.inc
.list
public asm_tmap_scanline_lin_rgb_16g_
include tmap_inc.asm
_DATA SEGMENT DWORD PUBLIC USE32 'DATA'
extd _fx_u
extd _fx_v
extd _fx_du_dx
extd _fx_dv_dx
extd _fx_y
extd _fx_xleft
extd _fx_xright
extd _pixptr
extd _x
extd _loop_count
extd _fx_rgb,_fx_drgb_dx
extd _fx_r,_fx_g,_fx_b,_fx_dr_dx,_fx_dg_dx,_fx_db_dx
align 4
_DATA ENDS
DGROUP GROUP _DATA
_TEXT SEGMENT PARA PUBLIC USE32 'CODE'
ASSUME DS:_DATA
ASSUME CS:_TEXT
; --------------------------------------------------------------------------------------------------
; Enter:
; _xleft fixed point left x coordinate
; _xright fixed point right x coordinate
; _y fixed point y coordinate
; _pixptr address of source pixel map
; _u fixed point initial u coordinate
; _v fixed point initial v coordinate
; _du_dx fixed point du/dx
; _dv_dx fixed point dv/dx
; for (x = (int) xleft; x <= (int) xright; x++) {
; _setcolor(read_pixel_from_tmap(srcb,((int) (u/z)) & 63,((int) (v/z)) & 63));
; _setpixel(x,y);
;
; u += du_dx;
; v += dv_dx;
; z += dz_dx;
; }
align 4
asm_tmap_scanline_lin_rgb_16g_:
pusha
; Setup for loop: _loop_count iterations = (int) xright - (int) xleft
; esi source pixel pointer = pixptr
; edi initial row pointer = y*320+x
; set esi = pointer to start of texture map data
mov esi,_pixptr
; set edi = address of first pixel to modify
mov edi,_fx_y
cmp edi,_window_bottom
ja _none_to_do
sub edi,_window_top
imul edi,_bytes_per_row
mov eax,_fx_xleft
sar eax,16
jns eax_ok
sub eax,eax
eax_ok:
sub eax,_window_left
add edi,eax
add edi,eax
add edi,write_buffer
; set _loop_count = # of iterations
mov eax,_fx_xright
sar eax,16
cmp eax,_window_right
jb eax_ok1
mov eax,_window_right
eax_ok1: cmp eax,_window_left
ja eax_ok2
mov eax,_window_left
eax_ok2:
mov ebx,_fx_xleft
sar ebx,16
sub eax,ebx
js _none_to_do
cmp eax,_window_width
jbe _ok_to_do
mov eax,_window_width
_ok_to_do:
mov _loop_count,eax
; edi destination pixel pointer
; shift up all light values and deltas so that the highest 5 bits are the integer portion
shl _fx_r,11
shl _fx_g,11
shl _fx_b,11
shl _fx_dr_dx,11
shl _fx_dg_dx,11
shl _fx_db_dx,11
; ---------------------------------------------------------------------------------------------------------------------
mov eax,_fx_g
mov edx,_fx_b
mov ebx,_fx_r
mov ebp,_fx_dr_dx
mov esi,_fx_dg_dx
; register usage:
; eax _fx_g
; ebx _fx_r
; ecx work
; edx _fx_b
; ebp _fx_dr_dx
; esi _fx_dg_dx
; edi write address
; do the regular texture mapper linear interpolation to get the pixel from the source bitmap
_loop1:
mov ecx,ebx ; light value in high 5 bits
shr ecx,27 ; shift out all but light value
shld ecx,eax,5
shld ecx,edx,5
; now %ecx = r|g|b, each 5 bits, bit #15 clear, write the pixel
mov [edi],cx
add edi,2
; now add the deltas
add ebx,ebp
add eax,esi
add edx,_fx_db_dx
dec _loop_count
jns _loop1
; ---------------------------------------------------------------------------------------------------------------------
_none_to_do: popa
ret
; -- Code to get rgb 5 bits integer, 5 bits fraction value into 5 bits integer (for each gun)
; suitable for inverse color lookup
;**__test:
;** int 3
;**; rrrrrfffffrrrrrfffffxxbbbbbfffff
;** mov eax,11111001001010101110101101110111b
;** and eax,11111000001111100000001111100000b
;** shld ebx,eax,15
;** or bx,ax
_TEXT ends
end
| 22.855814 | 120 | 0.644892 |
cf77dd6992ccb209cf8083364cffa036f757a420 | 111 | asm | Assembly | gfx/pokemon/totodile/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | gfx/pokemon/totodile/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | gfx/pokemon/totodile/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | setrepeat 3
frame 1, 10
frame 2, 10
dorepeat 1
setrepeat 3
frame 0, 10
frame 2, 10
dorepeat 5
endanim
| 11.1 | 12 | 0.693694 |
4ef38f3b4046a9817114045e8212f02055fe5876 | 2,613 | asm | Assembly | source/pit.asm | re0ah/nameless-OS16 | 3218ec1e83130a027ec74697ab72e2de75b3bb66 | [
"Unlicense"
] | null | null | null | source/pit.asm | re0ah/nameless-OS16 | 3218ec1e83130a027ec74697ab72e2de75b3bb66 | [
"Unlicense"
] | null | null | null | source/pit.asm | re0ah/nameless-OS16 | 3218ec1e83130a027ec74697ab72e2de75b3bb66 | [
"Unlicense"
] | null | null | null | ;This is free and unencumbered software released into the public domain.
;Anyone is free to copy, modify, publish, use, compile, sell, or
;distribute this software, either in source code form or as a compiled
;binary, for any purpose, commercial or non-commercial, and by any
;means.
;In jurisdictions that recognize copyright laws, the author or authors
;of this software dedicate any and all copyright interest in the
;software to the public domain. We make this dedication for the benefit
;of the public at large and to the detriment of our heirs and
;successors. We intend this dedication to be an overt act of
;relinquishment in perpetuity of all present and future rights to this
;software under copyright law.
;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
;EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
;MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
;IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
;OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
;ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
;OTHER DEALINGS IN THE SOFTWARE.
;For more information, please refer to <http://unlicense.org/>
;more on http://www.scs.stanford.edu/10wi-cs140/pintos/specs/8254.pdf
;control word register:
; 0 bit : BCD
; 0 = 16-bit binary counter
; 1 = 16-bit BCD counter
; 1..3 bits: modes
; 000 = mode 0: interrupt on terminal count
; 001 = mode 1: hardware retriggerable one-shot
; 010 = mode 2: rate generator
; 011 = mode 3: square wave
; 100 = mode 4: software triggered strobe
; 101 = mode 5: harware triggered strobe (retriggerable)
; 4..5 bits: read_write
; 00 = counter latch commands
; 01 = read/write least significant byte only
; 10 = read/write most significant byte only
; 11 = read/write least significant byte first, them most significant byte
; 6..7 bits: select counter
; 00 = counter 0
; 01 = counter 1
; 10 = counter 2
; 11 = read-back command
PIT_0_PORT equ 0x40
PIT_COMMAND_PORT equ 0x43
PIT_MODE3 equ 0x06
PIT_RW4 equ 0x30
PIT_CONTROL_WORD_FORMAT equ PIT_MODE3 | PIT_RW4
PIT_DEFAULT_FREQUENCY equ 1193182 ;that is 0x001234DE, 32bit value.
;need to be careful with him
pit_init:
;just set frequency of PIT
mov ax, PIT_DEFAULT_FREQUENCY / 32
pit_set_frequency:
;in: ax = frequency
;out: al = ah
mov word[pit_frequency], ax
push ax
mov al, PIT_CONTROL_WORD_FORMAT
out PIT_COMMAND_PORT, al
pop ax
out PIT_0_PORT, al
mov al, ah
out PIT_0_PORT, al
retn
pit_int:
jmp return_from_interrupt
| 35.310811 | 76 | 0.746269 |
88ac3674e8fbc01d4015d893d5464e06b4a7471e | 1,673 | asm | Assembly | Common/print.asm | Martin-H1/6502 | e57e4b71d44e8cccfb5ba7e1d31db8d59e3e02a6 | [
"MIT"
] | 3 | 2020-05-10T02:45:52.000Z | 2020-08-27T19:30:21.000Z | Common/print.asm | Martin-H1/6502 | e57e4b71d44e8cccfb5ba7e1d31db8d59e3e02a6 | [
"MIT"
] | null | null | null | Common/print.asm | Martin-H1/6502 | e57e4b71d44e8cccfb5ba7e1d31db8d59e3e02a6 | [
"MIT"
] | null | null | null | ; -----------------------------------------------------------------------------
; Print related functions that are platform independant, unlike console I/O
; which is platform dependant.
; Martin Heermance <mheermance@gmail.com>
; -----------------------------------------------------------------------------
.scope
;
; Aliases
;
;
; Data segments
;
;
; Macros
;
; Syntactic sugar around print to package the argument.
.macro print
`pushi _1
jsr cputs
.macend
; Prints the string an adds a line feed.
.macro println
`print _1
`printcr
.macend
; Prints a line feed.
.macro printcr
lda #AscLF
jsr putch
.macend
;
; Functions
;
; prints the accumulator contents in hex to the console.
printa:
pha
lsr
lsr
lsr
lsr
jsr _print_nybble
pla
and #$0f
_print_nybble:
sed
clc
adc #$90 ; Produce $90-$99 or $00-$05
adc #$40 ; Produce $30-$39 or $41-$46
cld
jmp putch
; prints the entire stack.
printstack:
.scope
phx
_while:
cpx #SP0
beq +
jsr printtosln
`drop
bra _while
*
`printcr
plx
rts
.scend
; prints the value at the top of stack.
printtos:
lda TOS_MSB,x
jsr printa
lda TOS_LSB,x
jsr printa
rts
; prints the value at the top of stack.
printtosln:
jsr printtos
`printcr
rts
; prints the value at the top of stack.
printTosSigned:
lda TOS_MSB,x
bpl printtos ; if positive print as usual.
lda #$2d
jsr putch
`dup ; duplicate and
sec ; calculate 0 - tos
lda #$00
sbc TOS_LSB,x
sta TOS_LSB,x
lda #$00
sbc TOS_MSB,x
sta TOS_MSB,x
jsr printtos
`drop
rts
; prints the value at the top of stack.
printTosSignedln:
jsr printTosSigned
`printcr
rts
.scend
| 14.422414 | 79 | 0.61327 |
0f0af4482dc4215b5395b66e7c6475e62522733c | 289 | asm | Assembly | programs/oeis/035/A035018.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/035/A035018.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/035/A035018.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A035018: One fifth of 9-factorial numbers.
; 1,14,322,10304,422464,21123200,1246268800,84746278400,6525463436800,561189855564800,53313036278656000,5544555772980224000,626534802346765312000,76437245886305368064000
mov $1,1
mov $2,5
lpb $0
sub $0,1
add $2,9
mul $1,$2
lpe
mov $0,$1
| 24.083333 | 169 | 0.778547 |
44545c0c9f50d039a3d6bfef2cfc2780aab68aa0 | 393 | asm | Assembly | programs/oeis/100/A100689.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/100/A100689.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/100/A100689.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A100689: a(n) = prime(n) * 4^prime(n) - 1.
; 31,191,5119,114687,46137343,872415231,292057776127,5222680231935,1618481116086271,8358680908399640575,142962266571249025023,698910239464707491627007,198263834416799184651812863,3326963855579459488791396351,930930909542605966724141416447
seq $0,40 ; The prime numbers.
mov $1,4
pow $1,$0
mul $1,$0
div $1,2
sub $1,16
mul $1,2
add $1,31
mov $0,$1
| 30.230769 | 238 | 0.783715 |
12bd050d8fc46782e85bbf7618dd38a28af149bf | 837 | asm | Assembly | oeis/142/A142443.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142443.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142443.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142443: Primes congruent to 34 mod 49.
; Submitted by Simon Strandgaard
; 83,181,769,1063,1259,1553,1847,2141,2239,2729,3023,3121,3709,4003,4297,4493,4591,4787,5081,5179,5669,6257,6551,7237,7433,7727,8609,8707,9001,9491,9883,10079,10177,10667,11059,11353,11549,11941,12823,13313,13411,13901,13999,14293,14489,14783,15077,15959,16057,16253,16547,18311,18899,20173,20369,20663,21839,21937,22133,22721,23603,24877,25073,25171,25367,25759,26053,26249,26347,26641,27817,28111,28307,29287,29483,29581,30071,30169,30757,31051,31247,31541,32423,32717,33403,33599,33893,35069,35363
mov $1,41
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,2
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,49
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,97
| 34.875 | 500 | 0.732378 |
ca3252cf942859d493f6db07e724e11ca72f476f | 748 | asm | Assembly | oeis/216/A216318.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/216/A216318.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/216/A216318.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A216318: Number of peaks in all Dyck n-paths after changing each valley to a peak by the transform DU -> UD.
; Submitted by Christian Krause
; 0,1,2,8,31,119,456,1749,6721,25883,99892,386308,1496782,5809478,22584160,87922215,342741285,1337698515,5226732060,20442936360,80031775890,313585934610,1229695855440,4825705232010,18950613058026,74467158658974,292797216620776,1151895428382104,4534067061453916,17855736333499372,70350937530108928,277301831370834347,1093492182221877613,4313690157067185027,17023290912478690476,67203374151044409824,265389610660889358826,1048370747981609752154,4142641743727437080816,16374392387216170884710
mov $1,$0
mov $2,1
bin $2,$0
add $2,$0
mul $0,2
add $1,1
bin $0,$1
sub $2,1
mul $2,2
bin $2,$1
add $0,$2
div $0,2
| 44 | 489 | 0.824866 |
105f86ae0ab26726e373a78aa8caaac31a0f3d2d | 264 | asm | Assembly | src/guard_mode_patch.asm | mvdhout1992/ts-patches | a426970abeb6993eea6703d1a756fd74489ffed2 | [
"MIT"
] | 33 | 2016-07-30T14:17:28.000Z | 2021-12-19T15:45:19.000Z | src/guard_mode_patch.asm | A-Productions/ts-patches | 326db731f7226d9e803feab475777c730688634e | [
"MIT"
] | 73 | 2018-08-17T00:25:19.000Z | 2021-05-10T08:31:15.000Z | src/guard_mode_patch.asm | A-Productions/ts-patches | 326db731f7226d9e803feab475777c730688634e | [
"MIT"
] | 18 | 2017-05-16T11:28:06.000Z | 2022-03-20T20:41:03.000Z | %include "TiberianSun.inc"
%include "macros/patch.inc"
%include "macros/datatypes.inc"
;;; http://www.ppmforums.com/viewtopic.php?t=38895
; # Units in Guard mode will no longer chase after enemies that move out of firing range
@CLEAR 0x004A1AA8, 0x90, 0x004A1AAA
| 33 | 88 | 0.765152 |
27fdb2c8582ad5a2183ef927888d6135f8c0e3c1 | 6,681 | asm | Assembly | Transynther/x86/_processed/US/_st_zr_sm_/i7-7700_9_0x48.log_21829_2088.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_st_zr_sm_/i7-7700_9_0x48.log_21829_2088.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_st_zr_sm_/i7-7700_9_0x48.log_21829_2088.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xac06, %r8
nop
xor $17341, %rdi
mov $0x6162636465666768, %r9
movq %r9, %xmm4
vmovups %ymm4, (%r8)
nop
nop
nop
nop
add $8616, %r12
lea addresses_WT_ht+0x56c6, %rsi
lea addresses_D_ht+0xde26, %rdi
clflush (%rsi)
nop
nop
nop
and %r14, %r14
mov $87, %rcx
rep movsb
nop
nop
nop
sub %r9, %r9
lea addresses_normal_ht+0x56b6, %rdi
nop
nop
nop
nop
inc %r12
mov (%rdi), %r9d
nop
nop
nop
nop
nop
inc %r9
lea addresses_WC_ht+0xd851, %rsi
lea addresses_normal_ht+0x56e, %rdi
nop
nop
nop
nop
inc %r8
mov $38, %rcx
rep movsw
nop
nop
nop
cmp $30951, %r14
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %r8
push %r9
push %rbx
push %rdi
// Store
lea addresses_normal+0xe99c, %r10
nop
nop
cmp %r8, %r8
mov $0x5152535455565758, %rbx
movq %rbx, (%r10)
nop
nop
nop
nop
add %r8, %r8
// Store
mov $0x21c0c10000000e6e, %r8
nop
nop
cmp %r15, %r15
movl $0x51525354, (%r8)
nop
nop
nop
nop
xor $49374, %r10
// Store
lea addresses_US+0xe026, %r8
xor %rdi, %rdi
movw $0x5152, (%r8)
add %rdi, %rdi
// Store
lea addresses_A+0x13c26, %r8
sub %r10, %r10
mov $0x5152535455565758, %r9
movq %r9, (%r8)
nop
nop
nop
nop
nop
cmp $8293, %r15
// Store
lea addresses_UC+0x37a6, %r10
sub $992, %r15
mov $0x5152535455565758, %rbx
movq %rbx, (%r10)
nop
nop
cmp $47183, %r15
// Store
lea addresses_normal+0xa7a6, %r8
nop
nop
nop
xor $52885, %r14
movw $0x5152, (%r8)
nop
nop
nop
nop
add %r14, %r14
// Store
lea addresses_normal+0x3a77, %r15
nop
nop
nop
nop
add %r8, %r8
movb $0x51, (%r15)
nop
dec %rbx
// Faulty Load
lea addresses_US+0xe026, %rdi
nop
nop
nop
nop
and $28595, %r9
mov (%rdi), %r15w
lea oracles, %r8
and $0xff, %r15
shlq $12, %r15
mov (%r8,%r15,1), %r15
pop %rdi
pop %rbx
pop %r9
pop %r8
pop %r15
pop %r14
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 1, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 9, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 6, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 7, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 5, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 3, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}}
{'52': 21536, '00': 293}
52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52
*/
| 33.913706 | 2,999 | 0.654094 |
24ffdb148fbac164269482b7df7dd5296259d529 | 869 | asm | Assembly | programs/oeis/063/A063492.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/063/A063492.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/063/A063492.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A063492: a(n) = (2*n - 1)*(11*n^2 - 11*n + 6)/6.
; 1,14,60,161,339,616,1014,1555,2261,3154,4256,5589,7175,9036,11194,13671,16489,19670,23236,27209,31611,36464,41790,47611,53949,60826,68264,76285,84911,94164,104066,114639,125905,137886,150604,164081,178339,193400,209286,226019,243621,262114,281520,301861,323159,345436,368714,393015,418361,444774,472276,500889,530635,561536,593614,626891,661389,697130,734136,772429,812031,852964,895250,938911,983969,1030446,1078364,1127745,1178611,1230984,1284886,1340339,1397365,1455986,1516224,1578101,1641639,1706860,1773786,1842439,1912841,1985014,2058980,2134761,2212379,2291856,2373214,2456475,2541661,2628794,2717896,2808989,2902095,2997236,3094434,3193711,3295089,3398590,3504236,3612049
lpb $0
mov $2,$0
sub $0,1
add $1,10
seq $2,158689 ; a(n) = 66*n^2 + 1.
add $1,$2
add $1,1
lpe
div $1,6
add $1,1
mov $0,$1
| 57.933333 | 682 | 0.767549 |
8120060dd4d438b67e64fc7f39333bcebdca0434 | 316 | asm | Assembly | zx_rom_beeper.asm | imneme/spectrum-minilib | e3b999f209f8cf1014aeb240accff8b7b15270d6 | [
"MIT"
] | 1 | 2020-09-22T09:18:19.000Z | 2020-09-22T09:18:19.000Z | zx_rom_beeper.asm | imneme/spectrum-minilib | e3b999f209f8cf1014aeb240accff8b7b15270d6 | [
"MIT"
] | null | null | null | zx_rom_beeper.asm | imneme/spectrum-minilib | e3b999f209f8cf1014aeb240accff8b7b15270d6 | [
"MIT"
] | null | null | null | INCLUDE "romdefs.inc"
SECTION code_clib
GLOBAL _zx_rom_beeper
_zx_rom_beeper:
pop af ; retaddr
pop de ; freqtime
pop hl ; tstates
push af ; restore retaddr
push ix
call ROM3_BEEPER
pop ix
ret
| 19.75 | 50 | 0.484177 |
43a8138c910e52555be2f4a97b658933e553fb98 | 6,498 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2714.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2714.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2714.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x120e1, %rsi
lea addresses_normal_ht+0x13a31, %rdi
clflush (%rsi)
nop
add %rdx, %rdx
mov $65, %rcx
rep movsl
nop
nop
nop
nop
sub %r8, %r8
lea addresses_WT_ht+0x1b29, %rax
add $4434, %r12
mov $0x6162636465666768, %rcx
movq %rcx, (%rax)
nop
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_UC_ht+0x1bf29, %rsi
and %r8, %r8
movups (%rsi), %xmm5
vpextrq $1, %xmm5, %r12
nop
nop
xor %rsi, %rsi
lea addresses_UC_ht+0x7949, %r8
nop
nop
and %rdi, %rdi
mov $0x6162636465666768, %r12
movq %r12, (%r8)
nop
nop
nop
inc %rax
lea addresses_normal_ht+0x188a1, %rsi
nop
and %r12, %r12
mov $0x6162636465666768, %rcx
movq %rcx, (%rsi)
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_WT_ht+0x8c29, %rsi
lea addresses_A_ht+0x15b29, %rdi
nop
nop
nop
nop
nop
dec %r15
mov $21, %rcx
rep movsq
nop
and $2173, %rsi
lea addresses_WT_ht+0x16521, %rax
nop
nop
nop
and $22146, %r12
mov (%rax), %dx
nop
nop
nop
nop
sub $34493, %r15
lea addresses_WC_ht+0x329, %rsi
lea addresses_WC_ht+0x121a9, %rdi
nop
nop
nop
nop
nop
inc %r8
mov $114, %rcx
rep movsl
nop
nop
nop
sub %r12, %r12
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r15
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r15
push %r8
push %r9
push %rdi
// Load
lea addresses_PSE+0x6b29, %r9
nop
nop
nop
and $24819, %r13
movups (%r9), %xmm3
vpextrq $0, %xmm3, %r10
nop
nop
xor %r9, %r9
// Store
lea addresses_PSE+0x1593f, %r11
nop
nop
sub $8578, %r8
movb $0x51, (%r11)
nop
sub $36305, %r11
// Faulty Load
lea addresses_WC+0x17329, %r13
nop
nop
sub $41260, %r11
movb (%r13), %r15b
lea oracles, %r9
and $0xff, %r15
shlq $12, %r15
mov (%r9,%r15,1), %r15
pop %rdi
pop %r9
pop %r8
pop %r15
pop %r13
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': True, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 11, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 1, 'size': 1, 'same': False, 'NT': True}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': True, 'NT': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 11, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 10, 'size': 16, 'same': True, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 3, 'size': 8, 'same': False, 'NT': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 3, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 3, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 36.505618 | 2,999 | 0.658049 |
8ba9249f2096e286d54e72084f9ec74eac699596 | 46,109 | asm | Assembly | tests/my_progs/objdump_sprectre.asm | tarunsolanki17/gem5 | 49622e04935783ae2bc78960a39cd2f13ffbdd19 | [
"BSD-3-Clause"
] | 1 | 2020-04-08T15:42:39.000Z | 2020-04-08T15:42:39.000Z | tests/my_progs/objdump_sprectre.asm | tarunsolanki17/gem5 | 49622e04935783ae2bc78960a39cd2f13ffbdd19 | [
"BSD-3-Clause"
] | null | null | null | tests/my_progs/objdump_sprectre.asm | tarunsolanki17/gem5 | 49622e04935783ae2bc78960a39cd2f13ffbdd19 | [
"BSD-3-Clause"
] | 1 | 2020-02-24T06:49:04.000Z | 2020-02-24T06:49:04.000Z |
spectre_test_1: file format elf64-x86-64
Disassembly of section .interp:
0000000000000238 <.interp>:
238: 2f (bad)
239: 6c ins BYTE PTR es:[rdi],dx
23a: 69 62 36 34 2f 6c 64 imul esp,DWORD PTR [rdx+0x36],0x646c2f34
241: 2d 6c 69 6e 75 sub eax,0x756e696c
246: 78 2d js 275 <_init-0x2d3>
248: 78 38 js 282 <_init-0x2c6>
24a: 36 2d 36 34 2e 73 ss sub eax,0x732e3436
250: 6f outs dx,DWORD PTR ds:[rsi]
251: 2e 32 00 xor al,BYTE PTR cs:[rax]
Disassembly of section .note.ABI-tag:
0000000000000254 <.note.ABI-tag>:
254: 04 00 add al,0x0
256: 00 00 add BYTE PTR [rax],al
258: 10 00 adc BYTE PTR [rax],al
25a: 00 00 add BYTE PTR [rax],al
25c: 01 00 add DWORD PTR [rax],eax
25e: 00 00 add BYTE PTR [rax],al
260: 47 rex.RXB
261: 4e 55 rex.WRX push rbp
263: 00 00 add BYTE PTR [rax],al
265: 00 00 add BYTE PTR [rax],al
267: 00 03 add BYTE PTR [rbx],al
269: 00 00 add BYTE PTR [rax],al
26b: 00 02 add BYTE PTR [rdx],al
26d: 00 00 add BYTE PTR [rax],al
26f: 00 00 add BYTE PTR [rax],al
271: 00 00 add BYTE PTR [rax],al
...
Disassembly of section .note.gnu.build-id:
0000000000000274 <.note.gnu.build-id>:
274: 04 00 add al,0x0
276: 00 00 add BYTE PTR [rax],al
278: 14 00 adc al,0x0
27a: 00 00 add BYTE PTR [rax],al
27c: 03 00 add eax,DWORD PTR [rax]
27e: 00 00 add BYTE PTR [rax],al
280: 47 rex.RXB
281: 4e 55 rex.WRX push rbp
283: 00 14 b2 add BYTE PTR [rdx+rsi*4],dl
286: 3a 59 22 cmp bl,BYTE PTR [rcx+0x22]
289: 8f (bad)
28a: e3 22 jrcxz 2ae <_init-0x29a>
28c: 49 cd d0 rex.WB int 0xd0
28f: b8 4c 1b 8d d0 mov eax,0xd08d1b4c
294: ef out dx,eax
295: ed in eax,dx
296: a5 movs DWORD PTR es:[rdi],DWORD PTR ds:[rsi]
297: db .byte 0xdb
Disassembly of section .gnu.hash:
0000000000000298 <.gnu.hash>:
298: 01 00 add DWORD PTR [rax],eax
29a: 00 00 add BYTE PTR [rax],al
29c: 01 00 add DWORD PTR [rax],eax
29e: 00 00 add BYTE PTR [rax],al
2a0: 01 00 add DWORD PTR [rax],eax
...
Disassembly of section .dynsym:
00000000000002b8 <.dynsym>:
...
2d0: 5a pop rdx
2d1: 00 00 add BYTE PTR [rax],al
2d3: 00 20 add BYTE PTR [rax],ah
...
2e5: 00 00 add BYTE PTR [rax],al
2e7: 00 0b add BYTE PTR [rbx],cl
2e9: 00 00 add BYTE PTR [rax],al
2eb: 00 12 add BYTE PTR [rdx],dl
...
2fd: 00 00 add BYTE PTR [rax],al
2ff: 00 1c 00 add BYTE PTR [rax+rax*1],bl
302: 00 00 add BYTE PTR [rax],al
304: 12 00 adc al,BYTE PTR [rax]
...
316: 00 00 add BYTE PTR [rax],al
318: 32 00 xor al,BYTE PTR [rax]
31a: 00 00 add BYTE PTR [rax],al
31c: 12 00 adc al,BYTE PTR [rax]
...
32e: 00 00 add BYTE PTR [rax],al
330: 76 00 jbe 332 <_init-0x216>
332: 00 00 add BYTE PTR [rax],al
334: 20 00 and BYTE PTR [rax],al
...
346: 00 00 add BYTE PTR [rax],al
348: 85 00 test DWORD PTR [rax],eax
34a: 00 00 add BYTE PTR [rax],al
34c: 20 00 and BYTE PTR [rax],al
...
35e: 00 00 add BYTE PTR [rax],al
360: 23 00 and eax,DWORD PTR [rax]
362: 00 00 add BYTE PTR [rax],al
364: 22 00 and al,BYTE PTR [rax]
...
Disassembly of section .dynstr:
0000000000000378 <.dynstr>:
378: 00 6c 69 62 add BYTE PTR [rcx+rbp*2+0x62],ch
37c: 63 2e movsxd ebp,DWORD PTR [rsi]
37e: 73 6f jae 3ef <_init-0x159>
380: 2e 36 00 5f 5f cs add BYTE PTR ss:[rdi+0x5f],bl
385: 73 74 jae 3fb <_init-0x14d>
387: 61 (bad)
388: 63 6b 5f movsxd ebp,DWORD PTR [rbx+0x5f]
38b: 63 68 6b movsxd ebp,DWORD PTR [rax+0x6b]
38e: 5f pop rdi
38f: 66 61 data16 (bad)
391: 69 6c 00 70 72 69 6e imul ebp,DWORD PTR [rax+rax*1+0x70],0x746e6972
398: 74
399: 66 00 5f 5f data16 add BYTE PTR [rdi+0x5f],bl
39d: 63 78 61 movsxd edi,DWORD PTR [rax+0x61]
3a0: 5f pop rdi
3a1: 66 69 6e 61 6c 69 imul bp,WORD PTR [rsi+0x61],0x696c
3a7: 7a 65 jp 40e <_init-0x13a>
3a9: 00 5f 5f add BYTE PTR [rdi+0x5f],bl
3ac: 6c ins BYTE PTR es:[rdi],dx
3ad: 69 62 63 5f 73 74 61 imul esp,DWORD PTR [rdx+0x63],0x6174735f
3b4: 72 74 jb 42a <_init-0x11e>
3b6: 5f pop rdi
3b7: 6d ins DWORD PTR es:[rdi],dx
3b8: 61 (bad)
3b9: 69 6e 00 47 4c 49 42 imul ebp,DWORD PTR [rsi+0x0],0x42494c47
3c0: 43 5f rex.XB pop r15
3c2: 32 2e xor ch,BYTE PTR [rsi]
3c4: 32 2e xor ch,BYTE PTR [rsi]
3c6: 35 00 47 4c 49 xor eax,0x494c4700
3cb: 42 rex.X
3cc: 43 5f rex.XB pop r15
3ce: 32 2e xor ch,BYTE PTR [rsi]
3d0: 34 00 xor al,0x0
3d2: 5f pop rdi
3d3: 49 54 rex.WB push r12
3d5: 4d 5f rex.WRB pop r15
3d7: 64 65 72 65 fs gs jb 440 <_init-0x108>
3db: 67 69 73 74 65 72 54 imul esi,DWORD PTR [ebx+0x74],0x4d547265
3e2: 4d
3e3: 43 6c rex.XB ins BYTE PTR es:[rdi],dx
3e5: 6f outs dx,DWORD PTR ds:[rsi]
3e6: 6e outs dx,BYTE PTR ds:[rsi]
3e7: 65 54 gs push rsp
3e9: 61 (bad)
3ea: 62 (bad)
3eb: 6c ins BYTE PTR es:[rdi],dx
3ec: 65 00 5f 5f add BYTE PTR gs:[rdi+0x5f],bl
3f0: 67 6d ins DWORD PTR es:[edi],dx
3f2: 6f outs dx,DWORD PTR ds:[rsi]
3f3: 6e outs dx,BYTE PTR ds:[rsi]
3f4: 5f pop rdi
3f5: 73 74 jae 46b <_init-0xdd>
3f7: 61 (bad)
3f8: 72 74 jb 46e <_init-0xda>
3fa: 5f pop rdi
3fb: 5f pop rdi
3fc: 00 5f 49 add BYTE PTR [rdi+0x49],bl
3ff: 54 push rsp
400: 4d 5f rex.WRB pop r15
402: 72 65 jb 469 <_init-0xdf>
404: 67 69 73 74 65 72 54 imul esi,DWORD PTR [ebx+0x74],0x4d547265
40b: 4d
40c: 43 6c rex.XB ins BYTE PTR es:[rdi],dx
40e: 6f outs dx,DWORD PTR ds:[rsi]
40f: 6e outs dx,BYTE PTR ds:[rsi]
410: 65 54 gs push rsp
412: 61 (bad)
413: 62 .byte 0x62
414: 6c ins BYTE PTR es:[rdi],dx
415: 65 gs
...
Disassembly of section .gnu.version:
0000000000000418 <.gnu.version>:
418: 00 00 add BYTE PTR [rax],al
41a: 00 00 add BYTE PTR [rax],al
41c: 02 00 add al,BYTE PTR [rax]
41e: 03 00 add eax,DWORD PTR [rax]
420: 03 00 add eax,DWORD PTR [rax]
422: 00 00 add BYTE PTR [rax],al
424: 00 00 add BYTE PTR [rax],al
426: 03 00 add eax,DWORD PTR [rax]
Disassembly of section .gnu.version_r:
0000000000000428 <.gnu.version_r>:
428: 01 00 add DWORD PTR [rax],eax
42a: 02 00 add al,BYTE PTR [rax]
42c: 01 00 add DWORD PTR [rax],eax
42e: 00 00 add BYTE PTR [rax],al
430: 10 00 adc BYTE PTR [rax],al
432: 00 00 add BYTE PTR [rax],al
434: 00 00 add BYTE PTR [rax],al
436: 00 00 add BYTE PTR [rax],al
438: 75 1a jne 454 <_init-0xf4>
43a: 69 09 00 00 03 00 imul ecx,DWORD PTR [rcx],0x30000
440: 44 00 00 add BYTE PTR [rax],r8b
443: 00 10 add BYTE PTR [rax],dl
445: 00 00 add BYTE PTR [rax],al
447: 00 14 69 add BYTE PTR [rcx+rbp*2],dl
44a: 69 0d 00 00 02 00 50 imul ecx,DWORD PTR [rip+0x20000],0x50 # 20454 <__FRAME_END__+0x1fa38>
451: 00 00 00
454: 00 00 add BYTE PTR [rax],al
...
Disassembly of section .rela.dyn:
0000000000000458 <.rela.dyn>:
458: b0 0d mov al,0xd
45a: 20 00 and BYTE PTR [rax],al
45c: 00 00 add BYTE PTR [rax],al
45e: 00 00 add BYTE PTR [rax],al
460: 08 00 or BYTE PTR [rax],al
462: 00 00 add BYTE PTR [rax],al
464: 00 00 add BYTE PTR [rax],al
466: 00 00 add BYTE PTR [rax],al
468: a0 06 00 00 00 00 00 movabs al,ds:0xb800000000000006
46f: 00 b8
471: 0d 20 00 00 00 or eax,0x20
476: 00 00 add BYTE PTR [rax],al
478: 08 00 or BYTE PTR [rax],al
47a: 00 00 add BYTE PTR [rax],al
47c: 00 00 add BYTE PTR [rax],al
47e: 00 00 add BYTE PTR [rax],al
480: 60 (bad)
481: 06 (bad)
482: 00 00 add BYTE PTR [rax],al
484: 00 00 add BYTE PTR [rax],al
486: 00 00 add BYTE PTR [rax],al
488: 08 10 or BYTE PTR [rax],dl
48a: 20 00 and BYTE PTR [rax],al
48c: 00 00 add BYTE PTR [rax],al
48e: 00 00 add BYTE PTR [rax],al
490: 08 00 or BYTE PTR [rax],al
492: 00 00 add BYTE PTR [rax],al
494: 00 00 add BYTE PTR [rax],al
496: 00 00 add BYTE PTR [rax],al
498: 08 10 or BYTE PTR [rax],dl
49a: 20 00 and BYTE PTR [rax],al
49c: 00 00 add BYTE PTR [rax],al
49e: 00 00 add BYTE PTR [rax],al
4a0: d8 0f fmul DWORD PTR [rdi]
4a2: 20 00 and BYTE PTR [rax],al
4a4: 00 00 add BYTE PTR [rax],al
4a6: 00 00 add BYTE PTR [rax],al
4a8: 06 (bad)
4a9: 00 00 add BYTE PTR [rax],al
4ab: 00 01 add BYTE PTR [rcx],al
...
4b5: 00 00 add BYTE PTR [rax],al
4b7: 00 e0 add al,ah
4b9: 0f 20 00 mov rax,cr0
4bc: 00 00 add BYTE PTR [rax],al
4be: 00 00 add BYTE PTR [rax],al
4c0: 06 (bad)
4c1: 00 00 add BYTE PTR [rax],al
4c3: 00 04 00 add BYTE PTR [rax+rax*1],al
...
4ce: 00 00 add BYTE PTR [rax],al
4d0: e8 0f 20 00 00 call 24e4 <__FRAME_END__+0x1ac8>
4d5: 00 00 add BYTE PTR [rax],al
4d7: 00 06 add BYTE PTR [rsi],al
4d9: 00 00 add BYTE PTR [rax],al
4db: 00 05 00 00 00 00 add BYTE PTR [rip+0x0],al # 4e1 <_init-0x67>
4e1: 00 00 add BYTE PTR [rax],al
4e3: 00 00 add BYTE PTR [rax],al
4e5: 00 00 add BYTE PTR [rax],al
4e7: 00 f0 add al,dh
4e9: 0f 20 00 mov rax,cr0
4ec: 00 00 add BYTE PTR [rax],al
4ee: 00 00 add BYTE PTR [rax],al
4f0: 06 (bad)
4f1: 00 00 add BYTE PTR [rax],al
4f3: 00 06 add BYTE PTR [rsi],al
...
4fd: 00 00 add BYTE PTR [rax],al
4ff: 00 f8 add al,bh
501: 0f 20 00 mov rax,cr0
504: 00 00 add BYTE PTR [rax],al
506: 00 00 add BYTE PTR [rax],al
508: 06 (bad)
509: 00 00 add BYTE PTR [rax],al
50b: 00 07 add BYTE PTR [rdi],al
...
Disassembly of section .rela.plt:
0000000000000518 <.rela.plt>:
518: c8 0f 20 00 enter 0x200f,0x0
51c: 00 00 add BYTE PTR [rax],al
51e: 00 00 add BYTE PTR [rax],al
520: 07 (bad)
521: 00 00 add BYTE PTR [rax],al
523: 00 02 add BYTE PTR [rdx],al
...
52d: 00 00 add BYTE PTR [rax],al
52f: 00 d0 add al,dl
531: 0f 20 00 mov rax,cr0
534: 00 00 add BYTE PTR [rax],al
536: 00 00 add BYTE PTR [rax],al
538: 07 (bad)
539: 00 00 add BYTE PTR [rax],al
53b: 00 03 add BYTE PTR [rbx],al
...
Disassembly of section .init:
0000000000000548 <_init>:
548: 48 83 ec 08 sub rsp,0x8
54c: 48 8b 05 95 0a 20 00 mov rax,QWORD PTR [rip+0x200a95] # 200fe8 <__gmon_start__>
553: 48 85 c0 test rax,rax
556: 74 02 je 55a <_init+0x12>
558: ff d0 call rax
55a: 48 83 c4 08 add rsp,0x8
55e: c3 ret
Disassembly of section .plt:
0000000000000560 <.plt>:
560: ff 35 52 0a 20 00 push QWORD PTR [rip+0x200a52] # 200fb8 <_GLOBAL_OFFSET_TABLE_+0x8>
566: ff 25 54 0a 20 00 jmp QWORD PTR [rip+0x200a54] # 200fc0 <_GLOBAL_OFFSET_TABLE_+0x10>
56c: 0f 1f 40 00 nop DWORD PTR [rax+0x0]
0000000000000570 <__stack_chk_fail@plt>:
570: ff 25 52 0a 20 00 jmp QWORD PTR [rip+0x200a52] # 200fc8 <__stack_chk_fail@GLIBC_2.4>
576: 68 00 00 00 00 push 0x0
57b: e9 e0 ff ff ff jmp 560 <.plt>
0000000000000580 <printf@plt>:
580: ff 25 4a 0a 20 00 jmp QWORD PTR [rip+0x200a4a] # 200fd0 <printf@GLIBC_2.2.5>
586: 68 01 00 00 00 push 0x1
58b: e9 d0 ff ff ff jmp 560 <.plt>
Disassembly of section .plt.got:
0000000000000590 <__cxa_finalize@plt>:
590: ff 25 62 0a 20 00 jmp QWORD PTR [rip+0x200a62] # 200ff8 <__cxa_finalize@GLIBC_2.2.5>
596: 66 90 xchg ax,ax
Disassembly of section .text:
00000000000005a0 <_start>:
5a0: 31 ed xor ebp,ebp
5a2: 49 89 d1 mov r9,rdx
5a5: 5e pop rsi
5a6: 48 89 e2 mov rdx,rsp
5a9: 48 83 e4 f0 and rsp,0xfffffffffffffff0
5ad: 50 push rax
5ae: 54 push rsp
5af: 4c 8d 05 da 02 00 00 lea r8,[rip+0x2da] # 890 <__libc_csu_fini>
5b6: 48 8d 0d 63 02 00 00 lea rcx,[rip+0x263] # 820 <__libc_csu_init>
5bd: 48 8d 3d e6 00 00 00 lea rdi,[rip+0xe6] # 6aa <main>
5c4: ff 15 16 0a 20 00 call QWORD PTR [rip+0x200a16] # 200fe0 <__libc_start_main@GLIBC_2.2.5>
5ca: f4 hlt
5cb: 0f 1f 44 00 00 nop DWORD PTR [rax+rax*1+0x0]
00000000000005d0 <deregister_tm_clones>:
5d0: 48 8d 3d 39 0a 20 00 lea rdi,[rip+0x200a39] # 201010 <__TMC_END__>
5d7: 55 push rbp
5d8: 48 8d 05 31 0a 20 00 lea rax,[rip+0x200a31] # 201010 <__TMC_END__>
5df: 48 39 f8 cmp rax,rdi
5e2: 48 89 e5 mov rbp,rsp
5e5: 74 19 je 600 <deregister_tm_clones+0x30>
5e7: 48 8b 05 ea 09 20 00 mov rax,QWORD PTR [rip+0x2009ea] # 200fd8 <_ITM_deregisterTMCloneTable>
5ee: 48 85 c0 test rax,rax
5f1: 74 0d je 600 <deregister_tm_clones+0x30>
5f3: 5d pop rbp
5f4: ff e0 jmp rax
5f6: 66 2e 0f 1f 84 00 00 nop WORD PTR cs:[rax+rax*1+0x0]
5fd: 00 00 00
600: 5d pop rbp
601: c3 ret
602: 0f 1f 40 00 nop DWORD PTR [rax+0x0]
606: 66 2e 0f 1f 84 00 00 nop WORD PTR cs:[rax+rax*1+0x0]
60d: 00 00 00
0000000000000610 <register_tm_clones>:
610: 48 8d 3d f9 09 20 00 lea rdi,[rip+0x2009f9] # 201010 <__TMC_END__>
617: 48 8d 35 f2 09 20 00 lea rsi,[rip+0x2009f2] # 201010 <__TMC_END__>
61e: 55 push rbp
61f: 48 29 fe sub rsi,rdi
622: 48 89 e5 mov rbp,rsp
625: 48 c1 fe 03 sar rsi,0x3
629: 48 89 f0 mov rax,rsi
62c: 48 c1 e8 3f shr rax,0x3f
630: 48 01 c6 add rsi,rax
633: 48 d1 fe sar rsi,1
636: 74 18 je 650 <register_tm_clones+0x40>
638: 48 8b 05 b1 09 20 00 mov rax,QWORD PTR [rip+0x2009b1] # 200ff0 <_ITM_registerTMCloneTable>
63f: 48 85 c0 test rax,rax
642: 74 0c je 650 <register_tm_clones+0x40>
644: 5d pop rbp
645: ff e0 jmp rax
647: 66 0f 1f 84 00 00 00 nop WORD PTR [rax+rax*1+0x0]
64e: 00 00
650: 5d pop rbp
651: c3 ret
652: 0f 1f 40 00 nop DWORD PTR [rax+0x0]
656: 66 2e 0f 1f 84 00 00 nop WORD PTR cs:[rax+rax*1+0x0]
65d: 00 00 00
0000000000000660 <__do_global_dtors_aux>:
660: 80 3d a9 09 20 00 00 cmp BYTE PTR [rip+0x2009a9],0x0 # 201010 <__TMC_END__>
667: 75 2f jne 698 <__do_global_dtors_aux+0x38>
669: 48 83 3d 87 09 20 00 cmp QWORD PTR [rip+0x200987],0x0 # 200ff8 <__cxa_finalize@GLIBC_2.2.5>
670: 00
671: 55 push rbp
672: 48 89 e5 mov rbp,rsp
675: 74 0c je 683 <__do_global_dtors_aux+0x23>
677: 48 8b 3d 8a 09 20 00 mov rdi,QWORD PTR [rip+0x20098a] # 201008 <__dso_handle>
67e: e8 0d ff ff ff call 590 <__cxa_finalize@plt>
683: e8 48 ff ff ff call 5d0 <deregister_tm_clones>
688: c6 05 81 09 20 00 01 mov BYTE PTR [rip+0x200981],0x1 # 201010 <__TMC_END__>
68f: 5d pop rbp
690: c3 ret
691: 0f 1f 80 00 00 00 00 nop DWORD PTR [rax+0x0]
698: f3 c3 repz ret
69a: 66 0f 1f 44 00 00 nop WORD PTR [rax+rax*1+0x0]
00000000000006a0 <frame_dummy>:
6a0: 55 push rbp
6a1: 48 89 e5 mov rbp,rsp
6a4: 5d pop rbp
6a5: e9 66 ff ff ff jmp 610 <register_tm_clones>
00000000000006aa <main>:
6aa: 55 push rbp
6ab: 48 89 e5 mov rbp,rsp
6ae: 48 81 ec c0 41 06 00 sub rsp,0x641c0
6b5: 64 48 8b 04 25 28 00 mov rax,QWORD PTR fs:0x28
6bc: 00 00
6be: 48 89 45 f8 mov QWORD PTR [rbp-0x8],rax
6c2: 31 c0 xor eax,eax
6c4: c7 85 48 be f9 ff 00 mov DWORD PTR [rbp-0x641b8],0x0
6cb: 00 00 00
6ce: c7 85 4c be f9 ff 00 mov DWORD PTR [rbp-0x641b4],0x0
6d5: 00 00 00
6d8: eb 1c jmp 6f6 <main+0x4c>
6da: 8b 85 4c be f9 ff mov eax,DWORD PTR [rbp-0x641b4]
6e0: 48 98 cdqe
6e2: 8b 95 4c be f9 ff mov edx,DWORD PTR [rbp-0x641b4]
6e8: 89 94 85 60 be f9 ff mov DWORD PTR [rbp+rax*4-0x641a0],edx
6ef: 83 85 4c be f9 ff 01 add DWORD PTR [rbp-0x641b4],0x1
6f6: 83 bd 4c be f9 ff 63 cmp DWORD PTR [rbp-0x641b4],0x63
6fd: 7e db jle 6da <main+0x30>
6ff: 48 8d 85 60 be f9 ff lea rax,[rbp-0x641a0]
706: 48 05 90 01 00 00 add rax,0x190
70c: 48 89 85 58 be f9 ff mov QWORD PTR [rbp-0x641a8],rax
713: 48 8b 85 58 be f9 ff mov rax,QWORD PTR [rbp-0x641a8]
71a: c7 00 c8 00 00 00 mov DWORD PTR [rax],0xc8
720: 48 8d 85 60 be f9 ff lea rax,[rbp-0x641a0]
727: 48 89 c6 mov rsi,rax
72a: 48 8d 3d 73 01 00 00 lea rdi,[rip+0x173] # 8a4 <_IO_stdin_used+0x4>
731: b8 00 00 00 00 mov eax,0x0
736: e8 45 fe ff ff call 580 <printf@plt>
73b: 48 8d 85 f0 bf f9 ff lea rax,[rbp-0x64010]
742: 48 89 c6 mov rsi,rax
745: 48 8d 3d 64 01 00 00 lea rdi,[rip+0x164] # 8b0 <_IO_stdin_used+0x10>
74c: b8 00 00 00 00 mov eax,0x0
751: e8 2a fe ff ff call 580 <printf@plt>
756: 48 8d 85 60 be f9 ff lea rax,[rbp-0x641a0]
75d: 48 05 90 01 00 00 add rax,0x190
763: 48 89 c6 mov rsi,rax
766: 48 8d 3d 4f 01 00 00 lea rdi,[rip+0x14f] # 8bc <_IO_stdin_used+0x1c>
76d: b8 00 00 00 00 mov eax,0x0
772: e8 09 fe ff ff call 580 <printf@plt>
777: 48 8b 85 58 be f9 ff mov rax,QWORD PTR [rbp-0x641a8]
77e: 48 89 c6 mov rsi,rax
781: 48 8d 3d 34 01 00 00 lea rdi,[rip+0x134] # 8bc <_IO_stdin_used+0x1c>
788: b8 00 00 00 00 mov eax,0x0
78d: e8 ee fd ff ff call 580 <printf@plt>
792: c7 85 50 be f9 ff 64 mov DWORD PTR [rbp-0x641b0],0x64
799: 00 00 00
79c: 8b 85 48 be f9 ff mov eax,DWORD PTR [rbp-0x641b8]
7a2: 3b 85 50 be f9 ff cmp eax,DWORD PTR [rbp-0x641b0]
7a8: 7d 40 jge 7ea <main+0x140>
7aa: 8b 85 48 be f9 ff mov eax,DWORD PTR [rbp-0x641b8]
7b0: 48 98 cdqe
7b2: 8b 84 85 60 be f9 ff mov eax,DWORD PTR [rbp+rax*4-0x641a0]
7b9: c1 e0 0a shl eax,0xa
7bc: 48 98 cdqe
7be: 8b 84 85 f0 bf f9 ff mov eax,DWORD PTR [rbp+rax*4-0x64010]
7c5: 89 85 54 be f9 ff mov DWORD PTR [rbp-0x641ac],eax
7cb: 8b 95 54 be f9 ff mov edx,DWORD PTR [rbp-0x641ac]
7d1: 8b 85 48 be f9 ff mov eax,DWORD PTR [rbp-0x641b8]
7d7: 89 c6 mov esi,eax
7d9: 48 8d 3d e0 00 00 00 lea rdi,[rip+0xe0] # 8c0 <_IO_stdin_used+0x20>
7e0: b8 00 00 00 00 mov eax,0x0
7e5: e8 96 fd ff ff call 580 <printf@plt>
7ea: 83 85 48 be f9 ff 01 add DWORD PTR [rbp-0x641b8],0x1
7f1: 83 bd 48 be f9 ff 65 cmp DWORD PTR [rbp-0x641b8],0x65
7f8: 74 02 je 7fc <main+0x152>
7fa: eb a0 jmp 79c <main+0xf2>
7fc: 90 nop
7fd: b8 00 00 00 00 mov eax,0x0
802: 48 8b 4d f8 mov rcx,QWORD PTR [rbp-0x8]
806: 64 48 33 0c 25 28 00 xor rcx,QWORD PTR fs:0x28
80d: 00 00
80f: 74 05 je 816 <main+0x16c>
811: e8 5a fd ff ff call 570 <__stack_chk_fail@plt>
816: c9 leave
817: c3 ret
818: 0f 1f 84 00 00 00 00 nop DWORD PTR [rax+rax*1+0x0]
81f: 00
0000000000000820 <__libc_csu_init>:
820: 41 57 push r15
822: 41 56 push r14
824: 49 89 d7 mov r15,rdx
827: 41 55 push r13
829: 41 54 push r12
82b: 4c 8d 25 7e 05 20 00 lea r12,[rip+0x20057e] # 200db0 <__frame_dummy_init_array_entry>
832: 55 push rbp
833: 48 8d 2d 7e 05 20 00 lea rbp,[rip+0x20057e] # 200db8 <__init_array_end>
83a: 53 push rbx
83b: 41 89 fd mov r13d,edi
83e: 49 89 f6 mov r14,rsi
841: 4c 29 e5 sub rbp,r12
844: 48 83 ec 08 sub rsp,0x8
848: 48 c1 fd 03 sar rbp,0x3
84c: e8 f7 fc ff ff call 548 <_init>
851: 48 85 ed test rbp,rbp
854: 74 20 je 876 <__libc_csu_init+0x56>
856: 31 db xor ebx,ebx
858: 0f 1f 84 00 00 00 00 nop DWORD PTR [rax+rax*1+0x0]
85f: 00
860: 4c 89 fa mov rdx,r15
863: 4c 89 f6 mov rsi,r14
866: 44 89 ef mov edi,r13d
869: 41 ff 14 dc call QWORD PTR [r12+rbx*8]
86d: 48 83 c3 01 add rbx,0x1
871: 48 39 dd cmp rbp,rbx
874: 75 ea jne 860 <__libc_csu_init+0x40>
876: 48 83 c4 08 add rsp,0x8
87a: 5b pop rbx
87b: 5d pop rbp
87c: 41 5c pop r12
87e: 41 5d pop r13
880: 41 5e pop r14
882: 41 5f pop r15
884: c3 ret
885: 90 nop
886: 66 2e 0f 1f 84 00 00 nop WORD PTR cs:[rax+rax*1+0x0]
88d: 00 00 00
0000000000000890 <__libc_csu_fini>:
890: f3 c3 repz ret
Disassembly of section .fini:
0000000000000894 <_fini>:
894: 48 83 ec 08 sub rsp,0x8
898: 48 83 c4 08 add rsp,0x8
89c: c3 ret
Disassembly of section .rodata:
00000000000008a0 <_IO_stdin_used>:
8a0: 01 00 add DWORD PTR [rax],eax
8a2: 02 00 add al,BYTE PTR [rax]
8a4: 61 (bad)
8a5: 72 72 jb 919 <__GNU_EH_FRAME_HDR+0x41>
8a7: 61 (bad)
8a8: 79 20 jns 8ca <_IO_stdin_used+0x2a>
8aa: 31 3d 25 70 0a 00 xor DWORD PTR [rip+0xa7025],edi # a78d5 <__FRAME_END__+0xa6eb9>
8b0: 61 (bad)
8b1: 72 72 jb 925 <__GNU_EH_FRAME_HDR+0x4d>
8b3: 61 (bad)
8b4: 79 20 jns 8d6 <_IO_stdin_used+0x36>
8b6: 32 3d 25 70 0a 00 xor bh,BYTE PTR [rip+0xa7025] # a78e1 <__FRAME_END__+0xa6ec5>
8bc: 25 70 0a 00 78 and eax,0x78000a70
8c1: 20 3d 20 25 64 20 and BYTE PTR [rip+0x20642520],bh # 20642de7 <_end+0x20441dcf>
8c7: 20 20 and BYTE PTR [rax],ah
8c9: 20 20 and BYTE PTR [rax],ah
8cb: 20 20 and BYTE PTR [rax],ah
8cd: 20 20 and BYTE PTR [rax],ah
8cf: 79 20 jns 8f1 <__GNU_EH_FRAME_HDR+0x19>
8d1: 3d 20 25 64 20 cmp eax,0x20642520
8d6: 0a 00 or al,BYTE PTR [rax]
Disassembly of section .eh_frame_hdr:
00000000000008d8 <__GNU_EH_FRAME_HDR>:
8d8: 01 1b add DWORD PTR [rbx],ebx
8da: 03 3b add edi,DWORD PTR [rbx]
8dc: 3c 00 cmp al,0x0
8de: 00 00 add BYTE PTR [rax],al
8e0: 06 (bad)
8e1: 00 00 add BYTE PTR [rax],al
8e3: 00 88 fc ff ff 88 add BYTE PTR [rax-0x77000004],cl
8e9: 00 00 add BYTE PTR [rax],al
8eb: 00 b8 fc ff ff b0 add BYTE PTR [rax-0x4f000004],bh
8f1: 00 00 add BYTE PTR [rax],al
8f3: 00 c8 add al,cl
8f5: fc cld
8f6: ff (bad)
8f7: ff 58 00 call FWORD PTR [rax+0x0]
8fa: 00 00 add BYTE PTR [rax],al
8fc: d2 fd sar ch,cl
8fe: ff (bad)
8ff: ff c8 dec eax
901: 00 00 add BYTE PTR [rax],al
903: 00 48 ff add BYTE PTR [rax-0x1],cl
906: ff (bad)
907: ff (bad)
908: e8 00 00 00 b8 call ffffffffb800090d <_end+0xffffffffb7dff8f5>
90d: ff (bad)
90e: ff (bad)
90f: ff 30 push QWORD PTR [rax]
911: 01 00 add DWORD PTR [rax],eax
...
Disassembly of section .eh_frame:
0000000000000918 <__FRAME_END__-0x104>:
918: 14 00 adc al,0x0
91a: 00 00 add BYTE PTR [rax],al
91c: 00 00 add BYTE PTR [rax],al
91e: 00 00 add BYTE PTR [rax],al
920: 01 7a 52 add DWORD PTR [rdx+0x52],edi
923: 00 01 add BYTE PTR [rcx],al
925: 78 10 js 937 <__GNU_EH_FRAME_HDR+0x5f>
927: 01 1b add DWORD PTR [rbx],ebx
929: 0c 07 or al,0x7
92b: 08 90 01 07 10 14 or BYTE PTR [rax+0x14100701],dl
931: 00 00 add BYTE PTR [rax],al
933: 00 1c 00 add BYTE PTR [rax+rax*1],bl
936: 00 00 add BYTE PTR [rax],al
938: 68 fc ff ff 2b push 0x2bfffffc
...
945: 00 00 add BYTE PTR [rax],al
947: 00 14 00 add BYTE PTR [rax+rax*1],dl
94a: 00 00 add BYTE PTR [rax],al
94c: 00 00 add BYTE PTR [rax],al
94e: 00 00 add BYTE PTR [rax],al
950: 01 7a 52 add DWORD PTR [rdx+0x52],edi
953: 00 01 add BYTE PTR [rcx],al
955: 78 10 js 967 <__GNU_EH_FRAME_HDR+0x8f>
957: 01 1b add DWORD PTR [rbx],ebx
959: 0c 07 or al,0x7
95b: 08 90 01 00 00 24 or BYTE PTR [rax+0x24000001],dl
961: 00 00 add BYTE PTR [rax],al
963: 00 1c 00 add BYTE PTR [rax+rax*1],bl
966: 00 00 add BYTE PTR [rax],al
968: f8 clc
969: fb sti
96a: ff (bad)
96b: ff 30 push QWORD PTR [rax]
96d: 00 00 add BYTE PTR [rax],al
96f: 00 00 add BYTE PTR [rax],al
971: 0e (bad)
972: 10 46 0e adc BYTE PTR [rsi+0xe],al
975: 18 4a 0f sbb BYTE PTR [rdx+0xf],cl
978: 0b 77 08 or esi,DWORD PTR [rdi+0x8]
97b: 80 00 3f add BYTE PTR [rax],0x3f
97e: 1a 3b sbb bh,BYTE PTR [rbx]
980: 2a 33 sub dh,BYTE PTR [rbx]
982: 24 22 and al,0x22
984: 00 00 add BYTE PTR [rax],al
986: 00 00 add BYTE PTR [rax],al
988: 14 00 adc al,0x0
98a: 00 00 add BYTE PTR [rax],al
98c: 44 00 00 add BYTE PTR [rax],r8b
98f: 00 00 add BYTE PTR [rax],al
991: fc cld
992: ff (bad)
993: ff 08 dec DWORD PTR [rax]
...
99d: 00 00 add BYTE PTR [rax],al
99f: 00 1c 00 add BYTE PTR [rax+rax*1],bl
9a2: 00 00 add BYTE PTR [rax],al
9a4: 5c pop rsp
9a5: 00 00 add BYTE PTR [rax],al
9a7: 00 02 add BYTE PTR [rdx],al
9a9: fd std
9aa: ff (bad)
9ab: ff 6e 01 jmp FWORD PTR [rsi+0x1]
9ae: 00 00 add BYTE PTR [rax],al
9b0: 00 41 0e add BYTE PTR [rcx+0xe],al
9b3: 10 86 02 43 0d 06 adc BYTE PTR [rsi+0x60d4302],al
9b9: 03 69 01 add ebp,DWORD PTR [rcx+0x1]
9bc: 0c 07 or al,0x7
9be: 08 00 or BYTE PTR [rax],al
9c0: 44 00 00 add BYTE PTR [rax],r8b
9c3: 00 7c 00 00 add BYTE PTR [rax+rax*1+0x0],bh
9c7: 00 58 fe add BYTE PTR [rax-0x2],bl
9ca: ff (bad)
9cb: ff 65 00 jmp QWORD PTR [rbp+0x0]
9ce: 00 00 add BYTE PTR [rax],al
9d0: 00 42 0e add BYTE PTR [rdx+0xe],al
9d3: 10 8f 02 42 0e 18 adc BYTE PTR [rdi+0x180e4202],cl
9d9: 8e 03 mov es,WORD PTR [rbx]
9db: 45 0e rex.RB (bad)
9dd: 20 8d 04 42 0e 28 and BYTE PTR [rbp+0x280e4204],cl
9e3: 8c 05 48 0e 30 86 mov WORD PTR [rip+0xffffffff86300e48],es # ffffffff86301831 <_end+0xffffffff86100819>
9e9: 06 (bad)
9ea: 48 0e rex.W (bad)
9ec: 38 83 07 4d 0e 40 cmp BYTE PTR [rbx+0x400e4d07],al
9f2: 72 0e jb a02 <__GNU_EH_FRAME_HDR+0x12a>
9f4: 38 41 0e cmp BYTE PTR [rcx+0xe],al
9f7: 30 41 0e xor BYTE PTR [rcx+0xe],al
9fa: 28 42 0e sub BYTE PTR [rdx+0xe],al
9fd: 20 42 0e and BYTE PTR [rdx+0xe],al
a00: 18 42 0e sbb BYTE PTR [rdx+0xe],al
a03: 10 42 0e adc BYTE PTR [rdx+0xe],al
a06: 08 00 or BYTE PTR [rax],al
a08: 10 00 adc BYTE PTR [rax],al
a0a: 00 00 add BYTE PTR [rax],al
a0c: c4 (bad)
a0d: 00 00 add BYTE PTR [rax],al
a0f: 00 80 fe ff ff 02 add BYTE PTR [rax+0x2fffffe],al
a15: 00 00 add BYTE PTR [rax],al
a17: 00 00 add BYTE PTR [rax],al
a19: 00 00 add BYTE PTR [rax],al
...
0000000000000a1c <__FRAME_END__>:
a1c: 00 00 add BYTE PTR [rax],al
...
Disassembly of section .init_array:
0000000000200db0 <__frame_dummy_init_array_entry>:
200db0: a0 .byte 0xa0
200db1: 06 (bad)
200db2: 00 00 add BYTE PTR [rax],al
200db4: 00 00 add BYTE PTR [rax],al
...
Disassembly of section .fini_array:
0000000000200db8 <__do_global_dtors_aux_fini_array_entry>:
200db8: 60 (bad)
200db9: 06 (bad)
200dba: 00 00 add BYTE PTR [rax],al
200dbc: 00 00 add BYTE PTR [rax],al
...
Disassembly of section .dynamic:
0000000000200dc0 <_DYNAMIC>:
200dc0: 01 00 add DWORD PTR [rax],eax
200dc2: 00 00 add BYTE PTR [rax],al
200dc4: 00 00 add BYTE PTR [rax],al
200dc6: 00 00 add BYTE PTR [rax],al
200dc8: 01 00 add DWORD PTR [rax],eax
200dca: 00 00 add BYTE PTR [rax],al
200dcc: 00 00 add BYTE PTR [rax],al
200dce: 00 00 add BYTE PTR [rax],al
200dd0: 0c 00 or al,0x0
200dd2: 00 00 add BYTE PTR [rax],al
200dd4: 00 00 add BYTE PTR [rax],al
200dd6: 00 00 add BYTE PTR [rax],al
200dd8: 48 05 00 00 00 00 add rax,0x0
200dde: 00 00 add BYTE PTR [rax],al
200de0: 0d 00 00 00 00 or eax,0x0
200de5: 00 00 add BYTE PTR [rax],al
200de7: 00 94 08 00 00 00 00 add BYTE PTR [rax+rcx*1+0x0],dl
200dee: 00 00 add BYTE PTR [rax],al
200df0: 19 00 sbb DWORD PTR [rax],eax
200df2: 00 00 add BYTE PTR [rax],al
200df4: 00 00 add BYTE PTR [rax],al
200df6: 00 00 add BYTE PTR [rax],al
200df8: b0 0d mov al,0xd
200dfa: 20 00 and BYTE PTR [rax],al
200dfc: 00 00 add BYTE PTR [rax],al
200dfe: 00 00 add BYTE PTR [rax],al
200e00: 1b 00 sbb eax,DWORD PTR [rax]
200e02: 00 00 add BYTE PTR [rax],al
200e04: 00 00 add BYTE PTR [rax],al
200e06: 00 00 add BYTE PTR [rax],al
200e08: 08 00 or BYTE PTR [rax],al
200e0a: 00 00 add BYTE PTR [rax],al
200e0c: 00 00 add BYTE PTR [rax],al
200e0e: 00 00 add BYTE PTR [rax],al
200e10: 1a 00 sbb al,BYTE PTR [rax]
200e12: 00 00 add BYTE PTR [rax],al
200e14: 00 00 add BYTE PTR [rax],al
200e16: 00 00 add BYTE PTR [rax],al
200e18: b8 0d 20 00 00 mov eax,0x200d
200e1d: 00 00 add BYTE PTR [rax],al
200e1f: 00 1c 00 add BYTE PTR [rax+rax*1],bl
200e22: 00 00 add BYTE PTR [rax],al
200e24: 00 00 add BYTE PTR [rax],al
200e26: 00 00 add BYTE PTR [rax],al
200e28: 08 00 or BYTE PTR [rax],al
200e2a: 00 00 add BYTE PTR [rax],al
200e2c: 00 00 add BYTE PTR [rax],al
200e2e: 00 00 add BYTE PTR [rax],al
200e30: f5 cmc
200e31: fe (bad)
200e32: ff 6f 00 jmp FWORD PTR [rdi+0x0]
200e35: 00 00 add BYTE PTR [rax],al
200e37: 00 98 02 00 00 00 add BYTE PTR [rax+0x2],bl
200e3d: 00 00 add BYTE PTR [rax],al
200e3f: 00 05 00 00 00 00 add BYTE PTR [rip+0x0],al # 200e45 <_DYNAMIC+0x85>
200e45: 00 00 add BYTE PTR [rax],al
200e47: 00 78 03 add BYTE PTR [rax+0x3],bh
200e4a: 00 00 add BYTE PTR [rax],al
200e4c: 00 00 add BYTE PTR [rax],al
200e4e: 00 00 add BYTE PTR [rax],al
200e50: 06 (bad)
200e51: 00 00 add BYTE PTR [rax],al
200e53: 00 00 add BYTE PTR [rax],al
200e55: 00 00 add BYTE PTR [rax],al
200e57: 00 b8 02 00 00 00 add BYTE PTR [rax+0x2],bh
200e5d: 00 00 add BYTE PTR [rax],al
200e5f: 00 0a add BYTE PTR [rdx],cl
200e61: 00 00 add BYTE PTR [rax],al
200e63: 00 00 add BYTE PTR [rax],al
200e65: 00 00 add BYTE PTR [rax],al
200e67: 00 9f 00 00 00 00 add BYTE PTR [rdi+0x0],bl
200e6d: 00 00 add BYTE PTR [rax],al
200e6f: 00 0b add BYTE PTR [rbx],cl
200e71: 00 00 add BYTE PTR [rax],al
200e73: 00 00 add BYTE PTR [rax],al
200e75: 00 00 add BYTE PTR [rax],al
200e77: 00 18 add BYTE PTR [rax],bl
200e79: 00 00 add BYTE PTR [rax],al
200e7b: 00 00 add BYTE PTR [rax],al
200e7d: 00 00 add BYTE PTR [rax],al
200e7f: 00 15 00 00 00 00 add BYTE PTR [rip+0x0],dl # 200e85 <_DYNAMIC+0xc5>
...
200e8d: 00 00 add BYTE PTR [rax],al
200e8f: 00 03 add BYTE PTR [rbx],al
200e91: 00 00 add BYTE PTR [rax],al
200e93: 00 00 add BYTE PTR [rax],al
200e95: 00 00 add BYTE PTR [rax],al
200e97: 00 b0 0f 20 00 00 add BYTE PTR [rax+0x200f],dh
200e9d: 00 00 add BYTE PTR [rax],al
200e9f: 00 02 add BYTE PTR [rdx],al
200ea1: 00 00 add BYTE PTR [rax],al
200ea3: 00 00 add BYTE PTR [rax],al
200ea5: 00 00 add BYTE PTR [rax],al
200ea7: 00 30 add BYTE PTR [rax],dh
200ea9: 00 00 add BYTE PTR [rax],al
200eab: 00 00 add BYTE PTR [rax],al
200ead: 00 00 add BYTE PTR [rax],al
200eaf: 00 14 00 add BYTE PTR [rax+rax*1],dl
200eb2: 00 00 add BYTE PTR [rax],al
200eb4: 00 00 add BYTE PTR [rax],al
200eb6: 00 00 add BYTE PTR [rax],al
200eb8: 07 (bad)
200eb9: 00 00 add BYTE PTR [rax],al
200ebb: 00 00 add BYTE PTR [rax],al
200ebd: 00 00 add BYTE PTR [rax],al
200ebf: 00 17 add BYTE PTR [rdi],dl
200ec1: 00 00 add BYTE PTR [rax],al
200ec3: 00 00 add BYTE PTR [rax],al
200ec5: 00 00 add BYTE PTR [rax],al
200ec7: 00 18 add BYTE PTR [rax],bl
200ec9: 05 00 00 00 00 add eax,0x0
200ece: 00 00 add BYTE PTR [rax],al
200ed0: 07 (bad)
200ed1: 00 00 add BYTE PTR [rax],al
200ed3: 00 00 add BYTE PTR [rax],al
200ed5: 00 00 add BYTE PTR [rax],al
200ed7: 00 58 04 add BYTE PTR [rax+0x4],bl
200eda: 00 00 add BYTE PTR [rax],al
200edc: 00 00 add BYTE PTR [rax],al
200ede: 00 00 add BYTE PTR [rax],al
200ee0: 08 00 or BYTE PTR [rax],al
200ee2: 00 00 add BYTE PTR [rax],al
200ee4: 00 00 add BYTE PTR [rax],al
200ee6: 00 00 add BYTE PTR [rax],al
200ee8: c0 00 00 rol BYTE PTR [rax],0x0
200eeb: 00 00 add BYTE PTR [rax],al
200eed: 00 00 add BYTE PTR [rax],al
200eef: 00 09 add BYTE PTR [rcx],cl
200ef1: 00 00 add BYTE PTR [rax],al
200ef3: 00 00 add BYTE PTR [rax],al
200ef5: 00 00 add BYTE PTR [rax],al
200ef7: 00 18 add BYTE PTR [rax],bl
200ef9: 00 00 add BYTE PTR [rax],al
200efb: 00 00 add BYTE PTR [rax],al
200efd: 00 00 add BYTE PTR [rax],al
200eff: 00 1e add BYTE PTR [rsi],bl
200f01: 00 00 add BYTE PTR [rax],al
200f03: 00 00 add BYTE PTR [rax],al
200f05: 00 00 add BYTE PTR [rax],al
200f07: 00 08 add BYTE PTR [rax],cl
200f09: 00 00 add BYTE PTR [rax],al
200f0b: 00 00 add BYTE PTR [rax],al
200f0d: 00 00 add BYTE PTR [rax],al
200f0f: 00 fb add bl,bh
200f11: ff (bad)
200f12: ff 6f 00 jmp FWORD PTR [rdi+0x0]
200f15: 00 00 add BYTE PTR [rax],al
200f17: 00 01 add BYTE PTR [rcx],al
200f19: 00 00 add BYTE PTR [rax],al
200f1b: 08 00 or BYTE PTR [rax],al
200f1d: 00 00 add BYTE PTR [rax],al
200f1f: 00 fe add dh,bh
200f21: ff (bad)
200f22: ff 6f 00 jmp FWORD PTR [rdi+0x0]
200f25: 00 00 add BYTE PTR [rax],al
200f27: 00 28 add BYTE PTR [rax],ch
200f29: 04 00 add al,0x0
200f2b: 00 00 add BYTE PTR [rax],al
200f2d: 00 00 add BYTE PTR [rax],al
200f2f: 00 ff add bh,bh
200f31: ff (bad)
200f32: ff 6f 00 jmp FWORD PTR [rdi+0x0]
200f35: 00 00 add BYTE PTR [rax],al
200f37: 00 01 add BYTE PTR [rcx],al
200f39: 00 00 add BYTE PTR [rax],al
200f3b: 00 00 add BYTE PTR [rax],al
200f3d: 00 00 add BYTE PTR [rax],al
200f3f: 00 f0 add al,dh
200f41: ff (bad)
200f42: ff 6f 00 jmp FWORD PTR [rdi+0x0]
200f45: 00 00 add BYTE PTR [rax],al
200f47: 00 18 add BYTE PTR [rax],bl
200f49: 04 00 add al,0x0
200f4b: 00 00 add BYTE PTR [rax],al
200f4d: 00 00 add BYTE PTR [rax],al
200f4f: 00 f9 add cl,bh
200f51: ff (bad)
200f52: ff 6f 00 jmp FWORD PTR [rdi+0x0]
200f55: 00 00 add BYTE PTR [rax],al
200f57: 00 03 add BYTE PTR [rbx],al
...
Disassembly of section .got:
0000000000200fb0 <_GLOBAL_OFFSET_TABLE_>:
200fb0: c0 0d 20 00 00 00 00 ror BYTE PTR [rip+0x20],0x0 # 200fd7 <_GLOBAL_OFFSET_TABLE_+0x27>
...
200fc7: 00 76 05 add BYTE PTR [rsi+0x5],dh
200fca: 00 00 add BYTE PTR [rax],al
200fcc: 00 00 add BYTE PTR [rax],al
200fce: 00 00 add BYTE PTR [rax],al
200fd0: 86 05 00 00 00 00 xchg BYTE PTR [rip+0x0],al # 200fd6 <_GLOBAL_OFFSET_TABLE_+0x26>
...
Disassembly of section .data:
0000000000201000 <__data_start>:
...
0000000000201008 <__dso_handle>:
201008: 08 10 or BYTE PTR [rax],dl
20100a: 20 00 and BYTE PTR [rax],al
20100c: 00 00 add BYTE PTR [rax],al
...
Disassembly of section .bss:
0000000000201010 <__bss_start>:
...
Disassembly of section .comment:
0000000000000000 <.comment>:
0: 47 rex.RXB
1: 43 rex.XB
2: 43 3a 20 rex.XB cmp spl,BYTE PTR [r8]
5: 28 55 62 sub BYTE PTR [rbp+0x62],dl
8: 75 6e jne 78 <_init-0x4d0>
a: 74 75 je 81 <_init-0x4c7>
c: 20 37 and BYTE PTR [rdi],dh
e: 2e 34 2e cs xor al,0x2e
11: 30 2d 31 75 62 75 xor BYTE PTR [rip+0x75627531],ch # 75627548 <_end+0x75426530>
17: 6e outs dx,BYTE PTR ds:[rsi]
18: 74 75 je 8f <_init-0x4b9>
1a: 31 7e 31 xor DWORD PTR [rsi+0x31],edi
1d: 38 2e cmp BYTE PTR [rsi],ch
1f: 30 34 2e xor BYTE PTR [rsi+rbp*1],dh
22: 31 29 xor DWORD PTR [rcx],ebp
24: 20 37 and BYTE PTR [rdi],dh
26: 2e 34 2e cs xor al,0x2e
29: 30 00 xor BYTE PTR [rax],al
| 46.763692 | 123 | 0.472619 |
7c93ab184e79fde5eec70157fbb035998a5cf0cd | 206 | asm | Assembly | programs/test1.asm | tofu13/pyc64 | 1ffb1d864de1b4df64f6eceb724ff653ce68aa2a | [
"MIT"
] | null | null | null | programs/test1.asm | tofu13/pyc64 | 1ffb1d864de1b4df64f6eceb724ff653ce68aa2a | [
"MIT"
] | null | null | null | programs/test1.asm | tofu13/pyc64 | 1ffb1d864de1b4df64f6eceb724ff653ce68aa2a | [
"MIT"
] | null | null | null | * = $C000
INX
INX
DEX
TXA
TAY
NOP
DEY
INY
DEY
CLC
CLD
CLI
CLV
SEC
SED
SEI
| 11.444444 | 13 | 0.252427 |
eaec2c11ccdca581a54e16cbc44bc08f75dda6c8 | 685 | asm | Assembly | programs/oeis/141/A141759.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/141/A141759.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/141/A141759.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A141759: a(n) = 16n^2 + 32n + 15.
; 15,63,143,255,399,575,783,1023,1295,1599,1935,2303,2703,3135,3599,4095,4623,5183,5775,6399,7055,7743,8463,9215,9999,10815,11663,12543,13455,14399,15375,16383,17423,18495,19599,20735,21903,23103,24335,25599,26895,28223,29583,30975,32399,33855,35343,36863,38415,39999,41615,43263,44943,46655,48399,50175,51983,53823,55695,57599,59535,61503,63503,65535,67599,69695,71823,73983,76175,78399,80655,82943,85263,87615,89999,92415,94863,97343,99855,102399,104975,107583,110223,112895,115599,118335,121103,123903,126735,129599,132495,135423,138383,141375,144399,147455,150543,153663,156815,159999
mov $1,2
add $1,$0
mul $1,$0
mul $1,16
add $1,15
mov $0,$1
| 68.5 | 588 | 0.783942 |
0e86ab09d097460b33818dd45d7ad78ca462eda7 | 11,640 | asm | Assembly | FadeRoutines.asm | DevEd2/HokeyPokey-GB | b7d08b8c3eadc5f19519bfb2961cda7eacf11c6f | [
"MIT"
] | null | null | null | FadeRoutines.asm | DevEd2/HokeyPokey-GB | b7d08b8c3eadc5f19519bfb2961cda7eacf11c6f | [
"MIT"
] | null | null | null | FadeRoutines.asm | DevEd2/HokeyPokey-GB | b7d08b8c3eadc5f19519bfb2961cda7eacf11c6f | [
"MIT"
] | null | null | null | INCLUDE "RGBGRAFX.INC"
INCLUDE "HARDWARE.INC"
INCLUDE "INCDEC.INC"
;INCLUDE "DEBUGMSG.INC"
SECTION "RGBG_SimpleFadeOut_RAM",WRAM0
RGBG_fade_to_color:: DS 1
SECTION "RGBG_SimpleFadeOut",ROM0
RGBG_MakeLighter::
cp 31
adc 0
ld d,a
ld a,l ;a
cp 31
adc 0
ld l,a
ld a,h
cp 31
adc 0
ld h,a
ld a,d
ret
RGBG_MakeDarker::
or a
jr z, .skip1
dec a
.skip1:
ld d,a
xor a
cp l
jr z,.skip2
dec l
.skip2:
cp h
jr z,.skip3
dec h
.skip3:
ld a,d
ret
RGBG_SimpleFadeOut::
ld b,32
.loop0:
push bc
; Wait for next screen redraw
.skip:
ld a,[rLY]
or a
jr nz,.skip
ld b,$80
.loop1:
ld c,$69
; Read BG color register pair
ld a,b
ld [rBCPS],a
di
RGBG_WaitForVRAM
ld a,[c]
ld e,a
ld a,b
inc a
ld [rBCPS],a
ld a,[c]
ei
ld d,a
; Fade color register pair
ld A,[RGBG_fade_to_color]
cp RGBG_WHITE
jp nz, .black1
call RGBG_ConvertColor15to24
call RGBG_MakeLighter
call RGBG_ConvertColor24to15
jp .skip1
.black1 call RGBG_ConvertColor15to24
call RGBG_MakeDarker
call RGBG_ConvertColor24to15
.skip1
; Write BG color register pair
ld a,b
ld [rBCPS],a
di
RGBG_WaitForVRAM
ld a,e
ld [c],a
ld a,d
ld [c],a
ei
ld c,$6b
; Read OBJ color register pair
ld a,b
ld [rOCPS],a
di
RGBG_WaitForVRAM
ld a,[c]
ld e,a
ld a,b
inc a
ld [rOCPS],a
ld a,[c]
ei
ld d,a
; Fade color register pair to white
ld A,[RGBG_fade_to_color]
cp RGBG_WHITE
jp nz, .black2
call RGBG_ConvertColor15to24
call RGBG_MakeLighter
call RGBG_ConvertColor24to15
jp .skip2
.black2 call RGBG_ConvertColor15to24
call RGBG_MakeDarker
call RGBG_ConvertColor24to15
.skip2
; Write OBJ color register pair
ld a,b
ld [rOCPS],a
di
RGBG_WaitForVRAM
ld a,e
ld [c],a
ld a,d
ld [c],a
ei
inc b
inc b
ld a,$80+$40 ;-16
cp b ; Are we done?
jp nz,.loop1 ; not yet
pop bc
dec b ; Are we done yet?
jp nz,.loop0 ; not yet
ret
SECTION "RGBG_FADE_WORK_RAM_BKG",WRAM0
;I know, this fuction suite is a memory hog. sorry.
RGBG_fade_work_ram_bkg:: DS 8*4*3*3 ;8 pals x 4 colors x 3 components X 3 bytes for each components
RGBG_fade_current_pals_bkg:: DS 64
RGBG_fade_status_bkg:: DS 1
RGBG_fade_steps_left_bkg:: DS 1
RGBG_pals_to_fade_bkg:: DS 1
RGBG_first_pal_to_fade_bkg:: DS 1
SECTION "RGBG_COMPLEX_FADE_BKG", ROM0
RGBG_InitComplexFadeBkg::
;input:
;HL = palettes to fade to
;this is the third time I've coded this routine from scratch. Third time's a charm, though!
push HL
ld DE,RGBG_fade_work_ram_bkg
ld A,[RGBG_first_pal_to_fade_bkg]
sla A ;2
sla A ;4
sla A ;8
or %10000000
ld [rBCPS],A
ld A,[RGBG_pals_to_fade_bkg]
sla A ;x2
sla A ;x4
ld B,A
.readpalsloop
push DE
vld A,[rBCPD]
ld [rBCPD],A ;so that rBCPS is incremented
ld E,A
vld A,[rBCPD]
ld [rBCPD],A ;so that rBCPS is incremented
ld D,A
call RGBG_ConvertColor15to24
pop DE
push AF ;we store the red byte last, (beleive me, it's easier later)
ld A,H ;blue
ld [DE],A
inc DE
inc DE
ld [DE],A
inc DE
ld A,L ;green
ld [DE],A
inc DE
inc DE
ld [DE],A
inc DE
pop AF ;red
ld [DE],A
inc DE
inc DE
ld [DE],A
inc DE
dec B
jp NZ, .readpalsloop
;now it's time to calculate the deltas.
pop HL
ld DE,RGBG_fade_work_ram_bkg
ld A,[RGBG_pals_to_fade_bkg]
sla A ;x2
sla A ;x4
ld B,A
.calcdeltasloop
push HL
push DE
ld A,[HL+]
ld E,A
ld A,[HL]
ld D,A
call RGBG_ConvertColor15to24
pop DE
push AF
;blue
ld A,[DE]
ld C,A ;what it is now
ld A,H ;what is should become
sub C
add $80 ;makes 8-bit signed + 16-but unsigned addition easier
ld [DE],A ;what needs to be added 128 times
inc DE
inc DE
inc DE
;green
ld A,[DE]
ld C,A ;what it is now
ld A,L ;what is should become
sub C
add $80 ;makes 8-bit signed + 16-but unsigned addition easier
ld [DE],A ;what needs to be added 128 times
inc DE
inc DE
inc DE
;red
ld A,[DE]
ld C,A ;what it is now
pop AF ;what is should become
sub C
add $80 ;makes 8-bit signed + 16-but unsigned addition easier
ld [DE],A ;what needs to be added 128 times
inc DE
inc DE
inc DE
pop HL
inc HL
inc HL
dec B
jp NZ, .calcdeltasloop
ld A,255
ld [RGBG_fade_steps_left_bkg],A
ret
RGBG_RunComplexFadeStepBkg::
;no input
;dont run a step if we're done with the fade
ld A,[RGBG_fade_steps_left_bkg]
and $FF
jp z, .bail
ld HL,RGBG_fade_work_ram_bkg
ld A,[RGBG_pals_to_fade_bkg]
sla A ;x2
sla A ;x4
ld B,A
add B ;x8
add B ;x12
ld B,A
.adddeltas
ld A,[HL+] ;to data.l
add A,[HL]
ld [HL+],A ;to data.h
ld A,0
adc A,[HL]
ld [HL],A
dec HL ;back to data.l
ld A,$80
add A,[HL]
ld A, [HL+] ;to data.h
ld A,$FF
adc A,[HL]
ld [HL+],A ;to delta
;back to data.l
dec B
jp nz, .adddeltas
ld HL,RGBG_fade_steps_left_bkg
dec [HL]
.bail ret
RGBG_DecodeComplexFadePalsBkg::
;no input
ld DE,RGBG_fade_work_ram_bkg+2 ;set it to data.h, since thats all we work with
ld HL,RGBG_fade_current_pals_bkg
ld A,[RGBG_pals_to_fade_bkg]
sla A ;x2
sla A ;x4
ld B,A
.decodepals
push DE
push HL
;green
ld A,[DE]
ld H,A
inc DE
inc DE
inc DE
;blue
ld A,[DE]
ld L,A
inc DE
inc DE
inc DE
;red
ld A,[DE]
call RGBG_ConvertColor24to15
pop HL
ld A,E
ld [HL+],A
ld A,D
ld [HL+],A
pop DE
ld A,9
add E
ld E,A
xor A,A
adc D
ld D,A
dec B
jp nz, .decodepals
ret
RGBG_UpdateComplexFadePalsBkg::
;no input
ld HL,RGBG_fade_current_pals_bkg
ld A,[RGBG_first_pal_to_fade_bkg]
sla A ;2
sla A ;4
sla A ;8
or %10000000
ld [rBCPS],A
ld A,[RGBG_pals_to_fade_bkg]
sla A ;x2
sla A ;x4
ld B,A
.setpals
vld A,[HL+]
ld [rBCPD],A
ld A,[HL+]
ld [rBCPD],A
dec B
jp nz, .setpals
ret
SECTION "RGBG_FADE_WORK_RAM_OBJ",WRAM0
;I know, this fuction is a memory hog. sorry.
RGBG_fade_work_ram_obj:: DS 8*4*3*3 ;8 pals x 4 colors x 3 components X 3 bytes for each components
RGBG_fade_current_pals_obj:: DS 64
RGBG_fade_status_obj:: DS 1
RGBG_fade_steps_left_obj:: DS 1
RGBG_pals_to_fade_obj:: DS 1
RGBG_first_pal_to_fade_obj:: DS 1
SECTION "RGBG_COMPLEX_FADE_OBJ", ROM0
RGBG_InitComplexFadeObj::
;input:
;HL = palettes to fade to
;this is the third time I've coded this routine from scratch. Third time's a charm, though!
push HL
ld DE,RGBG_fade_work_ram_obj
ld A,[RGBG_first_pal_to_fade_obj]
sla A ;2
sla A ;4
sla A ;8
or %10000000
ld [rOCPS],A
ld A,[RGBG_pals_to_fade_obj]
sla A ;x2
sla A ;x4
ld B,A
.readpalsloop
push DE
vld A,[rOCPD]
ld [rOCPD],A ;so that rOCPS is incremented
ld E,A
vld A,[rOCPD]
ld [rOCPD],A ;so that rOCPS is incremented
ld D,A
call RGBG_ConvertColor15to24
pop DE
push AF ;we store the red byte last, (beleive me, it's easier later)
ld A,H ;blue
ld [DE],A
inc DE
inc DE
ld [DE],A
inc DE
ld A,L ;green
ld [DE],A
inc DE
inc DE
ld [DE],A
inc DE
pop AF ;red
ld [DE],A
inc DE
inc DE
ld [DE],A
inc DE
dec B
jp NZ, .readpalsloop
;now it's time to calculate the deltas.
pop HL
ld DE,RGBG_fade_work_ram_obj
ld A,[RGBG_pals_to_fade_obj]
sla A ;x2
sla A ;x4
ld B,A
.calcdeltasloop
push HL
push DE
ld A,[HL+]
ld E,A
ld A,[HL]
ld D,A
call RGBG_ConvertColor15to24
pop DE
push AF
;blue
ld A,[DE]
ld C,A ;what it is now
ld A,H ;what is should become
sub C
sla A ;x2
add $80 ;makes 8-bit signed + 16-but unsigned addition easier
ld [DE],A ;what needs to be added 128 times
inc DE
inc DE
inc DE
;green
ld A,[DE]
ld C,A ;what it is now
ld A,L ;what is should become
sub C
sla A ;x2
add $80 ;makes 8-bit signed + 16-but unsigned addition easier
ld [DE],A ;what needs to be added 128 times
inc DE
inc DE
inc DE
;red
ld A,[DE]
ld C,A ;what it is now
pop AF ;what is should become
sub C
sla A ;x2
add $80 ;makes 8-bit signed + 16-but unsigned addition easier
ld [DE],A ;what needs to be added 128 times
inc DE
inc DE
inc DE
pop HL
inc HL
inc HL
dec B
jp NZ, .calcdeltasloop
ld A,128
ld [RGBG_fade_steps_left_obj],A
ret
RGBG_RunComplexFadeStepObj::
;no input
ld HL,RGBG_fade_work_ram_obj
ld A,[RGBG_pals_to_fade_obj]
sla A ;x2
sla A ;x4
ld B,A
add B ;x8
add B ;x12
ld B,A
.adddeltas
ld A,[HL+] ;to data.l
add A,[HL]
ld [HL+],A ;to data.h
ld A,0
adc A,[HL]
ld [HL],A
dec HL ;back to data.l
ld A,$80
add A,[HL]
ld A, [HL+] ;to data.h
ld A,$FF
adc A,[HL]
ld [HL+],A ;to delta
;back to data.l
dec B
jp nz, .adddeltas
ld HL,RGBG_fade_steps_left_obj
dec [HL]
ret
RGBG_DecodeComplexFadePalsObj::
;no input
ld DE,RGBG_fade_work_ram_obj+2 ;set it to data.h, since thats all we work with
ld HL,RGBG_fade_current_pals_obj
ld A,[RGBG_pals_to_fade_obj]
sla A ;x2
sla A ;x4
ld B,A
.decodepals
push DE
push HL
;green
ld A,[DE]
ld H,A
inc DE
inc DE
inc DE
;blue
ld A,[DE]
ld L,A
inc DE
inc DE
inc DE
;red
ld A,[DE]
call RGBG_ConvertColor24to15
pop HL
ld A,E
ld [HL+],A
ld A,D
ld [HL+],A
pop DE
ld A,9
add E
ld E,A
xor A,A
adc D
ld D,A
dec B
jp nz, .decodepals
ret
RGBG_UpdateComplexFadePalsObj::
;no input
ld HL,RGBG_fade_current_pals_obj
ld A,[RGBG_first_pal_to_fade_obj]
sla A ;2
sla A ;4
sla A ;8
or %10000000
ld [rOCPS],A
ld A,[RGBG_pals_to_fade_obj]
sla A ;x2
sla A ;x4
ld B,A
.setpals
vld A,[HL+]
ld [rOCPD],A
ld A,[HL+]
ld [rOCPD],A
dec B
jp nz, .setpals
ret
SECTION "RGBG_RUN_COMPLEX_FADES", ROM0
RGBG_RunComplexFadeBkg::
;input
;HL = pals to fade to
;Run's C many steps every B vblanks
;references RGBG_pals_to_fade_bkg
;references RGBG_first_pal_to_fade_bkg
push BC
call RGBG_InitComplexFadeBkg
pop BC
.dostep
push BC
.runstep
push BC
call RGBG_RunComplexFadeStepBkg
pop BC
dec C
jp NZ, .runstep
push BC
call RGBG_DecodeComplexFadePalsBkg
pop BC
.wvbls
RGBG_WaitNVBL
RGBG_WaitVBL
dec B
jp nz, .wvbls
call RGBG_UpdateComplexFadePalsBkg
pop BC
ld A,[RGBG_fade_steps_left_bkg]
and $FF
jp nz, .dostep
ret
RGBG_RunComplexFadeObj::
;input
;HL = pals to fade to
;Run's C many steps every B vblanks
;references RGBG_pals_to_fade_bkg
;references RGBG_first_pal_to_fade_bkg
push BC
call RGBG_InitComplexFadeObj
pop BC
.dostep
push BC
.runstep
push BC
call RGBG_RunComplexFadeStepObj
pop BC
dec C
jp NZ, .runstep
push BC
call RGBG_DecodeComplexFadePalsObj
pop BC
.wvbls
RGBG_WaitNVBL
RGBG_WaitVBL
dec B
jp nz, .wvbls
call RGBG_UpdateComplexFadePalsObj
pop BC
ld A,[RGBG_fade_steps_left_obj]
and $FF
jp nz, .dostep
ret
RGBG_ConvertColor15to24:
;input:
;D = high byte
;E = low byte
;output:
;H = Blue
;L = Green
;A = Red
ld a,e
srl d
rr e
srl d
rr e
ld h,d
srl e
srl e
srl e
ld l,e
and $1f
ret
RGBG_ConvertColor24to15:
;Input:
;H = Blue
;L = Green
;A = Red
;Output:
; D = high byte
; E = low byte
rlca
rlca
rlca
ld e,a
srl l
rr e
srl l
rr e
srl l
rr e
ld a,h
add a
add a
add l
ld d,a
ret | 13.410138 | 100 | 0.630412 |
7558682a211dae0d4777d600b52565c28e208689 | 2,387 | asm | Assembly | src/c64/driver.asm | apvilkko/jane8-musicdisk | 86d1ffa8c268f782b23e2b0bb32c62620eadfb58 | [
"MIT"
] | null | null | null | src/c64/driver.asm | apvilkko/jane8-musicdisk | 86d1ffa8c268f782b23e2b0bb32c62620eadfb58 | [
"MIT"
] | null | null | null | src/c64/driver.asm | apvilkko/jane8-musicdisk | 86d1ffa8c268f782b23e2b0bb32c62620eadfb58 | [
"MIT"
] | null | null | null | SoundDriver:
jsr AdvanceFrame
lda tickCount
beq continueSound
jmp ExitSoundDriver
continueSound:
ldx #$00
stx channel
stx offset
loopChannels:
; Read next data
ldy #$00
lda (dataPosLo),y
cmp #$ff
bne skipResetPointer
resetPointer:
lda #<MusicDataStart
sta dataPosLo
lda #>MusicDataStart
sta dataPosHi
skipResetPointer:
sta temp
;print offset,8
;print dataPosLo,12
and #%10000000 ; Rest
bne skipItem
lda temp
and #%01000000 ; Same
beq readNote
readCached:
ldy offset
lda noteCache,y
sta temp
jsr SetPitch
lda noteCache+1,y
sta inst
jsr SetInstrument
jmp playNote
readNote:
lda temp
sta noteCache,y
jsr SetPitch
; read instrument
inc16 dataPosLo, skip1
ldy #$00
lda (dataPosLo),y
ldy offset
sta noteCache+1,y
sta inst
jsr SetInstrument
playNote:
lda ctl
beq skipItem
; gate off
lda #$00
ldy offset
sta SID_V1_CTL,y
; play note
lda ad
sta SID_V1_AD,y
lda sr
sta SID_V1_SR,y
lda ctl
ora #1
sta SID_V1_CTL,y
skipItem:
inc16 dataPosLo, skip2
lda offset
clc
adc #7
sta offset
inx
cpx #$03
beq ExitSoundDriver
stx channel
jmp loopChannels
ExitSoundDriver:
rts
SetPitch:
pushall
ldx temp
ldy offset
lda PitchTableLo,x
sta SID_V1_FREQ_1,y
lda PitchTableHi,x
sta SID_V1_FREQ_2,y
pullall
rts
; input:
; - inst is instrument ref (1 based)
; - offset is current SID regs offset
SetInstrument:
pushall
lda inst
cmp #SNARE
beq TriggerSnare
cmp #KICK
beq TriggerKick
cmp #HHC
beq TriggerHihat
cmp #HHO
beq TriggerHihat
jmp NotDrum
TriggerKick:
lda #0
db $2c
TriggerSnare:
lda #1
db $2c
TriggerHihat:
lda #2
sta drum_variant
asl ; align drum data index (*4)
asl
tax
lda channel
sta kick_ch,x
lda #0
sta kick_pos,x
sta ctl
jmp ExitSetInstrument
NotDrum:
; instrument index to zero-based and aligned to instrument data (4 bytes)
dec inst
asl inst
asl inst
ldx inst
; set osc
lda InstDataStart,x
and #%11110000
sta ctl
; amplitude envelope ref
lda InstDataStart,x
and #%00001111
; a env data is 2 bytes per entry
asl
tay
lda AEnvDataStart,y
sta ad
iny
lda AEnvDataStart,y
sta sr
inx
lda InstDataStart,x
inx
lda InstDataStart,x
inx
lda InstDataStart,x
ExitSetInstrument:
pullall
rts
| 13.959064 | 75 | 0.683703 |
afaaf2a8fbfb9e68f1ce0f2afa2afbaad87e019a | 562 | asm | Assembly | oeis/134/A134013.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/134/A134013.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/134/A134013.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A134013: Expansion of q * phi(q) * psi(q^8) in powers of q where phi(), psi() are Ramanujan theta functions.
; Submitted by Christian Krause
; 1,2,0,0,2,0,0,0,1,4,0,0,2,0,0,0,2,2,0,0,0,0,0,0,3,4,0,0,2,0,0,0,0,4,0,0,2,0,0,0,2,0,0,0,2,0,0,0,1,6,0,0,2,0,0,0,0,4,0,0,2,0,0,0,4,0,0,0,0,0,0,0,2,4,0,0,0,0,0,0,1,4,0,0,4,0,0,0,2,4,0,0,0,0,0,0,2,2,0,0
mov $1,$0
add $0,1
mod $0,4
seq $1,105673 ; One-half of theta series of square lattice (or half the number of ways of writing n > 0 as a sum of 2 squares), without the constant term, which is 1/2.
mul $0,$1
div $0,2
| 51.090909 | 201 | 0.624555 |
efd911b4b58d9d44a00725993fd65f3f4c7cc08a | 2,313 | asm | Assembly | programs/oeis/253/A253679.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/253/A253679.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/253/A253679.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A253679: Numbers a(n) that are the starting terms in the sum of an odd number of consecutive cubes equal to a square.
; 23,118,333,716,1315,2178,3353,4888,6831,9230,12133,15588,19643,24346,29745,35888,42823,50598,59261,68860,79443,91058,103753,117576,132575,148798,166293,185108,205291,226890,249953,274528,300663,328406,357805,388908,421763,456418,492921,531320,571663,613998,658373,704836,753435,804218,857233,912528,970151,1030150,1092573,1157468,1224883,1294866,1367465,1442728,1520703,1601438,1684981,1771380,1860683,1952938,2048193,2146496,2247895,2352438,2460173,2571148,2685411,2803010,2923993,3048408,3176303,3307726,3442725,3581348,3723643,3869658,4019441,4173040,4330503,4491878,4657213,4826556,4999955,5177458,5359113,5544968,5735071,5929470,6128213,6331348,6538923,6750986,6967585,7188768,7414583,7645078,7880301,8120300,8365123,8614818,8869433,9129016,9393615,9663278,9938053,10217988,10503131,10793530,11089233,11390288,11696743,12008646,12326045,12648988,12977523,13311698,13651561,13997160,14348543,14705758,15068853,15437876,15812875,16193898,16580993,16974208,17373591,17779190,18191053,18609228,19033763,19464706,19902105,20346008,20796463,21253518,21717221,22187620,22664763,23148698,23639473,24137136,24641735,25153318,25671933,26197628,26730451,27270450,27817673,28372168,28933983,29503166,30079765,30663828,31255403,31854538,32461281,33075680,33697783,34327638,34965293,35610796,36264195,36925538,37594873,38272248,38957711,39651310,40353093,41063108,41781403,42508026,43243025,43986448,44738343,45498758,46267741,47045340,47831603,48626578,49430313,50242856,51064255,51894558,52733813,53582068,54439371,55305770,56181313,57066048,57960023,58863286,59775885,60697868,61629283,62570178,63520601,64480600,65450223,66429518,67418533,68417316,69425915,70444378,71472753,72511088,73559431,74617830,75686333,76764988,77853843,78952946,80062345,81182088,82312223,83452798,84603861,85765460,86937643,88120458,89313953,90518176,91733175,92958998,94195693,95443308,96701891,97971490,99252153,100543928,101846863,103161006,104486405,105823108,107171163,108530618,109901521,111283920,112677863,114083398,115500573,116929436,118370035,119822418,121286633,122762728,124250751,125750750
mov $2,$0
add $2,$0
mov $3,$2
add $3,3
mov $2,$3
pow $2,3
mov $1,$2
mul $1,2
mul $3,3
sub $1,$3
div $1,2
add $1,1
| 144.5625 | 2,077 | 0.855166 |
b7dedc6d423c68b9d6bb6e6310f6666708bbaf6f | 159 | asm | Assembly | src/BreathOfTheWild/Cheats/InfiniteDaruk/patch_InfiniteDaruk.asm | lilystudent2016/cemu_graphic_packs | a7aaa6d07df0d5ca3f6475d741fb8b80fadd1a46 | [
"CC0-1.0"
] | 1,002 | 2017-01-10T13:10:55.000Z | 2020-11-20T18:34:19.000Z | src/BreathOfTheWild/Cheats/InfiniteDaruk/patch_InfiniteDaruk.asm | lilystudent2016/cemu_graphic_packs | a7aaa6d07df0d5ca3f6475d741fb8b80fadd1a46 | [
"CC0-1.0"
] | 347 | 2017-01-11T21:13:20.000Z | 2020-11-27T11:33:05.000Z | src/BreathOfTheWild/Cheats/InfiniteDaruk/patch_InfiniteDaruk.asm | lilystudent2016/cemu_graphic_packs | a7aaa6d07df0d5ca3f6475d741fb8b80fadd1a46 | [
"CC0-1.0"
] | 850 | 2017-01-10T06:06:43.000Z | 2020-11-06T21:16:49.000Z | [BotW_InfiniteDaruk_V208]
moduleMatches = 0x6267BFD0
0x02D74498 = nop
[BotW_InfiniteDaruk_V176V192]
moduleMatches = 0xFD091F9F,0xD472D8A5
0x02D73EFC = nop
| 14.454545 | 37 | 0.830189 |
bf825e313e252882bd268c34b61f61a5f3b3d9cf | 433 | asm | Assembly | programs/oeis/334/A334210.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/334/A334210.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/334/A334210.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A334210: a(n) = sigma(prime(n) + 1) - sigma(prime(n)).
; 1,3,6,7,16,10,21,22,36,42,31,22,54,40,76,66,108,34,58,123,40,106,140,144,73,114,106,172,106,126,127,204,150,196,222,148,82,130,312,186,366,154,316,100,270,265,166,280,332,202,312,504,157,476,270,456,450,286,142,294
seq $0,6005 ; The odd prime numbers together with 1.
seq $0,1065 ; Sum of proper divisors (or aliquot parts) of n: sum of divisors of n that are less than n.
| 72.166667 | 216 | 0.69746 |
fe7497c3d185864a21f14d95565fefdcadfacee3 | 394 | asm | Assembly | oeis/024/A024496.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/024/A024496.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/024/A024496.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A024496: a(n) = (3/(8n-4))*C(4n,n).
; Submitted by Jon Maiga
; 3,7,33,195,1292,9177,68310,525915,4153380,33460284,273904969,2271800037,19050406788,161242554550,1375709203260,11819200090635,102162535941492,887830494976788,7752586858050900,67986848888695660,598522586288243760,5287559893638230385
mov $1,$0
mul $0,2
mov $2,1
add $2,$0
mov $0,1
add $0,$2
add $0,$2
add $1,1
bin $0,$1
div $0,$2
| 26.266667 | 233 | 0.751269 |
ffb64e03a11f279110d13629ffc5197916ab305c | 1,419 | asm | Assembly | src/test/ref/inline-string.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/test/ref/inline-string.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/test/ref/inline-string.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | // Inline Strings in method calls are automatically converted to local constant variables byte st[] = "..."; - generating an ASM .text).
// Commodore 64 PRG executable file
.file [name="inline-string.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)
.label screen = 4
.segment Code
main: {
// print(msg1)
lda #<$400
sta.z screen
lda #>$400
sta.z screen+1
lda #<msg1
sta.z print.msg
lda #>msg1
sta.z print.msg+1
jsr print
// print(msg2)
lda #<msg2
sta.z print.msg
lda #>msg2
sta.z print.msg+1
jsr print
// print("message 3 ")
lda #<msg
sta.z print.msg
lda #>msg
sta.z print.msg+1
jsr print
// }
rts
.segment Data
msg2: .text "message 2 "
.byte 0
msg: .text "message 3 "
.byte 0
}
.segment Code
// void print(__zp(2) char *msg)
print: {
.label msg = 2
__b1:
// while(*msg)
ldy #0
lda (msg),y
cmp #0
bne __b2
// }
rts
__b2:
// *(screen++) = *(msg++)
ldy #0
lda (msg),y
sta (screen),y
// *(screen++) = *(msg++);
inc.z screen
bne !+
inc.z screen+1
!:
inc.z msg
bne !+
inc.z msg+1
!:
jmp __b1
}
.segment Data
msg1: .text "message 1 "
.byte 0
| 19.175676 | 136 | 0.567301 |
3b8149add4a59535b9a82d921e4665154a5d43d2 | 145 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_bms2.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_bms2.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_bms2.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: z00_bms2.asm
Type: file
Size: 2237
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: E4A85053D86A782F84925F70729657C6741B93CF
Description: null
| 20.714286 | 47 | 0.813793 |
577af2c293be5b2261c58984faf462fd2845e071 | 507 | asm | Assembly | demo/std.asm | slcz/hummingbird | 8f5d0695a6b6460b1eeaa0e1c520abf6527c0492 | [
"Apache-2.0"
] | null | null | null | demo/std.asm | slcz/hummingbird | 8f5d0695a6b6460b1eeaa0e1c520abf6527c0492 | [
"Apache-2.0"
] | null | null | null | demo/std.asm | slcz/hummingbird | 8f5d0695a6b6460b1eeaa0e1c520abf6527c0492 | [
"Apache-2.0"
] | null | null | null | #define H(x) (((((x) & 0x8) >> 3) + ((x) >> 4)) & 0xf)
#define L(x) ((x) & 0xf)
#define JMPWORD(x) (0x60 | ((x) >> 8))
#define li(x) lh H(x) addi L(x)
#define ge
#define not nori 0
#define ori(x) nori x nori ~0
#define or(x) nor x nori ~0
#define clrz setz ne
#define save clrz call
#define ret clrz ne call
#define hlt last_instruction: jmp last_instruction
#define saveframe(rtn) save JMPWORD(rtn) save rtn
#define prolog .=0 start: li(0x2) st start jmp main
odata = 0xff0
ctrl = 0xff1
idata = 0xff1
| 26.684211 | 54 | 0.65286 |
1d9d8a9990da4edf4d76450b207ef31a89737b2f | 794 | asm | Assembly | oeis/142/A142643.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142643.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142643.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142643: Primes congruent to 5 mod 56.
; Submitted by Jon Maiga
; 5,61,173,229,397,509,677,733,1013,1069,1181,1237,1741,2357,2693,2749,2861,2917,3253,3533,3701,4093,4261,4373,4597,4877,4933,5101,5381,5437,5717,6053,6221,6277,6389,6781,6949,7229,7621,7789,7901,8069,8237,8293,8461,8573,8629,8741,9133,9413,9749,9973,10141,10253,10477,10589,11093,11149,11261,11317,11597,11821,11933,12101,12157,12269,12437,12829,12941,13109,13613,13669,13781,14173,14341,14621,14957,15013,15349,15461,15629,15797,16189,16301,16693,17029,17477,17981,18149,18541,19157,19213,19381
mov $2,36
mul $2,$0
mov $4,4
lpb $2
mov $3,$4
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
mov $1,$0
max $1,0
cmp $1,$0
mul $2,$1
sub $2,1
add $4,56
lpe
mov $0,$4
add $0,1
| 37.809524 | 496 | 0.730479 |
0a8f51ddf109dccb72548a3467f21b2860e36c2b | 351 | asm | Assembly | wof/lcs/base/2F0.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/2F0.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | null | null | null | wof/lcs/base/2F0.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
001452 movea.w (A4)+, A1 [base+2F0]
001458 subq.w #1, ($302,A5) [base+2F0]
00152A move.w A0, -(A4) [base+2F0]
001530 addq.w #1, ($302,A5) [base+2F0]
01A7EA move.w A6, ($2f0,A5) [base+302]
01A7EE lea ($613c,A5), A0 [base+2F0]
copyright zengfr site:http://github.com/zengfr/romhack
| 31.909091 | 54 | 0.660969 |
6c5e4909112a818edea4128e0c5cb4b2cdaa5195 | 4,581 | asm | Assembly | Code/VKDebug/Src/hexdump.asm | CherryDT/FbEditMOD | beb0eb22cae1b8f7203d55bd6b293d8ec88231ca | [
"Unlicense"
] | 11 | 2016-12-03T16:35:42.000Z | 2022-03-26T06:02:53.000Z | Code/VKDebug/Src/hexdump.asm | CherryDT/FbEditMOD | beb0eb22cae1b8f7203d55bd6b293d8ec88231ca | [
"Unlicense"
] | 1 | 2018-02-24T20:17:46.000Z | 2018-03-02T08:57:40.000Z | Code/VKDebug/Src/hexdump.asm | CherryDT/FbEditMOD | beb0eb22cae1b8f7203d55bd6b293d8ec88231ca | [
"Unlicense"
] | 4 | 2018-10-19T01:14:55.000Z | 2021-09-11T18:51:48.000Z | ;-----------------------------------------------------------------------------
;HexDump2 function is written by NaN.
;-----------------------------------------------------------------------------
.386
.model flat, stdcall
option casemap: none
include VKDebug.inc
includelib kernel32.lib
includelib user32.lib
includelib masm32.lib
DebugProc proto :dword
.data?
dbbuf byte 128 dup (?)
.data
szFormat byte "%0.8X : %0.2X %0.2X %0.2X %0.2X - %0.2X %0.2X %0.2X %0.2X - %0.2X %0.2X %0.2X %0.2X - %0.2X %0.2X %0.2X %0.2X",0
szFormat2 byte "%0.8d : BYTES TOTAL",0
.code
HexDump2 proc lpData:DWORD, nLen:DWORD
LOCAL lns :DWORD
LOCAL Rmd :DWORD
mov eax, nLen
.if( eax ) ; If a valid sting length
shr eax, 4 ; Get divisions of 16
mov lns, eax ; Save it into Lns
mov eax, nLen
and eax, 0Fh ; Get the Remainder
mov Rmd, eax ; Save the Remainder
xor ebx, ebx ; Set EBX = 0
mov esi, lpData ; Get the data pointer
.while( ebx < lns ) ; While there is more to display
add esi, 15 ; Go to last byte
xor ecx, ecx ; ECX == NULL
xor eax, eax ; EAX == NULL
.while (ecx < 16) ; Get 16 Bytes!
mov al, [esi] ; Get byte
push eax ; Push DWORD
inc ecx ; Next count
dec esi ; back one byte
.endw
inc esi
push esi ; Push line address
push offset szFormat ; Push a format string
push offset dbbuf ; Push the buffer
call wsprintf ; call wsprintf to make it!
add esp, 04ch ; update the stack!
invoke DebugPrint, addr dbbuf ; Print the formated text
inc ebx ; Next Line
add esi, 16 ; Next 16 Bytes!
.endw
.if( Rmd )
dec esi
xor eax, eax ; eAX == NULL
mov ecx, 16 ; ECX = 16
sub ecx, Rmd ; ECX = 16 - Remainder (diff)
.while (ecx > 0) ; Loop thru difference
push eax ; Push NULL
dec ecx ; next
.endw
xor ecx, ecx ; ECX == NULL
add esi, Rmd ; Goto Last data byte
.while( ecx < Rmd ) ; Do last line (under 16)
mov al, [esi] ; Get byte
push eax ; push dword
inc ecx ; next count
dec esi ; back one byte
.endw
inc esi
push esi ; Push line address
push offset szFormat ; Push a format string
push offset dbbuf ; Push the buffer
call wsprintf ; call wsprintf to make it!
add esp, 04ch ; update the stack
invoke DebugPrint, addr dbbuf ; Print the formated text
.endif
invoke wsprintf, addr dbbuf, addr szFormat2, nLen
invoke DebugPrint, addr dbbuf
.endif
ret
HexDump2 endp
end
| 49.793478 | 136 | 0.320454 |
3068194c51fc6b19a340459d8a188374a3e8a2b0 | 16,774 | asm | Assembly | ZORTON.reko/ZORTON_21CC.asm | 0xLiso/dePIXELator | d74a663e5cb41a404f2b714e262ce44b668d3632 | [
"MIT"
] | null | null | null | ZORTON.reko/ZORTON_21CC.asm | 0xLiso/dePIXELator | d74a663e5cb41a404f2b714e262ce44b668d3632 | [
"MIT"
] | null | null | null | ZORTON.reko/ZORTON_21CC.asm | 0xLiso/dePIXELator | d74a663e5cb41a404f2b714e262ce44b668d3632 | [
"MIT"
] | 1 | 2021-03-10T22:29:06.000Z | 2021-03-10T22:29:06.000Z | ;;; Segment 21CC (21CC:0000)
l216E_05E0:
pop es
pop si
pop di
pop bp
retf
216E:05E5 00 00 00 00 00 FF 00 00 00 00 FF ...........
216E:05F0 00 00 FF FF 00 00 00 00 FF 00 FF 00 FF 00 00 FF ................
216E:0600 FF 00 FF FF FF 00 00 00 00 FF FF 00 00 FF 00 FF ................
216E:0610 00 FF FF FF 00 FF 00 00 FF FF FF 00 FF FF 00 FF ................
216E:0620 FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 ................
216E:0630 00 00 ..
;; fn21CC_0052: 21CC:0052
;; Called from:
;; 1D10:1238 (in fn1D10_1153)
fn21CC_0052 proc
push bp
mov bp,sp
sub sp,2h
push ds
push es
push si
push di
mov word ptr [bp-2h],0Ah
lds si,[bp+6h]
mov cl,[si]
inc si
mov ch,[si]
inc si
mov al,cl
or al,ch
jz 00AFh
l21CC_0070:
mov ax,0A000h
push ax
mov ax,0h
push ax
mov al,ch
cbw
push ax
mov al,cl
cbw
push ax
push ax
push bp
mov bp,sp
mov word ptr [bp+2h],8Ch
pop bp
push ax
push bp
mov bp,sp
mov word ptr [bp+2h],0E4h
pop bp
push ax
push bp
mov bp,sp
mov word ptr [bp+2h],0Ah
pop bp
push ax
push bp
mov bp,sp
mov word ptr [bp+2h],0Ah
pop bp
push cs
call 0156h
add sp,10h
l21CC_00AF:
mov cl,[si]
or cl,cl
jnz 00B8h
l21CC_00B5:
jmp 014Dh
l21CC_00B8:
add si,2h
l21CC_00BB:
mov dl,[si]
add si,2h
mov dh,[si]
add si,2h
add [bp-2h],dl
mov ax,0A000h
mov es,ax
mov di,0Ah
mov ax,[bp-2h]
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
add di,ax
push dx
l21CC_00F6:
mov ch,[si]
inc si
push di
l21CC_00FA:
mov bl,[si]
inc si
mov bh,[si]
inc si
mov al,bl
mov ah,0h
add di,ax
test bh,80h
jz 0124h
l21CC_010B:
push cx
mov cl,bh
and cx,7Fh
inc cx
cld
mov al,[si]
mov ah,al
inc si
shr cx,1h
jnc 011Dh
l21CC_011C:
stosb
l21CC_011D:
jcxz 0121h
l21CC_011F:
rep stosw
l21CC_0121:
pop cx
jmp 0135h
l21CC_0124:
push cx
mov cl,bh
mov ch,0h
inc cx
cld
shr cx,1h
jnc 0130h
l21CC_012F:
movsb
l21CC_0130:
jcxz 0134h
l21CC_0132:
rep movsw
l21CC_0134:
pop cx
l21CC_0135:
dec ch
jnz 00FAh
l21CC_0139:
pop di
add di,140h
dec dh
jnz 00F6h
l21CC_0142:
pop dx
add [bp-2h],dh
dec cl
jz 014Dh
l21CC_014A:
jmp 00BBh
l21CC_014D:
pop di
pop si
pop es
pop ds
add sp,2h
pop bp
retf
;; fn21CC_0156: 21CC:0156
;; Called from:
;; 21CC:00A8 (in fn21CC_0052)
fn21CC_0156 proc
push bp
mov bp,sp
push ds
push es
push si
push di
lds si,[bp+12h]
mov ax,ds
mov es,ax
mov di,si
mov ax,[bp+6h]
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add bx,ax
add bx,[bp+6h]
add bx,si
cmp byte ptr [bp+0Eh],0h
jl 0197h
l21CC_0194:
jmp 0260h
l21CC_0197:
mov si,bx
mov di,si
mov ax,[bp+0Eh]
neg ax
add si,ax
cmp byte ptr [bp+10h],0h
jl 01AAh
l21CC_01A8:
jmp 01F4h
l21CC_01AA:
mov ax,[bp+10h]
neg ax
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
add si,ax
mov dx,[bp+0Ch]
add dx,[bp+10h]
mov cx,[bp+0Ah]
add cx,[bp+0Eh]
cld
l21CC_01DE:
push cx
push si
push di
l21CC_01E1:
rep movsb
l21CC_01E3:
pop di
pop si
pop cx
add si,140h
add di,140h
dec dx
jnz 01DEh
l21CC_01F1:
jmp 034Fh
l21CC_01F4:
mov ax,[bp+0Ch]
dec ax
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
add si,ax
add di,ax
mov ax,[bp+10h]
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
sub si,ax
mov dx,[bp+0Ch]
sub dx,[bp+10h]
mov cx,[bp+0Ah]
add cx,[bp+0Eh]
cld
l21CC_024A:
push cx
push si
push di
l21CC_024D:
rep movsb
l21CC_024F:
pop di
pop si
pop cx
sub si,140h
sub di,140h
dec dx
jnz 024Ah
l21CC_025D:
jmp 034Fh
l21CC_0260:
mov si,bx
add si,[bp+0Ah]
dec si
mov di,si
sub si,[bp+0Eh]
cmp byte ptr [bp+10h],0h
jl 0273h
l21CC_0271:
jmp 02BDh
l21CC_0273:
mov ax,[bp+10h]
neg ax
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
add si,ax
mov dx,[bp+0Ch]
add dx,[bp+10h]
mov cx,[bp+0Ah]
sub cx,[bp+0Eh]
std
l21CC_02A7:
push cx
push si
push di
l21CC_02AA:
rep movsb
l21CC_02AC:
pop di
pop si
pop cx
add si,140h
add di,140h
dec dx
jnz 02A7h
l21CC_02BA:
jmp 034Fh
l21CC_02BD:
mov ax,[bp+0Ch]
dec ax
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
add di,ax
add si,ax
mov ax,[bp+10h]
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
sub si,ax
mov ax,[bp+10h]
mov bx,ax
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl ax,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
shl bx,1h
add ax,bx
add di,ax
mov dx,[bp+0Ch]
sub dx,[bp+10h]
mov cx,[bp+0Ah]
sub cx,[bp+0Eh]
std
l21CC_033C:
push cx
push si
push di
l21CC_033F:
rep movsb
l21CC_0341:
pop di
pop si
pop cx
sub si,140h
sub di,140h
dec dx
jnz 033Ch
l21CC_034F:
pop di
pop si
pop es
pop ds
pop bp
retf
21CC:0355 55 8B EC 06 57 B8 00 A0 8E C0 BF U...W......
21CC:0360 8A 0C B9 8C 00 8A 46 06 8A E0 FC 57 51 B9 72 00 ......F....WQ.r.
21CC:0370 F3 AB 59 5F 81 C7 40 01 E2 F1 5F 07 5D CB ..Y_..@..._.].
;; fn21CC_037E: 21CC:037E
;; Called from:
;; 21CC:0420 (in fn21CC_03CC)
;; 21CC:0435 (in fn21CC_03CC)
fn21CC_037E proc
push di
mov dx,[si]
mov cx,4h
l21CC_0384:
mov bx,0h
shr dx,1h
adc bx,0h
mov al,[bx+si+2h]
ror eax,8h
mov bx,0h
shr dx,1h
adc bx,0h
mov al,[bx+si+2h]
ror eax,8h
mov bx,0h
shr dx,1h
adc bx,0h
mov al,[bx+si+2h]
ror eax,8h
mov bx,0h
shr dx,1h
adc bx,0h
mov al,[bx+si+2h]
ror eax,8h
mov es:[di],eax
add di,140h
loop 0384h
l21CC_03CA:
pop di
ret
;; fn21CC_03CC: 21CC:03CC
;; Called from:
;; 1D10:1244 (in fn1D10_1153)
fn21CC_03CC proc
push bp
mov bp,sp
push ds
push es
push si
push di
mov ax,0A000h
mov es,ax
mov di,0C8Ah
lds si,[bp+6h]
mov cl,[si]
inc si
or cl,cl
jnz 03E7h
l21CC_03E5:
jmp 0454h
l21CC_03E7:
mov dl,[si]
inc si
mov dh,[si]
inc si
mov al,dl
shl al,2h
mov ah,0h
mov bx,ax
shl ax,8h
shl bx,6h
add ax,bx
add di,ax
l21CC_0400:
mov ch,[si]
inc si
push di
l21CC_0404:
mov al,[si]
inc si
mov ah,0h
shl ax,2h
add di,ax
mov al,[si]
inc si
push cx
test al,80h
jz 042Fh
l21CC_0416:
and al,7Fh
inc al
mov cl,al
mov ch,0h
l21CC_041E:
push cx
push dx
call 037Eh
pop dx
pop cx
add di,4h
loop 041Eh
l21CC_042A:
add si,4h
jmp 0442h
l21CC_042F:
mov cl,al
mov ch,0h
l21CC_0433:
push cx
push dx
call 037Eh
pop dx
pop cx
add di,4h
add si,4h
loop 0433h
l21CC_0442:
pop cx
dec ch
jnz 0404h
l21CC_0447:
pop di
add di,500h
dec dh
jnz 0400h
l21CC_0450:
dec cl
jnz 03E7h
l21CC_0454:
pop di
pop si
pop es
pop ds
pop bp
retf
;; fn21CC_045A: 21CC:045A
;; Called from:
;; 1D10:11E7 (in fn1D10_1153)
fn21CC_045A proc
push bp
mov bp,sp
push ds
push es
push si
push di
mov ax,0A000h
mov es,ax
mov di,0C8Ah
lds si,[bp+6h]
mov bx,8Ch
l21CC_046F:
push di
mov dx,0E4h
l21CC_0473:
mov al,[si]
inc si
test al,80h
jz 049Ah
l21CC_047A:
and al,7Fh
mov cl,al
mov ch,0h
inc cx
mov al,[si]
inc si
mov ah,al
cld
sub dx,cx
and al,al
jnz 0491h
l21CC_048D:
add di,cx
jmp 04ABh
l21CC_0491:
shr cx,1h
jnc 0496h
l21CC_0495:
stosb
l21CC_0496:
rep stosw
l21CC_0498:
jmp 04ABh
l21CC_049A:
mov cl,al
mov ch,0h
inc cx
cld
sub dx,cx
shr cx,1h
jnc 04A7h
l21CC_04A6:
movsb
l21CC_04A7:
jcxz 04ABh
l21CC_04A9:
rep movsw
l21CC_04AB:
cmp dx,0h
jg 0473h
l21CC_04B0:
pop di
add di,140h
dec bx
jnz 046Fh
l21CC_04B8:
pop di
pop si
pop es
pop ds
pop bp
retf
;; fn21CC_04BE: 21CC:04BE
;; Called from:
;; 1D10:11AA (in fn1D10_1153)
fn21CC_04BE proc
push bp
mov bp,sp
push ds
push si
push es
push di
lds si,[bp+6h]
mov ax,0A000h
mov es,ax
mov di,0C8Ah
mov cx,8Ch
cld
l21CC_04D4:
push cx
push di
mov cx,39h
l21CC_04D9:
rep movsd
l21CC_04DC:
pop di
add di,140h
pop cx
loop 04D4h
l21CC_04E4:
pop di
pop es
pop si
pop ds
pop bp
retf
21CC:04EA 55 8B EC 83 EC 02 U.....
21CC:04F0 1E 06 56 57 C5 76 06 B8 00 A0 8E C0 BF 8A 0C C7 ..VW.v..........
21CC:0500 46 FE 00 00 8A 3C 46 F6 C7 01 74 14 B8 E4 00 BA F....<F...t.....
21CC:0510 8C 00 D1 E8 D1 EA F7 E2 05 07 00 C1 E8 03 03 F0 ................
21CC:0520 B9 8C 00 33 D2 51 B9 E4 00 57 F6 C7 01 74 20 F7 ...3.Q...W...t .
21CC:0530 46 FE 07 00 75 10 56 8B 46 FE C1 E8 03 40 8B 76 F...u.V.F....@.v
21CC:0540 06 03 F0 8A 04 5E FF 46 FE D0 E0 72 02 EB 5A 50 .....^.F...r..ZP
21CC:0550 8A 04 46 8A 24 46 42 F7 C2 01 00 75 08 8A 1C 46 ..F.$FB....u...F
21CC:0560 80 E3 0F EB 09 8A 5C 02 C0 EB 04 80 E3 0F D0 EB ......\.........
21CC:0570 73 05 26 88 25 EB 03 26 88 05 D0 EB 73 06 26 88 s.&.%..&....s.&.
21CC:0580 65 01 EB 04 26 88 45 01 D0 EB 73 07 26 88 A5 40 e...&.E...s.&..@
21CC:0590 01 EB 05 26 88 85 40 01 D0 EB 73 07 26 88 A5 41 ...&..@...s.&..A
21CC:05A0 01 EB 05 26 88 85 41 01 58 83 C7 02 49 E2 02 EB ...&..A.X...I...
21CC:05B0 03 E9 76 FF 5F 81 C7 80 02 59 49 E2 02 EB 03 E9 ..v._....YI.....
21CC:05C0 63 FF 5F 5E 07 1F 83 C4 02 5D CB c._^.....].
;; fn21CC_05CB: 21CC:05CB
;; Called from:
;; 1D10:1299 (in fn1D10_1153)
fn21CC_05CB proc
push bp
mov bp,sp
push ds
push es
push si
push di
lds si,[bp+6h]
mov ax,0A000h
mov es,ax
mov di,0C8Ah
mov bh,[si]
inc si
test bh,1h
jz 05FAh
l21CC_05E5:
mov ax,0E4h
mov dx,8Ch
shr ax,2h
shr dx,1h
mul dx
add ax,7h
shr ax,3h
add si,ax
l21CC_05FA:
mov cx,8Ch
xor dx,dx
l21CC_05FF:
push cx
mov cx,0E4h
push di
l21CC_0604:
test bh,1h
jz 0626h
l21CC_0609:
test dx,7h
jnz 061Eh
l21CC_060F:
push si
mov ax,dx
shr ax,3h
inc ax
mov si,[bp+6h]
add si,ax
mov al,[si]
pop si
l21CC_061E:
inc dx
shl al,1h
jc 0626h
l21CC_0623:
jmp 06A7h
l21CC_0626:
push ax
mov al,[si]
inc si
mov ah,[si]
inc si
mov bl,[si]
inc si
shr bl,1h
jnc 0639h
l21CC_0634:
mov es:[di],ah
jmp 063Ch
l21CC_0639:
mov es:[di],al
l21CC_063C:
shr bl,1h
jnc 0646h
l21CC_0640:
mov es:[di+1h],ah
jmp 064Ah
l21CC_0646:
mov es:[di+1h],al
l21CC_064A:
shr bl,1h
jnc 0654h
l21CC_064E:
mov es:[di+2h],ah
jmp 0658h
l21CC_0654:
mov es:[di+2h],al
l21CC_0658:
shr bl,1h
jnc 0662h
l21CC_065C:
mov es:[di+3h],ah
jmp 0666h
l21CC_0662:
mov es:[di+3h],al
l21CC_0666:
shr bl,1h
jnc 0671h
l21CC_066A:
mov es:[di+140h],ah
jmp 0676h
l21CC_0671:
mov es:[di+140h],al
l21CC_0676:
shr bl,1h
jnc 0681h
l21CC_067A:
mov es:[di+141h],ah
jmp 0686h
l21CC_0681:
mov es:[di+141h],al
l21CC_0686:
shr bl,1h
jnc 0691h
l21CC_068A:
mov es:[di+142h],ah
jmp 0696h
l21CC_0691:
mov es:[di+142h],al
l21CC_0696:
shr bl,1h
jnc 06A1h
l21CC_069A:
mov es:[di+143h],ah
jmp 06A6h
l21CC_06A1:
mov es:[di+143h],al
l21CC_06A6:
pop ax
l21CC_06A7:
add di,4h
sub cx,3h
loop 06B1h
l21CC_06AF:
jmp 06B4h
l21CC_06B1:
jmp 0604h
l21CC_06B4:
pop di
add di,280h
pop cx
dec cx
loop 06BFh
l21CC_06BD:
jmp 06C2h
l21CC_06BF:
jmp 05FFh
l21CC_06C2:
pop di
pop si
pop es
pop ds
pop bp
retf
;; fn21CC_06C8: 21CC:06C8
;; Called from:
;; 1D10:128D (in fn1D10_1153)
fn21CC_06C8 proc
push bp
mov bp,sp
push ds
push es
push esi
push edi
mov ax,cs:[07B3h]
cmp ax,4D2h
jnz 06E3h
l21CC_06DA:
mov ax,cs:[07B9h]
cmp ax,10E1h
jz 06F5h
l21CC_06E3:
mov ax,0A000h
mov es,ax
mov di,0h
mov ax,0FFFFh
mov cx,8000h
l21CC_06F1:
rep stosw
l21CC_06F3:
jmp 06F3h
l21CC_06F5:
lds si,[bp+6h]
mov bp,6h
mov ax,0A000h
mov es,ax
mov di,0C8Ah
mov al,[si]
inc si
test al,1h
jz 070Dh
l21CC_070A:
jmp 07BEh
l21CC_070D:
mov cx,46h
l21CC_0710:
mov cs:[07B7h],cx
mov cx,39h
l21CC_0718:
mov ax,[si]
mov bl,[si+2h]
and ebx,0Fh
shl bl,2h
add bx,bp
mov edx,cs:[bx]
mov bl,ah
mov bh,ah
shl ebx,10h
mov bl,ah
mov bh,ah
and ebx,edx
mov ah,al
mov cs:[07B5h],ax
shl eax,10h
mov ax,cs:[07B5h]
not edx
and eax,edx
or eax,ebx
mov es:[di],eax
mov ax,[si]
mov bl,[si+2h]
add si,3h
and ebx,0F0h
shr bl,2h
add bx,bp
mov edx,cs:[bx]
mov bl,ah
mov bh,ah
shl ebx,10h
mov bl,ah
mov bh,ah
and ebx,edx
mov ah,al
mov cs:[07B5h],ax
shl eax,10h
mov ax,cs:[07B5h]
not edx
and eax,edx
or eax,ebx
mov es:[di+140h],eax
add di,4h
dec cx
jnz 0718h
l21CC_07A0:
add di,19Ch
mov cx,cs:[07B7h]
loop 07BBh
l21CC_07AB:
pop edi
pop esi
pop es
pop ds
pop bp
retf
21CC:07B3 D2 04 00 00 00 00 E1 10 ........
l21CC_07BB:
jmp 0710h
l21CC_07BE:
mov bx,si
add bx,1F3h
mov al,[si]
mov cx,46h
xor edx,edx
l21CC_07CC:
mov cs:[07B7h],cx
mov cx,39h
l21CC_07D4:
inc dl
cmp dl,9h
jnc 07F7h
l21CC_07DB:
shl al,1h
jc 07FFh
l21CC_07DF:
add di,4h
loop 07D4h
l21CC_07E4:
add di,19Ch
mov cx,cs:[07B7h]
loop 07CCh
l21CC_07EF:
pop edi
pop esi
pop es
pop ds
pop bp
retf
l21CC_07F7:
inc si
mov al,[si]
xor edx,edx
jmp 07D4h
l21CC_07FF:
mov cs:[004Ah],si
mov cs:[0046h],dx
mov cs:[004Eh],ax
mov si,bx
mov ax,[si]
mov bl,[si+2h]
and ebx,0Fh
shl bl,2h
add bx,bp
mov edx,cs:[bx]
mov bl,ah
mov bh,ah
shl ebx,10h
mov bl,ah
mov bh,ah
and ebx,edx
mov ah,al
mov cs:[07B5h],ax
shl eax,10h
mov ax,cs:[07B5h]
not edx
and eax,edx
or eax,ebx
mov es:[di],eax
mov ax,[si]
mov bl,[si+2h]
add si,3h
and ebx,0F0h
shr bl,2h
add bx,bp
mov edx,cs:[bx]
mov bl,ah
mov bh,ah
shl ebx,10h
mov bl,ah
mov bh,ah
and ebx,edx
mov ah,al
mov cs:[07B5h],ax
shl eax,10h
mov ax,cs:[07B5h]
not edx
and eax,edx
or eax,ebx
mov es:[di+140h],eax
mov bx,si
mov dx,cs:[0046h]
mov ax,cs:[004Eh]
mov si,cs:[004Ah]
jmp 07DFh
;; fn21CC_08A2: 21CC:08A2
;; Called from:
;; 1D10:122C (in fn1D10_1153)
fn21CC_08A2 proc
enter 0h,0h
push bp
mov bp,sp
push ds
push es
push si
push di
lds si,[bp+8h]
add si,2h
xor ch,ch
mov cl,[si]
or cl,cl
jz 0A14h
l21CC_08BD:
mov ax,0A000h
mov es,ax
mov di,0C8Ah
add si,2h
mov bp,cx
xor bx,bx
l21CC_08CC:
xor dx,dx
mov eax,[si]
add si,4h
xor ah,ah
and ax,ax
jz 08E3h
l21CC_08DA:
mov dh,al
shl ax,6h
add ax,dx
add di,ax
l21CC_08E3:
shr eax,10h
xor ah,ah
mov dx,ax
l21CC_08EB:
mov bl,[si]
inc si
push di
l21CC_08EF:
xor cx,cx
mov ax,[si]
add si,2h
xchg ah,ch
add di,ax
test ch,80h
jz 09B0h
l21CC_0901:
mov al,[si]
mov ah,al
shl eax,10h
mov al,[si]
inc si
mov ah,al
and ch,7Fh
inc ch
mov cl,ch
and ch,3h
jz 092Ch
l21CC_091A:
shr ch,1h
jnc 0922h
l21CC_091E:
mov es:[di],al
inc di
l21CC_0922:
shr ch,1h
jnc 092Ch
l21CC_0926:
mov es:[di],ax
add di,2h
l21CC_092C:
shr cl,2h
jz 0A00h
l21CC_0933:
test di,1h
jz 0981h
l21CC_0939:
dec cl
jz 0977h
l21CC_093D:
test di,2h
jnz 095Dh
l21CC_0943:
mov es:[di],al
mov es:[di+1h],ax
add di,3h
l21CC_094D:
mov es:[di],eax
add di,4h
loop 094Dh
l21CC_0956:
mov es:[di],al
inc di
jmp 0A00h
l21CC_095D:
mov es:[di],al
inc di
l21CC_0961:
mov es:[di],eax
add di,4h
loop 0961h
l21CC_096A:
mov es:[di],ax
mov es:[di+2h],al
add di,3h
jmp 0A00h
l21CC_0977:
mov es:[di],eax
add di,4h
jmp 0A00h
l21CC_0981:
cmp cl,1h
jz 0977h
l21CC_0986:
test di,2h
jz 09A5h
l21CC_098C:
dec cl
mov es:[di],ax
add di,2h
l21CC_0994:
mov es:[di],eax
add di,4h
loop 0994h
l21CC_099D:
mov es:[di],ax
add di,2h
jmp 0A00h
l21CC_09A5:
mov es:[di],eax
add di,4h
loop 09A5h
l21CC_09AE:
jmp 0A00h
l21CC_09B0:
inc ch
mov cl,ch
and ch,3h
jz 09C3h
l21CC_09B9:
shr ch,1h
jnc 09BEh
l21CC_09BD:
movsb
l21CC_09BE:
shr ch,1h
jnc 09C3h
l21CC_09C2:
movsw
l21CC_09C3:
shr cl,2h
jz 0A00h
l21CC_09C8:
test di,1h
jz 09ECh
l21CC_09CE:
dec cl
jz 09E8h
l21CC_09D2:
test di,2h
jnz 09E0h
l21CC_09D8:
movsb
movsw
l21CC_09DA:
rep movsd
l21CC_09DD:
movsb
jmp 0A00h
l21CC_09E0:
movsb
l21CC_09E1:
rep movsd
l21CC_09E4:
movsw
movsb
jmp 0A00h
l21CC_09E8:
movsd
jmp 0A00h
l21CC_09EC:
test di,2h
jz 09FDh
l21CC_09F2:
dec cl
jz 09E8h
l21CC_09F6:
movsw
l21CC_09F7:
rep movsd
l21CC_09FA:
movsw
jmp 0A00h
l21CC_09FD:
rep movsd
l21CC_0A00:
dec bx
jnz 08EFh
l21CC_0A05:
pop di
add di,140h
dec dx
jnz 08EBh
l21CC_0A0F:
dec bp
| 11.379919 | 74 | 0.650829 |
7b3e5cf5e342e09222c5f19cf0071175f643de7b | 1,757 | asm | Assembly | ffmpeg-3.2.5/libavfilter/x86/vf_pp7.asm | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 3,645 | 2016-08-25T09:31:17.000Z | 2022-03-25T06:28:34.000Z | ffmpeg-3.2.5/libavfilter/x86/vf_pp7.asm | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ffmpeg-3.2.5/libavfilter/x86/vf_pp7.asm | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 764 | 2016-08-26T09:19:00.000Z | 2022-03-22T12:07:16.000Z | ;*****************************************************************************
;* x86-optimized functions for pp7 filter
;*
;* Copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or modify
;* it under the terms of the GNU General Public License as published by
;* the Free Software Foundation; either version 2 of the License, or
;* (at your option) any later version.
;*
;* FFmpeg is distributed in the hope that it will be useful,
;* but WITHOUT ANY WARRANTY; without even the implied warranty of
;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;* GNU General Public License for more details.
;*
;* You should have received a copy of the GNU General Public License along
;* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
;* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
;******************************************************************************
%include "libavutil/x86/x86util.asm"
SECTION .text
INIT_MMX mmx
;void ff_pp7_dctB_mmx(int16_t *dst, int16_t *src)
cglobal pp7_dctB, 2, 2, 0, dst, src
movq m0, [srcq]
movq m1, [srcq+mmsize*1]
paddw m0, [srcq+mmsize*6]
paddw m1, [srcq+mmsize*5]
movq m2, [srcq+mmsize*2]
movq m3, [srcq+mmsize*3]
paddw m2, [srcq+mmsize*4]
paddw m3, m3
movq m4, m3
psubw m3, m0
paddw m4, m0
movq m0, m2
psubw m2, m1
paddw m0, m1
movq m1, m4
psubw m4, m0
paddw m1, m0
movq m0, m3
psubw m3, m2
psubw m3, m2
paddw m2, m0
paddw m2, m0
movq [dstq], m1
movq [dstq+mmsize*2], m4
movq [dstq+mmsize*1], m2
movq [dstq+mmsize*3], m3
RET
| 30.293103 | 79 | 0.599317 |
79c4dafbd4180040d30f4c6e394e0b3939f7c13e | 404 | asm | Assembly | programs/oeis/206/A206224.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/206/A206224.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/206/A206224.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A206224: Floor(n^2/4) appears 1+floor(n/2) times.
; 0,0,1,1,2,2,4,4,4,6,6,6,9,9,9,9,12,12,12,12,16,16,16,16,16,20,20,20,20,20,25,25,25,25,25,25,30,30,30,30,30,30,36,36,36,36,36,36,36,42,42,42,42,42,42,42,49,49,49,49,49,49,49,49,56,56,56,56,56
mov $1,$0
add $0,3
mov $2,$1
seq $2,336751 ; Smallest side of integer-sided triangles whose sides a < b < c are in arithmetic progression.
sub $0,$2
sub $0,1
| 40.4 | 192 | 0.658416 |
b6c531f04a5874af7d5ca7b9b0fb70aa40e330d4 | 7,763 | asm | Assembly | core/old/primitives.asm | paulscottrobson/nextForth | 3725af76cedd403e1e468fc8392e819fc0feb744 | [
"MIT"
] | 2 | 2019-02-17T02:39:13.000Z | 2020-06-10T09:57:22.000Z | core/old/primitives.asm | paulscottrobson/nextForth | 3725af76cedd403e1e468fc8392e819fc0feb744 | [
"MIT"
] | 1 | 2019-03-03T20:40:02.000Z | 2020-07-02T09:39:48.000Z | core/old/primitives.asm | paulscottrobson/nextForth | 3725af76cedd403e1e468fc8392e819fc0feb744 | [
"MIT"
] | null | null | null | ; **********************************************************************************************************
;
; Name: primitives.asm
; Purpose Primitive Words for Z80 CMForth Core (5.1.1)
; Author: Paul Robson (paul@robsons.org.uk)
; Date: 28th January 2018
;
; **********************************************************************************************************
; **********************************************************************************************************
; swap : swap top two values
; **********************************************************************************************************
WD_Swap:exx ; ==== swap ====
pop hl
pop de
push hl
push de
exx
jp (ix)
; **********************************************************************************************************
; over : copy 2nd to top
; **********************************************************************************************************
WD_Over:exx ; ==== over ====
pop hl
pop de
push de
push hl
push de
exx
jp (ix)
db 0,0,0
; **********************************************************************************************************
; dup : Duplicate TOS
; **********************************************************************************************************
WD_Dup: ; ==== dup ====
pop hl
push hl
push hl
jp (ix)
db 0,0,0
; **********************************************************************************************************
; drop : Drop TOS
; **********************************************************************************************************
WD_Drop: ; ==== drop ====
pop hl
jp (ix)
db 0
; **********************************************************************************************************
; xor : exclusive or
; **********************************************************************************************************
WD_Xor: ; ==== xor ====
exx
pop hl
pop de
ld a,h
xor d
ld h,a
ld a,l
xor e
jr __LogExit
db 0,0
; **********************************************************************************************************
; and : bitwise and
; **********************************************************************************************************
WD_And: ; ==== and ====
exx
pop hl
pop de
ld a,h
and d
ld h,a
ld a,l
and e
__LogExit:
ld l,a
push hl
exx
jp (ix)
db 0,0,0
; **********************************************************************************************************
; or : bitwise or
; **********************************************************************************************************
WD_Or: ; ==== or ====
exx
pop hl
pop de
ld a,h
or d
ld h,a
ld a,l
or e
jr __LogExit
db 0,0
; **********************************************************************************************************
; - : subtract
; **********************************************************************************************************
WD_Subtract: ; ==== - ====
exx
xor a
pop de
pop hl
sbc hl,de
push hl
exx
jp (ix)
db 0,0
; **********************************************************************************************************
; 0< : test negative
; **********************************************************************************************************
WD_ZLess: ; ==== 0< ====
pop hl
bit 7,h
ld hl,0
jr z,__ZE1
dec hl
__ZE1: push hl
jp (ix)
; **********************************************************************************************************
; negate : twos complement
; **********************************************************************************************************
WD_Negate: ; ==== negate ====
exx
xor a
ld l,a
ld h,a
pop de
sbc hl,de
push hl
exx
jp (ix)
db 0
; **********************************************************************************************************
; @ : 16 bit read
; **********************************************************************************************************
WD_Read16: ; ==== @ ====
pop hl
ld a,(hl)
inc hl
ld h,(hl)
ld l,a
push hl
jp (ix)
; **********************************************************************************************************
; ! : 16 bit write
; **********************************************************************************************************
WD_Write16: ; ==== ! ====
exx
pop hl
pop de
ld (hl),e
inc hl
ld (hl),d
exx
jp (ix)
db 0,0,0
; **********************************************************************************************************
; rot : rotate top 3
; **********************************************************************************************************
WD_Rot: exx ; ==== rot ====
pop hl
pop de
pop bc
push de
push hl
push bc
exx
jp (ix)
db 0,0
; **********************************************************************************************************
; 0= : test equal zero / logical not
; **********************************************************************************************************
WD_ZEquals: ; ==== 0= ====
WD_Not: ; ==== not ====
pop hl
ld a,h
or l
ld hl,0
jr nz,__ZE0
dec hl
__ZE0: push hl
jp (ix)
; **********************************************************************************************************
; < : less than
; **********************************************************************************************************
WD_LessThan: ; ==== < ====
exx
pop de
pop hl
__WDCheck:
xor a
sbc hl,de
ld de,0 ; return 0
bit 7,h
jr z,__WDLTPos
__WDLTTrue:
dec de ; if h.7 set return 1.
__WDLTPos:
push de
exx
jp (ix)
db 0,0
; **********************************************************************************************************
; > : greater than
; **********************************************************************************************************
WD_GreaterThan: ; ==== > ====
exx
pop hl
pop de
jr __WDCheck
db 0,0,0
; **********************************************************************************************************
; = : equals
; **********************************************************************************************************
WD_Equals: ; ==== = ====
exx
pop de
pop hl
xor a
sbc hl,de
ld de,0
ld a,h
or l
jr nz,__WDLTPos
jr __WDLTTrue
db 0
; **********************************************************************************************************
; u< : unsigned less than.
; **********************************************************************************************************
WD_ULessThan: ; ==== u< ====
exx
pop de
pop hl
xor a
sbc hl,de
ld e,a
ld d,a
jr c,__WDLTTrue
jr __WDLTPos
; **********************************************************************************************************
; ?dup : duplicate top if it is non zero
; **********************************************************************************************************
WD_QDup: ; ==== ?dup ====
pop hl
push hl
ld a,h
or l
jp nz,WD_Dup
jp (ix)
db 0,0,0
| 26.954861 | 108 | 0.186912 |
f9f89059d4c530f2e12c303e49404ddedc20cf25 | 666 | asm | Assembly | oeis/014/A014445.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/014/A014445.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/014/A014445.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A014445: Even Fibonacci numbers; or, Fibonacci(3*n).
; Submitted by Jamie Morken(m4)
; 0,2,8,34,144,610,2584,10946,46368,196418,832040,3524578,14930352,63245986,267914296,1134903170,4807526976,20365011074,86267571272,365435296162,1548008755920,6557470319842,27777890035288,117669030460994,498454011879264,2111485077978050,8944394323791464,37889062373143906,160500643816367088,679891637638612258,2880067194370816120,12200160415121876738,51680708854858323072,218922995834555169026,927372692193078999176,3928413764606871165730,16641027750620563662096,70492524767089125814114
mul $0,3
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
| 95.142857 | 486 | 0.839339 |
a0feb3bbe021f51ac434ef399a829649fbae3b5d | 503 | asm | Assembly | oeis/096/A096040.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/096/A096040.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/096/A096040.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A096040: Triangle read by rows: T(n,k) = (n+1,k)-th element of (M^6-M)/5, where M is the infinite lower Pascal's triangle matrix, 1<=k<=n.
; Submitted by Jon Maiga
; 1,7,2,43,21,3,259,172,42,4,1555,1295,430,70,5,9331,9330,3885,860,105,6,55987,65317,32655,9065,1505,147,7,335923,447896,261268,87080,18130,2408,196,8,2015539,3023307,2015532,783804,195930,32634,3612,252,9
lpb $0
add $1,1
sub $0,$1
lpe
add $1,1
sub $2,$0
add $2,$1
bin $1,$0
mov $0,6
pow $0,$2
sub $0,1
mul $1,$0
mov $0,$1
div $0,5
| 26.473684 | 205 | 0.673956 |
2205907260a164719a1e753c691fc8cc2bcdd4ff | 20 | asm | Assembly | src/main/fragment/mos6502-common/vbuyy_lt_vbuc1_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vbuyy_lt_vbuc1_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vbuyy_lt_vbuc1_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | cpy #{c1}
bcc {la1}
| 6.666667 | 9 | 0.55 |
0e9497f7a0c598de180de3f65edd4e522b6068da | 3,263 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_83_1152.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_83_1152.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_83_1152.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 %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1dd9f, %r13
inc %rbx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
movups %xmm6, (%r13)
nop
nop
add $3942, %rdx
lea addresses_normal_ht+0x4b05, %rsi
lea addresses_D_ht+0x12f0b, %rdi
nop
nop
nop
nop
xor %r11, %r11
mov $65, %rcx
rep movsw
inc %r11
lea addresses_A_ht+0x7978, %rsi
lea addresses_WC_ht+0x126bf, %rdi
nop
dec %r8
mov $68, %rcx
rep movsb
nop
nop
nop
xor $30716, %rcx
lea addresses_D_ht+0x1e61f, %rdx
nop
nop
nop
nop
nop
sub %r13, %r13
mov $0x6162636465666768, %rbx
movq %rbx, (%rdx)
nop
nop
and %rdi, %rdi
lea addresses_D_ht+0xf42b, %rdx
nop
nop
nop
nop
xor %r11, %r11
mov (%rdx), %ecx
nop
nop
xor $16572, %rsi
lea addresses_WC_ht+0xd15f, %rsi
lea addresses_D_ht+0x40e3, %rdi
nop
nop
nop
nop
sub %rdx, %rdx
mov $55, %rcx
rep movsl
nop
nop
add %rbx, %rbx
lea addresses_WC_ht+0x19ff, %rcx
nop
nop
nop
add $9440, %rdx
mov $0x6162636465666768, %r13
movq %r13, (%rcx)
nop
nop
nop
sub %rsi, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rsi
// Store
lea addresses_WT+0x1599f, %rbx
inc %r15
mov $0x5152535455565758, %rsi
movq %rsi, %xmm4
vmovups %ymm4, (%rbx)
nop
nop
nop
nop
sub %r15, %r15
// Faulty Load
lea addresses_US+0x1261f, %rbp
nop
nop
nop
nop
nop
add %r14, %r14
mov (%rbp), %r15w
lea oracles, %rbp
and $0xff, %r15
shlq $12, %r15
mov (%rbp,%r15,1), %r15
pop %rsi
pop %rbx
pop %rbp
pop %rax
pop %r15
pop %r14
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'00': 83}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 20.916667 | 248 | 0.655532 |
48adc48bc4ff9a22eef345dca0d87b1bda569fd7 | 5,257 | asm | Assembly | Working Disassembly/Levels/Misc/Object list - Sonic & Knuckles.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Working Disassembly/Levels/Misc/Object list - Sonic & Knuckles.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Working Disassembly/Levels/Misc/Object list - Sonic & Knuckles.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | dc.l Obj_Ring ; 0
dc.l Obj_Monitor ; 1
dc.l Obj_PathSwap ; 2
dc.l Obj_03_2 ; 3
dc.l Obj_CollapsingPlatform; 4
dc.l Obj_AIZLRZEMZRock ; 5
dc.l Obj_MHZPulleyLift ; 6
dc.l Obj_Spring ; 7
dc.l Obj_Spikes ; 8
dc.l Obj_MHZCurledVine ; 9
dc.l Obj_MHZStickyVine ; 10
dc.l Obj_MHZSwingBarHorizontal; 11
dc.l Obj_MHZSwingBarVertical; 12
dc.l Obj_BreakableWall ; 13
dc.l Obj_0E ; 14
dc.l Obj_CollapsingBridge; 15
dc.l Obj_MHZSwingVine ; 16
dc.l Obj_MHZMushroomPlatform; 17
dc.l Obj_MHZMushroomParachute; 18
dc.l Obj_MHZMushroomCatapult; 19
dc.l Obj_14_2 ; 20
dc.l Obj_15_2 ; 21
dc.l Obj_16_2 ; 22
dc.l Obj_LRZSinkingRock ; 23
dc.l Obj_LRZFallingSpike; 24
dc.l Obj_LRZDoor ; 25
dc.l Obj_LRZBigDoor ; 26
dc.l Obj_LRZFireballLauncher; 27
dc.l Obj_LRZButtonHorizontal; 28
dc.l Obj_LRZShootingTrigger; 29
dc.l Obj_LRZDashElevator; 30
dc.l Obj_LRZLavaFall ; 31
dc.l Obj_LRZSwingingSpikeBall; 32
dc.l Obj_LRZSmashingSpikePlatform; 33
dc.l Obj_LRZSpikeBall ; 34
dc.l Obj_MHZMushroomCap ; 35
dc.l Obj_AutomaticTunnel ; 36
dc.l Obj_LRZChainedPlatforms; 37
dc.l Obj_26 ; 38
dc.l Obj_27 ; 39
dc.l Obj_28_Invisible_Barrier; 40
dc.l Obj_LRZFlameThrower; 41
dc.l Obj_CorkFloor ; 42
dc.l Obj_LRZOrbitingSpikeBallHorizontal; 43
dc.l Obj_LRZOrbitingSpikeBallVertical; 44
dc.l Obj_LRZSolidMovingPlatforms; 45
dc.l Obj_LRZSolidRock ; 46
dc.l Obj_StillSprite ; 47
dc.l Obj_AnimatedStillSprite; 48
dc.l Obj_LRZCollapsingBridge; 49
dc.l Obj_LRZTurbineSprites; 50
dc.l Obj_Button ; 51
dc.l Obj_StarPost ; 52
dc.l Obj_AIZForegroundPlant; 53
dc.l Obj_BreakableBar ; 54
dc.l Obj_LRZSpikeBallLauncher; 55
dc.l Obj_38_2 ; 56
dc.l Obj_SOZSpawningSandBlocks; 57
dc.l Obj_3A_2 ; 58
dc.l Obj_3B_2 ; 59
dc.l Obj_Door ; 60
dc.l Obj_RetractingSpring; 61
dc.l Obj_SOZPushableRock; 62
dc.l Obj_SOZSpringVine ; 63
dc.l Obj_SOZRisingSandWall; 64
dc.l Obj_SOZLightSwitch ; 65
dc.l Obj_SOZFloatingPillar; 66
dc.l Obj_SOZSwingingPlatform; 67
dc.l Obj_SOZBreakableSandRock; 68
dc.l Obj_SOZPushSwitch ; 69
dc.l Obj_SOZDoor ; 70
dc.l Obj_SOZSandCork ; 71
dc.l Obj_SOZRapelWire ; 72
dc.l Obj_SOZSolidSprites; 73
dc.l Obj_DEZFloatingPlatform; 74
dc.l Obj_TiltingBridge ; 75
dc.l Obj_DEZHangCarrier ; 76
dc.l Obj_DEZTorpedoLauncher; 77
dc.l Obj_DEZLiftPad ; 78
dc.l Obj_DEZStaircase ; 79
dc.l Obj_50_2 ; 80
dc.l Obj_FloatingPlatform; 81
dc.l Obj_DEZLightning ; 82
dc.l Obj_DEZConveyorPad ; 83
dc.l Obj_Bubbler ; 84
dc.l Obj_DEZEnergyBridge; 85
dc.l Obj_56_2 ; 86
dc.l Obj_DEZTunnelLauncher; 87
dc.l Obj_DEZGravitySwitch; 88
dc.l Obj_59_2 ; 89
dc.l Obj_5A_2 ; 90
dc.l Obj_5B_2 ; 91
dc.l Obj_5C_2 ; 92
dc.l Obj_DEZRetractingSpring; 93
dc.l Obj_DEZHoverMachine; 94
dc.l Obj_5F_2 ; 95
dc.l Obj_DEZBumperWall ; 96
dc.l Obj_DEZGravityPuzzle; 97
dc.l Obj_Ring ; 98
dc.l Obj_Ring ; 99
dc.l Obj_Ring ; 100
dc.l Obj_Ring ; 101
dc.l Obj_Ring ; 102
dc.l Obj_Ring ; 103
dc.l Obj_Ring ; 104
dc.l Obj_Ring ; 105
dc.l Obj_InvisibleHurtBlockHorizontal; 106
dc.l Obj_InvisibleHurtBlockVertical; 107
dc.l Obj_TensionBridge ; 108
dc.l Obj_6D_2 ; 109
dc.l Obj_6E_2 ; 110
dc.l Obj_Ring ; 111
dc.l Obj_Ring ; 112
dc.l Obj_Ring ; 113
dc.l Obj_Ring ; 114
dc.l Obj_Ring ; 115
dc.l Obj_SSZRetractingSpring; 116
dc.l Obj_SSZSwingingCarrier; 117
dc.l Obj_SSZRotatingPlatform; 118
dc.l Obj_77_2 ; 119
dc.l Obj_FBZDEZPlayerLauncher; 120
dc.l Obj_SSZHPZTeleporter; 121
dc.l Obj_SSZElevatorBar ; 122
dc.l Obj_SSZCollapsingBridgeDiagonal; 123
dc.l Obj_SSZCollapsingBridge; 124
dc.l Obj_SSZBouncyCloud; 125
dc.l Obj_SSZCollapsingColumn; 126
dc.l Obj_SSZFloatingPlatform; 127
dc.l Obj_HiddenMonitor ; 128
dc.l Obj_81 ; 129
dc.l Obj_CutsceneKnuckles ; 130
dc.l Obj_83 ; 131
dc.l Obj_84 ; 132
dc.l Obj_SSEntryRing ; 133
dc.l Obj_86 ; 134
dc.l Obj_87 ; 135
dc.l Obj_88 ; 136
dc.l Obj_89 ; 137
dc.l Obj_8A ; 138
dc.l Obj_8B ; 139
dc.l Obj_Madmole ; 140
dc.l Obj_Mushmeanie ; 141
dc.l Obj_Dragonfly ; 142
dc.l Obj_Butterdroid ; 143
dc.l Obj_Cluckoid ; 144
dc.l Obj_91_2 ; 145
dc.l Obj_MHZ_Miniboss ; 146
dc.l Obj_MHZ_EndBoss ; 147
dc.l Obj_Skorp ; 148
dc.l Obj_Sandworm ; 149
dc.l Obj_Rockn ; 150
dc.l Obj_SOZ_Miniboss ; 151
dc.l Obj_SOZ_EndBoss ; 152
dc.l Obj_Fireworm ; 153
dc.l Obj_LRZExplodingRock; 154
dc.l Obj_Toxomister ; 155
dc.l Obj_LRZRockCrusher ; 156
dc.l Obj_LRZ_Miniboss ; 157
dc.l Obj_9E_2 ; 158
dc.l Obj_Ring ; 159
dc.l Obj_EggRobo ; 160
dc.l Obj_SSZGHZBoss ; 161
dc.l Obj_SSZMTZBoss ; 162
dc.l Obj_A3_2 ; 163
dc.l Obj_Spikebonker ; 164
dc.l Obj_Chainspike ; 165
dc.l Obj_DEZ_Miniboss ; 166
dc.l Obj_DEZ_EndBoss ; 167
dc.l Obj_A8_2 ; 168
dc.l Obj_A9_2 ; 169
dc.l Obj_SOZ_Ghosts ; 170
dc.l Obj_AB_2 ; 171
dc.l Obj_AC_2_SOZ2_Ghost_Capsule; 172
dc.l Obj_AD_2 ; 173
dc.l Obj_AE_2 ; 174
dc.l Obj_AF_2 ; 175
dc.l Obj_B0_2 ; 176
dc.l Obj_B1_2 ; 177
dc.l Obj_B2_2 ; 178
dc.l Obj_B3_2 ; 179
dc.l Obj_B4_2 ; 180
dc.l Obj_B5_2 ; 181
dc.l Obj_B6_2 ; 182
dc.l Obj_DDZAsteroid ; 183
dc.l Obj_DDZMissile ; 184
| 28.263441 | 45 | 0.714476 |
dac2cfcf3188e0c4c90c76cb08f27b7a9b0881c9 | 793 | asm | Assembly | programs/oeis/184/A184038.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/184/A184038.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/184/A184038.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A184038: 1/16 the number of (n+1) X 9 0..3 arrays with all 2 X 2 subblocks having the same four values.
; 1225,1237,1258,1300,1378,1534,1834,2434,3610,5962,10618,19930,38458,75514,149434,297274,592570,1183162,2363578,4724410,9444538,18884794,37762234,75517114,151020730,302027962,604030138,1208034490,2416018618,4831986874,9663874234,19327648954,38655100090,77310002362,154619610298,309238826170,618476864698,1236952941754,2473904309434,4947807044794,9895610942650,19791218738362,39582431184058,79164856075450,158329699566778,316659386549434,633318747931834,1266637470696634,2533274891060410,5066549731787962,10133099362911418,20266198625158330,40532397048988858
mov $1,4
mov $2,$0
lpb $0
mul $1,2
add $1,$2
sub $1,$0
sub $0,1
trn $2,2
lpe
sub $1,4
mul $1,3
add $1,1225
mov $0,$1
| 46.647059 | 558 | 0.812106 |
b6700ad82be00ce907259b95c1090b3aced6f701 | 9,034 | asm | Assembly | 32kb_flash_cartridge/programmer/tester.asm | kant/myelin-acorn-electron-hardware | 38fef0a38d005ae0f1b93f4a7da74b0e15f10c0d | [
"Apache-2.0"
] | 42 | 2017-04-22T06:37:00.000Z | 2022-03-30T07:23:13.000Z | 32kb_flash_cartridge/programmer/tester.asm | kant/myelin-acorn-electron-hardware | 38fef0a38d005ae0f1b93f4a7da74b0e15f10c0d | [
"Apache-2.0"
] | 6 | 2018-01-05T16:28:29.000Z | 2019-01-15T05:57:49.000Z | 32kb_flash_cartridge/programmer/tester.asm | kant/myelin-acorn-electron-hardware | 38fef0a38d005ae0f1b93f4a7da74b0e15f10c0d | [
"Apache-2.0"
] | 20 | 2017-04-24T01:35:12.000Z | 2022-01-06T13:49:09.000Z | ; Copyright 2017 Google Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
; flash cartridge test code
; TO DO
; PCBv2: hardware write protect jumper option
; programming limits
; PAGE=E00
; HIMEM=1100 because i've *RUN something which loads in there
; mode 6 screen start = 6000
; 6000-1000 = 5000h
; hopper is 283A long
; we can load a 16k rom at $2000 and have it fit between us and screen memory!
; zero page addresses
zp_lo := $90
zp_hi := $91
; constants
OSWRCH := $FFEE
; program entry point
entry_point:
JMP main
; 'puts' macro
puts_pos: .byte $00 ; string position
.macro puts addr
.proc
lda #0
sta puts_pos
write_byte:
ldx puts_pos
lda addr, x
cmp #0
beq done
jsr OSWRCH
inc puts_pos
jmp write_byte
done:
.endproc
.endmacro
probing_cart0_msg:
.byte "Probing cart 0"
.byte $0D
.byte $0A
.byte $00
probing_cart2_msg:
.byte "Probing cart 2"
.byte $0D
.byte $0A
.byte $00
programming_bank_msg:
.byte "Programming bank "
.byte $00
all_done_msg:
.byte "All done!"
.byte $0D
.byte $0A
.byte $00
programming_msg:
.byte "Programming..."
.byte $0D
.byte $0A
.byte $00
blank_msg:
.byte "ROM is blank!"
.byte $0D
.byte $0A
.byte $00
waiting_msg:
.byte "Waiting..."
.byte $0D
.byte $0A
.byte $00
erasing_msg:
.byte "Erasing..."
.byte $0D
.byte $0A
.byte $00
done_msg:
.byte "Done."
.byte $0D
.byte $0A
.byte $00
crlf:
.byte $0D
.byte $0A
.byte $00
previous_rom: .byte $00
erase_cart_first: .byte $00 ; erases if 1
rom_to_program: .byte $01 ; bank 00 or 01
main:
; stash initial ROM ID
lda $f4
sta previous_rom
; probe cartridge 0,1
puts probing_cart0_msg
LDA #0
JSR identify_flash_chip
puts programming_bank_msg
lda rom_to_program
jsr write_hex_byte
puts crlf
; do we need to erase the chip first?
lda erase_cart_first
cmp #0
beq main__erase_done
jsr erase_whole_chip
main__erase_done:
lda rom_to_program
jsr select_rom
jsr program_16k_rom
jsr blank_check
; probe cartridge 2,3
;puts probing_cart2_msg
;LDA #2
;JSR select_rom
;JSR identify_flash_chip
back_to_basic:
puts all_done_msg
lda previous_rom
jsr select_rom
RTS
hang:
puts all_done_msg
JMP hang
; A = number to write (0-15)
write_hex_char:
CMP #10
BCC less_than_ten
CLC
ADC #55 ; add 'A' - 10
JMP print_it
less_than_ten:
CLC
ADC #48 ; add '0'
print_it:
jsr OSWRCH
RTS
; A = byte to write
write_hex_byte:
PHA ; stash a copy of the char
AND #$F0
LSR
LSR
LSR
LSR
JSR write_hex_char ; write high nybble
PLA ; get the char back in A
AND #$0F
JSR write_hex_char ; write low nybble
RTS
; X, Y = address to write
; roughly: printf("%02x%02x\r\n", y, x)
write_hex_address:
; stash x and y for later
txa
pha
tya
pha
; and stash x (low byte) again
txa
pha
; now write y (high byte)
tya
jsr write_hex_byte
; and x
pla
jsr write_hex_byte
puts crlf
; and get x and y back
pla
tay
pla
tax
rts
; put the cartridge in the 0/1 slot
; A = rom ID to select (0-3)
select_rom:
STA zp_lo ; save ROM ID
LDA #12 ; deselect BASIC
STA $F4
STA $FE05
LDA zp_lo ; load ROM ID
STA $F4
STA $FE05
RTS
; we need to be able to write to addresses 2AAA and 5555 (A14-A0; don't care about A15+)
; A16 = ROMQA (bank ID)
; A15 = 0
; A14 = A12
; A13-A0 map into $8000-$BFFF
; so we select the low bank (rom_id), then:
; 2AAA = 010 1010 1010 1010, i.e. A13:0 = 2AAA, + 8000 = AAAA
; 5555 = 101 0101 0101 0101, i.e. A13:0 = 1555, + 8000 = 9555
; flash chip identification
; A = base rom ID to select (0 or 2)
rom_id: .byte $00
chip_id: .byte $00
identify_flash_chip:
STA rom_id
JSR select_rom
; * enter flash ID mode
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write 90 to 5555
LDA #zp_lo
STA $9555
; * read chip identifying info
; read 0000, should be $BF
LDA $8000
JSR write_hex_byte
puts crlf
; read 0001, should be $B5 (or B6 for 39SF020A, B7 for 39SF040)
LDA $8001
JSR write_hex_byte
puts crlf
; * exit flash ID mode
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write F0 to 5555
LDA #$F0
STA $9555
RTS
blank_check:
; counter
lda #0
sta zp_lo
lda #$80
sta zp_hi
blank_check__loop:
ldy #0
lda (zp_lo), y
cmp #0
bne blank_check__not_blank ; not blank
; increment zp_lo, zp_hi
clc
lda zp_lo
adc #1
sta zp_lo
lda zp_hi
adc #1
sta zp_hi
; are we at the end of the rom space?
cmp #$c0
bne blank_check__loop
puts blank_msg ; if we get here, it's blank!
blank_check__done:
RTS
blank_check__not_blank:
ldx #0
ldy zp_hi
jmp dump_page
; --- programming ---
; A = byte to write
; X, Y = low/high bytes of address to write to (in 8000-BFFF)
; this assumes the correct bank is already selected and the sector is erased
program_byte:
STX zp_lo ; write X,Y,A to zp_lo
STY zp_hi
STA $03
; * write four command bytes
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write A0 to 5555
LDA #$A0
STA $9555
; * write data to address
LDA $03
LDX #0
STA (zp_lo, X)
; * poll toggle bit until the program operation is complete
JSR wait_until_operation_done
RTS
; --- program 16kB rom from $2000 into bank 0 ---
; this assumes the correct bank is already selected
; and the data to program is from $2000-$6000
; (you probably want to be in MODE 6)
; source ($2000)
src_hi: .byte $00
src_lo: .byte $00
; dest ($8000)
dest_hi: .byte $00
dest_lo: .byte $00
; counter ($0000 - $4000)
pos_hi: .byte $00
pos_lo: .byte $00
; dest + counter
op_hi: .byte $00
op_lo: .byte $00
program_16k_rom:
; start by trying to program from 4000-40ff -> a000-a0ff
puts programming_msg
; store src and dest addresses
lda #$20
sta src_hi
clc
adc #$60 ; 0x6000 = 0x8000 - 0x2000
sta dest_hi
lda #$00
sta src_lo
sta dest_lo
; reset offset
lda #$00
sta pos_hi
sta pos_lo
; now loop and program 00 into every byte, to test
program_16k_rom__loop:
; work out our destination address
clc
lda dest_lo
adc pos_lo
sta op_lo
lda dest_hi
adc pos_hi
sta op_hi
; write destination address if op_lo==0
lda op_lo
cmp #0
bne program_16k_rom__done_writing_addr
ldx op_lo
ldy op_hi
jsr write_hex_address
program_16k_rom__done_writing_addr:
; get byte from memory
clc
lda pos_lo
adc src_lo
sta zp_lo
lda pos_hi
adc src_hi
sta zp_hi
; debug
;ldx zp_lo
;ldy zp_hi
;jsr write_hex_address
; /debug
ldy #0
lda (zp_lo), y
; make byte programming call
ldx op_lo
ldy op_hi
jsr program_byte
; increment position
clc
lda pos_lo
adc #1
sta pos_lo
bcc program_16k_rom__loop ; inside a 256 byte block
; dump the page we just wrote
clc
lda pos_lo ; should be 0
adc dest_lo ; should be 0
tax
lda pos_hi
adc dest_hi
tay
;jsr dump_page
; see if we're done otherwise go back and program another page
clc
lda pos_hi
adc #1
sta pos_hi
cmp #$40 ; are we done programming $4000 bytes?
bne program_16k_rom__loop
puts done_msg
RTS
; --- 4kB sector erase ---
; X, Y = low, high address of a byte in the sector to erase
; this assumes the correct bank is already selected
erase_sector:
STX zp_lo ; write X,Y to zp_lo
STY zp_hi
; * six byte command load sequence
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write 80 to 5555
LDA #$80
STA $9555
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write 30 to SAx (uses Ams-A12 lines!!)
LDA #$30
LDX #0
STA (zp_lo, X)
; * poll toggle bit until the sector erase is complete
JSR wait_until_operation_done
RTS
; --- chip erase ---
erase_whole_chip:
puts erasing_msg
; * six byte command
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write 80 to 5555
LDA #$80
STA $9555
; write AA to 5555
LDA #$AA
STA $9555
; write 55 to 2AAA
LDA #$55
STA $AAAA
; write 10 to 5555
LDA #$10
STA $9555
puts waiting_msg
; * poll toggle bit until the chip erase is complete
JSR wait_until_operation_done
puts done_msg
RTS
; --- dump data from a page on the rom ---
; address in X, Y (low in X, high in Y)
dump_page:
STX zp_lo ; page lo = zp_lo
STY zp_hi ; page hi = zp_hi
JSR write_hex_address
LDA #0 ; loop counter (0-FF)
dump_page__next:
PHA
TAY
LDA (zp_lo), Y
JSR write_hex_byte
LDA #32
JSR OSWRCH
PLA
CMP #$FF
BEQ dump_page__done
CLC
ADC #1
JMP dump_page__next
dump_page__done:
puts crlf
RTS
; --- data# / toggle bit detection ---
wait_until_operation_done:
; keep reading DQ6 until it stops toggling
LDA $8000
EOR $8000
AND #$40
BNE wait_until_operation_done
RTS
| 16.485401 | 88 | 0.69814 |
7b4ff02ac3458aa58d5312e86f62805ecea0212f | 300 | asm | Assembly | Working Disassembly/General/Sprites/Jawz/Map - Jawz.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/Jawz/Map - Jawz.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Working Disassembly/General/Sprites/Jawz/Map - Jawz.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Map_361364: dc.w Frame_361368-Map_361364
dc.w Frame_36137C-Map_361364
Frame_361368: dc.w 3
dc.b $FC, $D, 0, 0,$FF,$E8
dc.b $F4, 6, 0, 8, 0, 8
dc.b $F4, 2, 0, $E, 0,$18
Frame_36137C: dc.w 3
dc.b $FC, $D, 0, 0,$FF,$E8
dc.b $F4, 6, 0, 8, 0, 8
dc.b $F4, 2, 0,$11, 0,$18
| 27.272727 | 40 | 0.53 |
46b93e070ba724aeb65ae398c917662711376643 | 436 | asm | Assembly | programs/oeis/318/A318455.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/318/A318455.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/318/A318455.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A318455: The 2-adic valuation of A318454(n).
; 0,1,0,3,0,1,0,4,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,4,0,1,0,3,0,1,0,8,0,1,0,3,0,1,0,4,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,4,0,1,0,3,0,1,0,10,0,1,0,3,0,1,0,4,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,4,0,1,0,3,0,1,0,8,0,1,0,3
seq $0,7814 ; Exponent of highest power of 2 dividing n, a.k.a. the binary carry sequence, the ruler sequence, or the 2-adic valuation of n.
lpb $0
add $1,$0
div $0,2
lpe
mov $0,$1
| 43.6 | 202 | 0.600917 |
a257a8126c627a05d4d007bd4e2cc24c8da761c2 | 619 | asm | Assembly | _maps/SS Chaos Emeralds.asm | kodishmediacenter/msu-md-sonic | 3aa7c5e8add9660df2cd0eceaa214e7d59f2415c | [
"CC0-1.0"
] | 9 | 2021-01-15T13:47:53.000Z | 2022-01-17T15:33:55.000Z | _maps/SS Chaos Emeralds.asm | kodishmediacenter/msu-md-sonic | 3aa7c5e8add9660df2cd0eceaa214e7d59f2415c | [
"CC0-1.0"
] | 7 | 2021-01-14T02:18:48.000Z | 2021-03-24T15:44:30.000Z | _maps/SS Chaos Emeralds.asm | kodishmediacenter/msu-md-sonic | 3aa7c5e8add9660df2cd0eceaa214e7d59f2415c | [
"CC0-1.0"
] | 2 | 2021-01-14T13:14:26.000Z | 2021-01-29T17:46:04.000Z | ; ---------------------------------------------------------------------------
; Sprite mappings - special stage chaos emeralds
; ---------------------------------------------------------------------------
Map_SS_Chaos1: dc.w byte_1B96C-Map_SS_Chaos1
dc.w byte_1B97E-Map_SS_Chaos1
Map_SS_Chaos2: dc.w byte_1B972-Map_SS_Chaos2
dc.w byte_1B97E-Map_SS_Chaos2
Map_SS_Chaos3: dc.w byte_1B978-Map_SS_Chaos3
dc.w byte_1B97E-Map_SS_Chaos3
byte_1B96C: dc.b 1
dc.b $F8, 5, 0, 0, $F8
byte_1B972: dc.b 1
dc.b $F8, 5, 0, 4, $F8
byte_1B978: dc.b 1
dc.b $F8, 5, 0, 8, $F8
byte_1B97E: dc.b 1
dc.b $F8, 5, 0, $C, $F8
even | 34.388889 | 77 | 0.53958 |
95a2f10543d3350e06af3fbdbe24311160091130 | 3,300 | asm | Assembly | wof/lcs/enemy/40.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/enemy/40.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | null | null | null | wof/lcs/enemy/40.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
0010D6 add.w ($42,A0), D1 [123p+ 40, enemy+40]
0010DA move.w D1, ($40,A0) [123p+ 42, enemy+42]
0010DE ext.l D1 [123p+ 40, enemy+40]
001102 ext.l D1 [enemy+40]
001590 lea ($20,A0), A0
007CD8 move.w D0, ($40,A0)
007CDC move.w #$ffc8, ($4a,A0)
007D20 add.w D1, ($4,A0)
011A96 clr.w ($76,A0) [123p+ 40, enemy+40]
011AAA add.w D1, ($4,A0) [123p+ 40, enemy+40]
011CA6 move.w D2, ($40,A0) [123p+ 4A, enemy+4A]
011CAA move.w D3, ($48,A0) [123p+ 40, enemy+40]
011CCC move.w ($40,A0), D1 [enemy+31]
011CD0 add.w D1, ($4,A0) [123p+ 40, enemy+40]
011CEA asr.w ($40,A0) [123p+ 48, enemy+48]
011CEE clr.l ($c,A0) [123p+ 40, enemy+40]
011D10 add.w D1, ($4,A0) [123p+ 40, enemy+40]
011D92 addq.b #2, ($2b,A0) [enemy+40]
011DB8 add.w D2, ($4,A0) [enemy+40]
011EBC move.w D2, ($40,A0) [enemy+4A]
011EC0 move.w D3, ($48,A0) [enemy+40]
011ED8 add.w D1, ($4,A0) [enemy+40]
011F0E asr.w ($40,A0) [enemy+48]
011F12 clr.l ($c,A0) [enemy+40]
011F3E add.w D1, ($4,A0) [enemy+40]
012024 addq.b #2, ($2b,A0) [123p+ 40, enemy+40]
012042 move.w ($40,A0), D1 [enemy+31]
012046 add.w D1, ($4,A0) [123p+ 40, enemy+40]
012072 add.w D1, ($4,A0) [123p+ 40, enemy+40]
012092 bmi $12098 [123p+ 40, enemy+40]
01209C move.w D2, ($40,A0) [123p+ 42, enemy+42]
0120A0 addq.b #2, ($2b,A0) [123p+ 40, enemy+40]
0120AE bne $120ba [123p+ 40, enemy+40]
01226C move.l (A2)+, (A3)+ [enemy+3C, enemy+3E]
01226E move.l (A2)+, (A3)+ [enemy+40, enemy+42]
012796 bmi $127a0 [enemy+40]
01A75E dbra D4, $1a75c
0256A2 move.w #$5d1, ($48,A0) [enemy+40]
0256C6 add.w D0, ($4,A0)
0258FC move.w #$14, ($c,A0) [enemy+40]
025940 add.w D0, ($4,A0) [enemy+40]
02595A move.w ($40,A0), D0 [enemy+D0]
02595E add.w D0, ($4,A0) [enemy+40]
025978 move.w ($40,A0), D0 [enemy+4A]
02597C add.w D0, ($4,A0) [enemy+40]
0259B6 add.w D0, ($4,A0) [enemy+40]
025BE4 beq $25bf6 [enemy+40]
0295B2 move.w ($40,A0), D1 [enemy+32]
0295B6 add.w D1, ($4,A0) [enemy+40]
02960A move.w #$50, ($7a,A0) [enemy+40]
0297E8 rts [enemy+40]
029822 move.w ($40,A0), D0 [enemy+2B]
029826 add.w D0, ($4,A0) [enemy+40]
02A91A move.w #$40, ($7a,A0) [enemy+40]
02A96E move.w ($40,A0), D1 [enemy+32]
02A972 add.w D1, ($4,A0) [enemy+40]
02A9C6 move.w #$50, ($7a,A0) [enemy+40]
02AB98 rts [enemy+40]
02ABD2 move.w ($40,A0), D0 [enemy+2B]
02ABD6 add.w D0, ($4,A0) [enemy+40]
02BD5C rts [enemy+40]
02BD98 move.w ($40,A0), D0 [enemy+2B]
02BD9C add.w D0, ($4,A0) [enemy+40]
032C0E move.w #$300, ($40,A0) [enemy+C2]
032C14 move.w #$ffe8, ($42,A0) [enemy+40]
032C50 ext.w D0 [enemy+40]
032C6C jsr $10d2.w [enemy+40]
032C74 eor.w D0, D6 [enemy+40]
032D00 move.w (A6), D0 [enemy+40]
032D66 move.w ($40,A0), D0 [enemy+C2]
032D6A asr.w #5, D0 [enemy+40]
032E1E move.w D2, ($48,A0) [enemy+40]
032E64 ext.l D1 [enemy+40]
032EA2 ext.l D1 [enemy+40]
033084 rts [enemy+40]
0330C0 move.w ($40,A0), D0 [enemy+2B]
0330C4 add.w D0, ($4,A0) [enemy+40]
036A5A move.w (A6), D0 [enemy+40]
036B48 asr.w #4, D0 [enemy+40]
036BEE move.w (A6)+, ($44,A0) [enemy+40]
036F4A move.b #$a, ($1f,A0) [enemy+40]
copyright zengfr site:http://github.com/zengfr/romhack
| 38.372093 | 54 | 0.595152 |
14cb2a72002b069ce78bd4970c7fd8932a860080 | 909 | asm | Assembly | programs/oeis/193/A193252.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/193/A193252.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/193/A193252.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A193252: Great rhombicuboctahedron with faces of centered polygons.
; 1,75,365,1015,2169,3971,6565,10095,14705,20539,27741,36455,46825,58995,73109,89311,107745,128555,151885,177879,206681,238435,273285,311375,352849,397851,446525,499015,555465,616019,680821,750015,823745,902155,985389,1073591,1166905,1265475,1369445,1478959,1594161,1715195,1842205,1975335,2114729,2260531,2412885,2571935,2737825,2910699,3090701,3277975,3472665,3674915,3884869,4102671,4328465,4562395,4804605,5055239,5314441,5582355,5859125,6144895,6439809,6744011,7057645,7380855,7713785,8056579,8409381,8772335,9145585,9529275,9923549,10328551,10744425,11171315,11609365,12058719,12519521,12991915,13476045,13972055,14480089,15000291,15532805,16077775,16635345,17205659,17788861,18385095,18994505,19617235,20253429,20903231,21566785,22244235,22935725,23641399
mul $0,2
add $0,1
mov $1,$0
mul $0,2
pow $1,3
mul $1,3
sub $1,$0
mov $0,$1
| 75.75 | 762 | 0.834983 |
a55f68b4682263a708dd06b8bcb09711f19b2bd0 | 532 | asm | Assembly | programs/oeis/144/A144519.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/144/A144519.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/144/A144519.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A144519: Triangular numbers n*(n+1)/2 with n prime and n+1 nonprime.
; 6,15,28,66,91,153,190,276,435,496,703,861,946,1128,1431,1770,1891,2278,2556,2701,3160,3486,4005,4753,5151,5356,5778,5995,6441,8128,8646,9453,9730,11175,11476,12403,13366,14028,15051,16110,16471,18336,18721,19503,19900,22366,24976,25878
add $0,1
cal $0,40 ; The prime numbers.
cal $0,134479 ; Row sums of triangle A134478.
mul $0,2
mov $1,$0
mov $0,2
cal $0,265104 ; a(n) = A265100(n+1) - 6, n >= 1.
add $0,$1
mul $0,2
mov $1,$0
sub $1,135
div $1,12
add $1,6
| 31.294118 | 237 | 0.697368 |
abf49bad066a673e6cb0b9063db97e0aac917445 | 144 | asm | Assembly | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/runed2.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/runed2.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/runed2.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: runed2.asm
Type: file
Size: 19055
Last-Modified: '1992-11-18T01:42:32Z'
SHA-1: D8069438A5423D5A97FD3E594E505B155D12855F
Description: null
| 20.571429 | 47 | 0.8125 |
749095e40a2eb368d03f632b322d214b71c34e49 | 4,409 | asm | Assembly | libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadSTMcompressedTileMapArea.c.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadSTMcompressedTileMapArea.c.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadSTMcompressedTileMapArea.c.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_loadSTMcompressedTileMapArea
asm_SMSlib_loadSTMcompressedTileMapArea:
; void SMS_loadSTMcompressedTileMapArea (unsigned char x, unsigned char y, unsigned char *src, unsigned char width)
; compiled from c
push ix
ld ix,0
add ix,sp
ld hl,-15
add hl,sp
ld sp,hl
ld a,0x00
ld (ix-10),a
ld (ix-9),a
ld hl,0x0000
ex (sp), hl
ld l,(ix+5)
xor a,a
ld h,a
srl h
rr l
rra
srl h
rr l
rra
ld h,l
ld l,a
ld a,h
or a,0x78
ld c,l
ld b,a
ld l,(ix+4)
ld h,0x00
add hl, hl
ld a,c
or a, l
ld e,a
ld a,b
or a, h
ld d,a
ld a,(ix+8)
ld (ix-7),a
ld (ix-13),a
ld (ix-11),0x00
ld l, e
ld h, d
INCLUDE "SMS_CRT0_RST08.inc"
l_SMS_loadSTMcompressedTileMapArea_00134:
ld c,(ix+6)
ld b,(ix+7)
ld a,(bc)
ld (ix-12),a
inc bc
ld (ix+6),c
ld (ix+7),b
ld (ix-5),c
ld (ix-4),b
ld a,(ix-12)
and a,0x02
ld (ix-8),a
ld a,(ix-12)
rrca
rrca
and a,0x3f
ld (ix-6),a
bit 0,(ix-12)
jp Z,l_SMS_loadSTMcompressedTileMapArea_00129
ld (ix-3),0x00
ld a,(ix-9)
ld (ix-2),a
ld c,(ix-5)
ld b,(ix-4)
inc bc
ld l,(ix-5)
ld h,(ix-4)
ld l,(hl)
ld a,(ix-6)
add a,0x02
ld (ix-1),a
ld h,0x00
ld a,l
or a,(ix-3)
ld l,a
ld a,h
or a,(ix-2)
ld h,a
ld a,(ix-8)
or a, a
jr Z,l_SMS_loadSTMcompressedTileMapArea_00114
ld (ix+6),c
ld (ix+7),b
ld a,(ix-1)
ld (ix-3),a
ld c,l
ld b,h
l_SMS_loadSTMcompressedTileMapArea_00105:
ld a,(ix-3)
or a, a
jp Z,l_SMS_loadSTMcompressedTileMapArea_00156
ld l, c
ld h, b
INCLUDE "SMS_CRT0_RST18.inc"
dec (ix-13)
ld a,(ix-13)
or a, a
jr NZ,l_SMS_loadSTMcompressedTileMapArea_00102
ld hl,0x0040
add hl,de
ex de,hl
push bc
ld l, e
ld h, d
INCLUDE "SMS_CRT0_RST08.inc"
pop bc
ld a,(ix-7)
ld (ix-13),a
l_SMS_loadSTMcompressedTileMapArea_00102:
ld a,0x01
sub a,(ix-3)
jr NC,l_SMS_loadSTMcompressedTileMapArea_00104
inc bc
l_SMS_loadSTMcompressedTileMapArea_00104:
dec (ix-3)
jr l_SMS_loadSTMcompressedTileMapArea_00105
l_SMS_loadSTMcompressedTileMapArea_00114:
ld (ix+6),c
ld (ix+7),b
ld (ix-10),l
ld (ix-9),h
ld b,(ix-1)
l_SMS_loadSTMcompressedTileMapArea_00110:
ld a,b
or a, a
jp Z,l_SMS_loadSTMcompressedTileMapArea_00157
ld l,(ix-10)
ld h,(ix-9)
INCLUDE "SMS_CRT0_RST18.inc"
dec (ix-13)
ld a,(ix-13)
or a, a
jr NZ,l_SMS_loadSTMcompressedTileMapArea_00109
ld hl,0x0040
add hl,de
ld e,l
ld d,h
INCLUDE "SMS_CRT0_RST08.inc"
ld a,(ix-7)
ld (ix-13),a
l_SMS_loadSTMcompressedTileMapArea_00109:
dec b
jr l_SMS_loadSTMcompressedTileMapArea_00110
l_SMS_loadSTMcompressedTileMapArea_00129:
ld a,(ix-8)
or a, a
jr Z,l_SMS_loadSTMcompressedTileMapArea_00126
bit 2,(ix-12)
jr Z,l_SMS_loadSTMcompressedTileMapArea_00117
ld a,(ix-10)
ld (ix-15),a
ld a,(ix-9)
ld (ix-14),a
ld (ix-11),0x01
l_SMS_loadSTMcompressedTileMapArea_00117:
ld c,(ix-12)
srl c
srl c
srl c
ld (ix-9),c
ld (ix-10),0x00
jp l_SMS_loadSTMcompressedTileMapArea_00134
l_SMS_loadSTMcompressedTileMapArea_00126:
ld l,(ix-6)
ld a,l
or a, a
jr Z,l_SMS_loadSTMcompressedTileMapArea_00138
ld a,(ix-9)
ld (ix-3),a
ld (ix-2),0x00
ld c,(ix-5)
ld b,(ix-4)
ld (ix-1),l
l_SMS_loadSTMcompressedTileMapArea_00122:
ld a,(ix-1)
or a, a
jr Z,l_SMS_loadSTMcompressedTileMapArea_00158
ld a,(bc)
out (VDPDataPort),a
inc bc
nop
nop
nop
ld a,(ix-3)
out (VDPDataPort),a
dec (ix-13)
ld a,(ix-13)
or a, a
jr NZ,l_SMS_loadSTMcompressedTileMapArea_00121
ld hl,0x0040
add hl,de
ex de,hl
push bc
ld l, e
ld h, d
INCLUDE "SMS_CRT0_RST08.inc"
pop bc
ld a,(ix-7)
ld (ix-13),a
l_SMS_loadSTMcompressedTileMapArea_00121:
dec (ix-1)
jr l_SMS_loadSTMcompressedTileMapArea_00122
l_SMS_loadSTMcompressedTileMapArea_00156:
ld (ix-10),c
ld (ix-9),b
jr l_SMS_loadSTMcompressedTileMapArea_00130
l_SMS_loadSTMcompressedTileMapArea_00157:
jr l_SMS_loadSTMcompressedTileMapArea_00130
l_SMS_loadSTMcompressedTileMapArea_00158:
ld (ix+6),c
ld (ix+7),b
l_SMS_loadSTMcompressedTileMapArea_00130:
bit 0,(ix-11)
jp Z,l_SMS_loadSTMcompressedTileMapArea_00134
ld a,(ix-15)
ld (ix-10),a
ld a,(ix-14)
ld (ix-9),a
ld (ix-11),0x00
jp l_SMS_loadSTMcompressedTileMapArea_00134
l_SMS_loadSTMcompressedTileMapArea_00138:
ld sp, ix
pop ix
ret
| 17.995918 | 118 | 0.699025 |
0ec19a29ef988c73d7bba4c50ee21b971df779fd | 5,232 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1181.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1181.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1181.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13ac2, %r10
nop
nop
cmp $24299, %r12
vmovups (%r10), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r15
nop
inc %r9
lea addresses_WC_ht+0x19ec2, %r13
and $22496, %r14
mov (%r13), %ebp
xor $33759, %r14
lea addresses_WT_ht+0x1eac7, %rsi
lea addresses_D_ht+0x19d42, %rdi
nop
nop
and $46487, %rbp
mov $52, %rcx
rep movsq
nop
nop
nop
xor $557, %r12
lea addresses_WT_ht+0x18d82, %rsi
lea addresses_normal_ht+0x9c2, %rdi
nop
xor %r12, %r12
mov $84, %rcx
rep movsl
nop
nop
dec %rbp
lea addresses_normal_ht+0xccc2, %rsi
lea addresses_normal_ht+0x897a, %rdi
nop
sub %r15, %r15
mov $43, %rcx
rep movsb
nop
nop
nop
dec %r14
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r15
pop %r14
pop %r13
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r15
push %r8
push %rax
push %rdx
push %rsi
// Faulty Load
lea addresses_WC+0x81c2, %r11
nop
nop
nop
sub $59475, %r8
mov (%r11), %rsi
lea oracles, %r8
and $0xff, %rsi
shlq $12, %rsi
mov (%r8,%rsi,1), %rsi
pop %rsi
pop %rdx
pop %rax
pop %r8
pop %r15
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_normal_ht'}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 47.135135 | 2,999 | 0.662844 |
2128fbeed4321fd4483690b8211c6a36ead549f9 | 1,676 | asm | Assembly | release/src/router/gmp/source/mpn/pa32/lshift.asm | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 184 | 2020-04-15T14:28:37.000Z | 2020-09-22T15:57:55.000Z | release/src/router/gmp/source/mpn/pa32/lshift.asm | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 8 | 2019-12-19T19:34:56.000Z | 2022-03-10T10:11:28.000Z | release/src/router/gmp/source/mpn/pa32/lshift.asm | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 5 | 2020-04-21T19:50:23.000Z | 2020-09-22T10:58:02.000Z | dnl HP-PA mpn_lshift -- Shift a number left.
dnl Copyright 1992, 1994, 2000, 2001, 2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by the Free Software Foundation; either version 3 of the License, or (at
dnl your option) any later version.
dnl The GNU MP Library is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
dnl License for more details.
dnl You should have received a copy of the GNU Lesser General Public License
dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
include(`../config.m4')
C INPUT PARAMETERS
C res_ptr gr26
C s_ptr gr25
C size gr24
C cnt gr23
ASM_START()
PROLOGUE(mpn_lshift)
sh2add %r24,%r25,%r25
sh2add %r24,%r26,%r26
ldws,mb -4(0,%r25),%r22
subi 32,%r23,%r1
mtsar %r1
addib,= -1,%r24,L(0004)
vshd %r0,%r22,%r28 C compute carry out limb
ldws,mb -4(0,%r25),%r29
addib,= -1,%r24,L(0002)
vshd %r22,%r29,%r20
LDEF(loop)
ldws,mb -4(0,%r25),%r22
stws,mb %r20,-4(0,%r26)
addib,= -1,%r24,L(0003)
vshd %r29,%r22,%r20
ldws,mb -4(0,%r25),%r29
stws,mb %r20,-4(0,%r26)
addib,<> -1,%r24,L(loop)
vshd %r22,%r29,%r20
LDEF(0002)
stws,mb %r20,-4(0,%r26)
vshd %r29,%r0,%r20
bv 0(%r2)
stw %r20,-4(0,%r26)
LDEF(0003)
stws,mb %r20,-4(0,%r26)
LDEF(0004)
vshd %r22,%r0,%r20
bv 0(%r2)
stw %r20,-4(0,%r26)
EPILOGUE()
| 25.784615 | 79 | 0.686158 |
d61d90176abb9f7819ae0914d9931e4172edd957 | 297 | asm | Assembly | oeis/040/A040756.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/040/A040756.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/040/A040756.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A040756: Continued fraction for sqrt(785).
; Submitted by Christian Krause
; 28,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56
min $0,1
add $0,1
mul $0,28
| 37.125 | 190 | 0.680135 |
c62d299eb1abc90645c93f2ad27e497826665bc1 | 644 | asm | Assembly | oeis/054/A054489.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/054/A054489.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/054/A054489.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A054489: Expansion of (1+4*x)/(1-6*x+x^2).
; 1,10,59,344,2005,11686,68111,396980,2313769,13485634,78600035,458114576,2670087421,15562409950,90704372279,528663823724,3081278570065,17959007596666,104672767009931,610077594462920,3555792799767589,20724679204142614,120792282425088095,704029015346385956,4103381809653227641,23916261842572979890,139394189245784651699,812448873632134930304,4735299052547024930125,27599345441650014650446,160860773597353062972551,937565296142468363184860,5464531003257457116136609,31849620723402274333634794
mov $1,4
mov $2,7
lpb $0
sub $0,1
add $1,$2
add $2,$1
add $2,$1
add $1,$2
lpe
div $1,4
mov $0,$1
| 42.933333 | 490 | 0.82764 |
cc7ca9ac9fc9b7f2dc89e2d379d9c1b3eda24679 | 1,227 | asm | Assembly | Borland/CBuilder5/Source/Vcl/rename.asm | TrevorDArcyEvans/DivingMagpieSoftware | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | 1 | 2021-05-27T10:27:25.000Z | 2021-05-27T10:27:25.000Z | Borland/CBuilder5/Source/Vcl/rename.asm | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | Borland/CBuilder5/Source/Vcl/rename.asm | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null |
; *******************************************************
; * *
; * Delphi Runtime Library *
; * *
; * Copyright (c) 1996,98 Inprise Corporation *
; * *
; *******************************************************
INCLUDE SE.ASM
INCLUDE FILEIO.ASM
.386
.MODEL FLAT
EXTRN MoveFileA:NEAR, GetLastError:NEAR, __PasToCStr:NEAR, SetInOutRes:NEAR
PUBLIC _Rename
.CODE
; PROCEDURE _Rename( f: Text or File; newName: PChar );
_Rename PROC
; -> EAX Pointer to file variable
; EDX Pointer to new name
CMP [EAX].Mode,fmClosed
JNE @@notAssigned
TEST EDX,EDX
JNE @@notNull
MOV EDX,offset @@nullByte
@@notNull:
LEA EAX,[EAX].FileName
PUSH EDX ; save new name
PUSH EAX ; save old name
PUSH EDX
PUSH EAX
CALL MoveFileA
DEC EAX
POP EAX ; restore old name
POP EDX ; restore new name
JNZ @@error
MOV CH,fNameLen / 2
@@loop:
MOV CL,[EDX]
INC EDX
MOV [EAX],CL
INC EAX
TEST CL,CL
JE @@exit
MOV CL,[EDX]
INC EDX
MOV [EAX],CL
INC EAX
TEST CL,CL
JE @@exit
DEC CH
JNE @@loop
MOV [EAX],CH
@@exit:
RET
@@error:
CALL GetLastError
@@errExit:
JMP SetInOutRes
@@notAssigned:
MOV EAX,102
JMP @@errExit
@@nullByte:
db 0
_Rename ENDP
END
| 13.943182 | 76 | 0.576202 |
51151bdaaeb01e74638f817e15dfd167bc22a163 | 2,931 | asm | Assembly | examples/x86/life.asm | hfutxqd/fasmg | 3d723e3b3c5f50716873f6f6a2d522c89592d723 | [
"BSD-3-Clause"
] | 2 | 2019-12-05T02:28:51.000Z | 2022-01-21T05:31:59.000Z | external/fasmg/examples/x86/life.asm | hpdporg/hpdp | 1ef4c2718cf920223d5cc566eb72c136b2706c48 | [
"BSD-3-Clause"
] | null | null | null | external/fasmg/examples/x86/life.asm | hpdporg/hpdp | 1ef4c2718cf920223d5cc566eb72c136b2706c48 | [
"BSD-3-Clause"
] | null | null | null |
; Life - fasm example program
; Controls:
; arrow keys - move cursor
; Space - switch cell
; Enter - move to next generation
; Esc - exit program
include '80186.inc'
org 100h
jumps
mov di,screen_data
xor al,al
mov cx,80*50*2
rep stosb
mov ax,3
int 10h ; set text mode
mov ah,1
mov ch,20h
int 10h ; hide cursor
mov ax,1003h
xor bx,bx
int 10h ; enable background intensity
mov ax,1100h
mov bp,DCh_pattern
mov cx,1
mov dx,0DCh
mov bx,1000h
int 10h
mov ax,0B800h
mov es,ax
xor di,di
mov ax,0DCh
mov cx,80*25
rep stosw
redraw_screen:
mov si,[cursor_y]
imul si,80
add si,[cursor_x]
and byte [screen_data+si],8
or byte [screen_data+si],2
mov si,screen_data
xor di,di
mov cx,50
draw_screen:
push cx
mov cx,80
draw_line:
mov ah,[si+80]
lodsb
shl al,4
and ah,0Fh
or al,ah
inc di
stosb
loop draw_line
pop cx
add si,80
loop draw_screen
wait_for_key:
xor ah,ah
int 16h
cmp ah,1
je exit
cmp ah,1Ch
je next_generation
cmp ah,39h
je switch_cell
cmp ah,4Bh
je cursor_left
cmp ah,4Dh
je cursor_right
cmp ah,48h
je cursor_up
cmp ah,50h
je cursor_down
jmp wait_for_key
switch_cell:
mov si,[cursor_y]
imul si,80
add si,[cursor_x]
xor byte [screen_data+si],8
jmp redraw_screen
cursor_left:
cmp [cursor_x],1
jbe wait_for_key
call clear_cursor
dec [cursor_x]
jmp redraw_screen
cursor_right:
cmp [cursor_x],78
jae wait_for_key
call clear_cursor
inc [cursor_x]
jmp redraw_screen
cursor_up:
cmp [cursor_y],1
jbe wait_for_key
call clear_cursor
dec [cursor_y]
jmp redraw_screen
cursor_down:
cmp [cursor_y],48
jae wait_for_key
call clear_cursor
inc [cursor_y]
jmp redraw_screen
next_generation:
call clear_cursor
mov si,screen_data+81
mov di,screen_data+80*50+81
mov cx,48
process_screen:
push cx
mov cx,78
process_line:
xor bl,bl
mov al,[si+1]
and al,1
add bl,al
mov al,[si-1]
and al,1
add bl,al
mov al,[si+80]
and al,1
add bl,al
mov al,[si-80]
and al,1
add bl,al
mov al,[si+80+1]
and al,1
add bl,al
mov al,[si+80-1]
and al,1
add bl,al
mov al,[si-80+1]
and al,1
add bl,al
mov al,[si-80-1]
and al,1
add bl,al
mov al,byte [si]
mov byte [di],al
cmp bl,1
jbe clear_cell
cmp bl,4
jae clear_cell
cmp bl,2
je cell_ok
mov byte [di],0Fh
jmp cell_ok
clear_cell:
mov byte [di],0
cell_ok:
inc si
inc di
loop process_line
pop cx
add si,2
add di,2
loop process_screen
push es
push ds
pop es
mov si,screen_data+80*50
mov di,screen_data
mov cx,80*50
rep movsb
pop es
jmp redraw_screen
exit:
mov ax,3
int 10h
int 20h
clear_cursor:
mov si,[cursor_y]
imul si,80
add si,[cursor_x]
mov al,byte [screen_data+si]
cmp al,2
je empty_cell
mov byte [screen_data+si],0Fh
ret
empty_cell:
mov byte [screen_data+si],0
ret
cursor_x dw 40
cursor_y dw 25
DCh_pattern:
db 8 dup 0
db 8 dup 0FFh
screen_data rb 80*50*2
| 13.957143 | 40 | 0.688843 |
514766e3d280fc73830a929540ac09e370e84369 | 13,923 | asm | Assembly | s2/music-improved/88 - CNZ 2P.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 9 | 2017-10-09T20:28:45.000Z | 2021-06-29T21:19:20.000Z | s2/music-improved/88 - CNZ 2P.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 12 | 2018-08-01T13:52:20.000Z | 2022-02-21T02:19:37.000Z | s2/music-improved/88 - CNZ 2P.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 2 | 2018-02-17T19:50:36.000Z | 2019-10-30T19:28:06.000Z | CNZ_2p_Header:
smpsHeaderStartSong 2
smpsHeaderVoice CNZ_2p_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $BD
smpsHeaderDAC CNZ_2p_DAC
smpsHeaderFM CNZ_2p_FM1, $F4, $06
smpsHeaderFM CNZ_2p_FM2, $F4, $0D
smpsHeaderFM CNZ_2p_FM3, $F4, $10
smpsHeaderFM CNZ_2p_FM4, $E8, $0E
smpsHeaderFM CNZ_2p_FM5, $F4, $10
smpsHeaderPSG CNZ_2p_PSG1, $D0, $04, $00, $00
smpsHeaderPSG CNZ_2p_PSG2, $D0, $04, $00, $00
smpsHeaderPSG CNZ_2p_PSG3, $C4, $05, $00, $00
; FM1 Data
CNZ_2p_FM1:
smpsSetvoice $00
dc.b nA3, $06, nRst, nA3, nRst, nB3, nRst, nB3, nRst, nC4, nRst, nC4
dc.b nRst, nCs4, nRst, nCs4, nRst
CNZ_2p_Loop0B:
dc.b nD3, $09, nA3, $03, nD4, $06, nRst, nC4, nRst, nB3, $0C, nC4
dc.b $06, nRst, $2A, nG3, $06, nRst, nG3, nRst, nA3, nRst, nA3, nRst
dc.b nBb3, nRst, $2A
smpsLoop $00, $02, CNZ_2p_Loop0B
smpsCall CNZ_2p_Call0C
dc.b nD3, $0C, nD4, $06, nRst, nC4, nRst, nD4, $0C, nD3, $03, nRst
dc.b $06, nD3, $03, nD4, $0C, nC4, nD4, nG3, $06, nRst, nG3, $0C
dc.b nA3, $06, nRst, nA3, $0C, nBb3, $06, nRst, $2A
smpsCall CNZ_2p_Call0C
dc.b nD3, $0C, nD4, $06, nRst, nC4, nRst, nD4, $0C, nD3, $03, nRst
dc.b $06, nD3, $03, nD4, $0C, nC4, nD4, $09, nA4, $03, nG3, $06
dc.b nRst, nG3, $0C, nA3, $06, nRst, nA3, $0C, nBb3, $06, nRst, $2A
smpsAlterVol $FE
CNZ_2p_Loop0C:
dc.b nC4, $06, nRst, nC4, nRst, nB3, nRst, nBb3, nRst, nA3, nRst, nA3
dc.b nRst, nE4, nRst, nA3, nRst, nD4, nRst, nA3, nRst, nC4, nRst, nCs4
dc.b nRst, nD4, $09, nD4, $03, nA3, $06, nRst, nC4, nRst, nD4, nRst
smpsLoop $00, $03, CNZ_2p_Loop0C
dc.b nC4, $06, nRst, nC4, nRst, nB3, nRst, nBb3, nRst, nA3, nRst, nA3
dc.b nRst, nE4, nRst, nA3, nRst, nRst, $09, nD3, $03, nD4, $0C, nD3
dc.b nD4, $06, nRst, $03, nD3, $06, nRst, $2D
smpsAlterVol $02
smpsJump CNZ_2p_Loop0B
CNZ_2p_Call0C:
dc.b nD3, $0C, nD4, $06, nRst, nC4, nRst, nD4, $0C, nD3, $03, nRst
dc.b $06, nD3, $03, nD4, $0C, nC4, nD4, $09, nA3, $03, nG3, $06
dc.b nRst, nG3, $0C, nA3, $06, nRst, nA3, $0C, nBb3, $06, nRst, $27
dc.b nC4, $03
smpsReturn
; FM2 Data
CNZ_2p_FM2:
smpsSetvoice $01
smpsCall CNZ_2p_Call05
CNZ_2p_Loop08:
smpsCall CNZ_2p_Call06
smpsLoop $00, $02, CNZ_2p_Loop08
smpsSetvoice $03
smpsAlterNote $02
smpsAlterVol $07
CNZ_2p_Loop09:
smpsCall CNZ_2p_Call07
smpsLoop $00, $02, CNZ_2p_Loop09
CNZ_2p_Loop0A:
smpsCall CNZ_2p_Call08
smpsLoop $00, $02, CNZ_2p_Loop0A
smpsSetvoice $01
smpsAlterNote $00
smpsAlterVol $F9
smpsCall CNZ_2p_Call0A
smpsCall CNZ_2p_Call0B
smpsJump CNZ_2p_Loop08
CNZ_2p_Call0A:
dc.b nRst, $09, nG6, $0F, nE6, $06, nRst, nC6, nRst, nF6, $18, nE6
dc.b nD6, $06, nRst, nD6, nRst, nC6, $09, nD6, $06, nRst, nA5, $33
dc.b nRst, $09, nG6, $0F, nE6, $06, nRst, nC6, nRst, nF6, $18, nE6
dc.b nRst, $0C, nD6, $06, nRst, nE6, $09, nD6, $06, nRst, nF6, $33
smpsReturn
CNZ_2p_Call0B:
dc.b nRst, $09, nG6, $0F, nE6, $06, nRst, nC6, nRst, nF6, $18, nE6
dc.b nD6, $06, nRst, nD6, nRst, nC6, $09, nD6, $06, nRst, nA5, $33
dc.b nRst, $09, nG6, $0F, nE6, $06, nRst, nC6, nRst, nF6, $18, nE6
dc.b nRst, $09, nD6, $0F, nF6, $06, nRst, nE6, nRst, $03, nD6, $06
dc.b nRst, $2D
smpsReturn
CNZ_2p_Call05:
dc.b nA6, $06, nRst, $12, nA6, $15, nE6, $03, nA6, $06, nRst, nG6
dc.b nRst, nF6, nRst, nE6, nRst
smpsReturn
CNZ_2p_Call06:
dc.b nC6, $09, nD6, $06, nRst, nD6, nRst, nD6, $03, nC6, $0C, nF6
dc.b $06, nRst, nD6, $24, nRst, $60
smpsReturn
; FM3 Data
CNZ_2p_FM3:
smpsSetvoice $02
dc.b nRst, $60
CNZ_2p_Loop06:
dc.b nRst, $60, nRst, $3C, nF6, $09, nE6, $03, nF6, $09, nE6, $03
dc.b nF6, $06, nRst
smpsLoop $00, $02, CNZ_2p_Loop06
smpsAlterVol $04
smpsPan panRight, $00
CNZ_2p_Loop07:
dc.b nRst, $60, nRst, $30, nA5, $06, nRst, nF5, $0C, nG5, $09, nF5
dc.b $03, nD5, $0C, nRst, $60, nRst, $30, nA5, $06, nRst, nF5, $0C
dc.b nG5, $09, nA5, $03, nRst, $0C
smpsLoop $00, $02, CNZ_2p_Loop07
smpsAlterVol $FC
smpsPan panCenter, $00
smpsSetvoice $01
smpsAlterNote $02
smpsAlterPitch $F4
smpsAlterVol $FF
smpsCall CNZ_2p_Call0A
smpsCall CNZ_2p_Call0B
smpsSetvoice $02
smpsAlterNote $00
smpsAlterPitch $0C
smpsAlterVol $01
smpsJump CNZ_2p_Loop06
; FM4 Data
CNZ_2p_FM4:
smpsSetvoice $01
smpsAlterNote $02
smpsCall CNZ_2p_Call05
CNZ_2p_Loop03:
smpsCall CNZ_2p_Call06
smpsLoop $00, $02, CNZ_2p_Loop03
smpsSetvoice $03
smpsAlterNote $00
smpsAlterPitch $0C
smpsAlterVol $04
smpsModSet $01, $01, $03, $03
CNZ_2p_Loop04:
smpsCall CNZ_2p_Call07
smpsLoop $00, $02, CNZ_2p_Loop04
CNZ_2p_Loop05:
smpsCall CNZ_2p_Call08
smpsLoop $00, $02, CNZ_2p_Loop05
smpsSetvoice $01
smpsCall CNZ_2p_Call09
dc.b nEb5, $03, smpsNoAttack, nE5, $2D, nEb5, $03, smpsNoAttack, nE5, $2D
smpsPan panLeft, $00
dc.b nRst, $0C, nF5, $06, nRst, nG5, $09, nF5, $06, nRst, nA5, $2D
dc.b nRst, $06
smpsCall CNZ_2p_Call09
dc.b nEb5, $03, smpsNoAttack, nE5, $2D, nEb5, $03, smpsNoAttack, nE5, $2D
smpsPan panLeft, $00
dc.b nRst, $09, nF5, nRst, $06, nF5, $09, nRst, $0C, nF5, $06, nRst
dc.b $2D
smpsAlterNote $02
smpsAlterPitch $F4
smpsAlterVol $FC
smpsPan panCenter, $00
smpsModOff
smpsJump CNZ_2p_Loop03
CNZ_2p_Call09:
smpsPan panCenter, $00
dc.b nEb5, $03, smpsNoAttack, nE5, $2D, nEb5, $03, smpsNoAttack, nE5, $2D
smpsPan panLeft, $00
dc.b nF5, $06, nRst, nF5, nRst, nE5, $09, nF5, $06, nRst, nF5, $0C
dc.b nE5, $03, nF5, $06, nRst, nE5, $09, nF5, $06, nRst, $09
smpsPan panCenter, $00
smpsReturn
CNZ_2p_Call07:
dc.b nF6, $15, nE6, $03, nD6, $06, nRst, nC6, $0C, nE6, $06, nRst
dc.b nC6, $0C, nD6, $06, nRst, $12, nRst, $60
smpsReturn
CNZ_2p_Call08:
dc.b nA6, $15, nG6, $03, nF6, $06, nRst, nE6, $0C, nG6, $06, nRst
dc.b nE6, $0C, nF6, $06, nRst, $12, nRst, $60
smpsReturn
; FM5 Data
CNZ_2p_FM5:
smpsSetvoice $02
dc.b nRst, $60
smpsPan panRight, $00
CNZ_2p_Loop02:
dc.b nRst, $60, nRst, $3C, nD6, $09, nC6, $03, nD6, $09, nC6, $03
dc.b nD6, $06, nRst
smpsLoop $00, $02, CNZ_2p_Loop02
smpsSetvoice $04
smpsPan panCenter, $00
dc.b nRst, $60
smpsCall CNZ_2p_Call01
dc.b nRst, $60
smpsCall CNZ_2p_Call02
smpsSetvoice $03
smpsAlterVol $02
smpsPan panLeft, $00
smpsModSet $01, $01, $03, $03
smpsCall CNZ_2p_Call03
smpsSetvoice $04
smpsAlterVol $FC
smpsPan panCenter, $00
smpsCall CNZ_2p_Call01
smpsSetvoice $03
smpsPan panLeft, $00
smpsAlterVol $04
smpsCall CNZ_2p_Call03
smpsSetvoice $04
smpsAlterVol $FC
smpsPan panCenter, $00
smpsCall CNZ_2p_Call02
smpsAlterVol $04
smpsSetvoice $01
smpsCall CNZ_2p_Call04
dc.b nB4, $03, smpsNoAttack, nC5, $2D, nC5, $03, smpsNoAttack, nCs5, $2D
smpsPan panRight, $00
dc.b nRst, $0C, nD5, $06, nRst, nE5, $09, nD5, $03, nRst, $09, nF5
dc.b $2D, nRst, $06
smpsCall CNZ_2p_Call04
dc.b nB4, $03, smpsNoAttack, nC5, $2D, nC5, $03, smpsNoAttack, nCs5, $2D
smpsPan panRight, $00
dc.b nRst, $09, nD5, nRst, $06, nD5, $09, nRst, $0C, nD5, $06, nRst
dc.b $2D
smpsSetvoice $02
smpsPan panRight, $00
smpsAlterVol $FE
smpsModOff
smpsJump CNZ_2p_Loop02
CNZ_2p_Call04:
smpsPan panCenter, $00
dc.b nB4, $03, smpsNoAttack, nC5, $2D, nC5, $03, smpsNoAttack, nCs5, $2D
smpsPan panRight, $00
dc.b nD5, $06, nRst, nD5, nRst, nC5, $09, nD5, $06, nRst, nD5, $0C
dc.b nC5, $03, nD5, $06, nRst, nC5, $09, nD5, $06, nRst, $09
smpsPan panCenter, $00
smpsReturn
CNZ_2p_Call01:
dc.b nG3, $06, nRst, nG3, $0C, nA3, $06, nRst, nA3, $0C, nBb3, $06
dc.b nRst, $27, nC4, $03
smpsReturn
CNZ_2p_Call03:
dc.b nF6, $15, nE6, $03, nD6, $06, nRst, nC6, $0C, nE6, $06, nRst
dc.b nC6, $0C, nD6, $06, nRst, $12
smpsReturn
CNZ_2p_Call02:
dc.b nG3, $06, nRst, nG3, $0C, nA3, $06, nRst, nA3, $0C, nBb3, $06
dc.b nRst, $2A
smpsReturn
; PSG1 Data
CNZ_2p_PSG1:
dc.b nRst, $60
smpsNoteFill $06
CNZ_2p_Loop10:
dc.b nRst, $0C, nF5, nRst, nF5, nRst, nF5, nRst, nF5, nRst, nD5, nRst
dc.b nD5, nRst, nD5, nRst, nD5
smpsLoop $00, $02, CNZ_2p_Loop10
dc.b nRst, $60, nRst, $0C, nF5, nRst, nF5, nRst, nF5, nRst, nF5, nRst
dc.b $60, nRst, $0C, nF5, nRst, nF5, nRst, nF5, $04, nRst, nF5, nRst
dc.b $0C, nF5
CNZ_2p_Loop11:
dc.b nRst, $60, nRst, $0C, nF5, nRst, nF5, nRst, nF5, nRst, nF5
smpsLoop $00, $02, CNZ_2p_Loop11
CNZ_2p_Loop12:
dc.b nRst, $0C, nC6, nRst, nC6, nRst, nCs6, nRst, nCs6, nRst, nD6, nRst
dc.b nD6, nRst, nD6, nRst, nD6
smpsLoop $00, $03, CNZ_2p_Loop12
dc.b nRst, $0C, nC6, nRst, nC6, nRst, nCs6, nRst, nCs6, nRst, $60
smpsJump CNZ_2p_Loop10
; PSG2 Data
CNZ_2p_PSG2:
dc.b nRst, $60
smpsNoteFill $06
CNZ_2p_Loop0D:
dc.b nRst, $0C, nD5, nRst, nD5, nRst, nD5, nRst, nD5, nRst, nBb4, nRst
dc.b nBb4, nRst, nBb4, nRst, nBb4
smpsLoop $00, $02, CNZ_2p_Loop0D
dc.b nRst, $60, nRst, $0C, nD5, nRst, nD5, nRst, nD5, nRst, nD5, nRst
dc.b $60, nRst, $0C, nD5, nRst, nD5, nRst, nD5, $04, nRst, nD5, nRst
dc.b $0C, nD5
CNZ_2p_Loop0E:
dc.b nRst, $60, nRst, $0C, nD5, nRst, nD5, nRst, nD5, nRst, nD5
smpsLoop $00, $02, CNZ_2p_Loop0E
CNZ_2p_Loop0F:
dc.b nRst, $0C, nA5, nRst, nA5, nRst, nA5, nRst, nA5, nRst, nA5, nRst
dc.b nA5, nRst, nA5, nRst, nA5
smpsLoop $00, $03, CNZ_2p_Loop0F
dc.b nRst, $0C, nA5, nRst, nA5, nRst, nA5, nRst, nA5, nRst, $60
smpsJump CNZ_2p_Loop0D
; PSG3 Data
CNZ_2p_PSG3:
smpsJump CNZ_2p_PSG1
; DAC Data
CNZ_2p_DAC:
dc.b nRst, $0C, dSnare, dKick, dSnare, dSnare, dSnare, dSnare, dSnare
CNZ_2p_Loop00:
smpsCall CNZ_2p_Call00
smpsLoop $00, $03, CNZ_2p_Loop00
dc.b dKick, $09, dKick, $03, $0C, dSnare, dKick, dKick, $15, dSnare, $03, $18
CNZ_2p_Loop01:
smpsCall CNZ_2p_Call00
smpsLoop $00, $0F, CNZ_2p_Loop01
dc.b nRst, $09, dKick, $0F, dSnare, $0C, dKick, $09, dSnare, $1B, $0C, $09
dc.b $03
smpsJump CNZ_2p_Loop00
CNZ_2p_Call00:
dc.b dKick, $09, dKick, $03, $0C, dSnare, dKick, dKick, $18, dSnare
smpsReturn
CNZ_2p_Voices:
; Voice $00
; $08
; $09, $70, $30, $00, $1F, $1F, $5F, $5F, $12, $0E, $0A, $0A
; $00, $04, $04, $03, $2F, $2F, $2F, $2F, $25, $30, $13, $80
smpsVcAlgorithm $00
smpsVcFeedback $01
smpsVcUnusedBits $00
smpsVcDetune $00, $03, $07, $00
smpsVcCoarseFreq $00, $00, $00, $09
smpsVcRateScale $01, $01, $00, $00
smpsVcAttackRate $1F, $1F, $1F, $1F
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $0A, $0A, $0E, $12
smpsVcDecayRate2 $03, $04, $04, $00
smpsVcDecayLevel $02, $02, $02, $02
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $13, $30, $25
; Voice $01
; $3A
; $01, $07, $01, $01, $8E, $8E, $8D, $53, $0E, $0E, $0E, $03
; $00, $00, $00, $00, $1F, $FF, $1F, $0F, $17, $28, $27, $80
smpsVcAlgorithm $02
smpsVcFeedback $07
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $00, $00
smpsVcCoarseFreq $01, $01, $07, $01
smpsVcRateScale $01, $02, $02, $02
smpsVcAttackRate $13, $0D, $0E, $0E
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $03, $0E, $0E, $0E
smpsVcDecayRate2 $00, $00, $00, $00
smpsVcDecayLevel $00, $01, $0F, $01
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $27, $28, $17
; Voice $02
; $3A
; $03, $08, $03, $01, $8E, $8E, $8D, $53, $0E, $0E, $0E, $03
; $00, $00, $00, $00, $1F, $FF, $1F, $0F, $17, $28, $20, $80
smpsVcAlgorithm $02
smpsVcFeedback $07
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $00, $00
smpsVcCoarseFreq $01, $03, $08, $03
smpsVcRateScale $01, $02, $02, $02
smpsVcAttackRate $13, $0D, $0E, $0E
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $03, $0E, $0E, $0E
smpsVcDecayRate2 $00, $00, $00, $00
smpsVcDecayLevel $00, $01, $0F, $01
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $20, $28, $17
; Voice $03
; $3A
; $01, $07, $01, $01, $8E, $8E, $8D, $53, $0E, $0E, $0E, $03
; $00, $00, $00, $00, $1F, $FF, $1F, $0F, $18, $4E, $16, $80
smpsVcAlgorithm $02
smpsVcFeedback $07
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $00, $00
smpsVcCoarseFreq $01, $01, $07, $01
smpsVcRateScale $01, $02, $02, $02
smpsVcAttackRate $13, $0D, $0E, $0E
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $03, $0E, $0E, $0E
smpsVcDecayRate2 $00, $00, $00, $00
smpsVcDecayLevel $00, $01, $0F, $01
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $16, $4E, $18
; Voice $04
; $20
; $7A, $31, $00, $00, $9F, $D8, $DC, $DF, $10, $0A, $04, $04
; $0F, $08, $08, $08, $5F, $5F, $BF, $BF, $14, $2B, $17, $80
smpsVcAlgorithm $00
smpsVcFeedback $04
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $03, $07
smpsVcCoarseFreq $00, $00, $01, $0A
smpsVcRateScale $03, $03, $03, $02
smpsVcAttackRate $1F, $1C, $18, $1F
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $04, $04, $0A, $10
smpsVcDecayRate2 $08, $08, $08, $0F
smpsVcDecayLevel $0B, $0B, $05, $05
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $17, $2B, $14
| 32.006897 | 78 | 0.582777 |
6952fd8cf74ea35d3b3e856a187cb6a810fc6d13 | 147 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_pysb.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_pysb.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_pysb.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: zel_pysb.asm
Type: file
Size: 126790
Last-Modified: '2016-05-13T04:22:15Z'
SHA-1: CB4A4D77CF4CF82E67521515D610DE68E5806272
Description: null
| 21 | 47 | 0.816327 |
18b4841bec1c2982d8af42d489b4401123764b0f | 31,706 | asm | Assembly | source/mcbank5.asm | PaulSlocum/marble-craze | 559c73c898d3a5e2d6548ae67f0f077b282372ab | [
"MIT"
] | 1 | 2020-12-12T21:23:31.000Z | 2020-12-12T21:23:31.000Z | source/mcbank5.asm | PaulSlocum/marble-craze | 559c73c898d3a5e2d6548ae67f0f077b282372ab | [
"MIT"
] | null | null | null | source/mcbank5.asm | PaulSlocum/marble-craze | 559c73c898d3a5e2d6548ae67f0f077b282372ab | [
"MIT"
] | null | null | null | ;------------------------------
; Marble Craze bank 5
;------------------------------
; Includes:
; level control data
; some game logic
;------------------------------
org $5000
rorg $1000
paddleDecode2
; byte 0,0,0,0,0,0,1,1,1,1,1,1,1
; byte 2,2,2,2,2,2,3,3,3,3,3,3,3
; byte 4,4,4,4,4,4,5,5,5,5,5,5,5
; byte 6,6,6,6,6,6,6,6,6,6,6,6,6
; byte 7,7,7,7,7,7,7,7,7,7,7,7,7
; byte 8,8,8,8,8,8,8,8,8,8,8,8,8
; byte 8,8,8,8,8,8,8,8,8,8,8,8,8
; byte 8, 8, 8, 8, 8, 8, 8,9,9,9,9,9,9
; byte 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10
; byte 10,10,10,10,10,10,10,11,11,11,11,11,11
; byte 11,11,11,11,11,11,11,12,12,12,12,12,12
; byte 13,13,13,13,13,13,14,14,14,14,14,14,14
; byte 15,15,15,15,15,15
byte 0,0,0,0,0,0,1,1,1,1,1,1,1
byte 2,2,2,2,2,2,3,3,3,3,3,3,3
byte 4,4,4,4,4,4,5,5,5,5,5,5,5
byte 5,5,5,5,5,5,6,6,6,6,6,6,6
byte 6,6,6,6,6,6,7,7,7,7,7,7,7
byte 7,7,7,7,7,7,8,8,8,8,8,8,8
byte 8,8,8,8,8,8,8,8,8,8,8,8,8
byte 9,9,9,9,9,9,9,9,9,9,9,9,9
byte 10,10,10,10,10,10,10,10,10,10,10,10,10
byte 11,11,11,11,11,11,11,11,11,11,11,11,11
byte 12,12,12,12,12,12,12,12,12,12,12,12,12
byte 13,13,13,13,13,13,14,14,14,14,14,14,14
byte 15,15,15,15,15,15
slopeUpOffset
byte 6,7,8,9,10,11,12,13,14,15,15,15,15,15,15,15
slopeDownOffset
byte 0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9
; MAY READ 1 LEVEL CONTROL BYTE PER CALL
;--------------------------------------------------------------------------
; checkYPosition
;--------------------------------------------------------------------------
; Takes current X position and new proposed Y position and checks
; for falling off, edge of screen, or walls.
;
; (Currently just loops)
;
; Preload:
; A: position
; Y: velocity
;
; Returns:
; A: position
; Y: velocity
;
;--------------------------------------------------------------------------
checkYPosition
; Transfer velocity from Y to X
sty temp
ldx temp
cmp #2
beq topReset
cmp #3
beq topReset
cmp #4
beq topReset
cmp #5
beq topReset
cmp #156
beq bottomReset
cmp #155
beq bottomReset
cmp #154
beq bottomReset
cmp #153
beq bottomReset
jmp noResetY
topReset
lda status
and #FALL
bne topStop
ldy #CTRLNEXTUD ; get next up
lda (screenL),y
lsr ; move "Up" nibble into lower nibble
lsr
lsr
lsr
;bmi topStop
; cmp screen
; beq topStop
; preserve wall/falling flags
sta temp2
lda #%11100000
and screen
ora temp2
; Set next screen
sta screen
lda #SCREENLOAD
sta status
lda #152
jmp noResetY
topStop
; set velocity to zero
ldx #128
lda #6
jmp noResetY
bottomReset
lda status
and #FALL
bne bottomStop
ldy #CTRLNEXTUD ; next down
lda (screenL),y
and $0F ; isolate "down" nibble
;bmi bottomStop
; cmp screen
; beq bottomStop
; preserve wall/falling flags
sta temp2
lda #%11100000
and screen
ora temp2
; Set next screen
sta screen
lda #SCREENLOAD
sta status
lda #6
jmp noResetY
bottomStop
; set velocity to zero
ldx #128
lda #152
jmp noResetY
noResetY
; move velocity from X to Y
stx temp
ldy temp
jmp rtnCheckYPosition
; MAY READ 1 LEVEL CONTROL BYTE PER CALL
;--------------------------------------------------------------------------
; checkXPosition
;--------------------------------------------------------------------------
; Takes current Y position and new proposed X position and checks
; for falling off, edge of screen, or walls.
;
; (Currently just loops)
;
; Preload:
; A: X position
; Y: X velocity
;
; Returns:
; A: updated X position
; Y: updated X velocity (may stop if hit wall or side)
;
;--------------------------------------------------------------------------
checkXPosition
sty temp
ldx temp
cmp #255
beq leftReset
cmp #0
beq leftReset
cmp #1
beq leftReset
cmp #2
beq leftReset
cmp #145
beq rightReset
cmp #146
beq rightReset
cmp #147
beq rightReset
cmp #148
beq rightReset
jmp noResetX
leftReset
lda status
and #FALL
bne leftStop
; Handle bug where walls are on and player
; should hit wall on left, but ends up
; on next screen.
;-------------------------------------
ldx player
ldy p1y,x
lda div13,y
tay
lda #%00010001
and pf0mask,x
and playField,y
beq leftStop
ldx temp
;-------------------------------------
ldy #CTRLNEXTLR ; next left
lda (screenL),y
lsr ; move "left" into lower nibble
lsr
lsr
lsr
;bmi leftStop
; cmp screen
; beq leftStop
; preserve wall/falling flags
sta temp2
lda #%11100000
and screen
ora temp2
; set next screen
sta screen
lda #SCREENLOAD
sta status
; Remove any Y movement since we're jumping screens
stx temp2
ldx player
lda pMarble2+1
sta p1y,x
ldx temp2
lda #144
jmp noResetX
leftStop
ldx #128
lda #3
jmp noResetX
rightReset
lda status
and #FALL
bne rightStop
ldy #CTRLNEXTLR ; next right
lda (screenL),y
and #$0F ; isolate "right" nibble
;bmi rightStop
; cmp screen
; beq rightStop
; preserve wall/falling flags
sta temp2
lda #%11100000
and screen
ora temp2
; set next screen
sta screen
; Remove any Y movement since we're jumping screens
stx temp2
ldx player
lda pMarble2+1
sta p1y,x
ldx temp2
lda #SCREENLOAD
sta status
lda #3
jmp noResetX
rightStop
; set velocity to zero
ldx #128
lda #144
noResetX
stx temp
ldy temp
jmp rtnCheckXPosition
pf0mask
byte $F0, $0F
collisions
byte %00010001,0,0,0
byte %00100010,0,0,0
byte %01000100,0,0,0
byte %10001000,0,0,0
byte 0,%10000000,0,0
byte 0,%01000000,0,0
byte 0,%00100000,0,0
byte 0,%00010000,0,0
byte 0,%00001000,0,0
byte 0,%00000100,0,0
byte 0,%00000010,0,0
byte 0,%00000001,0,0
byte 0,0,%00000001,0
byte 0,0,%00000010,0
byte 0,0,%00000100,0
byte 0,0,%00001000,0
byte 0,0,%00010000,0
byte 0,0,%00100000,0
byte 0,0,%01000000,0
byte 0,0,%01000000,0
byte 0,0,%01000000,0
div3t4
byte 0,0,0
byte 4,4,4,4,4,4,4,4
byte 8,8,8,8,8,8,8,8
byte 12,12,12,12,12,12,12,12
byte 16,16,16,16,16,16,16,16
byte 20,20,20,20,20,20,20,20
byte 24,24,24,24,24,24,24,24
byte 28,28,28,28,28,28,28,28
byte 32,32,32,32,32,32,32,32
byte 36,36,36,36,36,36,36,36
byte 40,40,40,40,40,40,40,40
byte 44,44,44,44,44,44,44,44
byte 48,48,48,48,48,48,48,48
byte 52,52,52,52,52,52,52,52
byte 56,56,56,56,56,56,56,56
byte 60,60,60,60,60,60,60,60
byte 64,64,64,64,64,64,64,64
byte 68,68,68,68,68,68,68,68
byte 72,72,72,72,72,72,72,72
byte 76,76,76,76,76,76,76,76
byte 80,80,80,80,80,80,80,80
div13
; byte 12,12,12,12,12,12,12,12,12,12,12,12,12
byte 11,11,11,11,11,11,11,11,11,11,11,11,11
byte 10,10,10,10,10,10,10,10,10,10,10,10,10
byte 9,9,9,9,9,9,9,9,9,9,9,9,9
byte 8,8,8,8,8,8,8,8,8,8,8,8,8
byte 7,7,7,7,7,7,7,7,7,7,7,7,7
byte 6,6,6,6,6,6,6,6,6,6,6,6,6
byte 5,5,5,5,5,5,5,5,5,5,5,5,5
byte 4,4,4,4,4,4,4,4,4,4,4,4,4
byte 3,3,3,3,3,3,3,3,3,3,3,3,3
byte 2,2,2,2,2,2,2,2,2,2,2,2,2
byte 1,1,1,1,1,1,1,1,1,1,1,1,1
byte 0,0,0,0,0,0,0,0,0,0,0,0,0
; HAS TO STAY WITH gameLogic
;--------------------------------------------------------------------------
; Power Up Handlers
;--------------------------------------------------------------------------
handlerArray
word handle20PTS, handle20PTS, handle50PTS, handle100PTS, handle5SEC, handle10SEC, handle20SEC, handleWALLS
word handle1UP, handleKEY, handleSTOP, handleZAP, handleLIGHTS, handleWARP, handleRIGHT, handleUP
handleSTOP
lda #128
sta p1xVel,x
sta p1yVel,x
jmp rtnHandler
handleZAP
; Zap (Gem) gives you 30 pts
sed
lda p1ScoreL,x
clc
adc #$30
sta p1ScoreL,x
lda p1ScoreH,x
adc #0
sta p1ScoreH,x
cld
txa
eor #1
tay
lda p1Status,x
bne noReload2
lda #SCREENLOAD
sta status
noReload2
lda p1Status,y
bne noReload3
lda #SCREENLOAD
sta p1Status,y
noReload3
; Getting a ZAP (or Gem) removes it from the other player's board too.
; flag that power up was "gotten" for the other player too
ldy #CTRLPWRMASK
lda (screenL),y
ora pwrArray1
sta pwrArray1
lda (screenL),y
ora pwrArray2
sta pwrArray2
; lda p1Screen
; eor p2Screen
; and $0F
; beq clearPower
jmp rtnHandler3
clearPower
; lda #0
; sta pwr1y
; sta pwr2y
; jmp rtnHandler3
handleLIGHTS
lda colorCheckOffset,x
tay
lda #06
sta playField+60,y
sta playField+61,y
sta playField+62,y
sta playField+63,y
sta playField+64,y
sta playField+65,y
jmp rtnNoSound
handleWARP
jmp rtnHandler
handleRIGHT
lda #128
sta p1yVel,x
lda #240
sta p1xVel,x
jmp rtnHandler
handleUP
lda #8
sta p1yVel,x
lda #128
sta p1xVel,x
jmp rtnHandler
handle20PTS
sed
lda p1ScoreL,x
clc
adc #$20
sta p1ScoreL,x
lda p1ScoreH,x
adc #0
sta p1ScoreH,x
cld
jmp rtnHandler
handle50PTS
sed
lda p1ScoreL,x
clc
adc #$50
sta p1ScoreL,x
lda p1ScoreH,x
adc #0
sta p1ScoreH,x
cld
jmp rtnHandler
handle100PTS
sed
lda p1ScoreH,x
clc
adc #$01
sta p1ScoreH,x
cld
jmp rtnHandler
handle5SEC
sed
lda p1TimeH,x
clc
adc #$05
sta p1TimeH,x
cld
jmp rtnHandler
handle10SEC
sed
lda p1TimeH,x
clc
adc #$10
sta p1TimeH,x
cld
jmp rtnHandler
handle20SEC
sed
lda p1TimeH,x
clc
adc #$20
sta p1TimeH,x
cld
jmp rtnHandler
handleWALLS
lda screen
ora #%10000000
sta screen
jmp rtnHandler
handle1UP
inc p1Lives,x
jmp rtnHandler
handleKEY
lda p1Status,x
bne noReload
lda #SCREENLOAD
sta status
noReload
jmp rtnHandler
colorCheckOffset
byte 0,6
; HAS UP TO 4 SCREEN READS. READS LEVEL DATA, COLORS, and calls CHECKPF
;--------------------------------------------------------------------------
; gameLogic
;--------------------------------------------------------------------------
; Handles general game logic for a player.
;
; Preload:
; X: Player (0 or 1)
;
;--------------------------------------------------------------------------
gameLogic2
; Reset timer when in startup mode
lda status
cmp #STARTUP
bne noTimerReset
; Reset time
lda temp16H ; read this value in gameLogic (bank 2)
sta p1TimeH,x
lda #0
sta p1TimeL,x
noTimerReset
; ----------------------- Check for Finish
lda p1Status,x
bne notFinish1
ldy p1y,x
lda div13,y
lsr
clc
adc colorCheckOffset,x
tay
lda playField+60,y
; ldy #2
; Check pf color
cmp temp16L ; got this value in gameLogic (bank 2)
bne notFinish1
lda #FINISHED
sta status
notFinish1
;---------------------- Check for STARTUP (reset)
; Check status
lda status
cmp #STARTUP
beq resetPos1
cmp #RESET
bne noResetPos1
resetPos1
; reset position
ldy #CTRLXPOS
lda (screenL),y
sta p1x,x
ldy #CTRLYPOS
lda (screenL),y
sta p1y,x
; reset velocity
lda #128
sta p1xVel,x
sta p1yVel,x
noResetPos1
;------------------------------- Stop when falling
lda status
cmp #FALLOFF
bne checkStatus
lda #128
sta p1xVel,x
sta p1yVel,x
checkStatus
;------------------------------- Check Status
lda status
and #FALL
bne clearPaddles
lda status
beq doLogic
jmp skipP1
; No movement when in the air
clearPaddles
lda #80
sta padVal1,x
sta padVal2,x
doLogic
; -------------- Check for powerup collision
; Check to see if the collision is for this player
lda frame
and #1
cmp player
bne noCollision
; See if there's a player/missle1 colision
lda CXM1P
and #%11000000
beq noCollision
; Call power up handler using indirect jump
lda p1Lives,x
and #$F0
lsr
lsr
lsr
tay
lda handlerArray,y
sta pfBuffer
iny
lda handlerArray,y
sta pfBuffer+1
; jmp to handler
jmp (pfBuffer)
rtnHandler
; flag that power up was "gotten"
ldy #CTRLPWRMASK
lda (screenL),y
ora pwrArray1,x
sta pwrArray1,x
rtnHandler2
; Stop displaying the power up
lda #0
sta pwr1y,x
rtnHandler3
; Power Up Sound
lda #4
sta AUDF0
lda #15
sta AUDV0
lda #4
sta AUDC0
rtnNoSound
noCollision
;------------------- Friction
lda frame
and #%00011111
bne noXFriction
ldy padVal1,x
lda paddleDecode2,y
cmp #8
bne noYFriction
lda p1yVel,x
cmp #128
beq noYFriction
clc
lda #4
ldy p1yVel,x
bpl downFriction
lda #252
downFriction
adc p1yVel,x
sta p1yVel,x
noYFriction
ldy padVal2,x
lda paddleDecode2,y
cmp #8
bne noXFriction
lda p1xVel,x
cmp #128
beq noXFriction
clc
lda #4
ldy p1xVel,x
bpl rightFriction
lda #252
rightFriction
adc p1xVel,x
sta p1xVel,x
noXFriction
; --------------Y coord
; save y position in temp2
lda p1y,x
sta temp2
; jmp normalY
; No paddle control when falling
lda #status
and #FALL
beq getYPaddle
; Center paddle
lda #8
jmp endYPaddle
;----------------------- Check for slope
getYPaddle
ldy p1y,x
lda div13,y
lsr
clc
adc colorCheckOffset,x
tay
lda playField+60,y
sec
sbc pfColor
cmp #2
beq slopeUp
cmp #4
beq slopeUp
cmp #254
beq slopeDown
cmp #252
beq slopeDown
normalY
; no slope
ldy padVal1,x
lda paddleDecode2,y
jmp endYPaddle
slopeUp
; Get paddle value from table (0-15)
ldy padVal1,x
lda paddleDecode2,y
tay
lda slopeUpOffset,y
jmp endYPaddle
slopeDown
; Get paddle value from table (0-15)
ldy padVal1,x
lda paddleDecode2,y
tay
lda slopeDownOffset,y
endYPaddle
ldy p1yVel,x
jsr callCalcMovement ; FUNCTION CALL
jmp checkYPosition ; FUNCTION CALL
rtnCheckYPosition
ldx player
sta p1y,x
sty p1yVel,x
; --------------X coord
; If checking the Y axis caused a screenload,
; then skip the X processing. Otherwise
; marble could get stuck in wall
lda status
cmp #SCREENLOAD
beq skipP1
; Store x position in temp2
lda p1x,x
sta temp2
; No paddle control when falling
lda #status
and #FALL
beq getXPaddle
; Center paddle
lda #8
jmp endXPaddle
getXPaddle
; Get paddle value from table (0-15)
ldy padVal2,x
lda paddleDecode2,y
endXPaddle
ldy p1xVel,x
jsr callCalcMovement ; FUNCTION CALL
jmp checkXPosition ; FUNCTION CALL
rtnCheckXPosition
ldx player
sta p1x,x
sty p1xVel,x
skipP1
;---------------------- check for time up
lda status
cmp #FALLING
beq timeCheck
lda status
bne noFallOff1
timeCheck
; Check for time up
lda p1TimeL,x
bne noTimeUp
lda p1TimeH,x
bne noTimeUp
lda #140
sta p1Counter,x
lda #TIMEUP
sta status
jmp decLives
noTimeUp
; ------------------------ check fall off
lda screen
bpl noWalls
; Check for wall collision and adjust position/vel
jmp wallCheck
noWalls
; Check for fall off
lda p1x,x
ldy p1y,x
jsr checkPlayfield ; FUNCTION CALL
beq fallOff
lda status
cmp #FALLING
bne noSetNormal
lda #NORMAL
sta status
noSetNormal
; Clear "fall off" bits
lda #%10011111
and screen
sta screen
jmp noFallOff1
fallOff
lda status
cmp #NORMAL
bne notFalling
lda #FALLING
sta status
jmp noFallOff1
notFalling
; Increment "fall off" counter (stored in bit 5&6 of screen)
lda screen
clc
adc #%00100000
sta screen
; Check for full fall off
and #%01100000
cmp #%01100000
bne noFallOff1
; Restore player index
ldx player
; lda status
; bne noFallOff1
lda #FALLOFF
sta status
lda #32
sta p1Counter,x
jmp noFallOff1
decLives
; Decrement lives
lda p1Lives,x
sec
sbc #1
sta p1Lives,x
and #$0F
cmp #$0F
bne notGameOver
lda #GAMEOVER
sta status
lda #0
sta p1Lives,x
notGameOver
lda status
cmp #TIMEUP
beq noFallOff1
lda #64
sta p1Counter,x
rtnWallCheck
noFallOff1
ldx player
; restore status
lda status
sta p1Status,x
; restore screen
lda screen
sta p1Screen,x
jmp rtnGameLogic2
yReset
byte 5,5,5,5,5,5,5,5
byte 13,13,13,13,13,13,13,13,13,13,13,13,13
byte 26,26,26,26,26,26,26,26,26,26,26,26,26
byte 39,39,39,39,39,39,39,39,39,39,39,39,39
byte 52,52,52,52,52,52,52,52,52,52,52,52,52
byte 65,65,65,65,65,65,65,65,65,65,65,65,65
byte 78,78,78,78,78,78,78,78,78,78,78,78,78
byte 91,91,91,91,91,91,91,91,91,91,91,91,91
byte 104,104,104,104,104,104,104,104,104,104,104,104,104
byte 117,117,117,117,117,117,117,117,117,117,117,117,117
byte 130,130,130,130,130,130,130,130,130,130,130,130,130
byte 143,143,143,143,143,143,143,143,143,143,143,143,143
byte 156,156,156,156,156,156,156,156,156,156,156,156,156
xReset
byte 0,0
byte 4,4,4,4
byte 8,8,8,8
byte 12,12,12,12
byte 16,16,16,16
byte 20,20,20,20
byte 24,24,24,24
byte 28,28,28,28
byte 32,32,32,32
byte 36,36,36,36
byte 40,40,40,40
byte 44,44,44,44
byte 48,48,48,48
byte 52,52,52,52
byte 56,56,56,56
byte 60,60,60,60
byte 64,64,64,64
byte 68,68,68,68
byte 72,72,72,72
byte 76,76,76,76
byte 80,80,80,80
byte 84,84,84,84
byte 88,88,88,88
byte 92,92,92,92
byte 96,96,96,96
byte 100,100,100,100
byte 104,104,104,104
byte 108,108,108,108
byte 112,112,112,112
byte 116,116,116,116
byte 120,120,120,120
byte 124,124,124,124
byte 128,128,128,128
byte 132,132,132,132
byte 136,136,136,136
byte 140,140,140,140
byte 144,144,144,144
; ALWAYS READS 3 LEVEL PLAYFIELD BYTES (could be preloaded)
;--------------------------------------------------------------------------
; checkPlayfield
;--------------------------------------------------------------------------
; Determine if marble has fallen off / hit a wall
;
; Preload:
; A: marble x position
; Y: marble y position
; player must be loaded with the player#
;
; Return:
; A: 255 = safe, 0 = fall off
;--------------------------------------------------------------------------
checkPlayfield
cpx #1
beq checkPlayer2
tax
; Set up Y
lda div13,y
tay
; Set up X
lda div3t4,x
tax
; PF0
lda collisions,x
and #$F0
and playField,y
bne safe
inx
; PF1
lda collisions,x
and playField+12,y
bne safe
inx
; PF2
lda collisions,x
and playField+24,y
bne safe
lda #0
rts
safe
lda #255
rts
checkPlayer2
tax
; Set up Y
lda div13,y
tay
; Set up X
lda div3t4,x
tax
; PF0
lda collisions,x
and #$0F
and playField,y
bne safe
inx
; PF1
lda collisions,x
and playField+36,y
bne safe
inx
; PF2
lda collisions,x
and playField+48,y
bne safe
lda #0
rts
; CALLS CHECKPF TWICE, BUT NO SCREEN READS
;--------------------------------------------------------------------------
; wallCheck
;--------------------------------------------------------------------------
; Checks for wall collision and adjust position and velocity
; accordingly. To be called from gameLogic function.
;--------------------------------------------------------------------------
wallCheck
;------------------------- Check X axis for wall
ldx player
; Load correct X axis
lda p1x,x
; But load old Y axis
ldy pMarble2+1
jsr checkPlayfield ; FUNCTION CALL
bne noXFallOff
ldx player
lda p1Screen,x
sta screen
; The reset needs to be
; adjusted based on the X movement direction
ldy p1xVel,x
bpl goingLeft
; Bounce left
lda p1xVel,x
and #%01110000
lsr
lsr
sta temp
lda #128
sbc temp
and #%01111100
sta p1xVel,x
; Restore old X coordinate
ldy pMarble2
; Bias for moving right
iny
lda xReset,y
sec
sbc #2
jmp endLeft
goingLeft
; Bounce right
lda #128
sec
sbc p1xVel,x
lsr
lsr
and #%11111100
ora #128
sta p1xVel,x
; Restore old X coordinate
ldy pMarble2
lda xReset,y
sec
sbc #1
endLeft
sta p1x,x
noXFallOff
;------------------------- Check Y axis for wall
ldx player
; Get positions (X is now adjusted if needed)
lda p1x,x
ldy p1y,x
jsr checkPlayfield ; FUNCTION CALL
bne noYFallOff
ldx player
; If the Y velocity is in the downward direction,
; the reset position needs to be biased up
; (to avoid being stuck in a wall)
ldy p1yVel,x
bpl goingUp
; Bounce up
lda p1yVel,x
and #%01100000
lsr
lsr
sta temp
lda #128
sbc temp
and #%01111100
sta p1yVel,x
; Restore old Y coordinate using lookup table
ldy pMarble2+1
lda yReset,y
sec
sbc #1
sta p1y,x
jmp endUp
goingUp
; Bounce down
lda #128
sec
sbc p1yVel,x
lsr
lsr
and #%11111100
ora #128
sta p1yVel,x
; Restore old Y coordinate using lookup table
ldy pMarble2+1
lda yReset,y
sta p1y,x
endUp
noYFallOff
jmp rtnWallCheck
;------------------------------------------------------------------------
; loadScreen2
;------------------------------------------------------------------------
; load the playfield data for player 1 and/or 2 as needed
;
; Preload:
; X: player to process (0 or 1)
;------------------------------------------------------------------------
loadScreen2
lda p1Status,x
cmp #INACTIVE
bne normalDisplay
;------------------- inactive screen setup
; Get screen pointer
lda beat ;;;;;;;;;;;;;;;;;;;;;;;; LEVEL POINTER READ
lsr
; lsr
; lsr
and #%00000110
tay
lda level0,y
sta screenL
iny
lda level0,y
sta screenH
lda measure
asl
asl
asl
asl
and #%00110000
sta pfBuffer
lda pfColor
and #%11001111
ora pfBuffer
cpx #0
bne rightInactive
; Copy in colors
ldy #5
leftLoop5
sta playField+60,y
dey
bpl leftLoop5
; No animation if B&W switch set
lda SWCHB
and #8
beq clearLeftSide
; no colors
ldy #0
jmp screenCopy
clearLeftSide
; Clear left side PF1 and PF2
lda #0
ldy #23
leftClearLoop
sta playField+12,y
dey
bpl leftClearLoop
; Set to clear PF0 left
lda #$0F
sta temp5
jmp finishClear
rightInactive
; Copy in colors
ldy #5
rightLoop5
sta playField+66,y
dey
bpl rightLoop5
; No animation if B&W switch set
lda SWCHB
and #8
beq clearRightSide
; no colors
ldy #0
jmp screenCopy
clearRightSide
; Clear right side PF1 and PF2
lda #0
ldy #23
rightClearLoop
sta playField+36,y
dey
bpl rightClearLoop
; Set to clear PF0 right
lda #$F0
sta temp5
finishClear
; clear PF0
ldy #11
finishClearLoop
lda temp5
and playField,y
sta playField,y
dey
bpl finishClearLoop
;******************
;QUIT FUNCTION HERE
;******************
jmp rtnLoadScreen2
;--------------------- normal screen setup
normalDisplay
; x y type mask keymask altlevel
; Never use alternate screen at STARTUP
lda p1Status,x
cmp #STARTUP
beq noAltScreen
; Check for alternate screen key
ldy #CTRLPWRTYPE
lda (pMarble2),y
cmp #$FF
beq noAltScreen
lda pwrArray1,x
ldy #CTRLALTMASK
and (pMarble2),y ;;;;;;;;;;;;;;;;;; CONTROL READ
cmp #255 ; 255=no alt screen
beq noAltScreen
cmp (pMarble2),y
bne noAltScreen
; Get alternate screen pointer
ldy #CTRLALTSCREEN
lda p1Screen,x
and #%11100000
ora (pMarble2),y ;;;;;;;;;;;;;;; CONTROL READ
sta p1Screen,x
lda #LOADREADY
sta p1Status,x
;******************
;QUIT FUNCTION HERE
;******************
jmp rtnLoadScreen2
noAltScreen
; See if power up has got gotten
ldy #CTRLPWRMASK
lda pwrArray1,x
and (pMarble2),y
bne clearPowerUp
; Get powerup type
; The powerup type is stored in the upper 4 bits of the "lives" variables
ldy #CTRLPWRTYPE
lda (pMarble2),y
beq clearPowerUp ; 0=no power up
cmp #$FF
beq clearPowerUp
and #$F0
sta temp5
lda p1Lives,x
and #$0F
ora temp5
sta p1Lives,x
; Get powerup position
ldy #CTRLPWRX
lda (pMarble2),y
sta pwr1x,x
ldy #CTRLPWRY
lda (pMarble2),y
sta pwr1y,x
jmp endPowerUp
clearPowerUp
lda #0
sta pwr1y,x
lda p1Lives,x
and #$0F
sta p1Lives,x
endPowerUp
; Flag to copy colors
ldy #1
screenCopy
;------------------------- Screen Copy
; Preset Y
; Y=0=nocolor Y=1=color
lda p1Status,x
cmp #INACTIVE
beq goCall1
lda level
; beq goCall3
cmp #BANK8LEVEL
beq goCall3
cmp #LEVELBANKSWITCH
bmi goCall1
jmp callScreenLoader2
goCall1
jmp callScreenLoader1
goCall3
jmp callScreenLoader3
rtnCallScreenLoader1
rtnCallScreenLoader2
rtnCallScreenLoader3
;****************
;QUIT LOAD LEVEL2
;****************
jmp rtnLoadScreen2
level0
word lev03, lev00, lev01, lev02
cont11
byte $F0 ; next up
byte $F2 ; next right
byte 70 ; reset x
byte 145 ; reset y
byte HPWRKEY; powerup type
byte 255 ; key mask
byte 39 ; powerup x
byte 11 ; powerup y
byte 1 ; powerup mask
cont12
byte $FF ; next up
byte $13 ; next left
byte 7 ; reset x
byte 55 ; reset y
byte SKIPBOTH ; powerup type
cont13
byte $F4 ; next down
byte $2F ; next left
byte 7 ; reset x
byte 55 ; reset y
byte HPWR50PTS ; powerup type
byte 255 ; key mask
byte 39 ; powerup x
byte 4 ; powerup y
byte 2 ; powerup mask
cont14
byte $3F ; next up
byte $F6 ; next right
byte 70 ; reset x
byte 10 ; reset y
byte HPWR10SEC ; powerup type
byte 255 ; key mask
byte 35 ; powerup x
byte 5 ; powerup y
byte 32 ; powerup mask
cont15
byte $1F ; next up
byte $FF ; next left
byte 70 ; reset x
byte 117 ; reset y
byte HPWR100PTS ; powerup type
byte 255 ; key mask
byte 20 ; powerup x
byte 7 ; powerup y
byte 8 ; powerup mask
cont16
byte $F7 ; next down
byte $4F ; next left
byte 70 ; reset x
byte 117 ; reset y
byte SKIPBOTH ; powerup type
cont17
byte $6F ; next up
byte $FF ; next left
byte 120 ; reset x
byte 20 ; reset y
byte SKIPBOTH ; powerup type
cont21
byte $26 ; next up
byte $0F ; next left
byte 7 ; reset x
byte 84 ; reset y
byte 0 ; powerup type
byte 2 ; key mask
byte 0 ; powerup x
byte 0 ; powerup y
byte 0 ; powerup mask
byte 5 ; alternate screen
cont22
byte $31 ; next up
byte $4F ; next left
byte 7 ; reset x
byte 84 ; reset y
byte SKIPBOTH ; powerup type
cont23
byte $F2 ; next down
byte $FF ; next right
byte 60 ; reset x
byte 90 ; reset y
byte HPWRKEY; powerup type
byte 255 ; key mask
byte 50 ; powerup x
byte 10 ; powerup y
byte 2 ; powerup mask
cont24
byte $FF ; next up
byte $F2 ; next right
byte 45 ; reset x
byte 84 ; reset y
byte HPWR20SEC ; powerup type
byte 255 ; key mask
byte 40 ; powerup x
byte 10 ; powerup y
byte 4 ; powerup mask
cont25
byte $26 ; next up
byte $0F ; next left
byte 7 ; reset x
byte 84 ; reset y
byte SKIPBOTH ; powerup type
cont26
byte $5F ; next up
byte $7F ; next left
byte 80 ; reset x
byte 52 ; reset y
byte 0 ; powerup type
byte 8 ; key mask
byte 0 ; powerup x
byte 0 ; powerup y
byte 0 ; powerup mask
byte 8 ; alternate screen
cont27
byte $F5 ; next down
byte $F6 ; next right
byte 55 ; reset x
byte 100 ; reset y
byte HPWRKEY; powerup type
byte 255 ; key mask
byte 30 ; powerup x
byte 11 ; powerup y
byte 8 ; powerup mask
cont28
byte $5F ; next up
byte $79 ; next left
byte 80 ; reset x
byte 52 ; reset y
byte SKIPBOTH ; powerup type
cont29
byte $FF ; next up
byte $8F ; next left
byte 7 ; reset x
byte 84 ; reset y
byte SKIPBOTH ; powerup type
cont43
byte $94 ; next up
byte $12 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont44
byte $3F ; next up
byte $75 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont45
byte $2F ; next up
byte $49 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont46
byte $F0 ; next down
byte $87 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont47
byte $F1 ; next down
byte $64 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte HPWRKEY; powerup type
byte 255 ; key mask
byte 35 ; powerup x
byte 3 ; powerup y
byte 2 ; powerup mask
cont48
byte $B2 ; next up
byte $96 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont49
byte $A3 ; next up
byte $58 ; next left
byte 140 ; reset x
byte 80 ; reset y
byte HPWR50PTS ; powerup type
byte 2 ; key mask
byte 30
byte 8
byte 4
byte 12 ; alternate screen
cont4C
byte $A3 ; next up
byte $58 ; next left
byte 130 ; reset x
byte 80 ; reset y
byte HPWR50PTS ; powerup type
byte 255 ; key mask
byte 30
byte 8
byte 4
cont4A
byte $F9 ; next down
byte $FB ; next right
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont4B
byte $F8 ; next down
byte $AF ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont42
byte $85 ; next up
byte $30 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont41
byte $7F ; next up
byte $03 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte SKIPBOTH ; powerup type
cont40
byte $6F ; next up
byte $21 ; next left
byte 130 ; reset x
byte 137 ; reset y
byte HPWRWALLS ; powerup type
byte 255 ; key mask
byte 69 ; powerup x
byte 2 ; powerup y
byte 1 ; powerup mask
cont10
byte $1F ; next up
byte $FF ; next right
byte 70 ; reset x
byte 112 ; reset y
; byte HPWRWALLS ; powerup type
byte HPWR20PTS
byte 1 ; key mask
byte 39 ; powerup x
byte 4 ; powerup y
byte 16 ; powerup mask
byte 5 ; alternate screen
cont20
byte $FF ; next up
byte $F1 ; next left
byte 18 ; reset x
byte 126 ; reset y
byte HPWRWALLS ; powerup type
byte 255 ; key mask
byte 11 ; powerup x
byte 3 ; powerup y
byte 1 ; powerup mask
include levels/L_CONT.ASM
include levels/L3_CONT.ASM
include levels/L5_CONT.ASM
include levels/L6_CONT.ASM
include levels/L7_CONT.ASM
include levels/L8_CONT.ASM
include levels/L9_CONT.ASM
include levels/LA_CONT.ASM
include levels/LB_CONT.ASM
include levels/LC_CONT.ASM
include levels/LD_CONT.ASM
include levels/LE_CONT.ASM
include levels/LF_CONT.ASM
include levels/LG_CONT.ASM
include levels/LI_CONT.ASM
include levels/LJ_CONT.ASM
;==========================================================================
;
; callScreenLoader3
;
;--------------------------------------------------------------------------
; Call to bank 7
;==========================================================================
org $5F70
rorg $1F70
callScreenLoader3
stx BANK8
nop
nop
nop
nop
nop
nop
jmp rtnCallScreenLoader3
;==========================================================================
;
; callCalcMovement
;
;--------------------------------------------------------------------------
; Call to bank 2
;==========================================================================
org $5FA0
rorg $5FA0
callCalcMovement
stx BANK8
nop
nop
nop
nop
nop
nop
rts
;==========================================================================
;
; callScreenLoader1
;
;--------------------------------------------------------------------------
; Call to bank 6
;==========================================================================
org $5FB0
rorg $5FB0
callScreenLoader1
stx BANK6
nop
nop
nop
nop
nop
nop
jmp rtnCallScreenLoader2
;==========================================================================
;
; callScreenLoader2
;
;--------------------------------------------------------------------------
; Call to bank 7
;==========================================================================
org $5FC0
rorg $1FC0
callScreenLoader2
stx BANK7
nop
nop
nop
nop
nop
nop
jmp rtnCallScreenLoader2
;==========================================================================
;
; loadScreen2 caller
;
;--------------------------------------------------------------------------
; call function then switch back to bank 2.
;==========================================================================
org $5FD3
rorg $1FD3
jmp loadScreen2
rtnLoadScreen2
stx BANK2
;==========================================================================
;
; gameLogic2 caller
;
;--------------------------------------------------------------------------
; call function then switch back to bank 2.
;==========================================================================
org $5FE3
rorg $1FE3
jmp gameLogic2
rtnGameLogic2
stx BANK2
;==========================================================================
;
; The cart may start up in this bank. Make sure it switches
; back to bank 2 on startup.
;
;==========================================================================
org $5FED
rorg $1FED
sta BANK2
org $5FFC ; Program startup vector
.word $1FED
.word $1FED
| 14.333635 | 108 | 0.6061 |
f17be62535de0e34720daa79ce180295ffcbc377 | 490 | asm | Assembly | oeis/267/A267848.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/267/A267848.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/267/A267848.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A267848: Triangle read by rows giving successive states of cellular automaton generated by "Rule 229" initiated with a single ON (black) cell.
; Submitted by Simon Strandgaard
; 1,0,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0
mov $1,3
lpb $0
sub $1,$0
trn $1,$0
add $1,$0
sub $0,1
trn $0,$2
add $2,2
lpe
mov $0,$1
mod $0,2
| 30.625 | 201 | 0.6 |
5a60defc9e59138175c38c4c9fa64d27be709fde | 3,805 | asm | Assembly | syzygy/core/disassembler_test_code.asm | nzeh/syzygy | 3573e3d458dbb4285753c28a7cb42ced739f9f55 | [
"Apache-2.0"
] | 343 | 2015-01-07T05:58:44.000Z | 2022-03-15T14:55:21.000Z | syzygy/core/disassembler_test_code.asm | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 61 | 2015-03-19T18:20:21.000Z | 2019-10-23T12:58:23.000Z | syzygy/core/disassembler_test_code.asm | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 66 | 2015-01-20T15:35:05.000Z | 2021-11-25T16:49:41.000Z | ; Copyright 2011 Google Inc. All Rights Reserved.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
.386
.MODEL FLAT, C
.CODE
EXTERN C func1:PROC
EXTERN C func2:PROC
EXTERN C func3:PROC
EXTERN C func4:PROC
EXTERN C exit:PROC
PUBLIC assembly_func, internal_label, assembly_func_end
PUBLIC assembly_switch, case_0, case_1, case_default
PUBLIC jump_table, lookup_table, assembly_switch_end
; We only declare a single top-level function here, as the linker adds
; indirection to functions under incremental building, which throws off
; our tests.
assembly_start PROC
; Make sure the internal labels aren't synonymous with the proc.
nop
assembly_func LABEL PROC
; We should get this in the output.
call func1
jnz lbl1
; This looks like tail-call elimination and should show in the output.
jmp func2
lbl1:
jmp lbl2
; expose this label as a public symbol.
internal_label LABEL PROC
; This should not show in disassembly unless
; we explicitly mark internal_label unvisited.
call func3
lbl2:
; This should also be included.
call func4
ret
assembly_func_end LABEL PROC
; This function looks like what VC generates for a complex switch statement.
; In this case there are two lookup tables, one from selector value to
; case index, and a jump table to the cases within the function. The function
; also makes like control flow merges into the lookup tables by ending in
; a call to a non-returning function.
assembly_switch LABEL PROC
; get the first argument
mov eax, [esp + 4]
cmp eax, 0ffh
movzx eax, BYTE PTR[lookup_table + eax]
jmp DWORD PTR[jump_table + eax * 4]
case_0 LABEL PROC
call func1
ret
case_1 LABEL PROC
; This case falls through to the default.
call func2
case_default LABEL PROC
push 1
; exit is a non-returning function, and we've seen cases where the optimizer
; generates code that ends in a call to a non-returning function.
; The disassembler should identify the jump table and the lookup table as
; data due to the mov and jmp instructions above that refer to them,
; and not disassemble into the data even though control seemingly flows
; into it.
call exit
jump_table \
dd case_0
dd case_1
dd case_default
lookup_table \
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
db 0, 0, 2, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1
assembly_switch_end LABEL PROC
; Place some padding after the end of the function so that the
; assembly_switch_end label lies within the block. This allows our decomposer
; to handle this (artificial) code.
int 3
assembly_start ENDP
END
| 30.198413 | 79 | 0.670434 |
a6ebb34e851f00b4fd2aca03ef4dabc893102ce9 | 51,918 | asm | Assembly | stressfs.asm | shahendahamdy/xv6 | a8124692310f3deea36949224b02f3945092f7fd | [
"MIT-0"
] | null | null | null | stressfs.asm | shahendahamdy/xv6 | a8124692310f3deea36949224b02f3945092f7fd | [
"MIT-0"
] | null | null | null | stressfs.asm | shahendahamdy/xv6 | a8124692310f3deea36949224b02f3945092f7fd | [
"MIT-0"
] | null | null | null |
_stressfs: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
100b: b8 30 00 00 00 mov $0x30,%eax
{
1010: ff 71 fc pushl -0x4(%ecx)
1013: 55 push %ebp
1014: 89 e5 mov %esp,%ebp
1016: 57 push %edi
1017: 56 push %esi
char data[512];
printf(1, "stressfs starting\n");
memset(data, 'a', sizeof(data));
1018: 8d b5 e8 fd ff ff lea -0x218(%ebp),%esi
{
101e: 53 push %ebx
for(i = 0; i < 4; i++)
101f: 31 db xor %ebx,%ebx
{
1021: 51 push %ecx
1022: 81 ec 20 02 00 00 sub $0x220,%esp
char path[] = "stressfs0";
1028: 66 89 85 e6 fd ff ff mov %ax,-0x21a(%ebp)
printf(1, "stressfs starting\n");
102f: 68 48 19 00 00 push $0x1948
1034: 6a 01 push $0x1
char path[] = "stressfs0";
1036: c7 85 de fd ff ff 73 movl $0x65727473,-0x222(%ebp)
103d: 74 72 65
1040: c7 85 e2 fd ff ff 73 movl $0x73667373,-0x21e(%ebp)
1047: 73 66 73
printf(1, "stressfs starting\n");
104a: e8 31 07 00 00 call 1780 <printf>
memset(data, 'a', sizeof(data));
104f: 83 c4 0c add $0xc,%esp
1052: 68 00 02 00 00 push $0x200
1057: 6a 61 push $0x61
1059: 56 push %esi
105a: e8 a1 01 00 00 call 1200 <memset>
105f: 83 c4 10 add $0x10,%esp
if(fork() > 0)
1062: e8 7e 05 00 00 call 15e5 <fork>
1067: 85 c0 test %eax,%eax
1069: 0f 8f bb 00 00 00 jg 112a <main+0x12a>
for(i = 0; i < 4; i++)
106f: 83 c3 01 add $0x1,%ebx
1072: 83 fb 04 cmp $0x4,%ebx
1075: 75 eb jne 1062 <main+0x62>
1077: bf 04 00 00 00 mov $0x4,%edi
break;
printf(1, "write %d\n", i);
107c: 83 ec 04 sub $0x4,%esp
107f: 53 push %ebx
path[8] += i;
fd = open(path, O_CREATE | O_RDWR);
1080: bb 14 00 00 00 mov $0x14,%ebx
printf(1, "write %d\n", i);
1085: 68 5b 19 00 00 push $0x195b
108a: 6a 01 push $0x1
108c: e8 ef 06 00 00 call 1780 <printf>
path[8] += i;
1091: 89 f8 mov %edi,%eax
fd = open(path, O_CREATE | O_RDWR);
1093: 5f pop %edi
path[8] += i;
1094: 00 85 e6 fd ff ff add %al,-0x21a(%ebp)
fd = open(path, O_CREATE | O_RDWR);
109a: 58 pop %eax
109b: 8d 85 de fd ff ff lea -0x222(%ebp),%eax
10a1: 68 02 02 00 00 push $0x202
10a6: 50 push %eax
10a7: e8 81 05 00 00 call 162d <open>
10ac: 83 c4 10 add $0x10,%esp
10af: 89 c7 mov %eax,%edi
for(i = 0; i < 20; i++)
10b1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
// printf(fd, "%d\n", i);
write(fd, data, sizeof(data));
10b8: 83 ec 04 sub $0x4,%esp
10bb: 68 00 02 00 00 push $0x200
10c0: 56 push %esi
10c1: 57 push %edi
10c2: e8 46 05 00 00 call 160d <write>
for(i = 0; i < 20; i++)
10c7: 83 c4 10 add $0x10,%esp
10ca: 83 eb 01 sub $0x1,%ebx
10cd: 75 e9 jne 10b8 <main+0xb8>
close(fd);
10cf: 83 ec 0c sub $0xc,%esp
10d2: 57 push %edi
10d3: e8 3d 05 00 00 call 1615 <close>
printf(1, "read\n");
10d8: 58 pop %eax
10d9: 5a pop %edx
10da: 68 65 19 00 00 push $0x1965
10df: 6a 01 push $0x1
10e1: e8 9a 06 00 00 call 1780 <printf>
fd = open(path, O_RDONLY);
10e6: 8d 85 de fd ff ff lea -0x222(%ebp),%eax
10ec: 59 pop %ecx
10ed: 5b pop %ebx
10ee: 6a 00 push $0x0
10f0: bb 14 00 00 00 mov $0x14,%ebx
10f5: 50 push %eax
10f6: e8 32 05 00 00 call 162d <open>
10fb: 83 c4 10 add $0x10,%esp
10fe: 89 c7 mov %eax,%edi
for (i = 0; i < 20; i++)
read(fd, data, sizeof(data));
1100: 83 ec 04 sub $0x4,%esp
1103: 68 00 02 00 00 push $0x200
1108: 56 push %esi
1109: 57 push %edi
110a: e8 f6 04 00 00 call 1605 <read>
for (i = 0; i < 20; i++)
110f: 83 c4 10 add $0x10,%esp
1112: 83 eb 01 sub $0x1,%ebx
1115: 75 e9 jne 1100 <main+0x100>
close(fd);
1117: 83 ec 0c sub $0xc,%esp
111a: 57 push %edi
111b: e8 f5 04 00 00 call 1615 <close>
wait();
1120: e8 d0 04 00 00 call 15f5 <wait>
exit();
1125: e8 c3 04 00 00 call 15ed <exit>
112a: 89 df mov %ebx,%edi
112c: e9 4b ff ff ff jmp 107c <main+0x7c>
1131: 66 90 xchg %ax,%ax
1133: 66 90 xchg %ax,%ax
1135: 66 90 xchg %ax,%ax
1137: 66 90 xchg %ax,%ax
1139: 66 90 xchg %ax,%ax
113b: 66 90 xchg %ax,%ax
113d: 66 90 xchg %ax,%ax
113f: 90 nop
00001140 <strcpy>:
};
char*
strcpy(char *s, const char *t)
{
1140: f3 0f 1e fb endbr32
1144: 55 push %ebp
char *os;
os = s;
while((*s++ = *t++) != 0)
1145: 31 c0 xor %eax,%eax
{
1147: 89 e5 mov %esp,%ebp
1149: 53 push %ebx
114a: 8b 4d 08 mov 0x8(%ebp),%ecx
114d: 8b 5d 0c mov 0xc(%ebp),%ebx
while((*s++ = *t++) != 0)
1150: 0f b6 14 03 movzbl (%ebx,%eax,1),%edx
1154: 88 14 01 mov %dl,(%ecx,%eax,1)
1157: 83 c0 01 add $0x1,%eax
115a: 84 d2 test %dl,%dl
115c: 75 f2 jne 1150 <strcpy+0x10>
;
return os;
}
115e: 89 c8 mov %ecx,%eax
1160: 5b pop %ebx
1161: 5d pop %ebp
1162: c3 ret
1163: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
116a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
00001170 <strcmp>:
int
strcmp(const char *p, const char *q)
{
1170: f3 0f 1e fb endbr32
1174: 55 push %ebp
1175: 89 e5 mov %esp,%ebp
1177: 53 push %ebx
1178: 8b 4d 08 mov 0x8(%ebp),%ecx
117b: 8b 55 0c mov 0xc(%ebp),%edx
while(*p && *p == *q)
117e: 0f b6 01 movzbl (%ecx),%eax
1181: 0f b6 1a movzbl (%edx),%ebx
1184: 84 c0 test %al,%al
1186: 75 19 jne 11a1 <strcmp+0x31>
1188: eb 26 jmp 11b0 <strcmp+0x40>
118a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
1190: 0f b6 41 01 movzbl 0x1(%ecx),%eax
p++, q++;
1194: 83 c1 01 add $0x1,%ecx
1197: 83 c2 01 add $0x1,%edx
while(*p && *p == *q)
119a: 0f b6 1a movzbl (%edx),%ebx
119d: 84 c0 test %al,%al
119f: 74 0f je 11b0 <strcmp+0x40>
11a1: 38 d8 cmp %bl,%al
11a3: 74 eb je 1190 <strcmp+0x20>
return (uchar)*p - (uchar)*q;
11a5: 29 d8 sub %ebx,%eax
}
11a7: 5b pop %ebx
11a8: 5d pop %ebp
11a9: c3 ret
11aa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
11b0: 31 c0 xor %eax,%eax
return (uchar)*p - (uchar)*q;
11b2: 29 d8 sub %ebx,%eax
}
11b4: 5b pop %ebx
11b5: 5d pop %ebp
11b6: c3 ret
11b7: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
11be: 66 90 xchg %ax,%ax
000011c0 <strlen>:
uint
strlen(const char *s)
{
11c0: f3 0f 1e fb endbr32
11c4: 55 push %ebp
11c5: 89 e5 mov %esp,%ebp
11c7: 8b 55 08 mov 0x8(%ebp),%edx
int n;
for(n = 0; s[n]; n++)
11ca: 80 3a 00 cmpb $0x0,(%edx)
11cd: 74 21 je 11f0 <strlen+0x30>
11cf: 31 c0 xor %eax,%eax
11d1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
11d8: 83 c0 01 add $0x1,%eax
11db: 80 3c 02 00 cmpb $0x0,(%edx,%eax,1)
11df: 89 c1 mov %eax,%ecx
11e1: 75 f5 jne 11d8 <strlen+0x18>
;
return n;
}
11e3: 89 c8 mov %ecx,%eax
11e5: 5d pop %ebp
11e6: c3 ret
11e7: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
11ee: 66 90 xchg %ax,%ax
for(n = 0; s[n]; n++)
11f0: 31 c9 xor %ecx,%ecx
}
11f2: 5d pop %ebp
11f3: 89 c8 mov %ecx,%eax
11f5: c3 ret
11f6: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
11fd: 8d 76 00 lea 0x0(%esi),%esi
00001200 <memset>:
void*
memset(void *dst, int c, uint n)
{
1200: f3 0f 1e fb endbr32
1204: 55 push %ebp
1205: 89 e5 mov %esp,%ebp
1207: 57 push %edi
1208: 8b 55 08 mov 0x8(%ebp),%edx
}
static inline void
stosb(void *addr, int data, int cnt)
{
asm volatile("cld; rep stosb" :
120b: 8b 4d 10 mov 0x10(%ebp),%ecx
120e: 8b 45 0c mov 0xc(%ebp),%eax
1211: 89 d7 mov %edx,%edi
1213: fc cld
1214: f3 aa rep stos %al,%es:(%edi)
stosb(dst, c, n);
return dst;
}
1216: 89 d0 mov %edx,%eax
1218: 5f pop %edi
1219: 5d pop %ebp
121a: c3 ret
121b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
121f: 90 nop
00001220 <strchr>:
char*
strchr(const char *s, char c)
{
1220: f3 0f 1e fb endbr32
1224: 55 push %ebp
1225: 89 e5 mov %esp,%ebp
1227: 8b 45 08 mov 0x8(%ebp),%eax
122a: 0f b6 4d 0c movzbl 0xc(%ebp),%ecx
for(; *s; s++)
122e: 0f b6 10 movzbl (%eax),%edx
1231: 84 d2 test %dl,%dl
1233: 75 16 jne 124b <strchr+0x2b>
1235: eb 21 jmp 1258 <strchr+0x38>
1237: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
123e: 66 90 xchg %ax,%ax
1240: 0f b6 50 01 movzbl 0x1(%eax),%edx
1244: 83 c0 01 add $0x1,%eax
1247: 84 d2 test %dl,%dl
1249: 74 0d je 1258 <strchr+0x38>
if(*s == c)
124b: 38 d1 cmp %dl,%cl
124d: 75 f1 jne 1240 <strchr+0x20>
return (char*)s;
return 0;
}
124f: 5d pop %ebp
1250: c3 ret
1251: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
return 0;
1258: 31 c0 xor %eax,%eax
}
125a: 5d pop %ebp
125b: c3 ret
125c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00001260 <gets>:
char*
gets(char *buf, int max)
{
1260: f3 0f 1e fb endbr32
1264: 55 push %ebp
1265: 89 e5 mov %esp,%ebp
1267: 57 push %edi
1268: 56 push %esi
int i, cc;
char c;
for(i=0; i+1 < max; ){
1269: 31 f6 xor %esi,%esi
{
126b: 53 push %ebx
126c: 89 f3 mov %esi,%ebx
126e: 83 ec 1c sub $0x1c,%esp
1271: 8b 7d 08 mov 0x8(%ebp),%edi
for(i=0; i+1 < max; ){
1274: eb 33 jmp 12a9 <gets+0x49>
1276: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
127d: 8d 76 00 lea 0x0(%esi),%esi
cc = read(0, &c, 1);
1280: 83 ec 04 sub $0x4,%esp
1283: 8d 45 e7 lea -0x19(%ebp),%eax
1286: 6a 01 push $0x1
1288: 50 push %eax
1289: 6a 00 push $0x0
128b: e8 75 03 00 00 call 1605 <read>
if(cc < 1)
1290: 83 c4 10 add $0x10,%esp
1293: 85 c0 test %eax,%eax
1295: 7e 1c jle 12b3 <gets+0x53>
break;
buf[i++] = c;
1297: 0f b6 45 e7 movzbl -0x19(%ebp),%eax
129b: 83 c7 01 add $0x1,%edi
129e: 88 47 ff mov %al,-0x1(%edi)
if(c == '\n' || c == '\r')
12a1: 3c 0a cmp $0xa,%al
12a3: 74 23 je 12c8 <gets+0x68>
12a5: 3c 0d cmp $0xd,%al
12a7: 74 1f je 12c8 <gets+0x68>
for(i=0; i+1 < max; ){
12a9: 83 c3 01 add $0x1,%ebx
12ac: 89 fe mov %edi,%esi
12ae: 3b 5d 0c cmp 0xc(%ebp),%ebx
12b1: 7c cd jl 1280 <gets+0x20>
12b3: 89 f3 mov %esi,%ebx
break;
}
buf[i] = '\0';
return buf;
}
12b5: 8b 45 08 mov 0x8(%ebp),%eax
buf[i] = '\0';
12b8: c6 03 00 movb $0x0,(%ebx)
}
12bb: 8d 65 f4 lea -0xc(%ebp),%esp
12be: 5b pop %ebx
12bf: 5e pop %esi
12c0: 5f pop %edi
12c1: 5d pop %ebp
12c2: c3 ret
12c3: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
12c7: 90 nop
12c8: 8b 75 08 mov 0x8(%ebp),%esi
12cb: 8b 45 08 mov 0x8(%ebp),%eax
12ce: 01 de add %ebx,%esi
12d0: 89 f3 mov %esi,%ebx
buf[i] = '\0';
12d2: c6 03 00 movb $0x0,(%ebx)
}
12d5: 8d 65 f4 lea -0xc(%ebp),%esp
12d8: 5b pop %ebx
12d9: 5e pop %esi
12da: 5f pop %edi
12db: 5d pop %ebp
12dc: c3 ret
12dd: 8d 76 00 lea 0x0(%esi),%esi
000012e0 <stat>:
int
stat(const char *n, struct stat *st)
{
12e0: f3 0f 1e fb endbr32
12e4: 55 push %ebp
12e5: 89 e5 mov %esp,%ebp
12e7: 56 push %esi
12e8: 53 push %ebx
int fd;
int r;
fd = open(n, O_RDONLY);
12e9: 83 ec 08 sub $0x8,%esp
12ec: 6a 00 push $0x0
12ee: ff 75 08 pushl 0x8(%ebp)
12f1: e8 37 03 00 00 call 162d <open>
if(fd < 0)
12f6: 83 c4 10 add $0x10,%esp
12f9: 85 c0 test %eax,%eax
12fb: 78 2b js 1328 <stat+0x48>
return -1;
r = fstat(fd, st);
12fd: 83 ec 08 sub $0x8,%esp
1300: ff 75 0c pushl 0xc(%ebp)
1303: 89 c3 mov %eax,%ebx
1305: 50 push %eax
1306: e8 3a 03 00 00 call 1645 <fstat>
close(fd);
130b: 89 1c 24 mov %ebx,(%esp)
r = fstat(fd, st);
130e: 89 c6 mov %eax,%esi
close(fd);
1310: e8 00 03 00 00 call 1615 <close>
return r;
1315: 83 c4 10 add $0x10,%esp
}
1318: 8d 65 f8 lea -0x8(%ebp),%esp
131b: 89 f0 mov %esi,%eax
131d: 5b pop %ebx
131e: 5e pop %esi
131f: 5d pop %ebp
1320: c3 ret
1321: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
return -1;
1328: be ff ff ff ff mov $0xffffffff,%esi
132d: eb e9 jmp 1318 <stat+0x38>
132f: 90 nop
00001330 <atoi>:
int
atoi(const char *s)
{
1330: f3 0f 1e fb endbr32
1334: 55 push %ebp
1335: 89 e5 mov %esp,%ebp
1337: 53 push %ebx
1338: 8b 55 08 mov 0x8(%ebp),%edx
int n;
n = 0;
while('0' <= *s && *s <= '9')
133b: 0f be 02 movsbl (%edx),%eax
133e: 8d 48 d0 lea -0x30(%eax),%ecx
1341: 80 f9 09 cmp $0x9,%cl
n = 0;
1344: b9 00 00 00 00 mov $0x0,%ecx
while('0' <= *s && *s <= '9')
1349: 77 1a ja 1365 <atoi+0x35>
134b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
134f: 90 nop
n = n*10 + *s++ - '0';
1350: 83 c2 01 add $0x1,%edx
1353: 8d 0c 89 lea (%ecx,%ecx,4),%ecx
1356: 8d 4c 48 d0 lea -0x30(%eax,%ecx,2),%ecx
while('0' <= *s && *s <= '9')
135a: 0f be 02 movsbl (%edx),%eax
135d: 8d 58 d0 lea -0x30(%eax),%ebx
1360: 80 fb 09 cmp $0x9,%bl
1363: 76 eb jbe 1350 <atoi+0x20>
return n;
}
1365: 89 c8 mov %ecx,%eax
1367: 5b pop %ebx
1368: 5d pop %ebp
1369: c3 ret
136a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
00001370 <memmove>:
void*
memmove(void *vdst, const void *vsrc, int n)
{
1370: f3 0f 1e fb endbr32
1374: 55 push %ebp
1375: 89 e5 mov %esp,%ebp
1377: 57 push %edi
1378: 8b 45 10 mov 0x10(%ebp),%eax
137b: 8b 55 08 mov 0x8(%ebp),%edx
137e: 56 push %esi
137f: 8b 75 0c mov 0xc(%ebp),%esi
char *dst;
const char *src;
dst = vdst;
src = vsrc;
while(n-- > 0)
1382: 85 c0 test %eax,%eax
1384: 7e 0f jle 1395 <memmove+0x25>
1386: 01 d0 add %edx,%eax
dst = vdst;
1388: 89 d7 mov %edx,%edi
138a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
*dst++ = *src++;
1390: a4 movsb %ds:(%esi),%es:(%edi)
while(n-- > 0)
1391: 39 f8 cmp %edi,%eax
1393: 75 fb jne 1390 <memmove+0x20>
return vdst;
}
1395: 5e pop %esi
1396: 89 d0 mov %edx,%eax
1398: 5f pop %edi
1399: 5d pop %ebp
139a: c3 ret
139b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
139f: 90 nop
000013a0 <thread_join>:
void* stack;
stack =malloc(4096); //pgsize
return clone(start_routine,arg1,arg2,stack);
}
int thread_join()
{
13a0: f3 0f 1e fb endbr32
13a4: 55 push %ebp
13a5: 89 e5 mov %esp,%ebp
13a7: 83 ec 24 sub $0x24,%esp
void * stackPtr;
int x = join(&stackPtr);
13aa: 8d 45 f4 lea -0xc(%ebp),%eax
13ad: 50 push %eax
13ae: e8 0a 03 00 00 call 16bd <join>
return x;
}
13b3: c9 leave
13b4: c3 ret
13b5: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
13bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
000013c0 <lock_init>:
void lock_init(struct lock_t *lk){
13c0: f3 0f 1e fb endbr32
13c4: 55 push %ebp
13c5: 89 e5 mov %esp,%ebp
lk->locked=0; //intialize as unnlocked
13c7: 8b 45 08 mov 0x8(%ebp),%eax
13ca: c7 00 00 00 00 00 movl $0x0,(%eax)
}
13d0: 5d pop %ebp
13d1: c3 ret
13d2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
13d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
000013e0 <lock_acquire>:
void lock_acquire(struct lock_t *lk){
13e0: f3 0f 1e fb endbr32
13e4: 55 push %ebp
xchg(volatile uint *addr, uint newval)
{
uint result;
// The + in "+m" denotes a read-modify-write operand.
asm volatile("lock; xchgl %0, %1" :
13e5: b9 01 00 00 00 mov $0x1,%ecx
13ea: 89 e5 mov %esp,%ebp
13ec: 8b 55 08 mov 0x8(%ebp),%edx
13ef: 90 nop
13f0: 89 c8 mov %ecx,%eax
13f2: f0 87 02 lock xchg %eax,(%edx)
while(xchg(&lk->locked,1) != 0);
13f5: 85 c0 test %eax,%eax
13f7: 75 f7 jne 13f0 <lock_acquire+0x10>
}
13f9: 5d pop %ebp
13fa: c3 ret
13fb: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
13ff: 90 nop
00001400 <lock_release>:
void lock_release(struct lock_t *lk){
1400: f3 0f 1e fb endbr32
1404: 55 push %ebp
1405: 31 c0 xor %eax,%eax
1407: 89 e5 mov %esp,%ebp
1409: 8b 55 08 mov 0x8(%ebp),%edx
140c: f0 87 02 lock xchg %eax,(%edx)
xchg(&lk->locked,0) ;
}
140f: 5d pop %ebp
1410: c3 ret
1411: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
1418: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
141f: 90 nop
00001420 <free>:
static Header base;
static Header *freep;
void
free(void *ap)
{
1420: f3 0f 1e fb endbr32
1424: 55 push %ebp
Header *bp, *p;
bp = (Header*)ap - 1;
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
1425: a1 cc 1c 00 00 mov 0x1ccc,%eax
{
142a: 89 e5 mov %esp,%ebp
142c: 57 push %edi
142d: 56 push %esi
142e: 53 push %ebx
142f: 8b 5d 08 mov 0x8(%ebp),%ebx
1432: 8b 10 mov (%eax),%edx
bp = (Header*)ap - 1;
1434: 8d 4b f8 lea -0x8(%ebx),%ecx
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
1437: 39 c8 cmp %ecx,%eax
1439: 73 15 jae 1450 <free+0x30>
143b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
143f: 90 nop
1440: 39 d1 cmp %edx,%ecx
1442: 72 14 jb 1458 <free+0x38>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
1444: 39 d0 cmp %edx,%eax
1446: 73 10 jae 1458 <free+0x38>
{
1448: 89 d0 mov %edx,%eax
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
144a: 8b 10 mov (%eax),%edx
144c: 39 c8 cmp %ecx,%eax
144e: 72 f0 jb 1440 <free+0x20>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
1450: 39 d0 cmp %edx,%eax
1452: 72 f4 jb 1448 <free+0x28>
1454: 39 d1 cmp %edx,%ecx
1456: 73 f0 jae 1448 <free+0x28>
break;
if(bp + bp->s.size == p->s.ptr){
1458: 8b 73 fc mov -0x4(%ebx),%esi
145b: 8d 3c f1 lea (%ecx,%esi,8),%edi
145e: 39 fa cmp %edi,%edx
1460: 74 1e je 1480 <free+0x60>
bp->s.size += p->s.ptr->s.size;
bp->s.ptr = p->s.ptr->s.ptr;
} else
bp->s.ptr = p->s.ptr;
1462: 89 53 f8 mov %edx,-0x8(%ebx)
if(p + p->s.size == bp){
1465: 8b 50 04 mov 0x4(%eax),%edx
1468: 8d 34 d0 lea (%eax,%edx,8),%esi
146b: 39 f1 cmp %esi,%ecx
146d: 74 28 je 1497 <free+0x77>
p->s.size += bp->s.size;
p->s.ptr = bp->s.ptr;
} else
p->s.ptr = bp;
146f: 89 08 mov %ecx,(%eax)
freep = p;
}
1471: 5b pop %ebx
freep = p;
1472: a3 cc 1c 00 00 mov %eax,0x1ccc
}
1477: 5e pop %esi
1478: 5f pop %edi
1479: 5d pop %ebp
147a: c3 ret
147b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
147f: 90 nop
bp->s.size += p->s.ptr->s.size;
1480: 03 72 04 add 0x4(%edx),%esi
1483: 89 73 fc mov %esi,-0x4(%ebx)
bp->s.ptr = p->s.ptr->s.ptr;
1486: 8b 10 mov (%eax),%edx
1488: 8b 12 mov (%edx),%edx
148a: 89 53 f8 mov %edx,-0x8(%ebx)
if(p + p->s.size == bp){
148d: 8b 50 04 mov 0x4(%eax),%edx
1490: 8d 34 d0 lea (%eax,%edx,8),%esi
1493: 39 f1 cmp %esi,%ecx
1495: 75 d8 jne 146f <free+0x4f>
p->s.size += bp->s.size;
1497: 03 53 fc add -0x4(%ebx),%edx
freep = p;
149a: a3 cc 1c 00 00 mov %eax,0x1ccc
p->s.size += bp->s.size;
149f: 89 50 04 mov %edx,0x4(%eax)
p->s.ptr = bp->s.ptr;
14a2: 8b 53 f8 mov -0x8(%ebx),%edx
14a5: 89 10 mov %edx,(%eax)
}
14a7: 5b pop %ebx
14a8: 5e pop %esi
14a9: 5f pop %edi
14aa: 5d pop %ebp
14ab: c3 ret
14ac: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
000014b0 <malloc>:
return freep;
}
void*
malloc(uint nbytes)
{
14b0: f3 0f 1e fb endbr32
14b4: 55 push %ebp
14b5: 89 e5 mov %esp,%ebp
14b7: 57 push %edi
14b8: 56 push %esi
14b9: 53 push %ebx
14ba: 83 ec 1c sub $0x1c,%esp
Header *p, *prevp;
uint nunits;
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
14bd: 8b 45 08 mov 0x8(%ebp),%eax
if((prevp = freep) == 0){
14c0: 8b 3d cc 1c 00 00 mov 0x1ccc,%edi
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
14c6: 8d 70 07 lea 0x7(%eax),%esi
14c9: c1 ee 03 shr $0x3,%esi
14cc: 83 c6 01 add $0x1,%esi
if((prevp = freep) == 0){
14cf: 85 ff test %edi,%edi
14d1: 0f 84 a9 00 00 00 je 1580 <malloc+0xd0>
base.s.ptr = freep = prevp = &base;
base.s.size = 0;
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
14d7: 8b 07 mov (%edi),%eax
if(p->s.size >= nunits){
14d9: 8b 48 04 mov 0x4(%eax),%ecx
14dc: 39 f1 cmp %esi,%ecx
14de: 73 6d jae 154d <malloc+0x9d>
14e0: 81 fe 00 10 00 00 cmp $0x1000,%esi
14e6: bb 00 10 00 00 mov $0x1000,%ebx
14eb: 0f 43 de cmovae %esi,%ebx
p = sbrk(nu * sizeof(Header));
14ee: 8d 0c dd 00 00 00 00 lea 0x0(,%ebx,8),%ecx
14f5: 89 4d e4 mov %ecx,-0x1c(%ebp)
14f8: eb 17 jmp 1511 <malloc+0x61>
14fa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
1500: 8b 10 mov (%eax),%edx
if(p->s.size >= nunits){
1502: 8b 4a 04 mov 0x4(%edx),%ecx
1505: 39 f1 cmp %esi,%ecx
1507: 73 4f jae 1558 <malloc+0xa8>
1509: 8b 3d cc 1c 00 00 mov 0x1ccc,%edi
150f: 89 d0 mov %edx,%eax
p->s.size = nunits;
}
freep = prevp;
return (void*)(p + 1);
}
if(p == freep)
1511: 39 c7 cmp %eax,%edi
1513: 75 eb jne 1500 <malloc+0x50>
p = sbrk(nu * sizeof(Header));
1515: 83 ec 0c sub $0xc,%esp
1518: ff 75 e4 pushl -0x1c(%ebp)
151b: e8 55 01 00 00 call 1675 <sbrk>
if(p == (char*)-1)
1520: 83 c4 10 add $0x10,%esp
1523: 83 f8 ff cmp $0xffffffff,%eax
1526: 74 1b je 1543 <malloc+0x93>
hp->s.size = nu;
1528: 89 58 04 mov %ebx,0x4(%eax)
free((void*)(hp + 1));
152b: 83 ec 0c sub $0xc,%esp
152e: 83 c0 08 add $0x8,%eax
1531: 50 push %eax
1532: e8 e9 fe ff ff call 1420 <free>
return freep;
1537: a1 cc 1c 00 00 mov 0x1ccc,%eax
if((p = morecore(nunits)) == 0)
153c: 83 c4 10 add $0x10,%esp
153f: 85 c0 test %eax,%eax
1541: 75 bd jne 1500 <malloc+0x50>
return 0;
}
}
1543: 8d 65 f4 lea -0xc(%ebp),%esp
return 0;
1546: 31 c0 xor %eax,%eax
}
1548: 5b pop %ebx
1549: 5e pop %esi
154a: 5f pop %edi
154b: 5d pop %ebp
154c: c3 ret
if(p->s.size >= nunits){
154d: 89 c2 mov %eax,%edx
154f: 89 f8 mov %edi,%eax
1551: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
if(p->s.size == nunits)
1558: 39 ce cmp %ecx,%esi
155a: 74 54 je 15b0 <malloc+0x100>
p->s.size -= nunits;
155c: 29 f1 sub %esi,%ecx
155e: 89 4a 04 mov %ecx,0x4(%edx)
p += p->s.size;
1561: 8d 14 ca lea (%edx,%ecx,8),%edx
p->s.size = nunits;
1564: 89 72 04 mov %esi,0x4(%edx)
freep = prevp;
1567: a3 cc 1c 00 00 mov %eax,0x1ccc
}
156c: 8d 65 f4 lea -0xc(%ebp),%esp
return (void*)(p + 1);
156f: 8d 42 08 lea 0x8(%edx),%eax
}
1572: 5b pop %ebx
1573: 5e pop %esi
1574: 5f pop %edi
1575: 5d pop %ebp
1576: c3 ret
1577: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
157e: 66 90 xchg %ax,%ax
base.s.ptr = freep = prevp = &base;
1580: c7 05 cc 1c 00 00 d0 movl $0x1cd0,0x1ccc
1587: 1c 00 00
base.s.size = 0;
158a: bf d0 1c 00 00 mov $0x1cd0,%edi
base.s.ptr = freep = prevp = &base;
158f: c7 05 d0 1c 00 00 d0 movl $0x1cd0,0x1cd0
1596: 1c 00 00
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
1599: 89 f8 mov %edi,%eax
base.s.size = 0;
159b: c7 05 d4 1c 00 00 00 movl $0x0,0x1cd4
15a2: 00 00 00
if(p->s.size >= nunits){
15a5: e9 36 ff ff ff jmp 14e0 <malloc+0x30>
15aa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
prevp->s.ptr = p->s.ptr;
15b0: 8b 0a mov (%edx),%ecx
15b2: 89 08 mov %ecx,(%eax)
15b4: eb b1 jmp 1567 <malloc+0xb7>
15b6: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
15bd: 8d 76 00 lea 0x0(%esi),%esi
000015c0 <thread_create>:
{
15c0: f3 0f 1e fb endbr32
15c4: 55 push %ebp
15c5: 89 e5 mov %esp,%ebp
15c7: 83 ec 14 sub $0x14,%esp
stack =malloc(4096); //pgsize
15ca: 68 00 10 00 00 push $0x1000
15cf: e8 dc fe ff ff call 14b0 <malloc>
return clone(start_routine,arg1,arg2,stack);
15d4: 50 push %eax
15d5: ff 75 10 pushl 0x10(%ebp)
15d8: ff 75 0c pushl 0xc(%ebp)
15db: ff 75 08 pushl 0x8(%ebp)
15de: e8 d2 00 00 00 call 16b5 <clone>
}
15e3: c9 leave
15e4: c3 ret
000015e5 <fork>:
name: \
movl $SYS_ ## name, %eax; \
int $T_SYSCALL; \
ret
SYSCALL(fork)
15e5: b8 01 00 00 00 mov $0x1,%eax
15ea: cd 40 int $0x40
15ec: c3 ret
000015ed <exit>:
SYSCALL(exit)
15ed: b8 02 00 00 00 mov $0x2,%eax
15f2: cd 40 int $0x40
15f4: c3 ret
000015f5 <wait>:
SYSCALL(wait)
15f5: b8 03 00 00 00 mov $0x3,%eax
15fa: cd 40 int $0x40
15fc: c3 ret
000015fd <pipe>:
SYSCALL(pipe)
15fd: b8 04 00 00 00 mov $0x4,%eax
1602: cd 40 int $0x40
1604: c3 ret
00001605 <read>:
SYSCALL(read)
1605: b8 05 00 00 00 mov $0x5,%eax
160a: cd 40 int $0x40
160c: c3 ret
0000160d <write>:
SYSCALL(write)
160d: b8 10 00 00 00 mov $0x10,%eax
1612: cd 40 int $0x40
1614: c3 ret
00001615 <close>:
SYSCALL(close)
1615: b8 15 00 00 00 mov $0x15,%eax
161a: cd 40 int $0x40
161c: c3 ret
0000161d <kill>:
SYSCALL(kill)
161d: b8 06 00 00 00 mov $0x6,%eax
1622: cd 40 int $0x40
1624: c3 ret
00001625 <exec>:
SYSCALL(exec)
1625: b8 07 00 00 00 mov $0x7,%eax
162a: cd 40 int $0x40
162c: c3 ret
0000162d <open>:
SYSCALL(open)
162d: b8 0f 00 00 00 mov $0xf,%eax
1632: cd 40 int $0x40
1634: c3 ret
00001635 <mknod>:
SYSCALL(mknod)
1635: b8 11 00 00 00 mov $0x11,%eax
163a: cd 40 int $0x40
163c: c3 ret
0000163d <unlink>:
SYSCALL(unlink)
163d: b8 12 00 00 00 mov $0x12,%eax
1642: cd 40 int $0x40
1644: c3 ret
00001645 <fstat>:
SYSCALL(fstat)
1645: b8 08 00 00 00 mov $0x8,%eax
164a: cd 40 int $0x40
164c: c3 ret
0000164d <link>:
SYSCALL(link)
164d: b8 13 00 00 00 mov $0x13,%eax
1652: cd 40 int $0x40
1654: c3 ret
00001655 <mkdir>:
SYSCALL(mkdir)
1655: b8 14 00 00 00 mov $0x14,%eax
165a: cd 40 int $0x40
165c: c3 ret
0000165d <chdir>:
SYSCALL(chdir)
165d: b8 09 00 00 00 mov $0x9,%eax
1662: cd 40 int $0x40
1664: c3 ret
00001665 <dup>:
SYSCALL(dup)
1665: b8 0a 00 00 00 mov $0xa,%eax
166a: cd 40 int $0x40
166c: c3 ret
0000166d <getpid>:
SYSCALL(getpid)
166d: b8 0b 00 00 00 mov $0xb,%eax
1672: cd 40 int $0x40
1674: c3 ret
00001675 <sbrk>:
SYSCALL(sbrk)
1675: b8 0c 00 00 00 mov $0xc,%eax
167a: cd 40 int $0x40
167c: c3 ret
0000167d <sleep>:
SYSCALL(sleep)
167d: b8 0d 00 00 00 mov $0xd,%eax
1682: cd 40 int $0x40
1684: c3 ret
00001685 <uptime>:
SYSCALL(uptime)
1685: b8 0e 00 00 00 mov $0xe,%eax
168a: cd 40 int $0x40
168c: c3 ret
0000168d <count>:
SYSCALL(count)
168d: b8 16 00 00 00 mov $0x16,%eax
1692: cd 40 int $0x40
1694: c3 ret
00001695 <settickets>:
SYSCALL(settickets)
1695: b8 17 00 00 00 mov $0x17,%eax
169a: cd 40 int $0x40
169c: c3 ret
0000169d <getpinfo>:
SYSCALL(getpinfo)
169d: b8 18 00 00 00 mov $0x18,%eax
16a2: cd 40 int $0x40
16a4: c3 ret
000016a5 <mprotect>:
SYSCALL(mprotect)
16a5: b8 19 00 00 00 mov $0x19,%eax
16aa: cd 40 int $0x40
16ac: c3 ret
000016ad <munprotect>:
SYSCALL(munprotect)
16ad: b8 1a 00 00 00 mov $0x1a,%eax
16b2: cd 40 int $0x40
16b4: c3 ret
000016b5 <clone>:
SYSCALL(clone)
16b5: b8 1b 00 00 00 mov $0x1b,%eax
16ba: cd 40 int $0x40
16bc: c3 ret
000016bd <join>:
SYSCALL(join)
16bd: b8 1c 00 00 00 mov $0x1c,%eax
16c2: cd 40 int $0x40
16c4: c3 ret
16c5: 66 90 xchg %ax,%ax
16c7: 66 90 xchg %ax,%ax
16c9: 66 90 xchg %ax,%ax
16cb: 66 90 xchg %ax,%ax
16cd: 66 90 xchg %ax,%ax
16cf: 90 nop
000016d0 <printint>:
write(fd, &c, 1);
}
static void
printint(int fd, int xx, int base, int sgn)
{
16d0: 55 push %ebp
16d1: 89 e5 mov %esp,%ebp
16d3: 57 push %edi
16d4: 56 push %esi
16d5: 53 push %ebx
16d6: 83 ec 3c sub $0x3c,%esp
16d9: 89 4d c4 mov %ecx,-0x3c(%ebp)
uint x;
neg = 0;
if(sgn && xx < 0){
neg = 1;
x = -xx;
16dc: 89 d1 mov %edx,%ecx
{
16de: 89 45 b8 mov %eax,-0x48(%ebp)
if(sgn && xx < 0){
16e1: 85 d2 test %edx,%edx
16e3: 0f 89 7f 00 00 00 jns 1768 <printint+0x98>
16e9: f6 45 08 01 testb $0x1,0x8(%ebp)
16ed: 74 79 je 1768 <printint+0x98>
neg = 1;
16ef: c7 45 bc 01 00 00 00 movl $0x1,-0x44(%ebp)
x = -xx;
16f6: f7 d9 neg %ecx
} else {
x = xx;
}
i = 0;
16f8: 31 db xor %ebx,%ebx
16fa: 8d 75 d7 lea -0x29(%ebp),%esi
16fd: 8d 76 00 lea 0x0(%esi),%esi
do{
buf[i++] = digits[x % base];
1700: 89 c8 mov %ecx,%eax
1702: 31 d2 xor %edx,%edx
1704: 89 cf mov %ecx,%edi
1706: f7 75 c4 divl -0x3c(%ebp)
1709: 0f b6 92 74 19 00 00 movzbl 0x1974(%edx),%edx
1710: 89 45 c0 mov %eax,-0x40(%ebp)
1713: 89 d8 mov %ebx,%eax
1715: 8d 5b 01 lea 0x1(%ebx),%ebx
}while((x /= base) != 0);
1718: 8b 4d c0 mov -0x40(%ebp),%ecx
buf[i++] = digits[x % base];
171b: 88 14 1e mov %dl,(%esi,%ebx,1)
}while((x /= base) != 0);
171e: 39 7d c4 cmp %edi,-0x3c(%ebp)
1721: 76 dd jbe 1700 <printint+0x30>
if(neg)
1723: 8b 4d bc mov -0x44(%ebp),%ecx
1726: 85 c9 test %ecx,%ecx
1728: 74 0c je 1736 <printint+0x66>
buf[i++] = '-';
172a: c6 44 1d d8 2d movb $0x2d,-0x28(%ebp,%ebx,1)
buf[i++] = digits[x % base];
172f: 89 d8 mov %ebx,%eax
buf[i++] = '-';
1731: ba 2d 00 00 00 mov $0x2d,%edx
while(--i >= 0)
1736: 8b 7d b8 mov -0x48(%ebp),%edi
1739: 8d 5c 05 d7 lea -0x29(%ebp,%eax,1),%ebx
173d: eb 07 jmp 1746 <printint+0x76>
173f: 90 nop
1740: 0f b6 13 movzbl (%ebx),%edx
1743: 83 eb 01 sub $0x1,%ebx
write(fd, &c, 1);
1746: 83 ec 04 sub $0x4,%esp
1749: 88 55 d7 mov %dl,-0x29(%ebp)
174c: 6a 01 push $0x1
174e: 56 push %esi
174f: 57 push %edi
1750: e8 b8 fe ff ff call 160d <write>
while(--i >= 0)
1755: 83 c4 10 add $0x10,%esp
1758: 39 de cmp %ebx,%esi
175a: 75 e4 jne 1740 <printint+0x70>
putc(fd, buf[i]);
}
175c: 8d 65 f4 lea -0xc(%ebp),%esp
175f: 5b pop %ebx
1760: 5e pop %esi
1761: 5f pop %edi
1762: 5d pop %ebp
1763: c3 ret
1764: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
neg = 0;
1768: c7 45 bc 00 00 00 00 movl $0x0,-0x44(%ebp)
176f: eb 87 jmp 16f8 <printint+0x28>
1771: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
1778: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
177f: 90 nop
00001780 <printf>:
// Print to the given fd. Only understands %d, %x, %p, %s.
void
printf(int fd, const char *fmt, ...)
{
1780: f3 0f 1e fb endbr32
1784: 55 push %ebp
1785: 89 e5 mov %esp,%ebp
1787: 57 push %edi
1788: 56 push %esi
1789: 53 push %ebx
178a: 83 ec 2c sub $0x2c,%esp
int c, i, state;
uint *ap;
state = 0;
ap = (uint*)(void*)&fmt + 1;
for(i = 0; fmt[i]; i++){
178d: 8b 75 0c mov 0xc(%ebp),%esi
1790: 0f b6 1e movzbl (%esi),%ebx
1793: 84 db test %bl,%bl
1795: 0f 84 b4 00 00 00 je 184f <printf+0xcf>
ap = (uint*)(void*)&fmt + 1;
179b: 8d 45 10 lea 0x10(%ebp),%eax
179e: 83 c6 01 add $0x1,%esi
write(fd, &c, 1);
17a1: 8d 7d e7 lea -0x19(%ebp),%edi
state = 0;
17a4: 31 d2 xor %edx,%edx
ap = (uint*)(void*)&fmt + 1;
17a6: 89 45 d0 mov %eax,-0x30(%ebp)
17a9: eb 33 jmp 17de <printf+0x5e>
17ab: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
17af: 90 nop
17b0: 89 55 d4 mov %edx,-0x2c(%ebp)
c = fmt[i] & 0xff;
if(state == 0){
if(c == '%'){
state = '%';
17b3: ba 25 00 00 00 mov $0x25,%edx
if(c == '%'){
17b8: 83 f8 25 cmp $0x25,%eax
17bb: 74 17 je 17d4 <printf+0x54>
write(fd, &c, 1);
17bd: 83 ec 04 sub $0x4,%esp
17c0: 88 5d e7 mov %bl,-0x19(%ebp)
17c3: 6a 01 push $0x1
17c5: 57 push %edi
17c6: ff 75 08 pushl 0x8(%ebp)
17c9: e8 3f fe ff ff call 160d <write>
17ce: 8b 55 d4 mov -0x2c(%ebp),%edx
} else {
putc(fd, c);
17d1: 83 c4 10 add $0x10,%esp
for(i = 0; fmt[i]; i++){
17d4: 0f b6 1e movzbl (%esi),%ebx
17d7: 83 c6 01 add $0x1,%esi
17da: 84 db test %bl,%bl
17dc: 74 71 je 184f <printf+0xcf>
c = fmt[i] & 0xff;
17de: 0f be cb movsbl %bl,%ecx
17e1: 0f b6 c3 movzbl %bl,%eax
if(state == 0){
17e4: 85 d2 test %edx,%edx
17e6: 74 c8 je 17b0 <printf+0x30>
}
} else if(state == '%'){
17e8: 83 fa 25 cmp $0x25,%edx
17eb: 75 e7 jne 17d4 <printf+0x54>
if(c == 'd'){
17ed: 83 f8 64 cmp $0x64,%eax
17f0: 0f 84 9a 00 00 00 je 1890 <printf+0x110>
printint(fd, *ap, 10, 1);
ap++;
} else if(c == 'x' || c == 'p'){
17f6: 81 e1 f7 00 00 00 and $0xf7,%ecx
17fc: 83 f9 70 cmp $0x70,%ecx
17ff: 74 5f je 1860 <printf+0xe0>
printint(fd, *ap, 16, 0);
ap++;
} else if(c == 's'){
1801: 83 f8 73 cmp $0x73,%eax
1804: 0f 84 d6 00 00 00 je 18e0 <printf+0x160>
s = "(null)";
while(*s != 0){
putc(fd, *s);
s++;
}
} else if(c == 'c'){
180a: 83 f8 63 cmp $0x63,%eax
180d: 0f 84 8d 00 00 00 je 18a0 <printf+0x120>
putc(fd, *ap);
ap++;
} else if(c == '%'){
1813: 83 f8 25 cmp $0x25,%eax
1816: 0f 84 b4 00 00 00 je 18d0 <printf+0x150>
write(fd, &c, 1);
181c: 83 ec 04 sub $0x4,%esp
181f: c6 45 e7 25 movb $0x25,-0x19(%ebp)
1823: 6a 01 push $0x1
1825: 57 push %edi
1826: ff 75 08 pushl 0x8(%ebp)
1829: e8 df fd ff ff call 160d <write>
putc(fd, c);
} else {
// Unknown % sequence. Print it to draw attention.
putc(fd, '%');
putc(fd, c);
182e: 88 5d e7 mov %bl,-0x19(%ebp)
write(fd, &c, 1);
1831: 83 c4 0c add $0xc,%esp
1834: 6a 01 push $0x1
1836: 83 c6 01 add $0x1,%esi
1839: 57 push %edi
183a: ff 75 08 pushl 0x8(%ebp)
183d: e8 cb fd ff ff call 160d <write>
for(i = 0; fmt[i]; i++){
1842: 0f b6 5e ff movzbl -0x1(%esi),%ebx
putc(fd, c);
1846: 83 c4 10 add $0x10,%esp
}
state = 0;
1849: 31 d2 xor %edx,%edx
for(i = 0; fmt[i]; i++){
184b: 84 db test %bl,%bl
184d: 75 8f jne 17de <printf+0x5e>
}
}
}
184f: 8d 65 f4 lea -0xc(%ebp),%esp
1852: 5b pop %ebx
1853: 5e pop %esi
1854: 5f pop %edi
1855: 5d pop %ebp
1856: c3 ret
1857: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
185e: 66 90 xchg %ax,%ax
printint(fd, *ap, 16, 0);
1860: 83 ec 0c sub $0xc,%esp
1863: b9 10 00 00 00 mov $0x10,%ecx
1868: 6a 00 push $0x0
186a: 8b 5d d0 mov -0x30(%ebp),%ebx
186d: 8b 45 08 mov 0x8(%ebp),%eax
1870: 8b 13 mov (%ebx),%edx
1872: e8 59 fe ff ff call 16d0 <printint>
ap++;
1877: 89 d8 mov %ebx,%eax
1879: 83 c4 10 add $0x10,%esp
state = 0;
187c: 31 d2 xor %edx,%edx
ap++;
187e: 83 c0 04 add $0x4,%eax
1881: 89 45 d0 mov %eax,-0x30(%ebp)
1884: e9 4b ff ff ff jmp 17d4 <printf+0x54>
1889: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
printint(fd, *ap, 10, 1);
1890: 83 ec 0c sub $0xc,%esp
1893: b9 0a 00 00 00 mov $0xa,%ecx
1898: 6a 01 push $0x1
189a: eb ce jmp 186a <printf+0xea>
189c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
putc(fd, *ap);
18a0: 8b 5d d0 mov -0x30(%ebp),%ebx
write(fd, &c, 1);
18a3: 83 ec 04 sub $0x4,%esp
putc(fd, *ap);
18a6: 8b 03 mov (%ebx),%eax
write(fd, &c, 1);
18a8: 6a 01 push $0x1
ap++;
18aa: 83 c3 04 add $0x4,%ebx
write(fd, &c, 1);
18ad: 57 push %edi
18ae: ff 75 08 pushl 0x8(%ebp)
putc(fd, *ap);
18b1: 88 45 e7 mov %al,-0x19(%ebp)
write(fd, &c, 1);
18b4: e8 54 fd ff ff call 160d <write>
ap++;
18b9: 89 5d d0 mov %ebx,-0x30(%ebp)
18bc: 83 c4 10 add $0x10,%esp
state = 0;
18bf: 31 d2 xor %edx,%edx
18c1: e9 0e ff ff ff jmp 17d4 <printf+0x54>
18c6: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
18cd: 8d 76 00 lea 0x0(%esi),%esi
putc(fd, c);
18d0: 88 5d e7 mov %bl,-0x19(%ebp)
write(fd, &c, 1);
18d3: 83 ec 04 sub $0x4,%esp
18d6: e9 59 ff ff ff jmp 1834 <printf+0xb4>
18db: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
18df: 90 nop
s = (char*)*ap;
18e0: 8b 45 d0 mov -0x30(%ebp),%eax
18e3: 8b 18 mov (%eax),%ebx
ap++;
18e5: 83 c0 04 add $0x4,%eax
18e8: 89 45 d0 mov %eax,-0x30(%ebp)
if(s == 0)
18eb: 85 db test %ebx,%ebx
18ed: 74 17 je 1906 <printf+0x186>
while(*s != 0){
18ef: 0f b6 03 movzbl (%ebx),%eax
state = 0;
18f2: 31 d2 xor %edx,%edx
while(*s != 0){
18f4: 84 c0 test %al,%al
18f6: 0f 84 d8 fe ff ff je 17d4 <printf+0x54>
18fc: 89 75 d4 mov %esi,-0x2c(%ebp)
18ff: 89 de mov %ebx,%esi
1901: 8b 5d 08 mov 0x8(%ebp),%ebx
1904: eb 1a jmp 1920 <printf+0x1a0>
s = "(null)";
1906: bb 6b 19 00 00 mov $0x196b,%ebx
while(*s != 0){
190b: 89 75 d4 mov %esi,-0x2c(%ebp)
190e: b8 28 00 00 00 mov $0x28,%eax
1913: 89 de mov %ebx,%esi
1915: 8b 5d 08 mov 0x8(%ebp),%ebx
1918: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
191f: 90 nop
write(fd, &c, 1);
1920: 83 ec 04 sub $0x4,%esp
s++;
1923: 83 c6 01 add $0x1,%esi
1926: 88 45 e7 mov %al,-0x19(%ebp)
write(fd, &c, 1);
1929: 6a 01 push $0x1
192b: 57 push %edi
192c: 53 push %ebx
192d: e8 db fc ff ff call 160d <write>
while(*s != 0){
1932: 0f b6 06 movzbl (%esi),%eax
1935: 83 c4 10 add $0x10,%esp
1938: 84 c0 test %al,%al
193a: 75 e4 jne 1920 <printf+0x1a0>
193c: 8b 75 d4 mov -0x2c(%ebp),%esi
state = 0;
193f: 31 d2 xor %edx,%edx
1941: e9 8e fe ff ff jmp 17d4 <printf+0x54>
| 36.179791 | 63 | 0.411225 |
0cf7ada0d6270023af8985a6d87b1d450375e4ba | 6,397 | asm | Assembly | Drag_and_Drop_GUI/Drag_and_Drop_GUI.asm | attilathedud/BW_Hacks | 22a1ce4acee5f416d22f62f819051830875b0866 | [
"MIT"
] | 9 | 2017-04-18T00:20:56.000Z | 2022-02-14T22:26:02.000Z | Drag_and_Drop_GUI/Drag_and_Drop_GUI.asm | attilathedud/BW_Hacks | 22a1ce4acee5f416d22f62f819051830875b0866 | [
"MIT"
] | null | null | null | Drag_and_Drop_GUI/Drag_and_Drop_GUI.asm | attilathedud/BW_Hacks | 22a1ce4acee5f416d22f62f819051830875b0866 | [
"MIT"
] | 2 | 2018-05-22T14:01:39.000Z | 2020-01-21T13:38:38.000Z | ; Basic drag-and-drop interface for StarCraft: Brood War 1.16.1. Draws a dot every other space
; to simulate a transparent effect.
;
; Originally written on 2009/05/29 by attilathedud.
; System descriptors
.386
.model flat,stdcall
option casemap:none
VirtualAlloc proto stdcall :DWORD, :DWORD, :DWORD, :DWORD
VirtualProtect proto stdcall :DWORD, :DWORD, :DWORD, :DWORD
VirtualFree proto stdcall :DWORD, :DWORD, :DWORD
includelib \masm32\lib\kernel32.lib
GetAsyncKeyState proto stdcall :DWORD
includelib \masm32\lib\user32.lib
.data
x dd 10h
y dd 10h
sel db 0
wr db 0
.code
main:
jmp @F
ori_printtext dd 4202b0h
ori_jmpbackt dd 48cf7eh
ori_jmpbackr dd 41e28dh
ori_drawbox dd 4e1d20h
ori_refresh dd 41e0d0h
ori_mousesel dd 4d19c0h
text db "Example",0
dot db ".",0
@@:
; Save the current state of the stack.
push ebp
mov ebp,esp
; Ensure our dll was loaded validily.
mov eax,dword ptr ss:[ebp+0ch]
cmp eax,1
jnz @returnf
; Allocate memory for the old protection type.
; Store this location in ebx.
push eax
push 40h
push 1000h
push 4h
push 0
call VirtualAlloc
mov ebx,eax
; Unprotect the memory at 48cf79h-48cf7eh
push ebx
push 40h
push 5h
push 48cf79h
call VirtualProtect
; Create a codecave in the drawing routine that will jmp to our hook function.
; e9h is the opcode to jmp, with the address of the jump being calculated by subtracting
; the address of the function to jump to from our current location.
mov byte ptr ds:[48cf79h],0e9h
lea ecx,@hook
sub ecx,48cf7eh
mov dword ptr ds:[48cf7ah],ecx
; Reprotect the memory we just wrote.
push 0
push dword ptr ds:[ebx]
push 5h
push 48cf79h
call VirtualProtect
; Unprotect the memory at 41e287h - 41e28ch
push ebx
push 40h
push 5h
push 41e287h
call VirtualProtect
; Create a codecave in the refresh routine that will jmp to our refresh hook function.
mov byte ptr ds:[41e287h],0e9h
lea ecx,@refresh
sub ecx,41e28ch
mov dword ptr ds:[41e288h],ecx
mov byte ptr ds:[41e28ch],90h
; Reprotect the memory we just wrote.
push 0
push dword ptr ds:[ebx]
push 5h
push 41e287h
call VirtualProtect
; Unprotect the memory at 4d235dh - 4d2361h
push ebx
push 40h
push 4h
push 4d235dh
call VirtualProtect
; Create a codecave in the routine that checks for mouse input that will jmp to our mouse hook.
; Because this is already a call instruction we only need to write the destination opcodes.
lea ecx,@mouse_hook
sub ecx,4d2361h
mov dword ptr ds:[4d235dh],ecx
; Reprotect the memory we just wrote.
push 0
push dword ptr ds:[ebx]
push 4h
push 4d235dh
call VirtualProtect
; Free the memory we allocated for our protection type.
push 4000h
push 4h
push ebx
call VirtualFree
; Restore eax and the stack
pop eax
@returnf:
leave
retn 0ch
; Our mouse hook checks to see if we are currently dragging our box. If so,
; disable mouse inputs to the game field.
@mouse_hook:
cmp sel,0
jnz @st
push 4
call dword ptr cs:[ori_mousesel]
@st:
retn
; Since we are adding a new box to the screen, we need to add another call to the
; refresh function in the main game loop to avoid flickering.
@refresh:
pushad
push 640h
mov eax,0
mov edx,480h
mov ecx,0
call dword ptr cs:[ori_refresh]
popad
mov edi,dword ptr ds:[6ceff4h]
jmp ori_jmpbackr
; Helper function to draw a transparent box by drawing a '.' every other space.
; Takes 4 arguments on the stack and is called like so:
; push height
; push width
; push y
; push x
; call @drawtbox
@drawtbox:
push ebp
mov ebp,esp
xor ebx,ebx
@yloop:
xor edx,edx
@xloop:
push edx
mov eax,[ebp+0ch]
add eax,ebx
push eax
mov esi,[ebp+8h]
add esi,edx
lea eax,dot
call dword ptr cs:[ori_printtext]
pop edx
add edx,3h
cmp edx,[ebp+10h]
jl @xloop
add ebx,2h
cmp ebx,[ebp+14h]
jl @yloop
leave
retn 10h
; Our main hook. Responsible for drawing our transparent box and moving our box if we are in
; the process of dragging it.
@hook:
pushad
; Check to see if we are in the bounds of our box.
mov sel,0
mov ebx,dword ptr ds:[6cddc4h]
cmp ebx,x
jl @keycheck
mov ecx,x
add ecx,100h
cmp ebx,ecx
jg @keycheck
mov ebx,dword ptr ds:[6cddc8h]
cmp ebx,y
jl @keycheck
mov ecx,y
add ecx,30h
cmp ebx,ecx
jg @keycheck
mov sel,1
; Check to see if we are holding down mouse1.
@keycheck:
push 1h
call GetAsyncKeyState
test eax,eax
jz @mouse_up
cmp wr,1
; If not, jump to the drawing routine.
jz @draw
; If so, add a drag offset based on the vector of movement from the center of our
; box and toggle off the movement event so we don't get stuck in a loop.
mov ebx,dword ptr ds:[6cddc8h]
cmp ebx,y
jl @difloc
mov ecx,y
add ecx,30h
cmp ebx,ecx
jg @difloc
mov ebx,dword ptr ds:[6cddc4h]
cmp ebx,x
jl @difloc
mov ecx,x
add ecx,100h
cmp ebx,ecx
jg @difloc
cmp ebx,1edh
jle @lessx
mov ebx,1edh
@lessx:
cmp ebx,70h
jge @finx
mov ebx,70h
@finx:
sub ebx,x
sub ebx,70h
add x,ebx
mov ebx,dword ptr ds:[6cddc8h]
cmp ebx,150h
jle @lessy
mov ebx,150h
@lessy:
cmp ebx,15h
jge @finy
mov ebx,15h
@finy:
sub ebx,y
sub ebx,15h
add y,ebx
jmp @draw
@mouse_up:
mov wr,0
jmp @draw
@difloc:
mov wr,1
@draw:
push 6fh
push 100h
push y
push x
call @drawtbox
mov byte ptr ds:[6cf4ach],2
push 10h
push 100h
push y
push x
call dword ptr cs:[ori_drawbox]
push y
mov esi,x
add esi,4h
lea eax,text
call dword ptr cs:[ori_printtext]
popad
; The original instruction replaced.
mov edi,70h
jmp ori_jmpbackt
end main | 22.058621 | 98 | 0.620603 |
c9469937e2babf0fd653c4d0b1405f1ffa9d6036 | 460 | asm | Assembly | 4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter5_2/AsmTest/LogicInstTest/inst_rom.asm | ladike/912_project | 5178c1c93ac6ca30ffc72dd689f5c6932704b4ab | [
"MIT"
] | 640 | 2019-03-30T11:32:43.000Z | 2022-03-31T14:05:18.000Z | 4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter5_2/AsmTest/LogicInstTest/inst_rom.asm | ladike/912_project | 5178c1c93ac6ca30ffc72dd689f5c6932704b4ab | [
"MIT"
] | 6 | 2019-07-22T01:57:24.000Z | 2022-01-20T15:03:16.000Z | 4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter5_2/AsmTest/LogicInstTest/inst_rom.asm | ladike/912_project | 5178c1c93ac6ca30ffc72dd689f5c6932704b4ab | [
"MIT"
] | 212 | 2019-04-10T02:31:50.000Z | 2022-03-30T02:32:47.000Z |
inst_rom.om: file format elf32-tradbigmips
Disassembly of section .text:
00000000 <_start>:
0: 3c010101 lui at,0x101
4: 34210101 ori at,at,0x101
8: 34221100 ori v0,at,0x1100
c: 00220825 or at,at,v0
10: 302300fe andi v1,at,0xfe
14: 00610824 and at,v1,at
18: 3824ff00 xori a0,at,0xff00
1c: 00810826 xor at,a0,at
20: 00810827 nor at,a0,at
Disassembly of section .reginfo:
00000000 <_ram_end-0x30>:
0: 0000001e 0x1e
...
| 21.904762 | 46 | 0.686957 |
26e085a63a71b78f9feb610c0bf84b9f07035915 | 6,622 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_16771_91.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_16771_91.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_16771_91.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x14e9b, %r10
nop
nop
add %rbp, %rbp
movl $0x61626364, (%r10)
nop
nop
nop
cmp %r12, %r12
lea addresses_D_ht+0x1cb0b, %rsi
lea addresses_A_ht+0x18a9b, %rdi
nop
sub %r12, %r12
mov $20, %rcx
rep movsw
dec %r10
lea addresses_WT_ht+0x1c99b, %rsi
lea addresses_WC_ht+0x3b5b, %rdi
nop
nop
nop
nop
nop
sub %r9, %r9
mov $98, %rcx
rep movsw
nop
nop
nop
nop
xor $62861, %r10
lea addresses_WC_ht+0xadbc, %r10
nop
nop
nop
nop
inc %r9
movb (%r10), %r14b
nop
cmp %r14, %r14
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r14
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
lea addresses_normal+0x19e5b, %rsi
lea addresses_WT+0x1e9b, %rdi
nop
nop
nop
xor %r11, %r11
mov $36, %rcx
rep movsl
nop
nop
nop
nop
nop
inc %r14
// Load
lea addresses_RW+0x19aeb, %r14
clflush (%r14)
nop
nop
nop
nop
cmp $61702, %rdi
vmovups (%r14), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %rsi
nop
nop
nop
xor $4604, %r8
// Store
lea addresses_D+0xae9b, %r8
nop
add $34921, %rcx
movl $0x51525354, (%r8)
dec %rdi
// Store
lea addresses_A+0x5c5b, %rsi
nop
nop
nop
sub %r15, %r15
mov $0x5152535455565758, %r14
movq %r14, %xmm6
vmovups %ymm6, (%rsi)
nop
nop
nop
nop
nop
xor %r14, %r14
// Store
lea addresses_WT+0xae9b, %rcx
nop
nop
nop
nop
mfence
mov $0x5152535455565758, %r14
movq %r14, %xmm4
vmovups %ymm4, (%rcx)
nop
nop
nop
nop
xor %rsi, %rsi
// REPMOV
lea addresses_normal+0x1914d, %rsi
mov $0xffa, %rdi
nop
nop
add $10026, %rdx
mov $85, %rcx
rep movsb
nop
nop
nop
nop
nop
add %r8, %r8
// Faulty Load
lea addresses_D+0xae9b, %r15
cmp $54599, %rcx
movntdqa (%r15), %xmm1
vpextrq $0, %xmm1, %rdx
lea oracles, %rsi
and $0xff, %rdx
shlq $12, %rdx
mov (%rsi,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_D', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_WT', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_RW', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_D', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 32, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WT', 'same': False, 'size': 32, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_P', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
[Faulty Load]
{'src': {'type': 'addresses_D', 'same': True, 'size': 16, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 4, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': True}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'00': 16771}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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.614213 | 2,999 | 0.656599 |
abc7dc6c3f3cb8aa23eff6c41db8c01ac5c0c4e9 | 926 | asm | Assembly | oeis/190/A190038.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/190/A190038.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/190/A190038.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A190038: Number of nondecreasing arrangements of n+2 numbers in 0..6 with the last equal to 6 and each after the second equal to the sum of one or two of the preceding three.
; 10,18,30,47,72,107,151,203,263,331,407,491,583,683,791,907,1031,1163,1303,1451,1607,1771,1943,2123,2311,2507,2711,2923,3143,3371,3607,3851,4103,4363,4631,4907,5191,5483,5783,6091,6407,6731,7063,7403,7751,8107,8471,8843,9223,9611,10007,10411,10823,11243,11671,12107,12551,13003,13463,13931,14407,14891,15383,15883,16391,16907,17431,17963,18503,19051,19607,20171,20743,21323,21911,22507,23111,23723,24343,24971,25607,26251,26903,27563,28231,28907,29591,30283,30983,31691,32407,33131,33863,34603,35351
mov $1,1
mov $2,$0
trn $2,1
mov $3,$0
lpb $0
mov $0,0
mov $1,5
trn $2,1
lpe
sub $1,$2
sub $1,$2
add $1,2
trn $1,$2
add $1,7
mov $4,$3
mov $6,$3
lpb $6
add $5,$4
sub $6,1
lpe
mov $4,$5
mov $7,4
lpb $7
add $1,$4
sub $7,1
lpe
mov $0,$1
| 29.870968 | 500 | 0.720302 |
059dd0f3474533d4787374ede0caaaab0e7267d7 | 599 | asm | Assembly | game/data/stages/gem/tilesets.asm | benoitryder/super-tilt-bro | 8d5035f54e906a401d0808c2e104d32fa1fadd7f | [
"WTFPL"
] | 91 | 2017-08-06T18:30:13.000Z | 2022-02-17T00:26:45.000Z | game/data/stages/gem/tilesets.asm | benoitryder/super-tilt-bro | 8d5035f54e906a401d0808c2e104d32fa1fadd7f | [
"WTFPL"
] | 2 | 2018-10-12T04:34:13.000Z | 2021-12-25T17:01:18.000Z | game/data/stages/gem/tilesets.asm | benoitryder/super-tilt-bro | 8d5035f54e906a401d0808c2e104d32fa1fadd7f | [
"WTFPL"
] | 9 | 2016-10-08T21:24:37.000Z | 2022-02-05T00:13:31.000Z | tileset_stage_thehunt_sprites:
; Tileset's size in tiles (zero means 256)
.byt (tileset_stage_thehunt_sprites_end-tileset_stage_thehunt_sprites_tiles)/16
tileset_stage_thehunt_sprites_tiles:
; TILE - Gem
;
; 00111100
; 01333010
; 13330301
; 13333031
; 13333301
; 01333310
; 13133131
; 01011010
TILE_GEM = (*-tileset_stage_thehunt_sprites_tiles+CHARACTERS_END_TILES_OFFSET)/16
.byt %00111100, %01111010, %11110101, %11111011, %11111101, %01111110, %11111111, %01011010
.byt %00000000, %00111000, %01110100, %01111010, %01111100, %00111100, %01011010, %00000000
tileset_stage_thehunt_sprites_end:
| 26.043478 | 91 | 0.797997 |
b90fea2ac11fb3f24cf998a6bb03e6ce2deba67f | 658 | asm | Assembly | oeis/000/A000589.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/000/A000589.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/000/A000589.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A000589: a(n) = 11*binomial(2n,n-5)/(n+6).
; Submitted by Jon Maiga
; 1,11,77,440,2244,10659,48279,211508,904475,3798795,15737865,64512240,262256280,1059111900,4254603804,17018415216,67837293986,269638992062,1069258071970,4232010895376,16723268860760,65997186039785,260170725132045,1024713341952300,4032978938683695,15863050492155867,62363884575190737,245079125348117984,962810849581892080,3781522612668189928,14849393674136062888,58302688527022698528,228888897836465565006,898530797291910275850,3527173835643930141670,13845800398304123289040,54352131350789590358040
mov $2,2
mul $2,$0
add $2,10
mov $1,$2
bin $1,$0
sub $0,1
bin $2,$0
sub $1,$2
mov $0,$1
| 47 | 498 | 0.835866 |
e225e5987d38eeea14e7f8be6123485db774aa36 | 1,968 | asm | Assembly | Games/CMonster (Breakout)/Source/ti84cse.asm | CiaranGruber/Ti-84-Calculator | 96742a4a2b9e21aa9d675575dc7e4f26365430c0 | [
"MIT"
] | 1 | 2019-03-31T11:49:12.000Z | 2019-03-31T11:49:12.000Z | Games/CMonster (Breakout)/Source/ti84cse.asm | CiaranGruber/Ti-84-Calculator | 96742a4a2b9e21aa9d675575dc7e4f26365430c0 | [
"MIT"
] | null | null | null | Games/CMonster (Breakout)/Source/ti84cse.asm | CiaranGruber/Ti-84-Calculator | 96742a4a2b9e21aa9d675575dc7e4f26365430c0 | [
"MIT"
] | 1 | 2020-03-09T13:21:19.000Z | 2020-03-09T13:21:19.000Z | ;############## CMonster by Patrick Davidson - TI-84 Plus CSE main program
#include ti84pcse.inc
#define WORDLEN 2
#include data.asm
#define rscount $4024
Search_Levels rs(3)
Read_Ext_Level rs(3)
Draw_String rs(3)
Draw_Char rs(3)
Draw_Strings rs(3)
Write_Display_Control rs(11)
Write_Display_Control_C11 rs(9)
GET_KEY rs(3)
Select_External_Levels rs(3)
Clear_Screen rs(3)
Full_Window rs(3)
timer_wait rs(3)
timer_init rs(3)
Decode_A_DE rs(3)
Decode_A_DE_3 rs(3)
#define rscount $4100
brick_palettes rs(128)
tileData rs(98*8)
packed_brick_images rs(17*4*8)
.org plotSScreen+768
call Display_Org
call main
jp Display_Normal
;############## Subroutines
#include hiscore.asm
#include gfx.asm
#include levels.asm
#include bonus.asm
#include ball.asm
#include title.asm
#include extlevel.asm
#include cmonster.asm
#if ($ > $C000)
.echo "CSE executable code overflow by ",eval($ - $C000)
.error "!!!!!!!!!!!!!!!!!!!! DISASTER !!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
#else
.echo "Bytes left over for CSE executable code: ",eval($C000 - $)
#endif
levelData:
#include map256.i
scroll_table:
#include scroll_table.i
#if ($ > $FFFF)
.echo "CSE RAM overflow of available memory by ",eval($ - $FFFF)
.error "!!!!!!!!!!!!!!!!!!!! DISASTER !!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
#else
.echo "Bytes left over in CSE RAM: ",eval($FFFF - $)
#endif
.end | 30.276923 | 77 | 0.457317 |
d9c7b13711353fa94233d55f1f559235ff296eb2 | 1,527 | asm | Assembly | lib/target/msx/classic/rom.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | lib/target/msx/classic/rom.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | lib/target/msx/classic/rom.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | ; startup == 3
; msx cartridge rom
; April 2014
; submitted by Timmy
; For cartridge I am not sure what facilities are available from the MSX
; system, if any. So this CRT only provides the bare minimum.
;
; Declarations
;
defc TAR__clib_exit_stack_size = 0
defc TAR__register_sp = -0xfc4a
INCLUDE "crt/classic/crt_rules.inc"
;
; Main Code Entrance Point
;
IFNDEF CRT_ORG_CODE
defc CRT_ORG_CODE = $4000
ENDIF
org CRT_ORG_CODE
; ROM header
defm "AB"
defw start
defw 0 ;CallSTMT handler
defw 0 ;Device handler
defw 0 ;basic
defs 6
start:
di
INCLUDE "crt/classic/crt_init_sp.asm"
ei
; port fixing; required for ROMs
; port fixing = set the memory configuration, must be first!
in a,($A8)
and a, $CF
ld d,a
in a,($A8)
and a, $0C
add a,a
add a,a
or d
out ($A8),a
INCLUDE "crt/classic/crt_init_atexit.asm"
call crt0_init_bss
IF DEFINED_USING_amalloc
INCLUDE "crt/classic/crt_init_amalloc.asm"
ENDIF
call _main
; end program
cleanup:
endloop:
di
halt
jr endloop
l_dcal: jp (hl) ;Used for call by function pointer
IFNDEF CRT_ORG_BSS
defc CRT_ORG_BSS = $C000 ; Ram variables are kept in RAM in high memory
ENDIF
defc __crt_org_bss = CRT_ORG_BSS
; If we were given a model then use it
IFDEF CRT_MODEL
defc __crt_model = CRT_MODEL
ELSE
defc __crt_model = 1
ENDIF
INCLUDE "crt/classic/crt_runtime_selection.asm"
INCLUDE "crt/classic/crt_section.asm"
| 17.157303 | 74 | 0.67518 |
3f93e87e989db08df19b6d8e9e91ff846e0e2ff7 | 1,445 | asm | Assembly | testing/subtest1.asm | stacklover/b5500emulator | 2d5e867b2d0a91cdebcb40078196ef48594867db | [
"MIT"
] | 4 | 2017-09-26T16:51:11.000Z | 2022-01-03T06:03:32.000Z | testing/subtest1.asm | stacklover/b5500emulator | 2d5e867b2d0a91cdebcb40078196ef48594867db | [
"MIT"
] | null | null | null | testing/subtest1.asm | stacklover/b5500emulator | 2d5e867b2d0a91cdebcb40078196ef48594867db | [
"MIT"
] | null | null | null | # Test operators - regular function calls
# assemble a small program
.ORG 020
# space for function result
LITC 0
# mark stack
MKS
# push three parameters
LITC 0222
LITC 0444
LITC 0456
# call function 1
DESC 040
# get result into A
LNG
LNG
# stop
ZPI
# program descriptor for functions
.ORG 040
.WORD 07500000000000050
.WORD 07500000000000060
# function 1 itself
.ORG 050
# allocate space for result of function 2
LITC 0
# prepare to call function 2
MKS
# note that from now on, F-relative adressing uses (R+7) instead,
# where MKS has stored the previous F register
# load our three parameters as parameters for function 2
OPDC F-3
OPDC F-2
OPDC F-1
# now call function 2
DESC 041
# now F-relative addressing is with our F register
# negate the result
LNG
# load address for result
DESC F-5
# store result
STD
# return
XIT
# function 2 itself
.ORG 060
# allocate some local storage - will never be used
LITC 0
LITC 0
LITC 0
LITC 0
LITC 0
LITC 0
# load address for result
DESC F-5
# load the three parameters
OPDC F-3
OPDC F-2
OPDC F-1
LND
LOR
# store result into function 1 stack
XCH
STD
# return
XIT
# now lets go
.SET S 01000
.SET F 012345
# pretend A and B full, so they get pushed to stack
.SET AROF 1
.SET BROF 1
.ORG 020
.RUN
# verify results
.VFY BROF 0
.VFY AROF 1
.VFY A 03777777777777111
# stack should now be 1002 and F hold the original value
.VFY S 01002
.VFY F 012345
.END
| 16.055556 | 65 | 0.721107 |
8a495a654eb9a7402c5389eb3a4c82d0327f3c06 | 1,201 | asm | Assembly | explo_dirasm1_puts/hello.asm | afterlisp/x64callexplore | 58a87aa1cbbd2204d6706c0fb752fe9b3466bb88 | [
"Apache-2.0"
] | null | null | null | explo_dirasm1_puts/hello.asm | afterlisp/x64callexplore | 58a87aa1cbbd2204d6706c0fb752fe9b3466bb88 | [
"Apache-2.0"
] | null | null | null | explo_dirasm1_puts/hello.asm | afterlisp/x64callexplore | 58a87aa1cbbd2204d6706c0fb752fe9b3466bb88 | [
"Apache-2.0"
] | null | null | null | ; ----------------------------------------------------------------------------------------
; This is a Win64 console program that prints "Hello" on one line and then exits.
; we simulate a main C function (named main of course)
; we need to reserve some shadow space (see our notes) as mentionned by Microsoft doc...
; as we use gcc this is linked to standard library that contains the puts() function this
; is why it is marked as extern(al).
; assemble, compile/link and run :
; nasm -fwin64 hello.asm && gcc hello.obj && a
; ----------------------------------------------------------------------------------------
global main
extern puts
section .text
main:
sub rsp, 28h ; Move stack pointer to reserve the shadow space (4 registers x 8 bytes + 1 call x 8 bytes=40 bytes=28h)
mov rcx, message ; First argument is pointer (address) of message
call puts ; the call to puts(message)
add rsp, 28h ; Remove shadow space
ret
message:
db 'Hello', 0 ; C strings are null terminate (0 byte at end) | 57.190476 | 152 | 0.498751 |
bffb7945fe4c8efe8f7dc5b1bab3695493edaf91 | 120,797 | asm | Assembly | src/sound/song087restored.asm | MusicTheorist/Mother2GbaTranslation | 70de3975a3284c4002a33e8ef8c20e4c2b039037 | [
"MIT"
] | 1 | 2021-04-18T04:26:52.000Z | 2021-04-18T04:26:52.000Z | src/sound/song087restored.asm | MusicTheorist/Mother2GbaTranslation | 70de3975a3284c4002a33e8ef8c20e4c2b039037 | [
"MIT"
] | null | null | null | src/sound/song087restored.asm | MusicTheorist/Mother2GbaTranslation | 70de3975a3284c4002a33e8ef8c20e4c2b039037 | [
"MIT"
] | null | null | null | song087restored_pri equ 0
song087restored_rev equ 0
song087restored_mvl equ 127
song087restored_key equ 0
song087restored_tbs equ 1
song087restored_exg equ 1
song087restored_cmp equ 1
.align 4
;**************** Track 1 ****************;
@song087restored_1:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
.byte TEMPO , 124*song087restored_tbs/2
@song087restored_1_000:
.byte VOICE , 28
.byte BENDR , 12
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte W10
.byte BEND , c_v+4
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W07
; 001 ----------------------------------------
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W03
; 002 ----------------------------------------
.byte W07
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
; 003 ----------------------------------------
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W11
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W07
; 004 ----------------------------------------
.byte W03
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W04
; 005 ----------------------------------------
.byte W06
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
; 006 ----------------------------------------
.byte N07 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W07
; 007 ----------------------------------------
.byte W03
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte N09 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W11
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W04
; 008 ----------------------------------------
.byte W06
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
; 009 ----------------------------------------
.byte N07 , Fn2 , v100
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W07
; 010 ----------------------------------------
.byte W03
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W04
; 011 ----------------------------------------
.byte W06
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W01
; 012 ----------------------------------------
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W07
; 013 ----------------------------------------
.byte W03
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
.byte N08 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W04
; 014 ----------------------------------------
.byte W06
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W01
; 015 ----------------------------------------
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W07
; 016 ----------------------------------------
.byte W03
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W04
; 017 ----------------------------------------
.byte W06
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
.byte N08 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W01
; 018 ----------------------------------------
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
.byte N08 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W08
; 019 ----------------------------------------
.byte W02
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W04
; 020 ----------------------------------------
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W01
; 021 ----------------------------------------
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
.byte N08 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W08
; 022 ----------------------------------------
.byte W02
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte N07 , Fn2 , v100
.byte W10
.byte N08 , Fn2 , v100
.byte W10
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W10
.byte N07 , Fn2 , v100
.byte W09
.byte VOL , 54*song087restored_mvl/mxv
.byte W01
.byte N07 , Fn2 , v100
.byte W04
; 023 ----------------------------------------
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W11
.byte BEND , c_v+0
.byte GOTO
.word @song087restored_1_000
.byte W08
.byte FINE
;**************** Track 2 ****************;
@song087restored_2:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_2_000:
.byte VOICE , 21
.byte BENDR , 12
.byte VOL , 100*song087restored_mvl/mxv
.byte W30
.byte BEND , c_v-2
.byte N08 , Cn3 , v100
.byte VOL , 80*song087restored_mvl/mxv
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W17
; 001 ----------------------------------------
.byte W13
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W03
; 002 ----------------------------------------
.byte W07
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W10
; 003 ----------------------------------------
.byte W30
.byte VOL , 100*song087restored_mvl/mxv
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W24
.byte W03
; 004 ----------------------------------------
.byte W13
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W04
; 005 ----------------------------------------
.byte W24
.byte W02
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W20
; 006 ----------------------------------------
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W07
; 007 ----------------------------------------
.byte W03
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W14
; 008 ----------------------------------------
.byte W24
.byte W02
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W30
; 009 ----------------------------------------
.byte W09
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W07
; 010 ----------------------------------------
.byte W23
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W24
; 011 ----------------------------------------
.byte W06
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W28
.byte W01
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W01
; 012 ----------------------------------------
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W17
; 013 ----------------------------------------
.byte W22
.byte VOL , 100*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W32
.byte W02
; 014 ----------------------------------------
.byte W06
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W11
; 015 ----------------------------------------
.byte W19
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W24
.byte W03
; 016 ----------------------------------------
.byte W03
.byte VOL , 80*song087restored_mvl/mxv
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W04
; 017 ----------------------------------------
.byte W32
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W21
; 018 ----------------------------------------
.byte W19
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte W01
.byte N36 , Cn3 , v100, gtp1
.byte W36
.byte W01
; 019 ----------------------------------------
.byte W02
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N24 , Cn3 , v100, gtp3
.byte W14
; 020 ----------------------------------------
.byte W15
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W40
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W01
; 021 ----------------------------------------
.byte W09
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W36
.byte W03
.byte VOL , 100*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp2
.byte W08
; 022 ----------------------------------------
.byte W32
.byte VOL , 100*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 97*song087restored_mvl/mxv
.byte N36 , Cn3 , v100, gtp1
.byte W24
; 023 ----------------------------------------
.byte W15
.byte VOL , 100*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v+0
.byte GOTO
.word @song087restored_2_000
.byte W08
.byte FINE
;**************** Track 3 ****************;
@song087restored_3:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_3_000:
.byte VOICE , 22
.byte BENDR , 12
.byte VOL , 80*song087restored_mvl/mxv
.byte W20
.byte BEND , c_v+2
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W36
.byte W01
; 001 ----------------------------------------
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N24 , Cn3 , v100, gtp3
.byte W03
; 002 ----------------------------------------
.byte W24
.byte W02
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn3 , v100
.byte W10
; 003 ----------------------------------------
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 90*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W28
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W07
; 004 ----------------------------------------
.byte W32
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N17 , Cn3 , v100
.byte W23
; 005 ----------------------------------------
.byte W16
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W40
; 006 ----------------------------------------
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W09
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N09 , Cn3 , v100
.byte W10
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 90*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W30
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W07
; 007 ----------------------------------------
.byte W23
.byte N18 , Cn3 , v100
.byte W36
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W23
; 008 ----------------------------------------
.byte W06
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W10
; 009 ----------------------------------------
.byte W28
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn3 , v100
.byte W10
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 90*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W17
; 010 ----------------------------------------
.byte W13
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W04
; 011 ----------------------------------------
.byte W06
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W36
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte N08 , Cn3 , v100
.byte W09
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W10
; 012 ----------------------------------------
.byte W19
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn3 , v100
.byte W10
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W02
; 013 ----------------------------------------
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W09
.byte VOL , 90*song087restored_mvl/mxv
.byte W01
.byte N08 , Cn3 , v100
.byte W28
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W14
; 014 ----------------------------------------
.byte W24
.byte W02
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W30
.byte W01
; 015 ----------------------------------------
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W36
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte N08 , Cn3 , v100
.byte W07
; 016 ----------------------------------------
.byte W03
.byte VOL , 80*song087restored_mvl/mxv
.byte N07 , Cn3 , v100
.byte W09
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn3 , v100
.byte W10
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 90*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W30
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W14
; 017 ----------------------------------------
.byte W16
.byte N18 , Cn3 , v100
.byte W36
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W30
.byte N18 , Cn3 , v100
.byte W01
; 018 ----------------------------------------
.byte W36
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W18
; 019 ----------------------------------------
.byte W22
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn3 , v100
.byte W10
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 90*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W24
; 020 ----------------------------------------
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte N08 , Cn3 , v100
.byte W09
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte N24 , Cn3 , v100, gtp3
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W01
; 021 ----------------------------------------
.byte W28
.byte W01
.byte N18 , Cn3 , v100
.byte W36
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N28 , Cn3 , v100
.byte W18
; 022 ----------------------------------------
.byte W12
.byte N18 , Cn3 , v100
.byte W40
.byte VOL , 63*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 80*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W10
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn3 , v100
.byte W10
.byte N03 , Cn3 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Cn3 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N07 , Cn3 , v100
.byte W04
; 023 ----------------------------------------
.byte W05
.byte VOL , 90*song087restored_mvl/mxv
.byte N08 , Cn3 , v100
.byte W11
.byte VOL , 80*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte GOTO
.word @song087restored_3_000
.byte W08
.byte FINE
;**************** Track 4 ****************;
@song087restored_4:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_4_000:
.byte VOICE , 29
.byte BENDR , 12
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte TUNE , c_v+0
.byte N08 , Gs0 , v100
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+6
.byte W01
.byte BEND , c_v+8
.byte W01
.byte BEND , c_v+11
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+21
.byte BEND , c_v+0
.byte W01
.byte N06 , As0 , v100
.byte W10
.byte VOL , 85*song087restored_mvl/mxv
.byte PAN , c_v+25
.byte N08 , Cs1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , As0 , v100
.byte W10
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte N08 , Ds1 , v100
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+4
.byte W02
.byte BEND , c_v+5
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte W01
.byte N08 , Ds1 , v100
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , Cs1 , v100
.byte W10
.byte N08 , Gs0 , v100
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+6
.byte W01
.byte BEND , c_v+9
.byte W01
.byte BEND , c_v+11
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+21
.byte BEND , c_v+0
.byte N07 , As0 , v100
.byte W07
; 001 ----------------------------------------
.byte W03
.byte VOL , 85*song087restored_mvl/mxv
.byte PAN , c_v+25
.byte N08 , Cs1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , As0 , v100
.byte W10
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte N08 , Ds1 , v100
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , Cs1 , v100
.byte W10
.byte N08 , Gs0 , v100
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+5
.byte W01
.byte BEND , c_v+8
.byte W01
.byte BEND , c_v+11
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+21
.byte BEND , c_v+0
.byte N06 , As0 , v100
.byte W10
.byte VOL , 85*song087restored_mvl/mxv
.byte PAN , c_v+25
.byte N08 , Cs1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , As0 , v100
.byte W03
; 002 ----------------------------------------
.byte W07
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte N08 , Ds1 , v100
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W02
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , Cs1 , v100
.byte W10
.byte N08 , Gs0 , v100
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+6
.byte W01
.byte BEND , c_v+10
.byte W01
.byte BEND , c_v+11
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+21
.byte BEND , c_v+0
.byte N06 , As0 , v100
.byte W10
.byte VOL , 85*song087restored_mvl/mxv
.byte PAN , c_v+25
.byte N08 , Cs1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , As0 , v100
.byte W10
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte N08 , Ds1 , v100
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
; 003 ----------------------------------------
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+5
.byte W05
.byte VOL , 82*song087restored_mvl/mxv
.byte PAN , c_v+23
.byte BEND , c_v+0
.byte N08 , Ds1 , v100
.byte W10
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N08 , Cs1 , v100
.byte W08
.byte VOICE , 30
.byte TUNE , c_v-34
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N24 , Gs1 , v100, gtp3
.byte W30
.byte N17 , Bn1 , v100
.byte W19
.byte N08 , Cs2 , v100
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+7
.byte W01
.byte BEND , c_v+9
.byte W01
.byte BEND , c_v+10
.byte W05
.byte BEND , c_v+0
.byte N08 , Cs2 , v100
.byte W07
; 004 ----------------------------------------
.byte W03
.byte N08 , Bn1 , v100
.byte W10
.byte N28 , Gs1 , v100
.byte W30
.byte N18 , Bn1 , v100
.byte W20
.byte N08 , Cs2 , v100
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+4
.byte W01
.byte BEND , c_v+6
.byte W01
.byte BEND , c_v+7
.byte W01
.byte BEND , c_v+10
.byte W05
.byte BEND , c_v+0
.byte N07 , Cs2 , v100
.byte W09
.byte N08 , Bn1 , v100
.byte W10
.byte N28 , Gs1 , v100
.byte W04
; 005 ----------------------------------------
.byte W24
.byte W02
.byte N18 , Bn1 , v100
.byte W20
.byte N08 , Cs2 , v100
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+5
.byte W01
.byte BEND , c_v+7
.byte W01
.byte BEND , c_v+10
.byte W06
.byte BEND , c_v+0
.byte N08 , Cs2 , v100
.byte W10
.byte N08 , Bn1 , v100
.byte W10
.byte N28 , Fs1 , v100
.byte W01
.byte BEND , c_v+3
.byte W01
.byte BEND , c_v+6
.byte W01
.byte BEND , c_v+10
.byte W17
; 006 ----------------------------------------
.byte W10
.byte BEND , c_v+0
.byte N24 , Bn1 , v100, gtp3
.byte W28
.byte W01
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte BEND , c_v+0
.byte N18 , Gs1 , v100
.byte W20
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W07
; 007 ----------------------------------------
.byte W03
.byte N18 , Fs1 , v100
.byte W20
.byte N08 , Fs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , En1 , v100
.byte W19
.byte N08 , En1 , v100
.byte W11
.byte BEND , c_v+0
.byte N07 , Bn1 , v100
.byte W09
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W14
; 008 ----------------------------------------
.byte W06
.byte N08 , Ds1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W10
.byte N18 , Gs1 , v100
.byte W20
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N18 , Fs1 , v100
.byte W20
.byte N08 , Fs1 , v100
.byte W10
; 009 ----------------------------------------
.byte N08 , Ds2 , v100
.byte W09
.byte BEND , c_v-1
.byte N18 , En1 , v100
.byte W20
.byte N08 , En1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , Bn1 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N08 , Ds1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W10
.byte N18 , Gs1 , v100
.byte W07
; 010 ----------------------------------------
.byte W13
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N18 , Fs1 , v100
.byte W19
.byte N08 , Fs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , En1 , v100
.byte W20
.byte N08 , En1 , v100
.byte W04
; 011 ----------------------------------------
.byte W06
.byte BEND , c_v+0
.byte N08 , Bn1 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N08 , Ds1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W10
.byte N18 , Gs1 , v100
.byte W20
.byte N08 , Gs1 , v100
.byte W10
.byte N07 , Ds2 , v100
.byte W09
.byte N18 , Bn1 , v100
.byte W01
; 012 ----------------------------------------
.byte W19
.byte N08 , Bn1 , v100
.byte W10
.byte N08 , Fs2 , v100
.byte W10
.byte N18 , An1 , v100
.byte W20
.byte N18 , An1 , v100
.byte W20
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W17
; 013 ----------------------------------------
.byte W03
.byte N18 , Ds1 , v100
.byte W20
.byte BEND , c_v+0
.byte N17 , Gs1 , v100
.byte W19
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N18 , Fs1 , v100
.byte W20
.byte N08 , Fs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W04
; 014 ----------------------------------------
.byte W06
.byte BEND , c_v-1
.byte N18 , En1 , v100
.byte W20
.byte N08 , En1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , Bn1 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W19
.byte N08 , Ds1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W10
.byte N18 , Gs1 , v100
.byte W11
; 015 ----------------------------------------
.byte W09
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N18 , Bn1 , v100
.byte W20
.byte N08 , Bn1 , v100
.byte W10
.byte N08 , Fs2 , v100
.byte W10
.byte N18 , An1 , v100
.byte W20
.byte N18 , An1 , v100
.byte W07
; 016 ----------------------------------------
.byte W12
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N18 , Ds1 , v100
.byte W20
.byte BEND , c_v+0
.byte N18 , Gs1 , v100
.byte W20
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N18 , Fs1 , v100
.byte W04
; 017 ----------------------------------------
.byte W16
.byte N08 , Fs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte BEND , c_v-1
.byte N17 , En1 , v100
.byte W19
.byte N08 , En1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , Bn1 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N08 , Ds1 , v100
.byte W01
; 018 ----------------------------------------
.byte W09
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W10
.byte N18 , Gs1 , v100
.byte W20
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N17 , Bn1 , v100
.byte W19
.byte N08 , Bn1 , v100
.byte W10
.byte N08 , Fs2 , v100
.byte W08
; 019 ----------------------------------------
.byte W02
.byte N18 , An1 , v100
.byte W20
.byte N18 , An1 , v100
.byte W20
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N18 , Ds1 , v100
.byte W20
.byte BEND , c_v+0
.byte N18 , Gs1 , v100
.byte W14
; 020 ----------------------------------------
.byte W06
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W09
.byte N18 , Fs1 , v100
.byte W20
.byte N08 , Fs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte BEND , c_v-1
.byte N18 , En1 , v100
.byte W20
.byte N08 , En1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , Bn1 , v100
.byte W01
; 021 ----------------------------------------
.byte W09
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N08 , Ds1 , v100
.byte W10
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W10
.byte N17 , Gs1 , v100
.byte W19
.byte N08 , Gs1 , v100
.byte W10
.byte N08 , Ds2 , v100
.byte W10
.byte N18 , Bn1 , v100
.byte W08
; 022 ----------------------------------------
.byte W12
.byte N08 , Bn1 , v100
.byte W10
.byte N08 , Fs2 , v100
.byte W10
.byte N18 , An1 , v100
.byte W20
.byte N18 , An1 , v100
.byte W20
.byte BEND , c_v-1
.byte N18 , Ds1 , v100
.byte W20
.byte N17 , Ds1 , v100
.byte W04
; 023 ----------------------------------------
.byte W16
.byte VOICE , 29
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte BEND , c_v+1
.byte GOTO
.word @song087restored_4_000
.byte W08
.byte FINE
;**************** Track 5 ****************;
@song087restored_5:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_5_000:
.byte VOICE , 29
.byte BENDR , 12
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v-18
.byte W96
; 001 ----------------------------------------
.byte W64
.byte W01
.byte PAN , c_v-32
.byte N72 , Cs2 , v100, gtp3
.byte VOL , 63*song087restored_mvl/mxv
.byte W20
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W10
; 002 ----------------------------------------
.byte W06
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W06
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W06
.byte BEND , c_v+0
.byte N72 , Cs2 , v100, gtp3
.byte W36
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W06
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte W02
; 003 ----------------------------------------
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+2
.byte W13
.byte BEND , c_v+0
.byte N18 , As1 , v100
.byte W21
.byte N05 , As1 , v100
.byte W20
.byte N07 , As1 , v100
.byte W16
; 004 ----------------------------------------
.byte W04
.byte N07 , As1 , v100
.byte W19
.byte N18 , As1 , v100
.byte W20
.byte N05 , As1 , v100
.byte W20
.byte N08 , As1 , v100
.byte W20
.byte N07 , As1 , v100
.byte W13
; 005 ----------------------------------------
.byte W06
.byte N18 , As1 , v100
.byte W20
.byte N06 , As1 , v100
.byte W21
.byte N07 , As1 , v100
.byte W20
.byte N07 , As1 , v100
.byte W19
.byte N18 , As1 , v100
.byte W10
; 006 ----------------------------------------
.byte W10
.byte N05 , As1 , v100
.byte W20
.byte N07 , As1 , v100
.byte W20
.byte N07 , As1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W20
.byte N05 , Cs2 , v100
.byte W07
; 007 ----------------------------------------
.byte W13
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W19
.byte N19 , As1 , v100
.byte W21
.byte N05 , As1 , v100
.byte W20
.byte N07 , An1 , v100
.byte W03
; 008 ----------------------------------------
.byte W17
.byte N07 , An1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W20
.byte N05 , Cs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W20
; 009 ----------------------------------------
.byte N08 , Cn2 , v100
.byte W19
.byte N18 , As1 , v100
.byte W20
.byte N06 , As1 , v100
.byte W21
.byte N07 , An1 , v100
.byte W20
.byte N07 , An1 , v100
.byte W16
; 010 ----------------------------------------
.byte W03
.byte N18 , Cs2 , v100
.byte W20
.byte N05 , Cs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W20
.byte N07 , Cn2 , v100
.byte W19
.byte N18 , As1 , v100
.byte W14
; 011 ----------------------------------------
.byte W06
.byte N06 , As1 , v100
.byte W21
.byte N07 , An1 , v100
.byte W19
.byte N08 , An1 , v100
.byte W20
.byte N18 , Cs2 , v100
.byte W20
.byte N05 , Cs2 , v100
.byte W10
; 012 ----------------------------------------
.byte W10
.byte N07 , Fn2 , v100
.byte W20
.byte N07 , Fn2 , v100
.byte W19
.byte N18 , Ds2 , v100
.byte W20
.byte N05 , Ds2 , v100
.byte W20
.byte N08 , An1 , v100
.byte W07
; 013 ----------------------------------------
.byte W13
.byte N08 , An1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W20
.byte N06 , Cs2 , v100
.byte W21
.byte N07 , Cn2 , v100
.byte W20
.byte N07 , Cn2 , v100
.byte W03
; 014 ----------------------------------------
.byte W16
.byte N18 , As1 , v100
.byte W20
.byte N05 , As1 , v100
.byte W20
.byte N08 , An1 , v100
.byte W20
.byte N08 , An1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W01
; 015 ----------------------------------------
.byte W19
.byte N06 , Cs2 , v100
.byte W21
.byte N07 , Fn2 , v100
.byte W19
.byte N08 , Fn2 , v100
.byte W20
.byte N18 , Ds2 , v100
.byte W17
; 016 ----------------------------------------
.byte W03
.byte N05 , Ds2 , v100
.byte W20
.byte N07 , An1 , v100
.byte W20
.byte N07 , An1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W20
.byte N05 , Cs2 , v100
.byte W14
; 017 ----------------------------------------
.byte W06
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W19
.byte N18 , As1 , v100
.byte W20
.byte N06 , As1 , v100
.byte W21
.byte N07 , An1 , v100
.byte W10
; 018 ----------------------------------------
.byte W10
.byte N07 , An1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W20
.byte N05 , Cs2 , v100
.byte W20
.byte N07 , Fn2 , v100
.byte W20
.byte N07 , Fn2 , v100
.byte W07
; 019 ----------------------------------------
.byte W12
.byte N18 , Ds2 , v100
.byte W20
.byte N06 , Ds2 , v100
.byte W21
.byte N07 , An1 , v100
.byte W19
.byte N08 , An1 , v100
.byte W20
.byte N18 , Cs2 , v100
.byte W04
; 020 ----------------------------------------
.byte W16
.byte N05 , Cs2 , v100
.byte W20
.byte N07 , Cn2 , v100
.byte W20
.byte N07 , Cn2 , v100
.byte W19
.byte N18 , As1 , v100
.byte W20
.byte N05 , As1 , v100
.byte W01
; 021 ----------------------------------------
.byte W19
.byte N08 , An1 , v100
.byte W20
.byte N08 , An1 , v100
.byte W19
.byte N18 , Cs2 , v100
.byte W20
.byte N06 , Cs2 , v100
.byte W18
; 022 ----------------------------------------
.byte W03
.byte N07 , Fn2 , v100
.byte W20
.byte N07 , Fn2 , v100
.byte W19
.byte N18 , Ds2 , v100
.byte W20
.byte N05 , Ds2 , v100
.byte W20
.byte N08 , An1 , v100
.byte W14
; 023 ----------------------------------------
.byte W06
.byte N07 , An1 , v100
.byte W10
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v-18
.byte GOTO
.word @song087restored_5_000
.byte W08
.byte FINE
;**************** Track 6 ****************;
@song087restored_6:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_6_000:
.byte VOICE , 29
.byte BENDR , 12
.byte W96
; 001 ----------------------------------------
.byte W68
.byte PAN , c_v-32
.byte N72 , Fn2 , v100
.byte VOL , 63*song087restored_mvl/mxv
.byte W28
; 002 ----------------------------------------
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W07
.byte BEND , c_v+0
.byte N72 , Fn2 , v100, gtp1
.byte W20
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W07
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W02
; 003 ----------------------------------------
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W14
.byte BEND , c_v+0
.byte N16 , Cs2 , v100
.byte W19
.byte N05 , Cs2 , v100
.byte W19
.byte N08 , Cs2 , v100
.byte W17
; 004 ----------------------------------------
.byte W03
.byte N08 , Cs2 , v100
.byte W21
.byte N17 , Cs2 , v100
.byte W19
.byte N05 , Cs2 , v100
.byte W20
.byte N08 , Cs2 , v100
.byte W19
.byte N08 , Cs2 , v100
.byte W14
; 005 ----------------------------------------
.byte W08
.byte N16 , Cs2 , v100
.byte W18
.byte N06 , Cs2 , v100
.byte W20
.byte N08 , Cs2 , v100
.byte W20
.byte N08 , Cs2 , v100
.byte W21
.byte N17 , Cs2 , v100
.byte W09
; 006 ----------------------------------------
.byte W10
.byte N05 , Cs2 , v100
.byte W19
.byte N09 , Cs2 , v100
.byte W20
.byte N08 , Cs2 , v100
.byte W22
.byte N16 , Fn2 , v100
.byte W18
.byte N05 , Fn2 , v100
.byte W07
; 007 ----------------------------------------
.byte W13
.byte N08 , Ds2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W21
.byte N17 , Cs2 , v100
.byte W19
.byte N05 , Cs2 , v100
.byte W19
.byte N08 , Cn2 , v100
.byte W04
; 008 ----------------------------------------
.byte W16
.byte N08 , Cn2 , v100
.byte W21
.byte N17 , Fn2 , v100
.byte W19
.byte N05 , Fn2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W20
; 009 ----------------------------------------
.byte N08 , Ds2 , v100
.byte W21
.byte N16 , Cs2 , v100
.byte W18
.byte N06 , Cs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W17
; 010 ----------------------------------------
.byte W04
.byte N17 , Fn2 , v100
.byte W19
.byte N05 , Fn2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W19
.byte N08 , Ds2 , v100
.byte W22
.byte N16 , Cs2 , v100
.byte W12
; 011 ----------------------------------------
.byte W06
.byte N06 , Cs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W21
.byte N17 , Fn2 , v100
.byte W19
.byte N05 , Fn2 , v100
.byte W10
; 012 ----------------------------------------
.byte W09
.byte N08 , Gs2 , v100
.byte W20
.byte N08 , Gs2 , v100
.byte W21
.byte N17 , Fs2 , v100
.byte W19
.byte N05 , Fs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W07
; 013 ----------------------------------------
.byte W13
.byte N08 , Cn2 , v100
.byte W21
.byte N16 , Fn2 , v100
.byte W18
.byte N06 , Fn2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W04
; 014 ----------------------------------------
.byte W17
.byte N17 , Cs2 , v100
.byte W19
.byte N05 , Cs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W19
.byte N09 , Cn2 , v100
.byte W21
; 015 ----------------------------------------
.byte W01
.byte N16 , Fn2 , v100
.byte W18
.byte N06 , Fn2 , v100
.byte W20
.byte N08 , Gs2 , v100
.byte W20
.byte N08 , Gs2 , v100
.byte W21
.byte N17 , Fs2 , v100
.byte W16
; 016 ----------------------------------------
.byte W03
.byte N05 , Fs2 , v100
.byte W19
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W21
.byte N17 , Fn2 , v100
.byte W19
.byte N05 , Fn2 , v100
.byte W14
; 017 ----------------------------------------
.byte W06
.byte N08 , Ds2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W21
.byte N16 , Cs2 , v100
.byte W18
.byte N06 , Cs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W11
; 018 ----------------------------------------
.byte W09
.byte N08 , Cn2 , v100
.byte W21
.byte N17 , Fn2 , v100
.byte W19
.byte N05 , Fn2 , v100
.byte W20
.byte N08 , Gs2 , v100
.byte W19
.byte N08 , Gs2 , v100
.byte W08
; 019 ----------------------------------------
.byte W14
.byte N16 , Fs2 , v100
.byte W18
.byte N06 , Fs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W21
.byte N17 , Fn2 , v100
.byte W03
; 020 ----------------------------------------
.byte W16
.byte N05 , Fn2 , v100
.byte W19
.byte N08 , Ds2 , v100
.byte W20
.byte N08 , Ds2 , v100
.byte W21
.byte N17 , Cs2 , v100
.byte W19
.byte N05 , Cs2 , v100
.byte W01
; 021 ----------------------------------------
.byte W19
.byte N08 , Cn2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W21
.byte N16 , Fn2 , v100
.byte W18
.byte N06 , Fn2 , v100
.byte W18
; 022 ----------------------------------------
.byte W02
.byte N08 , Gs2 , v100
.byte W20
.byte N08 , Gs2 , v100
.byte W21
.byte N17 , Fs2 , v100
.byte W19
.byte N05 , Fs2 , v100
.byte W20
.byte N08 , Cn2 , v100
.byte W14
; 023 ----------------------------------------
.byte W05
.byte N08 , Cn2 , v100
.byte W11
.byte VOL , 100*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte GOTO
.word @song087restored_6_000
.byte W08
.byte FINE
;**************** Track 7 ****************;
@song087restored_7:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_7_000:
.byte VOICE , 27
.byte BENDR , 12
.byte W96
; 001 ----------------------------------------
.byte W96
; 002 ----------------------------------------
.byte W96
; 003 ----------------------------------------
.byte W30
.byte PAN , c_v+32
.byte BEND , c_v+4
.byte N03 , Bn1 , v100
.byte VOL , 63*song087restored_mvl/mxv
.byte W04
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N04 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W06
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N02 , Bn1 , v100
.byte W04
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N02 , Bn1 , v100
.byte W05
.byte VOL , 80*song087restored_mvl/mxv
.byte PAN , c_v-32
.byte N03 , Bn2 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N02 , Bn1 , v100
.byte W02
; 004 ----------------------------------------
.byte N01 , Bn1 , v100
.byte W03
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W04
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N02 , Bn1 , v100
.byte W06
.byte VOL , 80*song087restored_mvl/mxv
.byte PAN , c_v-32
.byte N03 , Bn2 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W04
; 005 ----------------------------------------
.byte W01
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N01 , Bn1 , v100
.byte W05
.byte VOL , 80*song087restored_mvl/mxv
.byte PAN , c_v-32
.byte N03 , Bn2 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W06
; 006 ----------------------------------------
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N03 , Bn1 , v100
.byte W04
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W04
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N04 , Bn1 , v100
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v+32
.byte N02 , Bn1 , v100
.byte W05
.byte VOL , 80*song087restored_mvl/mxv
.byte PAN , c_v-32
.byte N03 , Bn2 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 63*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W02
; 007 ----------------------------------------
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte W01
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N02 , Bn1 , v100
.byte W04
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
; 008 ----------------------------------------
.byte W01
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte W01
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte W01
; 009 ----------------------------------------
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W02
; 010 ----------------------------------------
.byte W03
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
; 011 ----------------------------------------
.byte W01
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N03 , Bn1 , v100
.byte W04
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W01
; 012 ----------------------------------------
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W02
; 013 ----------------------------------------
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
; 014 ----------------------------------------
.byte W01
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W01
; 015 ----------------------------------------
.byte W04
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W03
; 016 ----------------------------------------
.byte W03
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
; 017 ----------------------------------------
.byte W01
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte W01
.byte N02 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W01
; 018 ----------------------------------------
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W03
; 019 ----------------------------------------
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W04
; 020 ----------------------------------------
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W01
; 021 ----------------------------------------
.byte W04
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte W01
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N02 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W05
.byte N04 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W03
; 022 ----------------------------------------
.byte W02
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
.byte VOL , 47*song087restored_mvl/mxv
.byte N04 , Bn1 , v100
.byte W06
.byte N03 , Bn1 , v100
.byte W04
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W04
; 023 ----------------------------------------
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Bn1 , v100
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N04 , Bn1 , v100
.byte W06
.byte VOL , 100*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte GOTO
.word @song087restored_7_000
.byte W08
.byte FINE
;**************** Track 8 ****************;
@song087restored_8:
; 000 ----------------------------------------
.byte KEYSH , song087restored_key+0
@song087restored_8_000:
.byte VOICE , 29
.byte BENDR , 12
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte W96
; 001 ----------------------------------------
.byte W60
.byte W03
.byte PAN , c_v-37
.byte N76 , As1 , v100, gtp1
.byte VOL , 67*song087restored_mvl/mxv
.byte W32
.byte W01
; 002 ----------------------------------------
.byte W01
.byte BEND , c_v+1
.byte W03
.byte BEND , c_v+0
.byte W03
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte N78 , As1 , v100
.byte W32
.byte W02
.byte BEND , c_v+1
.byte W03
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v+0
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W02
.byte BEND , c_v+1
.byte W01
; 003 ----------------------------------------
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W02
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v-2
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+2
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W16
.byte BEND , c_v+0
.byte N14 , Fn2 , v100
.byte W17
.byte N05 , Fn2 , v100
.byte W18
.byte N09 , Fn2 , v100
.byte W18
; 004 ----------------------------------------
.byte W02
.byte N09 , Fn2 , v100
.byte W24
.byte N15 , Fn2 , v100
.byte W17
.byte N05 , Fn2 , v100
.byte W19
.byte N09 , Fn2 , v100
.byte W19
.byte N09 , Fn2 , v100
.byte W15
; 005 ----------------------------------------
.byte W09
.byte N15 , Fn2 , v100
.byte W17
.byte N06 , Fn2 , v100
.byte W19
.byte N09 , Fn2 , v100
.byte W20
.byte N09 , Fn2 , v100
.byte W24
.byte N15 , Fn2 , v100
.byte W07
; 006 ----------------------------------------
.byte W10
.byte N05 , Fn2 , v100
.byte W18
.byte N09 , Fn2 , v100
.byte W20
.byte N09 , Fn2 , v100
.byte W24
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N15 , As1 , v100
.byte W17
.byte N05 , As1 , v100
.byte W07
; 007 ----------------------------------------
.byte W12
.byte N09 , Gs1 , v100
.byte W20
.byte N09 , Gs1 , v100
.byte W24
.byte N14 , Fs1 , v100
.byte W17
.byte N05 , Fs1 , v100
.byte W18
.byte N09 , Fn1 , v100
.byte W05
; 008 ----------------------------------------
.byte W15
.byte N09 , Fn1 , v100
.byte W24
.byte N15 , As1 , v100
.byte W17
.byte N05 , As1 , v100
.byte W19
.byte N09 , Gs1 , v100
.byte W19
.byte N10 , Gs1 , v100
.byte W02
; 009 ----------------------------------------
.byte W23
.byte N14 , Fs1 , v100
.byte W16
.byte N06 , Fs1 , v100
.byte W19
.byte N09 , Fn1 , v100
.byte W20
.byte N09 , Fn1 , v100
.byte W09
.byte VOICE , 15
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N07 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W01
; 010 ----------------------------------------
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N05 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W07
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W40
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N01 , Bn1 , v100
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N07 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
; 011 ----------------------------------------
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , Bn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W02
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Gs1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Ds1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Cn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W16
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N02 , Cn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W07
; 012 ----------------------------------------
.byte W08
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , Cn1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N09 , Gs1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W13
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , As1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , En1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W15
.byte VOL , 47*song087restored_mvl/mxv
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W15
.byte VOL , 73*song087restored_mvl/mxv
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
; 013 ----------------------------------------
.byte W12
.byte VOL , 73*song087restored_mvl/mxv
.byte W01
.byte N03 , As0 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N07 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N06 , Cn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W04
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W02
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W06
.byte N08 , Cn2 , v100
.byte W08
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W16
; 014 ----------------------------------------
.byte W24
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N01 , Bn1 , v100
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Cn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N04 , As1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v+0
.byte N08 , Gs1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Ds1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N04 , Fn1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W07
; 015 ----------------------------------------
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W17
.byte VOL , 73*song087restored_mvl/mxv
.byte W12
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte W08
.byte N04 , Gs1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte N02 , Cs2 , v100
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte W01
.byte N02 , Cs2 , v100
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cs2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N05 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W02
; 016 ----------------------------------------
.byte W03
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N03 , Gn1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Gn1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Gn1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N06 , En1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte BEND , c_v+0
.byte N08 , En1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N07 , Fn1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N06 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
; 017 ----------------------------------------
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W36
.byte W03
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N01 , Bn1 , v100
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N07 , Cn2 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , Bn1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , As1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Gs1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn1 , v100
.byte W01
; 018 ----------------------------------------
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Ds1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v+1
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Cn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W16
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , Cn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W15
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte PAN , c_v-32
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N03 , Cn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N09 , Gs1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W14
; 019 ----------------------------------------
.byte W01
.byte VOL , 47*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , As1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , En1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W15
.byte VOL , 47*song087restored_mvl/mxv
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W15
.byte VOL , 73*song087restored_mvl/mxv
.byte W09
.byte VOL , 63*song087restored_mvl/mxv
.byte W14
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , As0 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte N07 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N05 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W01
; 020 ----------------------------------------
.byte W01
.byte BEND , c_v-1
.byte W05
.byte PAN , c_v+63
.byte VOL , 28*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W06
.byte VOL , 0*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte W01
.byte N08 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W02
.byte BEND , c_v+0
.byte N08 , Cn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W06
.byte N08 , Cn2 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W40
.byte VOL , 47*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N01 , Bn1 , v100
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N07 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn2 , v100
.byte W01
; 021 ----------------------------------------
.byte W01
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Bn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N03 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte N08 , Gs1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte N08 , Ds1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W05
.byte BEND , c_v+1
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte W01
.byte BEND , c_v+0
.byte N03 , Fn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W08
.byte VOL , 63*song087restored_mvl/mxv
.byte W17
.byte VOL , 73*song087restored_mvl/mxv
.byte W12
.byte VOL , 80*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte W06
; 022 ----------------------------------------
.byte W02
.byte N04 , Gs1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , As1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W06
.byte VOL , 73*song087restored_mvl/mxv
.byte N04 , Cn2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte VOL , 63*song087restored_mvl/mxv
.byte W07
.byte VOL , 73*song087restored_mvl/mxv
.byte N02 , Cs2 , v100
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte VOL , 73*song087restored_mvl/mxv
.byte N02 , Cs2 , v100
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W02
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte N08 , Cs2 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N05 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W05
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte BEND , c_v+0
.byte N08 , As1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W02
.byte BEND , c_v-1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte N02 , Gn1 , v100
.byte W03
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 73*song087restored_mvl/mxv
.byte N03 , Gn1 , v100
.byte W04
.byte VOL , 63*song087restored_mvl/mxv
.byte W01
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte W01
.byte N08 , Gn1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W04
.byte BEND , c_v+1
.byte W03
.byte VOL , 73*song087restored_mvl/mxv
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N05 , En1 , v100
.byte W02
.byte BEND , c_v+1
.byte W01
.byte VOL , 63*song087restored_mvl/mxv
.byte BEND , c_v+0
.byte W01
; 023 ----------------------------------------
.byte W01
.byte BEND , c_v-1
.byte W04
.byte VOL , 28*song087restored_mvl/mxv
.byte PAN , c_v-64
.byte BEND , c_v+0
.byte N08 , En1 , v100
.byte W03
.byte BEND , c_v+1
.byte W01
.byte BEND , c_v+0
.byte W07
.byte VOICE , 29
.byte VOL , 54*song087restored_mvl/mxv
.byte PAN , c_v+27
.byte GOTO
.word @song087restored_8_000
.byte W08
.byte FINE
;******************************************;
.align 4
song087restored:
.byte 8 ; NumTrks
.byte 0 ; NumBlks
.byte song087restored_pri ; Priority
.byte song087restored_rev ; Reverb.
//emit_clean_voicegroup_offset_for_song 87
.word 0x81090E0 //Voice Table
.word @song087restored_1
.word @song087restored_2
.word @song087restored_3
.word @song087restored_4
.word @song087restored_5
.word @song087restored_6
.word @song087restored_7
.word @song087restored_8
| 22.800491 | 46 | 0.568193 |
c632c4adbabaddd6eab6653281e1bf36b180da64 | 193 | asm | Assembly | mc-sema/validator/x86/tests/ROR16ri.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 2 | 2021-08-07T16:21:29.000Z | 2021-11-17T10:58:37.000Z | mc-sema/validator/x86/tests/ROR16ri.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | mc-sema/validator/x86/tests/ROR16ri.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; ROR16ri
mov cx, 0x545
;TEST_BEGIN_RECORDING
ror cx, 0x8
;TEST_END_RECORDING
| 16.083333 | 25 | 0.751295 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.