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 |
|---|---|---|---|---|
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/printu16.asm | gb-archive/really-old-stuff | 10 | 166850 | #include once <printi16.asm>
|
src/vdp_data.asm | fjpena/sword-of-ianna-msx2 | 43 | 21184 | tileDatROM: db 0, 0, 0, TILES_PAGE, 0, 0, 0, BACK_BUFFER, TILE_WIDTH, 0, TILE_HEIGHT, 0, 0, 0, CMD_HMMM;CMD_LMMM;CMD_HMMM
fgtileDatROM: db 0, 0, 0, TILES_PAGE, 0, 0, 0, BACK_BUFFER, TILE_WIDTH, 0, TILE_HEIGHT, 0, 0, 0, CMD_LMMM | VDP_TIMP;CMD_LMMM;CMD_HMMM
dirtyTileDatROM: db 0, 0, 0, BACK_BUFFER, 0, 0, 0, FRONT_BUFFER... |
src/mono/mono/utils/win64.asm | swaroop-sridhar/runtime | 11 | 88391 | ifdef RAX
else
.386
.model flat, c
endif
.code
ifdef RAX
PUBLIC mono_context_get_current
mono_context_get_current PROC
;rcx has the ctx ptr
mov [rcx + 00h], rax
mov [rcx + 08h], rcx
mov [rcx + 10h], rdx
mov [rcx + 18h], rbx
mov [rcx + 28h], rbp
mov [rcx + 30h], rsi
mov [rcx + 38h], rdi
mov [rcx + 40h], r8... |
test/link/align2/align2.asm | nigelperks/BasicAssembler | 0 | 179247 | <filename>test/link/align2/align2.asm
; Align segments in image: minimum alignment is paragraph except first seg
IDEAL
SEGMENT MAIN WORD
ASSUME CS:MAIN
ORG 100h
start:
int 20h
ENDS MAIN
END start
|
tests/test_packet_parser.ads | DNSCatcher/DNSCatcher | 4 | 7113 | <reponame>DNSCatcher/DNSCatcher
-- Copyright 2019 <NAME> <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to
-- deal in the Software without restriction, including without limitation the
-- rights to use... |
test/asm/block-comment.asm | ISSOtm/rgbds-deb | 0 | 104954 | PRINTT /* block comments are ignored // ** */ "hi\n"
PRINTT "block (/* ... */) comments at ends of line are fine\n" /* hi */
PRINTT /* block comments
can span multiple lines
*/ "mutliline\n"
|
Assembly Language/x86 Basic/Lesson_02/Ex002/asm_test.asm | Jasonchan35/SimpleTalkCpp_Tutorial | 44 | 240007 | .386
;.model flat, stdcall
.model flat, c
option casemap :none
.data
my_msg db "Good Morning", 0
.code
my_hello PROTO
my_print_int PROTO v0:DWORD, v1:DWORD, v2:DWORD
my_print_int_stdcall PROTO stdcall v0:DWORD, v1:DWORD, v2:DWORD
; Obsoleted
; my_print_int__pascal PROTO pascal v0:DWORD, v1:D... |
programs/oeis/324/A324266.asm | neoneye/loda | 22 | 82511 | <filename>programs/oeis/324/A324266.asm
; A324266: a(n) = 2*49^n.
; 2,98,4802,235298,11529602,564950498,27682574402,1356446145698,66465861139202,3256827195820898,159584532595224002,7819642097165976098,383162462761132828802,18774960675295508611298,919973073089479921953602,45078680581384516175726498,220885534848784129261... |
mesakem.asm | nofaralfasi/Assembly | 0 | 84705 | <filename>mesakem.asm
################# Data segment #####################
.data
messReq: .asciiz "Enter max 10 pairs of integers between 00-77 seperated by $:\n"
notValid: .asciiz "Wrong input/n"
numOfPairs: .asciiz "\nNumber of pairs: "
printNUM: .asciiz "\nPrinting NUM array: "
printSortarrayBefor: .asciiz "... |
src/dds-patches/dds-images.adb | alexcamposruiz/dds-requestreply | 0 | 20968 | -- (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$
-- All rights reserved.
--
-- No duplications, whole or partial, manual or electronic, may be made
-- without express written permission. Any such copies, or
-- revisions thereof, must display this notice unaltered.
-- This code contains trade secret... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1631.asm | ljhsiun2/medusa | 9 | 246037 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xac3f, %rdx
nop
nop
add %r10, %r10
mov (%rdx), %r13
xor %rdi, %rdi
lea addresses_WC_ht+0x145f, %rdi
nop
nop
nop
nop
nop
xor $31085, %r14
mov $0x6162636465666768, %rb... |
src/asm/stdlib/ctype.asm | dragazo/csx64-rs-lib | 1 | 5576 | <reponame>dragazo/csx64-rs-lib
; contract: these functions may only modify eax and edi (and flags)
global isalpha, islower, isupper, isdigit
global isalnum, isxdigit
global iscntrl, isspace, isblank
global isprint, isgraph, ispunct
; contract: these functions may only modify eax, edi, and esi (and flags)
global tolow... |
test/br890790.asm | bitwiseworks/nasm-os2 | 3 | 91616 | ;Testname=test; Arguments=-fbin -obr890790.bin; Files=stdout stderr br890790.bin
%rep 5
db 0
%include "br890790_i.asm"
%endrep
db 1
|
courses/fundamentals_of_ada/labs/prompts/170_inheritance/main.adb | AdaCore/training_material | 15 | 14460 | with Ada.Text_IO; use Ada.Text_IO;
with Employee;
procedure Main is
function Read
(Prompt : String)
return String is
begin
Put (Prompt & "> ");
return Get_Line;
end Read;
function Read_Date
(Prompt : String)
return String is (Read (Prompt & " (YYYY-MM-DD)"));
Applicant ... |
src/pass-by-referance.asm | hirohito-protagonist/hla-learn-adventure | 0 | 100616 | ; Assembly code emitted by HLA compiler
; Version 2.16 build 4413 (prototype)
; HLA compiler written by <NAME>
; NASM compatible output
bits 32
%define ExceptionPtr__hla_ [dword fs:0]
global QuitMain__hla_
global DfltExHndlr__hla_
global _HLAMain
global HWexcept__hla... |
Cubical/HITs/Rationals/HITQ/Base.agda | thomas-lamiaux/cubical | 1 | 4964 | {-# OPTIONS --safe #-}
module Cubical.HITs.Rationals.HITQ.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function
open import Cubical.Relation.Nullary
open import Cubical.Data.Int
open import Cubical.Data.Nat as ℕ hiding (_·_)
open import Cu... |
BigNum/Mod/Io/bnFromBytes.asm | FloydZ/Crypto-Hash | 11 | 246534 | .686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
;;
;; copies sequence of bytes to a bn
;;
;_a_
bnFromBytes proc uses edi esi pBytes:DWORD,dwBytesLen:dword,bn:DWORD,bSigned:dword
invoke bnClear,bn
mov ecx,dwBytesLen
mov edi,bn
mov eax,ecx
mov esi,pBytes
add eax,3
and... |
data/maps/scripts.asm | Ebernacher90/pokecrystal-allworld | 0 | 20122 | SECTION "Map Scripts 1", ROMX
INCLUDE "maps/GoldenrodGym.asm"
INCLUDE "maps/GoldenrodBikeShop.asm"
INCLUDE "maps/GoldenrodHappinessRater.asm"
INCLUDE "maps/BillsFamilysHouse.asm"
INCLUDE "maps/GoldenrodMagnetTrainStation.asm"
INCLUDE "maps/GoldenrodFlowerShop.asm"
INCLUDE "maps/GoldenrodPPSpeechHouse.asm"
INCLUDE "map... |
test/bank_access_other.asm | MichalPleban/6509-test | 2 | 171625 |
.include "src/defs.inc"
.export bank_access_other
; --------------------------------------------------------------------------
;
; Test memory access in another bank with another instruction.
;
; Only LDA (zp),Y and STA (zp),Y instructions access other banks.
;
; This test uses ADC (zp),y instruction which sh... |
alloy4fun_models/trashltl/models/11/zMAihenxHt4L2bnK2.als | Kaixi26/org.alloytools.alloy | 0 | 2434 | open main
pred idzMAihenxHt4L2bnK2_prop12 {
eventually (some f : File | eventually f in Trash)
}
pred __repair { idzMAihenxHt4L2bnK2_prop12 }
check __repair { idzMAihenxHt4L2bnK2_prop12 <=> prop12o } |
oeis/017/A017806.asm | neoneye/loda-programs | 11 | 90822 | ; A017806: Binomial coefficients C(90,n).
; 1,90,4005,117480,2555190,43949268,622614630,7471375560,77515521435,706252528630,5720645481903,41604694413840,273897571557780,1643385429346680,9038619861406740,45795673964460816,214667221708410075,934433788613079150,3789648142708598775,14360771909211532200,50980740277700939310... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_970.asm | ljhsiun2/medusa | 9 | 179619 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xb250, %r11
nop
nop
nop
nop
nop
dec %r13
mov (%r11), %r12
nop
nop
nop
nop
inc %r12
lea addresses_normal_ht+0xdc50, %r12
nop
nop
nop
sub %rbp, %rbp
and $0xffffffffffffffc0... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1234.asm | ljhsiun2/medusa | 9 | 6443 | .global s_prepare_buffers
s_prepare_buffers:
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x57d6, %rdx
nop
nop
add $13180, %rsi
vmovups (%rdx), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %rbp
and $65024, %rax
lea addresses_normal_ht+0xd9e, %rsi
lea addresses_A_ht+... |
test.asm | aleios/NES-Test | 2 | 85345 | <gh_stars>1-10
#ines.mapper "none"
#ines.mirroring "Vertical"
#ines.battery "no"
#ines.trainer "no"
#ines.fourscreen "no"
//#ines.prgrepeat 8 // 128K
#rom.banksize 16K
#chr.banksize 8K
// Includes
#include "nes.h"
#include "std.h"
//#include "main.h"
// RAM
#include "ram.asm"
// "pointers" to main and inte... |
vhdl-uprocessor/programs/data0.asm | hadryansalles/random-projects | 3 | 1039 | NOP
MOV 511, $1
MOV 341, $2
MOV $1, $3
ADD $2, $3
SUB $1, $3
NOP
CMP $3, $2
BE 2
JR -5
NOP
CMP $3, $0
BE 15
MUL $3, $1
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_698_1753.asm | ljhsiun2/medusa | 9 | 82562 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rdx
lea addresses_D_ht+0x228a, %r11
nop
nop
nop
cmp $11334, %rdx
vmovups (%r11), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %r14
nop
dec %r15
lea addresses_WT_ht+0xbe0e, %r8
clflush (%r8)
and $1... |
prototyping/Examples/Run.agda | TheGreatSageEqualToHeaven/luau | 1 | 13221 | <filename>prototyping/Examples/Run.agda
{-# OPTIONS --rewriting #-}
module Examples.Run where
open import Agda.Builtin.Equality using (_≡_; refl)
open import Agda.Builtin.Bool using (true; false)
open import Luau.Syntax using (nil; var; _$_; function_is_end; return; _∙_; done; _⟨_⟩; number; binexp; +; <; val; bool; ~... |
libs/pgwire/src/main/antlr/PgArray.g4 | infoverload/crate | 1 | 319 | grammar PgArray;
/**
The grammar is used to parse PG array text
representations. E.g.:
numeric PG arrays:
{10, NULL, NULL, 20, 30}
{"10", NULL, NULL, "20", "30"}
multi-dimentsional PG arrays:
{{"10", "20"}, {"30", NULL, "40"}}
json PG arrays:
{"{\"x\": 10}", "{\"y\": 20}"}
{\"{\\\"x\\\": 1... |
Categories/Grothendieck.agda | copumpkin/categories | 98 | 15608 | <filename>Categories/Grothendieck.agda
{-# OPTIONS --universe-polymorphism #-}
module Categories.Grothendieck where
open import Relation.Binary using (Rel)
open import Data.Product using (Σ; _,_; proj₁; proj₂; _×_)
open import Categories.Support.Experimental
open import Categories.Support.PropositionalEquality
open i... |
bb-runtimes/examples/stm32f4-discovery/leds-mphone/main.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 15540 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
programs/oeis/083/A083553.asm | neoneye/loda | 22 | 113 | ; A083553: Product of prime(n+1)-1 and prime(n)-1.
; 2,8,24,60,120,192,288,396,616,840,1080,1440,1680,1932,2392,3016,3480,3960,4620,5040,5616,6396,7216,8448,9600,10200,10812,11448,12096,14112,16380,17680,18768,20424,22200,23400,25272,26892,28552,30616,32040,34200,36480,37632,38808,41580,46620,50172,51528,52896,55216,57... |
Transynther/x86/_processed/NC/_zr_un_/i9-9900K_12_0xca_notsx.log_21829_1511.asm | ljhsiun2/medusa | 9 | 89090 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x71ab, %r15
and $56164, %rsi
movw $0x6162, (%r15)
nop
nop
nop
xor $5110, %rbp
lea addresses_normal_ht+0xfef4, %r9
inc %rdx
movb $0x61, (%r9)
and $188, %rbp
lea a... |
hazel/ocr_pdf.applescript | Brickstertwo/applescripts | 0 | 109 | <filename>hazel/ocr_pdf.applescript<gh_stars>0
-- OCRs file passed in
on run filePath
set theFile to alias (POSIX file filePath)
tell application "PDFpenPro"
open theFile as alias
tell document 1
ocr
repeat while performing ocr
delay 1
end repeat
delay 1
close with saving
end tell
quit
end... |
src/init.asm | AmFobes/MineAssemble | 479 | 80209 | <filename>src/init.asm
;
; This file contains all initialization code (VGA mode, interrupt table, etc)
;
[bits 32]
global start
extern init_idt, init_pic, init_input, init_time
extern init_vga
extern show_splash
extern main
extern bss, bss_end
start:
; Run initialization code
jmp init
align 4
... |
BootloaderCorePkg/Library/AcpiInitLib/X64/S3Wake.nasm | kokweich/slimbootloader | 1 | 178592 | <reponame>kokweich/slimbootloader
;; @file
; This is the assembly code for transferring to control to OS S3 waking vector
; for IA32 platform
;
; Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;;
DEFAULT REL
SECTION .text
global ASM_PFX(WakeUpBuf... |
oeis/088/A088543.asm | neoneye/loda-programs | 11 | 92686 | ; A088543: Decimal expansion of sqrt(15)/2.
; Submitted by <NAME>
; 1,9,3,6,4,9,1,6,7,3,1,0,3,7,0,8,4,4,2,5,8,9,6,3,2,6,9,9,8,9,1,1,9,9,8,0,5,4,1,6,4,6,0,8,5,2,6,4,5,7,9,5,4,1,3,2,9,3,7,8,6,8,8,3,0,5,6,7,4,1,5,4,5,9,6,8,4,8,9,5,1,6,7,5,9,6,4,3,6,8,8,4,2,9,3,3,6,7,5,8
mov $3,$0
add $3,1
mul $3,3
lpb $3
add $6,$2
ad... |
source/amf/utp/amf-internals-tables-utp_types.ads | svn2github/matreshka | 24 | 20566 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
ASM/src/every_frame.asm | deralex/Better-OoT | 75 | 6483 | <filename>ASM/src/every_frame.asm<gh_stars>10-100
before_game_state_update_hook:
addiu sp, sp, -0x18
sw ra, 0x10 (sp)
jal before_game_state_update
nop
lw ra, 0x10 (sp)
addiu sp, sp, 0x18
; Displaced code
lw t6, 0x0018 (sp)
jr ra
lui at, 0x8010 |
libsrc/sprites/software/sp1/spectrum/tiles/sp1_PutTiles_callee.asm | ahjelm/z88dk | 640 | 89241 | ; void __CALLEE__ sp1_PutTiles_callee(struct sp1_Rect *r, struct sp1_tp *src)
; 02.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
SECTION code_sprite_sp1
PUBLIC sp1_PutTiles_callee
PUBLIC ASMDISP_SP1_PUTTILES_CALLEE
EXTERN sp1_GetUpdateStruct_callee
EXTERN ASMDISP_SP1_GETUPDATESTRUCT_CALLEE, SP1V_DISPWID... |
oeis/062/A062151.asm | neoneye/loda-programs | 11 | 88058 | ; A062151: Fifth column sequence of triangle A062138 (generalized a=5 Laguerre).
; Submitted by <NAME>
; 1,50,1650,46200,1201200,30270240,756756000,19027008000,485188704000,12614906304000,335556507686400,9151541118720000,256243151324160000,7371918353479680000,217998157024327680000,6627143973539561472000,207098249173111... |
Antlr/PreAntlr/src/grammar/input.g4 | SinisterVLuffy/NestharusJASS | 21 | 7175 | <reponame>SinisterVLuffy/NestharusJASS<gh_stars>10-100
//arguments
[
hello //first argument
boo //second argument
what //third argument
]
R: 'a';
#`?{"4" == "4"`
R[[a]];
#`?{"4" == "4"`
R[[c]];
#`?}
#`?"4" == "4"`
R[[b]];
#`?}
#`?{"4" == "4"`
R[[a]];
#`?{"4" == "4"`
R[[c]];
#`?}
#`?"4" == "4"`
R... |
parser/src/main/antlr/de/sveri/joc/antlr/generated/Joc.g4 | sveri/joc | 0 | 6613 | <reponame>sveri/joc
grammar Joc;
@header {
package de.sveri.joc.antlr.generated;
}
file:
packageDeclaration
method+
;
packageDeclaration
: 'package' packageName (';')*
;
packageName
: identifier
| packageName '.' identifier
;
method:
methodName
argumentList
block
;
me... |
notes/FOT/FOL/ImplicitArgumentSubst.agda | asr/fotc | 11 | 1016 | ------------------------------------------------------------------------------
-- Testing subst using an implicit arguments for the propositional function.
------------------------------------------------------------------------------
{-# OPTIONS --allow-unsolved-metas #-}
{-# OPTIONS --exact-split #-... |
oeis/224/A224785.asm | neoneye/loda-programs | 11 | 173555 | <reponame>neoneye/loda-programs
; A224785: Expansion of (1+4*x+8*x^2-x^3)/((1-x)*(1+x)*(1-3*x^2)).
; Submitted by <NAME>(s4)
; 1,4,12,15,45,48,144,147,441,444,1332,1335,4005,4008,12024,12027,36081,36084,108252,108255,324765,324768,974304,974307,2922921,2922924,8768772,8768775,26306325,26306328,78918984,78918987,2367569... |
Classes/alias/info for/visible/visible of (info for (path to me)).applescript | looking-for-a-job/applescript-examples | 1 | 2718 | <reponame>looking-for-a-job/applescript-examples<filename>Classes/alias/info for/visible/visible of (info for (path to me)).applescript
#!/usr/bin/osascript
visible of (info for (path to me)) |
part7/kernel.asm | VARoDeK/realmode-assembly | 42 | 160940 | org 0x8000
bits 16
;precompiler constant
%define entityArraySize 16
;Let's begin by going into graphic mode
call initGraphics
;Now let's register some custom interrupt handlers
call registerInterruptHandlers
;init map
call initMap
;Main game loop
gameLoop:
call resetBuffer ;reset screen to draw on empty canvas
... |
programs/oeis/133/A133186.asm | jmorken/loda | 1 | 83214 | <reponame>jmorken/loda
; A133186: Period 4: repeat [1, 2, 1, -4].
; 1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4,1,2,1,-4
add $0,5
mov $1,-4
lpb $1
gcd $1,$0
lpe
|
test/Succeed/Issue1560a.agda | shlevy/agda | 1,989 | 5241 | -- Shrunk version of examples/TT.agda
-- Bug introduced by fix of issue 1560
{-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS --no-termination-check #-}
-- {-# OPTIONS --no-positivity-check #-}
-- {-# OPTIONS -v tc.pos:10 #-}
-- {-# OPTIONS -v tc.polarity:30 #-}
data True : Set where
tt : True
data ⊥ : Set w... |
src/botstate.ads | Robert-Tice/AdaRoombot | 10 | 2860 | with Algorithm; use Algorithm;
with Communication; use Communication;
with Types; use Types;
package Botstate is
type Bot is tagged record
Algo : Algorithm_Ptr;
Port : Serial_Port;
end record;
procedure Init (Self : in out Bot;
TTY_Name : in String;
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_5_656.asm | ljhsiun2/medusa | 9 | 1263 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x2935, %rsi
lea addresses_A_ht+0x11da5, %rdi
nop
add %r9, %r9
mov $80, %rcx
rep movsl
nop
nop
inc %r8
lea addresses_A_ht+0x19675, %r14
nop
and %r13, %r13
vmovups (%r14), %ymm7
vextracti12... |
rom0/timexscr.asm | nagydani/zx-rom-mods | 15 | 491 | SCR_ALL:LD B,$17
CL_SCR: RES 7,(IY+BORDCR-ERR_NR) ; flashing cursor OFF
LD A,(S_MODE)
AND $F8
JR NZ,SCROLL
RST $30
DEFW L0E00 ; CL-SCROLL
RET
SCROLL: INC B
RST $30
DEFW L0E9B
SCR_L: PUSH BC
PUSH HL
JR SCR_S
SCR_R: PUSH BC
LD BC,$0020
LDIR
SET 5,H
SET 5,D
LD C,$20
DEC HL
DEC DE
LDDR
RES 5,H
INC HL
... |
test/Fail/Issue2640.agda | cruhland/agda | 1,989 | 13615 | <filename>test/Fail/Issue2640.agda
{-# OPTIONS --experimental-irrelevance #-}
--{-# OPTIONS -v tc.lhs.unify:65 -v tc.irr:50 #-}
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
data D : ..(b : Bool) → Set where
c : (b : Bool) → D b
test : ..(a : Bool) → D a → Bool
test a (c b) = b
data ⊥ : Set wher... |
ee/wman/htbar.asm | olifink/smsqe | 0 | 28569 | <gh_stars>0
; Check for hit on PAN and SCROLL bars V1.00 1989 <NAME> QJUMP
section wman
xdef wm_htbar
include 'dev8_keys_err'
include 'dev8_keys_k'
include 'dev8_keys_qdos_pt'
include 'dev8_keys_qdos_io'
include 'dev8_keys_wwork'
include 'dev8... |
agda/List/Properties.agda | bgbianchi/sorting | 6 | 6165 | module List.Properties (A : Set) where
open import Data.List
open import Relation.Binary.PropositionalEquality
++id : (xs : List A) → xs ++ [] ≡ xs
++id [] = refl
++id (x ∷ xs) = cong (_∷_ x) (++id xs)
|
Transynther/x86/_processed/NC/_zr_un_/i9-9900K_12_0xca.log_21829_1604.asm | ljhsiun2/medusa | 9 | 4594 | .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_D_ht+0xb42c, %r13
sub $31691, %r10
mov (%r13), %r12w
nop
nop
nop
nop
nop
xor %rax, %rax
lea addresses_WC_ht+0x6d50, %rax
nop
nop
inc %r14
mov $0x6162636465666768, %r13
movq %r13, %x... |
base/Kernel/Native/ix64/_memset.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 170700 | ;*******************************************************************************
;memset.asm - set a section of memory to all one byte
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; contains the memset() routine
;
;********************************************************... |
oeis/291/A291019.asm | neoneye/loda-programs | 11 | 168030 | <reponame>neoneye/loda-programs
; A291019: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - S - S^2 - S^3 + S^4.
; Submitted by <NAME>
; 1,3,9,25,68,185,504,1373,3739,10180,27714,75445,205376,559064,1521840,4142609,11276581,30695881,83556891,227449066,619135745,1685339900,4587637263,12487934387,33993205996,92532358762,251... |
3-mid/physics/implement/libbullet/src/libbullet.ads | charlie5/lace-alire | 1 | 428 | package Libbullet is
end Libbullet;
|
oeis/182/A182828.asm | neoneye/loda-programs | 11 | 19943 | ; A182828: Array of the numbers (3*i+1)*3^j, i>=0, j>=0, read by antidiagonals.
; Submitted by <NAME>
; 1,3,4,9,12,7,27,36,21,10,81,108,63,30,13,243,324,189,90,39,16,729,972,567,270,117,48,19,2187,2916,1701,810,351,144,57,22,6561,8748,5103,2430,1053,432,171,66,25,19683,26244,15309,7290,3159
lpb $0
add $1,1
sub $0,... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_529.asm | ljhsiun2/medusa | 9 | 86287 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rdi
lea addresses_UC_ht+0x1bfef, %rax
nop
nop
nop
nop
nop
xor $21345, %r15
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
vmovups %ymm4, (%rax)
sub %r15, %r15
pop %rdi
pop %rax
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r... |
raml-model/src/main/antlr/StringTemplate.g4 | adrobisch/rest-modeling-framework | 4 | 6802 | grammar StringTemplate;
@header {
package io.vrap.rmf.raml.persistence.antlr;
}
stringTemplate:
(expression | literal)*
;
literal:
.+?
;
expression:
'<<' ID fnApplication* WS* '>>'
;
fnApplication:
WS* '|' WS* '!' fn=ID
;
ID : [a-zA-Z_]+ [a-zA-Z0-9_-]* ;
WS : [ \t\n\r]+;
ANY: .; //... |
examples/breakintoprogram/sprite-example/sample.asm | jacobly0/DeZog | 0 | 24886 | SLDOPT COMMENT WPMEM, LOGPOINT, ASSERTION
DEVICE ZXSPECTRUM48
Code_Start: EQU 0x8000
ORG Code_Start
EI ; Optional, if you require interrupts to be enabled on start
include "demo_scroll.z80"
SAVESNA "sa... |
Cubical/Relation/Nullary/DecidableEq.agda | marcinjangrzybowski/cubical | 301 | 7366 | {-# OPTIONS --safe #-}
module Cubical.Relation.Nullary.DecidableEq where
open import Cubical.Relation.Nullary.Properties
using (Dec→Stable; Discrete→isSet) public
|
src/wavefiles_gtk-wavefile_list.adb | silentTeee/ada_wavefiles_gtk_app | 0 | 8448 | -------------------------------------------------------------------------------
--
-- WAVEFILES GTK APPLICATION
--
-- List of wavefiles
--
-- The MIT License (MIT)
--
-- Copyright (c) 2017 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining... |
oeis/072/A072994.asm | neoneye/loda-programs | 11 | 85397 | <reponame>neoneye/loda-programs
; A072994: Number of solutions to x^n==1 (mod n), 1<=x<=n.
; Submitted by <NAME>
; 1,1,1,2,1,2,1,4,3,2,1,4,1,2,1,8,1,6,1,8,3,2,1,8,5,2,9,4,1,4,1,16,1,2,1,12,1,2,3,16,1,12,1,4,3,2,1,16,7,10,1,8,1,18,5,8,3,2,1,16,1,2,9,32,1,4,1,8,1,4,1,24,1,2,5,4,1,12,1,32,27,2,1,24,1,2,1,8,1,12,1,4,3,2,1,... |
engine/phone/scripts/liz.asm | zavytar/pokecolorless | 0 | 83343 | <gh_stars>0
LizPhoneCalleeScript:
gettrainername STRING_BUFFER_3, PICNICKER, LIZ1
checkflag ENGINE_LIZ
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_LIZ_THURSDAY_AFTERNOON
iftrue .NotThursday
readvar VAR_WEEKDAY
ifnotequal THURSDAY, .NotThursday
checktime DAY
iftrue LizThursdayA... |
firmware/coreboot/3rdparty/libgfxinit/common/haswell_shared/hw-gfx-gma-port_detect.adb | fabiojna02/OpenCellular | 1 | 18606 | --
-- Copyright (C) 2016-2017 secunet Security Networks AG
--
-- 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 2 of the License, or
-- (at your option) any later version.
--
-- ... |
main.asm | oShadow05/minimo-in-assembly | 0 | 168299 | <filename>main.asm
; Copyright (c) 2017 oShadow05
; Released under the MIT license
.MODEL SMALL
.STACK 100H
.DATA
N1 DB ?
N2 DB ?
N3 DB ?
N4 DB ?
D1 DB 'INSERISCI PRIMO NUMERO : ','$'
D2 DB 'INSERISCI SECONDO NUMERO : ','$'
D3 DB 'INSERISCI TERZO NUMERO : ','$'
D4 DB 'INSERISCI QUARTO NUMERO : ','$'
RIS DB '... |
kernel/dma.asm | TheMachine02/Sorcery | 14 | 96976 | define MAP_ANONYMOUS 1 shl 0
define MAP_PRIVATE 1 shl 1
define MAP_FIXED 1 shl 2
; addr need to be PAGE aligned, as well as length and offset (in file offset)
sysdef _mmap
; void *mmap(void *addr, size_t length, int flags, int fd, off_t offset);
; hl adress, de length, bc flag, ix fd, iy offset
.mmap:
; map a file... |
programs/oeis/120/A120866.asm | karttu/loda | 1 | 29370 | <gh_stars>1-10
; A120866: a(n) is the number j for which there exists a unique pair (j,k) of positive integers such that (j + k + 1)^2 - 4*k = 20*n^2.
; 1,4,9,16,4,11,20,31,5,16,29,44,4,19,36,55,1,20,41,64,89,19,44,71,100,16,45,76,109,11,44,79,116,4,41,80,121,164,36,79,124,171,29,76,125,176,20,71,124,179,9,64,121,180,2... |
Win32/Win32.Serotonin/serotonin.asm | fengjixuchui/Family | 3 | 244090 | .486
.model flat
include pe.inc
include cor.inc
include win32api.inc
include useful.inc
include mz.inc
include consts.inc
.data
db ?
extrn ExitProcess:PROC
.code
Start:
;Start of worm's body
pushad
@SEH_SetupFrame <jmp end_seh> ;__try block
call _gdelta ;get delta offset
... |
Cubical/Homotopy/Group/Pi4S3/QuickProof.agda | howsiyu/cubical | 0 | 13893 | <reponame>howsiyu/cubical
{- This file contains a direct proof that the Brunerie number (the
number n s.t. π₄(S³)≅ℤ/nℤ) is 2, not relying on any of the more
advanced constructions in chapters 4-6 in Brunerie's thesis (but still
using chapters 1-3 for the construction). The Brunerie number is defined via
S³ ≃ S¹ * S¹ -... |
libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/submul_1.asm | kroggen/aergo | 1,602 | 91679 | dnl SPARC v9 mpn_submul_1 for T3/T4/T5.
dnl Contributed to the GNU project by <NAME> and <NAME>.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dn... |
programs/oeis/067/A067980.asm | jmorken/loda | 1 | 178932 | <reponame>jmorken/loda
; A067980: Convolution of L(n+1) := A000204(n+1) (Lucas), n>=0, with L(n+2), n>=0.
; 3,13,31,69,140,274,519,963,1757,3165,5642,9972,17499,30521,52955,91461,157336,269702,460863,785295,1334713,2263293,3829846,6468264,10905075,18355429,30849559,51776133,86785892
add $0,2
mov $2,2
mov $3,$0
lpb $0
... |
oeis/233/A233211.asm | neoneye/loda-programs | 11 | 178498 | <filename>oeis/233/A233211.asm
; A233211: Number of n X 2 0..5 arrays with no element x(i,j) adjacent to value 5-x(i,j) horizontally or antidiagonally, top left element zero, and 1 appearing before 2 3 and 4, and 2 appearing before 3 in row major order.
; 2,23,452,10313,249062,6147803,152986472,3818284493,95399716682,2... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1404.asm | ljhsiun2/medusa | 9 | 172058 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1404.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
lea addresses_WT_ht+0x1be3a, %rdx
add $63233, %rdi
movb (%rdx), %r9b
nop
xor $65314, %rcx
lea addresses_WT_ht+0x16177, ... |
oeis/267/A267850.asm | neoneye/loda-programs | 11 | 162360 | <filename>oeis/267/A267850.asm
; A267850: Binary representation of the n-th iteration of the "Rule 229" elementary cellular automaton starting with a single ON (black) cell.
; 1,10,11110,1111110,111111110,11111111110,1111111111110,111111111111110,11111111111111110,1111111111111111110,111111111111111111110,1111111111111... |
SOURCE ASM FILES/FPSHack_07_STControl_CheckTrigger_LowHz.asm | Meowmaritus/Wind-Waker-60FPS-Hack | 14 | 24573 | <filename>SOURCE ASM FILES/FPSHack_07_STControl_CheckTrigger_LowHz.asm<gh_stars>10-100
#To be inserted at 80058340
###########################################
##FPSHack_07_STControl_CheckTrigger_LowHz##
###########################################
lis r17, 0x817F
lwz r17, 0x0000 (r17) #Load LowHzFuncsRunThisFrame into ... |
test/invalid-vxcall-ins.asm | kspalaiologos/asmbf | 67 | 84232 | <filename>test/invalid-vxcall-ins.asm<gh_stars>10-100
vxcall add r1, r2
|
experiments/models/student.als | saiema/ARepair | 5 | 3085 | sig List {
header: set Node
}
sig Node {
link: set Node,
elem: set Int
}
fact CardinalityConstraints {
all l: List | lone l.header
all n: Node | lone n.link
all n: Node | one n.elem
}
pred Loop(This: List) {
no This.header or one n: This.header.*link | n = n.link
}
pred Sorted(This: List) {
all... |
src/adabots.ads | TamaMcGlinn/AdaBots | 5 | 319 | <filename>src/adabots.ads
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Finalization;
with Adabots_Lua_Dispatcher;
package Adabots is
type Turtle is new Ada.Finalization.Limited_Controlled with private;
type Turtle_Inventory_Slot is range 1 .. 16;
type Stack_Count is range 0 .. 64;
type ... |
src/TemporalOps/Common.agda | DimaSamoz/temporal-type-systems | 4 | 1981 | <filename>src/TemporalOps/Common.agda
{- Auxiliary functions for temporal operators. -}
module TemporalOps.Common where
open import TemporalOps.Common.Rewriting public
open import TemporalOps.Common.Compare public
open import TemporalOps.Common.Other public
|
src/test/ref/pointer-cast-2.asm | jbrandwood/kickc | 2 | 93135 | // Tests casting pointer types to other pointer types
// Commodore 64 PRG executable file
.file [name="pointer-cast-2.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Bas... |
test/gameboy/ds.asm | gb-archive/asmotor | 0 | 15189 | <reponame>gb-archive/asmotor
SECTION "Test",CODE
jr nz,.skip
nop
nop
.skip
jr nz,.skip
|
src/gl/interface/gl-rasterization.ads | Roldak/OpenGLAda | 79 | 30373 | <gh_stars>10-100
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Types;
private with GL.Low_Level;
package GL.Rasterization is
pragma Preelaborate;
use GL.Types;
subtype Line_Width_Range is Singles.Vector2;
type Polygon_Mode_Type i... |
archive/a/ada/bubble-sort.adb | Noremac201/sample-programs | 0 | 7546 | procedure Main is
type Bubble_Array is array (Integer range <>) of Integer;
procedure Bubble_Sort (Arr : in out Bubble_Array) is
Temp : Integer;
begin
for I in reverse Arr'Range loop
for J in Arr'First .. I loop
if Arr(I) < Arr(J) then
Temp := Arr(J);
Arr(J) :... |
Driver/IFS/DOS/DRI/driManager.asm | steakknife/pcgeos | 504 | 98471 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: driManager.asm
AUTHOR: <NAME>, Oct 30, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descrip... |
bitmap/bitmap.asm | clarkeaa/c64-demos | 5 | 175457 | <reponame>clarkeaa/c64-demos
!cpu 6502
!to "bitmap.prg",cbm ; output file
;;; --------------------------------------------------
* = $0801 ; BASIC start address (#2049)
!byte $0b,$08,$f0,$02,$9e ; BASIC loader
!text "2061"
;;; --------------------------------------------... |
code/sfx.asm | skrasser/slither_c64 | 3 | 80995 | sid=$d400
initsid ldy #24 ; 24 SID registers to clear
.initsid1 lda #$00
sta sid,y ; write 0 into register
dey ; decrement counter
bpl .initsid1 ; loop until N is set (underflow y to $ff)
lda #$0f
sta sid+24 ; set volume to max
lda #$09 ; attack 0, delay 9
sta sid+5
lda #$00 ; sustain 0, release 0
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_378.asm | ljhsiun2/medusa | 9 | 171512 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xe92d, %rsi
lea addresses_UC_ht+0x1c8ad, %rdi
nop
nop
nop
nop
inc %r12
mov $103, %rcx
rep movsb
nop
and $33856, %rcx
lea addresses_normal_ht+0x6dad, %rsi
lea addresses_WT_ht+0x2f2d, %rd... |
gnat-sockets-connection_state_machine-expected_sequence.ads | jrcarter/Ada_GUI | 19 | 3814 | <gh_stars>10-100
-- --
-- package Copyright (c) <NAME> --
-- GNAT.Sockets.Connection_State_Machine. Luebeck --
-- Expected_Sequence Winter, 2013 --
-- Interface ... |
doc/test.agda | StillerHarpo/masterarbeit | 0 | 9526 | <filename>doc/test.agda
module test where
open import Relation.Binary.PropositionalEquality
module NewCodata where
open import Data.Nat
open import Data.List
open import Data.Maybe
record Pair (A B : Set) : Set where
field
fst : A
snd : B
record Stream (A : Set) : Set where
coinductive
... |
oeis/115/A115339.asm | neoneye/loda-programs | 11 | 15062 | <reponame>neoneye/loda-programs
; A115339: a(2n-1)=F(n+1), a(2n)=L(n), where F(n) and L(n) are the Fibonacci and the Lucas sequences.
; 1,1,2,3,3,4,5,7,8,11,13,18,21,29,34,47,55,76,89,123,144,199,233,322,377,521,610,843,987,1364,1597,2207,2584,3571,4181,5778,6765,9349,10946,15127,17711,24476,28657,39603,46368,64079,750... |
programs/oeis/121/A121968.asm | karttu/loda | 1 | 17967 | ; A121968: a(n) = 2*a(n-1) - a(n-2) + n + 1.
; 1,2,6,14,27,46,72,106,149,202,266,342,431,534,652,786,937,1106,1294,1502,1731,1982,2256,2554,2877,3226,3602,4006,4439,4902,5396,5922,6481,7074,7702,8366,9067,9806,10584,11402,12261,13162,14106,15094,16127,17206,18332,19506,20729,22002,23326,24702,26131,27614,29152,30746,32... |
roms/tests/apu/blargg_apu_2005.07.30/source/prefix_apu.asm | MrKOSMOS/ANESE | 1,461 | 21177 | ; Prefix included at the beginning of each test. Defines vectors
; and other things for custom devcart loader.
;
; Refer to apu_util.asm for APU test-specific routines:
.include "apu_util.asm"
; Reset vector points to "reset".
; NMI points to "nmi" if defined, otherwise default_nmi.
; IRQ points to "irq" if def... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1482.asm | ljhsiun2/medusa | 9 | 18698 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x16372, %r10
nop
inc %rdi
movl $0x61626364, (%r10)
nop
nop
nop
xor %rdx, %rdx
lea addresses_normal_ht+0x1cc82, %r15
nop
nop
nop
add $18988, %rcx
movb (%r15), %r12b
nop
no... |
lib/efm8_usb/src/efm8_usbdch9.asm | mokafiht/u2f_key_SDCC | 1 | 11761 | <gh_stars>1-10
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.6.0 #9615 (MINGW32)
;--------------------------------------------------------
.module efm8_usbdch9
.optsdcc -mmcs51 --model-large
;------------------------------------------... |
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/dtoe_callee.asm | jpoikela/z88dk | 640 | 168238 | <gh_stars>100-1000
; size_t dtoe(double x, char *buf, uint16_t prec, uint16_t flag) __z88dk_callee
SECTION code_clib
SECTION code_stdlib
PUBLIC _dtoe_callee
EXTERN dcallee1, asm_dtoe
_dtoe_callee:
call dcallee1 ; AC' = x
pop af
pop hl
pop de
pop bc
push af
jp asm_dtoe
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1128.asm | ljhsiun2/medusa | 9 | 92887 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1128.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x766d, %rsi
lea addresses_normal_ht+0x17c4d, %rdi
nop
mfence
mov $59, %rcx
rep movsb
nop
nop
no... |
programs/oeis/257/A257198.asm | neoneye/loda | 22 | 25640 | <gh_stars>10-100
; A257198: Number of permutations of length n having exactly one descent such that the first element of the permutation is an odd number.
; 0,0,2,6,16,36,78,162,332,672,1354,2718,5448,10908,21830,43674,87364,174744,349506,699030,1398080,2796180,5592382,11184786,22369596,44739216,89478458,178956942,3579... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.