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 |
|---|---|---|---|---|
examples/lwsw.asm | tylerweston/mips2c | 0 | 97458 | .data
str1: .asciiz "Writing some values\n"
str2: .asciiz "Reading & Showing some values\n"
comma: .asciiz ", "
nl: .asciiz "\n"
.text
la $a0, str1
li $v0, 4
syscall
# store some ints
li $t0, 64 # starting at address 64
li $t1, 420
sw $t1, 0($t0)
li $t1, 69
sw $t1, 4($t0)
li $t1, 13
sw $t1, 8($t0)
li $t1, 42
sw $t1, ... |
programs/oeis/251/A251420.asm | neoneye/loda | 22 | 172240 | ; A251420: Decimal expansion of Fisher's percolation exponent in two dimensions, 187/91.
; 2,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5
lpb $0
mov $1,$0
trn $0,6
seq $1,160827 ; a(n) = 3*n... |
libsrc/osca/set_bank.asm | andydansby/z88dk-mk2 | 1 | 18734 | <reponame>andydansby/z88dk-mk2<gh_stars>1-10
;
; Get the OSCA Architecture current bank
; by <NAME>, 2011
;
; void set_bank(int bank);
;
; Sets which of the 32KB banks is mapped into address space $8000-$ffff
; bank = required bank (range: 0 - max_bank)
;
; $Id: set_bank.asm,v 1.3 2012/03/08 07:16:46 stefano Exp $
;
... |
programs/oeis/047/A047333.asm | karttu/loda | 1 | 96582 | <gh_stars>1-10
; A047333: Duplicate of A032796.
; 1,2,3,5,6,8,9,10,12,13,15,16,17,19,20,22,23,24,26,27,29,30,31,33,34
mov $1,$0
mul $1,7
div $1,5
add $1,1
|
stack.asm | siraben/awk-vm | 8 | 240073 | ;; Simulating a stack and subroutine calls
j say_msg1
j say_msg2
lda 1
j push
lda 2
j push
lda 3
j push
j pop
put
j pop
put
j pop
put
halt
say_msg1
lda msg1
putn
ret
say_msg2
lda msg2
putn
ret
;; Push a value into the stack from the accumulator
push
... |
8086/8array/larinarr.asm | iamvk1437k/mpmc | 1 | 247060 | ;mov si,1100h
;mov di,1200h
;mov cl,[si]
;inc si
;mov al,[si]
;dec cl
;again:
;inc si
;mov bl,[si]
;cmp al,bl
;ahead:
;dec cl
;jnz again
;mov [di],al
;hlt
org 100h
MOV SI,1100H ;Set SI register as point.
MOV CL,[SI] ;Set CL as count for element.
INC SI ;Increment address point
MOV A... |
programs/oeis/036/A036498.asm | neoneye/loda | 22 | 17767 | <reponame>neoneye/loda
; A036498: Numbers of the form m*(6*m-1) and m*(6*m+1), where m is an integer.
; 0,5,7,22,26,51,57,92,100,145,155,210,222,287,301,376,392,477,495,590,610,715,737,852,876,1001,1027,1162,1190,1335,1365,1520,1552,1717,1751,1926,1962,2147,2185,2380,2420,2625,2667,2882,2926,3151,3197,3432,3480,3725,37... |
programs/oeis/124/A124174.asm | karttu/loda | 1 | 9024 | <reponame>karttu/loda
; A124174: Sophie Germain triangular numbers tr: 2*tr+1 is also a triangular number.
; 0,1,10,45,351,1540,11935,52326,405450,1777555,13773376,60384555,467889345,2051297326,15894464365,69683724540,539943899076,2367195337045,18342198104230,80414957735001,623094791644755,2731741367653000,211668807178... |
source/nodes/program-nodes-range_attribute_references.ads | reznikmm/gela | 0 | 1134 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Attribute_References;
with Program.Elements.Range_Attribute_References;
with Program.Element_Visitors;
package Program.Nodes.Range_Attri... |
Samples/Kaleidoscope/Kaleidoscope.Parser/ANTLR/Kaleidoscope.g4 | UbiquityDotNET/Llvm.NET | 70 | 4725 | // ANTLR4 Grammar for the LLVM Tutorial Sample Kaleidoscope language
// To support a progression through the chapters the language features are
// selectable and dynamically adjust the parsing accordingly. This allows a
// single parser implementation for all chapters, which allows the tutorial
// to focus on the actua... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca_notsx.log_39_353.asm | ljhsiun2/medusa | 9 | 245762 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xe3a1, %rax
nop
nop
nop
nop
add %r12, %r12
movb (%rax), %r15b
nop
nop
nop
nop
dec %rsi
lea addresses_A_ht+0x4c65, %rsi
lea addresses_normal_ht+0x19825, %rdi
clflush (%rdi)
nop
nop
and $... |
dec_to_bin_converter.asm | PrajeenRG/intel-8085-programs | 0 | 178793 | <gh_stars>0
; Decimal to Binary Converter
;
; input is taken at 0x7800H
; output is stored at the next 8 bits following input
MVI C, 08H ; counter for 8 bits
LXI H, 7800H ; loads input
MOV A, M ; move input to accumulator
Loop: INX H ; move to next address
RLC ... |
oeis/349/A349487.asm | neoneye/loda-programs | 11 | 14822 | <filename>oeis/349/A349487.asm
; A349487: a(n) = A132739((n-5)*(n+5)).
; Submitted by <NAME>
; 11,24,39,56,3,96,119,144,171,8,231,264,299,336,3,416,459,504,551,24,651,704,759,816,7,936,999,1064,1131,48,1271,1344,1419,1496,63,1656,1739,1824,1911,16,2091,2184,2279,2376,99,2576,2679,2784,2891,24,3111
add $0,1
mov $1,$0
a... |
Library/AccPnt/accpntList.asm | steakknife/pcgeos | 504 | 99208 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1995 -- All Rights Reserved
PROJECT: socket
MODULE: access point database
FILE: accpntList.asm
AUTHOR: <NAME>, May 18, 1995
ROUTINES:
Name Description
---- -----------
Acc... |
AlgorithmsFromTheBook/multiplication.asm | MateoParrado/AlgorithmsFromTheBook | 0 | 240004 | PUBLIC asm_multiply
.386
.model flat, c
.code
asm_multiply PROC
;get the two parameters, put one in ebc and the other in edx
push ebp
mov ebp, esp
mov ebx, [ebp + 8]
mov edx, [ebp + TYPE DWORD + 8]
mov eax, 0
mov cl, 31
Redo:
;if ecx is zero, youre done
cmp edx, 0
jne notZero
pop ebp
ret
notZero:
... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/getdelim_unlocked.asm | meesokim/z88dk | 0 | 85843 | <filename>libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/getdelim_unlocked.asm
; size_t getdelim_unlocked(char **lineptr, size_t *n, int delimiter, FILE *stream)
SECTION code_stdio
PUBLIC _getdelim_unlocked
EXTERN asm_getdelim_unlocked
_getdelim_unlocked:
pop af
pop hl
pop de
pop bc
pop ix
push hl
p... |
lib/am335x_sdk/ti/drv/i2c/firmware/icss_i2c/src/I2C_protocol.asm | brandonbraun653/Apollo | 2 | 165151 | ;
; TEXAS INSTRUMENTS TEXT FILE LICENSE
;
; Copyright (c) 2017-2018 Texas Instruments Incorporated
;
; All rights reserved not granted herein.
;
; Limited License.
;
; Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
; license under copyrights and patents it now or hereafter... |
4.0.x/NumberSplitting/SplitNumber.asm | chronosv2/NESMaker_Public_Code_Repository | 6 | 104193 | <filename>4.0.x/NumberSplitting/SplitNumber.asm<gh_stars>1-10
;; As a warning, this code is probably VERY VERY VERY SLOW.
;; I couldn't think of a better way to do this. If someone
;; finds a better way and changes this script could you
;; please make a Pull Request out of it?
MACRO SplitNumber arg0, arg1
;;arg0: The v... |
test/Fail/Issue3136a.agda | cruhland/agda | 1,989 | 4385 | -- Andreas, 2018-06-18, problem surfaced with issue #3136
-- Correct printing of a pattern lambda that has no patterns.
-- {-# OPTIONS -v extendedlambda:50 #-}
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
record R : Set where
no-eta-equality
field w : Bool
f : R
f = λ where
.R.w → λ where
... |
Ficheiros assembly (TP's e Testes)/ex1a-folhasimd.asm | pemesteves/mpcp-1718 | 0 | 9675 | include mpcp.inc
.xmm
;; declaracoes de dados (variaveis globais)
.data
msg BYTE "%f", 13, 10, 0
b REAL8 7.8
m REAL8 3.6
n REAL8 7.1
p REAL8 ?
;; seccao de codigo principal
.code
main PROC C
movsd xmm0, b ;B
movsd xmm1, m ;M
movsd xmm2, n ;N
xorpd xmm3, xmm3 ;P=0
subsd xmm3, xmm1 ;P=-M
addsd xmm2, xmm0 ; ... |
astro_ship_death_code.asm | nealvis/astroblast | 0 | 179969 | //////////////////////////////////////////////////////////////////////////////
// astro_ship_death_code.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// The following subroutines should be called from ... |
alloy4fun_models/trashltl/models/5/cKu5tjFhYko5BEp6f.als | Kaixi26/org.alloytools.alloy | 0 | 4880 | open main
pred idcKu5tjFhYko5BEp6f_prop6 {
eventually all f : File | f in Trash implies always f in Trash
}
pred __repair { idcKu5tjFhYko5BEp6f_prop6 }
check __repair { idcKu5tjFhYko5BEp6f_prop6 <=> prop6o } |
lib/avx/sha256_one_block_avx.asm | ipuustin/intel-ipsec-mb | 0 | 100236 | ;;
;; Copyright (c) 2012-2020, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
source/oasis/program-elements-enumeration_literal_specifications.ads | optikos/oasis | 0 | 12860 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Declarations;
with Program.Elements.Defining_Names;
package Program.Elements.Enumeration_Literal_S... |
tools/scitools/conf/understand/ada/ada12/s-imgllb.ads | brucegua/moocos | 1 | 10178 | <reponame>brucegua/moocos
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
cards/bn5/ModCards/136-A036 SnakeMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 179433 | .include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 36
card_no equ "036"
card_sub equ "Mod Card 036"
card_sub_x ... |
orka/src/orka/interface/orka-containers-ring_buffers.ads | onox/orka | 52 | 19191 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licen... |
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-config_helpers.adb | fabiojna02/OpenCellular | 1 | 4788 | <reponame>fabiojna02/OpenCellular
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your... |
msp430x2/mspgd-gpio-pin.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 12585 | with MSPGD.GPIO; use MSPGD.GPIO;
generic
Pin : Pin_Type;
Port : Port_Type;
Alt_Func : Alt_Func_Type := IO;
Direction : Direction_Type := Input;
Pull_Resistor : Resistor_Type := None;
package MSPGD.GPIO.Pin is
pragma Preelaborate;
procedure Init
with Inline_Always;
procedure Set
... |
counter.asm | Nat-As/LED-Counter | 0 | 93563 | ;INIT STACK
LDI R16, LOW(RAMEND)
OUT SPL, R16
LDI R16, HIGH(RAMEND)
OUT SPL, R16
LDI R16, 0x00
;INIT PINS
LDI R17, 0xFF
OUT DDRB, R17;WRITE
OUT DDRD, R17;WRITE
OUT DDRC, R16;READ
COUNTER:
LDI R16, 0X00;INC
LDI R17, 0X09
CALL ZERO
CALL DELAY
INC R16
CALL ONE
CALL DELAY
INC R16
CALL TWO
CALL DELAY
INC... |
pkg/policy/parser/QueryLexer.g4 | cthulhu-rider/neofs-sdk-go | 4 | 7746 | <reponame>cthulhu-rider/neofs-sdk-go
lexer grammar QueryLexer;
AND_OP : 'AND';
OR_OP : 'OR';
SIMPLE_OP : 'EQ' | 'NE' | 'GE' | 'GT' | 'LT' | 'LE';
REP : 'REP';
IN : 'IN';
AS : 'AS';
CBF : 'CBF';
SELECT : 'SELECT';
FROM : 'FROM';
FILTER : 'FILTER';
WILDCARD : '*';
CLAUSE_SAME ... |
src/main/antlr4/de/hauschild/gmltracer/gml/GML.g4 | klaushauschild1984/gml-tracer | 0 | 3016 | grammar GML;
LINE_COMMENT: '%' ~[\n]* '\n' -> skip;
WITHESPACE : [ \r\n\t]+ -> skip;
fragment LETTER: [a-zA-Z];
fragment DIGIT: [0-9];
TRUE: 'true';
FALSE: 'false';
// control operators
IF: 'if';
APPLY: 'apply';
// number operators
ADDI: 'addi';
ADDF: 'addf';
ACOS: 'acos';
ASIN: '... |
Sim/tests/13_test_indirect.asm | ericsims/16B | 0 | 82728 | <reponame>ericsims/16B
#include "../CPU.asm"
#bank rom
store #0x12, location1
storew #location1, pointer1
load a, (pointer1)
load b, (pointer1)
assert a, #0x12
assert b, #0x12
load a, #0x23
store a, (pointer1)
halt
#bank ram
location1:
#res 1
pointer1:
#res 2
|
opcodes1.asm | tonypdmtr/emu6809 | 1 | 15968 | <reponame>tonypdmtr/emu6809
;*******************************************************************************
; Include: OPCODES1
; Version: 1.20
; Written: July 15, 1990
; Updated: Friday, August 12, 1994 7:52 pm
; Author : <NAME>
; Purpose: This is an include file with half the opcode routines used by
; the ... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstaudioiec61937_h.ads | persan/A-gst | 1 | 9647 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstringbuffer_h;
with glib;
with glib.Values;
with System;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
package GStreamer.GST_Low_Level.gst... |
alloy4fun_models/trashltl/models/11/3Jp9goR4zPyvgfqb5.als | Kaixi26/org.alloytools.alloy | 0 | 3073 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id3Jp9goR4zPyvgfqb5_prop12 {
always some f : File | eventually f in Trash implies f in Trash
}
pred __repair { id3Jp9goR4zPyvgfqb5_prop12 }
check __repair { id3Jp9goR4zPyvgfqb5_prop12 <=> prop12o } |
scc_perturbed_scflip.als | NVlabs/litmustestgen | 6 | 3 | <filename>scc_perturbed_scflip.als
// Automated Synthesis of Comprehensive Memory Model Litmus Test Suites
// <NAME>, <NAME>, <NAME>, <NAME>
// ASPLOS 2017
//
// Copyright (c) 2017, NVIDIA Corporation. All rights reserved.
//
// This file is licensed under the BSD-3 license. See LICENSE for details.
// Streamlined C... |
oeis/253/A253715.asm | neoneye/loda-programs | 11 | 11031 | <reponame>neoneye/loda-programs
; A253715: Indices of centered heptagonal numbers (A069099) which are also hexagonal numbers (A000384).
; Submitted by <NAME>
; 1,2160,34417,139317984,2220346081,8987960385360,143243407002961,579849276161764800,9241205157168647617,37408396193312133889584,596187109366334725327921,24133652... |
programs/oeis/257/A257170.asm | jmorken/loda | 1 | 3789 | ; A257170: Expansion of (1 + x) * (1 + x^3) / (1 + x^4) in powers of x.
; 1,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1... |
programs/oeis/001/A001701.asm | neoneye/loda | 22 | 162554 | ; A001701: Generalized Stirling numbers.
; 1,6,26,71,155,295,511,826,1266,1860,2640,3641,4901,6461,8365,10660,13396,16626,20406,24795,29855,35651,42251,49726,58150,67600,78156,89901,102921,117305,133145,150536,169576,190366,213010,237615,264291,293151,324311,357890,394010,432796,474376,518881,566445,617205,671301,72887... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41205a.ada | best08618/asylo | 7 | 13551 | -- C41205A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
oeis/017/A017050.asm | neoneye/loda-programs | 11 | 89727 | <reponame>neoneye/loda-programs
; A017050: a(n) = (7*n + 5)^10.
; 9765625,61917364224,6131066257801,141167095653376,1531578985264449,10485760000000000,52599132235830049,210832519264920576,713342911662882601,2113922820157210624,5631351470947265625,13744803133596058624,31181719929966183601,66483263599150104576,1343916379... |
maps/RedsHouse2F.asm | Trap-Master/spacworld97-thingy | 0 | 173553 | RedsHouse2F_MapScripts:
db 0 ; scene scripts
;scene_script .PlayersHouseCheckGender ; SCENE_DEFAULT
db 0 ; callbacks
;.SetGender:
;prioritysjump .SettingGender
;end
;.SettingGender:
;opentext
;writetext Text_Gender
;waitbutton
;yesorno
;iffalse .Setfemale
;closetext
;setmapscene REDS_HOUSE_2F, SCENE_F... |
VirtualMachine/Win32/UnitTests/Conditionals/test23_islte_Boolean.asm | ObjectPascalInterpreter/BookPart_3 | 8 | 13678 | <reponame>ObjectPascalInterpreter/BookPart_3
# Test23 - Islte Test
pushi 2
pushi 3
isLte
halt
|
reference/antlr4/tool/test/org/antlr/v4/test/tool/PositionAdjustingLexer.g4 | kaby76/antlr4cs | 321 | 6976 | /*
* Copyright (c) 2012 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD-3-Clause license that
* can be found in the LICENSE.txt file in the project root.
*/
lexer grammar PositionAdjustingLexer;
@members {
@Override
public Token nextToken() {
if (!(_interp instanceof PositionA... |
T5P2/testestraps.asm | cggewehr/Projeto-De-Processadores | 0 | 175868 |
; PROJETO DE PROCESSADORES - ELC 1094 - PROF. CARARA
; PROCESSADOR R8
; <NAME> E <NAME>
; DESCRIÇÃO:
; PROCESSADOR R8 COM SUPORTE A INTERRUPÇÕES DE I/O VIA PIC E TRAPS
; APLICAÇÃO ATUAL:
; TESTE DE TRAPS
; CHANGELOG:
;
; TODO:
;
; OBSERVAÇÕES:
; - O parametro ISR_ADDR deve ser setado para ... |
programs/oeis/063/A063492.asm | neoneye/loda | 22 | 12015 | ; A063492: a(n) = (2*n - 1)*(11*n^2 - 11*n + 6)/6.
; 1,14,60,161,339,616,1014,1555,2261,3154,4256,5589,7175,9036,11194,13671,16489,19670,23236,27209,31611,36464,41790,47611,53949,60826,68264,76285,84911,94164,104066,114639,125905,137886,150604,164081,178339,193400,209286,226019,243621,262114,281520,301861,323159,345436... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1469.asm | ljhsiun2/medusa | 9 | 84515 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13688, %r13
nop
nop
nop
mfence
mov $0x6162636465666768, %rbp
movq %rbp, (%r13)
nop
nop
nop
nop
nop
xor $27018, %rsi
lea addresses_A_ht+0xe048, %r10
add $45634, %rdi
movw... |
contrib/opensigcomp/src/Deflate.asm | dulton/reSipServer | 1 | 104737 | <gh_stars>1-10
; ***********************************************************************
; Open SigComp -- Implementation of RFC 3320 Signaling Compression
;
; Copyright 2005 Estacado Systems, LLC
;
; Your use of this code is governed by the license under which it
; has been provided to you. Unless you have a wri... |
programs/oeis/175/A175630.asm | neoneye/loda | 22 | 177145 | <reponame>neoneye/loda<filename>programs/oeis/175/A175630.asm
; A175630: a(n) = n-th pentagonal number mod (n+2).
; 0,1,1,2,4,0,3,7,2,7,1,7,0,7,15,7,16,7,17,7,18,7,19,7,20,7,21,7,22,7,23,7,24,7,25,7,26,7,27,7,28,7,29,7,30,7,31,7,32,7,33,7,34,7,35,7,36,7,37,7,38,7,39,7,40,7,41,7,42,7,43,7,44,7,45,7,46,7,47,7,48,7,49,7,5... |
oeis/021/A021997.asm | neoneye/loda-programs | 11 | 86162 | ; A021997: Decimal expansion of 1/993.
; Submitted by <NAME>
; 0,0,1,0,0,7,0,4,9,3,4,5,4,1,7,9,2,5,4,7,8,3,4,8,4,3,9,0,7,3,5,1,4,6,0,2,2,1,5,5,0,8,5,5,9,9,1,9,4,3,6,0,5,2,3,6,6,5,6,5,9,6,1,7,3,2,1,2,4,8,7,4,1,1,8,8,3,1,8,2,2,7,5,9,3,1,5,2,0,6,4,4,5,1,1,5,8,1,0
add $0,1
mov $2,10
pow $2,$0
div $2,993
mov $0,$2
mod $0,1... |
qrogue/game/world/dungeon_generator/QrogueDungeon.g4 | 7Magic7Mike7/Qrogue | 4 | 2937 | grammar QrogueDungeon;
// RULES
start : HEADER (NAME '=' TEXT)?
robot layout rooms hallways stv_pools reward_pools messages
ENDER;
integer : DIGIT | HALLWAY_ID | INTEGER ;
complex_number : SIGN? (IMAG_NUMBER | (integer | FLOAT) (SIGN IMAG_NUMBER)?) ;
robot: ROBOT DIGIT 'qubits' '[' REFER... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1493.asm | ljhsiun2/medusa | 9 | 99709 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1cec6, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
and $64412, %r8
mov (%rdi), %r14w
cmp $23606, %r10
lea addresses_WT_ht+0x47c6, %rsi
lea addresses_nor... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_20597_1656.asm | ljhsiun2/medusa | 9 | 9234 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rdi
lea addresses_D_ht+0x18c9b, %rbp
clflush (%rbp)
nop
nop
xor $50054, %r14
movups (%rbp), %xmm4
vpextrq $0, %xmm4, %rdi
nop
nop
nop
nop
dec %r10
pop %rdi
pop %rbp
pop %r14
pop %r10
ret
.global... |
oeis/122/A122112.asm | neoneye/loda-programs | 11 | 160498 | <filename>oeis/122/A122112.asm
; A122112: a(n) = 4*a(n-2) - a(n-1), with a(0)=1, a(1)=-2.
; Submitted by <NAME>(s2)
; 1,-2,6,-14,38,-94,246,-622,1606,-4094,10518,-26894,68966,-176542,452406,-1158574,2968198,-7602494,19475286,-49885262,127786406,-327327454,838473078,-2147782894,5501675206,-14092806782,36099507606,-92470... |
programs/oeis/093/A093380.asm | neoneye/loda | 22 | 160394 | <gh_stars>10-100
; A093380: Expansion of (1+4x+x^2-10x^3)/((1-x)(1-x-2x^2)).
; 1,6,14,22,46,86,174,342,686,1366,2734,5462,10926,21846,43694,87382,174766,349526,699054,1398102,2796206,5592406,11184814,22369622,44739246,89478486,178956974,357913942,715827886,1431655766,2863311534
mov $1,2
pow $1,$0
div $1,3
mul $1,4
add... |
kernel3.asm | paule32/selfmade_os | 0 | 1723 | ; ------------------------------------------------------------------------------
; Copyright (c) 2020 <NAME> - paule32 - non-profit
; all rights reserved.
; for non-commercial use only!
;
; Function: kernel boot
; Filename: kernel3.asm
; ------------------------------------------------------------------------------
[BI... |
computer architecture/ProjOrgArq/in/mips1.asm | MarceloHeredia/College | 0 | 172824 | <reponame>MarceloHeredia/College<gh_stars>0
.text
.globl main
main:addu $zero,$zero,$zero
L_1:and $t2,$t2,$t2
L_2:and $t1,$t1,$t1
j L_2
j L_1
|
oeis/159/A159562.asm | neoneye/loda-programs | 11 | 82186 | ; A159562: Numerator of Hermite(n, 13/18).
; Submitted by <NAME>
; 1,13,7,-4121,-56975,1929733,71236279,-949628849,-93127115423,20066487805,136040198628199,1736014871922487,-219855440620458287,-6232933639083272459,381987420638602610455,19102129961742695872927,-679901742649149297057599,-58351443515276008564375571,111388... |
oeis/100/A100550.asm | neoneye/loda-programs | 11 | 176994 | <reponame>neoneye/loda-programs
; A100550: If n>3 a(n)=a(n-1)+2*a(n-2)+3*a(n-3) else a(n)=n
; Submitted by <NAME>(s1)
; 0,1,2,4,11,25,59,142,335,796,1892,4489,10661,25315,60104,142717,338870,804616,1910507,4536349,10771211,25575430,60726899,144191392,342371480,812934961,1930252097,4583236459,10882545536,25839774745,613... |
3-mid/impact/source/2d/orbs/collision/impact-d2-orbs-colliders.adb | charlie5/lace | 20 | 18399 | <reponame>charlie5/lace<gh_stars>10-100
with impact.d2.orbs.Distance;
package body impact.d2.orbs.Colliders
is
use type int32;
-- Determine if two generic shapes overlap.
--
function b2TestOverlap (shapeA, shapeB : in impact.d2.orbs.Shape.view;
xfA, xfB : in b2Trans... |
oeis/113/A113407.asm | neoneye/loda-programs | 11 | 172717 | ; A113407: Expansion of psi(x) * phi(x^2) in powers of x where psi(), phi() are Ramanujan theta functions.
; 1,1,2,3,0,2,1,0,4,2,1,2,2,0,2,1,0,2,4,2,0,3,0,4,2,0,0,0,3,2,2,0,2,4,0,2,3,0,4,2,0,0,2,0,2,1,2,4,0,0,2,2,0,6,2,1,2,2,0,0,4,0,0,4,0,2,1,0,4,0,0,2,2,4,2,2,0,2,5,0,2,0,2,0,2,0,4,4,0,0,0,1,0,4,0,2,2,0,4,4
mul $0,8
s... |
Task/Trabb-Pardo-Knuth-algorithm/Ada/trabb-pardo-knuth-algorithm.ada | LaudateCorpus1/RosettaCodeData | 1 | 19410 | with Ada.Text_IO, Ada.Numerics.Generic_Elementary_Functions;
procedure Trabb_Pardo_Knuth is
type Real is digits 6 range -400.0 .. 400.0;
package TIO renames Ada.Text_IO;
package FIO is new TIO.Float_IO(Real);
package Math is new Ada.Numerics.Generic_Elementary_Functions(Real);
function F(X: Real) re... |
testcases/driver_connections/mysql/connect.ads | jrmarino/AdaBase | 30 | 30731 | -- Used for all testcases for MySQL driver
with AdaBase.Driver.Base.MySQL;
with AdaBase.Statement.Base.MySQL;
package Connect is
-- All specific drivers renamed to "Database_Driver"
subtype Database_Driver is AdaBase.Driver.Base.MySQL.MySQL_Driver;
subtype Stmt_Type is AdaBase.Statement.Base.MySQL.MySQL_s... |
programs/oeis/222/A222260.asm | neoneye/loda | 22 | 178020 | <reponame>neoneye/loda<filename>programs/oeis/222/A222260.asm
; A222260: Lexicographically earliest injective sequence of nonnegative integers such that the sum of 10 consecutive terms is always divisible by 10.
; 0,1,2,3,4,5,6,7,8,14,10,11,12,13,24,15,16,17,18,34,20,21,22,23,44,25,26,27,28,54,30,31,32,33,64,35,36,37,3... |
src/libYARP_dev/56f807/cotroller_dc/Support/Fp568d.asm | robotology-legacy/yarp1 | 0 | 14492 | <gh_stars>0
;=============================================================
;=== FILE: Fp568d.asm
;===
;=== Copyright (c)1998 Metrowerks, Inc. All rights reserved.
;=============================================================
; Recommended tab stop = 8.
;=============================================================... |
src/Experiments/STLCRefPointfree.agda | metaborg/mj.agda | 10 | 840 | <reponame>metaborg/mj.agda
open import Relation.Binary.PropositionalEquality
module Experiments.STLCRefPointfree (funext : ∀ {a b} → Extensionality a b) where
open import Level
open import Data.Nat hiding (_^_)
import Data.Unit as Unit
open import Data.List
open import Data.List.Prefix
open import Data.List.Propertie... |
source/nodes/program-nodes-known_discriminant_parts.ads | optikos/oasis | 0 | 28062 | <filename>source/nodes/program-nodes-known_discriminant_parts.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Discriminant_Specifications;
wit... |
1A/S5/PIM/tps/tp6/afficher_un_entier.ads | MOUDDENEHamza/ENSEEIHT | 4 | 9894 | <reponame>MOUDDENEHamza/ENSEEIHT
package Afficher_Un_Entier is
-- Afficher l'entier N sur la sortie standard.
-- Cette procédure s'appuie sur Ada.Integer_Text_IO.Put mais permet d'avoir
-- une procédure avec un seul paramètre.
procedure Afficher (N: in Integer);
end Afficher_Un_Entier;
|
Ravel.g4 | Northshoot/RavelLang | 0 | 3595 | grammar Ravel;
@header{
import ai.harmony.ravel.compiler.scope.*;
import ai.harmony.ravel.compiler.symbol.*;
import ai.harmony.ravel.compiler.types.Type;
}
tokens { INDENT, DEDENT }
@lexer::members {
// A queue where extra tokens are pushed on (see the NEWLINE lexer rule).
private java.util.LinkedList<Token> tok... |
src/string_sets_utils.ads | TNO/Rejuvenation-Ada | 1 | 451 | <reponame>TNO/Rejuvenation-Ada
with String_Sets; use String_Sets;
with String_Vectors; use String_Vectors;
package String_Sets_Utils is
function From_Vector (V : Vector) return Set;
function To_String (S : Set) return String;
end String_Sets_Utils;
|
src/q_bingada.ads | jfuica/bingada | 4 | 15826 | <filename>src/q_bingada.ads
--*****************************************************************************
--*
--* PROJECT: BINGADA
--*
--* FILE: q_bingada.ads
--*
--* AUTHOR: <NAME>
--*
--*****************************************************************************
package Q_Bing... |
src/main/java/com/grammar/Logo.g4 | pawlo555/LynxTranslator | 0 | 709 | grammar Logo; // Define a grammar called Logo
// PARSER
program
: line+ endFileArg
;
line
: brakeArg? (spaceArg? cmd spaceArg?)+ brakeArg?
;
cmd:
repeat
| while1
| procedure
| procedureCall
| forward
| back
| left
| right
| home
//variables cmd
| let
|... |
source/s-syncon.ads | ytomino/drake | 33 | 24402 | pragma License (Unrestricted);
-- runtime unit
package System.Synchronous_Control is
pragma Preelaborate;
-- no-operation
procedure Nop is null;
-- yield
type Yield_Handler is access procedure;
pragma Favor_Top_Level (Yield_Handler);
Yield_Hook : not null Yield_Handler := Nop'Access;
pro... |
calculator/src/main/antlr/org/example/gka/math/Math.g4 | rm3dom/Calculator | 0 | 3355 | <reponame>rm3dom/Calculator<filename>calculator/src/main/antlr/org/example/gka/math/Math.g4
/*
* Math Rules
*/
grammar Math;
@header {
package org.example.gka.math;
}
math: scalar | linear | EOF;
linear: (scalar | term) sumop (scalar | term | linear) ;
scalar: term scaleop (term | scalar);
term : number | '(' ... |
CloverEFI/BootSector/efi32.nasm | crazyinsanejames/CloverBootloader | 3,861 | 246575 | <filename>CloverEFI/BootSector/efi32.nasm
DEFAULT_HANDLER_SIZE: equ 9 ; size of exception/interrupt stub
SYS_CODE_SEL: equ 0x20 ; 32-bit code selector in GDT
PE_OFFSET_IN_MZ_STUB: equ 0x3c ; place in MsDos stub for offset to PE Header
VGA_FB: equ 0x000b8000 ; VGA framebuffer for 80x25 mono mode
VGA_LINE: equ ... |
sorter.adb | ddugovic/words | 4 | 507 | with TEXT_IO;
with DIRECT_IO;
with STRINGS_PACKAGE; use STRINGS_PACKAGE;
with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE;
with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE;
procedure SORTER is
-- This program sorts a file of lines (strings) on 5 substrings Mx..Nx
-- Sort by stringwis... |
PRG/objects/CoinBoss.asm | narfman0/smb3_pp1 | 0 | 28944 | <gh_stars>0
.byte $01 ; Unknown purpose
.byte OBJ_BOOMERANGBRO, $03, $17
.byte OBJ_BOOMERANGBRO, $0C, $17
.byte OBJ_TREASUREBOXAPPEAR, $0F, $11
.byte $FF ; Terminator
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2554.asm | ljhsiun2/medusa | 9 | 15879 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r15
push %rax
push %rcx
push %rdx
push %rsi
// Faulty Load
mov $0x3bca400000000a5b, %r15
nop
nop
cmp $42386, %rcx
mov (%r15), %esi
lea oracles, %rdx
and $0xff, %rsi
shlq $12, %rsi
mov (%rdx,%rsi,1), %rsi
pop %rsi
pop %rdx
... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/log10_fastcall.asm | ahjelm/z88dk | 640 | 90301 | <reponame>ahjelm/z88dk
SECTION code_fp_am9511
PUBLIC log10_fastcall
EXTERN asm_am9511_log10_fastcall
defc log10_fastcall = asm_am9511_log10_fastcall
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _log10_fastcall
defc _log10_fastcall = asm_am9511_log10_fastcall
ENDIF
|
workflow/get_finders_path.scpt | ramiroaraujo/alfred-tmux-workflow | 6 | 2426 | if application "Path Finder" is running then
tell application "Path Finder"
set target_path to "\"" & (the POSIX path of the target of the front finder window) & "\""
return target_path
end tell
else
tell application "Finder"
try
set target_path to (quoted form of POSIX path ... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1055.asm | ljhsiun2/medusa | 9 | 175040 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
lea addresses_normal+0x4be, %rsi
lea addresses_normal+0x15dbe, %rdi
nop
nop
nop
xor $63580, %rdx
mov $79, %rcx
rep movsl
nop
add $32585, %rsi
// Sto... |
programs/oeis/278/A278130.asm | neoneye/loda | 22 | 161648 | ; A278130: a(n) = 492*2^n - 222.
; 270,762,1746,3714,7650,15522,31266,62754,125730,251682,503586,1007394,2015010,4030242,8060706,16121634,32243490,64487202,128974626,257949474,515899170,1031798562,2063597346,4127194914,8254390050,16508780322,33017560866,66035121954,132070244130
mov $1,2
pow $1,$0
sub $1,1
mul $1,492
a... |
RAM.asm | romhack/BC-BackFromSource | 4 | 173955 | ;.segment RAM
;Здесь описаны все переменные, используемые в игре
Enum 0
Temp: .BYTE 0 ; (uninited) ; DATA XREF: SetUp_LevelVARs+6Fw
; SetUp_LevelVARs+74r
; Draw_RespawnPic:+w
; Draw_RespawnPic+18r
; Draw_Player_Lives+50w
; Draw_Player_Lives+54r
; Get_Random_A+11r
... |
hanoi.als | experimental-dustbin/alloy-models | 9 | 1997 | // https://dev.to/davidk01/solving-tower-of-hanoi-with-alloy-5gn9
// Tower of Hanoi: https://en.wikipedia.org/wiki/Tower_of_Hanoi
open util/ordering[Ring]
open util/ordering[TowerPosition]
open util/ordering[State]
// We are going to work with rings. Rings are ordered by size that is
// why we opened ordering for Ring... |
28_Per-Pixel_Collision_Detection/Dot.asm | DebugBSD/SDLExamples | 3 | 102187 | <reponame>DebugBSD/SDLExamples
include Dot.inc
Dot_shiftColliders proto :PTR Dot
.code
Dot_Init proc pDot:PTR Dot, x:DWORD, y:DWORD ; Constructor
mov r10d, x
mov r11d, y
mov rdi, pDot
mov (Dot PTR [rdi]).m_PosX, r10d
mov (Dot PTR [rdi]).m_PosY, r11d
mov (Dot PTR [rdi]).m_VelX, 0
mov (Dot PTR [rdi]).m_Vel... |
Cubical/Algebra/Group/GroupPath.agda | guilhermehas/cubical | 1 | 6800 | <gh_stars>1-10
-- The SIP applied to groups
{-# OPTIONS --safe #-}
module Cubical.Algebra.Group.GroupPath where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLe... |
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/dot_asis_library/source/tool_2_wrapper_h.adb | sourceryinstitute/rose-sourcery-institute | 0 | 6000 | <gh_stars>0
with Ada.Text_IO;
with Interfaces.C;
with Asis_Tool_2.Tool;
with a_nodes_h.Support;
package body tool_2_wrapper_h is
package anhS renames a_nodes_h.Support;
function tool_2_wrapper
(target_file_in : in Interfaces.C.Strings.chars_ptr;
gnat_home : in Interfaces.C.Strings.chars_ptr;
... |
programs/oeis/189/A189007.asm | neoneye/loda | 22 | 179474 | <reponame>neoneye/loda
; A189007: Number of ON cells after n generations of the 2D cellular automaton described in the comments.
; 1,4,8,16,16,32,32,64,32,64,64,128,64,128,128,256,64,128,128,256,128,256,256,512,128,256,256,512,256,512,512,1024,128,256,256,512,256,512,512,1024,256,512,512,1024,512,1024,1024,2048,256,512... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0111.ads | svn2github/matreshka | 24 | 7830 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
lark/lib/parser.ads | cocolab8/cocktail | 0 | 22644 | -- $Id: parser.ads,v 1.0 1994/09/13 12:55:32 grosch rel $
$- -- IMPORT section is inserted here
$@ package @ is
$E -- EXPORT section is inserted here
-- named constants for start symbols
$I -- start symbol constants are inserted here
-- named constants for nonterminals
$U -- nonterminal constants are ins... |
stm32f3/stm32f303xe/svd/stm32_svd-interrupts.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 27008 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<gh_stars>1-10
-- This spec has been automatically generated from STM32F303xE.svd
-- Definition of the device's interrupts
package STM32_SVD.Interrupts is
----------------
-- Interrupts --
----------------
-- Window Watchdog interrupt
WWDG ... |
helloworld.asm | carpetmaker3162/hello-world | 0 | 92343 | .text
.globl _main
_main:
push %rbp
sub $16, %rsp
lea msg(%rip), %rdi
call _printf
add $16, %rsp
pop %rbx
ret
.data
msg: .ascii "Hello World!\n"
|
experiments/test-suite/mutation-based/10/10/binaryTree.als | kaiyuanw/AlloyFLCore | 1 | 5017 | pred test15 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
no left
right = Node0->Node1 + Node1->Node0
Acyclic[]
}
}
run test15 for 3 expect 0
pred test3 {
no Node
no left
no right
}
run test3 for 3 expect 1
pred test14 {
some disj Node0: Node {
Node = Node0
no left
no right
Acyclic[]
}
}
run test14 for 3 expe... |
core/old/system.asm | paulscottrobson/nextForth | 2 | 176758 | ; **********************************************************************************************************
;
; Name: system.asm
; Purpose System Primitive Words for Z80 CMForth Core
; Author: <NAME> (<EMAIL>)
; Date: 28th January 2018
;
; ***********************************************************************... |
oeis/049/A049684.asm | neoneye/loda-programs | 11 | 102992 | ; A049684: a(n) = Fibonacci(2n)^2.
; Submitted by <NAME>
; 0,1,9,64,441,3025,20736,142129,974169,6677056,45765225,313679521,2149991424,14736260449,101003831721,692290561600,4745030099481,32522920134769,222915410843904,1527884955772561,10472279279564025,71778070001175616,491974210728665289,3372041405099481409,2311231562... |
src/08-events/canon-to-canoe.asm | chaoshades/snes-ffci | 0 | 23677 | org $00A9FE ; Routine to hack
LDA $1281
AND #$04 ; check if "Yang Destroyed Cannon" flag is set
BEQ $23 ; If equal, skip to next check
LDA $1704 ; Load the current vehicle
; Is in no vehicle (00)
BNE $0B ; If not equal, skip to next check
LDA $A1,x ; Load trave... |
src/spread/main/index.asm | olifink/qspread | 0 | 243536 | <filename>src/spread/main/index.asm
* Spreadsheet 05/12-91
* - index control
*
include win1_keys_wman
include win1_keys_wwork
include win1_keys_wstatus
include win1_keys_qdos_io
include win1_keys_qdos_pt
include win1_keys_colour
include win1_mac_oli
include win1_spread_keys
xdef id... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41304b.ada | best08618/asylo | 7 | 19681 | -- C41304B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
libsrc/_DEVELOPMENT/z180/z180/asm_z180_delay_ms.asm | jpoikela/z88dk | 640 | 103343 |
; ===============================================================
; Mar 2014
; ===============================================================
;
; void z180_delay_ms(uint ms)
;
; Busy wait exactly the number of milliseconds, which includes the
; time needed for an unconditional call and the ret.
;
; ==================... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.