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 |
|---|---|---|---|---|
oeis/261/A261465.asm | neoneye/loda-programs | 11 | 6921 | <filename>oeis/261/A261465.asm
; A261465: a(n) = prime(n+1)^2 - prime(n).
; Submitted by <NAME>
; 7,22,44,114,158,276,344,510,818,932,1338,1644,1808,2166,2762,3428,3662,4428,4974,5258,6168,6810,7838,9320,10104,10508,11346,11774,12660,16016,17034,18638,19184,22062,22652,24498,26412,27726,29762
mov $2,$0
add $0,1
seq $0... |
programs/oeis/175/A175110.asm | neoneye/loda | 22 | 93317 | <reponame>neoneye/loda
; A175110: a(n) = ((2*n+1)^4+1)/2.
; 1,41,313,1201,3281,7321,14281,25313,41761,65161,97241,139921,195313,265721,353641,461761,592961,750313,937081,1156721,1412881,1709401,2050313,2439841,2882401,3382601,3945241,4575313,5278001,6058681,6922921,7876481,8925313,10075561,11333561,12705841,14199121,15... |
tlsf/src/proof/model/block/tlsf-proof-model-block.adb | vasil-sd/ada-tlsf | 3 | 22855 | package body TLSF.Proof.Model.Block with SPARK_Mode is
function Initial_Block (Space : Address_Space)
return Block is
pragma Assert (Space.Last > Space.First);
Size : BT.Aligned_Size := Space.Last - Space.First;
B : Block := (Space.First, BT.Address_Null, Size);
... |
src/ordt/parse/grammars/CommonExtParms.g4 | mytoys/open-register-design-tool | 1 | 2653 | // ordt parameter grammar - used in external parameter files as well as parameters embedded in rdl
//
// Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
grammar CommonExtParms;
ext_parms_root
: ext_parm_defs
EOF
;
ext_parm_defs
: ( global_defs
| rdl_in_defs
| jspec_in_defs
| rd... |
src/bin/cpu-visualizer/asm/add-with-carry.asm | gregtatum/cpu-6502-rs | 0 | 23019 | sec ; Set the carry flag
lda #$11 ; Load A with a value
adc #$22 ; This should add all three values
; = 0x01 + 0x11 + 0x22 = 0x34
clc ; Clear the carry bit
adc #$01 ; Add to the A register
inx ; Increase the value of X in the register
sta $00,x ;
adc #$01 ; Add to the A regis... |
oeis/065/A065224.asm | neoneye/loda-programs | 11 | 21038 | ; A065224: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the octagonal numbers. The final elements of the rows form a(n).
; Submitted by <NAME>(s3)
; 1,2,5,1,6,12,19,6,15,25,36,8,21,35,50,1,18,36,55,75,96,22,45,69,94,120,14,42,71,101,132,164,21,55,90,126,163,201,15,... |
base/ntos/rtl/i386/raise.asm | yang235/wrk-v1.2 | 209 | 81911 | title "Raise Exception"
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
;
; Module Name:
;
; ... |
eBadge/lmm/Pads.asm | iseries1/eBadge | 0 | 179174 | GNU assembler version 2.21 (propeller-elf)
using BFD version (propellergcc_v1_0_0_2408) 2.21.
options passed : -lmm -ahdlnsg=lmm/Pads.asm
input file : C:\Users\mbmis006\AppData\Local\Temp\ccrUaDFi.s
output file : lmm/Pads.o
target : propeller-parallax-elf
time stamp :
1 .... |
day04/input.ads | thorstel/Advent-of-Code-2018 | 2 | 19860 | <reponame>thorstel/Advent-of-Code-2018<gh_stars>1-10
package Input is
type Entry_Type is (Shift_Start, Fall_Asleep, Wake_Up);
type Record_Entry is record
Action : Entry_Type;
Data : Natural;
end record;
Repose_Records : constant array (Positive range <>) of Record_Entry :=
((Shift_Sta... |
src/Text/Parse.agda | lclem/agda-prelude | 0 | 9433 |
module Text.Parse (Tok : Set) where
open import Prelude
private
data P′ (A : Set) : Set where
symbolBind : (Tok → P′ A) → P′ A
fail′ : P′ A
returnPlus : A → P′ A → P′ A
_+++′_ : ∀ {A} → P′ A → P′ A → P′ A
symbolBind f +++′ symbolBind g = symbolBind λ x → f x +++′ g x
fail′ +++′ q = q
p +++′ fa... |
src/applescript/fizzbuzz.applescript | Sausty/UltimateFizzbuzzDatabase | 1 | 1467 | property outputText: ""
repeat with i from 1 to 100
if i mod 15 = 0 then
set outputText to outputText & "FizzBuzz"
else if i mod 3 = 0 then
set outputText to outputText & "Fizz"
else if i mod 5 = 0 then
set outputText to outputText & "Buzz"
else
set outputText to outputText & i
end if
set ou... |
bfvmm/src/hve/arch/intel_x64/vmcs_resume.asm | chp-io/hypervisor | 1 | 100878 | ;
; Copyright (C) 2019 Assured Information Security, Inc.
;
; 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... |
Task/Sum-and-product-of-an-array/AppleScript/sum-and-product-of-an-array-3.applescript | LaudateCorpus1/RosettaCodeData | 1 | 512 | <gh_stars>1-10
{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {sum:55}, {product:3628800}}
|
test/Succeed/Issue1820.agda | cagix/agda | 1,989 | 10645 | {-# OPTIONS --allow-unsolved-metas #-}
open import Agda.Builtin.Nat
test : (n : Nat) → Nat
test n with zero
... | n = {!n!}
|
oeis/125/A125301.asm | neoneye/loda-programs | 11 | 177830 | ; A125301: a(3n) = n, a(3n+1) = (n+2)*a(3n), a(3n+2) = (n+2)*a(3n+1).
; Submitted by <NAME>(w3)
; 0,0,0,1,3,9,2,8,32,3,15,75,4,24,144,5,35,245,6,48,384,7,63,567,8,80,800,9,99,1089,10,120,1440,11,143,1859,12,168,2352,13,195,2925,14,224,3584,15,255,4335,16,288,5184,17,323,6137,18,360,7200,19,399,8379,20,440,9680,21,483,1... |
oeis/314/A314108.asm | neoneye/loda-programs | 11 | 19484 | <reponame>neoneye/loda-programs
; A314108: Coordination sequence Gal.6.198.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,5,11,16,21,26,30,34,39,44,49,55,60,65,71,76,81,86,90,94,99,104,109,115,120,125,131,1... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/urealp.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 12651 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Application Support/BBEdit/AppleScript/New Line I don't care where I am now.applescript | bhdicaire/bbeditSetup | 0 | 3017 | tell application "BBEdit"
tell front window
activate
set lineNum to startLine of selection
set leng to length of line lineNum
-- Move cursor to start of line
if leng > 0 then
select insertion point after (character leng of line lineNum)
end if
set text of selection to "
"
select insertion point afte... |
smsq/spp/version.asm | olifink/smsqe | 0 | 105374 | ; SMSQ Serial (SerParPrt) IO Driver versions
section version
xdef spp_vers
; V2.00 First version.
;
; V2.01 Dynamic output buffering added.
;
; V2.02 Set and read headers added to V2.01.
;
; V2.03 Output interrupt routine simplified.
;
; V2.04 Zero length translated strings now OK.
;
; V2.05 Static buf... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_424_483.asm | ljhsiun2/medusa | 9 | 97576 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x35c4, %rbx
clflush (%rbx)
sub %r12, %r12
mov $0x6162636465666768, %rbp
movq %rbp, %xmm6
vmovups %ymm6, (%rbx)
nop
xor %rcx, %rcx
lea addresses_WC_ht+0x1e0c4, %r15
nop
nop
no... |
programs/oeis/105/A105452.asm | neoneye/loda | 22 | 17716 | <reponame>neoneye/loda
; A105452: Numerator of (7 n -1)/3.
; 2,13,20,9,34,41,16,55,62,23,76,83,30,97,104,37,118,125,44,139,146,51,160,167,58,181,188,65,202,209,72,223,230,79,244,251,86,265,272,93,286,293,100,307,314,107,328,335,114,349
mul $0,7
mov $1,$0
add $0,6
mov $2,$1
gcd $2,3
div $0,$2
|
Some Basic Programs/9.asm | moni-kishore-dhar/Problem-Solving-by-Assembly-Language | 1 | 161132 | ;3 - 5 + 7 - 9 + 11
;using even odd
mov bx,11
mov cx,5
mov si,0
mov di,2
Series:
mov ax,cx
div di
cmp dx,0
je cx_even
jne cx_odd
cx_even:
sub si,bx
sub bx,2
jmp exit
cx_odd:
add si,bx
sub b... |
levels/processed/lvl4_tiles.asm | cppchriscpp/ld38 | 4 | 175922 | <filename>levels/processed/lvl4_tiles.asm<gh_stars>1-10
.export _lvl4
_lvl4:
.byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
.byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
.byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
.byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
.byte 1, 1, 1, 1, 1, 1, 1, 1,... |
programs/oeis/097/A097337.asm | karttu/loda | 0 | 100551 | ; A097337: Integer part of the edge of a cube that has space-diagonal n.
; 0,1,1,2,2,3,4,4,5,5,6,6,7,8,8,9,9,10,10,11,12,12,13,13,14,15,15,16,16,17,17,18,19,19,20,20,21,21,22,23,23,24,24,25,25,26,27,27,28,28,29,30,30,31,31,32,32,33,34,34,35,35,36,36,37,38,38,39,39,40,40,41,42,42,43,43,44,45,45,46,46,47,47,48,49,49,50,5... |
5_KTMT_HN/learn_mips/larger.asm | SummerSad/HCMUS-Lectures | 8 | 80298 | <reponame>SummerSad/HCMUS-Lectures
# Print the larger
main:
# get x
addi $v0, $zero, 5 # syscall 5: read int
syscall
add $t0, $zero, $v0
# get y
addi $v0, $zero, 5
syscall
add $t1, $zero, $v0
# $t2 save larger, init is x
# if x < y, $t2 save y
add $t2, $zero, $t0
# compare
slt $t3, $t0, $t1 # $t3 = (x... |
source/command/graphics/sprcor.asm | mega65dev/rom-assembler | 0 | 160396 | ; ********************************************************************************************
; ********************************************************************************************
;
; Name : sprcor.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : <NAME>
;
; ******... |
src/kernel/bootloader.asm | thpertic/LostOS | 8 | 3656 | ; multiboot headers constants
MBALIGN equ 1<<0 ; align loaded modules on page boundaries
MEMINFO equ 1<<1 ; provide memory map
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
MAGIC equ 0x1... |
libsrc/cpm/a_machinever.asm | RC2014Z80/z88dk | 8 | 103494 | ;
; Small C+ Runtime Library
;
; CP/M functions
;
; CPM Plus "userf" custom Amstrad calls, for Amstrad CPC & PCW and ZX Spectrum +3
;
;
; $Id: a_machinever.asm,v 1.2 2017-01-02 20:06:48 aralbrec Exp $
;
SECTION code_clib
PUBLIC a_machinever
PUBLIC _a_machinever
EXTERN subuserf
INCLU... |
test/asset/agda-stdlib-1.0/Function/HalfAdjointEquivalence.agda | omega12345/agda-mode | 0 | 15081 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Half adjoint equivalences
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Function.HalfAdjointEquivalence where
open import Function
open impo... |
examples/ex1.asm | michalmalik/pvm | 2 | 174245 | STO A,0x1000
STO B,[A] |
src/kernel/irq.asm | bbworld1/egg-kernel | 8 | 96317 | ; IRQ handler code
%include "constants.asm"
; The kernel remaps the PIC so that IRQs 0..16 trigger interrupts 32..48
; There are 16 IRQ handlers that jump to a common stub, which sets up the environment for the C IRQ handler
; The C IRQ handling code dispatches another IRQ handler for that specific IRQ (irq.c)
; 2nd... |
case-studies/performance/verification/alloy/ppc/tests/bclwdww024.als | uwplse/memsynth | 19 | 1833 | <filename>case-studies/performance/verification/alloy/ppc/tests/bclwdww024.als
module tests/bclwdww024
open program
open model
/**
PPC bclwdww024
"DpsR Fre LwSyncdWW Rfe DpsR Fre LwSyncdWW Rfe"
Cycle=DpsR Fre LwSyncdWW Rfe DpsR Fre LwSyncdWW Rfe
Relax=BCLwSyncdWW
Safe=Fre DpsR
{
0:r2=y; 0:r4=x;
1:r2=x;
2:r2=x; 2:r4=y... |
programs/oeis/122/A122248.asm | neoneye/loda | 22 | 94315 | <reponame>neoneye/loda<filename>programs/oeis/122/A122248.asm
; A122248: a(n) - a(n-1) = A113474(n).
; 0,1,3,5,9,13,18,23,31,39,48,57,68,79,91,103,119,135,152,169,188,207,227,247,270,293,317,341,367,393,420,447,479,511,544,577,612,647,683,719,758,797,837,877,919,961,1004,1047,1094,1141,1189
mov $1,$0
lpb $1
mov $2,$... |
oeis/086/A086436.asm | neoneye/loda-programs | 11 | 85253 | ; A086436: Maximum number of parts possible in a factorization of n; a(1) = 1, and for n > 1, a(n) = A001222(n) = bigomega(n).
; Submitted by <NAME>
; 1,1,1,2,1,2,1,3,2,2,1,3,1,2,2,4,1,3,1,3,2,2,1,4,2,2,3,3,1,3,1,5,2,2,2,4,1,2,2,4,1,3,1,3,3,2,1,5,2,3,2,3,1,4,2,4,2,2,1,4,1,2,3,6,2,3,1,3,2,3,1,5,1,2,3,3,2,3,1,5,4,2,1,4,2... |
programs/oeis/055/A055554.asm | neoneye/loda | 22 | 20177 | ; A055554: An arithmetic progression each term of which is followed by at least 4 nonsquarefree consecutive integers.
; 242,1757711582,3515422922,5273134262,7030845602,8788556942,10546268282,12303979622,14061690962,15819402302,17577113642,19334824982,21092536322,22850247662,24607959002,26365670342
mul $0,1757711340
ad... |
oeis/015/A015226.asm | neoneye/loda-programs | 11 | 174139 | ; A015226: Even hexagonal pyramidal numbers.
; Submitted by <NAME>
; 22,50,252,372,946,1222,2360,2856,4750,5530,8372,9500,13482,15022,20336,22352,29190,31746,40300,43460,53922,57750,70312,74872,89726,95082,112420,118636,138650,145790,168672,176800,202742,211922,241116,251412,284050,295526,331800,344520,384622,398650,44... |
src/STLC/Type/Relation.agda | johnyob/agda-types | 0 | 9432 | module STLC.Type.Relation where
open import Data.Nat using (ℕ)
open import Data.Fin using (Fin)
open import STLC.Term
open import STLC.Type
open import STLC.Type.Context using (Ctxt)
open import Data.Vec using (_∷_; lookup)
open import Relation.Nullary using (¬_)
open import Relation.Binary.PropositionalEquality ... |
test/mul8bit.asm | feilipu/z80_crypto | 0 | 16907 | ; 8 x 8 to 16 bit multiplication
; In: B, C multiplicands
; Out: HL product
; Pollutes: AF, F', BC, DE
INCLUDE "config_rc2014_private.inc"
SECTION code_user
PUBLIC MUL8
MUL8:
ld l,c ; 4
ld c,__IO_LUT_OPERAND_LATCH ; 7 operand latch address
out (c),l ; ... |
courses/fundamentals_of_ada/labs/prompts/100_packages/input.adb | AdaCore/training_material | 15 | 25964 | <reponame>AdaCore/training_material
with Ada.Text_IO; use Ada.Text_IO;
with Constants;
package body Input is
-- Function implementation for getting integer value from user
-- Input value should use limits from Constants package to ensure
-- valid input data
end Input;
|
contaLettere.asm | edoardottt/Asm_mars_examples | 21 | 87154 | <gh_stars>10-100
# CONTA I CARATTERI DI UNA STRINGA DATA IN INPUT E STAMPA LA TERNA <#LETTERE,#NUMERI,#ALTRO>
.data
richiesta: .asciiz "inserire una stringa (max 100 caratteri)\n"
stringa: .space 101
.text
li $v0,4
la $a0,richiesta
syscall
li $v0,8
la $a0,stringa
li $a1,100
syscall
len:
lb $s0,stringa($s1)
beq $s0,10... |
src/test_static_tasks.adb | Fabien-Chouteau/AGATE | 3 | 2102 | <filename>src/test_static_tasks.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, <NAME> --
-- ... |
gdb-7.3/gdb/testsuite/gdb.ada/uninitialized_vars/parse.adb | vidkidz/crossbridge | 1 | 15649 | <gh_stars>1-10
-- Copyright 2009, 2011 Free Software Foundation, Inc.
--
-- 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 3 of the License, or
-- (at your option) any later... |
programs/oeis/022/A022784.asm | neoneye/loda | 22 | 14348 | <reponame>neoneye/loda<filename>programs/oeis/022/A022784.asm
; A022784: Place where n-th 1 occurs in A023122.
; 1,3,6,10,15,22,30,39,49,61,74,88,103,119,137,156,176,197,220,244,269,295,322,351,381,412,444,478,513,549,586,624,664,705,747,790,835,881,928,976,1025,1076,1128,1181,1235,1291,1348,1406,1465,1526
mov $2,$0
a... |
testsuite/ubivm/expected/service_1.asm | alexgarzao/UOP | 0 | 20770 | <filename>testsuite/ubivm/expected/service_1.asm<gh_stars>0
Entity servico
No options
Constants
0 S servico
1 S soma
2 S x
3 S y
4 S group
5 S Alex
End
Valid context (always)
No properties
Def soma
Parameters
0 int x
1 int y
End
No local variables
Result
0 int
End
ldpar 0 --> [x]
... |
tests/statistics-test_data-tests-statistics_container.ads | thindil/steamsky | 80 | 6009 | <filename>tests/statistics-test_data-tests-statistics_container.ads
package Statistics.Test_Data.Tests.Statistics_Container is
end Statistics.Test_Data.Tests.Statistics_Container;
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_27.asm | ljhsiun2/medusa | 9 | 103468 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x12dc1, %r14
xor %rcx, %rcx
mov (%r14), %rbp
nop
nop
nop
nop
add %r10, %r10
lea addresses_A_ht+0x17221, %rcx
nop
nop
sub %rbp, %rbp
mov (%rcx), %r15
nop
nop
nop
sub $13765, %r... |
Library/Pref/Prefcomp/prefcomp.asm | steakknife/pcgeos | 504 | 99807 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT:
MODULE:
FILE: prefcomp.asm
AUTHOR: <NAME>, Jan 18, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Dat... |
Application Support/BBEdit/Scripts/Eval/Rename Active Document.scpt | bhdicaire/bbeditSetup | 0 | 2815 | <filename>Application Support/BBEdit/Scripts/Eval/Rename Active Document.scpt
tell application "BBEdit"
activate
set old_name to name of text window 1
set dialog_result to display dialog ¬
"Rename active document:" default answer (old_name) ¬
buttons {"Cancel", "Rename"} default button 2 ¬
... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/overload.ads | ouankou/rose | 488 | 12715 | package Overload is
function Minus(x, y : in integer) return integer;
end Overload;
|
3-mid/physics/interface/source/private/bullet/bullet_physics-joint.ads | charlie5/lace | 20 | 13493 | with
physics.Joint.DoF6,
physics.Joint.cone_twist,
physics.Joint.slider,
physics.Joint.hinge,
physics.Joint.ball,
physics.Object,
bullet_C.Pointers,
lace.Any;
package bullet_Physics.Joint
--
-- Provides glue between a physics joint and a Bullet3D joint.
--
is
type Item is a... |
data/maps/objects/RedsHouse1F.asm | opiter09/ASM-Machina | 1 | 21754 | RedsHouse1F_Object:
db $a ; border block
def_warps
warp 2, 7, 0, LAST_MAP ; exit1
warp 3, 7, 0, LAST_MAP ; exit2
warp 7, 1, 0, REDS_HOUSE_2F ; staircase
def_signs
sign 3, 1, 2 ; TV
def_objects
object SPRITE_MOM, 5, 4, STAY, LEFT, 1 ; Mom
def_warps_to REDS_HOUSE_1F
|
Scripts/Test/main.asm | pmprog/pmScript | 0 | 90870 | include api.inc
.stack 30
.start start
TEST_ACC equ TEST_LOOP + 3
TEST_LOOP equ 5 + AddEventHandler
myApp str 'Test App'
myVer var 1
myCopy str ' '
start: mov cnt, TEST_LOOP * 0Dh
mov cps, myApp
mov cpd, myApp
loophere:
mov acc, TEST_ACC
nop
mov cps, myApp
mov cpd, myCopy
mov cnt, 8
copyStr:
mo... |
test/Succeed/Issue4880.agda | cruhland/agda | 1,989 | 12096 | -- Andreas, 2020-09-09, issue #4880
-- Parse all interleavings of hiding and irrelevance in non-dependent function space
module Issue4880 (A B : Set) where
postulate
-- dependent
-- * visible
_ : A → (_ : B) → A
_ : A → .(_ : B) → A
_ : A → ..(_ : B) → A
-- * hidden
_ : A → {_ : B} → A
_ : A → .... |
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca.log_21829_442.asm | ljhsiun2/medusa | 9 | 170918 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1b146, %r11
nop
nop
nop
nop
nop
inc %rax
movb $0x61, (%r11)
nop
nop
nop
nop
inc %rcx
lea addresses_WT_ht+0x1946, %r12
sub $38579, %r13
mov (%r12), %eax
nop
nop
nop
nop
and %r1... |
ugbc/src/hw/6847/vars.asm | spotlessmind1975/ugbasic | 10 | 161167 | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed under the Apache... |
Task/Matrix-multiplication/AppleScript/matrix-multiplication-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2525 | -- matrixMultiply :: Num a => [[a]] -> [[a]] -> [[a]]
to matrixMultiply(a, b)
script rows
property xs : transpose(b)
on |λ|(row)
script columns
on |λ|(col)
my dotProduct(row, col)
end |λ|
end script
map(columns... |
programs/oeis/237/A237347.asm | jmorken/loda | 1 | 26944 | <reponame>jmorken/loda
; A237347: First differences of A078633.
; 3,3,2,3,2,3,2,2,3,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,2,3,2,2,2,2,2,3,2,2,2,2,2,3,2,2,2,2,2,2,3,2,2,2,2,2,2,3,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,... |
smsq/sbas/putp.asm | olifink/smsqe | 0 | 8885 | <gh_stars>0
; Put parameters - QL / SBASIC Compatible V2.00 1994 <NAME>
section uq
xdef sb_putp
xref sb_aldat
xref sb_redat
xref sb_aldatl
xref sb_redatl
; xref mem_alhp
; xref mem_rehp
include 'dev8_keys_err'
include 'dev8_keys_err4'
include 'dev8_keys_sbasic'
include 'dev8_mac_assert'
;+++
... |
lisa/src/test/antlr/IMPLexer.g4 | UniVE-SSV/soap-lisa | 0 | 7042 | <reponame>UniVE-SSV/soap-lisa
/**
* The lexer for the java subset
*
* @author <NAME>
*/
lexer grammar IMPLexer;
@ lexer :: header
{package it.unive.lisa.test.antlr;}
// =========================== KEYWORDS ===========================
// basic types
BOOLEAN
: 'boolean'
;
STRING
: 'string'
;
FLOAT... |
alloy4fun_models/trashltl/models/11/Gxkauc7ofvA5pEymX.als | Kaixi26/org.alloytools.alloy | 0 | 3780 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idGxkauc7ofvA5pEymX_prop12 {
all f:File | f in Trash implies always f in Trash
}
pred __repair { idGxkauc7ofvA5pEymX_prop12 }
check __repair { idGxkauc7ofvA5pEymX_prop12 <=> prop12o } |
src/test/ref/parse-negated-struct-ref.asm | jbrandwood/kickc | 2 | 6294 | <reponame>jbrandwood/kickc<gh_stars>1-10
// Test parsing a negated struct reference - which causes problems with the ASMREL labels !a++
// https://gitlab.com/camelot/kickc/issues/266
// Commodore 64 PRG executable file
.file [name="parse-negated-struct-ref.prg", type="prg", segments="Program"]
.segmentdef Program [se... |
programs/oeis/120/A120303.asm | jmorken/loda | 1 | 22900 | <reponame>jmorken/loda<filename>programs/oeis/120/A120303.asm
; A120303: Largest prime factor of Catalan number A000108(n).
; 2,5,7,7,11,13,13,17,19,19,23,23,23,29,31,31,31,37,37,41,43,43,47,47,47,53,53,53,59,61,61,61,67,67,71,73,73,73,79,79,83,83,83,89,89,89,89,97,97,101,103,103,107,109,109,113,113,113,113,113,113,113... |
programs/oeis/010/A010554.asm | neoneye/loda | 22 | 1750 | <reponame>neoneye/loda
; A010554: a(n) = phi(phi(n)), where phi is the Euler totient function.
; 1,1,1,1,2,1,2,2,2,2,4,2,4,2,4,4,8,2,6,4,4,4,10,4,8,4,6,4,12,4,8,8,8,8,8,4,12,6,8,8,16,4,12,8,8,10,22,8,12,8,16,8,24,6,16,8,12,12,28,8,16,8,12,16,16,8,20,16,20,8,24,8,24,12,16,12,16,8,24,16,18,16,40,8,32,12,24,16,40,8,24,20,... |
Games/CMonster (Breakout)/Source/shared.asm | CiaranGruber/Ti-84-Calculator | 1 | 95273 | ;############## Cmonster by <NAME> - routines shared with editor
;############## Keyboard input
GET_KEY:
push hl
push de
push bc
ld e,0 ; E = GET_KEY result
ld hl,getkeylastdata ; HL = ptr to last read's table
... |
examples/asm/multiply_two_numbers.asm | nickgammon/G-Pascal | 7 | 6353 | ;
; put 47302 into value
;
lda #<47302
sta value
lda #>47302
sta value+1
stz value+2
;
; put 55 into value2
;
lda #<55
sta value2
lda #>55
sta value2+1
stz value2+2
;
; multiply them to get the result 2601610
;
jsr exp_multiply
;
; display the result
;
jsr display_in_decimal
; done!
rts
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1053.asm | ljhsiun2/medusa | 9 | 165043 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xc837, %r12
nop
nop
nop
cmp $19542, %r9
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
vmovups %ymm2, (%r12)
nop
nop
nop
nop
nop
and $17014, %r14
lea ... |
programs/oeis/007/A007607.asm | karttu/loda | 0 | 22264 | <reponame>karttu/loda
; A007607: Skip 1, take 2, skip 3, etc.
; 2,3,7,8,9,10,16,17,18,19,20,21,29,30,31,32,33,34,35,36,46,47,48,49,50,51,52,53,54,55,67,68,69,70,71,72,73,74,75,76,77,78,92,93,94,95,96,97,98,99,100,101,102,103,104,105,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,154,155,156,157,158,159... |
2-low/neural/applet/test/learn_linear/linear_net.ads | charlie5/lace | 20 | 16958 | <reponame>charlie5/lace
-- with Neural.Pattern;
with Neural.Net;
-- with float_Math;
package linear_Net
is
package Math renames Neural.Math;
type Item is new neural.Net.Item with private;
type View is access all Item;
procedure define (Self : out Item;
... |
Ada/src/fakelib/utilities-task_reaper.ads | fintatarta/fakedsp | 0 | 29680 | --
-- A characteristic of Ada task is that if an exception happens they
-- silently die. This can make debugging difficult. The procedure
-- Install_Reaper installs a handler that print some useful information
-- to standard error when a task dies.
--
package Utilities.Task_Reaper is
type Verbosity_Level is (Ex... |
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xca_notsx.log_128_1281.asm | ljhsiun2/medusa | 9 | 242556 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xdcbf, %rsi
lea addresses_A_ht+0x3bef, %rdi
clflush (%rdi)
nop
nop
add %r9, %r9
mov $50, %rcx
rep movsl
nop
inc %rbp
lea addresses_WC_ht+0x1a49f, %rsi
lea addres... |
gfx/pokemon/weepinbell/anim.asm | Dev727/ancientplatinum | 28 | 102385 | setrepeat 2
frame 0, 05
frame 1, 05
frame 2, 05
dorepeat 1
frame 3, 12
endanim
|
Task/Flatten-a-list/Ada/flatten-a-list-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 17270 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO;
with Nestable_Lists;
procedure Flatten_A_List is
package Int_List is new Nestable_Lists
(Element_Type => Integer,
To_String => Integer'Image);
List : Int_List.List := null;
begin
Int_List.Append (List, Int_List.New_List (1));
Int_Lis... |
programs/oeis/249/A249349.asm | neoneye/loda | 22 | 13073 | ; A249349: (A001147(n+1)-1)/2, equals the index of A249348(n) within the triangular numbers A000217.
; 0,1,7,52,472,5197,67567,1013512,17229712,327364537,6874655287,158117071612,3952926790312,106729023338437,3095141676814687,95949391981255312,3166329935381425312,110821547738349885937,4100397266318945779687,159915493386... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt28_pkg.ads | best08618/asylo | 7 | 10449 | package Opt28_Pkg is
type Posix_String is array (Positive range <>) of aliased Character;
function To_Posix (Str : String) return Posix_String;
function To_String (Str : Posix_String) return String;
function Is_File (Str : Posix_String) return Boolean;
function Value_Of (Name : Posix_String) return Posix_St... |
data/events/unown_walls.asm | Dev727/ancientplatinum | 28 | 242687 | <filename>data/events/unown_walls.asm
unownwall: MACRO
rept _NARG
if \1 == "-"
x = $64
elif \1 >= "Y"
x = 2 * (\1 - "Y") + $60
elif \1 >= "Q"
x = 2 * (\1 - "Q") + $40
elif \1 >= "I"
x = 2 * (\1 - "I") + $20
else
x = 2 * (\1 - "A")
endc
db x
shift
endr
db -1 ; end
ENDM
UnownWalls:
; UNOWNWORDS_ESCAPE
; db $08,... |
src/giza-backend.adb | Fabien-Chouteau/Giza | 7 | 26552 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
MD407/Kap2/mom3.asm | konglobemeralt/DAT017 | 0 | 24335 | <reponame>konglobemeralt/DAT017
start:
LDR R1, ='s'
LDR R2, ='c'
LDRH R0, [R1]
STRB R0, [R2]
|
Cats/Limit/Product.agda | alessio-b-zak/cats | 0 | 15875 | module Cats.Limit.Product where
open import Data.Bool using (Bool ; true ; false)
open import Data.Product using (_×_ ; _,_ ; ∃-syntax ; proj₁ ; proj₂)
open import Cats.Category
open import Cats.Category.Cones using (Cones ; Cone ; HasObj-Cone)
open import Cats.Category.Discrete as Discrete using (Discrete)
open impo... |
programs/oeis/055/A055014.asm | karttu/loda | 0 | 19362 | <reponame>karttu/loda
; A055014: Sum of 5th powers of digits of n.
; 0,1,32,243,1024,3125,7776,16807,32768,59049,1,2,33,244,1025,3126,7777,16808,32769,59050,32,33,64,275,1056,3157,7808,16839,32800,59081,243,244,275,486,1267,3368,8019,17050,33011,59292,1024,1025,1056,1267,2048,4149,8800,17831,33792,60073,3125,3126,3157,... |
alloy4fun_models/trashltl/models/4/cP88SeDfEoFCYdzRQ.als | Kaixi26/org.alloytools.alloy | 0 | 682 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idcP88SeDfEoFCYdzRQ_prop5 {
eventually (some f : File | File' = File - f)
}
pred __repair { idcP88SeDfEoFCYdzRQ_prop5 }
check __repair { idcP88SeDfEoFCYdzRQ_prop5 <=> prop5o } |
tools/scitools/conf/understand/ada/ada12/s-interr.ads | brucegua/moocos | 1 | 21502 | <reponame>brucegua/moocos<filename>tools/scitools/conf/understand/ada/ada12/s-interr.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS ... |
oeis/044/A044720.asm | neoneye/loda-programs | 11 | 16319 | <gh_stars>10-100
; A044720: Numbers n such that string 0,7 occurs in the base 10 representation of n but not of n+1.
; Submitted by <NAME>
; 107,207,307,407,507,607,707,807,907,1007,1079,1107,1207,1307,1407,1507,1607,1707,1807,1907,2007,2079,2107,2207,2307,2407,2507,2607,2707,2807,2907,3007,3079,3107,3207,3307,3407,350... |
src/Fragment/Extensions/CSemigroup/Base.agda | yallop/agda-fragment | 18 | 14801 | {-# OPTIONS --without-K --exact-split --safe #-}
module Fragment.Extensions.CSemigroup.Base where
open import Fragment.Equational.Theory.Bundles
open import Fragment.Algebra.Signature
open import Fragment.Algebra.Free Σ-magma hiding (_~_)
open import Fragment.Algebra.Homomorphism Σ-magma
open import Fragment.Algebra... |
tests/expr_asm_value/12.asm | NullMember/customasm | 414 | 292 | <reponame>NullMember/customasm
; inner error
#ruledef
{
emit {x} => x
test {x} => asm { emit x }
}
test 12 ; error: failed / error:_:5: infer |
source/amf/mof/cmof/amf-internals-cmof_opaque_expressions.adb | svn2github/matreshka | 24 | 25681 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
courses/fundamentals_of_ada/labs/prompts/170_inheritance/employee.adb | AdaCore/training_material | 15 | 23468 | <reponame>AdaCore/training_material
package body Employee is
procedure Set_Attribute
(O : in out Person_T;
Value : String) is
begin
null;
end Set_Attribute;
function Get_Attribute
(O : Person_T)
return String is
begin
return "";
end Get_Attribute;
pro... |
audio/sfx/battle_29.asm | opiter09/ASM-Machina | 1 | 8724 | <reponame>opiter09/ASM-Machina<gh_stars>1-10
SFX_Battle_29_Ch5:
duty_cycle_pattern 3, 0, 2, 1
square_note 11, 15, 3, 288
square_note 9, 13, 3, 336
sound_loop 5, SFX_Battle_29_Ch5
square_note 8, 14, 3, 304
square_note 15, 12, 2, 272
sound_ret
SFX_Battle_29_Ch8:
noise_note 10, 15, 3, 53
noise_note 14, 15, 6, 6... |
oeis/289/A289280.asm | neoneye/loda-programs | 11 | 3213 | ; A289280: a(n) = least integer k > n such that any prime factor of k is also a prime factor of n.
; Submitted by <NAME>(s3)
; 4,9,8,25,8,49,16,27,16,121,16,169,16,25,32,289,24,361,25,27,32,529,27,125,32,81,32,841,32,961,64,81,64,49,48,1369,64,81,50,1681,48,1849,64,75,64,2209,54,343,64,81,64,2809,64,121,64,81,64,3481,6... |
unit_tests/static-tests/common/cpu.assert16i.error.asm | undisbeliever/untech-engine | 34 | 3752 | <reponame>undisbeliever/untech-engine<gh_stars>10-100
// Test cpu.inc
architecture wdc65816-strict
include "../../../src/common/cpu.inc"
sep($30)
assert16i() // ERROR
|
lib/Explore/Universe/Type.agda | crypto-agda/explore | 2 | 9184 | <filename>lib/Explore/Universe/Type.agda
{-# OPTIONS --without-K #-}
open import Type using (Type₀; Type₁)
open import Type.Identities
open import Data.Zero using (𝟘)
open import Data.One using (𝟙; 0₁)
open import Data.Two.Base using (𝟚; 0₂; 1₂)
open import Data.Product.NP using (Σ; _×_)
open import Data.Sum.NP usin... |
unittests/ASM/Primary/Primary_E8.asm | cobalt2727/FEX | 628 | 100987 | <reponame>cobalt2727/FEX
%ifdef CONFIG
{
"RegData": {
"RAX": "0x1",
"RBX": "0x1"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rsp, 0xe0000020
mov rax, 0
mov rbx, 0
; NASM doesn't have a way to explicitly encode a 16bit or 32bit relative call
; Manually encode
db 0x66 ; 16bit
db 0xE8 ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1862.asm | ljhsiun2/medusa | 9 | 176341 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1862.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1023c, %r9
nop
sub $7805, %r8
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
vmovups %ym... |
wof/lcs/base/316.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 167685 | copyright zengfr site:http://github.com/zengfr/romhack
0015D8 move.w A0, -(A4) [base+316]
0015DE addq.w #1, ($310,A5) [base+316]
001618 move.w A0, -(A4) [base+316]
00161E addq.w #1, ($310,A5) [base+316]
018B2A clr.w ($30c,A5) [base+316]
01A652 move.w D0, ($310,A5) [base+316]
05E00C subq.w #1, D7 [base+3... |
src/opencl/pixelarray-gpu.ads | sebsgit/textproc | 0 | 5513 | <filename>src/opencl/pixelarray-gpu.ads
with cl_objects; use cl_objects;
with opencl;
with System;
package PixelArray.Gpu is
pragma Elaborate_Body;
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
type GpuImage is tagged ... |
test/tester.adb | skill-lang/skillAdaTestSuite | 1 | 13740 | with Ahven.Framework;
with Ahven.Text_Runner;
with Test_Aircraft.Append;
with Test_Aircraft.Read;
with Test_Aircraft.Write;
with Test_Annotation.Append;
with Test_Annotation.Read;
with Test_Annotation.Write;
with Test_Null_Annotation.Read;
with Test_Null_Annotation.Write;
with Test_Constants.Write;
with Test_Contai... |
calculator.asm | kkxley/calculator | 1 | 163304 | %include 'functions.asm'
SECTION .data
msg1 db ' остаток ', 0
msg2 db '-----------------', 0
msg3 db 'нельзя делить на ноль', 0
SECTION .bss
input: resb 255
opc: resb 2
SECTION .text
global _start
_start:
call str2int; вводим первое число
push ... |
extern/gnat_sdl/gnat_sdl2/src/sdl_error_h.ads | AdaCore/training_material | 15 | 23974 | <gh_stars>10-100
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
package SDL_error_h is
-- arg-macro: procedure SDL_OutOfMemory ()
-- SDL_Error(SDL_ENOMEM)
-- arg-macro: procedure SDL_Unsupported ()
-- SDL_Error(SDL_UNSUPPORTED)
-- a... |
intrepyd/iec611312py/IEC61131Lexer.g4 | bobosoft/intrepyd | 2 | 2499 | /*
* Copyright (C) 2017 <NAME> <<EMAIL>>
*
* This file is distributed under the terms of the 3-clause BSD License.
* A copy of the license can be found in the root directory or at
* https://opensource.org/licenses/BSD-3-Clause.
*
* Author: <NAME> <<EMAIL>>
* Date: 26/10/2017
*
* A lexer for IEC61131-3 ST... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_eval.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 4421 | <reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
archive/agda-2/Oscar/Data2.agda | m0davis/oscar | 0 | 4396 | {- defining Nat as a kind of List -}
-- the need for ‼ is unfortunate
module Oscar.Data2 where
record ⊤ : Set where
constructor tt
-- List
data ⟦_⟧ {a} (A : Set a) : Set a where
∅ : ⟦ A ⟧
_∷_ : A → ⟦ A ⟧ → ⟦ A ⟧
-- Nat
⟦⟧ = ⟦ ⊤ ⟧
pattern ‼ ⟦A⟧ = tt ∷ ⟦A⟧
-- Fin
data ⟦⟧[_] : ⟦⟧ → Set where
∅ : ∀ {n} → ⟦⟧[ ‼ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.