text stringlengths 1 1.05M |
|---|
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoDraw
FILE: documentDisplay.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/92 Initial version
jon 23 ... |
icl '../../os/symbols.asm'
CHARSET_EDIT = $4000
CHARPIX_POS_X = 3
CHARPIX_POS_Y = 3
TEXTAREA_POS_X = 2
TEXTAREA_POS_Y = 13
CHARSET_POS_X = 4
CHARSET_POS_Y = 19
org BOOTADDR
lda #1
sta ROS7
ldx #OS_SET_VIDEO_MODE
jsr OS_CALL
jsr set_scanline_interrupt
mwa VRAM_FREE SRC_ADDR
adw SRC_... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
0018DA add.l D0, ($10,A6)
0018DE rts [123p+ 10, 123p+ 12, base+74C, enemy+10, enemy+12, etc+10, etc+12, item+10, item+12]
0048EE move.l D0, (A4)+
0048F0 move.l D0, (A4)+
004D38 move.l D0, (A4)+
004... |
#ifndef MODULE_HPP_FN116U
#define MODULE_HPP_FN116U
#include "Export.hpp"
namespace autobind {
class Module
{
std::string _name;
std::string _sourceTUPath;
std::string _docstring;
std::unordered_map<std::string, std::unique_ptr<Export>> _exports;
public:
void setDocstring(const std::string &docstring)
{
_docs... |
//Copyright (c) 2019 The PIVX developers
//Copyright (c) 2020 The SafeDeal developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/safedeal/settings/settingsnetworkwidget.h"
#include "qt/safedeal/settings/forms/u... |
#define ARDUINO_MAIN
#include "Arduino.h"
#include "ArduinoAPI.h"
#include "Common.h"
#include "gd32vf103_libopt.h"
#define cmb() __asm__ __volatile__ ("" ::: "memory")
extern "C"{ void * __dso_handle = 0 ;}
void com_init(uint32_t com)
{
if(com == USART0){
/* enable GPIO clock */
rcu_periph_clock... |
; A122033: a(n) = 2*a(n-1) - 2*(n-2)*a(n-2), with a(0)=1, a(1)=2.
; 1,2,4,4,-8,-40,-16,368,928,-3296,-21440,16448,461696,561536,-9957632,-34515200,209783296,1455022592,-3803020288,-57076808704,22755112960,2214428956672,3518653394944,-85968709390336,-326758168158208,3301044295639040,22286480662872064,-120479253456207872... |
/*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "subsystems/sub_winch.h"
sub_winch::sub_winch(const int motorID)
: m_winchMotor{motorID} {
}
void sub_winch:... |
;; ----------------------------------------------------------------------------
;;
;; Copyright (c) Microsoft Corporation. All rights reserved.
;;
;; ----------------------------------------------------------------------------
.code
include hal.inc
PAGE_BITS EQU 12
MASK_OWNER ... |
/* Gobby - GTK-based collaborative text editor
* Copyright (C) 2008-2015 Armin Burgmeier <armin@arbur.net>
*
* 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 al... |
; A006939: Chernoff sequence: a(n) = Product_{k=1..n} prime(k)^(n-k+1).
; Submitted by Jon Maiga
; 1,2,12,360,75600,174636000,5244319080000,2677277333530800000,25968760179275365452000000,5793445238736255798985527240000000,37481813439427687898244906452608585200000000,75173708743728381515646680049111774647578640760000000... |
; A159966: Lodumo_4 of A102370 (sloping binary numbers).
; 0,3,2,1,4,7,6,5,8,11,10,9,12,15,14,13,16,19,18,17,20,23,22,21,24,27,26,25,28,31,30,29,32,35,34,33,36,39,38,37,40,43,42,41,44,47,46,45,48,51,50,49,52,55,54,53,56,59,58,57,60,63,62,61,64,67,66,65,68,71,70,69,72,75,74,73,76,79,78,77,80,83,82,81,84,87,86,85,88,91,9... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; $Id: TRPMRCHandlersA.asm 72254 2018-05-18 07:28:30Z vboxsync $
;; @file
; TRPM - Raw-mode Context Trap Handlers
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistri... |
; Test when more than one block could be moved to the same position. To make sure only one is moved
loop:
jr loop
loop2:
jr loop2
label3:
ld a, 1
jp loop2
label1:
ld b,(hl)
jp label2
label2:
ld b,(hl)
jp label3
|
; A007591: Numbers k such that k^2 + 4 is prime.
; Submitted by Jon Maiga
; 1,3,5,7,13,15,17,27,33,35,37,45,47,57,65,67,73,85,87,95,97,103,115,117,125,135,137,147,155,163,167,177,183,193,203,207,215,217,233,235,243,245,253,255,265,267,275,277,287,293,303,307,313,317,347,357,373,375,385,403,407,423,425,427,435,447,453,4... |
; A066989: a(n) = (n!)^3 * Sum_{i=1..n} 1/i^3.
; Submitted by Christian Krause
; 1,9,251,16280,2048824,444273984,152759224512,78340747014144,57175952894078976,57223737619918848000,76212579497951858688000,131758938842553681444864000,289584291977410916858462208000,794860754824699647616459210752000,26833176072939104584863... |
; ---------------------------------------------------------------------------
; Animation script - Bomb enemy
; ---------------------------------------------------------------------------
Ani_Bomb: dc.w @stand-Ani_Bomb
dc.w @walk-Ani_Bomb
dc.w @activated-Ani_Bomb
dc.w @fuse-Ani_Bomb
dc.w @shrapnel-Ani_Bomb
@sta... |
Route21WildMons:
def_grass_wildmons 25 ; encounter rate
db 44, KINGLER
db 45, BEEDRILL
db 47, PIDGEOT
db 47, SHELLDER
db 48, MACHOKE
db 46, TANGELA
db 46, GLOOM
db 49, KADABRA
db 48, BLASTOISE
db 50, SHELLDER
end_grass_wildmons
def_water_wildmons 5 ; encounter rate
db 44, HORSEA
db 45, PSYDUCK
db 47, S... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
cpz {m1}
beq {la1}
|
; A309991: Balanced quinary (base 5) enumeration (or balanced quinary representation) of integers, write n in quinary, and then replace 3's with (-2)'s and 4's with (-1)'s.
; Submitted by Christian Krause
; 0,1,2,-2,-1,5,6,7,3,4,10,11,12,8,9,-10,-9,-8,-12,-11,-5,-4,-3,-7,-6,25,26,27,23,24,30,31,32,28,29,35,36,37,33,34,... |
// Copyright (c) 1997-1999 Microsoft Corporation
//
// class Extractor
//
// 11-12-97 sburns
#include "headers.hxx"
Extractor::Extractor(CLIPFORMAT clipFormatID, size_t bufSize_)
:
formatetc(),
stgmedium(),
bufSize(bufSize_)
{
ASSERT(clipFormatID);
ASSERT(bufSize);
for... |
; A316466: a(n) = 2*n*(7*n - 3).
; 0,8,44,108,200,320,468,644,848,1080,1340,1628,1944,2288,2660,3060,3488,3944,4428,4940,5480,6048,6644,7268,7920,8600,9308,10044,10808,11600,12420,13268,14144,15048,15980,16940,17928,18944,19988,21060,22160,23288,24444,25628,26840,28080,29348,30644,31968,33320,34700,36108,37544,39008,40... |
; void SMS_setBGPaletteColor(unsigned char entry,unsigned char color)
SECTION code_clib
SECTION code_SMSlib
PUBLIC _SMS_setBGPaletteColor_callee
EXTERN asm_SMSlib_setBGPaletteColor
_SMS_setBGPaletteColor_callee:
pop hl
ex (sp),hl
ld a,h
jp asm_SMSlib_setBGPaletteColor
|
Map_230DCC: dc.w Frame_230DD2-Map_230DCC ; ...
dc.w Frame_230DE0-Map_230DCC
dc.w Frame_230DEE-Map_230DCC
Frame_230DD2: dc.w 2
dc.b $F6, $C, 0, 0,$FF,$E0
dc.b $F6, $C, 8, 0, 0, 0
Frame_230DE0: dc.w 2
dc.b $EE, $D, 0, 4,$FF,$E0
dc.b $EE, $D, 8, 4, 0, 0
Frame_230DEE: dc.w 2
dc.b $EE, $D, 0, $C,$... |
; A049802: a(n) = n mod 2 + n mod 4 + ... + n mod 2^k, where 2^k <= n < 2^(k+1).
; 0,0,1,0,2,2,4,0,3,4,7,4,7,8,11,0,4,6,10,8,12,14,18,8,12,14,18,16,20,22,26,0,5,8,13,12,17,20,25,16,21,24,29,28,33,36,41,16,21,24,29,28,33,36,41,32,37,40,45,44,49,52,57,0,6,10,16,16,22,26,32,24,30,34,40,40,46,50,56,32,38,42,48,48,54,58,64,... |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; LShiftU64.nasm
;
; Abstract:
;
; 64-bit left shift function for IA-32
;
;--------------------... |
#########################################################
# #
# Wczytac ciag znakow i zamienic wszystkie #
# wielkie litery na male litery #
# oraz male na wielkie. #
# Autor: Jakub Sikora ... |
/* alice: C++ command shell library
* Copyright (C) 2017-2018 EPFL
*
* 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 u... |
// File include/oglplus/enums/framebuffer_status.hpp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/framebuffer_status.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2015 Matus Chochlik.
// Distributed under the Boost Software ... |
[bits 64]
rdrand bx
rdrand ebx
rdrand rbx
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x8638, %rdx
nop
xor %r13, %r13
mov (%rdx), %ax
nop
nop
nop
nop
nop
xor $2848, %rbp
lea addresses_WC_ht+0x3f38, %rsi
lea addresses_D_ht+0x109c8, %rdi
nop
sub %r11, %r11
mo... |
; A316824: A second example of a word that is uniform morphic and recurrent, but neither pure morphic nor primitive morphic.
; 0,0,0,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1... |
; A313099: Coordination sequence Gal.6.259.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,9,14,19,23,28,33,37,42,47,52,56,60,65,70,75,79,84,89,93,98,103,108,112,116,121,126,131,135,140,145,149,154,159,164,168,172,177,182,187,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x9ac7, %rsi
lea addresses_WC_ht+0x90c7, %rdi
nop
nop
nop
dec %rbx
mov $84, %rcx
rep movsb
nop
nop
nop
nop
add $4303, %r15
lea addresses_UC_ht+0x169a7, %rsi
lea addresses_WT_ht+0xbb4... |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n, m;
char *p, *q;
... |
// Test #pragma without parenthesis
// Commodore VIC 20 unexpanded executable PRG file
.file [name="pragma-noparenthesis.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$1001]
.segmentdef Code [start=$100d]
.segmentdef Data [startAfter="Code"]
.segment... |
; PROLOGUE(mpn_karaadd)
; mpn_karaadd
;
; Copyright 2011 The Code Cavern
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser G... |
; input8 bit binary number and print out decimal to screen.
; zeros and ones -> decimal value
ORG 100h
; macro
; this macro prints a char in AL and advances
; the current cursor position:
PUTC MACRO char
PUSH AX
MOV AL, char
MOV AH, 0Eh
INT 10h
POP ... |
// Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2014-2017 XDN developers
// Copyright (c) 2016-2017 BXC developers
// Copyright (c) 2017 Royalties developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... |
;;/*********************************************************************************************************************
;;* DISCLAIMER
;;* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.
;;* No other uses are authorized. This software is owned by Renesas... |
/*
* Copyright (c) Andre 'Espyo' Silva 2013.
* The following source file belongs to the open-source project Pikifen.
* Please read the included README and LICENSE files for more information.
* Pikmin is copyright (c) Nintendo.
*
* === FILE DESCRIPTION ===
* Enemy mob category class.
*/
#include <algorithm>
#i... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
; void __CALLEE__ *memopi(void *dst, void *src, uint n, uint op)
; *dst = *src OP *dst, increasing src and dst addresses
; OP: 0=load, 1=or, 2=xor, 3=and, 4=add, 5 = adc, 6=sub, 7 = sbc, 8 = rls, 9 = rrs else address of OP function
; 05.2007 aralbrec
PUBLIC memopi_callee
PUBLIC _memopi_callee
PUBLIC ASMDISP_MEMOPI_CAL... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.0 #12072 (Linux)
;--------------------------------------------------------
.module nvram
.optsdcc -mgbz80
;--------------------------------------------------------
; Public variables in ... |
/*
* OPCODE - Optimized Collision Detection
* http://www.codercorner.com/Opcode.htm
*
* Copyright (c) 2001-2008 Pierre Terdiman, pierre@codercorner.com
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 u... |
;
;
; Generic graphics routines
; Self modifying code version
;
; Stefano Bodrato - 4/1/2007
;
;
; Sprite Rendering Routine
; original code by Patrick Davidson (TI 85)
;
;
; $Id: putsprite_smc.asm,v 1.3 2016-07-02 09:01:35 dom Exp $
;
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION smc_clib
... |
[bits 32]
global _start;
_start:
[extern kernel_main] ; Define calling point. Must have same name as kernel.c 'main' function
call kernel_main ; Calls the C function. The linker will know where it is placed in memory
jmp $
|
/**********************************************************************
* $Id: SnapIfNeededOverlayOp.cpp 2809 2009-12-06 01:05:24Z mloskot $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2009 Sandro Santilli <strk@keybit.net>
*
* This is free software; you can redistrib... |
;*****************************************************************************
;* MMX/SSE2/AVX-optimized 10-bit H.264 intra prediction code
;*****************************************************************************
;* Copyright (C) 2005-2011 x264 project
;*
;* Authors: Daniel Kang <daniel.d.kang@gmail.com>
;*
;* Th... |
; A218730: a(n) = (27^n-1)/26.
; 0,1,28,757,20440,551881,14900788,402321277,10862674480,293292210961,7918889695948,213810021790597,5772870588346120,155867505885345241,4208422658904321508,113627411790416680717,3067940118341250379360,82834383195213760242721,2236528346270771526553468,60386265349310831216943637,16304291644... |
/*
* Copyright 2006-2012 The Android Open Source Project
* Copyright 2012 Mozilla Foundation
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include ... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Screen
FILE: screenMain.asm
AUTHOR: Dennis Chow, September 8, 1989
ROUTINES:
Name Description
---- -----------
?? INT ScreenResetInitialV... |
MonsterNames:
db "Rhydon@@@@"
db "Kanghaskan"
db "Nidoran♂@@"
db "Clefairy@@"
db "Spearow@@@"
db "Voltorb@@@"
db "Nidoking@@"
db "Slowbro@@@"
db "Lickitung@"
db "Exeggcute@"
db "Grimer@@@@"
db "Gengar@@@@"
db "Nidoran♀@@"
db "Nidoqueen@"
db "Cubone@@@@"
db "Rhyhorn@@@"
db "Lapras@@@@"
db "Arcanine@@"
... |
Name: ys_mpobj.asm
Type: file
Size: 16034
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: 24CD5DA0536E9A1E9B9BAAADC1F3F0F0A997C630
Description: null
|
; A161708: a(n) = -n^3 + 7*n^2 - 5*n + 1.
; 1,2,11,22,29,26,7,-34,-103,-206,-349,-538,-779,-1078,-1441,-1874,-2383,-2974,-3653,-4426,-5299,-6278,-7369,-8578,-9911,-11374,-12973,-14714,-16603,-18646,-20849,-23218,-25759,-28478,-31381,-34474,-37763,-41254,-44953,-48866,-52999,-57358,-61949,-66778,-71851,-77174,-82753,-88... |
; A169080: Number of reduced words of length n in Coxeter group on 19 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I.
; Submitted by Jamie Morken(s4)
; 1,19,342,6156,110808,1994544,35901792,646232256,11632180608,209379250944,3768826516992,67838877305856,1221099791505408,21979796247097344,395636332447752192,71... |
#if MATH16
.macro mov16i(value,output) {
lda #(value)&$ff
sta output+1
lda #(value>>8)&$ff
sta output
}
.macro mov16d(value,output) {
lda value
sta output
lda value+1
sta output+1
}
.macro add16i(input,value,output) {
clc
lda input
adc #(value)&$ff
sta output
lda input+1
adc #(value>>8)&$ff
sta output... |
; A279077: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/7) requires n steps to reach 0.
; 0,1,2,3,4,5,6,8,10,12,15,18,22,26,31,37,44,52,61,72,85,100,117,137,160,187,219,256,299,349,408,477,557,650,759,886,1034,1207,1409,1644,1919,2239,2613,3049,3558,4152,4845,5653,6596,7696,8979,1047... |
/*
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*
* 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 requir... |
*= $0801
.byte $4c,$14,$08,$00,$97
turboass = 780
.text "780"
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$33,$00,$00,$00
lda #1
sta turboass
jmp main
print
.block
pla
sta print0+1
pla
... |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2021 Bruno Van de Velde (vdv_b@tgui.eu)
//
// This software is provided 'as-is', without any express or implied warranty.
/... |
; A270313: Denominator of Fibonacci(n)/n.
; Submitted by Christian Krause
; 1,2,3,4,1,3,7,8,9,2,11,1,13,14,3,16,17,9,19,4,21,22,23,1,1,26,27,28,29,3,31,32,33,34,7,1,37,38,39,8,41,21,43,44,9,46,47,1,49,2,51,52,53,27,11,8,57,58,59,1,61,62,63,64,13,33,67,68,69,14,71,1,73,74,3,76,77,39,79,16,81,82,83,7,17,86,87,88,89,9,7,9... |
; ASM source file created by SevenuP v1.20
; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 8
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;M... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1bb08, %rcx
nop
nop
nop
cmp $11414, %r15
movb $0x61, (%rcx)
nop
nop
nop
nop
xor $16765, %r11
lea addresses_WT_ht+0x14038, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
cmp %r8, %r8
mov (%rdi)... |
; ===========================================================================
; ---------------------------------------------------------------------------
; Routine for pausing the sound driver
;
; thrash:
; d4 - Various values
; d5 - YM command values
; d6 - dbf counters and key off channel
; a4 - Used by oth... |
;================================================================================
;--------------------------------------------------------------------------------
AssignKiki:
LDA.b #$00 : STA $7EF3D3 ; defuse bomb
LDA.b #$0A : STA $7EF3CC ; assign kiki as follower
RTL
;----------------------------------------... |
; A160220: Numerator of Hermite(n, 19/28).
; Submitted by Jon Maiga
; 1,19,-31,-15485,-257759,19383059,873485761,-28992725309,-2947706709055,34914759096979,11062889692388641,73329048495226499,-46309928432170516511,-1224828484332785265005,212723654088018032104961,10763608149690668144341699,-1046306531193423334034678399,... |
; A090013: Permanent of (0,1)-matrix of size n X (n+d) with d=3 and n-1 zeros not on a line.
; Submitted by Jamie Morken(s1)
; 4,16,84,536,4004,34176,327604,3481096,40585284,514872176,7058605844,103969203576,1637182717924,27442553929696,487806792137844,9164718013496936,181446744138509444,3775570370986139856,82371572441... |
;RECEIVING AND SENDING RS232 DATA @57600 BITS/S ON A STANDARD MSX 3.57MHz
CPU Z80
FNAME "57600.BIN"
VOICEAQ: EQU $D000 ;BUFFER TO OCCUPY IN SYSTEM AREA: DO NOT USE PLAY...
;MSX .BIN HEADER
DB $FE
DW START, END, START
ORG VOICEAQ
START:
;TRANSFER 'BC' BYTES FROM JOY2, 'UP', PIN1 TO (HL)
;MSX, Z80 3.58MHz 57600bps... |
//#include <vector>
#include <map>
#include <list>
#include <utility>
#include "adt.h"
using namespace lib_calvin_container;
/******************* IntStack definitions *******************/
IntStack::IntStack(size_t maxsize) : size_(0), maxsize_(maxsize), stack_(),
intToListIterator_(maxsize), isInserted_(maxsize, f... |
; Legacy support for old pokecrystal.
; Allows porting scripts with as few edits as possible.
; Legacy support not in this file can be found by looking for the keyword: "LEGACY"
; macros/rst.asm
callba EQUS "farcall"
callab EQUS "callfar"
; macros/scripts/events.asm
checkmorn EQUS "checktime MORN"
checkday EQUS "ch... |
; A070583: n^4 mod 40.
; 0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1,16,25,16,1,16,1,0,1,16,1
pow $0,4
mod $0,40
mov $1,$0
|
gdt_start:
gdt_null:
dd 0x00
dd 0x00
gdt_code:
dw 0xFFFF
dw 0x00
db 0x00
db 10011010b
db 11001111b
db 0x00
gdt_data:
dw 0xFFFF
dw 0x00
db 0x00
db 10010010b
db 11001111b
db 0x00
gdt_end:
gdt_desc:
dw gdt_end - gdt_start - 1
dd gdt_start
CODE_SEG equ gdt_code - gdt_start
DATA_SEG equ gdt_data - ... |
; A237342: For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^2. This is k(5).
; Submitted by Jon Maiga
; 0,1,2,3,4,5,25,225,2225,22225,222225,2222225,22222225,222222225,22... |
; A006261: a(n) = Sum_{k=0..5} C(n,k).
; 1,2,4,8,16,32,63,120,219,382,638,1024,1586,2380,3473,4944,6885,9402,12616,16664,21700,27896,35443,44552,55455,68406,83682,101584,122438,146596,174437,206368,242825,284274,331212,384168,443704,510416,584935,667928,760099,862190,974982,1099296,1235994,1385980,1550201,1729648,19253... |
page ,132
debug = 1
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
; This is the module which provides the interface for Queueman
; to call back into Bambi.asm when it wants to commit dirty
; cach... |
; A157815: a(n) = 8984250*n - 330.
; 8983920,17968170,26952420,35936670,44920920,53905170,62889420,71873670,80857920,89842170,98826420,107810670,116794920,125779170,134763420,143747670,152731920,161716170,170700420,179684670,188668920,197653170,206637420,215621670,224605920,233590170,242574420,251558670,260542920,26952... |
; A177060: (7*n+2)*(7*n+5)=49*n^2+49*n+10
; 10,108,304,598,990,1480,2068,2754,3538,4420,5400,6478,7654,8928,10300,11770,13338,15004,16768,18630,20590,22648,24804,27058,29410,31860,34408,37054,39798,42640,45580,48618,51754,54988,58320,61750,65278
sub $1,$0
bin $1,2
mul $1,98
add $1,10
|
Music_Route36:
musicheader 4, 1, Music_Route36_Ch1
musicheader 1, 2, Music_Route36_Ch2
musicheader 1, 3, Music_Route36_Ch3
musicheader 1, 4, Music_Route36_Ch4
Music_Route36_Ch1:
tempo 144
volume $77
dutycycle $3
tone $0001
vibrato $10, $15
stereopanning $f
notetype $c, $b3
octave 3
note C_, 4
note C_, 6
... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global bn_mul_mont_gather5
ALIGN 64
bn_mul_mont_gather5:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_bn_mul_mont_gather5:
mov rdi,rcx
mov rs... |
#include <cstdio>
#include "hardware_process_helper.h"
#include "halide_image_io.h"
#if defined(WITH_CPU)
#include "three_level_pond.h"
#endif
#if defined(WITH_COREIR)
#include "coreir_interpret.h"
#endif
#if defined(WITH_CLOCKWORK)
#include "rdai_api.h"
#include "clockwork_sim_platform.h"
#includ... |
;----------------------------------------------------------------------------
;
; Integrity Instruments
; ---------------------
; PO Box 451 2642 20th Ave SW
; Pine River, MN 56474
; Tel: 800-450-2001
; Web: www.rs-485.com
;
; Description
; -----------
; RCE-1 Firmware
; Remote Contact Extender
;
; Based on Integrity... |
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x12757, %rsi
lea addresses_UC_ht+0x1a0d7, %rdi
nop
nop
nop
and $25533, %r9
mov $62, %rcx
rep movsw
nop
nop
and %rbx, %rbx
lea addresses_D_ht+0x180d7, %rcx
nop
nop
nop
nop
cmp %r8, %r8
movb $0x61, (... |
// Created on: 1995-12-21
// Created by: Jean Yves LEBEY
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GN... |
// Copyright Oliver Kowalke 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <chrono>
#include <sstream>
#include <string>
#include <vector>
#include <boost/assert.hpp>
#incl... |
S SEGMENT PARA PUBLIC 'CODE'
ASSUME CS: S
ORG 1000H
START:
;TURN ON CONTROL REGISTER
MOV AL, 80H
OUT 1EH, AL
MOV AL, 80H
OUT 1FH, AL
MOV AL, 0FFH
OUT 19H, AL ; SEGMENT OFF
;LOOP CONTROL VARIABLE
MOV BH, 00H
MOV BL, 00H
JMP LN
;new code starts here
LL:
MOV CX, 0FFFFH
LP... |
***************
* simple body of a Lynx-program
*
* created : 24.04.96
*
****************
BRKuser set 1
Baudrate set 62500
_1000HZ_TIMER set 7
include <includes/hardware.inc>
*
* macros
*
include <macros/help.mac>
include <macros/if_while.mac>
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1e11, %rsi
lea addresses_WT_ht+0x11f1, %rdi
nop
and %r11, %r11
mov $15, %rcx
rep movsl
nop
nop
nop
nop
nop
mfence
lea addresses_A_ht+0x2b40, %rsi
nop
nop
nop
add $4784, %rbp
and $0xffffffff... |
; A173034: Sequence whose G.f is f such that: f(z)=8/(1-2*z)-12/(1-z)+z+5.
; 1,5,20,52,116,244,500,1012,2036,4084,8180,16372,32756,65524,131060,262132,524276,1048564,2097140,4194292,8388596,16777204,33554420,67108852,134217716,268435444,536870900,1073741812,2147483636
lpb $0
sub $0,1
add $2,2
mul $2,2
lpe
add $2... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="name, oflag, vararg"/>
<%docstring>
Invokes the syscall mq_open. See 'man 2 mq_open' for more information.
Arguments:
name(char): name
oflag(int): oflag
vararg(int): vararg
</%docstring>
${syscall('SYS_mq_open', name, oflag, vara... |
#pragma once
#include "quickVtkPolyDataAlgorithm.hpp"
#include <vtkImageDataGeometryFilter.h>
namespace quick {
namespace Vtk {
class ImageDataGeometryFilter : public PolyDataAlgorithm {
Q_OBJECT
private:
static Qml::Register::Class<ImageDataGeometryFilter> Register;
... |
title "ioaccess"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; ioaccess.asm
;
; Abstract:
;
; Procedures to correctly touch I/O registers.
;
; Author:
;
; Bryan Willman (bryanwi) 16 May 1990
;
; Environment:
;
; User or Kernel, although privledge (IOPL) m... |
// Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x10da0, %rsi
lea addresses_normal_ht+0x4bd6, %rdi
nop
nop
xor $46618, %rdx
mov $27, %rcx
rep movsb
dec %r10
lea addresses_normal_ht+0x977c, %rax
nop
nop
and $52321, %rdx
vmovups (%rax), %ymm2
ve... |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x18c1e, %rsi
lea addresses_UC_ht+0x388, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
inc %rax
mov $59, %rcx
rep movsw
nop
nop
nop
nop
add $28285, %rcx
lea addresses_WC_ht+0x978a, %... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.