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 |
|---|---|---|---|---|
models/tests/test69f.als | transclosure/Amalgam | 4 | 3295 | module tests/test
sig Sub { f: Int }
run { some Sub$ && some Sub$f && some A$ } // expect "A$" not found
|
audio/music/pkmnhealed.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 28303 | <reponame>etdv-thevoid/pokemon-rgb-enhanced<gh_stars>1-10
Music_PkmnHealed_Ch0::
tempo 144
volume 7, 7
duty 2
toggleperfectpitch
notetype 12, 8, 1
rest 2
pitchbend 0, 75
B_ 2
pitchbend 0, 84
B_ 2
pitchbend 0, 68
E_ 2
rest 4
pitchbend 0, 59
E_ 4
pitchbend 0, 75
B_ 4
endchannel
Music_PkmnHealed_Ch1::
... |
moves/mvlname.asm | DigitalMars/optlink | 28 | 10550 | TITLE MVLNAME - Copyright (c) SLR Systems 1994
INCLUDE MACROS
PUBLIC MOVE_ASCIZ_ESI_EDI,MOVE_ASCIZ_ECX_EAX
.CODE ROOT_TEXT
MOVE_ASCIZ_ECX_EAX PROC
;
;ECX IS SOURCE, EAX IS DESTINATION
;
TEST AL,3
JNZ L8$
MOV EDX,EAX
L4$:
MOV EAX,[ECX]
ADD ECX,4
MOV [EDX],EAX
ADD EDX,4
TEST AL,AL
... |
modules/taskman/ring0/sigevent.nasm | r-tty/radios | 0 | 24473 | <reponame>r-tty/radios<filename>modules/taskman/ring0/sigevent.nasm<gh_stars>0
;-------------------------------------------------------------------------------
; sigevent.nasm - signal and event system calls.
;-------------------------------------------------------------------------------
module tm.kern.sigevent
%inc... |
text/Route15.asm | opiter09/ASM-Machina | 1 | 241201 | <reponame>opiter09/ASM-Machina
_Route15BattleText1::
text "Let me try out the"
line "#MON I just"
cont "got in a trade!"
done
_Route15EndBattleText1::
text "Not"
line "good enough!"
prompt
_Route15AfterBattleText1::
text "You can't change"
line "the nickname of"
cont "any #MON you"
cont "get in a trade."
... |
electives/pw/lab/lista-2/ada/plunderer.ads | jerry-sky/academic-notebook | 4 | 19845 | <reponame>jerry-sky/academic-notebook<gh_stars>1-10
with Node; use Node;
with RandInt;
package Plunderer is
package RAD renames RandInt;
task type PlundererTask(nodes: pArray_pNodeObj; maxSleep: Natural; intervals: Natural) is
entry Stop;
end PlundererTask;
type pPlundererTask is access Plun... |
programs/oeis/316/A316355.asm | neoneye/loda | 22 | 83165 | <filename>programs/oeis/316/A316355.asm
; A316355: 2k-1 appears 2k times after 2k-2 appears once.
; 0,1,1,2,3,3,3,3,4,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,8,9,9,9,9,9,9,9,9,9,9,10,11,11,11,11,11,11,11,11,11,11,11,11,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,16,17,17,17,17,... |
programs/oeis/255/A255527.asm | jmorken/loda | 1 | 6456 | <filename>programs/oeis/255/A255527.asm<gh_stars>1-10
; A255527: Where records occur in A255437.
; 1,2,3,6,7,8,9,13,14,15,16,17,18,23,24,25,26,27,28,29,30,36,37,38,39,40,41,42,43,44,45,52,53,54,55,56,57,58,59,60,61,62,63,71,72,73,74,75,76,77,78,79,80,81,82,83,84,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,... |
SOAS/Families/Linear.agda | JoeyEremondi/agda-soas | 39 | 1216 | <filename>SOAS/Families/Linear.agda
-- Linear monoidal closed structure for families
module SOAS.Families.Linear {T : Set} where
open import SOAS.Common
open import SOAS.Context {T}
open import SOAS.Sorting {T}
open import SOAS.Families.Core {T}
open import SOAS.Families.Isomorphism {T}
open import Categories.Categ... |
oeis/021/A021632.asm | neoneye/loda-programs | 11 | 247708 | ; A021632: Decimal expansion of 1/628.
; Submitted by <NAME>(s2.)
; 0,0,1,5,9,2,3,5,6,6,8,7,8,9,8,0,8,9,1,7,1,9,7,4,5,2,2,2,9,2,9,9,3,6,3,0,5,7,3,2,4,8,4,0,7,6,4,3,3,1,2,1,0,1,9,1,0,8,2,8,0,2,5,4,7,7,7,0,7,0,0,6,3,6,9,4,2,6,7,5,1,5,9,2,3,5,6,6,8,7,8,9,8,0,8,9,1,7,1
seq $0,173833 ; 10^n - 3.
div $0,628
mod $0,10
|
programs/oeis/202/A202865.asm | neoneye/loda | 22 | 166962 | ; A202865: Number of 3 X 3 0..n arrays with row and column sums one greater than the previous row and column.
; 2,42,228,776,2046,4578,9128,16704,28602,46442,72204,108264,157430,222978,308688,418880,558450,732906,948404,1211784,1530606,1913186,2368632,2906880,3538730,4275882,5130972,6117608,7250406,8545026,10018208,116... |
gdb/testsuite/gdb.ada/mi_catch_assert/bla.adb | greyblue9/binutils-gdb | 1 | 26883 | -- Copyright 2018-2021 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 version.
--
-- ... |
Cubical/HITs/SetTruncation/Properties.agda | cj-xu/cubical | 0 | 11838 | {-
This file contains:
- Properties of set truncations
-}
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.SetTruncation.Properties where
open import Cubical.Core.Glue
open import Cubical.HITs.SetTruncation.Base
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cu... |
projects/batfish/src/main/antlr4/org/batfish/grammar/frr/Frr_ip_community_list.g4 | ton31337/batfish | 1 | 1597 | <reponame>ton31337/batfish<gh_stars>1-10
parser grammar Frr_ip_community_list;
import Frr_common;
options {
tokenVocab = FrrLexer;
}
ip_community_list
:
COMMUNITY_LIST
(
icl_expanded
| icl_standard
)
;
icl_expanded
:
EXPANDED name = ip_community_list_name
action = line_action
(
quoted = do... |
asm/_bugfix.asm | RockmanEXEZone/MMBN45-English-Translation | 6 | 166917 | // QOL improvements
//.org 0x80068DC // Respawn Heart/Star Data when date changes,
// // but this removes Fortune effect.
// // Taken from Virtual Console.
// bl 0x80668A8 // Spawn Heart Data
// bl 0x8068CCC // Spawn Star Data
.org 0x80255A8
ldr r2,=bugfix_videomanTapeDodgeTarget|1
bx r2
.org 0x80255C0
ldr r2,=... |
_incObj/4E Wall of Lava.asm | kodishmediacenter/msu-md-sonic | 9 | 85426 | <reponame>kodishmediacenter/msu-md-sonic<filename>_incObj/4E Wall of Lava.asm<gh_stars>1-10
; ---------------------------------------------------------------------------
; Object 4E - advancing wall of lava (MZ)
; ---------------------------------------------------------------------------
LavaWall:
moveq #0,d0
mov... |
programs/oeis/131/A131737.asm | karttu/loda | 1 | 161166 | ; A131737: Essentially even numbers followed by duplicated odd numbers.
; 0,1,1,1,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,23,23,24,25,25,26,27,27,28,29,29,30,31,31,32,33,33,34,35,35,36,37,37,38,39,39,40,41,41,42,43,43,44,45
mul $0,2
sub $0,4
div $0,3
add $0,1
mov $1,$0
|
org.alloytools.alloy.diff/misc/inheritance/subset.als | jringert/alloy-diff | 1 | 609 | <reponame>jringert/alloy-diff
sig Name {}
sig X1 in Name {
parent: one Name
}
run {some n: Name | no n.parent} |
tools/ayacc/src/stack_pack.adb | svn2github/matreshka | 24 | 20491 |
with Unchecked_Deallocation;
package body Stack_Pack is
SCCS_ID : constant String := "@(#) stack.ada, Version 1.2";
type Node is
record
Datum : Element;
Next : Link;
end record;
function Top_Value (S: in Stack) return Element is
begin
if S.Top... |
examples/network/windController/safety.agda | wenkokke/vehicle | 11 | 2963 | <filename>examples/network/windController/safety.agda
module safety where
open import Algebra
open import Data.List
open import Data.List.Relation.Unary.All using (All; []; _∷_)
open import Data.Rational
open import Data.Rational.Properties
open import Data.Nat using (z≤n; s≤s)
open import Data.Integer using (+≤+; +... |
Scaliger.adb | Louis-Aime/Milesian_calendar_Ada | 0 | 15223 | <reponame>Louis-Aime/Milesian_calendar_Ada<filename>Scaliger.adb
-- Body of package Scaliger
----------------------------------------------------------------------------
-- Copyright Miletus 2015
-- Permission is hereby granted, free of charge, to any person obtaining
-- a copy of this software and associated documenta... |
test/aircraft/test_aircraft-read.ads | skill-lang/skillAdaTestSuite | 1 | 18695 | <filename>test/aircraft/test_aircraft-read.ads
with Ada.Strings.Unbounded;
with Ahven.Framework;
with Aircraft.Api;
package Test_Aircraft.Read is
use Aircraft;
use Aircraft.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Test);
procedure Airplane_1;... |
programs/oeis/003/A003688.asm | karttu/loda | 0 | 18911 | <gh_stars>0
; A003688: a(n) = 3*a(n-1) + a(n-2), with a(1)=1 and a(2)=4.
; 1,4,13,43,142,469,1549,5116,16897,55807,184318,608761,2010601,6640564,21932293,72437443,239244622,790171309,2609758549,8619446956,28468099417,94023745207,310539335038,1025641750321,3387464586001,11188035508324,36951571110973,122042748841243,4030... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/e/ee3409f.ada | best08618/asylo | 7 | 5279 | <reponame>best08618/asylo
-- EE3409F.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... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_setBGPaletteColor_callee.asm | jpoikela/z88dk | 640 | 99610 | <filename>libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_setBGPaletteColor_callee.asm<gh_stars>100-1000
; void SMS_setBGPaletteColor(unsigned char entry,unsigned char color)
SECTION code_clib
SECTION code_SMSlib
PUBLIC _SMS_setBGPaletteColor_callee
EXTERN asm_SMSlib_setBGPaletteColor
_SMS_setBGPaletteColor_callee:
... |
source/oasis/program-elements-choice_parameter_specifications.ads | reznikmm/gela | 0 | 4472 | <filename>source/oasis/program-elements-choice_parameter_specifications.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Elements.Defining_Identifiers;
with Program.Le... |
agda/context-properties.agda | florence/esterel-calculus | 3 | 11875 | module context-properties where
open import utility
open import Esterel.Lang
open import Esterel.Lang.Binding
open import Esterel.Lang.Properties
open import Esterel.Lang.CanFunction
open import Esterel.Lang.CanFunction.Properties
using (canₛ-⊆-FV ; canₛₕ-⊆-FV ; canθₛ-E₁⟦p⟧⊆canθₛ-p ; canθₛₕ-E₁⟦p⟧⊆canθₛₕ-p)
open impo... |
tools-src/gnu/gcc/gcc/ada/rtsfind.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 22864 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
agda/paper/Dijkstra-monad/2019-03-Wouter-Swierstra_A_Predicate_Transformer_for_Effects/x.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 2496 | {-# OPTIONS --type-in-type #-} -- NOT SOUND!
open import Data.Empty using (⊥)
open import Data.Nat renaming (ℕ to Nat)
open import Data.Nat.DivMod
open import Data.Product hiding (map)
open import Data.Unit using (⊤)
module x where
{-
https://webspace.science.uu.nl/~swier004/publications/2019-... |
int 10/Teletype/smile/smile.asm | LiquidFox1776/Keeping-it-Real | 1 | 2372 | <gh_stars>1-10
org 7c00h ; ORIGIN ADDRESS
MOV AH,0Eh ; 0E TELETYPE MODE
MOV AL,1 ; CHARACTER TO WRITE, ASCII CHARACTER 1 IS THE HAPPY FACE
INT 10h ; CALL THE INTERRUPT FOR VIDEO SERVICES
TIMES 510-($-$$) DB 0 ; PAD UNTIL 510TH BYTE
DW 0xAA55 ; BOOT SIGNATURE
TIMES 1474560-($-$$) DB 0
|
asm/menu_item_layout.asm | tashiww/maten_tools | 1 | 169741 | ; ########################################################################################
; #
; # party member select menus
; #
; ########################################################################################
ColOffset equr d0
RowOffset equr d1
WindowWidth equr d2
WindowHeight equr d3
PartySelectMenu macro... |
5/main.asm | akruman/low-level-programming-c | 0 | 91027 | <reponame>akruman/low-level-programming-c<filename>5/main.asm
section .data
%include "words.inc"
global _start
extern find_word
extern read_word
extern exit
extern string_length
extern print_string
section .text
; enter key, the ^D^D (why twice?) and if key found value is printed
_start:
sub rsp,255
mov rdi,rs... |
src/ByteCount.agda | cruhland/agda-editor | 0 | 6332 | <reponame>cruhland/agda-editor<gh_stars>0
module ByteCount where
open import Agda.Builtin.Word
{-# FOREIGN GHC import Foreign.C.Types #-}
postulate
CSize : Set
mkCSize : Word64 → CSize
{-# COMPILE GHC CSize = type CSize #-}
{-# COMPILE GHC mkCSize = CSize #-}
ByteCount : Set
ByteCount = CSize
|
src/sets/core.agda | pcapriotti/agda-base | 20 | 10207 | <reponame>pcapriotti/agda-base
{-# OPTIONS --without-K #-}
module sets.core where
open import equality.core
module _ {i}{A : Set i}
(_<_ : A → A → Set i) where
data Ordering (x y : A) : Set i where
lt : x < y → Ordering x y
eq : x ≡ y → Ordering x y
gt : y < x → Ordering x y
|
kernel/betterPaging.asm | jaredwhitney/os3 | 5 | 8612 | betterPaging.init :
pusha
call betterPaging.createPageDirectory
call betterPaging.doIdentityMapAllMemory
call betterPaging.enablePaging
popa
ret
betterPaging.enablePaging :
pusha
mov eax, [Paging.directory]
mov cr3, eax
mov eax, cr0
or eax, 0x80000000
mov cr0, eax
popa
ret
betterPaging.c... |
rewrite-yaml/src/main/antlr/JsonPath.g4 | honnix/rewrite | 0 | 6618 | parser grammar JsonPath;
options { tokenVocab=JsonPathLexer; }
jsonpath
: ROOT? object+
;
object
: LBRACK expression RBRACK #BracketOperator
| DOT expression #DotOperator
| DOT_DOT expression ... |
programs/oeis/093/A093361.asm | neoneye/loda | 22 | 177133 | <gh_stars>10-100
; A093361: Add/multiply sequence, see example.
; 1,3,7,11,27,33,69,77,141,151,251,263,407,421,617,633,889,907,1231,1251,1651,1673,2157,2181,2757,2783,3459,3487,4271,4301,5201,5233,6257,6291,7447,7483,8779,8817,10261,10301,11901,11943,13707,13751,15687,15733,17849,17897,20201,20251,22751,22803,25507,255... |
ANTLR/JSONLDGraphGenerator/fuente/GrammarCsvLexer.g4 | Alvarohf/University-work | 0 | 6280 | lexer grammar GrammarCsvLexer;
@header{
package fuente;
}
TEXTO: ~[,\n\r"]+;
INTRO: [\n\r]+;
CADENA: '"' ('""'|~'"')* '"' {setText(getText().substring(1,getText().length()-1).replaceAll("\\\\(.)","$1"));};
SEPARADOR: ',';
|
courses/fundamentals_of_ada/labs/solar_system/230_interfacing_with_c/answers/my_solar_system.ads | AdaCore/training_material | 15 | 24282 | <filename>courses/fundamentals_of_ada/labs/solar_system/230_interfacing_with_c/answers/my_solar_system.ads
with Solar_System; use Solar_System;
package My_Solar_System is
-- declare variable Bodies which is an array of Body_Type
Bodies : aliased Bodies_Array_T;
end My_Solar_System;
|
q_import.applescript | bunnylushington/nomad2qlab | 0 | 2225 | on run argv
-- Usage: osascript import.scpt <EOS Cue Name> <EOS Cue Number>
tell application id "com.figure53.qlab.4"
-- Set the color of light cues in QLab
set theColor to "Purple"
-- Set the patch in QLab
set thePatch to 1
set theLightQ to item 2 of argv
set theCueName to "[" & theLightQ... |
programs/oeis/332/A332044.asm | karttu/loda | 1 | 21417 | <gh_stars>1-10
; A332044: a(n) is the length of the shortest circuit that visits every edge of an undirected n X n grid graph.
; 4,16,28,48,68,96,124,160,196,240,284,336,388,448,508,576,644,720,796,880,964,1056,1148,1248,1348,1456,1564,1680,1796,1920,2044,2176,2308,2448,2588,2736,2884,3040,3196,3360,3524,3696,3868,4048... |
CS2610/Lab7/problem4.asm | shariefsmm/College-Codes | 0 | 163890 | #problem4.asm
.data
.text
.globl main
main:
li $s0, 5
li $s1, 4
li $s2, 6
li $s3, 7
li $s4, 6
li $s5, 2
li $s6, 1
li $s7, 3
addiu $sp, -4 #add a word in stack
sw $s0, ($sp) #store s0 in stack
addi $s0, 1 #increment s0
addiu $sp, -4 #add a word in stack
sw $s1, ($sp) #store s1 in stack
addi ... |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_corr.ads | caqg/linux-home | 0 | 11290 | with ARM_Output,
ARM_Contents,
Ada.Text_IO;
package ARM_Corr is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package defines the text output object.
-- Output objects are responsible for implementing the details of
-- a particular format.
--
-- -----... |
Application/AssemblyCode/working_and_tmp_asm_files/testInitLevel.asm | t0ddpar0dy/Handmade_Pacman | 0 | 19056 | JAL r1 initlevel # maybe macro to JAL initlevel
LUI 255 r0
ORI 247 r0
MOVI 8 r1
STOR r1 r0
BUC 0
initlevel:
LUI 55 r0 # Make the address for where init function starts
ORI 182 r0 #
MOV r0 r3 # r3 current address of where we are reading from memory
LUI 63 r1 # make address for writting location in frame buffer
ORI 2... |
programs/year21/prg1.asm | banyek/HRM | 0 | 174260 | -- HUMAN RESOURCE MACHINE PROGRAM --
a:
COPYFROM 5
COPYTO 1
b:
INBOX
JUMPZ c
ADD 1
COPYTO 1
JUMP b
c:
COPYFROM 1
OUTBOX
JUMP a
DEFINE LABEL 1
<KEY>;
DEFINE LABEL 5
<KEY>;
|
specs/ada/server/ike/tkmrpc-operation_handlers-ike-cc_add_certificate.ads | DrenfongWong/tkm-rpc | 0 | 8114 | <gh_stars>0
with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Operation_Handlers.Ike.Cc_Add_Certificate is
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type);
-- Handler for the cc_add_certificate operation.
end Tkmrpc.Operation_Handlers.Ike.Cc_Add_Certificate;
|
basestar-expression/src/main/antlr4/io/basestar/expression/parse/Expression.g4 | stage-tech/basestar | 3 | 3732 |
grammar Expression;
parse
: expr EOF
;
exprs
: expr (Comma expr)*
;
pair
: expr Colon expr
;
// Important! must list all name-like tokens here
identifier
: (Identifier | With | For | In | Where | Any | All | Of | Like | ILike | Select | From | Union | Distinct | Join | Left | Right | Inner | Outer | As | G... |
oeis/108/A108400.asm | neoneye/loda-programs | 11 | 18460 | ; A108400: a(n) = Product_{k = 0..n} k!*2^k.
; Submitted by <NAME>
; 1,2,16,768,294912,1132462080,52183852646400,33664847019245568000,347485857744891213250560000,64560982045934655213753964953600000,239901585047846581083822477336190648320000000
mov $1,2
mov $2,2
mov $4,23
lpb $0
mov $3,$2
add $2,1
mul $4,$1
lpb... |
Tejas-Simulator/PIN/pin-2.14/source/tools/ToolUnitTests/analysis_flag_overwrite_app_win.asm | markoshorro/tejas_knl | 17 | 1181 | <reponame>markoshorro/tejas_knl<gh_stars>10-100
PUBLIC main_asm
.686
.model flat, c
extern addcVal:word
.code
main_asm PROC
mov eax,-1
mov edx,0
add eax,1
adc edx,0
lea ecx,addcVal
mov DWORD PTR [ecx], edx
ret
main_asm ENDP
end |
memsim-master/src/parser-parse_dup.adb | strenkml/EE368 | 0 | 3247 |
with Memory.Dup;
separate (Parser)
procedure Parse_Dup(parser : in out Parser_Type;
result : out Memory_Pointer) is
dp : Dup.Dup_Pointer := Dup.Create_Dup;
mem : Memory_Pointer := null;
begin
while Get_Type(parser) = Open loop
Parse_Memory(parser, mem);
Dup.Add_Memory(... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1135.asm | ljhsiun2/medusa | 9 | 96808 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x8413, %rsi
lea addresses_WT_ht+0x4949, %rdi
nop
nop
and $13308, %r10
mov $75, %rcx
rep movsw
nop
sub %rax, %rax
lea addresses_A_ht+0x1a0c7, %rsi
le... |
libsrc/_DEVELOPMENT/math/float/math32/c/sccz80/cm32_sccz80_fsread_callee.asm | jpoikela/z88dk | 640 | 91091 | <filename>libsrc/_DEVELOPMENT/math/float/math32/c/sccz80/cm32_sccz80_fsread_callee.asm
SECTION code_clib
SECTION code_fp_math32
PUBLIC cm32_sccz80_fsreadl_callee
PUBLIC cm32_sccz80_fsread1_callee
.cm32_sccz80_fsreadl_callee
; sccz80 float primitive
; Read right sccz80 float from the stack
;
; enter ... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshr_saddr2py.asm | jpoikela/z88dk | 640 | 176744 | <filename>libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshr_saddr2py.asm
; uchar tshr_saddr2py(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_saddr2py
EXTERN _zx_saddr2py
defc _tshr_saddr2py = _zx_saddr2py
|
mul.asm | MrGlockenspiel/sfxasm | 1 | 29711 | ;Test program
.DEF R0,$00
.DEF R1,$01
.DEF R2,$02
.DEF R3,$03
.DEF R4,$04
.DEF R5,$05
.DEF R6,$06
.DEF R7,$07
.DEF R8,$08
.DEF R9,$09
.DEF R10,$0A
.DEF R11,$0B
.DEF R12,$0C
.DEF R13,$0D
.DEF R14,$0E
.DEF R15,$0F
from R3
to R5
umult R0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
stop |
alloy4fun_models/trashltl/models/7/oFgCEKJMbEdJNZA9j.als | Kaixi26/org.alloytools.alloy | 0 | 226 | open main
pred idoFgCEKJMbEdJNZA9j_prop8 {
eventually (File.link in Trash and link.File in Trash)
}
pred __repair { idoFgCEKJMbEdJNZA9j_prop8 }
check __repair { idoFgCEKJMbEdJNZA9j_prop8 <=> prop8o } |
awa/regtests/awa-mail-modules-tests.adb | twdroeger/ada-awa | 0 | 201 | -----------------------------------------------------------------------
-- awa-mail-module-tests -- Unit tests for Mail module
-- Copyright (C) 2012, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wi... |
Irvine/Examples/ch06/64 bit/BooleanOps.asm | alieonsido/ASM_TESTING | 0 | 27034 | ; Moves.asm - Testing the 64-bit move operations
ExitProcess proto
.data
hexval qword 0123456789ABCDEFh
allones qword 0FFFFFFFFFFFFFFFFh
testval qword ?
.code
main proc
; The AND instruction
; The destination is a 64-bit register:
mov rax,allones
and rax,80h ; affects all bits
mov rax,allones
and rax,8... |
integer7.agda | righ1113/Agda | 0 | 10153 | <reponame>righ1113/Agda
module integer7 where
import Relation.Binary.PropositionalEquality as PropEq
open PropEq using (_≡_; refl; cong; sym)
open import Data.Nat
-- Int
data Int : Set where
O : Int
I : ℕ → ℕ → Int
postulate
zeroZ : (x : ℕ) → I x x ≡ O
-- plusInt
_++_ : Int → Int → Int
O ++ O = O
O ++ X = X
X +... |
simple_asm/ganjil_genap.asm | bellshade/Assembly | 6 | 174182 | <filename>simple_asm/ganjil_genap.asm
; program sederhana untuk mengecek
; angka ganjil atau genap
; dengan nasm arsitektur 64 bit
segment .data
a: dq 2
b: dq 2
fmt_genap: dq "%lld adalah genap", 10, 0
fmt_ganjil: dq "%lld adalah ganjil", 10, 0
fmt_in: "%lld", 0
segment .text
global main
extern printf
extern scanf
m... |
Task/Topological-sort/Ada/topological-sort-3.ada | mullikine/RosettaCodeData | 1 | 14495 | <gh_stars>1-10
private with Ada.Containers.Indefinite_Vectors;
generic
type Index_Type_With_Null is new Natural;
package Set_Of_Names is
subtype Index_Type is Index_Type_With_Null
range 1 .. Index_Type_With_Null'Last;
-- manage a set of strings;
-- each string in the set is assigned a unique index o... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_13759_525.asm | ljhsiun2/medusa | 9 | 95246 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x2573, %rsi
lea addresses_UC_ht+0xfde5, %rdi
nop
nop
nop
nop
cmp $21827, %r12
mov $115, %rcx
rep movsb
inc %r8
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push... |
src/main/antlr4/notaql/parser/antlr/Import.g4 | notaql/notaql_graph | 0 | 7768 | <reponame>notaql/notaql_graph<gh_stars>0
grammar Import;
Whitespace : [ \t\r\n]+ -> skip ;
OUT: 'OUT.';
IN: 'IN.';
EQ: '=';
NEQ: '!=';
LT: '<';
LTEQ: '<=';
GT: '>';
GTEQ: '>=';
AND: '&&';
OR: '||';
PLUS: '+';
MINUS: '-';
DIV: '/';
MULT: '*';
OUTGOING: '_outgoing';
INCOMING: '_incoming';
LABEL: '_l';
ARROW: '<-';
TRUE:... |
Documentation/Tutorial/multiples.asm | geoffthorpe/ant-architecture | 0 | 99124 | # <NAME> -- 11/2/96
# multiples.asm-- An Ant-8 program that takes two
# numbers A and B, and prints out
# all the multiples of A from A to A * B.
# If B <= 0, then no multiples are printed.
# Registers used:
# r2 - used to hold A.
# r3 - used to hold B.
# r4 - used to store top, the sentinel value A * B.
# ... |
getnice.asm | ray5273/os_project1 | 0 | 164793 |
_getnice: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
int main(int argc, char **argv){
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b: ... |
ch05/5_8.asm | zzb610/asm-learn | 0 | 170317 | ASSUME cs:code
code SEGMENT
mov ax, 0ffffh
mov ds, ax
mov ax, 0020h
mov es, ax
mov bx, 0
mov cx, 12
s:mov dl, ds:[bx]
mov es:[bx], dl
inc bx
loop s
mov ax, 4c00h
int 21h
code ENDS
END |
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xa0_notsx.log_1_99.asm | ljhsiun2/medusa | 9 | 82796 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x14af4, %r10
nop
sub $21815, %r11
and $0xffffffffffffffc0, %r10
vmovaps (%r10), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %r12
cmp %rax, %rax
lea addresses_no... |
src/lift.agda | xoltar/cedille | 0 | 7204 | <filename>src/lift.agda
{- functions related to lift types. The main function is do-lift, which
is called from hnf -}
module lift where
open import lib
open import cedille-types
open import ctxt
open import syntax-util
open import subst
liftingType-to-kind : liftingType → kind
liftingType-to-kind (LiftArrow l1 l2... |
tests/heif/invalid-iovl-version.asm | y-guyon/ComplianceWarden | 3 | 91142 | <reponame>y-guyon/ComplianceWarden<filename>tests/heif/invalid-iovl-version.asm<gh_stars>1-10
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1"
ftyp_end:
meta_sta... |
Assembly/normal-fizzbuzz.asm | veotani/Hacktoberfest-2020-FizzBuzz | 80 | 10187 | <reponame>veotani/Hacktoberfest-2020-FizzBuzz
; FizzBuzz implemented in x86asm
; Author: @meneza
global _main
extern _printf
section .text
_main:
push ebp
mov ebp, esp
xor esi, esi
check:
cmp esi, 100
je end
push newline
call _printf
add esp, 4
inc esi
xor ebx, ebx
xor e... |
middleware/src/filesystem/filesystem-fat-directories.adb | rocher/Ada_Drivers_Library | 192 | 21531 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
8085_programming/YT/kth_largest_number.asm | SayanGhoshBDA/code-backup | 16 | 3210 | // TO FIND THE K-TH LARGEST NUMBER WITHOUT SORTING
LXI H,2060
MVI B,02
L8: MVI A,0H
LXI H,2060
MOV C,M
INX H
DCR C
JZ L4
MOV A,M
L3: INX H
CMP M
JC L1
L2: STC
CMC
DCR C
JNZ L3
MOV E,A
LXI H,2060
MOV C,M
L5: INX H
CMP M
JZ L6
L7: ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_34_1058.asm | ljhsiun2/medusa | 9 | 172108 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rdi
push %rdx
lea addresses_D_ht+0x1a02d, %rdi
nop
cmp $27690, %r11
movb (%rdi), %r10b
nop
nop
nop
inc %rdx
pop %rdx
pop %rdi
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r15
push %r8
push %rax
push %rbp
... |
Cubical/Data/Fin.agda | dan-iel-lee/cubical | 0 | 1250 | <reponame>dan-iel-lee/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Fin where
open import Cubical.Data.Fin.Base public
open import Cubical.Data.Fin.Properties public
open import Cubical.Data.Fin.Literals public
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cuprqu.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 4493 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
programs/oeis/134/A134960.asm | neoneye/loda | 22 | 172608 | ; A134960: a(n) = n*453060.
; 0,453060,906120,1359180,1812240,2265300,2718360,3171420,3624480,4077540,4530600,4983660,5436720,5889780,6342840,6795900,7248960,7702020,8155080,8608140,9061200,9514260,9967320,10420380,10873440
mul $0,453060
|
extensions/xada-dispatching-tts.ads | rocher/TTS-Runtime-Ravenscar | 2 | 30277 | <gh_stars>1-10
------------------------------------------------------------
--
-- GNAT RUN-TIME EXTENSIONS
--
-- XADA . DISPATCHING . TIME-TRIGGERED SCHEDULING
--
-- @file x-distts.ads / xada-dispatching-tts.ads
--
-- @package XAda.Dispatching.TTS (SPEC)
--
-- @author <NAME> <<EMAIL>>
-- @author <NAME> <<EMAIL>>
... |
src/bootloader/bootloader.asm | rsouza01/asm_stepbystep | 0 | 173441 | <filename>src/bootloader/bootloader.asm<gh_stars>0
org 0x7c00
bits 16
start: jmp boot
welcome_msg: db "Welcom in GeenVentersOS!", 0ah, 0dh, 0h
welcome_msg_len: equ $-welcome_msg
%include 'io.asm'
SECTION .text ; Section containig code
boot:
cli ; no interrupts
cld ; all that we need to init
mov ah, ... |
programs/oeis/064/A064226.asm | karttu/loda | 1 | 80815 | ; A064226: a(n) = (9*n^2 + 13*n + 6) / 2.
; 3,14,34,63,101,148,204,269,343,426,518,619,729,848,976,1113,1259,1414,1578,1751,1933,2124,2324,2533,2751,2978,3214,3459,3713,3976,4248,4529,4819,5118,5426,5743,6069,6404,6748,7101,7463,7834,8214,8603,9001,9408,9824,10249,10683,11126,11578,12039,12509,12988,13476,13973,14479,1... |
wof/lcs/enemy/DE.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 21858 | copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
0122BA move.l (A2)+, (A3)+
0122BC moveq #$0, D0
01A75E dbra D4, $1a75c
copyright zengfr site:http://github.com/zengfr/romhack
|
alloy4fun_models/trainstlt/models/8/FRdnH8gaBG6fT4M9D.als | Kaixi26/org.alloytools.alloy | 0 | 721 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idFRdnH8gaBG6fT4M9D_prop9 {
always (all t:Train| eventually ( one t.pos:>Entry))
}
pred __repair { idFRdnH8gaBG6fT4M9D_prop9 }
check __repair { idFRdnH8gaBG6fT4M9D_prop9 <=> prop9o } |
_build/dispatcher/jmp_ippsCmp_BN_9b06e139.asm | zyktrcn/ippcp | 1 | 13610 | <reponame>zyktrcn/ippcp
extern m7_ippsCmp_BN:function
extern n8_ippsCmp_BN:function
extern y8_ippsCmp_BN:function
extern e9_ippsCmp_BN:function
extern l9_ippsCmp_BN:function
extern n0_ippsCmp_BN:function
extern k0_ippsCmp_BN:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align... |
test/Succeed/Polarity-pragma.agda | shlevy/agda | 1,989 | 17018 | <filename>test/Succeed/Polarity-pragma.agda
data ⊥ : Set where
module M₁ where
postulate
∥_∥ : Set → Set
{-# POLARITY ∥_∥ ++ #-}
data D : Set where
c : ∥ D ∥ → D
module M₂ where
postulate
_⇒_ : Set → Set → Set
lambda : {A B : Set} → (A → B) → A ⇒ B
apply : {A B : Set} → A ⇒ B → A →... |
src/cups-string_maps.ads | persan/a-cups | 0 | 28556 | with Ada.Containers.Indefinite_Hashed_Maps;
with Ada.Strings.Fixed.Hash_Case_Insensitive;
package CUPS.String_Maps is new Ada.Containers.Indefinite_Hashed_Maps
(Key_Type => String,
Element_Type => String,
Hash => Ada.Strings.Fixed.Hash_Case_Insensitive,
Equivalent_Keys => "="... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2028.asm | ljhsiun2/medusa | 9 | 90371 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xc5cc, %rsi
lea addresses_WT_ht+0xdde7, %rdi
nop
sub $3331, %rax
mov $50, %rcx
rep movsb
nop
nop
nop
nop
cmp $33453, %rcx
lea addresses_A_ht+0x1bfe7, %rsi
lea... |
llvm-gcc-4.2-2.9/gcc/ada/gnatvsn.ads | vidkidz/crossbridge | 1 | 13989 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
scripts/Open Bookmarks with Selected Tag in Chrome.applescript | ddeville/spillo-applescript | 67 | 3658 | <reponame>ddeville/spillo-applescript<filename>scripts/Open Bookmarks with Selected Tag in Chrome.applescript
(*
*)
tell application "Spillo"
if selected tag exists then
set bookmark_list to the url of every bookmark in selected tag
tell application "Google Chrome"
if not (front window exists) then
mak... |
tests/applescript/test_clearqueue.applescript | 52Sarah/play-song | 80 | 4392 | <reponame>52Sarah/play-song
tell application "Music"
return number of tracks in playlist "Alfred Play Song"
end tell
|
programs/oeis/095/A095663.asm | karttu/loda | 1 | 170538 | <filename>programs/oeis/095/A095663.asm
; A095663: Eighth column (m=7) of (1,3)-Pascal triangle A095660.
; 3,22,92,288,750,1716,3564,6864,12441,21450,35464,56576,87516,131784,193800,279072,394383,547998,749892,1012000,1348490,1776060,2314260,2985840,3817125,4838418,6084432,7594752,9414328,11594000,14191056
mov $1,$0
a... |
src/cosmosdb-sql/grammar/CosmosDBSqlLexer.g4 | luomoyuyi/cosmos-sql-language-service | 14 | 7583 | lexer grammar CosmosDBSqlLexer;
// keywords
AND: A N D;
ARRAY: A R R A Y;
AS: A S;
ASC: A S C;
BETWEEN: B E T W E E N;
BY: B Y;
CASE: C A S E;
CAST:... |
programs/oeis/169/A169919.asm | neoneye/loda | 22 | 18205 | <reponame>neoneye/loda
; A169919: a(n) = n*n in the arithmetic where digits are added in base 10 (as usual) but when digits are to be multiplied they are also added in base 10.
; 0,2,4,6,8,10,12,14,16,18,220,242,264,286,308,330,352,374,396,418,440,462,484,506,528,550,572,594,616,638,660,682,704,726,748,770,792,814,836,... |
api/api019.asm | yosswi414/HariboteOS_USB | 0 | 10736 | <gh_stars>0
[BITS 32]
GLOBAL api_freetimer
[SECTION .text]
api_freetimer: ; void api_freetimer(int timer);
PUSH EBX
MOV EDX, 19
MOV EBX, [ESP+8] ; timer
INT 0x40
POP EBX
RET
|
Task/Balanced-ternary/Ada/balanced-ternary-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 27548 | with Ada.Finalization;
package BT is
type Balanced_Ternary is private;
-- conversions
function To_Balanced_Ternary (Num : Integer) return Balanced_Ternary;
function To_Balanced_Ternary (Str : String) return Balanced_Ternary;
function To_Integer (Num : Balanced_Ternary) return Integer;
function To... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_1_1811.asm | ljhsiun2/medusa | 9 | 2169 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rax
push %rbx
push %rsi
lea addresses_A_ht+0x1cf5f, %r14
nop
nop
xor %rax, %rax
mov (%r14), %rsi
nop
nop
nop
nop
nop
and $44025, %rbx
pop %rsi
pop %rbx
pop %rax
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r14
push %rbp
pus... |
Irvine/Examples/ch13/C_Language_Project/C_Language_Project/asmMain.asm | farazmurtaza/expression_to_assembly_generator | 0 | 165542 | TITLE Test Floating-point output (asmMain.asm)
; Test the printf and scanf functions from the C library.
INCLUDE Irvine32.inc
TAB = 9
.code
asmMain PROC C
;---------- test the printf function --------------
; Do not pass REAL4 variables to printf using INVOKE!
.data
formatTwo BYTE "%.2f",TAB,"%.3f",0dh,0ah,... |
programs/oeis/228/A228935.asm | neoneye/loda | 22 | 23684 | ; A228935: a(n) = (3 - 6*n)*(-1)^n.
; 0,3,-9,15,-21,27,-33,39,-45,51,-57,63,-69,75,-81,87,-93,99,-105,111,-117,123,-129,135,-141,147,-153,159,-165,171,-177,183,-189,195,-201,207,-213,219,-225,231,-237,243,-249,255,-261,267,-273,279,-285,291
mul $0,3
trn $0,1
seq $0,157142 ; Signed denominators of Leibniz series for Pi... |
sk/music-optimized/FBZ2.asm | Cancer52/flamedriver | 9 | 87998 | Snd_FBZ2_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_FBZ2_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $00
smpsHeaderDAC Snd_FBZ2_DAC
smpsHeaderFM Snd_FBZ2_FM1, $00, $07
smpsHeaderFM Snd_FBZ2_FM2, $00, $09
smpsHeaderFM Snd_FBZ2_FM3, $00, $0B
smpsHeaderFM ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1431.asm | ljhsiun2/medusa | 9 | 23104 | <reponame>ljhsiun2/medusa
.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+0x2133, %r12
clflush (%r12)
nop
nop
nop
nop
dec %rdi
movups (%r12), %xmm3
vpextrq $1, %xmm3, %rdx
nop
inc %r12
lea addresses_A_ht+0x18db1, %rbx
clflus... |
oeis/084/A084063.asm | neoneye/loda-programs | 11 | 10561 | <reponame>neoneye/loda-programs
; A084063: First subdiagonal of number array A084061.
; Submitted by <NAME>
; 1,1,7,63,761,11525,209539,4440527,107374753,2915352729,87771145551,2900744369039,104369641697881,4060189444664093,169777979925475531,7592652139022106975,361563242499379729537,18263719440778358953457,97529724374... |
Library/Text/TextLine/tlSmallLineInfo.asm | steakknife/pcgeos | 504 | 5433 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tlSmallLineInfo.asm
AUTHOR: <NAME>, Dec 26, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Desc... |
programs/oeis/129/A129186.asm | neoneye/loda | 22 | 28185 | ; A129186: Right shift operator generating 1's in shifted spaces.
; 1,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0
add $0,2
max $0,3
seq $0,2262 ; Triangle read by ro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.