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 |
|---|---|---|---|---|
programs/oeis/194/A194050.asm | karttu/loda | 0 | 19064 | <reponame>karttu/loda<filename>programs/oeis/194/A194050.asm
; A194050: Natural fractal sequence of A014739.
; 1,1,2,3,1,2,3,4,1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,9,10,11,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,1,2,3,4,5,6,7,8,9,10
mov $3,$0
... |
fluidcore/samples/sq50-v2.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 24953 | <reponame>bushy555/ZX-Spectrum-1-Bit-Routines<gh_stars>10-100
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db... |
target/expected.main.cpp.asm | skwirl42/robco-processor | 0 | 18739 | ; Work on a C compiler is indefinitely shelved
; This has gotta get labelled something else
; gonna need to set some standards
.data _string "Hello, world!\n"
__start:
jmp _main
_print_string:
; address of string is on stack
dupw ; - keep a copy of the string address
pullx ... |
filtros/normalizar_local_asm.asm | partu18/edge_detection_algorithm_SIMD | 0 | 80451 | ; void normalizar_local_asm (
; unsigned char *src,
; unsigned char *dst,
; int m,
; int n,
; int row_size
; );
global normalizar_local_asm
section .data
mask: DQ 0x00000000FFFFFFFF
maskUlt: DD 0x0, 0x0, 0x0, 0xFF000000
maskNoUlt: DD 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFF
maskPrim: DD 0x000000FF, 0x0, 0x0,... |
test/agda-ocaml/Golden/Constructor.agda | agda/agda-ocaml | 48 | 3385 | module Golden.Constructor where
open import Agda.Builtin.Nat
f : (Nat -> Nat) -> Nat
f g = g zero
fsuc = suc
fzero = zero
one = f suc
a = fsuc fzero
|
Multiprocessor-Communication/MC C/CompC3.asm | xfrings/8051-Experiments | 0 | 95288 | ;ASTER 01/03/2009 1545
;TO BE ASSEMBLED IN KEIL MICROVISION V3.60
;ARTIFICIAL INTELLIGENCE
;MICROCOMPUTER A
;CODE BASE COMPLETED : 02/03/2009 2120
;REV 2 LAST UPDATED 02/03/2009 2300
;-----------------------------------------------------------------------------------------------------------
;SET THE ASSEMBLER FOR AT... |
programs/oeis/193/A193608.asm | karttu/loda | 0 | 89943 | ; A193608: The consecutive squares of numbers multiplied by their next consecutive integer.
; 15,52,125,246,427,680,1017,1450,1991,2652,3445,4382,5475,6736,8177,9810,11647,13700,15981,18502,21275,24312,27625,31226,35127,39340,43877,48750,53971,59552,65505,71842,78575,85716,93277,101270,109707,118600,127961,137802,14813... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_833.asm | ljhsiun2/medusa | 9 | 3900 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_833.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r8
push %rbx
push %rdx
push %rsi
// Store
lea addresses_normal+0xab0e, %rsi
clflush (%rsi)
n... |
lib/vgl_crt0.asm | jpoikela/z88dk | 38 | 172910 | ; Startup Code for V-Tech "Genius Leader" [DE], aka. "PreComputer" [US]
; Especially for the older models 1000, 2000, 4000, 4004 Quatro XL
;
; HotKey 2017-09-14
;
; $Id: vgl_crt0.asm,v 1.00 2017-09-14 16:30:00 hotkey Exp $
;
MODULE vgl_crt0
defc crt0 = 1
;-------
; Include zcc_opt.def to... |
Strict.agda | oisdk/agda-playground | 6 | 6722 | <filename>Strict.agda
{-# OPTIONS --without-K --safe #-}
module Strict where
open import Agda.Builtin.Strict public
open import Level
infixr 0 _$!_
_$!_ : {A : Type a} {B : A → Type b} → (∀ x → B x) → ∀ x → B x
f $! x = primForce x f
{-# INLINE _$!_ #-}
infixr 0 let-bang
let-bang : {A : Type a} {B : A → Type b} → ∀... |
sharding-core/src/main/antlr4/imports/MySQLDQL.g4 | chuanandongxu/sharding-sphere | 0 | 1398 | grammar MySQLDQL;
import MySQLKeyword,Keyword,Symbol,DataType, BaseRule, DQLBase;
selectSpec
: (ALL | DISTINCT | DISTINCTROW)?
HIGH_PRIORITY?
STRAIGHT_JOIN?
SQL_SMALL_RESULT?
SQL_BIG_RESULT?
SQL_BUFFER_RESULT?
(SQL_CACHE | SQL_NO_CACHE)?
SQL_CALC_FOUND_ROWS?
;
caseExpress
: ... |
programs/oeis/329/A329506.asm | neoneye/loda | 22 | 795 | ; A329506: Expansion of (1 + x)*(1 + 2*x + 2*x^2 - 2*x^3) / (1 - x).
; 1,4,8,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
sub $0,1
sub $1,$0
add $1,3
mul $1,3
dif $1,2
trn $1,1
add $1,6
mod $1,10
mov ... |
oeis/180/A180053.asm | neoneye/loda-programs | 11 | 25633 | <gh_stars>10-100
; A180053: a(1)=1, a(2)=101, a(n) = 1001*a(n-1) for n > 2.
; Submitted by <NAME>
; 1,101,101101,101202101,101303303101,101404606404101,101506011010505101,101607517021515606101,101709124538537121707101,101810833663075658828808101,101912644496738734487636909101,102014557141235473222124546010101
mov $3,1... |
BigNum/Mod/ModArith/bnGCD.asm | FloydZ/Crypto-Hash | 11 | 102526 | .686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
;
; result=gcd(x,y)
; greatest common divisor (x,y)
; Modern Euclidean Algorithm
;
bnGCD proc uses ebx edi esi bnX:DWORD, bnY:DWORD, bnResult:DWORD
bnCreateX edi,ebx,esi
invoke bnMov,edi,bnX
invoke bnMov,esi,bnY
.while !... |
tools/test.asm | Benderx2/Flouronix | 7 | 170315 | <filename>tools/test.asm
org 0xC0800000
use32
_start:
mov al, 'A'
mov byte [0xC0000000+0xB8000], al
mov eax, 200
ret
|
Library/Config/Pref/prefControl.asm | steakknife/pcgeos | 504 | 1753 | <filename>Library/Config/Pref/prefControl.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: prefControl.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY... |
SVD2ada/svd/stm32_svd-rcc.ads | JCGobbi/Nucleo-STM32F334R8 | 0 | 23479 | <filename>SVD2ada/svd/stm32_svd-rcc.ads
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32F3x4.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.RCC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtyp... |
arch/ARM/STM32/driversF1/stm32-dma.adb | morbos/Ada_Drivers_Library | 2 | 10004 | <reponame>morbos/Ada_Drivers_Library<gh_stars>1-10
-----------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
oeis/036/A036098.asm | neoneye/loda-programs | 11 | 28551 | <gh_stars>10-100
; A036098: Centered cube numbers: a(n) = (n+1)^20 + n^20.
; 1,1048577,3487832977,1102998412177,96466943268401,3751525871703601,83448424737674977,1232713770904458977,13310586963663775777,112157665459056928801,772749994932560009201,4506509987380035131377,22838723767328274560977,102673219200165600999377,4... |
src/usb_gamepad.adb | Fabien-Chouteau/pygamer_usb_gamepad | 1 | 18681 | <gh_stars>1-10
with HAL; use HAL;
with HAL.GPIO; use HAL.GPIO;
with USB.Device;
with USB.Device.MIDI;
with USB.Device.Serial;
with USB.Device.HID.Gamepad;
with SAM.Device; use SAM.Device;
with SAM.USB;
with SAM_SVD.USB;
with SAM.Main_Clock;
with SAM.Clock_Generator;
with SAM.Clock_Generator.IDs;
with SAM.Clock_Setup_1... |
agda-stdlib/src/Data/List/Relation/Equality/Setoid.agda | DreamLinuxer/popl21-artifact | 5 | 16223 | <reponame>DreamLinuxer/popl21-artifact<filename>agda-stdlib/src/Data/List/Relation/Equality/Setoid.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.List.Relation.Binary.Equality.Setoid directly.
---------------... |
src/FOmegaInt/Undecidable/SK.agda | Blaisorblade/f-omega-int-agda | 12 | 7771 | <filename>src/FOmegaInt/Undecidable/SK.agda
------------------------------------------------------------------------
-- The untyped SKI combinator calculus
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module FOmegaInt.Undecidable.SK where
open import Dat... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/div2.asm | witchcraft2001/z88dk | 640 | 103770 | <gh_stars>100-1000
SECTION code_fp_math16
PUBLIC div2f16
EXTERN asm_f16_div2
defc div2f16 = asm_f16_div2
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _div2f16
EXTERN cm16_sdcc_div2
defc _div2f16 = cm16_sdcc_div2
ENDIF
|
fe/fe-core/src/main/java/com/starrocks/sql/parser/StarRocks.g4 | Mu-L/starrocks | 0 | 5121 | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
grammar StarRocks;
import StarRocksLex;
sqlStatements
: (singleStatement (SEMICOLON EOF? | EOF))+
;
singleStatement
: statement
;
statement
// Query Statement
: queryStatement ... |
Blob_Lib/assimp-5.2.3/assimp/contrib/zlib/contrib/ada/buffer_demo.adb | antholuo/Blob_Traffic | 0 | 22776 | version https://git-lfs.github.com/spec/v1
oid sha256:469cf566a6965767fee6b987a239ed8cedcc66614940d45a9b434331fbb435ce
size 3717
|
source/states.adb | jquorning/CELLE | 0 | 4560 | <reponame>jquorning/CELLE
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Ada.Contain... |
Transynther/x86/_processed/US/_st_4k_/i9-9900K_12_0xa0_notsx.log_750_1361.asm | ljhsiun2/medusa | 9 | 10284 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x196cc, %r13
nop
nop
nop
nop
nop
sub %rbx, %rbx
movw $0x6162, (%r13)
sub %r11, %r11
lea addresses_normal_ht+0x183ec, %rsi
lea addresses_WT_ht+0xc2cc, %rdi
sub ... |
libsrc/zxmath/fmod.asm | dex4er/deb-z88dk | 1 | 94218 | <gh_stars>1-10
;
;
; ZX Maths Routines
;
; 9/12/02 - <NAME>
;
; $Id: fmod.asm,v 1.1 2003/03/24 09:17:40 stefano Exp $
;
;double fmod(n,m)
;Number in FA..
IF FORzx
INCLUDE "#zxfp.def"
ELSE
INCLUDE "#81fp.def"
ENDIF
XLIB fmod
LIB fsetup
LIB ... |
oeis/083/A083295.asm | neoneye/loda-programs | 11 | 246317 | <reponame>neoneye/loda-programs
; A083295: a(n) = (4*2^n + (-8)^n)/5.
; Submitted by <NAME>(s4.)
; 1,0,16,-96,832,-6528,52480,-419328,3355648,-26843136,214749184,-1717985280,13743898624,-109951156224,879609315328,-7036874391552,56294995394560,-450359962632192,3602879702106112,-28823037614751744,230584300922208256,-1844... |
notes/README/Test.agda | asr/apia | 10 | 17235 | <filename>notes/README/Test.agda
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module Test where
data _∨_ (A B : Set) : Set where
inj₁ : A → A ∨ B
inj₂ : B → A ∨ B
postulate
A B : Set
∨-comm : A ∨ B → B ∨ A
{-# ATP prove ∨-... |
base/co/context/context_x64.asm | iqxd/co | 3 | 105380 | ; Copyright <NAME> 2009.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
;
; Boost Software License - Version 1.0 - August 17th, 2003
;
; Permission is hereby granted, free of charge, to a... |
other/md/wrapper.asm | CaptainDreamcast/prism | 7 | 4265 | ; Include this for all prism functionality
; Expects a Dreamcast development directory layout
; TODO: Make dynamic with scripts(?) Maybe copy to local and change it there? What's the proper way to do this?
include '../addons/prism/other/md/init.asm'
include '../addons/prism/other/md/draw.asm'
include '../addon... |
tools/ayacc/src/set_pack.ads | svn2github/matreshka | 24 | 19188 | -- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements were made by <NAME>.
--
-- Send requests for ayacc information to <EMAIL>
-- Send bug reports for ayacc to <EMAIL>
--
-- Redistribution and use in... |
src/main/antlr/PseudoParser.g4 | LlamaLad7/pseudo-kt | 6 | 695 | <gh_stars>1-10
parser grammar PseudoParser;
options { tokenVocab=PseudoLexer; }
pseudoFile : lines=line* EOF ;
line : NEWLINE* statement (NEWLINE+ | EOF) ;
statement : assignment # AssignmentStatement
| compoundAssignment ... |
src/fmt-generic_signed_int_argument.adb | likai3g/afmt | 0 | 25174 | <gh_stars>0
with Interfaces; use Interfaces;
package body Fmt.Generic_Signed_Int_Argument is
function To_Argument (X : Signed_Int_Type) return Argument_Type'Class
is
begin
return Signed_Int_Argument_Type'(Value => X, others => <>);
end To_Argument;
function "&" (Args : Arguments; X : Signed_Int_T... |
alloy4fun_models/trashltl/models/5/rNEGFdrFA3pMQ7b6Y.als | Kaixi26/org.alloytools.alloy | 0 | 4678 | <gh_stars>0
open main
pred idrNEGFdrFA3pMQ7b6Y_prop6 {
some f: File | f in Trash implies always (f in Trash)
}
pred __repair { idrNEGFdrFA3pMQ7b6Y_prop6 }
check __repair { idrNEGFdrFA3pMQ7b6Y_prop6 <=> prop6o } |
save/flash.asm | jsmolka/gba-suite | 31 | 5721 | <gh_stars>10-100
flash_common:
t001:
; Uninitialized memory
ldrb r0, [r11]
cmp r0, 0xFF
bne f001
add r11, 32
b t002
f001:
m_exit 1
t002:
; Mirror 1
mov r0, 1
mov r1, r11
m_flash 0xA0
strb ... |
shared/src/main/antlr/OQL.g4 | edadma/oql | 3 | 4670 | grammar OQL;
@header {
package com.vinctus.oql2;
import scala.collection.mutable.ListBuffer;
import scala.collection.mutable.Buffer;
import scala.collection.immutable.Seq;
import scala.Some;
import scala.None$;
}
command returns [OQLAST c]
: query EOF
{ $c = $query.q; }
| insert EOF
{ $c = $i... |
source/required/s-pack48.ads | ytomino/drake | 33 | 16364 | pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Pack_48 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Bits_48 is mod 2 ** 48;
for Bits_48'Size use 48;
package Indexing is new... |
select/Select.g4 | bvellacott/sforce-mocks | 1 | 2189 | <gh_stars>1-10
//Copyright (c) 2015 <NAME>
//
//Permission is hereby granted, free of charge, to any person obtaining a copy of
//this software and associated documentation files (the "Software"), to deal in
//the Software without restriction, including without limitation the rights to
//use, copy, modify, merge, publi... |
AnnotatedTypes.agda | luminousfennell/polybta | 1 | 12653 | <filename>AnnotatedTypes.agda
module AnnotatedTypes where
{-
-- ATypes are stratified such that that dynamically bound
-- functions can only have dynamically bound parameters.
-- TODO: why exactly is that necessary?
-- Think about the example of the evaluation of a dynamic function with
-- static components
-- Th... |
alloy4fun_models/trashltl/models/4/eBtjPxz4z6qiZzdBR.als | Kaixi26/org.alloytools.alloy | 0 | 4111 | open main
pred ideBtjPxz4z6qiZzdBR_prop5 {
always some f : File | eventually f not in File'
}
pred __repair { ideBtjPxz4z6qiZzdBR_prop5 }
check __repair { ideBtjPxz4z6qiZzdBR_prop5 <=> prop5o } |
alloy4fun_models/trashltl/models/2/CpG6D6S9YonhHF3po.als | Kaixi26/org.alloytools.alloy | 0 | 343 | open main
pred idCpG6D6S9YonhHF3po_prop3 {
some File
}
pred __repair { idCpG6D6S9YonhHF3po_prop3 }
check __repair { idCpG6D6S9YonhHF3po_prop3 <=> prop3o } |
Chapter03/data-manipulation/move-memory-registers.nasm | firebitsbr/Penetration-Testing-with-Shellcode | 30 | 95061 | global _start
section .text
_start:
mov al, 0x34
mov bx, 0x5678
mov byte [mem1], al
mov word [mem2], bx
mov rax, 60
mov rdi, 0
syscall
section .data
mem1: db 0x12
mem2: dw 0x1234
mem3: dd 0x12345678
mem4: dq 0x1234567891234567
|
Example-01.agda | ashinkarov/agda-extractor | 1 | 8752 | <filename>Example-01.agda
open import ExtractSac as ES using ()
open import Extract (ES.kompile-fun)
open import Data.Nat
open import Data.Nat.Properties
open import Data.List as L using (List; []; _∷_)
open import Data.Vec as V using (Vec; []; _∷_)
open import Data.Fin using (Fin; zero; suc; #_)
open import Relation... |
day1.asm | ouldevloper/assembly_30dayofcode | 0 | 165653 | ; - = _ +
global _start
section .data
name db "Abdellah!",0x0a,0x00
len equ $-name
section .text
_start:
mov rax,0x01
mov rdi,0x01
mov rsi,name
mov rdx,len
syscall
mov rax,0x3c
mov rdi,0x010
syscall
|
workflow/get_hotkey_km_macros.scpt | solarsailer/alfred-maestro | 335 | 2434 | <reponame>solarsailer/alfred-maestro<filename>workflow/get_hotkey_km_macros.scpt
tell application id "com.stairways.keyboardmaestro.engine"
gethotkeys with asstring
end tell
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1230.asm | ljhsiun2/medusa | 9 | 240384 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
lea addresses_WC_ht+0x79d6, %r11
clflush (%r11)
nop
and $39926, %rbp
mov $0x6162636465666768, %rdx
movq %rdx, %xmm3
movups %xmm3, (%r11)
nop
xor $20067, %rcx
lea addresses_normal_... |
oeis/001/A001781.asm | neoneye/loda-programs | 11 | 245849 | ; A001781: Expansion of 1/((1+x)*(1-x)^10).
; Submitted by <NAME>
; 1,9,46,174,541,1461,3544,7896,16414,32206,60172,107788,186142,311278,505912,801592,1241383,1883167,2803658,4103242,5911763,8395387,11764688,16284112,22282988,30168268,40439192,53704088,70699532,92312108,119603024,153835856,196507709,249384101,314537894... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/not_null.adb | best08618/asylo | 7 | 19992 | -- { dg-do run }
procedure not_null is
type Not_Null_Int_Ptr is not null access all Integer;
generic
F : Not_Null_Int_Ptr := null;
package GPack is
end GPack;
begin
declare
pragma Warnings (Off, "*null not allowed in null-excluding objects");
package Inst_2 is new GPack (null);
... |
gcc-gcc-7_3_0-release/gcc/ada/a-tgdico.ads | best08618/asylo | 7 | 7879 | <filename>gcc-gcc-7_3_0-release/gcc/ada/a-tgdico.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
delete all die lines.applescript | AlexanderGalen/applescripts | 3 | 550 | <reponame>AlexanderGalen/applescripts<filename>delete all die lines.applescript
tell application "QuarkXpress"
tell document 1
delete every generic box whose name of color of frame is "Die Cut"
end tell
end tell |
engine.asm | CryptomasterLeviathan/Direct-Drive-Engine | 4 | 85369 | <filename>engine.asm
;;; iNES HEADER
.inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring
;;; CONSTANTS
; Controller Constants
CONTROLLER_A = 1 << 7
CONTROLLER_B = 1 << 6
CONTROLLER_SELECT = 1 << 5... |
reverseshell.nasm | AntnPrcl/revershell_asm | 0 | 165273 | section .text
global _start
_start :
push 0x66
pop eax
push 0x1
pop ebx
xor esi, esi
push esi
push ebx
push 0x2
mov ecx, esp
int 0x80
xchg edi, eax
mov eax, 0x66
mov ebx, 0x3
push 0x8158A8C0
push word 0x5C11
push word 0x02
mov ecx, esp
push byte 0x10
push ecx
push edi
mov ecx, esp
int 0x80
pop ebx
xor eax, eax
x... |
source/gmp-root_f.ads | ytomino/gmp-ada | 4 | 13876 | private with Ada.Finalization;
package GMP.Root_F is
pragma Preelaborate;
type MP_Float (Precision : GMP.Precision) is private;
function To_MP_Float (X : Long_Float; Precision : GMP.Precision)
return MP_Float;
function To_Long_Float (X : MP_Float) return Long_Float;
function Image (Value : MP_Float; Base... |
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm | golden1232004/libvpx | 582 | 89316 | <gh_stars>100-1000
;
; Copyright (c) 2014 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All... |
src/fltk-widgets-groups-scrolls.ads | micahwelf/FLTK-Ada | 1 | 19789 |
package FLTK.Widgets.Groups.Scrolls is
type Scroll is new Group with private;
type Scroll_Reference (Data : not null access Scroll'Class) is limited null record
with Implicit_Dereference => Data;
type Scroll_Kind is
(Horizontal,
Vertical,
Both,
Al... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_338_163.asm | ljhsiun2/medusa | 9 | 8310 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x8f3f, %rcx
nop
nop
nop
nop
nop
and $10226, %r10
vmovups (%rcx), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %rdi
nop
nop
inc %rax
lea addresses_D_ht+0x1ccff, %r8
n... |
libsrc/target/nc100/padgettime.asm | jpoikela/z88dk | 640 | 11396 |
SECTION code_clib
PUBLIC padgettime
PUBLIC _padgettime
; fastcall
.padgettime
._padgettime
jp 0xb875
|
st/src/stm32f4-sysconfig_control.ads | MatrixMike/AdaDemo1 | 1 | 17082 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
programs/oeis/243/A243256.asm | neoneye/loda | 22 | 4339 | <filename>programs/oeis/243/A243256.asm
; A243256: Smallest distance of the n-th Fibonacci number to the set of all square integers.
; 0,0,0,1,1,1,1,3,4,2,6,8,0,8,16,15,26,3,17,44,41,79,22,96,143,51,289,169,285,140,296,669,267,1449,343,1979,144,592,665,4223,699,5283,2872,19604,6477,21826,17999,16008,46080,31240,102696,... |
util.adb | byllgrim/iictl | 0 | 28433 | <filename>util.adb
with Ada.Exceptions; use Ada.Exceptions; -- TODO clean
with Ada.Text_Io;
with Posix;
with Posix.Io;
package body Util is
package ATIO renames Ada.Text_Io;
package PIO renames Posix.Io;
procedure Verbose_Print (Msg : String) is -- TODO rename Debug_Print?
begin
-- TODO define... |
concurrent.adb | M1nified/Ada-Samples | 0 | 28294 | with Ada.Text_Io;
use Ada.Text_Io;
procedure Concurrent is
task type Task1 is
entry Insert (In1 : in Integer);
end Task1;
task body Task1 is
Value : Integer;
begin
Value := 10;
accept Insert(In1 : in Integer) do
Value := In1;
end Insert;
Put_Line(Integer'Image(Value));
end Task... |
Library/GrObj/GrObj/grobjAccessBody.asm | steakknife/pcgeos | 504 | 14021 | <filename>Library/GrObj/GrObj/grobjAccessBody.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Admin
FILE: objectAccessBody.asm
AUTHOR: <NAME>, Nov 15, 1991
ROUTINES:
Name ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_4_241.asm | ljhsiun2/medusa | 9 | 92007 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_4_241.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r9
push %rbx
push %rcx
push %rdx
lea addresses_UC_ht+0x4ea, %rcx
nop
nop
nop
cmp $33309, %rdx
mov $0x6162636465666768, %r9
movq %r9, (%rcx)
nop
nop
nop
n... |
IV Semester/Microprocessor_and_Microcontroller_Lab/Part-B/5_Up_Down_Counter.asm | IshanSinghal/CSE-Lab-Manual | 2 | 175597 | ;WRITE AN ASSEMBLY LANGUAGE PROGRAM TO IMPLEMENT (DISPLAY) AN EIGHT BIT UP/DOWN BINARY (HEX) COUNTER ON WATCH WINDOW
mov a,#0FFh //mov a, #00h for up counter
back: acall delay
dec a //inc a for binary up counter
jnz back
here: sjmp here
delay: mov r1,#0ffh
decr1: mov r2,#0ffh
decr: mov r3,#0ffh
djnz r3,$
djnz r2... |
oeis/282/A282415.asm | neoneye/loda-programs | 11 | 102067 | <gh_stars>10-100
; A282415: Binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 469", based on the 5-celled von Neumann neighborhood.
; Submitted by <NAME>
; 1,10,11,1100,111,111000,1111,11110000,11111,1111100000,1... |
src/io/io_port.asm | valakuzhyk/KROS | 0 | 28407 | GLOBAL io_port_write ; make the label outb visible outside this file
; outb - send a byte to an I/O port
; stack: [esp + 8] the data byte
; [esp + 4] the I/O port
; [esp ] return address
io_port_write:
mov al, [esp + 8] ; move the data to be sent into the al register
mov dx, [esp + 4] ; move the address of the ... |
src/Utilities/OLD/tokenize.adb | fintatarta/eugen | 0 | 18098 | <reponame>fintatarta/eugen
package body Tokenize is
-- Called by Split when the separator is a space. According to
-- Ruby convention, space is a special separator in the sense
-- that consecutive spaces do not give rise to empty tokens.
function Collated_Split (To_Be_Splitted : String;
... |
test/Fail/Issue2862record.agda | cruhland/agda | 1,989 | 5927 | -- Andreas, 2017-12-04, issue #2862, reported by m0davis, case for records
-- Regression in development version 2.5.4
-- Scope checker allowed definition in different module than signature
module _ where
module N where
record R : Set where
open N hiding (module R)
module M where
record R where -- should be re... |
alloy4fun_models/trashltl/models/7/6hMEunQhtTXyQwL5z.als | Kaixi26/org.alloytools.alloy | 0 | 2240 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id6hMEunQhtTXyQwL5z_prop8 {
eventually File.link in Trash
}
pred __repair { id6hMEunQhtTXyQwL5z_prop8 }
check __repair { id6hMEunQhtTXyQwL5z_prop8 <=> prop8o } |
oeis/131/A131664.asm | neoneye/loda-programs | 11 | 1706 | <filename>oeis/131/A131664.asm<gh_stars>10-100
; A131664: A string of n 1's repeated n times.
; Submitted by <NAME>(s2)
; 1,11,11,111,111,111,1111,1111,1111,1111,11111,11111,11111,11111,11111,111111,111111,111111,111111,111111,111111,1111111,1111111,1111111,1111111,1111111,1111111,1111111,11111111,11111111,11111111,111... |
llvm-gcc-4.2-2.9/gcc/ada/rident.ads | vidkidz/crossbridge | 1 | 865 | <filename>llvm-gcc-4.2-2.9/gcc/ada/rident.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Logic/Classical.agda | Lolirofle/stuff-in-agda | 6 | 13867 | <reponame>Lolirofle/stuff-in-agda
module Logic.Classical where
import Lvl
open import Data
open import Data.Boolean
open import Data.Boolean.Stmt
open import Data.Boolean.Stmt.Proofs using (module IsTrue ; module IsFalse)
open import Data.Boolean.Proofs
open import Data.Either as Either using (_‖_)
open import Da... |
programs/oeis/267/A267536.asm | karttu/loda | 0 | 20486 | ; A267536: Decimal representation of the n-th iteration of the "Rule 143" elementary cellular automaton starting with a single ON (black) cell.
; 1,6,25,103,415,1663,6655,26623,106495,425983,1703935,6815743,27262975,109051903,436207615,1744830463,6979321855,27917287423,111669149695,446676598783,1786706395135,7146825580... |
oeis/003/A003056.asm | neoneye/loda-programs | 11 | 83893 | <filename>oeis/003/A003056.asm<gh_stars>10-100
; A003056: n appears n+1 times. Also the array A(n,k) = n+k (n >= 0, k >= 0) read by antidiagonals. Also inverse of triangular numbers.
; Submitted by <NAME>
; 0,1,1,2,2,2,3,3,3,3,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,10,... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_152.asm | ljhsiun2/medusa | 9 | 164294 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1c5e4, %rdx
nop
nop
nop
nop
nop
inc %r9
movb $0x61, (%rdx)
add $30956, %r11
lea addresses_D_ht+0x12b3a, %r14
nop
nop
nop
cmp $47831, %rsi
mov $0x6162636465666768, %r... |
helloworldx86/helloworldx86.asm | therealdreg/nasm_vscode | 0 | 5480 | ; rm -rf helloworldx86.o helloworldx86 && nasm -felf32 -o helloworldx86.o helloworldx86.asm && ld -m elf_i386 helloworldx86.o -o helloworldx86
; MIT License - Copyright 2020
; <NAME> aka Dreg - <EMAIL>
; -
; http://github.com/David-Reguera-Garcia-Dreg/ - http://www.fr33project.org/
; Permission is hereby granted, free... |
UefiPayloadPkg/UefiPayloadEntry/Ia32/SecEntry.nasm | KaoTuz/edk2-stable202108 | 9 | 247212 | ;------------------------------------------------------------------------------
;*
;* Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
;* SPDX-License-Identifier: BSD-2-Clause-Patent
;------------------------------------------------------------------------------
#include <Base.h>
SECTION .t... |
ladder_parser.g4 | Yodoken/ANTLR_Ladder | 0 | 1861 | <reponame>Yodoken/ANTLR_Ladder<filename>ladder_parser.g4
parser grammar ladder_parser;
options { tokenVocab=ladder_lexer; }
// Entry
mnemonicList: endl* mnemonic*;
// Mnemonic
mnemonic: instruction operand* endl;
instruction: INSTRUCTION | INSTRUCTION SUFFIX;
operand: hexLiteral | floatLiteral | intLiteral | stringLi... |
src/pp/block3/cc/tabular/Tabular.g4 | Pieterjaninfo/PP | 0 | 189 | <reponame>Pieterjaninfo/PP<filename>src/pp/block3/cc/tabular/Tabular.g4<gh_stars>0
grammar Tabular;
// Parser rules
start: BEGINTABLE tablerow+ ENDTABLE;
tablerow: tableentry? ('&' tableentry?)* ENDROW;
tableentry: TABLEENTRY;
// Lexer rules
BEGINTABLE: '\\begin{tabular}' ALLIGNMENT NEWLINE;
ENDTABLE: '\\end{tabular}... |
payband.asm | flavisXavier/payband | 2 | 94489 | <filename>payband.asm
.data
# Frase que solicita o bit da pulseira
strBitPul: .asciiz "Informe o bit da pulseira: "
# Frase que solicita o valor a ser pago
strGetVal: .asciiz "Informe o valor a ser pago: "
# Frase que informa que a biometria negada
strBioDenied: .asciiz "Biometria negada."
# Frase que ... |
YearI/SemesterI/ComputerSystemArchitecture(CSA)/MachineUno/add_mode.asm | jarvis-1805/myappsample | 2 | 102219 | add 1 0x025
add 0 0x020
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_663.asm | ljhsiun2/medusa | 9 | 4876 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xca11, %r9
nop
cmp %r8, %r8
vmovups (%r9), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %rbp
nop
nop
dec %r12
lea addresses_UC_ht+0x1de11, %r9
and ... |
libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_push_front.asm | jpoikela/z88dk | 640 | 176536 | <filename>libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_push_front.asm
; ===============================================================
; Jan 2014
; ===============================================================
;
; void *p_list_push_front(p_list_t *list, void *item)
;
; Add item to the front of the list.
;
; =====... |
lab3_test_harness/Lab1test/nop.asm | Zaydax/PipelineProcessor | 2 | 177197 | <reponame>Zaydax/PipelineProcessor
.ORIG x3000
NOP
NOP
HALT
.END |
oeis/134/A134171.asm | neoneye/loda-programs | 11 | 16398 | ; A134171: a(n) = (9/2)*(n-1)*(n-2)*(n-3).
; 0,0,0,27,108,270,540,945,1512,2268,3240,4455,5940,7722,9828,12285,15120,18360,22032,26163,30780,35910,41580,47817,54648,62100,70200,78975,88452,98658,109620,121365,133920,147312,161568,176715,192780,209790,227772,246753,266760,287820,309960,333207,357588,383130,409860,437805... |
src/test/ref/multiply-16bit-const.asm | jbrandwood/kickc | 2 | 247525 | <filename>src/test/ref/multiply-16bit-const.asm<gh_stars>1-10
/// @file
/// A lightweight library for printing on the C64.
///
/// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="multiply-16bit-const.prg", type="prg", segments="Program"]
... |
Source/b1ub.asm | Prof9/Boktai-Solar-Sensor-Patches | 55 | 243870 | .gba
.open "Clean\Boktai 1 (U)(Beta).gba","Boktai 1 (U)(Beta)(Hack).gba",0x08000000
.org 0x080000D4 // sunlight changer
.area 0xCC
ldr r0,=30046D4h
ldr r0,[r0] // r0 = sunlight
bl 801212Ch // r0 = amount of bars
ldr r1,=3004620h
ldrh r2,[r1] // r2 = BUTTON_HELD
ldrh r1,[r1,2h] // r1 = BUTTON_DOWN
ldr r3,=101h
and ... |
programs/oeis/130/A130811.asm | neoneye/loda | 22 | 84571 | <gh_stars>10-100
; A130811: If X_1,...,X_n is a partition of a 2n-set X into 2-blocks then a(n) is equal to the number of 5-subsets of X containing none of X_i, (i=1,...n).
; 32,192,672,1792,4032,8064,14784,25344,41184,64064,96096,139776,198016,274176,372096,496128,651168,842688,1076768,1360128,1700160,2104960,2583360,... |
src/shared/generic/lsc-internal-convert.ads | Componolit/libsparkcrypto | 30 | 10429 | <gh_stars>10-100
-------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- @author <NAME>
-- @date 2019-01-21
--
-- Copyright (C) 2018 Componolit GmbH
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or ... |
programs/oeis/163/A163811.asm | jmorken/loda | 1 | 16304 | ; A163811: Expansion of (1 - x) * (1 - x^10) / ((1 - x^5) * (1 - x^6)) in powers of x.
; 1,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0... |
src/MLib/Fin/Parts/Core.agda | bch29/agda-matrices | 0 | 10414 | <filename>src/MLib/Fin/Parts/Core.agda
module MLib.Fin.Parts.Core where
open import MLib.Prelude
open Nat using (_*_; _+_; _<_)
open Table
record Parts {a} (A : Set a) (size : A → ℕ) : Set a where
field
numParts : ℕ
parts : Table A numParts
partAt = lookup parts
sizeAt = size ∘ partAt
totalSize = su... |
Projetos/src/F-Assembly/src/nasm/max.nasm | Fogelman/Z01.1 | 0 | 17671 | <reponame>Fogelman/Z01.1
; Arquivo: Max.nasm
; Curso: Elementos de Sistemas
; Criado por: <NAME>
; Data: 27/03/2017
; Log :
; - <NAME> portado para Z01
; Calcula R2 = max(R0, R1) (R0,R1,R2 se referem a RAM[0],RAM[1],RAM[2])
; ou seja, o maior valor que estiver, ou em R0 ou R1 sera copiado para R2
; Esta... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_1332.asm | ljhsiun2/medusa | 9 | 176782 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1dfa8, %rsi
lea addresses_A_ht+0xe9e4, %rdi
clflush (%rdi)
nop
nop
nop
nop
xor $38348, %r14
mov $64, %rcx
rep movsb
nop
nop
nop
nop
nop
xor $23219, %rcx
lea addresses_D_ht+0x... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_64_428.asm | ljhsiun2/medusa | 9 | 97914 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1add6, %rsi
lea addresses_WC_ht+0x185e6, %rdi
nop
nop
nop
and $16232, %r15
mov $104, %rcx
rep movsq
nop
nop
xor $27897, %rbp
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r15
ret... |
projects/Kirbys_Dream_Land_2.windfish/configuration/macros/memsetWithValue.asm | jverkoey/awaken | 68 | 246689 | <gh_stars>10-100
ld hl, #1
ld bc, #2
ld a, #3
call $062F |
source/nls/machine-apple-darwin/c-icucore.ads | ytomino/drake | 33 | 29186 | pragma License (Unrestricted); -- ICU License
-- translated unit from icu4c of http://site.icu-project.org/
--
-- **********************************************************************
-- * Copyright (C) 1996-2010, International Business Machines
-- * Corporation and others. All Rights Reserved.
-- **********... |
Numeral/Natural/Oper/Proofs/Iteration.agda | Lolirofle/stuff-in-agda | 6 | 11542 | module _ where
open import Function.Iteration using (repeatᵣ ; repeatₗ)
[+]-repeatᵣ-𝐒 : ∀{x y z : ℕ} → (x + y ≡ repeatᵣ y (const 𝐒) z x)
[+]-repeatᵣ-𝐒 {x} {𝟎} = [≡]-intro
[+]-repeatᵣ-𝐒 {x} {𝐒 y} {z} = congruence₁(𝐒) ([+]-repeatᵣ-𝐒 {x} {y} {z})
[+]-repeatₗ-𝐒 : ∀{x y z : ℕ} → (x + y ≡ repeatₗ y (const ∘... |
oeis/060/A060022.asm | neoneye/loda-programs | 11 | 26269 | ; A060022: Expansion of (1-x-x^N)/((1-x)(1-x^2)(1-x^3)...(1-x^N)) for N = 3.
; Submitted by <NAME>
; 1,0,1,0,0,-1,-1,-3,-3,-5,-6,-8,-9,-12,-13,-16,-18,-21,-23,-27,-29,-33,-36,-40,-43,-48,-51,-56,-60,-65,-69,-75,-79,-85,-90,-96,-101,-108,-113,-120,-126,-133,-139,-147,-153,-161,-168,-176,-183,-192,-199,-208,-216,-225,-23... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.