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 |
|---|---|---|---|---|
audio.asm | genterz/pokecross | 28 | 246860 | INCLUDE "constants.asm"
SECTION "Audio", ROMX
INCLUDE "audio/engine.asm"
INCLUDE "data/trainers/encounter_music.asm"
INCLUDE "audio/music_pointers.asm"
INCLUDE "audio/music/nothing.asm"
INCLUDE "audio/cry_pointers.asm"
INCLUDE "audio/sfx_pointers.asm"
SECTION "Songs 1", ROMX
INCLUDE "audio/music/route36.asm"
INCL... |
programs/oeis/279/A279847.asm | neoneye/loda | 22 | 241180 | ; A279847: a(n) = Sum_{k=1..n} k^2*(floor(n/k) - 1).
; 0,1,2,7,8,22,23,44,54,84,85,151,152,206,241,326,327,458,459,605,664,790,791,1065,1091,1265,1356,1622,1623,2023,2024,2365,2496,2790,2865,3480,3481,3847,4026,4636,4637,5373,5374,6000,6341,6875,6876,7982,8032,8787,9086,9952,9953,11137,11284
mov $2,$0
mov $3,$0
lpb $2... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_5_1479.asm | ljhsiun2/medusa | 9 | 170661 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x4dd1, %rsi
lea addresses_UC_ht+0x2c71, %rdi
dec %r12
mov $96, %rcx
rep movsw
nop
xor %rsi, %rsi
lea addresses_A_ht+0xe82d, %rsi
lea addresses_normal_ht+0x7769, %rdi
clflush (... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/tan.asm | ahjelm/z88dk | 640 | 171893 |
SECTION code_fp_am9511
PUBLIC _tan
EXTERN cam32_sdcc_tan
defc _tan = cam32_sdcc_tan
|
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_230_755.asm | ljhsiun2/medusa | 9 | 173450 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rcx
push %rsi
lea addresses_UC_ht+0x5ad8, %rcx
nop
nop
nop
nop
add $42227, %r9
mov $0x6162636465666768, %r14
movq %r14, (%rcx)
nop
nop
nop
nop
nop
inc %rsi
pop %rsi
pop %rcx
pop %r9
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r11
pus... |
MSDOS/Virus.MSDOS.Unknown.ambul3.asm | fengjixuchui/Family | 3 | 171340 | ;NAME: AMBUL3.C-M
;FILE SIZE: 00330h - 816d
;START (CS:IP): 00100h
;CODE END: 00430h
;CODE ORIGIN: 00100h
;DATE: Sun Aug 16 15:45:06 1992
CODE SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS:CODE,DS:CODE,ES:NOTHING,SS:NOTHING
P00100 PROC
ORG 0100h
H00100: JMP H00114 ;00100 E... |
uw2/movementKeys.asm | JohnGlassmyer/UltimaHacks | 68 | 83833 | %include "../UltimaPatcher.asm"
%include "include/uw2.asm"
defineAddress 37, 0x0202, considerShiftStates
defineAddress 37, 0x024A, beginMovementKeyLoop
defineAddress 37, 0x026A, interpretScancode
defineAddress 37, 0x0344, nextMovementKey
defineAddress 37, 0x034D, endOfProc
%include "../uw1/movementKeys.asm"
|
src/arch/x86_64/long_mode_init.asm | analyst1001/snake_game | 0 | 175697 | ;; Code has been used from Phil<NAME>permann's blog
;; @ https://os.phil-opp.com/
;; Copyright (c) 2019 <NAME>
global long_mode_start
STRING_OKAY: equ 0x2f592f412f4b2f4f
VGA_BUFFER_START: equ 0xb8000
section .text
; We should have enabled 64-bit long mode by now
bits 64
long_mode_start:
call reset_segment_... |
polynomial/clenshaw/chebychev_quadrature.adb | jscparker/math_packages | 30 | 360 | <filename>polynomial/clenshaw/chebychev_quadrature.adb
-----------------------------------------------------------------------
-- package body Chebychev_Quadrature. Coefficients for Chebychev-Gaussian quadrature.
-- Copyright (C) 2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for an... |
bb-runtimes/examples/sam4s-xplained/tetris/tetris.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 24255 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
libsrc/fcntl/spectrum/zxbasdrv/creat.asm | andydansby/z88dk-mk2 | 1 | 20232 | ;
; Create a file by the BASIC driver (open then close)
;
; Stefano - 5/7/2006
;
; int creat(far char *name, mode_t mode);
;
; $Id: creat.asm,v 1.1 2006/07/18 21:02:54 stefano Exp $
XLIB creat
LIB open
LIB close
.creat
pop bc
pop hl
push hl
push bc
push bc
push bc
push hl
call open
pop bc
pop bc
po... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_1079_1671.asm | ljhsiun2/medusa | 9 | 8579 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_1079_1671.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_WT+0x1c706, %rbp
nop
nop
nop
nop
nop
sub %rdx, %rd... |
kernel/x86/apic.asm | leonardoruilova/xos | 1 | 241236 |
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
use32
; Note: If you're looking for the sources of multi-core task management --
; -- see tasking/smp.asm instead. This file contains an I/O APIC driver and SMP initialization.
IA32_MSR_APICBASE = 0x1B ; this MSR contains the base of the local apic, and also if it is e... |
src/risi_script-types-internals.adb | OneWingedShark/Risi | 1 | 6037 | Package Body Risi_Script.Types.Internals is
Default_Hash_Key : Constant String := "0";
----------------------
-- GENERIC BODIES --
----------------------
Function To_Array(Value : X) return Risi_Script.Types.Internals.List.Vector is
Package List renames Risi_Script.Types.Internals.List;
Beg... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1433.asm | ljhsiun2/medusa | 9 | 160537 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1433.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x368a, %rcx
nop
nop
xor $41477, %r9
vmovups (%rcx), %ymm6
vextracti128 $1, %ym... |
screen_recording_end.applescript | jonleung/gist-screen | 0 | 1482 | on run filename
activate application "QuickTime Player"
delay 1
tell application "System Events"
tell process "QuickTime Player"
delay 1
# Exit "screen recording view by pressing the "ESC" key
tell application "System Events" to key code 53 # escape key (ends the recording)
delay 1
# Stop the scr... |
src/Lens/Non-dependent.agda | nad/dependent-lenses | 3 | 13486 | ------------------------------------------------------------------------
-- Representation-independent results for non-dependent lenses
------------------------------------------------------------------------
import Equality.Path as P
module Lens.Non-dependent
{e⁺} (eq : ∀ {a p} → P.Equality-with-paths a p e⁺) wher... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_21829_201.asm | ljhsiun2/medusa | 9 | 22918 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x2e42, %rsi
and $45073, %r11
mov $0x6162636465666768, %rcx
movq %rcx, %xmm1
vmovups %ymm1, (%rsi)
sub $57322, %rdi
lea addresses_A_ht+0x14802, %rcx
nop
nop
and %r10, %r10
mov... |
alloy4fun_models/trashltl/models/4/FFJQJnEEEKeBp6o8T.als | Kaixi26/org.alloytools.alloy | 0 | 2261 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/4/FFJQJnEEEKeBp6o8T.als
open main
pred idFFJQJnEEEKeBp6o8T_prop5 {
eventually no File'
}
pred __repair { idFFJQJnEEEKeBp6o8T_prop5 }
check __repair { idFFJQJnEEEKeBp6o8T_prop5 <=> prop5o } |
tools/open_browser.applescript | milkfarm/dotfiles | 0 | 47 | <reponame>milkfarm/dotfiles
#!/usr/bin/osascript
on openInSafari(_url)
tell application "Safari"
set URL of document 1 to _url
end tell
end openInSafari
on run argv
set _browser to item 1 of argv
set _url to item 2 of argv
if _browser = "safari" then
openInSafari(_url)
else
set theDialogText t... |
CTL/Modalities/AU.agda | Aerate/condatis | 1 | 7573 | <reponame>Aerate/condatis<filename>CTL/Modalities/AU.agda
module CTL.Modalities.AU where
open import CTL.Modalities.AN
open import FStream.Core
open import Library
data _AU'_ {ℓ₁ ℓ₂} {C : Container ℓ₁}
(props₁ props₂ : FStream' C (Set ℓ₂)) : Set (ℓ₁ ⊔ ℓ₂) where
finallyA : head props₁ → props₁ AU' props₂
_un... |
source/boot.asm | blastrock/flix | 6 | 81688 | ;
; boot.s -- Kernel start location. Also defines multiboot header.
; Based on Bran's kernel development tutorial file start.asm
;
MB2_HEADER_MAGIC equ 0xE85250D6
MB2_ARCHITECTURE equ 0
MB2_LENGTH equ MB2_HEADER_END - MB2_HEADER_START
MB2_RESPONSE_MAGIC equ 0x36D76289
MB2_CHECKSUM equ -(MB2_HEADER_MA... |
use_c_printf.asm | dev001hajipro/study_nasm | 0 | 19866 | <gh_stars>0
;
; $ nasm -f elf64 pri.asm && gcc pri.o -o pri && ./pri
; PIC対応なのでprintfは以下のようにWRT ..pltを記述して呼び出す
; call printf WRT ..plt
;
extern printf
section .data
fmt: db "x=%d", 0x0A, 0
section .text
global main
main:
mov rdi, fmt
mov rsi, 198
xor rax, rax
call printf WRT ..plt
; sys_exit
mov rax, 60
m... |
src/kernel/kernel.string.asm | asmCcoder/dzOS | 1 | 166041 | ;******************************************************************************
; kernel.string.asm
;
; Kernel's String routines
; for dastaZ80's dzOS
; by <NAME> (May 2019)
;
; Version 1.0.0
; Created on 08 May 2019
; Last Modification 08 May 2019
;**********************************************************************... |
sim/asm/fn62.asm | nanamake/avr_cpu | 2 | 102172 | ;-------------------
; test for subi/sreg
;-------------------
.equ sreg = 0x3f
;-------------------
ldi r16,0x28
ldi r17,0x70
ldi r18,0xc0
ldi r19,0xd8
ldi r20,0x00
ldi r21,0x7f
ldi r22,0x80
ldi r23,0xff
;-------------------
mov r24,r16
subi r24,0x28
in r0 ,s... |
Task/Tree-traversal/Ada/tree-traversal.ada | LaudateCorpus1/RosettaCodeData | 1 | 3663 | <filename>Task/Tree-traversal/Ada/tree-traversal.ada
with Ada.Text_Io; use Ada.Text_Io;
with Ada.Unchecked_Deallocation;
with Ada.Containers.Doubly_Linked_Lists;
procedure Tree_Traversal is
type Node;
type Node_Access is access Node;
type Node is record
Left : Node_Access := null;
Right : Node_Acc... |
cs383_CompOrgAndProc/hw/01asm/03.asm | joshgrib/2017F-coursework | 0 | 99468 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Problem 3:
;; Write an assembly language program to take the next two numbers in memory
;; starting at data space 0x0100. Compare them and output the greater number
;; (if the numbers are equal, output that number). (Points 15)
.i... |
chapter_02/input_output_library/string_copy_too_long.asm | GeertArien/low-level-programming | 0 | 94225 | <reponame>GeertArien/low-level-programming
section .rodata
err_too_long_msg: db "string is too long", 10, 0
section .data
arg1: db '', 0
arg2: times 0 db 66
section .text
%include "lib.inc"
global _start
_start:
mov rdi, -1
m... |
Definition/LogicalRelation/Substitution/Irrelevance.agda | loic-p/logrel-mltt | 0 | 2901 | <reponame>loic-p/logrel-mltt<gh_stars>0
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Irrelevance {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Typed
open import Definition.Logic... |
programs/oeis/214/A214982.asm | karttu/loda | 1 | 13059 | ; A214982: a(n) = (Fibonacci(5n)/Fibonacci(n) - 5)/50.
; 0,1,6,45,300,2080,14196,97461,667590,4576825,31367160,215001216,1473620616,10100397385,69229018950,474503107365,3252291758436,22291541752096,152788493829180,1047227932532925,7177806988136070
cal $0,127546 ; a(n) = F(n)^2 + F(n+1)^2 + F(n+2)^2, where F(n) denotes... |
programs/oeis/191/A191682.asm | jmorken/loda | 1 | 20890 | ; A191682: Twice A113473.
; 2,4,4,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10
add $0,1
lpb $0,$0
div $0,2
add $2,2
lpe
mov $1,$2
add $1,2
|
45/runtime/rt/dkinit.asm | minblock/msdos | 0 | 162785 | TITLE DKINIT.ASM - Disk I/O Initialization/Termination module
;***
;DKINIT.ASM - Disk I/O initialization/termination module
;
; Copyright <C> 1987, Microsoft Corporation
;
;Purpose:
; This module contains Disk I/O initialization and termination
; support for the BASIC 3.0 runtime. Most of this initialization
; and te... |
src/test/resources/test03.asm | jeffreybian/mochi8 | 0 | 8180 | OPTION BINARY ; We want a binary file, not an HP48 one.
ALIGN OFF ; And we don't want auto alignement, as some
; data can be made of bytes instead of words.
; Drawing a random maze like this one consists in drawing random diagonal
; lines. There are two possibilities: right-to-left line, and l... |
src/asis/asis-statements.adb | My-Colaborations/dynamo | 15 | 10858 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt33.adb | best08618/asylo | 7 | 21697 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt33.adb
-- { dg-do compile }
-- { dg-options "-O" }
with Ada.Containers.Ordered_Sets;
with Ada.Strings.Unbounded;
procedure Opt33 is
type Rec is record
Name : Ada.Strings.Unbounded.Unbounded_String;
end record;
function "<" (Left : Rec; Right : ... |
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-detector-discrete-sphere_triangle.adb | charlie5/lace | 20 | 12099 | <reponame>charlie5/lace
with impact.d3.Transform;
with impact.d3.Vector;
with impact.d3.Scalar;
package body impact.d3.collision.Detector.discrete.sphere_triangle
is
function to_sphere_triangle_Detector (sphere : access impact.d3.Shape.convex.internal.sphere .Item'Class;
... |
mc-sema/validator/x86/tests/CVTSI2SSrr.asm | randolphwong/mcsema | 2 | 26417 | <reponame>randolphwong/mcsema
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; put 2 into ecx for future load into xmm0
mov ecx, 2
;TEST_BEGIN_RECORDING
cvtsi2ss xmm0, ecx
;TEST_END_RECORDING
xor ecx, ecx
cvtsi2ss xmm0, ecx
|
Lockon S3/LockOn Data.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 88667 | <gh_stars>1-10
LockOnROM_Start: binclude "Lockon S3/Header.bin"
even
SSMagic_TestLoc_200114 EQU LockOnROM_Start+$114
SSMagic_TestLoc_20011A EQU LockOnROM_Start+$11A
LockonDate EQU LockOnROM_Start+$11C
SSMagic_TestLoc_200150 EQU LockOnROM_Start+$150
LockonSerialNumber EQU LockOnROM_Start+$180
SSMagic_TestLoc_20... |
AppleScripts/Examples/LoopSpeakingTest.applescript | KyleKing/My-Programming-Sketchbook | 7 | 2729 | -- Testing loops and verbal output
--SCRIPT 1
set k to 0
repeat until k = 3
set k to k + 1
say k as string
delay 1
end repeat
-- --SCRIPT 2
-- set k to 0
-- repeat until k = 300
-- set k to k + 10
-- say k as string
-- delay 1
-- end repeat
|
libsrc/graphics/gal/pixladdr_MODE1.asm | jpoikela/z88dk | 640 | 23083 | <filename>libsrc/graphics/gal/pixladdr_MODE1.asm
;
;----------- GFX paging -------------
SECTION code_clib
PUBLIC pixeladdress_MODE1
INCLUDE "graphics/grafix.inc"
; Entry h = x
; l = y
; Exit: hl = address
; a = pixel number
; Uses: a, bc, de, hl
.pixeladdress_MODE1
; add y-times the nuber ... |
user/uthread.asm | eric-qian-d/TCP | 0 | 25146 |
user/_uthread: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <thread_init>:
struct thread *current_thread;
extern void thread_switch(uint64, uint64);
void
thread_init(void)
{
0: 1141 addi sp,sp,-16
2: e422 sd s0,8(sp)
4: 080... |
3rdParties/src/nasm/nasm-2.15.02/travis/test/nop.asm | blue3k/StormForge | 1 | 23430 | bits 64
nop
o64 nop
pause
o64 pause
xchg ax,ax
xchg eax,eax
xchg rax,rax
rep xchg ax,ax
rep xchg eax,eax
rep xchg rax,rax
|
include/game-gaudio.ads | Holt59/Ada-SDL | 0 | 16952 | <gh_stars>0
--------------------------------------------
-- --
-- PACKAGE GAME - PARTIE ADA --
-- --
-- GAME-GAUDIO.ADS --
-- --
-- Gestion du son (musique et "chunk... |
grammar/Math.g4 | gress2/AST | 0 | 7506 | grammar Math;
math
: expr END;
expr
: OPEN_PAREN expr CLOSE_PAREN # parensExpr
| op=(OP_ADD|OP_SUB) expr # unaryExpr
| left=expr op=OP_EXP right=expr # infixExpr
| left=expr op=(OP_MUL|OP_DIV) right=expr # infixExpr
| left=expr op=(OP_ADD|OP_SUB) right=expr # ... |
libsrc/stdlib/wpeek.asm | dex4er/deb-z88dk | 1 | 241331 | <reponame>dex4er/deb-z88dk
; uint __FASTCALL__ wpeek(void *addr)
; 11.2006 aralbrec
XLIB wpeek
.wpeek
ld e,(hl)
inc hl
ld d,(hl)
ex de,hl
ret
|
programs/oeis/021/A021554.asm | karttu/loda | 0 | 82065 | <reponame>karttu/loda
; A021554: Decimal expansion of 1/550.
; 0,0,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1
lpb $0,1
mod $0,2
add $1,8
pow $1,$0
lpe
|
code/seagullbird/t11.asm | KongoHuster/assembly-exercise | 1 | 2266 | TITLE seagullbird_t11
.MODEL SMALL
.DATA
NUMBER DW 1234H
.CODE
MAIN PROC FAR
ASSUME CS:_TEXT, DS:_DATA
PUSH DS
XOR AX, AX
PUSH AX
MOV AX, @DATA
MOV DS, AX
MOV AX, NUMBER
MOV CL, 4
MOV BX, AX
AND AX, 0FH
ROR BX, CL
MOV SI, BX
AND BX, 0FH
ROR SI, CL
MOV DX, SI
AND SI, 0FH
ROR DX, CL
AND DX, 0FH
MOV ... |
Ada/DataStructures/BinTree/int_binary_tree.adb | egustafson/sandbox | 2 | 1204 | <reponame>egustafson/sandbox
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Unchecked_Deallocation;
use Ada.Text_IO, Ada.Integer_Text_IO;
package body Int_Binary_Tree is
type Compare_Result_Type is ( Less_Than, Equal, Greater_Than );
type Traced_Node_Type is
record
Node : Tree_Node_Ptr;
... |
src/README.agda | asr/pts-agda | 21 | 10096 | ------------------------------------------------------------------------
-- Experiments with Pure Type Systems (PTS)
------------------------------------------------------------------------
-- Author: <NAME>
-- Copyright (c) 2015 EPFL
-- The code in this directory contains a (partial) Agda formalization
-- of Pure Ty... |
programs/oeis/306/A306847.asm | neoneye/loda | 22 | 20234 | <filename>programs/oeis/306/A306847.asm
; A306847: a(n) = Sum_{k=0..floor(n/6)} binomial(n,6*k).
; 1,1,1,1,1,1,2,8,29,85,211,463,926,1730,3095,5461,9829,18565,37130,77540,164921,349525,728575,1486675,2973350,5858126,11450531,22369621,43942081,87087001,174174002,350739488,708653429,1431655765,2884834891,5791193143,11582... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_frexp_callee.asm | Frodevan/z88dk | 640 | 26444 | <filename>libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_frexp_callee.asm<gh_stars>100-1000
SECTION code_fp_math16
PUBLIC cm16_sdcc_frexp_callee
EXTERN asm_f16_frexp
; half_t frexp(half_t x, int8_t *pw2);
; Entry:
; Stack: ptr right, half_t left, ret
.cm16_sdcc_frexp_callee
pop de ... |
Transynther/x86/_processed/US/_st_zr_sm_/i7-7700_9_0x48.log_21829_1467.asm | ljhsiun2/medusa | 9 | 164406 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x4dd0, %r13
nop
nop
nop
xor %r10, %r10
movb $0x61, (%r13)
nop
nop
nop
and %r14, %r14
lea addresses_normal_ht+0xa6f4, %r13
nop
nop
... |
tmp/643.asm | li7r/os | 5 | 175663 | <reponame>li7r/os
nasm -fbin Main.asm -o LongModeDirectly ; The main file's name should be Main.asm
qemu-system-x86_64 -hda LongModeDirectly ; The secondary file's name should be LongModeDirectly.asm and should be in the same directory
|
src/main/antlr4/GraphQL.g4 | niw/antlr4-graphql-grammar | 1 | 3220 | grammar GraphQL;
// Document Syntax
// https://spec.graphql.org/October2021/#sec-Document-Syntax
// Parser
// Document
// https://spec.graphql.org/October2021/#sec-Document
document:
definition+;
definition:
executableDefinition
| typeSystemDefinitionOrExtension
;
executableDocument:
executabl... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/abstract_with_anonymous_result.adb | best08618/asylo | 7 | 18467 | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do run }
procedure Abstract_With_Anonymous_Result is
package Pkg is
type I is abstract tagged null record;
type Acc_I_Class is access all I'Class;
function Func (V : I) return access I'Class is abstract;
procedure Proc (V : access I'Class);
... |
oeis/162/A162959.asm | neoneye/loda-programs | 11 | 2925 | <gh_stars>10-100
; A162959: The pairs (x,y) such that (x^2 + y^2)/(x*y + 1) is a perfect square, i.e., 4.
; 0,2,2,8,8,30,30,112,112,418,418,1560,1560,5822,5822,21728,21728,81090,81090,302632,302632,1129438,1129438,4215120,4215120,15731042,15731042,58709048,58709048,219105150,219105150,817711552,817711552,3051741058,305... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1065.asm | ljhsiun2/medusa | 9 | 173313 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xebca, %rdx
nop
nop
nop
nop
nop
and $22953, %rbx
mov $0x6162636465666768, %r13
movq %r13, (%rdx)
nop
nop
nop
nop
inc %r13
lea addresses_WT... |
llvm-gcc-4.2-2.9/gcc/ada/s-auxdec-vms_64.ads | vidkidz/crossbridge | 1 | 25817 | <filename>llvm-gcc-4.2-2.9/gcc/ada/s-auxdec-vms_64.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
data/events/bug_contest_winners.asm | zavytar/pokecolorless | 0 | 23191 | BugContestantPointers:
; there are NUM_BUG_CONTESTANTS + 1 entries
dw BugContestant_BugCatcherDon ; this reverts back to the player
dw BugContestant_BugCatcherDon
dw BugContestant_BugCatcherEd
dw BugContestant_CooltrainerMNick
dw BugContestant_PokefanMWilliam
dw BugContestant_BugCatcherBenny
dw BugContestant_Cam... |
regtests/util-events-channels-tests.adb | Letractively/ada-util | 60 | 9153 | -----------------------------------------------------------------------
-- events.tests -- Unit tests for event channels
-- Copyright (C) 2009, 2010, 2011 <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... |
Modules/PolynomialModule.agda | Smaug123/agdaproofs | 4 | 3407 | <filename>Modules/PolynomialModule.agda
{-# OPTIONS --safe --warning=error --without-K #-}
open import Sets.EquivalenceRelations
open import LogicalFormulae
open import Setoids.Setoids
open import Rings.Definition
open import Modules.Definition
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
o... |
oeis/073/A073010.asm | neoneye/loda-programs | 11 | 10822 | ; A073010: Decimal expansion of Pi/sqrt(27).
; Submitted by <NAME>
; 6,0,4,5,9,9,7,8,8,0,7,8,0,7,2,6,1,6,8,6,4,6,9,2,7,5,2,5,4,7,3,8,5,2,4,4,0,9,4,6,8,8,7,4,9,3,6,4,2,4,6,8,5,8,5,2,3,2,9,4,9,7,8,4,6,2,7,0,7,7,2,7,0,4,2,1,1,7,9,6,1,2,2,8,0,4,1,6,6,2,7,3,7,3,5,3,3,8,9,6
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul ... |
alloy4fun_models/trashltl/models/17/CpCCNcyeL5DXeRRkG.als | Kaixi26/org.alloytools.alloy | 0 | 1535 | open main
pred idCpCCNcyeL5DXeRRkG_prop18 {
all p:Protected | p in File - Protected implies p in Trash
}
pred __repair { idCpCCNcyeL5DXeRRkG_prop18 }
check __repair { idCpCCNcyeL5DXeRRkG_prop18 <=> prop18o } |
programs/oeis/246/A246767.asm | karttu/loda | 1 | 172158 | <gh_stars>1-10
; A246767: n^4 - 2n.
; 0,-1,12,75,248,615,1284,2387,4080,6543,9980,14619,20712,28535,38388,50595,65504,83487,104940,130283,159960,194439,234212,279795,331728,390575,456924,531387,614600,707223,809940,923459,1048512,1185855,1336268,1500555,1679544,1874087,2085060
mov $1,$0
mul $0,2
pow $1,4
sub $1,$0
|
oeis/234/A234133.asm | neoneye/loda-programs | 11 | 173574 | ; A234133: Number of (n+1) X (1+1) 0..3 arrays with every 2 X 2 subblock having the sum of the absolute values of all six edge and diagonal differences equal to 9.
; Submitted by <NAME>
; 32,80,192,512,1280,3584,9216,26624,69632,204800,540672,1605632,4259840,12713984,33816576,101187584,269484032,807403520,2151677952,64... |
programs/oeis/140/A140724.asm | karttu/loda | 0 | 165253 | <gh_stars>0
; A140724: Period 10: 1, 5, 9, 7, 7, 9, 5, 1, 3, 3 repeated.
; 1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7
add $0,1
mov $1,1
lpb $0,1
sub $... |
src/SlimShader.Tests/Shaders/Sdk/Direct3D11/NBodyGravityCS11/NBodyGravityCS11.asm | tgjones/slimshader | 125 | 100262 | <reponame>tgjones/slimshader
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
// Buffer Definitions:
//
// cbuffer cbCS
// {
//
// uint4 g_param; // Offset: 0 Size: 16
// float4 g_paramf; // Offset: 16 Size: 16
//
// }
//
// Resource b... |
programs/oeis/158/A158479.asm | neoneye/loda | 22 | 81468 | <gh_stars>10-100
; A158479: 36n^2 + 6.
; 42,150,330,582,906,1302,1770,2310,2922,3606,4362,5190,6090,7062,8106,9222,10410,11670,13002,14406,15882,17430,19050,20742,22506,24342,26250,28230,30282,32406,34602,36870,39210,41622,44106,46662,49290,51990,54762,57606,60522,63510,66570,69702,72906,76182,79530,82950,86442,90006,9... |
POSL.g4 | jtejido/athena | 0 | 5481 | grammar POSL;
// Currently a rulebase is defined as 0 or more clauses followed by an end of file charater
// This will likely be expanded in the future to allow for modules
rulebase:
clause;
// A clause is one atom (the head), optionally followed by the separator (:-) and a list
// of one or more atoms for the b... |
boards/stm32_common/dma2d/stm32-dma2d_bitmap.ads | rocher/Ada_Drivers_Library | 192 | 25138 | <reponame>rocher/Ada_Drivers_Library<gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
mc-sema/validator/x86/tests/FPREM.asm | randolphwong/mcsema | 2 | 100321 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea edi, [esp-0xc]
mov word [edi], 0x2
FILD word [edi]
mov word [edi], 0x5
FILD word [edi]
; get remainder of 5/2
FPREM
mov edi, 0
;TEST_END_RECORDING
|
orka/src/gl/implementation/gl-blending.adb | onox/orka | 52 | 3877 | <filename>orka/src/gl/implementation/gl-blending.adb
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2013 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
... |
list-test.agda | rfindler/ial | 29 | 5651 | module list-test where
open import bool
open import list
open import nat
open import list-to-string
open import bool-to-string
open import eq
test1 : 𝕃 𝔹
test1 = tt :: tt :: tt :: []
test2 : 𝕃 𝔹
test2 = ff :: ff :: []
test3 = test1 ++ test2
test-lem : test3 ≡ tt :: tt :: tt :: ff :: ff :: []
test-lem = refl
t... |
llvm-gcc-4.2-2.9/gcc/ada/a-cgcaso.adb | vidkidz/crossbridge | 1 | 13123 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
test/Succeed/PostponedUnification.agda | redfish64/autonomic-agda | 1 | 12918 | <reponame>redfish64/autonomic-agda
{- This example test that the order in which unification
constraints are generated doesn't matter. The pattern
matching in foo generates the unification problem
[x, zero] = [n + m, n]
with n and m flexible. The first equation can only be
solved after the second... |
Library/Mailbox/Outbox/outboxFeedbackGlyph.asm | steakknife/pcgeos | 504 | 4240 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1995 -- All Rights Reserved
PROJECT:
MODULE:
FILE: outboxFeedbackGlyph.asm
AUTHOR: <NAME>, Sep 5, 1995
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:... |
test/Compiler/simple/Issue1441.agda | cruhland/agda | 1,989 | 4192 | <reponame>cruhland/agda
module Issue1441 where
open import Common.Nat
open import Common.Unit
open import Common.IO
data Sing : (n : Nat) → Set where
sing : ∀ n → Sing n
data D : Set → Set where
c : ∀ n → D (Sing n)
test : (A : Set) → D A → Nat
test .(Sing n) (c n) = n
main : IO Unit
main = printNat (test (Si... |
src/nl/tvandijk/aoc/year2020/day14/Input.g4 | trolando/aoc2020 | 1 | 4222 | <filename>src/nl/tvandijk/aoc/year2020/day14/Input.g4
grammar Input;
start : instruction+;
instruction : 'mask' '=' XSTR # maskInstruction
| 'mem[' loc=XSTR ']' '=' val=XSTR # memInstruction
;
XSTR : [0123456789X]+ ;
WS : [ \t\r,\n]+ -> skip ;
|
programs/oeis/072/A072057.asm | neoneye/loda | 22 | 177863 | <gh_stars>10-100
; A072057: Sum of divisors of 2*prime(n)+1.
; 6,8,12,24,24,40,48,56,48,60,104,124,84,120,120,108,144,168,240,168,228,216,168,180,336,240,312,264,296,228,432,264,372,416,336,408,624,440,408,348,360,532,384,572,480,640,624,600,672,720,468,480,768,504,624,576,684,728,912,564,968,588,1008,720,960,768,1008,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1692.asm | ljhsiun2/medusa | 9 | 9724 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1d6fe, %rsi
lea addresses_D_ht+0x15dfe, %rdi
nop
nop
xor $20371, %r12
mov $113, %rcx
rep movsb
nop
nop
dec %r12
lea addresses_WC_ht+0x18cfe, %rsi
lea addresses_normal_ht+0x1a16e, %rdi
... |
LambdaIOT/boot/cpu_s.asm | straight-coding/LPC407x-NoOS-LWIP-MBEDTLS-HTTPD-KEIL | 0 | 95895 | <filename>LambdaIOT/boot/cpu_s.asm
;cpu_s.asm
;Author: <NAME><<EMAIL>>
;Date: Sept 01, 2020
;********************************************************************************************************
; PUBLIC FUNCTIONS
;****************************************************************... |
programs/oeis/204/A204766.asm | neoneye/loda | 22 | 13854 | ; A204766: a(n) = 167*(n-1)-a(n-1) with n>1, a(1)=13.
; 13,154,180,321,347,488,514,655,681,822,848,989,1015,1156,1182,1323,1349,1490,1516,1657,1683,1824,1850,1991,2017,2158,2184,2325,2351,2492,2518,2659,2685,2826,2852,2993,3019,3160,3186,3327,3353,3494,3520,3661,3687,3828,3854,3995,4021,4162,4188,4329,4355,4496,4522,46... |
systems/assembly/fibonacci/nasm/fib.asm | tradfursten/Hacktoberfest-2k18 | 29 | 86602 | %include"io.mac"
section .data ;messages to be printed
input db "Enter the number",0
output db "th fibonocci number is ",0
section .bss ;variable declaration section
number resd 1
temp resd 1
section .text ;main program starts here
global _start
_start:
PutStr input
GetLInt ecx
mov [number],ecx
mov ... |
project/src/servo_controller.ads | Stykk-Gruppen/rts-project | 2 | 18944 | <filename>project/src/servo_controller.ads<gh_stars>1-10
with Arduino_Nano_33_Ble_Sense.IOs;
with Servo;
package Servo_Controller is
type Direction is (Forward, Backward, Stop);
type Servo_Half is record
Pin : Arduino_Nano_33_Ble_Sense.IOs.Pin_Id;
Angle : Servo.Angle_Range;
end record;
... |
programs/oeis/047/A047790.asm | karttu/loda | 0 | 89252 | ; A047790: a(n) = Fibonacci(2*n)-2^n+1.
; 0,0,0,1,6,24,81,250,732,2073,5742,15664,42273,113202,301428,799273,2112774,5571816,14668209,38563882,101285580,265817145,697214430,1827923296,4790749761,12552714594,32884171236,86133353545,225582998262,590749858968,1546935014097,4050592054234,10605914890428,27769300100697,72706... |
Task/Sierpinski-triangle/Ada/sierpinski-triangle-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 18554 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Sierpinski-triangle/Ada/sierpinski-triangle-2.ada
with Ada.Command_Line;
with Ada.Text_IO;
procedure Main is
subtype Order is Natural range 1 .. 32;
type Mod_Int is mod 2 ** Order'Last;
procedure Sierpinski (N : Order) is
begin
for Line in Mod_I... |
data/pokemon/dex_entries/roselia.asm | AtmaBuster/pokeplat-gen2 | 6 | 81347 | <reponame>AtmaBuster/pokeplat-gen2
db "THORN@" ; species name
db "ROSELIA that drink"
next "nutritionally rich"
next "springwater are"
page "said to reveal"
next "rare coloration"
next "when they bloom.@"
|
audio/music/kantowildbattle.asm | Dev727/ancientplatinum | 28 | 97675 | Music_KantoWildBattle:
musicheader 3, 1, Music_KantoWildBattle_Ch1
musicheader 1, 2, Music_KantoWildBattle_Ch2
musicheader 1, 3, Music_KantoWildBattle_Ch3
db $3
Music_KantoWildBattle_Ch1:
tempo 112
volume $77
vibrato $12, $23
dutycycle $2
notetype $c, $b7
note __, 16
octave 4
note A#, 6
note A_, 1
note ... |
core/lib/types/EilenbergMacLane1.agda | cmknapp/HoTT-Agda | 0 | 14060 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.NType2
open import lib.Equivalences2
open import lib.NConnected
open import lib.types.Nat
open import lib.types.Pi
open import lib.types.Sigma
open import lib.types.TLevel
open import lib.types.Truncation
open import lib.typ... |
tools/ayacc/src/rule_table.adb | svn2github/matreshka | 24 | 11038 | -- 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... |
programs/oeis/193/A193739.asm | neoneye/loda | 22 | 82454 | ; A193739: Mirror of the triangle A193738.
; 1,1,1,2,2,1,3,3,2,1,4,4,3,2,1,5,5,4,3,2,1,6,6,5,4,3,2,1,7,7,6,5,4,3,2,1,8,8,7,6,5,4,3,2,1,9,9,8,7,6,5,4,3,2,1,10,10,9,8,7,6,5,4,3,2,1,11,11,10,9,8,7,6,5,4,3,2,1,12,12,11,10,9,8,7,6,5,4,3,2,1,13,13,12,11,10,9,8,7,6
mov $2,$0
lpb $0
add $1,1
sub $0,$1
cmp $2,$1
add $2... |
programs/oeis/080/A080342.asm | jmorken/loda | 1 | 1773 | ; A080342: Number of weighings required to identify a single bad coin out of n coins, using a two-pan balance.
; 0,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5... |
coverage/IN_CTS/0577-COVERAGE-constant-folding-2531-2542/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 163218 | <filename>coverage/IN_CTS/0577-COVERAGE-constant-folding-2531-2542/work/variant/1_spirv_asm/shader.frag.asm
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 57
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel L... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_159.asm | ljhsiun2/medusa | 9 | 84588 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rsi
lea addresses_A_ht+0x11a84, %r13
nop
nop
nop
and %r11, %r11
vmovups (%r13), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %rcx
nop
nop
nop
nop
nop
add %rax, %rax
lea addresses_A_ht+0xe0c4, %rsi
nop... |
test/Succeed/Issue1650.agda | cruhland/agda | 1,989 | 2890 | <reponame>cruhland/agda
-- Andreas, 2015-09-18 Andreas, reported by Andrea
-- {-# OPTIONS -v impossible:10 #-}
-- {-# OPTIONS -v tc.cover.splittree:10 #-}
-- {-# OPTIONS -v tc.cc:30 #-}
open import Common.Bool
open import Common.Product
open import Common.Equality
postulate
A : Set
a : A
Works : A × A → Bool → A
W... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97201e.ada | best08618/asylo | 7 | 7487 | <reponame>best08618/asylo<gh_stars>1-10
-- C97201E.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 docume... |
programs/oeis/048/A048896.asm | neoneye/loda | 22 | 89371 | <filename>programs/oeis/048/A048896.asm<gh_stars>10-100
; A048896: a(n) = 2^(A000120(n+1) - 1), n >= 0.
; 1,1,2,1,2,2,4,1,2,2,4,2,4,4,8,1,2,2,4,2,4,4,8,2,4,4,8,4,8,8,16,1,2,2,4,2,4,4,8,2,4,4,8,4,8,8,16,2,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,1,2,2,4,2,4,4,8,2,4,4,8,4,8,8,16,2,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,2,4,4,8,4
... |
alloy4fun_models/trainstlt/models/5/PXkMwy4ga2bas5JHH.als | Kaixi26/org.alloytools.alloy | 0 | 4984 | <gh_stars>0
open main
pred idPXkMwy4ga2bas5JHH_prop6 {
always (all s:Signal | always (s in Green) implies eventually (s not in Green ) or
always s not in Green implies eventually (s in Green) )
}
pred __repair { idPXkMwy4ga2bas5JHH_prop6 }
check __repair { idPXkMwy4ga2bas5JHH_prop6 <=> prop6o } |
oeis/234/A234506.asm | neoneye/loda-programs | 11 | 9812 | ; A234506: a(n) = binomial(9*n+3, n)/(3*n+1).
; Submitted by <NAME>
; 1,3,30,406,6327,107019,1909908,35399520,674842149,13147742322,260626484118,5239783981320,106585537781775,2189670831627678,45366284782209600,946815917066740800,19887218367823853937,420076689292591271325,8917736795123409615060,190161017612160607167948,... |
oeis/041/A041930.asm | neoneye/loda-programs | 11 | 165313 | <gh_stars>10-100
; A041930: Numerators of continued fraction convergents to sqrt(488).
; Submitted by <NAME>
; 22,243,10714,118097,5206982,57394899,2530582538,27893802817,1229857906486,13556330774163,597708411969658,6588348862440401,290485058359347302,3201923990815260723,141175140654230819114,1556128471187354270977,686... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.