text
stringlengths
1
1.05M
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
; A078023: Expansion of (1-x)/(1-2*x^2-2*x^3). ; Submitted by Jon Maiga ; 1,-1,2,0,2,4,4,12,16,32,56,96,176,304,544,960,1696,3008,5312,9408,16640,29440,52096,92160,163072,288512,510464,903168,1597952,2827264,5002240,8850432,15659008,27705344,49018880,86728704,153448448,271495168,480354304,849887232,1503698944,266048307...
; A169425: Number of reduced words of length n in Coxeter group on 28 generators S_i with relations (S_i)^2 = (S_i S_j)^32 = I. ; 1,28,756,20412,551124,14880348,401769396,10847773692,292889889684,7908027021468,213516729579636,5764951698650172,155653695863554644,4202649788315975388,113471544284531335476,3063731695682346...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of so...
; A153234: a(n) = floor(2^n/9). ; 0,0,0,0,1,3,7,14,28,56,113,227,455,910,1820,3640,7281,14563,29127,58254,116508,233016,466033,932067,1864135,3728270,7456540,14913080,29826161,59652323,119304647,238609294,477218588,954437176,1908874353,3817748707,7635497415,15270994830,30541989660,61083979320,122167958641,244335917283,...
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without...
; A097802: a(n) = 3*(25*n + 1). ; 3,78,153,228,303,378,453,528,603,678,753,828,903,978,1053,1128,1203,1278,1353,1428,1503,1578,1653,1728,1803,1878,1953,2028,2103,2178,2253,2328,2403,2478,2553,2628,2703,2778,2853,2928,3003,3078,3153,3228,3303 mov $1,$0 mul $1,75 add $1,3
; ; HFD - High Frequency Divider Modulator ; only for compatibility with the original SFX engine HFD_MODE lda (dataPtr),y ; get modulate value sta chnModVal bne decode_HFD ; check modulation jmp modMode_notDefined ; if 0, means no modulation decode_HFD cm...
/* @file Exercise9.16 * @author vleo * @date 2021.10.17 */ #include <iostream> #include <vector> #include <string> #include <list> using std::cin; using std::cout; using std::endl; using std::string ; using std::vector ; using std::list; int i = 0; bool compare(list<int>& lst,vector<int>& v) { for(aut...
!cpu w65c02 ; Program counter is set to 0 to make it easier to calculate the addresses ; in the jumptable as all that needs to be done is add the actual offset. *=$0000 ; ******************************* Jumptable *********************************** INIT: bra initialize ; No inputs SCRS: jmp vtui_screen_set ; .A = Scre...
#include<bits/stdc++.h> #include<unistd.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define MC(n,m) memcpy((n),(m),sizeof(n)) #define F first #define S second #define MP make_pair #define PB push_back #define ALL(x) begin(x),end(x) #define SZ(x) ((int)(x).size()...
; syscall for macOS 64bit section .bss putchar_buf resb 1 getchar_buf resb 1 section .text stdio_init: ret stdio_write: ; rsi:buffer rdx:len of buffer push rax push rdi mov rdi, 1 ; fd = stdout mov rax, 0x2000004 ; syscall 4: write syscall pop rdi pop rax ret stdio_read: ; rsi:buf...
SECTION FRAGMENT "output", ROM0 X: db X db 1 assert WARN, X == 0
; size_t wv_priority_queue_max_size(wv_priority_queue_t *q) SECTION code_adt_wv_priority_queue PUBLIC wv_priority_queue_max_size defc wv_priority_queue_max_size = asm_wv_priority_queue_max_size INCLUDE "adt/wv_priority_queue/z80/asm_wv_priority_queue_max_size.asm"
; A167193: a(n) = (1/3)*(1 - (-2)^n + 3*(-1)^n ) = (-1)^(n+1)*A167030(n). ; 1,0,0,2,-4,10,-20,42,-84,170,-340,682,-1364,2730,-5460,10922,-21844,43690,-87380,174762,-349524,699050,-1398100,2796202,-5592404,11184810,-22369620,44739242,-89478484,178956970,-357913940,715827882,-1431655764,2863311530,-5726623060,11453246122...
IDEAL MODEL small STACK 100h DATASEG ; -------------------------- filename db 'pic.bmp', 0 filename3 db 'pic4.bmp', 0 filename2 db 'pic2.bmp', 0 filename1 db 'pic1.bmp',0 filehandle dw ? Header db 54 dup (0) Palette db 256*4 dup (0) ScrLine db 320 dup (0) ErrorMsg db 'Error', 13, 10,'$' padmov dw 0 spee...
// File: matcher.cc // Date: Fri May 03 17:02:09 2013 +0800 // Author: Yuxin Wu <ppwwyyxxc@gmail.com> #include <limits> #include <flann/flann.hpp> #include "matcher.hh" #include "lib/timer.hh" #include "feature.hh" using namespace std; using namespace config; #ifdef _MSC_VER // necessary to define here since flann do...
[GLOBAL gdt_flush] ; Allows the C code to call gdt_flush(). gdt_flush: mov eax, [esp+4] ; Get the pointer to the GDT, passed as a parameter. lgdt [eax] ; Load the new GDT pointer mov ax, 0x10 ; 0x10 is the offset in the GDT to our data segment mov ds, ax ; Load all data segment ...
; A021449: Decimal expansion of 1/445. ; Submitted by Jon Maiga ; 0,0,2,2,4,7,1,9,1,0,1,1,2,3,5,9,5,5,0,5,6,1,7,9,7,7,5,2,8,0,8,9,8,8,7,6,4,0,4,4,9,4,3,8,2,0,2,2,4,7,1,9,1,0,1,1,2,3,5,9,5,5,0,5,6,1,7,9,7,7,5,2,8,0,8,9,8,8,7,6,4,0,4,4,9,4,3,8,2,0,2,2,4,7,1,9,1,0,1 seq $0,199689 ; 8*10^n+1 div $0,356 mod $0,10
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1d31c, %rdi cmp $50604, %r9 movw $0x6162, (%rdi) nop nop nop inc %r8 lea addresses_WC_ht+0x106e4, %r13 nop nop nop nop cmp $7094, %rbp mov (%r13), %rbx nop nop nop nop sub $280...
sjmp prog data: .string "Hello world" ;Hello world string .byte 0x00 ;Null character .equ "str_len", 11 ;Length of string prog: ldmptr data ;Load location of string lda 0x00 ;Loop counter loop: ldb@mptr r0, 0x01 ;Load r0 with character and offset addi 1 cei str...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; CpuPause.Asm ; ; Abstract: ; ; CpuPause function ; ; Notes: ; ;-----------------------...
;-----------------------------------------------------------------------------; ; Author: Ege Balcı <ege.balci[at]invictuseurope[dot]com> ; Compatible: Windows 10/8.1/8/7/2008/Vista/2003/XP/2000/NT4 ; Version: 1.0 (25 January 2018) ; Size: 177 bytes ;---------------------------------------------------------------------...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Diablo Daisy Wheel driver FILE: diablo630Info.asm AUTHOR: Dave Durran, 27 Mar 1990 REVISION HISTORY: Name Date Description ---- --...
#include <sstream> #include "SDEngineCommonFunction.h" #include "MeshData.h" using SDE::Basic::StringFormat; _____________SD_START_GRAPHICS_NAMESPACE_____________ MeshData::MeshData() : m_material_ID(-1) { } MeshData::~MeshData() { } std::string MeshData::ToString(uint32_t i_level) const { std::stringstream s...
#ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED #define BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // boost/smart_ptr/bad_weak_ptr.hpp // // Copyright (c) 2001, 2002, 2003 Peter Dimov and Multi Medi...
; A336278: a(n) = Sum_{k=1..n} mu(k)*k^4. ; 1,-15,-96,-96,-721,575,-1826,-1826,-1826,8174,-6467,-6467,-35028,3388,54013,54013,-29508,-29508,-159829,-159829,34652,268908,-10933,-10933,-10933,446043,446043,446043,-261238,-1071238,-1994759,-1994759,-808838,527498,2028123,2028123,153962,2239098,4552539,4552539,1726778,-138...
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt ...
title dump.cpp .386 .387 includelib CPPOM30.LIB includelib OS2386.LIB CODE32 segment dword use32 public 'CODE' CODE32 ends DATA32 segment dword use32 public 'DATA' DATA32 ends CONST32_RO segment dword use32 public 'CONST' CONST32_RO ends BSS32 segment dword use32 public 'BSS' BSS32 ends EH_CODE segment dword use32...
ASSUME CS:CGR,DS:CGR,SS:CGR CGR GROUP COD,DAT COD SEGMENT BYTE LEN_ EQU (EC-COPYVIR)/1 org 100H COPYVIR PROC JMP VIR DB 1000 DUP (0) VIR: MOV AX,4C00H INT 21H ENDP EC: ENDS DAT SEGMENT BYTE A DB 50000 DUP (0) ENDS END COPYVIR
// Copyright (c) 2012-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <random.h> #include <scheduler.h> #include <test/test_xazab.h> #include <boost/bind.hpp> #include <boost/thread.hp...
.data x: .word 1 y: .word 9 z: .word 8 .text .globl myadd myadd: la $t0, y lw $t0, 0($t0) la $t1, z lw $t1, 0($t1) add $t2, $t0, $t1 la $t0, x sw $t2, 0($t0) jr $ra
/* LibMemcached * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/ * Copyright (C) 2006-2009 Brian Aker * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. * * Summary: * */ #include <mem_config....
#include "scene_graph.h" namespace { const char* SCENE_LINEAR_ACCELERATION_EVALUATOR_LIBRARY = "Scene.AccelerationEvaluators.Linear"; } namespace engine { namespace scene_graph_script_binds { //Создание объекта LinearAccelerationEvaluator create_linear_acceleration_evaluator () { return Linear...
#include "sxml_core.hpp" #include <iostream> namespace SXML { namespace Internal { //##################################################################################################################### std::ostream& tag_start(std::ostream& stream, std::string const& name, XmlifyOptions const& options) {...
.code ; void AVX_Packed_Sum_Short_(const XmmVal & a, const XmmVal & b, XmmVal results[2]) AVX_Packed_Sum_Short_ proc vmovdqa xmm0, xmmword ptr [rcx] vmovdqa xmm1, xmmword ptr [rdx] vpaddw xmm2, xmm0, xmm1 ; Wraparound vpaddsw xmm3, xmm0, xmm1 ; Saturated vmovdqa xmmword ptr [r8], xmm2 ; Wraparound vmovdqa xmmword ...
; unsigned char esx_f_seekdir(unsigned char handle,uint32_t pos) SECTION code_esxdos PUBLIC esx_f_seekdir_callee EXTERN asm_esx_f_seekdir esx_f_seekdir_callee: pop hl pop de pop bc ex (sp),hl ld a,l jp asm_esx_f_seekdir ; SDCC bridge for Classic IF __CLASSIC PUBLIC _esx_f_seekdir_callee defc...
TITLE: Final.asm INCLUDE Irvine32.inc Menu proto maxOption:dword, prompt:ptr byte, choice:ptr dword, errorMsg: ptr byte ConnectThree proto modePrompt:ptr byte, columnPrompt:ptr byte, errorMsg:ptr byte GetGameMode proto prompt:ptr byte, errorMsg:ptr byte, playerTypesAddr:ptr byte ChooseFirstPlayer proto playerNumber:p...
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/optimizer/join_order_optimizer.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/unordered_map.hpp" #include "du...
; A159693: Partial sums of A000463. ; 1,2,4,8,11,20,24,40,45,70,76,112,119,168,176,240,249,330,340,440,451,572,584,728,741,910,924,1120,1135,1360,1376,1632,1649,1938,1956,2280,2299,2660,2680,3080,3101,3542,3564,4048,4071,4600,4624,5200,5225,5850,5876,6552,6579,7308,7336,8120,8149,8990,9020,9920,9951,10912,10944,11968,1...
; A132367: Period 6: repeat [1, 1, 2, -1, -1, -2]. ; 1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2,1,1,2,-1,-1,-2 mul $0,2 di...
;Start of Patch.ASM Code Segment Byte Public Assume Cs:Code, Ds:Code Org 100h ; ; California Games TSR Patch ; See problem statement here: http://www.vogons.org/viewtopic.php?t=12251 ; Patch hooks INT21/25 and waits for game to try and hook INT16. It then saves ; the game's INT16 location and d...
#include "StdAfx.h" #include "Wiggle.h" #include "Hermite.h" CWiggle::CWiggle() : m_frequency(1.0f) , m_time(0.0f) { m_points[0] = cry_random(-1.0f, 1.0f); m_points[1] = cry_random(-1.0f, 1.0f); m_points[2] = cry_random(-1.0f, 1.0f); m_points[3] = cry_random(-1.0f, 1.0f); } void CWiggle::SetParams(float fre...
// Copyright (c) 2009-2021 Satoshi Nakamoto // Copyright (c) 2009-2021 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include <map> #include <boost/version.hpp> #include <boost/filesystem.hpp> #...
/* * Copyright (C) 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
tilecoll WALL, WALL, WALL, WALL ; 00 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 02 tilecoll FLOOR, FLOOR, WARP_CARPET_DOWN, WARP_CARPET_DOWN ; 03 tilecoll WALL, WALL, WALL, FLOOR ; 04 tilecoll WALL, WALL, FLOOR, FLOOR ; 05 tilecoll WALL, WALL, FLOOR, WALL ; 06 tilecoll WALL, ...
; A317331: Indices m for which A058304(m) = 1. ; Submitted by Jamie Morken(s2) ; 4,8,11,16,20,23,27,32,36,40,43,47,52,55,59,64,68,72,75,80,84,87,91,95,100,104,107,111,116,119,123,128,132,136,139,144,148,151,155,160,164,168,171,175,180,183,187,191,196,200,203,208,212,215,219,223,228,232,235,239,244,247,251,256,260,264,2...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
; A154992: A048473 prefixed by two zeros. ; 0,0,1,5,17,53,161,485,1457,4373,13121,39365,118097,354293,1062881,3188645,9565937,28697813,86093441,258280325,774840977,2324522933,6973568801,20920706405,62762119217,188286357653,564859072961,1694577218885,5083731656657,15251194969973,45753584909921,137260754729765,4117822641...
#include "TriFacetDynamicIcon.h" UTriFacetDynamicIcon::UTriFacetDynamicIcon() { this->Primary3Texture_BasePoint = 0.00f; this->Primary3Texture_Contrast = 0.00f; }
; A155020: a(n) = 2*a(n-1) + 2*a(n-2) for n>2, a(0)=1, a(1)=1, a(2)=3. ; 1,1,3,8,22,60,164,448,1224,3344,9136,24960,68192,186304,508992,1390592,3799168,10379520,28357376,77473792,211662336,578272256,1579869184,4316282880,11792304128,32217174016,88018956288,240472260608,656982433792,1794909388800,4903783645184,133973860...
/cygdrive/E/AmebaD/sdk/svn_new/project/realtek_amebaD_cm4_gcc_verification/asdk/image/target_rom.axf: file format elf32-littlearm Disassembly of section .rom.text: 10100000 <__vectors_table>: 10100000: 1007effc .word 0x1007effc 10100004: 10100101 .word 0x10100101 10100008: 10100111 .word 0x10100111 1010000c:...
#this is the unittest for the function "draw_cross". #input: # cross on field 3, 5 and 7 #expected output: # | | |X| # | |X| | # |X| | | utest_draw_cross: #draw a cross in the top right field li a3, 427 li a4, 85 li a7, 0xffffff jal draw_cross #draw a cross in the field in the middle li a3, 256 l...
#include <osg/Geometry> #include <osg/Group> #include <osg/Node> #include <osg/Notify> #include <osg/StateSet> #include <osg/Switch> #include <iostream> #include "VTXReader.h" using namespace mdl; using namespace osg; using namespace osgDB; VTXReader::VTXReader(VVDReader * vvd, MDLRoot * mdlRoot) { // Save the...
; A327707: The minimal size of a partition lambda of n such that every partition of n with at most 7 parts can be obtained by coalescing the parts of lambda. ; 1,2,3,4,5,6,7,7,8,8,9,9,10,10,10,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,1...
; ; Copyright (C) 2021 Louis Hobson <louis-hobson@hotmail.co.uk>. All Rights Reserved. ; ; Distributed under MIT licence as a part of a cellular automaton project. ; For details, see: https://github.com/louishobson/GameOfLife/blob/master/LICENSE ; ; World.asm ; ; Contains functions for interfacing with the current worl...
; L0602.asm ; Generated 10.25.2000 by mlevel ; Modified 10.25.2000 by Abe Pralle INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" VAR_FIRE EQU 0 FIRE_INDEX EQU 24 ;--------------------------------------------------------------------- SECTION "Level0602Section",ROMX ;--------------------------------------------...
///////////////////////////////////////////////////////////////////////////////////////////////// // // Tencent is pleased to support the open source community by making libpag available. // // Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the Apache License, Versio...
; A017497: a(n) = 11*n + 9. ; 9,20,31,42,53,64,75,86,97,108,119,130,141,152,163,174,185,196,207,218,229,240,251,262,273,284,295,306,317,328,339,350,361,372,383,394,405,416,427,438,449,460,471,482,493,504,515,526,537,548,559,570,581,592,603,614,625,636,647,658,669,680,691,702,713,724,735,746,757,768,779,790,801,812,823,...
; stdio_out_ld ; 05.2008 aralbrec PUBLIC stdio_out_ld EXTERN stdio_longnumprec, stdio_outcommon, stdio_nextarg EXTERN l_int2long_s, l_long_neg EXTERN LIBDISP_STDIO_OUTCOMMON_SIGNED INCLUDE "../../stdio.def" ; output %ld parameter, handles both 16-bit %d and 32-bit %ld ; ; enter : ix = FILE * ; a =...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: ms3Manager.asm AUTHOR: Adam de Boor, March 19, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date ...
; void z80_delay_ms_fastcall(uint ms) SECTION code_clib SECTION code_z80 PUBLIC _z80_delay_ms_fastcall EXTERN asm_z80_delay_ms defc _z80_delay_ms_fastcall = asm_z80_delay_ms
#include<iostream> #include<algorithm> int N; int dp[1000001]; int myeok(int a); int main() { std::cin >> N; dp[1] = 1; } int myeok(int a) { if (dp[a] != 0) { return dp[a]; } else {
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #include "SpatialOSEditorToolbarSettings.h" USpatialOSEditorToolbarSettings::USpatialOSEditorToolbarSettings( const FObjectInitializer& ObjectInitializer) : SpatialOSLaunchArgument(TEXT("default_launch.json")) , bStopSpatialOnExit(false) , Super(ObjectIni...
/*! @file Forward declares `boost::hana::zip`. @copyright Louis Dionne 2015 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_FWD_ZIP_HPP #define BOOST_HANA_FWD_ZIP_HPP #include <boost/hana/core/when.hpp> ...
.386 .model flat .data num1 dword 11111111h num2 dword 10101010h ans dword 0 .code start proc mov eax, num1 add eax, num2 mov ans, eax ret start endp end start
global test_case extern Array.sliceq extern Array.eachq extern std.outq extern std.outln extern sys.error %include "Array.inc" section .text test_case: mov rax, test_arrayq ; Array to slice mov rbx, 2 ; at offset 2 call Array.sliceq ; slice into two arrays ...
section ".data" xdef pSnd_SetTempo_voice2 pSnd_SetTempo_voice2: moveq #1,d2 bsr pSnd__SetTempo_ rts
;/*! ; @file ; ; @ingroup fapi ; ; @brief BmsSetEventMask DOS wrapper ; ; (c) osFree Project 2021, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Proku...
; ******************************************************** ; Music Bank ; ; created with Beyond Gameboy Tracker ; ******************************************************** ; ************************ Pattern Streams ******************* SECTION "Ms11spaceP0", ROMX PATTERN_s11space0: DB $0A DB $03, $03, $F0, $01...
xor r0,r0,r0 xor r1,r1,r1 xor r2,r2,r2 xor r3,r3,r3 xor r4,r4,r4 xor r5,r5,r5 xor r6,r6,r6 ldl $-1 lsr r0,r7,r0 ldl #main jmp r0,r7,r0 nop r0,r0,r0 >main nop r0,r0,r0 ldl $30 and r7,r7,r1 ldl $27 and r7,r7,r2 ldl #mult call r0,r7,r0 ldl #outVal load r0,r7,r2 ldl #drawhex call r0,r7,r0 nop r0,r0,r0 hlt nop r0,r0,r0 >mul...
bits 64 rdfsbase eax rdfsbase rax rdgsbase eax rdgsbase rax rdrand ax rdrand eax rdrand rax wrfsbase eax wrfsbase rax wrgsbase eax wrgsbase rax osp rdfsbase eax osp rdfsbase rax osp rdgsbase eax osp rdgsbase rax osp wrfsbase eax osp wrfsbase rax osp wrgsbase eax osp wrgsbase rax
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 016ECE move.b ($4,A3), ($e,A6) [base+6BAD, base+6BBD, base+6BCD] 016ED4 move.b ($5,A3), ($f,A6) 0AAACA move.l (A0), D2 0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124...
JZ 6 0 DPRINT 55 HALT JZ 12 1 DPRINT 22 HALT DPRINT 33 HALT
// pop off the stack onto %%SEGMENT%% + %%INDEX%% @%%SEGMENT%% D=A @%%INDEX%% D=D+A @R13 M=D @SP AM=M-1 D=M @R13 A=M M=D
SFX_Battle_25_Ch1: unknownnoise0x20 15, 79, 65 unknownnoise0x20 8, 143, 65 unknownnoise0x20 8, 207, 65 unknownnoise0x20 8, 242, 66 unknownnoise0x20 15, 242, 65 endchannel
; A182362: a(n+1) = a(n) + floor(a(n)/9) with a(0)=9. ; 9,10,11,12,13,14,15,16,17,18,20,22,24,26,28,31,34,37,41,45,50,55,61,67,74,82,91,101,112,124,137,152,168,186,206,228,253,281,312,346,384,426,473,525,583,647,718,797,885,983,1092,1213,1347,1496,1662,1846 lpb $0 sub $0,1 add $2,1 mov $1,$2 div $2,9 add $2,...
// Copyright (c) 2012-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wallet/wallet.h" #include <set> #include <stdint.h> #include <utility> #include <vector> #include "consensus/vali...
; EARTHDAY.ASM -- Earth Day Virus ; Created with Nowhere Man's Virus Creation Laboratory v1.00 ; Written by Nowhere Man virus_type equ 0 ; Appending Virus is_encrypted equ 1 ; We're encrypted tsr_virus equ 0 ; We're not TSR code segment byte public assume cs:code,ds:code,es:code,ss:code ...
/******************************************************************************* * This file was auto-generated using the AutoGemm.py python script. * DO NOT modify this file! Instead, make changes to scripts in * clBLAS/src/library/blas/AutoGemm/ then re-generate files * (otherwise local changes will be lost a...
; A120070: Triangle of numbers used to compute the frequencies of the spectral lines of the hydrogen atom. ; Submitted by Simon Strandgaard ; 3,8,5,15,12,7,24,21,16,9,35,32,27,20,11,48,45,40,33,24,13,63,60,55,48,39,28,15,80,77,72,65,56,45,32,17,99,96,91,84,75,64,51,36,19,120,117,112,105,96,85,72,57,40,21,143,140,135,12...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x11123, %rsi lea addresses_WT_ht+0x16867, %rdi clflush (%rsi) nop xor %r9, %r9 mov $35, %rcx rep movsl nop nop nop add %r14, %r14 lea addresses_WC_ht+0x1d767, %rsi nop add...
; A051606: a(n) = (3*n+6)!!!/6!!!, related to A032031 ((3*n)!!! triple factorials). ; 1,9,108,1620,29160,612360,14696640,396809280,11904278400,392841187200,14142282739200,551549026828800,23165059126809600,1042427660706432000,50036527713908736000,2551862913409345536000,137800597324104658944000,7854634047473965559808000,...
; uchar __FASTCALL__ *zx_aaddrcright(void *attraddr) ; aralbrec 06.2007 XLIB zx_aaddrcright .zx_aaddrcright ; hl = valid attribute address ; hl = new attribute address right one character with line wrap ; carry if off screen inc hl ld a,$5a cp h ret
// Copyright (c) 2013-2021 niXman (github dotty nixman doggy pm dotty me) // All rights reserved. // // This file is part of EASYNET(https://github.com/niXman/easynet) project. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions...
// Test provided by Karu //SEQ test 4. Test saving 0 to rs // // Michael McKinley (mckinley) lbi r1, 0xff lbi r2, 0x35 seq r1, r1, r2 halt
; A214673: Floor of the moduli of the zeros of the complex Lucas function. ; 0,2,4,6,8,10,12,14,16,18,20,21,23,25,27,29,31,33,35,37,39,41,43,44,46,48,50,52,54,56,58,60,62,64,65,67,69,71,73,75,77,79,81,83,85,87,88,90,92,94,96,98,100,102,104,106,108,109,111,113,115,117,119,121,123,125 add $0,1 mul $0,88 div $0,46 sub $0...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x18ed7, %r11 nop nop nop nop and $48464, %r8 mov $0x6162636465666768, %rdx movq %rdx, %xmm0 vmovups %ymm0, (%r11) nop add $36515, %rbp lea addresses_D_ht+0xe82f, %rsi lea addre...
#pragma once #include "cli/details/Parse_fwd.hpp" namespace cli { namespace details { /// @brief Detector for user defined parse functions. /// @details A user defined parse function has the highest priority within /// cli::Parse(). The signature of these functions are /// "void CLIParse(T &, const char *)". te...
sta {m1} ora #$7f bmi !+ lda #0 !: sta {m1}+1
[BotW_ReshadeCompatibility_v208] moduleMatches = 0x6267BFD0 ; Prevents the depth buffer being swapped at certain camera angles with one that's only near-field which breaks Reshade effects 0x038A48BC = li r0, 0
#ifndef IDOCP_UNCONSTR_DYNAMICS_HXX_ #define IDOCP_UNCONSTR_DYNAMICS_HXX_ #include "idocp/unconstr/unconstr_dynamics.hpp" #include <stdexcept> #include <cassert> namespace idocp { inline UnconstrDynamics::UnconstrDynamics(const Robot& robot) : lu_condensed_(Eigen::VectorXd::Zero(robot.dimv())), ID_(Eigen::Ve...
; ; Copyright (c) 2010 The WebM 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 contributing proje...
; A154269: Dirichlet inverse of A019590; Fully multiplicative with a(2^e) = (-1)^e, a(p^e) = 0 for odd primes p. ; 1,-1,0,1,0,0,0,-1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : loops.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : Fred Bowen ; ; ***...
; A132762: a(n) = n*(n + 19). ; 0,20,42,66,92,120,150,182,216,252,290,330,372,416,462,510,560,612,666,722,780,840,902,966,1032,1100,1170,1242,1316,1392,1470,1550,1632,1716,1802,1890,1980,2072,2166,2262,2360,2460,2562,2666,2772,2880,2990,3102,3216 mov $1,$0 add $0,19 mul $0,$1
loop dw oc.00 dw oc.00 dw oc.00 dw oc.00 dw oc.01 dw oc.02 dw oc.03 dw oc.03 dw oc.03 dw oc.03 dw oc.01 dw oc.04 dw oc.05 dw oc.05 dw sq.00 dw sq.01 dw sq.02 dw tr.00 dw tr.00 dw tr.01 dw tr.01 dw tr.02 dw tr.02 dw smp.00 dw smp.01 dw smp.01 dw smp.01 dw smp.01 dw smp.01 dw smp.01 ...
; this is ripped off from pd code in RBBS-ASM (was ANSI1-7.ASM) ; has been heavily modified by M. Kimes, who isn't much of an ; asm-programmer. Now works with C in a strange way and supports ; configurable window. It's momma wouldn't know it now (and probably ; would claim it's the type of program she warned it about...
[BITS 64] extern CLIENT_STRUCT extern REQUEST extern print_string extern int_to_str extern serve_file section .rdata msg_connection_from db "Got a connection from: ", 0 parsing_msg db "Parsing ", 0 parsing_err db "A request parsing error has occoured", 13, 10, 0 path_msg db "Serving: ", 0 path_err db "Failed t...
; A014019: Inverse of 10th cyclotomic polynomial. ; 1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0 seq $0,53698 ; a(n) = n^3 + n^2 + n + 1. seq $0...