text
stringlengths
1
1.05M
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; custom interrupt code + key scanning ; ; ; ------ ; $Id: ozcustomisr.asm,v 1.5 2012/04/16 08:44:34 stefano Exp $ ; XLIB ozcustomisr XDEF serial_hook XDEF ozkeyclick XDEF oz1hz XDEF oz64...
org 100h A DB 5 DUP(2,3,4,5,6) ret
#include "MultiFuncShield.h" inline bool Button1() { return !digitalRead(BUTTON_1_PIN); }; inline bool Button2() { return !digitalRead(BUTTON_2_PIN); }; inline bool Button3() { return !digitalRead(BUTTON_3_PIN); }; void button1_func(); void button2_func(); void button3_func();
if 0 println "zero" else println "one" if 1 println "A" else println "B" elif 2 println "C" else println "D" endc elif 2 println "two" else println "three" endc
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; 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 copy...
; A055947: n - reversal of base 3 digits of n (written in base 10). ; 0,0,0,2,0,-2,4,2,0,8,0,-8,8,0,-8,8,0,-8,16,8,0,16,8,0,16,8,0,26,0,-26,20,-6,-32,14,-12,-38,32,6,-20,26,0,-26,20,-6,-32,38,12,-14,32,6,-20,26,0,-26,52,26,0,46,20,-6,40,14,-12,58,32,6,52,26,0,46,20,-6,64,38,12,58,32,6,52,26,0,80,0,-80,56,-24,-104,32,-4...
/// @ingroup MOD_MEXCEP /// @file mexception.cpp /// @brief Implementation of the new exception class methods /// @author Matheus Pimenta #include "mexception.hpp" mexception::mexception (const std::string& what) throw () : what_ ( what ) { } mexception::~mexception () throw () { } const char* mexception::what () c...
db 0 ; species ID placeholder db 50, 52, 48, 55, 65, 50 ; hp atk def spd sat sdf db WATER, WATER ; type db 190 ; catch rate db 80 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/psyduck/fr...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; MKDIR.ASM ;; ;; NDOS Make directory ;; ;; On start, dma contains command line argument length byte ;; and command line. ;; Stack pointer should be within CCP. ;; Check for NDOS; display error if not running. ;; Copy command line arguments to buf and call NDOS to s...
SECTION code_fp_math48 PUBLIC _ilogb_fastcall EXTERN cm48_sdcciy_ilogb_fastcall defc _ilogb_fastcall = cm48_sdcciy_ilogb_fastcall
/* * Copyright 2016 The Cartographer Authors * * 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...
; A155499: a(n) = n + (n+1)^(n+2). ; 1,9,83,1027,15629,279941,5764807,134217735,3486784409,100000000009,3138428376731,106993205379083,3937376385699301,155568095557812237,6568408355712890639,295147905179352825871,14063084452067724991025,708235345355337676357649,37589973457545958193355619,2097152000000000000000000019,122...
; $Id: ex1.asm,v 1.2 2011/04/12 09:05:29 sraj Exp $ ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2020 Broadcom Inc. All rights reserved. ; ; ;Here is an example program for programming the LEDs on the 5605. ;...
;******************************************************************************* ; msg.nasm - core message passing routines. ; Copyright (c) 2003 RET & COM Research. ;******************************************************************************* module kernel.ipc.msg %include "sys.ah" %include "errors.ah" %include "...
// Copyright (c) 2016-2019, The Monero Project // // 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 o...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rax push %rbx lea addresses_D_ht+0x2720, %r14 nop nop nop cmp %rax, %rax mov $0x6162636465666768, %r11 movq %r11, %xmm7 vmovups %ymm7, (%r14) add %rbx, %rbx pop %rbx pop %rax pop %r14 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 ...
_assTest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #define N_PAGES 24 char* data[N_PAGES]; volatile 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(%ec...
; A048005: Number of nonempty subsets of {1,2,...,n} in which exactly 1/2 of the elements are <= (n-1)/3. ; 0,0,0,3,4,5,20,27,35,119,164,219,714,1000,1364,4367,6187,8567,27131,38759,54263,170543,245156,346103,1081574,1562274,2220074,6906899,10015004,14307149,44352164,64512239,92561039,286097759 mov $1,1 add $1,$0 div ...
// 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 may...
;/* ; * FreeRTOS Kernel V10.4.3 ; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * 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 restri...
; A032261: Number of bracelets with n labeled beads of 3 colors. ; Submitted by Jon Maiga ; 1,3,9,27,243,2916,43740,787320,16533720,396809280,10713850560,321415516800,10606712054400,381841633958400,14891823724377600,625456596423859200,28145546839073664000,1350986248275535872000,68900298662052329472000,37206161277508257...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueTy...
; A004154: Omit trailing zeros from factorial numbers. ; 1,1,2,6,24,12,72,504,4032,36288,36288,399168,4790016,62270208,871782912,1307674368,20922789888,355687428096,6402373705728,121645100408832,243290200817664,5109094217170944,112400072777760768,2585201673888497664,62044840173323943936,15511210043330985984,40329146112...
Label -mem-manager-initialize DLabel $heap-start-ptr DataZ 4 DLabel $heap-after-ptr DataZ 4 DLabel $heap-first-free DataZ 4 ...
// (C) Copyright David Gleich 2007 // // Use, modification and distribution are subject to the // Boost Software License, Version 1.0 (See accompanying file // LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) #include <vector> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/core_numbers.hpp> #i...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xfbee, %rcx nop nop nop nop nop sub %rax, %rax mov $0x6162636465666768, %r12 movq %r12, %xmm5 movups %xmm5, (%rcx) and $51181, %rax lea addresses_normal_ht+0xbe6e, %rsi lea ad...
#include "vnl/vnl_matrix_fixed_ref.hxx" VNL_MATRIX_FIXED_REF_INSTANTIATE(float, 1, 1); VNL_MATRIX_FIXED_REF_INSTANTIATE(float, 2, 2); VNL_MATRIX_FIXED_REF_INSTANTIATE(float, 2, 3); VNL_MATRIX_FIXED_REF_INSTANTIATE(float, 3, 2); VNL_MATRIX_FIXED_REF_INSTANTIATE(float, 3, 3); VNL_MATRIX_FIXED_REF_INSTANTIATE(float, 3, 4)...
/*------------------------------------------------------------------------------ CGMF-1.1 Copyright TRIAD/LANL/DOE - see file LICENSE For any questions about CGMF, please contact us at cgmf-help@lanl.gov -------------------------------------------------------------------------------*/ // // cgmf.cpp // #includ...
#include "modules/mapred/map_task.h" #include "modules/mapred/sorter.h" #include "modules/io/utils.h" #include "modules/io/file_io.h" #include "modules/io/make_unique.h" REGISTER_TASK(map_task); REGISTER_TASK(map_part_task); void map_task::run() { if (m_subtasks.size() == 0 && input.get_num_records() != 0) { SPLOG...
; A042403: Denominators of continued fraction convergents to sqrt(728). ; Submitted by Christian Krause ; 1,1,53,54,2861,2915,154441,157356,8336953,8494309,450041021,458535330,24293878181,24752413511,1311419380753,1336171794264,70792352682481,72128524476745,3821475625473221,3893604149949966,206288891422871453,210182495...
#include "Platform.inc" #include "TailCalls.inc" #include "PollChain.inc" radix decimal extern POLL_AFTER_TEMPERATURESENSOR TemperatureSensor code global pollTemperatureSensor pollTemperatureSensor: .unknownBank tcall POLL_AFTER_TEMPERATURESENSOR end
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_PrimitiveID 0 x 0 PRIMID uint x // /...
section .text extern printf global main main: ; invoke sys_read mov eax, 3 mov ebx, 0 mov ecx, storage mov edx, 128 int 0x80 ; ; check char by char and count brackets ; ; eax/al = current char ; ebx = char counter ; ecx = bracket counter xor ebx, ebx xor ecx, ecx lp: mov al, [storage+ebx] cmp eax...
; A181475: a(n) = 3*n^4 + 6*n^3 - 3*n + 1. ; 1,7,91,397,1141,2611,5167,9241,15337,24031,35971,51877,72541,98827,131671,172081,221137,279991,349867,432061,527941,638947,766591,912457,1078201,1265551,1476307,1712341,1975597,2268091,2591911,2949217,3342241,3773287,4244731,4759021,5318677,5926291,6584527,7296121,8063881,88...
; ; ; Support char table (pseudo graph symbols) for the Mattel Aquarius ; Version for the 2x3 graphics symbols ; Sequence: blank, top-left, top-right, top-half, medium-left, top-left + medium-left, etc.. ; ; $Id: textpixl6.asm,v 1.2 2015/01/19 01:32:46 pauloscustodio Exp $ ; ; PUBLIC textpixl .textpixl defb 160,...
; A007953: Digital sum (i.e., sum of digits) of n; also called digsum(n). ; 0,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,11,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,11,12,13,5,6,7,8,9,10,11,12,13,14,6,7,8,9,10,11,12,13,14,15,7,8,9,10,11,12,13,14,15,16,8,9,10,11,12,13,14,15,16,17,9,10,11,12,13,14,15,16,17,18...
_rm: 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 ...
#include <iostream> #include <utility> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int t, n; cin >> t; while(t--) { cin >> n; auto a = new pair<int, int>*[n]; for(int i = 0; i < n; i++) { a[i] = new pair<int, int>[i + 1]; for(int j = 0; j <=...
;------------------------------------------------------------------------------ ;* ;* Copyright 2006 - 2007, Intel Corporation ;* All rights reserved. This program and the accompanying materials ;* are licensed and made availab...
; Weapon Tank Graphics lorom ; place at a suitable location in bank $89, then point the ; item_data for custom graphics to it in weapon-tank.xkas-06.asm ; (change the 9400 there to the latter 2/3 of this org) org $899400 ; frame 1 DB $3F,$3F,$50,$7F,$98,$F7,$3F,$D0,$1C,$90,$1D,$F0,$1D,$90,$7F,$90,$3F,$00,$7F,$00,$F...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2018, Sebastian Schlenkrich */ #ifndef quantlib_qgcalibrator_hpp #define quantlib_qgcalibrator_hpp #include <ql/indexes/swapindex.hpp> #include <ql/instruments/swaption.hpp> #include <ql/termstructures/volatility/swa...
; file: main.asm target: ATmega128L-4MHz-STK300 ; An EPFL MT-BA4 microcontroller project ; Authors: Marcus Cemes, Julien Moreno, Charlotte Vadori ; === Top-level includes === ; ; May only contain definitions and macros. .include "m128def.inc" .include "definitions.inc" .include "macros.asm" ; =...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x92c4, %rcx nop nop nop nop sub %rbp, %rbp mov $0x6162636465666768, %r9 movq %r9, (%rcx) sub $49956, %r11 lea addresses_A_ht+0xba54, %r10 sub $27746, %rdi mov (%r10), %rax nop ...
; A131970: 1 followed by 2n 2's. ; 1,122,12222,1222222,122222222,12222222222,1222222222222,122222222222222,12222222222222222,1222222222222222222,122222222222222222222,12222222222222222222222,1222222222222222222222222,122222222222222222222222222,12222222222222222222222222222,1222222222222222222222222222222,1222222222222...
dnl x86-64 mpn_divrem_1 -- mpn by limb division. dnl Copyright 2004, 2005, 2007-2010, 2012, 2014 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Le...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args=""/> <%docstring> Invokes the syscall geteuid. See 'man 2 geteuid' for more information. Arguments: </%docstring> ${syscall('SYS_geteuid')}
stx $fd lda {m1} sta $fe lda {m1}+1 sta $ff lda ($fe),y cmp $fd bne {la1}
0F88 C5 0F89 D5 0F8A E5 0F8B 11 CA 0B 0F8E 21 9B 0F 0F91 01 30 00 0F94 ED B0 0F96 E1 0F97 D1 0F98 C1 0F99 DF 5B 0F9B 53 50 20 20 0F9F 20 50 43 20 0FA3 20 20 41 20 0FA7 46 20 20 48 0FAB 20 4C 20 20 0FAF 44 20 45 20 0FB3 20 42 20 43 0FB7 20 20 49 20 0FBB 20 20 49 58 0FBF 20 20 20 49 0FC3 59 20 20 46 0FC7 6C 61 67 73
; A100775: a(n) = 97*n + 101. ; 101,198,295,392,489,586,683,780,877,974,1071,1168,1265,1362,1459,1556,1653,1750,1847,1944,2041,2138,2235,2332,2429,2526,2623,2720,2817,2914,3011,3108,3205,3302,3399,3496,3593,3690,3787,3884,3981,4078,4175,4272,4369,4466,4563,4660,4757,4854,4951,5048,5145,5242,5339,5436,5533,5630,5727,582...
/* Copyright 2017 Google Inc. 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 required by applicable law or agreed to in ...
// Copyright (c) 2014 The Bitcoin Core developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2018 The Leduro coin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primitives/transacti...
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include "string.h" #include <new> #include <base/math.h> #include <engine/shared/config.h> #include "gamecontext.h" #include <g...
; void *heap_destroy(void *heap) SECTION code_alloc_malloc PUBLIC heap_destroy defc heap_destroy = asm_heap_destroy INCLUDE "alloc/malloc/z80/asm_heap_destroy.asm"
; A154926: Signed version of Pascal's triangle. Diagonal positive, rest negative. ; Submitted by Christian Krause ; 1,-1,1,-1,-2,1,-1,-3,-3,1,-1,-4,-6,-4,1,-1,-5,-10,-10,-5,1,-1,-6,-15,-20,-15,-6,1,-1,-7,-21,-35,-35,-21,-7,1,-1,-8,-28,-56,-70,-56,-28,-8,1 lpb $0 add $1,1 sub $0,$1 mov $2,$1 sub $2,$0 min $2,...
%ifdef CONFIG { "RegData": { "MM6": ["0x8A51407DA8345C92", "0x3FFE"], "MM7": ["0xD76AA47848677021", "0x3FFE"] }, "Mode": "32BIT" } %endif lea edx, [data] fld tword [edx + 8 * 0] fsincos hlt align 8 data: dt 1.0 dq 0
Route17Mons: db $19 db 20,SPEAROW db 22,SPEAROW db 25,RATICATE db 24,DODUO db 27,RATICATE db 26,DODUO db 28,DODUO db 29,RATICATE db 25,FEAROW db 27,FEAROW db $00
[sonic2013_v48] moduleMatches = 0xC5691A40 ; load Linksonic on top of Sonic 0x02A60414 = nop 0x02A53680 = nop ; load ef_dl3_linksonic_speedrun instead of ef_ch_son_yh1_speedrun_loop 0x02A43FE0 = nop 0x02A44058 = nop ; load chr_Linksonic shadow model instead of chr_Sonic shadow model 0x02A607F8 = nop
/* * Copyright (c) 2019, NVIDIA CORPORATION. * * 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 2020 DeepMind Technologies Limited // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
; A139477: Number of binary digits in A001109(n). ; 1,3,6,8,11,13,16,18,21,23,26,29,31,34,36,39,41,44,46,49,51,54,56,59,62,64,67,69,72,74,77,79,82,84,87,90,92,95,97,100,102,105,107,110,112,115,118,120,123,125 mov $2,$0 add $2,1 mov $6,$0 lpb $2 mov $0,$6 sub $2,1 sub $0,$2 mov $4,$0 mov $8,2 lpb $8 sub...
// push constant 17 @17 D=A @SP A=M M=D @SP M=M+1 // push constant 17 @17 D=A @SP A=M M=D @SP M=M+1 // eq @SP AM=M-1 D=M A=A-1 D=M-D @c0_if_eq D;JEQ D=0 @c0_else 0;JMP (c0_if_eq) D=-1 (c0_else) @SP A=M-1 M=D // push constant 17 @17 D=A @SP A=M M=D @SP M=M+1 // push constant 16 @16 D=A @SP A=M M=D @SP M=M+1 /...
; A319645: Number of non-isomorphic weight-n antichains of distinct multisets whose dual is a chain of distinct multisets. ; Submitted by Christian Krause ; 1,1,1,2,3,4,7,9,16,22,38 add $0,1 mov $3,1 lpb $0 sub $0,1 add $1,3 add $2,$3 mov $3,$1 mov $1,$0 dif $2,2 add $3,$2 lpe mov $0,$2 div $0,18 add $0,...
#include "tic_tac_toe_3.h" /* class function check_column_win Win by column if and return true if 0,3, and 6 are equal 1, 4, and 7 2, 5, and 8 else false */ /* class function check_row_win Win by row if 0, 1, 2 are equal 3,4,5 are equal 6,7,8 are equal */ /* class function check_diagonal...
;Z88 Small C Library functions, linked using the z80 module assembler ;Small C Z88 converted by Dominic Morris <djm@jb.man.ac.uk> ; ;Exit routine, rewritten 27/11/98 so to traverse the atexit stack ; ;Constantly revisited through April ;Some of the opt rules cause this routine to be jumped to instead ;of called, so we ...
SECTION .text USE16 ; provide function for printing in x86 real mode ; a newline newline: db 0xD, 0xA, 0 ; print a string and a newline ; IN ; si: points at zero-terminated String ; CLOBBER ; ax print_line: mov si, newline call print ret ; print a string ; IN ; si: points at zero-terminated String...
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text of the license may be found at ...
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <gtest/gtest.h> #include "amlogic-video.h" #include "tests/test_support.h" /* namespace amlogic_decoder { namespace test { TEST(Binding, Destru...
/* * Copyright 2009-2017 Alibaba Cloud 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 required...
/* * See header file for a description of this class. * * \author S. Bolognesi and G. Cerminara - INFN Torino */ #include <iostream> #include <map> #include "DataFormats/DTRecHit/interface/DTRecHitCollection.h" #include "DataFormats/DTRecHit/interface/DTRecSegment2DCollection.h" #include "DataFormats/MuonDetId/...
; A037833: Number of i such that d(i)>=d(i-1), where Sum{d(i)*10^i: i=0,1,...,m} is base 10 representation of n. ; 0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1 lpb $0 mul $0,2 add ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1b5d4, %rsi lea addresses_normal_ht+0x934, %rdi clflush (%rdi) nop nop nop and %r14, %r14 mov $105, %rcx rep movsw nop nop nop and $52502, %rsi lea addresses_WC_ht+0x1b34, %rs...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xaad3, %rbp nop nop nop nop nop xor %r14, %r14 mov (%rbp), %r8w and $18346, %r14 lea addresses_normal_ht+0x25f3, %rcx nop nop nop cmp $43675, %rdx movw $0x6162, (%rcx) nop sub...
; float log2(float x) SECTION code_fp_math48 PUBLIC cm48_sdccix_log2 EXTERN cm48_sdccix_log2_fastcall cm48_sdccix_log2: pop af pop hl pop de push de push hl push af jp cm48_sdccix_log2_fastcall
db DEX_DEWGONG ; pokedex id db 90 ; base hp db 70 ; base attack db 80 ; base defense db 70 ; base speed db 95 ; base special db WATER ; species type 1 db ICE ; species type 2 db 60 ; catch rate db 176 ; base exp yield INCBIN "pic/ymon/dewgong.pic",0,1 ; 66, sprite dimensions dw DewgongPicFront dw DewgongPicBack ; attac...
; A244239: Number of partitions of n into 3 parts such that every i-th smallest part (counted with multiplicity) is different from i. ; 1,3,4,6,7,9,11,13,15,18,20,23,26,29,32,36,39,43,47,51,55,60,64,69,74,79,84,90,95,101,107,113,119,126,132,139,146,153,160,168,175,183,191,199,207,216,224,233,242,251,260,270,279,289,299...
; A182067: a(n) = floor(n) - floor(n/2) - floor(n/3) - floor(n/5) + floor(n/30). ; 0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1 mov $3,$0 lpb $3 mod $0,6 sub $3...
; 2000 djm ; 2007 aralbrec - use bcbc' rather than bytes indexed by ix per djm suggestion SECTION code_math PUBLIC l_small_mul_32_32x32, l0_small_mul_32_32x32 l_small_mul_32_32x32: ; multiplication of two 32-bit numbers into a 32-bit product ; ; enter : dehl = 32-bit multiplicand ; dehl'= 32-bi...
; strcpy function for use with far pointers ; 31/3/00 GWL ; ; $Id: strcpy_far.asm,v 1.5 2017/01/02 20:37:10 aralbrec Exp $ ; SECTION code_clib EXTERN farseg1,incfar PUBLIC strcpy_far PUBLIC _strcpy_far ;far *strcpy(far *s1,far *s2) ; copies s2 to s1 .strcpy...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 006886 move.w A0, ($70,A6) [123p+ 90] 00688A move.b #$12, ($c8,A6) [123p+ 70] 0068C8 move.w A6, ($70,A0) [123p+ 10] 0068CC move.b #$12, ($c8,A0) [123...
SECTION "Memory", ROM0 include "registers.asm" include "memory.asm" include "common.asm" ; We assume the source address is $C100 ; dma_transfer is stored in HRAM ($FF80) dma_transfer_start: ld a, high(DMA_OAM) ld [DMA],a ld a,$28 .wait: dec a ; the assembler is stupid ; I c...
Sound_46_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_46_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM5, Sound_46_FM5, $00, $00 ; FM5 Data Sound_46_FM5: smpsSetvoice $00 smpsModSet $05, $01, $1B, $37 dc.b nC5, $30 smpsStop Sound_46_Voices: ; Voice...
// license:BSD-3-Clause // copyright-holders:Nicola Salmoria /*************************************************************************** Time Pilot driver by Nicola Salmoria **************************************************************************** memory map (preliminary) Main processor memory ...
.include "effect.h" .include "symphony.h" .bank 1 .org MMC1_PRG palette: .db $0f,$19,$2b,$39, $0f,$17,$16,$06, $0f,$39,$3a,$3b, $0f,$3d,$3e,$0f .db $0f,$14,$27,$39, $0f,$27,$06,$2d, $0f,$0a,$29,$25, $0f,$02,$38,$3c hello_string: .db " Hello World!!!", $00 .org $fffa reset_vectors: .dw 0 .dw reset .d...
;-------------------------------------------------------------------------------- ; 291 - Moldorm Cave ; 286 - Northeast Dark Swamp Cave ;-------------------------------------------------------------------------------- !BIGRAM = "$7EC900"; ;-------------------------------------------------------------------------------...
; A127230: a(n) = (2n)! - 1. ; 1,23,719,40319,3628799,479001599,87178291199,20922789887999,6402373705727999,2432902008176639999,1124000727777607679999,620448401733239439359999,403291461126605635583999999,304888344611713860501503999999,265252859812191058636308479999999 mul $0,2 add $0,2 seq $0,142 ; Factorial numbers: ...
/* * RungeKutta4.hh * * created on: 22.04.2015 * author: rungger */ /** @file **/ #ifndef RUNGEKUTTA4_HH_ #define RUNGEKUTTA4_HH_ /** @namespace scots **/ namespace scots { /** * * @brief Fixed step size ODE solver implementing a RungeKutta scheme of order 4 * * @param rhs - lambda expression imp...
; A253946: a(n) = 6*binomial(n+1, 6). ; 6,42,168,504,1260,2772,5544,10296,18018,30030,48048,74256,111384,162792,232560,325584,447678,605682,807576,1062600,1381380,1776060,2260440,2850120,3562650,4417686,5437152,6645408,8069424,9738960,11686752,13948704,16564086,19575738,23030280,26978328,31474716,36578724,42354312,4887...
;****************************************************************************** ;* Core video DSP functions ;* Copyright (c) 2012 Ronald S. Bultje <rsbultje@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General ...
#include "model_loader.hpp" // use floats and med precision operations #define GLM_PRECISION_MEDIUMP_FLOAT #include <glm/vec3.hpp> #include <glm/geometric.hpp> #include <iostream> namespace model_loader { model obj(std::string const& name, model::attrib_flag_t import_attribs){ std::vector<tinyobj::shape_t> shapes...
_kill: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char **argv) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi 4: 56 push %esi...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Linq.Expressions.Interpreter...
/* Copyright (c) 2003, Arvid Norberg 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 conditions and the f...
Name: ys_rpro.asm Type: file Size: 119324 Last-Modified: '2016-05-13T04:50:37Z' SHA-1: 9BC830D5CFABDA386CC53E8C1632FCD0DC07A58E Description: null
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mash/browser/debug_view.h" #include "base/strings/utf_string_conversions.h" #include "ui/gfx/canvas.h" #include "ui/views/background.h" #includ...
#include "terrain.h" #include "engine/blob.h" #include "engine/crc32.h" #include "engine/geometry.h" #include "engine/json_serializer.h" #include "engine/lifo_allocator.h" #include "engine/log.h" #include "engine/math_utils.h" #include "engine/profiler.h" #include "engine/property_register.h" #include "engine/resource_...
// Copyright (c) 2011-2016, NVIDIA 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 source code must retain the above copyright // notice, this list of con...
; This table contains the pointers to each dialogue and the text macro pointers dl Message0000,Message0001,Message0002,Message0003 dl Message0004,Message0005,Message0006,Message0007 dl Message0008,Message0009,Message000A,Message000B dl Message000C,Message000D,Message000E,Message000F dl Message0010,Message0011,Message0...
/** * Copyright (C) 2016 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be usef...
main: PUSH %14 MOV %15,%14 SUBS %15,$1,%15 MOV $1,-1(%14) SUBS %15,$1,%15 MOV $0,-2(%14) AND -1(%14),-2(%14),%0 XOR %0,$1,%0 SUBS %15,$1,%15 MOV %0,-3(%14) @main_body: MOV -3(%14),%13 JMP @main_exit @main_exit: MOV %14,%15 POP %14 RET
r1: db 0 r2: db 1 ld a , r1 / r2