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 |
|---|---|---|---|---|
2015/03/main.asm | chylex/Advent-of-Code | 0 | 16133 | bits 64
default rel
section .text
extern part1
extern part2
global entryPoint
entryPoint:
push rbp
mov rbp, rsp
push rcx
call part1
pop rcx
call part2
leave
ret
|
src/Native/Runtime/arm64/GcProbe.asm | crummel/dotnet_corert | 0 | 1332 | <filename>src/Native/Runtime/arm64/GcProbe.asm
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
#include "AsmMacros.h"
TEXTAREA
SETALIAS GetLoopIndirCel... |
samples/lcd_4bit_test/lcd_4bit_test.asm | jimjag/x6502 | 13 | 166371 | <reponame>jimjag/x6502
PORTB .equ $6000
PORTA .equ $6001
DDRB .equ $6002
DDRA .equ $6003
COMMAND_MODE .equ %00000000
DATA_MODE .equ %00100000
WRITE_MODE .equ %00000000
READ_MODE .equ %01000000
PULSE .equ %10000000
NPULSE .equ %01111111
ROM_START .equ $... |
Math/Combinatorics/ListFunction/Properties.agda | rei1024/agda-combinatorics | 3 | 9621 | <reponame>rei1024/agda-combinatorics
------------------------------------------------------------------------
-- Properties of functions
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --exact-split #-}
module Math.Combinatorics.ListFunction.Properties where
--... |
programs/oeis/284/A284905.asm | neoneye/loda | 22 | 17905 | <gh_stars>10-100
; A284905: Fixed point of the morphism 0 -> 01, 1 -> 1001.
; 0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1
mov $2,$0
div $0,2
add $0,$2
seq $0,28490... |
src/bitmap_fonts/giza-bitmap_fonts.adb | Fabien-Chouteau/Giza | 7 | 25016 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
data/tilesets/door_tile_ids.asm | opiter09/ASM-Machina | 1 | 6146 | DoorTileIDPointers:
dbw OVERWORLD, .OverworldDoorTileIDs
dbw FOREST, .ForestDoorTileIDs
dbw MART, .MartDoorTileIDs
dbw HOUSE, .HouseDoorTileIDs
dbw FOREST_GATE, .TilesetMuseumDoorTileIDs
dbw MUSEUM, .TilesetMuseumDoorTileIDs
dbw GATE, .TilesetMuseumDoorTileIDs
dbw SHIP, .S... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_1414.asm | ljhsiun2/medusa | 9 | 240713 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x10df1, %r15
nop
nop
nop
nop
nop
xor %rdx, %rdx
movb $0x61, (%r15)
nop
nop
nop
nop
nop
dec %r10
lea addresses_WC_ht+0x1ce71, %r8
nop
nop
nop
xor %rax, %rax
m... |
programs/oeis/052/A052910.asm | jmorken/loda | 1 | 100030 | ; A052910: Expansion of 1 + 2/(1-2*x-x^3).
; 1,2,4,8,18,40,88,194,428,944,2082,4592,10128,22338,49268,108664,239666,528600,1165864,2571394,5671388,12508640,27588674,60848736,134206112,296000898,652850532,1439907176,3175815250,7004481032,15448869240,34073553730,75151588492,165752046224,365577646178,806306880848,17783658... |
src/bindings/adabase-bindings-sqlite.ads | jrmarino/AdaBase | 30 | 62 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
--
-- Some of these definitions originate from the Matresha Project
-- http://forge.ada-ru.org/matreshka
-- Used with permission from <NAME> <<EMAIL>>
with System;
with Interfaces.C.Strings;
package AdaBase.... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_891.asm | ljhsiun2/medusa | 9 | 82083 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x986d, %rsi
lea addresses_WC_ht+0x163ed, %rdi
nop
xor %rax, %rax
mov $13, %rcx
rep movsb
sub %r12, %r12
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10... |
src/sound/song332restored.asm | MusicTheorist/Mother2GbaTranslation | 1 | 101879 |
song332restored_pri equ 100
song332restored_rev equ 0
song332restored_mvl equ 127
song332restored_key equ 0
song332restored_tbs equ 1
song332restored_exg equ 0
song332restored_cmp equ 1
.align 4
;**************** Track 1 (Midi-Chn.7) ****************;
@song332restored_1:
.byte KEYSH , song332restored_k... |
libsrc/_DEVELOPMENT/stdlib/c/sccz80/labs.asm | jpoikela/z88dk | 640 | 165937 |
; long labs(long j)
SECTION code_clib
SECTION code_stdlib
PUBLIC labs
EXTERN asm_labs
defc labs = asm_labs
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _labs
defc _labs = labs
ENDIF
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/trampoline1.adb | best08618/asylo | 7 | 19357 | -- { dg-do compile }
-- { dg-options "-gnatws" }
with System; use System;
procedure Trampoline1 is
A : Integer;
function F (I : Integer) return Integer is
begin
return A + I;
end F;
CA : System.Address := F'Code_Address;
begin
if CA = System.Null_Address then
raise Program_Error;
end if;
end... |
programs/oeis/004/A004728.asm | neoneye/loda | 22 | 102936 | <reponame>neoneye/loda<gh_stars>10-100
; A004728: Delete all 9's from the sequence of nonnegative integers.
; 0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,1,20,21,22,23,24,25,26,27,28,2,30,31,32,33,34,35,36,37,38,3,40,41,42,43,44,45,46,47,48,4,50,51,52,53,54,55,56,57,58,5,60,61,62,63,64,65,66,67,68,6,70,71
mov $1,1
ad... |
oeis/076/A076662.asm | neoneye/loda-programs | 11 | 4710 | <filename>oeis/076/A076662.asm
; A076662: First differences of A007066.
; Submitted by <NAME>
; 3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2
trn $0,1
seq $0,35612 ;... |
alloy4fun_models/trashltl/models/15/TNBxQ2JBp3QzBD4wN.als | Kaixi26/org.alloytools.alloy | 0 | 464 | open main
pred idTNBxQ2JBp3QzBD4wN_prop16 {
historically all f:File | f in Protected implies f in Protected
}
pred __repair { idTNBxQ2JBp3QzBD4wN_prop16 }
check __repair { idTNBxQ2JBp3QzBD4wN_prop16 <=> prop16o } |
src/GBA.DMA.ads | 98devin/ada-gba-dev | 7 | 12067 | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with GBA.Memory;
use GBA.Memory;
with GBA.Memory.IO_Registers;
package GBA.DMA is
type Dest_Address_Adjustment is
( Increment
, Decrement
, Fixed
, Increment_And_Reset
);
for Dest_Address_Adjustment use
( Increm... |
src/Algebra/Linear/Structures/Bundles/FiniteDimensional.agda | felko/linear-algebra | 15 | 15903 | <reponame>felko/linear-algebra<filename>src/Algebra/Linear/Structures/Bundles/FiniteDimensional.agda
{-# OPTIONS --without-K --safe #-}
module Algebra.Linear.Structures.Bundles.FiniteDimensional where
open import Algebra
open import Algebra.FunctionProperties
open import Relation.Binary using (Rel)
open import Level ... |
BitEpicness/TestInterupts2.asm | davidov541/BitEpicness | 0 | 91924 | move $s0, $0
infinite: j infinite
nop
nop
nop
nop
nop
rp $t0, 2
add $s0, $t0
move $s0, $rr
wp $s0, 0
mfc0 $t0, $epc
jr $t0 |
fastmodel-parser/src/main/antlr4/imports/ImpExpParser.g4 | alibaba/fast-modeling-language | 9 | 5557 | parser grammar ImpExpParser;
impExpStatements:
exportStatement
;
exportStatement
: (KW_EXP | KW_EXPORT) exportBusinessUnit? exportOutput exportTarget? KW_WHERE expression
;
exportOutput
: KW_OUTPUT EQUAL string
;
exportBusinessUnit
: identifier
;
exportTarget
: KW_TARGET EQUAL string
;
|
oeis/349/A349905.asm | neoneye/loda-programs | 11 | 169319 | ; A349905: Arithmetic derivative of A003961(n), where A003961 is fully multiplicative with a(p) = nextprime(p).
; Submitted by <NAME>(s2)
; 0,1,1,6,1,8,1,27,10,10,1,39,1,14,12,108,1,55,1,51,16,16,1,162,14,20,75,75,1,71,1,405,18,22,18,240,1,26,22,216,1,103,1,87,95,32,1,621,22,91,24,111,1,350,20,324,28,34,1,318,1,40,135,... |
alloy4fun_models/trashltl/models/11/jtwSmZpgPsq9Hj5vM.als | Kaixi26/org.alloytools.alloy | 0 | 4145 | <gh_stars>0
open main
pred idjtwSmZpgPsq9Hj5vM_prop12 {
all f : File | eventually f in Trash => eventually f not in Trash
}
pred __repair { idjtwSmZpgPsq9Hj5vM_prop12 }
check __repair { idjtwSmZpgPsq9Hj5vM_prop12 <=> prop12o } |
test/asset/agda-stdlib-1.0/Data/These.agda | omega12345/agda-mode | 0 | 9243 | <filename>test/asset/agda-stdlib-1.0/Data/These.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- An either-or-both data type
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.These whe... |
Transynther/x86/_processed/US/_st_/i7-7700_9_0x48.log_15229_1714.asm | ljhsiun2/medusa | 9 | 166948 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1e3f2, %rsi
lea addresses_normal_ht+0x12a9e, %rdi
nop
nop
xor %r10, %r10
mov $80, %rcx
rep movsq
nop
nop
nop
nop
nop
sub $38556, %rbp
lea addresses_normal_ht+0xd492, %r10
add... |
Working Disassembly/Levels/LBZ/Misc Object Data/Map - Flame Thrower.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 94154 | <filename>Working Disassembly/Levels/LBZ/Misc Object Data/Map - Flame Thrower.asm
Map_22544E: dc.w Frame_225460-Map_22544E ; ...
dc.w Frame_225468-Map_22544E
dc.w Frame_225476-Map_22544E
dc.w Frame_225490-Map_22544E
dc.w Frame_2254B6-Map_22544E
dc.w Frame_2254DC-Map_22544E
dc.w Frame_225502-Map_22544E
dc.... |
src/arch/socs/stm32f439/Ada/soc-dma-interfaces.ads | wookey-project/ewok-legacy | 0 | 8940 | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - Mathieu Renard
-- - <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
--
--... |
source/s-unwhan.ads | ytomino/drake | 33 | 21823 | pragma License (Unrestricted);
-- runtime unit
with System.Unwind.Representation;
package System.Unwind.Handling is
pragma Preelaborate;
-- hook for entering an exception handler (a-exexpr-gcc.adb)
procedure Begin_Handler (
Machine_Occurrence : Representation.Machine_Occurrence_Access)
with Expo... |
PRG/levels/Airship/W8A.asm | narfman0/smb3_pp1 | 0 | 163 | <reponame>narfman0/smb3_pp1<gh_stars>0
; Original address was $B617
; World 8 Airship
.word W8Airship_BossL ; Alternate level layout
.word W8Airship_BossO ; Alternate object layout
.byte LEVEL1_SIZE_12 | LEVEL1_YSTART_140
.byte LEVEL2_BGPAL_06 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_70
.byte LEVEL3_TILESET_10 | LEVEL3_... |
src/Dodo/Binary/Irreflexive.agda | sourcedennis/agda-dodo | 0 | 4127 | {-# OPTIONS --without-K --safe #-}
module Dodo.Binary.Irreflexive where
-- Stdlib imports
open import Level using (Level)
open import Relation.Binary using (Rel; Irreflexive)
-- Local imports
open import Dodo.Binary.Equality
module _ {a ℓ₁ ℓ₂ ℓ₃ : Level} {A : Set a}
{≈ : Rel A ℓ₁} {P : Rel A ℓ₂} {Q : Rel A ℓ₃} ... |
programs/oeis/016/A016993.asm | karttu/loda | 1 | 243869 | <reponame>karttu/loda
; A016993: a(n) = 7*n+1.
; 1,8,15,22,29,36,43,50,57,64,71,78,85,92,99,106,113,120,127,134,141,148,155,162,169,176,183,190,197,204,211,218,225,232,239,246,253,260,267,274,281,288,295,302,309,316,323,330,337,344,351,358,365,372,379,386,393,400,407,414,421,428,435,442,449,456,463,470,477,484,491,498,... |
sub16bit.asm | sirdangd/asm | 0 | 17025 | <filename>sub16bit.asm
;sub16bit
;the first number is stored in reg bc
;the second number is stored in reg de
;the 8 bits from reg c are subtracted by the 8 bits in reg e
;the 8 bits from reg b are subtracted by the 8 bits in reg d
;sbb is used for the second subtraction isntead of sub because what is being subtract... |
Palmtree.Math.Core.Implements/vs_build/x64_Debug/CALC_divrem_critical.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 26990 | <gh_stars>0
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecrt_wstring@h DB 01H
__2140C079_string@h DB ... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_1773.asm | ljhsiun2/medusa | 9 | 93815 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x15000, %r14
clflush (%r14)
nop
nop
sub $26153, %r15
mov (%r14), %rdx
and %r9, %r9
lea addresses_A_ht+0x7800, %rbp
nop
add %r11, %r11
movb (%rbp), %r14b
no... |
src/main/fragment/mos6502-common/_deref_pbum1=vbuaa.asm | jbrandwood/kickc | 2 | 164524 | ldy {m1}
sty $fe
ldy {m1}+1
sty $ff
ldy #0
sta ($fe),y
|
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Compress.asm | prismotizm/gigaleak | 0 | 3341 | Name: Compress.asm
Type: file
Size: 14243
Last-Modified: '1992-11-18T01:48:28Z'
SHA-1: 4E593CA790BDEC39A5B9A6F47000A6243D8F9A76
Description: null
|
tools-src/gnu/gcc/gcc/ada/s-tpoben.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 5440 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_97_635.asm | ljhsiun2/medusa | 9 | 102255 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x10948, %rsi
lea addresses_A_ht+0x18148, %rdi
clflush (%rdi)
nop
nop
nop
and $57394, %r9
mov $15, %rcx
rep movsq
xor %rsi, %rsi
lea addresses_UC_ht+0xe528, %r1... |
libsrc/_DEVELOPMENT/threads/mutex/c/sdcc_iy/spinlock_acquire.asm | jpoikela/z88dk | 640 | 103888 |
; void spinlock_acquire(char *spinlock)
SECTION code_clib
SECTION code_threads_mutex
PUBLIC _spinlock_acquire
EXTERN asm_spinlock_acquire
_spinlock_acquire:
pop af
pop hl
push hl
push af
jp asm_spinlock_acquire
|
Tables/stock_table.asm | ped7g/EliteNext | 0 | 173731 | <gh_stars>0
; Can Buy
; computed row on screen considering what stock is visible
; Show
; Tech Level
; Price
; Name
; TypeId
;char name[16];
;cur... |
Friend_William_Project_4_work_.asm | William0Friend/my_masm | 0 | 10003 | <reponame>William0Friend/my_masm<gh_stars>0
include Irvine32.inc
; This program sorts an array with random integers
; and outputs them in order
.const
lengthListThree EQU (lengthof listOne + lengthof listTwo)
.data
;array BYTE 20, 10, 60, 5, 120, 90, 100 ; array with 7 values
;arraysize = ($ - array) -1 ... |
programs/oeis/140/A140475.asm | neoneye/loda | 22 | 25243 | ; A140475: 1 along with primes greater than 3.
; 1,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277
seq $0,98090 ; Numbers k such that 2k-3 is prime.
mov $2,3
bin $2... |
alloy4fun_models/trashltl/models/9/PLdy78kQikupH3nHi.als | Kaixi26/org.alloytools.alloy | 0 | 3828 | open main
pred idPLdy78kQikupH3nHi_prop10 {
all f: File | once f in Protected implies always f in Protected
}
pred __repair { idPLdy78kQikupH3nHi_prop10 }
check __repair { idPLdy78kQikupH3nHi_prop10 <=> prop10o } |
oeis/239/A239024.asm | neoneye/loda-programs | 11 | 242509 | ; A239024: Number of n X 2 0..2 arrays with no element equal to the sum of elements to its left or one plus the sum of elements above it, modulo 3.
; Submitted by <NAME>
; 1,3,4,11,16,43,64,171,256,683,1024,2731,4096,10923,16384,43691,65536,174763,262144,699051,1048576,2796203,4194304,11184811,16777216,44739243,6710886... |
mc-sema/validator/x86/tests/SUB8mr.asm | randolphwong/mcsema | 2 | 178260 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; SUB8mr
;TEST_BEGIN_RECORDING
lea eax, [esp-0x4]
mov DWORD [eax], 0xc8
mov ebx, 0x2
sub BYTE [eax], bl
mov eax, [eax]
;TEST_END_RECORDING
|
engine/events/hidden_objects/new_bike.asm | opiter09/ASM-Machina | 1 | 22610 | PrintNewBikeText:
call EnableAutoTextBoxDrawing
tx_pre_jump NewBicycleText
NewBicycleText::
text_far _NewBicycleText
text_end
|
src/base/beans/util-beans-objects-maps.adb | RREE/ada-util | 60 | 27751 | <filename>src/base/beans/util-beans-objects-maps.adb
-----------------------------------------------------------------------
-- util-beans-objects-maps -- Object maps
-- Copyright (C) 2010, 2011, 2012, 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "... |
Dave/Algebra/Naturals/Ordering.agda | DavidStahl97/formal-proofs | 0 | 9249 | module Dave.Algebra.Naturals.Ordering where
open import Dave.Algebra.Naturals.Definition public
open import Dave.Algebra.Naturals.Addition public
open import Dave.Algebra.Naturals.Multiplication public
-- TO-DO: define relation
data _≤_ : ℕ → ℕ → Set where
z≤n : ∀ {n : ℕ} → zero ≤ n
... |
Assembly/keyboard/cursor.asm | WildGenie/Ninokuni | 14 | 16363 | ;;----------------------------------------------------------------------------;;
;; Update the cursor coordinates
;; Copyright 2015 <NAME> (aka pleonex)
;;
;; 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 ... |
archs/exec_arm7.als | mpardalos/memalloy | 20 | 3733 | module exec_arm7[E]
open exec_H[E]
sig Exec_Arm7 extends Exec_H {
ISB, DMBST, DMBLD: set E
}{
ISB + DMBST + DMBLD = F
disj[ISB, DMBST + DMBLD]
//NB: DMB = DMBST & DMBLD
// control dependencies only come out of reads
cd in (R -> EV)
}
one sig rm_DMBST extends PTag {}
one sig rm_DMBLD extends PTag {}
fun ... |
audio/sfx/fly_1.asm | AmateurPanda92/pokemon-rby-dx | 9 | 176614 | <gh_stars>1-10
SFX_Fly_1_Ch7:
noisenote 2, 15, 1, 18
noisenote 2, 0, 0, 0
noisenote 2, 10, 1, 18
noisenote 2, 0, 0, 0
noisenote 2, 13, 1, 18
noisenote 2, 0, 0, 0
noisenote 2, 8, 1, 18
noisenote 2, 0, 0, 0
noisenote 2, 11, 1, 18
noisenote 2, 0, 0, 0
noisenote 2, 6, 1, 18
noisenote 2, 0, 0, 0
noisenote 2, 9,... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_rename.asm | jpoikela/z88dk | 640 | 245138 | ; unsigned char esx_f_rename(unsigned char *old, unsigned char *new)
SECTION code_esxdos
PUBLIC _esx_f_rename
EXTERN l0_esx_f_rename_callee
_esx_f_rename:
pop af
pop hl
pop de
push de
push hl
push af
jp l0_esx_f_rename_callee
|
source/code/extern.asm | paulscottrobson/rpl-c | 1 | 27150 | ; ******************************************************************************
; ******************************************************************************
;
; Name : extern.asm
; Purpose : External functionality
; Author : <NAME> (<EMAIL>)
; Created : 10th January 2020
;
; ******************************... |
src/Numeric/Nat/Properties.agda | L-TChen/agda-prelude | 111 | 10011 | <filename>src/Numeric/Nat/Properties.agda<gh_stars>100-1000
module Numeric.Nat.Properties where
open import Prelude hiding (less-antisym; less-antirefl; leq-antisym)
open import Prelude.Nat.Properties public
open import Tactic.Nat
--- Subtraction ---
sub-less : {a b : Nat} → a ≤ b → b - a + a ≡ b
sub-less {zero} _ ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array23.adb | best08618/asylo | 7 | 9708 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array23.adb
-- { dg-do link }
with Array23_Pkg1;
with Array23_Pkg2;
procedure Array23 is
A : Array23_Pkg1.Arr;
begin
A(Array23_Pkg2.One)(1) := 0;
end;
|
voxels/16/voxels.asm | reenigne/reenigne | 92 | 167723 | ; Static Name Aliases
;
; $S892_tau EQU tau
TITLE voxels.cpp
.8087
INCLUDELIB SLIBCE
INCLUDELIB OLDNAMES.LIB
_TEXT SEGMENT WORD PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT WORD PUBLIC 'DATA'
_DATA ENDS
CONST SEGMENT WORD PUBLIC 'CONST'
CONST ENDS
_BSS SEGMENT WORD PUBLIC 'BSS'
_BSS ENDS
DGROUP GROUP CONST, _BSS... |
src/Dodo/Binary/SplittableOrder.agda | sourcedennis/agda-dodo | 0 | 5433 | {-# OPTIONS --without-K --safe #-}
module Dodo.Binary.SplittableOrder where
-- Stdlib imports
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open import Level using (Level; _⊔_)
open import Function using (_∘_)
open import Data.Empty using (⊥-elim)
open import Data.Sum using (_⊎_; inj₁; ... |
libtool/src/gmp-6.1.2/mpn/pa32/hppa1_1/pa7100/rshift.asm | kroggen/aergo | 1,602 | 103129 | <reponame>kroggen/aergo<gh_stars>1000+
dnl HP-PA mpn_rshift -- Shift a number right.
dnl Optimized for the PA7100, where is runs at 3.25 cycles/limb.
dnl Copyright 1992, 1994, 2000-2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you c... |
tests/src/test_utils-abstract_encoder-cobs_queue.ads | Fabien-Chouteau/COBS | 0 | 13298 | with COBS.Queue.Encoder;
package Test_Utils.Abstract_Encoder.COBS_Queue is
subtype Parent is Abstract_Encoder.Instance;
type Instance (Size : COBS.Queue.Encoder.Buffer_Size)
is limited new Parent with private;
type Acc is access all Instance;
type Any_Acc is access all Instance'Class;
overriding
... |
src/tom/library/sl/ada/visitfailurepackage.ads | rewriting/tom | 36 | 24566 | <reponame>rewriting/tom
package VisitFailurePackage is
VisitFailure: Exception;
procedure RaiseVisitFailure(msg: String);
end VisitFailurePackage;
|
Light/Literals/Definition/Negative.agda | zamfofex/lightlib | 1 | 2573 | {-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Literals.Definition.Negative where
open import Light.Library.Data.Natural as ℕ using (ℕ ; zero ; successor) renaming (ℓ to nℓ)
open import Light.Level using (++_ ; _⊔_)
open import Light.Variable.Sets
open import Light.Variab... |
programs/oeis/329/A329827.asm | karttu/loda | 1 | 163578 | ; A329827: Beatty sequence for (5+sqrt(37))/6.
; 1,3,5,7,9,11,12,14,16,18,20,22,24,25,27,29,31,33,35,36,38,40,42,44,46,48,49,51,53,55,57,59,60,62,64,66,68,70,72,73,75,77,79,81,83,84,86,88,90,92,94,96,97,99,101,103,105,107,108,110,112,114,116
add $0,1
mov $1,24
mul $1,$0
div $1,13
|
examples/brightness/program.asm | michielvoo/snes | 51 | 19532 | ; brightness
; Turn the brightness of the display up or down using the D-pad.
.INCLUDE "../lib/header.asm"
.INCLUDE "../lib/registers.asm"
.INCLUDE "../lib/settings.asm"
.INCLUDE "../lib/values.asm"
.INCLUDE "../lib/initialization.asm"
.BANK 0
.ORG 0
.SECTION ""
Main:
Reset
; Set accumulator to 8-bit mode
... |
docs/bugBounty2020/apps/proto-ota/sign/ada/keygen.adb | mikkowus/BESSPIN-Tool-Suite | 0 | 15064 | with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Sign; use SPARKNaCl.Sign;
with SPARKNaCl.Debug; use SPARKNaCl.Debug;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Conversion;
with Interfaces; use Interfaces;
with GNAT.SHA256; use GNAT.SHA256;
with GNAT.IO_Aux;
procedure KeyGen
is
PK1 : ... |
Commands/Miscellaneous Commands suite/round/round <real> rounding to nearest.applescript | looking-for-a-job/applescript-examples | 1 | 4719 | <filename>Commands/Miscellaneous Commands suite/round/round <real> rounding to nearest.applescript
#!/usr/bin/osascript
round -3.67
round -3.67 rounding to nearest
--> -4 |
awa/samples/src/atlas-reviews-beans.ads | Letractively/ada-awa | 0 | 17372 | <reponame>Letractively/ada-awa
-----------------------------------------------------------------------
-- atlas-reviews-beans -- Beans for module reviews
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may no... |
4/02.asm | Changlon/x86Assembly | 0 | 172924 | <filename>4/02.asm<gh_stars>0
section s1
offset dw str1,str2,num ; str1 = 100 , str2 = 105 , num = 20
section s2 align=16 VSTART=0X100
str1 db 'hello'
str2 db 'world'
section s3 align=16
num dw 0xbad
|
tests/assembly/BCS_BCC.asm | danecreekphotography/6502ts | 0 | 241546 | <gh_stars>0
; Verifies BCS and BCC
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.code
init:
bcs handleBCS ; Carry flag will be false, no branch
bcs handleBCS ; Carry flag will be true, branch
nop ; Padding in memory so the offset isn't zero
handleBCS:
lda #$42 ; Load something to... |
Categories/Adjunction/CompositionLaws.agda | copumpkin/categories | 98 | 6185 | {-# OPTIONS --universe-polymorphism #-}
module Categories.Adjunction.CompositionLaws where
open import Level
open import Relation.Binary using (Rel; IsEquivalence)
open import Data.Sum
open import Data.Product
open import Function using (flip)
open import Categories.Category
open import Categories.Functor hiding (eq... |
ModelRender/DrawLines.asm | ped7g/EliteNext | 0 | 25373 |
; ---------------------------------------------------------------------------------------------------------------------------------
DrawLinesCounter db 0
; Initial tests look OK
LL155:;
ClearLine: ; CLEAR LINEstr visited by EE31 when XX3 heap ready to draw/erase lines in XX19 ... |
tests/incbin/4.asm | dommilosz/customasm | 414 | 93130 | #d incbin("unk" @ 0xffff) ; error: expected string |
source/resolver/program-resolvers-basic.adb | reznikmm/gela | 0 | 8192 | <filename>source/resolver/program-resolvers-basic.adb
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Iterators;
with Program.Elements.Defining_Identifiers;
with Program.Interpretations;
with P... |
recode1.asm | joncampbell123/minx86dec | 19 | 14771 | <gh_stars>10-100
; recompiler test code #1
org 0
_start:
; JMP [reg] 16-bit
jmp ax
jmp bx
jmp cx
jmp dx
jmp si
jmp di
jmp bp
jmp sp
; JMP [reg] 32-bit
jmp eax
jmp ebx
jmp ecx
jmp edx
jmp esi
jmp edi
jmp ebp
jmp esp
; JMP [addr] 16-bit single-memref
jmp [bx]
jmp [bp]
jmp [si]
jmp [di]
; JMP [addr] 1... |
Win32/Win32.FleA/FleA.asm | fengjixuchui/Family | 3 | 245937 | <reponame>fengjixuchui/Family<filename>Win32/Win32.FleA/FleA.asm<gh_stars>1-10
.386
.model flat
jumps
extrn GetCommandLineA:PROC
extrn lstrcpyA:PROC
extrn FindFirstFileA:PROC
extrn CopyFileA:PROC
extrn FindNextFileA:PROC
extrn MessageBoxA:PROC
extrn ExitProcess:PROC
.data
CopyRight db 'Win32.FleA Virus'
... |
src/Lambda/Virtual-machine.agda | nad/definitional-interpreters | 0 | 13080 | ------------------------------------------------------------------------
-- A virtual machine
------------------------------------------------------------------------
open import Prelude
import Lambda.Virtual-machine.Instructions
module Lambda.Virtual-machine
{Name : Type}
(open Lambda.Virtual-machine.Instructio... |
examples/hello_world.ffrisc.asm | oshaboy/FFRISC | 2 | 8739 | <gh_stars>1-10
RELOCATE 0
;SET DP to 0x0100
XOR X,X
XOR Y,Y
PUTF Y,0
RESET
YXDP
;get all characters loop
RESET
MEMORY A,[DP+X]
AND A,A ;check if A=0
;halt if A!=0
FLIPF
SKIPF
HALT
;set B to 7
XOR B,B
PUTF B,0
PUTF B,1
PUTF B,2
;set Y to -5
XOR Y,Y
PUTF Y,2
NOT Y
;print loop
ADDF A,A
OUT
SET
DECF B
SKIPF ;if B equal... |
ioq3/build/release-js-js/baseq3/ui/ui_mfield.asm | RawTechnique/quake-port | 1 | 88468 | export MField_Draw
code
proc MField_Draw 1060 20
ADDRFP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRFP4 4
ADDRFP4 4
INDIRI4
ASGNI4
ADDRFP4 12
ADDRFP4 12
INDIRI4
ASGNI4
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ASGNI4
ADDRFP4 0
INDIRP4
CNSTI4 12
ADDP4
ARGP4
ADDRLP4 1048
ADDRGP4 qk_strlen
CALLU4
ASGNU4
ADDRLP4 4
ADDRLP4 104... |
ada/is_palindrome.ads | procrastiraptor/euler | 1 | 14549 | <filename>ada/is_palindrome.ads
generic
type Element is private;
type Index is (<>);
type Seq is array (Index range <>) of Element;
function Is_Palindrome(S: Seq) return Boolean;
|
programs/oeis/174/A174804.asm | neoneye/loda | 22 | 95016 | <reponame>neoneye/loda
; A174804: a(n) = n*ceiling(sqrt(n))*floor(sqrt(n)).
; 0,1,4,6,16,30,36,42,48,81,120,132,144,156,168,180,256,340,360,380,400,420,440,460,480,625,780,810,840,870,900,930,960,990,1020,1050,1296,1554,1596,1638,1680,1722,1764,1806,1848,1890,1932,1974,2016,2401,2800
mov $1,$0
seq $1,38759 ; a(n) = ce... |
project/ntstub/i386/10_0_15063_sp0_ssdt_sysenter.asm | rmusser01/windows-syscall-table | 6 | 94464 | ; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 10.0.15063-sp0-windows-10-rs2-1703 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtAccessCheck( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ... |
Cue Lists/Add new section heading.applescript | bsmith96/Qlab-Scripts | 1 | 1830 | -- @description Add new section heading
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 1.0
-- @testedmacos 10.14.6
-- @testedqlab 4.6.10
-- @about Adds a memo marker, and a "go-to" cue in the group above to skip it in the cue stack
-- @separateprocess TRUE
-- @changelog
-- v1.0 + init
-- USER DEFINED VAR... |
kernel/lib/a32/cpu.asm | Tiihala/Dancy | 11 | 94930 | ;;
;; Copyright (c) 2019, 2020, 2021 <NAME>
;;
;; Permission to use, copy, modify, and/or distribute this software for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.
;;
;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ... |
Linux/ObfuscatedExecve.asm | EgeBalci/Shellcode | 2 | 162520 | Obfuscated Execve /bin/sh Shellcode
Greetz : Bomberman&T-Rex
Author : B3mB4m
Tested On : Ubuntu 14.04
/* Working on SLAE & SPSE <3 */
Disassembly of section .text:
08048060 <.text>:
8048060: eb 10 jmp 0x8048072
8048062: 5e pop %esi
8048063: 31 c9 ... |
ispw/src/test/demo-workspace/rjk2/ASM/TRIRPTA.asm | david-kennedy/vscode-ispw | 5 | 4018 | <reponame>david-kennedy/vscode-ispw
TRIRPTA CSECT
R1 EQU 1
R2 EQU 2
R3 EQU 3
R5 EQU 5
R6 EQU 6
R11 EQU 11
R12 EQU 12
R13 EQU 13
R14 EQU 14
R15 EQU 15
USING *,R15
********************************************************
SETUP EQU ... |
programs/oeis/234/A234041.asm | jmorken/loda | 1 | 240548 | ; A234041: a(n) = binomial(n+2,2)*gcd(n,3)/3, n >= 0.
; 1,1,2,10,5,7,28,12,15,55,22,26,91,35,40,136,51,57,190,70,77,253,92,100,325,117,126,406,145,155,496,176,187,595,210,222,703,247,260,820,287,301,946,330,345,1081,376,392,1225,425,442,1378,477,495,1540,532,551,1711,590,610,1891,651,672,2080,715,737,2278,782,805,2485,... |
bachelor/computer-systems/Mars/9.asm | Brent-rb/University | 0 | 84246 | <reponame>Brent-rb/University<gh_stars>0
####################################################################
.data
#<Hier komen de gegevensdeclaraties>
askchar:
.asciiz "Geef een character in: "
newline:
.asciiz "\n"
gelijk:
.asciiz "\nDe letter is in de zin gevonden.\n"
verschillend:
.asciiz "\nDe letter is ni... |
src/yaml-abstract_object.ads | sparre/aYAML | 2 | 21944 | <filename>src/yaml-abstract_object.ads
package YAML.Abstract_Object is
type Instance is abstract tagged null record;
subtype Class is Instance'Class;
function Get (Item : in Instance;
Name : in String) return Class is abstract;
function Get (Item : in Instance;
... |
chocopyInt/grammar/Chocopy.g4 | jjpulidos/Programming-Languages-2020 | 1 | 6889 | grammar Chocopy;
tokens { INDENT, DEDENT }
@lexer::members {
// A queue where extra tokens are pushed on (see the NEWLINE lexer rule).
private java.util.LinkedList<Token> tokens = new java.util.LinkedList<>();
// The stack that keeps track of the indentation level.
private java.util.Stack<Integer>... |
alloy4fun_models/trashltl/models/4/eBeoahi6whmX3JhuF.als | Kaixi26/org.alloytools.alloy | 0 | 1728 | open main
pred ideBeoahi6whmX3JhuF_prop5 {
some f: File | f not in Trash and eventually f in Trash
}
pred __repair { ideBeoahi6whmX3JhuF_prop5 }
check __repair { ideBeoahi6whmX3JhuF_prop5 <=> prop5o } |
libsrc/gfx/narrow/drawr.asm | Frodevan/z88dk | 4 | 169541 | <reponame>Frodevan/z88dk<gh_stars>1-10
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: drawr.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void drawr(int x, int y)
IF !__CPU_INTEL__ & !__CPU_GB... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_ip_community_list.g4 | zabrewer/batfish | 763 | 2157 | parser grammar CiscoNxos_ip_community_list;
import CiscoNxos_common;
options {
tokenVocab = CiscoNxosLexer;
}
ip_community_list
:
COMMUNITY_LIST
(
icl_expanded
| icl_standard
)
;
icl_expanded
:
EXPANDED name = ip_community_list_name
(
SEQ seq = ip_community_list_seq
)? action = line_action... |
oeis/300/A300254.asm | neoneye/loda-programs | 11 | 104477 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A300254: a(n) = 25*(n + 1)*(4*n + 3)*(5*n + 4)/3.
; 100,1050,3850,9500,19000,33350,53550,80600,115500,159250,212850,277300,353600,442750,545750,663600,797300,947850,1116250,1303500,1510600,1738550,1988350,2261000,2557500,2878850,3226050,3600100,4002000,4432750,4893350,5... |
Koi.g4 | koi-lang/grammars | 0 | 4489 | <reponame>koi-lang/grammars
grammar Koi;
/*
Parser Rules
*/
program: line* EOF;
line: (comment | statement | expression | block | function_block | procedure_block | while_block | for_block | if_stream | class_block | when_block | enum_block | struct_block) (SEMICOLON line)*;
// ending: SEMICOLON? NEWLINE | SEMIC... |
src/aco-sdo_commands.ads | jonashaggstrom/ada-canopen | 6 | 23546 | with ACO.Messages;
with ACO.OD_Types;
with ACO.Utils.Byte_Order;
with Interfaces;
with System;
package ACO.SDO_Commands is
use Interfaces;
use ACO.Messages;
use ACO.OD_Types;
use ACO.Utils.Byte_Order;
type Unsigned_3 is mod 2 ** 3 with Size => 3;
type Unsigned_2 is mod 2 ** 2 with Size => 2;
sub... |
models/amalgam/misc/not-so-funny-srcloc.als | transclosure/Amalgam | 4 | 5 | abstract sig Name {
address: set (Addr + Name)
}
sig Alias, Group extends Name {}
sig Addr {}
fact {
no ^address & iden
(^address & (Name -> Addr)).Addr = Name
let aliasLink = (Alias -> (Addr + Name)) & address | {
~aliasLink.aliasLink in iden
}
}
run {} for 1
run {} for 2
run {} for 3
run {} for 4
run {} ... |
Scripts/common/maploader.asm | 1888games/golf | 1 | 244250 | MAPLOADER: {
* = * "Maploader"
TileScreenLocations:
.byte 0,1,40,41
Column:
.byte 0
Row:
.byte 0
CurrentMap: .word $0000
CurrentTiles: .word $0000
CurrentColours: .word $0000
Maps: .word $7000, $7500, $7700
MapTiles: .word $7104, $7104, $7104
Colours: .word $71a0, $71a0, $71... |
source/amf/uml/amf-internals-uml_profiles.ads | svn2github/matreshka | 24 | 7376 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93006a.ada | best08618/asylo | 7 | 26849 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93006a.ada
-- C93006A.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
-- unlimi... |
source/slim-messages-bled.adb | reznikmm/slimp | 0 | 2836 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Message_Visiters;
package body Slim.Messages.bled is
List : constant Field_Description_Array :=
(1 => (Uint_16_Field, 1)); -- LED... |
src/Tactic/Nat/NF.agda | lclem/agda-prelude | 0 | 3452 | <reponame>lclem/agda-prelude
module Tactic.Nat.NF where
open import Prelude
open import Tactic.Nat.Exp
open import Container.Bag
Tm : Set → Set
Tm Atom = List Atom
NF : Set → Set
NF Atom = Bag (Tm Atom)
product1 : List Nat → Nat
product1 [] = 1
product1 (x ∷ xs) = foldl (λ n x → n * x) x xs
module _ {Atom : Set} ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.