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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_905.asm | ljhsiun2/medusa | 9 | 81222 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1ad2f, %rcx
nop
nop
nop
sub %rdi, %rdi
mov $0x6162636465666768, %r10
movq %r10, %xmm6
and $0xffffffffffffffc0, %rcx
movaps %xmm6, (%rcx)
nop
nop
nop
add $34572, %r10
lea addr... |
src/Parse/Escape.agda | WhatisRT/meta-cedille | 35 | 1811 | <reponame>WhatisRT/meta-cedille
--------------------------------------------------------------------------------
-- This file provides functions for escaping
--------------------------------------------------------------------------------
module Parse.Escape where
open import Class.Map
open import Data.SimpleMap
open... |
sound/musicasm/ALZ.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 176804 | <filename>sound/musicasm/ALZ.asm<gh_stars>1-10
ALZ_Header:
sHeaderInit ; Z80 offset is $BE82
sHeaderPatch ALZ_Patches
sHeaderCh $06, $03
sHeaderTempo $01, $00
sHeaderDAC ALZ_DAC
sHeaderFM ALZ_FM1, $00, $15
sHeaderFM ALZ_FM2, $00, $0B
sHeaderFM ALZ_FM3, $00, $15
sHeaderFM ALZ_FM4, $00, $15
sHeaderFM ALZ_F... |
demo/tutorial/guis.adb | csb6/libtcod-ada | 0 | 12305 | with Engines, Ada.Strings.Fixed;
package body GUIs is
use Ada.Strings;
use type Console.Y_Pos;
Log_X : constant := Bar_Width + 2;
Message_Height : constant := Panel_Height - 1;
procedure render_bar(self : in out GUI; x : Console.X_Pos; y : Console.Y_Pos;
w : Width; name : Strin... |
oeis/134/A134346.asm | neoneye/loda-programs | 11 | 7686 | <filename>oeis/134/A134346.asm<gh_stars>10-100
; A134346: Triangle read by rows: A124929 * A007318.
; Submitted by <NAME>
; 1,3,3,7,14,7,15,45,45,15,31,124,186,124,31,63,315,630,630,315,63,127,762,1905,2540,1905,762,127,255,1785,5355,8925,8925,5355,1785,255,511,4088,14308,28616,35770,28616,14308,4088,511
lpb $0
add ... |
src/main/fragment/mos6502-common/vwum1=vwuc1_setbyte0_vbuxx.asm | jbrandwood/kickc | 2 | 85015 | stx {m1}
ldx #>{c1}
stx {m1}+1
|
Test_C.asm | LiaoHanwen/microcomputer-experiment | 0 | 168506 | ;Test C
;separator is spa 20h
;terminator is cret 0dh
;macro for output
output macro ostr
mov dx,offset ostr
mov ah,09h
int 21h
endm
data segment
buff db 80h
db 0
db 80h dup(0)
minnum dw 0ffffh
hint db 'Input a sequence of numbers: ','$'
minstr db 0dh,0ah,'The minimum number is: ','$'
errstr db 0dh,0ah,... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_264_653.asm | ljhsiun2/medusa | 9 | 1998 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1887f, %rsi
lea addresses_A_ht+0x56bb, %rdi
clflush (%rsi)
nop
nop
nop
xor $63329, %rbp
mov $29, %rcx
rep movsq
nop
and $1943, %rcx
lea addresses_UC_ht+0x1372b, %rsi
lea addresses_normal_ht+0x1... |
oldstuff/tigcc/PolySnd/sources/statique/Sample_voice2.asm | bcherry/bcherry | 3 | 23152 | <gh_stars>1-10
section ".data"
xdef pSnd_Sample_voice2
pSnd_Sample_voice2:
move.w d0,wav_sample_voice2
rts |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_2008_565.asm | ljhsiun2/medusa | 9 | 82500 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x15bbe, %r14
nop
nop
nop
cmp %rbx, %rbx
movb $0x61, (%r14)
nop
nop
cmp $32700, %rdx
lea addresses_WT_ht+0x12a9c, %r9
nop
and %rdi, %rdi
mov $0x6162636465666768, %r14... |
programs/oeis/004/A004957.asm | neoneye/loda | 22 | 89704 | <reponame>neoneye/loda
; A004957: a(n) = ceiling(n*phi^2), where phi is the golden ratio, A001622.
; 0,3,6,8,11,14,16,19,21,24,27,29,32,35,37,40,42,45,48,50,53,55,58,61,63,66,69,71,74,76,79,82,84,87,90,92,95,97,100,103,105,108,110,113,116,118,121,124,126,129,131,134,137,139,142,144,147,150,152,155,158,160,163,165,168,1... |
src/shaders/h264/ildb/AVC_ILDB_SpawnChromaRoot.asm | me176c-dev/android_hardware_intel-vaapi-driver | 192 | 19386 | <reponame>me176c-dev/android_hardware_intel-vaapi-driver
/*
* Copyright © <2010>, Intel Corporation.
*
* 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
*... |
programs/oeis/195/A195291.asm | karttu/loda | 0 | 22740 | ; A195291: Years in the Gregorian calendar which are not (proleptic) leap years.
; 1,2,3,5,6,7,9,10,11,13,14,15,17,18,19,21,22,23,25,26,27,29,30,31,33,34,35,37,38,39,41,42,43,45,46,47,49,50,51,53,54,55,57,58,59,61,62,63,65,66,67,69,70,71,73,74,75,77,78,79,81,82,83,85,86,87,89,90,91,93,94,95,97,98,99,100
mov $3,$0
div ... |
oeis/142/A142986.asm | neoneye/loda-programs | 11 | 172033 | <filename>oeis/142/A142986.asm
; A142986: a(1) = 1, a(2) = 8, a(n+2) = 8*a(n+1) + (n+1)*(n+2)*a(n).
; Submitted by <NAME>
; 1,8,70,656,6648,72864,862128,10977408,149892480,2187106560,33985025280,560578268160,9786290088960,180315565516800,3497645442816000,71256899266560000,1521414754578432000,33975929212194816000,792131... |
LAB4/q2A.asm | Avigdor-Kolonimus/ASM | 0 | 246095 | <filename>LAB4/q2A.asm
dseg segment
N1 DB 33H,41H,58H ;first number
N2 DB 56H,44H,77H ;second number
N3 DB ?,?,? ;answer number
dseg ends
sseg segment stack
dw 100h dup(?)
sseg ends
cseg segment
assume ds:dseg,cs:cseg,ss:sseg
;procedure add N1 and N2,answer saved in N3
sum proc
;initializatio... |
code/decomp.asm | StardustGear/AMPS | 0 | 178876 | <reponame>StardustGear/AMPS<filename>code/decomp.asm
; ---------------------------------------------------------------------------
; KOSINSKI DECOMPRESSION PROCEDURE
; (sometimes called KOZINSKI decompression)
;
; ARGUMENTS:
; a0 = source address
; a1 = destination address
;
; For format explanation see http://info.son... |
oeis/341/A341859.asm | neoneye/loda-programs | 11 | 26540 | ; A341859: Decimal expansion of 4 - (8/5)*sqrt(5).
; Submitted by <NAME>
; 4,2,2,2,9,1,2,3,6,0,0,0,3,3,6,4,8,5,7,4,5,3,2,2,1,3,0,0,2,9,9,5,8,0,2,3,2,9,5,0,1,0,6,2,4,6,2,1,5,5,8,8,4,1,1,6,6,5,6,4,4,0,7,3,4,3,1,6,6,5,1,8,9,7,9,5,1,2,1,6,0,9,3,6,9,3,6,9,4,6,5,9,3,9,4,8,3,6
mov $3,$0
mul $3,2
lpb $3
add $6,$2
add $1,$... |
RW/Language/FinTerm.agda | VictorCMiraldo/agda-rw | 16 | 14083 | open import Prelude renaming (_++_ to _++-List_)
open import Data.Maybe using (Maybe; just; nothing)
open import Data.Nat using (ℕ; suc; zero; _+_; _≤_; z≤n; s≤s; _≤?_) renaming (decTotalOrder to decTotalOrder-ℕ)
open import Data.Nat.Properties as ℕ-Props
open import Data.Nat.Properties.Simple using (+-suc; +-comm)
ope... |
src/http/util-http-rest.ads | Letractively/ada-util | 0 | 10804 | -----------------------------------------------------------------------
-- util-http-rest -- REST API support
-- Copyright (C) 2012, 2013 <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 Lice... |
src/04,9034-TitleTextBeenHooked.asm | JixunMoe/ContraNES1TranslationPatch | 1 | 23127 | <filename>src/04,9034-TitleTextBeenHooked.asm
; 04:9034
; 011044
;>04:9034:C9 11 CMP #$11
; 04:9036:B0 65 BCS $909D
.org $9034
jmp $ADC0 |
tools-src/gnu/gcc/gcc/ada/g-spipat.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 25806 | <filename>tools-src/gnu/gcc/gcc/ada/g-spipat.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
test/asset/agda-stdlib-1.0/Function/Inverse.agda | omega12345/agda-mode | 0 | 2550 | <reponame>omega12345/agda-mode<filename>test/asset/agda-stdlib-1.0/Function/Inverse.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Inverses
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
modu... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr40.ads | best08618/asylo | 7 | 715 | pragma Assertion_Policy(Check);
package Discr40 is
subtype Element is Integer;
type Vector is array (Positive range <>) of Element;
type Stack (Max_Length : Natural) is
record
Length : Natural;
Data : Vector (1 .. Max_Length);
end record;
function Not_Full (S : Stack) return Boolean i... |
llvm-gcc-4.2-2.9/gcc/ada/a-taster.ads | vidkidz/crossbridge | 1 | 6764 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
programs/oeis/017/A017185.asm | neoneye/loda | 22 | 99653 | ; A017185: 9*n+2.
; 2,11,20,29,38,47,56,65,74,83,92,101,110,119,128,137,146,155,164,173,182,191,200,209,218,227,236,245,254,263,272,281,290,299,308,317,326,335,344,353,362,371,380,389,398,407,416,425,434,443,452,461,470,479,488,497,506,515,524,533,542,551,560,569,578,587,596,605,614,623,632,641,650,659,668,677,686,695,... |
code.asm | llamaking136/Video-to-Text-Kernel | 0 | 26345 | [GLOBAL gdt_flush] ; Allows the C code to call gdt_flush().
gdt_flush:
mov eax, [esp+4] ; Get the pointer to the GDT, passed as a parameter.
lgdt [eax] ; Load the new GDT pointer
mov ax, 0x10 ; 0x10 is the offset in the GDT to our data segment
mov ds, ax ; Load all data segment ... |
programs/oeis/346/A346633.asm | neoneye/loda | 22 | 25264 | ; A346633: Sum of even-indexed parts (even bisection) of the n-th composition in standard order.
; 0,0,0,1,0,1,2,1,0,1,2,1,3,2,1,2,0,1,2,1,3,2,1,2,4,3,2,3,1,2,3,2,0,1,2,1,3,2,1,2,4,3,2,3,1,2,3,2,5,4,3,4,2,3,4,3,1,2,3,2,4,3,2,3,0,1,2,1,3,2,1,2,4,3,2,3,1,2,3,2,5,4,3,4,2,3,4
lpb $0
mov $2,$0
div $0,2
seq $2,102393 ... |
data/pokemon/dex_entries/oddish.asm | AtmaBuster/pokeplat-gen2 | 6 | 167311 | <gh_stars>1-10
db "WEED@" ; species name
db "During the day, it"
next "stays in the cold"
next "underground to"
page "avoid the sun."
next "It grows by bath-"
next "ing in moonlight.@"
|
programs/oeis/242/A242963.asm | karttu/loda | 0 | 242532 | <filename>programs/oeis/242/A242963.asm
; A242963: Numbers n such that A242962(n) = sigma(n) = A000203(n).
; 5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71
pow $2,$0
pow $1... |
agda/LRTree.agda | bgbianchi/sorting | 6 | 16235 | <gh_stars>1-10
module LRTree {A : Set} where
open import Data.List
data Tag : Set where
left : Tag
right : Tag
data LRTree : Set where
empty : LRTree
leaf : A → LRTree
node : Tag → LRTree → LRTree → LRTree
insert : A → LRTree → LRTree
insert x empty = leaf x
insert x (leaf y) = node left (leaf y) (leaf x)... |
test/psubd.asm | killvxk/AssemblyLine | 147 | 91572 | <reponame>killvxk/AssemblyLine
SECTION .text
GLOBAL test
test:
psubd xmm0, xmm0
psubd xmm0, xmm1
psubd xmm0, xmm2
psubd xmm0, xmm3
psubd xmm0, xmm4
psubd xmm0, xmm5
psubd xmm0, xmm6
psubd xmm0, xmm7
psubd xmm0, xmm8
psubd xmm0, xmm9
psubd xmm0, xmm10
psubd xmm0, xmm11
psubd xmm0, xmm12
psubd xmm0, xmm13
psubd xmm0, xmm... |
Kernel64/Interrupts.asm | sbarisic/Kernel | 3 | 3585 | <reponame>sbarisic/Kernel
section .text
extern int_handler2
global testint
testint:
;xchg bx, bx
int 8
ret
%macro INT_HANDLER_NOERR 1
global int_handler_%1
int_handler_%1:
cli
push dword 0
push qword %1
jmp int_handler
%endmacro
%macro INT_HANDLER_ERR 1
global int_handler_%1
int_handler_%1:
cli
p... |
src/main/antlr4/DescriptionLogics.g4 | pseifer/shar | 1 | 6595 | grammar DescriptionLogics;
@header {
package de.pseifer.shar.parsing;
}
formula: formula0 EOF;
formula0: concept_with_context | formula1;
concept_with_context: formula1 '@' GROUP_LEFT axiom GROUP_RIGHT;
axiom: (subsumption)+;
subsumption: formula0 SQSUBSETEQ formula0;
formula1: union | formula2;
formula2: inter... |
src/OrdUtil.agda | shinji-kono/zf-in-agda | 5 | 1890 | open import Level
open import Ordinals
module OrdUtil {n : Level} (O : Ordinals {n} ) where
open import logic
open import nat
open import Data.Nat renaming ( zero to Zero ; suc to Suc ; ℕ to Nat ; _⊔_ to _n⊔_ )
open import Data.Empty
open import Relation.Binary.PropositionalEquality
open import Relation.Nullary
open... |
src/Bundles.agda | Akshobhya1234/Agda-Algebra | 0 | 11492 | {-# OPTIONS --without-K --safe #-}
module Bundles where
open import Algebra.Core
open import Relation.Binary
open import Level
open import Algebra.Bundles
open import Algebra.Structures
open import Structures
------------------------------------------------------------------------
-- Bundles with 1 binary operation
... |
external/source/shellcode/windows/x86/src/stager/stager_bind_tcp_rc4.asm | madhavarao-yejarla/VoIP | 35 | 163788 | <reponame>madhavarao-yejarla/VoIP
;-----------------------------------------------------------------------------;
; Authors: <NAME> (stephen_fewer[at]harmonysecurity[dot]com)
; <NAME> (schierlm[at]gmx[dot]de) [RC4 support]
; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
; Version: 1.0 (31 ... |
samples/blsmonitor/monitor_ram.asm | retro16/blastsdk | 10 | 84718 | dumpscroll ds 4 ; RAM dump scrolling address
addr ds 4
value ds 4
cursor ds 2 ; Column index (0-16)
lastinput ds 2 ; Last value of CDATA1
mode ds 1 ; 0-3
inrepeat ds 1 ; Auto-repeat timer
|
Appl/Art/Decks/GeoDeck/LMWin.asm | steakknife/pcgeos | 504 | 85005 | LMWin label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0x00, 0x0f, 0xfa, 0xff, 0x00, 0xe0
db 0x00, 0x95, 0xfa, 0x55, 0x00, 0x50
db 0xf9, 0xaa, 0x00, 0xa8
db 0x00, 0xb5, 0xfa, 0x55, 0x00, 0x58
db 0xfd, 0xaa, 0x00, 0xba, 0xfe, 0xaa, 0x00, 0xa8
db 0x00, 0xb5,... |
src/main/antlr/LanguageParser.g4 | Yurati/Compiler | 0 | 736 | parser grammar LanguageParser;
options {
tokenVocab=LanguageLexer;
}
parse
: block EOF
;
block
: stat*
;
stat
: assignment
| if_stat
| while_stat
| for_stat
| do_while_stat
| print
| OTHER {System.err.println("Unknown character: " + $OTHER.text);}
;
assignment
: FUNC type ID ASSIGN expr SEMICOLON
... |
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca_notsx.log_18437_417.asm | ljhsiun2/medusa | 9 | 175981 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1d57f, %rcx
nop
nop
cmp %rdx, %rdx
mov (%rcx), %eax
nop
nop
nop
nop
xor $19386, %r13
lea addresses_D_ht+0xda6d, %rsi
lea addresses_A_ht+0x16bcf, %rdi
nop
nop
nop
nop
nop
add... |
oeis/279/A279312.asm | neoneye/loda-programs | 11 | 10611 | <gh_stars>10-100
; A279312: Number of subsets of {1, 2, 3, ..., n} that include no consecutive even integers.
; Submitted by <NAME>
; 1,2,4,8,12,24,40,80,128,256,416,832,1344,2688,4352,8704,14080,28160,45568,91136,147456,294912,477184,954368,1544192,3088384,4997120,9994240,16171008,32342016,52330496
mov $1,$0
sub $0,1... |
tools/grammar/src/main/antlr4/org/opencypher/tools/antlr/bnf/BNF.g4 | Arogova/openCypher | 654 | 7825 | /*
[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 c... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt13_pkg.ads | best08618/asylo | 7 | 12516 | package Opt13_Pkg is
N : Natural := 0;
type My_Type is private;
procedure Allocate (T : out My_Type);
private
type Data;
type My_Type is access Data;
end Opt13_Pkg;
|
test/Fail/Erased-cubical-Open-public/Erased.agda | cagix/agda | 1,989 | 17191 | {-# OPTIONS --erased-cubical #-}
module Erased-cubical-Open-public.Erased (_ : Set₁) where
postulate
A : Set
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/noreturn4.ads | best08618/asylo | 7 | 17337 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/noreturn4.ads<gh_stars>1-10
package Noreturn4 is
procedure P1 (Msg : String);
procedure P1 (Msg : String; Val : Integer);
pragma No_Return (P1);
procedure Fatal_Error (X : Integer);
pragma No_Return (Fatal_Error);
end Noreturn4;
|
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/errno_from_esxdos.asm | jpoikela/z88dk | 640 | 2852 | <reponame>jpoikela/z88dk
; uchar errno_from_esxdos(uchar code)
SECTION code_clib
SECTION code_esxdos
PUBLIC _errno_from_esxdos
EXTERN asm_errno_from_esxdos
_errno_from_esxdos:
pop af
pop hl
push hl
push af
jp asm_errno_from_esxdos
|
src/tk/tk-ttkentry.ads | thindil/tashy2 | 2 | 20976 | <filename>src/tk/tk-ttkentry.ads
-- Copyright (c) 2021 <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
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless r... |
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/packed_tagged/comp_bug.adb | aps337/unum-sdk | 31 | 11572 | -- Copyright 2008-2016 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
src/util/oli/qdos/fjcb.asm | olifink/qspread | 0 | 20950 | ; find jcb of job 19/08-92 O.Fink
;
include win1_keys_qdos_sms
include win1_keys_sys
include win1_keys_jcb
include win1_keys_err
include win1_mac_oli
section utility
xdef ut_fjcb
;+++
; find address of job c... |
lib/memory.adb | jweese/Ada_Vent_19 | 1 | 8229 | with Ada.Containers.Vectors;
with Ada.IO_Exceptions;
package body Memory is
package IO is new Ada.Text_IO.Integer_IO(Value);
function Read_Comma_Separated(
From: File_Type := Standard_Input) return Block is
package Vec is new Ada.Containers.Vectors(
Index_type => Address, Element_Type =>... |
src/test/ref/useuninitialized.asm | jbrandwood/kickc | 2 | 166614 | // Use an uninitialized variable - should use the default value (0)!
// Commodore 64 PRG executable file
.file [name="useuninitialized.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Co... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr19.adb | best08618/asylo | 7 | 23610 | -- { dg-do run }
with Aggr19_Pkg; use Aggr19_Pkg;
procedure Aggr19 is
C : Rec5
:= (Ent => (Kind => Two, Node => (L => (D => True, Pos => 1 )), I => 0));
A : Rec5 := C;
begin
Proc (A);
if A /= C then
raise Program_Error;
end if;
end;
|
programs/oeis/078/A078627.asm | karttu/loda | 0 | 176159 | ; A078627: Write n in binary; repeatedly sum the "digits" until reaching 1; a(n) = 1 + number of steps required.
; 1,2,3,2,3,3,4,2,3,3,4,3,4,4,3,2,3,3,4,3,4,4,3,3,4,4,3,4,3,3,4,2,3,3,4,3,4,4,3,3,4,4,3,4,3,3,4,3,4,4,3,4,3,3,4,4,3,3,4,3,4,4,4,2,3,3,4,3,4,4,3,3,4,4,3,4,3,3,4,3,4,4,3,4,3,3,4,4,3,3,4,3,4,4,4,3,4,4,3,4,3,3,4... |
src/features/eventqueue.asm | FranchuFranchu/fran-os | 1 | 167817 | <reponame>FranchuFranchu/fran-os
BITS 32
; Allocate space for 0xFE event queue lists
; Last vector points to next vector table
kernel_eventqueue_vectors:
times 0xFF dd 0
kernel_eventqueue_on_next_tick_vectors:
times 0xFF dd 0
kernel_eventqueue_sleeping_processes:
%rep 0xFF
dd 0 ; Address to retu... |
examples/outdated-and-incorrect/univ/proofs.agda | asr/agda-kanso | 1 | 6690 |
module proofs where
open import univ
open import cwf
open import Base
open import Nat
open import help
{-
lem-id∘ : {Γ Δ : Con}(σ : Γ ─→ Δ) -> id ∘ σ == σ
lem-id∘ (el < σ , pσ >) = eq \x -> ref
lem-∘id : {Γ Δ : Con}(σ : Γ ─→ Δ) -> σ ∘ id == σ
lem-∘id (el < σ , pσ >) = eq \x -> ref
lem-∘assoc : {Γ Δ Θ Ξ : Con}(σ : ... |
programs/oeis/028/A028993.asm | neoneye/loda | 22 | 174106 | <reponame>neoneye/loda
; A028993: Odd 10-gonal (or decagonal) numbers.
; 1,27,85,175,297,451,637,855,1105,1387,1701,2047,2425,2835,3277,3751,4257,4795,5365,5967,6601,7267,7965,8695,9457,10251,11077,11935,12825,13747,14701,15687,16705,17755,18837,19951,21097,22275,23485,24727,26001,27307,28645,30015,31417,32851,34317,35... |
source/league/league-characters.adb | svn2github/matreshka | 24 | 11218 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
04 Fades/2 Fade down.applescript | streth11/Qlab-Scripts | 0 | 1989 | <filename>04 Fades/2 Fade down.applescript
-- @description Fade down
-- @author <NAME>
-- @link bensmithsound.uk
-- @source <NAME> (adapted)
-- @version 1.1
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Create a fade down cue for the selected audio/video/fade/group cue
-- @separateprocess FALSE
-- @changelog
... |
libsrc/math/genmath/c/sccz80/poly.asm | jpoikela/z88dk | 640 | 84528 | <gh_stars>100-1000
; Small C+ Math Library
; More polynomial evaluation
SECTION code_fp
PUBLIC poly
EXTERN pushfa
EXTERN ldbchl
EXTERN fadd
EXTERN fmul
EXTERN dload
;
.poly CALL pushfa
LD A,(HL)
INC... |
src/Actions/action_upload_vramdata.asm | SavagePencil/TriloTrackerSMSReplayerApp | 0 | 94166 | .IFNDEF __ACTION_UPLOAD_VRAMDATA_ASM__
.DEFINE __ACTION_UPLOAD_VRAMDATA_ASM__
.INCLUDE "Modules/execute_buffer.asm"
.SECTION "Action - Upload Data to VRAM Indirect" FREE
; Uploads data to VRAM that is located elsewhere (e.g., ROM).
.STRUCT sAction_UploadVRAMData_Indirect
ExecuteEntry INSTANCEOF sExec... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-imgdec.ads | orb-zhuchen/Orb | 0 | 10962 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Chapter_10/Program 10.4/Program_10.4b_MASM_64.asm | chen150182055/Assembly | 272 | 169295 | ; Program 10.4b
; Windows API Calls - MASM (64-bit)
; Copyright (c) 2019 <NAME>
extrn GetCurrentProcessId : proc
extrn ExitProcess : proc
extrn MessageBoxA : proc
.DATA
output BYTE "Computer Architecture",0
caption BYTE "Message", 0
decimal QWORD 10
PID QWORD 0
button QWORD 0
.CODE
_main PROC ; Print "Computer Ar... |
programs/oeis/151/A151793.asm | jmorken/loda | 1 | 85591 | ; A151793: Partial sums of A151782.
; 1,9,17,73,81,137,193,585,593,649,705,1097,1153,1545,1937,4681,4689,4745,4801,5193,5249,5641,6033,8777,8833,9225,9617,12361,12753,15497,18241,37449,37457,37513,37569,37961,38017,38409,38801,41545,41601,41993,42385,45129
mov $3,$0
mov $5,$0
lpb $5
mov $0,$3
sub $5,1
sub $0,$5
... |
7800openbios.asm | 7800-devtools/7800OpenBIOS | 1 | 18260 | <filename>7800openbios.asm
; ** Atari 7800 OpenBIOS
; **********************************************************************
; ** Created by <NAME> and <NAME>, 2021
; **
; ** the BIOS source code is provided here under the CC0 license.
; ** https://creativecommons.org/publicdomain/zero/1.... |
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 | ala/spark | 0 | 1937 | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
oeis/112/A112456.asm | neoneye/loda-programs | 11 | 18319 | <filename>oeis/112/A112456.asm
; A112456: Least triangular number divisible by n-th prime.
; Submitted by <NAME>
; 6,3,10,21,55,78,136,171,253,406,465,666,820,903,1081,1378,1711,1830,2211,2485,2628,3081,3403,3916,4656,5050,5253,5671,5886,6328,8001,8515,9316,9591,11026,11325,12246,13203,13861,14878,15931,16290,18145,185... |
oeis/322/A322450.asm | neoneye/loda-programs | 11 | 15970 | <reponame>neoneye/loda-programs<filename>oeis/322/A322450.asm
; A322450: Number of permutations of [2n] in which the size of the last cycle is n and the cycles are ordered by increasing smallest elements.
; Submitted by <NAME>(s3.)
; 1,1,4,60,2016,120960,11404800,1556755200,290594304000,71137485619200,22117290983424000... |
programs/oeis/052/A052905.asm | karttu/loda | 1 | 21163 | ; A052905: a(n) = (n^2 + 7*n + 2)/2.
; 1,5,10,16,23,31,40,50,61,73,86,100,115,131,148,166,185,205,226,248,271,295,320,346,373,401,430,460,491,523,556,590,625,661,698,736,775,815,856,898,941,985,1030,1076,1123,1171,1220,1270,1321,1373,1426,1480,1535,1591,1648,1706,1765,1825,1886,1948,2011,2075,2140,2206,2273,2341,2410,2... |
source/containers/a-cwacho.adb | ytomino/drake | 33 | 16959 | package body Ada.Containers.Weak_Access_Holders is
procedure Add_Weak (Item : Weak_Holder_Access) is
begin
Item.Previous := null;
Item.Next := Item.Data.Weak_List;
if Item.Next /= null then
Item.Next.Previous := Item;
end if;
Item.Data.Weak_List := Item;
end Add_Weak;
... |
games/Giftpia/Main.asm | BttrDrgn/GC-Translation | 1 | 3057 | // GameCube "Giftpia" Japanese To English Translation by krom (<NAME>):
endian msb // GameCube PPC requires Big-Endian Encoding (Most Significant Bit)
output "../../output/Giftpia [U].iso", create
origin $000000; insert "../../isos/Giftpia [J].iso" // Include Japanese Giftpia ISO
macro Text(OFFSET, TEXT) {
map 0, 0... |
src/arch/x86/mach-i386/cpu/atomic.asm | MUYIio/Mini-OS | 5 | 82134 | [section .text]
[bits 32]
;lock 锁定的是内存地址,所以操作对象值必须时内存才行
global mem_atomic_add
mem_atomic_add:
mov eax, [esp + 4] ; a
mov ebx, [esp + 8] ; b
lock add [eax], ebx ; *a += b
ret
global mem_atomic_sub
mem_atomic_sub:
mov eax, [esp + 4]
mov ebx, [esp + 8]
lock sub [eax], ebx
ret
global mem_atomic_i... |
test/Fail/Issue215.agda | redfish64/autonomic-agda | 1 | 11064 | <gh_stars>1-10
module Issue215 where
open import Imports.Bool
{-# COMPILED_DATA Bool Bool True False #-}
|
src/Categories/Functor/Cartesian/Properties.agda | bond15/agda-categories | 0 | 14328 | <gh_stars>0
{-# OPTIONS --without-K --safe #-}
-- Some of the obvious properties of cartesian functors
module Categories.Functor.Cartesian.Properties where
open import Data.Product using (_,_; proj₁; proj₂)
open import Level
open import Categories.Category.Core using (Category)
open import Categories.Category.Cartes... |
Library/Trans/Graphics/Bitmap/Dib/Export/exportDIB.asm | steakknife/pcgeos | 504 | 99761 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: exportDIB.asm
AUTHOR: <NAME>, Mar 12, 1992
ROUTINES:
Name Description
---- -----------
INT ExportDI... |
kernel/nano_core/src/boot/arch_x86_64/multiboot_header.asm | jacob-earle/Theseus | 1,822 | 12304 | <filename>kernel/nano_core/src/boot/arch_x86_64/multiboot_header.asm
; Declare a multiboot2-compliant header, which indicates this program iss a bootable kernel image.
; This must be the first section in the kernel image, which is accomplished via our linker script.
; It must also be aligned to a 4-byte boundary.
sec... |
agda-stdlib/src/Data/Nat/Induction.agda | DreamLinuxer/popl21-artifact | 5 | 9902 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Various forms of induction for natural numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Nat.Induction where
open import Function
o... |
programs/oeis/191/A191404.asm | jmorken/loda | 1 | 99868 | ; A191404: A000201(n)+A000201(n+3).
; 4,7,11,13,17,20,23,27,29,33,37,39,43,46,49,53,55,59,62,65,69,71,75,79,81,85,88,91,95,97,101,105,107,111,114,117,121,123,127,130,133,137,139,143,147,149,153,156,159,163,165,169,172,175,179,181,185,189,191,195,198,201,205,207,211,215,217,221,224,227
mov $1,$0
mov $5,$0
lpb $1
lpb ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization14_pkg.ads | best08618/asylo | 7 | 25232 | package Loop_Optimization14_Pkg is
procedure Proc (B : in out Boolean);
end Loop_Optimization14_Pkg;
|
MailArchiver.scpt | Matsuo3rd/mac-mail-archiver | 0 | 1137 | # Account source archive
property archiveAccount : "PROS"
# Mailbox target archive root
property archiveMailbox : "PROS Archive"
# Archive Months timewindow
property archiveMonthsTimeWindow : 12
# Prevent same-day archiving process
property preventSameDayArchiving : true
# Log file name
property logFile : "EmailArchive... |
programs/oeis/295/A295905.asm | karttu/loda | 1 | 1856 | ; A295905: Number of (not necessarily maximum) cliques in the n X n knight graph.
; 2,5,18,41,74,117,170,233,306,389,482,585,698,821,954,1097,1250,1413,1586,1769,1962,2165,2378,2601,2834,3077,3330,3593,3866,4149,4442,4745,5058,5381,5714,6057,6410,6773,7146,7529,7922,8325,8738,9161,9594,10037,10490,10953
mov $1,$0
mul ... |
add-2-sets.asm | AustinZuniga/Assembly-Addition-of-2-sets | 0 | 170109 | stseg segment
db 32 dup(?)
stseg ends
;----------------
dtseg segment
org 0020h
data_in db 10d,20d,15d,25d,30d
org 0030h
data_in2 db 11d,12d,17d,18d,19d
org 0040h
sum db ?
dtseg ends
;----------------
cdseg segment
main proc far
assume cs:cdseg, ds:dtseg, ss:stseg
mov ax,dtseg
mov ds,ax
mov si,offset data_in
mov d... |
line_stuff.ads | ddugovic/words | 4 | 5569 | with TEXT_IO;
with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE;
with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE;
with ADDONS_PACKAGE; use ADDONS_PACKAGE;
with UNIQUES_PACKAGE; use UNIQUES_PACKAGE;
package LINE_STUFF is
use TEXT_IO;
type DICTIONARY_ITEM;
type DICTIONARY_LIST is access DICTIONARY_ITE... |
VM-unlucky-ram-upgrade/artur-augustyniak/3_stack_pivotish.asm | foralost/zrozumiec-programowanie-cwiczenia | 29 | 18822 | %include "vm.inc"
vpop r0
vpop r0
vpop r0
vpop r0 ; vm inicjalnie ma sp ustawiony na self.sp.v = 0x10000
vpop r0 ; wykonujac n * vpop możemy przesunac sie w zakres niedostepny via jmp/call
vpop r0 ; $ python -c "print hex(0x10000 + n * 4)"
; jesli n == 6 to sp = ... |
scripts/lab4.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 101506 | Lab4Script:
jp EnableAutoTextBoxDrawing
Lab4TextPointers:
dw Lab4Text1
dw Lab4Text2
Lab4Script_GetFossilsInBag:
; construct a list of all fossils in the player's bag
xor a
ld [wFilteredBagItemsCount], a
ld de, wFilteredBagItems
ld hl, FossilsList
.loop
ld a, [hli]
and a
jr z, .done
push hl
push de
ld [wd... |
projects/08/FunctionCalls/StaticsTest/StaticsTest.asm | WuShaoa/Nand2Tetris | 0 | 163597 | <filename>projects/08/FunctionCalls/StaticsTest/StaticsTest.asm<gh_stars>0
@256
D=A
@SP
M=D
@__Sys.init$return1__
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
D=M
@0
D=D-A
@5
D=D-A
@ARG
M=D
@SP
D=M
@LCL
M=D
@S... |
examples/TT.agda | asr/agda-kanso | 1 | 2297 | {-# OPTIONS --allow-unsolved-metas --no-termination-check #-}
module TT where
module Prelude where
-- Props ------------------------------------------------------------------
data True : Set where
tt : True
data False : Set where
postulate
falseE : (A : Set) -> False -> A
infix 3 _/\_
data _/\... |
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_iy/wv_priority_queue_push.asm | jpoikela/z88dk | 640 | 168893 |
; int wv_priority_queue_push(wv_priority_queue_t *q, void *item)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_push
EXTERN asm_wv_priority_queue_push
_wv_priority_queue_push:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_wv_priority_queue_push
|
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_DeleteSpr.asm | meesokim/z88dk | 0 | 27498 | <filename>libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_DeleteSpr.asm
; void __FASTCALL__ sp1_DeleteSpr(struct sp1_ss *s)
SECTION code_temp_sp1
PUBLIC sp1_DeleteSpr
sp1_DeleteSpr:
INCLUDE "temp/sp1/zx/sprites/asm_sp1_DeleteSpr.asm"
|
example/src/clic_ex-commands-double_dash.adb | alire-project/clic | 9 | 29738 | <filename>example/src/clic_ex-commands-double_dash.adb
package body CLIC_Ex.Commands.Double_Dash is
Upper_Case : aliased Boolean := False;
-------------
-- Execute --
-------------
overriding
procedure Execute (Cmd : in out Instance; Args : AAA.Strings.Vector)
is
begin
if Upper_Case the... |
code/hello.asm | edadma/mos6502 | 4 | 96470 | _stdioChar_ = "8000"
org $8000
chio rb
org $9000
start ldy #0
.1 lda message,y
beq .2
sta chio
iny
bne .1
.2 lda #'\n'
sta chio
brk
message db "Hello World!\0"
org $FFFC
dw start |
libsrc/math/zxmath/ldfabc.asm | meesokim/z88dk | 0 | 16346 | <reponame>meesokim/z88dk
;
; Z88dk Generic Floating Point Math Library
;
; FA = bc ix de
PUBLIC ldfabc
EXTERN fa
.ldfabc LD (fa),DE
LD (fa+2),IX
LD (fa+4),BC
RET
|
tools-src/gnu/gcc/gcc/ada/sfn_scan.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 5648 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Etapa 02/Aula 10 - Subrotinas/codes/a10e01.asm | bellorini/unioeste | 6 | 19725 | <reponame>bellorini/unioeste
; Aula 10 - Subprogramas
; arquivo: a10e01.asm
; objetivo: demonstrar chamada de procedimento
; nasm -f elf64 a10e01.asm ; ld a10e01.o -o a10e01.x
%define _exit 60
%define _write 1
section .data
strOla : db "You can't take the sky from me", 10, 0
strOlaL : equ $-strOla
section ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imfi64.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 7373 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/css-core-sheets.ads | stcarrez/ada-css | 3 | 339 | -----------------------------------------------------------------------
-- css-core-sheets -- CSS stylesheet representation
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Li... |
programs/oeis/179/A179081.asm | jmorken/loda | 1 | 23998 | <filename>programs/oeis/179/A179081.asm
; A179081: Parity of sum of digits of n.
; 0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0... |
src/sys/encoders/util-encoders-hmac-sha1.ads | RREE/ada-util | 60 | 13251 | -----------------------------------------------------------------------
-- util-encoders-hmac-sha1 -- Compute HMAC-SHA1 authentication code
-- Copyright (C) 2011, 2012, 2017, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fil... |
src/asm/make_masm.asm | msaf1980/sc | 62 | 10435 | <reponame>msaf1980/sc
; Copyright (c) 2016 <NAME>
; License: https://opensource.org/licenses/ISC
;
IFDEF SC_WIN64
INCLUDE make_x86_64_ms_pe_masm.asm
ENDIF
IFDEF SC_WIN32
INCLUDE make_i386_ms_pe_masm.asm
ENDIF
END |
Kernel/Architecture/x86/i386/SafeOperations.asm | UltraOS/Ultra | 44 | 81258 | <filename>Kernel/Architecture/x86/i386/SafeOperations.asm
%define safe_copy_memory _ZN6kernel16safe_copy_memoryEPKvPvm
%define length_of_user_string _ZN6kernel21length_of_user_stringEPKv
%define copy_until_null_or_n_from_user _ZN6kernel30copy_until_null_or_n_from_userEPKvPvm
; Safe function ABI:
; During a safe operat... |
demo_asm/demostring.asm | sfauvel/demo-assembler | 0 | 83880 | ; -----------------------------------------------------------------------------
; A 64-bit functions
; -----------------------------------------------------------------------------
global say_hello
global say_hello_world
global say_hello_world_and_new_line
section .text
say_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.