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 |
|---|---|---|---|---|
arch/ARM/Nordic/svd/nrf52/nrf_svd-spi.ads | rocher/Ada_Drivers_Library | 192 | 26466 | -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without modification,
-- are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice, t... |
tarmi-symbols.adb | DerickEddington/tarmi | 0 | 5479 | -- TODO: Think about memory management issues w.r.t. strings
-- and symbols used in the symbol table. What about string
-- pointers given as arguments to Interned?
-- Newly-allocated strings in other version of Interned?
-- Newly-allocated symbols when a name not already
-- interned? What is the portable semanti... |
src/ili9341-hack.adb | Fabien-Chouteau/bb_pico_bsp | 0 | 28307 | with ILI9341_Regs;
package body ILI9341.Hack is
---------------------
-- Prepare_For_DMA --
---------------------
procedure Prepare_For_DMA (This : in out ILI9341_Device;
X1 : Width;
Y1 : Height;
X2 : Widt... |
Type/Identity/Heterogenous.agda | Lolirofle/stuff-in-agda | 6 | 1209 | <reponame>Lolirofle/stuff-in-agda
module Type.Identity.Heterogenous where
import Lvl
open import Type
data HId {ℓ} : ∀{A : Type{ℓ}}{B : Type{ℓ}} → A → B → Type{Lvl.𝐒(ℓ)} where
instance intro : ∀{T : Type{ℓ}}{x : T} → HId x x
|
programs/oeis/025/A025112.asm | karttu/loda | 1 | 160767 | ; A025112: a(n) = s(1)s(n) + s(2)s(n-1) + ... + s(k)s(n-k+1), where k = floor(n/2), s = (odd natural numbers).
; 3,5,22,30,73,91,172,204,335,385,578,650,917,1015,1368,1496,1947,2109,2670,2870,3553,3795,4612,4900,5863,6201,7322,7714,9005,9455,10928,11440,13107,13685,15558,16206,18297,19019,21340,22140,24703,25585,28402,... |
Transynther/x86/_processed/US/_st_sm_/i9-9900K_12_0xca.log_21829_1654.asm | ljhsiun2/medusa | 9 | 175809 | <filename>Transynther/x86/_processed/US/_st_sm_/i9-9900K_12_0xca.log_21829_1654.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1a81a, %rsi
nop
nop
nop
nop
nop
xor %r11, %r11
and $0xffffffff... |
test/Succeed/Issue4122-match.agda | cruhland/agda | 1,989 | 6745 | {-# OPTIONS --prop #-}
data _≡_ {X : Set} (a : X) : X → Prop where
refl : a ≡ a
postulate
A : Set
P : Prop
p : P
u : P → A
f : {x : A} (q : u p ≡ x) → P
f refl = p -- works in 2.6.0.1
|
libsrc/stdio/ansi/spectrum/f_ansi_scrollup.asm | jpoikela/z88dk | 640 | 241598 | ;
; Spectrum C Library
;
; ANSI Video handling for ZX Spectrum
;
; Handles colors referring to current PAPER/INK/etc. settings
;
; Scrollup
;
;
; $Id: f_ansi_scrollup.asm $
;
SECTION code_clib
PUBLIC ansi_SCROLLUP
EXTERN generic_console_scrollup
.ansi_SCROLLUP
jp generic_console_scrollup
|
exercises/fasl6soal11.asm | amirshnll/assembly-exercises | 4 | 243949 | <filename>exercises/fasl6soal11.asm
; multi-segment executable file template.
data segment
; add your data here!
pkey db 10, 13, "press any key...$"
message db 10, 13, "Result : $"
string db 300 dup("$")
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
; set s... |
programs/oeis/109/A109255.asm | neoneye/loda | 22 | 90794 | ; A109255: a(n) = (p^2 - 1) / 12, where p is the n-th prime of the form 4*k+1.
; 2,14,24,70,114,140,234,310,444,660,784,850,990,1064,1564,1850,2054,2494,2730,3104,3234,4370,4524,4840,5504,6030,6394,6580,7154,8164,8374,9464,10150,10384,11594,12610,13134,13400,13940,14770,15624,16800,17404,17710,21590,22620,24390,25854,2... |
tools-src/gnu/gcc/gcc/config/mips/crti.asm | enfoTek/tomato.linksys.e2000.nvram-mod | 105 | 241549 | <gh_stars>100-1000
/* 4 slots for argument spill area. 1 for cpreturn, 1 for stack.
Return spill offset of 40 and 20. Aligned to 16 bytes for n32. */
.section .init,"ax",@progbits
.globl _init
.type _init,@function
_init:
#ifdef __mips64
daddu $sp,$sp,-48
sd $31,40($sp)
#else
addu $sp,$sp,-32
sw $3... |
libpok/ada/arinc653/apex-health_monitoring.ads | BaldLee/pok | 73 | 20356 | <filename>libpok/ada/arinc653/apex-health_monitoring.ads
-- POK header
--
-- The following file is a part of the POK project. Any modification should
-- be made according to the POK licence. You CANNOT use this file or a part
-- of a file for your own project.
--
-- For more information on... |
libsrc/input/srr/in_KeyPressed.asm | jpoikela/z88dk | 640 | 4565 | ; uint in_KeyPressed(uint scancode)
SECTION code_clib
PUBLIC in_KeyPressed
PUBLIC _in_KeyPressed
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed & HL = 1
; no carry = key not pressed & HL = 0
; use... |
sources/jupyter/jupyter-start_kernel.ads | reznikmm/jupyter | 4 | 8359 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Strings;
with Jupyter.Kernels;
procedure Jupyter.Start_Kernel
(Kernel : in out Jupyter.Kernels.Kernel'Class;
File : League.Strings.Universal_String... |
misc/cpcacid_src/cpcacid_cpctest.asm | floooh/yakc | 106 | 20656 | ;; (c) Copyright <NAME> 2015-2016
;; This code is part of the Arnold emulator distribution.
;; This code is free to distribute without modification
;; this copyright header must be retained.
include "../lib/testdef.asm"
;; cpc tester
org &8000
start:
;;raster int test needed
ld a,2
call &bc0e
ld ix,tests
call run... |
mac_os_scripts/external/change_background.scpt | initialed85/mac_os_scripts | 32 | 3036 | <reponame>initialed85/mac_os_scripts
on run argv
tell application "System Events"
set monitors to a reference to every desktop
set numMonitors to count (monitors)
repeat with monitorIndex from 1 to numMonitors by 1
set picture of item monitorIndex of the monitors to "" & item 1 of argv & "" -- di... |
STLC/Syntax.agda | TrulyNonstrict/STLC | 1 | 3372 | {-# OPTIONS --safe #-}
module STLC.Syntax where
open import Data.Nat using (ℕ; suc)
open import Data.Fin using (Fin) renaming (zero to fzero; suc to fsuc)
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Relation.Nullary using (Dec; yes; no)
private
variable
n : ℕ
data Type : Set... |
programs/oeis/070/A070628.asm | neoneye/loda | 22 | 163570 | ; A070628: n^5 mod 45.
; 0,1,32,18,34,20,36,22,8,9,10,41,27,43,29,0,31,17,18,19,5,36,7,38,9,40,26,27,28,14,0,16,2,18,4,35,36,37,23,9,25,11,27,13,44,0,1,32,18,34,20,36,22,8,9,10,41,27,43,29,0,31,17,18,19,5,36,7,38,9,40,26,27,28,14,0
pow $0,5
mod $0,45
|
src/scroller.asm | onslaught-demogroup/ons_paddo_music_disk | 0 | 171555 | /*
Scroller
*/
.var zp_1 = $ab
.var zp_2 = $ac
.var zp_3 = $ad
.var zp_4 = $ae
.var s_row = 16
.var s_font_page = $78 //stick font
/*
Scroll init
*/
s_init:
lda #s_font_page
jsr s_copy_character_rom
!loop:
.for(var i=0;i<8;i++){
lda (s_charmask + (i * 40)),x
sta ($0400 + ((i + s_row) * ... |
core/lib/groups/FreeAbelianGroup.agda | timjb/HoTT-Agda | 0 | 1677 | <reponame>timjb/HoTT-Agda<filename>core/lib/groups/FreeAbelianGroup.agda
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Empty
open import lib.types.Group
open import lib.types.Int
open import lib.types.List
open import lib.types.Nat
open import lib.types.Pi
... |
Appl/Calendar/Main/mainEventsContent.asm | steakknife/pcgeos | 504 | 164639 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright Geoworks 1996 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: PC GEOS
MODULE: Calendar\Main
FILE: mainEventsContent.asm
AUTHOR: <NAME>, Dec 11, 1996
METHODS:
Name Description
---- -----------... |
examples/examplesPaperJFP/ConsoleInterface.agda | agda/ooAgda | 23 | 11878 | <reponame>agda/ooAgda
module examplesPaperJFP.ConsoleInterface where
open import examplesPaperJFP.NativeIOSafe
open import examplesPaperJFP.BasicIO hiding (main)
module _ where
data ConsoleCommand : Set where
getLine : ConsoleCommand
putStrLn : String → ConsoleCommand
ConsoleResponse : ConsoleComman... |
src/unison/test/fast/Hexagon/speed/gcc.rtlanal.insn_dependent_p_1.asm | Patstrom/disUnison | 88 | 13289 | <filename>src/unison/test/fast/Hexagon/speed/gcc.rtlanal.insn_dependent_p_1.asm
.text
.file "gcc.rtlanal.insn_dependent_p_1.ll"
.hidden insn_dependent_p_1
.globl insn_dependent_p_1
.align 16
.type insn_dependent_p_1,@function
insn_dependent_p_1: // @insn_dependent_p_1
// BB#0:
{
r16 = r2
... |
src/implementation/cl-vector_set.adb | flyx/OpenCLAda | 8 | 28633 | --------------------------------------------------------------------------------
-- 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... |
test/Succeed/Issue296.agda | shlevy/agda | 1,989 | 585 | <filename>test/Succeed/Issue296.agda
module Issue296 where
postulate
Unit : Set
IO : Set → Set
foo : ((A B : Set) → Unit) → IO Unit
bar : (A B : Set) → Unit
{-# BUILTIN IO IO #-}
{-# COMPILE GHC IO = type IO #-}
{-# COMPILE GHC Unit = type () #-}
{-# COMPILE GHC bar = undefined #-}
main : IO Unit
main = ... |
programs/oeis/063/A063905.asm | neoneye/loda | 22 | 92766 | ; A063905: Each prime p appears p times.
; 2,2,3,3,3,5,5,5,5,5,7,7,7,7,7,7,7,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,13,13,13,13,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,... |
src/main/java/org/shirolang/interpreter/Shiro.g4 | jeffreyguenther/shiro | 14 | 1755 | grammar Shiro;
shiro : includeStmt*
shiroStmt*
EOF
;
includeStmt: INCLUDE STRING_LITERAL NEWLINE;
shiroStmt
:
anonymousGraphStmt
| nodeDecl
| graphDecl
| stateDecl
| NEWLINE
;
stateDecl
: STATE stateName BEGIN NEWLINE
stateGraphSelection ... |
programs/oeis/065/A065102.asm | neoneye/loda | 22 | 170225 | ; A065102: a(0) = c, a(1) = p*c^3; a(n+2) = p*c^2*a(n+1) - a(n), for p = 2, c = 3.
; 3,54,969,17388,312015,5598882,100467861,1802822616,32350339227,580503283470,10416708763233,186920254454724,3354147871421799,60187741431137658,1080025197889056045,19380265820571871152,347764759572404624691,6240385406482711373286,1119791... |
Task/Filter/AppleScript/filter-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3772 | <filename>Task/Filter/AppleScript/filter-1.applescript
set array to {1, 2, 3, 4, 5, 6}
set evens to {}
repeat with i in array
if (i mod 2 = 0) then set end of evens to i's contents
end repeat
return evens
|
Common/Predicate.agda | mietek/hilbert-gentzen | 29 | 4077 | module Common.Predicate where
open import Common public
open import Common.Context public
using (Cx ; VCx ; ∅ ; _,_)
-- Predicates.
Pred : ∀ {ℓ} → Set ℓ → Set (sucᴸ ℓ)
Pred {ℓ} U = U → Set ℓ
-- Set membership.
module _ {U : Set} where
infix 3 _∈ᴾ_
_∈ᴾ_ : U → Pred U → Set
A ∈ᴾ P = P A
infix 3 _∉ᴾ_
_... |
macros/chip_macros.asm | StraDaMa/mmbn6-pikachu-boss-battle | 7 | 81253 | <reponame>StraDaMa/mmbn6-pikachu-boss-battle
;Chip Data Types
;Chip Codes
ChipCode_A equ 0x00
ChipCode_B equ 0x01
ChipCode_C equ 0x02
ChipCode_D equ 0x03
ChipCode_E equ 0x04
ChipCode_F equ 0x05
ChipCode_G equ 0x06
ChipCode_H equ 0x07
ChipCode_I equ 0x08
ChipCode_J equ 0x09
ChipCode_K equ 0x0A
ChipCode_L equ... |
nimrodg-parsing/src/main/antlr/NimrodCString.g4 | UQ-RCC/nimrodg | 0 | 466 | <filename>nimrodg-parsing/src/main/antlr/NimrodCString.g4
/*
* Nimrod/G
* https://github.com/UQ-RCC/nimrodg
*
* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2019 The University of Queensland
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian... |
fastmodel-transform/fastmodel-transform-zen/src/main/antlr4/com/aliyun/fastmodel/transform/zen/parser/FastModelZenLexer.g4 | alibaba/fast-modeling-language | 9 | 7146 | <reponame>alibaba/fast-modeling-language<filename>fastmodel-transform/fastmodel-transform-zen/src/main/antlr4/com/aliyun/fastmodel/transform/zen/parser/FastModelZenLexer.g4<gh_stars>1-10
lexer grammar FastModelZenLexer;
channels { WS_CHANNEL, COMMENT_CHANNEL }
EQUAL:'=';
LESSTHAN:'<';
GREATERTHAN:'>';
EQUAL_NS : '<=>'... |
tests/tk-labelframe-test_data.ads | thindil/tashy2 | 2 | 11207 | package Tk.Labelframe.Test_Data is
end Tk.Labelframe.Test_Data;
|
agda/BBSTree/Properties.agda | bgbianchi/sorting | 6 | 199 | <gh_stars>1-10
open import Relation.Binary.Core
module BBSTree.Properties {A : Set}
(_≤_ : A → A → Set)
(trans≤ : Transitive _≤_) where
open import BBSTree _≤_
open import Bound.Total A
open import Bound.Total.Order.Properties _≤_ trans≤
open import List.Order.Simple _≤_
op... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_3_15.asm | ljhsiun2/medusa | 9 | 19022 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1a1f2, %r9
nop
inc %rax
mov $0x6162636465666768, %rcx
movq %rcx, %xmm6
movups %xmm6, (%r9)
nop
nop
nop
nop
and $52467, %rsi
lea addresses_normal_ht+0x1b0b2, %rsi... |
programs/oeis/070/A070515.asm | karttu/loda | 1 | 12856 | <filename>programs/oeis/070/A070515.asm
; A070515: a(n) = n^4 mod 11.
; 0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,... |
QuickTag/QTagAppDelegate.applescript | Ryan0751/QuickTag | 1 | 4239 | --
-- QTagAppDelegate.applescript
-- QuickTag
--
-- Created by <NAME> on 12/14/13.
-- Copyright (c) 2014 <NAME>. All rights reserved.
--
script QTagAppDelegate
property parent : class "NSObject"
property myTitle : "QuickTag"
-- Shared user defaults
property defaults : missing value
-- Li... |
alloy4fun_models/trashltl/models/17/ZXmB8Q9qwwERJwvqZ.als | Kaixi26/org.alloytools.alloy | 0 | 2440 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idZXmB8Q9qwwERJwvqZ_prop18 {
all p:Protected | always p in File - Protected iff after p in Trash
}
pred __repair { idZXmB8Q9qwwERJwvqZ_prop18 }
check __repair { idZXmB8Q9qwwERJwvqZ_prop18 <=> prop18o } |
alloy4fun_models/trashltl/models/5/R9zoZdwgggne2SXaf.als | Kaixi26/org.alloytools.alloy | 0 | 3040 | open main
pred idR9zoZdwgggne2SXaf_prop6 {
all f:File | f in Trash implies (always f in Trash)
}
pred __repair { idR9zoZdwgggne2SXaf_prop6 }
check __repair { idR9zoZdwgggne2SXaf_prop6 <=> prop6o } |
alice2/brads_alice2_archive/asm/strcpy.asm | lkesteloot/alice | 63 | 104856 |
;
; char *strcpy(char *dst, char *src) -- just like C
;
_strcpy
PUSH IY
LD IY, 0
ADD IY, SP
PUSH AF
PUSH IX
LD L, (IY + 4) ; destination into IX
LD H, (IY + 5)
PUSH HL
PUSH HL
POP IX
LD L, (IY + 6) ; source into HL
LD H, (IY + 7)
STRCPY_NEXT_BYTE
LD A, (HL)
LD (IX), A
INC HL
INC IX
CP 0
JP NZ, ... |
Relator/Congruence/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 58 | module Relator.Congruence.Proofs where
import Lvl
open import Functional
open import Logic.Propositional
open import Logic.Predicate
-- TODO: open import Structure.Function.Domain
open import Structure.Relator.Equivalence
open import Structure.Relator.Properties
open import Relator.Congruence
open import Relator.... |
data/pokemon/base_stats/pinsir.asm | AtmaBuster/pokeplat-gen2 | 6 | 26490 | db 0 ; species ID placeholder
db 65, 125, 100, 85, 55, 70
; hp atk def spd sat sdf
db BUG, BUG ; type
db 45 ; catch rate
db 200 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 25 ; step cycles to hatch
INCBIN "gfx/pokemon/pinsir/front.dimensions"
db GROWTH_SLOW ; growth ra... |
test/Fail/Issue1994.agda | KDr2/agda | 0 | 13886 | {- Example by <NAME>, 2016-05-23 -}
{-# OPTIONS --rewriting --cubical-compatible #-}
open import Agda.Builtin.Equality public
infix 6 I─_
postulate
𝕀 : Set
O : 𝕀
I : 𝕀
I─_ : 𝕀 → 𝕀
{-# BUILTIN REWRITE _≡_ #-}
postulate
I─O≡I : I─ O ≡ I
{-# REWRITE I─O≡I #-}
data Pth ... |
programs/oeis/106/A106387.asm | neoneye/loda | 22 | 101511 | ; A106387: Numbers j such that 6j^2 + 6j + 1 = 11k.
; 4,6,15,17,26,28,37,39,48,50,59,61,70,72,81,83,92,94,103,105,114,116,125,127,136,138,147,149,158,160,169,171,180,182,191,193,202,204,213,215,224,226,235,237,246,248,257,259,268,270,279,281,290,292,301,303
mov $1,$0
div $0,2
mul $0,7
add $0,$1
add $0,$1
add $0,4
|
specs/ada/server/ees/tkmrpc-dispatchers-ees.ads | DrenfongWong/tkm-rpc | 0 | 654 | with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Dispatchers.Ees is
procedure Dispatch
(Req : Request.Data_Type;
Res : out Response.Data_Type);
-- Dispatch EES request to concrete operation handler.
end Tkmrpc.Dispatchers.Ees;
|
oeis/098/A098662.asm | neoneye/loda-programs | 11 | 175296 | ; A098662: E.g.f. BesselI(0,2*sqrt(3)*x) + BesselI(1,2*sqrt(3)*x)/sqrt(3).
; 1,1,6,9,54,90,540,945,5670,10206,61236,112266,673596,1250964,7505784,14073345,84440070,159497910,956987460,1818276174,10909657044,20827527084,124965162504,239516561466,1437099368796,2763652632300,16581915793800,31979409030900,191876454185400,3... |
lib/libc/setjmp.asm | archibate/Lake-OS | 1 | 89889 | <reponame>archibate/Lake-OS
; vim: ft=nasm ai
[BITS 32]
global setjmp
[SECTION .text]
setjmp:
mov [ecx+0], esi
mov [ecx+4], edi
mov [ecx+8], ebx
mov [ecx+12], ebp
mov [ecx+16], esp
ret
longjmp:
mov esi, [ecx+0]
mov edi, [ecx+4]
mov ebx, [ecx+8]
mov ebp, [ecx+12]
mov esp, [ecx+16]
mov eax, edx
ret
|
testfiles/loop.asm | ger-ald/pcmac | 0 | 169106 | ;LOOP.ASM
;Demo program for looping directives
;This file contains two macro definitions
;for the same purpose. The first version (DEFS)
;works when the argument is 0. The second one
;works only for argument greater then zero.
;This program can not be compiled because
;the last macro tries to generate ... |
_incObj/Sonic Floor.asm | kodishmediacenter/msu-md-sonic | 9 | 173005 | ; ---------------------------------------------------------------------------
; Subroutine for Sonic to interact with the floor after jumping/falling
; ---------------------------------------------------------------------------
; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
Sonic_Floor... |
programs/oeis/074/A074092.asm | karttu/loda | 0 | 99325 | ; A074092: Number of plane binary trees of size n+3 and contracted height n.
; 1,2,8,40,144,448,1280,3456,8960,22528,55296,133120,315392,737280,1703936,3899392,8847360,19922944,44564480,99090432,219152384,482344960,1056964608,2306867200,5016387584,10871635968,23488102400
mov $1,2
mov $2,$0
mov $3,$0
lpb $2,1
lpb $0,... |
progs/modulo-viluon.asm | CoderPuppy/viluons-machine | 0 | 6254 | ?K2 2
K2--
JMP -3
?K3 2
K3--
JMP -3
?K7 3
K1++
K7--
JMP -4
?K1 4
K7++
K2++
K1--
JMP -5
?K8 3
K1++
K8--
JMP -4
?K1 4
K8++
K3++
K1--
JMP -5
?K2 17
?K3 3
K2--
K3--
JMP -5
?K7 2
K7--
JMP -3
?K2 3
K1++
K2--
JMP -4
?K1 4
K2++
K7++
K1--
JMP -5
... |
src/lv-tasks.ads | Fabien-Chouteau/ada-lvlg | 3 | 6349 | <reponame>Fabien-Chouteau/ada-lvlg
with System;
package Lv.Tasks is
type Instance is private;
type Prio_T is (Prio_Off,
Prio_Lowest,
Prio_Low,
Prio_Mid,
Prio_High,
Prio_Highest,
Prio_Num);
-- ... |
oeis/077/A077828.asm | neoneye/loda-programs | 11 | 244031 | ; A077828: Expansion of 1/(1-3*x-3*x^2-3*x^3).
; Submitted by <NAME>(s2)
; 1,3,12,48,189,747,2952,11664,46089,182115,719604,2843424,11235429,44395371,175422672,693160416,2738935377,10822555395,42763953564,168976333008,667688525901,2638286437419,10424853888984,41192486556912,162766880649945,643152663287523
mov $2,1
lpb... |
llvm-gcc-4.2-2.9/gcc/ada/s-tasinf-solaris.ads | vidkidz/crossbridge | 1 | 1442 | <filename>llvm-gcc-4.2-2.9/gcc/ada/s-tasinf-solaris.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
kernel/memory/pagemanager.asm | Twometer/nekosys | 1 | 171390 | <reponame>Twometer/nekosys
global enable_paging
enable_paging:
push eax
mov eax, cr0
or eax, 0x80000000 ; set paging bit
mov cr0, eax
pop eax
ret
global load_page_directory
load_page_directory:
push eax
mov eax, [esp + 8]
mov cr3, eax
pop eax
ret |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1299.asm | ljhsiun2/medusa | 9 | 90312 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1299.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x8f0c, %r15
clflush (%r15)
nop
nop
nop
add $48828, %r11
movb $0... |
EMPU_spec.asm | Lisoph/empu | 0 | 179360 | <reponame>Lisoph/empu<filename>EMPU_spec.asm<gh_stars>0
; EMPU (Eazy memory processing unit) V1.0 Spec
; No registers - all operations operate on memory directly.
; EMPU has one dynamic addressing mode instead of a direct, register indirect and memory indirect.
; The dynamic addressing mode can achieve indirect addres... |
src/lv-objx-preload.ads | Fabien-Chouteau/ada-lvlg | 3 | 23425 | <filename>src/lv-objx-preload.ads
with Lv.Style;
with System;
package Lv.Objx.Preload is
subtype Instance is Obj_T;
type Type_T is (Type_Spinning_Arc);
type Style_T is (Style_Main);
-- Create a pre loader objects
-- @param par pointer to an object, it will be the parent of the new pre loader
--... |
_build/dispatcher/jmp_ippsECCPSetPointAtInfinity_453c9f69.asm | zyktrcn/ippcp | 1 | 6864 | <reponame>zyktrcn/ippcp<gh_stars>1-10
extern m7_ippsECCPSetPointAtInfinity:function
extern n8_ippsECCPSetPointAtInfinity:function
extern y8_ippsECCPSetPointAtInfinity:function
extern e9_ippsECCPSetPointAtInfinity:function
extern l9_ippsECCPSetPointAtInfinity:function
extern n0_ippsECCPSetPointAtInfinity:function
extern... |
examples/accel.adb | JeremyGrosser/sensors | 1 | 16131 | --
-- Copyright (C) 2022 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with Ada.Text_IO;
with Text_Format; use Text_Format;
with HAL.SPI;
with HAL;
with RP.Clock;
with RP.Device;
with RP.GPIO;
with RP.SPI;
with Pico;
with ADXL345;
procedure Accel is
Port : RP.SPI.SPI_Port renames RP.Device.SP... |
programs/oeis/081/A081032.asm | karttu/loda | 1 | 87549 | ; A081032: Positions of black keys on piano keyboard, start with A0 = the 1st key.
; 2,5,7,10,12,14,17,19,22,24,26,29,31,34,36,38,41,43,46,48,50,53,55,58,60,62,65,67,70,72,74,77,79,82,84,86
mul $0,12
mov $1,$0
add $1,14
div $1,5
|
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_logb.asm | jpoikela/z88dk | 640 | 4535 | <gh_stars>100-1000
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_logb
EXTERN am48_logb
defc asm_logb = am48_logb
|
conf/S18_GoTwo_pingpong.asm | liffiton/256asm | 0 | 15739 | <gh_stars>0
# PingPong in GoTwoAssembly
#
# Authors: <NAME> and <NAME>
# Date: April, 2018
#
# All variables
# ballPos: x/y $1,$2 (x is horizontal)
# ballPixel $14
# direction: horizontal/vertical (+1/-1) $3,$4
# left pad (+8 for 'mid' pixel) $5
# right pad (+8 for 'mid' pixel) $6
# left pad score $8 ... |
Userland/SampleCodeModule/asm/libasm.asm | ssandrini/Arqui_TPE | 0 | 26992 | GLOBAL _write
GLOBAL _getBuffer
GLOBAL _getTime
GLOBAL _getReg
GLOBAL _getMem
GLOBAL _changeScreen
GLOBAL _clearScreen
GLOBAL _quadratic
GLOBAL _exc6Trigger
GLOBAL _getCpuInfo
GLOBAL _FtoCelcius
GLOBAL _CtoFahren
GLOBAL _rectToPolar
section .text
; void _getBuffer(char * buffer, int bytes); ... |
extern/gnat_sdl/gnat_sdl2/src/sdl_log_h.ads | AdaCore/training_material | 15 | 25457 | <filename>extern/gnat_sdl/gnat_sdl2/src/sdl_log_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with stdarg_h;
with System;
package SDL_log_h is
SDL_MAX_LOG_MESSAGE : constant := 4096; -- ..\SDL2_tmp\SDL_log.h:54
-- Simple DirectMedia Layer
... |
test.asm | MaoKo/gFGFX | 2 | 99874 |
virtual at 0H
include "token_c.inc"
end virtual
virtual at 0H
_raw:: file "test.c"
_size = ($ - $$)
end virtual
macro _restore_state? _start?*, _last?*, _backup?*, _token?*, _count?*, _stream?*
local _size, _symbol
if (_start = 0H) ; reach DEAD state
if (_last = 0H)
error "lexing error"... |
code/alloy/psm_statecoverage_guards.als | thesnapdragon/msc-thesis | 0 | 3853 | module psm_statecoverage
open util/integer
abstract sig System {}
abstract sig State {system: one System}
abstract sig Transition {from, to: one State}
one sig Initial, End extends State {}
sig Coverage { paths: some Path }
sig Path { firstStep: Step }
sig Step {
from, to: State,
via: Transition,
nextStep: lone ... |
programs/oeis/111/A111889.asm | jmorken/loda | 1 | 22923 | ; A111889: A repeated permutation of {0,...,8}.
; 0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2
mov $1,$0
mul $1,15
add $1,13
mul $0,$1
lpb $0
mod $0,9
lpe
mov $1,$0
|
agda/Properties/ConstructiveField.agda | mchristianl/synthetic-reals | 3 | 10914 | {-# OPTIONS --cubical --no-import-sorts #-}
open import Bundles
module Properties.ConstructiveField {ℓ ℓ'} (F : ConstructiveField {ℓ} {ℓ'}) where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
private
variable
ℓ'' : Level
open import Cubical.Foundations.Everything renaming... |
data/moves.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 24776 | Moves:
; Characteristics of each move.
move: macro
db \1 ; animation (interchangeable with move id)
db \2 ; effect
db \3 ; power
db \4 ; type
db \5 percent ; accuracy
db \6 ; pp
endm
move POUND, NO_ADDITIONAL_EFFECT, 40, NORMAL, 100, 35
MoveEnd:
move KARATE_CHOP, NO_ADDITIONAL_EFFECT, ... |
electrum/src/main/resources/models/examples/case_studies/chord.als | haslab/Electrum | 29 | 3929 | <gh_stars>10-100
module examples/case_studies/chord
/*
* Models the chord distributed hash table lookup protocol.
*
* For a detailed description, see:
* http://www.pdos.lcs.mit.edu/papers/chord:sigcomm01/
*/
open util/relation as rel
sig Id {next: Id}
fact {all i: Id | Id in i.*next}
/**
* true iff i preced... |
programs/oeis/021/A021036.asm | karttu/loda | 1 | 3799 | ; A021036: Decimal expansion of 1/32.
; 0,3,1,2,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
add $$0,4
add $0,1
mov $1,$0
add $4,2
mov $3,$4
add $$4,3
sub $3,1
mov $$3,$$0
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_43_1444.asm | ljhsiun2/medusa | 9 | 245210 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_43_1444.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a59e, %rax
sub %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, (%rax)
nop
... |
alloy4fun_models/trashltl/models/5/GDiwgdAAZYNSCzYJG.als | Kaixi26/org.alloytools.alloy | 0 | 4707 | <filename>alloy4fun_models/trashltl/models/5/GDiwgdAAZYNSCzYJG.als
open main
pred idGDiwgdAAZYNSCzYJG_prop6 {
always all f:Trash | f in Trash
}
pred __repair { idGDiwgdAAZYNSCzYJG_prop6 }
check __repair { idGDiwgdAAZYNSCzYJG_prop6 <=> prop6o } |
Document-Closers/Close-All-Un-Saved-Documents.applescript | boisy/AppleScripts | 116 | 3782 | <reponame>boisy/AppleScripts<filename>Document-Closers/Close-All-Un-Saved-Documents.applescript
tell application "System Events" to set frontapp to name of first process whose frontmost is true
tell application frontapp
activate
repeat with i from (count of documents) to 1 by -1
set thisDocument to document i
tr... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_730_142.asm | ljhsiun2/medusa | 9 | 89946 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1d6f1, %rsi
lea addresses_D_ht+0x18631, %rdi
nop
nop
nop
sub %r12, %r12
mov $18, %rcx
rep movsw
nop
inc %rbp
lea addresses_D_ht+0x1b691, %rsi
lea addresses_UC_ht+0x4bf... |
gfx/pokemon/meditite/anim.asm | Ebernacher90/pokecrystal-allworld | 0 | 23655 | frame 1, 08
frame 2, 18
frame 3, 12
frame 1, 08
endanim |
programs/oeis/130/A130460.asm | neoneye/loda | 22 | 97971 | <filename>programs/oeis/130/A130460.asm<gh_stars>10-100
; A130460: Infinite lower triangular matrix,(1,0,0,0,...) in the main diagonal and (1,2,3,...) in the subdiagonal.
; 1,1,0,0,2,0,0,0,3,0,0,0,0,4,0,0,0,0,0,5,0,0,0,0,0,0,6,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,... |
src/implementation/yaml-inspect.adb | persan/AdaYaml | 32 | 16360 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Exceptions;
with Yaml.Events.Queue;
with Yaml.Parser;
With GNAT.Strings;
procedure Yaml.Inspect (Input : String) is
use GNAT.Strings;
type Error_Kind is (None, From_Lexer, From_Parser);
P... |
oeis/142/A142647.asm | neoneye/loda-programs | 11 | 99764 | ; A142647: Primes congruent to 15 mod 56.
; Submitted by <NAME>
; 71,127,239,463,631,743,911,967,1303,1471,1583,2087,2143,2311,2423,2591,2647,2927,3319,3767,3823,4159,4271,4327,4663,4831,4943,4999,5167,5279,5503,5783,5839,6007,6287,6343,6679,6791,6959,7127,7351,7687,8191,8527,8807,8863,9199,9311,9479,9871,10039,10151,1... |
src/main/fragment/mos6502-common/_deref_pwsz1=_deref_pwsz2.asm | jbrandwood/kickc | 2 | 242431 | <reponame>jbrandwood/kickc
ldy #0
lda ({z2}),y
sta ({z1}),y
iny
lda ({z2}),y
sta ({z1}),y |
Task/Sorting-algorithms-Merge-sort/Ada/sorting-algorithms-merge-sort-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 7322 | generic
type Element_Type is private;
type Index_Type is (<>);
type Collection_Type is array(Index_Type range <>) of Element_Type;
with function "<"(Left, Right : Element_Type) return Boolean is <>;
package Mergesort is
function Sort(Item : Collection_Type) return Collection_Type;
end MergeSort;
|
src/pcap_get_selectable_fd.ads | persan/a-libpcap | 0 | 29725 | <reponame>persan/a-libpcap
function loop
(Self : Pcap_T ;
Arg2 : int;
Arg3 : Pcap_Handler;
Arg4 : access Unsigned_Char) return Integer;
function Dispatch
(Self : Pcap_T ;
Arg2 : int;
Arg3 : Pcap_Handler;
Arg4 : access Unsigned_Char) return Integer;
fu... |
test/Compiler/simple/Issue1632.agda | shlevy/agda | 1,989 | 865 | <filename>test/Compiler/simple/Issue1632.agda
{-# OPTIONS --copatterns #-}
open import Common.Prelude
record R : Set where
field
f1 : Nat
f2 : String
r : R
R.f1 r = 5
R.f2 r = "yes"
main = putStrLn (R.f2 r)
|
src/main/resources/project-templates/aws_web_server_blocks/src/@_project_name_@.ads | WinterAlexander/Ada-IntelliJ | 17 | 6722 | <reponame>WinterAlexander/Ada-IntelliJ
package @_Project_Name_@ is
pragma Pure;
Host : constant String := "@_HOST_@";
Port : constant := @_PORT_@;
end @_Project_Name_@;
|
data/pokemon/dex_entries/torterra.asm | AtmaBuster/pokeplat-gen2 | 6 | 95312 | db "CONTINENT@" ; species name
db "Groups of this"
next "#MON migrating"
next "in search of water"
page "are commonly"
next "mistaken for"
next "moving forests.@"
|
programs/oeis/187/A187012.asm | karttu/loda | 0 | 20697 | ; A187012: Antidiagonal sums of A103516.
; 1,2,5,4,8,6,11,8,14,10,17,12,20,14,23,16,26,18,29,20,32,22,35,24,38,26,41,28,44,30,47,32,50,34,53,36,56,38,59,40,62,42,65,44,68,46,71,48,74,50,77,52,80,54,83,56,86,58,89,60,92,62,95,64,98,66,101,68,104,70,107,72,110,74,113,76,116,78,119,80,122,82,125,84,128,86,131,88,134,90,13... |
libsrc/math/genmath/dmul.asm | andydansby/z88dk-mk2 | 1 | 13344 | ;
; Z88dk Generic Floating Point Math Library
;
;
;
; $Id: dmul.asm,v 1.1 2008/07/27 21:44:57 aralbrec Exp $:
XLIB dmul
LIB fmul
.dmul
pop hl ;ret address
pop de
pop ix
pop bc
push hl
jp fmul
|
programs/oeis/017/A017176.asm | karttu/loda | 1 | 93866 | ; A017176: (9n+1)^4.
; 1,10000,130321,614656,1874161,4477456,9150625,16777216,28398241,45212176,68574961,100000000,141158161,193877776,260144641,342102016,442050625,562448656,705911761,875213056
mul $0,9
add $0,1
pow $0,4
mov $1,$0
|
src/css-core.ads | stcarrez/ada-css | 3 | 30167 | -----------------------------------------------------------------------
-- css-core -- Core CSS API definition
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- Yo... |
programs/oeis/124/A124152.asm | karttu/loda | 0 | 99607 | ; A124152: a(n) = Fibonacci(6, n).
; 0,8,70,360,1292,3640,8658,18200,34840,61992,104030,166408,255780,380120,548842,772920,1065008,1439560,1912950,2503592,3232060,4121208,5196290,6485080,8017992,9828200,11951758,14427720,17298260,20608792,24408090,28748408,33685600,39279240,45592742,52693480,60652908,69546680,79454770,... |
Aurora/Aurora/x64/Debug/ioquery.asm | manaskamal/aurora-xeneva | 8 | 11275 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?ioquery@@YAXHHPEAX@Z ; ioquery
EXTRN ?vfs_ioquery@@YAHPEAU_vfs_node_@@HPEAX@Z:PROC ; vfs_ioquery
EXTRN x64_cli:PROC
EXTRN ?get_current_thread@@YAPEAU_thread_@@XZ:PROC ;... |
wof/lcs/123p/E.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 23463 | copyright zengfr site:http://github.com/zengfr/romhack
0010D0 rts [123p+ C, 123p+ E, enemy+ C, enemy+ E]
007D44 move.b #$4, ($2a,A0) [123p+ C, 123p+ E, enemy+ C, enemy+ E]
011CEE clr.l ($c,A0) [123p+ 40, enemy+40]
011CF2 addq.b #2, ($2b,A0) [123p+ C, 123p+ E, enemy+ C, enemy+ E]
011D1E jsr $2470.w [... |
libsrc/_DEVELOPMENT/l/z80/longlong/l_neg_64_mhl.asm | jpoikela/z88dk | 640 | 101211 | <filename>libsrc/_DEVELOPMENT/l/z80/longlong/l_neg_64_mhl.asm
SECTION code_clib
SECTION code_l
PUBLIC l_neg_64_mhl
EXTERN l_cpl_64_mhl
l_neg_64_mhl:
; negate 64-bit number at address hl
;
; enter : hl = longlong *
;
; exit : *longlong = -longlong
;
; uses : af, hl
push hl
call l_cpl_6... |
test/Succeed/RecursiveInstanceSearch.agda | shlevy/agda | 1,989 | 6468 | <filename>test/Succeed/RecursiveInstanceSearch.agda
module RecursiveInstanceSearch where
open import Common.Prelude
open import Common.Product
_&&_ : Bool → Bool → Bool
true && b = b
false && _ = false
record Eq (A : Set) : Set where
constructor eq
field
_==_ : A → A → Bool
open Eq {{...}} public
instance
... |
tests/syntax_examples/src/basic_declaration-protected_body_stub_name.adb | TNO/Dependency_Graph_Extractor-Ada | 1 | 4190 | separate(Basic_Declaration)
protected body Protected_Body_Stub_Name is
end Protected_Body_Stub_Name;
|
programs/oeis/021/A021466.asm | neoneye/loda | 22 | 104831 | <gh_stars>10-100
; A021466: Decimal expansion of 1/462.
; 0,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2,1,6,4,5,0,2
add $0,1
mov $1,10
pow $1,$0
mul $1,8
div $1,3696
mod $1,10
mov... |
utils/disk-tools/split/io.asm | vbmacher/qsOS | 1 | 96398 | ;
; Extended Operating System Loader (XOSL)
; Copyright (c) 1999 by <NAME>
;
; This code is distributed under GNU General Public License (GPL)
;
; The full text of the license can be found in the GPL.TXT file,
; or at http://www.gnu.org
;
.model compact
.386p
.code
... |
CISP 310/M6 - Procedures and Macros/A7_Calculator.asm | gb-camera/college-hw | 0 | 4310 | <gh_stars>0
; CISP 310 - <NAME>
; Assignment 7 - Calculator
; 11/08/2020
INCLUDE io.h
.DATA
; data
operator BYTE 11 DUP (?)
; program variables
prompt1 BYTE "Enter first number.", 0
prompt2 BYTE "Enter operator.", 0
prompt3 BYTE "Enter second number."
string BYTE 40 DUP (?)
resultLb BYTE "Operation result is", 0
res... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.