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/135/A135214.asm | jmorken/loda | 1 | 169065 | ; A135214: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n^4 if n is even.
; 1,17,260,516,3641,4937,21744,25840,84889,94889,255940,276676,647969,686385,1445760,1511296,2931153,3036129,5512228,5672228,9756329,9990585,16426928,16758704,26524329,26981305,41330212,41944868,62456017,63266017,91895168,92943744,132079... |
games/HomeLand/Names/Monsters.asm | BttrDrgn/GC-Translation | 1 | 14970 | <reponame>BttrDrgn/GC-Translation
Text($43B45A44, "Mill")
Text($43CF8B04, "Mill")
Text($49B5C758, "Mill")
Text($49B5C758, "Mill")
Text($43B45A8C, "Amyl") ; fill 4
Text($43CF8B4C, "Amyl") ; fill 4
Text($49B5C7A0, "Amyl") ; fill 4
|
Data/Fin/Sigma.agda | oisdk/agda-playground | 6 | 2954 | <filename>Data/Fin/Sigma.agda
module Data.Fin.Sigma where
open import Prelude
open import Data.Nat
open import Data.Nat.Properties
Fin : ℕ → Type
Fin n = ∃ m × (m < n)
open import Data.List
_!!_ : (xs : List A) → Fin (length xs) → A
(x ∷ xs) !! (zero , p) = x
(x ∷ xs) !! (suc n , p) = xs !! (n , p)
|
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_erase_range.asm | meesokim/z88dk | 0 | 83005 | <reponame>meesokim/z88dk<gh_stars>0
; size_t b_array_erase_range(b_array_t *a, size_t idx_first, size_t idx_last)
SECTION code_adt_b_array
PUBLIC _b_array_erase_range
EXTERN asm_b_array_erase_range
_b_array_erase_range:
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
... |
AlphaScanner.g4 | Baxi19/Alpha | 4 | 3345 | <filename>AlphaScanner.g4<gh_stars>1-10
//--------------------------------------------------------------
lexer grammar AlphaScanner;
//--------------------------------------------------------------
// Symbols
PyCOMMA : ';' ;
TWO_P : ':' ;
L_PARENT : '(' ;
R_PARENT : ')' ;
VIR : '~' ; //para as... |
src/gdt.asm | cadri20/SimpleKernel | 0 | 90092 | global load_gdt
gdt:
gdt_null:
dq 0
gdt_code:
dw 0FFFFh
dw 0
db 0
db 10011010b
db 11001111b
db 0
gdt_data:
dw 0FFFFh
dw 0
db 0
db 10010010b
db 11001111b
db 0
gdt_end:
gdt_desc:
dw gdt_end - gdt - 1
dd gdt
load_gdt:
lgdt [gdt_desc]
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs,... |
llvm-gcc-4.2-2.9/gcc/ada/exp_imgv.adb | vidkidz/crossbridge | 1 | 1872 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
MSDOS/Virus.MSDOS.Unknown.mini-42b.asm | fengjixuchui/Family | 3 | 173363 | <gh_stars>1-10
.model tiny ;Sets memory model for TASM
.radix 16 ;Sets default number system to hexidecimal (base 16)
.code ;starts code section
org 100 ;makes program begin at 100h, i.e. a .COM file
start: ... |
puzzles/money.als | c-luu/alloy-specs | 89 | 1862 | // https://dev.to/davidk01/fun-with-alloy-model-checker-2d9b
// SEND + MORE = MONEY
// Non-negative numbers
abstract sig Num { val: Int } { val >= 0 && val <= 9 }
// Digits
one sig S, E, N, D, M, O, R, Y extends Num { }
// Digits must all be different and in 0..9
fact {
all m, n : Num | m !=n => n.val != m.val
}
... |
src/orig/dds-request_reply-connext_c_replier.adb | alexcamposruiz/dds-requestreply | 0 | 28988 | pragma Ada_2012;
package body DDS.Request_Reply.Connext_C_Replier is
--------------------------------
-- RTI_Connext_Replier_Delete --
--------------------------------
function RTI_Connext_Replier_Delete
(Self : RTI_Connext_Replier_Access) return DDS.ReturnCode_T
is
begin
return raise Pro... |
src/Ada/syscalls/ewok-syscalls-rng.adb | wookey-project/ewok-legacy | 0 | 21804 | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- 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... |
engine/events/fishing_gfx.asm | Dev727/ancientplatinum | 28 | 87409 | <gh_stars>10-100
LoadFishingGFX:
ldh a, [rVBK]
push af
ld a, $1
ldh [rVBK], a
ld de, FishingGFX
ld a, [wPlayerGender]
bit PLAYERGENDER_FEMALE_F, a
jr z, .got_gender
ld de, KrisFishingGFX
.got_gender
ld hl, vTiles0 tile $02
call .LoadGFX
ld hl, vTiles0 tile $06
call .LoadGFX
ld hl, vTiles0 tile $0a
call... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_119.asm | ljhsiun2/medusa | 9 | 105477 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a6ca, %r11
nop
nop
nop
dec %rcx
and $0xffffffffffffffc0, %r11
vmovntdqa (%r11), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $0, %xmm1, %r12
nop
nop
nop
nop
nop
xor $57612, %... |
programs/oeis/253/A253943.asm | karttu/loda | 1 | 170343 | ; A253943: a(n) = 3*binomial(n+1,6).
; 3,21,84,252,630,1386,2772,5148,9009,15015,24024,37128,55692,81396,116280,162792,223839,302841,403788,531300,690690,888030,1130220,1425060,1781325,2208843,2718576,3322704,4034712,4869480,5843376,6974352,8282043,9787869
mov $1,$0
add $1,6
bin $1,6
mul $1,3
|
bootsector/protmode.asm | drakeor/koiz-os-v1 | 0 | 165748 | use16
use_32bpm:
; Disable interrups
cli
; Load our descriptor
lgdt [gdt_descriptor]
; Set the first bit of cr0 to goto protected mode.
mov eax , cr0
or eax , 0x1
mov cr0 , eax
; Execute farjump to the 32 bit code
; This apparently flushes the cpu pipeline of pre-fetched 16b... |
uti/intrasc.asm | olifink/smsqe | 0 | 93648 | <reponame>olifink/smsqe
; Convert a word integer to ASCII in a buffer 1993 <NAME>
section utility
xdef ut_intrasc ; integer to ASCII, right-aligned
;+++
; Convert a word integer to ASCII in a buffer, right-aligned.
;
; Entry Exit
; d1.w valu... |
test/interaction/Issue2286.agda | cruhland/agda | 1,989 | 11373 | <gh_stars>1000+
-- Andreas, 2016-10-30, issue #2286 reported by carlostome
-- {-# OPTIONS -v interaction.give:40 #-}
-- {-# OPTIONS -v tc.term.expr:40 #-}
-- {-# OPTIONS -v tc.meta:40 #-}
-- {-# OPTIONS -v 10 #-}
data Nat : Set where
zero : Nat
succ : Nat → Nat
data _==_ {A : Set} (x : A) : A → Set where
refl ... |
alloy4fun_models/trashltl/models/3/ZQhqM6MYPeamGmo2s.als | Kaixi26/org.alloytools.alloy | 0 | 540 | open main
pred idZQhqM6MYPeamGmo2s_prop4 {
eventually( File' in Trash')
}
pred __repair { idZQhqM6MYPeamGmo2s_prop4 }
check __repair { idZQhqM6MYPeamGmo2s_prop4 <=> prop4o } |
Tarea_MIPS_Pipeline.asm | JaCMxO/MIPS-Pipeline-Sources | 0 | 83098 | <reponame>JaCMxO/MIPS-Pipeline-Sources<filename>Tarea_MIPS_Pipeline.asm<gh_stars>0
.data
.text
main:
lui $s0, 0x1001
addi $at, $zero, 7
sw $at, 0($s0)
addi $s2, $zero, 1
addi $s3, $zero, 32
sll $t0, $s2, 4
srl $t1, $s3, 4
sub $t2, $t0, $t1
##
sll $t3, $t2, 8
srl $t4, $t2, 2
sll $t5, $t4, 3
addi $t6... |
programs/oeis/255/A255996.asm | neoneye/loda | 22 | 179321 | <gh_stars>10-100
; A255996: Number of length n+5 0..1 arrays with at most one downstep in every n consecutive neighbor pairs.
; 64,128,188,256,337,428,530,644,771,912,1068,1240,1429,1636,1862,2108,2375,2664,2976,3312,3673,4060,4474,4916,5387,5888,6420,6984,7581,8212,8878,9580,10319,11096,11912,12768,13665,14604,15586,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array20.adb | best08618/asylo | 7 | 10906 | -- { dg-do assemble }
package body Array20 is
type Arr is array (Positive range <>) of Integer;
type P_Arr is access Arr;
N : constant P_Arr := null;
Table : P_Arr := N;
end Array20;
|
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_acos.asm | ahjelm/z88dk | 640 | 91486 |
SECTION code_fp_am9511
PUBLIC cam32_sdcc_acos
EXTERN asm_am9511_acos
defc cam32_sdcc_acos = asm_am9511_acos
|
programs/oeis/025/A025727.asm | karttu/loda | 0 | 90428 | ; A025727: Index of 7^n within sequence of numbers of form 7^i*10^j.
; 1,2,4,7,11,16,22,28,35,43,52,62,73,84,96,109,123,138,154,171,188,206,225,245,266,288,310,333,357,382,408,435,463,491,520,550,581,613,646,679,713,748,784,821,859,898,937,977,1018,1060,1103,1147,1191,1236,1282,1329
mov $14,$0
mov $16,$0
add $16,1
lpb... |
src/sys/serialize/util-serialize-io-json.adb | jquorning/ada-util | 60 | 20756 | -----------------------------------------------------------------------
-- util-serialize-io-json -- JSON Serialization Driver
-- Copyright (C) 2010, 2011, 2012, 2016, 2017, 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/hypot.asm | meesokim/z88dk | 0 | 92305 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/hypot.asm<gh_stars>0
SECTION code_fp_math48
PUBLIC hypot
EXTERN cm48_sccz80_hypot
defc hypot = cm48_sccz80_hypot
|
src/mapcode_utils-str_tools.adb | mapcode-foundation/mapcode-ada | 1 | 9779 | <filename>src/mapcode_utils-str_tools.adb
-- -----------------------------------------------------------------------------
-- Copyright (C) 2003-2019 Stichting Mapcode Foundation (http://www.mapcode.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compli... |
Irvine/Examples/ch11/ReadConsole.asm | alieonsido/ASM_TESTING | 0 | 3411 | <filename>Irvine/Examples/ch11/ReadConsole.asm
; Read From the Console (ReadConsole.asm)
; Read a line of input from standard input.
INCLUDE Irvine32.inc
BufSize = 80
.data
buffer BYTE BufSize DUP(?)
stdInHandle HANDLE ?
bytesRead DWORD ?
.code
main PROC
; Get handle to standard input
INVOKE GetStdHand... |
Applications/Safari/windows/number of windows.applescript | looking-for-a-job/applescript-examples | 1 | 4446 | #!/usr/bin/osascript
tell application "Safari"
number of windows
end tell
|
programs/oeis/020/A020914.asm | karttu/loda | 0 | 17861 | <filename>programs/oeis/020/A020914.asm
; A020914: Number of digits in the base-2 representation of 3^n.
; 1,2,4,5,7,8,10,12,13,15,16,18,20,21,23,24,26,27,29,31,32,34,35,37,39,40,42,43,45,46,48,50,51,53,54,56,58,59,61,62,64,65,67,69,70,72,73,75,77,78,80,81,83,85,86,88,89,91,92,94,96,97,99,100,102,104,105,107,108,110,11... |
org.alloytools.alloy.diff/misc/multiplicities/tests/v2testSignatureCountv2.als | jringert/alloy-diff | 1 | 2650 | <gh_stars>1-10
module b2
sig Bankv2{
branches: one common
}
sig common{} |
oeis/289/A289831.asm | neoneye/loda-programs | 11 | 82670 | ; A289831: a(n) = A289813(n) + A289814(n).
; Submitted by <NAME>
; 0,1,1,2,3,3,2,3,3,4,5,5,6,7,7,6,7,7,4,5,5,6,7,7,6,7,7,8,9,9,10,11,11,10,11,11,12,13,13,14,15,15,14,15,15,12,13,13,14,15,15,14,15,15,8,9,9,10,11,11,10,11,11,12,13,13,14,15,15,14,15,15,12,13,13,14,15,15,14,15,15,16,17,17,18,19,19,18,19,19,20,21,21,22,23,2... |
scripts/Batch Cue Edits/Move number to name.applescript | samschloegel/qlab-scripts | 8 | 577 | <gh_stars>1-10
-- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts
-- Built for QLab 4. v211121-01
tell application id "com.figure53.QLab.4" to tell front workspace
set theSelection to (selected as list)
repeat with eachCue in theSelection
if q number of each... |
smsq/java/driver/snd/cnam.asm | olifink/smsqe | 0 | 99797 | ; Setup name of SOUND Channel V1.00 (c) <NAME>
; v. 1.00 2014 Jan 16 copyright
; based on Setup name of NUL Channel V2.00 1996 <NAME>
section sound
xdef snd_cnam
include 'dev8_keys_err'
;+++
; Set up sound channel name in (a1)
;---
snd_cnam
move.w d2,d4
subq.w #8,d4 ; space for name
ble.s ncn_ipar ... |
src/lib/fread.asm | zys1310992814/BookOSv0.2 | 3 | 84688 | [bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_FREAD EQU 12
global fread
fread:
mov eax, _NR_FREAD
mov ebx, [esp + 4]
mov ecx, [esp + 8]
mov edx, [esp + 12]
int INT_VECTOR_SYS_CALL
ret |
oeis/216/A216757.asm | neoneye/loda-programs | 11 | 105451 | ; A216757: a(n) = 6*a(n-1) - 9*a(n-2) + 3*a(n-3).
; Submitted by <NAME>
; 0,-3,-15,-63,-252,-990,-3861,-15012,-58293,-226233,-877797,-3405564,-13211910,-51254775,-198838152,-771371667,-2992450959,-11608875207,-45035307612,-174709321686,-677764787229,-2629310751036,-10200109386213,-39570153919641,-153507871295037,-59551... |
02-Tooling/01-window-list.applescript | Rolias/discover-applescript | 0 | 4007 | <filename>02-Tooling/01-window-list.applescript
tell application "System Preferences"
set AppleScript's text item delimiters to linefeed
set nameList to the name of every window
log "?? list " &linefeed & nameList
set firstWindow to the name of window 1
log "The first ?? is " & firstWindow
end tell |
programs/oeis/212/A212247.asm | neoneye/loda | 22 | 175653 | <filename>programs/oeis/212/A212247.asm
; A212247: Number of (w,x,y,z) with all terms in {1,...,n} and 3w=x+y+z+n.
; 0,1,4,13,29,56,95,150,222,315,430,571,739,938,1169,1436,1740,2085,2472,2905,3385,3916,4499,5138,5834,6591,7410,8295,9247,10270,11365,12536,13784,15113,16524,18021,19605,21280,23047,24910,26870,28931
mov... |
Task/Start-from-a-main-routine/Ada/start-from-a-main-routine.ada | LaudateCorpus1/RosettaCodeData | 1 | 21781 | with Ada.Text_IO;
procedure Foo is
begin
Ada.Text_IO.Put_Line("Bar");
end Foo;
|
unused/benchmark/benchmark_s_graph_1.adb | skill-lang/skillAdaTestSuite | 1 | 12269 | with Ada.Numerics.Discrete_Random;
with Ada.Streams.Stream_IO;
with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
with Hashing;
with Ada.Containers.Vectors;
package body Benchmark_S_Graph_1 is
package Skill renames Graph_1.Api;
use Graph_1;
use Skill;
type State_Type is access Skill_State;
State : Sta... |
agda/Algebra/Construct/Dyck.agda | oisdk/combinatorics-paper | 4 | 6353 | <reponame>oisdk/combinatorics-paper
{-# OPTIONS --cubical --safe #-}
module Algebra.Construct.Dyck where
open import Prelude
open import Algebra
open import Data.Nat using (_+_)
import Data.Nat.Properties as ℕ
open import Agda.Builtin.Nat using (_-_)
record Bal : Type₀ where
constructor _⟩⟨_
field
left : ℕ
... |
experiments/test-suite/mutation-based/10/8/addr.als | kaiyuanw/AlloyFLCore | 1 | 1102 | pred test23 {
some disj Name0, Name1, Name2: Name {some disj Name0, Name1, Name2: Listing {some disj Book0: Book {
no Address
Name = Name0 + Name1 + Name2
Listing = Name0 + Name1 + Name2
Book = Book0
entry = Book0->Name2
listed = Book0->Name2->Name0 + Book0->Name2->Name1
}}}
}
run test23 for 3 expect 0
pred test4 {
som... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1417.asm | ljhsiun2/medusa | 9 | 169467 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1cd29, %r14
nop
add %rsi, %rsi
mov $0x6162636465666768, %rdx
movq %rdx, %xmm0
vmovups %ymm0, (%r14)
nop
nop
nop
inc %r8
lea addresses_A_ht+0x729, %rd... |
Sources/Globe_3d/globe_3d-random_extrusions.adb | ForYouEyesOnly/Space-Convoy | 1 | 5080 | <reponame>ForYouEyesOnly/Space-Convoy
pragma Warnings (Off);
pragma Style_Checks (Off);
-- Algorithm to generate a Sci - Fi - style extruded surface
-- Copyright (c) <NAME> 2006
-- CH - 8810 Horgen
-- SWITZERLAND
-- Permission granted to use the herein contained algorithm for any purpose,
-- provide... |
test/Succeed/TermSplicing.agda | googleson78/agda | 0 | 5334 | <gh_stars>0
{-# OPTIONS --universe-polymorphism #-}
open import Common.Prelude
renaming (Nat to ℕ; module Nat to ℕ)
using (zero; suc; _+_; _∸_; List; []; _∷_; Bool; true; false)
open import Common.Level
open import Common.Reflection
module TermSplicing where
module Library where
data Box {a} (A : Set a) : Set ... |
programs/oeis/101/A101926.asm | karttu/loda | 0 | 244664 | <gh_stars>0
; A101926: a(n) = 2^A101925(n).
; 2,4,16,32,256,512,2048,4096,65536,131072,524288,1048576,8388608,16777216,67108864,134217728,4294967296,8589934592,34359738368,68719476736,549755813888,1099511627776,4398046511104,8796093022208
mov $2,7
mov $3,$0
add $0,8
mov $1,1
lpb $0,1
sub $0,1
div $3,2
add $2,$3
... |
c2000/C2000Ware_1_00_06_00/device_support/f2806x/examples/c28/flash_programming/Example_Flash2806x_CsmKeys.asm | ramok/Themis_ForHPSDR | 0 | 88457 | ;//###########################################################################
;//
;// FILE: Example_Flash2806x_CsmKeys.asm
;//
;// TITLE: F2806x Code Security Module Keys for
;// the Flash API example
;//
;// NOTE:
;//###########################################################################
;// $TI Releas... |
llvm-gcc-4.2-2.9/gcc/ada/get_targ.ads | vidkidz/crossbridge | 1 | 4382 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
inflections_package.adb | ddugovic/words | 4 | 12578 | with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with PREFACE;
package body INFLECTIONS_PACKAGE is
use TEXT_IO;
function "<" (LEFT, RIGHT : DECN_RECORD) return BOOLEAN is
begin
if LEFT.WHICH < RIGHT.WHICH or else
(LEFT.WHICH = RIGHT.WHICH and then
LEFT.VAR < RIGHT.VAR) then
retu... |
Shellcode/XOR/XOR-Decoder.nasm | TheRavehorn/Assembly_x86-SLAE | 0 | 243006 | <filename>Shellcode/XOR/XOR-Decoder.nasm
; XOR-Decoder.nasm
; Author: Ravehorn
global _start
section .text
_start:
jmp short call_decoder
decoder:
pop esi
decode:
xor byte [esi], 0xAA
jz shellcode
inc esi
jmp short decode
call_decoder:
call decoder
shellcode: db 0x9b, ... |
programs/oeis/274/A274580.asm | jmorken/loda | 1 | 10711 | ; A274580: Digital difference of n: the most significant decimal digit of n minus the sum of the other digits.
; 1,2,3,4,5,6,7,8,9,1,0,-1,-2,-3,-4,-5,-6,-7,-8,2,1,0,-1,-2,-3,-4,-5,-6,-7,3,2,1,0,-1,-2,-3,-4,-5,-6,4,3,2,1,0,-1,-2,-3,-4,-5,5,4,3,2,1,0,-1,-2,-3,-4,6,5,4,3,2,1,0,-1,-2,-3,7,6,5,4,3,2,1
add $0,1
lpb $0
mov... |
oeis/244/A244630.asm | neoneye/loda-programs | 11 | 177493 | <reponame>neoneye/loda-programs
; A244630: a(n) = 17*n^2.
; 0,17,68,153,272,425,612,833,1088,1377,1700,2057,2448,2873,3332,3825,4352,4913,5508,6137,6800,7497,8228,8993,9792,10625,11492,12393,13328,14297,15300,16337,17408,18513,19652,20825,22032,23273,24548,25857,27200,28577,29988,31433,32912,34425,35972,37553,39168,408... |
examples/examplesPaperJFP/StackBisim.agda | agda/ooAgda | 23 | 2667 | <reponame>agda/ooAgda
module examplesPaperJFP.StackBisim where
open import Data.Product
open import Function
open import Data.Nat.Base as N
open import Data.Vec as Vec using (Vec; []; _∷_; head; tail)
open import Relation.Binary.PropositionalEquality
open import examplesPaperJFP.StatefulObject
module _ {S : Set} {M... |
WEEK-7/8sir.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 0 | 88546 | MVI E,00
LHLD 9000
LDA 9002
MOV B,A
MVI C,09
NEXT: MOV A,H
SUB B
JC SKIP
MOV H,A
INR E
SKIP: DAD H
MOV A,E
RLC
MOV E,A
DCR C
JNZ NEXT
MOV A,E
STA 9100
MOV A,H
STA 9101
HLT
|
src/shaders/post_processing/gen5_6/Common/YUVX_Save_RGBX_Float.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 86249 | /*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
* Authors:
* <NAME> <<EMAIL>>
*... |
oeis/331/A331149.asm | neoneye/loda-programs | 11 | 95738 | <reponame>neoneye/loda-programs<filename>oeis/331/A331149.asm<gh_stars>10-100
; A331149: Triangle read by rows: T(n,k) (n>=k>=1) = floor((n/k)*ceiling(n/k)).
; Submitted by <NAME>
; 1,4,1,9,3,1,16,4,2,1,25,7,3,2,1,36,9,4,3,2,1,49,14,7,3,2,2,1,64,16,8,4,3,2,2,1,81,22,9,6,3,3,2,2,1,100,25,13,7,4,3,2,2,2,1,121,33,14,8,6,3... |
src/Human/List.agda | MaisaMilena/JuiceMaker | 6 | 2580 | module Human.List where
open import Human.Nat
infixr 5 _,_
data List {a} (A : Set a) : Set a where
end : List A
_,_ : (x : A) (xs : List A) → List A
{-# BUILTIN LIST List #-}
{-# COMPILE JS List = function(x,v) { if (x.length < 1) { return v["[]"](); } else { return v["_∷_"](x[0], x.slice(1)); } } #-}
{-# COMP... |
Control Statements/tell/get properties.applescript | looking-for-a-job/applescript-examples | 1 | 2013 | <reponame>looking-for-a-job/applescript-examples
tell application "AppleScript Editor"
get properties
end tell |
programs/oeis/335/A335860.asm | jmorken/loda | 1 | 23010 | <gh_stars>1-10
; A335860: Partial sums of A064097.
; 0,1,3,5,8,11,15,18,22,26,31,35,40,45,50,54,59,64,70,75,81,87,94,99,105,111,117,123,130,136,143,148,155,161,168,174,181,188,195,201,208,215,223,230,237,245,254,260,268,275,282,289,297,304,312,319,327,335
mov $41,$0
mov $43,$0
lpb $43
clr $0,41
mov $0,$41
sub $4... |
Appl/Startup/RStartup/rstartupProcess.asm | steakknife/pcgeos | 504 | 20938 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright Geoworks 1995 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: PC GEOS
MODULE: Start up application
FILE: rstartupProcess.asm
AUTHOR: <NAME>, Apr 3, 1995
METHODS:
Name Descripti... |
test/extended/crc/ux/tray/applescripts/checkTrayIconIsVisible.applescript | lzap/crc | 931 | 3864 | <filename>test/extended/crc/ux/tray/applescripts/checkTrayIconIsVisible.applescript<gh_stars>100-1000
on run {bundleIdentifer}
tell application "System Events"
tell (first application process whose bundle identifier is bundleIdentifer)
tell menu bar item of menu bar 2
try
... |
programs/oeis/081/A081494.asm | neoneye/loda | 22 | 95553 | ; A081494: Start with Pascal's triangle; form a triangle by sliding down n steps from top on both sides and including the horizontal row, deleting the inner numbers; a(n) = sum of entries on perimeter of triangle.
; 1,3,7,13,23,41,75,141,271,529,1043,2069,4119,8217,16411,32797,65567,131105,262179,524325,1048615,2097193... |
oeis/122/A122514.asm | neoneye/loda-programs | 11 | 25031 | <filename>oeis/122/A122514.asm
; A122514: Expansion of x/(1 - 2*x^2 - x^3 + x^4).
; Submitted by <NAME>
; 0,1,0,2,1,3,4,5,10,11,21,27,43,64,92,144,205,316,462,693,1035,1532,2301,3406,5099,7581,11303,16855,25088,37432,55728,83097,123800,184490,274969,409683,610628,909845,1355970,2020635,3011157,4487395,6686979
mov $3,$... |
c2000/C2000Ware_1_00_06_00/libraries/dsp/FixedPoint/c28/source/fir32_alt.asm | ramok/Themis_ForHPSDR | 0 | 243544 | ;;#############################################################################
;;! \file source/fir32_alt.asm
;;!
;;! \brief Alternate 32-bit FIR filter
;;!
;;! \date Aug 29, 2014
;;!
;;
;; Group: C2000
;; Target Family: C28x
;;
;;####################################################################... |
eBindings/dl/tests/dl-test_all_suit.adb | persan/zeromq-Ada | 33 | 16179 | <reponame>persan/zeromq-Ada<filename>eBindings/dl/tests/dl-test_all_suit.adb<gh_stars>10-100
-- Import tests and sub-suites to run
with Dl.Test_Basics;
package body Dl.Test_All_Suit is
use AUnit.Test_Suites;
-- Statically allocate test suite:
Result : aliased Test_Suite;
-- Statically allocate test... |
Borland/CBuilder5/Source/Vcl/pow10.asm | TrevorDArcyEvans/DivingMagpieSoftware | 1 | 95984 | <reponame>TrevorDArcyEvans/DivingMagpieSoftware
; *******************************************************
; * *
; * Delphi Runtime Library *
; * *
; * Copyright (c) 1996,98 Inprise Corporation *
; * *
; *******************************************************
INCLUDE SE.... |
sound.asm | DChristianson/atari-vcs-samples | 0 | 241524 | processor 6502
include "vcs.h"
include "macro.h"
NTSC = 0
PAL60 = 1
IFNCONST SYSTEM
SYSTEM = NTSC
ENDIF
; ----------------------------------
; constants
#if SYSTEM = NTSC
; NTSC Colors
POND_WATER = $A0
#else
; PAL Colors
POND_WATER = $92
#endif
SEG.U variables
ORG $80
f... |
awa/plugins/awa-storages/src/awa-storages.ads | My-Colaborations/ada-awa | 81 | 10615 | <reponame>My-Colaborations/ada-awa
-----------------------------------------------------------------------
-- awa-storages -- Storage module
-- Copyright (C) 2012, 2015, 2016, 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
src/Prelude/Word.agda | L-TChen/agda-prelude | 111 | 5563 | <filename>src/Prelude/Word.agda
module Prelude.Word where
import Agda.Builtin.Word as Word
open import Prelude.Nat
open import Prelude.Number
open import Prelude.Semiring
open import Prelude.Equality
open import Prelude.Equality.Unsafe
open import Prelude.Ord
open import Prelude.Unit
open import Prelude.Function
open... |
oeis/141/A141940.asm | neoneye/loda-programs | 11 | 244945 | ; A141940: Primes congruent to 17 mod 25.
; Submitted by <NAME>
; 17,67,167,317,367,467,617,967,1117,1217,1367,1567,1667,1867,2017,2267,2417,2467,2617,2767,2917,3067,3167,3217,3467,3517,3617,3767,3917,3967,4217,4517,4567,4817,4967,5167,5417,5717,5867,6067,6217,6317,6367,6917,6967,7417,7517,7717,7817,7867,8017,8117,8167... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1594.asm | ljhsiun2/medusa | 9 | 27063 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x16d8a, %r9
xor %rsi, %rsi
mov (%r9), %r15d
nop
nop
nop
nop
nop
lfence
lea addresses_UC_ht+0x14c50, %rsi
lea addresses_WC_ht+0x1db3c, %rdi
add $23931, %r15
mov $70, %rcx
rep m... |
models/hol/sygus/synth_ast.als | johnwickerson/alloystar | 2 | 2730 | <filename>models/hol/sygus/synth_ast.als
module synth_ast
open util/integer as b
--------------------------------------------------------------------------------
-- Values
--------------------------------------------------------------------------------
/* use the builtin Int and Bit */
sig IntVarVal in Int {}
------... |
alloy4fun_models/trashltl/models/11/j2tm2Z5PwyZiezbPz.als | Kaixi26/org.alloytools.alloy | 0 | 4412 | <gh_stars>0
open main
pred idj2tm2Z5PwyZiezbPz_prop12 {
always all f : Trash | f in Trash'
}
pred __repair { idj2tm2Z5PwyZiezbPz_prop12 }
check __repair { idj2tm2Z5PwyZiezbPz_prop12 <=> prop12o } |
src/Categories/Tactic/Category.agda | Trebor-Huang/agda-categories | 279 | 5735 | {-# OPTIONS --without-K --safe #-}
--------------------------------------------------------------------------------
-- A simple reflection based solver for categories.
--
-- Based off 'Tactic.MonoidSolver' from 'agda-stdlib'
--------------------------------------------------------------------------------
open import ... |
oeis/059/A059838.asm | neoneye/loda-programs | 11 | 163277 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A059838: Number of permutations in the symmetric group S_n that have even order.
; Submitted by <NAME>
; 0,0,1,3,15,75,495,3465,29295,263655,2735775,30093525,370945575,4822292475,68916822975,1033752344625,16813959537375,285837312135375,5214921734397375,99083512953550125... |
Assembly Works 1/Task_3_Lab_1.asm | AhmadVakil/Assembly-C_Micro-Controller | 0 | 99816 | <reponame>AhmadVakil/Assembly-C_Micro-Controller
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; 1DT301, Computer Technology I
; Date: 2017-09-15
; Author:
; <NAME>
;
; Lab number: 1
; Task Number: 3
;
; Title: How to use the PORTs. Digital input/output. Subroutine call.
;
; Hardware: STK600,... |
1A/S5/PIM/tps/tp8solution/abr.ads | MOUDDENEHamza/ENSEEIHT | 4 | 12810 | package ABR is
type T_ABR is limited private;
Cle_Presente_Exception : Exception; -- une clé est déjà présente dans un ABR
Cle_Absente_Exception : Exception; -- une clé est absente d'un ABR
-- Initialiser un ABR Abr. L'ABR est vide.
procedure Initialiser(Abr: out T_ABR) with
Post => Est_Vide (Abr);
-- Es... |
Module 2/3. FunWithStack/FuckTheWorldStack.asm | hoangcuongflp/SLAE | 47 | 168919 | ; FuckTheWorldStack.asm
; by Abatchy
;
; nasm -felf32 FuckTheWorldStack.asm && ld -o FuckTheWorldStack FuckTheWorldStack.o
; Shellcode generated: "\x31\xc0\xb0\x04\x31\xdb\xb3\x01\x68\x6f\x75\x2e\x0a\x68\x6e\x64\x20\x79\x68\x64\x2e\x20\x41\x68\x77\x6f\x72\x6c\x68\x74\x68\x65\x20\x68\x75\x63\x6b\x20\x31\xc9\xb1\x46\... |
Chapter 17/CrackMe/CrackMe/CrackMe.asm | bpbpublications/Implementing-Reverse-Engineering | 0 | 91223 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.30319.01
TITLE C:\JitenderN\REBook\CrackMe\CrackMe\CrackMe.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG4679 DB 'yyy0kke{dgtugewtkv{0eqo', 00H
CONST ENDS
PUBLIC __$Array... |
awa/plugins/awa-tags/regtests/awa-tags-modules-tests.ads | fuzzysloth/ada-awa | 81 | 29428 | <gh_stars>10-100
-----------------------------------------------------------------------
-- awa-tags-modules-tests -- Unit tests for tags service
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in ... |
polynomial/clenshaw/spherical_harmonics.ads | jscparker/math_packages | 30 | 26393 | <reponame>jscparker/math_packages
--
-- package Spherical_Harmonics
--
-- Actually makes just the part that varies in Theta..leaves out
-- the Exp(i*m*Phi) / Sqrt(2*Pi), which is all that's required to complete
-- the spherical harmonic. Uses package Clenshaw to make the polynomials.
--
-- The results may be thought o... |
Lab2 (MIPS)/Version 2.asm | taylanu/CMPEN331 | 0 | 16460 | # Version 2, do nothing, then Exit
# switch to the Text segment
.text
.globl main
main:
#rest of the main program will go here
#call function Exit0
jal Exit0 #end program, default return status
#------------------------------------------------------------------
# Wrapper functions around some of the system ca... |
src/briefing_restate_map_file.asm | mvdhout1992/ts-patches | 33 | 88307 | <gh_stars>10-100
%include "macros/patch.inc"
%include "macros/datatypes.inc"
%include "TiberianSun.inc"
@LJMP 0x005C0930, _Restate_Briefing_Jump_To_Map_Briefing_First
@LJMP 0x005C0AA4, _Restate_Briefing_Jump_To_Mission_INI_Briefing_Next
@LJMP 0x005C0975, _Restate_Briefing_Else_Jump_Over_Reading_Briefing_Text
_Restate... |
test/Compiler/simple/Issue5288.agda | cruhland/agda | 1,989 | 16110 | <reponame>cruhland/agda<gh_stars>1000+
-- Andreas, 2021-04-10, issue #5288
-- De Bruijn index problem in treeless compiler
-- {-# OPTIONS -v tc.cc:20 #-}
-- {-# OPTIONS -v treeless:40 #-}
-- {-# OPTIONS -v treeless.convert.lambdas:40 #-}
open import Agda.Builtin.Equality
open import Agda.Builtin.IO
open import Agda.B... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_658_721.asm | ljhsiun2/medusa | 9 | 242237 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1ed4e, %rax
clflush (%rax)
nop
nop
dec %rdx
movb $0x61, (%rax)
nop
nop
nop
nop
nop
add $11815, %r12
lea addresses_WT_ht+0x1b871, %rsi
lea addresses_A_ht+0x16b0e, %rdi
nop
no... |
alloy4fun_models/trainstlt/models/7/67r6uWNjgZXmYr6QE.als | Kaixi26/org.alloytools.alloy | 0 | 2197 | <gh_stars>0
open main
pred id67r6uWNjgZXmYr6QE_prop8 {
always (all t:Train |some t.pos and (t.pos.signal) in (Signal-Green) implies some t.pos.prox and (some t.pos') since ((t.pos'.signal) in Green))
}
pred __repair { id67r6uWNjgZXmYr6QE_prop8 }
check __repair { id67r6uWNjgZXmYr6QE_prop8 <=> prop8o } |
lib/Haskell/Prim/Num.agda | flupe/agda2hs | 0 | 14921 | {-# OPTIONS --no-auto-inline #-}
module Haskell.Prim.Num where
open import Agda.Builtin.Nat as Nat hiding (_+_; _-_; _*_; _<_; _==_)
open import Agda.Builtin.Int using (pos; negsuc)
open import Agda.Builtin.FromNat
open import Agda.Builtin.FromNeg
open import Agda.Builtin.Unit
open import Haskell.Prim
open import Ha... |
oeis/242/A242126.asm | neoneye/loda-programs | 11 | 95317 | <filename>oeis/242/A242126.asm
; A242126: Primes modulo 28.
; Submitted by Jon Maiga
; 2,3,5,7,11,13,17,19,23,1,3,9,13,15,19,25,3,5,11,15,17,23,27,5,13,17,19,23,25,1,15,19,25,27,9,11,17,23,27,5,11,13,23,25,1,3,15,27,3,5,9,15,17,27,5,11,17,19,25,1,3,13,27,3,5,9,23,1,11,13,17,23,3,9,15,19,25,5,9,17,27,1,11,13,19,23,1,9,1... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_code1.asm | prismotizm/gigaleak | 0 | 170339 | Name: zel_code1.asm
Type: file
Size: 15505
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 00DD3498DC5384072928BF8FAD638B21AA953DA1
Description: null
|
test/jzas/sintactic/valid/success40.asm | scoffey/jz80sim | 1 | 246026 | ; Ejercicio 12 del TP 12.
; Incrementea el contenido de la posicion 1900h
; hasta que se active el flag de carry
aseg
org 1850h
start:
ld A, (1900h)
sigue: inc A
jp NC,sigue
rst 38h
end start
|
uw1/scaleRotationSpeed.asm | JohnGlassmyer/UltimaHacks | 68 | 164109 | %ifndef EXE_LENGTH
%include "../UltimaPatcher.asm"
%include "include/uw1.asm"
%endif
[bits 16]
startPatch EXE_LENGTH, \
scale the speed at which the player turns
startBlockAt seg_dseg, dseg_rotationSpeedBase
; player rotation (yaw) speed is proportional to this value
; original is 15
dw 15
endBlock
end... |
programs/max-throughput.asm | Michael-JB/superscalar-processor | 0 | 240318 | init: move r1 0 # Initialise counter
move r8 1000 # Number of iterations
start: sai r0 0
addi r1 r1 1
subi r2 r2 0
bne r3 r4 1
sai r5 1
addi r6 r6 1
subi r7 r7 0
blt r1 r8 start |
8088/xtserver/testcases/image_time.asm | reenigne/reenigne | 92 | 89410 | %include "../../defaults_bin.asm"
initCGA 0x08
mov ax,0xb800
mov es,ax
mov di,0
mov ax,0x072d ; '-'
stosw
mov cx,0x0930
mov bl,0
mov dx,0x3da
loopTop3:
waitForVerticalSync
waitForNoVerticalSync
mov ax,cx
stosw
inc cl
cmp cl,'9'
jle loopTop3
mov cl,'0'
inc bl
cmp bl,30
... |
src/natools-smaz_tools.ads | faelys/natools | 0 | 18947 | <filename>src/natools-smaz_tools.ads<gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2016, <NAME> --
-- --
-- Permission to use, copy, modify, and di... |
src/Verilog.g4 | cw1997/verilog-parser | 3 | 5991 | grammar Verilog;
//@header{package me.changwei.verilog.parser;}
options {
}
// grammer
start: moduleHeader moduleBody moduleFooter EOF;
moduleHeader: MODULE ID parameterBlock? portBlock? SEMICOLON;
//#(parameterList?)
parameterBlock: POUND PARENTHESIS_LEFT parameterList? PARENTHESIS_RIGHT;
//parameter netName1 = 1... |
alloy4fun_models/trashltl/models/7/pvKHPjDMyaMfKSYSe.als | Kaixi26/org.alloytools.alloy | 0 | 2402 | open main
pred idpvKHPjDMyaMfKSYSe_prop8 {
always(eventually (File.link) in Trash)
}
pred __repair { idpvKHPjDMyaMfKSYSe_prop8 }
check __repair { idpvKHPjDMyaMfKSYSe_prop8 <=> prop8o } |
Cubical/Algebra/CommMonoid/Properties.agda | FernandoLarrain/cubical | 1 | 9211 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommMonoid.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.U... |
programs/oeis/231/A231305.asm | neoneye/loda | 22 | 22364 | <filename>programs/oeis/231/A231305.asm
; A231305: Recurrence a(n) = a(n-2) + n^M for M=6, starting with a(0)=0, a(1)=1.
; 0,1,64,730,4160,16355,50816,134004,312960,665445,1312960,2437006,4298944,7263815,11828480,18654440,28605696,42792009,62617920,89837890,126617920,175604011,239997824,323639900,431100800,567780525,74... |
libsrc/_DEVELOPMENT/arch/sms/PSGlib/c/sdcc/PSGSFXPlay_callee.asm | jpoikela/z88dk | 640 | 176309 | <filename>libsrc/_DEVELOPMENT/arch/sms/PSGlib/c/sdcc/PSGSFXPlay_callee.asm
; void PSGSFXPlay(void *sfx,unsigned char channels)
SECTION code_clib
SECTION code_PSGlib
PUBLIC _PSGSFXPlay_callee
EXTERN asm_PSGlib_SFXPlay
_PSGSFXPlay_callee:
pop hl
pop de
dec sp
ex (sp),hl
ld c,h
jp asm_PSGlib_SFXPla... |
test/interaction/Issue2654.agda | cruhland/agda | 1,989 | 8391 | <reponame>cruhland/agda<gh_stars>1000+
-- Andreas, 2017-07-24, issue #2654 reported by rntz
-- When splitting projections in an extended lambda,
-- we have to print them postfix, regardless of whether
-- the user chose --postfix-projections or not.
-- {-# OPTIONS --postfix-projections #-}
-- {-# OPTIONS -v interaction... |
middleware/src/bitmap/soft_drawing_bitmap.ads | Kidev/Ada_Drivers_Library | 0 | 14253 | <reponame>Kidev/Ada_Drivers_Library<gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.