text
stringlengths
1
1.05M
INCLUDE "clib_cfg.asm" SECTION code_l PUBLIC l_btoul ; ascii binary string to unsigned long ; whitespace is not skipped ; char consumption stops on overflow ; ; enter : de = char *buffer ; ; exit : bc = & next char to interpret in buffer ; dehl = unsigned result (0 on invalid input)...
; A175540: a(n) = A067076(n) + n. ; 1,3,5,8,10,13,15,18,22,24,28,31,33,36,40,44,46,50,53,55,59,62,66,71,74,76,79,81,84,92,95,99,101,107,109,113,117,120,124,128,130,136,138,141,143,150,157,160,162,165,169,171,177,181,185,189,191,195,198,200,206 mov $9,$0 mov $11,2 lpb $11 mov $0,$9 sub $11,1 add $0,$11 mov $2,$...
/* ============================================================================== KratosStructuralApplication A library based on: Kratos A General Purpose Software for Multi-Physics Finite Element Analysis Version 1.0 (Released on march 05, 2007). Copyright 2007 Pooyan Dadvand, Riccardo Rossi, Janosch Stascheit, Felix...
; A053726: "Flag numbers": number of dots that can be arranged in successive rows of K, K-1, K, K-1, K, ..., K-1, K (assuming there is a total of L > 1 rows of size K > 1). ; Submitted by Jamie Morken ; 5,8,11,13,14,17,18,20,23,25,26,28,29,32,33,35,38,39,41,43,44,46,47,48,50,53,56,58,59,60,61,62,63,65,67,68,71,72,73,74...
; A252489: Index of the largest prime which divides n(n+1). ; 1,2,2,3,3,4,4,2,3,5,5,6,6,4,3,7,7,8,8,4,5,9,9,3,6,6,4,10,10,11,11,5,7,7,4,12,12,8,6,13,13,14,14,5,9,15,15,4,4,7,7,16,16,5,5,8,10,17,17,18,18,11,4,6,6,19,19,9,9,20,20,21,21,12,8,8,6,22,22,3,13,23,23,7,14,14,10,24,24,6,9,11,15,15,8,25,25,5,5,26 seq $0,28387 ;...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x5858, %rax nop nop nop nop nop add $15694, %rbp mov (%rax), %r8w nop xor %rdx, %rdx lea addresses_WT_ht+0x1af38, %rsi lea addresses_WT_ht+0xbcd8, %rdi clflush (%rsi) nop nop ...
// Copyright 2017 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_SER_JSON_HPP #define JSONCONS_SER_JSON_HPP #include <ios...
#include "AboutPage.hpp" #include "common/Modes.hpp" #include "common/Version.hpp" #include "debug/Log.hpp" #include "util/LayoutCreator.hpp" #include "util/RemoveScrollAreaBackground.hpp" #include "widgets/helper/SignalLabel.hpp" #include <QFormLayout> #include <QGroupBox> #include <QLabel> #include <QTextEdit> #inc...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
; A229439: Number of n X 2 0..2 arrays with horizontal differences mod 3 never 1, vertical differences mod 3 never -1, and rows and columns lexicographically nondecreasing. ; 4,7,13,25,47,84,142,228,350,517,739,1027,1393,1850,2412,3094,3912,4883,6025,7357,8899,10672,12698,15000,17602,20529,23807,27463,31525,36022,40984...
SECTION code_clib SECTION code_stdio PUBLIC __stdio_recv_input_raw_eatc EXTERN STDIO_MSG_EATC EXTERN l_jpix, l_jphl ; ALL HIGH LEVEL STDIO INPUT PASSES THROUGH __STDIO_RECV_INPUT_RAW_* ; EXCEPT FOR VFSCANF. THIS ENSURES STREAM STATE IS CORRECTLY MAINTAINED __stdio_recv_input_raw_eatc: ; Driver consumes chars ...
MODULE kbhit SECTION code_clib PUBLIC kbhit PUBLIC _kbhit PUBLIC getch PUBLIC _getch EXTERN getk EXTERN fgetc_cons kbhit: _kbhit: IF __CPU_GBZ80__ ld hl,kbhit_key ld a,(hl+) ld h,(hl) ld l,a or h ret nz call getk ...
; ================================================================ ; Example source for target 'tap' ; Tape file for ZX Spectrum and Jupiter ACE ; Copyright (c) Günter Woigk 1994 - 2017 ; mailto:kio@little-bat.de ; ================================================================ ; fill byte ...
#ifndef WSDLLEXER_HPP #define WSDLLEXER_HPP /* $Id: wsdllexer.hpp 546704 2017-09-20 18:15:56Z gouriano $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/da...
/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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...
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. 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 restriction, including without limitation the rights to use, ...
processor 6502 include "vcs.h" include "macro.h" seg code org $F000 Start: CLEAN_START ; macro to safely clear memory and TIA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Start a new frame by turning on VBLANK and VSYNC ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x8e8a, %r8 nop nop nop nop xor $14964, %r12 mov (%r8), %r14d nop nop nop sub $48196, %r14 lea addresses_normal_ht+0x1d5aa, %rsi lea addresses_D_ht+0x2e5c, %rdi nop nop cmp %r14, %r14 mo...
; A008455: 11th powers: a(n) = n^11. ; 0,1,2048,177147,4194304,48828125,362797056,1977326743,8589934592,31381059609,100000000000,285311670611,743008370688,1792160394037,4049565169664,8649755859375,17592186044416,34271896307633,64268410079232,116490258898219,204800000000000,350277500542221,584318301411328,95280975791392...
; Add two positive floating-point numbers ; In: HL,DE numbers to add ; Out: HL = sum HL + DE ; Pollutes: AF,DE FADDP: CALL FCPP JR NC,FADDPX EX DE,HL ; Continue with FADDPX ; Add two positive floating-point numbers ; In: HL,DE numbers to add, HL >= DE ; Out: HL = sum HL + DE ; Pollutes: AF,DE FADDPX: LD A,H SUB D ...
; A003434: Number of iterations of phi(x) at n needed to reach 1. ; 0,1,2,2,3,2,3,3,3,3,4,3,4,3,4,4,5,3,4,4,4,4,5,4,5,4,4,4,5,4,5,5,5,5,5,4,5,4,5,5,6,4,5,5,5,5,6,5,5,5,6,5,6,4,6,5,5,5,6,5,6,5,5,6,6,5,6,6,6,5,6,5,6,5,6,5,6,5,6,6,5,6,7,5,7,5,6,6,7,5,6,6,6,6,6,6,7,5,6,6,7,6,7,6,6,6,7,5,6,6,6,6,7,5,7,6,6,6,7,6,7,6,7,6,7,5,...
#include<stdio.h> int main(){ int i,j,k,t; freopen("B-large.in","r",stdin); freopen("out.txt","w",stdout); double c,f,x,add=0,sum=0,plus,inc; for(scanf("%d",&t),k=1;k<=t;k++){ scanf("%lf%lf%lf",&c,&f,&x); sum = x/2.0; add=0; plus=0; inc=2.0; while(1){ add+=c/inc; inc+=f; plus = add + x/in...
%ifdef CONFIG { "RegData": { "RAX": "0x8300", "RDI": "0xE0000007", "RSI": "0xDFFFFFFF" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x61 mov [rdx + 8 * 0], rax mov rax, 0x47 mov [rdx + 8 * 1], rax lea rdi, [rdx + 8 * 1] lea rsi, [rdx + 8 * 0] std cmpsb ...
; The MIT License (MIT) ; ; Copyright (c) 2018 Jiri Sramek (https://github.com/JiriS97/) ; ; 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 th...
; ; display a pretty hex dump of registers & stack for debugging. ; %define module crash %include "api.macro" section .text ; name, y, x, offset %macro dumpreg 4 mov edx, (%2 << 8) + %3 call vga_compute mov ecx, %1 mov eax, [reg_stack_top - %4] call dump_register %endmacro ; never returns. global crash cr...
;init code for SNES ;much borrowed from Damian Yerrick ;some borrowed from Oziphantom .p816 .smart .segment "CODE" RESET: sei ; turn off IRQs clc xce ; turn off 6502 emulation mode rep #$38 ;AXY16 and clear decimal mode. ldx #$1fff txs ; set the stack pointer phk plb ;set b to current bank, 0...
;******************************************************************************************************** ; uC/LIB ; CUSTOM LIBRARY MODULES ; ; (c) Copyright 2004-2015; Micrium, Inc.; Weston, FL ; ; ...
IDD_DLGVERSION equ 1700 IDC_EDTVERFILE equ 2903 IDC_EDTVERPROD equ 2904 IDC_CBOVEROS equ 2905 IDC_CBOVERTYPE equ 2906 IDC_CBOVERLANG equ 2907 IDC_CBOVERCHAR equ 2908 IDC_LSTVER equ 2909 IDC_EDTVER equ 2910 IDC_EDTVERTPE equ 2911 IDC_BTNVERADD equ 2912 .const szVerOS dd 00000004h ...
; A216973: Exponential Riordan array [x*exp(x),x]. ; 0,1,0,2,2,0,3,6,3,0,4,12,12,4,0,5,20,30,20,5,0,6,30,60,60,30,6,0,7,42,105,140,105,42,7,0,8,56,168,280,280,168,56,8,0,9,72,252,504,630,504,252,72,9,0,10,90,360,840,1260,1260,840,360,90,10,0 lpb $0 add $1,$2 add $2,1 sub $0,$2 bin $1,$0 mul $1,$2 lpe mov $0,...
[bits 32] dd Window.$FILE_END - Window.$FILE_START db "OrcaHLL Class", 0 db "Window", 0 Window.$FILE_START : Window.winNum equ 38 Window.yPos equ 16 Window.windowBuffer equ 22 Window.xPos equ 12 Window.title equ 0 Window.type equ 20 Window.depth equ 21 Window.lastYpos equ 18 Window.lastXpos equ 14 Window.width equ 4 ...
; A190949: Odd Fibonacci numbers with odd index. ; 1,5,13,89,233,1597,4181,28657,75025,514229,1346269,9227465,24157817,165580141,433494437,2971215073,7778742049,53316291173,139583862445,956722026041,2504730781961,17167680177565,44945570212853,308061521170129,806515533049393,5527939700884757,14472334024676221,9919485309...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-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 source code must reta...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: PostScript printer driver FILE: psbManager.asm AUTHOR: Jim DeFrisco REVISION HISTORY: Name Date Description ---- ---- ----------- J...
; CALLER linkage for function pointers PUBLIC strrchr EXTERN strrchr_callee EXTERN ASMDISP_STRRCHR_CALLEE .strrchr pop hl pop bc pop de push de push bc push hl jp strrchr_callee + ASMDISP_STRRCHR_CALLEE
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1432f, %rbx nop nop nop cmp $59523, %rbp movb $0x61, (%rbx) nop add $58310, %rdi lea addresses_UC_ht+0xa9b, %r14 nop nop nop nop nop sub $23350, %r8 mov $0x6162636465666768, ...
; testing an early exit main: mov w0, 'B' bl putchar mov w0, '4' bl putchar mov pc, -1 mov w0, 'E' bl putchar mov w0, 'C' bl putchar done: mov w0, 'P' bl putchar mov w0, '\n' bl putchar prgi mov w0, 0 ret
; A100315: Number of 3 X n 0-1 matrices avoiding simultaneously the right angled numbered polyomino patterns (ranpp) (00;1), (01;0), (10;0) and (01;1). ; 1,8,14,22,34,54,90,158,290,550,1066,2094,4146,8246,16442,32830,65602,131142,262218,524366,1048658,2097238,4194394,8388702,16777314,33554534,67108970,134217838,2684355...
; A098080: Nontrivial slowest increasing sequence whose succession of digits is that of the nonnegative integers. ; 0,12,34,56,78,910,1112,1314,1516,1718,1920,2122,2324,2526,2728,2930,3132,3334,3536,3738,3940,4142,4344,4546,4748,4950,5152,5354,5556,5758,5960,6162,6364,6566,6768,6970,7172,7374,7576,7778,7980,8182,8384,8...
Sound39_Smash_Header: smpsHeaderStartSong 2 smpsHeaderVoice Sound2C_39_4B_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $04 smpsHeaderSFXChannel cFM3, Sound39_Smash_FM3, $10, $00 smpsHeaderSFXChannel cFM4, Sound39_Smash_FM4, $00, $00 smpsHeaderSFXChannel cFM5, Sound39_Smash_FM5, $10, $00 smpsHeaderSFX...
; ; System Call for REX6000 ; ; $Id: syscall0.asm,v 1.3 2002/04/17 21:30:25 dom Exp $ XLIB syscall0 .syscall0 pop bc pop hl ;parameter push hl push bc ld ($c000),hl rst $10 ld hl,($c00e) ret
; int p_forward_list_empty_fastcall(p_forward_list_t *list) SECTION code_adt_p_forward_list PUBLIC _p_forward_list_empty_fastcall defc _p_forward_list_empty_fastcall = asm_p_forward_list_empty INCLUDE "adt/p_forward_list/z80/asm_p_forward_list_empty.asm"
/*++ Copyright (c) 2000 Microsoft Corporation Module Name: KingsQuestMask.cpp Abstract: The app calls UnmapViewOfFile with a bogus address - an address that wasn't obtained from MapViewOfFile. We validate the address before calling UnmapViewOfFile. History: 11/20/2000 maonis C...
; A193422: Smallest number m such that A193358(m) = n. ; 0,1,4,2,10,6,18,12,28,20,40,30,54,42,70,56,88,72,108,90,130,110,154,132,180,156,208,182,238,210,270,240,304,272,340,306,378,342,418,380,460,420,504,462,550,506,598,552,648,600,700,650,754,702,810,756,868,812,928,870,990,930,1054,992,1120,1056,1188,1122,1258,1190,...
assume cs:code, ds:data data segment maxFileName db 100 lFileName db ? fileName db 100 dup (?), '$' maxFileExt db 100 lFileExt db ? fileExt db 100 dup (?), '$' fileNameMsg db 'Please input the file name: $' extMsg db 'Please input the extenstion: $' finalFile db 200 dup(?) data ends code segment start: mov...
/* Copyright 2016 Massachusetts Institute of Technology 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 applicab...
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018 www.open3d.org // // Permissio...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004AEC move.w D1, -(A0) 004AEE dbra D0, $4aec 004B02 move.w A6, -(A4) [base+6A5C] 004B04 move.w A4, ($6a5c,A5) [base+6A88, base+6A8A, base+6A8C] 006622 movea.w (A0)+, A1 006624 tst.b ($7f,A1) [b...
; A092803: Expansion of (1-5x)/((1-2x)(1-6x)). ; 1,3,12,60,336,1968,11712,70080,420096,2519808,15117312,90700800,544198656,3265179648,19591053312,117546270720,705277526016,4231664959488,25389989363712,152339935395840,914039610802176 mov $1,6 pow $1,$0 mov $2,2 pow $2,$0 add $1,$2 div $1,2 add $1,$2 sub $1,1 div $1,2 a...
; A196265: Number of standard puzzles of shape 2 X n with support CK (see reference for precise definition). ; 1,2,4,8,26,66,276,816,4050,13410,75780,274680,1723050,6735330,46104660,192296160,1418802210,6264006210,49355252100,229233450600,1914861598650,9309854203650,81969299111700,415483465597200,3837397323409650,20209...
; A057354: a(n) = floor(2*n/5). ; 0,0,0,1,1,2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,10,11,11,12,12,12,13,13,14,14,14,15,15,16,16,16,17,17,18,18,18,19,19,20,20,20,21,21,22,22,22,23,23,24,24,24,25,25,26,26,26,27,27,28,28,28,29,29,30,30,30,31,31,32,32,32,33,33,34,34,34,35,35,36,36,36,37,37,38,38,38,39,39 mul $0,2 d...
// Original test: ./nfischer/hw4/problem6/ld_2.asm // Author: nfischer // Test source code follows //load at negative offset lbi r1, 50 //mem location lbi r2, 8 //value to store lbi r3, 0 //clear r3 st r2, r1, -10 //store at mem location -10 ld r3, r1, -10 //load from mem location -10 halt
AnthonyAteBerriesText: text "The other day, I" line "was watching my" para "@" text_ram wStringBuffer4 text " eat" line "some BERRIES." para "It looked like it" line "was enjoying its" para "meal, so I decided" line "to try some." para "I'm not sure if" line "people should eat" para "that stuff, but i...
L3gxImage_data equ 0x0 L3gxImage_w equ 0x4 L3gxImage_h equ 0x8 L3gxImage_$CLASSSIZE equ 0xC L3gxImage.Create : ; int width, int height methodTraceEnter pop dword [L3gxImage.Create.retval] pop dword [L3gxImage.Create.width] pop dword [L3gxImage.Create.height] push eax push ebx mov al, 7 mov ebx, [L3gxImage...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x148de, %rdi nop nop nop inc %r12 mov (%rdi), %ax cmp %rdx, %rdx lea addresses_WC_ht+0x97be, %rcx nop nop cmp $40756, %rbx movups (%rcx), %xmm0 vpextrq $1, %xmm0, %r13 nop no...
dnl AMD64 SSSE3/XOP mpn_popcount -- population count. dnl Copyright 2010-2017 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 Lesser General Public...
#include <QtGlobal> // Automatically generated by extract_strings.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "To use the %s option"), QT_TRANSLATE_NOOP("bitcoin-core", "" "%s, you must set a rpcpa...
#include <stdexcept> #include <string> #include "OnlineDB/Oracle/interface/Oracle.h" #include "OnlineDB/EcalCondDB/interface/MonOccupancyDat.h" using namespace std; using namespace oracle::occi; MonOccupancyDat::MonOccupancyDat() { m_env = nullptr; m_conn = nullptr; m_writeStmt = nullptr; m_readStmt = nullpt...
; A087131: a(n) = 2^n*Lucas(n), where Lucas = A000032. ; 2,2,12,32,112,352,1152,3712,12032,38912,125952,407552,1318912,4268032,13811712,44695552,144637952,468058112,1514668032,4901568512,15861809152,51329892352,166107021312,537533612032,1739495309312 seq $0,14335 ; Exponential convolution of Fibonacci numbers with the...
#include "emit.h" #include <cstdio> void emit_error(std::string text){ std::fputs(text.c_str(), stderr); std::fputc('\n', stderr); } void emit_warning(std::string text){ std::fputs(text.c_str(), stdout); std::fputc('\n', stdout); }
; nasm -f elf32 ex2.asm -o ex2.o ; gcc -m32 ex2.o -o ex2.out ; ./ex2.out ; echo $? global main section .data msg db "Hello, word!", 0x0a; "Hello, word!\n" len equ $ - msg ; 13 section .text main: mov ebp, esp; for correct debugging mov eax, 4 ; write call mov ebx, 1 ; stdout ...
; A229232: Number of undirected circular permutations pi(1), ..., pi(n) of 1, ..., n with the n numbers pi(1)*pi(2)-1, pi(2)*pi(3)-1, ..., pi(n-1)*pi(n)-1, pi(n)*pi(1)-1 all prime. ; Submitted by Jamie Morken(s4) ; 0,0,0,1,0,2,1,2,2,8 pow $0,2 dif $0,4 add $0,4 div $0,10 sub $0,1 dif $0,4 add $0,1 mod $0,10
// Computes sum=1+...+100. @i // i=1 M=1 @sum // sum=0 M=0 (LOOP) @i // if (i-100)=0 goto END D=M @100 D=D-A @END D;JGT @i // sum+=i D=M @sum M=D+M @i // i++ M=M+1 @LOOP // goto LOOP 0;JMP (END) // infinite loop @END 0;...
; Arquivo: multiploDeDois.nasm ; Curso: Elementos de Sistemas ; Criado por: Rafael Corsi ; Data: 28/3/2019 ; ; Verifica se o valor salvo no endereço RAM[5] é ; multiplo de dois, se for verdadeiro, salva 1 ; em RAM[0] e 0 caso contrário.
Route14_Script: call EnableAutoTextBoxDrawing ld hl, Route14TrainerHeader0 ld de, Route14_ScriptPointers ld a, [wRoute14CurScript] call ExecuteCurMapScriptInTable ld [wRoute14CurScript], a ret Route14_ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle dw EndTrainerBattle Ro...
/* <editor-fold desc="MIT License"> Copyright(c) 2018 Robert Osfield 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 use, copy, mod...
#include <matplot/matplot.h> int main() { using namespace matplot; auto z = rand(5,5,0,10); stem3(z); ztickformat("usd"); wait(); return 0; }
db 0 ; species ID placeholder db 55, 50, 45, 120, 135, 85 ; hp atk def spd sat sdf db PSYCHIC, PSYCHIC ; type db 50 ; catch rate db 186 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F25 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/alakaz...
SECTION code_clib SECTION code_l_sccz80 PUBLIC __atof2 EXTERN atof __atof2: push hl call atof pop bc ret
#include "idl.h" #include "idl_extern.h" #include "be.h" #include "be_visitor_interface.h" ACE_RCSID (be_visitor_interface, base_proxy_broker_sh, "strategized_proxy_broker_sh.cpp,v 1.7 2001/05/31 04:48:55 othman Exp") be_visitor_interface_strategized_proxy_broker_sh::be_visitor_interface...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="sig, handler"/> <%docstring> Invokes the syscall signal. See 'man 2 signal' for more information. Arguments: sig(int): sig handler(sighandler_t): handler </%docstring> ${syscall('SYS_signal', sig, handler)}
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2013 The NovaCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "miner.h"...
; A160812: a(n) = A161205(n)-A000005(n). ; Submitted by Jamie Morken(w4) ; 0,0,0,0,2,0,2,0,2,2,4,0,4,2,2,2,6,2,6,2,4,4,6,0,6,6,6,4,8,2,8,4,6,6,6,2,10,8,8,4,10,4,10,6,6,8,10,2,10,8,10,8,12,6,10,6,10,10,12,2,12,10,8,8,12,8,14,10,12,8,14,4,14,12,10,10,12,8,14,6,12,14,16,6,14,14,14,10,16,6 sub $0,1 mov $2,$0 mov $4,1 lpb ...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/anim/AnimFeature.hpp> namespace RED4ext { namespace anim { struct AnimFeature_CrowdLocomotion : anim::AnimFeature { static constexpr const char* N...
org 0x00; JMP init; org 0x23; JMP irq; org 0x30; init: MOV PCON, #0x80; ustawienie SMOD (najstarszego bitu PCON) na wartość 1 MOV SCON, #0x50; ustawienie REN = 1 - uaktywnienie odbiornika MOV TMOD, #0x20; ustawienie drugiego trybu timera - zegara z przeładowaniem MOV TH1, #0xF5; prędkość transmi...
; A111002: a(n) = gcd(f(n), f(n+1)) where f(n) = n^4 + n^2 + 1. ; Submitted by Christian Krause ; 1,3,7,91,21,31,43,57,73,91,777,133,157,183,211,241,273,2149,343,381,421,463,507,553,4207,651,703,757,813,871,931,6951,1057,1123,1191,1261,1333,1407,10381,1561,1641,1723,1807,1893,1981,14497,2163,2257,2353,2451,2551,2653,19...
TESTSTATUS equ $ffffff00 ; Populate Exception Vectors ; org $00000 dc.l $000003F0 ; Vector = 0 Reset Supervisor Stack Pointer dc.l $00000400 ; Vector = 1 Reset Initial PC dc.l $22222222 ; Vector = 2 Bus Error dc.l $30303033 ; Vector = 3 Address Error dc.l $44444444 ; Vector...
;note: DIV16Amul256dCUNDOC as per ; BC = A0 ; DE = 0C ; so BC = a * 256 / C ; We can cheat here, Speed is always 0 or positive ; z postion will always be positive if we can see it InitStarAtHL: ex de,...
%include "include/u7si-all-includes.asm" defineAddress 326, 0x01D8, startDialogMode_enableKeyMouse defineAddress 326, 0x01F4, startDialogMode_enableKeyMouse_end %include "../u7-common/patch-noKeyMouseWhenStartingDialogMode.asm"
SECTION rodata_font_fzx PUBLIC _ff_dkud1_Transcript _ff_dkud1_Transcript: BINARY "font/fzx/fonts/dkud1/Transcript/transcript.fzx"
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x13839, %rax nop nop nop nop nop sub $51675, %rdi movb (%rax), %r8b and $57046, %rax lea addresses_normal_ht+0x3215, %rsi lea addresses_WT_ht+0xb3c9, %rdi nop nop nop nop nop xor $5524, ...
; TODO: UTILITIES ; Make sure ruledef has been included #include "../CESC16.cpu" ; Include OS routines #include "OS.inc" MAIN_PROGRAM:
section.data ;data segment msg: db 'Hello, world!',10 ;String len: equ $ - msg ;Length of the String section.text ...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The Atheneum developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
; ; TinyBASIC interpreter in 512 bytes (boot sector) ; ; by Oscar Toledo G. and DiamondCoder1000 ; http://nanochess.org/ ; ; (c) Copyright 2019-2020 Oscar Toledo G. ; ; Creation date: Jul/19/2019. 10pm to 12am. ; Revision date: Jul...
/****************************************************************************** * * Project: OpenGIS Simple Features Reference Implementation * Purpose: Implementation of OGRGeoJSONDriver class (OGR GeoJSON Driver). * Author: Mateusz Loskot, mateusz@loskot.net * ***********************************************...
/* file: parameter.cpp */ /******************************************************************************* * Copyright 2014-2017 Intel 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...
; A073424: Triangle read by rows: T(m,n) = parity of 0^n + 0^m, n = 0,1,2,3 ..., m = 0,1,2,3, ... n. ; 0,1,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0 mov $1,1 lpb $0 ...
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2018, The BBSCoin Developers // Copyright (c) 2018, The Karbo Developers // Copyright (c) 2018, The TURTLECOIN Developers // Copyright (c) 2018, The BitcoinRich Developers // Please see the included LICENSE file for more i...
; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« .486 ; create 32 bit code .model flat, stdcall ; 32 bit memory model option casemap :none ; case sensitive include \masm32\include\windows.inc include \masm32\macros\macros.asm ; ---------------...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ;TEST_BEGIN_RECORDING lea edi, [esp-0x10] mov dword [edi], 0x12345678 mov dword [edi+04], 0x12345678 mov dword [edi+08], 0x00001234 FBLD tword [edi] mov edi, 0 ;TEST_END_RECORDING
; A077235: Bisection (odd part) of Chebyshev sequence with Diophantine property. ; 5,16,59,220,821,3064,11435,42676,159269,594400,2218331,8278924,30897365,115310536,430344779,1606068580,5993929541,22369649584,83484668795,311569025596,1162791433589,4339596708760,16195595401451,60442784897044,225575544186725,841859391849...
; A186620: Fibonacci sequence beginning 12, 25. ; 12,25,37,62,99,161,260,421,681,1102,1783,2885,4668,7553,12221,19774,31995,51769,83764,135533,219297,354830,574127,928957,1503084,2432041,3935125,6367166,10302291,16669457,26971748,43641205,70612953,114254158 add $0,3 mov $1,6 mov $2,8 lpb $0 sub $0,1 add $2,$1 mo...
; A181402: Total number of positive integers below 10^n requiring 7 positive cubes in their representation as sum of cubes. ; 1,10,73,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121 lpb $0,1 gcd $1,2 mov $0,$1 lpe add $1,7 pow $1,$0 div $1...
; A099166: G.f.: (1+x^2)/((1-2x)(1-x-x^2); a(n)=3a(n-1)-a(n-2)-2a(n-3); a(n)=5*2^n-L(n+3); a(n)=sum{k=0..n, (L(k)-0^k)2^(n-k)}. ; Submitted by Jamie Morken(s2) ; 1,3,9,22,51,113,244,517,1081,2238,4599,9397,19116,38753,78349,158062,318331,640233,1286244,2581837,5178801,10382078,20803759,41671597,83446876,167061513,33439...
%define BPM 100 %include "../src/sointu.inc" ; warning: crashes ahead. Now that the bpm could be changed and even modulated by other ; signals, there is no easy way to figure out how many ticks your song is. Either ; allocate some extra memory of the output just in case or simulate exactly how many ; samples are outp...
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2019 The Khronos Group Inc. * Copyright (c) 2019 Google Inc. * Copyright (c) 2017 Codeplay Software Ltd. * * Licensed under the Apache License, Version 2.0 (the "Lic...
;program to swap the contents of R7 and R6 residing in bank 0 org 0000h xch a,r6 ;data in r6 excahnged with accumulator xch a,r7 ;data in r7 excahnged with accumulator xch a,r6 ;data in r6 excahnged with accumulator end
leaw $1, %A movw $1, (%A) ; guarda f em R1 FAT: COMECO: ; salva os dois valores a serem multiplicados, um em um registrador e outro em uma RAM leaw $1, %A movw (%A), %S leaw $0, %A movw (%A), %D leaw $7, %A movw %D, (%A) leaw $ZERO, %A decw %S je %S ;checa se um dos numeros é 0, se for ja salva 0 na ram 3 nop je %D nop...
; A137508: Successive structures of alkaline earth metals (periodic table elements from 2nd column). ; 2,2,2,8,2,2,8,8,2,2,8,18,8,2,2,8,18,18,8,2,2,8,18,32,18,8,2 add $0,1 seq $0,157454 ; Triangle read by rows: T(n, m) = min(2*m - 1, 2*(n - m) + 1). div $0,2 add $0,1 pow $0,2 mul $0,2
RestoreScreenTilesAndReloadTilePatterns:: call ClearSprites ld a, $1 ld [wUpdateSpritesEnabled], a call ReloadMapSpriteTilePatterns call LoadScreenTilesFromBuffer2 call LoadTextBoxTilePatterns call RunDefaultPaletteCommand jr Delay3 GBPalWhiteOutWithDelay3:: call GBPalWhiteOut Delay3:: ; The bg map is update...