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 |
|---|---|---|---|---|
MPI/Lab-1/sub_8_bit.asm | vishwas1101/Misc | 0 | 168274 | <filename>MPI/Lab-1/sub_8_bit.asm<gh_stars>0
org 100h
MOV CL,7AH
MOV DL,4CH
SUB CL,DL
ret
|
Practice/Hello World EXE.asm | WardunIslam/CSE331L_Section_7_Summer_2020_NSU | 0 | 102920 | DATA SEGMENT
MSG DB 'HELLO WORLD!$'
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX, DATA
MOV DS, AX
LEA DX, MSG
MOV AH, 09H
INT 21H
MOV AH, 01
INT 21H
MOV AH, 4CH
INT 21H
ENDS
END START
|
examples/itoa.asm | shockkolate/shk-asm | 0 | 94700 | <reponame>shockkolate/shk-asm
itoa:
MOV $20, $1
MOV $10, $0
itoa.loop:
MOD $11, $10, #10
ADD $11, #48, $11
STO $1, $11
ADD $1, $1, #1
DIV $10, $10, #10
BRA itoa.loop, !NE $10
itoa.end:
STO $1, #0
MOV $0, $20
CAL strrev
RET
|
4-high/gel/applet/demo/distributed/gel_demo_server.adb | charlie5/lace-alire | 1 | 26373 | with
gel.Forge,
gel.Sprite,
Physics,
float_Math,
ada.Calendar,
ada.Text_IO,
ada.Exceptions;
package body gel_demo_Server
is
use ada.Calendar,
ada.Text_IO;
package Math renames float_Math;
task body Item
is
the_World : gel.World.server.view;
begin
... |
alloy4fun_models/trashltl/models/8/28uNcS585sPtt59ZM.als | Kaixi26/org.alloytools.alloy | 0 | 39 | open main
pred id28uNcS585sPtt59ZM_prop9 {
always (Protected not in Trash')
}
pred __repair { id28uNcS585sPtt59ZM_prop9 }
check __repair { id28uNcS585sPtt59ZM_prop9 <=> prop9o } |
engine/oak_speech.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 14344 | <gh_stars>1-10
SetDefaultNames:
ld a, [wLetterPrintingDelayFlags]
push af
ld a, [wOptions]
push af
ld a, [wd732]
push af
ld hl, wPlayerName
ld bc, wBoxDataEnd - wPlayerName
xor a
call FillMemory
ld hl, wSpriteStateData1
ld bc, $200
xor a
call FillMemory
pop af
ld [wd732], a
pop af
ld [wOptions], a
po... |
Cubical/HITs/Ints/IsoInt.agda | jespercockx/cubical | 0 | 13628 | {-# OPTIONS --safe #-}
module Cubical.HITs.Ints.IsoInt where
open import Cubical.HITs.Ints.IsoInt.Base public
|
oeis/182/A182255.asm | neoneye/loda-programs | 11 | 9010 | <filename>oeis/182/A182255.asm
; A182255: 81n^2 - 2247n + 15383.
; Submitted by <NAME>(s3)
; 15383,13217,11213,9371,7691,6173,4817,3623,2591,1721,1013,467,83,-139,-199,-97,167,593,1181,1931,2843,3917,5153,6551,8111,9833,11717,13763,15971,18341,20873,23567,26423,29441,32621,35963,39467,43133,46961,50951,55103
mul $0,3
... |
test/interaction/HighlightMissingDefinition.agda | cruhland/agda | 1,989 | 7798 | <reponame>cruhland/agda
A : Set
|
src/multiboot.asm | natiiix/Nebula | 1 | 26195 | <filename>src/multiboot.asm
SECTION .multiboot
; Declare constants for the 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 ... |
oeis/273/A273833.asm | neoneye/loda-programs | 11 | 104258 | ; A273833: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 961", based on the 5-celled von Neumann neighborhood.
; 1,5,26,71,147,264,428,649,933,1290,1726,2251,2871,3596,4432,5389,6473,7694,9058,10575,12251,14096,16116,18321,20717,2331... |
programs/oeis/129/A129069.asm | neoneye/loda | 22 | 246114 | ; A129069: Numbers n such that (n-3)/2 is prime.
; 7,9,13,17,25,29,37,41,49,61,65,77,85,89,97,109,121,125,137,145,149,161,169,181,197,205,209,217,221,229,257,265,277,281,301,305,317,329,337,349,361,365,385,389,397,401,425,449,457,461,469,481,485,505,517,529
seq $0,6005 ; The odd prime numbers together with 1.
mul $0,2... |
oeis/283/A283428.asm | neoneye/loda-programs | 11 | 13117 | ; A283428: Starting with a(1)=3, a(2)=4, a(n)=sum of digits of a(n-1) + sum of digits of a(n-2).
; Submitted by <NAME>
; 3,4,7,11,9,11,11,4,6,10,7,8,15,14,11,7,9,16,16,14,12,8,11,10,3,4,7,11,9,11,11,4,6,10,7,8,15,14,11,7,9,16,16,14,12,8,11,10,3,4,7,11,9,11,11,4,6,10,7,8,15,14,11,7,9,16,16,14,12,8,11,10,3,4
mov $2,2
lp... |
src/constants/index.asm | jonasbantunes/tictactoe-gb | 0 | 176715 | INCLUDE "src/constants/hardware.inc" |
programs/oeis/129/A129296.asm | neoneye/loda | 22 | 244551 | <filename>programs/oeis/129/A129296.asm
; A129296: Number of divisors of n^2 - 1 that are not greater than n.
; 1,1,2,2,4,2,5,3,5,3,8,2,8,4,6,4,9,2,12,4,8,4,10,3,10,6,8,4,16,2,14,4,7,8,12,4,12,4,10,4,20,2,16,6,8,6,12,3,18,6,12,4,16,4,20,8,10,4,16,2,16,6,8,12,16,4,16,4,16,4,30,2,15,6,8,12,16,4,24,5,12,5,16,4,16,8,10,4,3... |
RefactorAgdaEngine/InterpretCommand.agda | omega12345/RefactorAgda | 5 | 13565 | module InterpretCommand where
open import ParseTree
open import Data.List
open import Data.Nat
open import ScopeState
open import Data.Sum hiding (map)
open import Data.Bool
open import Data.String hiding (_++_)
open import Data.Maybe hiding (map)
open import Data.Product hiding (map)
open import AgdaHelperFunctions
... |
tests/S20-SIM/sim_draft_test.asm | liffiton/256sim | 1 | 19632 | <reponame>liffiton/256sim
# Simple test of ADDI, ADD, and SUB
addi $1 0
addi $1 1
addi $2 2
addi $3 3
add $4 $3
add $4 $1
sub $5 $1
sub $6 $3
sub $6 $3
|
src/formatter.ads | zenharris/ada-bbs | 2 | 23918 | generic
-- User's instantiation enumeration type
type Enumerated is (<>);
package Formatter is
-- Purpose: Format variable numeric arguments
--
-- F Returns the CONTENTS variant record set to the appropriate type
-- to allow a common data type to be passed to either GET or P... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2880.asm | ljhsiun2/medusa | 9 | 21890 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2880.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xd9ae, %r10
clflush (%r10)
nop
nop
nop
nop
xo... |
src/main/antlr/ScenarioLexer.g4 | fujaba/fulibScenarios | 1 | 7647 | lexer grammar ScenarioLexer;
// --------------- Keywords ---------------
A: 'a';
ADD: 'add';
ADDS: 'adds';
ALL: 'all';
AN: 'an';
AND: 'and';
ANSWER: 'answer';
ANSWERS: 'answers';
ARE: 'are';
AS: 'As' | 'as';
ATTRIBUTE:'attribute';
CALL: 'call';
CALLS: 'calls';
CARD... |
src/fot/FOTC/Data/Colist/PropertiesI.agda | asr/fotc | 11 | 9915 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- Colist properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorph... |
ASMFiles/movInstructions.asm | Undeadtaker/Assembly | 0 | 85701 | <reponame>Undeadtaker/Assembly
; Remember emu8086 is a 16 bit processor, therefore there are no 32 bit registers, meaning there is no eax, ebx, ecx etc.
; mov operation
; mov destination, source
; rules:
; - both operands must be the same size
; - both operands cannot be memory operands, this means tha... |
oeis/176/A176458.asm | neoneye/loda-programs | 11 | 10113 | ; A176458: Decimal expansion of 4+sqrt(17).
; Submitted by <NAME>
; 8,1,2,3,1,0,5,6,2,5,6,1,7,6,6,0,5,4,9,8,2,1,4,0,9,8,5,5,9,7,4,0,7,7,0,2,5,1,4,7,1,9,9,2,2,5,3,7,3,6,2,0,4,3,4,3,9,8,6,3,3,5,7,3,0,9,4,9,5,4,3,4,6,3,3,7,6,2,1,5,9,3,5,8,7,8,6,3,6,5,0,8,1,0,6,8,4,2,9,6
mov $1,2
mov $2,1
mov $3,$0
mul $3,4
lpb $3
add $... |
archive/agda-1/Foundation/Equivalence.agda | m0davis/oscar | 0 | 6213 | <filename>archive/agda-1/Foundation/Equivalence.agda
module Foundation.Equivalence where
open import Foundation.Primitive
record IsEquivalence {a} {A : Set a} {ℓ} (_≈_ : A → A → Set ℓ) : ℞ a ⊔ ℓ where
field
reflexivity : ∀ x → x ≈ x
symmetry : ∀ x y → x ≈ y → y ≈ x
transitivity : ∀ x y z → x ≈ y → y ≈ ... |
programs/oeis/024/A024096.asm | neoneye/loda | 22 | 168076 | ; A024096: a(n) = 8^n - n^8.
; 1,7,-192,-6049,-61440,-357857,-1417472,-3667649,0,91171007,973741824,8375575711,68289495040,548940083167,4396570722048,35181809198207,281470681743360,2251792837927807,18014387489521408,144115171092292831,1152921479006846976,9223371999031916447,73786976239962332928,590295810280394666431,47... |
Structure/Category/Functor/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 2767 | <filename>Structure/Category/Functor/Equiv.agda
import Lvl
open import Structure.Category
module Structure.Category.Functor.Equiv
{ℓₗₒ ℓᵣₒ ℓₗₘ ℓᵣₘ ℓₗₑ ℓᵣₑ : Lvl.Level}
{catₗ : CategoryObject{ℓₗₒ}{ℓₗₘ}{ℓₗₑ}}
{catᵣ : CategoryObject{ℓᵣₒ}{ℓᵣₘ}{ℓᵣₑ}}
where
open import Functional.Dependent as Fn using (_$_)
im... |
src/fot/DistributiveLaws/Lemma3-ATP.agda | asr/fotc | 11 | 15834 | ------------------------------------------------------------------------------
-- Distributive laws on a binary operation: Lemma 3
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-univer... |
src/maths/multiplication.asm | Pentium1080Ti/x86-assembly | 0 | 243208 | %include 'src/include/functions.asm'
SECTION .text
global _start
_start:
mov eax, 10
mov ebx, 10
mul ebx
call iprintLF
call quit |
programs/oeis/017/A017750.asm | neoneye/loda | 22 | 17788 | <reponame>neoneye/loda
; A017750: Binomial coefficients C(n,86).
; 1,87,3828,113564,2555190,46504458,713068356,9473622444,111315063717,1174992339235,11279926456656,99468442390512,812325612855848,6186171974825304,44186942677323600,297525414027312240,1896724514424115530,11491919116804935270,66397754897095181560,366934961... |
oeis/128/A128499.asm | neoneye/loda-programs | 11 | 246465 | <gh_stars>10-100
; A128499: Fifth column (m=4) of triangle A128494.
; Submitted by <NAME>
; 1,1,-4,-4,11,11,-24,-24,46,46,-80,-80,130,130,-200,-200,295,295,-420,-420,581,581,-784,-784,1036,1036,-1344,-1344,1716,1716,-2160,-2160,2685,2685,-3300,-3300,4015,4015,-4840,-4840,5786,5786,-6864,-6864,8086,8086,-9464,-9464,1101... |
fastmodel-parser/src/main/antlr4/imports/MeasureUnitParser.g4 | alibaba/fast-modeling-language | 9 | 7145 | parser grammar MeasureUnitParser;
measureUnitStatements
: createMeasureUnit
| renameMeasureUnit
| setMeasureUnitComment
| setMeasureUnitProperties
| dropMeasureUnit
| setMeasureUnitAlias
;
createMeasureUnit:
KW_CREATE replace? KW_MEASUREUNIT ifNotExists? qualifiedName alias? comment? (KW_WITH setProperties)?
;
... |
programs/oeis/022/A022416.asm | neoneye/loda | 22 | 243150 | <filename>programs/oeis/022/A022416.asm
; A022416: Kim-sums: "Kimberling sums" K_n + K_5.
; 4,13,16,18,21,24,26,29,31,34,37,39,42,45,47,50,52,55,58,60,63,65,68,71,73,76,79,81,84,86,89,92,94,97,100,102,105,107,110,113,115,118,120,123,126,128,131,134,136,139,141,144,147,149,152,154,157,160,162,165,168,170
mul $0,89
mov ... |
core/lib/types/FunctionSeq.agda | AntoineAllioux/HoTT-Agda | 294 | 6299 | <filename>core/lib/types/FunctionSeq.agda
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics hiding (take; drop; take-drop-split)
open import lib.types.Pointed
open import lib.types.Paths
module lib.types.FunctionSeq where
infixr 80 _◃∘_
data FunctionSeq {i} : Type i → Type i → Type (lsucc i) where
idf... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-regist.ads | orb-zhuchen/Orb | 0 | 15605 | <reponame>orb-zhuchen/Orb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
oeis/239/A239906.asm | neoneye/loda-programs | 11 | 240074 | <gh_stars>10-100
; A239906: Let cn(n,k) denote the number of times 11..1 (k 1's) appears in the binary representation of n; a(n) = n - cn(n,1) + cn(n,2) - cn(n,3).
; Submitted by <NAME>
; 0,0,1,2,3,3,5,5,7,7,8,9,11,11,12,12,15,15,16,17,18,18,20,20,23,23,24,25,26,26,27,27,31,31,32,33,34,34,36,36,38,38,39,40,42,42,43,43,... |
oeis/344/A344818.asm | neoneye/loda-programs | 11 | 94009 | <reponame>neoneye/loda-programs
; A344818: a(n) = Sum_{k=1..n} floor(n/k) * (-3)^(k-1).
; Submitted by <NAME>
; 1,-1,9,-20,62,-174,556,-1660,4911,-14693,44357,-133053,398389,-1195207,3587853,-10763270,32283452,-96850386,290570104,-871710994,2615074146,-7845220010,23535839600,-70607518824,211822017739,-635466060265,1906... |
oeis/335/A335607.asm | neoneye/loda-programs | 11 | 10052 | <reponame>neoneye/loda-programs<filename>oeis/335/A335607.asm
; A335607: Rectangular array by antidiagonals: T(n,k) = floor(n + k*r), where r = sqrt(2).
; Submitted by <NAME>
; 0,1,1,2,2,2,4,3,3,3,5,5,4,4,4,7,6,6,5,5,5,8,8,7,7,6,6,6,9,9,9,8,8,7,7,7,11,10,10,10,9,9,8,8,8,12,12,11,11,11,10,10,9,9,9,14,13,13,12,12,12,11,1... |
ADL/drivers/stm32g474/stm32-dac.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 30929 | <filename>ADL/drivers/stm32g474/stm32-dac.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
src/examples/Rejuvenation_Workshop/src/Rejuvenation_Workshop.adb | selroc/Renaissance-Ada | 1 | 11233 | <gh_stars>1-10
with AssignmentByIfExamples;
with Default_Value;
with Mismatch;
with Prefix_Notation;
pragma Unreferenced (AssignmentByIfExamples);
pragma Unreferenced (Default_Value);
pragma Unreferenced (Mismatch);
pragma Unreferenced (Prefix_Notation);
procedure Rejuvenation_Workshop is
begin
-- This project co... |
Sources/Grammar/XcodeProject.g4 | qazyn951230/Kin | 0 | 6619 | <gh_stars>0
grammar XcodeProject;
// PARSER
start
: root_element
;
// Root
root_element
: '{'
archive_version
classes
object_version
objects
root_object
'}'
;
archive_version
: 'archiveVersion' '=' (BOOLEAN | NUMBER) ';'
;
classes
: CLASSES... |
presto-parser/src/main/antlr4/com/facebook/presto/type/TypeCalculation.g4 | photogamerun/weiwodb | 1 | 5630 | /*
* 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 by applicable law or agreed to in writing, software
* d... |
test/Succeed/largenumber.agda | strake/agda | 2 | 1542 | open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
_ : 10_000 * 100_000 ≡ 1_000_000_000
_ = refl
|
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-wchjis.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 4690 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
programs/oeis/324/A324913.asm | jmorken/loda | 1 | 104911 | ; A324913: a(n) = Sum_{k=1..n} 2^k * phi(k), where phi is the Euler totient function A000010.
; 2,6,22,54,182,310,1078,2102,5174,9270,29750,46134,144438,242742,504886,1029174,3126326,4699190,14136374,22524982,47690806,89633846,274183222,408400950,1079489590,1884795958,4300715062,7521940534,22554326070,31144260662,95568... |
programs/oeis/079/A079921.asm | karttu/loda | 0 | 87371 | <gh_stars>0
; A079921: Solution to the Dancing School Problem with n girls and n+2 boys: f(n,2).
; 3,7,14,26,46,79,133,221,364,596,972,1581,2567,4163,6746,10926,17690,28635,46345,75001,121368,196392,317784,514201,832011,1346239,2178278,3524546,5702854,9227431,14930317,24157781,39088132,63245948,102334116,165580101
add... |
oeis/005/A005581.asm | neoneye/loda-programs | 11 | 26637 | <filename>oeis/005/A005581.asm
; A005581: a(n) = (n-1)*n*(n+4)/6.
; 0,0,2,7,16,30,50,77,112,156,210,275,352,442,546,665,800,952,1122,1311,1520,1750,2002,2277,2576,2900,3250,3627,4032,4466,4930,5425,5952,6512,7106,7735,8400,9102,9842,10621,11440,12300,13202,14147,15136,16170,17250,18377,19552,20776,22050,23375,24752,261... |
supporting_files/test_cases/fibonacci.asm | atpk/ToyRISC | 0 | 160580 | .data
n:
10
.text
main:
addi %x0, 0, %x3
addi %x0, 1, %x4
add %x3, %x4, %x5
load %x0, $n, %x6
addi %x0, 65535, %x7
addi %x0, 0, %x8
store %x3, 0, %x7
subi %x7, 1, %x7
addi %x8, 1, %x8
store %x4, 0, %x7
subi %x7, 1, %x7
addi %x8, 1, %x8
for:
blt %x8, %x6, loop
end
loop:
add %x3, %x4, %x5
store %x5, 0... |
boards/native/src/native-spi.ads | Sawchord/Ada_Drivers_Library | 0 | 14499 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, AdaCore --
-- ... |
Semester 3-1/CSE3108 Microprocessor Lab/Lab 02/190104037_Assignment03.asm | AKC23/AUST | 0 | 101829 | <gh_stars>0
;Assignment 03 - 190104037
;3L4U1
;3 -> 01001111b
;L -> 00111000b
;4 -> 01100110b
;U -> 00111110b
;1 -> 00000110b
TITLE 8086 Code Template (for EXE file)
#MAKE_EXE#
DSEG SEGMENT 'DATA'
;Fahim
;NUMBERS1 DB 6DH, 7CH, 4FH, 38H, 6FH ;seven segment display
;NUMBERS2 D... |
alloy4fun_models/trashltl/models/11/mMBQBHkLB9cbNncvz.als | Kaixi26/org.alloytools.alloy | 0 | 3457 | <filename>alloy4fun_models/trashltl/models/11/mMBQBHkLB9cbNncvz.als
open main
pred idmMBQBHkLB9cbNncvz_prop12 {
always all f:File | f in File implies always eventually f in Trash
}
pred __repair { idmMBQBHkLB9cbNncvz_prop12 }
check __repair { idmMBQBHkLB9cbNncvz_prop12 <=> prop12o } |
test/succeed/Issue1003.agda | larrytheliquid/agda | 1 | 3098 | <reponame>larrytheliquid/agda<gh_stars>1-10
-- Andreas, 2013-12-28
-- Reported by jesper.cockx, Dec 20, 2013
-- WAS: In the following example, there is an unsolved instance
-- argument, but no part of the code is highlighted.
typeof : ∀ {{T : Set}} → T → Set
typeof {{T}} x = T
test : {A : Set} {B : Set} (y : A) → t... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_15588_1436.asm | ljhsiun2/medusa | 9 | 4842 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x39fc, %rsi
lea addresses_normal_ht+0x1290c, %rdi
nop
nop
nop
nop
cmp $14300, %r15
mov $83, %rcx
rep movsl
nop
nop
nop
add %rsi, %rsi
lea addresses_A_ht+0x126f4, %rax
nop... |
stm32l0/stm32gd-vectors.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 13197 | <gh_stars>1-10
with System;
package STM32GD.Vectors is
pragma Preelaborate;
procedure Default_Handler;
type IRQ_Vectors is
record
HardFault_Handler : System.Address;
MemManage_Handler : System.Address;
BusFault_Handler : System.Address;
UsageFault_Handler : System.... |
programs/oeis/158/A158070.asm | karttu/loda | 1 | 82798 | ; A158070: a(n) = 64*n^2 + 2*n.
; 0,66,260,582,1032,1610,2316,3150,4112,5202,6420,7766,9240,10842,12572,14430,16416,18530,20772,23142,25640,28266,31020,33902,36912,40050,43316,46710,50232,53882,57660,61566,65600,69762,74052,78470,83016,87690,92492,97422,102480,107666,112980,118422,123992,129690,135516,141470,147552,153... |
oeis/153/A153805.asm | neoneye/loda-programs | 11 | 100792 | ; A153805: Decimal expansion of 3-e.
; Submitted by <NAME>(s1)
; 2,8,1,7,1,8,1,7,1,5,4,0,9,5,4,7,6,4,6,3,9,7,1,2,5,2,8,6,4,7,3,3,7,5,0,2,2,4,2,7,5,2,9,0,6,3,0,0,0,4,0,4,2,5,0,3,3,0,3,2,3,7,2,2,7,5,9,2,3,3,6,9,6,4,6,4,5,2,4,0,5,4,2,8,6,1,7,8,2,1,4,7,4,8,3,3,5,7,2,5
add $0,1
seq $0,1113 ; Decimal expansion of e.
mul $0,... |
source/base/incr-parsers.ads | reznikmm/increment | 5 | 5323 | <filename>source/base/incr-parsers.ads<gh_stars>1-10
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Incr.Parsers is
pragma Pure;
end Incr.Parsers;
|
sprite.asm | bisand/c64-training | 0 | 87737 | <filename>sprite.asm<gh_stars>0
; basic loader program
; 10 SYS 4096; $0801 = 2049
*=$0801
; $0C $08 = $080C 2-byte pointer to the next line of BASIC code
; $0A = 10; 2-byte line number low byte ($000A = 10)
; $00 = 0 ; 2-byte line number high bye
; $9E = SYS BASIC token
; $20 = [space]
; $34 =... |
agda-stdlib/src/Category/Applicative/Indexed.agda | DreamLinuxer/popl21-artifact | 5 | 1189 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Indexed applicative functors
------------------------------------------------------------------------
-- Note that currently the applicative functor laws are not included
-- here.
{-# OPTIONS --without-K --safe... |
x86/hello_world/hello.asm | stephenbalaban/programming | 0 | 160802 | <gh_stars>0
;; Data section
section .data
x dd 1293
y dd 5812
N dd 2 ; divisor for AVG
avg dq 0
;; Code Section
section .text
global main
extern printf
main:
mov eax, [x]
mov ecx, eax ; copy eax to ecx for later printing
mov ebx, [y]
add eax, ebx
; Take the average of the values
fild dword [x]
fild d... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/graywin.adb | Lucretia/old_nehe_ada95 | 0 | 4899 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
Win32/Win32.Smog/Win32.Smog.asm | fengjixuchui/Family | 3 | 17904 | ;============================================================
;=== Win32.SMOG virus. Coded by Necronomikon[Zer0Gravity] ===
;============================================================
;Virusname: Win32.Smog
;------------------------------------------------------------
;Author: Necronomikon
;--------------------... |
programs/oeis/177/A177065.asm | neoneye/loda | 22 | 22698 | <gh_stars>10-100
; A177065: a(n) = (8*n+3)*(8*n+5).
; 15,143,399,783,1295,1935,2703,3599,4623,5775,7055,8463,9999,11663,13455,15375,17423,19599,21903,24335,26895,29583,32399,35343,38415,41615,44943,48399,51983,55695,59535,63503,67599,71823,76175,80655,85263,89999,94863,99855,104975,110223,115599,121103,126735,132495,13... |
oeis/086/A086254.asm | neoneye/loda-programs | 11 | 85950 | ; A086254: Decimal expansion of Feller's beta coin-tossing constant.
; Submitted by <NAME>
; 1,2,3,6,8,3,9,8,4,4,6,3,8,7,8,5,1,0,1,8,9,0,6,6,0,8,7,6,1,4,2,1,2,3,2,5,2,2,1,1,1,7,6,6,2,1,2,3,5,8,8,5,8,7,3,7,1,0,7,1,6,7,2,6,7,1,5,9,0,4,2,7,4,0,0,9,2,5,8,8,1,9,1,0,7,7,8,3,8,2,6,1,3,0,6,3,9,9,3,5
mov $1,1
mov $3,$0
mul $3,... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_4149_1763.asm | ljhsiun2/medusa | 9 | 175590 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x15979, %rsi
lea addresses_UC_ht+0xad79, %rdi
nop
nop
cmp %r12, %r12
mov $13, %rcx
rep movsl
nop
nop
nop
and $63787, %rcx
lea addresses_A_ht+0x1b79, %rsi
lea addresses_UC_ht+0... |
test/Succeed/Issue292-14.agda | cruhland/agda | 1,989 | 13345 | <reponame>cruhland/agda<filename>test/Succeed/Issue292-14.agda
-- 2011-09-14 posted by Nisse
-- Andreas: this failed since SubstHH for Telescopes was wrong.
-- {-# OPTIONS --show-implicit -v tc.lhs.unify:15 #-}
module Issue292-14 where
data D : Set where
d : D
postulate T : D → D → Set
data T′ (x y : D) : Set wher... |
oeis/298/A298016.asm | neoneye/loda-programs | 11 | 243461 | ; A298016: Coordination sequence of snub-632 tiling with respect to a hexavalent node.
; 1,6,12,12,24,36,24,42,60,36,60,84,48,78,108,60,96,132,72,114,156,84,132,180,96,150,204,108,168,228,120,186,252,132,204,276,144,222,300,156,240,324,168,258,348,180,276,372,192,294,396,204,312,420,216,330,444,228,348,468,240,366,492,... |
src/common/keccak-generic_duplex.adb | damaki/libkeccak | 26 | 4565 | -------------------------------------------------------------------------------
-- Copyright (c) 2019, <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:
-- * Redistributions of s... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1424.asm | ljhsiun2/medusa | 9 | 169779 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rbp
push %rdx
push %rsi
lea addresses_A_ht+0x1cbd9, %rdx
dec %rsi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
vmovups %ymm5, (%rdx)
nop
add $53958, %rsi
lea addresses_WC_ht+0x119b5, %r14
nop
nop
nop
nop
add $5223, %r10
mov $0x6... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52103q.ada | best08618/asylo | 7 | 30801 | -- C52103Q.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
p0902.asm | zhangyuesai/8086-asm-learning-code | 1 | 15282 | <gh_stars>1-10
assume cs:codesg
codesg segment
start:
mov ax,0
mov bx,0
jmp short s
add ax,1
s: inc ax
codesg ends
end start |
programs/oeis/055/A055583.asm | jmorken/loda | 1 | 11818 | ; A055583: Seventh column of triangle A055252.
; 1,10,58,256,955,3178,9740,28064,77093,203930,523262,1309520,3209871,7731642,18348240,42989520,99612345,228586890,520090690,1174401760,2634019171,5872021450,13019115028,28722588736,63082326605,137975818298,300647704070,652835021744,1413044232503,3049426771610,656271001903... |
src/ada-pulse/src/pulse-format.ads | mstewartgallus/linted | 0 | 10722 | -- Copyright 2016 <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 by applicable law or agreed to in writi... |
programs/oeis/008/A008255.asm | jmorken/loda | 1 | 86715 | <reponame>jmorken/loda
; A008255: Coordination sequence T2 for feldspar.
; 1,4,10,22,38,56,82,112,142,182,226,268,322,380,434,502,574,640,722,808,886,982,1082,1172,1282,1396,1498,1622,1750,1864,2002,2144,2270,2422,2578,2716,2882,3052,3202,3382,3566,3728,3922,4120,4294,4502,4714,4900,5122,5348,5546,5782,6022,6232,6482,6... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2840.asm | ljhsiun2/medusa | 9 | 88967 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2840.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rbx
push %rdx
push %rsi
lea addresses_D_ht+0x47c3, %rsi
clflush (%rsi)
nop
inc %r10
mov (%rsi), %ebx
nop
nop
nop
inc %rdx
pop %rsi
pop %rdx
pop %rbx
pop %r10
ret
.global s_f... |
src/msx/sample_res/sfx_03.asm | aburi6800/msx-PSGSoundDriver | 3 | 9617 | <reponame>aburi6800/msx-PSGSoundDriver
SFX_03:
DB 10
DW $0000
DW $0000
DW SFX_03_TRK3
SFX_03_TRK3:
DB 217, %10, 212, 21, 1, 14, 1, 8, 1, 0, 1, 7, 1, 14, 1, 21
DB 1, 30, 1, 79, 1, 211, 71, 1, 210, 59, 1, 209, 47, 1, 208, 35
DB 1, 207, 23, 1, 206, 16, 1, 205, 9, 1, 211, 79, 1, 210, 71, ... |
src/Processors/Dump/project_processor-processors-dumping.ads | fintatarta/eugen | 0 | 12732 | <gh_stars>0
with EU_Projects.Projects;
package Project_Processor.Processors.Dumping is
type Processor_Type is
new Abstract_Processor
with
private;
overriding function Create (Params : not null access Processor_Parameter)
return Processor_Type;
overriding procedure Process... |
test/src/utils.ads | robdaemon/AdaYaml | 32 | 7187 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
package Utils is
function File_Content (Path : String) return String;
end Utils;
|
src/02/compression.asm | Willem3141/kernel | 251 | 90800 | <gh_stars>100-1000
; This is the sentinel byte for all RLE routines.
runIndicator .equ 0x9B
;; rleCompress [Miscellaneous]
;; Compresses data using a simple Run-Length-Encoding scheme.
;; Inputs:
;; HL: Data to compress
;; DE: Destination, cannot (yet) be the same location as original data
;; BC: Size of uncompres... |
Transynther/x86/_processed/NC/_un_/i9-9900K_12_0xa0_notsx.log_1_1477.asm | ljhsiun2/medusa | 9 | 6788 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x8f4b, %rbx
nop
sub %r8, %r8
mov $0x6162636465666768, %rcx
movq %rcx, %xmm7
vmovups %ymm7, (%rbx)
nop
nop
nop
cmp $63563, %rax
lea addresses_A_ht+0x1414b, %rsi
lea addresses_A... |
test/succeed/Issue597.agda | larrytheliquid/agda | 1 | 15455 | <filename>test/succeed/Issue597.agda
-- Qualified mixfix operators
module Issue597 where
open import Common.Prelude as Prel hiding (if_then_else_)
open import Common.Level using (lzero)
lz = lzero Common.Level.⊔ lzero
module A where
data _×_ (A B : Set) : Set where
_,_ : A → B → A × B
if_then_else_ : ∀ {A ... |
AirMessage/AppleScript/AppleScriptSource/Messages/testPermissionsMessages.applescript | ryanspecter/airmessage-server-next | 23 | 4491 | <reponame>ryanspecter/airmessage-server-next<filename>AirMessage/AppleScript/AppleScriptSource/Messages/testPermissionsMessages.applescript
tell application "Messages"
count windows
end tell
|
tests/misc/trd/emptytrd.asm | fengjixuchui/sjasmplus | 220 | 87765 | <gh_stars>100-1000
EMPTYTRD "emptytrd.trd"
|
src/Substitution.agda | andrejbauer/dependent-type-theory-syntax | 7 | 10706 | <reponame>andrejbauer/dependent-type-theory-syntax
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; subst; cong)
open import Syntax
import Renaming
-- Substitutions
module Substitution where
module _ {𝕊 : Signature} where
open Expression 𝕊
open Renaming
open Equality
... |
source/oasis/program-elements-parameter_specifications.ads | reznikmm/gela | 0 | 6701 | <filename>source/oasis/program-elements-parameter_specifications.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Declarations;
with Program.Elements.Defining_Ident... |
src/asis/a4g-contt-tt.adb | My-Colaborations/dynamo | 15 | 4901 | <filename>src/asis/a4g-contt-tt.adb<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_2683.asm | ljhsiun2/medusa | 9 | 84190 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbp
push %rcx
push %rsi
lea addresses_A_ht+0xbea, %rcx
nop
nop
and $23073, %rax
movw $0x6162, (%rcx)
nop
nop
nop
nop
xor $18652, %rbp
pop %rsi
pop %rcx
pop %rbp
pop %rax
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r... |
programs/oeis/129/A129401.asm | neoneye/loda | 22 | 103250 | ; A129401: a(n) is the result of replacing with its successor prime each prime in the factorization of the n-th composite number.
; 9,15,27,25,21,45,33,35,81,75,63,55,39,135,49,51,125,99,105,243,65,57,77,225,69,85,189,165,117,175,87,405,121,147,95,153,375,91,297,115,93,315,111,275,729,119,195,171,145,231,675,123,245,20... |
library/fmGUI_Database/fmGUI_Database_DbNameOfFrontWindow.applescript | NYHTC/applescript-fm-helper | 1 | 1119 | -- fmGUI_Database_DbNameOfFrontWindow({})
-- <NAME>, NYHTC
-- return the database name of frontmost window
(*
HISTORY:
2020-03-04 ( dshockley ): Standardized version. Added fmGUI_ALL_Utilities_Close.
1.1.1 - 2018-12-07 ( eshagdar ): no need to specify the name of the window - sub-handler will take the frontmost one... |
programs/oeis/101/A101264.asm | jmorken/loda | 1 | 12550 | <reponame>jmorken/loda
; A101264: a(n) = 1 if 2*n + 1 is prime, otherwise a(n) = 0.
; 0,1,1,1,0,1,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,0,0,1,0,0,0,1,0,1,1,0,1,1,0,1,0,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,1,0,1,... |
alloy4fun_models/trainstlt/models/7/L2JvJaSGK8uC5hN6N.als | Kaixi26/org.alloytools.alloy | 0 | 4176 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idL2JvJaSGK8uC5hN6N_prop8 {
always ( all t:Train | no t.pos.signal :> Green implies t.pos' = t.pos )
}
pred __repair { idL2JvJaSGK8uC5hN6N_prop8 }
check __repair { idL2JvJaSGK8uC5hN6N_prop8 <=> prop8o } |
Assembler/AssemblyCode/ATOI.asm | KPU-RISC/KPU | 8 | 89929 | <filename>Assembler/AssemblyCode/ATOI.asm
#INCLUDE "FUNCTIONS.inc"
; Initialize the stack pointer and the base pointer
MOV XL, 0xFF
MOV XH, 0xFF
MOV SP, X
MOV XL, 0
MOV XH, 0
MOV BP, X
; Initialize the Output Port C & D with 0
MOV XL, 0
OUT C
OUT D
CALL :_MAIN
HLT
:_MAIN
ENTER 1
; ====================
; BEGIN CALL... |
msp430x2/msp430g2553/svd/msp430_svd-comparator_a.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 11641 | -- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- Comparator A
package MSP430_SVD.COMPARATOR_A is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Comp. A... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/deferred_const2.adb | best08618/asylo | 7 | 19960 | -- { dg-do run }
with System; use System;
with Deferred_Const2_Pkg; use Deferred_Const2_Pkg;
procedure Deferred_Const2 is
begin
if I'Address /= S'Address then
raise Program_Error;
end if;
end;
|
test/win/linker-flags/safeseh_zero64.asm | chlorm-forks/gyp | 2,151 | 16553 | .CODE
PUBLIC zero
zero PROC
xor eax, eax
ret 0
zero ENDP
END
|
ffight/lcs/1p/59.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 177058 | copyright zengfr site:http://github.com/zengfr/romhack
007CEA move.b (-$6e0b,A5), ($59,A6) [1p+58]
007CF0 move.w (-$6e0a,A5), ($66,A6) [1p+59]
007D52 move.b D5, ($58,A6) [1p+59, enemy+59, weapon+59]
007DAE move.b D5, ($58,A6) [1p+59]
007E6C move.b D5, ($58,A6) [1p+59, container+59]
007EA0 move.b D5, ($58,A6... |
src/NatProps.agda | Zalastax/thesis | 1 | 11145 | module NatProps where
open import Data.Nat using (ℕ ; _≟_ ; _<_ ; zero ; suc ; s≤s)
open import Relation.Nullary using (Dec ; yes ; no ; ¬_)
open import Relation.Binary.PropositionalEquality using (_≡_ ; refl ; sym)
<-¬≡ : ∀ {n m} → n < m → ¬ n ≡ m
<-¬≡ {zero} {zero} ()
<-¬≡ {zero} {suc m} p = λ ()
<-¬≡ {suc n... |
extern/game_support/src/backends/opengl_sdl_gnat_sdl2/display-basic-utils.ads | AdaCore/training_material | 15 | 14370 | with SDL_video_h; use SDL_video_h;
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions; use Interfaces.C.Extensions;
with SDL_stdinc_h; use SDL_stdinc_h;
with SDL_surface_h; use SDL_surface_h;
package Display.Basic.Utils is
function RGBA_To_Uint32(Screen : access SDL_Surface;
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_3488_271.asm | ljhsiun2/medusa | 9 | 175195 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x97f7, %rsi
lea addresses_UC_ht+0x1897, %rdi
nop
sub %rbp, %rbp
mov $60, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %r8
lea addresses_A_ht+0xfff7, %r15
nop
nop
nop
nop
nop
de... |
source/web_callbacks.ads | jquorning/WeDo | 1 | 8993 | --
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with AWS.Response;
with AWS.Status;
packa... |
thirdparty/adasdl/thin/adasdl/AdaSDL/stdtest/testpalette_sprogs.adb | Lucretia/old_nehe_ada95 | 0 | 21916 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.