max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_521.asm | ljhsiun2/medusa | 9 | 4000 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1d5b5, %rsi
lea addresses_WC_ht+0xb1d5, %rdi
nop
nop
nop
nop
nop
sub $3566, %r8
mov $55, %rcx
rep movsw
cmp $3789, %rax
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r8
ret
.global s_faulty_load
s_faulty_... |
jmespath-core/src/main/antlr4/io/burt/jmespath/parser/JmesPath.g4 | retractable/jmespath-java | 0 | 4410 | <filename>jmespath-core/src/main/antlr4/io/burt/jmespath/parser/JmesPath.g4
grammar JmesPath;
jmesPathExpression : expression EOF ;
expression
: expression '.' chainedExpression # chainExpression
| expression bracketSpecifier # bracketedExpression
| bracketSpecifier # bracketExpression
| expression COMPARATOR... |
libsrc/target/zx-common/graphics/getmaxx.asm | ahjelm/z88dk | 640 | 178235 | MODULE getmaxx
SECTION code_clib
PUBLIC getmaxx
PUBLIC _getmaxx
EXTERN __zx_screenmode
EXTERN __console_w
EXTERN __gfx_fatpix
.getmaxx
._getmaxx
ld a,(__zx_screenmode)
ld hl,255
cp 3
ret c
and 7
cp 6
jr nz,zxn_getmaxx
ld a,(__gfx_fatpix)
... |
RW/Data/RTrie/Insert.agda | VictorCMiraldo/agda-rw | 16 | 3632 | open import Prelude
open import Level using (_⊔_; Lift; lift) renaming (suc to ls; zero to lz)
open import Data.String using (String)
open import Data.Maybe using (Maybe; nothing; just)
open import Data.Nat using (_≤_)
module RW.Data.RTrie.Insert
where
open import Relation.Binary.PropositionalEquality
usin... |
Cubical/HITs/Truncation/FromNegTwo.agda | marcinjangrzybowski/cubical | 301 | 13421 | {-# OPTIONS --safe #-}
module Cubical.HITs.Truncation.FromNegTwo where
open import Cubical.HITs.Truncation.FromNegTwo.Base public
open import Cubical.HITs.Truncation.FromNegTwo.Properties public
|
alloy4fun_models/trashltl/models/16/8m8o2yZxSajt2Qn5L.als | Kaixi26/org.alloytools.alloy | 0 | 660 | <gh_stars>0
open main
pred id8m8o2yZxSajt2Qn5L_prop17 {
all f: File | always f in Trash implies after f not in File
}
pred __repair { id8m8o2yZxSajt2Qn5L_prop17 }
check __repair { id8m8o2yZxSajt2Qn5L_prop17 <=> prop17o } |
Numeral/Natural/Oper.agda | Lolirofle/stuff-in-agda | 6 | 4005 | module Numeral.Natural.Oper where
open import Numeral.Natural
infixl 10010 _+_
infix 10010 _−₀_ _𝄩_
infixl 10020 _⋅_
-- infix 10020 _/₀_
infixl 10030 _^_
-- TODO: It would require a great amount of work, but consider changing the induction to being on the left side instead of the right on _+_ and _⋅_. It will the... |
test/Fail/Issue1886.agda | alhassy/agda | 3 | 14944 | <filename>test/Fail/Issue1886.agda
-- Andreas, 2016-12-30, issue #1886, reported by nad
-- {-# OPTIONS -v tc.data:40 -v scope.data.def:40 -v tc.decl:10 #-}
data D (X : Set) : Set
data D (X : Set Set) where
|
libsrc/z80_crt0s/z80/sccz80/l_xor.asm | jpoikela/z88dk | 38 | 98200 | <reponame>jpoikela/z88dk
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
SECTION code_crt0_sccz80
PUBLIC l_xor
; "xor" HL and DE into HL
.l_xor
ld a,l
xor ... |
tools-src/gnu/gcc/gcc/ada/s-mastop.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 4434 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/141/A141104.asm | neoneye/loda | 22 | 7799 | <filename>programs/oeis/141/A141104.asm
; A141104: Lower Even Swappage of Upper Wythoff Sequence.
; 2,4,6,10,12,14,18,20,22,26,28,30,34,36,38,40,44,46,48,52,54,56,60,62,64,68,70,72,74,78,80,82,86,88,90,94,96,98,102,104,106,108,112,114,116,120,122,124,128,130,132,136,138,140,142,146,148,150,154,156,158,162
add $0,1
mul... |
samples/if.asm | wilsonpilon/msx-menu | 0 | 178233 | ; if.asm
proc
local v
v equ 0
if v
ld a, 0
else
ld a, 1
endif
endp
nop
; if.asm finished
|
src/Polynomial/Simple/AlmostCommutativeRing.agda | mckeankylej/agda-ring-solver | 36 | 1036 | <filename>src/Polynomial/Simple/AlmostCommutativeRing.agda
{-# OPTIONS --without-K --safe #-}
module Polynomial.Simple.AlmostCommutativeRing where
import Algebra.Solver.Ring.AlmostCommutativeRing as Complex
open import Level
open import Relation.Binary
open import Algebra
open import Algebra.Structures
open import Al... |
orka/src/orka/implementation/orka-logging.adb | onox/orka | 52 | 2893 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licen... |
libsrc/games/spectrum/bit_open_di.asm | meesokim/z88dk | 0 | 163111 | ; $Id: bit_open_di.asm,v 1.6 2015/01/19 01:32:45 pauloscustodio Exp $
;
; ZX Spectrum 1 bit sound functions
;
; Open sound and disable interrupts for exact timing
;
; <NAME> - 28/9/2001
;
PUBLIC bit_open_di
EXTERN snd_tick
EXTERN bit_irqstatus
INCLUDE "games/games.inc"
.bit_open_di
... |
src/rejuvenation-node_locations.ads | TNO/Rejuvenation-Ada | 1 | 27174 | <gh_stars>1-10
package Rejuvenation.Node_Locations is
type Node_Location is (No_Trivia, Trivia_On_Same_Line, All_Trivia);
-- Between two adjacent nodes in the AST, trivia
-- (i.e. white space and comment) can occur.
-- This raises the question: Where does a Node start / end?
-- No_Trivia :... |
programs/oeis/028/A028835.asm | jmorken/loda | 1 | 171484 | ; A028835: Numbers n such that iterated sum of digits of n is a prime.
; 2,3,5,7,11,12,14,16,20,21,23,25,29,30,32,34,38,39,41,43,47,48,50,52,56,57,59,61,65,66,68,70,74,75,77,79,83,84,86,88,92,93,95,97,101,102,104,106,110,111,113,115,119,120,122,124,128,129,131,133,137,138,140,142,146,147,149,151,155,156,158,160,164,165... |
_tests/trunfold/Expression.g4 | kaby76/Domemtech.Trash | 16 | 5113 | grammar Expresion;
s : e ;
e : e '*' e # Mult
| INT # primary
;
INT : [0-9]+ ;
WS : [ \t\n]+ -> skip ;
|
programs/oeis/232/A232980.asm | karttu/loda | 0 | 94444 | <filename>programs/oeis/232/A232980.asm<gh_stars>0
; A232980: The Gauss factorial n_3!.
; 1,1,2,2,8,40,40,280,2240,2240,22400,246400,246400,3203200,44844800,44844800,717516800,12197785600,12197785600,231757926400,4635158528000,4635158528000,101973487616000,2345390215168000,2345390215168000,58634755379200000
mov $1,1
l... |
programs/oeis/004/A004343.asm | neoneye/loda | 22 | 246803 | <reponame>neoneye/loda<filename>programs/oeis/004/A004343.asm<gh_stars>10-100
; A004343: Binomial coefficient C(5n,n-1).
; 1,10,105,1140,12650,142506,1623160,18643560,215553195,2505433700,29248649430,342700125300,4027810484880,47465835030320,560658857389200,6635869816740560,78682166288559225,934433788613079150
mov $1,... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_readonly.g4 | zabrewer/batfish | 763 | 3183 | parser grammar PaloAlto_readonly;
import
PaloAlto_common,
PaloAlto_device_group;
s_readonly
:
DEVICES name = variable sro_statement
;
sro_statement
:
sro_device_group
// null rule must come last
| null_rest_of_line
;
sro_device_group
:
DEVICE_GROUP name = variable
(
sdg_paren... |
src/static/antlr4/grammars/CommonLexerRules.g4 | jlenoble/casem | 0 | 827 | lexer grammar CommonLexerRules;
ID
: [a-zA-Z][a-zA-Z0-9]*
;
UINT
: ('0'|[1-9][0-9]*)
;
STRING
: '"' .*? '"'
;
WS
: [ \t]
;
NEWLINE
: '\r'? '\n'
;
|
Games/banchorce/source/area.asm | CiaranGruber/Ti-84-Calculator | 1 | 163212 | ;---------------------------------------------------------------;
; ;
; Banchor ;
; Area Name Routines ;
; ... |
cmd/command/tenv2.asm | minblock/msdos | 0 | 3479 | <reponame>minblock/msdos
page ,132
; SCCSID = @(#)tenv2.asm 1.1 85/05/14
; SCCSID = @(#)tenv2.asm 1.1 85/05/14
TITLE Part6 COMMAND Transient routines.
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */... |
Working Disassembly/General/Sprites/Level Misc/Map - Scaled Art.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 178137 | <gh_stars>1-10
Map_24BE8: dc.w word_24C28-Map_24BE8
dc.w word_24C8A-Map_24BE8
dc.w word_24CEC-Map_24BE8
dc.w word_24CEC-Map_24BE8
dc.w word_24D24-Map_24BE8
dc.w word_24D24-Map_24BE8
dc.w word_24D24-Map_24BE8
dc.w word_24D3E-Map_24BE8
dc.w word_24D3E-Map_24BE8
dc.w word_24D3E-Map_24BE8
dc.w word_24D... |
src/controller.asm | ViGrey/iss-nes | 23 | 5797 | ; Copyright (C) 2020, <NAME>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and the fo... |
programs/oeis/153/A153644.asm | karttu/loda | 1 | 3187 | <filename>programs/oeis/153/A153644.asm
; A153644: a(n) = 4*n^2 + 28*n + 10.
; 42,82,130,186,250,322,402,490,586,690,802,922,1050,1186,1330,1482,1642,1810,1986,2170,2362,2562,2770,2986,3210,3442,3682,3930,4186,4450,4722,5002,5290,5586,5890,6202,6522,6850,7186,7530,7882,8242,8610,8986,9370,9762,10162,10570,10986,11410,1... |
sound/sfxasm/67.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 102332 | <filename>sound/sfxasm/67.asm
67_Header:
sHeaderInit ; Z80 offset is $C8C3
sHeaderPatch 67_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $02, 67_FM3, $2B, $00
67_FM3:
sPatFM $00
67_Loop1:
dc.b nCs1, $02
saVolFM $01
sLoop $00, $08, 67_Loop1
saVolFM $E0
sLoop $00, $05, 67_Loop1
sStop
67_P... |
vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-MemSet.asm | Nurzamal/rest_api_docker | 0 | 242079 | <gh_stars>0
; $Id: bs3-cmn-MemSet.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - Bs3MemSet.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it... |
oeis/306/A306185.asm | neoneye/loda-programs | 11 | 26414 | ; A306185: a(n) = (2n+1)!! + (2n)!! where k!! = A006882(k).
; 5,23,153,1329,14235,181215,2672145,44781345,840523635,17465201775,397983749625,9867844134225,264469801070475,7618612476650175,234748657653134625,7703855828862818625,268263758052098683875,9879138385352252391375,383608053176023482431625,15664153113813817068080... |
Nip.g4 | AudriusButkevicius/NipSharp | 4 | 3497 | // To generate run:
// java -jar antlr-4.9.3-complete.jar Nip.g4 -o Generated -Dlanguage=CSharp -no-listener -visitor -package NipSharp
grammar Nip;
/* * Parser Rules */
// Left hand side
flagProperty: FLAG;
affixProperty: AFFIX;
stat: IDENTIFIER | INTEGER;
property: IDENTIFIER;
maxQuantity: MAXQUANTITY;
... |
test/succeed/Issue674.agda | larrytheliquid/agda | 1 | 3895 | -- Andreas 2012-07-07
module Issue674 where
record unit : Set where
constructor tt
module A ⦃ t : unit ⦄ (i : unit) where
id : unit → unit
id x = x
open A {{t = _}} tt
module N = A {{ tt }} tt
open N
open A {{tt}} tt
module M = A tt
open M
open A tt
-- the last statement caused a panic when inserting the ... |
libsrc/gfx/wide/w_getsprite.asm | ahjelm/z88dk | 640 | 24616 | ;
; Getsprite - Picks up a sprite from display with the given size
; by <NAME> - 2019
;
; The original putsprite code is by <NAME> (TI 85)
;
; Generic version (just a bit slow)
;
; THIS IS A QUICK PLACEHOLDER, WORKING ONLY ON THE PIXELS REGION (0,0)-(255,255)
;
;
; $Id: w_getsprite.asm $
;
IF !__CPU_INTEL__ && !__CPU... |
src/skill-internal-file_parsers.ads | skill-lang/adaCommon | 0 | 21255 | -- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ file parser implementation --
-- |___/_|\_\_|_|____| by: <NAME> --
-... |
scripts/Route11Gate1F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 81634 | <filename>scripts/Route11Gate1F.asm
Route11Gate1F_Script:
jp EnableAutoTextBoxDrawing
Route11Gate1F_TextPointers:
dw Route11GateText1
Route11GateText1:
TX_FAR _Route11GateText1
db "@"
|
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_2004.asm | ljhsiun2/medusa | 9 | 247170 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1442, %rsi
lea addresses_WC_ht+0x1ec52, %rdi
nop
add $63703, %r13
mov $30, %rcx
rep movsq
nop
nop
nop
nop
nop
sub $19263, %rbx
lea addresses_A_ht+0xd4f2, %r13
nop
nop
sub... |
libsrc/stdio_new/file/stream-in/stdio_getchar.asm | andydansby/z88dk-mk2 | 1 | 3992 | ; stdio_getchar
; 05.2008 aralbrec
XLIB stdio_getchar
LIB l_jpix
INCLUDE "../../stdio.def"
; all character input from stream is read through this function
;
; enter : ix = FILE *
; bc' = number of chars read thus far
; de' = number of conversions done thus far
; MUST NOT ALTER HL' FOR SSCANF ... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_SetPrintPos_callee.asm | jpoikela/z88dk | 640 | 80872 | <reponame>jpoikela/z88dk
; void sp1_SetPrintPos(struct sp1_pss *ps, uchar row, uchar col)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_SetPrintPos_callee
EXTERN asm_sp1_SetPrintPos
_sp1_SetPrintPos_callee:
pop af
pop hl
pop bc
pop de
push af
ld d,c
jp asm_sp1_SetPrintPos
|
texmecs/src/main/antlr4/nl/knaw/huygens/alexandria/texmecs/grammar/TexMECSLexer.g4 | HuygensING/alexandria-lmnl | 4 | 1717 | // based on http://mlcd.blackmesatech.com/mlcd/2003/Papers/texmecs.html
lexer grammar TexMECSLexer;
BEGIN_COMMENT
: '<*' -> pushMode(INSIDE_COMMENT)
;
BEGIN_CDATA
: '<#CDATA<' -> pushMode(INSIDE_CDATA)
;
BEGIN_VIRTUAL_ELEMENT
: '<^' -> pushMode(INSIDE_VIRTUAL_ELEMENT)
;
BEGIN_RESUME_TAG
: '<+' -> pus... |
grammars/cs652/j/parser/J.g4 | bkommineni/CS652-Java-To-C-Translator-Part2 | 0 | 6718 | <gh_stars>0
grammar J;
file: classDeclaration* main EOF
;
main: (fieldDeclaration | statement)*
;
classDeclaration
: 'class' Identifier ('extends' typeType)? classBody ;
classBody
: '{' classBodyDeclaration* '}'
;
classBodyDeclaration
: ';'
| block
| memberDeclaration
... |
user/kill.asm | eric-qian-d/TCP | 0 | 103947 |
user/_kill: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char **argv)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426... |
oeis/143/A143731.asm | neoneye/loda-programs | 11 | 160084 | <filename>oeis/143/A143731.asm
; A143731: Characteristic function of numbers with at least two distinct prime factors (A024619).
; Submitted by <NAME>
; 0,0,0,0,0,1,0,0,0,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1... |
programs/oeis/188/A188257.asm | jmorken/loda | 1 | 2519 | ; A188257: [nr+kr]-[nr]-[kr], where r=sqrt(5), k=2, [ ]=floor.
; 0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0... |
source/nodes/program-nodes-variant_parts.ads | optikos/oasis | 0 | 13552 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Variants;
with Program.Elements.Variant_Parts;
with Program.Ele... |
src/sparknacl-scalar.adb | yannickmoy/SPARKNaCl | 76 | 18866 | with SPARKNaCl.Utils;
package body SPARKNaCl.Scalar
with SPARK_Mode => On
is
pragma Warnings (GNATProve, Off, "pragma * ignored (not yet supported)");
Nine : constant Bytes_32 := (9, others => 0);
GF_121665 : constant Normal_GF := (16#DB41#, 1, others => 0);
---------------------------------------------... |
oeis/070/A070824.asm | neoneye/loda-programs | 11 | 92553 | <reponame>neoneye/loda-programs
; A070824: Number of divisors of n which are > 1 and < n (nontrivial divisors).
; Submitted by <NAME>
; 0,0,0,1,0,2,0,2,1,2,0,4,0,2,2,3,0,4,0,4,2,2,0,6,1,2,2,4,0,6,0,4,2,2,2,7,0,2,2,6,0,6,0,4,4,2,0,8,1,4,2,4,0,6,2,6,2,2,0,10,0,2,4,5,2,6,0,4,2,6,0,10,0,2,4,4,2,6,0,8,3,2,0,10,2,2,2,6,0,10,... |
data/mapHeaders/Route2Gate.asm | AmateurPanda92/pokemon-rby-dx | 9 | 97357 | <filename>data/mapHeaders/Route2Gate.asm
Route2Gate_h:
db GATE ; tileset
db ROUTE_2_GATE_HEIGHT, ROUTE_2_GATE_WIDTH ; dimensions (y, x)
dw Route2Gate_Blocks ; blocks
dw Route2Gate_TextPointers ; texts
dw Route2Gate_Script ; scripts
db 0 ; connections
dw Route2Gate_Object ; objects
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_11177_886.asm | ljhsiun2/medusa | 9 | 93428 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x18749, %r10
nop
nop
sub $2863, %rax
movl $0x61626364, (%r10)
nop
nop
nop
sub %rbp, %rbp
lea addresses_D_ht+0x17749, %r8
and %rcx, %rcx
vmovups (%r8), %ymm7
vextracti1... |
source/binary/compare.asm | paulscottrobson/Atomic-Basic-2 | 0 | 27281 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : compare.asm
; Purpose : Number Comparison
; Date : 26th July 2019
; Author : <NAME> (<EMAIL>)
;
; ***************... |
Aurora/Aurora/x64/Debug/sysfb.asm | manaskamal/aurora-xeneva | 8 | 168684 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?sys_get_fb_mem@@YAPEAIXZ ; sys_get_fb_mem
PUBLIC ?sys_fb_update@@YAXXZ ; sys_fb_update
PUBLIC ?sys_fb_move_cursor@@YAXII@Z ; sys_fb_move_cursor
EXTRN x64_cli:PROC
E... |
Tareas/Ensamblador/tasm/BIN/proof.asm | TEC-2014092195/IC3101-Arquitectura_De_Computadores | 0 | 18360 | <gh_stars>0
datos segment
mensaje db "VIRUS",10,13,"$" ;Para imprimir $ pongo el ascii 24h
tablahex db "ABCDEF"
var2 db ?
tua db "Tuanis",10,13,"$"
FIL DB 20
COL DB 50
DIR DB 4
ASTERIX DB '*',0AH ; Fondo negro y asterisco verde CLARO
PAUSA1 dw 1000
PAUSA2 dw 1000 ; En total hace de pausa 10000... |
libsrc/_DEVELOPMENT/arch/zx/misc/c/sdcc_iy/zx_scroll_up.asm | jpoikela/z88dk | 640 | 88884 | <filename>libsrc/_DEVELOPMENT/arch/zx/misc/c/sdcc_iy/zx_scroll_up.asm
; void zx_scroll_up(uchar rows, uchar attr)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_scroll_up
EXTERN asm0_zx_scroll_up
_zx_scroll_up:
pop af
pop de
push de
push af
ld l,d
ld d,0
jp asm0_zx_scroll_up
|
sorting-algorithms/option1.asm | informramiz/Assembly-Language-Programs | 0 | 27735 | <filename>sorting-algorithms/option1.asm
OPTION1 PROC ;use al and call appropriate proc
PUSH DX
PUSH AX
START:
LEA DX,INPUT_MSG
MOV AH,9
INT 21H
LEA DI,STRING
CALL INPUT
LEA SI,STRING
MOV AH , 9
LEA DX,BUBBLE_OPTION
INT 21H
LEA DX,SELECTION_OPTION
INT 21H
LEA DX,INSERTI... |
test/Utils.agda | mchristianl/synthetic-reals | 3 | 850 | <filename>test/Utils.agda
{-# OPTIONS --cubical --no-import-sorts --prop #-}
module Utils where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Function.Base
variable
ℓ ℓ' ℓ'' : Level
module Test where
import Algebra.Properties.BooleanAlgebra
open import Algebra... |
oeis/058/A058309.asm | neoneye/loda-programs | 11 | 92438 | <reponame>neoneye/loda-programs
; A058309: a(n) = (n+3)*a(n-1) + a(n-2), with a(0)=0, a(1)=1.
; Submitted by <NAME>(s3)
; 0,1,5,31,222,1807,16485,166657,1849712,22363201,292571325,4118361751,62067997590,997206323191,17014575491837,307259565176257,5854946313840720,117406185841990657,2471384848995644517,54487872863746170... |
src/nso-types.adb | SSOCsoft/Log_Reporter | 0 | 22338 | <filename>src/nso-types.adb
With
Ada.Unchecked_Conversion,
Ada.IO_Exceptions;
Package Body NSO.Types is
Use Ada.Streams;
-------------------
-- INITALIZERS --
-------------------
Function From_String( Text : String ) return String_Stream
with Inline, Pure_Function;
Function Buffer ... |
alloy4fun_models/trainstlt/models/3/j2HEH2W6uYZvb7FM7.als | Kaixi26/org.alloytools.alloy | 0 | 3595 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idj2HEH2W6uYZvb7FM7_prop4 {
always one pos.Track
}
pred __repair { idj2HEH2W6uYZvb7FM7_prop4 }
check __repair { idj2HEH2W6uYZvb7FM7_prop4 <=> prop4o } |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/requeue_statement_2.adb | ouankou/rose | 488 | 7616 | -- This code is for compiler front end testing only. It does nothing at run time.
procedure Requeue_Statement_2 is
protected Protected_1 is
entry Entry_1;
entry Entry_2;
private
Barrier_Open : Boolean := False;
end Protected_1;
protected body Protected_1 is
entry Entry_1
wh... |
src/main/fragment/mos6502-common/vdum1=vduc1_plus_vdum2.asm | jbrandwood/kickc | 2 | 16995 | <gh_stars>1-10
clc
lda {m2}
adc #<{c1}
sta {m1}
lda {m2}+1
adc #>{c1}
sta {m1}+1
lda {m2}+2
adc #<{c1}>>$10
sta {m1}+2
lda {m2}+3
adc #>{c1}>>$10
sta {m1}+3
|
Cubical/Algebra/Group/Instances/DiffInt.agda | FernandoLarrain/cubical | 301 | 12337 | <filename>Cubical/Algebra/Group/Instances/DiffInt.agda<gh_stars>100-1000
{-# OPTIONS --safe #-}
module Cubical.Algebra.Group.Instances.DiffInt where
open import Cubical.HITs.SetQuotients
open import Cubical.Foundations.Prelude
open import Cubical.Data.Int.MoreInts.DiffInt renaming (ℤ to ℤType ; _+_ to _+ℤ_ ; _-_ to _-... |
reuse/ada/sort.ads | cocolab8/cocktail | 0 | 26209 | -- $Id: Sort.md,v 1.0 1992/08/07 14:42:01 grosch rel $
-- $Log: Sort.md,v $
-- Ich, <NAME>, Informatiker, Aug. 1994
generic
with function IsLess (X, Y: Integer) return Boolean;
with procedure Swap (X, Y: Integer);
package Sort is
procedure QuickSort (Lwb, Upb: Integer);
-- Sort data from the indices 'Lwb... |
solutions/10 - Emergency Escapades/size-23_speed-21.asm | michaelgundlach/7billionhumans | 45 | 10761 | -- 7 Billion Humans (2053) --
-- 10: Emergency Escapades --
-- Author: ansvonwa
-- Size: 23
-- Speed: 21
a:
if w != hole:
step w
jump a
endif
if ne != hole or
se != hole:
if ne != hole:
if nw == hole:
step n
endif
step nw
else:
step sw
endif
step w
endif
step s
step s
step sw
step w
step w
step w
st... |
intel-avx2/matmul/asm/matmul_auto.asm | yanyh15/vectorization-examples | 0 | 177871 | # mark_description "Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.0.166 Build 20191121";
# mark_description "-o asm/matmul_auto.asm -O2 -xCORE_AVX2 -S -masm=intel";
.intel_syntax noprefix
.file "matmul.c"
.text
..TXTST0:
.L_2__routine_start_main_0:
# -- Begin main
.text
# ma... |
src/Lambda/Partiality-monad/Inductive/Virtual-machine.agda | nad/partiality-monad | 2 | 4756 | <reponame>nad/partiality-monad<gh_stars>1-10
------------------------------------------------------------------------
-- A virtual machine
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --sized-types #-}
module Lambda.Partiality-monad.Inductive.Virtual-machine wh... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_3314_928.asm | ljhsiun2/medusa | 9 | 80956 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x41e9, %r13
cmp %rbp, %rbp
and $0xffffffffffffffc0, %r13
vmovaps (%r13), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $1, %xmm4, %r11
nop
nop
nop
nop
add $7571, %r13
lea addre... |
programs/oeis/154/A154106.asm | karttu/loda | 1 | 952 | ; A154106: a(n) = 12*n^2 + 22*n + 11.
; 11,45,103,185,291,421,575,753,955,1181,1431,1705,2003,2325,2671,3041,3435,3853,4295,4761,5251,5765,6303,6865,7451,8061,8695,9353,10035,10741,11471,12225,13003,13805,14631,15481,16355,17253,18175,19121,20091,21085,22103,23145,24211,25301,26415,27553,28715,29901,31111,32345,33603,3... |
grammars/CIF2Parser.g4 | Sylvan-Materials/cifio | 0 | 1219 | parser grammar CIF2Parser;
options { tokenVocab = CIF2Lexer; }
cif : file_heading AllChars;
file_heading : Magic_Code; |
data/wildPokemon/seafoamislandb4.asm | adhi-thirumala/EvoYellow | 16 | 167551 | <filename>data/wildPokemon/seafoamislandb4.asm
IslandMonsB4:
db $0A
db 36,GOLBAT
db 36,ZUBAT
db 30,KRABBY
db 32,KINGLER
db 28,SEEL
db 32,SEEL
db 27,GOLBAT
db 45,ZUBAT
db 30,DEWGONG
db 34,DEWGONG
db $05
db 25,STARYU
db 30,STARYU
db 20,TENTACOOL
db 30,STARYU
db 35,TENTACOOL
db 30,CHINCHOU
db 40,TENTAC... |
programs/oeis/101/A101037.asm | jmorken/loda | 1 | 8211 | ; A101037: Triangle read by rows: T(n,1) = T(n,n) = n and for 1<k<n: T(n,k) = floor((T(n-1,k-1)+T(n-1,k))/2).
; 1,2,2,3,2,3,4,2,2,4,5,3,2,3,5,6,4,2,2,4,6,7,5,3,2,3,5,7,8,6,4,2,2,4,6,8,9,7,5,3,2,3,5,7,9,10,8,6,4,2,2,4,6,8,10,11,9,7,5,3,2,3,5,7,9,11,12,10,8,6,4,2,2,4,6,8,10,12,13,11,9,7,5,3,2,3,5,7,9,11,13,14,12,10,8,6,4... |
Tests/mem_dep.asm | tim-roderick/simple-cpu-simulator | 2 | 14595 | <filename>Tests/mem_dep.asm<gh_stars>1-10
LDC r2 10
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
STC 1 10
LD r11 ... |
ado/src/sqlbench.adb | fjudith/sql-benchmark | 24 | 15462 | -----------------------------------------------------------------------
-- sqlbench -- SQL Benchmark
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obta... |
tests/relocate/relocation_only_desired_offset.asm | fengjixuchui/sjasmplus | 220 | 103696 | ORG $1000
RELOCATE_START
ASSERT 2 * relocate_count == relocate_size
ASSERT 2 == relocate_count
dw relocate_count
dw relocate_size
reloc1:
ld hl,reloc1 ; to be relocated
ld de,reloc2 ; to be relocated
ld bc,reloc2-reloc1 ; not affected ... |
programs/oeis/005/A005994.asm | jmorken/loda | 1 | 6660 | ; A005994: Alkane (or paraffin) numbers l(7,n).
; 1,3,9,19,38,66,110,170,255,365,511,693,924,1204,1548,1956,2445,3015,3685,4455,5346,6358,7514,8814,10283,11921,13755,15785,18040,20520,23256,26248,29529,33099,36993,41211,45790,50730,56070,61810,67991,74613,81719,89309,97428,106076,115300,125100,135525,146575,158301,1707... |
Obsolete/Wow-FV-zh/Wow-It-is-FV.agda | ice1000/Books | 133 | 16240 | <reponame>ice1000/Books
{-# OPTIONS --without-K #-}
module Wow-It-is-FV where
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
open import Agda.Primitive
levelEq : lzero ≡ lzero
levelEq = refl
levelEq′ : lsuc lzero ≡ lsuc lzero
levelEq′ = refl
trans : {l : Level} {Q : Set l} {a b c : Q}
→ a ≡ b ... |
test/Fail/InstanceArgumentsNotFound.agda | cruhland/agda | 1,989 | 15868 | <filename>test/Fail/InstanceArgumentsNotFound.agda
module InstanceArgumentsNotFound where
postulate A B : Set
f : {{a : A}} → B
test : B
test = f
|
GccTest/src/kernel/main.asm | chibicitiberiu/nanobyte_experiments | 0 | 29415 | org 0x0
bits 16
%define ENDL 0x0D, 0x0A
start:
; print hello world message
mov si, msg_hello
call puts
.halt:
cli
hlt
;
; Prints a string to the screen
; Params:
; - ds:si points to string
;
puts:
; save registers we will modify
push si
push ax
push bx
.loop:
lodsb ... |
src/DistributedSystem/Prototype.agda | lisandrasilva/agda-liveness | 0 | 6136 | <filename>src/DistributedSystem/Prototype.agda
{-
Copyright 2019 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... |
examples/sinatra/Example.agda | cruhland/agda | 1,989 | 4992 |
module Example where
open import Prelude
import Typed
data Data : Set where
nat : Data
bool : Data
Datatype : Data -> List (List Data)
Datatype nat = ε ◄ ε ◄ (ε ◄ nat)
Datatype bool = ε ◄ ε ◄ ε
data Effect : Set where
data _⊆_ : Effect -> Effect -> Set where
refl⊆ : forall {M} -> M ⊆ M
Monad : Effect ->... |
packages/x86-toolkit/x86-assembler/tests/asm/bootslide.asm | Mati365/ts-c99-compiler-toolkit | 66 | 21632 | <reponame>Mati365/ts-c99-compiler-toolkit
;= test: boot slide game
;= bin: 31c08ed88ed0bc009cb4b88ec0b003cd10b401b526cd10b9d0079831fff3abbd0900e4403c10771ca1e47d86e0a3e47dc606487cccc606b17d48c606c57d44c6063a7d40bfcc00b4ffbb1600c606d87d1ec606de7d64e87e01b1ff497417e4402403685b7c74423c01745d3c0274763c030f849c00e81201e8b90... |
source/s-debug.ads | ytomino/drake | 33 | 23618 | pragma License (Unrestricted);
-- runtime unit
package System.Debug is
pragma Preelaborate;
-- implementation of Ada.Debug
function File return String
with Import, Convention => Intrinsic;
function Line return Positive
with Import, Convention => Intrinsic;
function Source_Location retur... |
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/kart-obj-j.asm | prismotizm/gigaleak | 0 | 6804 | <filename>other.7z/SFC.7z/SFC/ソースデータ/MarioKart/kart-obj-j.asm<gh_stars>0
Name: kart-obj-j.asm
Type: file
Size: 60170
Last-Modified: '1992-07-14T15:00:00Z'
SHA-1: DD4ABC0B9A5D7AB152038A655DB77ACC0545147F
Description: null
|
programs/oeis/135/A135713.asm | karttu/loda | 1 | 241060 | <reponame>karttu/loda
; A135713: a(n) = n*(n+1)*(4*n+1)/2.
; 0,5,27,78,170,315,525,812,1188,1665,2255,2970,3822,4823,5985,7320,8840,10557,12483,14630,17010,19635,22517,25668,29100,32825,36855,41202,45878,50895,56265,62000,68112,74613,81515,88830,96570,104747,113373,122460,132020,142065,152607,163658,175230,187335,19998... |
libsrc/_DEVELOPMENT/l/sccz80/crt0_long/l_long_ge.asm | jpoikela/z88dk | 640 | 178124 | ; Z88 Small C+ Run Time Library
; Long functions
;
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_ge
EXTERN l_long_cmp
l_long_ge:
; PRIMARY >= SECONDARY [signed], carry if true
; logical operations: HL set to 0 (false) or 1 (true)
call l_long_cmp
ccf
ret c
scf
ret ... |
test/data/source_files/functools.applescript | darricktheprogrammer/ASDoc | 0 | 3184 | <filename>test/data/source_files/functools.applescript
(*!
* @header
* Library to add additional functional programming support to Applescript.
* Contains helper functions that are able to be passed into `map()` and
* `filter()`. These are duplicates of Applescript built-in functionality, but
* because the... |
scripts/hello_world.applescript | prajjyadav/AvengersAssemble | 41 | 2161 | <reponame>prajjyadav/AvengersAssemble<filename>scripts/hello_world.applescript<gh_stars>10-100
# LANGUAGE: applescript
# AUTHOR : <NAME>
# GITHUB : https://github.com/packetChor
display dialog "Hello World"
# audio message using the computer voice
# say "Hello, world!" |
Cubical/HITs/2GroupoidTruncation.agda | dan-iel-lee/cubical | 0 | 11586 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.2GroupoidTruncation where
open import Cubical.HITs.2GroupoidTruncation.Base public
open import Cubical.HITs.2GroupoidTruncation.Properties public
|
agda/Montuno.agda | halfaya/MusicTools | 28 | 2973 | <filename>agda/Montuno.agda
{-# OPTIONS --cubical #-}
module Montuno where
open import Data.Fin using (#_)
open import Data.Integer using (+_)
open import Data.List using (List; _∷_; []; map; concat; _++_; replicate; zip)
open import Data.Nat using (_*_; ℕ; suc; _+_)
open import Data.Product using (_,_)
open import F... |
java/JavaComment.g4 | dev10/comment-extraction | 0 | 7275 | <gh_stars>0
grammar JavaComment;
/*
* Parser Rules
*/
sourceFile
: ignoredPreamble (comment ignored)+
;
comment
: blockComment codeDeclaration (ignoredPreamble comment)*
;
blockComment
: '\n' BLOCK_COMMENT '\n'
;
codeDeclaration
: TEXT
;
ignored
: '{' ~'\n//'*?
;
ignored... |
kernel/arch/x86_64/mm/pagefault.asm | racing19th/MiraiOS | 12 | 93764 | <filename>kernel/arch/x86_64/mm/pagefault.asm
global excPF:function
global _userAcc:function
extern puts
extern hexprintln
extern hexprintln64
extern cprint
extern panic
extern printk
extern puts
extern pfExit
extern mmGetEntry
extern allocPhysPage
extern allocCleanPhysPage
extern allocLargePhysPage
extern allocLarg... |
wof/lcs/enemy/8B.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 93934 | copyright zengfr site:http://github.com/zengfr/romhack
007B7C jsr $f98.w [enemy+8B]
007C0A jsr $f98.w [enemy+8B]
012382 rts [123p+ 8B, enemy+8B]
0123FA cmpi.b #$50, ($8b,A0) [enemy+8B]
012400 blt $123e8 [enemy+8B]
01B5C4 bge $1b6a6 [enemy+8B]
01C27A bge $1c3ca [enemy+8B]
01C37A bge $1c3... |
src/shaders/h264/mc/interpolate_C_4x4.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 90593 | <reponame>tizenorg/platform.upstream.libva-intel-driver<filename>src/shaders/h264/mc/interpolate_C_4x4.asm
/*
* Interpolation kernel for chrominance 4x4 motion compensation
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL... |
alloy4fun_models/trainstlt/models/8/x9D5JLxy88jFwHjmt.als | Kaixi26/org.alloytools.alloy | 0 | 2820 | open main
pred idx9D5JLxy88jFwHjmt_prop9 {
always ( all t:Train | no t.pos implies eventually (t.pos in Entry) )
}
pred __repair { idx9D5JLxy88jFwHjmt_prop9 }
check __repair { idx9D5JLxy88jFwHjmt_prop9 <=> prop9o } |
language/antlr/Template.g4 | uiuc-arc/probfuzz | 12 | 5511 | grammar Template;
DISTRIBUTION: 'bernoulli' | 'normal' | 'invgamma' | 'gamma' ;
INTEGERTYPE: 'int';
FLOATTYPE: 'float';
INT : [\-]?[0-9]+;
DOUBLE : [\-]?([0-9]? '.' [0-9]+) | ([1-9][0-9]* '.' [0-9]+) | [0-9]+'E'[0-9]+ ;
DISTHOLE: 'DIST';
CONSTHOLE: 'CONST';
DISTXHOLE: 'DISTX';
AOP: '+' | '-' | '*';
BOP: '>=' | '<=' |... |
km.asm | adkennan/BurgerMayhem | 0 | 103196 |
incasm "macros.asm"
incasm "sys_constants.asm"
incasm "game_constants.asm"
incasm "zero.asm"
*=$0801
BYTE $0E, $08, $0A, $00, $9E, $20, $28, $32
BYTE $33, $30, $34, $29, $00, $00, $00
*=$0900
jsr INIT_SYSTEM
LOOP
@is_title
lda G_GAME_STATE
cmp #GS_TITLE
bne @is_start... |
g-traceb.adb | ytomino/gnat4drake | 0 | 18140 | with System.Unwind.Backtrace; -- implementation unit
package body GNAT.Traceback is
procedure Call_Chain (
Traceback : out Tracebacks_Array;
Len : out Natural)
is
X : System.Unwind.Exception_Occurrence;
T_Index : Integer;
begin
System.Unwind.Backtrace.Call_Chain (X);
Len :=... |
Sample/Platform/DUET/Library/Paging/Ia32/Cpu.asm | bitcrystal/edk | 14 | 26330 | title Cpu.asm
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made a... |
MSP430F541xA_MSP430F543xA_Code_Examples/Assembly_CCS/msp430x54xA_ta3_13.asm | sususweet/MSP430F541x-MSP430F543x-Code-Examples | 0 | 103096 | ; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; * Redistributions of source code must retain the above co... |
src/Yoneda.agda | myuon/agda-cate | 2 | 2834 | <gh_stars>1-10
module Yoneda where
open import Level
open import Data.Product
open import Relation.Binary
import Relation.Binary.SetoidReasoning as SetR
open Setoid renaming (_≈_ to eqSetoid)
open import Basic
open import Category
import Functor
import Nat
open Category.Category
open Functor.Functor
open Nat.Nat
ope... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_2659_491.asm | ljhsiun2/medusa | 9 | 14539 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_2659_491.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rcx
lea addresses_D_ht+0xf410, %rax
nop
xor %r12, %r12
vmovups (%rax), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %rbp
nop
sub $9... |
ADA_RC_Car/src/sensor_behind.ads | Intelligente-sanntidssystemer/Ada-prosjekt | 0 | 22230 | <gh_stars>0
package sensor_behind is
function HCSR04_Behind_Distance return float;
end sensor_behind;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.