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 |
|---|---|---|---|---|
alloy4fun_models/trainstlt/models/4/ky9YJucPD3vwY9JFu.als | Kaixi26/org.alloytools.alloy | 0 | 2719 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idky9YJucPD3vwY9JFu_prop5 {
all t:Train {
some t.pos =>{
t.pos in Exit => t.pos' = t.pos - t.pos
t.pos in (Track - Exit) => {
one tk:((t.pos).prox) | t.pos' = tk
}
}
}
}
pred __repair { idky9YJucPD3vwY9JFu_prop5 }
check _... |
org.sourcepit.antlr4.eclipse.lang.tests/LittleJ.g4 | berndv/antlr4-eclipse | 0 | 6584 | grammar LittleJ;
@header {
/**
* Copyright 2015 <NAME> and others.
*
* 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 requi... |
libsrc/_DEVELOPMENT/l/z80/l_ei_reti.asm | ahjelm/z88dk | 640 | 80634 | <reponame>ahjelm/z88dk<gh_stars>100-1000
IF !__CPU_RABBIT__
SECTION code_clib
SECTION code_l
PUBLIC l_ei_reti
l_ei_reti:
ei
reti
ENDIF
|
zombie.asm | tphan022/CS153assn2_p1 | 0 | 19165 |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... |
tests/010_Direct_memory_operations_MOV__ADD__SUB__like_mov_byte__0x77__0xF.asm | tpisto/pasm | 103 | 102974 | ; name: Direct memory operations MOV, ADD, SUB (like mov byte [0x77],0xF)
; code: "C646770FC60677000FC70677000F0066C70677000F00000066812E770077665500668106770077665500C64443770FC640770FC6000FC605770000000F66C705770000000F00C705770000000F000000812D77000000776655008105770000007766550067C64443770F67C640770F67C6000FC644437... |
src/SizedIO/Object.agda | agda/ooAgda | 23 | 7925 | <filename>src/SizedIO/Object.agda
module SizedIO.Object where
open import Data.Product
record Interface : Set₁ where
field
Method : Set
Result : (m : Method) → Set
open Interface public
-- A simple object just returns for a method the response
-- and the object itself
record Object (i : Interface) : Set ... |
src/Data/Fin/Subset/Cardinality.agda | tizmd/agda-finitary | 0 | 3538 | module Data.Fin.Subset.Cardinality where
open import Data.Fin.Subset
_∖_ : ∀ {n} → Subset n → Subset n → Subset n
_∖_ {n} a b = a ∩ ∁ b
|
oeis/008/A008440.asm | neoneye/loda-programs | 11 | 178436 | <reponame>neoneye/loda-programs
; A008440: Expansion of Jacobi theta constant theta_2^6 /(64q^(3/2)).
; Submitted by <NAME>
; 1,6,15,26,45,66,82,120,156,170,231,276,290,390,435,438,561,630,651,780,861,842,1020,1170,1095,1326,1431,1370,1716,1740,1682,2016,2145,2132,2415,2550,2353,2850,3120,2810,3321,3486,3285,3906,4005,... |
bootsector/printfuncs32.asm | drakeor/koiz-os-v1 | 0 | 27426 | <reponame>drakeor/koiz-os-v1
use32
; This is pretty much a copy-paste from Page 32 of OS-DEV but fixed the bug in it
; I'll rewrite it later.. with local labels and stuff
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
; prints a null - terminated string pointed to by EDX
print_string_pm :
pusha
mov edx, VID... |
test/Fail/Issue1216.agda | cruhland/agda | 1,989 | 4558 | <reponame>cruhland/agda
-- Andreas, 2014-06-27 test case by Ulf
-- {-# OPTIONS -v tc.lhs:40 #-}
{-# OPTIONS --copatterns #-}
record Coind : Set where
coinductive
field ind : Coind
open Coind
loop : Set -> Coind
ind A loop = ind (loop A)
-- WAS: Internal error.
-- NOW: Proper error.
-- Ill-formed projection pat... |
address-book/export-address-book.applescript | asbjornu/macos-scripts | 0 | 3534 | <gh_stars>0
property targetfolder : "" as Unicode text
try
set targetfolder to choose folder with prompt "Choose a folder or volume:" as Unicode text
on error
beep
display dialog "Invalid path" buttons "Exit"
return
end try
tell application "Address Book"
set groupnames to name of every group
copy "All" to the ... |
ROM/include/funcs_math.asm | mspeculatrix/Zolatron64 | 0 | 9740 | \ MATHS & Numbers -- funcs_math.asm --------------------------------------------
\ NOT CURRENTLY USING THIS
.subtract16u
; subtracts a 16-bit number stored in INT16uB from another 16-bit value
; in INT16uA.
pha
sec
lda INT16uA
sbc INT16uB
sta FUNC_RES_L
lda INT16uA + 1
sbc INT16uB + 1
sta FUNC_RES... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_437.asm | ljhsiun2/medusa | 9 | 24063 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %rbp
push %rdi
push %rdx
// Faulty Load
lea addresses_WC+0x4317, %rdx
nop
add $45077, %r13
movups (%rdx), %xmm7
vpextrq $1, %xmm7, %r14
lea oracles, %rdx
and $0xff, %r14
shlq $12... |
arch/ARM/RP/svd/rp2040/rp_svd-ppb.ads | morbos/Ada_Drivers_Library | 2 | 23171 | -- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package RP_SVD.PPB is
pragma Preelaborate;
... |
Weather.applescript | ppps/ms-weather | 0 | 3662 | do shell script "/usr/local/bin/python3 /Volumes/Server/Production\\ Resources/Scripts/ms-weather/weather.py"
tell application "Adobe InDesign CC 2019" to activate
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_443.asm | ljhsiun2/medusa | 9 | 97935 | <filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_443.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1ab43, %rax
nop
lfence
movb (%rax), %r12b
nop
inc %rsi
lea addresses_normal... |
100-natural.agda | mcmtroffaes/agda-proofs | 2 | 4749 | <filename>100-natural.agda
module 100-natural where
open import 010-false-true
open import 020-equivalence
record Natural
{N : Set}
(zero : N)
(suc : N -> N)
(_==_ : N -> N -> Set)
: Set1 where
-- axioms
field
equiv : Equivalence _==_
sucn!=zero : ∀ {r} -> suc r == zero -> False
sucinjectiv... |
src/day-18/adventofcode-day_18-main.adb | persan/advent-of-code-2020 | 0 | 12809 | with Ada.Text_IO; use Ada.Text_IO;
procedure Adventofcode.Day_18.Main is
begin
Put_Line ("Day-18");
end Adventofcode.Day_18.Main;
|
alloy4fun_models/trashltl/models/15/uEbALknvf3u7eGG5T.als | Kaixi26/org.alloytools.alloy | 0 | 3255 | open main
pred iduEbALknvf3u7eGG5T_prop16 {
historically some Protected
}
pred __repair { iduEbALknvf3u7eGG5T_prop16 }
check __repair { iduEbALknvf3u7eGG5T_prop16 <=> prop16o } |
test/Compiler/simple/Floats.agda | redfish64/autonomic-agda | 0 | 8827 | <reponame>redfish64/autonomic-agda
module _ where
open import Agda.Builtin.Float
open import Common.Prelude hiding (_+_; _*_)
print : Float → IO Unit
print x = putStrLn (primShowFloat x)
printB : Bool → IO Unit
printB true = putStrLn "true"
printB false = putStrLn "false"
_+_ = primFloatPlus
_*_ = primFloatTimes
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_35_1729.asm | ljhsiun2/medusa | 9 | 175319 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_35_1729.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rax
push %rsi
lea addresses_D_ht+0x7aa8, %rsi
nop
nop
xor %r11, %r11
mov $0x6162636465666768, %r12
movq %r12, %xmm2
vmovups %ymm2, (%... |
Binding_Zstandard/zstandard-functions.ads | jrmarino/zstd-ada | 13 | 6390 | <reponame>jrmarino/zstd-ada
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Zstandard.Thin_Binding;
package Zstandard.Functions is
package Thin renames Zstandard.Thin_Binding;
------------------
-- Data Types --
------------------
type ... |
lib/am335x_sdk/ti/csl/arch/r5/src/csl_arm_r5.asm | brandonbraun653/Apollo | 2 | 95492 | ;******************************************************************************
; @file csl_arm_r5.asm
;
; @brief
; Implementation file for the ARM R5 module CSL-FL.
;
; Contains the different control command and status query functions definitions
;
; \par
; ==================================================... |
programs/oeis/097/A097135.asm | neoneye/loda | 22 | 21769 | <filename>programs/oeis/097/A097135.asm
; A097135: a(0) = 1; for n>0, a(n) = 3*Fibonacci(n).
; 1,3,3,6,9,15,24,39,63,102,165,267,432,699,1131,1830,2961,4791,7752,12543,20295,32838,53133,85971,139104,225075,364179,589254,953433,1542687,2496120,4038807,6534927,10573734,17108661,27682395,44791056,72473451,117264507
mov $... |
oeis/299/A299258.asm | neoneye/loda-programs | 11 | 100643 | ; A299258: Coordination sequence for 3D uniform tiling formed by stacking parallel layers of the 4.6.12 2D tiling (cf. A072154).
; 1,5,13,25,41,62,89,121,157,197,242,293,349,409,473,542,617,697,781,869,962,1061,1165,1273,1385,1502,1625,1753,1885,2021,2162,2309,2461,2617,2777,2942,3113,3289,3469,3653,3842,4037,4237,4441... |
alloy4fun_models/trashltl/models/5/yKekYNe93ZeSLxDJE.als | Kaixi26/org.alloytools.alloy | 0 | 2526 | <filename>alloy4fun_models/trashltl/models/5/yKekYNe93ZeSLxDJE.als<gh_stars>0
open main
pred idyKekYNe93ZeSLxDJE_prop6 {
all f : File | always f in Trash since f in Trash
}
pred __repair { idyKekYNe93ZeSLxDJE_prop6 }
check __repair { idyKekYNe93ZeSLxDJE_prop6 <=> prop6o } |
oeis/070/A070353.asm | neoneye/loda-programs | 11 | 167250 | ; A070353: a(n) = 3^n mod 14.
; 1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13,11,5,1,3,9,13
mov $1,$0
mov $0,3
pow $0,$1
mod $0,14
|
programs/oeis/141/A141759.asm | neoneye/loda | 22 | 12020 | ; A141759: a(n) = 16n^2 + 32n + 15.
; 15,63,143,255,399,575,783,1023,1295,1599,1935,2303,2703,3135,3599,4095,4623,5183,5775,6399,7055,7743,8463,9215,9999,10815,11663,12543,13455,14399,15375,16383,17423,18495,19599,20735,21903,23103,24335,25599,26895,28223,29583,30975,32399,33855,35343,36863,38415,39999,41615,43263,4494... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_eq.asm | Frodevan/z88dk | 640 | 169904 | <filename>libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_eq.asm
SECTION code_fp_math16
PUBLIC l_f16_eq
EXTERN asm_f16_compare_callee
.l_f16_eq
call asm_f16_compare_callee
scf
ret Z
ccf
dec hl
ret
|
libsrc/_DEVELOPMENT/font/fzx/c/sdcc_ix/fzx_at_callee.asm | jpoikela/z88dk | 640 | 160026 |
; void fzx_at_callee(struct fzx_state *fs, uint16_t x, uint16_t y)
SECTION code_font
SECTION code_font_fzx
PUBLIC _fzx_at_callee, l0_fzx_at_callee
EXTERN asm_fzx_at
_fzx_at_callee:
pop af
pop de
pop hl
pop bc
push af
l0_fzx_at_callee:
push de
ex (sp),ix
call asm_fzx_at
pop ix
... |
Lab Assessment Submission/Lab 2/task-3,-1712666642 .asm | samiurprapon/CSE331L-Section-10-Fall20-NSU | 0 | 3401 | org 100h
A DB 5 DUP(7)
ret
|
out/test_returns.adb | FardaleM/metalang | 22 | 24300 | <reponame>FardaleM/metalang
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure test_returns is
type stringptr is access all char_array;
function is_pair(i : in Integer) return... |
code/vendor/openssl/asm/crypto/ec/x25519-x86_64.asm | thorium-cfx/fivem | 5,411 | 241473 | <gh_stars>1000+
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
PUBLIC x25519_fe51_mul
ALIGN 32
x25519_fe51_mul PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_x25519_fe51_mul::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
push rbp
push rbx
push r12
push r... |
src/asf-contexts-facelets.ads | jquorning/ada-asf | 12 | 2776 | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- contexts-facelets -- Contexts for facelets
-- Copyright (C) 2009, 2010, 2011, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_668.asm | ljhsiun2/medusa | 9 | 9307 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r9
push %rbx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_A+0x14736, %r11
nop
nop
nop
and %rdx, %rdx
mov $0x5152535455565758, %rsi
movq %rsi, (%r11)
nop
nop
nop
add $63... |
routines/drawField.asm | jacobly0/Age-Of-CEmpires-I | 0 | 17790 | relocate DrawField, cursorImage, 1024
DrawField:
DrawIsometricTile.copy
ld b, (OFFSET_X) ; We start with the shadow registers active
bit 4, b
ld a, TILE_WIDTH / 2
ld c, jr_z
jr z, .jump1
neg
ld c, jr_nz
.jump1: ld (TopRowLeftOrRight), a
ld a, c
ld (IncrementRowXOrNot1), a
ld hl, DrawIsometricTile
ld (Ti... |
tools-src/gnu/gcc/gcc/ada/xeinfo.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 5085 | ------------------------------------------------------------------------------
-- --
-- GNAT SYSTEM UTILITIES --
-- --
-- ... |
oeis/160/A160068.asm | neoneye/loda-programs | 11 | 82385 | ; A160068: Numerator of Hermite(n, 24/25).
; Submitted by <NAME>
; 1,48,1054,-69408,-7284084,-2596032,45400915464,2198714182272,-291719729560944,-35989688841645312,1554341893161645024,524479521392325361152,3802815995858998255296,-7684657653083648501025792,-430659327280723849697798016,113809861219489103982457055232,1353... |
src/Dimension/PartialWeakening/Model.agda | andreasabel/cubical | 0 | 172 | -- Interpretation of partial weakenings as partial finite maps.
module Dimension.PartialWeakening.Model (E : Set) where
import Level
open import Data.Nat using (ℕ; zero; suc; _+_)
open import Data.Fin using (Fin; zero; suc)
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Axiom.Functio... |
agda/Logic.agda | piyush-kurur/sample-code | 2 | 3805 | <reponame>piyush-kurur/sample-code
module Logic where
-- The true proposition.
data ⊤ : Set where
obvious : ⊤ -- The proof of truth.
-- The false proposition.
data ⊥ : Set where
-- There is nothing here so one can never prove false.
-- The AND of two statments.
data _∧_ (A B : Set) : Set where
-- The only way... |
gasp/source/gasp-world.ads | charlie5/playAda | 0 | 151 | <gh_stars>0
with
openGL.Renderer.lean,
mmi.World,
mmi.Sprite,
ada.Containers.Vectors,
ada.Containers.Hashed_Sets,
ada.Unchecked_Conversion;
package gasp.World
is
type Item is limited new mmi.World.item with private;
type View is access all item'Class;
package Forge
... |
examples/xtensa/glue.asm | rakati/ppci-mirror | 161 | 80478 |
; boot file for xtensa qemu board
section reset
reset:
j start1
section code
; Should be
; serial device is mapped at fd050020
align 4
thr:
dd 0xfd050020 ; base of 16650
stackpointer:
dd 0xd8020000 ; initial value for stack pointer
global __data_load_start
global __data_start
global __data_end
_data_lo... |
Library/Parse/parseDepend.asm | steakknife/pcgeos | 504 | 2114 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: parseDepend.asm
AUTHOR: <NAME>, Feb 4, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descript... |
src/FLA/Algebra/LinearMap.agda | turion/functional-linear-algebra | 21 | 11721 | <reponame>turion/functional-linear-algebra
{-# OPTIONS --without-K --safe #-}
-- We do not parameterize this module since we do not have access to _+_ or _*_
-- for the fields that we want (real numbers)
open import Level using (Level)
open import Relation.Binary.PropositionalEquality hiding (Extensionality)
open ≡-R... |
source/numerics/a-numeri.ads | ytomino/drake | 33 | 26390 | pragma License (Unrestricted);
package Ada.Numerics is
pragma Pure;
Argument_Error : exception;
Pi : constant :=
3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
["03C0"] : constant := Pi;
e : constant :=
2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996;
end Ada... |
source/jni/u2/twist/asm.asm | Falken42/SecondReality | 9 | 98713 | <filename>source/jni/u2/twist/asm.asm
code SEGMENT para public 'CODE'
ASSUME cs:code
.386
LOCALS
PUBLIC _vram
_vram dw 0,0a000h
PUBLIC _sin1024
include sin1024.inc
PUBLIC _setborder
_setborder PROC FAR
push bp
mov bp,sp
mov dx,3dah
in al,dx
mov dx,3c0h
mov al,11h+32
out dx,al
mov al,[bp+... |
programs/oeis/021/A021147.asm | karttu/loda | 0 | 20384 | <gh_stars>0
; A021147: Decimal expansion of 1/143.
; 0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0... |
libsrc/_DEVELOPMENT/error/z80/error_eacces_mc.asm | teknoplop/z88dk | 0 | 247038 | <gh_stars>0
INCLUDE "clib_cfg.asm"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_ERROR
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; verbose mode
SECTION code_clib
SECTION code_error
PUBLIC error_eacces_mc
EXTERN __EACCES, errno_mc
pop hl
error_eacces_mc:
; set hl = -1
; ... |
oeis/159/A159616.asm | neoneye/loda-programs | 11 | 22229 | ; A159616: Expansion of (1-x)/(1-5*x-2*x^2+8*x^3).
; Submitted by <NAME>
; 1,4,22,110,562,2854,14514,73782,375106,1906982,9694866,49287446,250571106,1273871494,6476200114,32924174710,167382301826,850950257638,4326122494162,21993454571478,111811915784610,568437508112710,2889863735560946,14691698367753270,746907192449865... |
null_key.adb | doug16rogers/solitaire | 1 | 13531 | <filename>null_key.adb
with Solitaire_Operations.Text_Representation;
with Ada.Text_IO;
use Ada;
procedure Null_Key is
Deck : Solitaire_Operations.Deck_List := Solitaire_Operations.Standard_Deck;
begin -- Null_Key
Output : for I in Deck'range loop
Text_IO.Put (Item => Solitaire_Operations.Text_Representati... |
Miei-sorgenti/old/Terza lezione/intsuccessivo.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 1309 | <filename>Miei-sorgenti/old/Terza lezione/intsuccessivo.asm
# Si scriva codice assembly che:
# chieda all’utente di inserire un intero (messaggio su terminale);
# acquisisca un intero da terminale;
# calcoli l’intero successivo;
# mostri all’utente il risultato (messaggio su terminale).
.data
str: .asciiz "Inserisc... |
examples/ping/title_screen.asm | sgadrat/nine-gine | 6 | 26816 | title_screen_init:
.(
.(
; Point PPU to Background palette 0 (see http://wiki.nesdev.com/w/index.php/PPU_palettes)
lda PPUSTATUS
lda #$3f
sta PPUADDR
lda #$00
sta PPUADDR
; Write palette_data in actual ppu palettes
ldx #$00
copy_palette:
lda palettes_data, x
sta PPUDATA
inx
cpx #$20
bne copy_palette
; Copy background... |
Cubical/Categories/Monoidal/Base.agda | howsiyu/cubical | 0 | 10408 | <reponame>howsiyu/cubical<filename>Cubical/Categories/Monoidal/Base.agda<gh_stars>0
-- Monoidal categories
{-# OPTIONS --safe #-}
module Cubical.Categories.Monoidal.Base where
open import Cubical.Categories.Category.Base
open import Cubical.Categories.Constructions.BinProduct
open import Cubical.Categories.Functor.Ba... |
lab5/header.asm | wkcn/OSLabs | 73 | 12384 | <reponame>wkcn/OSLabs
BITS 16
[global _start]
[extern main]
_start:
;mov ax, cs
;mov ds, ax
;mov ss, ax
;mov sp, 100h - 4
call main
;发送程序结束信号,返回Shell
sti
int 20h
;mov ax, 0x00
;mov es, ax
;mov ax, 0x7c00
;mov si, ax
;mov ax, 1
;mov [es:si], ax
jmp $
|
01. 8051/01. Introduction/Prog4.asm | nitrece/microprocessor-laboratory | 0 | 246886 | <filename>01. 8051/01. Introduction/Prog4.asm<gh_stars>0
org 0h
mov dptr, #200h
mov r0, #0
mov r1, #40h
loop:
mov a, r0
movc a, @a+dptr
jz p_end
mov @r1, a
inc r0
inc r1
sjmp loop
p_end:
org 200h
db "<NAME>", 0
end
|
src/lib/external/MIT/musl/src/setjmp/x86_64/longjmp.asm | tenpoku1000/UEFI_FreeType_MSVC | 16 | 81425 |
; @@@
_TEXT segment
public longjmp
align 16
longjmp proc
; int longjmp(jmp_buf, int);
; longjmp の返り値が 0 の場合、1 に変更
mov rax, rdx
test rax, rax
jnz skip
inc rax
skip:
; jmp_buf から rbx, rbp, r12, r14, r15 レジスタを復旧
mov rbx, qword ptr [rcx]
mov rsi, qword ptr [rcx + 8 ... |
test/Fail/Issue1445-2.agda | cruhland/agda | 1,989 | 12870 | {-# OPTIONS --rewriting --confluence-check #-}
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
module _ where
data Unit : Set where
unit : Unit
sym : {A : Set} {x y : A} → x ≡ y → y ≡ x
sym refl = refl
subst : {A : Set} (P : A → Set) {x y : A} → x ≡ y → P... |
sommaNumeriInVettore(con puntatori).asm | edoardottt/Asm_mars_examples | 21 | 90478 | <reponame>edoardottt/Asm_mars_examples<filename>sommaNumeriInVettore(con puntatori).asm
# SOMMA NUMERI IN VETTORE CON INDICI DIVISIBILI PER 3
# CON PUNTATORI
.data
vettore: .word 0,1,2,3,4,5,6,7,8,9
N: .word 10
.text
main:
la $t0,vettore # indirizzo vettore
lw $t2,N
sll $t3,$t2,2 # ultimo ... |
trabalho2/AnalisadorMarkdown/src/antlr/marktex.g4 | LorhanSohaky/Compiladores2 | 0 | 1701 | grammar marktex;
document: configs content references?;
configs: '+++++' type title author+ date header_includes? '+++++';
type: 'type' ':' document_type;
document_type: ('article' | 'monography');
title: 'title' ':' STRING;
author: 'author' ':' STRING;
date: 'date' ':' DATE;
header_includes: 'header-inclu... |
forktest.asm | avivo23/os_ass3 | 0 | 166077 |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <printf>:
#define N 1000
void
printf(int fd, char *s, ...)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 08 sub $0x8,%esp
write(fd, s, strlen(s));
6: 83 ec 0c ... |
kernel.asm | Willnoble83/SysProg-Assessment2 | 0 | 28028 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
P6/data_P6/testpoint/testpoint18.asm | alxzzhou/BUAA_CO_2020 | 1 | 163274 | <filename>P6/data_P6/testpoint/testpoint18.asm
ori $1, $0, 1
ori $2, $0, 1
ori $3, $0, 11
ori $4, $0, 12
sw $1, 0($0)
sw $3, 4($0)
sw $4, 8($0)
sw $2, 12($0)
sw $4, 16($0)
sw $1, 20($0)
sw $2, 24($0)
sw $2, 28($0)
sw $3, 32($0)
sw $1, 36($0)
sw $4, 40($0)
sw $1, 44($0)
sw $2, 48($0)
sw $3, 52($0)
sw $... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_515.asm | ljhsiun2/medusa | 9 | 11753 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rax
push %rdx
push %rsi
lea addresses_WT_ht+0x13262, %rsi
nop
nop
nop
nop
add $62205, %r15
movb (%rsi), %r8b
add %rdx, %rdx
lea addresses_UC_ht+0x1a98e, %r8
clflush (%r8)
nop
inc %rdx
mov $0x6162636465666... |
test/Fail/Issue4435-1.agda | cruhland/agda | 1,989 | 4098 | module Issue4435-1 where
record ⊤ : Set where
-- Declarations.
data Foo (a : Set) : Set
Bar : {a : Set} → Foo a → Set
-- Definitions.
data Foo a : Set where
c1 : Foo a
c2 : (x : Foo a) (y : Bar x → Foo a) → Foo a
Bar c1 = ⊤
Bar (c2 a b) = (x : Bar a) → Bar (b x)
|
nicolai/pseudotruncations/Preliminary-definitions.agda | nicolaikraus/HoTT-Agda | 1 | 8182 | {-# OPTIONS --without-K #-}
open import lib.Basics
-- open import lib.NType2
-- open import lib.PathGroupoid
open import lib.types.Bool
open import lib.types.IteratedSuspension
open import lib.types.Lift
open import lib.types.LoopSpace
open import lib.types.Nat
open import lib.types.Paths
open import lib.types.Pi... |
language/PlantLang.g4 | sampottinger/PlantLang | 0 | 676 | grammar PlantLang;
WHITE_SPACE: [ \u000B\t\r\n] -> channel(HIDDEN);
STEM_: 's' 't' 'e' 'm';
SKIP_: 's' 'k' 'i' 'p';
BRANCH_: 'b' 'r' 'a' 'n' 'c' 'h';
CHOOSE_: 'c' 'h' 'o' 'o' 's' 'e';
REPLACE_: 'r' 'e' 'p' 'l' 'a' 'c' 'e';
FRAC_: 'f' 'r' 'a' 'c';
LOOP_: 'l' 'o' 'o' 'p';
KLOOP_: 'k' 'l' 'o' 'o' 'p';
ROTATE_: '... |
test/Succeed/Issue481PonderMaster.agda | cruhland/agda | 1,989 | 16661 | <gh_stars>1000+
open import Issue481PonderBase
open import Issue481PonderImportMe as as
module Issue481PonderMaster where
module M = as as as
|
tmss.asm | billyrayvalentine/asm68k-megadrive-helloworld | 4 | 85409 | /*
* tmss.asm
* Written for use with GNU AS
* Copyright © 2020 <NAME> <github.com/billyrayvalentine>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.... |
judge.asm | dreamingPainter/c64-snake | 1 | 94609 | <filename>judge.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 日期:2021-4-11
; 食物:crnd $51
; 墙:cblk $66
; 像素:csnk
; 蛇头 (shead)
; 键入方向d(8bit)->
; 宽38 高23
;;;;;;;;;;;;;;;;;;;;撞墙伪码;;;;;;;;;;;;;;;;;;;;;;;;;
; ((shead) 与 d(new)运算)的位置的内容 CMP cblk
; 忘了 = ->sec
; 忘了 = ->clc
;;;;;;;;;;;;;;;;;;;撞自己伪码;;;;;;;;;;;;;;;;... |
base/ntos/ex/amd64/hifreqlk.asm | npocmaka/Windows-Server-2003 | 17 | 179600 | <reponame>npocmaka/Windows-Server-2003
title "Global SpinLock declerations"
;++
;
;Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; hifreqlk.asm
;
; Abstract:
;
; High frequency system spin locks are declared in this module. Each spin
; lock is placed in its own cache line on MP ... |
engine/events/pokerus/check_pokerus.asm | Dev727/ancientplatinum | 28 | 104828 | _CheckPokerus:
; Return carry if a monster in your party has Pokerus
; Get number of monsters to iterate over
ld a, [wPartyCount]
and a
jr z, .NoPokerus
ld b, a
; Check each monster in the party for Pokerus
ld hl, wPartyMon1PokerusStatus
ld de, PARTYMON_STRUCT_LENGTH
.Check:
ld a, [hl]
and $0f ; only the botto... |
programs/oeis/008/A008513.asm | jmorken/loda | 1 | 19157 | ; A008513: Number of points on surface of 6-dimensional cube.
; 0,64,728,4032,14896,42560,102024,215488,413792,737856,1240120,1985984,3055248,4543552,6563816,9247680,12746944,17235008,22908312,29987776,38720240,49379904,62269768,77723072,96104736,117812800,143279864,172974528,207402832,247109696,292680360,344741824,403... |
oeis/013/A013766.asm | neoneye/loda-programs | 11 | 8643 | <filename>oeis/013/A013766.asm
; A013766: 20^(3n+1).
; Submitted by <NAME>
; 20,160000,1280000000,10240000000000,81920000000000000,655360000000000000000,5242880000000000000000000,41943040000000000000000000000,335544320000000000000000000000000,2684354560000000000000000000000000000,214748364800000000000000000000000000000... |
agda/PLRTree/Insert/Heap.agda | bgbianchi/sorting | 6 | 11427 | <filename>agda/PLRTree/Insert/Heap.agda
open import Relation.Binary.Core
module PLRTree.Insert.Heap {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import Data.Sum
open import Order.Total _≤_ tot≤
open import PLRTre... |
programs/oeis/199/A199419.asm | karttu/loda | 1 | 5204 | <gh_stars>1-10
; A199419: 4*7^n+1.
; 5,29,197,1373,9605,67229,470597,3294173,23059205,161414429,1129900997,7909306973,55365148805,387556041629,2712892291397,18990246039773,132931722278405,930522055948829,6513654391641797,45595580741492573
mov $1,7
pow $1,$0
mul $1,4
add $1,1
|
programs/oeis/064/A064038.asm | karttu/loda | 1 | 163901 | ; A064038: Numerator of average number of swaps needed to bubble sort a string of n distinct letters.
; 0,1,3,3,5,15,21,14,18,45,55,33,39,91,105,60,68,153,171,95,105,231,253,138,150,325,351,189,203,435,465,248,264,561,595,315,333,703,741,390,410,861,903,473,495,1035,1081,564,588,1225,1275,663,689,1431,1485,770,798,1653... |
tmux/.tmux/bin/applescripts/music.scpt | gblock0/dotfiles | 3 | 518 | -- Show music info if Spotify is playing music
if application "Spotify" is running then
tell application "Spotify"
set theName to name of the current track
set theArtist to artist of the current track
try
return "♫ " & theName & " - " & theArtist
on error err
end... |
src/core/vectors.asm | danielg0/yatzy-gb | 0 | 103513 | <filename>src/core/vectors.asm
INCLUDE "hardware.inc"
; TODO: move frequently used functions to RST bank
SECTION "RST Vectors", ROM0[$00]
DS $40 - @
SECTION "Interrup Vectors", ROM0[$40]
; VBlank handler
reti
DS $48 - @
; STAT handler
reti
DS $50 - @
; timer handler
reti
DS $58 - @
; serial handler
reti... |
programs/oeis/199/A199573.asm | neoneye/loda | 22 | 244216 | ; A199573: Number of round trips of length n from any of the four vertices of the cycle graph C_4.
; 1,0,2,0,8,0,32,0,128,0,512,0,2048,0,8192,0,32768,0,131072,0,524288,0,2097152,0,8388608,0,33554432,0,134217728,0,536870912,0,2147483648,0,8589934592,0,34359738368,0,137438953472,0
mov $1,-2
pow $1,$0
max $1,0
dif $1,2
m... |
oeis/178/A178205.asm | neoneye/loda-programs | 11 | 92817 | <reponame>neoneye/loda-programs<filename>oeis/178/A178205.asm<gh_stars>10-100
; A178205: a(n) = a(n-1) + 10*a(n-3) for n > 2; a(0) = a(1) = a(2) = 1.
; Submitted by <NAME>
; 1,1,1,11,21,31,141,351,661,2071,5581,12191,32901,88711,210621,539631,1426741,3532951,8929261,23196671,58526181,147818791,379785501,965047311,24432... |
oeis/299/A299854.asm | neoneye/loda-programs | 11 | 10626 | ; A299854: G.f. S(x) satisfies C(x)^(1/2) - S(x)^(1/2) = 1 such that C'(x)*S(x)^(1/2) = S'(x)*C(x)^(1/2) = 72*x.
; Submitted by <NAME>(w3)
; 36,-144,864,-6048,46080,-370656,3096576,-26604864,233570304,-2086063200,18893242368,-173111152320,1601754365952,-14945262816960,140461536706560,-1328495714939520,12635295568625664... |
test/Fail/RecordFromModuleAmb.agda | shlevy/agda | 1,989 | 16442 | postulate
I : Set
D : I → Set
T : Set
record R : Set where
field
t0 : T
{i0} : I
t1 : T
d0 : D i0
{i1} : I
d1 : D i1
t2 : T
module M0 where
postulate
t0 t1 : T
module MI where
postulate
i1 : I
d1 : D i1
module MD {i0 : I} where
postulate
d0 : D i0
... |
Cubical/HITs/TypeQuotients.agda | marcinjangrzybowski/cubical | 301 | 9215 | <reponame>marcinjangrzybowski/cubical
{-# OPTIONS --safe #-}
module Cubical.HITs.TypeQuotients where
open import Cubical.HITs.TypeQuotients.Base public
open import Cubical.HITs.TypeQuotients.Properties public
|
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/fmax_callee.asm | Frodevan/z88dk | 640 | 27645 | <filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/fmax_callee.asm
SECTION code_fp_math32
PUBLIC _fmax_callee
EXTERN cm32_sdcc_fmax_callee
defc _fmax_callee = cm32_sdcc_fmax_callee
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43105a.ada | best08618/asylo | 7 | 20682 | -- C43105A.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 documentation contained herein.
-- Unlimit... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_log10.asm | meesokim/z88dk | 0 | 11795 | <filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_log10.asm
; float log10(float x)
SECTION code_fp_math48
PUBLIC cm48_sdcciy_log10
EXTERN cm48_sdcciy_log10_fastcall
cm48_sdcciy_log10:
pop af
pop hl
pop de
push de
push hl
push af
jp cm48_sdcciy_log10_fastcall
|
source/slim-messages.adb | reznikmm/slimp | 0 | 11138 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with System.Storage_Elements;
with Ada.Storage_IO;
package body Slim.Messages is
-----------------
-- Read_Fields --
-----------------
p... |
Classes/script/script/property parent : cls/test.applescript | looking-for-a-job/applescript-examples | 1 | 4631 | #!/usr/bin/osascript
script A
on say_hello()
display dialog "Script A says hi!"
end say_hello
end script
script B
property parent : A
end script
tell B to say_hello()
|
programs/oeis/080/A080335.asm | karttu/loda | 1 | 80708 | ; A080335: Diagonal in square spiral or maze arrangement of natural numbers.
; 1,5,9,17,25,37,49,65,81,101,121,145,169,197,225,257,289,325,361,401,441,485,529,577,625,677,729,785,841,901,961,1025,1089,1157,1225,1297,1369,1445,1521,1601,1681,1765,1849,1937,2025,2117,2209,2305,2401,2501,2601,2705,2809,2917,3025,3137,3249... |
programs/oeis/333/A333297.asm | jmorken/loda | 1 | 244634 | ; A333297: a(n) = Sum_{i=1..n, j=1..n, gcd(i,j)=1} i.
; 1,4,13,25,55,73,136,184,265,325,490,562,796,922,1102,1294,1702,1864,2377,2617,2995,3325,4084,4372,5122,5590,6319,6823,8041,8401,9796,10564,11554,12370,13630,14278,16276,17302,18706,19666,22126,22882,25591,26911,28531,30049,33292,34444,37531,39031,41479,43351,47485... |
30Oct2019/mycode.asm | candh/8086-programs | 0 | 12809 | org 100h
; add your code here
ret
|
arch/ARM/STM32/driver_demos/demo_timer_interrupts_multichannel/src/demo.adb | rocher/Ada_Drivers_Library | 192 | 19856 | <reponame>rocher/Ada_Drivers_Library
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
src/spat-flow_item.adb | yannickmoy/spat | 0 | 904 | ------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the... |
programs/oeis/077/A077904.asm | neoneye/loda | 22 | 11347 | ; A077904: Expansion of (1-x)^(-1)/(1+x-2*x^3).
; 1,0,1,2,-1,4,1,-2,11,-8,5,18,-33,44,-7,-58,147,-160,45,250,-569,660,-159,-978,2299,-2616,661,3938,-9169,10492,-2615,-15722,36707,-41936,10493,62922,-146793,167780,-41935,-251650,587211,-671080,167781,1006642,-2348801,2684364,-671079,-4026522
mov $1,1
lpb $0
mov $2,$0... |
mips/5-3.asm | x06lan/mt | 0 | 167078 | <gh_stars>0
.data
result1: .ascii "\nfirst value = "
result2: .ascii "\nsecond value = "
.text
main:
li $v0, 4
la $a0, result1
syscall
li $v0, 1
li $a0, 4
syscall
|
mc-sema/validator/x86/tests/ROR16ri.asm | randolphwong/mcsema | 2 | 12075 | <filename>mc-sema/validator/x86/tests/ROR16ri.asm
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; ROR16ri
mov cx, 0x545
;TEST_BEGIN_RECORDING
ror cx, 0x8
;TEST_END_RECORDING
|
F0xC_WIN/include/util/readConsoleLine.asm | Pusty/F0xC | 0 | 5262 | %ifndef READ_CONSOLE_LINE
%define READ_CONSOLE_LINE
%ifndef _READCONSOLELINE
extern _GetCommandLineA@16
%endif
;0 args
;returns pointer to commandline string
;example call readConsoleLine
readConsoleLine:
pop dword [std_addr] ;this is apparently the address, so let's just save it and push it back later :)
... |
alloy4fun_models/trashltl/models/4/aeGDuBANXttxaFLKP.als | Kaixi26/org.alloytools.alloy | 0 | 4236 | open main
pred idaeGDuBANXttxaFLKP_prop5 {
eventually #File < #File'
}
pred __repair { idaeGDuBANXttxaFLKP_prop5 }
check __repair { idaeGDuBANXttxaFLKP_prop5 <=> prop5o } |
programs/oeis/262/A262267.asm | neoneye/loda | 22 | 23959 | <gh_stars>10-100
; A262267: Number of (n+2) X (1+2) 0..1 arrays with each row and column divisible by 5, read as a binary number with top and left being the most significant bits.
; 2,4,7,13,26,52,103,205,410,820,1639,3277,6554,13108,26215,52429,104858,209716,419431,838861,1677722,3355444,6710887,13421773,26843546,5368... |
45/beef/cw/kernel/osspec.asm | minblock/msdos | 0 | 88821 | ;*
;* CW : Character Windows
;*
;* osspec.asm : jump table for OS specific routines (DUAL only)
include cmacros.inc
include version.inc
include _osspec.inc ;* defines OSSPEC_ENTRIES
;*****************************************************************************
sBegin DATA
externW fProtectMode
sEnd DATA
;****... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.