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 |
|---|---|---|---|---|
components/src/screen/lcd/lcd_hd44780-pcf8574.ads | RREE/Ada_Drivers_Library | 0 | 16045 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2022, AdaCore --
-- --
-- Redis... |
src/pp/block3/cc/symbol/DeclUse.g4 | Pieterjaninfo/PP | 0 | 4815 | <reponame>Pieterjaninfo/PP
grammar DeclUse;
//@header{package pp.block3.cc.symbol;}
program : '(' series ')' ;
series : unit* ;
unit : decl #decUnit
| use #useUnit
| '(' series ')' #seriesUnit
;
decl : 'D:' ID ;
use : 'U:' ID ;
ID : [a-z... |
codigo/capitulo 39/archivo_actualizacion.asm | Nabucodonosor-editorial/ensamblador-x86 | 2 | 174747 | segment .data
MsgError db "se produjo un error",0xA,0xD ;mensaje en caso de
; existir un error al crear el archivo los numeros
; hexadecimales son equivalentes a los numeros decimales
; 10 y 13 los cuales permiten el salto de linea
lon equ $ -MsgError
MsgExito db "archivo abie... |
libsrc/spectrum/if1_write_sector.asm | dex4er/deb-z88dk | 1 | 98035 | ;
; ZX IF1 & Microdrive functions
;
; int if1_write_sector (int drive, int sector, struct M_CHAN buffer);
;
; Writes the specified sector to the specified drive.
;
;
; $Id: if1_write_sector.asm,v 1.4 2007/07/07 14:26:48 stefano Exp $
;
XLIB if1_write_sector
LIB if1_rommap
XREF MAKE_M
... |
cohesion/david_jaz_261/old/Sharp.agda | glangmead/formalization | 6 | 1567 | <reponame>glangmead/formalization
{-# OPTIONS --without-K --rewriting #-}
module old.Sharp where
open import Basics
open import Flat
open import lib.Equivalence2
{- I want sthing like this
record ♯ {@♭ l : ULevel} (A : Type l) : Type l where
constructor _^♯
field
_/♯ :{♭} A
open ♯ publ
-}
... |
src/util-dates.adb | Letractively/ada-util | 0 | 18470 | -----------------------------------------------------------------------
-- util-dates -- Date utilities
-- Copyright (C) 2011, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-... |
orgcomp/autumn/lab4/src/int.asm | chebykinn/university | 2 | 246166 | Dseg at 0x08
ai: ds 1
s: ds 1
x equ r0
cseg at 0x0
jmp start
Si1:
mov b, x
mul ab
mov a, ai
mul ab
mov a, #0xff
subb a, b
ret
start:
mov x,#0
cikl:
mov a,#0x01
mov ai, #142
call Si1
mov ai, #128
call Si1
mov ai, #64
call Si1
mov b, x
mul ab
mov a, #128
mul ab
mov P3, b
inc x
jmp cikl... |
aom_dsp/x86/aom_subpixel_bilinear_sse2.asm | ozyb/aom | 2,151 | 98034 | <reponame>ozyb/aom<gh_stars>1000+
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE fil... |
src/main/antlr4/PreprocLexer.g4 | thomasbrown1010/alogic | 0 | 4971 | ////////////////////////////////////////////////////////////////////////////////
// Argon Design Ltd. Project P8009 Alogic
// Copyright (c) 2017-208 Argon Design Ltd. All rights reserved.
//
// This file is covered by the BSD (with attribution) license.
// See the LICENSE file for the precise wording of the license.
//... |
leds/leds.asm | zsazsaz1/RiscSimulator | 0 | 14122 | <reponame>zsazsaz1/RiscSimulator
add $t0, $zero, $imm, 6 # set $t0 = 6
out $imm, $t0, $zero, LedInterrupt # set irqhandler as LedInterrupt
out $imm, $zero, $zero, 1 # enable irq0
add $t0, $zero, $imm, 13 # set $t0 = 13
out $imm, $t0, $zero, 1023 # set timermax = 1023 (because it includes zero)
add $t0, $zero, ... |
src/converters.adb | Kurinkitos/Twizy-Security | 1 | 28090 | package body converters with SPARK_Mode is
function double_to_speed (d : double) return Types.speed
is temp : Types.Speed;
begin
if (d <= double(-80.0)) then
temp := Types.Speed(-79.0);
return temp;
end if;
if (d >= double(80.0)) then
temp := Types.Speed(7... |
constants/collision_constants.asm | AtmaBuster/pokeplat-gen2 | 6 | 100331 | ; collision permissions (see data/collision_permissions.asm)
LANDTILE EQU $00
WATERTILE EQU $01
WALLTILE EQU $0f
TALK EQU $10
; collision data types (see data/tilesets/*_collision.asm)
; TileCollisionTable indexes (see data/collision_permissions.asm)
COLL_FLOOR ... |
regtests/are-tests.ads | stcarrez/resource-embedder | 7 | 2713 | <filename>regtests/are-tests.ads
-----------------------------------------------------------------------
-- are-tests -- Various tests for the are tool (based on examples)
-- Copyright (C) 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may no... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciyp_ds2slonglong_callee.asm | jpoikela/z88dk | 640 | 93168 | <filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciyp_ds2slonglong_callee.asm
; signed long long __fs2slonglong (float f)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_ds2slonglong_callee
EXTERN cm48_sdcciyp_d2m48, am48_dfix64, l_store_64_dehldehl_mbc
cm48_sdcciyp_ds2slonglong_calle... |
programs/oeis/089/A089109.asm | karttu/loda | 0 | 17586 | ; A089109: Convoluted convolved Fibonacci numbers G_5^(r).
; 5,9,17,25,38,51,70,89,115,141,175,209,252,295,348,401,465,529,605,681,770,859,962,1065,1183,1301,1435,1569,1720,1871,2040,2209,2397,2585,2793,3001,3230,3459,3710,3961,4235,4509,4807,5105,5428,5751,6100,6449
mov $3,$0
add $0,2
mov $2,$0
mov $4,2
lpb $2,1
su... |
programs/oeis/282/A282622.asm | neoneye/loda | 22 | 21335 | <reponame>neoneye/loda<filename>programs/oeis/282/A282622.asm
; A282622: Number of digits of the representation of n in the alternating sexagesimal-decimal number system.
; 1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/getchar.asm | jpoikela/z88dk | 640 | 177447 |
; int getchar(void)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC getchar
EXTERN asm_getchar
defc getchar = asm_getchar
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
... |
gwnum/xmult3a.asm | Kasual/GIMPS | 0 | 176381 | ; Copyright 2001-2012 Mersenne Research, Inc. All rights reserved
; Author: <NAME>
; Email: <EMAIL>
;
; These routines implement the normalization part of a r4dwpn (radix-4 delayed with partial normalization) FFT.
;
TITLE setup
IFNDEF X86_64
.686
.XMM
.MODEL FLAT
ENDIF
INCLUDE unravel.mac
INCLUDE extrn.mac
I... |
oeis/326/A326058.asm | neoneye/loda-programs | 11 | 14832 | <reponame>neoneye/loda-programs
; A326058: a(n) = n - {the sum of square divisors of n}.
; 0,1,2,-1,4,5,6,3,-1,9,10,7,12,13,14,-5,16,8,18,15,20,21,22,19,-1,25,17,23,28,29,30,11,32,33,34,-14,36,37,38,35,40,41,42,39,35,45,46,27,-1,24,50,47,52,44,54,51,56,57,58,55,60,61,53,-21,64,65,66,63,68,69,70,22,72,73,49,71,76,77,78,... |
oeis/203/A203243.asm | neoneye/loda-programs | 11 | 83423 | ; A203243: Second elementary symmetric function of the first n terms of (1,3,9,27,81,...).
; 3,39,390,3630,33033,298389,2688780,24208860,217909263,1961271939,17651713170,158866215690,1429798332693,12868192168689,115813751041560,1042323823944120,9380914609207323,84428232063996639,759854090319361950
add $0,2
mov $1,3
po... |
src/main/antlr/TextTemplateParser.g4 | eisnerw/texttemplate-editor | 1 | 6250 | parser grammar TextTemplateParser;
options { tokenVocab=TextTemplateLexer; }
compilationUnit:
beginningBullet?
templateContents+
EOF
;
subtemplateSection: SUBTEMPLATES text* subtemplateSpecs;
subtemplateSpecs: subtemplateSpec*;
subtemplateSpec: templateContextToken text*;
templateContents: beginning... |
chocolate_vending.asm | pranavgo/Chocolate_Vending_MPI | 0 | 242650 | #make_bin#
; BIN is plain binary format similar to .com format, but not limited to 1 segment;
; All values between # are directives, these values are saved into a separate .binf file.
; Before loading .bin file emulator reads .binf file with the same file name.
; All directives are optional, if you don't need them, d... |
programs/oeis/330/A330410.asm | neoneye/loda | 22 | 3508 | ; A330410: a(n) = 6*prime(n) - 1.
; 11,17,29,41,65,77,101,113,137,173,185,221,245,257,281,317,353,365,401,425,437,473,497,533,581,605,617,641,653,677,761,785,821,833,893,905,941,977,1001,1037,1073,1085,1145,1157,1181,1193,1265,1337,1361,1373,1397,1433,1445
seq $0,40 ; The prime numbers.
mul $0,6
sub $0,1
|
tools-src/gnu/gcc/gcc/ada/xref_lib.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 19840 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
source/asis/spec/ada-streams.ads | faelys/gela-asis | 4 | 28471 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
oeis/013/A013955.asm | neoneye/loda-programs | 11 | 163511 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A013955: a(n) = sigma_7(n), the sum of the 7th powers of the divisors of n.
; 1,129,2188,16513,78126,282252,823544,2113665,4785157,10078254,19487172,36130444,62748518,106237176,170939688,270549121,410338674,617285253,893871740,1290094638,1801914272,2513845188,3404825448... |
halt.asm | Veltas/spectrum-env | 0 | 163202 | <reponame>Veltas/spectrum-env
; vim: set syntax=z80:
.module halt_asm
.area _CODE
;;;;;;;;;;;;;;;;;;;
; void Halt(void) ;
;;;;;;;;;;;;;;;;;;;
_Halt:
#local
halt
ret
#endlocal
|
grammars/MKParser.g4 | DataDriven-CAM/scad-poser | 0 | 3878 | parser grammar MKParser;
options { tokenVocab=MKLexer; }
makefile : (include_line | define_variable | define_rule | comment|Newline)+ EOF;
include_line : Include file_path ;
file_path : ~(Newline)*;
define_rule : target Colon ((prerequisites Newline commands*) | variable_assignment);
target : TargetName;
prerequ... |
sha256.applescript | docdyhr/AppleScriptUtils | 0 | 1372 | <gh_stars>0
(* Version 1.1 <EMAIL> March 2021
note: implement with automator - service - run applescript
*)
on run {input, parameters}
set chosenFile to ""
-- get file
if (count of input) is 1 then
set chosenFile to input
else
display alert "Multible selections are not allowed!" as warning giving up after 5... |
Sources/Library/exceptions.adb | ForYouEyesOnly/Space-Convoy | 1 | 29924 | --
-- Jan & <NAME>, Australia, July 2011
--
with Ada.Task_Identification; use Ada.Task_Identification;
with Ada.Text_IO; use Ada.Text_IO;
package body Exceptions is
procedure Show_Exception (Exception_Identifier : Exception_Occurrence;
Optional_Message : String := "") i... |
src/main/fragment/mos6502-common/vbsxx_lt_0_then_la1.asm | jbrandwood/kickc | 2 | 4415 | <filename>src/main/fragment/mos6502-common/vbsxx_lt_0_then_la1.asm<gh_stars>1-10
cpx #0
bmi {la1} |
src/cpnd1/nodcap/NF/Show.agda | wenkokke/nodcap | 4 | 10966 | <reponame>wenkokke/nodcap<filename>src/cpnd1/nodcap/NF/Show.agda
module nodcap.NF.Show where
open import Data.String using (String)
open import nodcap.Base
open import nodcap.NF.Typing
import nodcap.Show as S
showTerm : {Γ : Environment} → ⊢ⁿᶠ Γ → String
showTerm {Γ} x = S.showTerm (fromNF x)
|
PICStep.asm | Mikibits/PIC-bot | 0 | 8763 | <filename>PICStep.asm
;==========================================================
; PICStep.asm
;----------------------------------------------------------
; Dedicated stepping motor controller, operating two stepper
; motors from input from another (less dedicated) MCU.
;-----------------------------------------... |
source/web/spikedog/daemon/service/spikedog-service.adb | svn2github/matreshka | 24 | 19053 | <filename>source/web/spikedog/daemon/service/spikedog-service.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter5_1/AsmTest/inst_rom.asm | ladike/912_project | 640 | 8075 | <reponame>ladike/912_project<filename>4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter5_1/AsmTest/inst_rom.asm
inst_rom.om: file format elf32-tradbigmips
Disassembly of section .text:
00000000 <_start>:
0: 34011100 li at,0x1100
4: 34210020 ori at,at,0x20
8: 34214400 ori at,at,0x4400
c: 34210044 ori at,at... |
unittests/ASM/TwoByte/0F_B6.asm | cobalt2727/FEX | 628 | 175794 | <filename>unittests/ASM/TwoByte/0F_B6.asm
%ifdef CONFIG
{
"RegData": {
"R15": "0x41424344454600FF",
"R14": "0x00000000000000FF",
"R13": "0x00000000000000FF",
"R12": "0x41424344454600FF",
"R11": "0x00000000000000FF",
"R10": "0x00000000000000FF"
},
"MemoryRegions": {
"0x100000000": "4096... |
oeis/021/A021541.asm | neoneye/loda-programs | 11 | 98842 | ; A021541: Decimal expansion of 1/537.
; Submitted by Jon Maiga
; 0,0,1,8,6,2,1,9,7,3,9,2,9,2,3,6,4,9,9,0,6,8,9,0,1,3,0,3,5,3,8,1,7,5,0,4,6,5,5,4,9,3,4,8,2,3,0,9,1,2,4,7,6,7,2,2,5,3,2,5,8,8,4,5,4,3,7,6,1,6,3,8,7,3,3,7,0,5,7,7,2,8,1,1,9,1,8,0,6,3,3,1,4,7,1,1,3,5,9
seq $0,83811 ; Numbers n such that 2n+1 is the digit re... |
test/Fail/Issue2442-postulate.agda | shlevy/agda | 1,989 | 7370 | {-# OPTIONS --safe #-}
module Issue2442-postulate where
postulate
A : Set
|
programs/oeis/050/A050271.asm | neoneye/loda | 22 | 13825 | <reponame>neoneye/loda<filename>programs/oeis/050/A050271.asm
; A050271: Numbers n such that n = floor(sqrt(n)*ceiling(sqrt(n))).
; 1,2,3,4,7,8,9,14,15,16,23,24,25,34,35,36,47,48,49,62,63,64,79,80,81,98,99,100,119,120,121,142,143,144,167,168,169,194,195,196,223,224,225,254,255,256,287,288,289,322,323,324,359,360,361,39... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5003b5.ada | best08618/asylo | 7 | 3650 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5003b5.ada
-- CA5003B5M.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
-- unl... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_849.asm | ljhsiun2/medusa | 9 | 23163 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_849.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x13a09, %rbx
dec %r9
movb (%rbx), %dl
nop
nop
sub %rbx, %rbx
lea addresses_WT... |
oeis/004/A004453.asm | neoneye/loda-programs | 11 | 21020 | ; A004453: Nimsum n + 12.
; Submitted by <NAME>(s4)
; 12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3,28,29,30,31,24,25,26,27,20,21,22,23,16,17,18,19,44,45,46,47,40,41,42,43,36,37,38,39,32,33,34,35,60,61,62,63,56,57,58,59,52,53,54,55,48,49,50,51,76,77,78,79,72,73,74,75,68,69,70,71,64,65,66,67,92,93,94,95,88,89,90,91,84,85,86,87,... |
test/Succeed/Issue1337.agda | cruhland/agda | 1,989 | 4479 | -- Andreas, 2014-11-01, reported by <NAME>
-- Non-printable characters in line comments
-- Soft hyphen in comment creates lexical error:
-- (SOFT HYPHEN \- 0xAD)
-- Or parse error:
-- A
|
programs/oeis/137/A137709.asm | neoneye/loda | 22 | 91820 | ; A137709: Secondary Upper Wythoff Sequence.
; 3,4,9,10,13,14,19,20,25,26,29,30,35,36,39,40,45,46,51,52,55,56,61,62,67,68,71,72,77,78,81,82,87,88,93,94,97,98,103,104,107,108,113,114,119,120,123,124,129,130,135,136,139,140,145,146,149,150,155,156
mov $2,$0
seq $0,287775 ; Positions of 0 in A287772; complement of A05014... |
programs/oeis/100/A100287.asm | karttu/loda | 0 | 29192 | ; A100287: First occurrence of n in A100002; the least k such that A100002(k) = n.
; 1,2,5,9,15,25,31,43,61,67,87,103,123,139,169,183,219,241,259,301,331,361,391,447,463,511,553,589,643,687,723,783,819,867,931,979,1027,1099,1179,1227,1309,1347,1393,1479,1539,1603,1699,1759,1863,1909,2019,2029,2163,2263,2311,2439,2527,2... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-exctra.adb | orb-zhuchen/Orb | 0 | 4269 | <reponame>orb-zhuchen/Orb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/ada/a-catizo.ads | best08618/asylo | 7 | 10866 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
programs/oeis/082/A082204.asm | neoneye/loda | 22 | 179170 | <gh_stars>10-100
; A082204: Begin with a 1, then place the smallest (as far as possible distinct) digits, such that, beginning from the n-th term, n terms form a palindrome.
; 1,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,... |
demo/tutorial/game_maps.ads | csb6/libtcod-ada | 0 | 14141 | <filename>demo/tutorial/game_maps.ads
with Libtcod, Libtcod.Maps, Libtcod.Console;
use Libtcod;
package Game_Maps is
type Tile_Flag is (Explored);
type Tile_Flag_Set is array(Tile_Flag) of Boolean
with Pack;
type Tile is record
flags : Tile_Flag_Set := (Explored => False);
end record;
ty... |
4-high/gel/applet/demo/hello_gel/launch_hello_gel.adb | charlie5/lace-alire | 1 | 16256 | with
gel.Applet.gui_world,
gel.Forge,
gel.Window.setup,
ada.Text_IO,
ada.Exceptions;
pragma unreferenced (gel.Window.setup);
procedure launch_hello_GEL
--
-- Opens a GEL window.
--
is
use gel.Applet.gui_world,
ada.Text_IO;
the_Applet : gel.Applet.gui_World.view := gel.Forge.n... |
programs/oeis/089/A089809.asm | karttu/loda | 0 | 160708 | <reponame>karttu/loda
; A089809: Complement of A078588.
; 0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,... |
programs/oeis/165/A165725.asm | karttu/loda | 0 | 17973 | ; A165725: Largest divisor of n coprime to 30. I.e., a(n) = max { k | gcd(n, k) = k and gcd(k, 30) = 1 }.
; 1,1,1,1,1,1,7,1,1,1,11,1,13,7,1,1,17,1,19,1,7,11,23,1,1,13,1,7,29,1,31,1,11,17,7,1,37,19,13,1,41,7,43,11,1,23,47,1,49,1,17,13,53,1,11,7,19,29,59,1,61,31,7,1,13,11,67,17,23,7,71,1,73,37,1,19,77,13,79,1,1,41,83,7,1... |
programs/oeis/137/A137331.asm | neoneye/loda | 22 | 18854 | ; A137331: a(n) = 1 if the binary weight of n is prime, otherwise 0.
; 0,0,0,1,0,1,1,1,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,1,1,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,1,1,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,1,1,0
seq $0,324467 ; Three times the binary weight of... |
src/csv.g4 | Mick2nd/CsvImport | 1 | 4181 | /*
[The "BSD licence"]
Copyright (c) 2013 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditio... |
alloy4fun_models/trainstlt/models/3/PNTJWWLBSoH4mNhxv.als | Kaixi26/org.alloytools.alloy | 0 | 2482 | <gh_stars>0
open main
pred idPNTJWWLBSoH4mNhxv_prop4 {
all t1, t2 : Train | always t1.pos != t2.pos
}
pred __repair { idPNTJWWLBSoH4mNhxv_prop4 }
check __repair { idPNTJWWLBSoH4mNhxv_prop4 <=> prop4o } |
libsrc/graphics/w_move.asm | jpoikela/z88dk | 0 | 92432 | ;
; Turtle graphics library
; Stefano - 11/2017
;
; $Id: w_move.asm $
;
SECTION code_graphics
PUBLIC move
PUBLIC _move
EXTERN swapgfxbk
EXTERN __graphics_end
EXTERN __pen
EXTERN w_line_r
EXTERN w_plotpixel
EXTERN w_setxy
.move
._move
push ix
... |
programs/oeis/153/A153481.asm | neoneye/loda | 22 | 22126 | ; A153481: a(n) = prime(n)^3 - 2.
; 6,25,123,341,1329,2195,4911,6857,12165,24387,29789,50651,68919,79505,103821,148875,205377,226979,300761,357909,389015,493037,571785,704967,912671,1030299,1092725,1225041,1295027,1442895,2048381,2248089,2571351,2685617,3307947,3442949,3869891,4330745,4657461,5177715,5735337,5929739,69... |
cache/src/main/antlr4/net/runelite/cache/script/assembler/rs2asm.g4 | alex-vincent/runelite | 0 | 7464 | /*
* Copyright (c) 2017, Adam <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of cond... |
node_modules/browse/script/cmd+shft+f.applescript | wep1980/Sistema-de-Pedidos-Ionic-Front-End | 0 | 404 | <filename>node_modules/browse/script/cmd+shft+f.applescript
#!/usr/bin/osascript
tell application "System Events"
keystroke "f" using {command down, shift down}
end tell
|
Lab03/Write an assembly program that prints Hello World five times and then prints Bye world. Hints Use unconditional CMP, conditional JE, JNE instruction.asm | Deboraj-roy/COMPUTER-ORGANIZATION-AND-ARCHITECTURE-C- | 0 | 10827 | ;Write an assembly program that prints Hello World five times and then prints Bye world. Hints: Use unconditional CMP, conditional JE, JNE instruction
.MODEL SMALL
.STACK 100H
.DATA
CR EQU '0DH'
LF EQU '0AH'
MSG DB 'HELLO WORLD $'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,A... |
src/core/irc.adb | Okasu/Byron | 1 | 27907 | package body IRC
is
Client : Socket_Type;
Channel : Stream_Access;
Current_Line : Unbounded_String;
procedure Connect_To (Server : Sock_Addr_Type)
is
begin
Create_Socket (Client);
Connect_Socket (Client, Server);
Channel := Stream (Client);
end Connect_To;
function Get_Lin... |
Firmware/ATU-10_FW_10/pic_init.asm | vahalan/ATU-10-10W-QRP-antenna-tuner | 29 | 242027 | <reponame>vahalan/ATU-10-10W-QRP-antenna-tuner<filename>Firmware/ATU-10_FW_10/pic_init.asm
_pic_init:
;pic_init.c,5 :: void pic_init (void) {
;pic_init.c,7 :: ANSELA = 0; // all as digital
CLRF ANSELA+0
;pic_init.c,8 :: ANSELB = 0; // all as digital
CLRF ANSELB+0
;pic_init.... |
mmlgb/driver/music.asm | misterdanb/TheWindWizerd | 0 | 171123 | ;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.3.1 Wed Sep 12 19:33:30 2018
;--------------------------------------------------------
.module lcc53900
;--------------------------------------------------------
; Public variables in this module
... |
programs/oeis/308/A308775.asm | neoneye/loda | 22 | 94901 | ; A308775: Sum of all the parts in the partitions of n into 4 parts.
; 0,0,0,0,4,5,12,21,40,54,90,121,180,234,322,405,544,663,846,1026,1280,1512,1848,2162,2592,3000,3536,4050,4732,5365,6180,6975,7968,8910,10098,11235,12636,13986,15618,17199,19120,20951,23142,25284,27808,30240,33120
lpb $0
mov $1,$0
seq $1,26810 ; ... |
src/apsepp-test_node_class-runner_sequential.adb | thierr26/ada-apsepp | 0 | 13454 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Generic_Shared_Instance.Access_Setter,
Apsepp.Test_Node_Class.Private_Test_Reporter;
package body Apsepp.Test_Node_Class.Runner_Sequential is
------------------------------------------------------------------... |
generated-src/win-x86/crypto/test/trampoline-x86.asm | jylama99/aws-lc | 0 | 85274 | <filename>generated-src/win-x86/crypto/test/trampoline-x86.asm
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code a... |
AirMessage/AppleScript/AppleScriptSource/FaceTime/getActiveLink.applescript | airmessage/airmessage-server-next | 23 | 1797 | <reponame>airmessage/airmessage-server-next<filename>AirMessage/AppleScript/AppleScriptSource/FaceTime/getActiveLink.applescript
--Creates and returns a FaceTime link for the current call
--Open FaceTime
tell application "FaceTime" to activate
--Wait for FaceTime to initialize
tell application "System Events"
tell p... |
tests/syntax_examples/src/basic_declaration-package_body_stub_name.adb | TNO/Dependency_Graph_Extractor-Ada | 1 | 11528 | separate(Basic_Declaration)
package body Package_Body_Stub_Name is
end Package_Body_Stub_Name;
|
programs/oeis/211/A211012.asm | karttu/loda | 1 | 174864 | ; A211012: Total area of all squares and rectangles after 2^n stages in the toothpick structure of A139250, assuming the toothpicks have length 2.
; 0,0,8,48,224,960,3968,16128,65024,261120,1046528,4190208,16769024,67092480,268402688,1073676288,4294836224,17179607040,68718952448,274876858368,1099509530624,4398042316800... |
iAlloy-dataset-master/real_version_set/gradeFaulty/v22/gradeFaulty.als | jringert/alloy-diff | 1 | 3404 | <gh_stars>1-10
module unknown
//JOR//open util/integer [] as integer
abstract sig Person {}
sig Student extends Person {}
sig Professor extends Person {}
sig Class {
assistant_for: (set Student),
instructor_of: (one Professor)
}
sig Assignment {
associated_with: (one Class),
assigned_to: (some Student)
}
pred PolicyAll... |
src/Native/Runtime/i386/PInvoke.asm | ZZHGit/corert | 0 | 246351 | <reponame>ZZHGit/corert
;;
;; Copyright (c) Microsoft. All rights reserved.
;; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;;
.586
.model flat
option casemap:none
.code
include AsmMacros.inc
extern RhpReversePInvokeBadTransiti... |
libsrc/_DEVELOPMENT/string/z80/asm_strrstrip.asm | UnivEngineer/z88dk | 1 | 167487 | <gh_stars>1-10
; ===============================================================
; Dec 2013
; ===============================================================
;
; char *strrstrip(char *s)
;
; Remove trailing whitespace from s by writing 0 into s to
; terminate the string early.
;
; If s consists entirely of whitespace... |
software/hal/boards/stm32_common/sdram/stm32-sdram.adb | TUM-EI-RCS/StratoX | 12 | 27905 | <filename>software/hal/boards/stm32_common/sdram/stm32-sdram.adb
with Ada.Real_Time; use Ada.Real_Time;
with STM32.Board; use STM32.Board;
with STM32.Device; use STM32.Device;
with STM32.FMC; use STM32.FMC;
with STM32.GPIO; use STM32.GPIO;
with STM32_SVD.RCC; use STM32_SVD.RCC;
package body STM... |
programs/oeis/181/A181972.asm | jmorken/loda | 1 | 17638 | <reponame>jmorken/loda
; A181972: Number of integer pairs (x,y) such that 0<x<y<=n and x*y<=floor(n/2).
; 0,0,0,1,1,2,2,3,3,4,4,6,6,7,7,9,9,10,10,12,12,13,13,16,16,17,17,19,19,21,21,23,23,24,24,27,27,28,28,31,31,33,33,35,35,36,36,40,40,41,41,43,43,45,45,48,48,49,49,53,53,54,54,57,57,59,59,61,61,63,63,67
mov $29,$0
add... |
Task/Execute-a-system-command/Ada/execute-a-system-command-1.ada | mullikine/RosettaCodeData | 1 | 27223 | with POSIX.Unsafe_Process_Primitives;
procedure Execute_A_System_Command is
Arguments : POSIX.POSIX_String_List;
begin
POSIX.Append (Arguments, "ls");
POSIX.Unsafe_Process_Primitives.Exec_Search ("ls", Arguments);
end Execute_A_System_Command;
|
tests/include_simple/2.asm | NullMember/customasm | 414 | 26613 | <gh_stars>100-1000
#include "cpu.asm"
#include "code.asm"
; = 0x555555aa55aa |
Transynther/x86/_processed/US/_ht_zr_un_/i3-7100_9_0xca_notsx.log_21829_688.asm | ljhsiun2/medusa | 9 | 166135 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1e655, %rbx
xor %r8, %r8
movl $0x61626364, (%rbx)
nop
nop
nop
nop
nop
xor $64207, %rcx
lea addresses_WC_ht+0x48b1, %r10
nop
cmp $46980... |
print/p009.asm | czfshine/assembly-exercise | 1 | 8936 | ; 8086 assembly file
; by:czfshine
; date: 2018/04/12 10:10:56
;编写一个程序,从键盘输入一个不长于8位的四进制数,
;并将所输入的数以10进制数形式显示出来。
; The Main Data segment
include scan.inc
DATA SEGMENT
DATA ENDS
;entry code segment
CODE SEGMENT
ASSUME CS:CODE ,DS:DATA
START: ;entry point
MOV AX,DATA
MOV DS,AX
mov di,4
... |
tools/scitools/conf/understand/ada/ada12/s-pooglo.ads | brucegua/moocos | 1 | 10164 | <filename>tools/scitools/conf/understand/ada/ada12/s-pooglo.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
oeis/124/A124292.asm | neoneye/loda-programs | 11 | 12905 | <gh_stars>10-100
; A124292: Number of free generators of degree n of symmetric polynomials in 4 noncommuting variables.
; Submitted by <NAME>(s4)
; 1,1,2,6,21,78,297,1143,4419,17118,66366,257391,998406,3873015,15024609,58285737,226111986,877174110,3402893997,13201132950,51212274057,198672129783,770725711035,29899419203... |
PRG/objects/W1A.asm | narfman0/smb3_pp1 | 0 | 243581 | <gh_stars>0
.byte $00 ; Unknown purpose
.byte OBJ_AUTOSCROLL, $00, $0B
.byte OBJ_CLOUDSINBGBEGIN, $03, $09
.byte OBJ_CFIRE_ULCANNON, $13, $0D
.byte OBJ_AIRSHIPPROP, $16, $13
.byte OBJ_CFIRE_ULCANNON, $18, $0D
.byte OBJ_CFIRE_BULLETBILL, $1E, $0C
.byte OBJ_CFIRE_ULCANNON, $24, $10
.byte OBJ_CFIRE_LLCANNON, $28... |
libtool/src/gmp-6.1.2/mpn/x86/atom/logops_n.asm | kroggen/aergo | 1,602 | 82612 | dnl Intel Atom mpn_and_n,...,mpn_xnor_n -- bitwise logical operations.
dnl Copyright 2011 Free Software Foundation, Inc.
dnl Contributed to the GNU project by <NAME>.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the... |
EmptyTrashService.tne/main.scpt | YaxinCheng/TNEExamples | 0 | 3805 | <reponame>YaxinCheng/TNEExamples<filename>EmptyTrashService.tne/main.scpt
tell application "Finder"
if length of (items in the trash as string) is 0 then return
empty trash
end tell
|
wof/lcs/enemy/1.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 173741 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
001192 rts [enemy+ 1]
00119A rts
00438E sne ($1,A0) [enemy+24]
004392 jmp $15c0.w [enemy+ 1]
05E5D6 bne $5e5da [123p+ 1, enemy+ 1]
copyright zengfr site:http://gith... |
software/rom/bios_spi.asm | JCLemme/eprisc | 0 | 18269 | <reponame>JCLemme/eprisc
; epRISC development platform - BIOS SPI master control routines
;
; written by <NAME>, jclemme (at) proportionallabs (dot) com
; this file is part of the epRISC project, released under the epRISC license - see "license.txt" for details.
;
; These routines command the onboard I/O controller's S... |
src/utils.asm | zetaraku/minesweeper | 0 | 28188 | ; trans (offset: ax) to (row: ah, col: al)
trXY PROC uses bx dx
xor dx, dx
mov bx, WORD PTR w
div bx
shl ax, 8
mov al, dl
ret
trXY ENDP
; trans (row: ah, col: al) to (offset: ax)
trN PROC uses bx dx
movzx dx, al
shr ax, 8
mov bl, BYTE PTR w
mul bl
add ax, dx
ret
trN ENDP
; set dl valid flag accroding to (... |
user/cat.asm | noyaviv/try | 0 | 4537 |
user/_cat: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ec26 sd s1,24(sp)
8: e84a ... |
Vba.Language/Vba.Grammars/VbaLexer.g4 | rossknudsen/Vba.Language | 20 | 2715 | <filename>Vba.Language/Vba.Grammars/VbaLexer.g4
lexer grammar VbaLexer;
// 3.3.2 Number Tokens
IntegerLiteral
: DecimalLiteral
| HexIntegerLiteral
| OctalIntegerLiteral
;
FloatLiteral
: Sign? [0-9]+ '.' [0-9]* Exponent Sign? DecimalDigits+ FloatSuffix?
| Sign? DecimalDigits Exponen... |
programs/oeis/072/A072608.asm | neoneye/loda | 22 | 83091 | <reponame>neoneye/loda<gh_stars>10-100
; A072608: Parity of remainder Mod[p(n),n]=A004648(n).
; 0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,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
mov $1,$0
seq $0,40 ; T... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-exctab.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 11418 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_420.asm | ljhsiun2/medusa | 9 | 20062 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xc793, %rsi
lea addresses_D_ht+0x4313, %rdi
cmp %r10, %r10
mov $74, %rcx
rep movsb
nop
nop
dec %rax
lea addresses_A_ht+0xf293, %rbx
add $35083, %rdx
mov $0x6162636465666... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/qualified_expression.adb | ouankou/rose | 488 | 25280 | <gh_stars>100-1000
procedure Extension_Aggregate is
Str : String := "tmp";
begin
Str := String'("A String");
null;
end;
|
audio/sfx/pound.asm | AmateurPanda92/pokemon-rby-dx | 9 | 93526 | <gh_stars>1-10
SFX_Pound_Ch7:
noisenote 2, 10, 1, 34
endchannel
|
oeis/190/A190983.asm | neoneye/loda-programs | 11 | 483 | ; A190983: a(n) = 9*a(n-1) - 6*a(n-2), with a(0)=0, a(1)=1.
; Submitted by <NAME>
; 0,1,9,75,621,5139,42525,351891,2911869,24095475,199388061,1649919699,13652948925,112977022131,934875505629,7736017417875,64014903727101,529718029036659,4383372838967325,36272047376485971,300148189354569789,2483701419932212275,2055242364... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_27_1579.asm | ljhsiun2/medusa | 9 | 167121 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r15
push %r8
push %r9
push %rax
push %rbp
push %rsi
// Faulty Load
lea addresses_UC+0x1c04e, %rbp
nop
nop
cmp %rsi, %rsi
vmovaps (%rbp), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %r8
lea oracles... |
tests/nasm/cvttps2pi.asm | DecBio/DecBio.github.io | 12,700 | 97591 | global _start
section .data
align 16
float0low:
dd 2147483647.0
float0high:
dd -2147483648.0
float1low:
dd 1235.678
float1high:
dd 1325400064
float2low:
dd -54.321
float2high:
dd -12345.6
float3low:
dd 123.456
float3high:
dd 1234.5678
myaddress:
dd 0xdeadbeef
%include "header.inc"
movaps xmm0, [floa... |
resources/test.r.asm | sdsmdg/RISC-processor | 43 | 91356 | <filename>resources/test.r.asm
AND %r31, %r31, %r0
CMPEQ %r31, %r31, %r1
ADD %r1, %r1, %r2
OR %r2, %r1, %r3
SHL %r1, %r2, %r4 |
Driver/Printer/DotMatrix/Propx24/propx24ControlCodes.asm | steakknife/pcgeos | 504 | 176016 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: IBM Proprinter 24-pin Print Driver
FILE: propx24ControlCodes.asm
AUTHOR: <NAME>, 1 March 1990
ROUTINES:
Name Des... |
examples/src/examples-factory.adb | TNO/Rejuvenation-Ada | 1 | 24284 | with Ada.Text_IO; use Ada.Text_IO;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation; use Rejuvenation;
with Rejuvenation.Factory; use Rejuvenation.Factory;
with Rejuvenation.Simple_Factory; use Rej... |
kernel/libasm/v086.asm | ryelow90210/VitalityX | 4 | 8534 | <reponame>ryelow90210/VitalityX
GLOBAL enter_v86
enter_v86:
mov [0x1000], esp ; save stack pointer
push dword [ebp+4] ; ss
push dword [ebp+8] ; esp
pushfd ; eflags
or dword [esp], (1 << 17) ; set VM flags
push dword [ebp+12] ; cs
pus... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.