text
stringlengths
1
1.05M
MODULE MDATAP0 INTERMISION_PATTERNS_0 incbin "intermission_0.til" INTERMISION_COLORS_0 incbin "intermission_0.col" INTERMISION_PATTERNS_1 incbin "intermission_1.til" INTERMISION_COLORS_1 incbin "intermission_1.col" INTERMISION_PATTERNS_2 incbin "intermission_2.til" INTERMISION_COLORS_2 incbin "i...
; A124388: 27*n+18. ; 18,45,72,99,126,153,180,207,234,261,288,315,342,369,396,423,450,477,504,531,558,585,612,639,666,693,720,747,774,801,828,855,882,909,936,963,990,1017,1044,1071,1098,1125,1152,1179,1206,1233,1260,1287,1314,1341,1368,1395,1422,1449,1476,1503,1530,1557,1584,1611,1638,1665,1692,1719,1746,1773,1800,1827...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | +---------...
#pragma once constexpr auto DEFAULT_DESC = "Have fun coding, put in your project's description here."; constexpr auto README_CMAKE_BOILERPLATE = "${{CPPROJ_PROJECT_NAME}}\n" "----\n" "\n" "${{CPPROJ_PROJECT_DESC}}\n" ...
; Startup for Excalibur 64 ; ; Stefano Bodrato - 2019 ; ; $Id: excali64_crt0.asm $ ; ; ; ; To run at position $6000: ; ; POKE -957,96 ; POKE -958,0 ; PRINT USR(0) ; ; To change loading speed (CLOADM, ecc..): 01 = 1200 baud 02 = 600 baud 04 = 300 baud ; POKE -1053,n MODULE excali...
; size_t w_vector_insert_n(w_vector_t *v, size_t idx, size_t n, void *item) SECTION code_clib SECTION code_adt_w_vector PUBLIC w_vector_insert_n EXTERN asm_w_vector_insert_n w_vector_insert_n: pop ix pop af pop de pop bc pop hl push hl push bc push de push af push ix jp as...
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)adcz" .byte 0 lda #%00011011 sta db lda #%11000110 st...
Music_DefeatedTrainer_Ch1:: tempo 224 volume 7, 7 duty_cycle 2 toggle_perfect_pitch tempo 224 note_type 4, 10, 2 octave 4 note D_, 2 tempo 224 note_type 4, 10, 2 note D_, 2 note D_, 2 note D_, 2 octave 3 note A_, 2 octave 4 note D_, 2 note_type 4, 11, 3 note F#, 12 duty_cycle 1 tempo 224 Music_Def...
; A151780: 5^{wt(n)-1}. ; 1,1,5,1,5,5,25,1,5,5,25,5,25,25,125,1,5,5,25,5,25,25,125,5,25,25,125,25,125,125,625,1,5,5,25,5,25,25,125,5,25,25,125,25,125,125,625,5,25,25,125,25,125,125,625,25,125,125,625,125,625,625,3125,1,5,5,25,5,25,25,125,5 seq $0,48881 ; a(n) = A000120(n+1) - 1 = wt(n+1) - 1. mov $1,5 pow $1,$0 mov $0...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x16f45, %rsi lea addresses_WC_ht+0x10f0b, %rdi nop nop nop nop nop add $51699, %r10 mov $25, %rcx rep movsb nop nop inc %r14 lea addresses_WC_ht+0x14c0b, %r15 nop dec %r10 movl $0x61626364, (%r1...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *obstack_int_grow(struct obstack *ob, int data) ; ; Append int to the growing object. ; ; =============================================================== SECTION cod...
; A132351: Partial sums of A132350. ; 1,2,3,3,4,5,6,6,6,7,8,9,10,11,12,12,13,14,15,16,17,18,19,20,20,21,21,22,23,24,25,25,26,27,28,28,29,30,31,32,33,34,35,36,37,38,39,40,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,54,55,56,57,58,59,60,61,62,63,64,65,66 mov $2,$0 add $2,1 mov $3,$0 lpb $2 mov $0,$3 sub $2,1 sub ...
# Variaveis associadas aos registradores: # endBase -> $16 .data A: .word -2 .text .globl main main: addi $16, $0, 0x1001 # endBase = 0x00001001 sll $16, $16, 0x10 # endBase = 0x10010000 lw $8, 0x0($16) # t0 = mem[ 0 + endBase ] sra $9, $8, 0x19 # t0 >> 31 beq $9, $0, fim # if (t0 == 0) goto fim...
; A017417: a(n) = (11*n+2)^5. ; 32,371293,7962624,52521875,205962976,601692057,1453933568,3077056399,5904900000,10510100501,17623416832,28153056843,43204003424,64097340625,92389579776,129891985607,178689902368,241162079949,320000000000,418227202051,539218609632 mul $0,11 add $0,2 pow $0,5
; A165751: a(n) = 4 - 3*2^n. ; 1,-2,-8,-20,-44,-92,-188,-380,-764,-1532,-3068,-6140,-12284,-24572,-49148,-98300,-196604,-393212,-786428,-1572860,-3145724,-6291452,-12582908,-25165820,-50331644,-100663292,-201326588,-402653180,-805306364,-1610612732,-3221225468,-6442450940,-12884901884,-25769803772,-51539607548,-1030792...
Sound_D6_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_D6_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM3, Sound_D6_FM3, $10, $04 ; FM3 Data Sound_D6_FM3: smpsSetvoice $00 smpsModSet $01, $01, $0C, $01 Sound_D6_Loop00: dc.b nC0, $08, nC0 smpsContinu...
; A052602: E.g.f. x^2*(1-x)/(1-x-x^2). ; Submitted by Jamie Morken(s2) ; 0,0,2,0,24,120,1440,15120,201600,2903040,47174400,838252800,16286054400,342486144000,7758867916800,188305108992000,4875010043904000,134094160392192000,3905447960494080000 mov $2,$0 sub $0,1 lpb $0 mov $3,$2 mul $3,$0 sub $0,1 mov $2,$1 ...
%ifndef RESET_CURSOR %define RESET_CURSOR resetCursor: mov ah, 0x02 mov bh, 0x00 mov dh, 0x00 mov dl, 0x00 int 0x10 ret %endif
frame 0, 04 setrepeat 2 frame 1, 10 frame 2, 12 frame 1, 08 frame 0, 08 dorepeat 2 endanim
db DEWGONG ; 087 db 90, 70, 80, 70, 70, 95 ; hp atk def spd sat sdf db WATER, ICE ; type db 75 ; catch rate db 176 ; 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/dewgong/front.dimensions"...
#include "HelloWorldScene.h" USING_NS_CC; USING_NS_CC_EXT; Scene* HelloWorld::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); // 'layer' is an autorelease object auto layer = HelloWorld::create(); // add layer as a child to scene scene->addChild(layer); ...
/* ///////////////////////////////////////////////////////////////////////// * File: implicit_link.cpp * * Purpose: Implicit link file for the test.unit.bundle.winini project. * * Created: 12th April 2008 * Updated: 26th September 2015 * * Status: Wizard-generated * * License: (Lic...
; ; Word: ! ; Dictionary: (d a - ) ; Date: 1st February 2018 ; Macro: Yes ; Notes: ; pop ix pop hl ex de,hl ld (hl),e inc hl ld (hl),d pop de jp (ix)
;* * * * * Small-C/Plus z88dk * * * * * ; Version: 16894-223f580fd-20200818 ; ; Reconstructed for z80 Module Assembler ; ; Module compile time: Wed Jul 7 12:41:42 2021 C_LINE 0,"asinf16.c" MODULE asinf16_c INCLUDE "z80_crt0.hdr" C_LINE 0,"math16.h" C_LINE 0,"/home/phillip/Z80/z88dk/lib/config/../..//incl...
// Author: Matthieu Garrigues matthieu.garrigues@gmail.com // // Single header version the lithium_pgsql library. // https://github.com/matt-42/lithium // // This file is generated do not edit it. #pragma once #include <any> #include <arpa/inet.h> #include <atomic> #include <boost/lexical_cast.hpp> #include <cassert>...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x5af4, %rsi lea addresses_WT_ht+0xd75a, %rdi nop nop nop add %rax, %rax mov $79, %rcx rep movsq nop nop nop nop xor $58060, %r12 lea addresses_D_ht+0xb2a8, %rdi clflush (%rdi) nop ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1a794, %r9 nop xor %rbx, %rbx movl $0x61626364, (%r9) nop nop nop nop xor %rbp, %rbp lea addresses_D_ht+0x2f2e, %rdi nop nop nop nop add %r12, %r12 movb $0x61, (%rdi) nop and...
; $Id: bit_open_di.asm,v 1.2 2008/12/11 16:42:22 stefano Exp $ ; ; Galaksija 1 bit sound functions ; ; Open sound and disable interrupts for exact timing ; ; Stefano Bodrato - 8/4/2008 ; XLIB bit_open_di XREF snd_tick .bit_open_di ld a,@10111000 ld (snd_tick),a di ...
; ; Embedded C Library ; ; fgetc_cons ; ; Daniel Wallner - Mar. 2002 ; INCLUDE "ns16450.def" PUBLIC fgetc_cons .fgetc_cons ld bc,UART_BASE + LSR loop: in a,(c) and a,$1 jr z,loop ld bc,UART_BASE in a,(c) ld l,a ret
; ; Old School Computer Architecture - interfacing FLOS ; Stefano Bodrato, 2012 ; ; unsigned long file_sector_list (struct flos_file file); ; ; Get the current sector and update the sector/cluster counters ; ; $Id: file_sector_list.asm,v 1.4 2016-06-22 22:13:09 dom Exp $ ;----------------------------------------------...
; A157932: Numbers k such that (3^(35*k) + 5^(21*k) + 7^(15*k)) mod 105 is prime. ; 0,4,6,8,12,16,18,20,24,28,30,32,36,40,42,44,48,52,54,56,60,64,66,68,72,76,78,80,84,88,90,92,96,100,102,104,108,112,114,116,120,124,126,128,132,136,138,140,144,148,150,152,156,160,162,164,168,172,174,176,180,184,186,188,192,196,198,200,2...
; A271800: Five steps forward, four steps back. ; Submitted by Jamie Morken(s3) ; 0,1,2,3,4,5,4,3,2,1,2,3,4,5,6,5,4,3,2,3,4,5,6,7,6,5,4,3,4,5,6,7,8,7,6,5,4,5,6,7,8,9,8,7,6,5,6,7,8,9,10,9,8,7,6,7,8,9,10,11,10,9,8,7,8,9,10,11,12,11,10,9,8,9,10,11,12,13,12,11,10,9,10,11,12,13,14,13,12,11,10,11,12,13,14,15,14,13,12,11 lpb...
; A275863: Floor(r*a(n-1)) + floor(r*a(n-2)), where r = 5/2, a(0) = 1, a(1) = 1. ; Submitted by Christian Krause ; 1,1,4,12,40,130,425,1387,4529,14789,48294,157707,515002,1681772,5491935,17934267,58565504,191249427,624537327,2039466884,6660010527,21748693527,71021760134,231926134152,757369735715,2473239674667,807652352...
; Assembly for qsort.bas ; compiled with mcbasic ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of console ; ; Memory eq...
lda ($fb),y jsr $ffd2
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1d8f1, %rsi lea addresses_WT_ht+0x13801, %rdi nop nop nop nop nop xor %r8, %r8 mov $66, %rcx rep movsq nop nop nop nop nop add %rax, %rax lea addresses_WC_ht+0xc1d1, %rbp nop ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ #include <gmock/gmock.h> #include <gtest/gtest.h> #include <quic/server/state/ServerStateMachine.h> #include <quic/state/QuicSt...
// stdafx.cpp : source file that includes just the standard includes // inf.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
; A006257: Josephus problem: a(2*n) = 2*a(n)-1, a(2*n+1) = 2*a(n)+1. ; 0,1,1,3,1,3,5,7,1,3,5,7,9,11,13,15,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,3,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,1,3,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,5...
#include <gtest/gtest.h> #include "base/bus.h" TEST(Test_BusBase_width, case1) { unsigned long _bus_width = 16; base::BusBase bus(_bus_width); EXPECT_EQ(bus.width(), _bus_width); } TEST(Test_BusBase_named, case2) { unsigned long _bus_width = 16; base::BusBase bus(_bus_width); bus.named("Test...
; void mpn_sqr_basecase(mp_ptr, mp_srcptr, mp_size_t) ; Linux rdi rsi rdx ; Win64 rcx rdx r8 %include 'yasm_mac.inc' %define reg_save_list rbx, rsi, rdi, rbp, r12, r13, r14 text xalign 32 LEAF_PROC mpn_sqr_basecase cmp r8, 2 jae ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>fstat(fd, buf) -> str Invokes the syscall fstat. See 'man 2 fstat' for more information. Arguments: fd(int): fd buf(stat*): buf Returns: int </%docstring> <%page args="fd=0, buf=0"/> <% ...
; A051000: Sum of cubes of odd divisors of n. ; 1,1,28,1,126,28,344,1,757,126,1332,28,2198,344,3528,1,4914,757,6860,126,9632,1332,12168,28,15751,2198,20440,344,24390,3528,29792,1,37296,4914,43344,757,50654,6860,61544,126,68922,9632,79508,1332,95382,12168,103824,28,117993,15751,137592,2198,148878,20440,167832,344,192080...
; A165568: a(n) = -1 - 2*n + n^2 + 2*n^3 + n^4. ; -1,1,31,137,391,889,1751,3121,5167,8081,12079,17401,24311,33097,44071,57569,73951,93601,116927,144361,176359,213401,255991,304657,359951,422449,492751,571481,659287,756841,864839,984001,1115071,1258817,1416031,1587529,1774151,1976761,2196247,2433521,2689519,2965201,3261...
; -------------------------------------- ; Test MOV using serial monitor output. ; -------------------------------------- Start: mvi a,0 ; Set initial register A value. inr a mov b,a ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2015 - 2018, 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 distri...
;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* 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 abo...
; Rectangle, Intervals and Points ; 05.2006 aralbrec PUBLIC r_IsPtInIval16 EXTERN RIsPtInIval16 ; int r_IsPtInIval16(uint x, struct r_Ival16 *i) .r_IsPtInIval16 ld hl,2 add hl,sp ld e,(hl) inc hl ld d,(hl) inc hl push hl ex de,hl ld c,(hl) inc hl ld b,(hl) inc hl ld e,(hl) ...
; A070401: a(n) = 6^n mod 47. ; 1,6,36,28,27,21,32,4,24,3,18,14,37,34,16,2,12,25,9,7,42,17,8,1,6,36,28,27,21,32,4,24,3,18,14,37,34,16,2,12,25,9,7,42,17,8,1,6,36,28,27,21,32,4,24,3,18,14,37,34,16,2,12,25,9,7,42,17,8,1,6,36,28,27,21,32,4,24,3,18,14,37,34,16,2,12,25,9,7,42,17,8,1,6,36,28,27,21,32,4,24,3,18,14,37,34,16,2,1...
org 0x100 cpu 8086 jmp loader newInt10: cmp ax,0x13 jne notMode13 pushf call far[cs:oldInt10] mov dx,0x03d4 mov ax,0x0100 out dx,ax ; Reset sequencer mov ax,0x0901 out dx,ax ; Set double pixel width mov dl,0xc2 mov al,0x27 out dx,al ; Set 28.322 MHz clock, polarity for ...
; A276886: Sums-complement of the Beatty sequence for 2 + phi. ; 1,2,5,6,9,12,13,16,17,20,23,24,27,30,31,34,35,38,41,42,45,46,49,52,53,56,59,60,63,64,67,70,71,74,77,78,81,82,85,88,89,92,93,96,99,100,103,106,107,110,111,114,117,118,121,122,125,128,129,132,135,136 mov $1,$0 pow $0,2 mov $2,$0 lpb $2 sub $2,1 sub $2,...
; A002004: Davenport-Schinzel numbers of degree 4 on n symbols. ; 1,4,8,12,17,22,27,32,37,42,47,53,58,64,69,75,81,86,92,98,104 mov $2,1 mov $4,$0 add $0,8 add $4,1 add $2,$4 mov $1,$2 mul $1,2 mov $3,120 mul $4,2 pow $4,2 div $4,$0 add $3,$4 add $1,$3 mul $1,5 sub $1,620 div $1,5 add $1,1 mov $0,$1
;* ;* keymon5.asm : OS/2 keyboard monitor ;***************************************************************************** SetBxInkb MACRO ;* address inkb struct with bx mov bx,[di].pinkbCur ;* assume [di] == rgwKbdData ENDM SetBxInos MACRO ;* address inosDrv struct with bx mov bx,pinos ENDM PushFld MACRO fld ...
; long __FASTCALL__ atol(char *s) ; 12.2006 aralbrec XLIB atol LIB l_long_neg, asm_isspace ; FASTCALL ; enter : hl = char* ; exit : dehl = long result ; bc = & next char to interpret in char* .atol ld a,(hl) ; eat whitespace inc hl call asm_isspace jr z, atol ; ate up one ...
//+------------------------------------------------------------------------ // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1992 - 1995. // // File: encode.cxx // // Contents: Support for HTML character set encoding // //----------------------------------------------------------------...
dc.w word_8F090-Map_Rockn dc.w word_8F098-Map_Rockn dc.w word_8F0A0-Map_Rockn dc.w word_8F0A8-Map_Rockn dc.w word_8F0B0-Map_Rockn word_8F090: dc.w 1 ; DATA XREF: ROM:0008F086o dc.b $F8, 9, 0, 0, $FF, $F4 word_8F098: dc.w 1 ; DATA XREF: ROM:0008F086o dc.b $F8, 9, 0, 6, $FF, $F4 word_8F0...
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- Mode: C++ -*- // // Copyright (C) 2020 Google, Inc. // // Author: Matthias Maennich /// @file /// /// This program tests symtab invariants through abg-corpus. #include <iostream> #include <limits> #include <vector> #include "abg-corpus.h" #include "ab...
; A037528: Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,2. ; Submitted by Jamie Morken(s2.) ; 1,4,14,43,130,392,1177,3532,10598,31795,95386,286160,858481,2575444,7726334,23179003,69537010,208611032,625833097,1877499292,5632497878,16897493635,50692480906,152077442720,45...
; A062402: a(n) = sigma(phi(n)). ; 1,1,3,3,7,3,12,7,12,7,18,7,28,12,15,15,31,12,39,15,28,18,36,15,42,28,39,28,56,15,72,31,42,31,60,28,91,39,60,31,90,28,96,42,60,36,72,31,96,42,63,60,98,39,90,60,91,56,90,31,168,72,91,63,124,42,144,63,84,60,144,60,195,91,90,91,168,60,168,63,120,90,126,60,127,96,120,90,180,60,195,84,168,7...
/*----------------------------------------------------------------------- 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 ...
; A293673: a(n) is the integer k that minimizes |k/Fibonacci(n) - 4/5|. ; 0,1,1,2,2,4,6,10,17,27,44,71,115,186,302,488,790,1278,2067,3345,5412,8757,14169,22926,37094,60020,97114,157134,254249,411383,665632,1077015,1742647,2819662,4562310,7381972,11944282,19326254,31270535,50596789,81867324,132464113,214331437,346795550...
#pragma once #include <memory> #include <functional> #include "IUnsubscribable.hpp" #include "Observers/IErrorObserver.hpp" namespace cm { using OnError = std::function<void(const std::exception &)>; struct IErrorObservable { using Ptr = std::shared_ptr<IErrorObservable>; virtual IUnsubsc...
; A037644: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1. ; Submitted by Jon Maiga ; 2,21,190,1712,15411,138700,1248302,11234721,101112490,910012412,8190111711,73711005400,663399048602,5970591437421,53735322936790,483617906431112,4352561157880011,39173050420920100,352...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Linguist of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerci...
@R2 M=0 (LOOP) @R1 D=M; @END D;JEQ @R0 D=M @R2 M=D+M @R1 M=M-1 @LOOP 0;JMP (END) @END 0;JMP
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x13bf, %rsi lea addresses_WT_ht+0x18717, %rdi nop nop nop nop nop inc %rax mov $76, %rcx rep movsb nop nop nop nop nop add $29566, %r15 lea addresses_WT_ht+0xbb17, %rsi lea ad...
; A033353: a(n) = floor(33/n). ; 33,16,11,8,6,5,4,4,3,3,3,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,33 div $1,$0 mov $0,$1
; A048509: a(n) = T(4,n), array T given by A048505. ; 1,26,87,233,577,1377,3217,7409,16881,38129,85489,190449,421873,929777,2039793,4456433,9699313,21037041,45481969,98041841,210763761,451936241,966787057,2063597553,4395630577,9344909297,19830669297,42010148849,88852135921,187636383729,395673862129,833223655409,1752346...
; $Revision: 9.0 $ include rules.asi Header@ DENOM EQU 0 NUMER EQU 12 PREV_CW EQU 28 ; 24 + 4 (return size) PATCH_CW EQU 32 ; 28 + 4 (return size) MAIN_DENOM EQU 4 MAIN_NUMER EQU 16 STACK_SIZE EQU 44 ONESMASK EQU 0e000000h fdivp_sti MACRO reg_index, reg_index_minus1 fstp tbyte ptr [esp+DENOM] IF reg_ind...
; --------------------------------------------------------------------------- ; Sprite mappings - waterfalls (LZ) ; --------------------------------------------------------------------------- Map_WFall_internal: dc.w @vertnarrow-Map_WFall_internal dc.w @cornerwide-Map_WFall_internal dc.w @cornermedium-Map_WFall_i...
#pragma once #include <string> namespace CaptainAsteroidCPP { namespace Def { // Enums and Struct used by API to Unity enum GameState : std::uint32_t { GS_Start = 1 << 0, GS_Playing = 1 << 1, GS_GameOver = 1 << 2, GS_Victory = 1 << 3, }; enum EntityType : std::uint32_t { Asteroid_XXL...
SECTION code_fp_math32 PUBLIC ___fssub_callee EXTERN cm32_sdcc_fssub_callee defc ___fssub_callee = cm32_sdcc_fssub_callee
.code ; int Core_Math_Sum_(int a, int b) Core_Math_Sum_ proc add ecx, edx mov eax, ecx ret Core_Math_Sum_ endp ; int Core_Math_Div_(int a, int b, int* quotient, int* remainder) Core_Math_Div_ proc ; Error if < 0 cmp edx, 0 je InvalidDivisor mov r10d, edx ; Backup the divisor value mov eax, ecx ; Convert an int s...
//------------------------------------------------------------------------------ // Copyright 2007-2011 by Jyh-Ming Lien and George Mason University // See the file "LICENSE" for more information //------------------------------------------------------------------------------ #include "polygon.h" #include "intersec...
db 0 ; species ID placeholder db 100, 85, 60, 90, 95, 60 ; hp atk def spd sat sdf db GRASS, GRASS ; type db 45 ; catch rate db 141 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/bayleef/...
# crti.s for sysv4 # Copyright (C) 1996 Free Software Foundation, Inc. # Written By Michael Meissner # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2, or (at your option) an...
; A168178: a(n) = n^3*(n^2 + 1)/2. ; 0,1,20,135,544,1625,3996,8575,16640,29889,50500,81191,125280,186745,270284,381375,526336,712385,947700,1241479,1604000,2046681,2582140,3224255,3988224,4890625,5949476,7184295,8616160,10267769,12163500,14329471,16793600,19585665,22737364,26282375,30256416,34697305,39645020,45141759,5...
; ------------------------------------------------------------------------------ ; memory address values ENUM $0 BASE $BC current_level: BASE $BD current_world: BASE $72 current_lives: BASE $71 game_state: ; 01 -> normal, 05 -> star-spin flying? BASE $6F game_state_b: ; bit 7: hard mode. bit 6: hell mode. BASE $D...
TITLE LLSCREEN - Screen Statement Interface ;*** ;LLSCREEN - Screen Statement Interface ; ; Copyright <C> 1987, Microsoft Corporation ; ;Purpose: ; This module contains B$SCRSTT, the screen statement support routine. ; ;***************************************************************************** INCLUDE switch.inc ...
object_const_def ; object_event constants const CERULEANGYMBADGESPEECHHOUSE_POKEFAN_M CeruleanGymBadgeSpeechHouse_MapScripts: db 0 ; scene scripts db 0 ; callbacks CeruleanGymBadgeSpeechHousePokefanMScript: jumptextfaceplayer CeruleanGymBadgeSpeechHousePokefanMText CeruleanGymBadgeSpeechHousePokefanMText: tex...
; A039825: a(n) = floor((n^2 + n + 8) / 4). ; 2,3,5,7,9,12,16,20,24,29,35,41,47,54,62,70,78,87,97,107,117,128,140,152,164,177,191,205,219,234,250,266,282,299,317,335,353,372,392,412,432,453,475,497,519,542,566,590,614,639 add $0,2 bin $0,2 div $0,2 mov $1,$0 add $1,2
; A257286: a(n) = 5*6^n-4*5^n. ; 1,10,80,580,3980,26380,170780,1087180,6835580,42575980,263268380,1618672780,9907349180,60420657580,367406757980,2228854610380,13495197974780,81581539411180,492540994279580,2970504754739980,17899322473752380 mov $1,3 mov $2,$0 mov $3,3 lpb $2,1 add $1,$3 mul $1,5 sub $2,1 mul $3...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 00494C move.l D0, (A4)+ 00494E move.l D0, (A4)+ 004D3A move.l D0, (A4)+ 004D3C move.l D0, (A4)+ 010D5E move.l #$4000000, ($4,A3) [etc+ 2] 010D66 clr.b ($7a,A3) [etc+ 4, etc+ 6] 0124BA move.l #$...
; A298271: Expansion of x/((1 - x)*(1 - 322*x + x^2)). ; Submitted by Christian Krause ; 0,1,323,104006,33489610,10783550415,3472269744021,1118060074024348,360011871566096036,115922704584208899245,37326750864243699460855,12019097855581887017496066,3870112182746503375934272398,1246164103746518505163818216091,40126097129...
; Copyright Oliver Kowalke 2009. ; 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) ; ---------------------------------------------------------------------------------- ; | 0 | 1 ...
.data input_text: .asciiz "Enter int: " output_odd: .asciiz "The number is odd" output_even: .asciiz "The number is even" .text la $a0,input_text li $v0, 4 syscall li $v0,5 #set value syscall move $t0, $v0 loop: bne $t0,1,exitodd bne $t0,0,exiteven srl $t0,$t0,1 j loop exitodd: li ...
#include <evnt/evnt.hpp> #include <gtest/gtest.h> #include <cstdlib> class int_event { public: int value; }; TEST(event_manager_tests, test_emit_event_lvalue_reference) { evnt::event_manager event_manager; int value = 0; event_manager.connect<int_event>([&value](int_event& event) { value =...
//Loading transition Text($00115BC4, "Please wait...") ; fill 8 //Action Menu Text($43B54940, "Attack") ; fill 6 Text($43B53EA4, "Attack") ; fill 6 Text($00114E44, "Block") ; fill 4 Text($43B53EB0, "Block") ; fill 4 Text($43B5494C, "Block") ; fill 4 Text($43B560D8, "Status") ; fill 2 Text($43B560E0, "Points") ; fill 6...
.data array: .space 180 # Declaracao do array com 180 bits(espaco para 45 inteiros) .text #Iniciando contadores addi $s0, $zero,0 # Auxiliar no fibonnaci addi $s1, $zero,1 # Primeiro termo da serie fibonnaci li $t0 , 0 # Contador da posicao do array sw $s1, array($t0) # Salvando o primeiro term...
VermilionGym_Object: db $3 ; border block db 2 ; warps warp 4, 17, 3, -1 warp 5, 17, 3, -1 db 0 ; signs db 5 ; objects object SPRITE_ROCKER, 5, 1, STAY, DOWN, 1, OPP_LT_SURGE, 1 object SPRITE_GENTLEMAN, 9, 6, STAY, LEFT, 2, OPP_GENTLEMAN, 3 object SPRITE_BLACK_HAIR_BOY_2, 3, 8, STAY, LEFT, 3, OPP_ROCKER, 1 ...
; sp1_InvUpdateStruct ; 03.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_temp_sp1 PUBLIC sp1_InvUpdateStruct sp1_InvUpdateStruct: INCLUDE "temp/sp1/zx/updater/asm_sp1_InvUpdateStruct.asm"
CeruleanCaveB1F_Script: call EnableAutoTextBoxDrawing ld hl, CeruleanCaveB1FTrainerHeaders ld de, CeruleanCaveB1F_ScriptPointers ld a, [wCeruleanCaveB1FCurScript] call ExecuteCurMapScriptInTable ld [wCeruleanCaveB1FCurScript], a ret CeruleanCaveB1F_ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTr...
// Copyright 2015 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 "modules/presentation/PresentationRequest.h" #include "bindings/core/v8/CallbackPromiseAdapter.h" #include "bindings/core/v8/ExceptionState.h" #...
int main(){ try{ string nombre_archivo; cout << "Introduce el nombre del archivo a analizar: "; cin >> nombre_achivo; Anaylizer myAnalyzer{nombre_archivo}; myAnalyzer.showAnalysis(); cout << "Introduce el nombre del archivo donde guardar los resultados: "; cin >> nombre_archivo; myAnalyzer.saveAnaly...
; A021860: Decimal expansion of 1/856. ; Submitted by Jon Maiga ; 0,0,1,1,6,8,2,2,4,2,9,9,0,6,5,4,2,0,5,6,0,7,4,7,6,6,3,5,5,1,4,0,1,8,6,9,1,5,8,8,7,8,5,0,4,6,7,2,8,9,7,1,9,6,2,6,1,6,8,2,2,4,2,9,9,0,6,5,4,2,0,5,6,0,7,4,7,6,6,3,5,5,1,4,0,1,8,6,9,1,5,8,8,7,8,5,0,4,6 seq $0,199685 ; a(n) = 5*10^n+1. div $0,428 mod $0,10
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x8054, %r10 nop nop nop xor $21463, %r12 movups (%r10), %xmm7 vpextrq $0, %xmm7, %rdx nop nop nop nop sub $10766, %rdx lea addresses_normal_ht+0x187d4, %rdx and %rax, %rax mov...
/**************************************************************************** ** Meta object code from reading C++ file 'templateloader.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************...
; ; 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...
SECTION code_clib SECTION code_stdio PUBLIC __stdio_printf_g EXTERN __dtog__, __stdio_printf_float_tail __stdio_printf_g: ; %g, %G converter called from vfprintf() ; ; enter : ix = FILE * ; hl = void *stack_param ; de = void *buffer_digits ; hl'= current output tally ; ...