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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13317e648e5916341ddc907590820d4f3b61ee07 | 732 | asm | Assembly | oeis/244/A244472.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/244/A244472.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/244/A244472.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A244472: 2nd-largest term in n-th row of Stern's diatomic triangle A002487.
; Submitted by Jamie Morken(s4)
; 1,2,4,7,12,19,31,50,81,131,212,343,555,898,1453,2351,3804,6155,9959,16114,26073,42187,68260,110447,178707,289154,467861,757015,1224876,1981891,3206767,5188658,8395425,13584083,21979508,35563591,57543099,93106690,150649789,243756479,394406268,638162747,1032569015,1670731762,2703300777,4374032539,7077333316,11451365855,18528699171,29980065026,48508764197,78488829223,126997593420,205486422643,332484016063,537970438706,870454454769,1408424893475,2278879348244,3687304241719,5966183589963
mov $1,1
mov $3,1
lpb $0
sub $0,1
add $3,$1
add $1,$2
trn $1,$3
add $2,$3
add $3,$1
cmp $3,2
lpe
add $2,$1
mov $0,$2
| 40.666667 | 489 | 0.782787 |
1d2f203288af0a7d4d5c81bb81f094b15e374831 | 1,986 | asm | Assembly | programs/oeis/290/A290917.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/290/A290917.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/290/A290917.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A290917: p-INVERT of the positive integers, where p(S) = (1 - S)^2.
; 2,7,22,67,200,588,1708,4913,14018,39725,111922,313752,875702,2434747,6746350,18636343,51340988,141089508,386857888,1058572325,2891193242,7882921697,21458980582,58330331952,158339542250,429274563823,1162435429318,3144299295403,8496313890608,22935929106300,61859482184212,166695256984217,448836498626162,1207592128929557,3246663348410650,8722790407011528,23420161884503198,62842664791426723,168524287112683678,451674590870415775,1209916213847031332,3239379841392289812,8668723954146205192,23186988161773815437,61992328309541343050,165670063961221029833,442557977378868092878,1181744142395251471968,3154355158661744646098,8416623185934689212375,22449739247321584906102,59859967248223144505107,159558055725747823691672,425170506922027172818092,1132594492790954258424700,3016179747709690447194113,8030004051364061053709858,21372443533201469780854013,56869100627671335519055618,151281569461286521400004600,402333967011179195321830022,1069748698225749979864409227,2843638868371576523527297102,7557319762351998013186256647,20080049244367967004181897100,53341862592339533041341932868,141670913571729972757640971888,376187968618500777102989695733,998718888731644193527757183738,2650929296424396916538160347825,7035124900637570060283930268342,18666652506928418663847371190672,49520398024371978625662199095482,131349030677420289896817532737727,348334595937362916421421303251750,923623973811857762753660782777723,2448637073600304256641573358227968,6490617274618147358190881825585628,17202105085039320986188527406420708,45584038957226272754127243723672425,120776144382033685569193378466692562,319954450998330891678700872452697317,847491246445933124349653006518179562
mov $3,$0
add $3,1
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
sub $0,$3
mov $2,$0
mul $0,2
mov $4,$0
add $0,8
lpb $2
sub $4,$2
add $4,2
add $4,$0
add $0,$4
sub $2,1
lpe
mov $4,$0
div $4,5
add $4,1
add $1,$4
lpe
mov $0,$1
| 70.928571 | 1,654 | 0.870594 |
da235897477858d1bbbfdf56613c098be843e7ad | 241 | asm | Assembly | src/test/resources/data/generationtests/asmsx-labels.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 36 | 2020-06-29T06:52:26.000Z | 2022-02-10T19:41:58.000Z | src/test/resources/data/generationtests/asmsx-labels.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 39 | 2020-07-02T18:19:34.000Z | 2022-03-27T18:08:54.000Z | src/test/resources/data/generationtests/asmsx-labels.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 7 | 2020-07-02T06:00:05.000Z | 2021-11-28T17:31:13.000Z | ; Test case to make sure local labels are saved in a way asMSX can parse them afterwards
org #8000
.rom
.start loop
loop:
call f1
jp loop
f1:
ld a,[hl]
ld b,8
.l1:
inc a
djnz .l1
ld b,8
@@l2:
inc a
djnz @@l2
ld [hl],a
ret
| 10.954545 | 88 | 0.630705 |
bf151cfaeb618394c61b8a597bda5a038e009fa0 | 5,166 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1014.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1014.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1014.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x174d9, %r9
nop
nop
add $37287, %r11
mov (%r9), %ebx
nop
nop
nop
add %r11, %r11
lea addresses_WC_ht+0x5229, %r10
nop
nop
and %rax, %rax
vmovups (%r10), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $1, %xmm0, %r12
nop
nop
nop
nop
inc %r10
lea addresses_D_ht+0x4e69, %rsi
lea addresses_normal_ht+0x203d, %rdi
nop
nop
nop
add %r11, %r11
mov $6, %rcx
rep movsb
nop
nop
nop
mfence
lea addresses_UC_ht+0x9fe9, %r11
nop
nop
nop
nop
nop
dec %rdi
mov (%r11), %r9d
nop
nop
nop
add $46088, %r9
lea addresses_WT_ht+0x15309, %rbx
cmp %r10, %r10
movb (%rbx), %r9b
nop
add $51140, %r12
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r8
push %rax
push %rcx
push %rsi
// Faulty Load
lea addresses_PSE+0x1c5e9, %rcx
nop
nop
sub %r14, %r14
vmovups (%rcx), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %r11
lea oracles, %rax
and $0xff, %r11
shlq $12, %r11
mov (%rax,%r11,1), %r11
pop %rsi
pop %rcx
pop %rax
pop %r8
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'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
*/
| 44.153846 | 2,999 | 0.660085 |
87a1050c21893e80c11d034b63668f197876bd36 | 147 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_grnd.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_grnd.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_grnd.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: z00_grnd.asm
Type: file
Size: 110882
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: EE2DA3BE6F1D328EDD6B3EFD0AE3D4ED6D9B53C4
Description: null
| 21 | 47 | 0.816327 |
f1314122b3772f596b6c48138c99b4bce06d4d02 | 1,913 | asm | Assembly | programs/oeis/256/A256077.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/256/A256077.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/256/A256077.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A256077: Repeat 2^d times the repunit A002275(d); d = 1, 2, 3...
; 1,1,11,11,11,11,111,111,111,111,111,111,111,111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111
mov $1,3
lpb $0
div $0,2
sub $0,1
mul $1,10
lpe
div $1,27
mul $1,10
add $1,1
| 147.153846 | 1,761 | 0.834814 |
651de9520ea51f0068db5ec7e9b86a5cd9c1c806 | 1,442 | asm | Assembly | std/macros.asm | SuperFola/project-E | 0542d6aa649f1e4488df1ea036ace80bf3143056 | [
"MIT",
"Unlicense"
] | 16 | 2018-05-12T17:25:48.000Z | 2020-09-12T13:17:10.000Z | std/macros.asm | SuperFola/project-E | 0542d6aa649f1e4488df1ea036ace80bf3143056 | [
"MIT",
"Unlicense"
] | 6 | 2019-07-08T08:52:54.000Z | 2019-07-08T09:00:13.000Z | std/macros.asm | SuperFola/project-E | 0542d6aa649f1e4488df1ea036ace80bf3143056 | [
"MIT",
"Unlicense"
] | null | null | null | %ifndef proj_e_macros_asm
%define proj_e_macros_asm
; --------------------------
; Strings
; --------------------------
%macro print 1
push si
mov si, %1
call proj_e_print
pop si
%endmacro
%macro printhex 1
mov ax, %1
call proj_e_print_hex
%endmacro
%macro mystosb 1
mov [%1], al
inc %1
%endmacro
%macro input 2
mov di, %1
mov ch, %2
mov bl, 0x00
call proj_e_get_user_input
%endmacro
%macro getpass 2
mov di, %1
mov ch, %2
mov bl, 0x01
call proj_e_get_user_input
%endmacro
%macro strcmp 2
mov di, %1
mov si, %2
call proj_e_compare_string
%endmacro
; --------------------------
; Video Mode
; --------------------------
%define VIDMEM 0xb800 ; video memory
%define COLS 80 ; width and height of screen
%define LINES 25
%define CHAR_ATTR_BLACK 0
%define CHAR_ATTR_BLUE 1
%define CHAR_ATTR_GREEN 2
%define CHAR_ATTR_CYAN 3
%define CHAR_ATTR_RED 4
%define CHAR_ATTR_MAGENT 5
%define CHAR_ATTR_BROWN 6
%define CHAR_ATTR_LGREY 7
%define CHAR_ATTR_DGREY 8
%define CHAR_ATTR_LBLUE 9
%define CHAR_ATTR_LGREEN 10
%define CHAR_ATTR_LCYAN 11
%define CHAR_ATTR_LRED 12
%define CHAR_ATTR_LMAGENT 13
%define CHAR_ATTR_YELLOW 14
%define CHAR_ATTR_WHITE 15
%define CREATE_COLOUR(fg, bg) ((fg) + (bg) * 16)
%macro move_cursor 1
mov cx, %1
call proj_e_move_cursor
%endmacro
%endif
| 18.487179 | 53 | 0.626214 |
cc6e5511c39a91e1eb137bfecba403a8d819db55 | 3,769 | asm | Assembly | 03 SoliditySamples-master/exeth/simple/contracts/counter.asm | JUANLUNABLANCO/BLOCKCHAIN_COURSES | 1428edad0a37f36464a46c8df44a30ef7da37e9d | [
"MIT"
] | null | null | null | 03 SoliditySamples-master/exeth/simple/contracts/counter.asm | JUANLUNABLANCO/BLOCKCHAIN_COURSES | 1428edad0a37f36464a46c8df44a30ef7da37e9d | [
"MIT"
] | null | null | null | 03 SoliditySamples-master/exeth/simple/contracts/counter.asm | JUANLUNABLANCO/BLOCKCHAIN_COURSES | 1428edad0a37f36464a46c8df44a30ef7da37e9d | [
"MIT"
] | null | null | null |
======= counter.sol:Counter =======
EVM assembly:
/* "counter.sol":63:399 contract Counter {
... */
mstore(0x40, 0x60)
/* "counter.sol":109:165 function Counter() public {
... */
jumpi(tag_1, iszero(callvalue))
0x0
dup1
revert
tag_1:
tag_2:
/* "counter.sol":156:157 1 */
0x1
/* "counter.sol":146:153 counter */
0x0
/* "counter.sol":146:157 counter = 1 */
dup2
swap1
sstore
pop
/* "counter.sol":109:165 function Counter() public {
... */
tag_3:
/* "counter.sol":63:399 contract Counter {
... */
tag_4:
dataSize(sub_0)
dup1
dataOffset(sub_0)
0x0
codecopy
0x0
return
stop
sub_0: assembly {
/* "counter.sol":63:399 contract Counter {
... */
mstore(0x40, 0x60)
calldataload(0x0)
0x100000000000000000000000000000000000000000000000000000000
swap1
div
0xffffffff
and
dup1
0x1003e2d2
eq
tag_2
jumpi
dup1
0x8ada066e
eq
tag_3
jumpi
dup1
0xd09de08a
eq
tag_4
jumpi
tag_1:
0x0
dup1
revert
/* "counter.sol":242:301 function add(uint v) public {
... */
tag_2:
jumpi(tag_5, iszero(callvalue))
0x0
dup1
revert
tag_5:
tag_6
0x4
dup1
dup1
calldataload
swap1
0x20
add
swap1
swap2
swap1
pop
pop
jump(tag_7)
tag_6:
stop
/* "counter.sol":310:396 function getCounter() public constant returns (uint) {
... */
tag_3:
jumpi(tag_8, iszero(callvalue))
0x0
dup1
revert
tag_8:
tag_9
jump(tag_10)
tag_9:
mload(0x40)
dup1
dup3
dup2
mstore
0x20
add
swap2
pop
pop
mload(0x40)
dup1
swap2
sub
swap1
return
/* "counter.sol":177:233 function increment() public {
... */
tag_4:
jumpi(tag_11, iszero(callvalue))
0x0
dup1
revert
tag_11:
tag_12
jump(tag_13)
tag_12:
stop
/* "counter.sol":242:301 function add(uint v) public {
... */
tag_7:
/* "counter.sol":292:293 v */
dup1
/* "counter.sol":281:288 counter */
0x0
dup1
/* "counter.sol":281:293 counter += v */
dup3
dup3
sload
add
swap3
pop
pop
dup2
swap1
sstore
pop
/* "counter.sol":242:301 function add(uint v) public {
... */
tag_14:
pop
jump // out
/* "counter.sol":310:396 function getCounter() public constant returns (uint) {
... */
tag_10:
/* "counter.sol":357:361 uint */
0x0
/* "counter.sol":381:388 counter */
dup1
sload
/* "counter.sol":374:388 return counter */
swap1
pop
/* "counter.sol":310:396 function getCounter() public constant returns (uint) {
... */
tag_15:
swap1
jump // out
/* "counter.sol":177:233 function increment() public {
... */
tag_13:
/* "counter.sol":216:223 counter */
0x0
dup1
/* "counter.sol":216:225 counter++ */
dup2
sload
dup1
swap3
swap2
swap1
0x1
add
swap2
swap1
pop
sstore
pop
/* "counter.sol":177:233 function increment() public {
... */
tag_16:
jump // out
auxdata: 0xa165627a7a723058209c14b0491dc15ac395ea1519522f3b1b4162ad8e2a8a0f4e9b43e8b2963c528e0029
}
| 20.372973 | 102 | 0.49403 |
f7a8e81a768483e3f9acd9e589f20ca5442c2483 | 453 | asm | Assembly | oeis/028/A028131.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/028/A028131.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/028/A028131.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A028131: Expansion of 1/((1-4x)(1-6x)(1-7x)(1-9x)).
; Submitted by Christian Krause
; 1,26,429,5746,68285,751842,7859293,79189682,776807229,7469674498,70755237917,662574315858,6150105857533,56698559685794,519954841569501,4748676612377074,43230125518942397,392566127341918530
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
seq $0,19316 ; Expansion of 1/((1-4x)(1-6x)(1-7x)).
sub $0,$1
mul $1,10
add $1,$0
lpe
mov $0,$1
| 25.166667 | 190 | 0.697572 |
a595d6253a0f1674d1c1320255b8b53e7304eb68 | 567 | asm | Assembly | oeis/036/A036290.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/036/A036290.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/036/A036290.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A036290: a(n) = n*3^n.
; 0,3,18,81,324,1215,4374,15309,52488,177147,590490,1948617,6377292,20726199,66961566,215233605,688747536,2195382771,6973568802,22082967873,69735688020,219667417263,690383311398,2165293113021,6778308875544,21182215236075,66088511536554,205891132094649,640550188738908,1990280943581607,6176733962839470,19147875284802357,59296646043258912,183448998696332259,567024177788663346,1751104078464989745,5403406870691968356,16660504517966902431,51332365271573699382,158049650967740074413,486306618362277152040
mov $1,3
pow $1,$0
mul $1,$0
mov $0,$1
| 70.875 | 501 | 0.865961 |
6a7b1b440f68b73ef3f91e24b7c0ae67537eda28 | 571 | asm | Assembly | libsrc/target/rex/DbInsertText.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/target/rex/DbInsertText.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/target/rex/DbInsertText.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ;
; Database Call for REX6000
;
; DbInsertText
;
; $Id: DbInsertText.asm,v 1.4 2017-01-03 00:11:31 aralbrec Exp $
PUBLIC DbInsertText
PUBLIC _DbInsertText
.DbInsertText
._DbInsertText
ld ix,2
add ix,sp
ld l,(ix+0)
ld h,(ix+1)
push hl
ld hl,$0002
push hl
ld hl,$0000
push hl
add hl,sp
ld ($c00a),hl
ld l,(ix+2)
ld h,(ix+3)
ld ($c008),hl
ld l,(ix+4)
ld h,(ix+5)
ld ($c006),hl
ld l,(ix+6)
ld h,(ix+7)
ld ($c004),hl
ld l,(ix+8)
ld h,(ix+9)
ld ($c002),hl
ld hl,$00ea
ld ($c000),hl
rst $10
ld hl,($c00e)
pop af
pop af
pop af
ret
| 11.895833 | 64 | 0.597198 |
85fae0e426ee9864c10a0dbca937bfacc431e888 | 4,048 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1425.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1425.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1425.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1ef8f, %rsi
lea addresses_A_ht+0x1438f, %rdi
nop
xor $7138, %r14
mov $4, %rcx
rep movsb
nop
nop
dec %r14
pop %rsi
pop %rdi
pop %rcx
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %rcx
push %rdx
// Faulty Load
lea addresses_A+0x1278f, %r12
nop
xor %r14, %r14
movups (%r12), %xmm3
vpextrq $0, %xmm3, %rcx
lea oracles, %rdx
and $0xff, %rcx
shlq $12, %rcx
mov (%rdx,%rcx,1), %rcx
pop %rdx
pop %rcx
pop %r14
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_A', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_A', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
| 69.793103 | 2,999 | 0.663785 |
86473ff8494506181fdac7b31f3a4ca750537de0 | 1,134 | asm | Assembly | gcd.asm | sirdangd/asm | 98a935b3217d7d0af4bf5b883bce71e5a7a2a3bc | [
"MIT"
] | null | null | null | gcd.asm | sirdangd/asm | 98a935b3217d7d0af4bf5b883bce71e5a7a2a3bc | [
"MIT"
] | null | null | null | gcd.asm | sirdangd/asm | 98a935b3217d7d0af4bf5b883bce71e5a7a2a3bc | [
"MIT"
] | null | null | null |
;gcd
;first thing I do is check whether they are the
;same number or not, if they are, then I just result
;whatever is in reg a
;then I check if reg b is greater than reg a, if it
;is, I switch the two to avoid confusion
;once that is all done, I begin my loop which subtracts
;reg a to reg b until it is negative or zero
;if it is zero, then the value of reg b is the gcd
;if it becomes negative, I add reg a to reg b just
;once and switch the two values so that whatever is
;in reg a will be subtracting whatever is in reg b
;and that will give us the answer as to what the
;gcd is
;the value of the gcd is stored in reg d
jmp start
;data
;code
start: nop
mvi a, 015h
mvi b, 09h
mov e, b
cpi 00h
jz zero
mov c, b
mov e, a
mov a, b
cpi 00h
jz zero
mov b, a
mov a, d
cmp b
jc switch ;if reg b > reg a
jz same ;if reg a = reg b
jmp loop ;else jump to loop
switch: mov c, a
mov a, b
mov b, c
loop: sub b ;keep subtracting until value is -tve or +tve
jz done
jp loop
add b
mov c, a ;switching values of reg a and b
mov a, b
mov b, c
jmp loop
zero: mov d, e
jmp end
same: mov d, a
jmp end
done: mov d, b
end: hlt | 15.971831 | 57 | 0.694885 |
c738ce06eeb8565f42c12784f6f1c73cd2ea9a5d | 12,204 | asm | Assembly | dv3/qlsd/io.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/qlsd/io.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/qlsd/io.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; DV3 IO routines V3.03 1992 Tony Tebby
;
; 2020-03-07 3.01 Modifications for correct medium name (xinf call) (MK+wl)
; 2020-04-26 3.02 Removed support for DOS timestamps to save space (MK)
; 2020-05-07 3.03 Fixed io.minf to fill the name with spaces (MK)
section dv3
xdef dv3_io
xdef dv3_ionb
xdef dv3_rhdr
xdef dv3_flsh
xdef dv3_flhdr
xdef dv3_ckro
xdef dv3_minf
xdef dv3_xinf
xref dv3_dir
xref dv3_dsect
xref dv3_posa
xref dv3_posr
xref dv3_tbyt
xref dv3_fbyt
xref dv3_sbyt
xref dv3_fmul
xref dv3_flin
xref dv3_smul
xref dv3_mkdr
xref dv3_rename
xref dv3_date
xref dv3_albf
xref dv3_lcbf
xref dv3_sbtr
xref dv3_slbupd
xref dv3_iqdt
;;; xref cv_rtdos
;;; xref cv_dosrt
include 'dev8_dv3_keys'
include 'dev8_keys_err'
include 'dev8_keys_hdr'
include 'dev8_keys_qdos_io'
include 'dev8_mac_assert'
;+++
; General purpose IO routine
;
; d0 c operation
; d1 cr amount transferred / byte / position etc.
; d2 c buffer size
; d4 s file pointer
; d5 s file sector
; d6 s file id
; d7 s drive number
; a0 c channel base address
; a1 cr buffer address
; a2 s internal buffer address
; a3 c p linkage block address
; a4 s pointer to physical definition
;---
dv3_io
dv3_ionb
assert d3c_flid,d3c_drid-4,d3c_drnr-6,d3c_ddef-8
movem.l d3c_flid(a0),d6/d7/a4 ; file ID / drive number / def block
move.l ddf_ptddl(a4),a3 ; set linkage
tst.b d3c_atype(a0) ; access type?
beq.s io_file ; normal file IO
bmi.l dv3_dir ; directory IO
bra.l dv3_dsect ; direct sector IO
io_file
cmp.w #iof.xinf,d0 ; in range?
bhi.s io_ipar ; ... no
dv3_setj
subq.w #iob.smul+1,d0 ; byte io?
blo.s io_jump ; ... yes
sub.w #iof.chek-(iob.smul+1),d0 ; file io?
blo.s io_ipar ; ... no
io_jump
add.w d0,d0
add.w io_tab(pc,d0.w),d0
jmp io_tab(pc,d0.w)
io_ipar
moveq #err.ipar,d0
rts
dc.w dv3_tbyt-*
dc.w dv3_fbyt-*
dc.w io_flin-*
dc.w io_fmul-*
dc.w io_ipar-*
dc.w dv3_sbyt-*
dc.w io_smul-*
dc.w io_smul-*
io_tab
dc.w io_chek-*
dc.w io_flsh-*
dc.w dv3_posa-*
dc.w dv3_posr-*
dc.w io_ipar-*
dc.w io_minf-*
dc.w io_shdr-*
dc.w io_rhdr-*
dc.w io_load-*
dc.w io_save-*
dc.w dv3_rename-*
dc.w io_trnc-*
dc.w io_date-*
dc.w dv3_mkdr-*
dc.w io_vers-*
dc.w io_xinf-*
; fetch medium information: this is old style QDOS: the figures are a bit odd
dv3_minf
io_minf
jsr ddf_rsinfo(a4) ; update information
lea ddf_mname(a4),a2 ; medium name
move.w (a2)+,d2 ; name size
move.l (a2)+,(a1)+ ; copy first 10 chars of name
move.l (a2)+,(a1)+
move.w (a2)+,(a1)+
move.l a1,a2 ; keep a1 at end of buffer
moveq #9,d1
sub.w d2,d1 ; characters remaining - 1
bcs.s ioi_ftype ; no space remaining
ioi_space
move.b #' ',-(a2) ; overwrite non-name part with space
dbf d1,ioi_space
ioi_ftype
; We only support QLWA here
;;; assert ddf_ftype,ddf_stype-1
;;; cmp.w #ddf.qdos<<8+ddf.ql5b,ddf_ftype(a4) ; old QL format?
;;; bhi.s ioi_sallc ; use allocation units
;;; move.w ddf_asect(a4),d2 ; allocation units / sector
;;; move.b ddf_slflag(a4),d1 ; sector length flag
;;; subq.b #2,d1 ; treat 128 and 256 as one sector
;;; ble.s ioi_ssect
;;; lsl.w d1,d2 ; but others as multiple sectors
;;;ioi_ssect
;;; move.w ddf_afree+2(a4),d1 ; free sectors
;;; mulu d2,d1
;;; swap d1
;;; mulu ddf_agood+2(a4),d2 ; good sectors
;;; move.w d2,d1
;;; rts
;;;ioi_sallc
move.l ddf_afree+2(a4),d1 ; free allocation units
move.w ddf_agood+2(a4),d1 ; good allocation units
rts
dv3_xinf
io_xinf
ioi.reg reg d1/a0/d3/a5
movem.l ioi.reg,-(sp)
jsr ddf_rsinfo(a4) ; set occupancy information
lea ioi.blkl(a1),a0 ; pre-fill information block
moveq #(ioi.blkl-ioi_remv)/4-1,d1
moveq #-1,d3
ioi_pre
move.l d3,-(a0)
dbra d1,ioi_pre
assert ioi.blkl-ioi_remv,$10
move.b ddf_remv(a4),(a0)
assert ddf_density,ddf_stype+1,ddf_ftype+2
assert ioi_remv,ioi_dens+2,ioi_styp+3,ioi_ftyp+4
move.l ddf_ftype(a4),-(a0) ; set flags
move.b ddl_mtype(a3),ioi_mtyp-ioi_ftyp(a0)
assert ddf_fhlen,ddf_afree+4,ddf_agood+$8
assert ioi_hdrl,ioi_free+4,ioi_totl+8,ioi_allc+$a
lea ddf_fhlen(a4),a2 ; set header, free, total and allc
move.l (a2),-(a0)
move.l -(a2),-(a0)
move.l -(a2),-(a0)
move.w ddf_asize-ddf_agood(a2),-(a0)
assert ioi_dnum,ioi_rdon-1,ioi_allc-2
move.b ddf_wprot(a4),-(a0) ; set read only
move.b ddf_dnum(a4),-(a0) ; set drive number
assert ioi_dnam,ioi_dnum-6
clr.l -(a0) ; null the drive name
lea ddl_dname(a3),a2
move.w (a2)+,-(a0) ; name length
move.w (a0)+,d3
ioi_cdnm
move.b (a2)+,(a0)+ ; copy drive name
subq.w #1,d3
bgt.s ioi_cdnm
lea ioi_dnam(a1),a0 ; set medium name to zeros
assert ioi_dnam-(ioi_name+2),20 ; max number of characters
moveq #ddf.mnlen/2,d3 ; clear name + len word
ioi_clr clr.w -(a0)
dbf d3,ioi_clr ; a2 = ioi_dnam afterwards
lea ddf_mname(a4),a2 ; medium (not device) name
move.w (a2)+,d1 ; length
move.w d1,(a0)+
bra.s ioi_lp
ioi_cpy move.b (a2)+,(a0)+ ; copy name accross
ioi_lp dbf d1,ioi_cpy
movem.l (sp)+,ioi.reg ; restore regs
rts
; set/read date
io_date
tst.b d2 ; update date?
beq.s iodt_upd ; ... yes
cmp.b #2,d2 ; backup date?
bne.l io_ipar ; ... no
moveq #d3c_arcd-$7f,d4 ; archive date
moveq #d3c..bst,d3 ; backup date set flag
moveq #ddf..arcd,d2
bra.s iodt_sr
iodt_upd
moveq #d3c_updd-$7f,d4 ; update date
moveq #d3c..ust,d3 ; date set flag
moveq #ddf..updd,d2
iodt_sr
tst.l d1 ; current time?
bne.s iodt_sr1 ; ... no, read or set
jsr dv3_date ; present date
iodt_sr1
moveq #1,d0
add.l d1,d0 ; read?
bne.s iodt_set ; ... no
move.l $7f(a0,d4.w),d1 ; read date
;;; tst.b ddf_dosd(a4) ; DOS date?
;;; beq.s iodt_rts
;;; jsr cv_dosrt ; convert from DOS
iodt_rts
rts ; d0 already zero
iodt_set
assert d3c..bst,0
tst.b d3 ; backup date?
beq.s iodt_sbd
tst.b d3c_ro(a0) ; read only?
bgt.s iodv_ro ; ... yes
bra.s iodt_sd ;
iodt_sbd
tst.b ddf_wprot(a4) ; write protected medium?
bne.s iodv_ro
iodt_sd
move.l d1,-(sp)
;;; tst.b ddf_dosd(a4) ; dos date?
;;; beq.s iodt_sd1 ; ... no
;;; jsr cv_rtdos ; convert to DOS
iodt_sd1
move.l d1,$7f(a0,d4.w) ; set date
move.l (sp)+,d1
iodv_set
bset d2,d3c_setmask+3(a0) ; add to mask of info to set
bset d3,d3c_usef(a0) ; add to date set
iodv_done
moveq #0,d0
rts
iodv_ro
moveq #err.rdo,d0
rts
; set / read version
io_vers
moveq #ddf..vers,d2 ; version flags
moveq #d3c..vst,d3
tst.l d1 ; read?
blt.s iov_read ; ... yes
beq.s iov_pres ; ... no, preserve
tst.b d3c_ro(a3) ; read only?
bgt.s iodv_ro ; ... yes
move.w d1,d3c_vers(a0) ; set version
bra.s iodv_set ; and say set
iov_pres
tst.b d3c_ro(a3) ; read only?
bpl.s iov_read ; ... yes, version will not be updated
bset d3,d3c_usef(a0) ; ... do not update version on close
iov_read
moveq #0,d1
move.w d3c_vers(a0),d1
bra.s iodv_done
; do header
io_shdr
moveq #hdrt.dir+$ffffff00,d0
cmp.b hdr_type(a1),d0 ; set directory?
beq.l io_ipar ; ... yes, cannot set
cmp.b d3c_type(a0),d0 ; already directory?
beq.l io_ipar ; ... yes, cannot set
bsr.l dv3_ckro ; read only?
addq.l #hdr_accs,a1 ; skip length
move.w (a1)+,d3c_dsattr(a0) ; set attributes
move.l (a1)+,d3c_data(a0)
move.l (a1)+,d3c_xtra(a0)
or.b #1<<ddf..data+1<<ddf..xtra+1<<ddf..type+1<<ddf..dsattr,d3c_setmask+3(a0)
moveq #14,d1 ; we have set this much
bra.s iodv_done
io_rhdr
move.l d3c_feof(a0),d0
sub.l ddf_fhlen(a4),d0 ; file length
dv3_rhdr
cmp.w #hdr.len,d2 ; whole header?
bhs.s iorh_all ; ... yes
move.l a1,-(sp) ; no, put header in formatted entry
st d3c_fenum(a0)
lea d3c_fentry(a0),a1
bsr.s iorh_read ; all of it
move.l (sp)+,a1 ; and copy what we need
lea d3c_fentry(a0),a2
bra.s iorh_cend
iorh_cloop
move.b (a2)+,(a1)+ ; copy byte
iorh_cend
dbra d2,iorh_cloop
moveq #0,d0
rts ; D0 and D1 set by iorh_read
iorh_all
moveq #hdr.len,d2
iorh_read
move.l d0,(a1)+ ; set length
assert hdr_accs,hdr_type-1
assert d3c_dsattr,d3c_type-1
move.w d3c_dsattr(a0),(a1)+ ; access (attributes) and type
assert hdr_accs,hdr_data-2
move.l d3c_data(a0),(a1)+ ; data and extra
move.l d3c_xtra(a0),(a1)+
lea d3c_name(a0),a2
moveq #d3c.qnml,d0 ; expected max name length
move.w (a2)+,d3 ; name length
cmp.w d0,d3
ble.s iorh_nlen
move.l d0,d3 ; truncate
iorh_nlen
move.w d3,(a1)+ ; name length
sub.w d3,d0 ; ... and blank
moveq #0,d1
lea dv3_iqdt,a5
bra.s iorh_nme
iorh_name
move.b (a2)+,d1
move.b (a5,d1.w),(a1)+ ; copy name
iorh_nme
dbra d3,iorh_name
bra.s iorh_cle
iorh_clr
sf (a1)+ ; clear the end
iorh_cle
dbra d0,iorh_clr
;;; tst.b ddf_dosd(a4) ; DOS dates?
;;; bne.s iorh_dos
move.l d3c_updd(a0),(a1)+ ; update date
move.w d3c_vers(a0),(a1)+ ; version
move.w d3c_flid+2(a0),(a1)+ ; file ID (lsw only)
move.l d3c_arcd(a0),(a1)+ ; backup date
;;; bra.s iorh_done
;;;iorh_dos
;;; move.l d3c_updd(a0),d1
;;; jsr cv_dosrt
;;; move.l d1,(a1)+ ; update date
;;; move.w d3c_vers(a0),(a1)+ ; version
;;; move.w d3c_flid+2(a0),(a1)+ ; file ID (lsw only)
;;; move.l d3c_arcd(a0),d1
;;; jsr cv_dosrt
;;; move.l d1,(a1)+ ; backup date
;;;iorh_done
;;; move.w d2,d1
moveq #0,d0
rts
; scatter load and save
io_load
jmp ddf_sload(a4)
io_save
jmp ddf_ssave(a4)
; truncate
io_trnc
bsr.l dv3_ckro ; check read only
move.l d3c_fpos(a0),d3c_feof(a0)
move.l d3c_fsect(a0),d5 ; truncation position
jsr dv3_sbtr ; slave block truncate
assert d3c_dgroup,d3c_fgroup-4
movem.l d3c_dgroup(a0),d0/d1 ; current drive and file group
moveq #0,d2
divu ddf_asect(a4),d5
move.w d5,d2 ; truncate from here
addq.l #1,d2 ; keeping this group
bgt.s iot_do ; ... not to zero
tst.b ddf_zalloc(a4) ; zero allocation?
beq.s iot_do ; ... no
addq.l #1,d2 ; ... yes, do not scrub first
iot_do
jmp ddf_strunc(a4) ; truncate sectors on medium
; check pending operations
io_chek
jmp ddl_status(a3) ; check all pending operations
;+++
; Flush buffers and make safe
; If updated sets length (if changed) / update date (d3=0) / version (once)
;+++
io_flsh
tst.b d3c_updt(a0) ; file updated?
bge.s io_rtok ; ... no
;+++
; Flush buffers and make safe
; Sets length (if changed) / update date (d3=0) / version (once)
;+++
dv3_flsh
move.l d3c_feof(a0),d0 ; current file length
cmp.l d3c_flen(a0),d0 ; is is changed?
beq.s iofl_date
move.l d0,d3c_flen(a0)
bset #ddf..flen,d3c_setmask(a0) ; it is now
iofl_date
tst.w d3 ; set date only on first entry
bne.s iofl_ver
btst #d3c..ust,d3c_usef(a0) ; update date fixed?
bne.s iofl_ver
jsr dv3_date
;;; tst.b ddf_dosd(a4) ; DOS date?
;;; beq.s iofl_sd ; ... no
;;; jsr cv_rtdos ; ... yes, convert it
;;;iofl_sd
move.l d1,d3c_updd(a0) ; set update
bset #ddf..updd,d3c_setmask(a0)
iofl_ver
bset #d3c..vst,d3c_usef(a0) ; version updated?
bne.s iofl_do
addq.w #1,d3c_vers(a0)
bset #ddf..vers,d3c_setmask(a0)
iofl_do
bsr.s dv3_flhdr ; flush header information
bne.s iofl_rts
move.w d3,d0 ; set urgent flush flag
jsr ddl_fflush(a3) ; and do flush
sne d3c_updt(a0) ; flush complete?
iofl_rts
rts
dv3_flhdr
move.l d3c_setmask(a0),d1 ; mask of bits to set
beq.s iofl_rts
lea d3c_dren(a0),a1
jsr ddf_drsfile(a4) ; update directory entry
bne.s iofl_rts
clr.l d3c_setmask(a0)
rts
; OK return
io_rtok
moveq #0,d0
rts
page
; fetch multiple bytes
io_fmul
ext.l d2 ; call buffer length is a word
jmp dv3_fmul
; do fetch line
io_flin
ext.l d2 ; call buffer length is a word
jmp dv3_flin
; send multiple bytes
io_smul
ext.l d2 ; call argument is word
jmp dv3_smul ; do send
;+++
; check read only status (and set d3c_updt if OK)
;
; smashes d0/a2
; returns err.rdo at 4(sp) if d0 set to ERR.RDO
;
;---
dv3_ckro
assert d3c.ro,1
assert d3c.updt,-1
tst.b d3c_ro(a0) ; read only?
bgt.s dv3_rdo4
st d3c_updt(a0) ; set file updated
rts
dv3_rdo4
addq.l #4,sp ; remove return
moveq #err.rdo,d0
rts
end
| 22.516605 | 79 | 0.657653 |
6efe9a95ccfa3bffd477127d2f888b7c11102458 | 1,524 | asm | Assembly | tests/exec/jmp_far16/jmp_far16.asm | ykskb/dax86 | d7c90afb4a306f04bd840da2b32faedec01bef93 | [
"MIT"
] | 12 | 2020-09-17T13:33:24.000Z | 2022-03-13T21:48:52.000Z | tests/exec/jmp_far16/jmp_far16.asm | ykusakabe/dax86 | d7c90afb4a306f04bd840da2b32faedec01bef93 | [
"MIT"
] | 2 | 2020-07-03T03:12:01.000Z | 2021-06-11T00:31:19.000Z | tests/exec/jmp_far16/jmp_far16.asm | ykusakabe/dax86 | d7c90afb4a306f04bd840da2b32faedec01bef93 | [
"MIT"
] | 5 | 2020-07-04T16:59:29.000Z | 2021-11-26T17:14:07.000Z | BITS 16
org 0x7c00
; jmp
; EB: jmp rel8 short, displacement relative to next instruction
; E9: jmp rel8/16 near, displacement relative to next instruction
; FF/4: jmp r/m16/32 near, absolute
; EA: jmp ptr16/32 far, absolute from operand
; FF/5: jmp m16/32 far, absolute indirect
; near: within current code segment
; far in real mode: code seg + offset (ptr16:16/32 or m16:16/32)
; (far address is loaded directly into CS & EIP)
; absolute: absoslute offset from current from base of CS
; usually register or r/m16/32
; relative: signed offset from currrent EIP
; usually a label in asm -> signed value after linking
; direct: address in operand
; indirect: memory location of 4/6 byte far address (m16:16/32)
; not sure SEG:OFFSET or OFFSET:SEG on memory ;
; push SEG -> push OFFSET &
; pop EIP -> pop SEG according to far return instruction (CB)
jmp [NEAR_ADDR1]
jmp 0x1234:0x5678 ; Will be skipped.
push cs ; Address: 7C0D
jmp 0x7C1:0x4 ; EA 04 00 00 00 7C 00 ; 0x7C00 + 0xE = 0x7C0E
jmp 0x2345:0x6789 ; EA jmp ptr16:16/32 ; EA BC 9A 78 56 34 12 ; Will be skipped.
push cs ; ADDRESS: 0x7C14
jmp far [FAR_ADDR1] ; FF 2D (same as [0x7C25]) ; FF 2D (0010 1011) 23 7C 00 00 ;
push cs ; Will be skipped.
jmp 0x3456:0x789A ; Will be skipped.
push cs ; ADDRESS: 0x7C2B
jmp 0:0
FAR_ADDR1:
dw 0x7C0 ; Seg
dw 0x1F ; Offset
NEAR_ADDR1:
dd 0x7C09 | 33.130435 | 84 | 0.637139 |
0ef2281c04014458e1401e639af21863d3b4c04c | 89 | asm | Assembly | src/main/fragment/mos6502-common/_deref_pwuz1=_deref_pwuz1_minus_vwuc1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/_deref_pwuz1=_deref_pwuz1_minus_vwuc1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/_deref_pwuz1=_deref_pwuz1_minus_vwuc1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | ldy #0
lda ({z1}),y
sec
sbc #<{c1}
sta ({z1}),y
iny
lda ({z1}),y
sbc #>{c1}
sta ({z1}),y
| 8.9 | 12 | 0.494382 |
7222524346c681e63a3b1be9fafc03217d70d731 | 204 | asm | Assembly | dos/11.asm | zrsharp/assembly | e9d68311e7a37b7fec042b8f7de3ed9b537996b8 | [
"MIT"
] | null | null | null | dos/11.asm | zrsharp/assembly | e9d68311e7a37b7fec042b8f7de3ed9b537996b8 | [
"MIT"
] | null | null | null | dos/11.asm | zrsharp/assembly | e9d68311e7a37b7fec042b8f7de3ed9b537996b8 | [
"MIT"
] | null | null | null | data segment
array db 1h,2h,3h,4h
data ends
code segment
assume cs:code
assume ds:data
start:
mov al,array
mov cx,03h
mov ax,0
mov bx,0
int 21h
code ends
end start
| 11.333333 | 24 | 0.617647 |
56dac3a568d91006ec343bf6e3cedfa24bb33142 | 2,725 | asm | Assembly | data/maps/special_warps.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/maps/special_warps.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/maps/special_warps.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | ; Format: (size 2 bytes)
; 00: target map ID
; 01: which dungeon warp in the source map was used
DungeonWarpList:
db SEAFOAM_ISLANDS_B1F, 1
db SEAFOAM_ISLANDS_B1F, 2
db SEAFOAM_ISLANDS_B2F, 1
db SEAFOAM_ISLANDS_B2F, 2
db SEAFOAM_ISLANDS_B3F, 1
db SEAFOAM_ISLANDS_B3F, 2
db SEAFOAM_ISLANDS_B4F, 1
db SEAFOAM_ISLANDS_B4F, 2
db VICTORY_ROAD_2F, 2
db POKEMON_MANSION_1F, 1
db POKEMON_MANSION_1F, 2
db POKEMON_MANSION_2F, 3
db -1 ; end
fly_warp: MACRO
event_displacement \1_WIDTH, \2, \3
db ((\3) & $01) ;sub-block Y
db ((\2) & $01) ;sub-block X
ENDM
DungeonWarpData:
fly_warp SEAFOAM_ISLANDS_B1F, 18, 7
fly_warp SEAFOAM_ISLANDS_B1F, 23, 7
fly_warp SEAFOAM_ISLANDS_B2F, 19, 7
fly_warp SEAFOAM_ISLANDS_B2F, 22, 7
fly_warp SEAFOAM_ISLANDS_B3F, 18, 7
fly_warp SEAFOAM_ISLANDS_B3F, 19, 7
fly_warp SEAFOAM_ISLANDS_B4F, 4, 14
fly_warp SEAFOAM_ISLANDS_B4F, 5, 14
fly_warp VICTORY_ROAD_2F, 22, 16
fly_warp POKEMON_MANSION_1F, 16, 14
fly_warp POKEMON_MANSION_1F, 16, 14
fly_warp POKEMON_MANSION_2F, 18, 14
special_warp_spec: MACRO
db \1
fly_warp \1, \2, \3
db \4
ENDM
FirstMapSpec:
special_warp_spec REDS_HOUSE_2F, 3, 6, REDS_HOUSE_2
TradeCenterSpec1:
special_warp_spec TRADE_CENTER, 3, 4, CLUB
TradeCenterSpec2:
special_warp_spec TRADE_CENTER, 6, 4, CLUB
ColosseumSpec1:
special_warp_spec COLOSSEUM, 3, 4, CLUB
ColosseumSpec2:
special_warp_spec COLOSSEUM, 6, 4, CLUB
fly_warp_spec: MACRO
db \1, 0
dw \2
ENDM
FlyWarpDataPtr:
fly_warp_spec PALLET_TOWN, .PalletTown
fly_warp_spec VIRIDIAN_CITY, .ViridianCity
fly_warp_spec PEWTER_CITY, .PewterCity
fly_warp_spec CERULEAN_CITY, .CeruleanCity
fly_warp_spec LAVENDER_TOWN, .LavenderTown
fly_warp_spec VERMILION_CITY, .VermilionCity
fly_warp_spec CELADON_CITY, .CeladonCity
fly_warp_spec FUCHSIA_CITY, .FuchsiaCity
fly_warp_spec CINNABAR_ISLAND, .CinnabarIsland
fly_warp_spec INDIGO_PLATEAU, .IndigoPlateau
fly_warp_spec SAFFRON_CITY, .SaffronCity
fly_warp_spec ROUTE_4, .Route4
fly_warp_spec ROUTE_10, .Route10
.PalletTown: fly_warp PALLET_TOWN, 5, 6
.ViridianCity: fly_warp VIRIDIAN_CITY, 23, 26
.PewterCity: fly_warp PEWTER_CITY, 13, 26
.CeruleanCity: fly_warp CERULEAN_CITY, 19, 18
.LavenderTown: fly_warp LAVENDER_TOWN, 3, 6
.VermilionCity: fly_warp VERMILION_CITY, 11, 4
.CeladonCity: fly_warp CELADON_CITY, 41, 10
.FuchsiaCity: fly_warp FUCHSIA_CITY, 19, 28
.CinnabarIsland: fly_warp CINNABAR_ISLAND, 11, 12
.IndigoPlateau: fly_warp INDIGO_PLATEAU, 9, 6
.SaffronCity: fly_warp SAFFRON_CITY, 9, 30
.Route4: fly_warp ROUTE_4, 11, 6
.Route10: fly_warp ROUTE_10, 11, 20
| 29.619565 | 52 | 0.747156 |
e0a5cee23c7b6332d83f7d4531b27be5bead7d15 | 18,304 | asm | Assembly | v2.0/source/msdos/misc.asm | neozeed/MS-DOS | 1cb8b96cd347b7eb150922eeb4924ec92911dc31 | [
"MIT"
] | 7 | 2018-09-29T16:03:48.000Z | 2021-04-06T20:08:57.000Z | v2.0/source/msdos/misc.asm | neozeed/MS-DOS | 1cb8b96cd347b7eb150922eeb4924ec92911dc31 | [
"MIT"
] | null | null | null | v2.0/source/msdos/misc.asm | neozeed/MS-DOS | 1cb8b96cd347b7eb150922eeb4924ec92911dc31 | [
"MIT"
] | null | null | null | TITLE MISC - Miscellanious routines for MS-DOS
NAME MISC
;
; Miscellaneous system calls most of which are CAVEAT
;
; $SLEAZEFUNC
; $SLEAZEFUNCDL
; $GET_INDOS_FLAG
; $GET_IN_VARS
; $GET_DEFAULT_DPB
; $GET_DPB
; $DISK_RESET
; $SETDPB
; $Dup_PDB
; $CREATE_PROCESS_DATA_BLOCK
; SETMEM
;
.xlist
;
; get the appropriate segment definitions
;
INCLUDE DOSSEG.ASM
CODE SEGMENT BYTE PUBLIC 'CODE'
ASSUME SS:DOSGROUP,CS:DOSGROUP
.xcref
INCLUDE DOSSYM.ASM
INCLUDE DEVSYM.ASM
.cref
.list
ifndef Kanji
Kanji equ 0
endif
ENTRYPOINTSEG EQU 0CH
MAXDIF EQU 0FFFH
SAVEXIT EQU 10
i_need LASTBUFFER,DWORD
i_need INDOS,BYTE
i_need SYSINITVAR,BYTE
i_need CurrentPDB,WORD
i_need CreatePDB,BYTE
i_need EXIT_TYPE,BYTE
i_need EXIT_CODE,WORD
i_need LASTENT,WORD
i_need THISDPB,DWORD
i_need ATTRIB,BYTE
i_need EXTFCB,BYTE
i_need DMAADD,DWORD
i_need DIRSTART,WORD
i_need CURBUF,DWORD
i_need USER_SP,WORD
i_need ENTLAST,WORD
i_need THISDRV,BYTE
ASSUME SS:DOSGROUP
BREAK <SleazeFunc -- get a pointer to media byte>
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
procedure $SLEAZEFUNC,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; None
; Function:
; Return Stuff sort of like old get fat call
; Outputs:
; DS:BX = Points to FAT ID byte (IBM only)
; GOD help anyone who tries to do ANYTHING except
; READ this ONE byte.
; DX = Total Number of allocation units on disk
; CX = Sector size
; AL = Sectors per allocation unit
; = -1 if bad drive specified
MOV DL,0
entry $SLEAZEFUNCDL
PUSH SS
POP DS
ASSUME DS:DOSGROUP
MOV AL,DL
invoke GETTHISDRV
MOV AL,-1
JC BADSLDRIVE
invoke FATREAD
MOV DX,ES:[BP.dpb_max_cluster]
DEC DX
MOV AL,ES:[BP.dpb_cluster_mask]
INC AL
MOV CX,ES:[BP.dpb_sector_size]
ADD BP,dpb_media
BADSLDRIVE:
invoke get_user_stack
ASSUME DS:NOTHING
MOV [SI.user_CX],CX
MOV [SI.user_DX],DX
MOV [SI.user_BX],BP
MOV [SI.user_DS],ES
return
$SLEAZEFUNC ENDP
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
BREAK <$ABORT -- Terminate a process>
procedure $ABORT,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; CS:00 must point to valid program header block
; Function:
; Restore terminate and Cntrl-C addresses, flush buffers
; and transfer to the terminate address
; Returns:
; TO THE TERMINATE ADDRESS
XOR AL,AL
MOV [exit_type],exit_abort
;
; abort_inner must have AL set as the exit code!
;
entry abort_inner
MOV AH,[exit_type]
MOV [exit_code],AX
invoke Get_user_stack
MOV DS,[SI.user_CS] ; set up old interrupts
XOR AX,AX
MOV ES,AX
MOV SI,SAVEXIT
MOV DI,addr_int_terminate
MOVSW
MOVSW
MOVSW
MOVSW
MOVSW
MOVSW
transfer reset_environment
$ABORT ENDP
BREAK <$Dir_Search_First -- Start a directory search>
procedure $DIR_SEARCH_FIRST,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; DS:DX Points to unopenned FCB
; Function:
; Directory is searched for first matching entry and the directory
; entry is loaded at the disk transfer address
; Returns:
; AL = -1 if no entries matched, otherwise 0
invoke GETFILE
ASSUME DS:DOSGROUP
SAVPLCE:
; Search-for-next enters here to save place and report
; findings.
MOV DL,0 ; Do not XOR!!!
JC KILLSRCH
OR AH,AH ; Is it I/O device?
JS KILLIT ; If so, sign bit will end search
MOV AX,[LASTENT]
INC DL
KILLIT:
MOV ES:[DI.FILDIRENT],AX
MOV AX,WORD PTR [THISDPB]
MOV ES:[DI.fcb_DRVBP],AX
MOV AX,WORD PTR [THISDPB+2]
MOV ES:[DI.fcb_DRVBP+2],AX
MOV AX,[DIRSTART]
MOV ES:[DI.fcb_DRVBP+4],AX
; Information in directory entry must be copied into the first
; 33 bytes starting at the disk transfer address.
MOV SI,BX
LES DI,[DMAADD]
MOV AX,00FFH
CMP AL,[EXTFCB]
JNZ NORMFCB
STOSW
INC AL
STOSW
STOSW
MOV AL,[ATTRIB]
STOSB
NORMFCB:
MOV AL,[THISDRV]
INC AL
STOSB ; Set drive number
OR DL,DL
JZ DOSRELATIVE
MOV DS,WORD PTR [CURBUF+2]
ASSUME DS:NOTHING
DOSRELATIVE:
IF KANJI
MOVSW
CMP BYTE PTR ES:[DI-2],5
JNZ NOTKTRAN
MOV BYTE PTR ES:[DI-2],0E5H
NOTKTRAN:
MOV CX,15
ELSE
MOV CX,16
ENDIF
REP MOVSW ; Copy 32 bytes of directory entry
XOR AL,AL
return
ASSUME DS:NOTHING
KILLSRCH1:
PUSH DS
POP ES ; Make ES:DI point to the FCB
KILLSRCH:
MOV AX,-1
MOV WORD PTR ES:[DI.FILDIRENT],AX
return
$DIR_SEARCH_FIRST ENDP
BREAK <$Dir_Search_Next -- Find next matching directory entry>
procedure $DIR_SEARCH_NEXT,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; DS:DX points to unopenned FCB returned by $DIR_SEARCH_FIRST
; Function:
; Directory is searched for the next matching entry and the directory
; entry is loaded at the disk transfer address
; Returns:
; AL = -1 if no entries matched, otherwise 0
invoke MOVNAMENOSET
ASSUME ES:DOSGROUP
MOV DI,DX
JC NEAR PTR KILLSRCH1
MOV AX,[DI.FILDIRENT]
LES BP,DWORD PTR [DI.fcb_DRVBP]
OR AX,AX
JS NEAR PTR KILLSRCH1
MOV BX,[DI.fcb_DRVBP+4]
PUSH DX
PUSH DS
PUSH AX
MOV WORD PTR [THISDPB],BP
MOV WORD PTR [THISDPB+2],ES
invoke SetDirSrch
ASSUME DS:DOSGROUP
POP AX
MOV [ENTLAST],-1
invoke GetEnt
invoke NextEnt
POP ES
ASSUME ES:NOTHING
POP DI
JMP SAVPLCE
$DIR_SEARCH_NEXT ENDP
BREAK <$Get_FCB_File_Length -- Return size of file in current records>
procedure $GET_FCB_FILE_LENGTH,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; DS:DX points to unopenned FCB
; Function:
; Set random record field to size of file
; Returns:
; AL = -1 if no entries matched, otherwise 0
invoke GETFILE
ASSUME DS:DOSGROUP
MOV AL,-1
retc
ADD DI,fcb_RR ; Write size in RR field
MOV CX,WORD PTR ES:[DI.fcb_RECSIZ-fcb_RR]
OR CX,CX
JNZ RECOK
MOV CX,128
RECOK:
XOR DX,DX ; Intialize size to zero
INC SI
INC SI ; Point to length field
MOV DS,WORD PTR [CURBUF+2]
ASSUME DS:NOTHING
MOV AX,[SI+2] ; Get high word of size
DIV CX
PUSH AX ; Save high part of result
LODSW ; Get low word of size
DIV CX
OR DX,DX ; Check for zero remainder
POP DX
JZ DEVSIZ
INC AX ; Round up for partial record
JNZ DEVSIZ ; Propagate carry?
INC DX
DEVSIZ:
STOSW
MOV AX,DX
STOSB
MOV AL,0
CMP CX,64
JAE RET14 ; Only 3-byte field if fcb_RECSIZ >= 64
MOV ES:[DI],AH
RET14: return
$GET_FCB_FILE_LENGTH ENDP
BREAK <$Get_Fcb_Position -- Set random record field to current position>
procedure $GET_FCB_POSITION,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; DS:DX points to openned FCB
; Function:
; Sets random record field to be same as current record fields
; Returns:
; None
invoke GETREC
MOV WORD PTR [DI+fcb_RR],AX
MOV [DI+fcb_RR+2],DL
CMP [DI.fcb_RECSIZ],64
JAE RET16
MOV [DI+fcb_RR+2+1],DH ; Set 4th byte only if record size < 64
RET16: return
$GET_FCB_POSITION ENDP
BREAK <$Disk_Reset -- Flush out all dirty buffers>
procedure $DISK_RESET,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; None
; Function:
; Flush and invalidate all buffers
; Returns:
; Nothing
PUSH SS
POP DS
ASSUME DS:DOSGROUP
MOV AL,-1
invoke FLUSHBUF
MOV WORD PTR [LASTBUFFER+2],-1
MOV WORD PTR [LASTBUFFER],-1
invoke SETVISIT
ASSUME DS:NOTHING
NBFFR: ; Free ALL buffers
MOV [DI.VISIT],1 ; Mark as visited
CMP BYTE PTR [DI.BUFDRV],-1
JZ SKPBF ; Save a call to PLACEBUF
MOV WORD PTR [DI.BUFDRV],00FFH
invoke SCANPLACE
SKPBF:
invoke SKIPVISIT
JNZ NBFFR
return
$DISK_RESET ENDP
procedure $RAW_CON_IO,NEAR ; System call 6
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; DL = -1 if input
; else DL is output character
; Function:
; Input or output raw character from console, no echo
; Returns:
; AL = character
MOV AL,DL
CMP AL,-1
JNZ RAWOUT
LES DI,DWORD PTR [user_SP] ; Get pointer to register save area
XOR BX,BX
invoke GET_IO_FCB
retc
MOV AH,1
invoke IOFUNC
JNZ RESFLG
invoke SPOOLINT
OR BYTE PTR ES:[DI.user_F],40H ; Set user's zero flag
XOR AL,AL
return
RESFLG:
AND BYTE PTR ES:[DI.user_F],0FFH-40H ; Reset user's zero flag
RILP:
invoke SPOOLINT
entry $RAW_CON_INPUT ; System call 7
; Inputs:
; None
; Function:
; Input raw character from console, no echo
; Returns:
; AL = character
XOR BX,BX
invoke GET_IO_FCB
retc
MOV AH,1
invoke IOFUNC
JZ RILP
XOR AH,AH
invoke IOFUNC
return
;
; Output the character in AL to stdout
;
entry RAWOUT
PUSH BX
MOV BX,1
invoke GET_IO_FCB
JC RAWRET1
TEST [SI.fcb_DEVID],080H ; output to file?
JZ RAWNORM ; if so, do normally
PUSH DS
PUSH SI
LDS SI,DWORD PTR [SI.fcb_FIRCLUS] ; output to special?
TEST BYTE PTR [SI+SDEVATT],ISSPEC
POP SI
POP DS
JZ RAWNORM ; if not, do normally
INT int_fastcon ; quickly output the char
JMP SHORT RAWRET
RAWNORM:
CALL RAWOUT3
RAWRET: CLC
RAWRET1:
POP BX
return
;
; Output the character in AL to handle in BX
;
entry RAWOUT2
invoke GET_IO_FCB
retc
RAWOUT3:
PUSH AX
JMP SHORT RAWOSTRT
ROLP:
invoke SPOOLINT
RAWOSTRT:
MOV AH,3
CALL IOFUNC
JZ ROLP
POP AX
MOV AH,2
CALL IOFUNC
CLC ; Clear carry indicating successful
return
$RAW_CON_IO ENDP
ASSUME DS:NOTHING,ES:NOTHING
; This routine is called at DOS init
procedure OUTMES,NEAR ; String output for internal messages
LODS CS:BYTE PTR [SI]
CMP AL,"$"
retz
invoke OUT
JMP SHORT OUTMES
return
OutMes ENDP
ASSUME SS:DOSGROUP
BREAK <$Parse_File_Descriptor -- Parse an arbitrary string into an FCB>
procedure $PARSE_FILE_DESCRIPTOR,NEAR
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; DS:SI Points to a command line
; ES:DI Points to an empty FCB
; Bit 0 of AL = 1 At most one leading separator scanned off
; = 0 Parse stops if separator encountered
; Bit 1 of AL = 1 If drive field blank in command line - leave FCB
; = 0 " " " " " " - put 0 in FCB
; Bit 2 of AL = 1 If filename field blank - leave FCB
; = 0 " " " - put blanks in FCB
; Bit 3 of AL = 1 If extension field blank - leave FCB
; = 0 " " " - put blanks in FCB
; Function:
; Parse command line into FCB
; Returns:
; AL = 1 if '*' or '?' in filename or extension, 0 otherwise
; DS:SI points to first character after filename
invoke MAKEFCB
PUSH SI
invoke get_user_stack
POP [SI.user_SI]
return
$PARSE_FILE_DESCRIPTOR ENDP
BREAK <$Create_Process_Data_Block,SetMem -- Set up process data block>
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
procedure $Dup_PDB,NEAR
ASSUME DS:NOTHING,ES:NOTHING
MOV BYTE PTR [CreatePDB], 0FFH ; indicate a new process
$Dup_PDB ENDP
procedure $CREATE_PROCESS_DATA_BLOCK,NEAR
ASSUME DS:NOTHING,ES:NOTHING,SS:NOTHING
; Inputs:
; DX = Segment number of new base
; Function:
; Set up program base and copy term and ^C from int area
; Returns:
; None
; Called at DOS init
MOV ES,DX
TEST BYTE PTR [CreatePDB],0FFh
JZ create_PDB_old
MOV DS,[CurrentPDB]
JMP SHORT Create_copy
Create_PDB_old:
invoke get_user_stack
MOV DS,[SI.user_CS]
Create_copy:
XOR SI,SI ; copy all 80h bytes
MOV DI,SI
MOV CX,80H
REP MOVSW
TEST BYTE PTR [CreatePDB],0FFh ; Shall we create a process?
JZ Create_PDB_cont ; nope, old style call
;
; Here we set up for a new process...
;
PUSH CS
POP DS
ASSUME DS:DOSGROUP
XOR BX,BX ; dup all jfns
MOV CX,FilPerProc
Create_dup_jfn:
PUSH ES ; save new PDB
invoke get_jfn_pointer ; ES:DI is jfn
JC create_skip ; not a valid jfn
PUSH ES ; save him
PUSH DI
invoke get_sf_from_jfn ; get sf pointer
JC create_no_inc
INC ES:[DI].sf_ref_count ; new fh
create_no_inc:
POP DI
POP ES ; get old jfn
MOV AL,ES:[DI] ; get sfn
POP ES
PUSH ES
MOV AL,ES:[BX] ; copy into new place!
create_skip:
POP ES
INC BX ; next jfn...
LOOP create_dup_jfn
PUSH [CurrentPDB] ; get current process
POP BX
PUSH BX
POP ES:[PDB_Parent_PID] ; stash in child
MOV [CurrentPDB],ES
ASSUME DS:NOTHING
MOV DS,BX
;
; end of new process create
;
Create_PDB_cont:
MOV BYTE PTR [CreatePDB],0h ; reset flag
MOV AX,DS:[2] ; set up size for fall through
entry SETMEM
ASSUME DS:NOTHING,ES:NOTHING,SS:NOTHING
; Inputs:
; AX = Size of memory in paragraphs
; DX = Segment
; Function:
; Completely prepares a program base at the
; specified segment.
; Called at DOS init
; Outputs:
; DS = DX
; ES = DX
; [0] has INT int_abort
; [2] = First unavailable segment ([ENDMEM])
; [5] to [9] form a long call to the entry point
; [10] to [13] have exit address (from int_terminate)
; [14] to [17] have ctrl-C exit address (from int_ctrl_c)
; [18] to [21] have fatal error address (from int_fatal_abort)
; DX,BP unchanged. All other registers destroyed.
XOR CX,CX
MOV DS,CX
MOV ES,DX
MOV SI,addr_int_terminate
MOV DI,SAVEXIT
MOV CX,6
REP MOVSW
MOV ES:[2],AX
SUB AX,DX
CMP AX,MAXDIF
JBE HAVDIF
MOV AX,MAXDIF
HAVDIF:
MOV BX,ENTRYPOINTSEG
SUB BX,AX
MOV CL,4
SHL AX,CL
MOV DS,DX
MOV WORD PTR DS:[PDB_CPM_Call+1],AX
MOV WORD PTR DS:[PDB_CPM_Call+3],BX
MOV DS:[PDB_Exit_Call],(int_abort SHL 8) + mi_INT
MOV BYTE PTR DS:[PDB_CPM_Call],mi_Long_CALL
MOV WORD PTR DS:[PDB_Call_System],(int_command SHL 8) + mi_INT
MOV BYTE PTR DS:[PDB_Call_System+2],mi_Long_RET
return
$CREATE_PROCESS_DATA_BLOCK ENDP
do_ext
CODE ENDS
END
| 28.246914 | 90 | 0.501202 |
cf53cd0786eea3b0a9680d1f5e72858c58c6910a | 1,097 | asm | Assembly | programs/oeis/138/A138999.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/138/A138999.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/138/A138999.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A138999: First differences of Frobenius numbers for 8 successive numbers A138988.
; 1,1,1,1,1,1,10,2,2,2,2,2,2,18,3,3,3,3,3,3,26,4,4,4,4,4,4,34,5,5,5,5,5,5,42,6,6,6,6,6,6,50,7,7,7,7,7,7,58,8,8,8,8,8,8,66,9,9,9,9,9,9,74,10,10,10,10,10,10,82,11,11,11,11,11,11,90,12,12,12,12,12,12,98,13,13,13,13,13,13,106,14,14,14,14,14,14,114,15,15,15,15,15,15,122,16,16,16,16,16,16,130,17,17,17,17,17,17,138,18,18,18,18,18,18,146,19,19,19,19,19,19,154,20,20,20,20,20,20,162,21,21,21,21,21,21,170,22,22,22,22,22,22,178,23,23,23,23,23,23,186,24,24,24,24,24,24,194,25,25,25,25,25,25,202,26,26,26,26,26,26,210,27,27,27,27,27,27,218,28,28,28,28,28,28,226,29,29,29,29,29,29,234,30,30,30,30,30,30,242,31,31,31,31,31,31,250,32,32,32,32,32,32,258,33,33,33,33,33,33,266,34,34,34,34,34,34,274,35,35,35,35,35,35,282,36,36,36,36,36
mov $3,2
mov $8,$0
lpb $3,1
sub $3,1
add $0,$3
sub $0,1
mov $2,$3
mov $4,$0
add $4,3
mov $5,$0
add $5,1
div $5,7
mov $6,3
mul $6,$4
mul $6,$5
mul $6,2
mov $7,$6
lpb $2,1
mov $1,$7
sub $2,1
lpe
lpe
lpb $8,1
sub $1,$7
mov $8,0
lpe
div $1,6
add $1,1
| 34.28125 | 720 | 0.61258 |
91a672c9e4067622706fbbad5d508f91519f9b91 | 212 | asm | Assembly | data/pokemon/dex_entries/ivysaur.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | data/pokemon/dex_entries/ivysaur.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | data/pokemon/dex_entries/ivysaur.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | db "SEED@" ; species name
dw 303, 290 ; height, weight
db "The bulb on its"
next "back grows as it"
next "absorbs nutrients."
page "The bulb gives off"
next "a pleasant aroma"
next "when it blooms.@"
| 19.272727 | 29 | 0.665094 |
573e39e2d102873640acc7f78261f980c92719b3 | 2,105 | asm | Assembly | fox32rom/memory.asm | ry755/fox32 | 5c06c23941e4a1efae0440a6e8cf31d3f0714256 | [
"MIT"
] | 6 | 2022-01-27T06:55:52.000Z | 2022-03-13T22:21:17.000Z | fox32rom/memory.asm | ry755/fox32 | 5c06c23941e4a1efae0440a6e8cf31d3f0714256 | [
"MIT"
] | null | null | null | fox32rom/memory.asm | ry755/fox32 | 5c06c23941e4a1efae0440a6e8cf31d3f0714256 | [
"MIT"
] | null | null | null | ; memory copy/compare routines
; copy specified number of bytes from source pointer to destination pointer
; if the source and destination overlap, the behavior is undefined
; inputs:
; r0: pointer to source
; r1: pointer to destinaton
; r2: number of bytes to copy
; outputs:
; none
copy_memory_bytes:
push r0
push r1
push r31
mov r31, r2
copy_memory_bytes_loop:
mov.8 [r1], [r0]
inc r0
inc r1
loop copy_memory_bytes_loop
pop r31
pop r1
pop r0
ret
; copy specified number of words from source pointer to destination pointer
; if the source and destination overlap, the behavior is undefined
; inputs:
; r0: pointer to source
; r1: pointer to destinaton
; r2: number of words to copy
; outputs:
; none
copy_memory_words:
push r0
push r1
push r31
mov r31, r2
copy_memory_words_loop:
mov [r1], [r0]
add r0, 4
add r1, 4
loop copy_memory_words_loop
pop r31
pop r1
pop r0
ret
; compare specified number of bytes from source pointer with destination pointer
; inputs:
; r0: pointer to source
; r1: pointer to destinaton
; r2: number of bytes to compare
; outputs:
; Z flag
compare_memory_bytes:
push r0
push r1
push r31
mov r31, r2
compare_memory_bytes_loop:
cmp.8 [r1], [r0]
ifnz jmp compare_memory_bytes_not_equal
inc r0
inc r1
loop compare_memory_bytes_loop
; set Z flag if we reach thie point
mov r0, 0
cmp r0, 0
compare_memory_bytes_not_equal:
pop r31
pop r1
pop r0
ret
; compare specified number of words from source pointer with destination pointer
; inputs:
; r0: pointer to source
; r1: pointer to destinaton
; r2: number of words to compare
; outputs:
; Z flag
compare_memory_words:
push r0
push r1
push r31
mov r31, r2
compare_memory_words_loop:
cmp [r1], [r0]
ifnz jmp compare_memory_words_not_equal
add r0, 4
add r1, 4
loop compare_memory_words_loop
; set Z flag if we reach thie point
mov r0, 0
cmp r0, 0
compare_memory_words_not_equal:
pop r31
pop r1
pop r0
ret
| 19.490741 | 80 | 0.690261 |
f8703ca278d2852c7b92c9dfcc2dc6f48ca7a7e0 | 776 | asm | Assembly | programs/oeis/342/A342761.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/342/A342761.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/342/A342761.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A342761: Fold a square sheet of paper alternately vertically to the left and horizontally downwards; after each fold, draw a line along each inward crease; after n folds, the resulting graph has a(n) edges.
; 4,7,10,15,25,43,79,147,283,547,1075,2115,4195,8323,16579,33027,65923,131587,262915,525315,1050115,2099203,4197379,8392707,16783363,33562627,67121155,134234115,268460035,536903683,1073790979
mov $1,$0
mov $0,0
lpb $1
cmp $3,0
add $0,$3
div $1,$0
sub $0,4
div $0,2
trn $1,1
mov $2,$1
mul $2,2
sub $2,$1
add $1,$0
add $1,1
seq $2,211525 ; Number of -1..1 arrays x(i) of n+1 elements i=1..n+1 with set{t,u,v in 0,1}((x[i+t]+x[j+u]+x[k+v])*(-1)^(t+u+v)) having two or four distinct values for every i,j,k<=n.
add $0,$2
div $0,2
lpe
add $0,4
| 33.73913 | 208 | 0.673969 |
5ca128fbf35233e1d2585a9be2ca0f25b973b606 | 3,870 | asm | Assembly | libtool/src/gmp-6.1.2/mpn/x86_64/aorrlsh_n.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | libtool/src/gmp-6.1.2/mpn/x86_64/aorrlsh_n.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | libtool/src/gmp-6.1.2/mpn/x86_64/aorrlsh_n.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | dnl AMD64 mpn_addlsh_n and mpn_rsblsh_n. R = V2^k +- U.
dnl Copyright 2006, 2010-2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published by the Free
dnl Software Foundation; either version 3 of the License, or (at your
dnl option) any later version.
dnl
dnl or
dnl
dnl * the GNU General Public License as published by the Free Software
dnl Foundation; either version 2 of the License, or (at your option) any
dnl later version.
dnl
dnl or both in parallel, as here.
dnl
dnl The GNU MP Library is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dnl for more details.
dnl
dnl You should have received copies of the GNU General Public License and the
dnl GNU Lesser General Public License along with the GNU MP Library. If not,
dnl see https://www.gnu.org/licenses/.
include(`../config.m4')
C cycles/limb
C AMD K8,K9 3.1 < 3.85 for lshift + add_n
C AMD K10 3.1 < 3.85 for lshift + add_n
C Intel P4 14.6 > 7.33 for lshift + add_n
C Intel core2 3.87 > 3.27 for lshift + add_n
C Intel NHM 4 > 3.75 for lshift + add_n
C Intel SBR (5.8) > 3.46 for lshift + add_n
C Intel atom (7.75) < 8.75 for lshift + add_n
C VIA nano 4.7 < 6.25 for lshift + add_n
C This was written quickly and not optimized at all. Surely one could get
C closer to 3 c/l or perhaps even under 3 c/l. Ideas:
C 1) Use indexing to save the 3 LEA
C 2) Write reasonable feed-in code
C 3) Be more clever about register usage
C 4) Unroll more, handling CL negation, carry save/restore cost much now
C 5) Reschedule
C INPUT PARAMETERS
define(`rp', `%rdi')
define(`up', `%rsi')
define(`vp', `%rdx')
define(`n', `%rcx')
define(`cnt', `%r8')
ifdef(`OPERATION_addlsh_n',`
define(ADCSBB, `adc')
define(func, mpn_addlsh_n)
')
ifdef(`OPERATION_rsblsh_n',`
define(ADCSBB, `sbb')
define(func, mpn_rsblsh_n)
')
MULFUNC_PROLOGUE(mpn_addlsh_n mpn_rsblsh_n)
ABI_SUPPORT(DOS64)
ABI_SUPPORT(STD64)
ASM_START()
TEXT
ALIGN(16)
PROLOGUE(func)
FUNC_ENTRY(4)
IFDOS(` mov 56(%rsp), %r8d ')
push %r12
push %r13
push %r14
push %rbp
push %rbx
mov n, %rax
xor R32(%rbx), R32(%rbx) C clear carry save register
mov R32(%r8), R32(%rcx) C shift count
xor R32(%rbp), R32(%rbp) C limb carry
mov R32(%rax), R32(%r11)
and $3, R32(%r11)
je L(4)
sub $1, R32(%r11)
L(012): mov (vp), %r8
mov %r8, %r12
shl R8(%rcx), %r8
or %rbp, %r8
neg R8(%rcx)
mov %r12, %rbp
shr R8(%rcx), %rbp
neg R8(%rcx)
add R32(%rbx), R32(%rbx)
ADCSBB (up), %r8
mov %r8, (rp)
sbb R32(%rbx), R32(%rbx)
lea 8(up), up
lea 8(vp), vp
lea 8(rp), rp
sub $1, R32(%r11)
jnc L(012)
L(4): sub $4, %rax
jc L(end)
ALIGN(16)
L(top): mov (vp), %r8
mov %r8, %r12
mov 8(vp), %r9
mov %r9, %r13
mov 16(vp), %r10
mov %r10, %r14
mov 24(vp), %r11
shl R8(%rcx), %r8
shl R8(%rcx), %r9
shl R8(%rcx), %r10
or %rbp, %r8
mov %r11, %rbp
shl R8(%rcx), %r11
neg R8(%rcx)
shr R8(%rcx), %r12
shr R8(%rcx), %r13
shr R8(%rcx), %r14
shr R8(%rcx), %rbp C used next iteration
or %r12, %r9
or %r13, %r10
or %r14, %r11
neg R8(%rcx)
add R32(%rbx), R32(%rbx) C restore carry flag
ADCSBB (up), %r8
ADCSBB 8(up), %r9
ADCSBB 16(up), %r10
ADCSBB 24(up), %r11
mov %r8, (rp)
mov %r9, 8(rp)
mov %r10, 16(rp)
mov %r11, 24(rp)
sbb R32(%rbx), R32(%rbx) C save carry flag
lea 32(up), up
lea 32(vp), vp
lea 32(rp), rp
sub $4, %rax
jnc L(top)
L(end): add R32(%rbx), R32(%rbx)
ADCSBB $0, %rbp
mov %rbp, %rax
pop %rbx
pop %rbp
pop %r14
pop %r13
pop %r12
FUNC_EXIT()
ret
EPILOGUE()
| 21.864407 | 79 | 0.65969 |
4919313d3b113624add5ae419b3eb4b80f79992e | 708 | asm | Assembly | oeis/164/A164537.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/164/A164537.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/164/A164537.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A164537: a(n) = 8*a(n-1) - 14*a(n-2) for n > 1; a(0) = 5, a(1) = 28.
; Submitted by Jamie Morken(s1)
; 5,28,154,840,4564,24752,134120,726432,3933776,21300160,115328416,624425088,3380802880,18304471808,99104534144,536573667840,2905125864704,15728975567872,85160042437120,461074681546752,2496356858254336,13515809324380160,73177478579480576,396198498094522368,2145103284643450880,11614047303824293888,62880932445586038784,340450797311148195840,1843273324250981023744,9979875431651773448192,54033176913700453253120,292547159266478797750272,1583912797340024036458496,8575642148989489123164160
mov $1,3
mov $2,1
lpb $0
sub $0,1
sub $1,$2
mul $1,7
add $2,$1
sub $1,1
mul $1,2
lpe
add $1,2
mov $0,$1
| 41.647059 | 487 | 0.795198 |
ac8d16e22ce1478ef41a577827ea4a2452b5c34b | 269 | asm | Assembly | examples/a/Assembly.asm | TiagoDanin-Forks/hello-worlds | 217684a506ae980ed4e47f5f8970e62fdbf686eb | [
"Unlicense"
] | 81 | 2017-10-01T14:07:28.000Z | 2021-12-20T15:47:33.000Z | examples/a/Assembly.asm | TiagoDanin-Forks/hello-worlds | 217684a506ae980ed4e47f5f8970e62fdbf686eb | [
"Unlicense"
] | 333 | 2017-10-01T13:37:50.000Z | 2021-05-27T21:48:55.000Z | examples/a/Assembly.asm | TiagoDanin-Forks/hello-worlds | 217684a506ae980ed4e47f5f8970e62fdbf686eb | [
"Unlicense"
] | 739 | 2017-10-01T13:42:46.000Z | 2021-12-24T11:39:49.000Z | segment .text
global _start
section .data
xx db 'Hello world', 0xa
len equ $ - xx
section .text
_start:
mov rax, 0
mov rcx, 0
mov rbx, 0
mov rsi, 0
mov rdx, 0
mov rax, 1
mov edx, len
mov rsi, xx
mov rdi, 1
syscall
mov rax, 60
xor rdi, rdi
syscall
| 8.966667 | 24 | 0.643123 |
5e10bdbde7f8636fb2ed2c4ce6cbd20c6de5d83a | 378 | asm | Assembly | data/mapHeaders/Route18.asm | AmateurPanda92/pokemon-rby-dx | f7ba1cc50b22d93ed176571e074a52d73360da93 | [
"MIT"
] | 9 | 2020-07-12T19:44:21.000Z | 2022-03-03T23:32:40.000Z | data/mapHeaders/Route18.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 7 | 2020-07-16T10:48:52.000Z | 2021-01-28T18:32:02.000Z | data/mapHeaders/Route18.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 2 | 2021-03-28T18:33:43.000Z | 2021-05-06T13:12:09.000Z | Route18_h:
db OVERWORLD ; tileset
db ROUTE_18_HEIGHT, ROUTE_18_WIDTH ; dimensions (y, x)
dw Route18_Blocks ; blocks
dw Route18_TextPointers ; texts
dw Route18_Script ; scripts
db NORTH | EAST ; connections
NORTH_MAP_CONNECTION ROUTE_18, ROUTE_17, 0, 0, Route17_Blocks
EAST_MAP_CONNECTION ROUTE_18, FUCHSIA_CITY, -3, 1, FuchsiaCity_Blocks, 1
dw Route18_Object ; objects
| 34.363636 | 73 | 0.791005 |
cefaaab3cad39aca3c2e77ae00d3f344b98aeb6a | 147 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_msge3.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_msge3.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_msge3.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: zel_msge3.asm
Type: file
Size: 23717
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 18534347DDD1AC2031744C88E751A81042DBF75F
Description: null
| 21 | 47 | 0.816327 |
d64782692dc89b6c0cc91526afa43c4ea0f303b4 | 319 | asm | Assembly | oeis/021/A021942.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/021/A021942.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/021/A021942.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A021942: Decimal expansion of 1/938.
; Submitted by Jon Maiga
; 0,0,1,0,6,6,0,9,8,0,8,1,0,2,3,4,5,4,1,5,7,7,8,2,5,1,5,9,9,1,4,7,1,2,1,5,3,5,1,8,1,2,3,6,6,7,3,7,7,3,9,8,7,2,0,6,8,2,3,0,2,7,7,1,8,5,5,0,1,0,6,6,0,9,8,0,8,1,0,2,3,4,5,4,1,5,7,7,8,2,5,1,5,9,9,1,4,7,1
seq $0,199685 ; a(n) = 5*10^n+1.
div $0,469
mod $0,10
| 39.875 | 199 | 0.554859 |
18dff894c46f0c9fc170bc845f22fe4868eaa512 | 182 | asm | Assembly | data/pokemon/dex_entries/porygon_z.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | data/pokemon/dex_entries/porygon_z.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | null | null | null | data/pokemon/dex_entries/porygon_z.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | db "VIRTUAL@" ; species name
db "Its programming"
next "was modified to"
next "enable work in"
page "alien dimensions."
next "However, it didn't"
next "work as planned.@"
| 18.2 | 29 | 0.675824 |
44b10fe67ead0e1b9b3688d923886c7c379bf854 | 892 | asm | Assembly | programs/oeis/161/A161942.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/161/A161942.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/161/A161942.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A161942: Odd part of sum of divisors of n.
; 1,3,1,7,3,3,1,15,13,9,3,7,7,3,3,31,9,39,5,21,1,9,3,15,31,21,5,7,15,9,1,63,3,27,3,91,19,15,7,45,21,3,11,21,39,9,3,31,57,93,9,49,27,15,9,15,5,45,15,21,31,3,13,127,21,9,17,63,3,9,9,195,37,57,31,35,3,21,5,93,121,63,21,7,27,33,15,45,45,117,7,21,1,9,15,63,49,171,39,217,51,27,13,105,3,81,27,35,55,27,19,31,57,15,9,105,91,45,9,45,133,93,21,7,39,39,1,255,11,63,33,21,5,51,15,135,69,9,35,21,3,27,21,403,45,111,57,133,75,93,19,75,117,9,3,49,79,15,27,189,3,363,41,147,9,63,21,15,183,81,65,77,87,45,31,93,15,135,45,273,91,21,31,45,57,3,27,21,5,45,3,127,97,147,21,399,99,117,25,465,17,153,15,63,63,39,39,217,15,9,53,189,9,81,33,75,1,165,37,63,63,57,7,63,403,171,57,35,115,27,3,225,117,273,9,105,5,27,15,93,121,399,91,217,171,63,35,15,21,117
cal $0,203 ; a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).
mov $1,$0
lpb $1
dif $1,2
lpe
| 99.111111 | 729 | 0.652466 |
555061d3fa42f863de8a68a9f0f07e84e1e00a2e | 957 | asm | Assembly | rsisbios.asm | ronsoros/rsis64 | 750e9b301c88978e860f137a7543586731b84655 | [
"MIT"
] | null | null | null | rsisbios.asm | ronsoros/rsis64 | 750e9b301c88978e860f137a7543586731b84655 | [
"MIT"
] | null | null | null | rsisbios.asm | ronsoros/rsis64 | 750e9b301c88978e860f137a7543586731b84655 | [
"MIT"
] | null | null | null | comment The RSIS BIOS is licensed under the MIT license
comment Please see 'LICENSE.EMU' file.
comment -- Begin BIOS
set $a, @main
jmp $a
:strInfo
ds RSIS-BIOS v1.0 (C) 2016, 2017 Ronsor-OpenStar
db 10
db 10
ds Configured to boot from address starting at 6MiB
db 10
ds Press ESC for BIOS Options
db 10
db 0
:printstr
set $a, 0
set $b, 0
set $d, -2
set $e, -3
set $f, -4
set $g, 0
set $h, 0
:printloop
rm8 $a, $c
eq $a, $b
set $t, @noloop
jt $t
set $n, 10
eq $a, $n
set $t, @newline
jt $t
set $t, @skip1
jmp $t
:newline
set $t, @incry
call $t
set $t, 1
add $c, $t
set $t, @printloop
jmp $t
:skip1
wm8 $d, $a
set $t, @incrx
call $t
set $t, 1
add $c, $t
set $t, @printloop
jmp $t
:noloop
ret
:incrx
set $s, 8
add $g, $s
wm64 $f, $g
ret
:incry
set $s, 8
add $h, $s
wm64 $e, $h
set $s, 0
set $g, 0
wm64 $f, $s
ret
:main
set $c, @strInfo
set $a, @printstr
call $a
:abc
set $a, @abc
jmp $a
| 13.291667 | 55 | 0.587252 |
470a6caed89dbab4dda89beee31d5a8b4f9ad95b | 20,498 | asm | Assembly | Appl/BigCalc/bigcalcBuildPCF.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/BigCalc/bigcalcBuildPCF.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/BigCalc/bigcalcBuildPCF.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: bigcalcBuildPCF.asm
AUTHOR: Christian Puscasiu, Apr 29, 1992
ROUTINES:
Name Description
---- -----------
INT BigCalcCheckNumberOfPCFs checkes whether there is a limit on the
number of open PCFs.
GLB BigCalcDestroyPCF Destroys a form
INT BigCalcProcessBuildPCF actually builds the PCF
INT BigCalcProcessCheckPCFExists checks whether a particular PCF exists
already
INT BigCalcProcessBuildNewPCF Builds the new template from the
information in the DataResource
INT BigCalcProcessBuildFixedArgsPCF duplicates the resource in which
the blank PCF is
INT BigCalcProcessBuildVariableArgsPCF
EXT BigCalcLockDataResource Lock the DataResource block, and ensure all
localization aspects are dealt with.
INT UseMetricUnits Change from miles/gallons to
kilometers/liters.
INT UseLocalCurrencySymbol Do a string substitution for the $
INT InsertNewSymbol Do a search and replace of a character with
a string
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/29/92 Initial revision
andres 10/29/96 Don't need this for DOVE
andres 11/18/96 Don't need this for PENELOPE
DESCRIPTION:
this file contains all the code to build out new PCF's
$Id: bigcalcBuildPCF.asm,v 1.1 97/04/04 14:37:54 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
COMMENT @%%%%%%%%%%%% DON'T NEED THIS FOR RESPONDER %%%%%%%%%%%%%%%%%%%%%%@
ProcessCode segment
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PCFChooserGetNewPCFFromList
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: This is to get the ID from the FunctionChooser
CALLED BY:
PASS: *ds:si = PCFChooserClass object
ds:di = PCFChooserClass instance data
ds:bx = PCFChooserClass object (same as *ds:si)
es = dgroup
ax = message #
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/22/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
PCFChooserNewPCFFromList method dynamic PCFChooserClass,
MSG_PCF_CHOOSER_NEW_PCF_FROM_LIST
uses ax, cx, dx, bp
.enter
;
; see if we are over the allowable limit of PCFs
;
call BigCalcCheckNumberOfPCFs
;
; get the PreCannedFunctionID
;
mov si, ds:[di].PCFCI_chooserList.offset
mov ax, MSG_GEN_ITEM_GROUP_GET_SELECTION
call ObjCallInstanceNoLock
push ax
;
; dismiss the Interaction
;
mov cx, IC_DISMISS
mov ax, MSG_GEN_GUP_INTERACTION_COMMAND
call ObjCallInstanceNoLock
pop cx
call BigCalcProcessBuildPCF
.leave
ret
PCFChooserNewPCFFromList endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcCheckNumberOfPCFs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: checkes whether there is a limit on the number of open
PCFs.
CALLED BY:
PASS: nothing
RETURN: carry set if too many PCFs are about to be set
carry unset if it is safe to open another PCF
DESTROYED: nothing
SIDE EFFECTS: If will close the one opened the longest time ago if
the user is to go over the limit
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 7/ 8/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcCheckNumberOfPCFs proc near
uses ax,bx,cx,dx,si,di,bp
.enter
push ds:[LMBH_handle]
;
; find the maximum allowable number of PCFs (if any)
;
mov cx, cs
mov dx, offset numberWSString ;cx:dx <- key
mov ds, cx
mov si, offset confString ;ds:si <- category
call InitFileReadInteger
pop bx
call MemDerefDS
;
; if the category doesn't exist in the .ini file
; then the we can open as many as we want
;
jc okToOpenNew
tst ax
jz okToOpenNew
;
; ax cobtains the # of children, so we want to see wether
; that's over the limit
;
push ax
mov bx, handle BigCalcPCFHolder
mov si, offset BigCalcPCFHolder
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov ax, MSG_GEN_COUNT_CHILDREN
call ObjMessage
pop ax
cmp ax, dx
jg okToOpenNew
;
; we need to close the last recently opened
;
clr cx
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov ax, MSG_GEN_FIND_CHILD_AT_POSITION
call ObjMessage
call BigCalcDestroyPCF
okToOpenNew:
.leave
ret
BigCalcCheckNumberOfPCFs endp
confString char "bigcalc",0
numberWSString char "numberWS",0
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcDestroyPCF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Destroys a form
CALLED BY: GLOBAL
PASS: CX:DX = OD of form to be destroys
RETURN: Nothing
DESTROYED: AX, BX, CX, DX, DI, SI, BP
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
We can't use MSG_GEN_DESTROY_AND_FREE_BLOCK, as we
are displayed non-modal windows that have Window
menus that reside in a separate block.
REVISION HISTORY:
Name Date Description
---- ---- -----------
Don 10/11/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcDestroyPCF proc near
.enter
if 0
; Remove this child from the tree
;
mov ax, MSG_GEN_REMOVE
movdw bxsi, cxdx
mov dl, VUM_NOW
mov bp, mask CCF_MARK_DIRTY
clr di
call ObjMessage
; Destroy the object block itself
;
mov ax, MSG_META_BLOCK_FREE
clr di
call ObjMessage
else
mov ax, MSG_GEN_DESTROY_AND_FREE_BLOCK
movdw bxsi, cxdx
clr di
call ObjMessage
endif
.leave
ret
BigCalcDestroyPCF endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcProcessBuildPCF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: actually builds the PCF
CALLED BY: BigCalcProcesNewPCFFromList, BigCalcProcessNewPCF
PASS: cx -- PreCannedFunctionID == Item#
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/22/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcProcessBuildPCF proc near
uses ax,bx,cx,dx,si,di,bp
.enter
;
; first I have to check wether the new PCF isn't already built
; out, so I will just bring it to the top
;
call BigCalcProcessCheckPCFExists
jc done
;
; build the PCF
;
shl cx
mov di, offset PCFDataTable
add di, cx
mov dx, cs:[di]
push dx
call BigCalcProcessBuildNewPCF
movdw cxdx, bxsi
;
; ^lcx:dx is the optr of the new PCF
;
mov bx, handle BigCalcPCFHolder
mov si, offset BigCalcPCFHolder
clr di
mov bp, CCO_LAST or mask CCF_DIRTY
mov ax, MSG_GEN_ADD_CHILD
call ObjMessage
movdw bxsi, cxdx
;
; set the newly added child usable
;
clr di
mov dl, VUM_NOW
mov ax, MSG_GEN_SET_USABLE
call ObjMessage
pop dx
clr di
mov ax, MSG_PCF_INIT_INST_DATA
call ObjMessage
clr di
mov ax, MSG_GEN_INTERACTION_INITIATE
call ObjMessage
done:
;
; after the PCF has been brought to live the focus will be put
; into the first field
;
clr di
mov ax, MSG_PCF_MAKE_FOCUS
call ObjMessage
.leave
ret
BigCalcProcessBuildPCF endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcProcessCheckPCFExists
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: checks whether a particular PCF exists already
CALLED BY:
PASS: cx = PreCannedFunctionID == Item#
RETURN: cx:dx = PCF that has been brought up
carry set if the PCF was found
carry unset if not
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/22/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcProcessCheckPCFExists proc near
uses ax,di,bp
.enter
mov bx, handle BigCalcPCFHolder
mov si, offset BigCalcPCFHolder
mov di, mask MF_CALL or mask MF_FIXUP_DS
mov ax, MSG_PCF_HOLDER_BRING_PCF_TO_TOP
call ObjMessage
movdw bxsi, cxdx
.leave
ret
BigCalcProcessCheckPCFExists endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcProcessBuildNewPCF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Builds the new template from the information in
the DataResource
CALLED BY: BigCalcProcessBuildPCF
PASS: dx == chunk handle to the data
RETURN: cx:dx == optr to the new PCF
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/29/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcProcessBuildNewPCF proc near
uses ax,cx,dx,di,bp
.enter
call BigCalcLockDataResource
;
; dereference the chunck handle
;
mov bp, dx
mov bp, es:[bp]
;
; get the first byte of info
;
mov al, es:[bp]
clr ah
shl ax
mov di, ax
call MemUnlock
;
; call the appropriate function according to the PCFTType which
; is the first thing in the record in es:[bp]
;
call cs:[BuildPCFTable][di]
.leave
ret
BigCalcProcessBuildNewPCF endp
BuildPCFTable word \
\
offset BigCalcProcessBuildVariableArgsPCF,
offset BigCalcProcessBuildFixedArgsPCF
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcProcessBuildFixedArgsPCF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: duplicates the resource in which the blank PCF is
CALLED BY: BigCalcProcessBuildNewPCF
PASS: nothing
RETURN: ^lbx:si the new PCF
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/29/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcProcessBuildFixedArgsPCF proc near
uses ax,cx
.enter
mov bx, handle FixedArgsPCFTemplateResource
mov si, offset GenericFixedArgsPCF
mov ax, -1
mov cx, -1
call ObjDuplicateResource
.leave
ret
BigCalcProcessBuildFixedArgsPCF endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcProcessBuildVariableArgsPCF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS:
CALLED BY:
PASS:
RETURN: ^lbx:si the new PCF
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CP 4/29/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcProcessBuildVariableArgsPCF proc near
uses ax,cx
.enter
mov bx, handle VariableArgsPCFTemplateResource
mov si, offset GenericVariableArgsPCF
mov ax, -1
mov cx, -1
call ObjDuplicateResource
.leave
ret
BigCalcProcessBuildVariableArgsPCF endp
;----------------------------------------------------------------------------
; Table (order important)
;----------------------------------------------------------------------------
PCFDataTable word \
offset AveragePCFData,
offset CtermPCFData,
offset DblDeclBalancePCFData,
offset FutureValuePCFData,
offset PaymentPCFData,
offset PresentValuePCFData,
offset RatePCFData,
offset StandardDeviationPCFData,
offset StraightLineDepPCFData,
offset SumPCFData,
offset SumOfYearDepPCFData,
offset TermPCFData,
offset VariancePCFData,
offset SalesTaxPCFData,
offset SalesTotalPCFData,
offset ProfitMarginPCFData,
offset MarkupCostPCFData,
offset MarkupProfitPCFData,
offset DiscountPCFData,
offset BreakEvenPCFData,
offset BreakevenProfitPCFData,
offset HomeLoanPCFData,
offset CarLoanPCFData,
offset CollegePCFData,
offset SavingsGoalPCFData,
offset CarMilagePCFData,
offset CarLeasePCFData,
offset LoanAmountPCFData,
offset LoanPmtPCFData,
offset LoanInterestPCFData,
offset HomeSalePCFData,
offset HomePurLoanPCFData
CheckHack <(length PCFDataTable) eq PreCannedFunctionID>
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BigCalcLockDataResource
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Lock the DataResource block, and ensure all localization
aspects are dealt with.
CALLED BY: EXTERNAL
PASS: Nothing
RETURN: AX = DataResource segment
BX = DataResource handle
ES = DataResource segment
DESTROYED: Nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Don 10/14/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
BigCalcLockDataResource proc far
uses di
.enter
;
; Lock down the block. If the block has been discarded,
; we'll need to make all of our localization changes.
;
mov bx, handle DataResource
call MemLock
mov es, ax
assume es:DataResource
mov di, es:[Discarded]
cmp {byte} es:[di], BB_FALSE
assume es:Nothing
je done
;
; We need to setup the right strings for the worksheets. There,
; the currency symbol, gallons and miles need to be localized.
; First check the measurement system and change miles/gallons if
; we want to do metric.
;
push ax, bx, cx, dx, si, ds
mov ds, ax
call LocalGetMeasurementType ; if metric, make it so
cmp al, MEASURE_METRIC ; check for metric...
jne doCurrency ; no, handle currency symbol
;
; change miles to kilometers and gallons to liters.
;
call UseMetricUnits
;
; Handle using a different currency type. If it's $, we're OK.
;
doCurrency:
call UseLocalCurrencySymbol
pop ax, bx, cx, dx, si, ds
assume es:DataResource
mov di, es:[Discarded]
mov {byte} es:[di], BB_FALSE
assume es:Nothing
done:
.leave
ret
BigCalcLockDataResource endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UseMetricUnits
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Change from miles/gallons to kilometers/liters.
CALLED BY: INTERNAL
BigCalcLockDataResource
PASS: DS, ES = DataResource segment
RETURN: DS, ES = DataResource segment (may have moved)
DESTROYED: AX, CX, DI, SI
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jim 9/28/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
UseMetricUnits proc near
.enter
; change the "miles" string first
mov si, offset DataResource:MetricMiles
mov di, es:[si] ; es:di ->
call LocalStringSize ; cx = string size
add cx, 2 ; 2 more for poss DBCS
mov ax, offset MilesText
call LMemReAlloc ; resize chunk
mov si, ds:[si] ; ds:si -> source
mov di, ax
mov di, es:[di] ; es:di -> dest
sub cx, 2
rep movsb ; copy the string over
clr ax
stosw ; store DBCS NULL
; now change the "gallons" string.
mov si, offset MetricGallons ; ax = chunk handle
mov di, es:[si] ; es:di ->
call LocalStringSize ; cx = string size
add cx, 2 ; 2 more for poss DBCS
mov ax, offset GallonsText
call LMemReAlloc ; resize chunk
mov si, ds:[si] ; ds:si -> source
mov di, ax
mov di, es:[di] ; es:di -> dest
sub cx, 2
rep movsb ; copy the string over
clr ax
stosw ; store DBCS NULL
.leave
ret
UseMetricUnits endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UseLocalCurrencySymbol
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Do a string substitution for the $
CALLED BY: INTERNAL
BigCalcLockDataResource
PASS: DS, ES = DataResource segment
RETURN: DS, ES = DataResource segment (updated)
DESTROYED: AX, BX, CX, DX, DI, SI
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jim 9/28/93 Initial version
witt 11/12/93 DBCS-zied for wider buffer; sizes not lengths
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
UseLocalCurrencySymbol proc far
curStringSize local word
newStringSize local word
currencySize local word
SBCS< currencyBuffer local CURRENCY_SYMBOL_LENGTH dup (char) >
DBCS< currencyBuffer local CURRENCY_SYMBOL_LENGTH dup (word) >
.enter
ForceRef curStringSize
ForceRef newStringSize
; get the current currency symbol.
segmov es, ss, di
lea di, ss:currencyBuffer
call LocalGetCurrencyFormat ; es:di -> null-term string
call LocalStringSize ; cx = string size
mov ss:currencySize, cx
; now that we have the string, lock down the resource and
; replace the string.
segmov es, ds, ax
mov ax, 1 ; looking for a hex 1
mov si, offset DataResource:DollarText
call InsertNewSymbol ; replace char in each string
mov si, offset DataResource:DollarYearText
call InsertNewSymbol
mov si, offset DataResource:DollarMonthText
call InsertNewSymbol
mov si, offset DataResource:DollarUnitText
call InsertNewSymbol
.leave
ret
UseLocalCurrencySymbol endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
InsertNewSymbol
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Do a search and replace of a character with a string
CALLED BY: INTERNAL
UseLocalCurrencySymbol
PASS: ds - locked resource with strings to replace
es == ds
si - chunk handle of string to replace
ax - character to search for (unused)
inherited local vars from UseLocalCurrencySymbol
RETURN: nothing
DESTROYED: CX, DI, SI
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jim 9/28/93 Initial version
witt 11/12/93 DBCS-ized, uses size instead of length
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
InsertNewSymbol proc near
uses ax
.enter inherit UseLocalCurrencySymbol
mov di, ds:[si] ; es:di -> text
call LocalStringSize ; get current size
mov curStringSize, cx ; save current size
add cx, currencySize ; add in new string size
mov newStringSize, cx ; save new string size
add cx, 2 ; add in enuf for DBCS nullterm
mov ax, si ; ax = chunk handle
call LMemReAlloc ; resize the chunk
; now that the chunk is bigger, find the replacement char
; and nudge the rest of the existing string down a bit.
mov di, ds:[si] ; es:di -> string
mov si, di ; ds:si -> string
mov ax, 1 ; find \\\1 in UI resource
LocalFindChar ; es:di -> after char
push di
push si ; save initial offset
add si, curStringSize ; point to end of new string
add si, currencySize ; length of both minus escape
LocalPrevChar dssi
mov {word} ds:[si], 0 ; store DBCS null at end
xchg di, si ; si = after escape position
LocalPrevChar esdi ; di = destination
pop ax ; ax = initial position
sub ax, si ; -(# bytes past esc)
add ax, curStringSize ; # bytes to copy at string end
mov cx, ax
add si, cx ; copy from end of string
LocalPrevChar dssi
std
rep movsb
cld
pop di
LocalPrevChar esdi
segmov ds, ss, si
lea si, currencyBuffer
mov cx, currencySize
rep movsb
segmov ds, es, di ; restore DS
.leave
ret
InsertNewSymbol endp
ProcessCode ends
| 23.91832 | 79 | 0.591619 |
7297f09ed4b3cecb8bc285d2c82699273612f9b6 | 7,331 | asm | Assembly | boot/efi_entry.asm | spevans/hello-swift | 51af71dcd1d3719af33b4e20e333e80e812ed059 | [
"Unlicense"
] | null | null | null | boot/efi_entry.asm | spevans/hello-swift | 51af71dcd1d3719af33b4e20e333e80e812ed059 | [
"Unlicense"
] | null | null | null | boot/efi_entry.asm | spevans/hello-swift | 51af71dcd1d3719af33b4e20e333e80e812ed059 | [
"Unlicense"
] | null | null | null | ;;; boot/efi_entry.asm
;;;
;;; Created by Simon Evans on 06/02/2016.
;;; Copyright © 2016 Simon Evans. All rights reserved.
;;;
;;; Entry point from the UEFI firmware. Calls boot/efi_main.c
;;; to setup the page tables and framebuffer then setups CR3
;;; and enters kernel at its correct virtual address
SECTION .text
BITS 64
DEFAULT REL
extern efi_main
extern _binary_output_kernel_elf_start
extern _binary_output_kernel_elf_end
global efi_entry
global kernel_elf_header
global kernel_elf_end
global bss_size
global efi_call2
global efi_call3
global efi_call4
global efi_call5
global memcpy
global memset
efi_entry:
jmp start
ALIGN 8
;;; Following values are fixedup by efi_patch
_bss_size: DQ 0x0 ; Kernel BSS size in bytes
start:
sub rsp, 0x8 ; ELF requires alignment to 16bytes
mov rdi, rcx
mov rsi, rdx
lea rdx, [pointer_table]
lea rcx, [efi_entry]
mov [rdx], rcx
call efi_main
;; rax holds return status, 0 == EFI_SUCCESS so can process else
;; return to UEFI. ExitBootServices() will have beed called
;; if everything was setup ok
test rax, rax
jz enter_kernel
add rsp, 0x8
ret ; return to UEFI
enter_kernel:
;; copy the entry_stub into the last page as that
;; page is mapped in both the identity mapping under
;; UEFI's CR3 and in the kernel's virtual address space
;; under the new CR3
cli
lea rsi, [entry_stub]
mov rdi, [pointer_table.last_page]
mov rbx, rdi
lea rcx, [stub_end]
sub rcx, rsi
rep movsb
jmp rbx ; entry_stub copied into last_page
kernel_elf_header:
lea rax, [_binary_output_kernel_elf_start]
ret
kernel_elf_end:
lea rax, [_binary_output_kernel_elf_end]
ret
bss_size:
mov rax, [_bss_size]
ret
;;; Helper functions for efi_main.c
;;; MS Windows ABI calling convention, arguments to UEFI need to be in
;;; RCX, RDX, R8, R9
;;; Need to reserve space on stack for 4register +8 to keep aligned
;;; to 16bytes
;;; efi_status_t efi_call2(void *func, void *this, void *data);
;;; RDI: Func to call RSI: *This RDX: Data1
efi_call2:
sub rsp, 0x28
mov rcx, rsi
call rdi
add rsp, 0x28
ret
;;; efi_status_t efi_call3(void *func, void *this, void *data1, void *data2);
;;; RDI: func to call RSI: *This, RDX: data1, RCX: data2
;;; rcx, rdx, r8
efi_call3:
sub rsp, 0x28
mov r8, rcx
mov rcx, rsi
call rdi
add rsp, 0x28
ret
;;; rdi, rsi, rdx, rcx, r8,
;;; rcx, rdx, r8, r9
efi_call4:
sub rsp, 0x28
mov r9, r8
mov r8, rcx
mov rcx, rsi
call rdi
add rsp, 0x28
ret
;;; rdi, rsi, rdx, rcx, r8, r9
;;; rcx, rdx, r8, r9, sp[0]
efi_call5:
sub rsp, 0x28
mov [rsp+32], r9
mov r9, r8
mov r8, rcx
mov rcx, rsi
call rdi
add rsp, 0x28
ret
;;; void *memcpy(void *dest, const void *src, size_t n)
;;; RDI: dest, RSI: src, RDX: count, returns dest
memcpy:
mov rcx, rdx
mov rax, rdi
test rdx, rdx
jz .exit
shr rcx, 3
rep movsq
and rdx, 7
mov rcx, rdx
rep movsb
.exit:
ret
;;; void *memset(void *dest, char c, size_t count)
;;; RDI: dest: RSI: c RDX: count
memset:
mov rax, rdi
mov al, sil
mov rcx, rdx
rep stosb
ret
;;; All code below must be relative since it needs to work where it is
;;; loaded by UEFI and also when it has been copied to the last BSS page
;;; of the mapped in kernel. Everything between entry_stop and stub_end
;;; is copied
ALIGN 16
entry_stub:
mov rax, [pointer_table.pml4]
mov cr3, rax
;; Only kernel is mapped in now, no UEFI services
;; reload IDT/GDT since the kernel startup will load selector 0x18
;; into FS so GDT needs to be valid. This IDT/GDT is only temporary
lea rax, [GDT]
mov [GDT.address], rax
lgdt [GDT.pointer]
lidt [IDT.pointer]
;; temporary stack to allow a far jmp, just needs to entries
;; overwrite the earlier code. RSP will be reset after entry
;; to the kernel
lea rsp, [entry_stub + 16]
;; fake a jmp dword CODE_SEG:KERNEL_ENTRY which isnt allowed
;; directly in long mode
push qword CODE_SEG
push qword KERNEL_ENTRY
;; Make RDI -> Virtual address of framebuffer info in the kernel's
;; virtual address space
mov r8, KERNEL_VIRTUAL_BASE
lea rdi, [framebuffer]
mov rsi, [pointer_table.kernel_addr]
sub rdi, rsi
add rdi, r8 ; Convert address to kernel's virtual mapping
mov edx, edi
shr rdi, 32
mov ecx, edi ; ECX:EDX => framebuffer info
lea rsi, [pointer_table.efi_boot_params]
sub rsi, [pointer_table.kernel_addr] ; RSI => efi_boot_params
add rsi, r8
mov rdi, rsi
shr rdi, 32 ; EDI:ESI => boot params
db 0x48
retf
IDT:
ALIGN 4
.pointer:
;; NULL IDT: 0 base, 0 length
dw 0 ; 16bit length
dq 0 ; 32bit base address
GDT:
dq 0x0000000000000000 ; Null descriptor
;; Code descriptor, base=0, limit=0 Present, Ring 0, RO/EX Longmode
dq 0x00209A0000000000
;; Data descriptor, base=0, limit=0 Present, Ring 0, RW Longmode
dq 0x0000920000000000
dq 0x0000000000000000 ; Null descriptor
.pointer:
dw ($ - GDT) - 1 ; 16bit length -1
.address:
dq 0 ; 64bit base address
ALIGN 8
;;; These values are setup by efi_main.c - this layout must match
;;; struct efi_boot_params in include/mm.h
pointer_table:
.image_base DQ 0
.pml4: DQ 0x12345678
.last_page: DQ 0
.efi_boot_params: DQ "EFI"
.size DQ 0
.kernel_addr: DQ 0xDEADBEEF
.mem_map DQ 0
.mem_map_sz: DQ 0
.mem_map_desc_sz:DQ 0
framebuffer:
.address: DQ 0
.size: DQ 0
.width: DD 0
.height: DD 0
.px_per_line: DD 0
.depth: DD 0
.colour_info: DB 0, 0, 0, 0, 0, 0
efi_config_table:
.nr_cfg_entries:DQ 0
.config_table: DQ 0
symbol_table:
.address: DQ 0
.size: DQ 0
string_table:
.address: DQ 0
.size: DQ 0
ALIGN 8
stub_end:
| 28.305019 | 77 | 0.533761 |
18f3ec864e695cf11c75664cca7ad1802dd3f8f6 | 2,027 | asm | Assembly | Projects/Shark/I386/CmpI386.asm | Sankds03/Shark | 48a26966b91d6538a58b31c4caba656bab471f70 | [
"MIT"
] | 740 | 2018-10-15T10:05:49.000Z | 2022-03-31T10:01:50.000Z | Projects/Shark/I386/CmpI386.asm | wbaby/Shark | 8819b6f349794de0b6ca2e6af1e2067313cffebc | [
"MIT"
] | 40 | 2018-10-16T11:33:29.000Z | 2022-02-05T06:34:02.000Z | Projects/Shark/I386/CmpI386.asm | wbaby/Shark | 8819b6f349794de0b6ca2e6af1e2067313cffebc | [
"MIT"
] | 272 | 2018-10-15T14:02:33.000Z | 2022-03-28T16:22:26.000Z | ;
;
; Copyright (c) 2015 - 2021 by blindtiger. All rights reserved.
;
; The contents of this file are subject to the Mozilla Public License Version
; 2.0 (the "License"); you may not use this file except in compliance with
; the License. You may obtain a copy of the License at
; http://www.mozilla.org/MPL/
;
; Software distributed under the License is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. SEe the License
; for the specific language governing rights and limitations under the
; License.
;
; The Initial Developer of the Original Code is blindtiger.
;
;
.686
.xlist
include callconv.inc
.list
_TEXT$00 SEGMENT PAGE 'CODE'
; b
; NTAPI
; _cmpbyte(
; __in s8 b1,
; __in s8 b2
; );
cPublicProc __cmpbyte, 2
mov cl, [esp + 4]
mov dl, [esp + 8]
cmp cl, dl
setnz al
stdRET __cmpbyte
stdENDP __cmpbyte
; b
; NTAPI
; _cmpword(
; __in s16 s1,
; __in s16 s2
; );
cPublicProc __cmpword, 2
mov cx, [esp + 4]
mov dx, [esp + 8]
cmp cx, dx
setnz al
stdRET __cmpword
stdENDP __cmpword
; b
; NTAPI
; _cmpdword(
; __in s32 l1,
; __in s32 l2
; );
cPublicProc __cmpdword, 2
mov ecx, [esp + 4]
mov edx, [esp + 8]
cmp ecx, edx
setnz al
stdRET __cmpdword
stdENDP __cmpdword
; b
; NTAPI
; _cmpqword(
; __in s64 ll1,
; __in s64 ll2
; );
cPublicProc __cmpqword, 4
mov ecx, [esp + 4]
mov edx, [esp + 0ch]
cmp ecx, edx
jnz @f
mov ecx, [esp + 8h]
mov edx, [esp + 10h]
cmp ecx, edx
@@ :
setnz al
stdRET __cmpqword
stdENDP __cmpqword
_TEXT$00 ends
end
| 18.427273 | 78 | 0.51406 |
f99dd6642401a3cbbabb4920c48d9ee5c50c0937 | 667 | asm | Assembly | programs/oeis/301/A301684.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | null | null | null | programs/oeis/301/A301684.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | null | null | null | programs/oeis/301/A301684.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | null | null | null | ; A301684: Coordination sequence for node of type V2 in "krg" 2-D tiling (or net).
; 1,4,8,12,18,22,28,34,36,42,48,50,56,62,64,70,76,78,84,90,92,98,104,106,112,118,120,126,132,134,140,146,148,154,160,162,168,174,176,182,188,190,196,202,204,210,216,218,224,230,232,238,244,246,252,258,260,266,272,274,280,286,288,294,300,302,308,314,316,322,328,330,336,342,344,350,356,358,364,370,372,378,384,386,392,398,400,406,412,414,420,426,428,434,440,442,448,454,456,462
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
add $0,$3
trn $0,1
seq $0,301685 ; Partial sums of A301684.
mov $2,$3
mul $2,$0
add $1,$2
mov $4,$0
lpe
min $5,1
mul $5,$4
sub $1,$5
mov $0,$1
| 31.761905 | 376 | 0.662669 |
ab2642cf36538762addb947bf5c70e595cab9794 | 339 | asm | Assembly | programs/oeis/013/A013636.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/013/A013636.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/013/A013636.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A013636: n*nextprime(n).
; 0,2,6,15,20,35,42,77,88,99,110,143,156,221,238,255,272,323,342,437,460,483,506,667,696,725,754,783,812,899,930,1147,1184,1221,1258,1295,1332,1517,1558,1599,1640,1763
mov $2,$0
cal $0,151800 ; Least prime > n (version 2 of the "next prime" function).
mov $1,$2
mov $2,$0
mul $2,$1
mul $1,$0
add $1,$2
div $1,2
| 28.25 | 167 | 0.672566 |
669e7c7e17ed74ab7b29dc4ab5d71af844f2ff16 | 1,322 | asm | Assembly | smsq/q68/driver/8.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | smsq/q68/driver/8.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | smsq/q68/driver/8.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; base area SMSQ Q68 Drivers / 8 bit Aurora
section header
xref smsq_end
include 'dev8_keys_con'
include 'dev8_keys_q68'
include 'dev8_smsq_smsq_base_keys'
include 'dev8_smsq_smsq_config_keys'
header_base
dc.l q68_con-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-q68_con ; loaded length
dc.l 0 ; checksum
dc.l 0 ; select
dc.b 1 ; 1 level down
dc.b 0
dc.w smsq_name-*
smsq_name
; dc.w nm2-*-2,'SMSQ Q68 8 bit (Aurora) Console Driver'
dc.w 30,'SMSQ Q68 16 bit Console Driver'
dc.l ' '
dc.w $200a
nm2
section base
xref pt_setup
q68_con clr.l d0
move.b sms.conf+sms_ismode,d1 ; config "size" for cn_disp_size
moveq #ptd.08,d2 ; 8 bit colour depth
moveq #ptm.aur8,d3 ; aurora 8 bit driver
cmp.b #q68.aur8,d1 ; do we install this driver?
bne.s no_inst ; no
move.l d2,d4 ; yes so make d4=d2
jmp pt_setup
no_inst clr.l d4 ; d4<>d2 : do not install driver
jmp pt_setup
; move.b sms.conf+sms_ismode,d1 ; config screen size / mode
; moveq #ptd.08,d2 ; 16 bit colour depth
; moveq #ptm.aur8,d3 ; Q68/Q40 16 bit driver
; move.b d1,d4
; lsr.b #1,d4 ; mode 0 or 1
; tst.b d4
; beq.s ok
; move.b #1,d4 ; make sure mode 5 is handled ok
;ok mulu d2,d4 ; mode ql or 16 bit
; jmp pt_setup
end
| 22.793103 | 64 | 0.663389 |
3df0b1d3ef24dee34362cd00d951651157ebc84c | 409 | asm | Assembly | programs/oeis/054/A054491.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/054/A054491.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/054/A054491.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A054491: a(n) = 4*a(n-1) - a(n-2), a(0)=1, a(1)=6.
; 1,6,23,86,321,1198,4471,16686,62273,232406,867351,3236998,12080641,45085566,168261623,627960926,2343582081,8746367398,32641887511,121821182646,454642843073,1696750189646,6332357915511,23632681472398,88198367974081,329160790423926,1228444793721623,4584618384462566
mov $1,1
lpb $0
sub $0,1
mov $2,$1
add $1,3
mul $2,2
add $3,$2
add $1,$3
lpe
| 31.461538 | 265 | 0.733496 |
06fa2dcaf8552baab0517f2d331987f2b7fc7d3f | 1,057 | asm | Assembly | Kernel/Assembly/X64.asm | bitPanG98/SillyOS | 7cda791caaa017d6c5b95ea6215fc76d620a0a78 | [
"MIT"
] | 1 | 2021-02-04T01:19:04.000Z | 2021-02-04T01:19:04.000Z | Kernel/Assembly/X64.asm | bitPanG98/SillyOS | 7cda791caaa017d6c5b95ea6215fc76d620a0a78 | [
"MIT"
] | null | null | null | Kernel/Assembly/X64.asm | bitPanG98/SillyOS | 7cda791caaa017d6c5b95ea6215fc76d620a0a78 | [
"MIT"
] | null | null | null | [bits 64]
global PLATFORM_ENTRY
global FlushGDT
;Global our addresses
global KERNEL_STACK_TOP
global KERNEL_STACK_BOTTOM
extern PlatformMain
BLOCK_SIZE equ 8
KERNEL_HEAP_SIZE equ 2
KERNEL_STACK_SIZE equ 2
section .entry
;Everything start from here.
PLATFORM_ENTRY:
;Disable interrupt
cli
;Setup stack
mov rbp, KERNEL_STACK_TOP
mov rsp, rbp
; we assume rdi stored the address of the booting infomation
call PlatformMain
;if we somehow get in here, we need to stop it
cli
hlt
;Ref: See https://github.com/tianocore/edk2/blob/master/UefiCpuPkg/CpuDxe/X64/CpuAsm.nasm
;Thanks to MouseOS: http://www.mouseos.com/os/tools/nasm.html
FlushGDT:
;edi: code esi: data
;allocate 16 byte
sub rsp, 0x10
lea rax, [.rocket_jump]
mov [rsp], rax
mov [rsp+4], di
jmp dword far [rsp]
.rocket_jump:
;restore stack
add rsp, 0x10
mov ax, si
mov es, ax
mov ds, ax
mov gs, ax
mov fs, ax
mov ss, ax
ret
section .bss
KERNEL_STACK_BOTTOM:
resb 4096 * KERNEL_STACK_SIZE ; 2 * 4K page
KERNEL_STACK_TOP: | 19.574074 | 89 | 0.719962 |
371fd70cb912bc17fb816828ef9b2d6379a2f700 | 4,312 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_158.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_158.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_158.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 %r9
push %rbx
push %rdx
lea addresses_D_ht+0x109a9, %r10
nop
xor $30972, %r9
vmovups (%r10), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $1, %xmm4, %rdx
nop
add $11937, %rbx
pop %rdx
pop %rbx
pop %r9
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r9
push %rax
push %rdi
push %rdx
// Store
mov $0x61, %rdi
nop
inc %rax
mov $0x5152535455565758, %rdx
movq %rdx, %xmm1
vmovups %ymm1, (%rdi)
nop
nop
nop
nop
add $53736, %rdi
// Faulty Load
lea addresses_PSE+0xaf19, %rdi
nop
nop
nop
add $52531, %rax
mov (%rdi), %r11w
lea oracles, %rdx
and $0xff, %r11
shlq $12, %r11
mov (%rdx,%r11,1), %r11
pop %rdx
pop %rdi
pop %rax
pop %r9
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_PSE', 'congruent': 0}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_P', 'congruent': 3}, 'OP': 'STOR'}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_PSE', 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_D_ht', 'congruent': 4}}
{'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
*/
| 58.27027 | 2,999 | 0.660482 |
ec2b5b568357dc59c501f480f7d96cc204e56e6b | 3,462 | asm | Assembly | lib/target/pv2000/classic/pv2000_crt0.asm | bahmanrafatjoo/z88dk | 001b7eab7fa2e94ee7210ff483c789e15e8d6a40 | [
"ClArtistic"
] | null | null | null | lib/target/pv2000/classic/pv2000_crt0.asm | bahmanrafatjoo/z88dk | 001b7eab7fa2e94ee7210ff483c789e15e8d6a40 | [
"ClArtistic"
] | null | null | null | lib/target/pv2000/classic/pv2000_crt0.asm | bahmanrafatjoo/z88dk | 001b7eab7fa2e94ee7210ff483c789e15e8d6a40 | [
"ClArtistic"
] | null | null | null | ; Casio PV-2000 CRT0
;
MODULE pv2000_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
EXTERN _main ; main() is always external to crt0 code
PUBLIC cleanup ; jp'd to by exit()
PUBLIC l_dcal ; jp(hl)
; VDP specific
PUBLIC msxbios
EXTERN msx_set_mode
;--------
; Set an origin for the application (-zorg=) default to 32768
;--------
defc CRT_ORG_CODE = 0xc000
defc CRT_ORG_BSS = 0x7565
defc CONSOLE_ROWS = 24
defc CONSOLE_COLUMNS = 32
defc TAR__fputc_cons_generic = 1
defc TAR__clib_exit_stack_size = 0
defc TAR__register_sp = 0x7fff
defc __CPU_CLOCK = 3579000
INCLUDE "crt/classic/crt_rules.inc"
org CRT_ORG_CODE
jp start
start:
di
; Hook the interrupt
ld a,0xc3
ld ($7498),a ;jp
ld hl,nmi_int
ld ($7499),hl
ld a,0xc3
ld ($749b),a ;jp
ld hl,mask_int
ld ($749c),hl
INCLUDE "crt/classic/crt_init_sp.asm"
INCLUDE "crt/classic/crt_init_atexit.asm"
ld (start1+1),sp ; Save entry stack
call crt0_init_bss
ld (exitsp),sp
ld hl,2
call msx_set_mode
ei
; Optional definition for auto MALLOC init
; it assumes we have free space between the end of
; the compiled program and the stack pointer
IF DEFINED_USING_amalloc
INCLUDE "crt/classic/crt_init_amalloc.asm"
ENDIF
call _main ; Call user program
cleanup:
;
; Deallocate memory which has been allocated here!
;
push hl ; return code
IF CRT_ENABLE_STDIO = 1
EXTERN closeall
call closeall
ENDIF
cleanup_exit:
pop bc ; return code (still not sure it is teh right one !)
start1: ld sp,0 ;Restore stack to entry value
ret
l_dcal: jp (hl) ;Used for function pointer calls
nmi_int:
push af
push hl
; Flow into int_VBL
INCLUDE "crt/classic/tms9118/interrupt_handler.asm"
; Not sure when this is called, but don't do anything
mask_int:
ex (sp),hl
pop hl
ei
reti
; ---------------
; MSX specific stuff
; ---------------
; Safe BIOS call
msxbios:
push ix
ret
INCLUDE "crt/classic/crt_runtime_selection.asm"
defc __crt_org_bss = CRT_ORG_BSS
IF DEFINED_CRT_MODEL
defc __crt_model = CRT_MODEL
ELSE
defc __crt_model = 1
ENDIF
INCLUDE "crt/classic/crt_section.asm"
SECTION bss_crt
PUBLIC raster_procs ;Raster interrupt handlers
PUBLIC pause_procs ;Pause interrupt handlers
PUBLIC timer ;This is incremented every time a VBL/HBL interrupt happens
PUBLIC _pause_flag ;This alternates between 0 and 1 every time pause is pressed
PUBLIC RG0SAV ;keeping track of VDP register values
PUBLIC RG1SAV
PUBLIC RG2SAV
PUBLIC RG3SAV
PUBLIC RG4SAV
PUBLIC RG5SAV
PUBLIC RG6SAV
PUBLIC RG7SAV
raster_procs: defw 0 ;Raster interrupt handlers
pause_procs: defs 8 ;Pause interrupt handlers
timer: defw 0 ;This is incremented every time a VBL/HBL interrupt happens
_pause_flag: defb 0 ;This alternates between 0 and 1 every time pause is pressed
RG0SAV: defb 0 ;keeping track of VDP register values
RG1SAV: defb 0
RG2SAV: defb 0
RG3SAV: defb 0
RG4SAV: defb 0
RG5SAV: defb 0
RG6SAV: defb 0
RG7SAV: defb 0
| 19.896552 | 81 | 0.640959 |
9ad957173b7faff7b9373595cf04b92e3fd4e870 | 42,747 | asm | Assembly | c/03-bootstrap/06-flappy-bird/build/main.rgbds.asm | willbr/gameboy-tests | a0d9f68f5a4898067b7993f690d8d4ca6de831c5 | [
"MIT"
] | null | null | null | c/03-bootstrap/06-flappy-bird/build/main.rgbds.asm | willbr/gameboy-tests | a0d9f68f5a4898067b7993f690d8d4ca6de831c5 | [
"MIT"
] | null | null | null | c/03-bootstrap/06-flappy-bird/build/main.rgbds.asm | willbr/gameboy-tests | a0d9f68f5a4898067b7993f690d8d4ca6de831c5 | [
"MIT"
] | null | null | null | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (MINGW64)
;--------------------------------------------------------
; MODULE main
.optsdcc -mgbz80
; Generated using the rgbds tokens.
; We have to define these here as sdcc doesn't make them global by default
GLOBAL __mulschar
GLOBAL __muluchar
GLOBAL __mulint
GLOBAL __divschar
GLOBAL __divuchar
GLOBAL __divsint
GLOBAL __divuint
GLOBAL __modschar
GLOBAL __moduchar
GLOBAL __modsint
GLOBAL __moduint
GLOBAL __mullong
GLOBAL __modslong
GLOBAL __divslong
GLOBAL banked_call
GLOBAL banked_ret
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
GLOBAL _init_player
GLOBAL _tile_pset
GLOBAL _tile_pget
GLOBAL _main
GLOBAL _joypad_isr
GLOBAL _serial_isr
GLOBAL _lcd_isr
GLOBAL _vblank_isr
GLOBAL _timer_isr
GLOBAL ___memcpy
GLOBAL _memset
GLOBAL _game_over
GLOBAL _player
GLOBAL _cursor
GLOBAL _joypad_btn_state
GLOBAL _joypad_dpad_state
GLOBAL _joypad
GLOBAL _previous_joypad
GLOBAL _shadow_oam
GLOBAL _oam
GLOBAL _HRAM
GLOBAL _OAMRAM
GLOBAL _bgmap
GLOBAL _tiles
GLOBAL _flap_velocity
GLOBAL _gravity
GLOBAL _bytes_per_tile
GLOBAL _bytes_per_row
GLOBAL _IEF_VBLANK
GLOBAL _IEF_LCDC
GLOBAL _IEF_TIMER
GLOBAL _IEF_SERIAL
GLOBAL _IEF_HILO
GLOBAL _char_map
GLOBAL _dma_copy
GLOBAL _poll_joypad
GLOBAL _system_init
GLOBAL _init
GLOBAL _update
GLOBAL _draw
;--------------------------------------------------------
; special function registers
;--------------------------------------------------------
_p1_joypad = 0x0000
_interrupt_flag = 0x000f
_interrupt_enable = 0x00ff
_NR52 = 0x0026
_LCDC = 0x0040
_STAT = 0x0041
_SCY = 0x0042
_SCX = 0x0043
_LY = 0x0044
_LYC = 0x0045
_DMA = 0x0046
_BGP = 0x0047
_OBP0 = 0x0048
_OBP1 = 0x0049
;--------------------------------------------------------
; ram data
;--------------------------------------------------------
SECTION "src\main.c_DATA",BSS
_tiles = 0x9000
_bgmap = 0x9800
_OAMRAM = 0xfe00
_HRAM = 0xff80
_oam = 0xfe00
_shadow_oam:
DS 160
_previous_joypad:
DS 1
_joypad:
DS 1
_joypad_dpad_state:
DS 1
_joypad_btn_state:
DS 1
_cursor:
DS 2
_player:
DS 4
_game_over:
DS 1
;--------------------------------------------------------
; absolute external ram data
;--------------------------------------------------------
SECTION "DABS (ABS)",CODE
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
SECTION "HOME",CODE
SECTION "GSINIT",CODE
SECTION "GSFINAL",CODE
SECTION "GSINIT",CODE
;src\/gameboy.h:140: volatile u8 previous_joypad = 0;
ld hl, _previous_joypad
ld [hl], $00
;src\/gameboy.h:141: volatile u8 joypad = 0;
ld hl, _joypad
ld [hl], $00
;src\/gameboy.h:142: volatile u8 joypad_dpad_state = 0;
ld hl, _joypad_dpad_state
ld [hl], $00
;src\/gameboy.h:143: volatile u8 joypad_btn_state = 0;
ld hl, _joypad_btn_state
ld [hl], $00
;src\main.c:24: struct Point cursor = { .x = 0, .y = 0};
ld hl, _cursor
ld [hl], $00
ld hl, (_cursor + 0x0001)
ld [hl], $00
;src\main.c:28: u8 game_over = 0;
ld hl, _game_over
ld [hl], $00
;--------------------------------------------------------
; Home
;--------------------------------------------------------
SECTION "src\main.c_HOME",HOME
SECTION "src\main.c_HOME",HOME
;--------------------------------------------------------
; code
;--------------------------------------------------------
SECTION "src\main.c_CODE",CODE
;src\/gameboy.h:148: void dma_copy(void)
; ---------------------------------
; Function dma_copy
; ---------------------------------
_dma_copy::
;src\/gameboy.h:150: nop();
nop
.l00101:
;src\/gameboy.h:162: }
ret
_char_map:
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $08 ; 8
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $18 ; 24
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $18 ; 24
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $48 ; 72 'H'
DB $24 ; 36
DB $00 ; 0
DB $48 ; 72 'H'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $0C ; 12
DB $00 ; 0
DB $18 ; 24
DB $10 ; 16
DB $0C ; 12
DB $10 ; 16
DB $04 ; 4
DB $10 ; 16
DB $04 ; 4
DB $00 ; 0
DB $38 ; 56 '8'
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $46 ; 70 'F'
DB $00 ; 0
DB $A4 ; 164
DB $A0 ; 160
DB $48 ; 72 'H'
DB $00 ; 0
DB $18 ; 24
DB $02 ; 2
DB $34 ; 52 '4'
DB $00 ; 0
DB $2A ; 42
DB $00 ; 0
DB $66 ; 102 'f'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $18 ; 24
DB $20 ; 32
DB $04 ; 4
DB $0C ; 12
DB $20 ; 32
DB $20 ; 32
DB $18 ; 24
DB $10 ; 16
DB $48 ; 72 'H'
DB $18 ; 24
DB $44 ; 68 'D'
DB $40 ; 64
DB $32 ; 50 '2'
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $0C ; 12
DB $08 ; 8
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $08 ; 8
DB $10 ; 16
DB $00 ; 0
DB $0C ; 12
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $30 ; 48 '0'
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $08 ; 8
DB $10 ; 16
DB $20 ; 32
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $48 ; 72 'H'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $08 ; 8
DB $10 ; 16
DB $08 ; 8
DB $66 ; 102 'f'
DB $18 ; 24
DB $00 ; 0
DB $7E ; 126
DB $10 ; 16
DB $08 ; 8
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $40 ; 64
DB $40 ; 64
DB $20 ; 32
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $7E ; 126
DB $7C ; 124
DB $02 ; 2
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $60 ; 96
DB $40 ; 64
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $02 ; 2
DB $02 ; 2
DB $04 ; 4
DB $04 ; 4
DB $08 ; 8
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $30 ; 48 '0'
DB $20 ; 32
DB $40 ; 64
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $28 ; 40
DB $10 ; 16
DB $44 ; 68 'D'
DB $00 ; 0
DB $10 ; 16
DB $44 ; 68 'D'
DB $10 ; 16
DB $44 ; 68 'D'
DB $44 ; 68 'D'
DB $00 ; 0
DB $28 ; 40
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $18 ; 24
DB $04 ; 4
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $18 ; 24
DB $10 ; 16
DB $24 ; 36
DB $20 ; 32
DB $44 ; 68 'D'
DB $00 ; 0
DB $08 ; 8
DB $08 ; 8
DB $10 ; 16
DB $00 ; 0
DB $3E ; 62
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $44 ; 68 'D'
DB $38 ; 56 '8'
DB $00 ; 0
DB $04 ; 4
DB $00 ; 0
DB $1C ; 28
DB $06 ; 6
DB $00 ; 0
DB $00 ; 0
DB $02 ; 2
DB $22 ; 34
DB $1C ; 28
DB $00 ; 0
DB $00 ; 0
DB $08 ; 8
DB $10 ; 16
DB $08 ; 8
DB $20 ; 32
DB $00 ; 0
DB $48 ; 72 'H'
DB $40 ; 64
DB $3E ; 62
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $1E ; 30
DB $00 ; 0
DB $20 ; 32
DB $04 ; 4
DB $38 ; 56 '8'
DB $00 ; 0
DB $04 ; 4
DB $08 ; 8
DB $04 ; 4
DB $00 ; 0
DB $38 ; 56 '8'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $10 ; 16
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $3E ; 62
DB $10 ; 16
DB $22 ; 34
DB $00 ; 0
DB $1E ; 30
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $7E ; 126
DB $04 ; 4
DB $02 ; 2
DB $00 ; 0
DB $04 ; 4
DB $00 ; 0
DB $04 ; 4
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $64 ; 100 'd'
DB $00 ; 0
DB $44 ; 68 'D'
DB $44 ; 68 'D'
DB $38 ; 56 '8'
DB $40 ; 64
DB $3C ; 60
DB $20 ; 32
DB $44 ; 68 'D'
DB $00 ; 0
DB $38 ; 56 '8'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $20 ; 32
DB $44 ; 68 'D'
DB $20 ; 32
DB $4C ; 76 'L'
DB $00 ; 0
DB $38 ; 56 '8'
DB $00 ; 0
DB $18 ; 24
DB $20 ; 32
DB $10 ; 16
DB $60 ; 96
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $10 ; 16
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $0C ; 12
DB $0C ; 12
DB $10 ; 16
DB $00 ; 0
DB $70 ; 112 'p'
DB $60 ; 96
DB $10 ; 16
DB $00 ; 0
DB $1C ; 28
DB $0C ; 12
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $7C ; 124
DB $7C ; 124
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $7C ; 124
DB $7C ; 124
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $30 ; 48 '0'
DB $30 ; 48 '0'
DB $08 ; 8
DB $00 ; 0
DB $0E ; 14
DB $06 ; 6
DB $08 ; 8
DB $00 ; 0
DB $38 ; 56 '8'
DB $30 ; 48 '0'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $04 ; 4
DB $38 ; 56 '8'
DB $60 ; 96
DB $04 ; 4
DB $04 ; 4
DB $48 ; 72 'H'
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $42 ; 66 'B'
DB $3C ; 60
DB $00 ; 0
DB $42 ; 66 'B'
DB $08 ; 8
DB $52 ; 82 'R'
DB $00 ; 0
DB $5E ; 94
DB $00 ; 0
DB $40 ; 64
DB $42 ; 66 'B'
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $28 ; 40
DB $28 ; 40
DB $44 ; 68 'D'
DB $00 ; 0
DB $44 ; 68 'D'
DB $AA ; 170
DB $54 ; 84 'T'
DB $00 ; 0
DB $82 ; 130
DB $00 ; 0
DB $82 ; 130
DB $82 ; 130
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $88 ; 136
DB $70 ; 112 'p'
DB $04 ; 4
DB $40 ; 64
DB $00 ; 0
DB $44 ; 68 'D'
DB $04 ; 4
DB $78 ; 120 'x'
DB $00 ; 0
DB $44 ; 68 'D'
DB $04 ; 4
DB $40 ; 64
DB $88 ; 136
DB $70 ; 112 'p'
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $38 ; 56 '8'
DB $84 ; 132
DB $00 ; 0
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $80 ; 128
DB $84 ; 132
DB $00 ; 0
DB $40 ; 64
DB $38 ; 56 '8'
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $3C ; 60
DB $04 ; 4
DB $42 ; 66 'B'
DB $00 ; 0
DB $42 ; 66 'B'
DB $00 ; 0
DB $42 ; 66 'B'
DB $04 ; 4
DB $42 ; 66 'B'
DB $40 ; 64
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $3C ; 60
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $70 ; 112 'p'
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $40 ; 64
DB $40 ; 64
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $3C ; 60
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $78 ; 120 'x'
DB $20 ; 32
DB $40 ; 64
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $0C ; 12
DB $00 ; 0
DB $30 ; 48 '0'
DB $20 ; 32
DB $40 ; 64
DB $00 ; 0
DB $5E ; 94
DB $58 ; 88 'X'
DB $24 ; 36
DB $00 ; 0
DB $04 ; 4
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $7C ; 124
DB $00 ; 0
DB $44 ; 68 'D'
DB $20 ; 32
DB $44 ; 68 'D'
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3E ; 62
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $28 ; 40
DB $28 ; 40
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $04 ; 4
DB $22 ; 34
DB $08 ; 8
DB $24 ; 36
DB $00 ; 0
DB $38 ; 56 '8'
DB $02 ; 2
DB $24 ; 36
DB $00 ; 0
DB $22 ; 34
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $20 ; 32
DB $02 ; 2
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $18 ; 24
DB $12 ; 18
DB $2C ; 44
DB $04 ; 4
DB $2A ; 42
DB $00 ; 0
DB $2A ; 42
DB $00 ; 0
DB $42 ; 66 'B'
DB $00 ; 0
DB $42 ; 66 'B'
DB $00 ; 0
DB $02 ; 2
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $22 ; 34
DB $20 ; 32
DB $12 ; 18
DB $30 ; 48 '0'
DB $4A ; 74 'J'
DB $00 ; 0
DB $4A ; 74 'J'
DB $04 ; 4
DB $4A ; 74 'J'
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $24 ; 36
DB $42 ; 66 'B'
DB $00 ; 0
DB $42 ; 66 'B'
DB $20 ; 32
DB $42 ; 66 'B'
DB $02 ; 2
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $1C ; 28
DB $14 ; 20
DB $22 ; 34
DB $04 ; 4
DB $22 ; 34
DB $00 ; 0
DB $64 ; 100 'd'
DB $04 ; 4
DB $38 ; 56 '8'
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $1C ; 28
DB $04 ; 4
DB $22 ; 34
DB $02 ; 2
DB $41 ; 65 'A'
DB $00 ; 0
DB $49 ; 73 'I'
DB $26 ; 38
DB $49 ; 73 'I'
DB $00 ; 0
DB $3E ; 62
DB $00 ; 0
DB $01 ; 1
DB $00 ; 0
DB $00 ; 0
DB $44 ; 68 'D'
DB $38 ; 56 '8'
DB $20 ; 32
DB $44 ; 68 'D'
DB $04 ; 4
DB $28 ; 40
DB $00 ; 0
DB $30 ; 48 '0'
DB $04 ; 4
DB $28 ; 40
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $1C ; 28
DB $00 ; 0
DB $20 ; 32
DB $20 ; 32
DB $1C ; 28
DB $04 ; 4
DB $02 ; 2
DB $04 ; 4
DB $22 ; 34
DB $20 ; 32
DB $1C ; 28
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $7F ; 127
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $4C ; 76 'L'
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $44 ; 68 'D'
DB $08 ; 8
DB $44 ; 68 'D'
DB $40 ; 64
DB $38 ; 56 '8'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $41 ; 65 'A'
DB $62 ; 98 'b'
DB $01 ; 1
DB $00 ; 0
DB $22 ; 34
DB $14 ; 20
DB $22 ; 34
DB $00 ; 0
DB $14 ; 20
DB $10 ; 16
DB $08 ; 8
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $41 ; 65 'A'
DB $00 ; 0
DB $41 ; 65 'A'
DB $00 ; 0
DB $42 ; 66 'B'
DB $00 ; 0
DB $2A ; 42
DB $04 ; 4
DB $2A ; 42
DB $22 ; 34
DB $14 ; 20
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $42 ; 66 'B'
DB $24 ; 36
DB $12 ; 18
DB $10 ; 16
DB $0C ; 12
DB $10 ; 16
DB $08 ; 8
DB $20 ; 32
DB $14 ; 20
DB $44 ; 68 'D'
DB $22 ; 34
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $24 ; 36
DB $00 ; 0
DB $24 ; 36
DB $20 ; 32
DB $18 ; 24
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $20 ; 32
DB $20 ; 32
DB $40 ; 64
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $40 ; 64
DB $3E ; 62
DB $00 ; 0
DB $02 ; 2
DB $00 ; 0
DB $0C ; 12
DB $00 ; 0
DB $30 ; 48 '0'
DB $00 ; 0
DB $40 ; 64
DB $02 ; 2
DB $7C ; 124
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $04 ; 4
DB $78 ; 120 'x'
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $40 ; 64
DB $04 ; 4
DB $78 ; 120 'x'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $40 ; 64
DB $00 ; 0
DB $20 ; 32
DB $30 ; 48 '0'
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $18 ; 24
DB $00 ; 0
DB $00 ; 0
DB $08 ; 8
DB $00 ; 0
DB $0C ; 12
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $1E ; 30
DB $00 ; 0
DB $02 ; 2
DB $00 ; 0
DB $02 ; 2
DB $00 ; 0
DB $02 ; 2
DB $00 ; 0
DB $02 ; 2
DB $20 ; 32
DB $1E ; 30
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $38 ; 56 '8'
DB $00 ; 0
DB $2C ; 44
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $40 ; 64
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $FF ; 255
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3F ; 63
DB $15 ; 21
DB $20 ; 32
DB $0A ; 10
DB $20 ; 32
DB $10 ; 16
DB $27 ; 39
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $FC ; 252
DB $50 ; 80 'P'
DB $04 ; 4
DB $A8 ; 168
DB $04 ; 4
DB $10 ; 16
DB $E4 ; 228
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $10 ; 16
DB $24 ; 36
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $27 ; 39
DB $0A ; 10
DB $20 ; 32
DB $15 ; 21
DB $20 ; 32
DB $00 ; 0
DB $3F ; 63
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $10 ; 16
DB $24 ; 36
DB $08 ; 8
DB $24 ; 36
DB $10 ; 16
DB $E4 ; 228
DB $A8 ; 168
DB $04 ; 4
DB $50 ; 80 'P'
DB $04 ; 4
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $DD ; 221
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $75 ; 117 'u'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $DD ; 221
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $75 ; 117 'u'
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FB ; 251
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FB ; 251
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EE ; 238
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EE ; 238
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $54 ; 84 'T'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $51 ; 81 'Q'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $54 ; 84 'T'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $51 ; 81 'Q'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A8 ; 168
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A2 ; 162
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A8 ; 168
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A2 ; 162
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $01 ; 1
DB $00 ; 0
DB $03 ; 3
DB $00 ; 0
DB $07 ; 7
DB $00 ; 0
DB $0F ; 15
DB $00 ; 0
DB $1F ; 31
DB $00 ; 0
DB $3F ; 63
DB $00 ; 0
DB $7F ; 127
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $C0 ; 192
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $7F ; 127
DB $00 ; 0
DB $3F ; 63
DB $00 ; 0
DB $1F ; 31
DB $00 ; 0
DB $0F ; 15
DB $00 ; 0
DB $07 ; 7
DB $00 ; 0
DB $03 ; 3
DB $00 ; 0
DB $01 ; 1
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $C0 ; 192
DB $00 ; 0
DB $80 ; 128
DB $01 ; 1
DB $00 ; 0
DB $03 ; 3
DB $00 ; 0
DB $07 ; 7
DB $00 ; 0
DB $0F ; 15
DB $00 ; 0
DB $1F ; 31
DB $00 ; 0
DB $3F ; 63
DB $00 ; 0
DB $7F ; 127
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $C0 ; 192
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $7F ; 127
DB $00 ; 0
DB $3F ; 63
DB $00 ; 0
DB $1F ; 31
DB $00 ; 0
DB $0F ; 15
DB $00 ; 0
DB $07 ; 7
DB $00 ; 0
DB $03 ; 3
DB $00 ; 0
DB $01 ; 1
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $C0 ; 192
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FD ; 253
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $F7 ; 247
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $77 ; 119 'w'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $DD ; 221
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $75 ; 117 'u'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $DD ; 221
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $77 ; 119 'w'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $DD ; 221
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $DD ; 221
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FB ; 251
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $BB ; 187
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EE ; 238
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $BB ; 187
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EE ; 238
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $BA ; 186
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EE ; 238
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EA ; 234
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $EE ; 238
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $51 ; 81 'Q'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $55 ; 85 'U'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $11 ; 17
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $54 ; 84 'T'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $11 ; 17
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $11 ; 17
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $10 ; 16
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $44 ; 68 'D'
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $40 ; 64
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A2 ; 162
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $AA ; 170
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A2 ; 162
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $A8 ; 168
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $22 ; 34
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $88 ; 136
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $22 ; 34
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $88 ; 136
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $20 ; 32
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $88 ; 136
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $7E ; 126
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $18 ; 24
DB $00 ; 0
DB $3C ; 60
DB $00 ; 0
DB $18 ; 24
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $18 ; 24
DB $00 ; 0
DB $18 ; 24
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FF ; 255
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $FE ; 254
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $FC ; 252
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $F8 ; 248
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $F0 ; 240
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $E0 ; 224
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $C0 ; 192
DB $00 ; 0
DB $C0 ; 192
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $80 ; 128
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
DB $00 ; 0
_IEF_HILO:
DB $10 ; 16
_IEF_SERIAL:
DB $08 ; 8
_IEF_TIMER:
DB $04 ; 4
_IEF_LCDC:
DB $02 ; 2
_IEF_VBLANK:
DB $01 ; 1
;src\/gameboy.h:165: void poll_joypad(void)
; ---------------------------------
; Function poll_joypad
; ---------------------------------
_poll_joypad::
;src\/gameboy.h:197: );
rP1 = #0xFF00
ld a, #0x20
ld (rP1), a
ld a, (rP1)
ld a, (rP1)
ld (_joypad_dpad_state), a
ld a, (#0x10)
ld (rP1), a
ld a, (rP1)
ld a, (rP1)
ld a, (rP1)
ld a, (rP1)
ld a, (rP1)
ld a, (rP1)
ld (_joypad_btn_state), a
ld a, (#0x30)
ld (rP1), a
;src\/gameboy.h:199: joypad_btn_state = (~joypad_btn_state) & 0x0F;
ld hl, _joypad_btn_state
ld a, [hl]
cpl
and a, $0F
ld [hl], a
;src\/gameboy.h:200: joypad_dpad_state = (~joypad_dpad_state) & 0x0F;
ld hl, _joypad_dpad_state
ld a, [hl]
cpl
and a, $0F
ld [hl], a
;src\/gameboy.h:202: previous_joypad = joypad;
push hl
ld hl, _joypad
ld a, [hl]
ld hl, _previous_joypad
ld [hl], a
pop hl
;src\/gameboy.h:204: joypad = (joypad_dpad_state << 4) ^ joypad_btn_state;
ld hl, _joypad_dpad_state
ld a, [hl]
swap a
and a, $F0
ld hl, _joypad_btn_state
xor a, [hl]
ld hl, _joypad
ld [hl], a
.l00101:
;src\/gameboy.h:205: }
ret
;src\/gameboy.h:212: void timer_isr(void) __critical __interrupt __naked
; ---------------------------------
; Function timer_isr
; ---------------------------------
_timer_isr::
;src\/gameboy.h:214: breakpoint();
ld b,b
;src\/gameboy.h:215: __asm__("reti");
reti
.l00101:
;src\/gameboy.h:216: }
;src\/gameboy.h:218: void vblank_isr(void) __critical __interrupt __naked
; ---------------------------------
; Function vblank_isr
; ---------------------------------
_vblank_isr::
;src\/gameboy.h:220: poll_joypad();
call _poll_joypad
;src\/gameboy.h:222: __asm__("reti");
reti
.l00101:
;src\/gameboy.h:223: }
;src\/gameboy.h:225: void lcd_isr(void) __critical __interrupt __naked
; ---------------------------------
; Function lcd_isr
; ---------------------------------
_lcd_isr::
;src\/gameboy.h:227: breakpoint();
ld b,b
;src\/gameboy.h:228: __asm__("reti");
reti
.l00101:
;src\/gameboy.h:229: }
;src\/gameboy.h:231: void serial_isr(void) __critical __interrupt __naked
; ---------------------------------
; Function serial_isr
; ---------------------------------
_serial_isr::
;src\/gameboy.h:233: breakpoint();
ld b,b
;src\/gameboy.h:234: __asm__("reti");
reti
.l00101:
;src\/gameboy.h:235: }
;src\/gameboy.h:237: void joypad_isr(void) __critical __interrupt __naked
; ---------------------------------
; Function joypad_isr
; ---------------------------------
_joypad_isr::
;src\/gameboy.h:239: breakpoint();
ld b,b
;src\/gameboy.h:240: __asm__("reti");
reti
.l00101:
;src\/gameboy.h:241: }
;src\/friend.h:15: void main(void) {
; ---------------------------------
; Function main
; ---------------------------------
_main::
;src\/friend.h:16: system_init();
call _system_init
;src\/friend.h:18: init();
call _init
;src\/friend.h:20: while(1) {
.l00102:
;src\/friend.h:21: update();
call _update
;src\/friend.h:23: halt();
halt
nop
;src\/friend.h:24: draw();
call _draw
jr .l00102
.l00104:
;src\/friend.h:26: }
ret
;src\/friend.h:30: void system_init(void) {
; ---------------------------------
; Function system_init
; ---------------------------------
_system_init::
;src\/friend.h:32: disable_interrupts();
di
;src\/friend.h:34: while (LY < 144) {} /* wait until vblank */
.l00101:
ldh a, (_LY+0)
sub a, $90
jr C,.l00101
;src\/friend.h:36: LCDC = LCDCF_OFF;
ld a, $00
ldh (_LCDC+0),a
;src\/friend.h:45: BGP = 0b11100100;
ld a, $E4
ldh (_BGP+0),a
;src\/friend.h:46: OBP0 = 0b11100100;
ld a, $E4
ldh (_OBP0+0),a
;src\/friend.h:47: OBP1 = 0b11100100;
ld a, $E4
ldh (_OBP1+0),a
;src\/friend.h:49: SCY = 0;
ld a, $00
ldh (_SCY+0),a
;src\/friend.h:50: SCX = 0;
ld a, $00
ldh (_SCX+0),a
;src\/friend.h:52: NR52 = 0;
ld a, $00
ldh (_NR52+0),a
.l00104:
;src\/friend.h:57: }
ret
;src\/friend_draw.h:25: u8 tile_pget(u8 tile_number, u8 x, u8 y)
; ---------------------------------
; Function tile_pget
; ---------------------------------
_tile_pget::
add sp, #-3
;src\/friend_draw.h:27: u8 mask = (128 >> x);
ld hl, [sp+6]
ld a, [hl]
push af
ld c, $80
ld b, $00
pop af
inc a
jr .l00120
.l00119:
sra b
rr c
.l00120:
dec a
jr NZ, .l00119
ld hl, [sp+0]
ld [hl], c
;src\/friend_draw.h:29: u8 *row = tile_get_row(tile_number, y);
ld hl, [sp+7]
ld a, [hl]
ld hl, [sp+2]
ld [hl], a
ld hl, [sp+5]
ld a, [hl]
;src\/friend_draw.h:10: u8 offset = tile_number << 4;
swap a
and a, $F0
ld c, a
;src\/friend_draw.h:16: u8 *tile = get_tile(tile_number);
ld a, _tiles & $FF
add a, c
ld c, a
ld a, _tiles >> 8
adc a, $00
ld b, a
;src\/friend_draw.h:19: u8 offset = y << 2;
ld hl, [sp+2]
ld a, [hl]
add a, a
add a, a
;src\/friend_draw.h:29: u8 *row = tile_get_row(tile_number, y);
add a, c
ld c, a
ld a, $00
adc a, b
ld b, a
;src\/friend_draw.h:31: u8 hi = *(row + 1) & mask;
ld hl, $0001
add hl, bc
ld a, l
ld d, h
ld hl, [sp+1]
ld [hl], a
inc hl
ld [hl], d
dec hl
ld e, [hl]
inc hl
ld d, [hl]
ld a,[de]
dec hl
dec hl
and a, [hl]
ld d, a
;src\/friend_draw.h:32: u8 lo = *(row + 0) & mask;
ld a, [bc]
and a, [hl]
ld e, a
;src\/friend_draw.h:34: return (hi ? 2 : 0) + (lo ? 1 : 0);
ld a, d
or a, a
jr Z,.l00105
ld bc, $0002
jr .l00106
.l00105:
ld bc, $0000
.l00106:
ld a, e
or a, a
jr Z,.l00107
ld de, $0001
jr .l00108
.l00107:
ld de, $0000
.l00108:
ld a, e
add a, c
ld e, a
.l00103:
;src\/friend_draw.h:35: }
add sp, #3
ret
_bytes_per_row:
DB $02 ; 2
_bytes_per_tile:
DB $10 ; 16
;src\/friend_draw.h:38: void tile_pset(u8 tile_number, u8 x, u8 y, u8 value)
; ---------------------------------
; Function tile_pset
; ---------------------------------
_tile_pset::
add sp, #-4
;src\/friend_draw.h:40: u8 *row = tile_get_row(tile_number, y);
ld hl, [sp+8]
ld a, [hl]
ld hl, [sp+3]
ld [hl], a
ld hl, [sp+6]
ld a, [hl]
;src\/friend_draw.h:10: u8 offset = tile_number << 4;
swap a
and a, $F0
ld c, a
;src\/friend_draw.h:16: u8 *tile = get_tile(tile_number);
ld a, _tiles & $FF
add a, c
ld c, a
ld a, _tiles >> 8
adc a, $00
ld b, a
;src\/friend_draw.h:19: u8 offset = y << 2;
ld hl, [sp+3]
ld a, [hl]
add a, a
add a, a
;src\/friend_draw.h:40: u8 *row = tile_get_row(tile_number, y);
add a, c
ld c, a
ld a, $00
adc a, b
ld b, a
;src\/friend_draw.h:42: u8 mask = (128 >> x);
ld hl, [sp+7]
ld a, [hl]
push af
ld e, $80
ld d, $00
pop af
inc a
jr .l00131
.l00130:
sra d
rr e
.l00131:
dec a
jr NZ, .l00130
ld hl, [sp+0]
ld [hl], e
;src\/friend_draw.h:47: *(row + 1) |= mask;
ld hl, $0001
add hl, bc
ld a, l
ld d, h
ld hl, [sp+1]
ld [hl], a
inc hl
ld [hl], d
;src\/friend_draw.h:51: *(row + 0) &= ~mask;
dec hl
dec hl
ld a, [hl]
cpl
ld hl, [sp+3]
ld [hl], a
;src\/friend_draw.h:44: switch (value) {
ld hl, [sp+9]
ld a, [hl]
or a, a
jp Z,.l00104
.l00132:
ld hl, [sp+9]
ld a, [hl]
dec a
jp Z,.l00103
.l00133:
ld hl, [sp+9]
ld a, [hl]
sub a, $02
jr Z,.l00102
.l00134:
ld hl, [sp+9]
ld a, [hl]
sub a, $03
jr Z,.l00136
.l00135:
jp .l00108
.l00136:
;src\/friend_draw.h:46: *(row + 0) |= mask;
ld a, [bc]
ld hl, [sp+0]
or a, [hl]
ld [bc], a
;src\/friend_draw.h:47: *(row + 1) |= mask;
inc hl
ld e, [hl]
inc hl
ld d, [hl]
ld a,[de]
dec hl
dec hl
or a, [hl]
ld c, a
inc hl
ld a, [hl]
inc hl
ld h, [hl]
ld l, a
ld [hl], c
;src\/friend_draw.h:48: break;
jp .l00108
;src\/friend_draw.h:50: case 0b10:
.l00102:
;src\/friend_draw.h:51: *(row + 0) &= ~mask;
ld a, [bc]
ld hl, [sp+3]
and a, [hl]
ld [bc], a
;src\/friend_draw.h:52: *(row + 1) |= mask;
dec hl
dec hl
ld e, [hl]
inc hl
ld d, [hl]
ld a,[de]
dec hl
dec hl
or a, [hl]
ld c, a
inc hl
ld a, [hl]
inc hl
ld h, [hl]
ld l, a
ld [hl], c
;src\/friend_draw.h:53: break;
jp .l00108
;src\/friend_draw.h:55: case 0b01:
.l00103:
;src\/friend_draw.h:56: *(row + 0) |= mask;
ld a, [bc]
ld hl, [sp+0]
or a, [hl]
ld [bc], a
;src\/friend_draw.h:57: *(row + 1) &= ~mask;
inc hl
ld e, [hl]
inc hl
ld d, [hl]
ld a,[de]
inc hl
and a, [hl]
ld c, a
dec hl
dec hl
ld a, [hl]
inc hl
ld h, [hl]
ld l, a
ld [hl], c
;src\/friend_draw.h:58: break;
jr .l00108
;src\/friend_draw.h:60: case 0b00:
.l00104:
;src\/friend_draw.h:61: *(row + 0) &= ~mask;
ld a, [bc]
ld hl, [sp+3]
and a, [hl]
ld [bc], a
;src\/friend_draw.h:62: *(row + 1) &= ~mask;
dec hl
dec hl
ld e, [hl]
inc hl
ld d, [hl]
ld a,[de]
inc hl
and a, [hl]
ld c, a
dec hl
dec hl
ld a, [hl]
inc hl
ld h, [hl]
ld l, a
ld [hl], c
;src\/friend_draw.h:64: }
.l00108:
;src\/friend_draw.h:65: }
add sp, #4
ret
;src\main.c:31: void init_player()
; ---------------------------------
; Function init_player
; ---------------------------------
_init_player::
;src\main.c:33: player.position.x = 40;
ld hl, _player
ld [hl], $28
;src\main.c:34: player.position.y = 40;
ld hl, (_player + 0x0001)
ld [hl], $28
;src\main.c:36: player.y_velocity = 1;
ld hl, (_player + 0x0002)
ld [hl], $01
;src\main.c:37: player.score = 0;
ld hl, (_player + 0x0003)
ld [hl], $00
.l00101:
;src\main.c:38: }
ret
_gravity:
DB $01 ; 1
_flap_velocity:
DB $FE ; -2
;src\main.c:41: void init(void)
; ---------------------------------
; Function init
; ---------------------------------
_init::
;src\main.c:43: init_player();
call _init_player
;src\main.c:45: memset(&oam, 0, sizeof(oam));
ld hl, $00A0
push hl
ld l, $00
push hl
ld hl, _oam
push hl
call _memset
add sp, #6
;src\main.c:46: memset(&tiles, 0, sizeof(tiles));
ld hl, $0001
push hl
ld l, $00
push hl
ld hl, _tiles
push hl
call _memset
add sp, #6
;src\main.c:47: memset(&bgmap, 0, sizeof(bgmap));
ld hl, $0400
push hl
ld h, $00
push hl
ld hl, _bgmap
push hl
call _memset
add sp, #6
;src\main.c:49: memcpy(&tiles, &char_map, sizeof(char_map));
ld hl, $0800
push hl
ld hl, _char_map
push hl
ld hl, _tiles
push hl
call ___memcpy
add sp, #6
;src\main.c:51: oam[0].tile = 0x19;
ld hl, (_oam + 0x0002)
ld [hl], $19
;src\main.c:52: oam[1].tile = 0x19;
ld hl, (_oam + 0x0006)
ld [hl], $19
;src\main.c:53: oam[2].tile = 0x19;
ld hl, (_oam + 0x000a)
ld [hl], $19
;src\main.c:54: oam[3].tile = 0x19;
ld hl, (_oam + 0x000e)
ld [hl], $19
;src\main.c:60: LCDCF_OBJON;
ld a, $83
ldh (_LCDC+0),a
;src\main.c:62: enable_interrupts();
ei
;src\main.c:63: interrupt_enable = IEF_VBLANK;
ld hl, _IEF_VBLANK
ld a, [hl]
ldh (_interrupt_enable+0),a
.l00101:
;src\main.c:64: }
ret
;src\main.c:67: void update(void)
; ---------------------------------
; Function update
; ---------------------------------
_update::
;src\main.c:70: if (btnp(j_a)) {
ld hl, _previous_joypad
ld c, [hl]
xor a, a
cpl
ld b, a
ld a, c
cpl
ld c, a
ld hl, _joypad
ld e, [hl]
ld d, $00
ld a, c
and a, e
ld c, a
ld a, b
and a, d
bit 0, c
jr Z,.l00102
.l00118:
;src\main.c:71: player.y_velocity = (flap_velocity << SUBPIXELS);
ld bc, _player+2
ld hl, _flap_velocity
ld a, [hl]
add a, a
add a, a
add a, a
ld [bc], a
jr .l00103
.l00102:
;src\main.c:74: player.y_velocity += gravity;
ld bc, _player+2
ld a, [bc]
ld e, a
ld hl, _gravity
ld a, [hl]
add a, e
ld [bc], a
.l00103:
;src\main.c:78: step = (player.y_velocity >> SUBPIXELS);
ld a, ((_player + 0x0002) + 0)
sra a
sra a
sra a
;src\main.c:79: player.position.y += step;
ld bc, _player + 1
push af
ld a, [bc]
ld e, a
pop af
add a, e
;src\main.c:86: if (player.position.y > (160 - 16)) {
ld [bc],a
ld c, a
ld a, $90
sub a, c
ret NC
;src\main.c:88: OBP0 += 1;
ldh a, (_OBP0+0)
inc a
ldh (_OBP0+0),a
;src\main.c:89: init_player();
call _init_player
.l00106:
;src\main.c:91: }
ret
;src\main.c:94: void draw(void)
; ---------------------------------
; Function draw
; ---------------------------------
_draw::
;src\main.c:96: oam[0].x = player.position.x;
ld de, _oam+1
ld bc, _player+0
ld a, [bc]
ld [de], a
;src\main.c:97: oam[0].y = player.position.y;
ld a, ((_player + 0x0001) + 0)
ld hl, _oam
ld [hl], a
;src\main.c:99: oam[1].x = player.position.x + 8;
ld de, _oam+5
ld a, [bc]
add a, $08
ld [de], a
;src\main.c:100: oam[1].y = player.position.y;
ld a, ((_player + 0x0001) + 0)
ld hl, (_oam + 0x0004)
ld [hl], a
;src\main.c:102: oam[2].x = player.position.x;
ld de, _oam+9
ld a, [bc]
ld [de], a
;src\main.c:103: oam[2].y = player.position.y + 8;
ld a, ((_player + 0x0001) + 0)
add a, $08
ld hl, (_oam + 0x0008)
ld [hl], a
;src\main.c:105: oam[3].x = player.position.x + 8;
ld de, _oam+13
ld a, [bc]
add a, $08
ld [de], a
;src\main.c:106: oam[3].y = player.position.y + 8;
ld bc, _oam+12
ld a, ((_player + 0x0001) + 0)
add a, $08
ld [bc], a
.l00101:
;src\main.c:144: }
ret
SECTION "src\main.c_CODE",CODE
SECTION "CABS (ABS)",CODE
| 14.78112 | 76 | 0.484361 |
713135ef2512d8565d4e70424dc92ebc7a5d1e52 | 709 | asm | Assembly | oeis/225/A225602.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/225/A225602.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/225/A225602.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A225602: a(n) = A002426(n^2), where A002426 is the central trinomial coefficients.
; Submitted by Jamie Morken(w1)
; 1,1,19,3139,5196627,82176836301,12159131877715993,16639279789182494873661,209099036316263774148543463251,24017537903429183163390175566336055657,25134265191388162956642519120384003897467908119,239089990313305548946878880624659134220897530949847409821,20638081170588955815196336018557917419453342418965618770614109460953,16144415223776922432925059045913313026525389648825753664447600993956712088236923,114334671589179497028750638539891591576013874607411330914741616099811307078633341681739704967
pow $0,2
seq $0,2426 ; Central trinomial coefficients: largest coefficient of (1 + x + x^2)^n.
| 101.285714 | 495 | 0.891396 |
6b588ae37a97164bb117034f793be9e4b4cdc990 | 279 | asm | Assembly | libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_top.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_top.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_top.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; void *wa_priority_queue_top(wa_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC _wa_priority_queue_top
EXTERN asm_wa_priority_queue_top
_wa_priority_queue_top:
pop af
pop hl
push hl
push af
jp asm_wa_priority_queue_top
| 13.95 | 53 | 0.802867 |
fd75cae62c7594aac95cf0a72e5094d7ce4fa063 | 676 | asm | Assembly | src/examples/04_arguments/arguments.asm | vladimir-kazan/asm | 1233961934ea95fc9b1a246a2e42f8a24d84528b | [
"Apache-2.0"
] | null | null | null | src/examples/04_arguments/arguments.asm | vladimir-kazan/asm | 1233961934ea95fc9b1a246a2e42f8a24d84528b | [
"Apache-2.0"
] | null | null | null | src/examples/04_arguments/arguments.asm | vladimir-kazan/asm | 1233961934ea95fc9b1a246a2e42f8a24d84528b | [
"Apache-2.0"
] | null | null | null | %include '../../lib/syscall.asm'
%include '../../lib/functions.asm'
SECTION .text
global start
; The last two stack items for a NASM compiled program are always the name of the program and the number of passed arguments.
start:
mov rdi, msg
call sprintLF
pop rcx ; first value on the stack is the number of arguments
nextArg:
cmp rcx, 0h ; check if there are more args
jz noMoreArgs
pop rdi ; take next argument
push rcx
call sprintLF
pop rcx
dec rcx
jmp nextArg
noMoreArgs:
mov rdi, 0h
call exit
SECTION .data
msg: db "Passing arguments:", 0h
| 22.533333 | 125 | 0.607988 |
a19af537aafc1e522c6c2600d0d166a6c81a9497 | 3,385 | asm | Assembly | Systems Programming/Assignment 2/prog7.asm | neeladripal/bcse-lab | 915d2f535ae95a062438fc85980419646a3951ad | [
"MIT"
] | null | null | null | Systems Programming/Assignment 2/prog7.asm | neeladripal/bcse-lab | 915d2f535ae95a062438fc85980419646a3951ad | [
"MIT"
] | null | null | null | Systems Programming/Assignment 2/prog7.asm | neeladripal/bcse-lab | 915d2f535ae95a062438fc85980419646a3951ad | [
"MIT"
] | 1 | 2021-08-06T14:39:53.000Z | 2021-08-06T14:39:53.000Z | ;Program for substring deletion from a given string
.model medium
.stack 100h
.data
prompt_1 db 10,13,'Enter the string : $'
prompt_2 db 10,13,'Enter the substring to be deleted : $'
prompt_3 db 10,13,'The final string is : $'
newline db 10,13,'$'
;input string
buffersize_1 db 51 ; 50 char + return
inputlength_1 db 0 ; number of read characters
string db 51 dup(0) ; actual buffer
end_1 db '$'
index1 db 0 ;index for looping
;input substring
buffersize_2 db 21 ; 20 char + return
inputlength_2 db 0 ; number of read characters
substring db 21 dup(0) ; actual buffer
index2 db 0 ;index for looping
;modified output string
index3 db 0 ;index for looping
newstring db 50 dup('$')
;macro to display prompt and print string
display macro msg
mov ah,9
lea dx,msg
int 21h
endm
;macro for string input
get_string macro buffer_
mov dx, offset buffer_ ; load our pointer to the beginning of the structure
mov ah, 0ah ; getline function
int 21h
mov si, offset buffer_ + 1 ;move pointer to the input string size
mov cl, [ si ] ;move input string size to cl
mov ch, 0 ;clear ch to use cx
inc cx
add si, cx ;move pointer to the next byte of the last input
mov al, '$'
mov [ si ], al ;add '$' after the input string
endm
;macro for copying character from input string to output string
string_copy macro
mov di,offset newstring ; load our pointer to the beginning of the structure
mov al,index3
xor ah,ah ;load the index in ax register
add di,ax ;go to the next location where the character is to be copied
mov dl,[ si ]
mov [ di ],dl ;copy from input string to output string
inc al
mov index3,al ;increment the index
endm
;macro to check whether two character of the input string and substring are same or not
compare macro
mov dl,[ si ] ; load the character of input string in dl
mov di,offset substring
mov al,index2
mov ah,ah
add di,ax
mov dh,[ di ] ; load the character of input substring in dh
cmp dl,dh ; compare dl and dh
endm
.code
main proc
mov ax,@data
mov ds,ax
display prompt_1
get_string buffersize_1 ; input the string
display prompt_2
get_string buffersize_2 ; input the substring
mov si,offset string ; load our pointer to the beginning of the structure
mov cl,inputlength_1 ; move length of the string in cl
@loop1:
mov di,offset substring ; load our pointer to the beginning of the structure
mov index2,0
string_copy
compare
jne @label1
mov bl,inputlength_2
xor bh,bh
dec bx
@loop2:
inc si
dec cl
inc index2
string_copy
compare
jne @label1
dec bl
jnz @loop2
;if the substring is present
mov bl,inputlength_2 ;move substring length to bl
mov al,index3 ; move new string index to al
sub al,bl ; subtract bl from al
mov index3,al ; save al in new string index
@label1:
inc si
loop @loop1
@print:
string_copy ; add '$' after the output string
display prompt_3
display newstring ; display the output string
mov ah,4ch
int 21h
main endp
end main
; save the characters from input string to new string, if substring found, adjust index3 to one before substring | 28.686441 | 112 | 0.668833 |
ae04f4c201fa9280afcc9f6720956ddb49ab0e13 | 430 | asm | Assembly | oeis/083/A083879.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/083/A083879.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/083/A083879.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A083879: a(0)=1, a(1)=4, a(n) = 8*a(n-1) - 14*a(n-2), n >= 2.
; Submitted by Jon Maiga
; 1,4,18,88,452,2384,12744,68576,370192,2001472,10829088,58612096,317289536,1717746944,9299922048,50350919168,272608444672,1475954689024,7991119286784,43265588647936,234249039168512,1268274072276992
mov $1,3
lpb $0
sub $0,1
sub $1,2
mul $1,2
mov $2,$3
mul $3,4
add $3,$1
mul $1,2
add $1,$2
add $3,1
lpe
mov $0,$3
add $0,1
| 22.631579 | 198 | 0.667442 |
8cc2cb577b9d639501bb341e2ce8e0deae742ecd | 172 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dconst_1_3.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dconst_1_3.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dconst_1_3.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dconst_1_3
EXTERN mm48__ac1_3
; set AC = 1/3
;
; uses : bc, de, hl
defc am48_dconst_1_3 = mm48__ac1_3
| 12.285714 | 34 | 0.709302 |
22289ac9a36402358ae61c221a4f89136a39eab9 | 288 | asm | Assembly | programs/oeis/175/A175824.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/175/A175824.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/175/A175824.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A175824: Maximum unsigned integer that can be stored in n bytes.
; 0,255,65535,16777215,4294967295,1099511627775,281474976710655,72057594037927935,18446744073709551615,4722366482869645213695,1208925819614629174706175,309485009821345068724781055
mov $1,256
pow $1,$0
sub $1,1
mov $0,$1
| 36 | 179 | 0.833333 |
f7b8fa8ea50d020839a77cbd2a71ef64b8d1ad76 | 71 | asm | Assembly | Mips/Studies/somaInteiros.asm | otavreis/-Computer-Architecture-and-Organization | 317c7077b1b08a50985767d8114af5be580cc764 | [
"MIT"
] | 1 | 2020-09-03T00:16:24.000Z | 2020-09-03T00:16:24.000Z | Mips/Studies/somaInteiros.asm | otavreis/-Computer-Architecture-and-Organization | 317c7077b1b08a50985767d8114af5be580cc764 | [
"MIT"
] | null | null | null | Mips/Studies/somaInteiros.asm | otavreis/-Computer-Architecture-and-Organization | 317c7077b1b08a50985767d8114af5be580cc764 | [
"MIT"
] | null | null | null | .text
li $t0, 75
li $t1, 25
add $s0, $t0, $t1
addi $s1, $s0, 36
| 10.142857 | 18 | 0.492958 |
f9c4d6c2ff6397edee9d59a5b7cc16b399969a9a | 537 | asm | Assembly | programs/oeis/172/A172165.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/172/A172165.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/172/A172165.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A172165: A simple sequence a(n) = n + n^(n-1).
; 2,4,12,68,630,7782,117656,2097160,43046730,1000000010,25937424612,743008370700,23298085122494,793714773254158,29192926025390640,1152921504606846992,48661191875666868498,2185911559738696531986,104127350297911241532860,5242880000000000000000020,278218429446951548637196422,15519448971100888972574851094,907846434775996175406740561352,55572324035428505185378394701848,3552713678800500929355621337890650,236773830007967588876795164938469402
mov $2,1
add $2,$0
pow $2,$0
add $0,$2
add $0,1
| 59.666667 | 438 | 0.86406 |
0b69c6129dd41be3994a36871090ba8c7db7c570 | 653 | asm | Assembly | data/pokemon/base_stats/dodrio.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/pokemon/base_stats/dodrio.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/pokemon/base_stats/dodrio.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | db DEX_DODRIO ; pokedex id
db 60, 110, 70, 100, 60
; hp atk def spd spc
db GROUND, FLYING ; type
db 45 ; catch rate
db 158 ; base exp
INCBIN "gfx/pokemon/front/dodrio.pic", 0, 1 ; sprite dimensions
dw DodrioPicFront, DodrioPicBack
db PECK, SAND_ATTACK, FURY_ATTACK, NO_MOVE ; level 1 learnset
db GROWTH_MEDIUM_FAST ; growth rate
; tm/hm learnset
tmhm WHIRLWIND, TOXIC, BODY_SLAM, TAKE_DOWN, DOUBLE_EDGE, \
HYPER_BEAM, RAGE, MIMIC, DOUBLE_TEAM, REFLECT, \
BIDE, SKULL_BASH, SKY_ATTACK, REST, TRI_ATTACK, \
SUBSTITUTE, DIG
; end
db 0 ; padding
| 27.208333 | 77 | 0.624809 |
2eb8dcf66a1872f72167e6c9838aebbe2b30619d | 124 | asm | Assembly | bin/crt0.asm | MrBad/cosiris | 2bb52efd58e705d3d5309c58ea0012a916a60b0e | [
"MIT"
] | 10 | 2017-09-12T00:37:33.000Z | 2021-01-20T07:04:32.000Z | bin/crt0.asm | MrBad/cosiris | 2bb52efd58e705d3d5309c58ea0012a916a60b0e | [
"MIT"
] | null | null | null | bin/crt0.asm | MrBad/cosiris | 2bb52efd58e705d3d5309c58ea0012a916a60b0e | [
"MIT"
] | 1 | 2021-06-25T17:18:13.000Z | 2021-06-25T17:18:13.000Z | extern _ini, main, exit
section .text
global start
start:
call _ini
call main
push eax
call exit
jmp $
| 11.272727 | 23 | 0.637097 |
86aa2f124a0d018bf4db142005661900b8c3fd6d | 1,898 | asm | Assembly | C/BiosLib/fmemcpy.asm | p-k-p/SysToolsLib | 827be2799e541410cb5c11358cd4ce6859e171ad | [
"Apache-2.0"
] | 232 | 2016-04-27T21:56:11.000Z | 2022-03-29T09:02:15.000Z | C/BiosLib/fmemcpy.asm | p-k-p/SysToolsLib | 827be2799e541410cb5c11358cd4ce6859e171ad | [
"Apache-2.0"
] | 31 | 2016-05-09T09:05:36.000Z | 2022-03-29T19:17:45.000Z | C/BiosLib/fmemcpy.asm | p-k-p/SysToolsLib | 827be2799e541410cb5c11358cd4ce6859e171ad | [
"Apache-2.0"
] | 94 | 2016-06-01T18:10:39.000Z | 2022-03-26T10:44:57.000Z | page ,132
TITLE C library emulation, not relying on MS-DOS.
;*****************************************************************************;
; ;
; FILE NAME: fmemcpy.asm ;
; ;
; DESCRIPTION: Copy a far block of memory ;
; ;
; NOTES: ;
; ;
; HISTORY: ;
; 1995/09/14 JFL Created this file. ;
; ;
; (c) Copyright 1995-2017 Hewlett Packard Enterprise Development LP ;
; Licensed under the Apache 2.0 license - www.apache.org/licenses/LICENSE-2.0 ;
;*****************************************************************************;
INCLUDE ADEFINE.INC ; For the segment definitions
.286
.code
;-----------------------------------------------------------------------------;
; ;
; Function: _fmemcpy ;
; ;
; Description: Copy a far block of memory ;
; ;
; Parameters: ARG1 Far pointer to the destination buffer ;
; ARG2 Far pointer to the source buffer ;
; ARG3 Number of characters to copy ;
; ;
; Returns: DX:AX The destination pointer ;
; ;
; Notes: ;
; ;
; Regs altered: AX, CX, ES ;
; ;
; History: ;
; ;
; 1995/09/14 JFL Created this routine, adapted from memcpy. ;
; ;
;-----------------------------------------------------------------------------;
_fmemcpy proc C public, lpDEST:DWORD, lpSrc:DWORD, wCount:WORD
push si
push di
push ds
lds si, lpSrc ; Source
les di, lpDest ; Destination
mov cx, wCount ; Count in CX
mov ax, di ; Copy destination into output
mov dx, es
rep movsb
pop ds
pop di
pop si
ret
_fmemcpy endp
END
| 27.507246 | 79 | 0.402002 |
5ff6898b0830a769044e7a036a3c31a684defa04 | 2,461 | asm | Assembly | pb2000/cksum.asm | wowczarek/pbnet | 5451800ef5dbc6cd05786e26e440aca9f2f8d037 | [
"BSD-2-Clause"
] | 1 | 2021-08-18T02:09:23.000Z | 2021-08-18T02:09:23.000Z | pb2000/cksum.asm | wowczarek/pbnet | 5451800ef5dbc6cd05786e26e440aca9f2f8d037 | [
"BSD-2-Clause"
] | null | null | null | pb2000/cksum.asm | wowczarek/pbnet | 5451800ef5dbc6cd05786e26e440aca9f2f8d037 | [
"BSD-2-Clause"
] | null | null | null | ; Copyright (c) 2021, Wojciech Owczarek
; All rights reserved.
; BSD 2-clause licence - see LICENSE in the top directory
; base/org are meaningless in inline code, but keep the compiler happy
BASE: EQU &H7000
START here
ORG BASE
here:
; This is a fairly tiny bit of code, but writing it was so much fun,
; hence the comment overload:
; calculate an RFC1071 checksum. we are little-endian, network is big-endian,
; but behold, the wonder of mathematics! the sum is byte-order independent!
; 21 instructions, 51 bytes of machine code.
; can be reduced to 20 instructions if we move ldiw before jr in loop:
; and then skip the ld in lastbyte:, but this means we always read
; 1 or 2 bytes past the buffer. this is safe, but, principles...
; data addr: $0..$1, offset: $2..$3, len: $4..$5
ldm $0,(IX+$SX),6 ; load all three args into $0..$5
adw $0, $2 ; add offset to address
pre IZ, $0 ; put the result into IZ (starting address)
ldw $2, 2 ; constant = 2
xrw $6, $6 ; zeroize $6 = sum
; $SZ=>$0,$SY=>$30(=1),$SX=>$31(=0)
; we will now be using $0..$1 to load the words,
; because it is available as specific register $SZ, saving 3 cycles on adw
; hd61700 assembler optimises $0/30/31 to $Z/Y/X automatically,
; but we use them here explicitly
loop:
; you would expect sbcw first (check), jump on carry, then sbw (subtract)...
; but we decrement in advance, and thus save an extra instruction per loop. WIN.
sbw $4, $2 ; len -= 2 -> if(len>1)
jr c, lastbyte ; no? no loop
ldiw $0,(IZ+$SX); next word into $0..$1, pos+=2
adw $6,$SZ ; add word
jr nc, loop ; no carry = continue
adw $6,$SY,loop ; extra 1 for carry and continue
lastbyte:
; this also works as a check, which we would have done anyway:
adw $4, $2 ; we only end up with -1 or -2 here. add the 2 back again
jr z, end ; 0=done, the only other possible $4 value is 1 = last byte
ld $0, (IZ+$SX) ; last byte into $0
byu $1 ; zero into $1
adw $6,$SZ ; add last word
jr nc,end ; no carry = done
adw $6,$SY ; extra 1 for carry
end:
invw $6 ; invert: if inverting a 0 sum wasn't a requirement,
; we could swap all adws for sbws and remove this line...
biu $2 ; turn the 2 into 4 because we can (was: ld $4,4)
stw $6, (IX-$2) ; result! (IX-4)
| 41.711864 | 84 | 0.611946 |
5486af33d37e360733e9ca8d04c7e27c6f31a704 | 348 | asm | Assembly | oeis/276/A276877.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/276/A276877.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/276/A276877.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A276877: Sums-complement of the Beatty sequence for Pi.
; Submitted by Jamie Morken(s1)
; 1,2,5,8,11,14,17,20,23,24,27,30,33,36,39,42,45,46,49,52,55,58,61,64,67,68,71,74,77,80,83,86,89,90,93,96,99,102,105,108,111,112,115,118,121,124,127,130,133,134,137,140,143,146,149,152,155,156,159,162
mov $1,$0
mul $1,7
div $1,8
mul $1,2
add $0,$1
add $0,1
| 31.636364 | 200 | 0.683908 |
36b795855cc78e189729ccf3d3812cbd3b9eb75f | 813 | asm | Assembly | oeis/067/A067804.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/067/A067804.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/067/A067804.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A067804: Triangle read by rows: T(n,k) is the number of walks (each step +-1) of length 2n which have a cumulative value of 0 last at step 2k.
; Submitted by Simon Strandgaard
; 1,2,2,6,4,6,20,12,12,20,70,40,36,40,70,252,140,120,120,140,252,924,504,420,400,420,504,924,3432,1848,1512,1400,1400,1512,1848,3432,12870,6864,5544,5040,4900,5040,5544,6864,12870,48620,25740,20592,18480,17640,17640,18480,20592,25740,48620,184756,97240,77220,68640,64680,63504,64680,68640,77220,97240,184756,705432,369512,291720,257400,240240,232848,232848,240240,257400,291720,369512,705432,2704156,1410864,1108536,972400,900900,864864,853776,864864,900900,972400,1108536,1410864,2704156,10400600
lpb $0
add $1,1
sub $0,$1
mov $2,$1
sub $2,$0
lpe
mov $1,$0
mul $1,2
bin $1,$0
mov $0,2
mul $0,$2
bin $0,$2
mul $1,$0
mov $0,$1
| 42.789474 | 497 | 0.741697 |
ea9cb5a19c214d35b920d69a7b859ffb2f2d3d96 | 89 | asm | Assembly | old/nothing.asm | Bigsby/x86_64 | 52070c59b3399cb22a181af550a3079e629fa566 | [
"MIT"
] | null | null | null | old/nothing.asm | Bigsby/x86_64 | 52070c59b3399cb22a181af550a3079e629fa566 | [
"MIT"
] | null | null | null | old/nothing.asm | Bigsby/x86_64 | 52070c59b3399cb22a181af550a3079e629fa566 | [
"MIT"
] | null | null | null | [org 0x7c00]
mov ah, 0x0e
mov al, 'H'
int 0x10
jmp $
times 510-($-$$) db 0
dw 0xaa55
| 7.416667 | 21 | 0.595506 |
e70b824edc6c8afa75ea47522a9224b8f0d17f6d | 80 | asm | Assembly | test/data/input/unnecessary-jumps-2.asm | CDPcode/optimips-prime | 4ce7a5edf170a6811eebbe21e8d632fca7e4ed7b | [
"MIT"
] | null | null | null | test/data/input/unnecessary-jumps-2.asm | CDPcode/optimips-prime | 4ce7a5edf170a6811eebbe21e8d632fca7e4ed7b | [
"MIT"
] | null | null | null | test/data/input/unnecessary-jumps-2.asm | CDPcode/optimips-prime | 4ce7a5edf170a6811eebbe21e8d632fca7e4ed7b | [
"MIT"
] | null | null | null | j L0
add $v0, $a0, $t0
L0:
beqz $v0, L1
add $v0, $a0, $t0
L1:
add $v0, $a0, $t0
| 10 | 17 | 0.525 |
7de2baabe7b80565090e3c86a1957cb257cb766c | 490 | asm | Assembly | oeis/113/A113974.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/113/A113974.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/113/A113974.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A113974: Expansion of (1-phi(x^3)^3/phi(x))/2 where phi() is a Ramanujan theta function.
; Submitted by Christian Krause
; 1,-2,1,-1,0,-2,2,-2,1,0,0,-1,2,-4,0,-1,0,-2,2,0,2,0,0,-2,1,-4,1,-2,0,0,2,-2,0,0,0,-1,2,-4,2,0,0,-4,2,0,0,0,0,-1,3,-2,0,-2,0,-2,0,-4,2,0,0,0,2,-4,2,-1,0,0,2,0,0,0,0,-2,2,-4,1,-2,0,-4,2,0,1,0,0,-2,0,-4,0,0,0,0,4,0,2,0,0,-2,2,-6,0,-1
mov $2,-1
pow $2,$0
seq $0,123331 ; Expansion of (c(q)^2/(3c(q^2))-1)/2 in powers of q where c(q) is a cubic AGM function.
mul $0,$2
| 54.444444 | 232 | 0.553061 |
c3528ebbf160697d6124c03082e6ed9e831b2246 | 926 | asm | Assembly | programs/oeis/134/A134986.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/134/A134986.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/134/A134986.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A134986: a(n) = smallest integer m not equal to n such that n = (floor(n^2/m) + m)/2.
; 2,3,2,3,4,5,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24,25,26,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,49,50,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187
lpb $0,1
add $1,$0
sub $0,1
trn $0,2
add $0,4
sub $1,1
add $2,2
trn $0,$2
add $1,1
sub $1,$0
trn $0,1
lpe
trn $1,1
add $1,$0
add $1,2
| 48.736842 | 682 | 0.657667 |
242927d66d490155057e26e8330b08350be704b2 | 318 | asm | Assembly | programs/oeis/053/A053844.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/053/A053844.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/053/A053844.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A053844: (Sum of digits of n written in base 9) modulo 9.
; 0,1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,0,2,3,4,5,6,7,8,0,1,3,4,5,6,7,8,0,1,2,4,5,6,7,8,0,1,2,3,5,6,7,8,0,1,2,3,4,6,7,8,0,1,2,3,4,5,7,8,0,1,2,3,4,5,6,8,0,1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,0,2,3,4,5,6,7,8,0,1,3,4,5,6,7,8
lpb $0
add $1,$0
div $0,9
mod $1,9
lpe
| 35.333333 | 211 | 0.531447 |
7ece56a586c882a632d6b36e6559fdfc2954afc6 | 730 | asm | Assembly | data/pokemon/base_stats/nidorino.asm | genterz/pokecross | 5e62ab6c23e624ea82d599af306f9c52d768a8b4 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | data/pokemon/base_stats/nidorino.asm | genterz/pokecross | 5e62ab6c23e624ea82d599af306f9c52d768a8b4 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | data/pokemon/base_stats/nidorino.asm | genterz/pokecross | 5e62ab6c23e624ea82d599af306f9c52d768a8b4 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | db NIDORINO ; 033
db 61, 72, 57, 65, 55, 55
; hp atk def spd sat sdf
db POISON, POISON ; type
db 120 ; catch rate
db 118 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/nidorino/front.dimensions"
db 0, 0, 0, 0 ; padding
db GROWTH_MEDIUM_SLOW ; growth rate
dn EGG_MONSTER, EGG_GROUND ; egg groups
; tm/hm learnset
tmhm HEADBUTT, CURSE, TOXIC, ROCK_SMASH, HIDDEN_POWER, SUNNY_DAY, SNORE, BLIZZARD, PROTECT, RAIN_DANCE, ENDURE, FRUSTRATION, IRON_TAIL, THUNDER, RETURN, MUD_SLAP, DOUBLE_TEAM, SWAGGER, SLEEP_TALK, DEFENSE_CURL, DETECT, REST, ATTRACT, THIEF, STRENGTH, THUNDERBOLT, ICE_BEAM
; end
| 33.181818 | 273 | 0.717808 |
827ea2209f1fed9e769c3e72ae2ad82ba2b44d3e | 123 | asm | Assembly | u7si/eop2-dispatchTable.asm | JohnGlassmyer/UltimaHacks | f9a114e00c4a1edf1ac7792b465feff2c9b88ced | [
"MIT"
] | 68 | 2018-03-04T22:34:22.000Z | 2022-03-10T15:18:32.000Z | u7si/eop2-dispatchTable.asm | ptrie/UltimaHacks | 2c3557a86d94ad8b54b26bc395b9aed1604f8be1 | [
"MIT"
] | 19 | 2018-11-20T04:06:49.000Z | 2021-11-08T16:37:10.000Z | u7si/eop2-dispatchTable.asm | ptrie/UltimaHacks | 2c3557a86d94ad8b54b26bc395b9aed1604f8be1 | [
"MIT"
] | 4 | 2020-09-01T17:57:36.000Z | 2022-01-04T20:51:11.000Z | %include "include/u7si-all-includes.asm"
%define eopSegmentName eop2
%include "../u7-common/patch-eop-dispatchTable.asm"
| 20.5 | 51 | 0.772358 |
dda202e406b40a4b0ff4b854000a1e10d569445f | 310 | asm | Assembly | programs/oeis/021/A021719.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/021/A021719.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/021/A021719.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A021719: Decimal expansion of 1/715.
; 0,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1,3,9,8,6,0,1
add $0,1
mov $1,10
pow $1,$0
mul $1,6
div $1,4290
mod $1,10
mov $0,$1
| 28.181818 | 199 | 0.541935 |
02a7b036b5a706235e70cb0a0012e389462d8019 | 598 | asm | Assembly | oeis/152/A152744.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/152/A152744.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/152/A152744.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A152744: 7 times pentagonal numbers: a(n) = 7*n*(3*n-1)/2.
; 0,7,35,84,154,245,357,490,644,819,1015,1232,1470,1729,2009,2310,2632,2975,3339,3724,4130,4557,5005,5474,5964,6475,7007,7560,8134,8729,9345,9982,10640,11319,12019,12740,13482,14245,15029,15834,16660,17507,18375,19264,20174,21105,22057,23030,24024,25039,26075,27132,28210,29309,30429,31570,32732,33915,35119,36344,37590,38857,40145,41454,42784,44135,45507,46900,48314,49749,51205,52682,54180,55699,57239,58800,60382,61985,63609,65254,66920,68607,70315,72044,73794,75565,77357,79170,81004,82859,84735
mul $0,3
bin $0,2
div $0,3
mul $0,7
| 74.75 | 499 | 0.777592 |
f3384ca82566c6bd18e82983c8b7fd16f660a5d8 | 27,882 | asm | Assembly | linux/contrib/libjpeg-turbo-dev/simd/x86_64/jdsample-avx2.asm | darthrake/openpnp-capture | 1b2153d4b8550120c5e58a30eb85e4f3a5529a73 | [
"MIT"
] | 76 | 2017-02-20T09:35:16.000Z | 2022-03-03T23:59:43.000Z | linux/contrib/libjpeg-turbo-dev/simd/x86_64/jdsample-avx2.asm | darthrake/openpnp-capture | 1b2153d4b8550120c5e58a30eb85e4f3a5529a73 | [
"MIT"
] | 39 | 2017-07-17T18:10:33.000Z | 2022-03-26T21:51:33.000Z | linux/contrib/libjpeg-turbo-dev/simd/x86_64/jdsample-avx2.asm | darthrake/openpnp-capture | 1b2153d4b8550120c5e58a30eb85e4f3a5529a73 | [
"MIT"
] | 35 | 2017-07-04T07:31:53.000Z | 2022-03-10T13:50:02.000Z | ;
; jdsample.asm - upsampling (64-bit AVX2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, D. R. Commander.
; Copyright (C) 2015, Intel Corporation.
;
; Based on the 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
;
; [TAB8]
%include "jsimdext.inc"
; --------------------------------------------------------------------------
SECTION SEG_CONST
alignz 32
global EXTN(jconst_fancy_upsample_avx2)
EXTN(jconst_fancy_upsample_avx2):
PW_ONE times 16 dw 1
PW_TWO times 16 dw 2
PW_THREE times 16 dw 3
PW_SEVEN times 16 dw 7
PW_EIGHT times 16 dw 8
alignz 32
; --------------------------------------------------------------------------
SECTION SEG_TEXT
BITS 64
;
; Fancy processing for the common case of 2:1 horizontal and 1:1 vertical.
;
; The upsampling algorithm is linear interpolation between pixel centers,
; also known as a "triangle filter". This is a good compromise between
; speed and visual quality. The centers of the output pixels are 1/4 and 3/4
; of the way between input pixel centers.
;
; GLOBAL(void)
; jsimd_h2v1_fancy_upsample_avx2 (int max_v_samp_factor,
; JDIMENSION downsampled_width,
; JSAMPARRAY input_data,
; JSAMPARRAY *output_data_ptr);
;
; r10 = int max_v_samp_factor
; r11d = JDIMENSION downsampled_width
; r12 = JSAMPARRAY input_data
; r13 = JSAMPARRAY *output_data_ptr
align 32
global EXTN(jsimd_h2v1_fancy_upsample_avx2)
EXTN(jsimd_h2v1_fancy_upsample_avx2):
push rbp
mov rax, rsp
mov rbp, rsp
push_xmm 3
collect_args 4
mov eax, r11d ; colctr
test rax, rax
jz near .return
mov rcx, r10 ; rowctr
test rcx, rcx
jz near .return
mov rsi, r12 ; input_data
mov rdi, r13
mov rdi, JSAMPARRAY [rdi] ; output_data
vpxor ymm0, ymm0, ymm0 ; ymm0=(all 0's)
vpcmpeqb xmm9, xmm9, xmm9
vpsrldq xmm10, xmm9, (SIZEOF_XMMWORD-1) ; (ff -- -- -- ... -- --) LSB is ff
vpslldq xmm9, xmm9, (SIZEOF_XMMWORD-1)
vperm2i128 ymm9, ymm9, ymm9, 1 ; (---- ---- ... ---- ---- ff) MSB is ff
.rowloop:
push rax ; colctr
push rdi
push rsi
mov rsi, JSAMPROW [rsi] ; inptr
mov rdi, JSAMPROW [rdi] ; outptr
test rax, SIZEOF_YMMWORD-1
jz short .skip
mov dl, JSAMPLE [rsi+(rax-1)*SIZEOF_JSAMPLE]
mov JSAMPLE [rsi+rax*SIZEOF_JSAMPLE], dl ; insert a dummy sample
.skip:
vpand ymm7, ymm10, YMMWORD [rsi+0*SIZEOF_YMMWORD]
add rax, byte SIZEOF_YMMWORD-1
and rax, byte -SIZEOF_YMMWORD
cmp rax, byte SIZEOF_YMMWORD
ja short .columnloop
.columnloop_last:
vpand ymm6, ymm9, YMMWORD [rsi+0*SIZEOF_YMMWORD]
jmp short .upsample
.columnloop:
vmovdqu ymm6, YMMWORD [rsi+1*SIZEOF_YMMWORD]
vperm2i128 ymm6, ymm0, ymm6, 0x20
vpslldq ymm6, ymm6, 15
.upsample:
vmovdqu ymm1, YMMWORD [rsi+0*SIZEOF_YMMWORD] ; ymm1=( 0 1 2 ... 29 30 31)
vperm2i128 ymm2, ymm0, ymm1, 0x20
vpalignr ymm2, ymm1, ymm2, 15 ; ymm2=(-- 0 1 ... 28 29 30)
vperm2i128 ymm4, ymm0, ymm1, 0x03
vpalignr ymm3, ymm4, ymm1, 1 ; ymm3=( 1 2 3 ... 30 31 --)
vpor ymm2, ymm2, ymm7 ; ymm2=(-1 0 1 ... 28 29 30)
vpor ymm3, ymm3, ymm6 ; ymm3=( 1 2 3 ... 30 31 32)
vpsrldq ymm7, ymm4, (SIZEOF_XMMWORD-1) ; ymm7=(31 -- -- ... -- -- --)
vpunpckhbw ymm4, ymm1, ymm0 ; ymm4=( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm5, ymm1, ymm0 ; ymm5=( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm1, ymm5, ymm4, 0x20 ; ymm1=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm4, ymm5, ymm4, 0x31 ; ymm4=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpunpckhbw ymm5, ymm2, ymm0 ; ymm5=( 7 8 9 10 11 12 13 14 23 24 25 26 27 28 29 30)
vpunpcklbw ymm6, ymm2, ymm0 ; ymm6=(-1 0 1 2 3 4 5 6 15 16 17 18 19 20 21 22)
vperm2i128 ymm2, ymm6, ymm5, 0x20 ; ymm2=(-1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14)
vperm2i128 ymm5, ymm6, ymm5, 0x31 ; ymm5=(15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)
vpunpckhbw ymm6, ymm3, ymm0 ; ymm6=( 1 2 3 4 5 6 7 8 17 18 19 20 21 22 23 24)
vpunpcklbw ymm8, ymm3, ymm0 ; ymm8=( 9 10 11 12 13 14 15 16 25 26 27 28 29 30 31 32)
vperm2i128 ymm3, ymm8, ymm6, 0x20 ; ymm3=( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16)
vperm2i128 ymm6, ymm8, ymm6, 0x31 ; ymm6=(17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32)
vpmullw ymm1, ymm1, [rel PW_THREE]
vpmullw ymm4, ymm4, [rel PW_THREE]
vpaddw ymm2, ymm2, [rel PW_ONE]
vpaddw ymm5, ymm5, [rel PW_ONE]
vpaddw ymm3, ymm3, [rel PW_TWO]
vpaddw ymm6, ymm6, [rel PW_TWO]
vpaddw ymm2, ymm2, ymm1
vpaddw ymm5, ymm5, ymm4
vpsrlw ymm2, ymm2, 2 ; ymm2=OutLE=( 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30)
vpsrlw ymm5, ymm5, 2 ; ymm5=OutHE=(32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62)
vpaddw ymm3, ymm3, ymm1
vpaddw ymm6, ymm6, ymm4
vpsrlw ymm3, ymm3, 2 ; ymm3=OutLO=( 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31)
vpsrlw ymm6, ymm6, 2 ; ymm6=OutHO=(33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63)
vpsllw ymm3, ymm3, BYTE_BIT
vpsllw ymm6, ymm6, BYTE_BIT
vpor ymm2, ymm2, ymm3 ; ymm2=OutL=( 0 1 2 ... 29 30 31)
vpor ymm5, ymm5, ymm6 ; ymm5=OutH=(32 33 34 ... 61 62 63)
vmovdqu YMMWORD [rdi+0*SIZEOF_YMMWORD], ymm2
vmovdqu YMMWORD [rdi+1*SIZEOF_YMMWORD], ymm5
sub rax, byte SIZEOF_YMMWORD
add rsi, byte 1*SIZEOF_YMMWORD ; inptr
add rdi, byte 2*SIZEOF_YMMWORD ; outptr
cmp rax, byte SIZEOF_YMMWORD
ja near .columnloop
test eax, eax
jnz near .columnloop_last
pop rsi
pop rdi
pop rax
add rsi, byte SIZEOF_JSAMPROW ; input_data
add rdi, byte SIZEOF_JSAMPROW ; output_data
dec rcx ; rowctr
jg near .rowloop
.return:
vzeroupper
uncollect_args 4
pop_xmm 3
pop rbp
ret
; --------------------------------------------------------------------------
;
; Fancy processing for the common case of 2:1 horizontal and 2:1 vertical.
; Again a triangle filter; see comments for h2v1 case, above.
;
; GLOBAL(void)
; jsimd_h2v2_fancy_upsample_avx2 (int max_v_samp_factor,
; JDIMENSION downsampled_width,
; JSAMPARRAY input_data,
; JSAMPARRAY *output_data_ptr);
;
; r10 = int max_v_samp_factor
; r11d = JDIMENSION downsampled_width
; r12 = JSAMPARRAY input_data
; r13 = JSAMPARRAY *output_data_ptr
%define wk(i) rbp-(WK_NUM-(i))*SIZEOF_YMMWORD ; ymmword wk[WK_NUM]
%define WK_NUM 4
align 32
global EXTN(jsimd_h2v2_fancy_upsample_avx2)
EXTN(jsimd_h2v2_fancy_upsample_avx2):
push rbp
mov rax, rsp ; rax = original rbp
sub rsp, byte 4
and rsp, byte (-SIZEOF_YMMWORD) ; align to 256 bits
mov [rsp], rax
mov rbp, rsp ; rbp = aligned rbp
lea rsp, [wk(0)]
push_xmm 3
collect_args 4
push rbx
mov eax, r11d ; colctr
test rax, rax
jz near .return
mov rcx, r10 ; rowctr
test rcx, rcx
jz near .return
mov rsi, r12 ; input_data
mov rdi, r13
mov rdi, JSAMPARRAY [rdi] ; output_data
.rowloop:
push rax ; colctr
push rcx
push rdi
push rsi
mov rcx, JSAMPROW [rsi-1*SIZEOF_JSAMPROW] ; inptr1(above)
mov rbx, JSAMPROW [rsi+0*SIZEOF_JSAMPROW] ; inptr0
mov rsi, JSAMPROW [rsi+1*SIZEOF_JSAMPROW] ; inptr1(below)
mov rdx, JSAMPROW [rdi+0*SIZEOF_JSAMPROW] ; outptr0
mov rdi, JSAMPROW [rdi+1*SIZEOF_JSAMPROW] ; outptr1
vpxor ymm8, ymm8, ymm8 ; ymm8=(all 0's)
vpcmpeqb xmm9, xmm9, xmm9
vpsrldq xmm10, xmm9, (SIZEOF_XMMWORD-2) ; (ffff ---- ---- ... ---- ----) LSB is ffff
vpslldq xmm9, xmm9, (SIZEOF_XMMWORD-2)
vperm2i128 ymm9, ymm9, ymm9, 1 ; (---- ---- ... ---- ---- ffff) MSB is ffff
test rax, SIZEOF_YMMWORD-1
jz short .skip
push rdx
mov dl, JSAMPLE [rcx+(rax-1)*SIZEOF_JSAMPLE]
mov JSAMPLE [rcx+rax*SIZEOF_JSAMPLE], dl
mov dl, JSAMPLE [rbx+(rax-1)*SIZEOF_JSAMPLE]
mov JSAMPLE [rbx+rax*SIZEOF_JSAMPLE], dl
mov dl, JSAMPLE [rsi+(rax-1)*SIZEOF_JSAMPLE]
mov JSAMPLE [rsi+rax*SIZEOF_JSAMPLE], dl ; insert a dummy sample
pop rdx
.skip:
; -- process the first column block
vmovdqu ymm0, YMMWORD [rbx+0*SIZEOF_YMMWORD] ; ymm0=row[ 0][0]
vmovdqu ymm1, YMMWORD [rcx+0*SIZEOF_YMMWORD] ; ymm1=row[-1][0]
vmovdqu ymm2, YMMWORD [rsi+0*SIZEOF_YMMWORD] ; ymm2=row[+1][0]
vpunpckhbw ymm4, ymm0, ymm8 ; ymm4=row[ 0]( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm5, ymm0, ymm8 ; ymm5=row[ 0]( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm0, ymm5, ymm4, 0x20 ; ymm0=row[ 0]( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm4, ymm5, ymm4, 0x31 ; ymm4=row[ 0](16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpunpckhbw ymm5, ymm1, ymm8 ; ymm5=row[-1]( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm6, ymm1, ymm8 ; ymm6=row[-1]( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm1, ymm6, ymm5, 0x20 ; ymm1=row[-1]( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm5, ymm6, ymm5, 0x31 ; ymm5=row[-1](16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpunpckhbw ymm6, ymm2, ymm8 ; ymm6=row[+1]( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm3, ymm2, ymm8 ; ymm3=row[+1]( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm2, ymm3, ymm6, 0x20 ; ymm2=row[+1]( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm6, ymm3, ymm6, 0x31 ; ymm6=row[+1](16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpmullw ymm0, ymm0, [rel PW_THREE]
vpmullw ymm4, ymm4, [rel PW_THREE]
vpaddw ymm1, ymm1, ymm0 ; ymm1=Int0L=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vpaddw ymm5, ymm5, ymm4 ; ymm5=Int0H=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpaddw ymm2, ymm2, ymm0 ; ymm2=Int1L=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vpaddw ymm6, ymm6, ymm4 ; ymm6=Int1H=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vmovdqu YMMWORD [rdx+0*SIZEOF_YMMWORD], ymm1 ; temporarily save
vmovdqu YMMWORD [rdx+1*SIZEOF_YMMWORD], ymm5 ; the intermediate data
vmovdqu YMMWORD [rdi+0*SIZEOF_YMMWORD], ymm2
vmovdqu YMMWORD [rdi+1*SIZEOF_YMMWORD], ymm6
vpand ymm1, ymm1, ymm10 ; ymm1=( 0 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --)
vpand ymm2, ymm2, ymm10 ; ymm2=( 0 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --)
vmovdqa YMMWORD [wk(0)], ymm1
vmovdqa YMMWORD [wk(1)], ymm2
add rax, byte SIZEOF_YMMWORD-1
and rax, byte -SIZEOF_YMMWORD
cmp rax, byte SIZEOF_YMMWORD
ja short .columnloop
.columnloop_last:
; -- process the last column block
vpand ymm1, ymm9, YMMWORD [rdx+1*SIZEOF_YMMWORD]
vpand ymm2, ymm9, YMMWORD [rdi+1*SIZEOF_YMMWORD]
vmovdqa YMMWORD [wk(2)], ymm1 ; ymm1=(-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 31)
vmovdqa YMMWORD [wk(3)], ymm2 ; ymm2=(-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 31)
jmp near .upsample
.columnloop:
; -- process the next column block
vmovdqu ymm0, YMMWORD [rbx+1*SIZEOF_YMMWORD] ; ymm0=row[ 0][1]
vmovdqu ymm1, YMMWORD [rcx+1*SIZEOF_YMMWORD] ; ymm1=row[-1][1]
vmovdqu ymm2, YMMWORD [rsi+1*SIZEOF_YMMWORD] ; ymm2=row[+1][1]
vpunpckhbw ymm4, ymm0, ymm8 ; ymm4=row[ 0]( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm5, ymm0, ymm8 ; ymm5=row[ 0]( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm0, ymm5, ymm4, 0x20 ; ymm0=row[ 0]( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm4, ymm5, ymm4, 0x31 ; ymm4=row[ 0](16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpunpckhbw ymm5, ymm1, ymm8 ; ymm5=row[-1]( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm6, ymm1, ymm8 ; ymm6=row[-1]( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm1, ymm6, ymm5, 0x20 ; ymm1=row[-1]( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm5, ymm6, ymm5, 0x31 ; ymm5=row[-1](16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpunpckhbw ymm6, ymm2, ymm8 ; ymm6=row[+1]( 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31)
vpunpcklbw ymm7, ymm2, ymm8 ; ymm7=row[+1]( 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23)
vperm2i128 ymm2, ymm7, ymm6, 0x20 ; ymm2=row[+1]( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vperm2i128 ymm6, ymm7, ymm6, 0x31 ; ymm6=row[+1](16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpmullw ymm0, ymm0, [rel PW_THREE]
vpmullw ymm4, ymm4, [rel PW_THREE]
vpaddw ymm1, ymm1, ymm0 ; ymm1=Int0L=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vpaddw ymm5, ymm5, ymm4 ; ymm5=Int0H=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vpaddw ymm2, ymm2, ymm0 ; ymm2=Int1L=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vpaddw ymm6, ymm6, ymm4 ; ymm6=Int1H=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vmovdqu YMMWORD [rdx+2*SIZEOF_YMMWORD], ymm1 ; temporarily save
vmovdqu YMMWORD [rdx+3*SIZEOF_YMMWORD], ymm5 ; the intermediate data
vmovdqu YMMWORD [rdi+2*SIZEOF_YMMWORD], ymm2
vmovdqu YMMWORD [rdi+3*SIZEOF_YMMWORD], ymm6
vperm2i128 ymm1, ymm8, ymm1, 0x20
vpslldq ymm1, ymm1, 14 ; ymm1=(-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 0)
vperm2i128 ymm2, ymm8, ymm2, 0x20
vpslldq ymm2, ymm2, 14 ; ymm2=(-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 0)
vmovdqa YMMWORD [wk(2)], ymm1
vmovdqa YMMWORD [wk(3)], ymm2
.upsample:
; -- process the upper row
vmovdqu ymm7, YMMWORD [rdx+0*SIZEOF_YMMWORD] ; ymm7=Int0L=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vmovdqu ymm3, YMMWORD [rdx+1*SIZEOF_YMMWORD] ; ymm3=Int0H=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vperm2i128 ymm0, ymm8, ymm7, 0x03
vpalignr ymm0, ymm0, ymm7, 2 ; ymm0=( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 --)
vperm2i128 ymm4, ymm8, ymm3, 0x20
vpslldq ymm4, ymm4, 14 ; ymm4=(-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 16)
vperm2i128 ymm5, ymm8, ymm7, 0x03
vpsrldq ymm5, ymm5, 14 ; ymm5=(15 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --)
vperm2i128 ymm6, ymm8, ymm3, 0x20
vpalignr ymm6, ymm3, ymm6, 14 ; ymm6=(-- 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)
vpor ymm0, ymm0, ymm4 ; ymm0=( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16)
vpor ymm5, ymm5, ymm6 ; ymm5=(15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)
vperm2i128 ymm2, ymm8, ymm3, 0x03
vpalignr ymm2, ymm2, ymm3, 2 ; ymm2=(17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 --)
vperm2i128 ymm4, ymm8, ymm3, 0x03
vpsrldq ymm4, ymm4, 14 ; ymm4=(31 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --)
vperm2i128 ymm1, ymm8, ymm7, 0x20
vpalignr ymm1, ymm7, ymm1, 14 ; ymm1=(-- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14)
vpor ymm1, ymm1, YMMWORD [wk(0)] ; ymm1=(-1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14)
vpor ymm2, ymm2, YMMWORD [wk(2)] ; ymm2=(17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32)
vmovdqa YMMWORD [wk(0)], ymm4
vpmullw ymm7, ymm7, [rel PW_THREE]
vpmullw ymm3, ymm3, [rel PW_THREE]
vpaddw ymm1, ymm1, [rel PW_EIGHT]
vpaddw ymm5, ymm5, [rel PW_EIGHT]
vpaddw ymm0, ymm0, [rel PW_SEVEN]
vpaddw ymm2, [rel PW_SEVEN]
vpaddw ymm1, ymm1, ymm7
vpaddw ymm5, ymm5, ymm3
vpsrlw ymm1, ymm1, 4 ; ymm1=Out0LE=( 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30)
vpsrlw ymm5, ymm5, 4 ; ymm5=Out0HE=(32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62)
vpaddw ymm0, ymm0, ymm7
vpaddw ymm2, ymm2, ymm3
vpsrlw ymm0, ymm0, 4 ; ymm0=Out0LO=( 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31)
vpsrlw ymm2, ymm2, 4 ; ymm2=Out0HO=(33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63)
vpsllw ymm0, ymm0, BYTE_BIT
vpsllw ymm2, ymm2, BYTE_BIT
vpor ymm1, ymm1, ymm0 ; ymm1=Out0L=( 0 1 2 ... 29 30 31)
vpor ymm5, ymm5, ymm2 ; ymm5=Out0H=(32 33 34 ... 61 62 63)
vmovdqu YMMWORD [rdx+0*SIZEOF_YMMWORD], ymm1
vmovdqu YMMWORD [rdx+1*SIZEOF_YMMWORD], ymm5
; -- process the lower row
vmovdqu ymm6, YMMWORD [rdi+0*SIZEOF_YMMWORD] ; ymm6=Int1L=( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
vmovdqu ymm4, YMMWORD [rdi+1*SIZEOF_YMMWORD] ; ymm4=Int1H=(16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
vperm2i128 ymm7, ymm8, ymm6, 0x03
vpalignr ymm7, ymm7, ymm6, 2 ; ymm7=( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 --)
vperm2i128 ymm3, ymm8, ymm4, 0x20
vpslldq ymm3, ymm3, 14 ; ymm3=(-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 16)
vperm2i128 ymm0, ymm8, ymm6, 0x03
vpsrldq ymm0, ymm0, 14 ; ymm0=(15 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --)
vperm2i128 ymm2, ymm8, ymm4, 0x20
vpalignr ymm2, ymm4, ymm2, 14 ; ymm2=(-- 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)
vpor ymm7, ymm7, ymm3 ; ymm7=( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16)
vpor ymm0, ymm0, ymm2 ; ymm0=(15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)
vperm2i128 ymm5, ymm8, ymm4, 0x03
vpalignr ymm5, ymm5, ymm4, 2 ; ymm5=(17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 --)
vperm2i128 ymm3, ymm8, ymm4, 0x03
vpsrldq ymm3, ymm3, 14 ; ymm3=(31 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --)
vperm2i128 ymm1, ymm8, ymm6, 0x20
vpalignr ymm1, ymm6, ymm1, 14 ; ymm1=(-- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14)
vpor ymm1, ymm1, YMMWORD [wk(1)] ; ymm1=(-1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14)
vpor ymm5, ymm5, YMMWORD [wk(3)] ; ymm5=(17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32)
vmovdqa YMMWORD [wk(1)], ymm3
vpmullw ymm6, ymm6, [rel PW_THREE]
vpmullw ymm4, ymm4, [rel PW_THREE]
vpaddw ymm1, ymm1, [rel PW_EIGHT]
vpaddw ymm0, ymm0, [rel PW_EIGHT]
vpaddw ymm7, ymm7, [rel PW_SEVEN]
vpaddw ymm5, ymm5, [rel PW_SEVEN]
vpaddw ymm1, ymm1, ymm6
vpaddw ymm0, ymm0, ymm4
vpsrlw ymm1, ymm1, 4 ; ymm1=Out1LE=( 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30)
vpsrlw ymm0, ymm0, 4 ; ymm0=Out1HE=(32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62)
vpaddw ymm7, ymm7, ymm6
vpaddw ymm5, ymm5, ymm4
vpsrlw ymm7, ymm7, 4 ; ymm7=Out1LO=( 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31)
vpsrlw ymm5, ymm5, 4 ; ymm5=Out1HO=(33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63)
vpsllw ymm7, ymm7, BYTE_BIT
vpsllw ymm5, ymm5, BYTE_BIT
vpor ymm1, ymm1, ymm7 ; ymm1=Out1L=( 0 1 2 ... 29 30 31)
vpor ymm0, ymm0, ymm5 ; ymm0=Out1H=(32 33 34 ... 61 62 63)
vmovdqu YMMWORD [rdi+0*SIZEOF_YMMWORD], ymm1
vmovdqu YMMWORD [rdi+1*SIZEOF_YMMWORD], ymm0
sub rax, byte SIZEOF_YMMWORD
add rcx, byte 1*SIZEOF_YMMWORD ; inptr1(above)
add rbx, byte 1*SIZEOF_YMMWORD ; inptr0
add rsi, byte 1*SIZEOF_YMMWORD ; inptr1(below)
add rdx, byte 2*SIZEOF_YMMWORD ; outptr0
add rdi, byte 2*SIZEOF_YMMWORD ; outptr1
cmp rax, byte SIZEOF_YMMWORD
ja near .columnloop
test rax, rax
jnz near .columnloop_last
pop rsi
pop rdi
pop rcx
pop rax
add rsi, byte 1*SIZEOF_JSAMPROW ; input_data
add rdi, byte 2*SIZEOF_JSAMPROW ; output_data
sub rcx, byte 2 ; rowctr
jg near .rowloop
.return:
pop rbx
vzeroupper
uncollect_args 4
pop_xmm 3
mov rsp, rbp ; rsp <- aligned rbp
pop rsp ; rsp <- original rbp
pop rbp
ret
; --------------------------------------------------------------------------
;
; Fast processing for the common case of 2:1 horizontal and 1:1 vertical.
; It's still a box filter.
;
; GLOBAL(void)
; jsimd_h2v1_upsample_avx2 (int max_v_samp_factor,
; JDIMENSION output_width,
; JSAMPARRAY input_data,
; JSAMPARRAY *output_data_ptr);
;
; r10 = int max_v_samp_factor
; r11d = JDIMENSION output_width
; r12 = JSAMPARRAY input_data
; r13 = JSAMPARRAY *output_data_ptr
align 32
global EXTN(jsimd_h2v1_upsample_avx2)
EXTN(jsimd_h2v1_upsample_avx2):
push rbp
mov rax, rsp
mov rbp, rsp
collect_args 4
mov edx, r11d
add rdx, byte (SIZEOF_YMMWORD-1)
and rdx, -SIZEOF_YMMWORD
jz near .return
mov rcx, r10 ; rowctr
test rcx, rcx
jz short .return
mov rsi, r12 ; input_data
mov rdi, r13
mov rdi, JSAMPARRAY [rdi] ; output_data
.rowloop:
push rdi
push rsi
mov rsi, JSAMPROW [rsi] ; inptr
mov rdi, JSAMPROW [rdi] ; outptr
mov rax, rdx ; colctr
.columnloop:
cmp rax, byte SIZEOF_YMMWORD
ja near .above_16
vmovdqu xmm0, XMMWORD [rsi+0*SIZEOF_YMMWORD]
vpunpckhbw xmm1, xmm0, xmm0
vpunpcklbw xmm0, xmm0, xmm0
vmovdqu XMMWORD [rdi+0*SIZEOF_XMMWORD], xmm0
vmovdqu XMMWORD [rdi+1*SIZEOF_XMMWORD], xmm1
jmp short .nextrow
.above_16:
vmovdqu ymm0, YMMWORD [rsi+0*SIZEOF_YMMWORD]
vpermq ymm0, ymm0, 0xd8
vpunpckhbw ymm1, ymm0, ymm0
vpunpcklbw ymm0, ymm0, ymm0
vmovdqu YMMWORD [rdi+0*SIZEOF_YMMWORD], ymm0
vmovdqu YMMWORD [rdi+1*SIZEOF_YMMWORD], ymm1
sub rax, byte 2*SIZEOF_YMMWORD
jz short .nextrow
add rsi, byte SIZEOF_YMMWORD ; inptr
add rdi, byte 2*SIZEOF_YMMWORD ; outptr
jmp short .columnloop
.nextrow:
pop rsi
pop rdi
add rsi, byte SIZEOF_JSAMPROW ; input_data
add rdi, byte SIZEOF_JSAMPROW ; output_data
dec rcx ; rowctr
jg short .rowloop
.return:
vzeroupper
uncollect_args 4
pop rbp
ret
; --------------------------------------------------------------------------
;
; Fast processing for the common case of 2:1 horizontal and 2:1 vertical.
; It's still a box filter.
;
; GLOBAL(void)
; jsimd_h2v2_upsample_avx2 (int max_v_samp_factor,
; JDIMENSION output_width,
; JSAMPARRAY input_data,
; JSAMPARRAY *output_data_ptr);
;
; r10 = int max_v_samp_factor
; r11d = JDIMENSION output_width
; r12 = JSAMPARRAY input_data
; r13 = JSAMPARRAY *output_data_ptr
align 32
global EXTN(jsimd_h2v2_upsample_avx2)
EXTN(jsimd_h2v2_upsample_avx2):
push rbp
mov rax, rsp
mov rbp, rsp
collect_args 4
push rbx
mov edx, r11d
add rdx, byte (SIZEOF_YMMWORD-1)
and rdx, -SIZEOF_YMMWORD
jz near .return
mov rcx, r10 ; rowctr
test rcx, rcx
jz near .return
mov rsi, r12 ; input_data
mov rdi, r13
mov rdi, JSAMPARRAY [rdi] ; output_data
.rowloop:
push rdi
push rsi
mov rsi, JSAMPROW [rsi] ; inptr
mov rbx, JSAMPROW [rdi+0*SIZEOF_JSAMPROW] ; outptr0
mov rdi, JSAMPROW [rdi+1*SIZEOF_JSAMPROW] ; outptr1
mov rax, rdx ; colctr
.columnloop:
cmp rax, byte SIZEOF_YMMWORD
ja short .above_16
vmovdqu xmm0, XMMWORD [rsi+0*SIZEOF_XMMWORD]
vpunpckhbw xmm1, xmm0, xmm0
vpunpcklbw xmm0, xmm0, xmm0
vmovdqu XMMWORD [rbx+0*SIZEOF_XMMWORD], xmm0
vmovdqu XMMWORD [rbx+1*SIZEOF_XMMWORD], xmm1
vmovdqu XMMWORD [rdi+0*SIZEOF_XMMWORD], xmm0
vmovdqu XMMWORD [rdi+1*SIZEOF_XMMWORD], xmm1
jmp near .nextrow
.above_16:
vmovdqu ymm0, YMMWORD [rsi+0*SIZEOF_YMMWORD]
vpermq ymm0, ymm0, 0xd8
vpunpckhbw ymm1, ymm0, ymm0
vpunpcklbw ymm0, ymm0, ymm0
vmovdqu YMMWORD [rbx+0*SIZEOF_YMMWORD], ymm0
vmovdqu YMMWORD [rbx+1*SIZEOF_YMMWORD], ymm1
vmovdqu YMMWORD [rdi+0*SIZEOF_YMMWORD], ymm0
vmovdqu YMMWORD [rdi+1*SIZEOF_YMMWORD], ymm1
sub rax, byte 2*SIZEOF_YMMWORD
jz short .nextrow
add rsi, byte SIZEOF_YMMWORD ; inptr
add rbx, 2*SIZEOF_YMMWORD ; outptr0
add rdi, 2*SIZEOF_YMMWORD ; outptr1
jmp short .columnloop
.nextrow:
pop rsi
pop rdi
add rsi, byte 1*SIZEOF_JSAMPROW ; input_data
add rdi, byte 2*SIZEOF_JSAMPROW ; output_data
sub rcx, byte 2 ; rowctr
jg near .rowloop
.return:
pop rbx
vzeroupper
uncollect_args 4
pop rbp
ret
; For some reason, the OS X linker does not honor the request to align the
; segment unless we do this.
align 32
| 39.717949 | 116 | 0.535973 |
6d6944015f6d1ae1c44b947e54d9b9b996520631 | 5,414 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1755.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1755.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1755.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_normal_ht+0x1307d, %rsi
nop
nop
nop
xor $25900, %rax
mov $0x6162636465666768, %rdi
movq %rdi, %xmm5
movups %xmm5, (%rsi)
nop
nop
dec %rdi
lea addresses_D_ht+0xc781, %r14
nop
cmp %rsi, %rsi
mov $0x6162636465666768, %rcx
movq %rcx, %xmm2
movups %xmm2, (%r14)
nop
nop
nop
sub $57766, %rsi
lea addresses_D_ht+0x1959, %r13
nop
xor $37034, %rbp
movw $0x6162, (%r13)
nop
sub $62494, %rsi
lea addresses_normal_ht+0x89ad, %rsi
lea addresses_D_ht+0x1ca7d, %rdi
cmp $2732, %rbx
mov $37, %rcx
rep movsw
nop
nop
add %rdi, %rdi
lea addresses_UC_ht+0x1be7d, %rsi
lea addresses_A_ht+0x17e7d, %rdi
nop
nop
nop
nop
nop
cmp %r14, %r14
mov $69, %rcx
rep movsw
and $17307, %rsi
lea addresses_A_ht+0x13bef, %rax
nop
nop
nop
and $52325, %r13
movl $0x61626364, (%rax)
nop
nop
nop
nop
cmp %rsi, %rsi
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 %r11
push %r8
push %r9
push %rdx
push %rsi
// Faulty Load
lea addresses_UC+0x18e7d, %r11
nop
nop
and $17093, %r8
mov (%r11), %esi
lea oracles, %r9
and $0xff, %rsi
shlq $12, %rsi
mov (%r9,%rsi,1), %rsi
pop %rsi
pop %rdx
pop %r9
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 32, 'NT': True, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_UC', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 4}, 'dst': {'same': False, 'type': 'addresses_D_ht', 'congruent': 8}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 11}}
{'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 1}}
{'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
*/
| 45.495798 | 2,999 | 0.661618 |
eb5b2a0b68b01665a719235f52192d268601eebf | 2,021 | asm | Assembly | release/src/router/gmp/source/mpn/alpha/lshift.asm | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 12 | 2020-01-08T01:33:02.000Z | 2022-03-16T00:25:34.000Z | release/src/router/gmp/source/mpn/alpha/lshift.asm | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 8 | 2019-12-19T19:34:56.000Z | 2022-03-10T10:11:28.000Z | release/src/router/gmp/source/mpn/alpha/lshift.asm | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 2 | 2022-03-30T13:12:22.000Z | 2022-03-30T18:12:10.000Z | dnl Alpha mpn_lshift -- Shift a number left.
dnl Copyright 1994, 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by the Free Software Foundation; either version 3 of the License, or (at
dnl your option) any later version.
dnl The GNU MP Library is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
dnl License for more details.
dnl You should have received a copy of the GNU Lesser General Public License
dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
include(`../config.m4')
C cycles/limb
C EV4: 4.75
C EV5: 4
C EV6: 2
C INPUT PARAMETERS
C rp r16
C up r17
C n r18
C cnt r19
ASM_START()
PROLOGUE(mpn_lshift)
s8addq r18,r17,r17 C make r17 point at end of s1
ldq r4,-8(r17) C load first limb
subq r17,8,r17
subq r31,r19,r7
s8addq r18,r16,r16 C make r16 point at end of RES
subq r18,1,r18
and r18,4-1,r20 C number of limbs in first loop
srl r4,r7,r0 C compute function result
beq r20,$L0
subq r18,r20,r18
ALIGN(8)
$Loop0: ldq r3,-8(r17)
subq r16,8,r16
subq r17,8,r17
subq r20,1,r20
sll r4,r19,r5
srl r3,r7,r6
bis r3,r3,r4
bis r5,r6,r8
stq r8,0(r16)
bne r20,$Loop0
$L0: beq r18,$Lend
ALIGN(8)
$Loop: ldq r3,-8(r17)
subq r16,32,r16
subq r18,4,r18
sll r4,r19,r5
srl r3,r7,r6
ldq r4,-16(r17)
sll r3,r19,r1
bis r5,r6,r8
stq r8,24(r16)
srl r4,r7,r2
ldq r3,-24(r17)
sll r4,r19,r5
bis r1,r2,r8
stq r8,16(r16)
srl r3,r7,r6
ldq r4,-32(r17)
sll r3,r19,r1
bis r5,r6,r8
stq r8,8(r16)
srl r4,r7,r2
subq r17,32,r17
bis r1,r2,r8
stq r8,0(r16)
bgt r18,$Loop
$Lend: sll r4,r19,r8
stq r8,-8(r16)
ret r31,(r26),1
EPILOGUE(mpn_lshift)
ASM_END()
| 20.622449 | 79 | 0.705096 |
42f937d3ab60fadc396186a644683dece3ffea74 | 344 | asm | Assembly | Assembly/bushes_hooks.asm | CaitSith2/Enemizer | 53be2143063c5ca03216f76821ebbbce67313e34 | [
"WTFPL"
] | 2 | 2020-06-21T14:38:23.000Z | 2021-02-03T00:43:49.000Z | Assembly/bushes_hooks.asm | CaitSith2/Enemizer | 53be2143063c5ca03216f76821ebbbce67313e34 | [
"WTFPL"
] | 5 | 2020-07-16T22:12:30.000Z | 2020-08-31T22:11:54.000Z | Assembly/bushes_hooks.asm | CaitSith2/Enemizer | 53be2143063c5ca03216f76821ebbbce67313e34 | [
"WTFPL"
] | 2 | 2020-07-16T22:34:11.000Z | 2020-11-18T19:39:50.000Z | ;================================================================================
; New bush mob randomization
;--------------------------------------------------------------------------------
org $068279
NOP #$0A
JSL sprite_bush_spawn
NOP ; we keep the branch
;--------------------------------------------------------------------------------
| 38.222222 | 81 | 0.218023 |
8c787b4e5995d3d3c0b59080bbf549ab529d9c55 | 554 | asm | Assembly | oeis/017/A017199.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/017/A017199.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/017/A017199.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A017199: a(n) = (9*n + 3)^3.
; 27,1728,9261,27000,59319,110592,185193,287496,421875,592704,804357,1061208,1367631,1728000,2146689,2628072,3176523,3796416,4492125,5268024,6128487,7077888,8120601,9261000,10503459,11852352,13312053,14886936,16581375,18399744,20346417,22425768,24642171,27000000,29503629,32157432,34965783,37933056,41063625,44361864,47832147,51478848,55306341,59319000,63521199,67917312,72511713,77308776,82312875,87528384,92959677,98611128,104487111,110592000,116930169,123505992,130323843,137388096,144703125
mul $0,9
add $0,3
pow $0,3
| 79.142857 | 494 | 0.833935 |
4c1836f5a79e1645a7265850eb91af433f34ea71 | 433 | asm | Assembly | oeis/143/A143333.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/143/A143333.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/143/A143333.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A143333: Pascal's triangle binomial(n,m) read by rows, all even elements replaced by zero.
; Submitted by Jon Maiga
; 1,1,1,1,0,1,1,3,3,1,1,0,0,0,1,1,5,0,0,5,1,1,0,15,0,15,0,1,1,7,21,35,35,21,7,1,1,0,0,0,0,0,0,0,1,1,9,0,0,0,0,0,0,9,1,1,0,45,0,0,0,0,0,45,0,1,1,11,55,165,0,0,0,0,165,55,11,1,1,0,0,0,495,0,0,0,495,0,0,0,1,1,13,0,0,715,1287,0,0,1287
lpb $0
add $1,1
sub $0,$1
lpe
bin $1,$0
mov $0,$1
mod $0,2
mul $1,$0
mov $0,$1
| 30.928571 | 230 | 0.602771 |
5ffdd15dd7bcb5ef32d0b9733789dad41a04821d | 550 | asm | Assembly | programs/oeis/277/A277812.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/277/A277812.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/277/A277812.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A277812: a(n) = the first odious number encountered when starting from k = n and iterating the map k -> A003188(A006068(k)/2).
; 1,2,1,4,2,1,7,8,4,2,11,1,13,14,7,16,8,4,19,2,21,22,11,1,25,26,13,28,14,7,31,32,16,8,35,4,37,38,19,2,41,42,21,44,22,11,47,1,49,50,25,52,26,13,55,56,28,14,59,7,61,62,31,64,32,16,67,8,69,70,35,4,73,74,37,76,38,19,79,2,81,82,41,84,42,21,87,88,44,22,91,11,93,94,47,1,97,98,49,100
add $0,1
seq $0,1969 ; Evil numbers: nonnegative integers with an even number of 1's in their binary expansion.
lpb $0
dif $0,2
lpe
div $0,2
| 55 | 276 | 0.672727 |
cf6e23d3c45fd1b1e404a711fa98c98339328cd6 | 141,531 | asm | Assembly | Debug/list.asm | polamagdygeo/uWave | 88b5438735be6fc653deda1939ac978fd2aac740 | [
"MIT"
] | null | null | null | Debug/list.asm | polamagdygeo/uWave | 88b5438735be6fc653deda1939ac978fd2aac740 | [
"MIT"
] | null | null | null | Debug/list.asm | polamagdygeo/uWave | 88b5438735be6fc653deda1939ac978fd2aac740 | [
"MIT"
] | null | null | null | ;******************************************************************************
;* TI ARM C/C++ Codegen Unix v18.1.1.LTS *
;* Date/Time created: Fri Jul 3 20:08:22 2020 *
;******************************************************************************
.compiler_opts --abi=eabi --arm_vmrs_si_workaround=off --code_state=16 --diag_wrap=off --embedded_constants=on --endian=little --float_support=FPv4SPD16 --hll_source=on --object_format=elf --silicon_version=7M4 --symdebug:dwarf --symdebug:dwarf_version=3 --unaligned_access=on
.thumb
$C$DW$CU .dwtag DW_TAG_compile_unit
.dwattr $C$DW$CU, DW_AT_name("../OS/list.c")
.dwattr $C$DW$CU, DW_AT_producer("TI TI ARM C/C++ Codegen Unix v18.1.1.LTS Copyright (c) 1996-2017 Texas Instruments Incorporated")
.dwattr $C$DW$CU, DW_AT_TI_version(0x01)
.dwattr $C$DW$CU, DW_AT_comp_dir("/home/pola/workspace_v8/Microwave/Debug")
; /home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armacpia -@/tmp/TI3Mf5o4vHk
.sect ".text"
.clink
.thumbfunc vListInitialise
.thumb
.global vListInitialise
$C$DW$1 .dwtag DW_TAG_subprogram
.dwattr $C$DW$1, DW_AT_name("vListInitialise")
.dwattr $C$DW$1, DW_AT_low_pc(vListInitialise)
.dwattr $C$DW$1, DW_AT_high_pc(0x00)
.dwattr $C$DW$1, DW_AT_TI_symbol_name("vListInitialise")
.dwattr $C$DW$1, DW_AT_external
.dwattr $C$DW$1, DW_AT_TI_begin_file("../OS/list.c")
.dwattr $C$DW$1, DW_AT_TI_begin_line(0x25)
.dwattr $C$DW$1, DW_AT_TI_begin_column(0x06)
.dwattr $C$DW$1, DW_AT_decl_file("../OS/list.c")
.dwattr $C$DW$1, DW_AT_decl_line(0x25)
.dwattr $C$DW$1, DW_AT_decl_column(0x06)
.dwattr $C$DW$1, DW_AT_TI_max_frame_size(0x08)
.dwpsn file "../OS/list.c",line 38,column 1,is_stmt,address vListInitialise,isa 1
.dwfde $C$DW$CIE, vListInitialise
$C$DW$2 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$2, DW_AT_name("pxList")
.dwattr $C$DW$2, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$2, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$2, DW_AT_location[DW_OP_reg0]
;----------------------------------------------------------------------
; 37 | void vListInitialise( List_t * const pxList )
;----------------------------------------------------------------------
;*****************************************************************************
;* FUNCTION NAME: vListInitialise *
;* *
;* Regs Modified : A1,A2,SP,SR *
;* Regs Used : A1,A2,SP,LR,SR *
;* Local Frame Size : 0 Args + 4 Auto + 0 Save = 4 byte *
;*****************************************************************************
vListInitialise:
;* --------------------------------------------------------------------------*
.dwcfi cfa_offset, 0
SUB SP, SP, #8 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 8
$C$DW$3 .dwtag DW_TAG_variable
.dwattr $C$DW$3, DW_AT_name("pxList")
.dwattr $C$DW$3, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$3, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$3, DW_AT_location[DW_OP_breg13 0]
STR A1, [SP, #0] ; [DPU_V7M3_PIPE] |38|
.dwpsn file "../OS/list.c",line 42,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 42 | pxList->pxIndex = ( ListItem_t * ) &( pxList->xListEnd );
; | /*lint !e826 !e740 !e9087 The mini list structure is used as t
; | he list end to save RAM. This is checked and valid. */
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |42|
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |42|
ADDS A1, A1, #8 ; [DPU_V7M3_PIPE] |42|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |42|
.dwpsn file "../OS/list.c",line 46,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 46 | pxList->xListEnd.xItemValue = portMAX_DELAY;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |46|
MOV A2, #-1 ; [DPU_V7M3_PIPE] |46|
STR A2, [A1, #8] ; [DPU_V7M3_PIPE] |46|
.dwpsn file "../OS/list.c",line 50,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 50 | pxList->xListEnd.pxNext = ( ListItem_t * ) &( pxList->xListEnd );
; | /*lint !e826 !e740 !e9087 The mini list structure is used as the list
; | end to save RAM. This is checked and valid. */
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |50|
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |50|
ADDS A1, A1, #8 ; [DPU_V7M3_PIPE] |50|
STR A1, [A2, #12] ; [DPU_V7M3_PIPE] |50|
.dwpsn file "../OS/list.c",line 51,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 51 | pxList->xListEnd.pxPrevious = ( ListItem_t * ) &( pxList->xListEnd );/*
; | lint !e826 !e740 !e9087 The mini list structure is used as the list end
; | to save RAM. This is checked and valid. */
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |51|
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |51|
ADDS A1, A1, #8 ; [DPU_V7M3_PIPE] |51|
STR A1, [A2, #16] ; [DPU_V7M3_PIPE] |51|
.dwpsn file "../OS/list.c",line 53,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 53 | pxList->uxNumberOfItems = ( UBaseType_t ) 0U;
; 57 | listSET_LIST_INTEGRITY_CHECK_1_VALUE( pxList );
; 58 | listSET_LIST_INTEGRITY_CHECK_2_VALUE( pxList );
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |53|
MOVS A2, #0 ; [DPU_V7M3_PIPE] |53|
STR A2, [A1, #0] ; [DPU_V7M3_PIPE] |53|
.dwpsn file "../OS/list.c",line 59,column 1,is_stmt,isa 1
ADD SP, SP, #8 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 0
$C$DW$4 .dwtag DW_TAG_TI_branch
.dwattr $C$DW$4, DW_AT_low_pc(0x00)
.dwattr $C$DW$4, DW_AT_TI_return
BX LR ; [DPU_V7M3_PIPE]
; BRANCH OCCURS ; []
.dwattr $C$DW$1, DW_AT_TI_end_file("../OS/list.c")
.dwattr $C$DW$1, DW_AT_TI_end_line(0x3b)
.dwattr $C$DW$1, DW_AT_TI_end_column(0x01)
.dwendentry
.dwendtag $C$DW$1
.sect ".text"
.clink
.thumbfunc vListInitialiseItem
.thumb
.global vListInitialiseItem
$C$DW$5 .dwtag DW_TAG_subprogram
.dwattr $C$DW$5, DW_AT_name("vListInitialiseItem")
.dwattr $C$DW$5, DW_AT_low_pc(vListInitialiseItem)
.dwattr $C$DW$5, DW_AT_high_pc(0x00)
.dwattr $C$DW$5, DW_AT_TI_symbol_name("vListInitialiseItem")
.dwattr $C$DW$5, DW_AT_external
.dwattr $C$DW$5, DW_AT_TI_begin_file("../OS/list.c")
.dwattr $C$DW$5, DW_AT_TI_begin_line(0x3e)
.dwattr $C$DW$5, DW_AT_TI_begin_column(0x06)
.dwattr $C$DW$5, DW_AT_decl_file("../OS/list.c")
.dwattr $C$DW$5, DW_AT_decl_line(0x3e)
.dwattr $C$DW$5, DW_AT_decl_column(0x06)
.dwattr $C$DW$5, DW_AT_TI_max_frame_size(0x08)
.dwpsn file "../OS/list.c",line 63,column 1,is_stmt,address vListInitialiseItem,isa 1
.dwfde $C$DW$CIE, vListInitialiseItem
$C$DW$6 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$6, DW_AT_name("pxItem")
.dwattr $C$DW$6, DW_AT_TI_symbol_name("pxItem")
.dwattr $C$DW$6, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$6, DW_AT_location[DW_OP_reg0]
;----------------------------------------------------------------------
; 62 | void vListInitialiseItem( ListItem_t * const pxItem )
;----------------------------------------------------------------------
;*****************************************************************************
;* FUNCTION NAME: vListInitialiseItem *
;* *
;* Regs Modified : A1,A2,SP,SR *
;* Regs Used : A1,A2,SP,LR,SR *
;* Local Frame Size : 0 Args + 4 Auto + 0 Save = 4 byte *
;*****************************************************************************
vListInitialiseItem:
;* --------------------------------------------------------------------------*
.dwcfi cfa_offset, 0
SUB SP, SP, #8 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 8
$C$DW$7 .dwtag DW_TAG_variable
.dwattr $C$DW$7, DW_AT_name("pxItem")
.dwattr $C$DW$7, DW_AT_TI_symbol_name("pxItem")
.dwattr $C$DW$7, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$7, DW_AT_location[DW_OP_breg13 0]
STR A1, [SP, #0] ; [DPU_V7M3_PIPE] |63|
.dwpsn file "../OS/list.c",line 65,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 65 | pxItem->pxContainer = NULL;
; 69 | listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE( pxItem );
; 70 | listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE( pxItem );
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |65|
MOVS A2, #0 ; [DPU_V7M3_PIPE] |65|
STR A2, [A1, #16] ; [DPU_V7M3_PIPE] |65|
.dwpsn file "../OS/list.c",line 71,column 1,is_stmt,isa 1
ADD SP, SP, #8 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 0
$C$DW$8 .dwtag DW_TAG_TI_branch
.dwattr $C$DW$8, DW_AT_low_pc(0x00)
.dwattr $C$DW$8, DW_AT_TI_return
BX LR ; [DPU_V7M3_PIPE]
; BRANCH OCCURS ; []
.dwattr $C$DW$5, DW_AT_TI_end_file("../OS/list.c")
.dwattr $C$DW$5, DW_AT_TI_end_line(0x47)
.dwattr $C$DW$5, DW_AT_TI_end_column(0x01)
.dwendentry
.dwendtag $C$DW$5
.sect ".text"
.clink
.thumbfunc vListInsertEnd
.thumb
.global vListInsertEnd
$C$DW$9 .dwtag DW_TAG_subprogram
.dwattr $C$DW$9, DW_AT_name("vListInsertEnd")
.dwattr $C$DW$9, DW_AT_low_pc(vListInsertEnd)
.dwattr $C$DW$9, DW_AT_high_pc(0x00)
.dwattr $C$DW$9, DW_AT_TI_symbol_name("vListInsertEnd")
.dwattr $C$DW$9, DW_AT_external
.dwattr $C$DW$9, DW_AT_TI_begin_file("../OS/list.c")
.dwattr $C$DW$9, DW_AT_TI_begin_line(0x4a)
.dwattr $C$DW$9, DW_AT_TI_begin_column(0x06)
.dwattr $C$DW$9, DW_AT_decl_file("../OS/list.c")
.dwattr $C$DW$9, DW_AT_decl_line(0x4a)
.dwattr $C$DW$9, DW_AT_decl_column(0x06)
.dwattr $C$DW$9, DW_AT_TI_max_frame_size(0x10)
.dwpsn file "../OS/list.c",line 75,column 1,is_stmt,address vListInsertEnd,isa 1
.dwfde $C$DW$CIE, vListInsertEnd
$C$DW$10 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$10, DW_AT_name("pxList")
.dwattr $C$DW$10, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$10, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$10, DW_AT_location[DW_OP_reg0]
$C$DW$11 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$11, DW_AT_name("pxNewListItem")
.dwattr $C$DW$11, DW_AT_TI_symbol_name("pxNewListItem")
.dwattr $C$DW$11, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$11, DW_AT_location[DW_OP_reg1]
;----------------------------------------------------------------------
; 74 | void vListInsertEnd( List_t * const pxList, ListItem_t * const pxNewLis
; | tItem )
;----------------------------------------------------------------------
;*****************************************************************************
;* FUNCTION NAME: vListInsertEnd *
;* *
;* Regs Modified : A1,A2,SP,SR *
;* Regs Used : A1,A2,SP,LR,SR *
;* Local Frame Size : 0 Args + 12 Auto + 0 Save = 12 byte *
;*****************************************************************************
vListInsertEnd:
;* --------------------------------------------------------------------------*
.dwcfi cfa_offset, 0
SUB SP, SP, #16 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 16
$C$DW$12 .dwtag DW_TAG_variable
.dwattr $C$DW$12, DW_AT_name("pxList")
.dwattr $C$DW$12, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$12, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$12, DW_AT_location[DW_OP_breg13 0]
$C$DW$13 .dwtag DW_TAG_variable
.dwattr $C$DW$13, DW_AT_name("pxNewListItem")
.dwattr $C$DW$13, DW_AT_TI_symbol_name("pxNewListItem")
.dwattr $C$DW$13, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$13, DW_AT_location[DW_OP_breg13 4]
$C$DW$14 .dwtag DW_TAG_variable
.dwattr $C$DW$14, DW_AT_name("pxIndex")
.dwattr $C$DW$14, DW_AT_TI_symbol_name("pxIndex")
.dwattr $C$DW$14, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$14, DW_AT_location[DW_OP_breg13 8]
STR A2, [SP, #4] ; [DPU_V7M3_PIPE] |75|
STR A1, [SP, #0] ; [DPU_V7M3_PIPE] |75|
.dwpsn file "../OS/list.c",line 76,column 28,is_stmt,isa 1
;----------------------------------------------------------------------
; 76 | ListItem_t * const pxIndex = pxList->pxIndex;
; 81 | listTEST_LIST_INTEGRITY( pxList );
; 82 | listTEST_LIST_ITEM_INTEGRITY( pxNewListItem );
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |76|
LDR A1, [A1, #4] ; [DPU_V7M3_PIPE] |76|
STR A1, [SP, #8] ; [DPU_V7M3_PIPE] |76|
.dwpsn file "../OS/list.c",line 87,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 87 | pxNewListItem->pxNext = pxIndex;
;----------------------------------------------------------------------
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |87|
LDR A1, [SP, #8] ; [DPU_V7M3_PIPE] |87|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |87|
.dwpsn file "../OS/list.c",line 88,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 88 | pxNewListItem->pxPrevious = pxIndex->pxPrevious;
; 91 | mtCOVERAGE_TEST_DELAY();
;----------------------------------------------------------------------
LDR A1, [SP, #8] ; [DPU_V7M3_PIPE] |88|
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |88|
LDR A1, [A1, #8] ; [DPU_V7M3_PIPE] |88|
STR A1, [A2, #8] ; [DPU_V7M3_PIPE] |88|
.dwpsn file "../OS/list.c",line 93,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 93 | pxIndex->pxPrevious->pxNext = pxNewListItem;
;----------------------------------------------------------------------
LDR A2, [SP, #8] ; [DPU_V7M3_PIPE] |93|
LDR A1, [SP, #4] ; [DPU_V7M3_PIPE] |93|
LDR A2, [A2, #8] ; [DPU_V7M3_PIPE] |93|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |93|
.dwpsn file "../OS/list.c",line 94,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 94 | pxIndex->pxPrevious = pxNewListItem;
;----------------------------------------------------------------------
LDR A1, [SP, #4] ; [DPU_V7M3_PIPE] |94|
LDR A2, [SP, #8] ; [DPU_V7M3_PIPE] |94|
STR A1, [A2, #8] ; [DPU_V7M3_PIPE] |94|
.dwpsn file "../OS/list.c",line 97,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 97 | pxNewListItem->pxContainer = pxList;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |97|
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |97|
STR A1, [A2, #16] ; [DPU_V7M3_PIPE] |97|
.dwpsn file "../OS/list.c",line 99,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 99 | ( pxList->uxNumberOfItems )++;
;----------------------------------------------------------------------
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |99|
LDR A1, [A2, #0] ; [DPU_V7M3_PIPE] |99|
ADDS A1, A1, #1 ; [DPU_V7M3_PIPE] |99|
STR A1, [A2, #0] ; [DPU_V7M3_PIPE] |99|
.dwpsn file "../OS/list.c",line 100,column 1,is_stmt,isa 1
ADD SP, SP, #16 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 0
$C$DW$15 .dwtag DW_TAG_TI_branch
.dwattr $C$DW$15, DW_AT_low_pc(0x00)
.dwattr $C$DW$15, DW_AT_TI_return
BX LR ; [DPU_V7M3_PIPE]
; BRANCH OCCURS ; []
.dwattr $C$DW$9, DW_AT_TI_end_file("../OS/list.c")
.dwattr $C$DW$9, DW_AT_TI_end_line(0x64)
.dwattr $C$DW$9, DW_AT_TI_end_column(0x01)
.dwendentry
.dwendtag $C$DW$9
.sect ".text"
.clink
.thumbfunc vListInsert
.thumb
.global vListInsert
$C$DW$16 .dwtag DW_TAG_subprogram
.dwattr $C$DW$16, DW_AT_name("vListInsert")
.dwattr $C$DW$16, DW_AT_low_pc(vListInsert)
.dwattr $C$DW$16, DW_AT_high_pc(0x00)
.dwattr $C$DW$16, DW_AT_TI_symbol_name("vListInsert")
.dwattr $C$DW$16, DW_AT_external
.dwattr $C$DW$16, DW_AT_TI_begin_file("../OS/list.c")
.dwattr $C$DW$16, DW_AT_TI_begin_line(0x67)
.dwattr $C$DW$16, DW_AT_TI_begin_column(0x06)
.dwattr $C$DW$16, DW_AT_decl_file("../OS/list.c")
.dwattr $C$DW$16, DW_AT_decl_line(0x67)
.dwattr $C$DW$16, DW_AT_decl_column(0x06)
.dwattr $C$DW$16, DW_AT_TI_max_frame_size(0x10)
.dwpsn file "../OS/list.c",line 104,column 1,is_stmt,address vListInsert,isa 1
.dwfde $C$DW$CIE, vListInsert
$C$DW$17 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$17, DW_AT_name("pxList")
.dwattr $C$DW$17, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$17, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$17, DW_AT_location[DW_OP_reg0]
$C$DW$18 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$18, DW_AT_name("pxNewListItem")
.dwattr $C$DW$18, DW_AT_TI_symbol_name("pxNewListItem")
.dwattr $C$DW$18, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$18, DW_AT_location[DW_OP_reg1]
;----------------------------------------------------------------------
; 103 | void vListInsert( List_t * const pxList, ListItem_t * const pxNewListIt
; | em )
;----------------------------------------------------------------------
;*****************************************************************************
;* FUNCTION NAME: vListInsert *
;* *
;* Regs Modified : A1,A2,SP,SR *
;* Regs Used : A1,A2,SP,LR,SR *
;* Local Frame Size : 0 Args + 16 Auto + 0 Save = 16 byte *
;*****************************************************************************
vListInsert:
;* --------------------------------------------------------------------------*
.dwcfi cfa_offset, 0
SUB SP, SP, #16 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 16
$C$DW$19 .dwtag DW_TAG_variable
.dwattr $C$DW$19, DW_AT_name("pxList")
.dwattr $C$DW$19, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$19, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$19, DW_AT_location[DW_OP_breg13 0]
$C$DW$20 .dwtag DW_TAG_variable
.dwattr $C$DW$20, DW_AT_name("pxNewListItem")
.dwattr $C$DW$20, DW_AT_TI_symbol_name("pxNewListItem")
.dwattr $C$DW$20, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$20, DW_AT_location[DW_OP_breg13 4]
$C$DW$21 .dwtag DW_TAG_variable
.dwattr $C$DW$21, DW_AT_name("pxIterator")
.dwattr $C$DW$21, DW_AT_TI_symbol_name("pxIterator")
.dwattr $C$DW$21, DW_AT_type(*$C$DW$T$35)
.dwattr $C$DW$21, DW_AT_location[DW_OP_breg13 8]
$C$DW$22 .dwtag DW_TAG_variable
.dwattr $C$DW$22, DW_AT_name("xValueOfInsertion")
.dwattr $C$DW$22, DW_AT_TI_symbol_name("xValueOfInsertion")
.dwattr $C$DW$22, DW_AT_type(*$C$DW$T$166)
.dwattr $C$DW$22, DW_AT_location[DW_OP_breg13 12]
;----------------------------------------------------------------------
; 105 | ListItem_t *pxIterator;
;----------------------------------------------------------------------
STR A2, [SP, #4] ; [DPU_V7M3_PIPE] |104|
STR A1, [SP, #0] ; [DPU_V7M3_PIPE] |104|
.dwpsn file "../OS/list.c",line 106,column 36,is_stmt,isa 1
;----------------------------------------------------------------------
; 106 | const TickType_t xValueOfInsertion = pxNewListItem->xItemValue;
; 111 | listTEST_LIST_INTEGRITY( pxList );
; 112 | listTEST_LIST_ITEM_INTEGRITY( pxNewListItem );
;----------------------------------------------------------------------
LDR A1, [SP, #4] ; [DPU_V7M3_PIPE] |106|
LDR A1, [A1, #0] ; [DPU_V7M3_PIPE] |106|
STR A1, [SP, #12] ; [DPU_V7M3_PIPE] |106|
.dwpsn file "../OS/list.c",line 122,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 122 | if( xValueOfInsertion == portMAX_DELAY )
;----------------------------------------------------------------------
LDR A1, [SP, #12] ; [DPU_V7M3_PIPE] |122|
CMP A1, #-1 ; [DPU_V7M3_PIPE] |122|
BNE ||$C$L1|| ; [DPU_V7M3_PIPE] |122|
; BRANCHCC OCCURS {||$C$L1||} ; [] |122|
;* --------------------------------------------------------------------------*
.dwpsn file "../OS/list.c",line 124,column 3,is_stmt,isa 1
;----------------------------------------------------------------------
; 124 | pxIterator = pxList->xListEnd.pxPrevious;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |124|
LDR A1, [A1, #16] ; [DPU_V7M3_PIPE] |124|
STR A1, [SP, #8] ; [DPU_V7M3_PIPE] |124|
.dwpsn file "../OS/list.c",line 125,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 126 | else
;----------------------------------------------------------------------
B ||$C$L4|| ; [DPU_V7M3_PIPE] |125|
; BRANCH OCCURS {||$C$L4||} ; [] |125|
;* --------------------------------------------------------------------------*
||$C$L1||:
.dwpsn file "../OS/list.c",line 150,column 8,is_stmt,isa 1
;----------------------------------------------------------------------
; 150 | for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->p
; | xNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext
; | ) /*lint !e826 !e740 !e9087 The mini list structure is used as the lis
; | t end to save RAM. This is checked and valid. *//*lint !e440 The itera
; | tor moves to a different value, not xValueOfInsertion. */
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |150|
ADDS A1, A1, #8 ; [DPU_V7M3_PIPE] |150|
STR A1, [SP, #8] ; [DPU_V7M3_PIPE] |150|
B ||$C$L3|| ; [DPU_V7M3_PIPE] |150|
; BRANCH OCCURS {||$C$L3||} ; [] |150|
;* --------------------------------------------------------------------------*
||$C$L2||:
.dwpsn file "../OS/list.c",line 150,column 114,is_stmt,isa 1
LDR A1, [SP, #8] ; [DPU_V7M3_PIPE] |150|
LDR A1, [A1, #4] ; [DPU_V7M3_PIPE] |150|
STR A1, [SP, #8] ; [DPU_V7M3_PIPE] |150|
;* --------------------------------------------------------------------------*
;* BEGIN LOOP ||$C$L3||
;* --------------------------------------------------------------------------*
||$C$L3||:
.dwpsn file "../OS/list.c",line 150,column 61,is_stmt,isa 1
LDR A1, [SP, #8] ; [DPU_V7M3_PIPE] |150|
LDR A2, [A1, #4] ; [DPU_V7M3_PIPE] |150|
LDR A1, [SP, #12] ; [DPU_V7M3_PIPE] |150|
LDR A2, [A2, #0] ; [DPU_V7M3_PIPE] |150|
CMP A1, A2 ; [DPU_V7M3_PIPE] |150|
BCS ||$C$L2|| ; [DPU_V7M3_PIPE] |150|
; BRANCHCC OCCURS {||$C$L2||} ; [] |150|
;* --------------------------------------------------------------------------*
||$C$L4||:
.dwpsn file "../OS/list.c",line 157,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 157 | pxNewListItem->pxNext = pxIterator->pxNext;
;----------------------------------------------------------------------
LDR A1, [SP, #8] ; [DPU_V7M3_PIPE] |157|
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |157|
LDR A1, [A1, #4] ; [DPU_V7M3_PIPE] |157|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |157|
.dwpsn file "../OS/list.c",line 158,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 158 | pxNewListItem->pxNext->pxPrevious = pxNewListItem;
;----------------------------------------------------------------------
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |158|
LDR A1, [SP, #4] ; [DPU_V7M3_PIPE] |158|
LDR A2, [A2, #4] ; [DPU_V7M3_PIPE] |158|
STR A1, [A2, #8] ; [DPU_V7M3_PIPE] |158|
.dwpsn file "../OS/list.c",line 159,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 159 | pxNewListItem->pxPrevious = pxIterator;
;----------------------------------------------------------------------
LDR A1, [SP, #8] ; [DPU_V7M3_PIPE] |159|
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |159|
STR A1, [A2, #8] ; [DPU_V7M3_PIPE] |159|
.dwpsn file "../OS/list.c",line 160,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 160 | pxIterator->pxNext = pxNewListItem;
;----------------------------------------------------------------------
LDR A1, [SP, #4] ; [DPU_V7M3_PIPE] |160|
LDR A2, [SP, #8] ; [DPU_V7M3_PIPE] |160|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |160|
.dwpsn file "../OS/list.c",line 164,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 164 | pxNewListItem->pxContainer = pxList;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |164|
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |164|
STR A1, [A2, #16] ; [DPU_V7M3_PIPE] |164|
.dwpsn file "../OS/list.c",line 166,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 166 | ( pxList->uxNumberOfItems )++;
;----------------------------------------------------------------------
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |166|
LDR A1, [A2, #0] ; [DPU_V7M3_PIPE] |166|
ADDS A1, A1, #1 ; [DPU_V7M3_PIPE] |166|
STR A1, [A2, #0] ; [DPU_V7M3_PIPE] |166|
.dwpsn file "../OS/list.c",line 167,column 1,is_stmt,isa 1
ADD SP, SP, #16 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 0
$C$DW$23 .dwtag DW_TAG_TI_branch
.dwattr $C$DW$23, DW_AT_low_pc(0x00)
.dwattr $C$DW$23, DW_AT_TI_return
BX LR ; [DPU_V7M3_PIPE]
; BRANCH OCCURS ; []
.dwattr $C$DW$16, DW_AT_TI_end_file("../OS/list.c")
.dwattr $C$DW$16, DW_AT_TI_end_line(0xa7)
.dwattr $C$DW$16, DW_AT_TI_end_column(0x01)
.dwendentry
.dwendtag $C$DW$16
.sect ".text"
.clink
.thumbfunc uxListRemove
.thumb
.global uxListRemove
$C$DW$24 .dwtag DW_TAG_subprogram
.dwattr $C$DW$24, DW_AT_name("uxListRemove")
.dwattr $C$DW$24, DW_AT_low_pc(uxListRemove)
.dwattr $C$DW$24, DW_AT_high_pc(0x00)
.dwattr $C$DW$24, DW_AT_TI_symbol_name("uxListRemove")
.dwattr $C$DW$24, DW_AT_external
.dwattr $C$DW$24, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$24, DW_AT_TI_begin_file("../OS/list.c")
.dwattr $C$DW$24, DW_AT_TI_begin_line(0xaa)
.dwattr $C$DW$24, DW_AT_TI_begin_column(0x0d)
.dwattr $C$DW$24, DW_AT_decl_file("../OS/list.c")
.dwattr $C$DW$24, DW_AT_decl_line(0xaa)
.dwattr $C$DW$24, DW_AT_decl_column(0x0d)
.dwattr $C$DW$24, DW_AT_TI_max_frame_size(0x08)
.dwpsn file "../OS/list.c",line 171,column 1,is_stmt,address uxListRemove,isa 1
.dwfde $C$DW$CIE, uxListRemove
$C$DW$25 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$25, DW_AT_name("pxItemToRemove")
.dwattr $C$DW$25, DW_AT_TI_symbol_name("pxItemToRemove")
.dwattr $C$DW$25, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$25, DW_AT_location[DW_OP_reg0]
;----------------------------------------------------------------------
; 170 | UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
;----------------------------------------------------------------------
;*****************************************************************************
;* FUNCTION NAME: uxListRemove *
;* *
;* Regs Modified : A1,A2,SP,SR *
;* Regs Used : A1,A2,SP,LR,SR *
;* Local Frame Size : 0 Args + 8 Auto + 0 Save = 8 byte *
;*****************************************************************************
uxListRemove:
;* --------------------------------------------------------------------------*
.dwcfi cfa_offset, 0
SUB SP, SP, #8 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 8
$C$DW$26 .dwtag DW_TAG_variable
.dwattr $C$DW$26, DW_AT_name("pxItemToRemove")
.dwattr $C$DW$26, DW_AT_TI_symbol_name("pxItemToRemove")
.dwattr $C$DW$26, DW_AT_type(*$C$DW$T$78)
.dwattr $C$DW$26, DW_AT_location[DW_OP_breg13 0]
$C$DW$27 .dwtag DW_TAG_variable
.dwattr $C$DW$27, DW_AT_name("pxList")
.dwattr $C$DW$27, DW_AT_TI_symbol_name("pxList")
.dwattr $C$DW$27, DW_AT_type(*$C$DW$T$76)
.dwattr $C$DW$27, DW_AT_location[DW_OP_breg13 4]
STR A1, [SP, #0] ; [DPU_V7M3_PIPE] |171|
.dwpsn file "../OS/list.c",line 174,column 23,is_stmt,isa 1
;----------------------------------------------------------------------
; 174 | List_t * const pxList = pxItemToRemove->pxContainer;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |174|
LDR A1, [A1, #16] ; [DPU_V7M3_PIPE] |174|
STR A1, [SP, #4] ; [DPU_V7M3_PIPE] |174|
.dwpsn file "../OS/list.c",line 176,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 176 | pxItemToRemove->pxNext->pxPrevious = pxItemToRemove->pxPrevious;
;----------------------------------------------------------------------
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |176|
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |176|
LDR A2, [A2, #4] ; [DPU_V7M3_PIPE] |176|
LDR A1, [A1, #8] ; [DPU_V7M3_PIPE] |176|
STR A1, [A2, #8] ; [DPU_V7M3_PIPE] |176|
.dwpsn file "../OS/list.c",line 177,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 177 | pxItemToRemove->pxPrevious->pxNext = pxItemToRemove->pxNext;
; 180 | mtCOVERAGE_TEST_DELAY();
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |177|
LDR A2, [SP, #0] ; [DPU_V7M3_PIPE] |177|
LDR A1, [A1, #4] ; [DPU_V7M3_PIPE] |177|
LDR A2, [A2, #8] ; [DPU_V7M3_PIPE] |177|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |177|
.dwpsn file "../OS/list.c",line 183,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 183 | if( pxList->pxIndex == pxItemToRemove )
;----------------------------------------------------------------------
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |183|
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |183|
LDR A2, [A2, #4] ; [DPU_V7M3_PIPE] |183|
CMP A1, A2 ; [DPU_V7M3_PIPE] |183|
BNE ||$C$L5|| ; [DPU_V7M3_PIPE] |183|
; BRANCHCC OCCURS {||$C$L5||} ; [] |183|
;* --------------------------------------------------------------------------*
.dwpsn file "../OS/list.c",line 185,column 3,is_stmt,isa 1
;----------------------------------------------------------------------
; 185 | pxList->pxIndex = pxItemToRemove->pxPrevious;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |185|
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |185|
LDR A1, [A1, #8] ; [DPU_V7M3_PIPE] |185|
STR A1, [A2, #4] ; [DPU_V7M3_PIPE] |185|
.dwpsn file "../OS/list.c",line 186,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 187 | else
; 189 | mtCOVERAGE_TEST_MARKER();
;----------------------------------------------------------------------
;* --------------------------------------------------------------------------*
||$C$L5||:
.dwpsn file "../OS/list.c",line 192,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 192 | pxItemToRemove->pxContainer = NULL;
;----------------------------------------------------------------------
LDR A1, [SP, #0] ; [DPU_V7M3_PIPE] |192|
MOVS A2, #0 ; [DPU_V7M3_PIPE] |192|
STR A2, [A1, #16] ; [DPU_V7M3_PIPE] |192|
.dwpsn file "../OS/list.c",line 193,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 193 | ( pxList->uxNumberOfItems )--;
;----------------------------------------------------------------------
LDR A2, [SP, #4] ; [DPU_V7M3_PIPE] |193|
LDR A1, [A2, #0] ; [DPU_V7M3_PIPE] |193|
SUBS A1, A1, #1 ; [DPU_V7M3_PIPE] |193|
STR A1, [A2, #0] ; [DPU_V7M3_PIPE] |193|
.dwpsn file "../OS/list.c",line 195,column 2,is_stmt,isa 1
;----------------------------------------------------------------------
; 195 | return pxList->uxNumberOfItems;
;----------------------------------------------------------------------
LDR A1, [SP, #4] ; [DPU_V7M3_PIPE] |195|
LDR A1, [A1, #0] ; [DPU_V7M3_PIPE] |195|
.dwpsn file "../OS/list.c",line 196,column 1,is_stmt,isa 1
ADD SP, SP, #8 ; [DPU_V7M3_PIPE]
.dwcfi cfa_offset, 0
$C$DW$28 .dwtag DW_TAG_TI_branch
.dwattr $C$DW$28, DW_AT_low_pc(0x00)
.dwattr $C$DW$28, DW_AT_TI_return
BX LR ; [DPU_V7M3_PIPE]
; BRANCH OCCURS ; []
.dwattr $C$DW$24, DW_AT_TI_end_file("../OS/list.c")
.dwattr $C$DW$24, DW_AT_TI_end_line(0xc4)
.dwattr $C$DW$24, DW_AT_TI_end_column(0x01)
.dwendentry
.dwendtag $C$DW$24
;******************************************************************************
;* BUILD ATTRIBUTES *
;******************************************************************************
.battr "aeabi", Tag_File, 1, Tag_ABI_PCS_wchar_t(2)
.battr "aeabi", Tag_File, 1, Tag_ABI_FP_rounding(0)
.battr "aeabi", Tag_File, 1, Tag_ABI_FP_denormal(0)
.battr "aeabi", Tag_File, 1, Tag_ABI_FP_exceptions(0)
.battr "aeabi", Tag_File, 1, Tag_ABI_FP_number_model(1)
.battr "aeabi", Tag_File, 1, Tag_ABI_enum_size(0)
.battr "aeabi", Tag_File, 1, Tag_ABI_optimization_goals(5)
.battr "aeabi", Tag_File, 1, Tag_ABI_FP_optimization_goals(0)
.battr "TI", Tag_File, 1, Tag_Bitfield_layout(2)
.battr "aeabi", Tag_File, 1, Tag_ABI_VFP_args(3)
.battr "TI", Tag_File, 1, Tag_FP_interface(1)
;******************************************************************************
;* TYPE INFORMATION *
;******************************************************************************
$C$DW$T$21 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$21, DW_AT_byte_size(0x08)
$C$DW$29 .dwtag DW_TAG_member
.dwattr $C$DW$29, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$29, DW_AT_name("quot")
.dwattr $C$DW$29, DW_AT_TI_symbol_name("quot")
.dwattr $C$DW$29, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$29, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$29, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$29, DW_AT_decl_line(0x49)
.dwattr $C$DW$29, DW_AT_decl_column(0x16)
$C$DW$30 .dwtag DW_TAG_member
.dwattr $C$DW$30, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$30, DW_AT_name("rem")
.dwattr $C$DW$30, DW_AT_TI_symbol_name("rem")
.dwattr $C$DW$30, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$30, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$30, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$30, DW_AT_decl_line(0x49)
.dwattr $C$DW$30, DW_AT_decl_column(0x1c)
.dwattr $C$DW$T$21, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$21, DW_AT_decl_line(0x49)
.dwattr $C$DW$T$21, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$21
$C$DW$T$69 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$69, DW_AT_name("div_t")
.dwattr $C$DW$T$69, DW_AT_type(*$C$DW$T$21)
.dwattr $C$DW$T$69, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$69, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$69, DW_AT_decl_line(0x49)
.dwattr $C$DW$T$69, DW_AT_decl_column(0x23)
$C$DW$T$22 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$22, DW_AT_byte_size(0x08)
$C$DW$31 .dwtag DW_TAG_member
.dwattr $C$DW$31, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$31, DW_AT_name("quot")
.dwattr $C$DW$31, DW_AT_TI_symbol_name("quot")
.dwattr $C$DW$31, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$31, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$31, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$31, DW_AT_decl_line(0x4e)
.dwattr $C$DW$31, DW_AT_decl_column(0x16)
$C$DW$32 .dwtag DW_TAG_member
.dwattr $C$DW$32, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$32, DW_AT_name("rem")
.dwattr $C$DW$32, DW_AT_TI_symbol_name("rem")
.dwattr $C$DW$32, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$32, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$32, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$32, DW_AT_decl_line(0x4e)
.dwattr $C$DW$32, DW_AT_decl_column(0x1c)
.dwattr $C$DW$T$22, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$22, DW_AT_decl_line(0x4e)
.dwattr $C$DW$T$22, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$22
$C$DW$T$70 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$70, DW_AT_name("ldiv_t")
.dwattr $C$DW$T$70, DW_AT_type(*$C$DW$T$22)
.dwattr $C$DW$T$70, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$70, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$70, DW_AT_decl_line(0x4e)
.dwattr $C$DW$T$70, DW_AT_decl_column(0x23)
$C$DW$T$23 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$23, DW_AT_byte_size(0x10)
$C$DW$33 .dwtag DW_TAG_member
.dwattr $C$DW$33, DW_AT_type(*$C$DW$T$14)
.dwattr $C$DW$33, DW_AT_name("quot")
.dwattr $C$DW$33, DW_AT_TI_symbol_name("quot")
.dwattr $C$DW$33, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$33, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$33, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$33, DW_AT_decl_line(0x56)
.dwattr $C$DW$33, DW_AT_decl_column(0x1c)
$C$DW$34 .dwtag DW_TAG_member
.dwattr $C$DW$34, DW_AT_type(*$C$DW$T$14)
.dwattr $C$DW$34, DW_AT_name("rem")
.dwattr $C$DW$34, DW_AT_TI_symbol_name("rem")
.dwattr $C$DW$34, DW_AT_data_member_location[DW_OP_plus_uconst 0x8]
.dwattr $C$DW$34, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$34, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$34, DW_AT_decl_line(0x56)
.dwattr $C$DW$34, DW_AT_decl_column(0x22)
.dwattr $C$DW$T$23, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$23, DW_AT_decl_line(0x56)
.dwattr $C$DW$T$23, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$23
$C$DW$T$71 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$71, DW_AT_name("lldiv_t")
.dwattr $C$DW$T$71, DW_AT_type(*$C$DW$T$23)
.dwattr $C$DW$T$71, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$71, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$71, DW_AT_decl_line(0x56)
.dwattr $C$DW$T$71, DW_AT_decl_column(0x29)
$C$DW$T$24 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$24, DW_AT_byte_size(0x10)
$C$DW$35 .dwtag DW_TAG_member
.dwattr $C$DW$35, DW_AT_type(*$C$DW$T$14)
.dwattr $C$DW$35, DW_AT_name("__max_align1")
.dwattr $C$DW$35, DW_AT_TI_symbol_name("__max_align1")
.dwattr $C$DW$35, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$35, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$35, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$35, DW_AT_decl_line(0x70)
.dwattr $C$DW$35, DW_AT_decl_column(0x0c)
$C$DW$36 .dwtag DW_TAG_member
.dwattr $C$DW$36, DW_AT_type(*$C$DW$T$18)
.dwattr $C$DW$36, DW_AT_name("__max_align2")
.dwattr $C$DW$36, DW_AT_TI_symbol_name("__max_align2")
.dwattr $C$DW$36, DW_AT_data_member_location[DW_OP_plus_uconst 0x8]
.dwattr $C$DW$36, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$36, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$36, DW_AT_decl_line(0x71)
.dwattr $C$DW$36, DW_AT_decl_column(0x0e)
.dwattr $C$DW$T$24, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$24, DW_AT_decl_line(0x6f)
.dwattr $C$DW$T$24, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$24
$C$DW$T$72 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$72, DW_AT_name("__max_align_t")
.dwattr $C$DW$T$72, DW_AT_type(*$C$DW$T$24)
.dwattr $C$DW$T$72, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$72, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$72, DW_AT_decl_line(0x72)
.dwattr $C$DW$T$72, DW_AT_decl_column(0x03)
$C$DW$T$26 .dwtag DW_TAG_union_type
.dwattr $C$DW$T$26, DW_AT_byte_size(0x04)
$C$DW$37 .dwtag DW_TAG_member
.dwattr $C$DW$37, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$37, DW_AT_name("pvDummy2")
.dwattr $C$DW$37, DW_AT_TI_symbol_name("pvDummy2")
.dwattr $C$DW$37, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$37, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$37, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$37, DW_AT_decl_line(0x42d)
.dwattr $C$DW$37, DW_AT_decl_column(0x09)
$C$DW$38 .dwtag DW_TAG_member
.dwattr $C$DW$38, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$38, DW_AT_name("uxDummy2")
.dwattr $C$DW$38, DW_AT_TI_symbol_name("uxDummy2")
.dwattr $C$DW$38, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$38, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$38, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$38, DW_AT_decl_line(0x42e)
.dwattr $C$DW$38, DW_AT_decl_column(0x0f)
.dwattr $C$DW$T$26, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$26, DW_AT_decl_line(0x42c)
.dwattr $C$DW$T$26, DW_AT_decl_column(0x02)
.dwendtag $C$DW$T$26
$C$DW$T$31 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$31, DW_AT_name("HeapRegion")
.dwattr $C$DW$T$31, DW_AT_byte_size(0x08)
$C$DW$39 .dwtag DW_TAG_member
.dwattr $C$DW$39, DW_AT_type(*$C$DW$T$29)
.dwattr $C$DW$39, DW_AT_name("pucStartAddress")
.dwattr $C$DW$39, DW_AT_TI_symbol_name("pucStartAddress")
.dwattr $C$DW$39, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$39, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$39, DW_AT_decl_file("../OS/portable.h")
.dwattr $C$DW$39, DW_AT_decl_line(0x6e)
.dwattr $C$DW$39, DW_AT_decl_column(0x0b)
$C$DW$40 .dwtag DW_TAG_member
.dwattr $C$DW$40, DW_AT_type(*$C$DW$T$30)
.dwattr $C$DW$40, DW_AT_name("xSizeInBytes")
.dwattr $C$DW$40, DW_AT_TI_symbol_name("xSizeInBytes")
.dwattr $C$DW$40, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$40, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$40, DW_AT_decl_file("../OS/portable.h")
.dwattr $C$DW$40, DW_AT_decl_line(0x6f)
.dwattr $C$DW$40, DW_AT_decl_column(0x09)
.dwattr $C$DW$T$31, DW_AT_decl_file("../OS/portable.h")
.dwattr $C$DW$T$31, DW_AT_decl_line(0x6c)
.dwattr $C$DW$T$31, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$31
$C$DW$T$73 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$73, DW_AT_name("HeapRegion_t")
.dwattr $C$DW$T$73, DW_AT_type(*$C$DW$T$31)
.dwattr $C$DW$T$73, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$73, DW_AT_decl_file("../OS/portable.h")
.dwattr $C$DW$T$73, DW_AT_decl_line(0x70)
.dwattr $C$DW$T$73, DW_AT_decl_column(0x03)
$C$DW$T$2 .dwtag DW_TAG_unspecified_type
.dwattr $C$DW$T$2, DW_AT_name("void")
$C$DW$T$3 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$3, DW_AT_type(*$C$DW$T$2)
.dwattr $C$DW$T$3, DW_AT_address_class(0x20)
$C$DW$T$49 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$49, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$T$49, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$49, DW_AT_byte_size(0x10)
$C$DW$41 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$41, DW_AT_upper_bound(0x03)
.dwendtag $C$DW$T$49
$C$DW$T$51 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$51, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$T$51, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$51, DW_AT_byte_size(0x08)
$C$DW$42 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$42, DW_AT_upper_bound(0x01)
.dwendtag $C$DW$T$51
$C$DW$T$53 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$53, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$T$53, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$53, DW_AT_byte_size(0x0c)
$C$DW$43 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$43, DW_AT_upper_bound(0x02)
.dwendtag $C$DW$T$53
$C$DW$T$65 .dwtag DW_TAG_subroutine_type
.dwattr $C$DW$T$65, DW_AT_language(DW_LANG_C)
$C$DW$44 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$44, DW_AT_type(*$C$DW$T$3)
.dwendtag $C$DW$T$65
$C$DW$T$66 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$66, DW_AT_type(*$C$DW$T$65)
.dwattr $C$DW$T$66, DW_AT_address_class(0x20)
$C$DW$T$67 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$67, DW_AT_name("TaskFunction_t")
.dwattr $C$DW$T$67, DW_AT_type(*$C$DW$T$66)
.dwattr $C$DW$T$67, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$67, DW_AT_decl_file("../OS/projdefs.h")
.dwattr $C$DW$T$67, DW_AT_decl_line(0x23)
.dwattr $C$DW$T$67, DW_AT_decl_column(0x10)
$C$DW$T$81 .dwtag DW_TAG_subroutine_type
.dwattr $C$DW$T$81, DW_AT_language(DW_LANG_C)
.dwendtag $C$DW$T$81
$C$DW$T$82 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$82, DW_AT_type(*$C$DW$T$81)
.dwattr $C$DW$T$82, DW_AT_address_class(0x20)
$C$DW$T$83 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$83, DW_AT_name("__TI_atexit_fn")
.dwattr $C$DW$T$83, DW_AT_type(*$C$DW$T$82)
.dwattr $C$DW$T$83, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$83, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$83, DW_AT_decl_line(0xb2)
.dwattr $C$DW$T$83, DW_AT_decl_column(0x14)
$C$DW$T$84 .dwtag DW_TAG_const_type
.dwattr $C$DW$T$84, DW_AT_type(*$C$DW$T$2)
$C$DW$T$85 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$85, DW_AT_type(*$C$DW$T$84)
.dwattr $C$DW$T$85, DW_AT_address_class(0x20)
$C$DW$T$4 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$4, DW_AT_encoding(DW_ATE_boolean)
.dwattr $C$DW$T$4, DW_AT_name("bool")
.dwattr $C$DW$T$4, DW_AT_byte_size(0x01)
$C$DW$T$5 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$5, DW_AT_encoding(DW_ATE_signed_char)
.dwattr $C$DW$T$5, DW_AT_name("signed char")
.dwattr $C$DW$T$5, DW_AT_byte_size(0x01)
$C$DW$T$86 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$86, DW_AT_name("__int8_t")
.dwattr $C$DW$T$86, DW_AT_type(*$C$DW$T$5)
.dwattr $C$DW$T$86, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$86, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$86, DW_AT_decl_line(0x39)
.dwattr $C$DW$T$86, DW_AT_decl_column(0x16)
$C$DW$T$87 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$87, DW_AT_name("__int_least8_t")
.dwattr $C$DW$T$87, DW_AT_type(*$C$DW$T$86)
.dwattr $C$DW$T$87, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$87, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$87, DW_AT_decl_line(0x58)
.dwattr $C$DW$T$87, DW_AT_decl_column(0x12)
$C$DW$T$88 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$88, DW_AT_name("int_least8_t")
.dwattr $C$DW$T$88, DW_AT_type(*$C$DW$T$87)
.dwattr $C$DW$T$88, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$88, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$88, DW_AT_decl_line(0x28)
.dwattr $C$DW$T$88, DW_AT_decl_column(0x19)
$C$DW$T$89 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$89, DW_AT_name("int8_t")
.dwattr $C$DW$T$89, DW_AT_type(*$C$DW$T$86)
.dwattr $C$DW$T$89, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$89, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$89, DW_AT_decl_line(0x24)
.dwattr $C$DW$T$89, DW_AT_decl_column(0x13)
$C$DW$T$6 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$6, DW_AT_encoding(DW_ATE_unsigned_char)
.dwattr $C$DW$T$6, DW_AT_name("unsigned char")
.dwattr $C$DW$T$6, DW_AT_byte_size(0x01)
$C$DW$T$27 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$27, DW_AT_name("__uint8_t")
.dwattr $C$DW$T$27, DW_AT_type(*$C$DW$T$6)
.dwattr $C$DW$T$27, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$27, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$27, DW_AT_decl_line(0x3a)
.dwattr $C$DW$T$27, DW_AT_decl_column(0x18)
$C$DW$T$90 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$90, DW_AT_name("__sa_family_t")
.dwattr $C$DW$T$90, DW_AT_type(*$C$DW$T$27)
.dwattr $C$DW$T$90, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$90, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$90, DW_AT_decl_line(0x43)
.dwattr $C$DW$T$90, DW_AT_decl_column(0x13)
$C$DW$T$91 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$91, DW_AT_name("__uint_least8_t")
.dwattr $C$DW$T$91, DW_AT_type(*$C$DW$T$27)
.dwattr $C$DW$T$91, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$91, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$91, DW_AT_decl_line(0x6d)
.dwattr $C$DW$T$91, DW_AT_decl_column(0x13)
$C$DW$T$92 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$92, DW_AT_name("uint_least8_t")
.dwattr $C$DW$T$92, DW_AT_type(*$C$DW$T$91)
.dwattr $C$DW$T$92, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$92, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$92, DW_AT_decl_line(0x2d)
.dwattr $C$DW$T$92, DW_AT_decl_column(0x1a)
$C$DW$T$28 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$28, DW_AT_name("uint8_t")
.dwattr $C$DW$T$28, DW_AT_type(*$C$DW$T$27)
.dwattr $C$DW$T$28, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$28, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$28, DW_AT_decl_line(0x38)
.dwattr $C$DW$T$28, DW_AT_decl_column(0x14)
$C$DW$T$29 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$29, DW_AT_type(*$C$DW$T$28)
.dwattr $C$DW$T$29, DW_AT_address_class(0x20)
$C$DW$T$56 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$56, DW_AT_type(*$C$DW$T$28)
.dwattr $C$DW$T$56, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$56, DW_AT_byte_size(0x02)
$C$DW$45 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$45, DW_AT_upper_bound(0x01)
.dwendtag $C$DW$T$56
$C$DW$T$62 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$62, DW_AT_type(*$C$DW$T$28)
.dwattr $C$DW$T$62, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$62, DW_AT_byte_size(0x0c)
$C$DW$46 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$46, DW_AT_upper_bound(0x0b)
.dwendtag $C$DW$T$62
$C$DW$T$7 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$7, DW_AT_encoding(DW_ATE_signed_char)
.dwattr $C$DW$T$7, DW_AT_name("wchar_t")
.dwattr $C$DW$T$7, DW_AT_byte_size(0x02)
$C$DW$T$8 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$8, DW_AT_encoding(DW_ATE_signed)
.dwattr $C$DW$T$8, DW_AT_name("short")
.dwattr $C$DW$T$8, DW_AT_byte_size(0x02)
$C$DW$T$93 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$93, DW_AT_name("__int16_t")
.dwattr $C$DW$T$93, DW_AT_type(*$C$DW$T$8)
.dwattr $C$DW$T$93, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$93, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$93, DW_AT_decl_line(0x3b)
.dwattr $C$DW$T$93, DW_AT_decl_column(0x11)
$C$DW$T$94 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$94, DW_AT_name("__int_least16_t")
.dwattr $C$DW$T$94, DW_AT_type(*$C$DW$T$93)
.dwattr $C$DW$T$94, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$94, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$94, DW_AT_decl_line(0x59)
.dwattr $C$DW$T$94, DW_AT_decl_column(0x13)
$C$DW$T$95 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$95, DW_AT_name("int_least16_t")
.dwattr $C$DW$T$95, DW_AT_type(*$C$DW$T$94)
.dwattr $C$DW$T$95, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$95, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$95, DW_AT_decl_line(0x29)
.dwattr $C$DW$T$95, DW_AT_decl_column(0x1a)
$C$DW$T$96 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$96, DW_AT_name("int16_t")
.dwattr $C$DW$T$96, DW_AT_type(*$C$DW$T$93)
.dwattr $C$DW$T$96, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$96, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$96, DW_AT_decl_line(0x29)
.dwattr $C$DW$T$96, DW_AT_decl_column(0x14)
$C$DW$T$9 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$9, DW_AT_encoding(DW_ATE_unsigned)
.dwattr $C$DW$T$9, DW_AT_name("unsigned short")
.dwattr $C$DW$T$9, DW_AT_byte_size(0x02)
$C$DW$T$97 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$97, DW_AT_name("___wchar_t")
.dwattr $C$DW$T$97, DW_AT_type(*$C$DW$T$9)
.dwattr $C$DW$T$97, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$97, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$97, DW_AT_decl_line(0x76)
.dwattr $C$DW$T$97, DW_AT_decl_column(0x1a)
$C$DW$T$98 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$98, DW_AT_name("__uint16_t")
.dwattr $C$DW$T$98, DW_AT_type(*$C$DW$T$9)
.dwattr $C$DW$T$98, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$98, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$98, DW_AT_decl_line(0x3c)
.dwattr $C$DW$T$98, DW_AT_decl_column(0x19)
$C$DW$T$99 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$99, DW_AT_name("__mode_t")
.dwattr $C$DW$T$99, DW_AT_type(*$C$DW$T$98)
.dwattr $C$DW$T$99, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$99, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$99, DW_AT_decl_line(0x39)
.dwattr $C$DW$T$99, DW_AT_decl_column(0x14)
$C$DW$T$100 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$100, DW_AT_name("__uint_least16_t")
.dwattr $C$DW$T$100, DW_AT_type(*$C$DW$T$98)
.dwattr $C$DW$T$100, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$100, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$100, DW_AT_decl_line(0x6e)
.dwattr $C$DW$T$100, DW_AT_decl_column(0x14)
$C$DW$T$101 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$101, DW_AT_name("__char16_t")
.dwattr $C$DW$T$101, DW_AT_type(*$C$DW$T$100)
.dwattr $C$DW$T$101, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$101, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$101, DW_AT_decl_line(0x66)
.dwattr $C$DW$T$101, DW_AT_decl_column(0x1a)
$C$DW$T$102 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$102, DW_AT_name("uint_least16_t")
.dwattr $C$DW$T$102, DW_AT_type(*$C$DW$T$100)
.dwattr $C$DW$T$102, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$102, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$102, DW_AT_decl_line(0x2e)
.dwattr $C$DW$T$102, DW_AT_decl_column(0x1a)
$C$DW$T$103 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$103, DW_AT_name("uint16_t")
.dwattr $C$DW$T$103, DW_AT_type(*$C$DW$T$98)
.dwattr $C$DW$T$103, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$103, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$103, DW_AT_decl_line(0x3d)
.dwattr $C$DW$T$103, DW_AT_decl_column(0x15)
$C$DW$T$104 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$104, DW_AT_name("wchar_t")
.dwattr $C$DW$T$104, DW_AT_type(*$C$DW$T$9)
.dwattr $C$DW$T$104, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$104, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$104, DW_AT_decl_line(0x6e)
.dwattr $C$DW$T$104, DW_AT_decl_column(0x1a)
$C$DW$T$10 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$10, DW_AT_encoding(DW_ATE_signed)
.dwattr $C$DW$T$10, DW_AT_name("int")
.dwattr $C$DW$T$10, DW_AT_byte_size(0x04)
$C$DW$T$105 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$105, DW_AT_name("_Mbstatet")
.dwattr $C$DW$T$105, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$105, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$105, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$105, DW_AT_decl_line(0x84)
.dwattr $C$DW$T$105, DW_AT_decl_column(0x0d)
$C$DW$T$106 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$106, DW_AT_name("__mbstate_t")
.dwattr $C$DW$T$106, DW_AT_type(*$C$DW$T$105)
.dwattr $C$DW$T$106, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$106, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$106, DW_AT_decl_line(0x87)
.dwattr $C$DW$T$106, DW_AT_decl_column(0x13)
$C$DW$T$107 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$107, DW_AT_name("__accmode_t")
.dwattr $C$DW$T$107, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$107, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$107, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$107, DW_AT_decl_line(0x3a)
.dwattr $C$DW$T$107, DW_AT_decl_column(0x0e)
$C$DW$T$108 .dwtag DW_TAG_subroutine_type
.dwattr $C$DW$T$108, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$108, DW_AT_language(DW_LANG_C)
$C$DW$47 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$47, DW_AT_type(*$C$DW$T$85)
$C$DW$48 .dwtag DW_TAG_formal_parameter
.dwattr $C$DW$48, DW_AT_type(*$C$DW$T$85)
.dwendtag $C$DW$T$108
$C$DW$T$109 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$109, DW_AT_type(*$C$DW$T$108)
.dwattr $C$DW$T$109, DW_AT_address_class(0x20)
$C$DW$T$110 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$110, DW_AT_name("__TI_compar_fn")
.dwattr $C$DW$T$110, DW_AT_type(*$C$DW$T$109)
.dwattr $C$DW$T$110, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$110, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$110, DW_AT_decl_line(0xb5)
.dwattr $C$DW$T$110, DW_AT_decl_column(0x13)
$C$DW$T$111 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$111, DW_AT_name("__cpulevel_t")
.dwattr $C$DW$T$111, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$111, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$111, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$111, DW_AT_decl_line(0x4b)
.dwattr $C$DW$T$111, DW_AT_decl_column(0x0e)
$C$DW$T$112 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$112, DW_AT_name("__cpusetid_t")
.dwattr $C$DW$T$112, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$112, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$112, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$112, DW_AT_decl_line(0x4c)
.dwattr $C$DW$T$112, DW_AT_decl_column(0x0e)
$C$DW$T$113 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$113, DW_AT_name("__cpuwhich_t")
.dwattr $C$DW$T$113, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$113, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$113, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$113, DW_AT_decl_line(0x4a)
.dwattr $C$DW$T$113, DW_AT_decl_column(0x0e)
$C$DW$T$114 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$114, DW_AT_name("__ct_rune_t")
.dwattr $C$DW$T$114, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$114, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$114, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$114, DW_AT_decl_line(0x60)
.dwattr $C$DW$T$114, DW_AT_decl_column(0x0e)
$C$DW$T$115 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$115, DW_AT_name("__rune_t")
.dwattr $C$DW$T$115, DW_AT_type(*$C$DW$T$114)
.dwattr $C$DW$T$115, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$115, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$115, DW_AT_decl_line(0x61)
.dwattr $C$DW$T$115, DW_AT_decl_column(0x15)
$C$DW$T$116 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$116, DW_AT_name("__wint_t")
.dwattr $C$DW$T$116, DW_AT_type(*$C$DW$T$114)
.dwattr $C$DW$T$116, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$116, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$116, DW_AT_decl_line(0x62)
.dwattr $C$DW$T$116, DW_AT_decl_column(0x15)
$C$DW$T$117 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$117, DW_AT_name("__int32_t")
.dwattr $C$DW$T$117, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$117, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$117, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$117, DW_AT_decl_line(0x3d)
.dwattr $C$DW$T$117, DW_AT_decl_column(0x0f)
$C$DW$T$118 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$118, DW_AT_name("__blksize_t")
.dwattr $C$DW$T$118, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$118, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$118, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$118, DW_AT_decl_line(0x2e)
.dwattr $C$DW$T$118, DW_AT_decl_column(0x13)
$C$DW$T$119 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$119, DW_AT_name("__clockid_t")
.dwattr $C$DW$T$119, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$119, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$119, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$119, DW_AT_decl_line(0x30)
.dwattr $C$DW$T$119, DW_AT_decl_column(0x13)
$C$DW$T$120 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$120, DW_AT_name("__critical_t")
.dwattr $C$DW$T$120, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$120, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$120, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$120, DW_AT_decl_line(0x4e)
.dwattr $C$DW$T$120, DW_AT_decl_column(0x13)
$C$DW$T$121 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$121, DW_AT_name("__int_fast16_t")
.dwattr $C$DW$T$121, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$121, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$121, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$121, DW_AT_decl_line(0x55)
.dwattr $C$DW$T$121, DW_AT_decl_column(0x13)
$C$DW$T$122 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$122, DW_AT_name("int_fast16_t")
.dwattr $C$DW$T$122, DW_AT_type(*$C$DW$T$121)
.dwattr $C$DW$T$122, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$122, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$122, DW_AT_decl_line(0x33)
.dwattr $C$DW$T$122, DW_AT_decl_column(0x19)
$C$DW$T$123 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$123, DW_AT_name("__int_fast32_t")
.dwattr $C$DW$T$123, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$123, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$123, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$123, DW_AT_decl_line(0x56)
.dwattr $C$DW$T$123, DW_AT_decl_column(0x13)
$C$DW$T$124 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$124, DW_AT_name("int_fast32_t")
.dwattr $C$DW$T$124, DW_AT_type(*$C$DW$T$123)
.dwattr $C$DW$T$124, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$124, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$124, DW_AT_decl_line(0x34)
.dwattr $C$DW$T$124, DW_AT_decl_column(0x19)
$C$DW$T$125 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$125, DW_AT_name("__int_fast8_t")
.dwattr $C$DW$T$125, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$125, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$125, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$125, DW_AT_decl_line(0x54)
.dwattr $C$DW$T$125, DW_AT_decl_column(0x13)
$C$DW$T$126 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$126, DW_AT_name("int_fast8_t")
.dwattr $C$DW$T$126, DW_AT_type(*$C$DW$T$125)
.dwattr $C$DW$T$126, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$126, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$126, DW_AT_decl_line(0x32)
.dwattr $C$DW$T$126, DW_AT_decl_column(0x18)
$C$DW$T$127 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$127, DW_AT_name("__int_least32_t")
.dwattr $C$DW$T$127, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$127, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$127, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$127, DW_AT_decl_line(0x5a)
.dwattr $C$DW$T$127, DW_AT_decl_column(0x13)
$C$DW$T$128 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$128, DW_AT_name("int_least32_t")
.dwattr $C$DW$T$128, DW_AT_type(*$C$DW$T$127)
.dwattr $C$DW$T$128, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$128, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$128, DW_AT_decl_line(0x2a)
.dwattr $C$DW$T$128, DW_AT_decl_column(0x1a)
$C$DW$T$129 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$129, DW_AT_name("__intfptr_t")
.dwattr $C$DW$T$129, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$129, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$129, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$129, DW_AT_decl_line(0x51)
.dwattr $C$DW$T$129, DW_AT_decl_column(0x13)
$C$DW$T$130 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$130, DW_AT_name("__intptr_t")
.dwattr $C$DW$T$130, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$130, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$130, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$130, DW_AT_decl_line(0x53)
.dwattr $C$DW$T$130, DW_AT_decl_column(0x13)
$C$DW$T$131 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$131, DW_AT_name("intptr_t")
.dwattr $C$DW$T$131, DW_AT_type(*$C$DW$T$130)
.dwattr $C$DW$T$131, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$131, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$131, DW_AT_decl_line(0x4c)
.dwattr $C$DW$T$131, DW_AT_decl_column(0x15)
$C$DW$T$132 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$132, DW_AT_name("__lwpid_t")
.dwattr $C$DW$T$132, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$132, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$132, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$132, DW_AT_decl_line(0x38)
.dwattr $C$DW$T$132, DW_AT_decl_column(0x13)
$C$DW$T$133 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$133, DW_AT_name("__pid_t")
.dwattr $C$DW$T$133, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$133, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$133, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$133, DW_AT_decl_line(0x3f)
.dwattr $C$DW$T$133, DW_AT_decl_column(0x13)
$C$DW$T$134 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$134, DW_AT_name("__ptrdiff_t")
.dwattr $C$DW$T$134, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$134, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$134, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$134, DW_AT_decl_line(0x5c)
.dwattr $C$DW$T$134, DW_AT_decl_column(0x13)
$C$DW$T$135 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$135, DW_AT_name("__register_t")
.dwattr $C$DW$T$135, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$135, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$135, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$135, DW_AT_decl_line(0x5d)
.dwattr $C$DW$T$135, DW_AT_decl_column(0x13)
$C$DW$T$136 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$136, DW_AT_name("__segsz_t")
.dwattr $C$DW$T$136, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$136, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$136, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$136, DW_AT_decl_line(0x5e)
.dwattr $C$DW$T$136, DW_AT_decl_column(0x13)
$C$DW$T$137 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$137, DW_AT_name("__ssize_t")
.dwattr $C$DW$T$137, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$137, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$137, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$137, DW_AT_decl_line(0x60)
.dwattr $C$DW$T$137, DW_AT_decl_column(0x13)
$C$DW$T$138 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$138, DW_AT_name("int32_t")
.dwattr $C$DW$T$138, DW_AT_type(*$C$DW$T$117)
.dwattr $C$DW$T$138, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$138, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$138, DW_AT_decl_line(0x2e)
.dwattr $C$DW$T$138, DW_AT_decl_column(0x14)
$C$DW$T$139 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$139, DW_AT_name("__nl_item")
.dwattr $C$DW$T$139, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$139, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$139, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$139, DW_AT_decl_line(0x3b)
.dwattr $C$DW$T$139, DW_AT_decl_column(0x0e)
$C$DW$T$140 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$140, DW_AT_name("ptrdiff_t")
.dwattr $C$DW$T$140, DW_AT_type(*$C$DW$T$10)
.dwattr $C$DW$T$140, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$140, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stddef.h")
.dwattr $C$DW$T$140, DW_AT_decl_line(0x36)
.dwattr $C$DW$T$140, DW_AT_decl_column(0x1c)
$C$DW$T$11 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$11, DW_AT_encoding(DW_ATE_unsigned)
.dwattr $C$DW$T$11, DW_AT_name("unsigned int")
.dwattr $C$DW$T$11, DW_AT_byte_size(0x04)
$C$DW$T$38 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$38, DW_AT_name("__uint32_t")
.dwattr $C$DW$T$38, DW_AT_type(*$C$DW$T$11)
.dwattr $C$DW$T$38, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$38, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$38, DW_AT_decl_line(0x3e)
.dwattr $C$DW$T$38, DW_AT_decl_column(0x17)
$C$DW$T$141 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$141, DW_AT_name("__clock_t")
.dwattr $C$DW$T$141, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$141, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$141, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$141, DW_AT_decl_line(0x4d)
.dwattr $C$DW$T$141, DW_AT_decl_column(0x14)
$C$DW$T$142 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$142, DW_AT_name("__fflags_t")
.dwattr $C$DW$T$142, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$142, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$142, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$142, DW_AT_decl_line(0x31)
.dwattr $C$DW$T$142, DW_AT_decl_column(0x14)
$C$DW$T$143 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$143, DW_AT_name("__fixpt_t")
.dwattr $C$DW$T$143, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$143, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$143, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$143, DW_AT_decl_line(0x76)
.dwattr $C$DW$T$143, DW_AT_decl_column(0x14)
$C$DW$T$144 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$144, DW_AT_name("__gid_t")
.dwattr $C$DW$T$144, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$144, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$144, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$144, DW_AT_decl_line(0x34)
.dwattr $C$DW$T$144, DW_AT_decl_column(0x14)
$C$DW$T$145 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$145, DW_AT_name("__size_t")
.dwattr $C$DW$T$145, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$145, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$145, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$145, DW_AT_decl_line(0x5f)
.dwattr $C$DW$T$145, DW_AT_decl_column(0x14)
$C$DW$T$146 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$146, DW_AT_name("__socklen_t")
.dwattr $C$DW$T$146, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$146, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$146, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$146, DW_AT_decl_line(0x44)
.dwattr $C$DW$T$146, DW_AT_decl_column(0x14)
$C$DW$T$147 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$147, DW_AT_name("__time_t")
.dwattr $C$DW$T$147, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$147, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$147, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$147, DW_AT_decl_line(0x64)
.dwattr $C$DW$T$147, DW_AT_decl_column(0x19)
$C$DW$T$148 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$148, DW_AT_name("__u_register_t")
.dwattr $C$DW$T$148, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$148, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$148, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$148, DW_AT_decl_line(0x71)
.dwattr $C$DW$T$148, DW_AT_decl_column(0x14)
$C$DW$T$149 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$149, DW_AT_name("__uid_t")
.dwattr $C$DW$T$149, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$149, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$149, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$149, DW_AT_decl_line(0x48)
.dwattr $C$DW$T$149, DW_AT_decl_column(0x14)
$C$DW$T$150 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$150, DW_AT_name("__uint_fast16_t")
.dwattr $C$DW$T$150, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$150, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$150, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$150, DW_AT_decl_line(0x6a)
.dwattr $C$DW$T$150, DW_AT_decl_column(0x14)
$C$DW$T$151 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$151, DW_AT_name("uint_fast16_t")
.dwattr $C$DW$T$151, DW_AT_type(*$C$DW$T$150)
.dwattr $C$DW$T$151, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$151, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$151, DW_AT_decl_line(0x38)
.dwattr $C$DW$T$151, DW_AT_decl_column(0x1a)
$C$DW$T$152 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$152, DW_AT_name("__uint_fast32_t")
.dwattr $C$DW$T$152, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$152, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$152, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$152, DW_AT_decl_line(0x6b)
.dwattr $C$DW$T$152, DW_AT_decl_column(0x14)
$C$DW$T$153 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$153, DW_AT_name("uint_fast32_t")
.dwattr $C$DW$T$153, DW_AT_type(*$C$DW$T$152)
.dwattr $C$DW$T$153, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$153, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$153, DW_AT_decl_line(0x39)
.dwattr $C$DW$T$153, DW_AT_decl_column(0x1a)
$C$DW$T$154 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$154, DW_AT_name("__uint_fast8_t")
.dwattr $C$DW$T$154, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$154, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$154, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$154, DW_AT_decl_line(0x69)
.dwattr $C$DW$T$154, DW_AT_decl_column(0x14)
$C$DW$T$155 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$155, DW_AT_name("uint_fast8_t")
.dwattr $C$DW$T$155, DW_AT_type(*$C$DW$T$154)
.dwattr $C$DW$T$155, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$155, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$155, DW_AT_decl_line(0x37)
.dwattr $C$DW$T$155, DW_AT_decl_column(0x19)
$C$DW$T$156 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$156, DW_AT_name("__uint_least32_t")
.dwattr $C$DW$T$156, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$156, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$156, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$156, DW_AT_decl_line(0x6f)
.dwattr $C$DW$T$156, DW_AT_decl_column(0x14)
$C$DW$T$157 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$157, DW_AT_name("__char32_t")
.dwattr $C$DW$T$157, DW_AT_type(*$C$DW$T$156)
.dwattr $C$DW$T$157, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$157, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$157, DW_AT_decl_line(0x67)
.dwattr $C$DW$T$157, DW_AT_decl_column(0x1a)
$C$DW$T$158 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$158, DW_AT_name("uint_least32_t")
.dwattr $C$DW$T$158, DW_AT_type(*$C$DW$T$156)
.dwattr $C$DW$T$158, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$158, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$158, DW_AT_decl_line(0x2f)
.dwattr $C$DW$T$158, DW_AT_decl_column(0x1a)
$C$DW$T$159 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$159, DW_AT_name("__uintfptr_t")
.dwattr $C$DW$T$159, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$159, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$159, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$159, DW_AT_decl_line(0x66)
.dwattr $C$DW$T$159, DW_AT_decl_column(0x14)
$C$DW$T$160 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$160, DW_AT_name("__uintptr_t")
.dwattr $C$DW$T$160, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$160, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$160, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$160, DW_AT_decl_line(0x68)
.dwattr $C$DW$T$160, DW_AT_decl_column(0x14)
$C$DW$T$161 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$161, DW_AT_name("uintptr_t")
.dwattr $C$DW$T$161, DW_AT_type(*$C$DW$T$160)
.dwattr $C$DW$T$161, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$161, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$161, DW_AT_decl_line(0x50)
.dwattr $C$DW$T$161, DW_AT_decl_column(0x16)
$C$DW$T$162 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$162, DW_AT_name("__vm_offset_t")
.dwattr $C$DW$T$162, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$162, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$162, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$162, DW_AT_decl_line(0x72)
.dwattr $C$DW$T$162, DW_AT_decl_column(0x14)
$C$DW$T$163 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$163, DW_AT_name("__vm_paddr_t")
.dwattr $C$DW$T$163, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$163, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$163, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$163, DW_AT_decl_line(0x73)
.dwattr $C$DW$T$163, DW_AT_decl_column(0x14)
$C$DW$T$164 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$164, DW_AT_name("__vm_size_t")
.dwattr $C$DW$T$164, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$164, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$164, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$164, DW_AT_decl_line(0x74)
.dwattr $C$DW$T$164, DW_AT_decl_column(0x14)
$C$DW$T$39 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$39, DW_AT_name("uint32_t")
.dwattr $C$DW$T$39, DW_AT_type(*$C$DW$T$38)
.dwattr $C$DW$T$39, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$39, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$39, DW_AT_decl_line(0x42)
.dwattr $C$DW$T$39, DW_AT_decl_column(0x15)
$C$DW$T$165 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$165, DW_AT_name("StackType_t")
.dwattr $C$DW$T$165, DW_AT_type(*$C$DW$T$39)
.dwattr $C$DW$T$165, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$165, DW_AT_decl_file("../OS/portmacro.h")
.dwattr $C$DW$T$165, DW_AT_decl_line(0x37)
.dwattr $C$DW$T$165, DW_AT_decl_column(0x18)
$C$DW$T$40 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$40, DW_AT_name("TickType_t")
.dwattr $C$DW$T$40, DW_AT_type(*$C$DW$T$39)
.dwattr $C$DW$T$40, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$40, DW_AT_decl_file("../OS/portmacro.h")
.dwattr $C$DW$T$40, DW_AT_decl_line(0x3f)
.dwattr $C$DW$T$40, DW_AT_decl_column(0x13)
$C$DW$T$166 .dwtag DW_TAG_const_type
.dwattr $C$DW$T$166, DW_AT_type(*$C$DW$T$40)
$C$DW$T$167 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$167, DW_AT_name("__useconds_t")
.dwattr $C$DW$T$167, DW_AT_type(*$C$DW$T$11)
.dwattr $C$DW$T$167, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$167, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$167, DW_AT_decl_line(0x49)
.dwattr $C$DW$T$167, DW_AT_decl_column(0x16)
$C$DW$T$30 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$30, DW_AT_name("size_t")
.dwattr $C$DW$T$30, DW_AT_type(*$C$DW$T$11)
.dwattr $C$DW$T$30, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$30, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h")
.dwattr $C$DW$T$30, DW_AT_decl_line(0x68)
.dwattr $C$DW$T$30, DW_AT_decl_column(0x19)
$C$DW$T$58 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$58, DW_AT_type(*$C$DW$T$30)
.dwattr $C$DW$T$58, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$58, DW_AT_byte_size(0x10)
$C$DW$49 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$49, DW_AT_upper_bound(0x03)
.dwendtag $C$DW$T$58
$C$DW$T$12 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$12, DW_AT_encoding(DW_ATE_signed)
.dwattr $C$DW$T$12, DW_AT_name("long")
.dwattr $C$DW$T$12, DW_AT_byte_size(0x04)
$C$DW$T$168 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$168, DW_AT_name("BaseType_t")
.dwattr $C$DW$T$168, DW_AT_type(*$C$DW$T$12)
.dwattr $C$DW$T$168, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$168, DW_AT_decl_file("../OS/portmacro.h")
.dwattr $C$DW$T$168, DW_AT_decl_line(0x38)
.dwattr $C$DW$T$168, DW_AT_decl_column(0x0e)
$C$DW$T$169 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$169, DW_AT_name("__key_t")
.dwattr $C$DW$T$169, DW_AT_type(*$C$DW$T$12)
.dwattr $C$DW$T$169, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$169, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$169, DW_AT_decl_line(0x37)
.dwattr $C$DW$T$169, DW_AT_decl_column(0x0f)
$C$DW$T$170 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$170, DW_AT_name("__suseconds_t")
.dwattr $C$DW$T$170, DW_AT_type(*$C$DW$T$12)
.dwattr $C$DW$T$170, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$170, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$170, DW_AT_decl_line(0x45)
.dwattr $C$DW$T$170, DW_AT_decl_column(0x0f)
$C$DW$T$13 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$13, DW_AT_encoding(DW_ATE_unsigned)
.dwattr $C$DW$T$13, DW_AT_name("unsigned long")
.dwattr $C$DW$T$13, DW_AT_byte_size(0x04)
$C$DW$T$25 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$25, DW_AT_name("UBaseType_t")
.dwattr $C$DW$T$25, DW_AT_type(*$C$DW$T$13)
.dwattr $C$DW$T$25, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$25, DW_AT_decl_file("../OS/portmacro.h")
.dwattr $C$DW$T$25, DW_AT_decl_line(0x39)
.dwattr $C$DW$T$25, DW_AT_decl_column(0x17)
$C$DW$T$33 .dwtag DW_TAG_volatile_type
.dwattr $C$DW$T$33, DW_AT_type(*$C$DW$T$25)
$C$DW$T$55 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$55, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$T$55, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$55, DW_AT_byte_size(0x0c)
$C$DW$50 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$50, DW_AT_upper_bound(0x02)
.dwendtag $C$DW$T$55
$C$DW$T$63 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$63, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$T$63, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$63, DW_AT_byte_size(0x08)
$C$DW$51 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$51, DW_AT_upper_bound(0x01)
.dwendtag $C$DW$T$63
$C$DW$T$14 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$14, DW_AT_encoding(DW_ATE_signed)
.dwattr $C$DW$T$14, DW_AT_name("long long")
.dwattr $C$DW$T$14, DW_AT_byte_size(0x08)
$C$DW$T$172 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$172, DW_AT_name("__int64_t")
.dwattr $C$DW$T$172, DW_AT_type(*$C$DW$T$14)
.dwattr $C$DW$T$172, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$172, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$172, DW_AT_decl_line(0x43)
.dwattr $C$DW$T$172, DW_AT_decl_column(0x14)
$C$DW$T$173 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$173, DW_AT_name("__blkcnt_t")
.dwattr $C$DW$T$173, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$173, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$173, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$173, DW_AT_decl_line(0x2f)
.dwattr $C$DW$T$173, DW_AT_decl_column(0x13)
$C$DW$T$174 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$174, DW_AT_name("__id_t")
.dwattr $C$DW$T$174, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$174, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$174, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$174, DW_AT_decl_line(0x35)
.dwattr $C$DW$T$174, DW_AT_decl_column(0x13)
$C$DW$T$175 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$175, DW_AT_name("__int_fast64_t")
.dwattr $C$DW$T$175, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$175, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$175, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$175, DW_AT_decl_line(0x57)
.dwattr $C$DW$T$175, DW_AT_decl_column(0x13)
$C$DW$T$176 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$176, DW_AT_name("int_fast64_t")
.dwattr $C$DW$T$176, DW_AT_type(*$C$DW$T$175)
.dwattr $C$DW$T$176, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$176, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$176, DW_AT_decl_line(0x35)
.dwattr $C$DW$T$176, DW_AT_decl_column(0x19)
$C$DW$T$177 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$177, DW_AT_name("__int_least64_t")
.dwattr $C$DW$T$177, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$177, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$177, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$177, DW_AT_decl_line(0x5b)
.dwattr $C$DW$T$177, DW_AT_decl_column(0x13)
$C$DW$T$178 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$178, DW_AT_name("int_least64_t")
.dwattr $C$DW$T$178, DW_AT_type(*$C$DW$T$177)
.dwattr $C$DW$T$178, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$178, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$178, DW_AT_decl_line(0x2b)
.dwattr $C$DW$T$178, DW_AT_decl_column(0x1a)
$C$DW$T$179 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$179, DW_AT_name("__intmax_t")
.dwattr $C$DW$T$179, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$179, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$179, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$179, DW_AT_decl_line(0x52)
.dwattr $C$DW$T$179, DW_AT_decl_column(0x13)
$C$DW$T$180 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$180, DW_AT_name("intmax_t")
.dwattr $C$DW$T$180, DW_AT_type(*$C$DW$T$179)
.dwattr $C$DW$T$180, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$180, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$180, DW_AT_decl_line(0x54)
.dwattr $C$DW$T$180, DW_AT_decl_column(0x15)
$C$DW$T$181 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$181, DW_AT_name("__off64_t")
.dwattr $C$DW$T$181, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$181, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$181, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$181, DW_AT_decl_line(0x3e)
.dwattr $C$DW$T$181, DW_AT_decl_column(0x13)
$C$DW$T$182 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$182, DW_AT_name("__off_t")
.dwattr $C$DW$T$182, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$182, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$182, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$182, DW_AT_decl_line(0x3d)
.dwattr $C$DW$T$182, DW_AT_decl_column(0x13)
$C$DW$T$183 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$183, DW_AT_name("__rlim_t")
.dwattr $C$DW$T$183, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$183, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$183, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$183, DW_AT_decl_line(0x40)
.dwattr $C$DW$T$183, DW_AT_decl_column(0x13)
$C$DW$T$184 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$184, DW_AT_name("int64_t")
.dwattr $C$DW$T$184, DW_AT_type(*$C$DW$T$172)
.dwattr $C$DW$T$184, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$184, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$184, DW_AT_decl_line(0x33)
.dwattr $C$DW$T$184, DW_AT_decl_column(0x14)
$C$DW$T$15 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$15, DW_AT_encoding(DW_ATE_unsigned)
.dwattr $C$DW$T$15, DW_AT_name("unsigned long long")
.dwattr $C$DW$T$15, DW_AT_byte_size(0x08)
$C$DW$T$185 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$185, DW_AT_name("__uint64_t")
.dwattr $C$DW$T$185, DW_AT_type(*$C$DW$T$15)
.dwattr $C$DW$T$185, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$185, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$185, DW_AT_decl_line(0x48)
.dwattr $C$DW$T$185, DW_AT_decl_column(0x1c)
$C$DW$T$186 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$186, DW_AT_name("__dev_t")
.dwattr $C$DW$T$186, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$186, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$186, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$186, DW_AT_decl_line(0x74)
.dwattr $C$DW$T$186, DW_AT_decl_column(0x14)
$C$DW$T$187 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$187, DW_AT_name("__fsblkcnt_t")
.dwattr $C$DW$T$187, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$187, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$187, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$187, DW_AT_decl_line(0x32)
.dwattr $C$DW$T$187, DW_AT_decl_column(0x14)
$C$DW$T$188 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$188, DW_AT_name("__fsfilcnt_t")
.dwattr $C$DW$T$188, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$188, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$188, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$188, DW_AT_decl_line(0x33)
.dwattr $C$DW$T$188, DW_AT_decl_column(0x14)
$C$DW$T$189 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$189, DW_AT_name("__ino_t")
.dwattr $C$DW$T$189, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$189, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$189, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$189, DW_AT_decl_line(0x36)
.dwattr $C$DW$T$189, DW_AT_decl_column(0x14)
$C$DW$T$190 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$190, DW_AT_name("__nlink_t")
.dwattr $C$DW$T$190, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$190, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$190, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$190, DW_AT_decl_line(0x3c)
.dwattr $C$DW$T$190, DW_AT_decl_column(0x14)
$C$DW$T$191 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$191, DW_AT_name("__uint_fast64_t")
.dwattr $C$DW$T$191, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$191, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$191, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$191, DW_AT_decl_line(0x6c)
.dwattr $C$DW$T$191, DW_AT_decl_column(0x14)
$C$DW$T$192 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$192, DW_AT_name("uint_fast64_t")
.dwattr $C$DW$T$192, DW_AT_type(*$C$DW$T$191)
.dwattr $C$DW$T$192, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$192, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$192, DW_AT_decl_line(0x3a)
.dwattr $C$DW$T$192, DW_AT_decl_column(0x1a)
$C$DW$T$193 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$193, DW_AT_name("__uint_least64_t")
.dwattr $C$DW$T$193, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$193, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$193, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$193, DW_AT_decl_line(0x70)
.dwattr $C$DW$T$193, DW_AT_decl_column(0x14)
$C$DW$T$194 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$194, DW_AT_name("uint_least64_t")
.dwattr $C$DW$T$194, DW_AT_type(*$C$DW$T$193)
.dwattr $C$DW$T$194, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$194, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/stdint.h")
.dwattr $C$DW$T$194, DW_AT_decl_line(0x30)
.dwattr $C$DW$T$194, DW_AT_decl_column(0x1a)
$C$DW$T$195 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$195, DW_AT_name("__uintmax_t")
.dwattr $C$DW$T$195, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$195, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$195, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$195, DW_AT_decl_line(0x67)
.dwattr $C$DW$T$195, DW_AT_decl_column(0x14)
$C$DW$T$196 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$196, DW_AT_name("__rman_res_t")
.dwattr $C$DW$T$196, DW_AT_type(*$C$DW$T$195)
.dwattr $C$DW$T$196, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$196, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$196, DW_AT_decl_line(0x8f)
.dwattr $C$DW$T$196, DW_AT_decl_column(0x19)
$C$DW$T$197 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$197, DW_AT_name("uintmax_t")
.dwattr $C$DW$T$197, DW_AT_type(*$C$DW$T$195)
.dwattr $C$DW$T$197, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$197, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$197, DW_AT_decl_line(0x58)
.dwattr $C$DW$T$197, DW_AT_decl_column(0x16)
$C$DW$T$198 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$198, DW_AT_name("uint64_t")
.dwattr $C$DW$T$198, DW_AT_type(*$C$DW$T$185)
.dwattr $C$DW$T$198, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$198, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_stdint.h")
.dwattr $C$DW$T$198, DW_AT_decl_line(0x47)
.dwattr $C$DW$T$198, DW_AT_decl_column(0x15)
$C$DW$T$16 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$16, DW_AT_encoding(DW_ATE_float)
.dwattr $C$DW$T$16, DW_AT_name("float")
.dwattr $C$DW$T$16, DW_AT_byte_size(0x04)
$C$DW$T$199 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$199, DW_AT_name("__float_t")
.dwattr $C$DW$T$199, DW_AT_type(*$C$DW$T$16)
.dwattr $C$DW$T$199, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$199, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$199, DW_AT_decl_line(0x50)
.dwattr $C$DW$T$199, DW_AT_decl_column(0x10)
$C$DW$T$17 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$17, DW_AT_encoding(DW_ATE_float)
.dwattr $C$DW$T$17, DW_AT_name("double")
.dwattr $C$DW$T$17, DW_AT_byte_size(0x08)
$C$DW$T$200 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$200, DW_AT_name("__double_t")
.dwattr $C$DW$T$200, DW_AT_type(*$C$DW$T$17)
.dwattr $C$DW$T$200, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$200, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$200, DW_AT_decl_line(0x4f)
.dwattr $C$DW$T$200, DW_AT_decl_column(0x11)
$C$DW$T$18 .dwtag DW_TAG_base_type
.dwattr $C$DW$T$18, DW_AT_encoding(DW_ATE_float)
.dwattr $C$DW$T$18, DW_AT_name("long double")
.dwattr $C$DW$T$18, DW_AT_byte_size(0x08)
$C$DW$T$201 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$201, DW_AT_name("max_align_t")
.dwattr $C$DW$T$201, DW_AT_type(*$C$DW$T$18)
.dwattr $C$DW$T$201, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$201, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stddef.h")
.dwattr $C$DW$T$201, DW_AT_decl_line(0x4f)
.dwattr $C$DW$T$201, DW_AT_decl_column(0x15)
$C$DW$T$19 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$19, DW_AT_name("__mq")
.dwattr $C$DW$T$19, DW_AT_declaration
.dwattr $C$DW$T$19, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$19, DW_AT_decl_line(0x47)
.dwattr $C$DW$T$19, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$19
$C$DW$T$202 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$202, DW_AT_type(*$C$DW$T$19)
.dwattr $C$DW$T$202, DW_AT_address_class(0x20)
$C$DW$T$203 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$203, DW_AT_name("__mqd_t")
.dwattr $C$DW$T$203, DW_AT_type(*$C$DW$T$202)
.dwattr $C$DW$T$203, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$203, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$203, DW_AT_decl_line(0x47)
.dwattr $C$DW$T$203, DW_AT_decl_column(0x16)
$C$DW$T$20 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$20, DW_AT_name("__timer")
.dwattr $C$DW$T$20, DW_AT_declaration
.dwattr $C$DW$T$20, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$20, DW_AT_decl_line(0x46)
.dwattr $C$DW$T$20, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$20
$C$DW$T$204 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$204, DW_AT_type(*$C$DW$T$20)
.dwattr $C$DW$T$204, DW_AT_address_class(0x20)
$C$DW$T$205 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$205, DW_AT_name("__timer_t")
.dwattr $C$DW$T$205, DW_AT_type(*$C$DW$T$204)
.dwattr $C$DW$T$205, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$205, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/sys/_types.h")
.dwattr $C$DW$T$205, DW_AT_decl_line(0x46)
.dwattr $C$DW$T$205, DW_AT_decl_column(0x19)
$C$DW$T$32 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$32, DW_AT_name("__va_list_t")
.dwattr $C$DW$T$32, DW_AT_byte_size(0x04)
$C$DW$52 .dwtag DW_TAG_member
.dwattr $C$DW$52, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$52, DW_AT_name("__ap")
.dwattr $C$DW$52, DW_AT_TI_symbol_name("__ap")
.dwattr $C$DW$52, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$52, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$52, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$52, DW_AT_decl_line(0x88)
.dwattr $C$DW$52, DW_AT_decl_column(0x0c)
.dwattr $C$DW$T$32, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$32, DW_AT_decl_line(0x87)
.dwattr $C$DW$T$32, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$32
$C$DW$T$206 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$206, DW_AT_name("__va_list")
.dwattr $C$DW$T$206, DW_AT_type(*$C$DW$T$32)
.dwattr $C$DW$T$206, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$206, DW_AT_decl_file("/home/pola/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/machine/_types.h")
.dwattr $C$DW$T$206, DW_AT_decl_line(0x89)
.dwattr $C$DW$T$206, DW_AT_decl_column(0x03)
$C$DW$T$37 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$37, DW_AT_name("xLIST")
.dwattr $C$DW$T$37, DW_AT_byte_size(0x14)
$C$DW$53 .dwtag DW_TAG_member
.dwattr $C$DW$53, DW_AT_type(*$C$DW$T$33)
.dwattr $C$DW$53, DW_AT_name("uxNumberOfItems")
.dwattr $C$DW$53, DW_AT_TI_symbol_name("uxNumberOfItems")
.dwattr $C$DW$53, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$53, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$53, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$53, DW_AT_decl_line(0xa7)
.dwattr $C$DW$53, DW_AT_decl_column(0x17)
$C$DW$54 .dwtag DW_TAG_member
.dwattr $C$DW$54, DW_AT_type(*$C$DW$T$35)
.dwattr $C$DW$54, DW_AT_name("pxIndex")
.dwattr $C$DW$54, DW_AT_TI_symbol_name("pxIndex")
.dwattr $C$DW$54, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$54, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$54, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$54, DW_AT_decl_line(0xa8)
.dwattr $C$DW$54, DW_AT_decl_column(0x23)
$C$DW$55 .dwtag DW_TAG_member
.dwattr $C$DW$55, DW_AT_type(*$C$DW$T$36)
.dwattr $C$DW$55, DW_AT_name("xListEnd")
.dwattr $C$DW$55, DW_AT_TI_symbol_name("xListEnd")
.dwattr $C$DW$55, DW_AT_data_member_location[DW_OP_plus_uconst 0x8]
.dwattr $C$DW$55, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$55, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$55, DW_AT_decl_line(0xa9)
.dwattr $C$DW$55, DW_AT_decl_column(0x11)
.dwattr $C$DW$T$37, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$T$37, DW_AT_decl_line(0xa4)
.dwattr $C$DW$T$37, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$37
$C$DW$T$74 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$74, DW_AT_name("List_t")
.dwattr $C$DW$T$74, DW_AT_type(*$C$DW$T$37)
.dwattr $C$DW$T$74, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$74, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$T$74, DW_AT_decl_line(0xab)
.dwattr $C$DW$T$74, DW_AT_decl_column(0x03)
$C$DW$T$75 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$75, DW_AT_type(*$C$DW$T$74)
.dwattr $C$DW$T$75, DW_AT_address_class(0x20)
$C$DW$T$76 .dwtag DW_TAG_const_type
.dwattr $C$DW$T$76, DW_AT_type(*$C$DW$T$75)
$C$DW$T$42 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$42, DW_AT_type(*$C$DW$T$37)
.dwattr $C$DW$T$42, DW_AT_address_class(0x20)
$C$DW$T$43 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$43, DW_AT_name("xLIST_ITEM")
.dwattr $C$DW$T$43, DW_AT_byte_size(0x14)
$C$DW$56 .dwtag DW_TAG_member
.dwattr $C$DW$56, DW_AT_type(*$C$DW$T$40)
.dwattr $C$DW$56, DW_AT_name("xItemValue")
.dwattr $C$DW$56, DW_AT_TI_symbol_name("xItemValue")
.dwattr $C$DW$56, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$56, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$56, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$56, DW_AT_decl_line(0x8f)
.dwattr $C$DW$56, DW_AT_decl_column(0x21)
$C$DW$57 .dwtag DW_TAG_member
.dwattr $C$DW$57, DW_AT_type(*$C$DW$T$41)
.dwattr $C$DW$57, DW_AT_name("pxNext")
.dwattr $C$DW$57, DW_AT_TI_symbol_name("pxNext")
.dwattr $C$DW$57, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$57, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$57, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$57, DW_AT_decl_line(0x90)
.dwattr $C$DW$57, DW_AT_decl_column(0x2a)
$C$DW$58 .dwtag DW_TAG_member
.dwattr $C$DW$58, DW_AT_type(*$C$DW$T$41)
.dwattr $C$DW$58, DW_AT_name("pxPrevious")
.dwattr $C$DW$58, DW_AT_TI_symbol_name("pxPrevious")
.dwattr $C$DW$58, DW_AT_data_member_location[DW_OP_plus_uconst 0x8]
.dwattr $C$DW$58, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$58, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$58, DW_AT_decl_line(0x91)
.dwattr $C$DW$58, DW_AT_decl_column(0x2a)
$C$DW$59 .dwtag DW_TAG_member
.dwattr $C$DW$59, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$59, DW_AT_name("pvOwner")
.dwattr $C$DW$59, DW_AT_TI_symbol_name("pvOwner")
.dwattr $C$DW$59, DW_AT_data_member_location[DW_OP_plus_uconst 0xc]
.dwattr $C$DW$59, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$59, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$59, DW_AT_decl_line(0x92)
.dwattr $C$DW$59, DW_AT_decl_column(0x09)
$C$DW$60 .dwtag DW_TAG_member
.dwattr $C$DW$60, DW_AT_type(*$C$DW$T$42)
.dwattr $C$DW$60, DW_AT_name("pvContainer")
.dwattr $C$DW$60, DW_AT_TI_symbol_name("pvContainer")
.dwattr $C$DW$60, DW_AT_data_member_location[DW_OP_plus_uconst 0x10]
.dwattr $C$DW$60, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$60, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$60, DW_AT_decl_line(0x93)
.dwattr $C$DW$60, DW_AT_decl_column(0x25)
.dwattr $C$DW$T$43, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$T$43, DW_AT_decl_line(0x8c)
.dwattr $C$DW$T$43, DW_AT_decl_column(0x08)
.dwendtag $C$DW$T$43
$C$DW$T$34 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$34, DW_AT_name("ListItem_t")
.dwattr $C$DW$T$34, DW_AT_type(*$C$DW$T$43)
.dwattr $C$DW$T$34, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$34, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$T$34, DW_AT_decl_line(0x96)
.dwattr $C$DW$T$34, DW_AT_decl_column(0x1b)
$C$DW$T$35 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$35, DW_AT_type(*$C$DW$T$34)
.dwattr $C$DW$T$35, DW_AT_address_class(0x20)
$C$DW$T$78 .dwtag DW_TAG_const_type
.dwattr $C$DW$T$78, DW_AT_type(*$C$DW$T$35)
$C$DW$T$41 .dwtag DW_TAG_pointer_type
.dwattr $C$DW$T$41, DW_AT_type(*$C$DW$T$43)
.dwattr $C$DW$T$41, DW_AT_address_class(0x20)
$C$DW$T$44 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$44, DW_AT_name("xMINI_LIST_ITEM")
.dwattr $C$DW$T$44, DW_AT_byte_size(0x0c)
$C$DW$61 .dwtag DW_TAG_member
.dwattr $C$DW$61, DW_AT_type(*$C$DW$T$40)
.dwattr $C$DW$61, DW_AT_name("xItemValue")
.dwattr $C$DW$61, DW_AT_TI_symbol_name("xItemValue")
.dwattr $C$DW$61, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$61, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$61, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$61, DW_AT_decl_line(0x9b)
.dwattr $C$DW$61, DW_AT_decl_column(0x21)
$C$DW$62 .dwtag DW_TAG_member
.dwattr $C$DW$62, DW_AT_type(*$C$DW$T$41)
.dwattr $C$DW$62, DW_AT_name("pxNext")
.dwattr $C$DW$62, DW_AT_TI_symbol_name("pxNext")
.dwattr $C$DW$62, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$62, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$62, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$62, DW_AT_decl_line(0x9c)
.dwattr $C$DW$62, DW_AT_decl_column(0x2a)
$C$DW$63 .dwtag DW_TAG_member
.dwattr $C$DW$63, DW_AT_type(*$C$DW$T$41)
.dwattr $C$DW$63, DW_AT_name("pxPrevious")
.dwattr $C$DW$63, DW_AT_TI_symbol_name("pxPrevious")
.dwattr $C$DW$63, DW_AT_data_member_location[DW_OP_plus_uconst 0x8]
.dwattr $C$DW$63, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$63, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$63, DW_AT_decl_line(0x9d)
.dwattr $C$DW$63, DW_AT_decl_column(0x2a)
.dwattr $C$DW$T$44, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$T$44, DW_AT_decl_line(0x98)
.dwattr $C$DW$T$44, DW_AT_decl_column(0x08)
.dwendtag $C$DW$T$44
$C$DW$T$36 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$36, DW_AT_name("MiniListItem_t")
.dwattr $C$DW$T$36, DW_AT_type(*$C$DW$T$44)
.dwattr $C$DW$T$36, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$36, DW_AT_decl_file("../OS/list.h")
.dwattr $C$DW$T$36, DW_AT_decl_line(0x9f)
.dwattr $C$DW$T$36, DW_AT_decl_column(0x20)
$C$DW$T$46 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$46, DW_AT_name("xSTATIC_EVENT_GROUP")
.dwattr $C$DW$T$46, DW_AT_byte_size(0x1c)
$C$DW$64 .dwtag DW_TAG_member
.dwattr $C$DW$64, DW_AT_type(*$C$DW$T$40)
.dwattr $C$DW$64, DW_AT_name("xDummy1")
.dwattr $C$DW$64, DW_AT_TI_symbol_name("xDummy1")
.dwattr $C$DW$64, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$64, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$64, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$64, DW_AT_decl_line(0x455)
.dwattr $C$DW$64, DW_AT_decl_column(0x0d)
$C$DW$65 .dwtag DW_TAG_member
.dwattr $C$DW$65, DW_AT_type(*$C$DW$T$45)
.dwattr $C$DW$65, DW_AT_name("xDummy2")
.dwattr $C$DW$65, DW_AT_TI_symbol_name("xDummy2")
.dwattr $C$DW$65, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$65, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$65, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$65, DW_AT_decl_line(0x456)
.dwattr $C$DW$65, DW_AT_decl_column(0x0f)
$C$DW$66 .dwtag DW_TAG_member
.dwattr $C$DW$66, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$66, DW_AT_name("uxDummy3")
.dwattr $C$DW$66, DW_AT_TI_symbol_name("uxDummy3")
.dwattr $C$DW$66, DW_AT_data_member_location[DW_OP_plus_uconst 0x18]
.dwattr $C$DW$66, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$66, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$66, DW_AT_decl_line(0x459)
.dwattr $C$DW$66, DW_AT_decl_column(0x0f)
.dwattr $C$DW$T$46, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$46, DW_AT_decl_line(0x453)
.dwattr $C$DW$T$46, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$46
$C$DW$T$208 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$208, DW_AT_name("StaticEventGroup_t")
.dwattr $C$DW$T$208, DW_AT_type(*$C$DW$T$46)
.dwattr $C$DW$T$208, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$208, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$208, DW_AT_decl_line(0x460)
.dwattr $C$DW$T$208, DW_AT_decl_column(0x03)
$C$DW$T$48 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$48, DW_AT_name("xSTATIC_LIST")
.dwattr $C$DW$T$48, DW_AT_byte_size(0x14)
$C$DW$67 .dwtag DW_TAG_member
.dwattr $C$DW$67, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$67, DW_AT_name("uxDummy1")
.dwattr $C$DW$67, DW_AT_TI_symbol_name("uxDummy1")
.dwattr $C$DW$67, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$67, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$67, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$67, DW_AT_decl_line(0x3d5)
.dwattr $C$DW$67, DW_AT_decl_column(0x0e)
$C$DW$68 .dwtag DW_TAG_member
.dwattr $C$DW$68, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$68, DW_AT_name("pvDummy2")
.dwattr $C$DW$68, DW_AT_TI_symbol_name("pvDummy2")
.dwattr $C$DW$68, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$68, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$68, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$68, DW_AT_decl_line(0x3d6)
.dwattr $C$DW$68, DW_AT_decl_column(0x08)
$C$DW$69 .dwtag DW_TAG_member
.dwattr $C$DW$69, DW_AT_type(*$C$DW$T$47)
.dwattr $C$DW$69, DW_AT_name("xDummy3")
.dwattr $C$DW$69, DW_AT_TI_symbol_name("xDummy3")
.dwattr $C$DW$69, DW_AT_data_member_location[DW_OP_plus_uconst 0x8]
.dwattr $C$DW$69, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$69, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$69, DW_AT_decl_line(0x3d7)
.dwattr $C$DW$69, DW_AT_decl_column(0x17)
.dwattr $C$DW$T$48, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$48, DW_AT_decl_line(0x3d3)
.dwattr $C$DW$T$48, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$48
$C$DW$T$45 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$45, DW_AT_name("StaticList_t")
.dwattr $C$DW$T$45, DW_AT_type(*$C$DW$T$48)
.dwattr $C$DW$T$45, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$45, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$45, DW_AT_decl_line(0x3d8)
.dwattr $C$DW$T$45, DW_AT_decl_column(0x03)
$C$DW$T$54 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$54, DW_AT_type(*$C$DW$T$45)
.dwattr $C$DW$T$54, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$54, DW_AT_byte_size(0x28)
$C$DW$70 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$70, DW_AT_upper_bound(0x01)
.dwendtag $C$DW$T$54
$C$DW$T$50 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$50, DW_AT_name("xSTATIC_LIST_ITEM")
.dwattr $C$DW$T$50, DW_AT_byte_size(0x14)
$C$DW$71 .dwtag DW_TAG_member
.dwattr $C$DW$71, DW_AT_type(*$C$DW$T$40)
.dwattr $C$DW$71, DW_AT_name("xDummy1")
.dwattr $C$DW$71, DW_AT_TI_symbol_name("xDummy1")
.dwattr $C$DW$71, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$71, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$71, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$71, DW_AT_decl_line(0x3c5)
.dwattr $C$DW$71, DW_AT_decl_column(0x0d)
$C$DW$72 .dwtag DW_TAG_member
.dwattr $C$DW$72, DW_AT_type(*$C$DW$T$49)
.dwattr $C$DW$72, DW_AT_name("pvDummy2")
.dwattr $C$DW$72, DW_AT_TI_symbol_name("pvDummy2")
.dwattr $C$DW$72, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$72, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$72, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$72, DW_AT_decl_line(0x3c6)
.dwattr $C$DW$72, DW_AT_decl_column(0x08)
.dwattr $C$DW$T$50, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$50, DW_AT_decl_line(0x3c3)
.dwattr $C$DW$T$50, DW_AT_decl_column(0x08)
.dwendtag $C$DW$T$50
$C$DW$T$60 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$60, DW_AT_name("StaticListItem_t")
.dwattr $C$DW$T$60, DW_AT_type(*$C$DW$T$50)
.dwattr $C$DW$T$60, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$60, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$60, DW_AT_decl_line(0x3c8)
.dwattr $C$DW$T$60, DW_AT_decl_column(0x22)
$C$DW$T$61 .dwtag DW_TAG_array_type
.dwattr $C$DW$T$61, DW_AT_type(*$C$DW$T$60)
.dwattr $C$DW$T$61, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$61, DW_AT_byte_size(0x28)
$C$DW$73 .dwtag DW_TAG_subrange_type
.dwattr $C$DW$73, DW_AT_upper_bound(0x01)
.dwendtag $C$DW$T$61
$C$DW$T$52 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$52, DW_AT_name("xSTATIC_MINI_LIST_ITEM")
.dwattr $C$DW$T$52, DW_AT_byte_size(0x0c)
$C$DW$74 .dwtag DW_TAG_member
.dwattr $C$DW$74, DW_AT_type(*$C$DW$T$40)
.dwattr $C$DW$74, DW_AT_name("xDummy1")
.dwattr $C$DW$74, DW_AT_TI_symbol_name("xDummy1")
.dwattr $C$DW$74, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$74, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$74, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$74, DW_AT_decl_line(0x3cd)
.dwattr $C$DW$74, DW_AT_decl_column(0x0d)
$C$DW$75 .dwtag DW_TAG_member
.dwattr $C$DW$75, DW_AT_type(*$C$DW$T$51)
.dwattr $C$DW$75, DW_AT_name("pvDummy2")
.dwattr $C$DW$75, DW_AT_TI_symbol_name("pvDummy2")
.dwattr $C$DW$75, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$75, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$75, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$75, DW_AT_decl_line(0x3ce)
.dwattr $C$DW$75, DW_AT_decl_column(0x08)
.dwattr $C$DW$T$52, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$52, DW_AT_decl_line(0x3cb)
.dwattr $C$DW$T$52, DW_AT_decl_column(0x08)
.dwendtag $C$DW$T$52
$C$DW$T$47 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$47, DW_AT_name("StaticMiniListItem_t")
.dwattr $C$DW$T$47, DW_AT_type(*$C$DW$T$52)
.dwattr $C$DW$T$47, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$47, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$47, DW_AT_decl_line(0x3d0)
.dwattr $C$DW$T$47, DW_AT_decl_column(0x27)
$C$DW$T$57 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$57, DW_AT_name("xSTATIC_QUEUE")
.dwattr $C$DW$T$57, DW_AT_byte_size(0x50)
$C$DW$76 .dwtag DW_TAG_member
.dwattr $C$DW$76, DW_AT_type(*$C$DW$T$53)
.dwattr $C$DW$76, DW_AT_name("pvDummy1")
.dwattr $C$DW$76, DW_AT_TI_symbol_name("pvDummy1")
.dwattr $C$DW$76, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$76, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$76, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$76, DW_AT_decl_line(0x429)
.dwattr $C$DW$76, DW_AT_decl_column(0x08)
$C$DW$77 .dwtag DW_TAG_member
.dwattr $C$DW$77, DW_AT_type(*$C$DW$T$26)
.dwattr $C$DW$77, DW_AT_name("u")
.dwattr $C$DW$77, DW_AT_TI_symbol_name("u")
.dwattr $C$DW$77, DW_AT_data_member_location[DW_OP_plus_uconst 0xc]
.dwattr $C$DW$77, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$77, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$77, DW_AT_decl_line(0x42f)
.dwattr $C$DW$77, DW_AT_decl_column(0x04)
$C$DW$78 .dwtag DW_TAG_member
.dwattr $C$DW$78, DW_AT_type(*$C$DW$T$54)
.dwattr $C$DW$78, DW_AT_name("xDummy3")
.dwattr $C$DW$78, DW_AT_TI_symbol_name("xDummy3")
.dwattr $C$DW$78, DW_AT_data_member_location[DW_OP_plus_uconst 0x10]
.dwattr $C$DW$78, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$78, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$78, DW_AT_decl_line(0x431)
.dwattr $C$DW$78, DW_AT_decl_column(0x0f)
$C$DW$79 .dwtag DW_TAG_member
.dwattr $C$DW$79, DW_AT_type(*$C$DW$T$55)
.dwattr $C$DW$79, DW_AT_name("uxDummy4")
.dwattr $C$DW$79, DW_AT_TI_symbol_name("uxDummy4")
.dwattr $C$DW$79, DW_AT_data_member_location[DW_OP_plus_uconst 0x38]
.dwattr $C$DW$79, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$79, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$79, DW_AT_decl_line(0x432)
.dwattr $C$DW$79, DW_AT_decl_column(0x0e)
$C$DW$80 .dwtag DW_TAG_member
.dwattr $C$DW$80, DW_AT_type(*$C$DW$T$56)
.dwattr $C$DW$80, DW_AT_name("ucDummy5")
.dwattr $C$DW$80, DW_AT_TI_symbol_name("ucDummy5")
.dwattr $C$DW$80, DW_AT_data_member_location[DW_OP_plus_uconst 0x44]
.dwattr $C$DW$80, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$80, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$80, DW_AT_decl_line(0x433)
.dwattr $C$DW$80, DW_AT_decl_column(0x0a)
$C$DW$81 .dwtag DW_TAG_member
.dwattr $C$DW$81, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$81, DW_AT_name("uxDummy8")
.dwattr $C$DW$81, DW_AT_TI_symbol_name("uxDummy8")
.dwattr $C$DW$81, DW_AT_data_member_location[DW_OP_plus_uconst 0x48]
.dwattr $C$DW$81, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$81, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$81, DW_AT_decl_line(0x43e)
.dwattr $C$DW$81, DW_AT_decl_column(0x0f)
$C$DW$82 .dwtag DW_TAG_member
.dwattr $C$DW$82, DW_AT_type(*$C$DW$T$28)
.dwattr $C$DW$82, DW_AT_name("ucDummy9")
.dwattr $C$DW$82, DW_AT_TI_symbol_name("ucDummy9")
.dwattr $C$DW$82, DW_AT_data_member_location[DW_OP_plus_uconst 0x4c]
.dwattr $C$DW$82, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$82, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$82, DW_AT_decl_line(0x43f)
.dwattr $C$DW$82, DW_AT_decl_column(0x0b)
.dwattr $C$DW$T$57, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$57, DW_AT_decl_line(0x427)
.dwattr $C$DW$T$57, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$57
$C$DW$T$209 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$209, DW_AT_name("StaticQueue_t")
.dwattr $C$DW$T$209, DW_AT_type(*$C$DW$T$57)
.dwattr $C$DW$T$209, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$209, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$209, DW_AT_decl_line(0x442)
.dwattr $C$DW$T$209, DW_AT_decl_column(0x03)
$C$DW$T$210 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$210, DW_AT_name("StaticSemaphore_t")
.dwattr $C$DW$T$210, DW_AT_type(*$C$DW$T$209)
.dwattr $C$DW$T$210, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$210, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$210, DW_AT_decl_line(0x443)
.dwattr $C$DW$T$210, DW_AT_decl_column(0x17)
$C$DW$T$59 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$59, DW_AT_name("xSTATIC_STREAM_BUFFER")
.dwattr $C$DW$T$59, DW_AT_byte_size(0x24)
$C$DW$83 .dwtag DW_TAG_member
.dwattr $C$DW$83, DW_AT_type(*$C$DW$T$58)
.dwattr $C$DW$83, DW_AT_name("uxDummy1")
.dwattr $C$DW$83, DW_AT_TI_symbol_name("uxDummy1")
.dwattr $C$DW$83, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$83, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$83, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$83, DW_AT_decl_line(0x492)
.dwattr $C$DW$83, DW_AT_decl_column(0x09)
$C$DW$84 .dwtag DW_TAG_member
.dwattr $C$DW$84, DW_AT_type(*$C$DW$T$53)
.dwattr $C$DW$84, DW_AT_name("pvDummy2")
.dwattr $C$DW$84, DW_AT_TI_symbol_name("pvDummy2")
.dwattr $C$DW$84, DW_AT_data_member_location[DW_OP_plus_uconst 0x10]
.dwattr $C$DW$84, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$84, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$84, DW_AT_decl_line(0x493)
.dwattr $C$DW$84, DW_AT_decl_column(0x09)
$C$DW$85 .dwtag DW_TAG_member
.dwattr $C$DW$85, DW_AT_type(*$C$DW$T$28)
.dwattr $C$DW$85, DW_AT_name("ucDummy3")
.dwattr $C$DW$85, DW_AT_TI_symbol_name("ucDummy3")
.dwattr $C$DW$85, DW_AT_data_member_location[DW_OP_plus_uconst 0x1c]
.dwattr $C$DW$85, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$85, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$85, DW_AT_decl_line(0x494)
.dwattr $C$DW$85, DW_AT_decl_column(0x0a)
$C$DW$86 .dwtag DW_TAG_member
.dwattr $C$DW$86, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$86, DW_AT_name("uxDummy4")
.dwattr $C$DW$86, DW_AT_TI_symbol_name("uxDummy4")
.dwattr $C$DW$86, DW_AT_data_member_location[DW_OP_plus_uconst 0x20]
.dwattr $C$DW$86, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$86, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$86, DW_AT_decl_line(0x496)
.dwattr $C$DW$86, DW_AT_decl_column(0x0f)
.dwattr $C$DW$T$59, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$59, DW_AT_decl_line(0x490)
.dwattr $C$DW$T$59, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$59
$C$DW$T$211 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$211, DW_AT_name("StaticStreamBuffer_t")
.dwattr $C$DW$T$211, DW_AT_type(*$C$DW$T$59)
.dwattr $C$DW$T$211, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$211, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$211, DW_AT_decl_line(0x498)
.dwattr $C$DW$T$211, DW_AT_decl_column(0x03)
$C$DW$T$212 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$212, DW_AT_name("StaticMessageBuffer_t")
.dwattr $C$DW$T$212, DW_AT_type(*$C$DW$T$211)
.dwattr $C$DW$T$212, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$212, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$212, DW_AT_decl_line(0x49b)
.dwattr $C$DW$T$212, DW_AT_decl_column(0x1e)
$C$DW$T$64 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$64, DW_AT_name("xSTATIC_TCB")
.dwattr $C$DW$T$64, DW_AT_byte_size(0x58)
$C$DW$87 .dwtag DW_TAG_member
.dwattr $C$DW$87, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$87, DW_AT_name("pxDummy1")
.dwattr $C$DW$87, DW_AT_TI_symbol_name("pxDummy1")
.dwattr $C$DW$87, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$87, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$87, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$87, DW_AT_decl_line(0x3e9)
.dwattr $C$DW$87, DW_AT_decl_column(0x0b)
$C$DW$88 .dwtag DW_TAG_member
.dwattr $C$DW$88, DW_AT_type(*$C$DW$T$61)
.dwattr $C$DW$88, DW_AT_name("xDummy3")
.dwattr $C$DW$88, DW_AT_TI_symbol_name("xDummy3")
.dwattr $C$DW$88, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$88, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$88, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$88, DW_AT_decl_line(0x3ed)
.dwattr $C$DW$88, DW_AT_decl_column(0x13)
$C$DW$89 .dwtag DW_TAG_member
.dwattr $C$DW$89, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$89, DW_AT_name("uxDummy5")
.dwattr $C$DW$89, DW_AT_TI_symbol_name("uxDummy5")
.dwattr $C$DW$89, DW_AT_data_member_location[DW_OP_plus_uconst 0x2c]
.dwattr $C$DW$89, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$89, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$89, DW_AT_decl_line(0x3ee)
.dwattr $C$DW$89, DW_AT_decl_column(0x10)
$C$DW$90 .dwtag DW_TAG_member
.dwattr $C$DW$90, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$90, DW_AT_name("pxDummy6")
.dwattr $C$DW$90, DW_AT_TI_symbol_name("pxDummy6")
.dwattr $C$DW$90, DW_AT_data_member_location[DW_OP_plus_uconst 0x30]
.dwattr $C$DW$90, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$90, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$90, DW_AT_decl_line(0x3ef)
.dwattr $C$DW$90, DW_AT_decl_column(0x0b)
$C$DW$91 .dwtag DW_TAG_member
.dwattr $C$DW$91, DW_AT_type(*$C$DW$T$62)
.dwattr $C$DW$91, DW_AT_name("ucDummy7")
.dwattr $C$DW$91, DW_AT_TI_symbol_name("ucDummy7")
.dwattr $C$DW$91, DW_AT_data_member_location[DW_OP_plus_uconst 0x34]
.dwattr $C$DW$91, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$91, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$91, DW_AT_decl_line(0x3f0)
.dwattr $C$DW$91, DW_AT_decl_column(0x0d)
$C$DW$92 .dwtag DW_TAG_member
.dwattr $C$DW$92, DW_AT_type(*$C$DW$T$63)
.dwattr $C$DW$92, DW_AT_name("uxDummy10")
.dwattr $C$DW$92, DW_AT_TI_symbol_name("uxDummy10")
.dwattr $C$DW$92, DW_AT_data_member_location[DW_OP_plus_uconst 0x40]
.dwattr $C$DW$92, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$92, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$92, DW_AT_decl_line(0x3f8)
.dwattr $C$DW$92, DW_AT_decl_column(0x10)
$C$DW$93 .dwtag DW_TAG_member
.dwattr $C$DW$93, DW_AT_type(*$C$DW$T$63)
.dwattr $C$DW$93, DW_AT_name("uxDummy12")
.dwattr $C$DW$93, DW_AT_TI_symbol_name("uxDummy12")
.dwattr $C$DW$93, DW_AT_data_member_location[DW_OP_plus_uconst 0x48]
.dwattr $C$DW$93, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$93, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$93, DW_AT_decl_line(0x3fb)
.dwattr $C$DW$93, DW_AT_decl_column(0x10)
$C$DW$94 .dwtag DW_TAG_member
.dwattr $C$DW$94, DW_AT_type(*$C$DW$T$39)
.dwattr $C$DW$94, DW_AT_name("ulDummy18")
.dwattr $C$DW$94, DW_AT_TI_symbol_name("ulDummy18")
.dwattr $C$DW$94, DW_AT_data_member_location[DW_OP_plus_uconst 0x50]
.dwattr $C$DW$94, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$94, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$94, DW_AT_decl_line(0x40a)
.dwattr $C$DW$94, DW_AT_decl_column(0x0e)
$C$DW$95 .dwtag DW_TAG_member
.dwattr $C$DW$95, DW_AT_type(*$C$DW$T$28)
.dwattr $C$DW$95, DW_AT_name("ucDummy19")
.dwattr $C$DW$95, DW_AT_TI_symbol_name("ucDummy19")
.dwattr $C$DW$95, DW_AT_data_member_location[DW_OP_plus_uconst 0x54]
.dwattr $C$DW$95, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$95, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$95, DW_AT_decl_line(0x40b)
.dwattr $C$DW$95, DW_AT_decl_column(0x0d)
.dwattr $C$DW$T$64, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$64, DW_AT_decl_line(0x3e7)
.dwattr $C$DW$T$64, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$64
$C$DW$T$213 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$213, DW_AT_name("StaticTask_t")
.dwattr $C$DW$T$213, DW_AT_type(*$C$DW$T$64)
.dwattr $C$DW$T$213, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$213, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$213, DW_AT_decl_line(0x417)
.dwattr $C$DW$T$213, DW_AT_decl_column(0x03)
$C$DW$T$68 .dwtag DW_TAG_structure_type
.dwattr $C$DW$T$68, DW_AT_name("xSTATIC_TIMER")
.dwattr $C$DW$T$68, DW_AT_byte_size(0x2c)
$C$DW$96 .dwtag DW_TAG_member
.dwattr $C$DW$96, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$96, DW_AT_name("pvDummy1")
.dwattr $C$DW$96, DW_AT_TI_symbol_name("pvDummy1")
.dwattr $C$DW$96, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
.dwattr $C$DW$96, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$96, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$96, DW_AT_decl_line(0x472)
.dwattr $C$DW$96, DW_AT_decl_column(0x0b)
$C$DW$97 .dwtag DW_TAG_member
.dwattr $C$DW$97, DW_AT_type(*$C$DW$T$60)
.dwattr $C$DW$97, DW_AT_name("xDummy2")
.dwattr $C$DW$97, DW_AT_TI_symbol_name("xDummy2")
.dwattr $C$DW$97, DW_AT_data_member_location[DW_OP_plus_uconst 0x4]
.dwattr $C$DW$97, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$97, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$97, DW_AT_decl_line(0x473)
.dwattr $C$DW$97, DW_AT_decl_column(0x13)
$C$DW$98 .dwtag DW_TAG_member
.dwattr $C$DW$98, DW_AT_type(*$C$DW$T$40)
.dwattr $C$DW$98, DW_AT_name("xDummy3")
.dwattr $C$DW$98, DW_AT_TI_symbol_name("xDummy3")
.dwattr $C$DW$98, DW_AT_data_member_location[DW_OP_plus_uconst 0x18]
.dwattr $C$DW$98, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$98, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$98, DW_AT_decl_line(0x474)
.dwattr $C$DW$98, DW_AT_decl_column(0x0f)
$C$DW$99 .dwtag DW_TAG_member
.dwattr $C$DW$99, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$99, DW_AT_name("uxDummy4")
.dwattr $C$DW$99, DW_AT_TI_symbol_name("uxDummy4")
.dwattr $C$DW$99, DW_AT_data_member_location[DW_OP_plus_uconst 0x1c]
.dwattr $C$DW$99, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$99, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$99, DW_AT_decl_line(0x475)
.dwattr $C$DW$99, DW_AT_decl_column(0x10)
$C$DW$100 .dwtag DW_TAG_member
.dwattr $C$DW$100, DW_AT_type(*$C$DW$T$3)
.dwattr $C$DW$100, DW_AT_name("pvDummy5")
.dwattr $C$DW$100, DW_AT_TI_symbol_name("pvDummy5")
.dwattr $C$DW$100, DW_AT_data_member_location[DW_OP_plus_uconst 0x20]
.dwattr $C$DW$100, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$100, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$100, DW_AT_decl_line(0x476)
.dwattr $C$DW$100, DW_AT_decl_column(0x0c)
$C$DW$101 .dwtag DW_TAG_member
.dwattr $C$DW$101, DW_AT_type(*$C$DW$T$67)
.dwattr $C$DW$101, DW_AT_name("pvDummy6")
.dwattr $C$DW$101, DW_AT_TI_symbol_name("pvDummy6")
.dwattr $C$DW$101, DW_AT_data_member_location[DW_OP_plus_uconst 0x24]
.dwattr $C$DW$101, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$101, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$101, DW_AT_decl_line(0x477)
.dwattr $C$DW$101, DW_AT_decl_column(0x12)
$C$DW$102 .dwtag DW_TAG_member
.dwattr $C$DW$102, DW_AT_type(*$C$DW$T$25)
.dwattr $C$DW$102, DW_AT_name("uxDummy7")
.dwattr $C$DW$102, DW_AT_TI_symbol_name("uxDummy7")
.dwattr $C$DW$102, DW_AT_data_member_location[DW_OP_plus_uconst 0x28]
.dwattr $C$DW$102, DW_AT_accessibility(DW_ACCESS_public)
.dwattr $C$DW$102, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$102, DW_AT_decl_line(0x479)
.dwattr $C$DW$102, DW_AT_decl_column(0x10)
.dwattr $C$DW$T$68, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$68, DW_AT_decl_line(0x470)
.dwattr $C$DW$T$68, DW_AT_decl_column(0x10)
.dwendtag $C$DW$T$68
$C$DW$T$214 .dwtag DW_TAG_typedef
.dwattr $C$DW$T$214, DW_AT_name("StaticTimer_t")
.dwattr $C$DW$T$214, DW_AT_type(*$C$DW$T$68)
.dwattr $C$DW$T$214, DW_AT_language(DW_LANG_C)
.dwattr $C$DW$T$214, DW_AT_decl_file("../OS/FreeRTOS.h")
.dwattr $C$DW$T$214, DW_AT_decl_line(0x480)
.dwattr $C$DW$T$214, DW_AT_decl_column(0x03)
.dwattr $C$DW$CU, DW_AT_language(DW_LANG_C)
;***************************************************************
;* DWARF CIE ENTRIES *
;***************************************************************
$C$DW$CIE .dwcie 14
.dwcfi cfa_register, 13
.dwcfi cfa_offset, 0
.dwcfi same_value, 4
.dwcfi same_value, 5
.dwcfi same_value, 6
.dwcfi same_value, 7
.dwcfi same_value, 8
.dwcfi same_value, 9
.dwcfi same_value, 10
.dwcfi same_value, 11
.dwcfi same_value, 80
.dwcfi same_value, 81
.dwcfi same_value, 82
.dwcfi same_value, 83
.dwcfi same_value, 84
.dwcfi same_value, 85
.dwcfi same_value, 86
.dwcfi same_value, 87
.dwcfi same_value, 88
.dwcfi same_value, 89
.dwcfi same_value, 90
.dwcfi same_value, 91
.dwcfi same_value, 92
.dwcfi same_value, 93
.dwcfi same_value, 94
.dwcfi same_value, 95
.dwendentry
;***************************************************************
;* DWARF REGISTER MAP *
;***************************************************************
$C$DW$103 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$103, DW_AT_name("A1")
.dwattr $C$DW$103, DW_AT_location[DW_OP_reg0]
$C$DW$104 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$104, DW_AT_name("A2")
.dwattr $C$DW$104, DW_AT_location[DW_OP_reg1]
$C$DW$105 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$105, DW_AT_name("A3")
.dwattr $C$DW$105, DW_AT_location[DW_OP_reg2]
$C$DW$106 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$106, DW_AT_name("A4")
.dwattr $C$DW$106, DW_AT_location[DW_OP_reg3]
$C$DW$107 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$107, DW_AT_name("V1")
.dwattr $C$DW$107, DW_AT_location[DW_OP_reg4]
$C$DW$108 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$108, DW_AT_name("V2")
.dwattr $C$DW$108, DW_AT_location[DW_OP_reg5]
$C$DW$109 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$109, DW_AT_name("V3")
.dwattr $C$DW$109, DW_AT_location[DW_OP_reg6]
$C$DW$110 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$110, DW_AT_name("V4")
.dwattr $C$DW$110, DW_AT_location[DW_OP_reg7]
$C$DW$111 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$111, DW_AT_name("V5")
.dwattr $C$DW$111, DW_AT_location[DW_OP_reg8]
$C$DW$112 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$112, DW_AT_name("V6")
.dwattr $C$DW$112, DW_AT_location[DW_OP_reg9]
$C$DW$113 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$113, DW_AT_name("V7")
.dwattr $C$DW$113, DW_AT_location[DW_OP_reg10]
$C$DW$114 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$114, DW_AT_name("V8")
.dwattr $C$DW$114, DW_AT_location[DW_OP_reg11]
$C$DW$115 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$115, DW_AT_name("V9")
.dwattr $C$DW$115, DW_AT_location[DW_OP_reg12]
$C$DW$116 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$116, DW_AT_name("SP")
.dwattr $C$DW$116, DW_AT_location[DW_OP_reg13]
$C$DW$117 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$117, DW_AT_name("LR")
.dwattr $C$DW$117, DW_AT_location[DW_OP_reg14]
$C$DW$118 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$118, DW_AT_name("PC")
.dwattr $C$DW$118, DW_AT_location[DW_OP_reg15]
$C$DW$119 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$119, DW_AT_name("SR")
.dwattr $C$DW$119, DW_AT_location[DW_OP_reg17]
$C$DW$120 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$120, DW_AT_name("AP")
.dwattr $C$DW$120, DW_AT_location[DW_OP_reg7]
$C$DW$121 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$121, DW_AT_name("D0")
.dwattr $C$DW$121, DW_AT_location[DW_OP_regx 0x40]
$C$DW$122 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$122, DW_AT_name("D0_hi")
.dwattr $C$DW$122, DW_AT_location[DW_OP_regx 0x41]
$C$DW$123 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$123, DW_AT_name("D1")
.dwattr $C$DW$123, DW_AT_location[DW_OP_regx 0x42]
$C$DW$124 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$124, DW_AT_name("D1_hi")
.dwattr $C$DW$124, DW_AT_location[DW_OP_regx 0x43]
$C$DW$125 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$125, DW_AT_name("D2")
.dwattr $C$DW$125, DW_AT_location[DW_OP_regx 0x44]
$C$DW$126 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$126, DW_AT_name("D2_hi")
.dwattr $C$DW$126, DW_AT_location[DW_OP_regx 0x45]
$C$DW$127 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$127, DW_AT_name("D3")
.dwattr $C$DW$127, DW_AT_location[DW_OP_regx 0x46]
$C$DW$128 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$128, DW_AT_name("D3_hi")
.dwattr $C$DW$128, DW_AT_location[DW_OP_regx 0x47]
$C$DW$129 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$129, DW_AT_name("D4")
.dwattr $C$DW$129, DW_AT_location[DW_OP_regx 0x48]
$C$DW$130 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$130, DW_AT_name("D4_hi")
.dwattr $C$DW$130, DW_AT_location[DW_OP_regx 0x49]
$C$DW$131 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$131, DW_AT_name("D5")
.dwattr $C$DW$131, DW_AT_location[DW_OP_regx 0x4a]
$C$DW$132 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$132, DW_AT_name("D5_hi")
.dwattr $C$DW$132, DW_AT_location[DW_OP_regx 0x4b]
$C$DW$133 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$133, DW_AT_name("D6")
.dwattr $C$DW$133, DW_AT_location[DW_OP_regx 0x4c]
$C$DW$134 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$134, DW_AT_name("D6_hi")
.dwattr $C$DW$134, DW_AT_location[DW_OP_regx 0x4d]
$C$DW$135 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$135, DW_AT_name("D7")
.dwattr $C$DW$135, DW_AT_location[DW_OP_regx 0x4e]
$C$DW$136 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$136, DW_AT_name("D7_hi")
.dwattr $C$DW$136, DW_AT_location[DW_OP_regx 0x4f]
$C$DW$137 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$137, DW_AT_name("D8")
.dwattr $C$DW$137, DW_AT_location[DW_OP_regx 0x50]
$C$DW$138 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$138, DW_AT_name("D8_hi")
.dwattr $C$DW$138, DW_AT_location[DW_OP_regx 0x51]
$C$DW$139 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$139, DW_AT_name("D9")
.dwattr $C$DW$139, DW_AT_location[DW_OP_regx 0x52]
$C$DW$140 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$140, DW_AT_name("D9_hi")
.dwattr $C$DW$140, DW_AT_location[DW_OP_regx 0x53]
$C$DW$141 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$141, DW_AT_name("D10")
.dwattr $C$DW$141, DW_AT_location[DW_OP_regx 0x54]
$C$DW$142 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$142, DW_AT_name("D10_hi")
.dwattr $C$DW$142, DW_AT_location[DW_OP_regx 0x55]
$C$DW$143 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$143, DW_AT_name("D11")
.dwattr $C$DW$143, DW_AT_location[DW_OP_regx 0x56]
$C$DW$144 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$144, DW_AT_name("D11_hi")
.dwattr $C$DW$144, DW_AT_location[DW_OP_regx 0x57]
$C$DW$145 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$145, DW_AT_name("D12")
.dwattr $C$DW$145, DW_AT_location[DW_OP_regx 0x58]
$C$DW$146 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$146, DW_AT_name("D12_hi")
.dwattr $C$DW$146, DW_AT_location[DW_OP_regx 0x59]
$C$DW$147 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$147, DW_AT_name("D13")
.dwattr $C$DW$147, DW_AT_location[DW_OP_regx 0x5a]
$C$DW$148 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$148, DW_AT_name("D13_hi")
.dwattr $C$DW$148, DW_AT_location[DW_OP_regx 0x5b]
$C$DW$149 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$149, DW_AT_name("D14")
.dwattr $C$DW$149, DW_AT_location[DW_OP_regx 0x5c]
$C$DW$150 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$150, DW_AT_name("D14_hi")
.dwattr $C$DW$150, DW_AT_location[DW_OP_regx 0x5d]
$C$DW$151 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$151, DW_AT_name("D15")
.dwattr $C$DW$151, DW_AT_location[DW_OP_regx 0x5e]
$C$DW$152 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$152, DW_AT_name("D15_hi")
.dwattr $C$DW$152, DW_AT_location[DW_OP_regx 0x5f]
$C$DW$153 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$153, DW_AT_name("FPEXC")
.dwattr $C$DW$153, DW_AT_location[DW_OP_reg18]
$C$DW$154 .dwtag DW_TAG_TI_assign_register
.dwattr $C$DW$154, DW_AT_name("FPSCR")
.dwattr $C$DW$154, DW_AT_location[DW_OP_reg19]
.dwendtag $C$DW$CU
| 44.944744 | 278 | 0.642227 |
6bb2f84bca1f34f7f7c026c18836e94a6ffbcad3 | 444 | asm | Assembly | programs/oeis/012/A012781.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/012/A012781.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/012/A012781.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A012781: Take every 5th term of Padovan sequence A000931, beginning with the second term.
; 0,1,4,16,65,265,1081,4410,17991,73396,299426,1221537,4983377,20330163,82938844,338356945,1380359512,5631308624,22973462017,93722435101,382349636061,1559831901918,6363483400447,25960439030624,105908093453250,432062194544201,1762639037938629,7190854504969591
lpb $0
sub $0,1
add $2,1
add $1,$2
sub $2,1
add $3,$1
add $2,$3
add $2,$1
lpe
| 34.153846 | 258 | 0.774775 |
34462fc535e18bca4a5b8f3a22b6c3fbf1c8426f | 1,786 | asm | Assembly | Driver/Printer/PrintCom/Graphics/graphics2ResHigh.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Printer/PrintCom/Graphics/graphics2ResHigh.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Printer/PrintCom/Graphics/graphics2ResHigh.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: print drivers
FILE: graphics2ResHigh.asm
AUTHOR: Dave Durran 1 March 1990
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 3/1/90 Initial revision
Dave 3/92 moved from epson9
DESCRIPTION:
$Id: graphics2ResHigh.asm,v 1.1 97/04/18 11:51:15 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PrPrintABand
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS:
Steering routine to all the print resolutions.
uses medium routine to print "low" resolution.
CALLED BY:
PASS:
ds:si = fptr to bitmap data
from huge array stuff.
es = PState segment
RETURN: carry - set if some transmission error
DESTROYED:
nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 02/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
PrPrintABand proc near
uses cx
.enter
mov cl, es:[PS_mode] ; get the mode while we still have PStae
cmp cl, PM_GRAPHICS_LOW_RES ;see if the lores bit is set.
ja checkHiRes ;if anything other than low res or
call PrPrintMediumBand ;non scaling, skip
jmp done ; all done, send a line feed
checkHiRes:
EC< cmp cl,PM_GRAPHICS_HI_RES >
EC< ERROR_A INVALID_MODE >
call PrPrintHighBand
done:
.leave
ret
PrPrintABand endp
| 22.897436 | 79 | 0.525756 |
2b079f8d6c4b7e4b573e925a080234fd663cbd39 | 869 | asm | Assembly | oeis/251/A251936.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/251/A251936.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/251/A251936.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A251936: Number of length 2+2 0..n arrays with the sum of the maximum minus the median of adjacent triples multiplied by some arrangement of +-1 equal to zero.
; 10,43,120,265,506,875,1408,2145,3130,4411,6040,8073,10570,13595,17216,21505,26538,32395,39160,46921,55770,65803,77120,89825,104026,119835,137368,156745,178090,201531,227200,255233,285770,318955,354936,393865,435898,481195,529920,582241,638330,698363,762520,830985,903946,981595,1064128,1151745,1244650,1343051,1447160,1557193,1673370,1795915,1925056,2061025,2204058,2354395,2512280,2677961,2851690,3033723,3224320,3423745,3632266,3850155,4077688,4315145,4562810,4820971,5089920,5369953,5661370
mov $4,1
mov $5,$0
mov $6,$0
sub $6,9
mul $6,$0
mov $0,2
sub $4,$6
add $4,1
add $0,$4
add $0,1
pow $0,2
div $0,6
add $0,6
mov $2,$5
mul $2,3
add $0,$2
mov $3,$5
mul $3,$5
mul $3,$5
mov $2,$3
mul $2,6
add $0,$2
| 33.423077 | 495 | 0.754891 |
cd1ddd247295d445b3d2a3f6952b14179afecc1c | 9,663 | nasm | Assembly | Projetos/I-VM/bin/nasm/StaticsTest.nasm | juanjorgegarcia/Z01 | 7d49ef8f476f9c8e9f187a62f96fdca7bcd46314 | [
"Unlicense"
] | null | null | null | Projetos/I-VM/bin/nasm/StaticsTest.nasm | juanjorgegarcia/Z01 | 7d49ef8f476f9c8e9f187a62f96fdca7bcd46314 | [
"Unlicense"
] | 67 | 2018-03-13T21:40:05.000Z | 2018-05-23T19:17:13.000Z | Projetos/I-VM/bin/nasm/StaticsTest.nasm | juanjorgegarcia/Z01 | 7d49ef8f476f9c8e9f187a62f96fdca7bcd46314 | [
"Unlicense"
] | 3 | 2018-03-07T01:27:37.000Z | 2018-03-23T19:35:14.000Z | ; Inicialização para VM
leaw $Main.main, %A
jmp
nop
; 0 - Declarando função Class2.set
Class2.set:
; 1 - PUSH argument 0
leaw $0,%A
movw %A,%D
leaw $ARG,%A
addw (%A),%D,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 2 - POP static 0
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $Class2.0,%A
movw %D,(%A)
; 3 - PUSH argument 1
leaw $1,%A
movw %A,%D
leaw $ARG,%A
addw (%A),%D,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 4 - POP static 1
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $Class2.1,%A
movw %D,(%A)
; 5 - PUSH constant 0
leaw $0,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 6 - Retorno de função
; Retorno de função
leaw $LCL,%A
movw (%A),%D
leaw $R13,%A
movw %D,(%A)
leaw $5,%A
subw %D,%A,%A
movw (%A),%D
leaw $R14,%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $R15,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $R15,%A
movw (%A),%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
addw %D,$1,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THAT,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THIS,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $ARG,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $R14,%A
movw (%A),%A
jmp
nop
; 7 - Declarando função Class2.get
Class2.get:
; 8 - PUSH static 0
leaw $Class2.0,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 9 - PUSH static 1
leaw $Class2.1,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 10 - SUB
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $SP,%A
subw (%A),$1,%A
subw (%A),%D,%D
movw %D,(%A)
; 11 - Retorno de função
; Retorno de função
leaw $LCL,%A
movw (%A),%D
leaw $R13,%A
movw %D,(%A)
leaw $5,%A
subw %D,%A,%A
movw (%A),%D
leaw $R14,%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $R15,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $R15,%A
movw (%A),%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
addw %D,$1,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THAT,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THIS,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $ARG,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $R14,%A
movw (%A),%A
jmp
nop
; End
; 12 - Declarando função Main.main
Main.main:
; 13 - PUSH constant 6
leaw $6,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 14 - PUSH constant 8
leaw $8,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 15 - chamada de funcao Class1.set
leaw $Class1.set.ret.1,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $LCL,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THIS,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THAT,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $7,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
subw %A,%D,%D
leaw $ARG,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $Class1.set,%A
jmp
nop
Class1.set.ret.1:
; 16 - POP temp 0
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $5,%A
movw %D,(%A)
; 17 - PUSH constant 23
leaw $23,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 18 - PUSH constant 15
leaw $15,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 19 - chamada de funcao Class2.set
leaw $Class2.set.ret.1,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $LCL,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THIS,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THAT,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $7,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
subw %A,%D,%D
leaw $ARG,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $Class2.set,%A
jmp
nop
Class2.set.ret.1:
; 20 - POP temp 0
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $5,%A
movw %D,(%A)
; 21 - chamada de funcao Class1.get
leaw $Class1.get.ret.1,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $LCL,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THIS,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THAT,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $5,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
subw %A,%D,%D
leaw $ARG,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $Class1.get,%A
jmp
nop
Class1.get.ret.1:
; 22 - chamada de funcao Class2.get
leaw $Class2.get.ret.1,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $LCL,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THIS,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $THAT,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
leaw $5,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
subw %A,%D,%D
leaw $ARG,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $Class2.get,%A
jmp
nop
Class2.get.ret.1:
; Label (marcador)
Sys.Main.main.WHILE:
; 23 - Goto Incondicional
leaw $Sys.Main.main.WHILE,%A
jmp
nop
; End
; 24 - Declarando função Class1.set
Class1.set:
; 25 - PUSH argument 0
leaw $0,%A
movw %A,%D
leaw $ARG,%A
addw (%A),%D,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 26 - POP static 0
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $Class1.0,%A
movw %D,(%A)
; 27 - PUSH argument 1
leaw $1,%A
movw %A,%D
leaw $ARG,%A
addw (%A),%D,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 28 - POP static 1
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $Class1.1,%A
movw %D,(%A)
; 29 - PUSH constant 0
leaw $0,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 30 - Retorno de função
; Retorno de função
leaw $LCL,%A
movw (%A),%D
leaw $R13,%A
movw %D,(%A)
leaw $5,%A
subw %D,%A,%A
movw (%A),%D
leaw $R14,%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $R15,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $R15,%A
movw (%A),%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
addw %D,$1,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THAT,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THIS,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $ARG,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $R14,%A
movw (%A),%A
jmp
nop
; 31 - Declarando função Class1.get
Class1.get:
; 32 - PUSH static 0
leaw $Class1.0,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 33 - PUSH static 1
leaw $Class1.1,%A
movw (%A),%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 34 - SUB
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $SP,%A
subw (%A),$1,%A
subw (%A),%D,%D
movw %D,(%A)
; 35 - Retorno de função
; Retorno de função
leaw $LCL,%A
movw (%A),%D
leaw $R13,%A
movw %D,(%A)
leaw $5,%A
subw %D,%A,%A
movw (%A),%D
leaw $R14,%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $R15,%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $R15,%A
movw (%A),%A
movw %D,(%A)
leaw $ARG,%A
movw (%A),%D
leaw $SP,%A
addw %D,$1,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THAT,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $THIS,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $ARG,%A
movw %D,(%A)
leaw $R13,%A
subw (%A),$1,%D
movw %D,(%A)
movw %D,%A
movw (%A),%D
leaw $LCL,%A
movw %D,(%A)
leaw $R14,%A
movw (%A),%A
jmp
nop
; End
| 13.129076 | 35 | 0.544965 |
02d9bd805249a236ce1effd56b7f0ad918833dc4 | 864 | asm | Assembly | kernel/arch/regutil.asm | Twometer/nekosys | cbcdaddaf8087cde1c375dbc19c576475965f5b4 | [
"Apache-2.0"
] | 1 | 2021-08-28T19:50:32.000Z | 2021-08-28T19:50:32.000Z | kernel/arch/regutil.asm | Twometer/nekosys | cbcdaddaf8087cde1c375dbc19c576475965f5b4 | [
"Apache-2.0"
] | null | null | null | kernel/arch/regutil.asm | Twometer/nekosys | cbcdaddaf8087cde1c375dbc19c576475965f5b4 | [
"Apache-2.0"
] | null | null | null | ; Storage for registers during the IRQ
; This must match the RegisterState struct in registers.h
s_eax: dd 0
s_ebx: dd 0
s_ecx: dd 0
s_edx: dd 0
s_esp: dd 0
s_esi: dd 0
s_edi: dd 0
s_ebp: dd 0
s_flags: dd 0
s_ds: dd 0
; Macro for saving register to struct
%macro save_reg 1
mov dword [s_%1], %1
%endmacro
; Macro for loading register from struct
%macro load_reg 1
mov dword %1, [s_%1]
%endmacro
%macro save_segments 0
mov [s_ds], ds
%endmacro
%macro load_segments 0
mov ax, [s_ds]
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
%endmacro
%macro save_all_regs 0
save_reg eax
save_reg ebx
save_reg ecx
save_reg edx
save_reg esp
save_reg esi
save_reg edi
save_reg ebp
%endmacro
%macro load_all_regs 0
load_reg eax
load_reg ebx
load_reg ecx
load_reg edx
load_reg esp
load_reg esi
load_reg edi
load_reg ebp
%endmacro | 15.428571 | 57 | 0.717593 |
6baed7195b6faf64eed851d5bc70b06078c68402 | 318 | asm | Assembly | programs/oeis/016/A016137.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/016/A016137.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/016/A016137.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A016137: Expansion of 1/((1-3x)(1-6x)).
; 1,9,63,405,2511,15309,92583,557685,3352671,20135709,120873303,725416965,4353033231,26119793709,156723545223,940355620245,5642176768191,33853189749309,203119525916343,1218718317759525
mov $1,2
pow $1,$0
lpb $0
sub $0,1
mul $1,3
sub $1,1
lpe
sub $1,1
mul $1,2
add $1,1
| 22.714286 | 184 | 0.738994 |
0dabc784754cbd14144f35a7cfe9a5283a883aa3 | 693 | asm | Assembly | oeis/267/A267921.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/267/A267921.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/267/A267921.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A267921: Decimal representation of the n-th iteration of the "Rule 243" elementary cellular automaton starting with a single ON (black) cell.
; 1,5,29,125,509,2045,8189,32765,131069,524285,2097149,8388605,33554429,134217725,536870909,2147483645,8589934589,34359738365,137438953469,549755813885,2199023255549,8796093022205,35184372088829,140737488355325,562949953421309,2251799813685245,9007199254740989,36028797018963965,144115188075855869,576460752303423485,2305843009213693949,9223372036854775805,36893488147419103229,147573952589676412925,590295810358705651709,2361183241434822606845,9444732965739290427389,37778931862957161709565
mov $1,4
pow $1,$0
trn $1,2
mul $1,2
add $1,1
mov $0,$1
| 69.3 | 491 | 0.860029 |
61048b7c915dab800cc3e43b01c8afd0df964b2d | 779 | asm | Assembly | libsrc/target/zx81/zx_setcursorpos_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/target/zx81/zx_setcursorpos_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | libsrc/target/zx81/zx_setcursorpos_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | ;
; ZX 81 specific routines
; by Stefano Bodrato, Oct 2007
;
; Copy a string to a BASIC variable
;
; int __CALLEE__ zx_setstr_callee(char variable, char *value);
;
;
; $Id: zx_setcursorpos_callee.asm,v 1.8 2016-06-26 20:32:08 dom Exp $
;
SECTION code_clib
PUBLIC zx_setcursorpos_callee
PUBLIC _zx_setcursorpos_callee
PUBLIC ASMDISP_ZX_SETCURSORPOS_CALLEE
EXTERN zx_dfile_addr
EXTERN zx_coord_adj
IF FORzx80
DEFC COLUMN=$4024 ; S_POSN_x
ELSE
DEFC COLUMN=$4039 ; S_POSN_x
ENDIF
zx_setcursorpos_callee:
_zx_setcursorpos_callee:
pop bc
pop de
pop hl
push bc
; enter : l = x
; e = y
.asmentry
;jr asmentry
ld d,l
ld (COLUMN),de
call zx_coord_adj
jp zx_dfile_addr
DEFC ASMDISP_ZX_SETCURSORPOS_CALLEE = asmentry - zx_setcursorpos_callee
| 16.574468 | 71 | 0.744544 |
cd059ef3cae33e03301db32c2ddd0fd0cce3ad72 | 5,000 | asm | Assembly | kernel/asmhead.asm | kkk669/Cloumo | 2328882acca5d1c9bd714c8c5b36264a7b9b51f5 | [
"BSD-3-Clause"
] | 4 | 2017-02-04T15:19:15.000Z | 2021-11-12T23:13:53.000Z | kernel/asmhead.asm | kkk669/Cloumo | 2328882acca5d1c9bd714c8c5b36264a7b9b51f5 | [
"BSD-3-Clause"
] | null | null | null | kernel/asmhead.asm | kkk669/Cloumo | 2328882acca5d1c9bd714c8c5b36264a7b9b51f5 | [
"BSD-3-Clause"
] | 5 | 2020-06-04T17:26:59.000Z | 2021-06-25T17:25:54.000Z | BOTPAK equ 0x00280000 ; bootpackのロード先
DSKCAC equ 0x00100000 ; ディスクキャッシュの場所
DSKCAC0 equ 0x00008000 ; ディスクキャッシュの場所(リアルモード)
; BOOT_INFO関係
CYLS equ 0x0ff0 ; ブートセクタが設定する
LEDS equ 0x0ff1
VMODE equ 0x0ff2 ; 色数に関する情報。何ビットカラーか?
SCRNX equ 0x0ff4 ; 解像度のX
SCRNY equ 0x0ff6 ; 解像度のY
VRAM equ 0x0ff8 ; グラフィックバッファの開始番地
[org 0xc200] ; このプログラムがどこに読み込まれるのか
; VBE存在確認
mov ax,0x9000
mov es,ax
mov di,0
mov ax,0x4f00
int 0x10
cmp ax,0x004f
jne _loop
; VBEのバージョンチェック
mov ax,[es:di+4]
cmp ax,0x0200
jb _loop
; 1600x1200 32/24bit
mov cx,0x11F
mov dl,32
call vbe_video
cmp ax,1
je keystatus
mov dl,24
call vbe_video
cmp ax,1
je keystatus
; 1440x900 32/24bit
mov cx,0x163
mov dl,32
call vbe_video
cmp ax,1
je keystatus
mov dl,24
call vbe_video
cmp ax,1
je keystatus
; 1280x1024, 1024x768, 800x600, 640x480 32/24bit
mov cx,0x11B
try_vbe3224:
mov dl,32
call vbe_video
cmp ax,1
je keystatus
mov dl,24
call vbe_video
cmp ax,1
je keystatus
sub cx,3
cmp cx,0x112
jae try_vbe3224
; 1600x1200 16bit
mov cx,0x11E
mov dl,16
call vbe_video
cmp ax,1
je keystatus
; 1440x900 16bit
mov cx,0x162
mov dl,16
call vbe_video
cmp ax,1
je keystatus
; 1280x1024, 1024x768, 800x600, 640x480 16bit
mov cx,0x11A
try_vbe16:
mov dl,16
call vbe_video
cmp ax,1
je keystatus
sub cx,3
cmp cx,0x111
jae try_vbe16
_loop:
mov si,msg_dame
call putloop
hlt
jmp short $-1
keystatus:
; 画面モード情報
mov al,[es:di+0x19]
mov [VMODE],al
mov ax,[es:di+0x12]
mov [SCRNX],ax
mov ax,[es:di+0x14]
mov [SCRNY],ax
push dword [es:di+0x28]
pop dword [VRAM]
; キーボードのLED状態をBIOSに教えてもらう
mov ah,0x02
int 0x16 ; keyboard BIOS
mov [LEDS],al
; PICが一切の割り込みを受け付けないようにする
cli
mov al,0xff
out 0x21,al
nop ; out命令を連続させるとうまくいかない機種があるらしいので
out 0xa1,al
sti
nop
cli ; さらにCPUレベルでも割り込み禁止
; CPUから1MB以上のメモリにアクセスできるように、A20GATEを設定
call waitkbdout
mov al,0xd1
out 0x64,al
call waitkbdout
mov al,0xdf ; enable A20
out 0x60,al
call waitkbdout
; プロテクトモード移行
lgdt [GDTR0] ; 暫定GDTを設定
mov eax,cr0
and eax,0x7fffffff ; bit31を0にする(ページング禁止のため)
or eax,0x00000001 ; bit0を1にする(プロテクトモード移行のため)
mov cr0,eax
jmp pipelineflush
pipelineflush:
mov ax,1*8 ; Data Segment Selector
mov ds,ax
mov es,ax
mov fs,ax
mov gs,ax
mov ss,ax
; bootpackの転送
mov esi,bootpack ; 転送元
mov edi,BOTPAK ; 転送先
mov ecx,512*1024/4
call memcpy
; ついでにディスクデータも本来の位置へ転送
; まずはブートセクタから
mov esi,0x7c00 ; 転送元
mov edi,DSKCAC ; 転送先
mov ecx,512/4
call memcpy
; 残り全部
mov esi,DSKCAC0+512 ; 転送元
mov edi,DSKCAC+512 ; 転送先
mov ecx,0
mov cl,byte [CYLS]
imul ecx,512*18*2/4 ; シリンダ数からバイト数/4に変換
sub ecx,512/4 ; IPLの分だけ差し引く
call memcpy
; asmheadでしなければいけないことは全部し終わったので、
; あとはbootpackに任せる
; bootpackの起動
mov ebx,BOTPAK
mov ecx,[ebx+16]
add ecx,3 ; ecx += 3;
shr ecx,2 ; ecx /= 4;
jz skip ; 転送するべきものがない
mov esi,[ebx+20] ; 転送元
add esi,ebx
mov edi,[ebx+12] ; 転送先
call memcpy
skip:
mov esp,[ebx+12] ; スタック初期値
jmp dword 2*8:0x0000001b ; Code Segment Selector
vbe_video:
mov ax,0x4f01
int 0x10
cmp ax,0x004f
jne vbe_failure
cmp byte [es:di+0x19],dl
jne vbe_failure
cmp byte [es:di+0x1b],6
jne vbe_failure
mov ax,[es:di+0x00]
and ax,0x0080
jz vbe_failure
mov ax,0x4f02
mov bx,0x4000
add bx,cx
int 0x10
mov ax,1
ret
vbe_failure:
mov ax,0
ret
waitkbdout:
in al,0x64
and al,0x02
jnz waitkbdout ; ANDの結果が0でなければwaitkbdoutへ
ret
return:
ret
ptlp_err_msg:
db 0x0a, 0x0a ; 改行を2つ
db "putloop error"
db 0x0a ; 改行
db 0
putloop:
mov al,[si]
add si,1 ; siに1を足す
cmp al,0
je return
mov ah,0x0e ; 一文字表示ファンクション
mov bx,15 ; カラーコード
int 0x10 ; ビデオBIOS呼び出し
jmp putloop
error:
mov ax,0
mov es,ax
mov si,ptlp_err_msg
call putloop
fin:
hlt ; 何かあるまでCPUを停止させる
jmp fin ; 無限ループ
msg_dame:
db "dame dame dame!!!"
db 0
memcpy:
mov eax,[esi]
add esi,4
mov [edi],eax
add edi,4
sub ecx,1
jnz memcpy ; 引き算した結果が0でなければmemcpyへ
ret
; memcpyはアドレスサイズプリフィクスを入れ忘れなければ、ストリング命令でも書ける
align 8, db 0
GDT0:
; Null Descriptor
times 8 db 0
; Data Segment Descriptor
dw 0xffff ; Limit 0~15bit (4GB)
dw 0x0000 ; Base Address 0~15bit (0x00000000)
db 0x00 ; Base Address 16~23bit
db 0x92 ; P:1, DPL:0, data, non-conforming, read/write
db 0xcf ; G:1, D:1, Limit 16~19bit
db 0x00 ; Base Address 24~31bit
; Code Segment Descriptor
dw 0xffff ; Limit 0~15bit (0x7ffff byte)
dw 0x0000 ; Base Address 0~15bit (0x00280000)
db 0x28 ; Base Address 16~23bit
db 0x9a ; P:1, DPL:0, code, expand-up, read/exec
db 0x47 ; G:0, D:1, Limit 16~19bit
db 0x00 ; Base Address 24~31bit
dw 0
GDTR0:
dw 8*3-1 ; GDTのLimit
dd GDT0 ; GDTのベースアドレス
align 8, db 0
bootpack:
| 17.182131 | 59 | 0.6538 |
a8dc477710fec0a9a00fb1debb547939502cc81e | 256 | asm | Assembly | data/maps/objects/LancesRoom.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/maps/objects/LancesRoom.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/maps/objects/LancesRoom.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | LancesRoom_Object:
db $3 ; border block
def_warps
warp 24, 16, 2, AGATHAS_ROOM
warp 5, 0, 0, CHAMPIONS_ROOM
warp 6, 0, 0, CHAMPIONS_ROOM
def_signs
def_objects
object SPRITE_LANCE, 6, 1, STAY, DOWN, 1, OPP_LANCE, 1
def_warps_to LANCES_ROOM
| 17.066667 | 55 | 0.722656 |
cbd7fe446eb8ec401ec7b0be70382ea266aa7f0d | 7,849 | asm | Assembly | s3/music-optimized/Continue.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 9 | 2017-10-09T20:28:45.000Z | 2021-06-29T21:19:20.000Z | s3/music-optimized/Continue.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 12 | 2018-08-01T13:52:20.000Z | 2022-02-21T02:19:37.000Z | s3/music-optimized/Continue.asm | Cancer52/flamedriver | 9ee6cf02c137dcd63e85a559907284283421e7ba | [
"0BSD"
] | 2 | 2018-02-17T19:50:36.000Z | 2019-10-30T19:28:06.000Z | Snd_Continue_Header:
smpsHeaderStartSong 3
smpsHeaderVoiceUVB
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $43
smpsHeaderDAC Snd_Continue_DAC
smpsHeaderFM Snd_Continue_FM1, $18, $12
smpsHeaderFM Snd_Continue_FM2, $18, $10
smpsHeaderFM Snd_Continue_FM3, $0C, $14
smpsHeaderFM Snd_Continue_FM4, $0C, $0E
smpsHeaderFM Snd_Continue_FM5, $0C, $0E
smpsHeaderPSG Snd_Continue_PSG1, $F4, $04, $00, sTone_0C
smpsHeaderPSG Snd_Continue_PSG2, $F4, $04, $00, sTone_0C
smpsHeaderPSG Snd_Continue_PSG3, $00, $03, $00, sTone_0C
; DAC Data
Snd_Continue_DAC:
dc.b dKickS3, $04, nRst, dKickS3, dSnareS3, nRst, dSnareS3, nRst, $08, dSnareS3, $02, dSnareS3
dc.b dSnareS3, $04, dSnareS3, dSnareS3
Snd_Continue_Jump00:
dc.b dKickS3, nRst, dKickS3, dSnareS3, nRst, $08, dKickS3, $04, nRst, dKickS3, dSnareS3, nRst
dc.b dKickS3, nRst, $08, dKickS3, $04, dSnareS3, nRst, $08, dKickS3, $04, nRst, dKickS3
dc.b dSnareS3, nRst, $08, dKickS3, $04, nRst, dKickS3, dSnareS3, nRst, $08, dKickS3, $04
dc.b nRst, dKickS3, dSnareS3, nRst, dKickS3, nRst, $08, dKickS3, $04, dSnareS3, nRst, $08
dc.b dKickS3, $04, nRst, dKickS3, dSnareS3, nRst, $08, dKickS3, $04, nRst, dKickS3, dSnareS3
dc.b nRst, $08, dKickS3, $04, nRst, dKickS3, dSnareS3, nRst, dKickS3, nRst, $08, dKickS3
dc.b $04, dSnareS3, nRst, $08, dKickS3, $04, nRst, dKickS3, dSnareS3, nRst, $08, dKickS3
dc.b $04, nRst, dKickS3, dSnareS3, nRst, $08, dKickS3, $04, nRst, dKickS3, dSnareS3, nRst
dc.b $08, dKickS3, $04, nRst, dKickS3, dSnareS3, nRst, dSnareS3, nRst, $08, dSnareS3, $02
dc.b dSnareS3, dSnareS3, $04, dSnareS3, dSnareS3
smpsJump Snd_Continue_Jump00
; FM1 Data
Snd_Continue_FM1:
smpsSetvoice $03
smpsAlterNote $FE
smpsModSet $0F, $01, $06, $06
smpsAlterNote $01
smpsPan panRight, $00
smpsCall Snd_Continue_Call00
Snd_Continue_Call00:
dc.b nRst, $08, nEb4, $04, nE4, $08, nC4, $04, nD4, $08, nC4, $04
dc.b nA3, $08, nC4, $04
Snd_Continue_Jump04:
dc.b nRst, $14, nBb3, $02, nC4, $0E, nA3, $04, nRst, $08, nG3, $0C
dc.b nA3, $08, nEb3, $02, nE3, nG3, $08, nA3, $04, nRst, $20, nBb3
dc.b $02, nC4, $0E, nA3, $04, nRst, $08, nEb3, $0C, nD3, $08, nC3
dc.b $04, nRst, $24, nA2, $0C, nC3, nD3, $08, nEb3, $0C, nD3, $04
dc.b nEb3, $08, nD3, $04, nEb3, $08, nD3, $04, nC3, $08, nRst, $0C
dc.b nEb4, $04, nE4, $08, nC4, $04, nD4, $08, nC4, $04, nRst, $08
dc.b nEb4, $04, nRst, $08, nEb4, $04, nE4, $08, nC4, $04, nD4, $08
dc.b nC4, $04, nA3, $08, nC4, $04
smpsJump Snd_Continue_Jump04
; FM2 Data
Snd_Continue_FM2:
smpsSetvoice $14
smpsAlterNote $00
smpsModSet $02, $01, $01, $02
dc.b nF1, $0B, nRst, $01, nFs1, $07, nRst, $01, nG1, $03, nRst, $09
dc.b nG0, $03, nRst, $01, nG0, $0B, nRst, $01
Snd_Continue_Jump03:
dc.b nC1, $0B, nRst, $01, nE1, $0B, nRst, $01, nF1, $0B, nRst, $01
dc.b nFs1, $07, nRst, $01, nG1, $03, nRst, $09, nG1, $03, nRst, $01
dc.b nC1, $0B, nRst, $01, nE1, $0B, nRst, $01, nC1, $0B, nRst, $01
dc.b nA0, $0B, nRst, $01, nC1, $0B, nRst, $01, nD1, $0B, nRst, $01
dc.b nEb1, $07, nRst, $01, nE1, $03, nRst, $09, nE1, $03, nRst, $01
dc.b nA0, $0B, nRst, $01, nC1, $0B, nRst, $01, nA0, $0B, nRst, $01
dc.b nF0, $0B, nRst, $01, nA0, $0B, nRst, $01, nC1, $0B, nRst, $01
dc.b nD1, $07, nRst, $01, nEb1, $03, nRst, $09, nEb1, $03, nRst, $01
dc.b nC1, $0B, nRst, $01, nA0, $0B, nRst, $01, nF0, $0B, nRst, $01
dc.b nD1, $07, nRst, $01, nD1, $03, nRst, $01, nD1, $0B, nRst, $01
dc.b nE1, $07, nRst, $01, nE1, $03, nRst, $01, nE1, $0B, nRst, $01
dc.b nF1, $0B, nRst, $01, nFs1, $07, nRst, $01, nG1, $03, nRst, $09
dc.b nG0, $03, nRst, $01, nG0, $0B, nRst, $01
smpsJump Snd_Continue_Jump03
; FM3 Data
Snd_Continue_FM3:
smpsSetvoice $08
smpsAlterNote $01
smpsModSet $0F, $01, $06, $06
smpsAlterNote $FF
smpsPan panLeft, $00
dc.b nRst, $01
smpsCall Snd_Continue_Call00
smpsStop
; FM4 Data
Snd_Continue_FM4:
smpsSetvoice $06
smpsAlterNote $01
smpsModSet $0A, $01, $03, $06
dc.b nRst, $2C, nG3, $03, nRst, $01
Snd_Continue_Jump02:
dc.b nRst, $08, nG3, $0A, nF3, $01, nE3, nD3, nC3, nBb2, nA2, nG2
dc.b nF2, nE2, nD2, nRst, $38, nG3, $08, nE3, $03, nRst, $09, nE3
dc.b $0A, nD3, $01, nC3, nBb2, nA2, nG2, nF2, nE2, nD2, nC2, nBb1
dc.b nRst, $38, nE3, $08, nC3, $03, nRst, $09, nC3, $0A, nBb2, $01
dc.b nA2, nG2, nF2, nE2, nD2, nC2, nBb1, nA1, nG1, nRst, $38, nA3
dc.b $0C, nF3, $18, nG3, nA3, $0C, nA3, $08, nB3, $04, nRst, $14
dc.b nG3, $04
smpsJump Snd_Continue_Jump02
; FM5 Data
Snd_Continue_FM5:
smpsSetvoice $06
smpsAlterNote $FF
smpsModSet $0A, $01, $03, $06
dc.b nRst, $2C, nC4, $03, nRst, $01
Snd_Continue_Jump01:
dc.b nRst, $08, nC4, $0A, nBb3, $01, nA3, nG3, nF3, nE3, nD3, nC3
dc.b nBb2, nA2, nG2, nRst, $38, nC4, $08, nA3, $03, nRst, $09, nA3
dc.b $0A, nG3, $01, nF3, nE3, nD3, nC3, nBb2, nA2, nG2, nF2, nE2
dc.b nRst, $38, nA3, $08, nF3, $03, nRst, $09, nF3, $0A, nEb3, $01
dc.b nD3, nC3, nBb2, nA2, nG2, nF2, nEb2, nD2, nC2, nRst, $38, nC4
dc.b $0C, nA3, $18, nB3, nC4, $0C, nC4, $08, nD4, $04, nRst, $14
dc.b nC4, $04
smpsJump Snd_Continue_Jump01
; PSG1 Data
Snd_Continue_PSG1:
smpsPSGvoice sTone_04
dc.b nRst, $30
Snd_Continue_Jump07:
dc.b nRst, $08, nC4, $02, nRst, nC5, nRst, $06, nC4, $02, nRst, nC5
dc.b nRst, $0A, nC4, $02, nRst, $06, nC5, $02, nRst, $16, nC4, $02
dc.b nRst, nC5, nRst, $12, nC5, $02, nRst, $0A, nA3, $02, nRst, nA4
dc.b nRst, $06, nA3, $02, nRst, nA4, nRst, $0A, nA3, $02, nRst, $06
dc.b nA4, $02, nRst, $0A, nEb4, $02, nRst, nE4, nRst, $06, nG4, $02
dc.b nRst, nA4, nRst, $06, nE4, $02, nRst, $0A, nE4, $02, nRst, $0A
dc.b nF3, $02, nRst, nF4, nRst, $06, nF3, $02, nRst, nF4, nRst, $0A
dc.b nF3, $02, nRst, $06, nF4, $02, nRst, $16, nF3, $02, nRst, nF4
dc.b nRst, $12, nF4, $02, nRst, $0E, nF4, $02, nRst, $06, nE4, $02
dc.b nRst, $1A, nF4, $02, nRst, $0A, nFs4, $02, nRst, $06, nG4, $02
dc.b nRst, $1A
smpsJump Snd_Continue_Jump07
; PSG2 Data
Snd_Continue_PSG2:
smpsPSGvoice sTone_04
dc.b nRst, $30
Snd_Continue_Jump06:
dc.b nRst, $08, nE3, $02, nRst, nE4, nRst, $06, nE3, $02, nRst, nE4
dc.b nRst, $0A, nE3, $02, nRst, $06, nE4, $02, nRst, $16, nE3, $02
dc.b nRst, nE4, nRst, $12, nE4, $02, nRst, $0A, nC3, $02, nRst, nC4
dc.b nRst, $06, nC3, $02, nRst, nC4, nRst, $0A, nC3, $02, nRst, $06
dc.b nC4, $02, nRst, $0A, nC3, $02, nRst, nC4, nRst, $06, nC3, $02
dc.b nRst, nC4, nRst, $0A, nC3, $02, nRst, $06, nC4, $02, nRst, $0A
dc.b nA2, $02, nRst, nA3, nRst, $06, nA2, $02, nRst, nA3, nRst, $0A
dc.b nA2, $02, nRst, $06, nA3, $02, nRst, $16, nA2, $02, nRst, nA3
dc.b nRst, $12, nA3, $02, nRst, $0E, nA3, $02, nRst, $06, nG3, $02
dc.b nRst, $1A, nA3, $02, nRst, $0A, nBb3, $02, nRst, $06, nB3, $02
dc.b nRst, $1A
smpsJump Snd_Continue_Jump06
; PSG3 Data
Snd_Continue_PSG3:
smpsPSGform $E7
Snd_Continue_Jump05:
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $10
smpsPSGvoice sTone_01
dc.b nMaxPSG2, $08
smpsPSGvoice sTone_04
dc.b nMaxPSG2, $18
smpsJump Snd_Continue_Jump05
| 38.665025 | 95 | 0.605937 |
ad89974b45e1857fe6e287f320bf41f2f11dad3e | 190 | asm | Assembly | mc-sema/validator/x86/tests/PUSHi32.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 2 | 2021-08-07T16:21:29.000Z | 2021-11-17T10:58:37.000Z | mc-sema/validator/x86/tests/PUSHi32.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | mc-sema/validator/x86/tests/PUSHi32.asm | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; PUSHi32
;TEST_BEGIN_RECORDING
push dword 0x7c100052
;TEST_END_RECORDING
pop eax
| 15.833333 | 25 | 0.763158 |
706ac6d29a8cde55162b18d57499973d1f8d0c0c | 311 | asm | Assembly | programs/oeis/332/A332495.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/332/A332495.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/332/A332495.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A332495: a(n-2) = a(n-6) + 5*(1+2*n) with a(0)=0, a(1)=2, a(2)=7, a(3)=15 for n>=4.
; 0,2,7,15,25,37,52,70,90,112,137,165,195,227,262,300,340,382,427,475,525,577,632,690,750,812,877,945,1015,1087,1162,1240,1320,1402,1487,1575,1665,1757,1852,1950,2050,2152,2257
add $0,1
bin $0,2
mul $0,10
div $0,4
mov $1,$0
| 34.555556 | 176 | 0.633441 |
0d9c88109b2de80278457df7003de53cb4b580d1 | 520 | asm | Assembly | programs/oeis/315/A315707.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/315/A315707.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/315/A315707.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A315707: Coordination sequence Gal.5.295.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,12,17,23,29,35,41,46,52,58,64,70,75,81,87,93,99,104,110,116,122,128,133,139,145,151,157,162,168,174,180,186,191,197,203,209,215,220,226,232,238,244,249,255,261,267,273,278,284
mov $1,$0
mov $2,$0
add $2,$0
mov $4,$0
add $4,$0
mul $0,2
add $0,$2
mov $3,$0
sub $4,2
mov $0,$4
mul $0,2
add $0,2
add $1,$3
lpb $0
trn $0,5
add $1,1
lpe
| 24.761905 | 181 | 0.676923 |
129b6b7ba1c30b0be533e6a5fcda50b0350c82ba | 360 | asm | Assembly | programs/oeis/026/A026219.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/026/A026219.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/026/A026219.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A026219: Position of n in A026218.
; 1,2,5,3,9,4,13,6,17,7,21,8,25,10,29,11,33,12,37,14,41,15,45,16,49,18,53,19,57,20,61,22,65,23,69,24,73,26,77,27,81,28,85,30,89,31,93,32,97,34,101,35,105,36,109,38,113,39,117,40,121
mov $4,$0
mod $0,2
mov $3,10
mul $4,2
mov $1,$4
lpb $0
bin $0,$3
add $1,1
div $1,3
lpe
add $2,$1
mul $1,7
add $1,$2
div $1,8
add $1,1
| 18.947368 | 181 | 0.608333 |
6b9f6cf951aec795f7ab9f8b061dbd34527c855b | 1,953 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_324_1316.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_324_1316.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_324_1316.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r9
push %rax
push %rbx
push %rdx
// Store
lea addresses_A+0x1cb69, %rax
nop
nop
nop
and %r11, %r11
mov $0x5152535455565758, %r9
movq %r9, (%rax)
nop
sub $52975, %rdx
// Faulty Load
lea addresses_A+0xbdb9, %r9
nop
cmp $64025, %rbx
movups (%r9), %xmm4
vpextrq $1, %xmm4, %rdx
lea oracles, %r9
and $0xff, %rdx
shlq $12, %rdx
mov (%r9,%rdx,1), %rdx
pop %rdx
pop %rbx
pop %rax
pop %r9
pop %r14
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 32, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'00': 324}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 34.875 | 971 | 0.65489 |
632ac28a0270daff19185809c258866525530237 | 1,334 | asm | Assembly | delay.asm | unlink2/nesrpg | be08966cb171d8e54287bf0e59ec6262be7e8463 | [
"MIT"
] | 5 | 2020-01-23T14:58:55.000Z | 2021-06-27T15:00:29.000Z | delay.asm | unlink2/nano_dungeons | be08966cb171d8e54287bf0e59ec6262be7e8463 | [
"MIT"
] | null | null | null | delay.asm | unlink2/nano_dungeons | be08966cb171d8e54287bf0e59ec6262be7e8463 | [
"MIT"
] | null | null | null | ; this sub routine handles delayed updates
; inputs:
; delay_timer -> set how many frames an animation will take
; delay_update -> function pointer
; delay_done -> function pointer
; returns:
; a = 1 if animation just finished AND update should be skipped
; note that this has to be set by the update done handler
update_delay:
lda delay_timer
ora delay_timer+1
beq @done ; if animation timer is 0 we are done
; -1 16 bit sub
sec
sbc #$01
sta delay_timer
lda delay_timer+1
sbc #$00
sta delay_timer+1
; if it is 0 now we call done function
lda delay_timer
ora delay_timer+1
bne @not_done
lda delay_done
sta src_ptr
lda delay_done+1
sta src_ptr+1
jsr jsr_indirect
rts
@not_done:
; otherwise call update routine
lda delay_update
sta src_ptr
lda delay_update+1
sta src_ptr+1
jsr jsr_indirect
@done:
lda #$00
rts
; this sub routine aborts a delay timer
; calling delay_done
; and setting the remaining time to 0
abort_delay:
; don't do anything if timer is already 0
lda delay_timer
ora delay_timer+1
beq @no_abort
lda #$00
sta delay_timer
sta delay_timer+1
lda delay_done
sta src_ptr
lda delay_done+1
sta src_ptr+1
jsr jsr_indirect
@no_abort:
rts
| 20.523077 | 65 | 0.670915 |
367f60304ebefddd7362eea00eef93bc4c694986 | 517 | asm | Assembly | src/util/strg/cmpst.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/strg/cmpst.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/strg/cmpst.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | ; compare to string (using QDOS ut.cstr)
section string
include win1_keys_err
include win1_keys_qlv
xdef st_cmpst ; append a character
;+++
; compare two strings (see ut.cstr)
;
; Entry Exit
; d0.b comparison type -1,0 or +1 (0=same)
; 0=file
; 1=basic
; 2=equivalence
; a0 string 1
; a1 string 2
;
; condition codes set
;---
r_cmpst reg a2/a6/d2
st_cmpst
movem.l r_cmpst,-(sp)
moveq #0,d2
move.l d2,a6
move.w ut.cstr,a2
jsr (a2)
movem.l (sp)+,r_cmpst
rts
end
| 15.205882 | 48 | 0.630561 |
a85ef465a10274f6af0c17edc83564e93ea0c9d0 | 224 | asm | Assembly | src/tables.asm | munshkr/nes-snake | f46910798e453edc17b274d6bd65f8665addea61 | [
"Apache-2.0"
] | null | null | null | src/tables.asm | munshkr/nes-snake | f46910798e453edc17b274d6bd65f8665addea61 | [
"Apache-2.0"
] | null | null | null | src/tables.asm | munshkr/nes-snake | f46910798e453edc17b274d6bd65f8665addea61 | [
"Apache-2.0"
] | null | null | null | ;;;;;;;;;;;;;;;;;;
;;; TABLES ;;;
;;;;;;;;;;;;;;;;;;
.align $100
palette:
.db $0F,$31,$32,$33,$34,$35,$36,$37,$38,$39,$3A,$3B,$3C,$3D,$3E,$0F
.db $0F,$3B,$15,$0F,$0F,$02,$0F,$0F,$0F,$1C,$15,$14,$31,$02,$38,$3C
| 22.4 | 71 | 0.397321 |
430a811c6dc66cd5769bceaebf87746e92cba437 | 11 | asm | Assembly | src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_vbuyy.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_vbuyy.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_vbuyy.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | ora {c1},y
| 5.5 | 10 | 0.545455 |
5f2c7613ce5d4eb7d044fb3afcaa7f836b3aee71 | 296 | asm | Assembly | libsrc/sprites/software/sp1/ts2068hr/updater/sp1_Initialize.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/sprites/software/sp1/ts2068hr/updater/sp1_Initialize.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/sprites/software/sp1/ts2068hr/updater/sp1_Initialize.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | ; CALLER linkage for function pointers
XLIB sp1_Initialize
LIB sp1_Initialize_callee
XREF ASMDISP_SP1_INITIALIZE_CALLEE
.sp1_Initialize
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld a,(hl)
ex de,hl
jp sp1_Initialize_callee + ASMDISP_SP1_INITIALIZE_CALLEE
| 14.8 | 59 | 0.72973 |
c889646cb33592220001294dffa28bc827059a0f | 323 | asm | Assembly | oeis/021/A021236.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | oeis/021/A021236.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | oeis/021/A021236.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A021236: Decimal expansion of 1/232.
; 0,0,4,3,1,0,3,4,4,8,2,7,5,8,6,2,0,6,8,9,6,5,5,1,7,2,4,1,3,7,9,3,1,0,3,4,4,8,2,7,5,8,6,2,0,6,8,9,6,5,5,1,7,2,4,1,3,7,9,3,1,0,3,4,4,8,2,7,5,8,6,2,0,6,8,9,6,5,5,1,7,2,4,1,3,7,9,3,1,0,3,4,4,8,2,7,5,8,6
add $0,1
mov $2,1
lpb $0
sub $0,1
mul $2,10
lpe
div $2,232
mov $0,$2
mod $0,10
| 24.846154 | 199 | 0.5387 |
a87daa4efb93fc2a41bdc5225f585a515dacd72b | 163 | asm | Assembly | 11-Injection-Sites-1.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | 11-Injection-Sites-1.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | 11-Injection-Sites-1.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | -- 7 Billion Humans --
-- 11: Injection Sites 1 --
-- Size: 5/5 --
-- Speed: 10/7 --
pickup s
a:
if w != datacube or
c == datacube:
step s
jump a
endif
drop
| 10.1875 | 27 | 0.576687 |
d1d4b37ee4ca814122be6ceef7f5f9e90eee163f | 16,258 | asm | Assembly | home/text.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | home/text.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | null | null | null | home/text.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 2 | 2021-08-11T19:47:07.000Z | 2022-01-01T07:07:56.000Z | ClearBox::
; Fill a c*b box at hl with blank tiles.
ld a, " "
; fallthrough
FillBoxWithByte::
.row
push bc
push hl
.col
ld [hli], a
dec c
jr nz, .col
pop hl
ld bc, SCREEN_WIDTH
add hl, bc
pop bc
dec b
jr nz, .row
ret
ClearTileMap::
; Fill wTileMap with blank tiles.
hlcoord 0, 0
ld a, " "
ld bc, wTileMapEnd - wTileMap
call ByteFill
; Update the BG Map.
ldh a, [rLCDC]
bit rLCDC_ENABLE, a
ret z
jp WaitBGMap
ClearScreen::
ld a, PAL_BG_TEXT
hlcoord 0, 0, wAttrMap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
call ByteFill
jr ClearTileMap
Textbox::
; Draw a text box at hl with room for b lines of c characters each.
; Places a border around the textbox, then switches the palette to the
; text black-and-white scheme.
push bc
push hl
call TextboxBorder
pop hl
pop bc
jr TextboxPalette
TextboxBorder::
; Top
push hl
ld a, "┌"
ld [hli], a
inc a ; "─"
call .PlaceChars
inc a ; "┐"
ld [hl], a
pop hl
; Middle
ld de, SCREEN_WIDTH
add hl, de
.row
push hl
ld a, "│"
ld [hli], a
ld a, " "
call .PlaceChars
ld [hl], "│"
pop hl
ld de, SCREEN_WIDTH
add hl, de
dec b
jr nz, .row
; Bottom
ld a, "└"
ld [hli], a
ld a, "─"
call .PlaceChars
ld [hl], "┘"
ret
.PlaceChars:
; Place char a c times.
ld d, c
.loop
ld [hli], a
dec d
jr nz, .loop
ret
TextboxPalette::
; Fill text box width c height b at hl with pal 7
ld de, wAttrMap - wTileMap
add hl, de
inc b
inc b
inc c
inc c
ld a, PAL_BG_TEXT
.col
push bc
push hl
.row
ld [hli], a
dec c
jr nz, .row
pop hl
ld de, SCREEN_WIDTH
add hl, de
pop bc
dec b
jr nz, .col
ret
SpeechTextbox::
; Standard textbox.
hlcoord TEXTBOX_X, TEXTBOX_Y
ld b, TEXTBOX_INNERH
ld c, TEXTBOX_INNERW
jp Textbox
RadioTerminator::
ld hl, .stop
ret
.stop:
text_end
PrintText::
call SetUpTextbox
BuenaPrintText::
push hl
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
lb bc, TEXTBOX_INNERH - 1, TEXTBOX_INNERW
call ClearBox
pop hl
PrintTextboxText::
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY
jp PlaceHLTextAtBC
SetUpTextbox::
push hl
call SpeechTextbox
call UpdateSprites
call ApplyTilemap
pop hl
ret
FarPlaceString::
ld c, a
ldh a, [hROMBank]
ld b, a
ld a, c
rst Bankswitch
push bc
call PlaceString
pop af
rst Bankswitch
ret
PlaceString::
push hl
PlaceNextChar::
ld a, [de]
cp "@"
jr nz, CheckDict
ld b, h
ld c, l
pop hl
ret
pop de
NextChar::
inc de
jp PlaceNextChar
CheckDict::
dict: MACRO
if \1 == "<NULL>"
and a
else
cp \1
endc
if STRSUB("\2", 1, 1) == "\""
; Replace a character with another one
jr nz, ._\@
ld a, \2
._\@:
elif STRSUB("\2", 1, 1) == "."
; Locals can use a short jump
jr z, \2
else
jp z, \2
endc
ENDM
dict "<MOBILE>", MobileScriptChar
dict "<LINE>", LineChar
dict "<NEXT>", NextLineChar
dict "<CR>", CarriageReturnChar
dict "<NULL>", NullChar
dict "<SCROLL>", _ContTextNoPause
dict "<_CONT>", _ContText
dict "<PARA>", Paragraph
dict "<MOM>", PrintMomsName
dict "<PLAYER>", PrintPlayerName
dict "<RIVAL>", PrintRivalName
dict "<RED>", PrintRedsName
dict "<GREEN>", PrintGreensName
dict "#", PlacePOKe
dict "<PC>", PCChar
dict "<ROCKET>", RocketChar
dict "<TM>", TMChar
dict "<TRAINER>", TrainerChar
dict "<LF>", LineFeedChar
dict "<CONT>", ContText
dict "<……>", SixDotsChar
dict "<DONE>", DoneText
dict "<PROMPT>", PromptText
dict "<PKMN>", PlacePKMN
dict "<POKE>", PlacePOKE
dict "%", NextChar
dict "¯", " "
dict "<DEXEND>", PlaceDexEnd
dict "<TARGET>", PlaceMoveTargetsName
dict "<USER>", PlaceMoveUsersName
dict "<ENEMY>", PlaceEnemysName
dict "<ASST>", PlaceDawnLucasName
dict "<SIGNR>", PlaceSignRight
dict "<SIGNL>", PlaceSignLeft
dict "<SIGNU>", PlaceSignUp
dict "<SIGND>", PlaceSignDown
dict "<SIGN|>", "<ARROW_|>"
ld [hli], a
call PrintLetterDelay
jp NextChar
MobileScriptChar::
ld c, l
ld b, h
farcall RunMobileScript
jp PlaceNextChar
PlaceDawnLucasName:
push de
ld a, [wPlayerGender]
bit PLAYERGENDER_FEMALE_F, a
ld de, .DawnName
jr z, .male
ld de, .LucasName
.male
jp PlaceCommandCharacter
.DawnName:
db "DAWN@"
.LucasName:
db "LUCAS@"
print_name: MACRO
push de
ld de, \1
jp PlaceCommandCharacter
ENDM
PrintMomsName: print_name wMomsName
PrintPlayerName: print_name wPlayerName
PrintRivalName: print_name wRivalName
PrintRedsName: print_name wRedsName
PrintGreensName: print_name wGreensName
TrainerChar: print_name TrainerCharText
TMChar: print_name TMCharText
PCChar: print_name PCCharText
RocketChar: print_name RocketCharText
PlacePOKe: print_name PlacePOKeText
SixDotsChar: print_name SixDotsCharText
PlacePKMN: print_name PlacePKMNText
PlacePOKE: print_name PlacePOKEText
PlaceSignRight: print_name ArrowRText
PlaceSignLeft: print_name ArrowLText
PlaceMoveTargetsName::
ldh a, [hBattleTurn]
xor 1
jr PlaceMoveUsersName.place
PlaceMoveUsersName::
ldh a, [hBattleTurn]
.place:
push de
and a
jr nz, .enemy
ld de, wBattleMonNick
jr PlaceCommandCharacter
.enemy
ld de, EnemyText
call PlaceString
ld h, b
ld l, c
ld de, wEnemyMonNick
jr PlaceCommandCharacter
PlaceEnemysName::
push de
ld a, [wLinkMode]
and a
jr nz, .linkbattle
ld a, [wTrainerClass]
cp RIVAL1
jr z, .rival
cp RIVAL2
jr z, .rival
ld de, wOTClassName
call PlaceString
ld h, b
ld l, c
ld de, String_Space
call PlaceString
push bc
callfar Battle_GetTrainerName
pop hl
ld de, wStringBuffer1
jr PlaceCommandCharacter
.rival
ld de, wRivalName
jr PlaceCommandCharacter
.linkbattle
ld de, wOTClassName
jr PlaceCommandCharacter
PlaceSignUp:
push de
ld de, SCREEN_WIDTH-1
ld a, "<ARROW_U>"
jr PlaceMultiLineArrow
PlaceSignDown:
push de
ld de, -SCREEN_WIDTH-1
ld a, "<ARROW_D>"
PlaceMultiLineArrow:
ld [hli], a
push hl
add hl, de
ld a, "<ARROW_|>"
ld [hl], a
pop hl
pop de
call PrintLetterDelay
jp NextChar
PlaceCommandCharacter::
call PlaceString
ld h, b
ld l, c
pop de
jp NextChar
TMCharText:: db "TM@"
TrainerCharText:: db "TRAINER@"
PCCharText:: db "PC@"
RocketCharText:: db "ROCKET@"
PlacePOKeText:: db "POKé@"
SixDotsCharText:: db "……@"
EnemyText:: db "Enemy @"
PlacePKMNText:: db "<PK><MN>@"
PlacePOKEText:: db "<PO><KE>@"
String_Space:: db " @"
ArrowRText:: db "<ARROW_-><ARROW_-><ARROW_R>@"
ArrowLText:: db "<ARROW_L><ARROW_-><ARROW_->@"
NextLineChar::
pop hl
ld bc, SCREEN_WIDTH * 2
add hl, bc
push hl
jp NextChar
LineFeedChar::
pop hl
ld bc, SCREEN_WIDTH
add hl, bc
push hl
jp NextChar
CarriageReturnChar::
pop hl
push de
ld bc, -wTileMap + $10000
add hl, bc
ld de, -SCREEN_WIDTH
ld c, 1
.loop
ld a, h
and a
jr nz, .next
ld a, l
cp SCREEN_WIDTH
jr c, .done
.next
add hl, de
inc c
jr .loop
.done
hlcoord 0, 0
ld de, SCREEN_WIDTH
ld a, c
.loop2
and a
jr z, .done2
add hl, de
dec a
jr .loop2
.done2
pop de
inc de
ld a, [de]
ld c, a
ld b, 0
add hl, bc
push hl
jp NextChar
LineChar::
pop hl
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY + 2
push hl
jp NextChar
Paragraph::
push de
ld a, [wLinkMode]
cp LINK_COLOSSEUM
jr z, .linkbattle
cp LINK_MOBILE
jr z, .linkbattle
call LoadBlinkingCursor
.linkbattle
call Text_WaitBGMap
call ButtonSound
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
lb bc, TEXTBOX_INNERH - 1, TEXTBOX_INNERW
call ClearBox
call UnloadBlinkingCursor
ld c, 20
call DelayFrames
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
pop de
jp NextChar
_ContText::
ld a, [wLinkMode]
or a
jr nz, .communication
call LoadBlinkingCursor
.communication
call Text_WaitBGMap
push de
call ButtonSound
pop de
ld a, [wLinkMode]
or a
call z, UnloadBlinkingCursor
; fallthrough
_ContTextNoPause::
push de
call TextScroll
call TextScroll
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY + 2
pop de
jp NextChar
ContText::
push de
ld de, .cont
ld b, h
ld c, l
call PlaceString
ld h, b
ld l, c
pop de
jp NextChar
.cont: db "<_CONT>@"
PlaceDexEnd::
; Ends a Pokédex entry in Gen 1.
; Dex entries are now regular strings.
ld [hl], "."
pop hl
ret
PromptText::
ld a, [wLinkMode]
cp LINK_COLOSSEUM
jr z, .ok
cp LINK_MOBILE
jr z, .ok
call LoadBlinkingCursor
.ok
call Text_WaitBGMap
call ButtonSound
ld a, [wLinkMode]
cp LINK_COLOSSEUM
jr z, DoneText
cp LINK_MOBILE
jr z, DoneText
call UnloadBlinkingCursor
DoneText::
pop hl
ld de, .stop
dec de
ret
.stop:
text_end
NullChar::
ld a, "?"
ld [hli], a
call PrintLetterDelay
jp NextChar
TextScroll::
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
decoord TEXTBOX_INNERX, TEXTBOX_INNERY - 1
ld a, TEXTBOX_INNERH - 1
.col
push af
ld c, TEXTBOX_INNERW
.row
ld a, [hli]
ld [de], a
inc de
dec c
jr nz, .row
inc de
inc de
inc hl
inc hl
pop af
dec a
jr nz, .col
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY + 2
ld a, " "
ld bc, TEXTBOX_INNERW
call ByteFill
ld c, 5
jp DelayFrames
Text_WaitBGMap::
push bc
ldh a, [hOAMUpdate]
push af
ld a, 1
ldh [hOAMUpdate], a
call WaitBGMap
pop af
ldh [hOAMUpdate], a
pop bc
ret
LoadBlinkingCursor::
ld a, "▼"
ldcoord_a 18, 17
ret
UnloadBlinkingCursor::
lda_coord 17, 17
ldcoord_a 18, 17
ret
FarString::
ld b, a
ldh a, [hROMBank]
push af
ld a, b
rst Bankswitch
call PlaceString
pop af
rst Bankswitch
ret
PokeFluteTerminatorCharacter::
ld hl, .stop
ret
.stop:
text_end
PlaceHLTextAtBC::
ld a, [wTextboxFlags]
push af
set NO_TEXT_DELAY_F, a
ld [wTextboxFlags], a
call DoTextUntilTerminator
pop af
ld [wTextboxFlags], a
ret
DoTextUntilTerminator::
ld a, [hli]
cp TX_END
ret z
call .TextCommand
jr DoTextUntilTerminator
.TextCommand:
push hl
push bc
ld c, a
ld b, 0
ld hl, TextCommands
add hl, bc
add hl, bc
ld e, [hl]
inc hl
ld d, [hl]
pop bc
pop hl
; jp de
push de
ret
TextCommands::
; entries correspond to TX_* constants (see macros/scripts/text.asm)
dw TextCommand_START ; TX_START
dw TextCommand_RAM ; TX_RAM
dw TextCommand_BCD ; TX_BCD
dw TextCommand_MOVE ; TX_MOVE
dw TextCommand_BOX ; TX_BOX
dw TextCommand_LOW ; TX_LOW
dw TextCommand_WAIT_BUTTON ; TX_WAIT_BUTTON
dw TextCommand_SCROLL ; TX_SCROLL
dw TextCommand_START_ASM ; TX_START_ASM
dw TextCommand_NUM ; TX_NUM
dw TextCommand_PAUSE ; TX_PAUSE
dw TextCommand_SOUND ; TX_SOUND_DEX_FANFARE_50_79
dw TextCommand_DOTS ; TX_DOTS
dw TextCommand_LINK_WAIT_BUTTON ; TX_LINK_WAIT_BUTTON
dw TextCommand_SOUND ; TX_SOUND_DEX_FANFARE_20_49
dw TextCommand_SOUND ; TX_SOUND_ITEM
dw TextCommand_SOUND ; TX_SOUND_CAUGHT_MON
dw TextCommand_SOUND ; TX_SOUND_DEX_FANFARE_80_109
dw TextCommand_SOUND ; TX_SOUND_FANFARE
dw TextCommand_SOUND ; TX_SOUND_SLOT_MACHINE_START
dw TextCommand_STRINGBUFFER ; TX_STRINGBUFFER
dw TextCommand_DAY ; TX_DAY
dw TextCommand_FAR ; TX_FAR
dw TextCommand_BIG ; TX_BIG
TextCommand_START::
; text_start
; write text until "@"
; [$00]["...@"]
ld d, h
ld e, l
ld h, b
ld l, c
call PlaceString
ld h, d
ld l, e
inc hl
ret
TextCommand_RAM::
; text_ram
; write text from a ram address
; little endian
; [$01][addr]
ld a, [hli]
ld e, a
ld a, [hli]
ld d, a
push hl
ld h, b
ld l, c
call PlaceString
pop hl
ret
TextCommand_BIG::
; text_big
; write BIG text until "@"
; [$17]["...@"]
push hl
push bc
ld d, h
ld e, l
ld hl, wOptions
ld a, [hl]
push af
set NO_TEXT_SCROLL, [hl]
ld hl, wStringBuffer5
call PlaceString
pop af
ld hl, wOptions
ld [hl], a
ld a, "@"
ld [bc], a
pop bc
pop de
push de
farcall PrintBigText
pop hl
.skiploop
ld a, [hli]
cp "@"
jr nz, .skiploop
dec hl
ret
TextCommand_FAR::
; text_far
; write text from a different bank
; little endian
; [$16][addr][bank]
ldh a, [hROMBank]
push af
ld a, [hli]
ld e, a
ld a, [hli]
ld d, a
ld a, [hli]
rst Bankswitch
push hl
ld h, d
ld l, e
call DoTextUntilTerminator
pop hl
pop af
rst Bankswitch
ret
TextCommand_BCD::
; text_bcd
; write bcd from address, typically ram
; [$02][addr][flags]
; flags: see PrintBCDNumber
ld a, [hli]
ld e, a
ld a, [hli]
ld d, a
ld a, [hli]
push hl
ld h, b
ld l, c
ld c, a
call PrintBCDNumber
ld b, h
ld c, l
pop hl
ret
TextCommand_MOVE::
; text_move
; move to a new tile
; [$03][addr]
ld a, [hli]
ld [wMenuScrollPosition + 2], a
ld c, a
ld a, [hli]
ld [wMenuScrollPosition + 2 + 1], a
ld b, a
ret
TextCommand_BOX::
; text_box
; draw a box
; little endian
; [$04][addr][height][width]
ld a, [hli]
ld e, a
ld a, [hli]
ld d, a
ld a, [hli]
ld b, a
ld a, [hli]
ld c, a
push hl
ld h, d
ld l, e
call Textbox
pop hl
ret
TextCommand_LOW::
; text_low
; write text at (1,16)
; [$05]
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY + 2
ret
TextCommand_WAIT_BUTTON::
; text_waitbutton
; wait for button press
; show arrow
; [06]
ld a, [wLinkMode]
cp LINK_COLOSSEUM
jp z, TextCommand_LINK_WAIT_BUTTON
cp LINK_MOBILE
jp z, TextCommand_LINK_WAIT_BUTTON
push hl
call LoadBlinkingCursor
push bc
call ButtonSound
pop bc
call UnloadBlinkingCursor
pop hl
ret
TextCommand_SCROLL::
; text_scroll
; pushes text up two lines and sets the BC cursor to the border tile
; below the first character column of the text box.
push hl
call UnloadBlinkingCursor
call TextScroll
call TextScroll
pop hl
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY + 2
ret
TextCommand_START_ASM::
; text_asm
bit 7, h
jr nz, .not_rom
jp hl
.not_rom
ld a, TX_END
ld [hl], a
ret
TextCommand_NUM::
; text_decimal
; [$09][addr][hi:bytes lo:digits]
ld a, [hli]
ld e, a
ld a, [hli]
ld d, a
ld a, [hli]
push hl
ld h, b
ld l, c
ld b, a
and $f
ld c, a
ld a, b
and $f0
swap a
set PRINTNUM_RIGHTALIGN_F, a
ld b, a
call PrintNum
ld b, h
ld c, l
pop hl
ret
TextCommand_PAUSE::
; text_pause
push hl
push bc
call GetJoypad
ldh a, [hJoyDown]
and A_BUTTON | B_BUTTON
jr nz, .done
ld c, 30
call DelayFrames
.done
pop bc
pop hl
ret
TextCommand_SOUND::
; chars:
; $0b, $0e, $0f, $10, $11, $12, $13
; see TextSFX
push bc
dec hl
ld a, [hli]
ld b, a
push hl
ld hl, TextSFX
.loop
ld a, [hli]
cp -1
jr z, .done
cp b
jr z, .play
inc hl
inc hl
jr .loop
.play
push de
ld e, [hl]
inc hl
ld d, [hl]
call PlaySFX
call WaitSFX
pop de
.done
pop hl
pop bc
ret
TextSFX::
dbw TX_SOUND_DEX_FANFARE_50_79, SFX_DEX_FANFARE_50_79
dbw TX_SOUND_FANFARE, SFX_FANFARE
dbw TX_SOUND_DEX_FANFARE_20_49, SFX_DEX_FANFARE_20_49
dbw TX_SOUND_ITEM, SFX_ITEM
dbw TX_SOUND_CAUGHT_MON, SFX_CAUGHT_MON
dbw TX_SOUND_DEX_FANFARE_80_109, SFX_DEX_FANFARE_80_109
dbw TX_SOUND_SLOT_MACHINE_START, SFX_SLOT_MACHINE_START
db -1
TextCommand_DOTS::
; text_dots
; [$0C][num]
ld a, [hli]
ld d, a
push hl
ld h, b
ld l, c
.loop
push de
ld a, "…"
ld [hli], a
call GetJoypad
ldh a, [hJoyDown]
and A_BUTTON | B_BUTTON
jr nz, .next
ld c, 10
call DelayFrames
.next
pop de
dec d
jr nz, .loop
ld b, h
ld c, l
pop hl
ret
TextCommand_LINK_WAIT_BUTTON::
; text_linkwaitbutton
; wait for key down
; display arrow
push hl
push bc
call ButtonSound
pop bc
pop hl
ret
TextCommand_STRINGBUFFER::
; text_buffer
; Print a string from one of the following:
; 0: wStringBuffer3
; 1: wStringBuffer4
; 2: wStringBuffer5
; 3: wStringBuffer2
; 4: wStringBuffer1
; 5: wEnemyMonNick
; 6: wBattleMonNick
; [$14][id]
ld a, [hli]
push hl
ld e, a
ld d, 0
ld hl, StringBufferPointers
add hl, de
add hl, de
ld a, BANK(StringBufferPointers)
call GetFarHalfword
ld d, h
ld e, l
ld h, b
ld l, c
call PlaceString
pop hl
ret
TextCommand_DAY::
; text_today
call GetWeekday
push hl
push bc
ld c, a
ld b, 0
ld hl, .Days
add hl, bc
add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a
ld d, h
ld e, l
pop hl
call PlaceString
ld h, b
ld l, c
ld de, .Day
call PlaceString
pop hl
ret
.Days:
dw .Sun
dw .Mon
dw .Tues
dw .Wednes
dw .Thurs
dw .Fri
dw .Satur
.Sun: db "SUN@"
.Mon: db "MON@"
.Tues: db "TUES@"
.Wednes: db "WEDNES@"
.Thurs: db "THURS@"
.Fri: db "FRI@"
.Satur: db "SATUR@"
.Day: db "DAY@"
DefaultWinText::
text "Win"
done
DefaultLossText::
text "Loss"
done
| 14.806922 | 70 | 0.678066 |
f5fa910dbab49c62a3a1c6b230dc888931a35247 | 228 | asm | Assembly | programs/oeis/010/A010705.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/010/A010705.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/010/A010705.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A010705: Period 2: repeat (3,7).
; 3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3,7,3
gcd $0,2
mov $1,7
div $1,$0
| 32.571429 | 163 | 0.517544 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.