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 |
|---|---|---|---|---|
decoder.ads | SMerrony/dgemua | 2 | 9411 | -- MIT License
-- Copyright (c) 2021 <NAME>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, p... |
examples/check_sig.adb | ytomino/gmp-ada | 4 | 11580 | with GMP.Z;
with GMP.Q;
with GMP.F;
with GMP.FR;
with GMP.C;
procedure check_sig is
-- numeric
generic
type T is private;
with function Image (Value : T; Base : GMP.Number_Base) return String is <>;
with function Value (Image : String; Base : GMP.Number_Base) return T is <>;
pragma Unreferenced (Image);
pra... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2538.asm | ljhsiun2/medusa | 9 | 85627 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb7fc, %rsi
lea addresses_UC_ht+0x276, %rdi
nop
nop
nop
nop
nop
add $49727, %r9
mov $22, %rcx
rep movsl
and %r8, %r8
lea addresses_UC_ht+0xd1c, %rsi
lea addresse... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sdcc_iy/w_vector_append_callee.asm | meesokim/z88dk | 0 | 4942 | <filename>libsrc/_DEVELOPMENT/adt/w_vector/c/sdcc_iy/w_vector_append_callee.asm
; size_t w_vector_append_callee(b_vector_t *v, void *item)
SECTION code_adt_w_vector
PUBLIC _w_vector_append_callee
_w_vector_append_callee:
pop af
pop hl
pop bc
push af
INCLUDE "adt/w_vector/z80/asm_w_vector_append.... |
examples/a/Assembly.asm | TiagoDanin-Forks/hello-worlds | 81 | 241864 | <filename>examples/a/Assembly.asm
segment .text
global _start
section .data
xx db 'Hello world', 0xa
len equ $ - xx
section .text
_start:
mov rax, 0
mov rcx, 0
mov rbx, 0
mov rsi, 0
mov rdx, 0
mov rax, 1
mov edx, len
mov rsi, xx
mov rdi, 1
syscall
mov rax, 60
xor rdi, rdi
syscall
|
2-low/collada/applet/parse_box/launch_parse_box.adb | charlie5/lace | 20 | 14118 | <reponame>charlie5/lace<filename>2-low/collada/applet/parse_box/launch_parse_box.adb
with
collada.Document;
procedure launch_parse_Box
--
-- Loads an xml file, parses it into a collada document.
--
is
the_Asset : collada.Document.item := collada.document.to_Document ("./box.dae")
with unreferenced;
begin
... |
data/baseStats/pineco.asm | longlostsoul/EvoYellow | 16 | 88594 | ;PinecoBaseStats:: not added yet
db DEX_PINECO ; pokedex id
db 50 ; base hp
db 65 ; base attack
db 90 ; base defense
db 15 ; base speed
db 35 ; base special
db BUG ; species type 1
db BUG ; species type 2
db 190 ; catch rate
db 60 ; base exp yield
INCBIN "pic/ymon/pineco.pic",0,1 ; 55, sprite dimensions
d... |
2d/lbitblt.asm | arbruijn/d1dos | 2 | 23165 | <filename>2d/lbitblt.asm
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USER... |
examples/plasma.asm | feilipu/TMS9918A | 1 | 7368 | ; Plasma Effect for TMS9918
;
; Based on 6809 Plasma Code by <NAME> (msarnoff.org)
; Ported to Z80 by <NAME>
;
; Original source: https://github.com/74hc595/Ultim809/blob/master/code/user/plasma/plasma.asm
ramtop: equ $ffff
im1vect: equ $38 ; location of interrupt mode 1 vector
... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/atan.asm | jpoikela/z88dk | 640 | 179959 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _atan
EXTERN cm48_sdcciy_atan
defc _atan = cm48_sdcciy_atan
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_898.asm | ljhsiun2/medusa | 9 | 242766 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
lea addresses_A+0x10ac4, %rsi
lea addresses_WC+0x1a2ec, %rdi
nop
nop
dec %rbp
mov $122, %rcx
rep movsl
nop
sub $38421, %rcx
// Store... |
orka/src/gl/implementation/gl-objects.adb | onox/orka | 52 | 23666 | <filename>orka/src/gl/implementation/gl-objects.adb
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2012 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
-... |
include/bits_types_struct_statx_h.ads | docandrew/troodon | 5 | 13157 | <filename>include/bits_types_struct_statx_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
with bits_types_struct_statx_timestamp_h;
package bits_types_struct_statx_h is
-- Definition of the generic version of struct statx.
-- Copyright (C) 2018-2021 Fre... |
asm/kernel/kernel-jump.asm | damilolarandolph/pong-os | 2 | 1060 | <gh_stars>1-10
[bits 32]
[extern main]
section .header
vbe_info:
times 8 dw 0
section .text
global _start
_start:
call main
jmp $
|
audio/sfx/cry0c_1.asm | opiter09/ASM-Machina | 1 | 81821 | <filename>audio/sfx/cry0c_1.asm
SFX_Cry0C_1_Ch5:
duty_cycle_pattern 3, 0, 3, 0
square_note 8, 15, 5, 1536
square_note 2, 13, 2, 1592
square_note 2, 12, 2, 1584
square_note 2, 12, 2, 1576
square_note 2, 11, 2, 1568
square_note 2, 11, 2, 1552
square_note 2, 10, 2, 1560
square_note 2, 11, 2, 1552
square_note 8, ... |
MCaTT/Desuspension.agda | ThiBen/catt-formalization | 2 | 1705 | {-# OPTIONS --without-K #-}
open import Prelude
open import GSeTT.Syntax
open import GSeTT.Rules
open import GSeTT.Uniqueness-Derivations
module MCaTT.Desuspension where
↓GC : ∀ (Γ : Pre-Ctx) → Γ ⊢C → Pre-Ctx
↓GT : ∀ (Γ : Pre-Ctx) (A : Pre-Ty) → Γ ⊢T A → Pre-Ty
↓Gt : ∀ (Γ : Pre-Ctx) (A : Pre-Ty) (x : ℕ) → Γ ⊢... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_24.asm | ljhsiun2/medusa | 9 | 93572 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x19e3b, %rdi
nop
nop
nop
add $12698, %r8
mov (%rdi), %r13d
nop
nop
nop
cmp %r9, %r9
lea addresses_WC_ht+0xcd3b, %rsi
lea addresses_UC_ht+0x535b, %rdi
clflush (%r... |
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/uninit_array.ads | TUDSSL/TICS | 7 | 24296 | <gh_stars>1-10
package Uninit_Array is
function F2 return Integer;
end Uninit_Array;
|
examples/mips/boot.asm | jsdelivrbot/ppci-mirror | 0 | 170871 | <filename>examples/mips/boot.asm
section reset
reset:
jal main_main
section code
bsp_putc:
jr ra
|
programs/oeis/051/A051494.asm | neoneye/loda | 22 | 4511 | <reponame>neoneye/loda
; A051494: Expansion of (1 - x + x^2 + x^3)/(1 - x^2)^3.
; 1,-1,4,-2,9,-3,16,-4,25,-5,36,-6,49,-7,64,-8,81,-9,100,-10,121,-11,144,-12,169,-13,196,-14,225,-15,256,-16,289,-17,324,-18,361,-19,400,-20,441,-21,484,-22,529,-23,576,-24,625,-25,676,-26,729,-27,784,-28,841,-29,900,-30,961,-31,1024,-32,10... |
ch07/32 bit/encrypt_1.asm | William0Friend/my_masm | 0 | 11602 | <filename>ch07/32 bit/encrypt_1.asm
; Binary Encryption Example (Encrypt_1.asm)
INCLUDE Irvine32.inc
BufSize = 80
.data
buffer BYTE BufSize DUP(0)
Key BYTE 2,5,7,12
prompt1 BYTE "Enter a plaintext message: ",0
msg1 BYTE "The cyphertext text is: ",0
msg2 BYTE "The decrypted text is: ",0
.code... |
oeis/279/A279515.asm | neoneye/loda-programs | 11 | 160884 | ; A279515: Number of 0's in the binary expansion of the least common multiple of the first n integers.
; Submitted by <NAME>
; 0,0,1,1,2,2,2,5,6,6,6,9,9,7,7,7,8,12,12,16,16,16,16,19,19,14,14,19,19,25,25,25,26,26,26,26,26,25,25,25,25,33,33,32,32,32,32,29,29,32,32,32,32,35,35,35,35,35,35,46,46,45,45,45,46,46,46,49,49,49,... |
list3/task2/src/rev.ads | luk9400/nsi | 0 | 10035 | <reponame>luk9400/nsi
package Rev with SPARK_Mode is
procedure Reve (S : in out String) with
SPARK_Mode,
Pre => S'First < Positive'Last / 2 and S'Last < Positive'Last / 2,
Post => (for all I in S'Range => S(I) = S'Old(S'First + S'Last - I));
end Rev;
|
programs/oeis/084/A084103.asm | neoneye/loda | 22 | 98124 | ; A084103: Expansion of (1+x)^3/(1+x^3).
; 1,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0,-3,-3,0,3,3,0
mov $2,$0
mov $3,$0
add $0,8
sub $0,$3
mov $... |
libsrc/graphics/spectrum/cpm/pixel.asm | jpoikela/z88dk | 640 | 1618 | <gh_stars>100-1000
;
; "pixel", SMC variant for the Spectrum +3 CP/M
; Stefano - 2016
;
;
; $Id: pixel.asm,v 1.1 2016-10-26 13:03:30 stefano Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC pixel
EXTERN pixeladdress
EXTERN __gfx_coords
EXTERN pixmode
EXTERN pixelbyte
EXTERN... |
8088/cga/lockstep_test2/lcom.asm | reenigne/reenigne | 92 | 25723 | %include "../../defaults_com.asm"
; cli
; mov ax,cs
; mov ss,ax
; mov sp,stackEnd + 0x100
; sti
main:
mov bp,0
top:
mov dx,0x03d8
mov al,0x0a
out dx,al
; Set up CRTC for 1 character by 2 scanline "frame". This gives us 2 lchars
; per frame.
mov dx,0x3d4
; 0xff Horizontal Total
mov ax,0x0... |
ibv_message_passing_ada_project/source/ibv_message_overlay_gdb_test/ibv_message_overlay_gdb_test.adb | Chester-Gillon/ibv_message_parsing | 0 | 29936 | -- @file ibv_controller_process_main.adb
-- @date 13 May 2018
-- @author <NAME>
-- @details Example program created to demonstrate a GDB crash when using:
-- - Eclipse Oxygen 4.7.3a
-- - GNATbench Integration with CDT 2.8.1.20140109
-- - GNAT GPL 2017
-- - GDB 7.10 (in the GNAT GPL i... |
10 Adapted from others/12 Sam Schloegel/02 Tech Rehearsals/Move to cut list.applescript | streth11/Qlab-Scripts | 0 | 3734 | <reponame>streth11/Qlab-Scripts<filename>10 Adapted from others/12 Sam Schloegel/02 Tech Rehearsals/Move to cut list.applescript
-- @description Move to cut list
-- @author <NAME>
-- @link bensmithsound.uk
-- @source <NAME>
-- @version 1.0
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Moves the selected cues t... |
data/github.com/Macri-man/MathModels/4cd2345874020cd0809d0bf9c62c76bc8a1fa5a9/alloy/diningphilosepher.als | ajnavarro/language-dataset | 9 | 1759 | open util/ordering[State]
// A philosepher
sig Phil{
//has left and right fork
leftfork, rightfork: lone Fork,
//sits next to left and right philosepher
philleft,philright: one Phil
}
// A fork on the table
sig Fork {
//fork can be owns by the left or right philosepher
leftphil, rightphil: one Phil
}
fact{
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr45.adb | best08618/asylo | 7 | 30321 | <reponame>best08618/asylo
-- { dg-do compile }
-- { dg-options "-O2 -gnatws" }
procedure Discr45 is
function Ident_Int (I : Integer) return Integer is
begin
return I;
end;
procedure Proc (Signal : Boolean) is
subtype Index is Integer range 1..10;
type My_Arr is array (Index range <>) OF Integer... |
test/Succeed/Issue4704.agda | cagix/agda | 1,989 | 13044 | {-# OPTIONS --allow-unsolved-metas #-}
open import Agda.Builtin.List
open import Agda.Builtin.Nat
infixl 6 _∷ʳ_
_∷ʳ_ : {A : Set} → List A → A → List A
[] ∷ʳ x = x ∷ []
(hd ∷ tl) ∷ʳ x = hd ∷ tl ∷ʳ x
infixl 5 _∷ʳ′_
data InitLast {A : Set} : List A → Set where
[] : InitLast []
_∷ʳ′_ : (xs : List A) (x :... |
data/pokemon/base_stats/snorunt.asm | AtmaBuster/pokeplat-gen2 | 6 | 99273 | db 0 ; species ID placeholder
db 50, 50, 50, 50, 50, 50
; hp atk def spd sat sdf
db ICE, ICE ; type
db 190 ; catch rate
db 74 ; base exp
db NO_ITEM, BERRY ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/snorunt/front.dimensions"
db GROWTH_MEDIUM_FAST ; gro... |
test/asset/agda-stdlib-1.0/IO/Primitive.agda | omega12345/agda-mode | 0 | 10580 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Primitive IO: simple bindings to Haskell types and functions
------------------------------------------------------------------------
{-# OPTIONS --without-K #-}
module IO.Primitive where
open import Codata.Mu... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/cosh_fastcall.asm | jpoikela/z88dk | 640 | 27574 | <gh_stars>100-1000
SECTION code_clib
SECTION code_fp_math48
PUBLIC _cosh_fastcall
EXTERN cm48_sdccix_cosh_fastcall
defc _cosh_fastcall = cm48_sdccix_cosh_fastcall
|
grammars/x12/EdiX12Lexer.g4 | aaronhuggins/js-edi | 7 | 2663 | <gh_stars>1-10
lexer grammar EdiX12Lexer;
@lexer::header {
// This statement may be removed once option `superClass` is correctly generated by antlr4ts.
import { X12BaseLexer } from "./X12BaseLexer";
}
options {
superClass=X12BaseLexer;
}
tokens {
DataSeparator,
RepititionSeparator,
ComponentSeparator,
Seg... |
src/boot/demo_macros_impl.nasm | maximsmol/nos | 1 | 16959 | %macro f_actively_cause_global_warming16 1
push cx
mov cx, %1
call actively_cause_global_warming16
pop cx
%endmacro
%macro f_actively_cause_global_warming32 1
push ecx
mov ecx, %1
call actively_cause_global_warming32
pop ecx
%endmacro
%macro f_puts16_ptr 1
push si
mov si, %1
call puts16
pop si... |
utc-python/src/main/antlr4/me/dave_karetnyk/utils/grammar/python27/Python27.g4 | DaveKaretnyk/parsing-utils2 | 0 | 2532 | /* Python 2.7.X ANTLR 4 grammar */
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 by <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 with... |
example/src/print_variable.ads | Heziode/ada-dotenv | 6 | 10238 | <gh_stars>1-10
procedure Print_Variable (Name, Value : String);
|
programs/oeis/153/A153783.asm | karttu/loda | 1 | 240219 | <reponame>karttu/loda<filename>programs/oeis/153/A153783.asm
; A153783: 3 times 11-gonal (or hendecagonal) numbers: 3*n*(9*n-7)/2.
; 0,3,33,90,174,285,423,588,780,999,1245,1518,1818,2145,2499,2880,3288,3723,4185,4674,5190,5733,6303,6900,7524,8175,8853,9558,10290,11049,11835,12648,13488,14355,15249,16170,17118,18093,190... |
hello-world/main.asm | UtkarshVerma/avr-assembly-atmega328p | 0 | 96875 | ; vim:ft=avra:shiftwidth=2:tabstop=2:expandtab:
.nolist
.include "m328pdef.inc"
.include "lcd.inc"
; Delay by milliseconds
.macro delay
ldi r24, low(@0)
ldi r25, high(@0)
rcall delay
.endmacro
; Delay by microseconds
.macro delayUS
ldi r24, low(@0)
ldi r25, high(@0)
rcall delayUS
.endmacro
.equ RS = 1<<... |
RefactorAgdaEngine/Test/Tests/input/Conversion.agda | omega12345/RefactorAgda | 5 | 14000 | <reponame>omega12345/RefactorAgda
module Conversion where
open import Agda.Builtin.Nat
nonDependent : Nat -> Nat -> Nat
nonDependent a b = a
dependent : {A : Set} -> A -> A
dependent a = a
stuff : {A : Set} -> {B : Nat} -> Nat -> Nat
stuff zero = zero
stuff (suc c) = dependent c
|
oeis/167/A167031.asm | neoneye/loda-programs | 11 | 18270 | ; A167031: a(n) = 20*a(n-1) - 64*a(n-2) + 1 for n > 1; a(0) = 1, a(1) = 20.
; Submitted by <NAME>
; 1,20,337,5461,87653,1403557,22461349,359399333,5750460325,92007649189,1472123522981,23553980911525,376863712759717,6029819476856741,96477111920512933,1543633791891427237,24698140674915717029,395170250817262997413,6322724... |
libsrc/msx/gen_ldirmv.asm | Toysoft/z88dk | 0 | 19437 | ;
; z88dk library: Generic VDP support code
;
; LDIRMV
;
;
; $Id: gen_ldirmv.asm$
;
SECTION code_clib
PUBLIC LDIRMV
PUBLIC _LDIRMV
EXTERN SETRD
INCLUDE "msx/vdp.inc"
LDIRMV:
_LDIRMV:
push bc
call SETRD
pop bc
ex (sp),hl ;Timing
ex (sp),hl
loop:
IF VDP_DATAIN < 0
ld a,(-VDP_DATAIN)
ELSE
IF VDP_DATA... |
programs/oeis/241/A241678.asm | neoneye/loda | 22 | 247411 | <filename>programs/oeis/241/A241678.asm
; A241678: 2^p - 5 where p is prime.
; -1,3,27,123,2043,8187,131067,524283,8388603,536870907,2147483643,137438953467,2199023255547,8796093022203,140737488355323,9007199254740987,576460752303423483,2305843009213693947,147573952589676412923,2361183241434822606843,944473296573929042... |
src/Thrift.Net.Antlr/Thrift.g4 | adamconnelly/Thrift.Net | 4 | 2102 | <reponame>adamconnelly/Thrift.Net
grammar Thrift;
document: header definitions EOF;
header: (includeStatement | cppIncludeStatement | namespaceStatement)*;
includeStatement: 'include' LITERAL;
cppIncludeStatement: 'cpp_include' LITERAL;
namespaceStatement: (
// Successful parse
// `namespace csharp ... |
programs/oeis/099/A099061.asm | neoneye/loda | 22 | 103443 | ; A099061: A bisection of A000960.
; 1,7,19,39,63,91,133,181,223,289,349,399,481,567,649,763,843,949,1093,1189,1321,1471,1579,1719,1899,2023,2187,2367,2533,2739,2967,3147,3327,3529,3807,3913,4203,4407,4623,4891,5163,5401,5667,5971,6159,6559,6799
mul $0,2
seq $0,960 ; Flavius Josephus's sieve: Start with the natural nu... |
sources/flac-frames.adb | HeisenbugLtd/flac-ada | 5 | 19474 | ------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the... |
src/test/ref/flipper-rex2.asm | jbrandwood/kickc | 2 | 19742 | // Commodore 64 PRG executable file
.file [name="flipper-rex2.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.label RASTER = $d012
.label ... |
T4P1/teste_novas_func_hdl.asm | cggewehr/Projeto-De-Processadores | 0 | 12737 | <gh_stars>0
.org #0000h
.code
xor r0, r0, r0
ldh r1, #00h
ldl r1, #0ah
ldh r2, #00h
ldl r2, #02h
div r1, r2
mfh r3
mfl r4
div r3, r2
mfh r5
mfl r6
xor r1, r1, r1
addi r1, #FFh
mul r1 r1
mfh r7
mfl r8
halt
.endco... |
programs/oeis/028/A028552.asm | neoneye/loda | 22 | 95877 | ; A028552: a(n) = n*(n+3).
; 0,4,10,18,28,40,54,70,88,108,130,154,180,208,238,270,304,340,378,418,460,504,550,598,648,700,754,810,868,928,990,1054,1120,1188,1258,1330,1404,1480,1558,1638,1720,1804,1890,1978,2068,2160,2254,2350,2448,2548,2650,2754,2860,2968,3078,3190,3304,3420,3538,3658,3780,3904,4030,4158,4288,4420,455... |
gfx/pokemon/unown_r/anim.asm | Dev727/ancientplatinum | 28 | 86026 | setrepeat 2
frame 0, 07
frame 1, 07
frame 2, 07
frame 1, 07
dorepeat 1
endanim
|
heapsort.asm | abdelq/heapsort | 2 | 160680 | <filename>heapsort.asm
# $s0 = base
main:
lui $s0, 0x1004 # base = 0x10040000
jal input # input()
jal sort # sort()
li $v0, 10 # $v0 = 10
syscall # exit
# $s1 = n, $s2 = i
sort:
subi $sp, $sp, 4 # alloc
sw $ra, ($sp) # store $ra
... |
OSDev/Try-10/src/kernel/boot.asm | Ashwin-Paudel/Tries | 0 | 87625 | <filename>OSDev/Try-10/src/kernel/boot.asm
;;
; Copyright (C) 2021 The KripayaOS Project Authors.
; + Contributed by <NAME> <<EMAIL>>
;
; Use of this source code is governed by a BSD-style license that can be
; found in the LICENSE file.
;;
[org 0x7c00]
[bits 16]
%define ENDL 0x0d, 0x0A
entry:
jmp main
;
; ... |
EELE371/Lab-12.asm | Dan-Laden/Projects | 0 | 807 | <gh_stars>0
;main.s by <NAME>
;11/28/18
;Running a program on a real time clock using I2C bit banging.
;Setup the oscilloscope's MSO bus analysis.
INCLUDE 'derivative.inc'
XDEF _Startup, main
XREF __SEG_END_SSTACK ;symbol defined by the linker fro the end of the stack
ORG $0060
MODH DS.B 1
MODL DS.B 1
ORG $E0... |
asm/psuedo.asm | stfnwong/smips | 0 | 247210 | <reponame>stfnwong/smips
# PSUEDO
# Test for expansion of psuedo instructions
.data
arr: .word 3 # actually, addr should be 0x10000000 (default start addr)
.text
bgt $s0, $t1, 8
li $t2, 5 # load a 16-bit immediate
li $t0, 75000 # load a 32-bit immediate
la $t1 arr # load from address 'arr'
; branchi... |
programs/oeis/145/A145850.asm | neoneye/loda | 22 | 173517 | <filename>programs/oeis/145/A145850.asm
; A145850: a(n) = A145818(2n-1).
; 1,17,65,81,257,273,321,337,1025,1041,1089,1105,1281,1297,1345,1361,4097,4113,4161,4177,4353,4369,4417,4433,5121,5137,5185,5201,5377,5393,5441,5457,16385,16401,16449,16465,16641,16657,16705,16721,17409,17425,17473,17489,17665,17681
seq $0,98871 ... |
libsrc/graphics/attache/swapgfxbk.asm | Toysoft/z88dk | 0 | 18372 | ;
; Otrona Attachè graphics lib
; <NAME> 2018
;
;
; Video memory paging.
;
;
; $Id: swapgfxbk.asm $
;
SECTION code_clib
PUBLIC swapgfxbk
PUBLIC _swapgfxbk
PUBLIC swapgfxbk1
PUBLIC _swapgfxbk1
EXTERN GFX_COUT
.swapgf... |
src/aco-utils-ds-generic_table.ads | jonashaggstrom/ada-canopen | 6 | 9107 | with Ada.Finalization;
generic
type Key_Type is private;
with function "=" (L : Key_Type; R : Key_Type) return Boolean;
with function Hash (Key : Key_Type) return Natural;
type Value_Type is private;
package ACO.Utils.DS.Generic_Table is
pragma Preelaborate;
type Table
(Number_Of_Buckets :... |
arch/ARM/cortex_m/src/semihosting-filesystem.ads | morbos/Ada_Drivers_Library | 2 | 3966 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
programs/oeis/074/A074369.asm | neoneye/loda | 22 | 26807 | ; A074369: Number of divisors of Sum_{i=1..n} prime(i).
; 2,2,4,2,6,2,4,4,9,4,12,2,8,2,8,4,16,4,8,6,8,4,8,6,12,8,10,4,16,8,16,4,12,4,6,4,16,4,8,12,8,6,8,4,12,4,8,4,16,8,12,12,16,4,4,8,16,4,4,2,8,6,8,2,4,4,8,8,8,8,16,4,8,8,4,8,16,6,20,12,6,4,12,16,16,8,24,12,12,8,24,4,4,4,12,2,12,8,16,2
seq $0,237589 ; Sum of first n o... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1925.asm | ljhsiun2/medusa | 9 | 27899 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x4e91, %rsi
lea addresses_D_ht+0x16a51, %rdi
nop
nop
nop
add %r15, %r15
mov $117, %rcx
rep movsb
nop
add %rdx, %rdx
lea addresses_A_ht+0x16391, %rsi
lea addresse... |
velvet/music.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 21570 | <reponame>bushy555/ZX-Spectrum-1-Bit-Routines<filename>velvet/music.asm
;;; sequence
dw _ptn0
dw _ptn0
dw _ptn1
dw _ptn2
_loop
dw _ptn3
dw _ptn3a
dw _ptn4
dw _ptn5
dw _ptn3
dw _ptn3a
dw _ptn4
dw _ptn5a
dw 0
dw _loop
;;; patterns
;;; byte 0: step length << 8 | con... |
src/a/ada.adb | bee-Michi/Hello-World-Mania | 0 | 30900 | -- Using text_io
with Text_IO;
procedure Hello_World is
-- begin the brogram
begin
-- Output
Text_IO.Put_line("Hello World!");
-- Enf
end Hello_World; |
target/asm/empty-testTemplate.asm | chriscamacho/emu68k | 8 | 244798 | dc.l $00100000 * SP and PC
dc.l $00000400
rorg $400
start:
subi.b #1,d0
move.b d0,($A0000) # output to latch
move.b ($A0000),d0 # check it reads back.
bra.s start # main loop
|
Thesis/ANormal.agda | inc-lc/ilc-agda | 10 | 114 | --
-- Formalize correctness of differentiation for the source calculus in the
-- static caching paper (typed version).
--
module Thesis.ANormal where
open import Thesis.Types public
open import Thesis.Contexts public
open import Relation.Binary.PropositionalEquality
data Term (Γ : Context) (τ : Type) : Set where
... |
programs/oeis/008/A008217.asm | neoneye/loda | 22 | 88488 | ; A008217: a(n) = floor(n/4)*floor((n+1)/4).
; 0,0,0,0,1,1,1,2,4,4,4,6,9,9,9,12,16,16,16,20,25,25,25,30,36,36,36,42,49,49,49,56,64,64,64,72,81,81,81,90,100,100,100,110,121,121,121,132,144,144,144,156,169,169,169,182,196,196,196,210,225,225,225,240,256,256,256,272,289,289,289,306,324,324,324,342,361,361,361,380,400,400,... |
assignment5a/FibIterative.asm | sundercode/compilers-homework | 0 | 99451 | .data # Program at 4.1
|
1-base/math/source/generic/pure/algebra/any_math-any_algebra-any_linear-any_d3.ads | charlie5/lace | 20 | 9936 | <reponame>charlie5/lace
generic
package any_math.any_Algebra.any_linear.any_d3
is
pragma Pure;
------------
--- Vector_3
--
function Distance (From, To : in Vector_3) return Real;
function Midpoint (From, To : in Vector_3) return Vector_3;
function Interpolated (From, To : in Vecto... |
oeis/109/A109634.asm | neoneye/loda-programs | 11 | 15646 | <reponame>neoneye/loda-programs
; A109634: Number of 1's that appear among all ternary strings of length n that contain no consecutive 1's.
; 0,1,4,16,56,188,608,1920,5952,18192,54976,164608,489088,1443776,4238336,12382208,36022272,104407296,301618176,868765696,2495715328,7152286720,20452548608,58369409024,166276481024... |
tools.ads | gonma95/RealTimeSystem_CarDistrations | 0 | 2330 |
with Ada.Real_Time; use Ada.Real_Time;
use type Ada.Real_Time.Time_Span;
package tools is
Big_Bang : constant Ada.Real_Time.Time := Clock;
procedure Current_Time (Origen : Ada.Real_Time.Time);
procedure Print_an_Integer (x: in integer);
procedure Print_a_Float (x : in float);
proced... |
oeis/002/A002884.asm | neoneye/loda-programs | 11 | 14483 | ; A002884: Number of nonsingular n X n matrices over GF(2); order of Chevalley group A_n (2); order of projective special linear group PSL_n(2).
; Submitted by <NAME>(s1.)
; 1,1,6,168,20160,9999360,20158709760,163849992929280,5348063769211699200,699612310033197642547200,366440137299948128422802227200,768105432118265670... |
oeis/113/A113784.asm | neoneye/loda-programs | 11 | 98774 | ; A113784: Difference between semiprime(n) and semiprime(n+2).
; Submitted by <NAME>
; 5,4,5,5,7,7,4,4,8,8,2,4,4,8,10,5,6,6,3,5,7,7,9,8,8,8,4,2,5,6,3,2,12,16,9,7,4,3,3,2,7,10,5,8,8,2,3,3,10,12,4,3,7,8,11,9,6,7,4,9,14,8,2,3,3,4,7,5,2,3,3,2,3,7,14,11,12,12,6,5,6,8,6,5,9,11,13,11,4,6,7,4,3,3,2,3,6,9
mov $3,2
lpb $3
sub... |
programs/oeis/117/A117485.asm | neoneye/loda | 22 | 6871 | <filename>programs/oeis/117/A117485.asm
; A117485: Expansion of x^9/((1-x)*(1-x^2)*(1-x^3))^2.
; 1,2,5,10,18,30,49,74,110,158,221,302,407,536,698,896,1136,1424,1770,2176,2656,3216,3866,4616,5481,6466,7591,8866,10306,11926,13747,15778,18046,20566,23359,26446,29855,33600,37716,42224,47152,52528,58388,64752,71664
mov $2,... |
oeis/204/A204539.asm | neoneye/loda-programs | 11 | 29215 | <filename>oeis/204/A204539.asm
; A204539: a(n) = number of integers N=4k whose "basin" sequence (cf. comment) ends in n^2.
; 1,1,1,2,1,3,2,4,2,4,3,5,1,9,2,10,3,5,7,9,2,10,9,9,2,13,9,8,4,20,4,15,6,15,8,12,6,22,6,15,15,21,5,13,12,23,7,24,11,19,15,24,6,30,6,26,7,27,26,13,6,33,27,30,5,13,30,30,5,37,15,26,28,32,7,17,25,54,9... |
snippets/div10.test.i.asm | ped7g/ZXSpectrumNextMisc | 15 | 16687 | MODULE div10
reportError:
nextreg TILEMAP_DEFAULT_ATTR_NR_6C,2
ret
test:
call test.EDiv10A
call test.EDiv10B
call test.EDiv10C
ret
test.EDiv10A:
; only the top 8 bits of 8.5 fixed point results is compared
xor a ; A = expected result for D (H div 10)
ld ... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/Equality/Propositional.agda | omega12345/agda-mode | 0 | 790 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Equality over lists using propositional equality
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Data.List.Relatio... |
os/kernel_entry.asm | atupal/my-toys | 1 | 80432 | <gh_stars>1-10
; Ensures that we jump straight into the kernel's entry function
[bits 32] ; We're in protected mode by now, so use 32-bit instructions
[extern main] ; Declate that we will be referencing the external symbol 'main',
; so the linker can sbustitute the final address
call main ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_228.asm | ljhsiun2/medusa | 9 | 177065 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x184d4, %r10
nop
nop
nop
nop
inc %rdx
mov $0x6162636465666768, %r8
movq %r8, %xmm5
and $0xffffffffffffffc0, %r10
movntdq %xmm5, (%r10)
nop
dec %rsi
lea addresses_A_h... |
IS 2 - V2/asm/Test.asm | chibill/CPU-Emulators | 0 | 4730 | SET NULL NULL 3
33
SET NULL NULL 1
0
SET NULL NULL 2
15
ADDi 2 0 2
STORE 1 1 2
ADDi 1 0 1
IF 2 3 1
4
IF 0 0 1
6 |
agda/Data/Vec/Inductive.agda | oisdk/combinatorics-paper | 6 | 2075 | {-# OPTIONS --cubical --safe #-}
module Data.Vec.Inductive where
open import Prelude
open import Data.List using (List; _∷_; []; length)
private
variable
n m : ℕ
infixr 5 _∷_
data Vec (A : Type a) : ℕ → Type a where
[] : Vec A 0
_∷_ : A → Vec A n → Vec A (suc n)
foldr : ∀ {p} (P : ℕ → Type p) →
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_377_2869.asm | ljhsiun2/medusa | 9 | 167018 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x112bd, %r12
nop
nop
cmp $58861, %rbx
mov (%r12), %di
nop
nop
nop
add %rsi, %rsi
lea addresses_D_ht+0x1356f, %rsi
lea addresses_WT_ht+0x1a9bd, %rdi
clflush (%rd... |
demo/src/alire_crate.ads | mosteo/yeison | 6 | 14076 | with Yeison; use Yeison;
package Alire_Crate is
URL : constant String := "url";
Commit : constant String := "commit";
Linux : constant String := "linux";
Other : constant String := "...";
Crate : constant Yeison.Map
:= (
"name" => "alr",
"description" => "The Al... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41201d.ada | best08618/asylo | 7 | 26859 | <reponame>best08618/asylo
-- C41201D.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 contai... |
examples/src/spi_master_16.adb | hgrodriguez/tiny_rp2040_bsp | 0 | 3237 | <reponame>hgrodriguez/tiny_rp2040_bsp
--===========================================================================
--
-- This is the main master program for the Tiny as an SPI Master
--
--===========================================================================
--
-- Copyright 2022 (C) <NAME>
--
-- SPDX-License-I... |
boards/MicroBit_v2/src/microbit-buttons.adb | BaderKashkash/Ada_Drivers_Library | 1 | 27383 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2020, AdaCore --
-- --
-- ... |
oeis/158/A158592.asm | neoneye/loda-programs | 11 | 174379 | ; A158592: a(n) = 361*n^2 + 19.
; 19,380,1463,3268,5795,9044,13015,17708,23123,29260,36119,43700,52003,61028,70775,81244,92435,104348,116983,130340,144419,159220,174743,190988,207955,225644,244055,263188,283043,303620,324919,346940,369683,393148,417335,442244,467875,494228,521303,549100,577619,606860,636823,667508,6989... |
src/compiling/ANTLR/grammar/InterfaceItems.g4 | jecassis/VSCode-SystemVerilog | 75 | 4078 | <reponame>jecassis/VSCode-SystemVerilog<gh_stars>10-100
grammar InterfaceItems;
import ProgramItems;
interface_or_generate_item : ( attribute_instance )* module_common_item
| ( attribute_instance )* extern_tf_declaration ;
extern_tf_declaration : 'extern' method_prototype ';'
| 'extern' 'forkjoin' task_prototype '... |
program_code.asm | ashutoshsoni57/soil-moisture-control-8051 | 0 | 166456 | <filename>program_code.asm
RS EQU P2.7
RW EQU P2.6
E EQU P2.5
BB EQU P2.3
ORG 00H
LJMP GO ;Skip Vector Table
ORG 0003H ;ISR for EX1
CLR P2.0
SETB BB
ACALL DINT
ACALL TEXT1 ... |
Library/ConView/NavControl/navcontrolControl.asm | steakknife/pcgeos | 504 | 176582 | <reponame>steakknife/pcgeos<filename>Library/ConView/NavControl/navcontrolControl.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Condo viewer
MODULE: navigation controller
FILE: conNav.asm
AUTHOR: <NAME>, May ... |
CS21/asm/bm.asm | rizarae/rizarae.github.io | 0 | 175756 | # Lab 5
# Bit Manipulation (sb-exp-man) -> (man-exp-sb)
# lab lab
.text
main:
li $v0, 5
syscall
move $a0, $v0
srl $t0, $a0, 31 #sb
sll $t1, $a0, 9 #man
sll $t2, $a0, 1
andi $t2, $t2, 0xff800000
srl $t2, $t2, 23 #exp
or $a0, $t0, $t1
or $a0, $a0, $t2
li $v0, 1
syscall
li $v0, 10
syscall
|
maps/ElmsHouse.asm | pokeachromicdevs/pokeoctober | 1 | 84942 | <filename>maps/ElmsHouse.asm
object_const_def ; object_event constants
const ELMSHOUSE_ELMS_WIFE
const ELMSHOUSE_ELMS_SON
ElmsHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
ElmsWife:
jumptextfaceplayer ElmsWifeText
ElmsSon:
jumptextfaceplayer ElmsSonText
ElmsHousePC:
jumptext ElmsHousePCText
Elms... |
oeis/142/A142142.asm | neoneye/loda-programs | 11 | 164450 | ; A142142: Primes congruent to 33 mod 37.
; Submitted by <NAME>(s4)
; 107,181,773,1069,1217,1291,1439,2179,2549,3067,3511,3659,3733,3881,4177,4547,4621,5657,5879,5953,6101,6323,6397,6619,6841,7211,7433,7507,7877,7951,8543,8839,9209,9283,9431,9949,10837,11059,11503,12391,12539,12613,12983,13649,13723,14389,14537,14759,1... |
oeis/255/A255910.asm | neoneye/loda-programs | 11 | 4461 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A255910: Decimal expansion of 16/9.
; Submitted by <NAME>
; 1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
cmp $0,0
gcd $0,7
|
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/OracleKeyword.g4 | cilfm/shardingsphere | 0 | 7463 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
test/interaction/Issue1494.agda | shlevy/agda | 1,989 | 11290 | module Issue1494 where
open import Issue1494.Helper
module M (r : Record) where
open Module r
postulate
A : Set
a b : A
Foo : a ≡ b
Foo = {!!}
|
libsrc/target/kaypro83/cleargraphics.asm | rjcorrig/z88dk | 0 | 177468 | SECTION code_graphics
PUBLIC cleargraphics
; ******************************************************************
;
; Clear graphics area, i.e. reset all bits in graphics
; window (256x64 pixels)
;
; Design & programming by <NAME>, Copyright (C) InterLogic 1995
;
; Registers changed after return:
; a.bcdehl/i... |
Univalence/Obsolete/CauchyProofs.agda | JacquesCarette/pi-dual | 14 | 13212 | <filename>Univalence/Obsolete/CauchyProofs.agda
{-# OPTIONS --without-K #-}
module CauchyProofs where
-- Proofs about permutations defined in module Cauchy (everything
-- except the multiplicative ones which are defined in CauchyProofsT and
-- CauchyProofsS
open import Relation.Binary.PropositionalEquality
using ... |
agda/Categories/Functor.agda | oisdk/combinatorics-paper | 6 | 16636 | <filename>agda/Categories/Functor.agda
{-# OPTIONS --cubical --safe #-}
module Categories.Functor where
open import Prelude
open import Categories
record Functor {ℓ₁ ℓ₂ ℓ₃ ℓ₄} (C : PreCategory ℓ₁ ℓ₂) (D : PreCategory ℓ₃ ℓ₄) : Type (ℓ₁ ℓ⊔ ℓ₂ ℓ⊔ ℓ₃ ℓ⊔ ℓ₄) where
private module C = PreCategory C
private module D = P... |
programs/oeis/184/A184037.asm | neoneye/loda | 22 | 13067 | <gh_stars>10-100
; A184037: 1/16 the number of (n+1) X 8 0..3 arrays with all 2 X 2 subblocks having the same four values.
; 625,637,658,700,778,934,1234,1834,3010,5362,10018,19330,37858,74914,148834,296674,591970,1182562,2362978,4723810,9443938,18884194,37761634,75516514,151020130,302027362,604029538,1208033890,241601... |
Library/Mailbox/Inbox/inboxDetails.asm | steakknife/pcgeos | 504 | 25134 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: inboxDetails.asm
AUTHOR: <NAME>, Jun 3, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.