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 |
|---|---|---|---|---|
boot/stage2/vetor.asm | nelsoncole/sirius-x86-64 | 10 | 16328 | <gh_stars>1-10
bits 32
section .text
global isr00,isr01,isr02,isr03,isr04,isr05,isr06,isr07,isr08,isr09
global isr10,isr11,isr12,isr13,isr14,isr15,isr16,isr17,isr18,isr19
global isr20,isr21,isr22,isr23,isr24,isr25,isr26,isr27,isr28,isr29
global isr30,isr31
extern fault_exception
isr_jmp:
pushad
push ds
push es
push... |
programs/oeis/051/A051959.asm | neoneye/loda | 22 | 19184 | <reponame>neoneye/loda<gh_stars>10-100
; A051959: Expansion of (1+6x)/( (1-2x-x^2)(1-x)^2).
; 1,10,36,104,273,686,1688,4112,9969,24114,58268,140728,339809,820438,1980784,4782112,11545121,27872474,67290196,162453000,392196337,946845822,2285888136,5518622256,13323132817,32164888066,77652909132,187470706520,452594322369,1... |
software/hal/boards/stm32_common/sdcard/media_reader-sdcard.adb | TUM-EI-RCS/StratoX | 12 | 12420 | <reponame>TUM-EI-RCS/StratoX
-- Based on AdaCore's Ada Drivers Library,
-- see https://github.com/AdaCore/Ada_Drivers_Library,
-- checkout 93b5f269341f970698af18f9182fac82a0be66c3.
-- Copyright (C) Adacore
--
-- Tailored to StratoX project.
-- Author: <NAME> (<EMAIL>)
with STM32.Device; use STM32.Devi... |
programs/oeis/220/A220466.asm | neoneye/loda | 22 | 29498 | ; A220466: a((2*n-1)*2^p) = 4^p*(n-1) + 2^(p-1)*(1+2^p), p >= 0 and n >= 1.
; 1,3,2,10,3,7,4,36,5,11,6,26,7,15,8,136,9,19,10,42,11,23,12,100,13,27,14,58,15,31,16,528,17,35,18,74,19,39,20,164,21,43,22,90,23,47,24,392,25,51,26,106,27,55,28,228,29,59,30,122,31,63,32,2080,33,67,34,138,35,71,36,292,37,75,38,154,39,79,40,648... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_860.asm | ljhsiun2/medusa | 9 | 161815 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x5c36, %rdx
nop
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r11
movq %r11, %xmm1
movups %xmm1, (%rdx)
nop
nop
nop
inc %rbx
lea addresses_WT_ht+0x14612, %rbp
nop
cmp ... |
programs/oeis/317/A317542.asm | jmorken/loda | 1 | 16115 | ; A317542: Formal inverse of the period-doubling sequence A096268.
; 0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1... |
PIM/TP09/exemple_vecteurs_creux.adb | Hathoute/ENSEEIHT | 1 | 21605 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
with Vecteurs_Creux; use Vecteurs_Creux;
-- Exemple d'utilisation des vecteurs creux.
procedure Exemple_Vecteurs_Creux is
V : T_Vecteur_Creux;
Epsilon: constant Float := 1.0e-5;
begin
Put_Line ("Début du scénario");
-- In... |
SUBTRACTING.asm | sekharkaredla/8085 | 1 | 247800 | <filename>SUBTRACTING.asm<gh_stars>1-10
LXI B,4000H
LXI H,4001H
LDAX B
SUB M
STA 5000H
RST 1
|
SVD2ada/svd/stm32_svd-dlyb.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 10259 | <filename>SVD2ada/svd/stm32_svd-dlyb.ads
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.DLYB is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- ... |
gcc-gcc-7_3_0-release/gcc/ada/a-dinopr.ads | best08618/asylo | 7 | 26744 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Transynther/x86/_processed/US/_st_zr_un_/i7-7700_9_0xca_notsx.log_101_1603.asm | ljhsiun2/medusa | 9 | 9121 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x16b2d, %r13
nop
nop
and %r14, %r14
movb (%r13), %r15b
nop
nop
xor %r9, %r9
lea addresses_A_ht+0x1b70f, %rsi
lea addresses_D_ht+0x56d5, %rdi
nop
nop
nop
nop
nop
add $62338, %r... |
alloy4fun_models/trashltl/models/7/eP3GJ7mZdS7LQYv3b.als | Kaixi26/org.alloytools.alloy | 0 | 1909 | open main
pred ideP3GJ7mZdS7LQYv3b_prop8 {
eventually (all f1,f2 : File | f1 -> f2 in link implies f1 in Trash)
}
pred __repair { ideP3GJ7mZdS7LQYv3b_prop8 }
check __repair { ideP3GJ7mZdS7LQYv3b_prop8 <=> prop8o } |
src/fot/PA/Inductive/Existential.agda | asr/fotc | 11 | 5552 | ------------------------------------------------------------------------------
-- Existential quantifier on the inductive PA universe
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-uni... |
projects/batfish/src/org/batfish/grammar/cisco/Cisco_common.g4 | Alexia23/batfish | 1 | 7645 | parser grammar Cisco_common;
options {
tokenVocab = CiscoLexer;
}
access_list_action
:
PERMIT
| DENY
;
community
:
com = COMMUNITY_NUMBER
| com = DEC
| com = INTERNET
| com = LOCAL_AS
| com = NO_ADVERTISE
| com = NO_EXPORT
;
description_line
:
DESCRIPTION text = M_DESCRIPTION_NON_NEWLI... |
alloy4fun_models/trashltl/models/1/kaqQRcX5AAGCY6ZMY.als | Kaixi26/org.alloytools.alloy | 0 | 4974 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idkaqQRcX5AAGCY6ZMY_prop2 {
no File
eventually some File
}
pred __repair { idkaqQRcX5AAGCY6ZMY_prop2 }
check __repair { idkaqQRcX5AAGCY6ZMY_prop2 <=> prop2o } |
source/xml/sax/xml-sax-lexical_handlers.ads | svn2github/matreshka | 24 | 21607 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41326a.ada | best08618/asylo | 7 | 19085 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41326a.ada
-- C41326A.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
-- unlimi... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_6_139.asm | ljhsiun2/medusa | 9 | 21169 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
// Faulty Load
lea addresses_US+0x5b5e, %r15
nop
add $50429, %rcx
movb (%r15), %r9b
lea oracles, %rax
and $0xff, %r9
shlq $12, %r9
mov (%rax,%r9,1), %r9
pop %rcx
pop %ra... |
programs/oeis/063/A063377.asm | neoneye/loda | 22 | 86656 | ; A063377: Sophie Germain degree of n: number of iterations of n under f(k) = 2k+1 before we reach a number that is not a prime.
; 0,5,2,0,4,0,1,0,0,0,3,0,1,0,0,0,1,0,1,0,0,0,2,0,0,0,0,0,2,0,1,0,0,0,0,0,1,0,0,0,3,0,1,0,0,0,1,0,0,0,0,0,2,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,6,0,0,0,0,0,0... |
oeis/152/A152435.asm | neoneye/loda-programs | 11 | 24771 | ; A152435: a(n)=(11^n - 1)/(5*2^(3 - 2*Mod[n, 2])).
; Submitted by <NAME>
; 0,1,3,133,366,16105,44289,1948717,5358972,235794769,648435615,28531167061,78460709418,3452271214393,9493745839581,417724816941565,1148743246589304,50544702849929377,138997932837305787
mov $2,11
pow $2,$0
sub $2,1
dif $2,4
mov $0,$2
div $0,10
|
libsrc/stdio/ansi/ansifont_f4.asm | ahjelm/z88dk | 640 | 26442 | <reponame>ahjelm/z88dk
SECTION rodata_font_ansi
PUBLIC ansifont_f4
ansifont_f4:
BINARY "stdio/ansi/F4.BIN"
|
source/amf/uml/amf-uml-link_end_creation_datas.ads | svn2github/matreshka | 24 | 26343 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
programs/oeis/134/A134591.asm | jmorken/loda | 1 | 161027 | ; A134591: a(n) is n reflected in n-th prime: distance between a(n) and p(n) equals distance between p(n) and n.
; 3,4,7,10,17,20,27,30,37,48,51,62,69,72,79,90,101,104,115,122,125,136,143,154,169,176,179,186,189,196,223,230,241,244,263,266,277,288,295,306,317,320,339,342,349,352,375,398,405,408,415,426,429,448,459,470
... |
programs/oeis/183/A183010.asm | neoneye/loda | 22 | 87532 | <reponame>neoneye/loda
; A183010: a(n) = 24*n - 1.
; -1,23,47,71,95,119,143,167,191,215,239,263,287,311,335,359,383,407,431,455,479,503,527,551,575,599,623,647,671,695,719,743,767,791,815,839,863,887,911,935,959,983,1007,1031,1055,1079,1103,1127,1151,1175,1199,1223,1247,1271,1295,1319,1343,1367,1391,1415,1439,1463,1487... |
programs/oeis/158/A158223.asm | neoneye/loda | 22 | 167548 | ; A158223: a(n) = 196*n + 1.
; 197,393,589,785,981,1177,1373,1569,1765,1961,2157,2353,2549,2745,2941,3137,3333,3529,3725,3921,4117,4313,4509,4705,4901,5097,5293,5489,5685,5881,6077,6273,6469,6665,6861,7057,7253,7449,7645,7841,8037,8233,8429,8625,8821,9017,9213,9409,9605,9801,9997,10193,10389,10585,10781,10977,11173,113... |
oeis/138/A138463.asm | neoneye/loda-programs | 11 | 15337 | <reponame>neoneye/loda-programs
; A138463: A bisection of A006318.
; Submitted by <NAME>
; 2,22,394,8558,206098,5293446,142078746,3937603038,111818026018,3236724317174,95149655201962
add $0,1
mul $0,2
sub $0,1
seq $0,6318 ; Large Schröder numbers (or large Schroeder numbers, or big Schroeder numbers).
|
src/LibraBFT/Impl/Types/EpochState.agda | LaudateCorpus1/bft-consensus-agda | 0 | 6864 | <filename>src/LibraBFT/Impl/Types/EpochState.agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Base.T... |
Bootloader/Stage2/GDT.asm | Archlisk/fos2 | 0 | 88272 | [BITS 16]
SECTION .text
gdt:
dq 0x00
.code:
dw 0xFFFF
dw 0x00
db 0x00
db 0b10011010
db 0b11001111
db 0x00
.data:
dw 0xFFFF
dw 0x00
db 0x00
db 0b10010010
db 0b11001111
db 0x00
.end:
.desc:
dw .end - gdt
dd gdt
GDT_CODE_SEG equ .code - gdt
GDT_DATA_SEG equ .data - gdt
gdt_load_tmp... |
oeis/142/A142604.asm | neoneye/loda-programs | 11 | 164737 | <reponame>neoneye/loda-programs
; A142604: Primes congruent to 4 mod 55.
; Submitted by <NAME>
; 59,389,499,719,829,1049,1489,1709,2039,2699,3359,3469,4019,4129,4349,4679,4789,5009,5119,5449,5669,5779,6329,6659,7649,7759,8089,8419,8969,9629,9739,10069,10289,10399,10729,10949,11059,11279,11719,11939,12049,12269,12379,13... |
src/commands.adb | bracke/websitegenerator | 1 | 6659 | with Commands.Generate;
with Commands.Create;
with Commands.Init;
with Commands.Destroy;
with Commands.Publish;
with Commands.Import;
with Commands.Deploy;
with Commands.Announce;
with CLIC.User_Input;
with Commands.Topics.Issues;
with Commands.Topics.Contribute;
package body Commands is
-------------------------
... |
game/data/rom_constants_static.asm | sgadrat/super-tilt-bro | 91 | 179977 | ;TODO re-check that none of these constants are used directly
velocity_table(DEFAULT_GRAVITY, default_gravity_per_system_msb, default_gravity_per_system_lsb)
|
src/Util/Prelude.agda | JLimperg/msc-thesis-code | 5 | 8859 | {-# OPTIONS --without-K --safe #-}
module Util.Prelude where
open import Data.Bool public using
(Bool ; true ; false)
open import Data.Empty public using
(⊥ ; ⊥-elim)
open import Data.Fin public using
(Fin ; zero ; suc)
open import Data.List public using
(List ; [] ; _∷_)
open import Data.Maybe public using
... |
programs/oeis/319/A319701.asm | neoneye/loda | 22 | 104423 | ; A319701: Filter sequence for sequences that are constant for all odd terms >= 3.
; 1,2,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,... |
src/model/io/lse-model-io-turtle.adb | Heziode/lsystem-editor | 2 | 2106 | -------------------------------------------------------------------------------
-- LSE -- L-System Editor
-- Author: Heziode
--
-- License:
-- MIT License
--
-- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and... |
Chapter 06/ReturningValue/ReturningValue/ReturningValue.asm | bpbpublications/Implementing-Reverse-Engineering | 0 | 162296 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.30319.01
TITLE C:\JitenderN\REBook\ReturningValue\ReturningValue\ReturningValue.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC _main
; Function compile flags: /Odtp
_TEXT SEGMENT
_m... |
loops&IO/helloworld.asm | ihasdapie/AssemblyLearning | 1 | 87240 | section .data
helloworld db "<NAME>", 10
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, helloworld
mov rdx, 14
syscall
mov rax, 60
mov rdi, 0
syscall
|
tests/startup_linux_x64.asm | adrianlizarraga/nibble | 3 | 29563 | <filename>tests/startup_linux_x64.asm
SECTION .text
global _start
_start:
xor rbp, rbp
mov edi, dword [rsp]
lea rsi, [rsp + 8]
lea rdx, [rsp + 8*rdi + 16]
xor eax, eax
call main
mov edi, eax
mov rax, 60
syscall
global _nibble_#writeout
_nibble_#writeout:
push rbp
mov rbp, rsp
xchg rdi, rsi
mov rax, 1
mov rdx, rdi
mov ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_21829_2008.asm | ljhsiun2/medusa | 9 | 1189 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x619, %r14
nop
nop
nop
and %rdi, %rdi
movw $0x6162, (%r14)
nop
nop
nop
nop
nop
add $17847, %rbp
lea addresses_WT_ht+0x1c8d9, %r11
nop
nop
nop
nop
add $30419, %rdi
mo... |
LPS/Esercizi/09.05.2022_classe/mips1.asm | Giacomix02/esercitazioni-java | 3 | 176173 |
#long 32 bit
.eqv var_v, 0x10011000
.eqv var_w, 0x10011004
#short signed - unsigned
.eqv var_x, 0x10011008
.eqv var_y, 0x1001100a
.eqv var_z, 0x1001100c
.eqv var_h, 0x1001100e
.eqv var_k, 0x10011010
.eqv var_m, 0x10011012
#signed char
.eqv var_a, 0x10011014
.eqv var_b, 0x10011015
.eqv var_c, 0x10011016
.text
ini... |
models/amalgam/misc/my2.als | transclosure/Amalgam | 4 | 1902 | <filename>models/amalgam/misc/my2.als
abstract sig Player {}
one sig X extends Player {}
one sig O extends Player {}
sig Index {}
sig Board {
turn: Player,
places: Index -> Index -> Player
}
pred moveBuggy[b: Board, r: Index, c: Index, b': Board] {
no b.places[r][c]
b'.turn != b.turn
b'.places = b.places +... |
asm/branch.asm | liuyic00/leros | 0 | 243937 | // Test code
// first instruction is not executed
nop
// second instruction is executed twice
// conditional branch has one cycle delay
// for the condition
//
// test of branch conditions - should never loop
//
start:
load 1
load 0
load 0
load 7 // branch condition
load 0
brnz brnzok
branch start
brnzok:
lo... |
src/bf_interpreter.asm | RysteQ/SBOS | 0 | 167556 | <reponame>RysteQ/SBOS
bf_interpreter:
pusha
mov ax, word BF_MEMORY_SIZE
xor cx, cx
mov di, bf_memory
bf_interpreter_clear_memory:
dec ax
mov [di], byte 0
cmp ax, byte 0
jne bf_interpreter_clear_memory
jmp bf_interpreter_run
bf_interpreter_run:
... |
oeis/172/A172064.asm | neoneye/loda-programs | 11 | 8492 | ; A172064: Expansion of (2/(3*sqrt(1-4*z)-1+4*z))*((1-sqrt(1-4*z))/(2*z))^k with k=7.
; Submitted by <NAME>(s3)
; 1,8,46,230,1068,4744,20476,86662,361711,1494384,6126818,24972326,101320712,409609664,1651162688,6640469816,26655382802,106830738224,427612715516,1709790470780,6830461107736,27266848437608,108780114077196,43... |
theorems/homotopy/Freudenthal.agda | timjb/HoTT-Agda | 0 | 4202 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
import homotopy.WedgeExtension as WedgeExt
import homotopy.SuspAdjointLoop as SAL
module homotopy.Freudenthal where
{- lemma (move this where?) -}
private
move1-left-on-left : ∀ {i} {A : Type i} {x y : A} (p : x == y) (q : x == y)
→ ((! q) ∙ p == idp → p... |
programs/oeis/062/A062708.asm | neoneye/loda | 22 | 160099 | <reponame>neoneye/loda<filename>programs/oeis/062/A062708.asm
; A062708: Write 0,1,2,3,4,... in a triangular spiral; then a(n) is the sequence found by reading the terms along the line from 0 in the direction 0,2,...
; 0,2,13,33,62,100,147,203,268,342,425,517,618,728,847,975,1112,1258,1413,1577,1750,1932,2123,2323,2532... |
src/power.asm | IGJoshua/assembly-sandbox | 1 | 92618 | ;;; power.asm
;;; Taken from the nasm tutorial https://cs.lmu.edu/~ray/notes/nasmtutorial/
; -----------------------------------------------------------------------------
; A 64-bit command line application to compute x^y.
;
; Syntax: power x y
; x and y are (32-bit) integers
; ----------------------------------------... |
.emacs.d/elpa/wisi-2.2.1/wisitoken-parse-lr-mckenzie_recover-explore.adb | caqg/linux-home | 0 | 7686 | -- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) ... |
src/Categories/Category/Instance/FamilyOfSetoids.agda | Trebor-Huang/agda-categories | 279 | 6382 | <filename>src/Categories/Category/Instance/FamilyOfSetoids.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.FamilyOfSetoids where
-- The Category of "Families of Setoids"
-- This fits into this library much better than the Families of Sets
-- This particular formalization should be consider... |
programs/oeis/027/A027785.asm | karttu/loda | 1 | 104474 | ; A027785: a(n) = 6*(n+1)*binomial(n+2,12).
; 66,936,7098,38220,163800,594048,1893528,5441904,14360580,35271600,81477396,178474296,373173528,748843200,1448655000,2711882160,4928324310,8718517080,15049821150,25401694500,41997468240,68124925440,108574099920,170228167200,262852317000,400136327136,601059482856,891661815408... |
Cubical/Relation/Binary/Raw/Construct/StrictToNonStrict.agda | bijan2005/univalent-foundations | 0 | 1696 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Relation.Binary.Raw
module Cubical.Relation.Binary.Raw.Construct.StrictToNonStrict
{a ℓ} {A : Type a}
(_<_ : RawRel A ℓ)
where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Funct... |
src/natools-web-filters.adb | faelys/natools-web | 1 | 8440 | ------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
demo/src/Sprites.adb | 98devin/ada-gba-dev | 7 | 10237 | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with GBA.BIOS;
with GBA.BIOS.Arm;
with GBA.BIOS.Thumb;
with GBA.Display;
with GBA.Display.Backgrounds;
with GBA.Display.Objects;
with GBA.Display.Palettes;
with GBA.Display.Tiles;
with GBA.Memory;
with GBA.Numerics;
with GBA.Input;
with GBA.... |
PrintDigit.asm | Sahilsinggh/MP_SEM4 | 1 | 167720 | section .data
digit: db 0
section .bss
section .text
global _start
_start:
mov eax,8h
call _printEAXDigit
mov eax,1
mov ebx,0
int 80h
_printEAXDigit:
add eax, 30h
mov [digit],eax
mov ecx,digit ;ecx stores const char* while printing String
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2275.asm | ljhsiun2/medusa | 9 | 178898 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xb3ee, %rsi
lea addresses_D_ht+0x39ee, %rdi
nop
nop
nop
nop
nop
sub $45931, %r8
mov $101, %rcx
rep movsb
nop
nop
add %rdi, %rdi
lea addresses_normal_ht+0xee, %... |
alloy4fun_models/trashltl/models/3/BNMArEkk7dKxtZpkv.als | Kaixi26/org.alloytools.alloy | 0 | 880 | open main
pred idBNMArEkk7dKxtZpkv_prop4 {
some f: File | always eventually f in Trash
}
pred __repair { idBNMArEkk7dKxtZpkv_prop4 }
check __repair { idBNMArEkk7dKxtZpkv_prop4 <=> prop4o } |
constants.asm | adhi-thirumala/EvoYellow | 16 | 103080 | <filename>constants.asm
INCLUDE "macros.asm"
INCLUDE "hram.asm"
INCLUDE "vram.asm"
INCLUDE "constants/hardware_constants.asm"
INCLUDE "constants/oam_constants.asm"
INCLUDE "constants/misc_constants.asm"
INCLUDE "constants/pokemon_constants.asm"
INCLUDE "constants/pokedex_constants.asm"
INCLUDE "constants/trainer_con... |
ada/common/midi_synthesizer.ads | FrankBuss/Ada_Synth | 4 | 1663 | <filename>ada/common/midi_synthesizer.ads
with Interfaces; use Interfaces;
with MIDI; use MIDI;
package MIDI_Synthesizer is
Samplerate : constant Float := 44100.0;
type Freq_Table is array (0 .. 127) of Float;
type Generator is record
PhaseIncrement : Float := 0.0;
PhaseAccumulator : Flo... |
software/hal/boards/common/hil/hil.ads | TUM-EI-RCS/StratoX | 12 | 15730 | -- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
with HAL;
with Interfaces; use Interfaces;
with Ada.Unchecked_Conversion;
-- @summary
-- target-independent functions of HIL.
package HIL with
SPARK_Mode... |
libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/mod_34lsub1.asm | kroggen/aergo | 1,602 | 104854 | dnl SPARC v9 mpn_mod_34lsub1 for T3/T4/T5.
dnl Copyright 2005, 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License a... |
oeis/255/A255471.asm | neoneye/loda-programs | 11 | 23598 | ; A255471: a(n) = A255470(2^n-1).
; 1,6,24,100,396,1596,6364,25500,101916,407836,1631004,6524700,26097436,104392476,417564444,1670268700,6681052956,26724255516,106896934684,427587913500,1710351304476,6841405916956,27365622269724,109462491875100,437849961907996,1751399858816796,7005599412897564,28022397696329500,1120895... |
user/primes.asm | frank-liang-lbm/xv6-labs-2020 | 0 | 14726 | <filename>user/primes.asm<gh_stars>0
user/_primes: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <read_left_first>:
@param lpipe:左边的管道符
@param *lfirst:指向读取左边的第一个数据
@return:有数据返回0,无数据返回1
*/
int read_left_first(int lpipe[], int *lfirst)
{
0: 1101 addi... |
testsuite/tests/logging/src/tc_log_prio_and_cat.adb | rocher/Ada_Drivers_Library | 192 | 15884 | <reponame>rocher/Ada_Drivers_Library<filename>testsuite/tests/logging/src/tc_log_prio_and_cat.adb<gh_stars>100-1000
with Ada.Text_IO;
with Logging;
procedure TC_Log_Prio_And_Cat is
type Categories is (Debug, Warning, Error);
Maximum_Message_Length : constant := 64;
package Log is new Logging
(Categori... |
oeis/159/A159460.asm | neoneye/loda-programs | 11 | 178071 | <gh_stars>10-100
; A159460: Numerator of Hermite(n, 9/11).
; Submitted by <NAME>
; 1,18,82,-7236,-189780,3588408,294225144,85684176,-496875078768,-9109635982560,918220473870624,38573287607466432,-1749983724509205312,-143516534253248214144,2922151180747492056960,538832739303459806545152,-908419478651119648952064,-210271... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack20_pkg.ads | best08618/asylo | 7 | 21981 | <reponame>best08618/asylo<gh_stars>1-10
package Pack20_Pkg is
type String_Ptr is access all String;
procedure Modify (Fixed : in out String_Ptr);
end Pack20_Pkg;
|
programs/oeis/062/A062068.asm | neoneye/loda | 22 | 20727 | <filename>programs/oeis/062/A062068.asm
; A062068: a(n) = d(sigma(n)), where d(k) is the number of divisors function (A000005) and sigma(k) is the sum of divisor function (A000203).
; 1,2,3,2,4,6,4,4,2,6,6,6,4,8,8,2,6,4,6,8,6,9,8,12,2,8,8,8,8,12,6,6,10,8,10,4,4,12,8,12,8,12,6,12,8,12,10,6,4,4,12,6,8,16,12,16,10,12,12,1... |
src/stm_board.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 6937 | with System; use System;
with STM32.Device; use STM32.Device;
with STM32.GPIO; use STM32.GPIO;
with STM32.EXTI; use STM32.EXTI;
with STM32.Timers; use STM32.Timers;
with STM32.ADC; use STM32.ADC;
with Ada.Interrupts.Names; use Ada.Interrupts.Names;
with Ada.R... |
source/compiler/compiler-field_descriptors.adb | yannickmoy/protobuf | 12 | 23911 | <gh_stars>10-100
-- MIT License
--
-- Copyright (c) 2020 <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 ... |
programs/oeis/224/A224456.asm | neoneye/loda | 22 | 170879 | ; A224456: The Wiener index of the cyclic phenylene with n hexagons (n>=3).
; 459,1008,1845,3024,4599,6624,9153,12240,15939,20304,25389,31248,37935,45504,54009,63504,74043,85680,98469,112464,127719,144288,162225,181584,202419,224784,248733,274320,301599,330624,361449,394128,428715,465264,503829,544464,587223,632160
mo... |
programs/oeis/096/A096316.asm | neoneye/loda | 22 | 92478 | ; A096316: Given the number wheel 0,1,2,3,4,5,6,7,8,9 then starting with 2, the next number is a prime p number of positions from the previous number found, for p=2,3,...
; 4,7,2,9,0,3,0,9,2,1,2,9,0,3,0,3,2,3,0,1,4,3,6,5,2,3,6,3,2,5,2,3,0,9,8,9,6,9,6,9,8,9,0,3,0,9,0,3,0,9,2,1,2,3,0,3,2,3,0,1,4,7,4,5,8,5,6,3,0,9,2,1,8,1... |
pl0-antlr4/grammar/com/mark/grammar/PLParser.g4 | M4rk9696/animated-octo-barnacle | 1 | 4185 | parser grammar PLParser;
@header { package com.mark.grammar; }
options { tokenVocab=PLLexer; }
program
: block DOT
;
block
: consts? vars? procedure* statement
;
consts
: CONST ID EQUAL NUMBER (COMMA ID EQUAL NUMBER)* COLON
;
vars
: VAR ID (COMMA ID)* COLON
;
procedure
: PROCEDURE ID COLON block... |
test/Fail/IUnivNotFibrant.agda | cruhland/agda | 1,989 | 16659 | <reponame>cruhland/agda<gh_stars>1000+
open import Agda.Primitive
open import Agda.Primitive.Cubical
record Wrap : Set (lsuc lzero) where
field
A : IUniv
|
echo.asm | vishal-prabhu/xv6-lottery-scheduling | 0 | 94755 | <filename>echo.asm
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 8... |
code/test-projects/7-seg-display-test/num_display.asm | pdx-lutter/pdx-ece411-fall2018-kjn | 0 | 29165 | <reponame>pdx-lutter/pdx-ece411-fall2018-kjn<gh_stars>0
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Apr 3 2018) (Linux)
; This file was generated Tue Dec 4 00:28:41 2018
;----------------------------------------------------... |
alloy4fun_models/trashltl/models/4/PXHT7HqkpcvZ3WbJd.als | Kaixi26/org.alloytools.alloy | 0 | 2811 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idPXHT7HqkpcvZ3WbJd_prop5 {
after some File
}
pred __repair { idPXHT7HqkpcvZ3WbJd_prop5 }
check __repair { idPXHT7HqkpcvZ3WbJd_prop5 <=> prop5o } |
alloy4fun_models/trainstlt/models/2/yv7jLwRgXkRcPLof9.als | Kaixi26/org.alloytools.alloy | 0 | 4801 | <filename>alloy4fun_models/trainstlt/models/2/yv7jLwRgXkRcPLof9.als
open main
pred idyv7jLwRgXkRcPLof9_prop3 {
always(no pos)
}
pred __repair { idyv7jLwRgXkRcPLof9_prop3 }
check __repair { idyv7jLwRgXkRcPLof9_prop3 <=> prop3o } |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_670.asm | ljhsiun2/medusa | 9 | 80425 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc795, %rax
nop
nop
nop
nop
add %rcx, %rcx
movb (%rax), %dl
nop
nop
nop
nop
nop
cmp %r10, %r10
lea addresses_D_ht+0x4b95, %rsi
lea addresses_A_ht+0x6776, %rdi
clflush (%rsi)
... |
programs/oeis/097/A097786.asm | neoneye/loda | 22 | 81530 | <gh_stars>10-100
; A097786: a(n)=3a(n-1)+C(n+3,3),n>0, a(0)=1.
; 1,7,31,113,374,1178,3618,10974,33087,99481,298729,896551,2690108,8070884,24213332,72640812,217923405,653771355,1961315395,5883947725,17651844946,52955536862,158866612886,476599841258,1429799526699
mov $1,1
lpb $0
mov $2,$0
sub $0,1
seq $2,52150 ; P... |
test/Fail/Issue3855.agda | shlevy/agda | 1,989 | 11558 | <gh_stars>1000+
-- Andreas, 2019-06-17, LAIM 2019, issue #3855
-- Only allow erased definitions (such as projections of erased fields)
-- in erased context.
open import Common.IO
open import Common.Unit
open import Common.String
open import Common.Bool
record Erased (A : Set) : Set where
constructor erase
field
... |
oeis/088/A088209.asm | neoneye/loda-programs | 11 | 26926 | ; A088209: Numerators of convergents of the continued fraction with the n+1 partial quotients: [1;1,1,...(n 1's)...,1,n+1], starting with [1], [1;2], [1;1,3], [1;1,1,4], ...
; Submitted by <NAME>
; 1,3,7,14,28,53,99,181,327,584,1034,1817,3173,5511,9527,16402,28136,48109,82023,139481,236631,400588,676822,1141489,1921993... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_15343_110.asm | ljhsiun2/medusa | 9 | 25678 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_15343_110.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x10973, %rsi
lea addresses_normal_ht+0x12101, %rdi
nop
nop
dec %rax
mov $98, %rcx
rep movsl
nop
... |
oeis/214/A214683.asm | neoneye/loda-programs | 11 | 89626 | <gh_stars>10-100
; A214683: a(n+3) = -a(n+2) + 2a(n+1) + a(n) with a(0)=-1, a(1)=0, a(2)=-3.
; Submitted by <NAME>
; -1,0,-3,2,-8,9,-23,33,-70,113,-220,376,-703,1235,-2265,4032,-7327,13126,-23748,42673,-77043,138641,-250054,450293,-811760,1462292,-2635519,4748343,-8557089,15418256,-27784091,50063514,-90213440,162556377... |
test/Succeed/Issue2147.agda | shlevy/agda | 1,989 | 9070 | <reponame>shlevy/agda
open import Agda.Builtin.Equality
open import Agda.Builtin.Nat
data ⊤ : Set where
tt : ⊤
foo : Nat → ⊤ → ⊤
foo 0 tt = tt
foo (suc n) tt = foo n tt -- NB tail-recursive
test : foo 100000 tt ≡ tt
test = refl -- memory blows up here
|
programs/oeis/082/A082416.asm | neoneye/loda | 22 | 29530 | <filename>programs/oeis/082/A082416.asm<gh_stars>10-100
; A082416: Parity of A073941(n).
; 1,1,1,0,1,0,0,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0,1,0,1,0,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,0,0,0,1,1,0,1,1,0,0,0,0,0,1,1,1,0,0,0,0,1,0,1,1,0,1,1,1
trn $0,1
seq $0,5428 ; a(n) ... |
russian-peasant-multiplication/src/peasant.adb | jnguyen1098/legacy-software | 1 | 27472 | -----------------------------------------------------------------------------
-- Russian Peasant Multiplication --
-- By: <NAME> (XXXXXXXX) --
-- XXXXXXXX --
-------------... |
rll/src/main/antlr4/com/realitylattice/rll/RLLLexer.g4 | reality-lattice/reality-lattice | 0 | 3953 | /*
* Copyright 2018 <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 ... |
programs/oeis/044/A044387.asm | karttu/loda | 0 | 172496 | ; A044387: Numbers n such that string 5,5 occurs in the base 10 representation of n but not of n-1.
; 55,155,255,355,455,550,655,755,855,955,1055,1155,1255,1355,1455,1550,1655,1755,1855,1955,2055,2155,2255,2355,2455,2550,2655,2755,2855,2955,3055,3155,3255,3355,3455,3550,3655,3755,3855
mov $3,$0
add $0,5
mov $1,6
mov $... |
oeis/021/A021800.asm | neoneye/loda-programs | 11 | 245023 | <reponame>neoneye/loda-programs
; A021800: Decimal expansion of 1/796.
; Submitted by Jon Maiga
; 0,0,1,2,5,6,2,8,1,4,0,7,0,3,5,1,7,5,8,7,9,3,9,6,9,8,4,9,2,4,6,2,3,1,1,5,5,7,7,8,8,9,4,4,7,2,3,6,1,8,0,9,0,4,5,2,2,6,1,3,0,6,5,3,2,6,6,3,3,1,6,5,8,2,9,1,4,5,7,2,8,6,4,3,2,1,6,0,8,0,4,0,2,0,1,0,0,5,0
seq $0,199685 ; a(n) = ... |
source/amf/uml/amf-uml-holders.adb | svn2github/matreshka | 24 | 6557 | <filename>source/amf/uml/amf-uml-holders.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
samples/vasm_oldstyle/PI_gregoryLeibniz/pi.asm | MaverickAlex/x6502 | 0 | 12231 | ; π = (4/1) - (4/3) + (4/5) - (4/7) + (4/9) - (4/11) + (4/13) - (4/15) ...
; Take 4 and subtract 4 divided by 3.
; Then add 4 divided by 5.
; Then subtract 4 divided by 7.
; Continue alternating between adding and subtracting fractions with a numerator of 4
; and a denominator of each subsequent odd number. The mor... |
programs/oeis/245/A245627.asm | jmorken/loda | 1 | 20309 | <reponame>jmorken/loda
; A245627: Base 10 digit sum of 11*n.
; 0,2,4,6,8,10,12,14,16,18,2,4,6,8,10,12,14,16,18,11,4,6,8,10,12,14,16,18,11,13,6,8,10,12,14,16,18,11,13,15,8,10,12,14,16,18,11,13,15,17,10,12,14,16,18,11,13,15,17,19,12,14,16,18,11,13,15,17,19,21,14,16,18,11,13,15,17,19,21,23,16,18,11,13,15,17,19,21,23,25,18... |
programs/oeis/059/A059973.asm | karttu/loda | 0 | 80653 | ; A059973: Expansion of (x + x^2 - 2*x^3) / ( 1 - 4*x^2 - x^4).
; 0,1,1,2,4,9,17,38,72,161,305,682,1292,2889,5473,12238,23184,51841,98209,219602,416020,930249,1762289,3940598,7465176,16692641,31622993,70711162,133957148,299537289,567451585,1268860318,2403763488,5374978561
mov $13,$0
mov $15,$0
lpb $15,1
mov $0,$13
... |
tests/bank_default/2.asm | NullMember/customasm | 414 | 89105 | <reponame>NullMember/customasm
#d8 1, 2, 3, 4
#bankdef a_new_bank {} ; error: default bank |
projects/07/MemoryAccess/StaticTest/StaticTest.asm | WuShaoa/Nand2Tetris | 0 | 9297 | @111
D=A
@SP
A=M
M=D
@SP
M=M+1
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
@StaticTest.8
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@StaticTest.3
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@StaticTest.1
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@StaticTest.3
D=M
@SP
A=M
M=D
@SP
M=M+1
@StaticTest.1... |
src/m3-bg-scx/m3-bg-scx-ds.asm | c-sp/age-test-roms | 0 | 241641 | ; Verified:
; 2021-12-01: CPU CGB E - CPU-CGB-06
; 2021-12-01: CPU CGB B - CPU-CGB-02
;
INCLUDE "hardware.inc"
DEF CART_COMPATIBILITY EQU CART_COMPATIBLE_GBC
DEF DOUBLE_SPEED EQU 1
INCLUDE "m3-bg-scx/m3-bg-scx.inc"
|
P6/data_P6_2/MDTest148.asm | alxzzhou/BUAA_CO_2020 | 1 | 100110 | <filename>P6/data_P6_2/MDTest148.asm<gh_stars>1-10
ori $ra,$ra,0xf
div $5,$ra
mult $5,$5
mult $1,$1
mfhi $6
srav $6,$5,$3
lui $2,16766
addu $1,$6,$2
div $3,$ra
divu $4,$ra
ori $4,$5,36815
mthi $6
sb $2,7($0)
div $5,$ra
mthi $2
lui $5,37788
addiu $5,$5,25373
mflo $1
addu $4,$2,$2
lb $6,12($0)
addu $6,$2,$4
addiu $6,$6,1... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1086.asm | ljhsiun2/medusa | 9 | 88110 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1086.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdx
// Store
lea addresses_PSE+0xe878, %r11
nop
nop
nop
dec %r9
mov $0x5... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-syntax_trees.adb | caqg/linux-home | 0 | 15643 | <gh_stars>0
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at yo... |
programs/oeis/161/A161617.asm | karttu/loda | 1 | 166958 | <reponame>karttu/loda<gh_stars>1-10
; A161617: 8*n^2+20*n+1.
; 1,29,73,133,209,301,409,533,673,829,1001,1189,1393,1613,1849,2101,2369,2653,2953,3269,3601,3949,4313,4693,5089,5501,5929,6373,6833,7309,7801,8309,8833,9373,9929,10501,11089,11693,12313,12949,13601,14269,14953,15653,16369,17101,17849,18613,19393,20189,21001,... |
agda-stdlib/src/Data/Float/Base.agda | DreamLinuxer/popl21-artifact | 5 | 14511 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Floats: basic types and operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Float.Base where
open import Relation.B... |
demos/test.ada | daveshields/AdaEd | 3 | 2697 | with text_io; use text_io;
procedure main is
begin
put_line("It works!");
end main;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.