max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
programs/oeis/017/A017264.asm | neoneye/loda | 22 | 14045 | <gh_stars>10-100
; A017264: a(n) = (9*n + 8)^8.
; 16777216,6975757441,208827064576,2251875390625,14048223625216,62259690411361,218340105584896,645753531245761,1677721600000000,3936588805702081,8507630225817856,17181861798319201,32784148919812096,59604644775390625,103953325454500096,174859124550883201,284936905588473856... |
src/util.adb | docandrew/YOTROC | 4 | 9691 | package body util is
function toHexString(r : in Unsigned_32) return HexString32 is
ret : HexString32 := "0xDEADBEEF";
begin
ret(1) := '0';
ret(2) := 'x';
ret(3) := hexdigits(HexDigitRange(Shift_Right((r and 16#F000_0000#), 28)));
ret(4) := hexdigits(HexDigitRange(Shift_R... |
src/main/fragment/mos6502-common/vdum1=vdum1_plus_pduz2_derefidx_vbuyy.asm | jbrandwood/kickc | 2 | 24200 | <filename>src/main/fragment/mos6502-common/vdum1=vdum1_plus_pduz2_derefidx_vbuyy.asm
lda {m1}
clc
adc ({z2}),y
sta {m1}
iny
lda {m1}+1
adc ({z2}),y
sta {m1}+1
iny
lda {m1}+2
adc ({z2}),y
sta {m1}+2
iny
lda {m1}+3
adc ({z2}),y
sta {m1}+3 |
programs/oeis/164/A164532.asm | karttu/loda | 0 | 26792 | ; A164532: a(n) = 6*a(n-2) for n > 2; a(1) = 1, a(2) = 4.
; 1,4,6,24,36,144,216,864,1296,5184,7776,31104,46656,186624,279936,1119744,1679616,6718464,10077696,40310784,60466176,241864704,362797056,1451188224,2176782336,8707129344,13060694016,52242776064,78364164096
add $0,4
mov $2,6
lpb $0,1
sub $0,1
mov $3,0
add... |
tools-src/gnu/gcc/gcc/ada/g-traceb.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 9568 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_clear.asm | teknoplop/z88dk | 8 | 85966 |
; void p_forward_list_alt_clear(p_forward_list_alt_t *list)
SECTION code_clib
SECTION code_adt_p_forward_list_alt
PUBLIC p_forward_list_alt_clear
EXTERN asm_p_forward_list_alt_clear
defc p_forward_list_alt_clear = asm_p_forward_list_alt_clear
|
zxn_input_line.asm | imneme/spectrum-minilib | 1 | 19432 | include "romdefs.inc"
GLOBAL zxn_input_prepare
GLOBAL zxn_input_line
GLOBAL zxn_input_finish
GLOBAL _input_size
EXTERN _call_with_errhandler
EXTERN _zxn_window_channel
SECTION data_clib
_input_size:
defb 0
_input_buffer:
defw 0
SECTION code_clib
zxn_input_prepare:
ld hl, -384
add ... |
Cubical/Data/Queue/Finite.agda | dan-iel-lee/cubical | 0 | 13274 | {-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-}
module Cubical.Data.Queue.Finite where
open import Cubical.Foundations.Everything
open import Cubical.Foundations.SIP
open import Cubical.Structures.Queue
open import Cubical.Data.Maybe
open import Cubical.Data.List
open import Cubical.Data.Sigma
op... |
include/sf-graphics-shape.ads | Fabien-Chouteau/ASFML | 0 | 1713 | <filename>include/sf-graphics-shape.ads
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for ... |
Data/ships/Ophidian.asm | ped7g/EliteNext | 0 | 88006 | <reponame>ped7g/EliteNext
Ophidian: DB $02, $0E, $88
DW OphidianEdges
DB OphidianEdgesSize
DB $00, $3C
DB OphidianVertSize
DB OphidianEdgesCnt
DB $00, $32
... |
programs/oeis/143/A143462.asm | neoneye/loda | 22 | 84633 | ; A143462: Expansion of 1/(1 + 4*x + 8*x^2).
; 1,-4,8,0,-64,256,-512,0,4096,-16384,32768,0,-262144,1048576,-2097152,0,16777216,-67108864,134217728,0,-1073741824,4294967296,-8589934592,0,68719476736,-274877906944,549755813888,0,-4398046511104,17592186044416
mov $3,$0
mul $3,2
add $0,$3
mov $1,5
lpb $0
sub $0,1
add ... |
Manuals/HowToCode_source/startup.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 21 | 6899 | <reponame>jonathanbennett73/amiga-pjz-planet-disco-balls
* Startup.asm - A working tested version of startup from Howtocode7
*
* Written by CJ of SAE... Freeware. Share and Enjoy!
*
* This code sets up one of two copperlists (one for PAL and one for NTSC)
* machines. It shows something to celebrate 3(?) years sin... |
Task/Tic-tac-toe/AppleScript/tic-tac-toe.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3162 | property OMask : missing value
property XMask : missing value
property winningNumbers : {7, 56, 73, 84, 146, 273, 292, 448}
property difficulty : missing value
repeat
set OMask to 0
set XMask to 0
if button returned of (display dialog "Who should start?" buttons {"I shoud", "CPU"}) = "CPU" then set OMask to ... |
kernel/temp/miscellany.asm | paulscottrobson/flat | 0 | 28075 | ; ***************************************************************************************
; ***************************************************************************************
;
; Name : miscellany.src
; Author : <NAME> (<EMAIL>)
; Date : 12th March 2019
; Purpose : Miscellaneous words
;
; *****************... |
tests/syntax_examples/src/operator_subprogram_calls.adb | TNO/Dependency_Graph_Extractor-Ada | 1 | 21332 | <reponame>TNO/Dependency_Graph_Extractor-Ada<gh_stars>1-10
package body Operator_Subprogram_Calls is
type R is
record
I : Integer;
end record;
function "<"(P1 : R; P2 : R) return Boolean;
procedure Test is
R1 : R := (I => 42);
R2 : R := (I => 42);
function Foo(I1... |
src/shared/generic/lsc-internal-sha512.adb | Componolit/libsparkcrypto | 30 | 14374 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, <NAME>
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modif... |
libsrc/target/tvc/tvc_vmode.asm | dikdom/z88dk | 0 | 244744 | ; Videoton TV Computer C stub
; <NAME> - 2019
;
; Set video mode
;
SECTION code_clib
PUBLIC tvc_vmode
INCLUDE "target/tvc/def/tvc.def"
;
; Entry: 0, 1, 2 - 2c, 4c, 16c mode
;
.tvc_vmode
._tvc_vmode
ld hl,2
add hl,sp
ld c,(hl)
rst $30
defb VMODE ; Vid... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_693.asm | ljhsiun2/medusa | 9 | 9040 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x183c7, %r10
nop
nop
nop
nop
nop
add $20801, %rdi
and $0xffffffffffffffc0, %r10
movaps (%r10), %xmm7
vpextrq $1, %xmm7, %rsi
sub $20667, %r12
lea addresses_UC_h... |
data/phone/text/stanley_callee.asm | pokeachromicdevs/pokeoctober | 1 | 102059 | <gh_stars>1-10
UnknownText_0x1b5a3b:
text "Hello, this is"
line "@"
text_ram wStringBuffer3
text " speaking."
para "Oh. Hi, <PLAY_G>!"
line "Good morning!"
done
UnknownText_0x1b5a74:
text "Hello, this is"
line "@"
text_ram wStringBuffer3
text " speaking."
para "Oh, hi, <PLAY_G>!"
done
UnknownText_0x1b... |
test/Fail/AmbiguousTopLevelModuleName.agda | shlevy/agda | 1,989 | 4378 | <reponame>shlevy/agda<filename>test/Fail/AmbiguousTopLevelModuleName.agda
module AmbiguousTopLevelModuleName where
import Imports.Ambiguous
|
src/yaml/lexer-source.ads | My-Colaborations/dynamo | 32 | 7561 | <filename>src/yaml/lexer-source.ads
-- part of ParserTools, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Finalization;
package Lexer.Source is
pragma Preelaborate;
-- a Source is anything that provides a character stream. Sources are always
-- singl... |
Library/Spreadsheet/Spreadsheet/spreadsheetFill.asm | steakknife/pcgeos | 504 | 91168 | <filename>Library/Spreadsheet/Spreadsheet/spreadsheetFill.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: spreadsheetFill.asm
AUTHOR: <NAME>, Aug 7, 1992
ROUTINES:
Name Descriptio... |
data/wildPokemon/route4.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 92993 | <reponame>etdv-thevoid/pokemon-rgb-enhanced
Route4Mons:
db $14
IF DEF(_RED)
db 8,SPEAROW
db 10,SPEAROW
db 8,EKANS
db 6,EKANS
db 7,MANKEY
db 9,MANKEY
db 11,MANKEY
db 12,SPEAROW
db 10,EKANS
db 12,EKANS
ELSE
db 8,SPEAROW
db 10,SPEAROW
db 8,SANDSHREW
db 6,SANDSHREW
db 7,MANKEY
db 9,MANKEY
db 11,MANKEY
db... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2338.asm | ljhsiun2/medusa | 9 | 174063 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1a16f, %rsi
lea addresses_WC_ht+0x44e3, %rdi
clflush (%rsi)
nop
nop
nop
nop
add %r11, %r11
mov $90, %rcx
rep movsq
inc %rsi
lea addresses_UC_ht+0x1e2bb, %rbx
nop
nop
nop
nop
... |
oeis/025/A025549.asm | neoneye/loda-programs | 11 | 25203 | ; A025549: a(n) = (2n-1)!!/lcm{1,3,5,...,2n-1}.
; Submitted by <NAME>(s4)
; 1,1,1,1,3,3,3,45,45,45,945,945,4725,42525,42525,42525,1403325,49116375,49116375,1915538625,1915538625,1915538625,86199238125,86199238125,603394666875,30773128010625,30773128010625,1692522040584375,96473756313309375,96473756313309375,96473756313... |
programs/oeis/254/A254710.asm | jmorken/loda | 1 | 21695 | <filename>programs/oeis/254/A254710.asm
; A254710: Indices of centered square numbers (A001844) which are also pentagonal numbers (A000326).
; 1,2,9,22,119,300,1651,4172,22989,58102,320189,809250,4459651,11271392,62114919,156990232,865149209,2186591850,12049974001,30455295662,167834486799,424187547412,2337632841179,590... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_direct_io.adb | best08618/asylo | 7 | 10654 | -- { dg-do run }
with Ada.Direct_IO;
procedure Test_Direct_IO is
package BDIO is new Ada.Direct_IO (Boolean);
use BDIO;
FD : File_Type;
begin
Create (FD, Form => "shared=yes");
Reset (FD);
Close (FD);
end Test_Direct_IO;
|
Cubical/Data/FinSet/Induction.agda | howsiyu/cubical | 0 | 15326 | {-
Inductive eliminators to establish properties of all finite sets directly
-}
{-# OPTIONS --safe #-}
module Cubical.Data.FinSet.Induction where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv renaming (_∙ₑ_ to _⋆_)
open import Cubical.Foundatio... |
programs/oeis/028/A028310.asm | karttu/loda | 1 | 5467 | <gh_stars>1-10
; A028310: Expansion of (1 - x + x^2) / (1 - x)^2 in powers of x.
; 1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71
pow $1,$0
add $1,$0
|
programs/oeis/064/A064727.asm | neoneye/loda | 22 | 163663 | <reponame>neoneye/loda<filename>programs/oeis/064/A064727.asm
; A064727: Number of pairs x,y such that 0 < x <= y < n and x+y = n and x*y = kn for some k.
; 0,0,0,1,0,0,0,1,1,0,0,1,0,0,0,2,0,1,0,1,0,0,0,1,2,0,1,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,1,1,0,0,2,3,2,0,1,0,1,0,1,0,0,0,1,0,0,1,4,0,0,0,1,0,0,0,3,0,0,2,1,0,0,0,2,4,0... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94008b.ada | best08618/asylo | 7 | 15956 | -- C94008B.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... |
nv_keyboard_const.asm | nealvis/nv_c64_util | 0 | 89567 | <reponame>nealvis/nv_c64_util
//////////////////////////////////////////////////////////////////////////////
// nv_keyboard_const.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// contains key constants... |
code/title2.asm | zxwanderer/A-World-of-One-way | 7 | 178377 | <filename>code/title2.asm
objectsData: ; moved from variables since this part of the program is used only 1 time at start !!! takes 344 bytes, 320 is required!
; Concurso juegos ASM 2021
module TITLE_2
run:
ld a,1
call clearAttributes
call clearScreen
ld hl,path
ld (pathAddress),hl
ld a,#80
ld (byteValue),a
... |
oeis/114/A114201.asm | neoneye/loda-programs | 11 | 12703 | <reponame>neoneye/loda-programs
; A114201: C(1+2*n,1+n)*C(6+2*n,0+n)
; Submitted by <NAME>
; 1,24,450,7700,126126,2018016,31855824,498841200,7773608700,120784604512,1873533922260,29034766346040,449790717967500,6967723880880000,107959904588606400,1673378521123399200,25949671331244477300,402629171550425820000,62507590244... |
tests/items-test_data-tests-objects_container.ads | thindil/steamsky | 80 | 3532 | <gh_stars>10-100
package Items.Test_Data.Tests.Objects_Container is
end Items.Test_Data.Tests.Objects_Container;
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_560.asm | ljhsiun2/medusa | 9 | 245376 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_560.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x6c0c, %rbp
xor $54739, %rcx
movb (%rbp), %bl
nop
xor $40129, %rdx
lea addresses_WT_ht+0x29dc, %... |
programs/oeis/183/A183569.asm | neoneye/loda | 22 | 246549 | ; A183569: n+floor(sqrt(4n-3)), complement of A024206.
; 2,4,6,7,9,10,12,13,14,16,17,18,20,21,22,23,25,26,27,28,30,31,32,33,34,36,37,38,39,40,42,43,44,45,46,47,49,50,51,52,53,54,56,57,58,59,60,61,62,64,65,66,67,68,69,70,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,1... |
org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook1b.als | Kaixi26/org.alloytools.alloy | 527 | 3843 | <reponame>Kaixi26/org.alloytools.alloy
module tour/addressBook1b ----- Page 8
sig Name, Addr { }
sig Book {
addr: Name -> lone Addr
}
pred show [b: Book] {
#b.addr > 1
}
// This command generates an instance similar to Fig 2.2
run show for 3 but 1 Book
|
Experiment/Transitive.agda | rei1024/agda-misc | 3 | 14603 | {-# OPTIONS --without-K --safe #-}
module Experiment.Transitive where
open import Level
open import Relation.Binary
open import Relation.Binary.Construct.Closure.Transitive
open import Relation.Binary.PropositionalEquality as ≡ using (_≡_)
insert-permutation : ∀ x xs → insert x xs ↭ x ∷ xs
insert-pres-Sorted : ∀ x {x... |
examples/str_parse.asm | mossx-dev/Mycore | 0 | 10939 | ;; Author: <NAME>
;; Date: 20-Oct-21
%include "std/sys.asm"
%include "std/args.asm"
%include "std/str.asm"
global _start
section .data
is_num: db " is a number", 0
not_num: db " is not a number", 0
arg1: db "<number>", 0
section .text
_start:
mov r15, rsp
call main
mov ... |
examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Maybe.agda | larrytheliquid/agda | 0 | 511 | <reponame>larrytheliquid/agda
module Data.Maybe where
data Maybe (a : Set) : Set where
nothing : Maybe a
just : a -> Maybe a
|
tools/aflex/src/misc.adb | svn2github/matreshka | 24 | 25612 | <gh_stars>10-100
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by <NAME> of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyrigh... |
src/test_include/test2.asm | hra1129/zma | 8 | 243330 | ; -----------------------------------------------------------------------------
; test program
; -----------------------------------------------------------------------------
hoge macro
include "sub.asm"
endm
hoge
hoge
include "sub_macro1.asm"
moge
|
alloy4fun_models/trashltl/models/4/kKrKCfNsDs7SX9ZnF.als | Kaixi26/org.alloytools.alloy | 0 | 251 | <gh_stars>0
open main
pred idkKrKCfNsDs7SX9ZnF_prop5 {
eventually some f:File | f in Trash
}
pred __repair { idkKrKCfNsDs7SX9ZnF_prop5 }
check __repair { idkKrKCfNsDs7SX9ZnF_prop5 <=> prop5o } |
asm/linux/amd64/helloworld.asm | thrig/scripts | 17 | 13263 | ; minimal (as far as I can make it, by executable size) "Hello World"
; for Linux amd64 with nasm
BITS 64
org 0x08048000 ; default executable load address
ehdr: ; Elf64_Ehdr
db 0x7f,"ELF"
; wrong wrong wrong wrong wrong but it saves us a few bytes (why does
; ... |
code-examples/agda/functors.agda | mstone/poly | 53 | 17188 | <reponame>mstone/poly<filename>code-examples/agda/functors.agda
{-# OPTIONS --type-in-type #-}
module functors where
open import prelude
record Category {O : Set} (𝒞[_,_] : O → O → Set) : Set where
constructor 𝒾:_▸:_𝒾▸:_▸𝒾:
infixl 8 _▸_
field
𝒾 : ∀ {x} → 𝒞[ x , x ]
_▸_ : ∀ {x y z} → 𝒞[ x , y ] → �... |
UPC Microcontroladores 2019-2/Semana 6/microhaters.X/microhators.asm | tocache/picomones | 5 | 175744 | <filename>UPC Microcontroladores 2019-2/Semana 6/microhaters.X/microhators.asm<gh_stars>1-10
list p=18f4550
#include "p18f4550.inc"
#include "LCD_LIB.asm"
CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits (No prescale (4 MHz oscillator input drives PLL directly))
CONFIG CPUDIV = OSC... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_654.asm | ljhsiun2/medusa | 9 | 242512 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbx
push %rcx
lea addresses_D_ht+0x8257, %r10
nop
nop
nop
nop
nop
xor $19430, %rcx
vmovups (%r10), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %rbx
nop
nop
xor %r14, %r14
pop %rcx
pop %rbx
pop %r14
pop %r10
ret
.global s_faulty_load
... |
programs/oeis/073/A073217.asm | neoneye/loda | 22 | 167047 | <reponame>neoneye/loda
; A073217: The terms of A055237 (sums of two powers of 5) divided by 2.
; 1,3,5,13,15,25,63,65,75,125,313,315,325,375,625,1563,1565,1575,1625,1875,3125,7813,7815,7825,7875,8125,9375,15625,39063,39065,39075,39125,39375,40625,46875,78125
seq $0,131437 ; (A000012 * A131436) + (A131436 * A000012) - ... |
Univalence/Pi0Examples.agda | JacquesCarette/pi-dual | 14 | 9378 | <filename>Univalence/Pi0Examples.agda
{-# OPTIONS --without-K #-}
module Pi0Examples where
open import PiU using (U; ZERO; ONE; PLUS; TIMES)
open import PiLevel0
using (_⟷_;
unite₊l; uniti₊l; unite₊r; uniti₊r; swap₊; assocl₊; assocr₊;
unite⋆l; uniti⋆l; unite⋆r; uniti⋆r; swap⋆; assocl⋆; assocr⋆;
... |
src/calendars.asm | ViGrey/calendar_dot_exe | 2 | 8250 | ; Copyright (C) 2020-2021, <NAME>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and t... |
programs/oeis/081/A081555.asm | jmorken/loda | 1 | 168007 | <reponame>jmorken/loda<gh_stars>1-10
; A081555: a(n) = 6*a(n-1) - a(n-2) - 4, a(0)=3, a(1)=7.
; 3,7,35,199,1155,6727,39203,228487,1331715,7761799,45239075,263672647,1536796803,8957108167,52205852195,304278004999,1773462177795,10336495061767,60245508192803,351136554095047,2046573816377475,11928306344169799,6952326424864... |
programs/oeis/020/A020735.asm | neoneye/loda | 22 | 80122 | ; A020735: Odd numbers >= 5.
; 5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,131
mul $0,2
mov $1,5
add $1,$0
mov $0,$1
|
ModePagingTest.asm | eszkadev/UEFI-32bit-asm-examples | 21 | 96882 | ;
; ModePagingTest.asm
; 2015 <NAME>
;
format pe dll efi
entry main
section '.text' code executable readable
include 'efi.inc'
; print args: STRING
print:
mov eax, EFI_SYSTEM_TABLE.ConOut
mov ecx, [SystemTable]
add ecx, eax
mov ecx, [ecx]
mov edx, ecx
mov eax, SIMPLE_TEXT_OUTPUT_INTERF... |
src/semantica-gci.adb | alvaromb/Compilemon | 1 | 19501 | <gh_stars>1-10
package body Semantica.Gci is
package Pila_Proc is new Pilas (Num_Proc);
use Pila_Proc;
Pproc : Pila_Proc.Pila;
package Pila_Param is new Pilas (T_Param);
use Pila_Param;
Pparam : Pila_Param.Pila;
procedure Genera
(instr : in Tinstruccio;
C1 : in Camp := Camp_Nul;
... |
ver0/reference/chapter5/d/loader.asm | RongbinZhuang/simpleOS | 0 | 100165 | <filename>ver0/reference/chapter5/d/loader.asm
org 0100h
jmp LABEL_START ; Start
; 下面是 FAT12 磁盘的头, 之所以包含它是因为下面用到了磁盘的一些信息
%include "fat12hdr.inc"
%include "load.inc"
%include "pm.inc"
; GDT
; 段基址 段界限, 属性
LABEL_GDT: Descriptor 0, 0, 0 ; 空描述符
LABEL_DESC_FLA... |
oeis/099/A099234.asm | neoneye/loda-programs | 11 | 25716 | ; A099234: A trisection of 1/(1-x-x^4).
; Submitted by <NAME>
; 1,1,4,10,26,69,181,476,1252,3292,8657,22765,59864,157422,413966,1088589,2862617,7527704,19795288,52054840,136886433,359964521,946583628,2489191330,6545722210,17213011605,45264335853,119029728628,313007493212,823102698260,2164478699633,5691839002677,1496759... |
source/nodes/program-nodes-floating_point_types.ads | optikos/oasis | 0 | 26613 | <reponame>optikos/oasis<filename>source/nodes/program-nodes-floating_point_types.ads<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Ex... |
src/ada-libc/src/libc-unistd.ads | mstewartgallus/linted | 0 | 28342 | -- Copyright 2015,2017 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in ... |
source/tasking/machine-pc-freebsd/s-natint.adb | ytomino/drake | 33 | 6122 | with C.signal;
package body System.Native_Interrupts is
use type C.signed_int;
procedure Mask (How : C.signed_int; Interrupt : Interrupt_Id);
procedure Mask (How : C.signed_int; Interrupt : Interrupt_Id) is
Mask : aliased C.signal.sigset_t;
Dummy : C.signed_int;
R : C.signed_int;
begin
... |
AppleScripts/Applications/Pro Tools/Mouth De-Click.applescript | fantopop/post-production-scripts | 16 | 3010 | --
-- AppleScripts for Avid Pro Tools.
--
-- Script description:
-- Renders selection with iZotope Mouth De-click.
--
-- (C) 2020 <NAME>
-- http://github.com/fantopop
--
set plugin_name to "RX 7 Mouth De-click"
set with_fades to true
tell application "Finder"
tell application "System Events"
set PT to the first a... |
Sample/SampleAsm.asm | absindx/L6502 | 0 | 17588 | ;--------------------------------------------------
; Vector
.org $FFFA
.dw NMI
.dw Reset
.dw Interrupt
.org $FFF0
NMI:
Interrupt:
BRK
RTI
.org $8000
Reset:
LDA #$42
STA <Argument_A
LDA #42
STA <Argument_B
JSR Multiply
NOP
BRK
;--------------------------------------------------
; Calculation
Argument... |
resources/experiments/dynamic_simple/secondary/build/output.asm | tomwei7/LA104 | 336 | 656 | <gh_stars>100-1000
output.elf: file format elf32-littlearm
Disassembly of section .text:
08008000 <g_pfnVectors>:
8008000: 00 27 00 20 71 83 00 08 2f 83 00 08 2f 83 00 08 .'. q.../.../...
8008010: 2f 83 00 08 2f 83 00 08 2f 83 00 08 00 00 00 00 /.../.../.......
...
800802c: 2d 83 00 08 2d 83 00 08 0... |
programs/oeis/117/A117973.asm | neoneye/loda | 22 | 94797 | ; A117973: a(n) = 2^(wt(n)+1), where wt() = A000120().
; 2,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,4,8,8,16,8,16,16,32,8,16,16,32,16,32,32,64,4,8,8,16,8,16,16,32,8,16,16,32,16,32,32,64,8,16,16,32,16,32,32,64,16,32,32,64,32,64,64,128,4,8,8,16,8,16,16,32,8,16,16,32,16,32
mov $1,$0
lpb $1
div $0,2
sub $1,$0
lpe
mov $0,2
p... |
programs/oeis/186/A186422.asm | karttu/loda | 0 | 240081 | <reponame>karttu/loda<gh_stars>0
; A186422: First differences of A186421.
; 1,1,-1,3,-1,3,-3,5,-3,5,-5,7,-5,7,-7,9,-7,9,-9,11,-9,11,-11,13,-11,13,-13,15,-13,15,-15,17,-15,17,-17,19,-17,19,-19,21,-19,21,-21,23,-21,23,-23,25,-23,25,-25,27,-25,27,-27,29,-27,29,-29,31,-29,31,-31,33,-31,33,-33,35,-33,35,-35,37,-35,37,-37,39... |
src/test/asm/pe_gui_dll.asm | dykstrom/fasm-ant | 0 | 10629 | format pe gui 4.0 dll at 7000000h
|
src/wiki-filters-collectors.ads | jquorning/ada-wiki | 18 | 3891 | -----------------------------------------------------------------------
-- wiki-filters-collectors -- Wiki word and link collectors
-- Copyright (C) 2016, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
src/test/resources/elfsamples/tiny/ls.asm | thingswars/johnnyriscv | 3 | 168853 | ;; ls.asm: Copyright (C) 2001 <NAME> <<EMAIL>>
;; Licensed under the terms of the GNU General Public License, either
;; version 2 or (at your option) any later version.
;;
;; To build:
;; nasm -f bin -o ls ls.asm && chmod +x ls
;;
;; Usage: ls [-abdilsBCFNR1] [--] [FILE]...
;; -C columnar output; default if stdout is ... |
llvm-gcc-4.2-2.9/gcc/ada/itypes.adb | vidkidz/crossbridge | 1 | 16881 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/264/A264080.asm | karttu/loda | 0 | 242187 | <reponame>karttu/loda<gh_stars>0
; A264080: a(n) = 6*F(n)*F(n+1) + (-1)^n, where F = A000045.
; 1,5,13,35,91,239,625,1637,4285,11219,29371,76895,201313,527045,1379821,3612419,9457435,24759887,64822225,169706789,444298141,1163187635,3045264763,7972606655,20872555201,54645058949,143062621645,374542805987,980565796315,256... |
oeis/156/A156017.asm | neoneye/loda-programs | 11 | 15052 | ; A156017: Schroeder paths with two rise colors and two level colors.
; Submitted by <NAME>
; 1,4,24,176,1440,12608,115584,1095424,10646016,105522176,1062623232,10840977408,111811534848,1163909087232,12212421230592,129027376349184,1371482141884416,14656212306231296,157369985643577344,1696975718802522112,183696037730215... |
test/Fail/Issue1429.agda | shlevy/agda | 1,989 | 8792 | -- Andreas, 2015-02-13
-- Termination errors in parametrized modules
module Issue1429 (A : Set) (f : A → A) where
test : A → A
test a = test (f a)
-- should report problematic call
--
-- test (f a)
--
-- not
--
-- test (f₁ a)
|
alloy4fun_models/trashltl/models/5/p69fAMS5oQTRjag7a.als | Kaixi26/org.alloytools.alloy | 0 | 5059 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/5/p69fAMS5oQTRjag7a.als
open main
pred idp69fAMS5oQTRjag7a_prop6 {
always all t : Trash | t in Trash since t in Trash
}
pred __repair { idp69fAMS5oQTRjag7a_prop6 }
check __repair { idp69fAMS5oQTRjag7a_prop6 <=> prop6o } |
source/nodes/program-nodes-formal_package_associations.adb | optikos/oasis | 0 | 8647 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Formal_Package_Associations is
function Create
(Formal_Parameter : Program.Elements.Expressi... |
llvm/test/tools/llvm-ml/expansion.asm | mkinsner/llvm | 2,338 | 1755 | <filename>llvm/test/tools/llvm-ml/expansion.asm
; RUN: llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s
.code
num EQU 276
var TEXTEQU %num
ECHO t1
ECHO var
ECHO var
; CHECK-LABEL: t1
; CHECK: var
; CHECK: var
; CHECK-NOT: var
ECHO t2
%ECHO var
% ECHO var
%ECHO var
% ECHO var
; CHECK-LABEL: t2
; CHECK: 276
; CH... |
programs/oeis/030/A030180.asm | karttu/loda | 1 | 4921 | ; A030180: a(n) = (n^7 - n)/42.
; 0,0,3,52,390,1860,6665,19608,49932,113880,238095,463980,853138,1494012,2509845,4068080,6391320,9769968,14576667,21282660,30476190,42883060,59389473,81067272,109201700,145321800,191233575,249056028,321260202,410711340,520714285,655062240,818089008,1014724832,1250555955,1531888020,186581... |
programs/oeis/063/A063647.asm | neoneye/loda | 22 | 4149 | <filename>programs/oeis/063/A063647.asm<gh_stars>10-100
; A063647: Number of ways to write 1/n as a difference of exactly 2 unit fractions.
; 0,1,1,2,1,4,1,3,2,4,1,7,1,4,4,4,1,7,1,7,4,4,1,10,2,4,3,7,1,13,1,5,4,4,4,12,1,4,4,10,1,13,1,7,7,4,1,13,2,7,4,7,1,10,4,10,4,4,1,22,1,4,7,6,4,13,1,7,4,13,1,17,1,4,7,7,4,13,1,13,4,4,... |
n2o/Network/Internal.agda | o4/n2o | 3 | 12130 | {-# OPTIONS --cubical --sized-types --type-in-type #-} -- Oh my <NAME>
module n2o.Network.Internal where
open import proto.Base
open import proto.Map
open import proto.IO
{-# FOREIGN GHC import Network.N2O.Types #-}
postulate
Header : Set
data Event (A : Set) : Set where
Init : Event A
Message ... |
src/Bisimilarity/Up-to/Counterexamples.agda | nad/up-to | 0 | 12014 | ------------------------------------------------------------------------
-- Some counterexamples
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
module Bisimilarity.Up-to.Counterexamples where
open import Equality.Propositional
open import Logical-equivalence us... |
books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/9_12.asm | gxw1/review_the_national_post-graduate_entrance_examination | 640 | 5705 | <filename>books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/9_12.asm<gh_stars>100-1000
STACK SEGMENT STACK
DW 64 DUP(?)
STACK ENDS
CODE SEGMENT
ASSUME CS:CODE,SS:STACK
START: PUSH DS
MOV AX,0
PU... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_1376.asm | ljhsiun2/medusa | 9 | 15313 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x91dd, %rdi
sub $6412, %r11
mov $0x6162636465666768, %r15
movq %r15, (%rdi)
nop
nop
nop
nop
nop
cmp $64039, %r8
lea addresses_normal_ht+0xb501, %rsi
lea addresses_WC_ht+0xc25d, ... |
src/drivers/Darky.asm | sharksym/vgmplay-sharksym | 6 | 247628 | <filename>src/drivers/Darky.asm
;
; Supersoniqs Darky AY8930 EPSG x2
;
Darky_SWITCHED_IO_PORT: equ 40H
Darky_CPLD_CONTROL_PORT: equ 41H
Darky_MICROCONTROLLER_PORT: equ 42H
Darky_EPSG_BASE_PORT_1: equ 44H
Darky_EPSG_BASE_PORT_2: equ 4CH
Darky_ADDRESS: equ 00H
Darky_DATA: equ 01H
Darky_DEVICE_ID: equ 0AAH
Darky_CLOCK: eq... |
programs/oeis/120/A120205.asm | neoneye/loda | 22 | 162574 | <gh_stars>10-100
; A120205: a(1)=4; a(n)=floor((39+sum(a(1) to a(n-1)))/9).
; 4,4,5,5,6,7,7,8,9,10,11,12,14,15,17,19,21,23,26,29,32,35,39,44,49,54,60,67,74,82,91,102,113,125,139,155,172,191,212,236,262,291,324,360,400,444,493,548,609,677,752,835,928,1031,1146,1273,1415,1572
mov $2,1
lpb $0
sub $0,1
add $2,$1
mov... |
programs/oeis/147/A147753.asm | jmorken/loda | 1 | 246104 | <reponame>jmorken/loda<filename>programs/oeis/147/A147753.asm
; A147753: Number of maximum-size subsets of {1,2,3,...,n} whose geometric means are an integer.
; 0,0,0,1,1,1,1,2,1,1,1,1,1,1,1,2,2,2,2,2
mov $1,$0
add $0,8
add $1,1
mov $2,$0
lpb $2
div $1,2
div $2,4
lpe
|
test/asset/agda-stdlib-1.0/Data/Vec/Relation/Unary/Any.agda | omega12345/agda-mode | 0 | 6850 | <filename>test/asset/agda-stdlib-1.0/Data/Vec/Relation/Unary/Any.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Vectors where at least one element satisfies a given property
------------------------------------------------------------------------
{-# OP... |
firmware/kernal/mbr.asm | QuorumComp/hc800 | 2 | 20886 | <filename>firmware/kernal/mbr.asm<gh_stars>1-10
INCLUDE "lowlevel/math.i"
INCLUDE "lowlevel/rc800.i"
INCLUDE "lowlevel/stack.i"
INCLUDE "stdlib/stream.i"
INCLUDE "stdlib/syscall.i"
INCLUDE "blockdevice.i"
INCLUDE "mbr.i"
INCLUDE "uart_commands.i"
INCLUDE "uart_commands_disabled.i"
TYPE_FAT32_LBA E... |
ram_tester.asm | sombr3ro/EEE-F241-MuP-Ram-Tester | 4 | 82620 | #make_bin#
#LOAD_SEGMENT=FFFFh#
#LOAD_OFFSET=0000h#
; set entry point:
#CS=0000h# ; same as loading segment
#IP=0000h# ; same as loading offset
; set segment registers
#DS=0000h# ; same as loading segment
#ES=0000h# ; same as loading segment
; set stack
#SS=0000h# ; same as loading segment
#SP=FFFEh#... |
ugbc/src/hw/tms9918/put_image.asm | spotlessmind1975/ugbasic | 10 | 27908 | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed under the Apache... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt62.adb | best08618/asylo | 7 | 350 | -- { dg-do run }
-- { dg-options "-O" }
with Opt62_Pkg; use Opt62_Pkg;
procedure Opt62 is
String5 : String(1..5) := "12345";
D: Der := (Unconstrained_Der with D2 => 5, S2 => String5);
begin
if D.Str1 /= "abcde" then
raise Program_Error;
end if;
end;
|
src/caches-access_patterns.ads | HeisenbugLtd/cache-sim | 0 | 19177 | ------------------------------------------------------------------------------
-- Copyright (C) 2012-2020 by Heisenbug Ltd.
--
-- 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 LICE... |
collisions.adb | Kidev/AdaPhysics2D | 9 | 10036 | package body Collisions is
function Collide(A, B : not null EntityClassAcc; Col : out Collision) return Boolean
is
begin
Col.A := A; Col.B := B;
return Dispatcher(A.all.EntityType, B.all.EntityType).all(Col);
end Collide;
function CircleOnCircle(Col : in out Collision) return Boolean
i... |
wof/lcs/enemy/5C.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 24105 | copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
01227A move.l (A2)+, (A3)+
01227C move.l (A2)+, (A3)+ [enemy+5C, enemy+5E]
01A75E dbra D4, $1a75c
copyright zengfr site:http://github.com/zengfr/romhack
|
programs/oeis/044/A044932.asm | karttu/loda | 1 | 22289 | <gh_stars>1-10
; A044932: a(n)=so-se, where so(se)=sum of odd(even) base 10 run lengths of n.
; 1,1,1,1,1,1,1,1,1,2,-2,2,2,2,2,2,2,2,2,2,2,-2,2,2,2,2,2,2,2,2,2,2,-2,2,2,2,2,2,2,2,2,2,2,-2,2,2,2,2,2,2,2,2,2,2,-2,2,2,2,2,2,2,2,2,2,2,-2,2,2,2,2,2,2,2,2,2,2,-2,2,2,2,2,2,2,2,2,2,2
cal $0,44950 ; Runs of odd length in the b... |
modules/core/Symbols.asm | vladikcomper/md-modules | 9 | 2496 | <gh_stars>1-10
_ValidHeader = $DEB2
; ===============================================================
; ---------------------------------------------------------------
; Subroutine to find nearest symbol for given offset
; ---------------------------------------------------------------
; INPUT:
; d1 .l Offset
;
; O... |
Appl/Bindery/Document/documentPage.asm | steakknife/pcgeos | 504 | 163179 | COMMENT @----------------------------------------------------------------------
Copyright (c) Geoworks 1992-1994 -- All Rights Reserved
PROJECT: GEOS
MODULE: Studio
FILE: documentPage.asm
ROUTINES:
Name Description
---- -----------
INT AddDeletePageToSection Add or delete a set of pages to ... |
src/sdl-video-pixel_formats.ads | jquorning/SDL2 | 1 | 25904 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the... |
oeis/021/A021942.asm | neoneye/loda-programs | 11 | 241867 | <reponame>neoneye/loda-programs<filename>oeis/021/A021942.asm
; A021942: Decimal expansion of 1/938.
; Submitted by Jon Maiga
; 0,0,1,0,6,6,0,9,8,0,8,1,0,2,3,4,5,4,1,5,7,7,8,2,5,1,5,9,9,1,4,7,1,2,1,5,3,5,1,8,1,2,3,6,6,7,3,7,7,3,9,8,7,2,0,6,8,2,3,0,2,7,7,1,8,5,5,0,1,0,6,6,0,9,8,0,8,1,0,2,3,4,5,4,1,5,7,7,8,2,5,1,5,9,9,1,... |
SafariClick/AllClickSafari.scpt | pection-zz/Allproject | 2 | 2481 | <reponame>pection-zz/Allproject
to clickID(theId) --creates a function that we can use over and over again instead of writing this code over and over again
tell application "Safari" -- lets AppleScript know what program to controll
do JavaScript "document.getElementById('" & theId & "').click();" in document 1 ... |
programs/oeis/232/A232230.asm | karttu/loda | 1 | 16071 | ; A232230: Expansion of (1 - 2*x + x^2 + x^3 + x^5) / ((1 - x)*(1 - 2*x - x^3)).
; 1,1,2,6,14,32,72,160,354,782,1726,3808,8400,18528,40866,90134,198798,438464,967064,2132928,4704322,10375710,22884350,50473024,111321760,245527872,541528770,1194379302,2634286478,5810101728,12814582760,28263452000,62337005730,137488594222... |
inc_dec/inc_dec.asm | abhishekmishra/learn_asm | 0 | 245467 | section .data
section .text
global _start
_start:
nop
;Put your experiments between the two nops...
mov eax, 0FFFFFFFFh
mov ebx, 02Dh
dec ebx
inc eax
;Put your experiments between the two nops...
nop
section .bss
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.