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/AVXALIGN/_st_zr_sm_/i7-7700_9_0x48.log_21829_2624.asm
ljhsiun2/medusa
9
23925
<filename>Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i7-7700_9_0x48.log_21829_2624.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1d2f8, %rdi and $10031, %rdx movw $0x6162, (%rdi) nop nop nop nop xor $21638, %rbp...
tests/remote_node_test.ads
jonashaggstrom/ada-canopen
6
9430
<reponame>jonashaggstrom/ada-canopen<gh_stars>1-10 with AUnit; with AUnit.Simple_Test_Cases; package Remote_Node_Test is type Test is new AUnit.Simple_Test_Cases.Test_Case with null record; function Name (T : Test) return AUnit.Message_String; procedure Run_Test (T : in out Test); end Remote_Node_Test;
works-done/Guia15/6-dado3=2dado1-3dado2.asm
axell-brendow/computer-architecture-i
0
90960
; area de codigo iniciara' a partir do endereco 2000H # ORG 2000H # BEGIN 2000H LHLD 2501 ; acessa o endereco 2501 na memoria, le um byte e guarda no registrador L, faz o mesmo processo com o registrador H no proximo byte MOV A, H ; coloca o conteudo do registrador H no acumulador SUB L ; subtrai o conteudo do registr...
src/Prelude/List/Base.agda
t-more/agda-prelude
0
2026
module Prelude.List.Base where open import Prelude.Nat open import Prelude.Bool open import Prelude.Maybe open import Prelude.Product open import Prelude.Empty open import Prelude.Function open import Prelude.Functor open import Prelude.Applicative open import Prelude.Monad open import Prelude.Decidable open import Pr...
programs/oeis/172/A172050.asm
karttu/loda
1
26263
<filename>programs/oeis/172/A172050.asm<gh_stars>1-10 ; A172050: A008585+A029907. ; 0,4,8,13,20,30,46,72,116,191,320,542,924,1580,2704,4625,7900,13470,22922,38928,65980,111619,188488,317758,534840,898900,1508696,2528917,4233956,7080606,11828710,19741272,32916164,54835655,91276304 mov $1,$0 mov $2,$0 cal $0,29907 ; a(n...
examples/outdated-and-incorrect/lattice/Chain.agda
shlevy/agda
1,989
3325
module Chain { A : Set } (_==_ : A -> A -> Set ) (refl : (x : A) -> x == x) (trans : (x y z : A) -> x == y -> y == z -> x == z) where infix 2 chain>_ infixl 2 _===_ infix 3 _by_ chain>_ : (x : A) -> x == x chain> x = refl _ _===_ : {x y z : A} -> x == y -> y == z -> x == z xy === y...
oeis/208/A208393.asm
neoneye/loda-programs
11
11618
; A208393: Number of 2 X n 0..2 arrays with new values 0..2 introduced in row major order and no element equal to more than two of its immediate leftward or upward or right-upward antidiagonal neighbors. ; Submitted by <NAME> ; 2,14,117,1017,8838,76806,667476,5800644,50410008,438083928,3807131472,33085555344,2875272315...
programs/oeis/083/A083885.asm
karttu/loda
0
247636
; A083885: (4^n+2^n+0^n+(-2)^n)/4 ; 1,1,6,16,72,256,1056,4096,16512,65536,262656,1048576,4196352,16777216,67117056,268435456,1073774592,4294967296,17180000256,68719476736,274878431232,1099511627776,4398048608256,17592186044416,70368752566272,281474976710656,1125899940397056,4503599627370496 mov $7,$0 mov $9,2 lpb $9,1...
Cubical/HITs/SequentialColimit/Properties.agda
thomas-lamiaux/cubical
1
5058
{- This file contains: - Eliminators of direct limit, especially an index-shifting version; - Connectivity of inclusion maps. -} {-# OPTIONS --safe #-} module Cubical.HITs.SequentialColimit.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv.Properties open import Cubic...
agda/Esterel/CompletionCode.agda
florence/esterel-calculus
3
12747
module Esterel.CompletionCode where open import Data.Nat using (ℕ ; zero ; suc) renaming (_≟_ to _≟ℕ_ ; _⊔_ to _⊔ℕ_ ; _≤_ to _≤N_ ; _≤?_ to _≤?N_) open import Data.Nat.Properties using (⊔-⊓-isCommutativeSemiringWithoutOne) open import Function using (_∘_) open import Relation.Nullary using (Dec ; yes ; no) ope...
wof/lcs/base/2F0.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
12032
copyright zengfr site:http://github.com/zengfr/romhack 001452 movea.w (A4)+, A1 [base+2F0] 001458 subq.w #1, ($302,A5) [base+2F0] 00152A move.w A0, -(A4) [base+2F0] 001530 addq.w #1, ($302,A5) [base+2F0] 01A7EA move.w A6, ($2f0,A5) [base+302] 01A7EE lea ($613c,A5), A0 [base+2F0] copyright zengfr site:htt...
helloex1.adb
MatrixMike/AdaDemo1
1
21956
<reponame>MatrixMike/AdaDemo1 with Ada.text_IO; -- testing attributes 'Value and 'Image as applied to Integer procedure HelloEx1 is A,B,C : Integer; begin A := Integer'Value ( Ada.text_IO.Get_Line); B := Integer'Value ( Ada.text_IO.Get_Line); C := A + B ; if c = 0...
programs/oeis/155/A155158.asm
karttu/loda
0
86282
; A155158: Period 4: repeat [1, 5, 7, 3]. ; 1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5,7,3,1,5 lpb $0,1 sub $0,4 lpe add $1,$0 add $1,$0 lpb $1,1 mov $1,$0 add $0,1 lpe mov $1,$0 mul $1,2 add ...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1113.asm
ljhsiun2/medusa
9
7621
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rcx push %rdi push %rsi lea addresses_A_ht+0x68ec, %rsi lea addresses_UC_ht+0x1aa5c, %rdi nop nop nop nop sub $64776, %r10 mov $28, %rcx rep movsq nop nop nop xor %r10, %r10 lea addresses_WT_ht+0x535c, %r11 cmp %rsi, %rsi mov (%r11), %r13w...
src/shaders/vme/intra_frame.asm
tizenorg/platform.upstream.libva-intel-driver
0
168342
<gh_stars>0 /* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Modual name: IntraFrame.asm // // Make intra predit...
oeis/040/A040484.asm
neoneye/loda-programs
11
3251
<gh_stars>10-100 ; A040484: Continued fraction for sqrt(507). ; Submitted by <NAME>iga ; 22,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1,14,1,1,44,1,1 seq $0,40256 ; Continued fraction for sqr...
dsl/antlr/Expr/Common.g4
y2ghost/study
0
663
lexer grammar Common; ID: [a-zA-Z]+; INT: [0-9]+; NEWLINE: '\r' ? '\n'; WS: [ \t]+ -> skip;
src/natools-web-comment_cookies-base_64.adb
faelys/natools-web
1
1688
<filename>src/natools-web-comment_cookies-base_64.adb ------------------------------------------------------------------------------ -- Copyright (c) 2017, <NAME> -- -- -- -- Permission to use, copy, modify, ...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_21829_1166.asm
ljhsiun2/medusa
9
88087
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rax push %rdx lea addresses_UC_ht+0x11b54, %rdx nop nop add $15677, %r11 movups (%rdx), %xmm4 vpextrq $1, %xmm4, %r13 nop nop nop sub %rax, %rax pop %rdx pop %rax pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r...
source/machine-w64-mingw32/x86_64/s-unwmap.ads
ytomino/drake
33
20249
<gh_stars>10-100 pragma License (Unrestricted); -- overridable runtime unit specialized for Windows (x86_64) with System.Unwind.Representation; with C.winnt; package System.Unwind.Mapping is pragma Preelaborate; -- signal alt stack type Signal_Stack_Type is private; -- register signal handler (init.c/s...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca_notsx.log_21829_1269.asm
ljhsiun2/medusa
9
23081
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xe959, %rsi lea addresses_WT_ht+0x12f9c, %rdi nop nop nop nop nop and $10671, %rdx mov $120, %rcx rep movsl nop nop nop nop sub $38973, %r9 lea addresses_A_ht+0xb371, %r10 nop ...
Task/Special-characters/Ada/special-characters-2.ada
LaudateCorpus1/RosettaCodeData
1
6952
<gh_stars>1-10 with Ada.Wide_Wide_Text_IO; use Ada.Wide_Wide_Text_IO; procedure Test is begin Put ("Unicode """ & ''' & """" & Wide_Wide_Character'Val (10)); end Test;
cohomology/Torus.agda
danbornside/HoTT-Agda
0
17304
{-# OPTIONS --without-K #-} open import HoTT open import cohomology.Theory {- Cohomology groups of the n-torus (S¹)ⁿ. - We have Ĉᵏ(Tⁿ) == C⁰(S⁰)^(n choose' k) where _choose'_ defined as below. - This argument could give Cᵏ((Sᵐ)ⁿ) with a little more work. -} module cohomology.Torus {i} (OT : OrdinaryTheory i) wher...
src/asm/boot.asm
jemtucker/opsys
1
20918
<reponame>jemtucker/opsys global start section .text ; Currently the CPU is in protected mode so only 32 bits available bits 32 start: ; Move Multiboot info pointer to edi to be passed into kernel_main mov esp, stack_top mov edi, ebx ; Point the first entry of the level 4 page table to the firs...
src/yaml/text-builder.adb
My-Colaborations/dynamo
15
3292
-- part of ParserTools, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package body Text.Builder is procedure Init (Object : in out Reference; Pool : Text.Pool.Reference; Initial_Size : Positive := 255) is begin null; end Init; functi...
oeis/098/A098385.asm
neoneye/loda-programs
11
7155
; A098385: Ordered factorizations over hook-type prime signatures with exactly three distinct primes (third column of A098348). ; Submitted by <NAME> ; 13,44,132,368,976,2496,6208,15104,36096,84992,197632,454656,1036288,2342912,5259264,11730944,26017792,57409536,126091264,275775488,600834048,1304428544,2822766592,60901...
oeis/095/A095166.asm
neoneye/loda-programs
11
169946
; A095166: Group the natural numbers >= 1 so that the n-th group contains n(n+1)/2 numbers and obtain the group sum. ; Submitted by <NAME> ; 1,9,45,155,420,966,1974,3690,6435,10615,16731,25389,37310,53340,74460,101796,136629,180405,234745,301455,382536,480194,596850,735150,897975,1088451,1309959,1566145,1860930,2198520...
editkanji.asm
hwreverse/PC-G850V
7
179779
<reponame>hwreverse/PC-G850V 10 ORG 400H 20 ; leaving space for RAMDISK.ASM 30 ; used as a debug tool 40 JP MAIN 50WSTSR EQU 0BFB2H 60CLOSSR EQU 0BCEBH 70OPENSR EQU 0BCE8H 80INITSR EQU 0871AH 90REGOUT EQU 0BD03H 100PUTSTR EQU 0BFF1H 110INKEY EQU 0BE53H 120PUTCHR EQU 0BE62H 130WAITK EQU 0BFCDH 140RPTCHR EQU 0BFEEH 150GP...
alloy4fun_models/trashltl/models/5/WTbuEEQKuadPtCMG6.als
Kaixi26/org.alloytools.alloy
0
3585
<gh_stars>0 open main pred idWTbuEEQKuadPtCMG6_prop6 { all f:File | always f in Trash implies always f in Trash } pred __repair { idWTbuEEQKuadPtCMG6_prop6 } check __repair { idWTbuEEQKuadPtCMG6_prop6 <=> prop6o }
src/main/fragment/mos6502-common/vbsaa=vbsaa_minus_pbsc1_derefidx_vbuxx.asm
jbrandwood/kickc
2
94890
<reponame>jbrandwood/kickc<gh_stars>1-10 sec sbc {c1},x
projects/06/max/MaxL.asm
qckpckt/nand2tetris
0
241162
<gh_stars>0 @0 D=M @1 D=D-M @10 D;JGT @1 D=M @12 0;JMP @0 D=M @2 M=D @14 0;JMP
programs/oeis/069/A069132.asm
karttu/loda
1
90649
; A069132: Centered 19-gonal numbers. ; 1,20,58,115,191,286,400,533,685,856,1046,1255,1483,1730,1996,2281,2585,2908,3250,3611,3991,4390,4808,5245,5701,6176,6670,7183,7715,8266,8836,9425,10033,10660,11306,11971,12655,13358,14080,14821,15581,16360,17158,17975,18811,19666,20540,21433,22345,23276,24226,25195,26183,27190,28...
orka_simd/src/x86/gnat/orka-simd-avx-singles-swizzle.ads
onox/orka
52
12404
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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/licenses/LICENSE-2.0 -...
3-mid/impact/source/3d/collision/shapes/impact-d3-material.adb
charlie5/lace
20
6115
package body impact.d3.Material is function to_Material (friction, restitution : math.Real) return Item is Self : Item; begin Self.m_friction := friction; Self.m_restitution := restitution; return Self; end to_Material; end impact.d3.Material;
src/test/ref/string-escapes-10.asm
jbrandwood/kickc
2
4045
<gh_stars>1-10 // Test octal escapes in chars // Commodore 64 PRG executable file .file [name="string-escapes-10.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :B...
oeis/144/A144952.asm
neoneye/loda-programs
11
167399
; A144952: Total walk count of molecular graphs for linear alkanes with n carbon atoms. ; Submitted by <NAME>(w3) ; 0,1,5,16,44,111,268,627,1439,3250,7259,16050,35219,76730,166229,358180,768416,1641555,3494596,7414203,15685328,33091399,69647978,146250009,306490602,641044849,1338507476,2790140995,5807567462,12070739253,...
programs/oeis/027/A027764.asm
karttu/loda
1
169131
; A027764: a(n) = (n+1)*binomial(n+1,4). ; 4,25,90,245,560,1134,2100,3630,5940,9295,14014,20475,29120,40460,55080,73644,96900,125685,160930,203665,255024,316250,388700,473850,573300,688779,822150,975415,1150720,1350360,1576784,1832600,2120580,2443665,2804970,3207789,3655600,4152070,4701060,5306630,5973044,6704775,75065...
Projectpassword.asm
wellingtonj1/Arq-de-Comps---1
0
97717
<gh_stars>0 ;PUC-ECEC-CMP1057-ARQ1- ;12/02/19 ;<NAME> <NAME> ; ; Trabalhocomparastr.asm segment .bss ;dados nao inicializados mens2 resb 100 mens5 resb 100 segment .data mens1 db"Digite uma senha de 6 caracteres intercalando maiuscula de minusculas: ",10 tam1 equ $-mens1 limpatela db 27,"[H",27,"[J" limptam...
src/pyensae/languages/SimpleWorkflow.g4
mohamedelkansouli/Ensae_py2
28
1679
<filename>src/pyensae/languages/SimpleWorkflow.g4 grammar SimpleWorkflow; parse : final_stmt* EOF ; final_stmt : if_stmt | for_stmt | affectation_stmt_comma | stmt_comma ; ///// // variable ///// affectation_stmt_comma : affectation_stmt ';' ; affectation_stmt : '...
gcc-gcc-7_3_0-release/gcc/ada/par-ch5.adb
best08618/asylo
7
19447
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/divf16.asm
gb-archive/really-old-stuff
10
95295
#include once <div32.asm> __DIVF16: ; 16.16 Fixed point Division (signed) ; DE.HL = Dividend, Stack Top = Divisor ; A = Dividend, B = Divisor => A / B exx pop hl ; return address pop de ; low part ex (sp), hl ; CALLEE Conven...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr30.adb
best08618/asylo
7
26987
-- PR ada/48844 -- Reported by <NAME> <<EMAIL>> */ -- { dg-do compile } procedure Discr30 is generic type Source is private; type Target is private; function Conversion (S : Source) return Target; function Conversion (S : Source) return Target is type Source_Wrapper is tagged record ...
examples/feather_stm32f405/charlie_wing/src/main.adb
rocher/Ada_Drivers_Library
192
18820
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
Programs/sergey_printEcho.asm
JetStarBlues/Intel-8080-Emulator
4
175862
; ------------------------------------------------------------------------ ; From, ; http://www.malinov.com/Home/sergeys-projects/minimax8085 ; ; USART (8251) test code ; Prints "8085" to the serial port, and then echoes received characters. ; ------------------------------------------------------------------------ ...
Chapter 1/1.7 - Long Mode/boot.asm
gmarino2048/64bit-os-tutorial
87
97780
; ; Long Mode ; ; boot.asm ; ; Set Program Origin [org 0x7C00] ; 16-bit Mode [bits 16] ; Initialize the base pointer and the stack pointer ; The initial values should be fine for what we've done so far, ; but it's better to do it explicitly mov bp, 0x0500 mov sp, bp ; Before we do anything else, we want to save the...
source/oasis/program-elements-function_renaming_declarations.ads
optikos/oasis
0
19
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Names; with Program.Elements....
Src/terminal.ads
SMerrony/dashera
23
1600
-- Copyright (C)2021,2022 <NAME> -- 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, dist...
programs/oeis/306/A306279.asm
karttu/loda
0
169719
; A306279: Numbers congruent to 3 or 18 mod 22. ; 3,18,25,40,47,62,69,84,91,106,113,128,135,150,157,172,179,194,201,216,223,238,245,260,267,282,289,304,311,326,333,348,355,370,377,392,399,414,421,436,443,458,465,480,487,502,509,524,531,546,553,568 mov $1,32 add $1,$0 div $0,2 mul $0,8 mul $1,15 sub $1,$0 sub $1,477
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_append_callee.asm
meesokim/z88dk
0
241564
<filename>libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_append_callee.asm ; size_t w_array_append(w_array_t *a, void *item) SECTION code_adt_w_array PUBLIC w_array_append_callee w_array_append_callee: pop hl pop bc ex (sp),hl INCLUDE "adt/w_array/z80/asm_w_array_append.asm"
oeis/142/A142266.asm
neoneye/loda-programs
11
176318
; A142266: Primes congruent to 17 mod 43. ; Submitted by <NAME> ; 17,103,619,877,1049,1307,1823,2081,2339,2683,3371,3457,4231,4919,5521,5693,5779,6037,6553,6983,7069,7499,7757,8101,8273,9133,9391,9649,9907,10079,10337,10853,10939,11197,11369,11971,12143,12401,12487,12659,12917,13003,13691,14207,14293,14551,14723,15497,...
Agda/21-pushouts.agda
hemangandhi/HoTT-Intro
333
15402
<gh_stars>100-1000 {-# OPTIONS --without-K --allow-unsolved-metas --exact-split #-} module 21-pushouts where import 20-pullbacks open 20-pullbacks public -- Section 14.1 {- We define the type of cocones with vertex X on a span. Since we will use it later on, we will also characterize the identity type of the typ...
oeis/166/A166720.asm
neoneye/loda-programs
11
169837
; A166720: Trisection A165342(3n). ; Submitted by <NAME> ; 0,3,3,9,12,15,9,21,6,27,15,33,18,39,21,45,12,51,27,57,240,63,33,69,18,75,39,81,42,87,45,93,24,99,51,105,108,111,57,117,30,123,63,129,66,135,69,141,36,147,75,153,312,159 seq $0,168485 ; A165342(3n)/3. mul $0,3
models/amalgam/misc/need-compare-whole-tree.als
transclosure/Amalgam
4
4010
/* Provenance of why C$0 in C and why (C$0, B$0, D$0) in field are isomorphic. If the tool does not output a model that has `(C$0, B$0, D$0)`, then users wouldn't be able to discover the overconstraint, which is that `all x : B | some x.field` is unintended */ sig A {} sig B {} sig D {} one sig C { field: (A + B) -...
sound/musicasm/LRZ1.asm
NatsumiFox/Sonic-3-93-Nov-03
7
163429
LRZ1_Header: sHeaderInit ; Z80 offset is $BC62 sHeaderPatch LRZ1_Patches sHeaderCh $06, $03 sHeaderTempo $01, $26 sHeaderDAC LRZ1_DAC sHeaderFM LRZ1_FM1, $0C, $1C sHeaderFM LRZ1_FM2, $0C, $18 sHeaderFM LRZ1_FM3, $0C, $0F sHeaderFM LRZ1_FM4, $0C, $0C sHeaderFM LRZ1_FM5, $0C, $0C sHeaderPSG LRZ1_PSG1, $F4...
src/fullscreen.applescript
XReyRobert/termtile
1,450
42
set _config to run script alias ((path to me as text) & "::config.scpt") set _terminalApp to terminalApp of _config if (offset of "iTerm" in _terminalApp) is not 0 then -- key code 36 is the return key tell application "System Events" to key code 36 using command down else tell application "System Events" to keyst...
programs/oeis/314/A314848.asm
neoneye/loda
22
173272
; A314848: Coordination sequence Gal.5.110.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,14,18,24,28,33,37,42,47,51,56,60,66,70,75,79,84,89,93,98,102,108,112,117,121,126,131,135,140,144,150,154,159,163,168,173,177,182,186,1...
test/interaction/TopScope.agda
shlevy/agda
3
8836
module _ where open import Common.Bool private unused = true used = true private module Private where not-in-scope = true in-scope = used
SimpleCPU/Python/example3.asm
ivandumas/Multiprocesadores
0
103634
// Data memory example MOV R0, #99; // Load R0 with constant 99 MOV 3, R0; // Store R0 (99) to DMEM[3] MOV R1, #1; // Load R1 with constant 1 MOV R2, 3; // Load R2 with DMEM[3] (which is 99) ADD R3, R2, R1; // R3 gets result of 100 MOV R3, #0;
src/util/sprite/left.asm
olifink/qspread
0
10292
* Sprite left * * Mode 4 * +|---------------+ * | a | * | aa aa| * | aaaa aa | * -aaaaaaaaaaaa - * | aaaa aa | * | aa aa| * | a | * +|---------------+ * section sprite xdef mes_l...
libsrc/_DEVELOPMENT/adt/p_queue/c/sdcc_iy/p_queue_init_fastcall.asm
jpoikela/z88dk
640
104876
; void p_queue_init_fastcall(void *p) SECTION code_clib SECTION code_adt_p_queue PUBLIC _p_queue_init_fastcall EXTERN asm_p_queue_init defc _p_queue_init_fastcall = asm_p_queue_init
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_83_531.asm
ljhsiun2/medusa
9
80908
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_83_531.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6d8d, %rsi lea addresses_WC_ht+0x17219, %rdi nop nop nop nop xor $3654, %rbp mov $4,...
Assembler/AssemblyCode/NOT.asm
KPU-RISC/KPU
8
27
<filename>Assembler/AssemblyCode/NOT.asm ; Write register D to the Output Port MOV D, 11110000b MOV E, 00001111b NOT D NOT D SHR D NOT E NOT E SHL E NOT D NOT D SHR D NOT E NOT E SHL E NOT D NOT D SHR D NOT E NOT E SHL E NOT D NOT D SHR D NOT E NOT E SHL E
kern/i686/tasking/switch.asm
greck2908/LudOS
44
96221
<reponame>greck2908/LudOS extern tss global task_switch task_switch: ; Structure : ; eax...edi ; eflags ; eip pushfd pushad ; eax to edi including esp cli mov dword [esp+0x0c], 0xcafebabe ; set dummy_esp to a sentinel value mov eax, [esp+0x28] ; *from mov [eax], esp ; from->e...
programs/oeis/016/A016198.asm
karttu/loda
0
169879
<filename>programs/oeis/016/A016198.asm ; A016198: Expansion of 1/((1-x)(1-2x)(1-5x)). ; 1,8,47,250,1281,6468,32467,162590,813461,4068328,20343687,101722530,508620841,2543120588,12715635707,63578244070,317891351421,1589457019248,7947285620527,39736429151210,198682147853201,993410743460308,4967053725690147,2483526864522...
Orders/WellFounded/Induction.agda
Smaug123/agdaproofs
4
12774
<filename>Orders/WellFounded/Induction.agda {-# OPTIONS --safe --warning=error --without-K #-} open import Functions.Definition open import Orders.WellFounded.Definition module Orders.WellFounded.Induction {a b : _} {A : Set a} {_<_ : Rel {a} {b} A} (wf : WellFounded _<_) where private foldAcc : {c : _} (P...
oeis/037/A037009.asm
neoneye/loda-programs
11
168243
<reponame>neoneye/loda-programs ; A037009: Consider an n X n board with a knight's path, not necessarily closed, that visits every square exactly once; number the squares [ 1..n^2 ] along the path; a(n) = maximal number of prime numbered squares that can be attacked by a queen. ; Submitted by <NAME>(l1) ; 0,0,0,0,9,11,...
libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_object_size.asm
teknoplop/z88dk
8
28240
; =============================================================== ; Dec 2013 ; =============================================================== ; ; size_t obstack_object_size(struct obstack *ob) ; ; Return the size in bytes of the currently growing object. ; ; ==========================================================...
cpupixie.asm
Team-Digital-Fairy/CPUPixie
1
84859
<reponame>Team-Digital-Fairy/CPUPixie section .text org 0x100 jmp _entry ; call entry so I can main() ;NCommander's itoa function. _addressToHex: push bp mov bp,sp xor ax, ax xor dx, dx mov di, [bp+6] ; string add di, 4 mov ax, [bp+4] ; num mov bx, 16 mov cx, [bp+8] ; loop counter processloop: d...
resources/antlr-introduction/NestedLists.g4
arminnh/c-to-p-compilers
1
6522
grammar NestedLists; nstdlst : '(' lst ')'; lst : itm | itm (',' itm)* | ; itm : '(' lst ')' | INT; INT : ['-']?[0-9]+;
oscm-app-iaas/resources/firewall_policy_grammar/FWPolicyParser.g4
TecArt/servicecatalog-development
56
1499
parser grammar FWPolicyParser; options { tokenVocab=FWPolicyLexer; } @header {package org.oscm.app.iaas.fwpolicy; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; import org.oscm.app.iaas.data.FWPolicy; import org.oscm.app.iaas.data.FWPolicy.Protoco...
oeis/289/A289426.asm
neoneye/loda-programs
11
28265
; A289426: a(n) = length of longest circuit code K(n,5). ; Submitted by <NAME>(s1) ; 0,4,6,8,10,12,14,16,24,28,40 mov $4,$0 mov $9,$0 lpb $4 mov $0,$9 sub $4,1 sub $0,$4 mov $1,2 mov $2,1 mov $3,$0 mul $3,5 mov $7,0 lpb $3 mul $2,$3 add $1,$2 add $7,1 mov $5,$7 div $5,3 mov $1...
programs/oeis/255/A255225.asm
karttu/loda
0
28295
; A255225: Number of (n+2)X(5+2) 0..1 arrays with no 3x3 subblock diagonal sum 0 and no antidiagonal sum 0 and no row sum 2 and no column sum 2 ; 61,67,76,88,106,133,172,229,313,436,616,880,1267,1834,2665,3883,5668,8284,12118,17737,25972,38041,55729,81652,119644,175324,256927,376522,551797,808675,1185148,1736896,254552...
nasm/exclusive_or_logical_operator_56fa3c5ce4d45d2a52001b3c.asm
p85/codewars-solutions
0
88993
<reponame>p85/codewars-solutions SECTION .text global xorf ; Returns a boolean indicating whether one of the arguments is true. ; arg0 = (bool) A boolean. ; arg1 = (bool) A boolean. ; return value = (bool) true if one argument is true, else false. xorf: xor rdi,rsi mov rax,rdi ret
Data/Bits.agda
oisdk/agda-playground
6
17529
{-# OPTIONS --without-K --safe #-} module Data.Bits where open import Level infixr 8 0∷_ 1∷_ data Bits : Type where [] : Bits 0∷_ : Bits → Bits 1∷_ : Bits → Bits
oeis/099/A099158.asm
neoneye/loda-programs
11
161449
<reponame>neoneye/loda-programs ; A099158: a(n) = 5^(n-1) * U(n-1, 7/5) where U is the Chebyshev polynomial of the second kind. ; Submitted by <NAME> ; 0,1,14,171,2044,24341,289674,3446911,41014904,488035881,5807129734,69098919251,822206626164,9783419785021,116412711336194,1385192464081191,16482376713731824,19612346239...
src/natools-accumulators.ads
faelys/natools
0
23662
------------------------------------------------------------------------------ -- Copyright (c) 2011, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
oeis/341/A341952.asm
neoneye/loda-programs
11
96593
<reponame>neoneye/loda-programs ; A341952: Let x = (prime(n+1) - prime(n))/2 modulo 3 for n >= 2, then a(n) = -1 if x = 2, otherwise a(n) = x. ; Submitted by <NAME> ; 1,1,-1,1,-1,1,-1,0,1,0,-1,1,-1,0,0,1,0,-1,1,0,-1,0,1,-1,1,-1,1,-1,1,-1,0,1,-1,1,0,0,-1,0,0,1,-1,1,-1,1,0,0,-1,1,-1,0,1,-1,0,0,0,1,0,-1,1,-1,1,-1,1,-1,1,0...
src/Web/Semantic/DL/Integrity/Closed/Properties.agda
agda/agda-web-semantic
9
2054
<reponame>agda/agda-web-semantic open import Data.Product using ( _×_ ; _,_ ; swap ) open import Data.Sum using ( inj₁ ; inj₂ ) open import Relation.Nullary using ( ¬_ ; yes ; no ) open import Relation.Unary using ( _∈_ ) open import Web.Semantic.DL.ABox using ( ABox ; ε ; _,_ ; _∼_ ; _∈₁_ ; _∈₂_ ) open import Web.Sema...
Assembly Practice/8_bit addition/Sources/main.asm
asheemchhetri/ECE362
0
7162
;Write a program to add the numbers stored at memory locations $1000, $1001, and $1002 ;and store the sum at memory location $1010. org $800 ldaa $1000 adda $1001 adda $1002 staa $1010 end
etude/etude18.als
nishio/learning_alloy
1
3933
<gh_stars>1-10 one sig StateManager { state: set State } sig State {} //fact { // all s: State | s in StateManager.state //} run {} for exactly 3 State
engine/events/basement_key.asm
Dev727/ancientplatinum
28
94761
_BasementKey: ; Are we even in the right map to use this? ld a, [wMapGroup] cp GROUP_GOLDENROD_UNDERGROUND jr nz, .nope ld a, [wMapNumber] cp MAP_GOLDENROD_UNDERGROUND jr nz, .nope ; Are we on the tile in front of the door? call GetFacingTileCoord ld a, d cp 22 jr nz, .nope ld a, e cp 10 jr nz, .nope ; Le...
Examples/b16.asm
satadriver/LiunuxOS
0
88250
<reponame>satadriver/LiunuxOS TITLE (.asm) ; This program ; Last update: Include Irvine16.inc .data .code main PROC mov ax,@data mov ds,ax exit main ENDP END main
boot/memory.asm
semahawk/kernel
0
242025
<reponame>semahawk/kernel enter_unreal_mode: ; disable interrupts cli ; save the data segment push ds ; load the GDT lgdt [gdt] ; set the PE bit mov eax, cr0 or al, 1 mov cr0, eax ; tell 386/486 not to crash jmp $+2 ; select the code descriptor mov bx, 0x08 mov ds, bx ; unset the PE bit...
alloy4fun_models/trashltl/models/5/YPWWvNPemRmKXvMfz.als
Kaixi26/org.alloytools.alloy
0
3394
open main pred idYPWWvNPemRmKXvMfz_prop6 { always ( all f: File | f in Trash triggered f in Trash ) } pred __repair { idYPWWvNPemRmKXvMfz_prop6 } check __repair { idYPWWvNPemRmKXvMfz_prop6 <=> prop6o }
programs/oeis/133/A133405.asm
neoneye/loda
22
93819
<gh_stars>10-100 ; A133405: a(n) = 3*a(n-1) - a(n-3) + 3*a(n-4). ; 0,0,0,1,3,9,26,78,234,703,2109,6327,18980,56940,170820,512461,1537383,4612149,13836446,41509338,124528014,373584043,1120752129,3362256387,10086769160,30260307480,90780922440,272342767321,817028301963,2451084905889,7353254717666 mov $1,3 pow $1,$0 add $...
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_PAL/Fra_asm/zel_init.asm
prismotizm/gigaleak
0
246671
<gh_stars>0 Name: zel_init.asm Type: file Size: 281006 Last-Modified: '2016-05-13T04:20:48Z' SHA-1: 94EB80770B2AE442EE6C9EA6D65B29332E1D054E Description: null
14-factorial/factorial.asm
gashev/assembly-examples
1
240924
<reponame>gashev/assembly-examples<filename>14-factorial/factorial.asm<gh_stars>1-10 extern exit extern printf SECTION .data format: db '%d! = %d', 10, 0 SECTION .text GLOBAL _start _start: ; Init factorial. mov rax, 1 ; Init index. mov rbx, 0 loop: ; Calc next factorial inc rbx ...
programs/oeis/060/A060416.asm
jmorken/loda
1
86308
; A060416: a(n) = n*4^n - 1. ; 1,3,31,191,1023,5119,24575,114687,524287,2359295,10485759,46137343,201326591,872415231,3758096383,16106127359,68719476735,292057776127,1236950581247,5222680231935,21990232555519,92358976733183,387028092977151,1618481116086271,6755399441055743 mov $1,2 lpb $0 pow $1,$0 pow $1,2 mul ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_call.adb
best08618/asylo
7
7173
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_call.adb -- { dg-do compile } with System; with Ada.Unchecked_Conversion; procedure Test_Call is type F_ACC is access function (Str : String) return String; function Do_Something (V : F_Acc) return System.Address is ...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_PutSprClr_callee.asm
meesokim/z88dk
0
173196
<filename>libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_PutSprClr_callee.asm<gh_stars>0 ; void __CALLEE__ sp1_PutSprClr_callee(uchar **sprdest, struct sp1_ap *src, uchar n) ; 02.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_temp_sp1 PUBLIC sp1_PutSprClr_callee sp1_PutSprClr_callee: pop hl ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_390_1066.asm
ljhsiun2/medusa
9
14661
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x9cc1, %r10 xor $10132, %r8 movw $0x6162, (%r10) nop nop nop nop nop add %r9, %r9 lea addresses_D_ht+0xa979, %r12 nop nop nop nop nop and %rax, %rax mov $0x61626364656...
Include/IOName_Standard.asm
absindx/NES-RamEdit
0
6984
<gh_stars>0 ;-------------------------------------------------- ; IO name - Standard(PPU, APU) ;-------------------------------------------------- IO_PPU_Setting = $2000 ; npsbsimm IO_PPU_Display = $2001 ; rgbsbsbc IO_PPU_Status = $2002 ; v0cs---- IO_PPU_SpriteAddress = $2003 ; dddddddd IO_PPU_SpriteAccess = $2004 ...
dataToTestOn/asm/test.asm
Epacik/8051-ASM-Plugin
1
88639
LJMP START ORG 100H START: MOV R0,#30H ;adres bufora wyboru wskaźnika MOV R1,#38H ;adres bufora danych wskaźnika MOV R3, #23 MOV A,#01111110B MOVX @R0,A ;wpisz wybrane wskaźniki ...
src/fixed_types-short.ads
gusthoff/fixed_types
0
29076
------------------------------------------------------------------------------- -- -- FIXED TYPES -- -- Fixed_Short & Fixed_Sat_Short definitions -- -- The MIT License (MIT) -- -- Copyright (c) 2015 <NAME> -- -- Permission is hereby granted, free of charge, to any person ob...
src/asf-events-faces-actions.adb
jquorning/ada-asf
12
27753
<filename>src/asf-events-faces-actions.adb ----------------------------------------------------------------------- -- asf-events-faces-actions -- Actions Events -- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
core/move.asm
cristoferfb/columns
0
169081
<gh_stars>0 ; Esto basicamente checkea si es posible realizar ; un movimiento hacia alguna direccion, de ser posible ; se modifican las variables correspondientes down: call check_down mov al,[block_y] cmp al,18 je no_move inc al mov [block_y],al ret right: call check_rc mov a...
src/implementation/cl-memory-images.adb
flyx/OpenCLAda
8
12970
-------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice...
libsrc/math/cpcmath/float.asm
RC2014Z80/z88dk
8
97749
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: float.asm,v 1.4 2016-06-22 19:50:49 dom Exp $ ; SECTION code_fp INCLUDE "cpcfp.def" INCLUDE "cpcfirm.def" PUBLIC float EXTERN int_inv_sgn PUBLIC floatc EXTERN fa .float ld a,h ...
test/Fail/Issue964.agda
shlevy/agda
1,989
944
<gh_stars>1000+ -- Andreas, 2016-08-04, issue #964 -- Allow open metas and interaction points in imported files -- {-# OPTIONS -v import:100 #-} -- {-# OPTIONS -v meta.postulate:20 #-} -- {-# OPTIONS -v tc.conv.level:50 #-} open import Common.Level open import Common.Equality postulate something : Set₁ open import ...
source/oasis/program-elements-identifiers.ads
reznikmm/gela
0
3244
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Element_Vectors; with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; packag...